From: Dmitry Gutov <dgutov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 25113@debbugs.gnu.org
Subject: bug#25113: 25.1.90; Stale menu items after switching to a different major mode (or visiting a buffer)
Date: Mon, 5 Dec 2016 22:26:40 +0200 [thread overview]
Message-ID: <c094af28-2c36-4d7f-8634-6cbfc2b5a0b6@yandex.ru> (raw)
In-Reply-To: <83shq2jq8d.fsf@gnu.org>
On 05.12.2016 18:27, Eli Zaretskii wrote:
> Yes, I think so: that function is implemented in C. Set a breakpoint
> in Fx_menu_bar_open_internal.
I've done that now, and this breakpoint hasn't been hit once during my
interactions with the menu, before and after switching to ruby-mode, or
toggling menu-bar-mode off and on afterwards. Here's the full output:
Reading symbols from emacs...done.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from
terminal]
DISPLAY = :0
TERM = xterm-256color
Breakpoint 1 at 0x4ef3a0: file emacs.c, line 353.
Temporary breakpoint 2 at 0x508810: init_sys_modes. (3 locations)
(gdb) b Fx_menu_bar_open_internal
Breakpoint 3 at 0x46cb50: file xmenu.c, line 354.
(gdb) run -Q
Starting program: /home/dgutov/vc/emacs/src/emacs -Q
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe59e7700 (LWP 16065)]
[New Thread 0x7fffe4975700 (LWP 16066)]
[New Thread 0x7fffdfbc0700 (LWP 16067)]
[Thread 0x7fffdfbc0700 (LWP 16067) exited]
[Thread 0x7fffe59e7700 (LWP 16065) exited]
[Thread 0x7ffff7f1bb00 (LWP 16061) exited]
[Inferior 1 (process 16061) exited normally]
next prev parent reply other threads:[~2016-12-05 20:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-04 22:45 bug#25113: 25.1.90; Stale menu items after switching to a different major mode (or visiting a buffer) Dmitry Gutov
2016-12-05 15:41 ` Eli Zaretskii
2016-12-05 16:13 ` Dmitry Gutov
2016-12-05 16:27 ` Eli Zaretskii
2016-12-05 20:26 ` Dmitry Gutov [this message]
2016-12-05 20:58 ` Eli Zaretskii
2016-12-05 21:38 ` Stephen Berman
2016-12-06 14:45 ` Dmitry Gutov
2016-12-06 15:23 ` Ken Brown
2020-08-12 0:25 ` Stefan Kangas
2020-08-12 9:54 ` Dmitry Gutov
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=c094af28-2c36-4d7f-8634-6cbfc2b5a0b6@yandex.ru \
--to=dgutov@yandex.ru \
--cc=25113@debbugs.gnu.org \
--cc=eliz@gnu.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).