Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      align-by-tab
      . . .
      zoom-window
   Variable Reference
      . . .
      auto-save-count
      auto-save-idle-seconds
      auto-save-name
      auto-save-tags
      auto-show-adjacent-delimiter
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
auto-save-idle-seconds  Variable Reference   auto-save-tags


Epsilon User's Manual and Reference > Variable Reference >

auto-save-name: preference variable

Default value: "%p#%b%e.asv#"

When want-auto-save is nonzero, Epsilon regularly saves a copy of each unsaved file. This variable contains a template which determines how Epsilon chooses the file name for the autosaved file. Epsilon substitutes pieces of the original file name for codes in the template, as follows (examples are for the file c:\dos\read.me):

%p
The original file's path (c:\dos\).

%b
The base part of the original file name (read).

%e
The extension of the original file name (.me).

%f
The full name of the original file (c:\dos\read.me).

%r
The name of the file relative to the current directory. (read.me if the current directory is c:\dos, dos\read.me if the current directory is c:\, otherwise c:\dos\read.me).

%x
The full pathname of the directory containing the Epsilon executable.

%X
The full pathname of the directory containing the Epsilon executable, after converting all Windows long file names to their equivalent short name aliases.

By default, Epsilon writes to a file in the same directory but with a # character before the name and .asv# after it. If you change this to %f (to auto-save to the original file name) or some other setting that could name a file you want to keep, be sure to set appropriate bits in the want-auto-save variable to disable automatic deletion of auto-save files.

More info:

Backup Files



Previous   Up    Next
auto-save-idle-seconds  Variable Reference   auto-save-tags


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.