[Top][All Lists]

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

Re: How to change the keyboard mapping?

From: John Mastro
Subject: Re: How to change the keyboard mapping?
Date: Mon, 15 Aug 2016 10:37:10 -0700

Sharon Kimble <address@hidden> wrote:
> John Mastro <address@hidden> writes:
>> (with-eval-after-load 'popup
>>   (define-key popup-menu-keymap [return] #'popup-select))
> Thanks John, this works perfectly.

Glad I could help.

Here's what I suspect happened: Normally, [return] is translated to "\r"
(RET), but on a GUI Emacs it's possible for them to have separate

You (either in your own configuration or in a mode you use) likely have
a binding for [return], which causes it not to be translated to "\r".
The popup package only creates a binding for "\r", so your [return]
wasn't triggering it. On the other hand, [kp-enter] did not have its own
bindings, so it was translated to "\r" and thus worked.


reply via email to

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