1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-22 21:50:45 -08:00
Commit graph

14617 commits

Author SHA1 Message Date
Richard M. Stallman
07a784100e *** empty log message *** 1992-09-12 01:37:46 +00:00
Jim Blandy
a1becb932d *** empty log message *** 1992-09-12 01:20:58 +00:00
Richard M. Stallman
ee8caabbad (internal_self_insert): Assume Fexpand_abbrev expanded
something if it incremented MODIFF.
1992-09-11 23:34:08 +00:00
Richard M. Stallman
f1bed6d8b8 (command_loop_1): Bind inhibit-quit to t when in Fsit_for. 1992-09-11 23:33:17 +00:00
Richard M. Stallman
95be70edc1 (Fx_track_pointer): Pass new args to read_char.
(Fx_select_region, Fx_horizontal_line): Likewise.
1992-09-11 23:31:02 +00:00
Richard M. Stallman
ce6e5d0b57 (Fmake_sparse_keymap, Fmake_keymap): New optional arg. Callers changed.
(keymap_table): No longer static.
1992-09-11 23:30:25 +00:00
Richard M. Stallman
248a26a710 (unexec): Allow sections in any order.
Adjust addresses of rdata section as well as data section.
1992-09-11 23:29:02 +00:00
Richard M. Stallman
ac9a31be41 (Fy_or_n_p): Pass new args to read_char. 1992-09-11 23:28:03 +00:00
Richard M. Stallman
974e187b41 (Fread_char): Pass new args to read_char. 1992-09-11 23:27:12 +00:00
Richard M. Stallman
c9d59fc21a *** empty log message *** 1992-09-11 09:04:24 +00:00
Richard M. Stallman
7adc58e517 *** empty log message *** 1992-09-11 07:05:14 +00:00
Roland McGrath
7931124643 entered into RCS 1992-09-10 22:59:11 +00:00
Richard M. Stallman
34e62ca7f6 entered into RCS 1992-09-10 07:49:02 +00:00
Jim Blandy
16a5c72935 * ralloc.c (r_re_alloc): Instead of allocating a new bloc at the
end of the heap, copying the data to it, and then freeing the
	original bloc, just expand the original block.  This saves a copy
	and a call to sbrk, and also removes the large spike in memory
	allocation that would occur when resizing large buffers.  And it's
	less code.
1992-09-09 00:05:42 +00:00
Richard M. Stallman
6cf420725b *** empty log message *** 1992-09-05 23:19:22 +00:00
Richard M. Stallman
e5d4f4dc54 (scan_lists): Improve smarts for backwards scan of comments.
Don't modify comstyle inside that loop.
If string quotes don't match up, don't take value from OFROM;
instead, parse forward using scan_sexps_forward.
(scan_sexps_forward): Return value via a pointer passed in.
New element in state contains char addr of last comment-starter seen.
(Fparse_partial_sexp): Change call to scan_sexps_forward.
1992-09-05 05:34:24 +00:00
Richard M. Stallman
a4d4c8197b (Fcall_interactively): For `K', use last_nonmenu_event.
Make `e' alias for `K'.
1992-09-05 00:10:28 +00:00
Richard M. Stallman
7d6de00206 (last_nonmenu_event): New var.
(syms_of_keyboard): New Lisp var.
(read_key_sequence): Use that instead of prev_event.

(read_char): Call read_char_menu_prompt here.
Accept 4 new args to pass to it.  Include them in recursive call.
Don't delay before starting echo if prev_event was a mouse event.
Test for eof in batch mode now understands C is a Lisp_Object.
(read_key_sequence): Don't call it here; always call read_char.
Don't change last_event_buffer after a mouse menu input.
(read_char_menu_prompt): Arg PROMPT deleted.
Return nil if nothing to do.

(read_key_sequence): Keep track of prev_event.
Pass new proper args to read_char_menu_prompt.
(read_char_menu_prompt): New arg prev_event.  Use Fx_popup_menu.
Handle any number of keymaps, not just LOCAL and GLOBAL.
Invert meaning of arg PROMPT.  Test of menu_prompting was backwards.

(keymap_table): No longer static.
1992-09-05 00:09:33 +00:00
Richard M. Stallman
088831f649 (xmenu_show): If no panes, just return.
(Fx_popup_menu): Treat coords relative to spec'd window.
(single_keymap_panes): New function; contains guts of keymap_panes.
If a command binding for submenu has a prompt string starting with @,
make a separate pane for it at this level.

(keymap_panes): New function.
(Fx_popup_menu): Accept keymap or list of keymaps as MENU argument.
Accept mouse button event as POSITION argument.
1992-09-05 00:08:07 +00:00
Richard M. Stallman
c9c5649217 *** empty log message *** 1992-09-04 23:38:45 +00:00
Richard M. Stallman
07f4ea75c3 entered into RCS 1992-09-04 21:51:42 +00:00
Roland McGrath
16c15321db entered into RCS 1992-09-04 21:49:15 +00:00
Richard M. Stallman
2c91c85ce0 *** empty log message *** 1992-09-04 21:28:29 +00:00
Jim Blandy
d872b7483c * xterm.c (x_catch_errors): Don't forget to initialize
x_caught_error_message to the null string, so x_check_errors can
	tell when an error has occurred.
1992-09-04 11:17:33 +00:00
Richard M. Stallman
fbc270e73a entered into RCS 1992-09-04 07:35:10 +00:00
Richard M. Stallman
847f73fdb8 entered into RCS 1992-09-04 05:21:09 +00:00
Richard M. Stallman
33143604ea (__do_global_dtors): New dummy function. 1992-09-03 00:23:47 +00:00
Richard M. Stallman
a306d6f16f entered into RCS 1992-09-02 23:42:24 +00:00
Roland McGrath
15d1a8dab6 *** empty log message *** 1992-09-02 23:15:36 +00:00
Roland McGrath
a5f8804e5d Doc fix for file-name-handler-alist. 1992-09-02 21:41:14 +00:00
Richard M. Stallman
c83a706456 (__main): New dummy function.
(__do_global_ctors, __do_global_ctors_aux): New dummy fns.
(__CTOR_LIST__, __DTOR_LIST__): New dummy variables.
1992-09-02 04:05:47 +00:00
Jim Blandy
cac293708c *** empty log message *** 1992-09-02 02:46:03 +00:00
Richard M. Stallman
910476efc9 entered into RCS 1992-09-01 20:07:45 +00:00
Richard M. Stallman
c382a89aa5 entered into RCS 1992-09-01 19:05:09 +00:00
Richard M. Stallman
2bba782ce5 *** empty log message *** 1992-09-01 00:26:58 +00:00
Roland McGrath
450a90e2ea *** empty log message *** 1992-08-31 23:22:15 +00:00
Richard M. Stallman
6ec3899e16 *** empty log message *** 1992-08-31 21:42:28 +00:00
Richard M. Stallman
616ed245e9 *** empty log message *** 1992-08-31 20:22:03 +00:00
Richard M. Stallman
e4790daa39 *** empty log message *** 1992-08-31 18:25:44 +00:00
Richard M. Stallman
efd241cc2d (__do_global_ctors, __do_global_ctors_aux): New dummy fns.
(__CTOR_LIST__, __DTOR_LIST__): New dummy variables.
1992-08-31 18:00:11 +00:00
Richard M. Stallman
6b2154dedb *** empty log message *** 1992-08-31 08:32:48 +00:00
Richard M. Stallman
b67f2ca56b (Fdo_auto_save): Always call record_auto_save. 1992-08-31 08:07:09 +00:00
Richard M. Stallman
e7691e9c5d *** empty log message *** 1992-08-31 06:47:03 +00:00
Richard M. Stallman
6e3ccc70d3 *** empty log message *** 1992-08-31 05:54:58 +00:00
Richard M. Stallman
8b34e79d82 *** empty log message *** 1992-08-31 05:06:54 +00:00
Joseph Arceneaux
ac876a7913 entered into RCS 1992-08-30 05:01:59 +00:00
Richard M. Stallman
1635fcdddd *** empty log message *** 1992-08-29 08:27:31 +00:00
Jim Blandy
fcb9ffc8ae * xselect.c: Use the FRAME_X_WINDOW macro, for readability. 1992-08-29 03:33:12 +00:00
Jim Blandy
c118dd0617 * xterm.c (x_make_frame_invisible): Don't forget to check the
return value of XWithdrawWindow; it could indicate that the window
	wasn't successfully redrawn.

        * xterm.c (x_make_frame_invisible): Use XWithdrawWindow when
	available [HAVE_X11R4]; send the UnmapNotify event when
	appropriate [HAVE_X11]; just unmap the window if that's all that's
	needed [not HAVE_X11].

	* xterm.c (x_set_text_property): Removed; it's only called from
	one place.  Who wants *another* layer of indirection?

	* xterm.c: Use the FRAME_X_WINDOW macro, for readability.

	* xterm.c (x_death_handler): Renamed to x_connection_closed.
	(x_term_init): Use x_connection_closed as the SIGPIPE handler.

	* xterm.c (acceptable_x_error_p, x_handler_error_gracefully,
	x_error_handler): Removed; you can't catch X errors this way,
	since you can't perform X operations from within an X error
	handler, and even though we call error, we're still within an X
	error handler.
	(x_error_quitter, x_error_catcher): New functions, for panicking
	on and catching X protocol errors.
	(x_caught_error_message): Buffer for caught X errors.
	(x_catch_errors, x_check_errors, x_uncatch_errors): New functions
	for catching errors.
	(x_term_init): Set the error handler to x_error_quitter, rather
	than x_error_handler.

	* xterm.c (x_death_handler): Renamed to x_connection_closed.
	(x_term_init): Use x_connection_closed as the SIGPIPE handler.

	* xterm.c (acceptable_x_error_p, x_handler_error_gracefully,
	x_error_handler): Removed; you can't catch X errors this way,
	since you can't perform X operations from within an X error
	handler, and even though we call error, we're still within an X
	error handler.
	(x_error_quitter, x_error_catcher): New functions, for panicking
	on and catching X protocol errors.
	(x_caught_error_message): Buffer for caught X errors.
	(x_catch_errors, x_check_errors, x_uncatch_errors): New functions
	for catching errors.
	(x_term_init): Set the error handler to x_error_quitter, rather
	than x_error_handler.
1992-08-29 03:31:07 +00:00
Jim Blandy
b631f17789 * xrdb.c (get_user_db): Use XResourceManagerString when available
[HAVE_X11R4].
1992-08-29 03:28:52 +00:00