1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

26840 commits

Author SHA1 Message Date
Jim Blandy
83762ba49a * window.c (minibuffer_window): Accept an optional FRAME argument;
if specified, return the minibuffer used by that frame.

	* window.c (Fset_window_configuration): Don't signal an error
	if the frame size saved in the window configuration doesn't
	match the frame's current size; instead, temporarily resize
	the frame while installing the window configuration.  This is
	important because using the minibuffer saves and restores the
	current window configuration, and you don't want to signal an
	error just because the user resized the frame while using the
	minibuffer.
1992-09-13 12:38:21 +00:00
Jim Blandy
4fbc0284b1 * unexmips.c (mark_x): Declare this as static void at the top of
the file and at the function definition.
1992-09-13 12:37:43 +00:00
Jim Blandy
0abf54e322 Fix typo. 1992-09-13 12:35:06 +00:00
Jim Blandy
4726a9f1c0 * keymap.c (describe_buffer_bindings): Adjust key_heading to match
the format used by describe_map_tree.  Also, don't reprint the
	"key    binding" header above the global bindings if we've already
	printed it for the local bindings; it's clear enough that the
	columns mean the same thing as above.

	* keymap.c (describe_buffer_bindings): Declare buf and bufend...

	* keymap.c (describe_buffer_bindings): Set the current buffer to
	descbuf before calling current_minor_maps; that function's value
	depends on the values of buffer-local variables.  Don't set the
	current buffer to Vstandard_output until afterwards.

	* keymap.c (describe_buffer_bindings): If
	Vkeyboard_translate_table is in effect, describe its effects.
1992-09-13 12:33:23 +00:00
Jim Blandy
2ce30ea2e6 * keyboard.c (kbd_buffer_get_event): When performing the
FRAME_FOCUS_FRAME redirection, don't modify the frame field of
	the event; that fatally corrupts mouse click events.  Instead,
	just perform the redirection on the value assigned to
	Vlast_event_frame.

	* keyboard.c (input_available_signal): Declare this to return
	SIGTYPE.
1992-09-13 12:31:15 +00:00
Jim Blandy
d06a8a56c2 * frame.c (choose_minibuf_frame): abort if the selected frame has
nil in its minibuffer_window slot; this shouldn't happen any more.
1992-09-13 12:29:01 +00:00
Jim Blandy
4b93635c3e * editfns.c (Fcurrent_time_string): Change docstring to
indicate that we will probably add the timezone to the end,
        now that we have it available on many systems.
1992-09-13 12:21:15 +00:00
Jim Blandy
2bda628c55 * doc.c (Fsnarf_documentation): Signal an error if this is
called in a dumped Emacs.
1992-09-13 12:20:40 +00:00
Jim Blandy
afa4c0f3cd * callint.c (Fcall_interactively): Remove the 'K' interactive
code, in favor of 'e'; that's a better name.

	* callint.c (Fcall_interactively): Don't try to get the
	`enable-recursive-minibuffers' property from FUNCTION unless
	FUNCTION is actually a symbol; there are some cases where a key
	sequence is bound directly to a lambda form, and there's no reason
	to break these.
1992-09-13 12:19:42 +00:00
Jim Blandy
8aaa7c8a2e * alloc.c (mark_object): mark a symbol's name after marking its
value, function, and property list rather than before; this way,
	symbols' names are readable, giving us a chance to detect some
	kinds of heap corruption.
1992-09-13 12:14:54 +00:00
Jim Blandy
ec558adcce entered into RCS 1992-09-13 11:44:06 +00:00
Jim Blandy
b7cceaf12a *** empty log message *** 1992-09-13 10:54:38 +00:00
Jim Blandy
e4801b31ff entered into RCS 1992-09-13 10:43:05 +00:00
Richard M. Stallman
bfe81e789a *** empty log message *** 1992-09-13 06:01:19 +00:00
Richard M. Stallman
c3554e9565 *** empty log message *** 1992-09-13 04:35:22 +00:00
Richard M. Stallman
078a88f4d6 entered into RCS 1992-09-12 22:48:30 +00:00
Richard M. Stallman
26aaadf383 *** empty log message *** 1992-09-12 22:27:16 +00:00
Richard M. Stallman
2f7ea15592 Initial revision 1992-09-12 22:14:24 +00:00
Richard M. Stallman
0bf2eed2fe (Ffile_name_directory, Ffile_name_nondirectory):
(Ffile_name_as_directory, Fdirectory_file_name, Fexpand_file_name):
Call find_file_handler.
(syms_of_fileio): Set up Qfile_name_directory, etc.
(Fcopy_file): Call find_file_handler for newname as well as for filename.
1992-09-12 08:53:08 +00:00
Richard M. Stallman
51172b6d06 (num_nonmacro_input_chars): New variable.
(read_char): Use num_nonmacro_input_chars to decide on auto-save & gc.
Increment it when appropriate.
(record_auto_save): Use num_nonmacro_input_chars.
1992-09-12 08:52:51 +00:00
Richard M. Stallman
65864ae07e *** empty log message *** 1992-09-12 08:44:18 +00:00
Richard M. Stallman
e2b40c238e (init_sys_modes): Handle VDSUSP like V_DSUSP.
Use CDISABLE, not CDEL.
Turn off IEXTEN if it exists.
1992-09-12 07:46:41 +00:00
Richard M. Stallman
2102829e7d entered into RCS 1992-09-12 07:45:15 +00:00
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