What would it take to get auto-revert-mode to actually work in my dired buffer?

Posted by Cheeso on Stack Overflow See other posts from Stack Overflow or by Cheeso
Published on 2010-12-24T19:13:05Z Indexed on 2010/12/25 13:53 UTC
Read the original article Hit count: 284

Filed under:
|

Apparently auto-revert-mode is supposed to work in dired buffers.
I had never heard of this, but the doc says it works.

Then I read a little more and found some fine print:

Auto-reverting Dired buffers currently works on GNU or Unix style operating systems. It may not work satisfactorily on some other systems.

...and...

[dired buffers] do not auto-revert when information about a particular file changes (e.g. when the size changes) or when inserted subdirectories change. To be sure that all listed information is up to date, you have to manually revert using g, even if auto-reverting is enabled in the Dired buffer.

source

Well, uh, gee.... That doesn't sound like autorevert to me.
What would it take to get auto-revert for dired to actually work? Even on (gasp) non-Unix operating systems.

Could I just modify auto-revert-handler to call revert-buffer on dired buffers?

© Stack Overflow or respective owner

Related posts about emacs

Related posts about revert