Questions tagged [auto-save]

The generic concept of automatically saving information to the disk or to a remote server, triggered by a timer or any other event inside of Emacs.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
174 views

how to get Emacs to stop saving org-agenda as a file?

In my directory I keep on winding up with dozens of files with names like these: #%2AOrg%20Agenda%2A#12182wk# #%2AOrg%20Agenda%2A#13353nN# #%2AOrg%20Agenda%2A#13568-1B# The content of which is this: ...
2
votes
0answers
1k views

auto-save is unreliable

I almost never manually save files; I rely on auto-save. In the past few months I have noticed some of my edits mysteriously disappearing. The disappearances seem to be related to Linux crashes (...
1
vote
0answers
50 views

Placing auto-saves in a different folder doesn't work

I am working on my personal emacs config and I wanted to keep .emacs.d/ uncluttered. So I created a temp folder inside .emacs.d/ that includes a backup directory. This part works fine. Also sending ...
1
vote
2answers
78 views

quick way to restore backups

The following happens fairly often to me: I do emacs note-xyz in the terminal to create a new note I write something in the note I forget to save before logging out Now I'm left with a file #note-...
1
vote
0answers
88 views

How to disable tramp autosave and backups, but keep other backups/autosave?

I'd like to disable autosaves and backups when using tramp, because I neither want to save stuff from remote machines nor stuff belonging to root in my backup/autosave directory. How to do that? I ...
1
vote
0answers
29 views

Possible to save winner history winner-ring-alist in savehist or desktop-save to save across sessions

I added in the following command to my .emacs but it doesn't seem to work: (add-to-list 'savehist-additional-variables 'winner-ring-alist) Is there a way to get the winner-undo history to save ...
0
votes
0answers
23 views

auto-saved files in my current working directory despite I have set it to C:\temp\emacsbackup

I have the following line in my .emacs to keep auto-saved files in a specific directory: (setq backup-directory-alist (quote ((".*" . "C:/temp/emacsbackup")))) And it works, I see ...
0
votes
0answers
13 views

I would like to couple two autoloaded functions, while using use-package

I would like to couple elm-format-on-save-mode and elm-preview-main, so that when I save a file it gets formatted and compiled, and the generated html get's previewed. (use-package elm-mode :config ...
0
votes
0answers
15 views

Each time I save a file, Spacemacs will try and parse my bibliography bibtex file. How can I stop that?

I use Spacemacs and it is great. But for some reason, each time I save a file--usually an org file, Spacemacs will try and parse my default bibtex file. And that file is relatively large, so it adds a ...
0
votes
0answers
22 views

How can I make Emacs put files named like .#filename into another directory too

I want my autosave files and backup files, e.g. #filename.org# and filename.org~ files, not to clutter the directory in my code repo that is in TypeScript. I have popped into a way to place inside ...
0
votes
0answers
70 views

Writing file when switching buffer

I'm using a rather stock Prelude emacs version with super-save disabled, but still whenever I change buffers using C-x o, whatever buffer I currently have focused writes to disk. I still want the auto-...
0
votes
0answers
36 views

Temporarily save modified buffers

I would like to achieve the following workflow: When I open files to edit and close emacs, I want this changed files to be temporarily saved, so that I can very quickly close Emacs / move to other ...