annotate src/s/aix3-2-5.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 004a081ecdef
children aa2f8bc34e57
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6128
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
1 /* s- file for building Emacs on AIX 3.2.5. */
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
3 #include "aix3-2.h"
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
4
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
5 /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g"
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
6 because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
7 "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
8 #ifndef __GNUC__
12496
333d25d9a8b1 (C_OPTIMIZE_SWITCH, C_DEBUG_SWITCH): Use these
Richard M. Stallman <rms@gnu.org>
parents: 6128
diff changeset
9 #undef C_DEBUG_SWITCH
333d25d9a8b1 (C_OPTIMIZE_SWITCH, C_DEBUG_SWITCH): Use these
Richard M. Stallman <rms@gnu.org>
parents: 6128
diff changeset
10 #undef C_OPTIMIZE_SWITCH
333d25d9a8b1 (C_OPTIMIZE_SWITCH, C_DEBUG_SWITCH): Use these
Richard M. Stallman <rms@gnu.org>
parents: 6128
diff changeset
11 #define C_DEBUG_SWITCH -O
333d25d9a8b1 (C_OPTIMIZE_SWITCH, C_DEBUG_SWITCH): Use these
Richard M. Stallman <rms@gnu.org>
parents: 6128
diff changeset
12 #define C_OPTIMIZE_SWITCH -O
6128
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
13 #endif
12904
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
14
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
15 /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
16 #define SIGNALS_VIA_CHARACTERS
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
17 #define MAIL_USE_LOCKF
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
18 #define CLASH_DETECTION
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
19
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
20 /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
21 #define POSIX_SIGNALS
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
22 #undef sigmask
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
23 #undef sigsetmask
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
24 #undef _setjmp
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
25 #undef _longjmp
13784
a4b779a9b60e (X11R5_INHIBIT_I18N): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12904
diff changeset
26
14180
ce32f656d8b2 (LIB_MOTIF): New macro definition.
Richard M. Stallman <rms@gnu.org>
parents: 13784
diff changeset
27 /* Bill Woodward <wpwood@austin.ibm.com> says:
ce32f656d8b2 (LIB_MOTIF): New macro definition.
Richard M. Stallman <rms@gnu.org>
parents: 13784
diff changeset
28 libIM *must* precede libXm, to avoid getting aixLoadIM error messages. */
ce32f656d8b2 (LIB_MOTIF): New macro definition.
Richard M. Stallman <rms@gnu.org>
parents: 13784
diff changeset
29 #define LIB_MOTIF -lIM -lXm