From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel,gmane.emacs.orgmode Subject: Re: emacs vs emacs -nw Date: Wed, 31 May 2017 14:30:10 +0300 Message-ID: <83wp8xclh9.fsf@gnu.org> 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> <0EDDDB7A-D42A-42B5-8726-59C1B49E0B98@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1496230263 1046 195.159.176.226 (31 May 2017 11:31:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 31 May 2017 11:31:03 +0000 (UTC) Cc: emacs-orgmode@gnu.org, emacs-devel@gnu.org To: Jean-Christophe Helary Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 31 13:30:59 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dG1q2-0008J9-KX for ged-emacs-devel@m.gmane.org; Wed, 31 May 2017 13:30:54 +0200 Original-Received: from localhost ([::1]:58622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dG1q7-0005wE-O8 for ged-emacs-devel@m.gmane.org; Wed, 31 May 2017 07:30:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dG1pI-0005uX-2k for emacs-devel@gnu.org; Wed, 31 May 2017 07:30:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dG1pH-0002jn-5m for emacs-devel@gnu.org; Wed, 31 May 2017 07:30:08 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dG1pB-0002a9-3O; Wed, 31 May 2017 07:30:01 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4398 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dG1pA-0003Qu-69; Wed, 31 May 2017 07:30:00 -0400 In-reply-to: <0EDDDB7A-D42A-42B5-8726-59C1B49E0B98@gmail.com> (message from Jean-Christophe Helary on Wed, 31 May 2017 19:41:00 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215366 gmane.emacs.orgmode:113750 Archived-At: > From: Jean-Christophe Helary > Date: Wed, 31 May 2017 19:41:00 +0900 > Cc: Org-mode > > Ok, I just tried something else: > > (setq ns-function-modifier 'meta) and what I get is *very* similar to the issue I have with ESC: > > FN-x correctly "calls" M-x > FN-left in a level 2 header in org mode triggers beginning-of-buffer and *not* org-promote-header. > > So the problem is not limited to ESC, and maybe not limited to org-mode. AFAIR, the remapping of Meta-something to ESC-something happens automatically only for characters, not for function keys. For function keys, this remapping must be set somewhere, or it won't happen. You can see in bindings.el how some of these remappings are set up.