all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Hunter <hunterd_42@comcast.net>
Cc: bvande@po-box.mcgill.ca,
	Lennart Borgman <lennart.borgman.073@student.lu.se>,
	emacs-devel@gnu.org
Subject: Re: [h-e-w] Novice questions about quiting
Date: Mon, 11 Jul 2005 21:35:19 -0400	[thread overview]
Message-ID: <42D31E57.7060808@comcast.net> (raw)
In-Reply-To: <E1Ds1Xc-0008ML-Op@fencepost.gnu.org>

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	other threads:[~2005-07-12  1:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <42D17A32.508@po-box.mcgill.ca>
2005-07-10 21:36 ` [h-e-w] Novice questions about quiting Lennart Borgman
2005-07-11 14:04   ` Jan D.
2005-07-11 16:54   ` Richard M. Stallman
2005-07-12  1:35     ` David Hunter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42D31E57.7060808@comcast.net \
    --to=hunterd_42@comcast.net \
    --cc=bvande@po-box.mcgill.ca \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman.073@student.lu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.