Richard M. Stallman wrote:
> I get a pop-up dialog asking me if I want to save (one of) the
> modified buffers. If I click on no, I bounce right back to the buffer
> I was viewing, and I do not exit emacs.
It does not fail for me. (I am using the Lucid widgets on GNU/Linux.)
Can anyone else reproduce this?
This seems to be a problem with Win32's x-popup-menu. The following Lisp
demonstrates the bug.
(let* ((position t)
(contents '("q1" ("yes" . 1) ("no" . 2)))
(menu (cons (car contents) (cons contents nil))))
(setq q1 (x-popup-menu position menu))
(setq q2 (x-popup-menu position menu))
(format "q1=%s, q2=%s" q1 q2))
You should see two consecutive yes/no popups, followed by the display of your
choices.
On Windows, you see only the first popup and corresponding answer. The second
call to x-popup-menu returns nil.
I suspect that 'menu_free_timer' and 'current_popup_menu' are to blame.
-Dave
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel