Lugaru's Epsilon Programmer's Editor
Context:
|
Epsilon User's Manual and Reference > Commands by Topic > Buffers and Files > Files > File VariablesThe find-file command examines a file's name and contents to determine an appropriate language mode for it. For instance, files with a .c extension are put in C mode. You can override this decision with a "file variable".
These are specially-formatted lines at the top or bottom of a file
that indicate the file should use a particular language mode or tab
size. For example, you can put
Epsilon recognizes a syntax for file variables
that's designed to be generally compatible with Emacs. The recognized
formats are as follows. First, the first line of the file (or the
second, if the first starts with
Other characters may appear before or after each possibility above;
typically there would be commenting characters, so a full line might
read The other syntax for file variables must appear at the end of the file, starting within the last 3000 characters. It looks like this:
Local Variables: The first and last lines are required; inside are the settings, one per line. Each line may have additional text at the start and end of each line (so it will look like a comment in the file's programming language).
|