Commit graph

998 commits

Author SHA1 Message Date
Eric S. Raymond
1dd40212a5 Supply second arg for tgetstr() calls. 1993-03-17 13:11:50 +00:00
Richard M. Stallman
856c3dcba8 (_getpty): Declare this, not _get_pty. 1993-03-17 09:22:15 +00:00
Richard M. Stallman
dcf970e66f Fix typo in previous change. 1993-03-17 09:19:47 +00:00
Richard M. Stallman
577d03d57f (Fprocess_send_eof): Make sure proc is running. 1993-03-17 07:59:09 +00:00
Jim Blandy
2e94b81346 Doc fix. 1993-03-16 18:36:27 +00:00
Jim Blandy
6bbb0d4aaa * cmds.c (overwrite_binary_mode): Deleted; this implements the
wrong feature.
	(Qoverwrite_mode_binary): New variable.
	(internal_self_insert): If current_buffer->overwrite_mode is
	`overwrite-mode-binary', do as overwrite_binary_mode used to.
	(syms_of_cmds): Remove defvar of overwrite_binary_mode; initialize
	Qoverwrite_mode_binary.
	* buffer.c (syms_of_buffer): Doc fix for overwrite_mode.
	* buffer.h (struct buffer): Doc fix.
1993-03-16 18:18:05 +00:00
Jim Blandy
806b4d9b90 Rename live-window-p' to window-live-p', for consistency with
`frame-live-p'.
	* window.c (Fwindow_live_p): Renamed from Flive_window_p.
	* lisp.h (CHECK_LIVE_WINDOW): Change to use Qwindow_live_p.
	(Qwindow_live_p): Extern declaration renamed fom Qlive_window_p.
1993-03-16 05:55:57 +00:00
Richard M. Stallman
10c48c955d (xmenu_show): Do BLOCK_INPUT; unblock just before returning. 1993-03-16 05:55:12 +00:00
Richard M. Stallman
63e1efd4b3 [SIGIO] (UNBLOCK_INPUT): Resignal if x_pending_input. 1993-03-16 05:54:56 +00:00
Jim Blandy
48c9d487f8 * frame.c (Fframe_height, Fframe_width): Fix doc strings to match
those of the multi-frame versions in frame.el.  Accept an optional
	argument FRAME, also for consistency.
1993-03-15 21:41:36 +00:00
Jim Blandy
c26406fef2 * floatfns.c (logb): Add extern declaration for this.
* floatfns.c (Flogb): Under SYSV, implement this using frexp.
1993-03-15 20:17:07 +00:00
Richard M. Stallman
84aa3ace66 (wait_reading_process_input): New option to wait
till a given cons cell has a non-nil car.
Delete vipc conditionals.
1993-03-15 06:09:04 +00:00
Richard M. Stallman
ed5af96f60 (FRAMEP): Macro deleted. 1993-03-15 06:07:40 +00:00
Richard M. Stallman
3be08bead7 Include termhooks.h. 1993-03-15 06:06:56 +00:00
Richard M. Stallman
99e720680a (Xatom_wm_change_state): Just declare.
(Xatom_emacs_selection, Xatom_clipboard, Xatom_clipboard_selection):
(Xatom_wm_change_state, Xatom_incremental, Xatom_multiple):
(Xatom_targets, Xatom_timestamp, Xatom_delete, Xatom_insert_selection):
(Xatom_pair, Xatom_insert_property, Xatom_text): Decls deleted.
(x_begin_selection_own): Decls deleted.
(Fx_open_connection): Set up only the wm atoms here.
Call Xatoms_of_xselect.
1993-03-15 06:06:07 +00:00
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