annotate src/vmspaths.h @ 19711:dc9694ee3f70

(init_menu_items): Disable code. (x_activate_menubar): New function. (initialize_frame_menubar): Pass in new param to set_frame_menubar. (get_frame_menubar_event): Check for the possibility of a menu-bar button. A menu-bar button is a caption on the menu bar with no submenu. (set_frame_menubar): Correctly handle menu-bar buttons. (add_menu_item): Equiv parameter send and paid attention to. (keymap_panes, list_of_panes): Use CreatePopupMenu. (single_keymap_panes): Use CreatePopupMenu. Send key descriptions to add_menu_item. (list_of_items): Use CreatePopupMenu. Send nil description to add_menu_item. (get_menu_event): Send keymap instead of menu to get_keymap_event. (Fx_popup_menu): Extra parameter to mouse_position_hook. Don't send address of menu to win32menu_show. (win32menu_show): Send message to call popup menu rather than trying directly. get_menu_event should take an address. Call eat_mouse_events in order to get rid of any extraneous mouse events. (list_of_panes): Only bring up one pane if the length of the list of panes is one. (single_keymap_panes): Fixed problem with 'descrip' lisp object not being protected properly (GCPRO). (get_single_keymap_event): Fixed problem with 'descrip' lisp object not being protected properly (GCPRO). (name_is_separator): New function. (list_of_panes): If a pane's name is empty ("") items are now placed in the main popup instead of a blank-named submenu. This seems to be an undocumented feature of x-popup-menu. (list_of_items): New argument HMENU. Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item
author Geoff Voelker <voelker@cs.washington.edu>
date Wed, 03 Sep 1997 00:53:34 +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$$$."