annotate src/vmspaths.h @ 4790:b110036d90b0

Version 2.3. Documentation: `forms-forms-scroll' and `forms-forms-jump' now default to nil. `forms-new-record-filter' and `forms-modified-record-filter' cannot be redefined as functions. Commands and keymaps are changed. Add function key defs. (forms-version): Docstring includes full RCS id. (forms-forms-scroll): Defaults to nil. (forms-forms-jump): Defaults to nil. (forms-mode-edit-map, forms-mode-ro-map): Additional keymaps for edit mode and read-only mode. (forms--new-record-filter, forms--modified-record-filter): Deleted. (forms-mode): Docstring now includes the key bindings, since both edit mode and read-only mode must be supported. Changed `forms-new-record-filter' and `forms-modified-record-filter' semantics: the variable must point to a function and may not be defined as a function anymore. Use three keymaps: `forms-mode-map' (C-c commands), `forms-mode-edit-map' (normal mode) and `forms-mode-ro-map' (read-only mode). The maps are not buffer local. Changed the text of error messages to be more descriptive, and onsistent with the documentation. Moved setting up write-file-hooks and revert-buffer-function to function `forms--change-commands'. (forms--process-format-list): Changed error messages to be more descriptive. (forms--set-keymaps): Setup the three keymaps. (forms--mode-commands): Use new command key bindings. (forms--mode-commands1): New helper function for `forms--mode-commands'. (forms--change-commands): Handle setup of local-write-file-hooks and revert-buffer-function. (forms--help): Show new command bindings. (forms--show-record): Replaced `forms--modified-record-filter' by `forms-modified-record-filter'. (forms-jump-record): Changed error message. (forms-toggle-read-only): New function, replaces `forms-view-mode' and `forms-edit-mode'. (forms-view-mode, forms-edit-mode): Deleted. (forms-insert-record): Replaced `forms--new-record-filter' by `forms-new-record-filter'. (forms-insert-record, forms-delete-record): Disallow in read-only mode. (forms-prev-field): New function.
author Richard M. Stallman <rms@gnu.org>
date Mon, 27 Sep 1993 02:19:46 +0000
parents 87934d212841
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
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
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
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
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 /* the name of the directory that contains lock files
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 with which we record what files are being modified in Emacs.
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27 This directory should be writable by everyone. */
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 #define PATH_LOCK "EMACS_LIBRARY:[LOCK]"
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 /* the name of the file !!!SuperLock!!! in the directory
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31 specified by PATH_LOCK. Yes, this is redundant. */
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 #define PATH_SUPERLOCK "EMACS_LIBRARY:[LOCK]$$$SUPERLOCK$$$."