From: Alan Third <alan@idiocy.org>
To: "Mattias Engdegård" <mattiase@acm.org>,
45502@debbugs.gnu.org, "Daniel Martín" <mardani29@yahoo.es>
Subject: bug#45502: [PATCH] Prettier key bindings in NS menu entries
Date: Wed, 30 Dec 2020 13:09:02 +0000 [thread overview]
Message-ID: <X+x77tsld7aRiqTW@breton.holly.idiocy.org> (raw)
In-Reply-To: <X+x2vJWgr1USASG9@breton.holly.idiocy.org>
On Wed, Dec 30, 2020 at 12:46:52PM +0000, Alan Third wrote:
> Oh, I noticed that the Mark menu in dired has the Help menu search
> entry. I guess I've missed something somewhere. I wondered if that was
> set somewhere but couldn't see any reference to it so assumed macOS
> was doing something clever when it saw a "Help" top level submenu...
Ah, got it!
modified src/nsmenu.m
@@ -365,6 +365,9 @@
else
submenu = [menu addSubmenuWithTitle: wv->name];
+ if ([[submenu title] isEqualToString:@"Help"])
+ [NSApp setHelpMenu:submenu];
+
if (deep_p)
[submenu fillWithWidgetValue: wv->contents];
--
Alan Third
next prev parent reply other threads:[~2020-12-30 13:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-28 14:23 bug#45502: [PATCH] Prettier key bindings in NS menu entries Mattias Engdegård
2020-12-28 18:36 ` Alan Third
2020-12-29 12:02 ` Mattias Engdegård
2020-12-29 13:53 ` Alan Third
2020-12-29 14:41 ` Mattias Engdegård
2020-12-29 15:50 ` Alan Third
2020-12-29 17:34 ` Mattias Engdegård
2020-12-29 21:24 ` Alan Third
2020-12-29 22:53 ` Mattias Engdegård
2020-12-29 23:49 ` Alan Third
2020-12-30 12:19 ` Mattias Engdegård
2020-12-30 12:46 ` Alan Third
2020-12-30 13:09 ` Alan Third [this message]
2020-12-30 15:53 ` Mattias Engdegård
2020-12-30 13:12 ` Mattias Engdegård
2020-12-28 22:46 ` Unknown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=X+x77tsld7aRiqTW@breton.holly.idiocy.org \
--to=alan@idiocy.org \
--cc=45502@debbugs.gnu.org \
--cc=mardani29@yahoo.es \
--cc=mattiase@acm.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).