all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#457: wdired and auto-revert-mode
@ 2008-08-03 11:45 martin rudalics
  0 siblings, 0 replies; 11+ messages in thread
From: martin rudalics @ 2008-08-03 11:45 UTC (permalink / raw)
  To: 457; +Cc: michael_heerdegen

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

 > Changing to wdired should temporarily turn off `auto-revert-mode' if
 > it was enabled in the corresponding dired buffer. It is very
 > frustrating when the buffer reverts while editing file names.

Could you please try whether the attached patch handles the problem.

Thanks, martin.

[-- Attachment #2: 457.patch --]
[-- Type: text/plain, Size: 534 bytes --]

*** dired.el.~1.406.~	2008-07-30 09:30:57.453125000 +0200
--- dired.el	2008-08-03 10:43:25.921875000 +0200
***************
*** 717,722 ****
--- 717,725 ----
      (and (stringp dirname)
  	 (not (when noconfirm (file-remote-p dirname)))
  	 (file-readable-p dirname)
+ 	 ;; Don't auto-revert when the dired buffer can be currently
+ 	 ;; written by the user (as in `wdired-mode', see bug#457).
+ 	 buffer-read-only
  	 (dired-directory-changed-p dirname))))
  
  ;; Separate function from dired-noselect for the sake of dired-vms.el.

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

end of thread, other threads:[~2008-08-21  8:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.15789.1217765249.18990.bug-gnu-emacs@gnu.org>
2008-08-04 11:18 ` bug#457: wdired and auto-revert-mode Joe Wells
2008-08-04 12:03   ` martin rudalics
2008-08-04 13:33     ` Joe Wells
2008-08-04 16:08       ` martin rudalics
2008-08-04 18:38         ` Joe Wells
2008-08-04 21:24           ` martin rudalics
     [not found]         ` <mailman.15844.1217875649.18990.bug-gnu-emacs@gnu.org>
2008-08-11 16:28           ` Michael Heerdegen
2008-08-11 17:30             ` Joe Wells
2008-08-13 16:22               ` Michael Heerdegen
2008-08-21  8:04                 ` martin rudalics
2008-08-03 11:45 martin rudalics

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.