bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tired of seeing "Directory has changed on disk; type g to update Dired"


From: Dan Jacobson
Subject: tired of seeing "Directory has changed on disk; type g to update Dired"
Date: Sun, 20 Apr 2003 08:27:51 +0800
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

Way back in 2000-09-02 Kin Cho <address@hidden> gnu.emacs.sources

| Are you tired of seeing this message:
| 
|       Directory has changed on disk; type g to update Dired
| 
| Please try the following little advice.  Feedbacks/suggestions are
| welcome!

Jari> hi, This feature will be present in next Emacs as I submitted 
Jari> patches to it...

In 2001,

Dan> I'm betting that emacs doesn't have an option to do the updating for
Dan> the user instead of showing him this message.

Eli> It does: look for auto-revert mode.

Dan> OK, only found in Help, not found in Emacs Info, Dired, Dired-x
Dan> Info... perhaps add mention of it there and .emacs usage example for
Dan> those who only want to use it to do the above dired case...

OK, I added to .emacs
(add-hook 'dired-mode-hook 'turn-on-auto-revert-mode)

Can you believe that I'm now checking every dired buffer every
auto-revert-interval.

All I want to do is have it do the "g" for me instead of telling me.

Even though Jari might have stuck a change into dired.el, one can't
tell without special training.

One thing for sure, no documentation was ever enhanced. The user is
told he must make friends with the "g" key, even if his computer is
Pentium Grade.

Yes, looking in dired.el I see stuff about how one wouldn't want to do
this on ange-ftp etc. etc. Sounds good. How do I sign up?

Is repeated reminders about hitting the "g" key some kind of G-spot
titillation?  How can I opt-out?

I was going to write the below, but then I thought I should check
search on Gargle first.
----------
Regarding dired. "if DIRNAME is already in a dired buffer, that buffer is
used without refresh."

And indeed in the code, before
(message ... "Directory has changed on disk; type \\[revert-buffer] to
update Dired"), one  sees no hint of a variable that would relieve us
having to type the g to do revert-buffer, so we could be like Windows
where Explorer shows the current condition, I recall.

I remember there was a variable that would make it refresh anyway if
not current, but now after an hour search I can't find it.

Also what if I just switch-to-buffer. Some folks would want to
freshen automatically to in this case too, while others would only
want automatic freshening after C-x d, therefore any new variable to
control auto refreshing should have grades for describing just how
much refreshing on wants.

Also say I want to turn on auto refreshing except with ange-ftp, or
with directories longer than 5 screens in length.
-- 
http://jidanni.org/ Taiwan(04)25854780





reply via email to

[Prev in Thread] Current Thread [Next in Thread]