Lugaru's Epsilon Programmer's Editor 14.04
Context:
|
Epsilon User's Manual and Reference > Commands by Topic > Simple Customizing > Saving CustomizationsEpsilon can save any new bindings you have made and any macros you have defined for future editing sessions. Epsilon uses two kinds of files for this purpose, state files and command files (such as theeinit.ecm file Epsilon
normally uses to save your customizations).
The next section describes command files such as the Both methods can save bindings, macros, and other sorts of customizations, but they differ in many respects:
The write-state command on Ctrl-F3 asks for the name of a file, and writes the current state to that file. The file name has its extension changed to ".sta" first, to indicate a state file. If you don't provide a name, Epsilon uses the name "epsilon-v14.sta", the same name that it looks for at startup. (The state file name includes Epsilon's major version number.) You can specify another state file for Epsilon to use at startup with the -s flag. By default, when you write a new state file, Epsilon makes a copy of the old one in a file named ebackup.sta. You can turn backups off by setting the variable want-state-file-backups to 0, or change the backup file name by modifying the state-file-backup-name template. See File Name Templates for information on templates.
Epsilon's default state file sits in its main directory. (In Windows,
this is normally under \Program Files.) If you write a
customized state file, it will go in your customizations directory
(see The Customization Directory), and Epsilon will read it instead of the
default state file. You can use Epsilon's -s flag to start
Epsilon with its default state file, ignoring your customized one, by
running it as " It's a good idea to keep all your customizations in one place, either a state file or an einit.ecm file. If you have all your customizations in a state file and want to instead store them all in an einit.ecm file, run list-customizations, and then delete or rename the customized state file in your customizations directory. If you have all your customizations in an einit.ecm command file and want to instead store them all in a state file, just run Epsilon, letting it load your einit.ecm, run write-state, and delete or rename your customized einit.ecm file.
If you customize Epsilon using an If you customize Epsilon using a state file, Epsilon will read your customized state file instead of the default one.
(If you customize Epsilon using both methods, Epsilon will read your
customized state file, then load customizations in your
The recommended method for saving customizations is to save them all
in your
When you make a change you want to keep, using commands like
set-variable or bind-to-key, run Alt-x
list-customizations to put it in your
Remember to save your
|