From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "Daniel Martín" <mardani29@yahoo.es>
Cc: "Gerd Möllmann" <gerd.moellmann@gmail.com>,
"Eli Zaretskii" <eliz@gnu.org>,
56155@debbugs.gnu.org, "Stefan Kangas" <stefan@marxist.se>
Subject: bug#56155: 29.0.50; Options menu, toggle menu items not updated
Date: Wed, 29 Jun 2022 16:53:24 +0800 [thread overview]
Message-ID: <87wnczam0r.fsf@yahoo.com> (raw)
In-Reply-To: <m1k08z7tay.fsf@yahoo.es> ("Daniel Martín"'s message of "Wed, 29 Jun 2022 10:44:21 +0200")
Daniel Martín <mardani29@yahoo.es> writes:
> There is [EmacsMenu menuWillOpen:], whose implementation is empty right
> now.
It's not present (as in, not actually called) on GNUstep, and you aren't
supposed to perform long-running menu updates within it on Cocoa.
Updating the menu bar in Emacs takes somewhere between 50 to 300 ms
(this can depend on the current major and minor modes and GC), which is
too long.
The right thing would be to intercept and save the NSEvent that opened
the menu bar and generate a MENU_BAR_ACTIVATE_EVENT. But I cannot
figure out how.
next prev parent reply other threads:[~2022-06-29 8:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-23 9:09 bug#56155: 29.0.50; Options menu, toggle menu items not updated Gerd Möllmann
2022-06-23 10:15 ` Eli Zaretskii
2022-06-28 12:06 ` Gerd Möllmann
2022-06-28 21:21 ` Stefan Kangas
2022-06-28 23:38 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-29 5:32 ` Gerd Möllmann
2022-06-29 6:12 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-29 8:44 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-29 8:53 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-06-29 6:04 ` Gerd Möllmann
2022-06-29 10:16 ` Lars Ingebrigtsen
2024-05-18 6:31 ` Gerd Möllmann
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=87wnczam0r.fsf@yahoo.com \
--to=bug-gnu-emacs@gnu.org \
--cc=56155@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=gerd.moellmann@gmail.com \
--cc=luangruo@yahoo.com \
--cc=mardani29@yahoo.es \
--cc=stefan@marxist.se \
/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).