1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 06:50:39 -08:00
Commit graph

34673 commits

Author SHA1 Message Date
Richard M. Stallman
68f5eb5a8d (ange-ftp-add-vms-host, ange-ftp-add-dl-dir, ange-ftp-add-mts-host):
(ange-ftp-add-dumb-unix-host): Use default-directory, not dired-directory.

(ange-ftp-allow-child-lookup): Eliminate use of dired-local-variables-file.
1992-10-20 07:05:38 +00:00
Richard M. Stallman
8b8568efad (vc-registered): Look for a vc-registered handler. 1992-10-20 06:44:21 +00:00
Richard M. Stallman
243e520634 Add dummy handlers for file-truename and vc-registered. 1992-10-20 06:43:48 +00:00
Richard M. Stallman
6f176f940e (file-truename): Check for root by seeing if
directory-file-name returns same as DIR.
Look for a file-truename handler for the file name.
1992-10-20 06:39:24 +00:00
Richard M. Stallman
debee8fea7 (grow_specpdl): Increase max_specpdl_size before Fsignal. 1992-10-20 06:13:00 +00:00
Richard M. Stallman
f275fd9a94 [emacs]: Define POINTER and SIZE.
[!emacs]: Delete definition of EXCEEDS_LISP_PTR.
1992-10-20 06:12:43 +00:00
Richard M. Stallman
c52713b17b (get_lim_data): Make it static. 1992-10-20 06:12:19 +00:00
Richard M. Stallman
715d93450c (syms_of_keyboard): Properly staticpro this_command_keys. 1992-10-20 06:11:53 +00:00
Richard M. Stallman
c2db7f312f (mail-aliases): Add definition here. 1992-10-20 04:35:17 +00:00
Richard M. Stallman
2cc0b7656d (add-log-current-defun): Add condition-case around
the body, so at worst we return nil.
1992-10-19 22:39:55 +00:00
Jim Blandy
81d478f3c6 * xdisp.c (message): If M is zero, clear echo_area_glyphs and
previous_echo_glyphs, so that the minibuffer shows through.
1992-10-19 18:47:56 +00:00
Jim Blandy
27daff1e90 * window.h (struct window): Doc fix. 1992-10-19 18:47:21 +00:00
Jim Blandy
605be8af79 * window.c: Try to deal coherently with deleted windows:
*	(Flive_window_p): New function.
	(Qlive_window_p): New variable, to name it in type errors.
	(syms_of_window): Defsubr Slive_window_p, init and staticpro
	Qlive_window_p.
	(decode_window): Use CHECK_LIVE_WINDOW instead of
	CHECK_WINDOW; the only thing a user should be able to do to a dead
	window is check its type.
	(Fcoordinates_in_window_p, Fnext_window, Fprevious_window,
	Fdelete_other_windows, Fselect_window, Fsplit_window,
	Fscroll_other_window): Use CHECK_LIVE_WINDOW instead of
	CHECK_WINDOW.
	(Fdelete_window): If WINDOW is a deleted window, do nothing;
	there's no harm in allowing people to delete deleted windows.
	Delete all of WINDOW's subwindows, too.
	(delete_all_subwindows): Set the buffer, vchild, and hchild of the
	windows we delete all to nil.

	* window.c (Fwindow_minibuffer_p): Make the WINDOW argument
	optional, like all the other window-querying functions.

	* window.c (Fpos_visible_in_window_p): Use decode_window to handle
	the WINDOW argument, instead of writing out that function's code.

	* window.c (check_frame_size): Don't define this extern; that
	doesn't mean anything.

	* window.c (Fdelete_window): Choose an alternative when we delete
	any frame's selected window, not just when we delete the selected
	frame's selected window.
1992-10-19 18:46:29 +00:00
Jim Blandy
896adf8499 * minibuf.c (temp_echo_area_glyphs): Don't clear echo_area_glyphs
and previous_echo_glyphs; let message do that work.
1992-10-19 18:44:46 +00:00
Jim Blandy
03273ec57b * lisp.h (CHECK_LIVE_WINDOW): New predicate.
(Qlive_window_p): Extern declaration for this.
1992-10-19 18:41:37 +00:00
Jim Blandy
0188441d06 * keymap.c (store_in_keymap): Don't forget to QUIT in the
keymap-scanning loop.  Don't treat vectors as binding tables if
	they're the wrong length.

	* keymap.c (store_in_keymap): Don't forget to QUIT in the
	keymap-scanning loop.  Don't treat vectors as binding tables if
	they're the wrong length.
1992-10-19 18:41:06 +00:00
Jim Blandy
49fcd3debd * keyboard.h (this_command_keys): Extern declaration changed. Doc fix. 1992-10-19 18:39:37 +00:00
Jim Blandy
6569cc8d18 * keyboard.c (this_command_keys): Make this a vector, instead of
an array of Lisp_Objects.
	(this_command_keys_size): Deleted.
	(echo, add_command_key, Fthis_command_keys): Adjusted
	appropriately.
	(init_keyboard): Don't allocate it here.
	(syms_of_keyboard): Allocate it here, and staticpro it.

	* keyboard.c (read_char): Call ourselves with the appropriate
	number of arguments.
	(read_char_menu_prompt): If USED_MOUSE_MENU is zero, don't try to
	store things in it.

	* keyboard.c (modify_event_symbol): Arrange to set the
	click_modifier bit on otherwise unmodified mouse clicks.

	* keyboard.c (kbd_buffer_get_event): Remember that
	*mouse_position_hook may set *FRAME to 0; don't generate
	switch-frame events in this case.  Fix fencepost bug in fetching
	events from keyboard buffer.
1992-10-19 18:38:58 +00:00
Jim Blandy
3b0182e33a Same. * xfns.c (x_set_face): Dyked out this function; it has no callers,
and refers to an obsolete version of struct face.
1992-10-19 18:36:13 +00:00
Jim Blandy
774910ebd7 * frame.c (make_frame_without_minibuffer, Fwindow_frame): Use
CHECK_LIVE_WINDOW instead of CHECK_WINDOW.
	* sunfns.c (Fsun_menu_internal): Same.
	* xmenu.c (Fx_popup_menu): Same.
1992-10-19 18:33:14 +00:00
Jim Blandy
11edeb0334 * xterm.c (compose_status): New variable.
(XTread_socket): Pass it by reference to XLookupString.

	* xterm.c: Clean up some of the caps lock handling:
	(x_shift_lock_mask): New variable.
	(x_find_modifier_mappings): Set it, based on the modifier mappings.
	(x_convert_modifiers): Use x_shift_lock_mask, instead of assuming
	that the lock bit always means to shift the character.
	(XTread_socket): When handling KeyPress events, don't pass an
	XComposeStatus structure along to XLookupString.  When handling
	MappingNotify events, call XRefreshKeyboardMapping for both
	MappingModifier and MappingKeyboard events, not just the latter.
1992-10-19 18:31:34 +00:00
Richard M. Stallman
2247b0fc58 (kill-sentence, backward-kill-sentence):
(kill-paragraph, backward-kill-paragraph):
Don't change point before calling kill-region.
1992-10-18 22:56:00 +00:00
Richard M. Stallman
1ddea2ab1f Doc fixes. 1992-10-18 22:21:08 +00:00
Richard M. Stallman
c884cb878a Comment fix. 1992-10-18 22:20:45 +00:00
Richard M. Stallman
753d16a62a Delete version 18 compatibility stuff.
(mail-abbrevs, build-mail-abbrevs, rebuild-mail-abbrevs):
(merge-mail-abbrevs): Renamed `mail-aliases' to `mail-abbrevs'.
(mail-abbrev-end-of-buffer): Renamed from abbrev-hacking-end-of-buffer.
(mail-abbrev-next-line): Renamed from abbrev-hacking-next-line.
1992-10-18 22:20:07 +00:00
Richard M. Stallman
5ef9d62709 (mail-setup): Call build-mail-aliases, not mail-abbrev-setup.
(sendmail-send-it): Call expand-mail-aliases.
1992-10-18 22:19:36 +00:00
Richard M. Stallman
d0c9169e2b (rmail-sort-messages): Give up right away if not Rmail mode. 1992-10-18 19:10:56 +00:00
Christopher Zaborsky
a2a05344be Dox fixes. 1992-10-18 19:03:45 +00:00
Richard M. Stallman
02c5fd9981 (BROKEN_FIONREAD): Defined. 1992-10-18 08:09:23 +00:00
Richard M. Stallman
99976f85b7 (occur): Always search entire buffer. 1992-10-18 01:06:40 +00:00
Jim Blandy
ccdac5be86 * * editfns.c (Fmessage): With no arguments, clear any active
message; let the minibuffer contents show through.
1992-10-17 22:11:56 +00:00
Jim Blandy
7e6491d3b4 * callint.c (Fcall_interactively): Change handling of 'e' spec;
this_command_keys is now a vector.
1992-10-17 22:11:23 +00:00
Jim Blandy
22cb290f67 * make-dist: Include lib-src/makedoc.com and emacs.csh in the
distribution.

	* config.sub: New file, to help us recognize configuration names.
	* make-dist: Include it in the distribution.
1992-10-17 22:07:49 +00:00
Jim Blandy
20d9a863df Partially changed to use GCC-style configuration names. 1992-10-17 22:07:23 +00:00
Jim Blandy
03b600f722 *** empty log message *** 1992-10-17 22:05:04 +00:00
Jim Blandy
b0f3a26ba8 * mouse.el (mouse-tear-off-window): New function. 1992-10-17 21:57:45 +00:00
Richard M. Stallman
652ccd357d (mouse-set-region): New command. Bind drag-mouse-1 to it. 1992-10-17 07:07:39 +00:00
Jim Blandy
cb7b0c050f *** empty log message *** 1992-10-16 08:26:44 +00:00
Richard M. Stallman
628ed36619 (telnet): Do erase-buffer after the initial output. 1992-10-16 01:35:47 +00:00
Roland McGrath
134994aee8 (check_memory_limits): Declare __morecore.
Remove unused variable `result'.
1992-10-15 23:44:00 +00:00
Roland McGrath
fd0654667e (morecore_with_warning): Removed.
(check_memory_limits): New fn; most code from morecore_with_warning, but
only checks limits, doesn't do any work.
(memory_warnings): Set __after_morecore_hook to check_memory_limits;
don't set __morecore.
1992-10-15 23:29:28 +00:00
Mike Stump
4e7d5543d9 Add support for a new 64 bit CPU type. Elxsi. 1992-10-15 21:06:27 +00:00
Richard M. Stallman
2a01536358 (telnet): Wait for telnet output before sending `open'. 1992-10-15 07:18:11 +00:00
Richard M. Stallman
5bfe95c936 Comment fix. 1992-10-15 05:07:42 +00:00
Joseph Arceneaux
e0b634930e * intervals.c (traverse_intervals): New parameter `depth'.
Increment this when passing recursively.
1992-10-14 23:12:09 +00:00
Joseph Arceneaux
433c217556 * alloc.c (mark_interval_tree): Pass 0 as initial depth argument
to traverse_intervals().
1992-10-14 23:10:56 +00:00
Joseph Arceneaux
125f517a5f * scroll.c (do_scrolling): Don't bcopy non-existant `nruns' or
`face_list' elements.  Do copy new `max_ascent' frame element.
1992-10-14 23:00:38 +00:00
Joseph Arceneaux
9f2279add7 * dispextern.h: New element of frame structure `max_ascent'.
Removed elements `nruns' and `face_list'.
	LINE_HEIGHT and LINE_WIDTH macros removed.
	New struct face with associated typedef FACE declared, along with
	accessing macros.
1992-10-14 23:00:18 +00:00
Joseph Arceneaux
9d46c2e6bb * xterm.h: Declaration of struct face removed. 1992-10-14 22:51:35 +00:00
Joseph Arceneaux
448fd7c056 * dispnew.c (scroll_frame_lines): All references to frame elements
`nruns' and 'face_list' removed.  Handle new element `max_ascent'.
	(free_frame_glyphs): Don't free nonexistent elements `nruns' and
	`face_list';  do free `max_ascent' element.
	(make_frame_glyphs): Don't allocate nonexistent elements `nruns'
	and `face_list';  do allocate `max_ascent' element.
	(update_frame): Replaced use of macro LINE_HEIGHT with element
	frame element `pix_height'.
1992-10-14 21:30:21 +00:00