I'm having a very difficult time diagnosing this problem. Essentially, sometimes a buffer will not update without user interaction. For example, with a terminal buffer (the shell/term/package used does not seem to matter) if I were to call some command that prints multiple lines over a period of time, say cat long_file.txt
, I might get the entire file printed out and the buffer updates and scrolls as the file is printed or I might get the first N lines of the file and then the buffer ceases to update until I interact with that buffer (mouse click, key press, anything), or the buffer might not update at all until I interact with it.
Another example is when using a format-on-save, the file is properly formatted but the buffer is not updated to reflect this change until user input occurs.
This happens with any buffer. The includes (but is not limited to) magit, term, vterm, eshell, eat, file buffers, and dired.
This is sporadic. Sometimes it happens as soon as I open emacs, other times it might not happen for the entire duration of my usage of emacs. Most often it seems to occur at some point after emacs is opened.
I'm currently running a significantly minimal config in Emacs 29 to test this, but it's still happening. It doesn't seem to matter if I set any of the auto-revert
related variables/modes or not (auto-revert-interval
, global-auto-revert-mode
, global-auto-revert-non-file-buffers
).
Edit:
This is occurring in the latest 29 release of emacs-plus on a Mac M1 running Ventura 13.5.2 (but also on previous versions of Ventura). This is on GUI emacs. I have also verified this happening on the v28 and v30 of emacs-plus, the v29 of emacs-mac, and the v29 binary that the GNU project provides.
emacs -Q
(no init file)? You mention a lot of things, vaguely. Even "non-file buffer" isn't very specific.