Skip to main content

Timeline for Autosave *scratch* to a directory

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
Jun 28, 2023 at 20:24 comment added lawlist @JonahHuron -- Please feel free to write up a new question once you have conducted a preliminary search to ascertain whether a similar/same quesition/answer already exists. If you find similar questions/answers that do not answer your question, then perhaps mention those links in your new question and state why those other questions/answers are insufficient for your particular use-case; i.e., distinguish them so that your new question is not erroneously closed as being duplicative.
Jun 28, 2023 at 19:28 comment added JonahHuron @lawlist I would like to do something similar to what you describe with .scratch. Are you able to provide details? It would be a huge help
Jan 26, 2015 at 21:17 comment added phils See also stackoverflow.com/questions/8849661/…
Jan 26, 2015 at 19:30 vote accept PythonNut
Jan 26, 2015 at 19:27 answer added nanny timeline score: 5
Jan 26, 2015 at 19:27 comment added PythonNut Apparently, it will if you enable auto-save-mode in the buffer.
Jan 26, 2015 at 19:25 comment added lawlist Emacs does not, by default, autosave NON-file-visiting buffers. For example, a *Help* buffer does not get autosaved, nor does a *Backtrace* buffer.
Jan 26, 2015 at 19:24 comment added PythonNut It is not a file-visiting buffer (and I would rather it stay that way), which is why I'm confused.
Jan 26, 2015 at 19:21 comment added lawlist In your setup, is the *scratch* a file-visiting-buffer or a NON-file-visiting buffer? The default is the latter and thus is not subject to autosave. I like to kill the *scratch* when Emacs opens and prevent it from reappearing, and instead I use a custom file-visiting-buffer called .scratch. Whenever *scratch* would normally appear, I preempt it with a custom find-file /path/to/.scratch
Jan 26, 2015 at 19:11 history undeleted PythonNut
Jan 26, 2015 at 19:07 history deleted PythonNut via Vote
Jan 26, 2015 at 19:05 history asked PythonNut CC BY-SA 3.0