[O] Bug capturing to a file while visiting buffer and auto-revert-mode a

From:

Michael Fiano

Subject:

[O] Bug capturing to a file while visiting buffer and auto-revert-mode active

Date:

Fri, 30 Sep 2016 18:25:13 -0400

If you visit an empty file buffer (0 bytes), turn auto-revert-mode on, and capture something to this file, it will appear as if the buffer is still empty. The cursor appears to be on an empty first line, but in reality, the rest of the file contents are off screen and you must scroll up to see them. Alternatively, manually calling revert-buffer will shift the view so the file contents are displayed. It seems like auto-revert-mode and org-capturing are not playing nice together. It took me a few hours to realize that the buffer indeed was modified, but you had to scroll up to see that it was.