From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gustavo Barros Subject: Re: Bind pcomplete to C-M-i Date: Sun, 27 Jan 2019 17:02:40 -0200 Message-ID: <78a00f88-6637-0d85-aa37-f2f2d7ba161a@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------C24C1B1557CC0E55E23A17EC" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:38617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnphi-0000fq-JB for emacs-orgmode@gnu.org; Sun, 27 Jan 2019 14:02:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnphg-0000Q4-Kl for emacs-orgmode@gnu.org; Sun, 27 Jan 2019 14:02:50 -0500 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]:45977) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnphg-0000Ml-5T for emacs-orgmode@gnu.org; Sun, 27 Jan 2019 14:02:48 -0500 Received: by mail-qt1-x832.google.com with SMTP id e5so16037631qtr.12 for ; Sun, 27 Jan 2019 11:02:45 -0800 (PST) In-Reply-To: Content-Language: pt-BR List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org, Johannes Altmanninger This is a multi-part message in MIME format. --------------C24C1B1557CC0E55E23A17EC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi all, Hi Johannes, for the record, there has been a question regarding this in Emacs.SX as of recent: https://emacs.stackexchange.com/q/47239/18951 Best, Gustavo. On 27/01/2019 15:51, Johannes Altmanninger wrote: > 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 > --------------C24C1B1557CC0E55E23A17EC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hi all,
Hi Johannes,

for the record, there has been a question regarding this in Emacs.SX as of recent:
https://emacs.stackexchange.com/q/47239/18951

Best,
Gustavo.


On 27/01/2019 15:51, Johannes Altmanninger wrote:
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-<tab>") #'pcomplete)
(org-defkey org-mode-map (kbd "ESC <tab>") #'pcomplete)

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

Thank you
Johannes


--------------C24C1B1557CC0E55E23A17EC--