From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hunter Newsgroups: gmane.emacs.devel Subject: Re: [h-e-w] Novice questions about quiting Date: Mon, 11 Jul 2005 21:35:19 -0400 Message-ID: <42D31E57.7060808@comcast.net> References: <42D17A32.508@po-box.mcgill.ca> <42D194C6.2010402@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1121133379 7753 80.91.229.2 (12 Jul 2005 01:56:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2005 01:56:19 +0000 (UTC) Cc: bvande@po-box.mcgill.ca, Lennart Borgman , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 12 03:56:10 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DsA0H-0003od-GQ for ged-emacs-devel@m.gmane.org; Tue, 12 Jul 2005 03:56:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DsA1s-0006df-Fq for ged-emacs-devel@m.gmane.org; Mon, 11 Jul 2005 21:57:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ds9yI-0005ti-Of for emacs-devel@gnu.org; Mon, 11 Jul 2005 21:54:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ds9y8-0005oO-Rd for emacs-devel@gnu.org; Mon, 11 Jul 2005 21:53:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ds9y6-0005du-Jx for emacs-devel@gnu.org; Mon, 11 Jul 2005 21:53:54 -0400 Original-Received: from [204.127.198.39] (helo=rwcrmhc12.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ds9o5-0001YH-Hw; Mon, 11 Jul 2005 21:43:33 -0400 Original-Received: from [192.168.42.3] (pcp08774087pcs.mtlrel01.nj.comcast.net[68.36.32.221]) by comcast.net (rwcrmhc13) with ESMTP id <2005071201352401500ik9sde>; Tue, 12 Jul 2005 01:35:27 +0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en Original-To: rms@gnu.org In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40807 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40807 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