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

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

Re: Binding Alt-n, Alt-p, ESC-n, ESC-p


From: Robert Pluim
Subject: Re: Binding Alt-n, Alt-p, ESC-n, ESC-p
Date: Mon, 30 Oct 2017 17:04:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

Tim Johnson <tim@akwebsoft.com> writes:

> * Robert Pluim <rpluim@gmail.com> [171030 01:29]:
>> Tim Johnson <tim@akwebsoft.com> writes:
>> 
>> > Using GNU Emacs 25.1.1 on Ubuntu 14.04
>> >
>> > I have no pressing need to know, but am just curious:
>> >
>> > Alt-n, Alt-p, ESC-n, ESC-p are undefined on my emacs. 
>> >
>> 
>> In which mode? I don't think there's a global binding for those
>> keys. Put another way: what did you expect them to be bound to?
>
>   I had no expectations as to what they might be bound to. I
>   surmised that it might be some historical issue. 
>

Propably. Not many keyboards these days are configured to generate
both Alt and Meta, so most bindings are on Meta.

>   Since these key combinations are so handy, one might be tempted to
>   use them globally. That might mean that a subsequent utilization
>   of a mode using them would get clobbered.
>

Yes, that's always a risk with personal bindings, which is why you
have the C-c letter space.

>   Would not binding these key combinations to a mode violate the
>   conventions as laid out here:
>   
> https://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Binding-Conventions.html
>   ?
>

I don't think so. That just talks about not ending a key-binding with
ESC.

Robert



reply via email to

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