[OS X Emacs] Org mode keymap problem

Alan Schmitt alan.schmitt at polytechnique.org
Wed Jan 18 08:03:41 EST 2012


On 18 Jan 2012, at 12:13, David Reitter wrote:

> Alan, in Emacs, minor-mode maps override major-mode key maps.   If 
> Home/End are bound in a minor-mode map, then they will be prioritized 
> over your settings.  And this is indeed the case.  `osx-key-mode' 
> (where most key bindings are made that are specific to Aquamacs) sets 
> home and end, and it does precisely because some major modes redefine 
> elementary navigation keys (and they shouldn't do it for UI 
> consistency).

OK, it makes sense.

> Now, one solution would be for you to simply bind your keys in 
> osx-key-mode-map (see also the Aquamacs FAQ), but the better way could 
> be to set `ns-function-modifier' to an unused modifier like `super', 
> and bind that.  Here, the problem is that Aquamacs does not yet 
> recognize function key combinations with arrow keys (this may be a 
> system limitation, IIRC).

I have ns-function-modifier set to meta. If I set it to super, does it 
mean I have to rebind every keybinding that uses meta so that it now 
uses super?

In any case, it seems simpler that I use muscle memory to use alt+arrow 
keys instead of fn+arrow keys.

Thanks,

Alan



More information about the MacOSX-Emacs mailing list