Re: [O] Bind pcomplete to C-M-i

2019-01-27 Thread Johannes Altmanninger
Hi Nicolas,

On Sun, Jan 27, 2019 at 10:01 PM Nicolas Goaziou  wrote:
>
> Hello,
>
> Johannes Altmanninger  writes:
>
> > However, I want to use org-plus-contrib from the Org ELPA repository.
> > which uses a slightly different definition:
> >
> > (org-defkey org-mode-map (kbd "M-") #'pcomplete)
> > (org-defkey org-mode-map (kbd "ESC ") #'pcomplete)
>
> Would (kbd "M-TAB") and (kbd "ESC TAB") work?

Yes, either of them works!
They appear to behave the same as (kbd "\M-\t").

Regards,
Johannes

>
> Regards,
>
> --
> Nicolas Goaziou



[O] Bind pcomplete to C-M-i

2019-01-27 Thread Johannes Altmanninger
Hi,

My installation of Emacs bundles Org mode 9.1.9
and it defines keyboard mapping for completion like this:

(org-defkey org-mode-map "\M-\t" #'pcomplete)
(org-defkey org-mode-map [?\e (tab)] #'pcomplete)

Here I can also use C-M-i to call pcomplete.
(Both in windowed and terminal mode).


However, I want to use org-plus-contrib from the Org ELPA repository.
which uses a slightly different definition:

(org-defkey org-mode-map (kbd "M-") #'pcomplete)
(org-defkey org-mode-map (kbd "ESC ") #'pcomplete)

This does not bind C-M-i which I'd like to use.
Is there any reason for this discrepancy?

Thank you
Johannes