> On May 31, 2017, at 20:30, Eli Zaretskii <e...@gnu.org> wrote: > >> From: Jean-Christophe Helary <jean.christophe.hel...@gmail.com> >> Date: Wed, 31 May 2017 19:41:00 +0900 >> Cc: Org-mode <emacs-orgmode@gnu.org> >> >> 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.
Yes, I realized after Yuri's comment that the comparison with ESC was a bit far-fetched. Jean-Christophe