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 18:21:23 +0200 Message-ID: <838utq3l30.fsf@gnu.org> References: <1af9fb2e-0ce0-430a-a9ee-b13838b88047@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1391546118 18675 80.91.229.3 (4 Feb 2014 20:35:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Feb 2014 20:35:18 +0000 (UTC) Cc: 16636-done@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 21:35:24 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 1WAmiJ-0001a5-9Y for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 21:35:23 +0100 Original-Received: from localhost ([::1]:55203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAmiI-0006rg-Sp for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 15:35:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAkq5-0004YN-MU for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 13:35:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAkpy-0000xl-SG for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 13:35:16 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAil9-0000Vf-Le for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 11:22:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WAil9-0007Uw-7P for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 11:22:03 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Feb 2014 16:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 16636 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 16636@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 16636-done@debbugs.gnu.org id=D16636.139153089628784 (code D ref 16636); Tue, 04 Feb 2014 16:22:02 +0000 Original-Received: (at 16636-done) by debbugs.gnu.org; 4 Feb 2014 16:21:36 +0000 Original-Received: from localhost ([127.0.0.1]:49650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAikh-0007UB-8B for submit@debbugs.gnu.org; Tue, 04 Feb 2014 11:21:35 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:56322) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAike-0007U1-Fl for 16636-done@debbugs.gnu.org; Tue, 04 Feb 2014 11:21:33 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0N0H00200C1VNI00@a-mtaout21.012.net.il> for 16636-done@debbugs.gnu.org; Tue, 04 Feb 2014 18:21:31 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0H002DBC3UDI80@a-mtaout21.012.net.il>; Tue, 04 Feb 2014 18:21:31 +0200 (IST) In-reply-to: <1af9fb2e-0ce0-430a-a9ee-b13838b88047@default> 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:84565 Archived-At: > Date: Mon, 3 Feb 2014 20:07:26 -0800 (PST) > From: Drew Adams > > emacs -Q > > Eval this after bring up Dired: > > (defun diredp-mouse-find-file-other-frame (event) > (interactive "e") > (let ((pop-up-frames t)) (dired-mouse-find-file-other-window event))) > > (define-key dired-mode-map [M-mouse-2] 'diredp-mouse-find-file-other-frame) > > In another Emacs session, modify one of the files listed in the Dired > buffer. Then click M-mouse-2 on it in the Dired buffer. > > In my own setup I at least see a brief flash of a message. I see > nothing at all happen with emacs -Q. You should hear the "ding" that is sounded when you type C-g or dismiss a menu. (And the file in question should have been already visited inside Emacs before the "in another Emacs session" step, otherwise Emacs has no need to display any dialogs.) > I look in *Messages* but nothing is recorded there ("normal"). You should see "Quit" there, which is a sign that none of the possible selections were chosen, i.e. the dialog was dismissed without making a selection. > There should have been a file dialog displayed, and it should have > waited for me to click y or n to dismiss it. > > Do `M-x debug-on-entry diredp-mouse-find-file-other-frame', then repeat: > click `M-mouse-2' on the same (modified) file. Walk through the > debugger and you will see the file dialog displayed as it should be Displayed, yes. But not "as it should be": the appearance is entirely different, as Emacs tried to emulate a dialog box with a menu. But for a "simple dialog" such as yes/no, Emacs should have displayed a MessageBox instead. Sorry, this was my bad: some code which supported this use case was inadvertently deleted when the TTY menus were implemented. Now fixed in trunk revision 116260.