$search-path - MicroEmacs search path $MEPATH - MicroEmacs search path
$search-path string
[Microsoft Windows/MS-DOS]
MEPATH= <path1>;<path2>;....;<pathn>
[UNIX]
MEPATH= <path1>:<path2>:....:<pathn>
$search-path is initialized to the environment variable $MEPATH, and identifies the search paths which are searched to locate editor specific files. Multiple search paths may be specified, separated by the platform path separator (semi-colon (';') on Microsoft Windows or MS-DOS environments and a colon (':') on UNIX environments). Where multiple search paths are defined then they are search left to right.
The search paths are generally ordered from highest priority to lowest priority and might be arranged such as:-
MEPATH=<user>:<company>:<me>
where <user> represents the users path; <company> is the company file path (e.g. template files) and <me> are the standard MicroEmacs '99 files.
This would correspond to a directory installation, of user foo such as:-
/usr/foo/microemacs - User files. /usr/group/microemacs - Company wide files /usr/local/microemacs - MicroEmacs installation directory
and a $MEPATH such as:-
MEPATH=/usr/foo/microemacs:/usr/group/microemacs:/usr/local/microemacs
The current working directory is checked first for the location of a file.
$search-path is used to locate all macro files, and other files located with operators such as &find(4).
If $MEPATH is not set then $search-path is initialized to the environment variable $PATH.
On UNIX systems the path /usr/local/microemacs is automatically added to the end of $MEPATH, or if not defined, to the beginning of $PATH.
(c) Copyright JASSPA 1999
Last Modified: 1998/09/03
Generated On: 1999/12/01