help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kp-enter in minibuffer


From: Stefan Monnier
Subject: Re: kp-enter in minibuffer
Date: Wed, 21 Mar 2007 15:45:19 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

> I often run emacs under Windows talking to Solaris using the 3.2.9 ssh.com 
> client.  This client sends kp-enter for the enter key on the numeric 
> keypad, and while other keys can be redefined, I can't seem to redefine 
> this one.  Kp-enter is ok in most places, but it doesn't work when typing 
> a command in the minibuffer.  Is there a way to make kp-enter mean the same 
> as enter in this context (or a way to redefine what the key sends)?  
> Thanks.

How 'bout

  (define-key function-key-map [kp-enter] [?\r])


-- Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]