From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe Helary Subject: Re: emacs vs emacs -nw Date: Wed, 31 May 2017 19:04:26 +0900 Message-ID: References: <2F1B5934-A250-4A91-82DA-BE33CDF02DAE@gmail.com> <83efv7ftcz.fsf@gnu.org> <20170530183308.GA71827@breton.holly.idiocy.org> <04B0233B-9038-45E1-B406-B7C8D2C2B9AA@gmail.com> <13389382-bcae-0dd4-a8a5-c055edc503e4@orcon.net.nz> Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sender: "Emacs-devel" To: "emacs-devel@gnu.org" Cc: Org-mode List-Id: emacs-orgmode.gnu.org > On May 31, 2017, at 18:41, Yuri Khan wrote: >=20 > On Wed, May 31, 2017 at 3:58 PM, Jean-Christophe Helary > wrote: >=20 >>> Could you provide an example and/or a recipe to demonstrate the = issue? >>=20 >> =E2=80=A2 Open an org file with a few headers and different header = levels. >> =E2=80=A2 Select a lower level header >> =E2=80=A2 Hit M-left >=20 > I believe this last step may be a bit unclear and misleading. Today, > Meta is not a real key. You only get it via emulation from ESC or a > modifier key, normally Alt on PCs. I don=E2=80=99t know the convention = on Mac. Ooops, you're right. Indeed. On my machine I *systematically* use ESC for META. > On X11/GNU/Linux, I get header promotion with Alt+Left but word > navigation on Esc Left. Now that I think about it, I just tried this: (setq ns-right-command-modifier 'meta) And I get the expected behavior in GUI emacs. So it's really an issue = about ESC that is not recognized in GUI mode for *some* bindings in = org-mode. Jean-Christophe=20 >=20 >> Expected result: >> =E2=80=A2 the header is promoted >>=20 >> Result in GUI Emacs (Aquamacs too) >> =E2=80=A2 The cursor jumps to the beginning of the previous word