From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16636: 24.3.50; REGRESSION: y/n file dialog is only flashed; input is not read Date: Tue, 04 Feb 2014 21:20:23 +0200 Message-ID: <83wqha1y88.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1391541674 29320 80.91.229.3 (4 Feb 2014 19:21:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Feb 2014 19:21:14 +0000 (UTC) Cc: 16636@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 04 20:21:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WAlYc-00021i-Rw for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 20:21:18 +0100 Original-Received: from localhost ([::1]:54381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAlYc-0007r8-86 for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 14:21:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAlYS-0007hp-Lt for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 14:21:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAlYN-0005MF-A7 for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 14:21:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAlYN-0005MA-03 for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 14:21:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WAlYM-0003Rf-JR for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 14:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Feb 2014 19:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16636 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16636-submit@debbugs.gnu.org id=B16636.139154163913207 (code B ref 16636); Tue, 04 Feb 2014 19:21:02 +0000 Original-Received: (at 16636) by debbugs.gnu.org; 4 Feb 2014 19:20:39 +0000 Original-Received: from localhost ([127.0.0.1]:49765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAlXx-0003Qw-PR for submit@debbugs.gnu.org; Tue, 04 Feb 2014 14:20:38 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:59379) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAlXs-0003Qj-VM for 16636@debbugs.gnu.org; Tue, 04 Feb 2014 14:20:34 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N0H00100JZE5G00@a-mtaout23.012.net.il> for 16636@debbugs.gnu.org; Tue, 04 Feb 2014 21:20:31 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0H0014AKE63F60@a-mtaout23.012.net.il>; Tue, 04 Feb 2014 21:20:31 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84561 Archived-At: > Date: Tue, 4 Feb 2014 10:51:42 -0800 (PST) > From: Drew Adams > Cc: 16636@debbugs.gnu.org > > > For "simple" Yes/No questions, Emacs on Windows uses a message box. > > For more complex dialogs, it displays a menu, because no one has yet > > written code that displays Windows dialog boxes for that. > > Out of curiosity, why do we think that one is better than the other? I guess because it is closer to a real dialog box, with buttons and such likes. It's just that no one wrote the code to implement dialogs on Windows (more accurately, the code is incomplete and disabled), so we are using cheap and easy replacements. > I guess the message box is better because you can just hit RET if > you want the default? I agree that that is important, but is that > the only reason to prefer a message box? I don't know, I wasn't around when that was written. > > The bug happened because the code which invokes the "simple dialog" > > was inadvertently deleted. > > I see. But in that case, shouldn't the menu have been displayed > normally, in place of the message box? I would think that the > problem was the invisible and automatically dismissed menu, not > the fact that the menu was used instead of a message box. I feel > like I must be missing something, but I'm guessing that it's not > important that I understand. You are not missing anything. It is quite possible that a separate problem still exists that causes menus to pop down without giving the user a chance to make a selection, in some situations. Probably some unexpected event comes in after the menu is displayed and causes it to pop down. But I cannot reproduce this after fixing the message box display, not with your recipe, anyway. If you see any such problems, please report them with the recipe to reproduce.