GNU bug report logs - #37007
Problem with the menu-bars in mode "org" and "auctex"

Previous Next

Package: emacs;

Reported by: Anders Rydvall <anders <at> rydvall.com>

Date: Sun, 11 Aug 2019 15:42:02 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Anders Rydvall <anders <at> rydvall.com>
Cc: 37007 <at> debbugs.gnu.org
Subject: bug#37007: Problem with the menu-bars in mode "org" and "auctex"
Date: Fri, 23 Aug 2019 09:45:54 +0200
> "messages" doesn't capture anything related to the menus as far as I
> can see. Attached screenshot is after shifting between buffers
> several times and invoking menus with F10. And different buffers
> have opened with corrupted menu items and the black bars which at
> every occasion is corrected with F10. Apparently F10 does something
> different to the menus than the mouse.

It should mean that we do not update the menu bar at some decisive
moments.  Try evaluating the following noisy form with emacs -Q.

(add-hook 'menu-bar-update-hook (lambda () (ding) (message "%s..%s" (current-buffer) major-mode)))

Here I hear a "ding" and see a message whenever I split a window or
show another buffer in some window.  And I hear the ding when hitting
F10 or clicking on a menu bar item with the mouse.  Do you see any
"anomalies" when doing that?  I mean, does the message intuitively
show the "right" current buffer and its major mode when you randomly
execute some of the actions above?

Sorry, I have no better idea than applying such silly heuristics.

Thanks, martin




This bug report was last modified 2 years and 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.