emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Novice questions about quiting


From: David Hunter
Subject: Re: [h-e-w] Novice questions about quiting
Date: Mon, 11 Jul 2005 21:35:19 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]