![]() |
emacs: <kp-enter> is not defined ....
Hi,
I just installed various flavours of emacs and they all respond : <kp-enter> is not defined when I press enter. This is a show-stopper, really a bummer, b/c emacs is sort of the reason I wanted this phone in the first place.... I tried various keybindings in the init.el but they don't work. Does anybody have a tip, an idea, a clue ? Thanks, Sander |
Re: emacs: <kp-enter> is not defined ....
is this relevant? http://talk.maemo.org/showthread.php...light=kp_enter
|
Re: emacs: <kp-enter> is not defined ....
Probably, yes. And the fix provided by thp works just fine, although Nokia has decided to ignore it entirely...
|
Re: emacs: <kp-enter> is not defined ....
Yes ! I installed the patched .deb from https://bugs.maemo.org/show_bug.cgi?id=6009 and the keyboard now works as intended !
Thanks guys ! |
Re: emacs: <kp-enter> is not defined ....
You can easily set any keyboard shortcut (including for a single key) in Emacs. Put one of the following in your init file (~/.emacs, ~/.emacs.el, or ~/.emacs.d/init.el) to map it to commands currently mapped to RET or C-j:
(global-set-key (kbd "<kp-enter>") 'newline) (global-set-key (kbd "<kp-enter>") 'newline-and-indent) You can also map it to any other key combination you currently use by finding what command is run by pressing C-h k then pressing the key combination to copy. If you just want to test it before putting it in your init file (or using it before restarting), just run it with eval-expression, whose keyboard shortcut is M-:, i.e. meta plus colon), and put the global-set-key call in there. |
All times are GMT. The time now is 23:12. |
vBulletin® Version 3.8.8