unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4705: 23.1.50; read-key makes menu-bar and tool-bar items disappear
@ 2009-10-12 10:13 YAMAMOTO Mitsuharu
  2009-10-13 20:01 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: YAMAMOTO Mitsuharu @ 2009-10-12 10:13 UTC (permalink / raw)
  To: emacs-pretest-bug

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@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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#4705: 23.1.50; read-key makes menu-bar and tool-bar items disappear
  2009-10-12 10:13 bug#4705: 23.1.50; read-key makes menu-bar and tool-bar items disappear YAMAMOTO Mitsuharu
@ 2009-10-13 20:01 ` Stefan Monnier
  2009-10-13 23:39   ` YAMAMOTO Mitsuharu
  2011-09-18  8:52   ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Monnier @ 2009-10-13 20:01 UTC (permalink / raw)
  To: YAMAMOTO Mitsuharu; +Cc: 4705, emacs-pretest-bug

> 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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#4705: 23.1.50; read-key makes menu-bar and tool-bar items disappear
  2009-10-13 20:01 ` Stefan Monnier
@ 2009-10-13 23:39   ` YAMAMOTO Mitsuharu
  2011-09-18  8:52   ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: YAMAMOTO Mitsuharu @ 2009-10-13 23:39 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 4705

>>>>> On Tue, 13 Oct 2009 16:01:18 -0400, Stefan Monnier <monnier@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@math.s.chiba-u.ac.jp





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#4705: 23.1.50; read-key makes menu-bar and tool-bar items disappear
  2009-10-13 20:01 ` Stefan Monnier
  2009-10-13 23:39   ` YAMAMOTO Mitsuharu
@ 2011-09-18  8:52   ` Lars Magne Ingebrigtsen
  2016-05-02 13:33     ` Alan Third
  1 sibling, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-18  8:52 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 4705

Stefan Monnier <monnier@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/





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#4705: 23.1.50; read-key makes menu-bar and tool-bar items disappear
  2011-09-18  8:52   ` Lars Magne Ingebrigtsen
@ 2016-05-02 13:33     ` Alan Third
  0 siblings, 0 replies; 5+ messages in thread
From: Alan Third @ 2016-05-02 13:33 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 4705-done, Stefan Monnier

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Stefan Monnier <monnier@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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-02 13:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-12 10:13 bug#4705: 23.1.50; read-key makes menu-bar and tool-bar items disappear YAMAMOTO Mitsuharu
2009-10-13 20:01 ` Stefan Monnier
2009-10-13 23:39   ` YAMAMOTO Mitsuharu
2011-09-18  8:52   ` Lars Magne Ingebrigtsen
2016-05-02 13:33     ` Alan Third

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).