Mercurial > emacs
annotate src/vmspaths.h @ 12505:0f970ed476cb
restructured, largely rewritten without the bugs and
extended to cover over 15 shells. Most variables can now work as a
lookup table, and, unless set by user, do.
(sh-mode-syntax-table): Possibly multiple tables.
(sh-shell): Set initially so shell or other libraries may use features.
(sh-assignment-regexp): Replaces `sh-assignment-space'.
(sh-here-document-word): Set to more common "EOF".
(sh-variables): Changed semantics.
(sh-font-lock-keywords): Much nicer.
(sh-ancestor-alist, sh-alias-alist, sh-shells, sh-abbrevs)
(sh-dynamic-complete-functions, sh-require-final-newline)
(sh-comment-prefix, sh-indentation, sh-header-marker, sh-builtins)
(sh-leading-keywords): New variables.
(sh-use-prefix, sh-find-file-modifies, sh-query-for-magic)
(sh-magicless-file-regexp, magic-number-alist, sh-executable)
(sh-chmod-argument, sh-shell-is-csh, sh-tab-width)
(sh-sh-font-lock-keywords, sh-ksh-font-lock-keywords)
(sh-bash-font-lock-keywords, sh-csh-font-lock-keywords)
(sh-tcsh-font-lock-keywords): Variables deleted, see also executable.el.
(sh-mode): Shell dependent code moved to `sh-set-shell'.
(sh-feature, sh-abbrevs, sh-syntax-table, sh-append, sh-modify): New
functions.
(sh-execute-region): New command.
(sh-indexed-loop): Far more efficient code generated for sh.
(sh-repeat, sh-tmp-file, sh-while-getopts): New skeletons.
(sh-or-other-mode, define-sh-skeleton, sh-executable, sh-chmod)
(sh-query-for-variable): Command deleted.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 07 Jul 1995 19:48:24 +0000 |
parents | 87934d212841 |
children |
rev | line source |
---|---|
1599
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
1 /* Hey Emacs, this is -*- C -*- code! */ |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
2 |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
3 /* The default search path for Lisp function "load". |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
4 This sets load-path. */ |
2264
87934d212841
Some VMS changes from Richard Levitte <levitte@e.kth.se>:
Jim Blandy <jimb@redhat.com>
parents:
1599
diff
changeset
|
5 #define PATH_LOADSEARCH "EMACS_LIBRARY:[LOCAL-LISP],EMACS_LIBRARY:[LISP]" |
484 | 6 |
1599
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
7 /* Like PATH_LOADSEARCH, but used only when Emacs is dumping. This |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
8 path is usually identical to PATH_LOADSEARCH except that the entry |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
9 for the directory containing the installed lisp files has been |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
10 replaced with ../lisp. */ |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
11 #define PATH_DUMPLOADSEARCH "[-.LISP]" |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
12 |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
13 /* The extra search path for programs to invoke. This is appended to |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
14 whatever the PATH environment variable says to set the Lisp |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
15 variable exec-path and the first file name in it sets the Lisp |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
16 variable exec-directory. exec-directory is used for finding |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
17 executables and other architecture-dependent files. */ |
2264
87934d212841
Some VMS changes from Richard Levitte <levitte@e.kth.se>:
Jim Blandy <jimb@redhat.com>
parents:
1599
diff
changeset
|
18 #define PATH_EXEC "EMACS_LIBRARY:[LIB-SRC]" |
484 | 19 |
1599
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
20 /* Where Emacs should look for its architecture-independent data |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
21 files, like the docstring file. The lisp variable data-directory |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
22 is set to this value. */ |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
23 #define PATH_DATA "EMACS_LIBRARY:[ETC]" |
6f61e80e319b
* vmspaths.h: New version from Roland Roberts.
Jim Blandy <jimb@redhat.com>
parents:
484
diff
changeset
|
24 |
484 | 25 /* the name of the directory that contains lock files |
26 with which we record what files are being modified in Emacs. | |
27 This directory should be writable by everyone. */ | |
28 #define PATH_LOCK "EMACS_LIBRARY:[LOCK]" | |
29 | |
30 /* the name of the file !!!SuperLock!!! in the directory | |
31 specified by PATH_LOCK. Yes, this is redundant. */ | |
32 #define PATH_SUPERLOCK "EMACS_LIBRARY:[LOCK]$$$SUPERLOCK$$$." |