unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Binding Alt-n, Alt-p, ESC-n, ESC-p
@ 2017-10-29  0:13 Tim Johnson
  2017-10-30  9:22 ` Robert Pluim
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Johnson @ 2017-10-29  0:13 UTC (permalink / raw)
  To: Emacs

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. 

I find no evidence of them being programmatically undefined on my
system, either with or without init files being loaded.

Why would that be?
Thanks
-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Binding Alt-n, Alt-p, ESC-n, ESC-p
  2017-10-29  0:13 Binding Alt-n, Alt-p, ESC-n, ESC-p Tim Johnson
@ 2017-10-30  9:22 ` Robert Pluim
  2017-10-30 15:26   ` Tim Johnson
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Pluim @ 2017-10-30  9:22 UTC (permalink / raw)
  To: Emacs

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?

Robert



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Binding Alt-n, Alt-p, ESC-n, ESC-p
  2017-10-30  9:22 ` Robert Pluim
@ 2017-10-30 15:26   ` Tim Johnson
  2017-10-30 16:04     ` Robert Pluim
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Johnson @ 2017-10-30 15:26 UTC (permalink / raw)
  To: help-gnu-emacs

* 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. 
  
  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.

  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
  ?

  Thanks. No big deal, just curious.

-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Binding Alt-n, Alt-p, ESC-n, ESC-p
  2017-10-30 15:26   ` Tim Johnson
@ 2017-10-30 16:04     ` Robert Pluim
  2017-10-30 22:30       ` Tim Johnson
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Pluim @ 2017-10-30 16:04 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Binding Alt-n, Alt-p, ESC-n, ESC-p
  2017-10-30 16:04     ` Robert Pluim
@ 2017-10-30 22:30       ` Tim Johnson
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Johnson @ 2017-10-30 22:30 UTC (permalink / raw)
  To: Robert Pluim; +Cc: help-gnu-emacs

* Robert Pluim <rpluim@gmail.com> [171030 08:08]:
> 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.
  And I interpreted the documentation to read that major and minor
  keybinding recommendations are *limited* to those C-c spaces that
  are mentioned there. My mistake. 

  thanks
-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-30 22:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-29  0:13 Binding Alt-n, Alt-p, ESC-n, ESC-p Tim Johnson
2017-10-30  9:22 ` Robert Pluim
2017-10-30 15:26   ` Tim Johnson
2017-10-30 16:04     ` Robert Pluim
2017-10-30 22:30       ` Tim Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).