# $auto-time(5)

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## NAME

$auto-time - Automatic buffer save time

## SYNOPSIS

$auto-time seconds; Default is `300` seconds

0 <= seconds <= t

## DESCRIPTION

Sets the number of seconds to wait until an edited buffer is auto-saved to temporary file to t seconds. A setting of 0 disables the auto-saving command. Auto-saving can be enabled and disabled on a per buffer basis using buffer mode autosv(2m).

The auto-save file naming convention is the same as the backup name only using hash ('`#`') instead of tilde ('`~`') and is automatically removed on saving a buffer.

On unlimited length file name systems (UNIX), the following file naming conventions are used for file `xxxxx`:

`xxxxx -> xxxxx#`

On systems with an `xxxxxxxx.yyy` file name (DOS etc), the following file naming conventions are used:

`xxxxxxxx -> xxxxxxxx.###`
`xxxxxxxx.y -> xxxxxxxx.y##`
`xxxxxxxx.yy -> xxxxxxxx.yy#`
`xxxxxxxx.yyy -> xxxxxxxx.yy#`

## NOTES

The user is warned to be extra careful if files ending in '`~`' or '`#`'s are used, it is advisable to disable backup creation (see global-mode(2)) and auto-saving (`$auto-time = 0`). The author denies all responsibility (yet again) for any loss of data! Please be careful.

Auto-save files of URL files (i.e. "`ftp://...`" and "`http://...`") are written to the system's temporary directory. This avoids potentially slow auto-saves. This can however lead to recovery problems as the buffer name must be used to avoid auto-saving conflict with other buffers with the same base file name but different paths.

## SEE ALSO

autosv(2m), backup(2m), buffer-mode(2) find-file(2), ftp(3).

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>