Notices


Reply
Thread Tools
Posts: 5 | Thanked: 2 times | Joined on Oct 2010
#1
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
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#2
 

The Following User Says Thank You to jedi For This Useful Post:
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#3
Probably, yes. And the fix provided by thp works just fine, although Nokia has decided to ignore it entirely...
__________________
maemo blog
 
Posts: 4 | Thanked: 0 times | Joined on Oct 2010
#4
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 !
 
Posts: 1 | Thanked: 0 times | Joined on Feb 2011
#5
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:34.