GNU bug report logs -
#74619
macOS: <ns-show-prefs> displayed as keybinding for \\[customize] on emacs -nw
Previous Next
Reported by: Yoichi Nakayama <yoichi.nakayama <at> gmail.com>
Date: Sat, 30 Nov 2024 07:42:02 UTC
Severity: normal
Tags: fixed
Fixed in version 31.1
Done: Robert Pluim <rpluim <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #44 received at 74619 <at> debbugs.gnu.org (full text, mbox):
> I configure --without-ns, and ns-win.el is not loaded in that case.
If term/ns-win.el is not loaded, no need to call make-non-key-event for ns-".
It is because global-set-key for ns-" is only in term/ns-win.el.
On Sat, Dec 7, 2024 at 2:11 AM Gerd Möllmann <gerd.moellmann <at> gmail.com> wrote:
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> From: Robert Pluim <rpluim <at> gmail.com>
> >> Cc: yoichi.nakayama <at> gmail.com, gerd.moellmann <at> gmail.com,
> >> 74619 <at> debbugs.gnu.org
> >> Date: Fri, 06 Dec 2024 17:53:47 +0100
> >>
> >> >>>>> On Fri, 06 Dec 2024 18:22:11 +0200, Eli Zaretskii <eliz <at> gnu.org> said:
> >>
> >> Eli> I admit that I don't understand the issue, and not how an NS-specific
> >> Eli> problem is solved in common-win.el. Can you summarize the
> >> Eli> discussion's conclusions till now?
> >>
> >> common-win.el has a definition of `x-setup-function-keys' that does
> >> the appropriate magic with `system-key-alist' to fix this issue. That
> >> code is conditional on (featurep 'ns), and `x-setup-function-keys' is
> >> called when creating a GUI frame on macOS, but not when creating a tty
> >> frame.
> >>
> >> So the solution is to somehow perform the magic just when (featurep
> >> 'ns), regardless of frame type. One way of doing that is by just
> >> putting it at the toplevel in common-win.el (although putting it at
> >> the toplevel in ns-win.el works as well).
> >
> > NS specific code should definitely go to ns-win.el. But is that file
> > loaded in a -nw session, especially if Emacs is compiled to only
> > support TTY frames (if that can be done with the NS port)?
>
> I configure --without-ns, and ns-win.el is not loaded in that case.
--
Yoichi NAKAYAMA
This bug report was last modified 165 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.