1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Richard M. Stallman
c352056c41 (SELECTION_EVENT_DISPLAY): New macro.
(SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
(SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
(SELECTION_EVENT_TIME): New macros.
(struct selection_input_event): New structure.
1993-03-15 06:05:17 +00:00
Richard M. Stallman
d56a553a20 (Xatom_wm_change_state): Define here.
(XTread_socket): Handle NEW_SELECTIONS alternative:
queue events for SelectionRequest and SelectionClear;
call functions for SelectionNotify and PropertyNotify.
1993-03-15 06:04:31 +00:00
Richard M. Stallman
bdbe6f2856 (record_property_change, record_delete, record_insert):
Don't make boundary or touch last_undo_buffer if cur buf has no undo.
1993-03-15 06:03:33 +00:00
Richard M. Stallman
cdaa87fd06 (PRINTPREPARE): Handle marker that points nowhere. 1993-03-15 06:02:29 +00:00
Richard M. Stallman
24af387fb2 (list_of_items): Allow strings among the alist items;
they make nonselectable lines.

(single_keymap_panes): When storing in ENABLES, check def before enabled.
1993-03-15 06:00:04 +00:00
Richard M. Stallman
70728a80cb (Fdelete_other_windows): Handle FRAME_MENU_BAR_LINES. 1993-03-15 05:50:55 +00:00
Richard M. Stallman
2d66ad19c5 (display_menu_bar): Assume FRAME_MENU_BAR_ITEMS already set.
Fill out line with spaces.
Put explicit spaces between items.
1993-03-15 05:50:02 +00:00
Richard M. Stallman
48e416d4fd (command_loop_1): Set FRAME_MENU_BAR_ITEMS here.
(menu_bar_items): Reverse the list when done.

(command_loop_1): Typo calling Qrecompute_lucid_menubar.
(read_key_sequence): Likewise.  Also fix call to Vrun_hooks.

(kbd_buffer_get_event): Handle selection_clear_event
and selection_request_event events.

(read_key_sequence): Support Vcurrent_menubar
and Qactivate_menubar_hook.  Call Qrecompute_lucid_menubar.
(syms_of_keyboard): Set up Vcurrent_menubar, Vprevious_lucid_menubar,
Qactivate_menubar_hook, and Qrecompute_lucid_menubar.
1993-03-15 05:46:58 +00:00
Richard M. Stallman
edfa9106ca (INTEGERP, SYMBOLP, MARKERP, STRINGP, VECTORP): New macros.
(COMPILEDP, BUFFERP, SUBRP, PROCESSP, FRAMEP, WINDOWP): New macros.
(WINDOW_CONFIGURATIONP, FLOATP): New macros.
1993-03-15 05:44:21 +00:00
Richard M. Stallman
351c638e66 (selection_request_event, selection_clear_event): New event kinds. 1993-03-15 05:43:15 +00:00
Jim Blandy
3254eb1e37 Fix the fix. 1993-03-15 04:17:09 +00:00
Jim Blandy
6155fae1c8 * dired.c (Fdirectory_files): Compile the MATCH regexp after
calling everything else which might compile a regexp.

	* dired.c (Fdirectory_files): Properly GCPRO the strings while
	calling Fexpand_file_name and Fdirectory_file_name.
1993-03-15 03:04:52 +00:00
Jim Blandy
a790fee232 Add extern declaration for do_line_insertion_deletion_costs. 1993-03-15 01:09:20 +00:00
Jim Blandy
ef5f15e392 Add GNU copyright notice. 1993-03-15 00:16:34 +00:00
Jim Blandy
d415c51747 Initial revision 1993-03-14 22:49:14 +00:00
Jim Blandy
9e6314a476 * keyboard.h (internal_last_event_frame): This should be extern,
dummy.
1993-03-14 21:43:17 +00:00
Jim Blandy
6a8a9750e8 * fns.c (Fy_or_n_p): Display the answer. 1993-03-14 20:56:05 +00:00
Richard M. Stallman
a87ed99c5b entered into RCS 1993-03-14 20:19:28 +00:00
Richard M. Stallman
0b74cf8cd8 (NO_X_DESTROY_DATABASE): Defined. 1993-03-14 05:40:29 +00:00
Jim Blandy
8c64cf1653 * s/usg5-4.h: Remove extraneous text after #undef LIB_X11_LIB. 1993-03-13 23:31:35 +00:00
Richard M. Stallman
7da64e5c76 *** empty log message *** 1993-03-13 21:25:55 +00:00
Jim Blandy
7f692070e2 Doc fix. 1993-03-13 21:14:27 +00:00
Richard M. Stallman
ede4db72d3 Initial revision 1993-03-13 20:12:23 +00:00
Richard M. Stallman
aedaff8d1c (xmenu_show): New arg enable_list.
(keymap_panes): New arg enables
(single_keymap_panes): New arg enables.  Fill in its contents.
(list_of_panes, list_of_items): New arg enables.  Fill in contents.
(Fx_popup_menu): Pass enable and enable_list args.
(single_keymap_panes): Set enable flag to -1 if cmd definition is nil.
1993-03-12 22:37:07 +00:00
Richard M. Stallman
2234dd63ea (internal_self_insert): Check that tab_width does not
exceed 20, to be consistent with indent.c and xdisp.c.
1993-03-12 21:42:58 +00:00
Eric S. Raymond
b811cb81b2 Fixed typo. tigetstr -> tgetstr. 1993-03-12 20:13:56 +00:00
Richard M. Stallman
623ed1b014 (Qrange_error, Qdomain_error, Qsingularity_error):
(Qoverflow_error, Qunderflow_error): New vars.
1993-03-12 12:04:04 +00:00
Richard M. Stallman
2148f2b438 (Fcurrent_time_string): Optional arg specifies time. 1993-03-12 12:02:31 +00:00
Richard M. Stallman
933ff4729c (Fx_popup_menu): Allow a frame instead of a window, in arg.
Use Fcar, Fcdr when extracting from event, to check data types.
1993-03-12 10:15:36 +00:00
Richard M. Stallman
12740e58f3 Comment fix. 1993-03-12 06:27:05 +00:00
Richard M. Stallman
9e8a7331f2 (mark_object): Mark the menu_bar_items field. 1993-03-12 06:26:38 +00:00
Richard M. Stallman
7ce2c09547 (display_menu_bar): New function.
(redisplay_window): Call display_menu_bar.
1993-03-12 06:26:18 +00:00
Richard M. Stallman
5ec75a5586 (syms_of_keyboard): Set up Qmenu_bar.
(menu_bar_items): New function.
(menu_bar_one_keymap, menu_bar_item): New functions.
(make_lispy_event): Handle menu bar events.
(read_key_sequence): Make dummy prefix `menu-bar' for menu bar events.
1993-03-12 06:25:48 +00:00
Richard M. Stallman
6d05db8169 (FRAME_MENU_BAR_ITEMS): New macro (two versions).
(struct frame): New field menu_bar_items.

(FRAME_MENU_BAR_LINES): New macro (two versions).
(struct frame): New field menu_bar_lines.
1993-03-12 06:22:11 +00:00
Richard M. Stallman
7da9977744 (Fx_popup_menu): Allow a frame instead of a window, in arg. 1993-03-12 06:20:52 +00:00
Richard M. Stallman
323e7e53e3 (tigetstr): Add dummy definition to make Emacs link again. 1993-03-11 21:36:22 +00:00
Eric S. Raymond
01d8deb089 Added lots more cookies to fkey_table[], and code to do even more. 1993-03-11 08:13:27 +00:00
Richard M. Stallman
d043f1a41b (x_frame_parms): Add elts for visibility and menu-bar-lines.
(enum x_frame_parm): Likewise.
(x_set_menu_bar_lines, x_set_menu_bar_lines_1): New functions.
(x_set_visibility): New function.
(Fx_create_frame): Handle menu-bar-lines parm.
(x_report_frame_params): Report Qvisibility.
(syms_of_xfns): Set up Qvisibility.
1993-03-11 08:10:58 +00:00
Richard M. Stallman
d9dcaf49d9 (syms_of_xmenu): Set up Qmenu_enable.
(single_keymap_panes): Test menu-enable property of symbol
to decide whether to include it in the menu.
1993-03-11 08:09:52 +00:00
Richard M. Stallman
06ddfb2441 (command_loop_1): Typo in last change. 1993-03-11 07:54:22 +00:00
Richard M. Stallman
cb470ab168 (change_frame_size): Handle FRAME_MENU_BAR_LINES. 1993-03-11 07:49:34 +00:00
Richard M. Stallman
fa8fdbf9a0 (x_frame_parms): Add elts for visibility and menu-bar-lines.
(enum x_frame_parm): Likewise.
(x_set_menu_bar_lines, x_set_menu_bar_lines_1): New functions.
(x_set_visibility): New function.
(Fx_create_frame): Handle menu-bar-lines parm.
(Fframe_parameters): Report menu-bar-lines parm.
(syms_of_frame): Set up Qmenu_bar_lines.
1993-03-11 07:48:36 +00:00
Richard M. Stallman
5bf5416601 (Flogb): Fix arg names. Don't confuse Lisp_Object with integer. 1993-03-11 07:25:50 +00:00
Richard M. Stallman
6628c5eaa0 (Flogb): Fix use of IN_FLOAT. 1993-03-11 07:22:49 +00:00
Jim Blandy
9658a5216e * xterm.c (x_find_modifier_meanings): XDisplayKeycodes only
appeared in X11R4; for earlier versions, just access the members
	of the Display directly.
1993-03-11 07:19:36 +00:00
Jim Blandy
2c8d1900af * xrdb.c (get_user_db): Since xrdb.c doesn't #include xterm.h,
we can't test HAVE_X11R4 to see how we should get the resource
	manager string; cheat.
1993-03-11 07:18:48 +00:00
Jim Blandy
8116bbb043 * unexec.c (copy_text_and_data): Error message tweaked. 1993-03-11 07:18:15 +00:00
Jim Blandy
caa3156810 * textprop.c (Fadd_text_properties): Initialize the modified flag.
Use a "for (;;)" loop at the end of the function, to indicate that
	all exiting is taken care of inside the loop.
	(Fremove_text_properties): Same.
1993-03-11 07:17:54 +00:00
Jim Blandy
9e70858b73 * systime.h (timezone): Add an explicit declaration for this
variable under USG 5-4.
1993-03-11 07:17:15 +00:00
Jim Blandy
985a35a39b * syssignal.h (sigunblock): Add definition which works under SYSVr4.
* emacs.c (fatal_error_signal): Unblock the signal which we're
	handling using sigunblock.
1993-03-11 07:16:39 +00:00