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

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

Re: weird key bindings...


From: Jean-Christophe Helary
Subject: Re: weird key bindings...
Date: Tue, 30 May 2017 00:21:45 +0900

After a chat on #emacsfr here is further weirdness:

M-: (lookup-key org-mode-map (kbd "ESC <left>"))
(GUI) nil
(terminal) org-metaleft

Jean-Christophe 

> On May 29, 2017, at 23:49, Jean-Christophe Helary 
> <jean.christophe.helary@gmail.com> wrote:
> 
>> 
>> On May 29, 2017, at 23:37, Yuri Khan <yuri.v.khan@gmail.com> wrote:
>> 
>> On Mon, May 29, 2017 at 10:49 AM, Jean-Christophe Helary
>> <jean.christophe.helary@gmail.com> wrote:
>> 
>>>> When I'm in org-mode, most of the bindings involving Meta (esc on my Mac) 
>>>> do not produce the expected results. For ex. M-left should do 
>>>> org-do-promote but what it does is forward-word, although I *am* in 
>>>> org-mode.
>> 
>>> Ok, it looks like I get expected keybindings (as far as org-mode is 
>>> concerned at least) when I launch emacs with -nw. When I launch it with a 
>>> graphical frame, I get a lot of bindings overridden.
>>> 
>>> It is not my .emacs.el that does that, and as far as I can tell it is 
>>> nothing in my .emacs.d ... So what would be the cause of that behavior ?
>> 
>> Press C-h k M-<left> when you are in Emacs in terminal. What does it say?
> 
> ESC <left> (translated from ESC M-O D) runs the command org-metaleft          
>                  
> (found in org-mode-map), which is an interactive compiled Lisp                
>                  
> function in ‘org.el’.   
> 
>> Press C-h k M-<left> when you are in Emacs GUI. What does it say?
> 
> ESC <left> (translated from <escape> <left>) runs the command
> backward-word (found in global-map), which is an interactive compiled
> Lisp function in ‘simple.el’.
> 
> Jean-Christophe




reply via email to

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