Go to the first, previous, next, last section, table of contents.


Auto-Saving Files

Jade is able to save snapshots of a buffer's contents at set time intervals. When this time interval expires and the buffer has been modified since it was last (auto-) saved to disk (and the editor is idle) the buffer is saved to a special file (usually the base component of the file's name surrounded by `#' characters in the file's directory).

Variable: auto-save-p
When non-nil this makes the function open-file (and therefore the commands find-file, etc) flag that the file it just read should be auto saved regularly.

Variable: default-auto-save-interval
This is the default number of seconds between each auto save. This variable is only referenced when each file is opened.

Its standard value is 120 seconds.

Variable: auto-save-interval
This buffer-local variable controls the number of seconds between each auto-save of the buffer it belongs to. A value of zero means never auto-save.

When the buffer is saved properly (i.e. with save-file and friends) its auto-save file is deleted. Note that this doesn't happen when you kill a buffer and an auto-save file exists (in case you didn't mean to kill the buffer).

To recover an auto-saved file (i.e. after an editor crash or something!) use the command recover-file.

Meta-x recover-file
Loads the auto-saved copy of the file stored in this buffer overwriting its current contents (if any changes are to be lost you will have to agree to losing them).


Go to the first, previous, next, last section, table of contents.