From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe Helary Subject: [org] different key binding between GUI emacs and emacs -nw Date: Tue, 30 May 2017 21:29:38 +0900 Message-ID: <06B97E3A-230B-42FF-AAC9-A6EE2FEC9024@gmail.com> References: <3B861CE1-37F6-4310-B15C-6F1365B99E09@gmail.com> <8737bm7s7u.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_9CB05951-815E-497C-9375-FA8F2A0C2150" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFgHR-0002zK-Tm for emacs-orgmode@gnu.org; Tue, 30 May 2017 08:29:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFgHO-00007S-Pm for emacs-orgmode@gnu.org; Tue, 30 May 2017 08:29:45 -0400 In-Reply-To: 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, emacs --Apple-Mail=_9CB05951-815E-497C-9375-FA8F2A0C2150 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On May 30, 2017, at 21:21, Tim Visher wrote: >=20 > Sometimes your Terminal application captures these 'extended' = bindings. It is the opposite that's happening. Terminal works fine. It is the GUI = that does not accept the bindings. And as I wrote, it is not limited to = my macOS (Emacs.app and Aquamacs show the same behavior) but to other = people's GTK+ linux or Xubuntu. So it seems that's something that aught = to be investigated and eventually fixed. > I've always just accepted that org mode keybindings differ between = terminal and gui. Except that I don't *have* most bindings in GUI. There is probably a = rational reason what that is happening. I'm fine with helping with the = investigation but I fear that's an area where I can't do much more than = that. Jean-Christophe >=20 > On Tue, May 30, 2017 at 3:37 AM, Jean-Christophe Helary = > wrote: >=20 > > On May 30, 2017, at 15:51, Nicolas Goaziou > wrote: > > > >> = http://lists.gnu.org/archive/html/help-gnu-emacs/2017-05/msg00306.html = > >> > >> Let me know if you need extra information. > > > > What happens if you replace, e.g., > > > > (org-defkey org-mode-map [(meta left)] 'org-metaleft) > > > > with > > > > (org-defkey org-mode-map (kbd "M-") 'org-metaleft) > > > > in "org.el"? >=20 > Nothing changes. >=20 > Jean-Christophe >=20 >=20 --Apple-Mail=_9CB05951-815E-497C-9375-FA8F2A0C2150 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On May 30, 2017, at 21:21, Tim Visher <tim.visher@gmail.com> wrote:

Sometimes your Terminal application captures these 'extended' = bindings.

It is = the opposite that's happening. Terminal works fine. It is the GUI that = does not accept the bindings. And as I wrote, it is not limited to my = macOS (Emacs.app and Aquamacs show the same behavior) but to other = people's GTK+ linux or Xubuntu. So it seems that's something that aught = to be investigated and eventually fixed.

I've = always just accepted that org mode keybindings differ between terminal = and gui.

Except = that I don't *have* most bindings in GUI. There is probably a rational = reason what that is happening. I'm fine with helping with the = investigation but I fear that's an area where I can't do much more than = that.

Jean-Christophe


On Tue, = May 30, 2017 at 3:37 AM, Jean-Christophe Helary <jean.christophe.helary@gmail.com> wrote:

> On May 30, 2017, at 15:51, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
>> http://lists.gnu.org/archive/html/help-gnu-emacs/2017-05/msg00306.html
>>
>> Let me know if you need extra information.
>
> What happens if you replace, e.g.,
>
>  (org-defkey org-mode-map [(meta left)]  = 'org-metaleft)
>
> with
>
>  (org-defkey org-mode-map (kbd "M-<left>")  = 'org-metaleft)
>
> in "org.el"?

Nothing changes.

Jean-Christophe



= --Apple-Mail=_9CB05951-815E-497C-9375-FA8F2A0C2150--