Questions tagged [global-auto-revert-mode]

7 questions
10
votes
1 answer

How can I automatically close buffers when the underlying file is deleted?

I leave Emacs running all day, and will often will do a lot of file system manipulation on files that are open in Emacs buffers. For example, I might switch to a different branch in Git that has a very different directory structure. Unfortunately…
levand
  • 275
  • 1
  • 6
3
votes
2 answers

Is it possible to DISABLE auto-reverting remote file?

Emacs 26.3 Linux Mint 19.3 I work with my Google drive. I want to disable auto reverting mode for remote files. Is it possible?
a_subscriber
  • 3,854
  • 1
  • 17
  • 47
2
votes
0 answers

How to prevent `Reverting buffer ‘’` message showing up?

I have plenty of files opened in my emacs daemon. In the background there is a running process which make changes on the *.yaml files that are already opened in my emacs. I am using auto-revert-mode in order to automatically reverts the buffer when…
alper
  • 1,238
  • 11
  • 30
2
votes
1 answer

Auto-reverting only renderable PDF buffers

I'm using pdf-view mode and the global auto-revert mode with LaTeX and latexmk. This works fine, except that, a couple of times during the compilation, the PDF is in a useless state and the PDF window shows raw data. I was wondering whether it is…
Toothrot
  • 3,204
  • 1
  • 12
  • 30
2
votes
1 answer

dired not showing recently created files when emacs is run in daemon mode

When running emacs in daemon mode, a directory listing using dired does not seem to show the latest created files. What could be the cause of this issue, and how can I fix it?
2
votes
0 answers

Org-Export does not respect (global-)auto-revert-mode

When exporting an org document to pdf via LaTeX, C-c C-e l o, if the pdf to be generated has already been visited in an existing buffer, neither of the variables auto-revert-mode nor global-auto-revert-mode are respected. During the export process,…
nyameko
  • 545
  • 2
  • 15
1
vote
0 answers

automatically backup before revert

I would like to backup buffers before they are (auto) reverted. This is nontrivial because the file a buffer is visiting isn't current, and the backup system normally works by duplicating the file the buffer visits.
PythonNut
  • 10,243
  • 2
  • 29
  • 75