unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
[parent not found: <<f6441b2f-6aa7-44eb-b88c-ebcb4764fc49@default>]
* bug#16636: 24.3.50; REGRESSION: y/n file dialog is only flashed; input is not read
@ 2014-02-04  4:07 Drew Adams
  2014-02-04 16:21 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Drew Adams @ 2014-02-04  4:07 UTC (permalink / raw)
  To: 16636

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.  I look in *Messages* but nothing
is recorded there ("normal").  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
(since `use-file-dialog' = t):

 File blah.el changed on disk. Reread from disk?

That is the message that was flashed (in my setup, at least).  It
disappeared as soon as it was displayed, and it did not wait for any
mouse-click confirmation or canceling.


In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2014-02-02 on ODIEONE
Bzr revision: 116242 rudalics@gmx.at-20140202130041-n967dw77nw7ztvy9
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-02-04 21:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <<1af9fb2e-0ce0-430a-a9ee-b13838b88047@default>
     [not found] ` <<838utq3l30.fsf@gnu.org>
2014-02-04 16:30   ` bug#16636: 24.3.50; REGRESSION: y/n file dialog is only flashed; input is not read Drew Adams
2014-02-04 18:21     ` Eli Zaretskii
     [not found]   ` <<9567eef7-8d7e-405c-a656-faefe34c9991@default>
     [not found]     ` <<831tzi3fje.fsf@gnu.org>
2014-02-04 18:51       ` Drew Adams
2014-02-04 19:20         ` Eli Zaretskii
     [not found] <<f6441b2f-6aa7-44eb-b88c-ebcb4764fc49@default>
     [not found] ` <<83wqha1y88.fsf@gnu.org>
2014-02-04 21:03   ` Drew Adams
2014-02-04  4:07 Drew Adams
2014-02-04 16:21 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).