If you use the emacs-app port from MacPorts to run a GUI version of emacs (called Emacs from here on), there's a problem with the app: TextExpander won't expand abbreviations in Emacs buffers, since it wants to transmit the expanded text using a Command-V event -- which is paste in OS X apps, but scroll-down in Emacs.
But if you happen to have a keyboard remapping utility, such as QuicKeys, there is a way to get these two to play together:
But if you happen to have a keyboard remapping utility, such as QuicKeys, there is a way to get these two to play together:
- Add the following to your .emacs file:
(setq ns-alternate-modifier 'alt) (define-key global-map [(alt ?v)] 'scroll-down) (define-key global-map [(meta ?v)] 'yank)
- Restart emacs.
- In QuicKeys, or some other key remapping utility, remap Command-V for emacs to generate the keystroke Option-V instead.
•
[6,522 views]

