Problem
When the file underlying buffer foo
is changed, Emacs shows Reverting buffer 'foo'.
in the echo area.
The problem is that it will do this even when I'm working in the minibuffer, and the message will simply overlay whatever I have there, making seeing what I'm working on impossible.
Question
Is there any way to change this behavior?
Steps to reproduce the behavior
- Outside of emacs, create a file:
echo test > foo
emacs -Q
M-: (global-auto-revert-mode)
M-: (find-file "foo")
M-x switch-to-buffer *scratch*
M-x
to open the minibuffer, and keep it open.- Outside of Emacs, append something to the file:
echo bar >> foo
At this point you should see the message in the minibuffer saying Reverting buffer 'foo'.