GNU bug report logs - #4705
23.1.50; read-key makes menu-bar and tool-bar items disappear

Previous Next

Package: emacs;

Reported by: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Date: Mon, 12 Oct 2009 10:20:04 UTC

Severity: normal

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4705 in the body.
You can then email your comments to 4705 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4705; Package emacs. (Mon, 12 Oct 2009 10:20:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 12 Oct 2009 10:20:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.1.50; read-key makes menu-bar and tool-bar items disappear
Date: Mon, 12 Oct 2009 19:13:27 +0900
Steps to reproduce:

  1. emacs -Q
  2. ESC : (read-key) RET

Result:
  The menu-bar and tool-bar items disappear except the
  Lisp-Interaction menu.

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp

In GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, X toolkit)
 of 2009-10-12 on yamamoto-mitsuharu-no-mac-mini.local
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--with-x' '--without-gif' '--without-jpeg' '--without-tiff' 'CFLAGS=-g -Wno-pointer-sign -DENABLE_CHECKING''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ja_JP.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4705; Package emacs. (Tue, 13 Oct 2009 20:10:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> IRO.UMontreal.CA>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 13 Oct 2009 20:10:05 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: 4705 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#4705: 23.1.50; read-key makes menu-bar and tool-bar items disappear
Date: Tue, 13 Oct 2009 16:01:18 -0400
> Steps to reproduce:
>   1. emacs -Q
>   2. ESC : (read-key) RET

> Result:
>   The menu-bar and tool-bar items disappear except the
>   Lisp-Interaction menu.

Indeed that's a bug: the Lisp-Interaction should also disappear.
It seems to be a bug in the code that builds the menu-bar from the
active keymaps.


        Stefan



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4705; Package emacs. (Tue, 13 Oct 2009 20:10:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> IRO.UMontreal.CA>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 13 Oct 2009 20:10:07 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4705; Package emacs. (Tue, 13 Oct 2009 23:45:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 13 Oct 2009 23:45:11 GMT) Full text and rfc822 format available.

Message #20 received at 4705 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 4705 <at> debbugs.gnu.org
Subject: Re: bug#4705: 23.1.50; read-key makes menu-bar and tool-bar items disappear
Date: Wed, 14 Oct 2009 08:39:24 +0900
>>>>> On Tue, 13 Oct 2009 16:01:18 -0400, Stefan Monnier <monnier <at> IRO.UMontreal.CA> said:

>> Steps to reproduce:
>> 1. emacs -Q
>> 2. ESC : (read-key) RET

>> Result:
>> The menu-bar and tool-bar items disappear except the
>> Lisp-Interaction menu.

> Indeed that's a bug: the Lisp-Interaction should also disappear.
> It seems to be a bug in the code that builds the menu-bar from the
> active keymaps.

Even if erasing all the items is the intended behavior (I think
disabling all the items is less surprising at least for the tool-bar),
its timing is inconsistent.  For example, if you replace Step 2 above
with (read-key) C-j, then menu-bar and tool-bar items don't disappear
immediately, but if you move the mouse pointer over a tool-bar item
and wait for a tooltip to be shown, then they will disappear.

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4705; Package emacs. (Sun, 18 Sep 2011 09:02:03 GMT) Full text and rfc822 format available.

Message #23 received at 4705 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 4705 <at> debbugs.gnu.org, YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Subject: Re: bug#4705: 23.1.50;
	read-key makes menu-bar and tool-bar items disappear
Date: Sun, 18 Sep 2011 10:52:15 +0200
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:

>> Steps to reproduce:
>>   1. emacs -Q
>>   2. ESC : (read-key) RET
>
>> Result:
>>   The menu-bar and tool-bar items disappear except the
>>   Lisp-Interaction menu.
>
> Indeed that's a bug: the Lisp-Interaction should also disappear.
> It seems to be a bug in the code that builds the menu-bar from the
> active keymaps.

In Emacs 24, I get (sort of) the opposite result.  When I `M-:', the
Lisp-Interaction menu disappears, and most of the tool bar items get
greyed out.

So I guess this has been fixed?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Reply sent to Alan Third <alan <at> idiocy.org>:
You have taken responsibility. (Mon, 02 May 2016 13:35:02 GMT) Full text and rfc822 format available.

Notification sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
bug acknowledged by developer. (Mon, 02 May 2016 13:35:02 GMT) Full text and rfc822 format available.

Message #28 received at 4705-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 4705-done <at> debbugs.gnu.org, Stefan Monnier <monnier <at> IRO.UMontreal.CA>,
 YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Subject: Re: bug#4705: 23.1.50;
 read-key makes menu-bar and tool-bar items disappear
Date: Mon, 02 May 2016 14:33:49 +0100
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:

> Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:
>
>>> Steps to reproduce:
>>>   1. emacs -Q
>>>   2. ESC : (read-key) RET
>>
>>> Result:
>>>   The menu-bar and tool-bar items disappear except the
>>>   Lisp-Interaction menu.
>>
>> Indeed that's a bug: the Lisp-Interaction should also disappear.
>> It seems to be a bug in the code that builds the menu-bar from the
>> active keymaps.
>
> In Emacs 24, I get (sort of) the opposite result.  When I `M-:', the
> Lisp-Interaction menu disappears, and most of the tool bar items get
> greyed out.
>
> So I guess this has been fixed?

I confirm that in Emacs 25 it looks OK. When I type M-: the
lisp-interaction menu is replaced with a Minibuf one, which makes sense
to me.

-- 
Alan Third




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 31 May 2016 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 23 days ago.

Previous Next


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