[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7476: 24.0.50; tooltip-mode disabled interferes with x-popup-menu pr
From: |
Drew Adams |
Subject: |
bug#7476: 24.0.50; tooltip-mode disabled interferes with x-popup-menu prompts |
Date: |
Wed, 24 Nov 2010 14:19:13 -0800 |
emacs -Q
1. Eval this:
(defun foo (event)
"..."
(interactive "e")
(sit-for 0)
(let ((selection
(x-popup-menu
event
'("Foo" (""
("Bar" . ignore)
("Toto" . picture-clear-rectangle-to-register))))))
(and selection (call-interactively selection))))
(global-set-key [mouse-3] 'foo)
2. M-x picture-mode
3. Click mouse-1 somewhere then mouse-3 somewhere else.
Choose Toto in the menu.
You will see the `read-char' prompt from
`picture-clear-rectangle-to-register' in the minibuffer:
Rectangle to register:
This is all as it should be.
4. Now disable tooltip mode:
M-x tooltip-mode
5. Repeat #3. The prompt is not shown.
Instead, the mouse keystrokes are echoed.
(Setting `echo-keystrokes' to nil does not help.)
Emacs should show the prompt.
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2010-11-22 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'
- bug#7476: 24.0.50; tooltip-mode disabled interferes with x-popup-menu prompts,
Drew Adams <=