1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00
Commit Graph

1237 Commits

Author SHA1 Message Date
Roland McGrath
c70e8d27e5 (os handling): Recognize `linux' as a valid os. 1992-09-29 22:19:48 +00:00
Richard M. Stallman
e49ad9a528 (mail-send-and-exit): Do other-buffer before bury-buffer. 1992-09-29 20:39:55 +00:00
Jim Blandy
234a804bca * xselect.c (Qcut_buffer0): Symbol removed; we're using a new
interface to the cut buffer now.
	(NUM_CUT_BUFFERS, cut_buffer_atom, cut_buffer_value,
	cut_buffer_cached, cut_buffer_just_set): New variables.
	(Fx_own_selection, Fx_selection_value): Dike out the code to
	handle CUT_BUFFER0 requests.
	(Fx_get_cut_buffer, Fx_set_cut_buffer, x_watch_cut_buffer_cache,
	x_invalidate_cut_buffer_cache): New functions.
	(syms_of_xselect): Don't bother to initialize Qcut_buffer0.
	Initialize and staticpro cut_buffer_value, and defsubr
	Sx_get_cut_buffer and Sx_set_cut_buffer.
	* xterm.c (XTread_socket): Pass PropertyNotify events from the
	root window to x_invalidate_cut_buffer_cache.
	(x_term_init): Call x_watch_cut_buffer_cache here.
1992-09-29 18:30:35 +00:00
Richard M. Stallman
72e609d0db (mail-unsent-separator): Add another alternative. 1992-09-29 18:15:12 +00:00
Jim Blandy
f6c7b4e77c *** empty log message *** 1992-09-29 17:43:45 +00:00
Jim Blandy
60eb4bbf3d *** empty log message *** 1992-09-29 17:27:47 +00:00
Jim Blandy
20218e2f8a * keymap.c (access_keymap): Don't forget to QUIT while scanning
the keymap.
1992-09-29 16:01:03 +00:00
Jim Blandy
533984a8ec * data.c (swap_in_symval_forwarding): Formatting tweaked. 1992-09-29 15:06:46 +00:00
Jim Blandy
9deb415abc * keyboard.c: Initialize recent_keys in syms_of_keyboard, not
init_keyboard; the latter is run after dumping, so you can't
	add more staticpros.
1992-09-29 14:29:22 +00:00
Jim Blandy
5160df46a2 * keyboard.c (recent_keys): Turn this from an array, which is a
pain in the neck to staticpro, into a vector, which is easier.
	(read_char, Frecent_keys): Access recent_keys as a lisp vector,
	not a C array.
	(init_keyboard): Set recent_keys to be a vector, and staticpro
	it.
1992-09-29 13:44:55 +00:00
Jim Blandy
629a12cfef * frame.c (Fdelete_frame): Call Fselect_frame with the appropriate
number of arguments.
1992-09-29 13:25:14 +00:00
Jim Blandy
960fa1fa43 *** empty log message *** 1992-09-29 12:31:16 +00:00
Jim Blandy
bbe42033d2 * xterm.h (ROOT_WINDOW): Use the DefaultScreen macro, not the
XDefaultScreen function.
1992-09-29 11:32:13 +00:00
Jim Blandy
11270fa7b3 *** empty log message *** 1992-09-29 10:03:50 +00:00
Jim Blandy
53eb3a97fb * gud.el: When we send a command to the debugger via gud-call,
it's annoying to see the command and the new prompt in the
	debugger interaction buffer; nuke the command and the old prompt.
	(gud-delete-prompt-marker): New variable, with extensive documentation.
	(gud-mode): Make gud-delete-prompt-marker buffer-local, and
	initialize it.
	(gud-filter-insert): If gud-delete-prompt-marker is set, delete
	the prompt, and clear gud-delete-prompt-marker.
	(gud-call): Arrange for the last prompt printed to get deleted, by
	setting gud-delete-prompt-char.
1992-09-29 09:57:12 +00:00
Jim Blandy
6bde842720 * gud.el (gud-def): Doc fix.
(gud-gdb-marker-filter, gud-sdb-marker-filter,
	gud-dbx-marker-filter): Rename the argument `s' or `str' to
	`string', and change all uses; these definitions were referring to
	`string', which is unbound in the lexical context, but which
	happens to end up being bound to the right thing by the caller,
	gud-filter.
	(sdb): Set comint-prompt-regexp, not comint-prompt-pattern; the
	latter doesn't exist.
	(gud-dbx-debugger-setup): Use the argument `f', not the variable
	`file', which happens to be bound in the caller.
	(gud-filter-insert): The variable `start' is never used.  The
	variable `moving' is unnecessary.  The variable `old-buffer' and
	the unwind-protect form are unneeded, since save-excursion can do
	their work.  The binding of output-after-point should be done after
	switching to the process's buffer, not in whatever random buffer
	happens to be current when the process filter is called.  There's
	no need to set the process mark if we've just inserted at its
	location using insert-before-markers.
	(gud-read-address): Don't bother setting the variable `result'; it
	is never used.

	* gud.el (gud-mode-map): Bind gud-refresh to C-c C-l, not C-c l;
	the latter is reserved for the user's purposes.

	* gud.el (gdb, sdb, dbx): Use C-c C-r ("resume") for continuing,
	instead of C-c C-c.  C-c C-c should be comint-interrupt-subjob;
	it's important to have that available, and the C-c C-c binding is
	consistent with all the other comint-derived modes.
1992-09-29 07:45:05 +00:00
Jim Blandy
0e2c9c702c * editfns.c (save_excursion_save, save_excursion_restore):
Formatting tweaked for readability.
1992-09-29 06:19:35 +00:00
Jim Blandy
a080486e57 * data.c (Frem): Use the `fmod' function under SunOS, Ultrix, and
HP/UX, not just under USG systems.
1992-09-29 04:54:28 +00:00
Jim Blandy
b271272a9a * buffer.c (Fbury_buffer): This used to undisplay the buffer being
buried only if the BUFFER argument was nil.  Instead, undisplay the
	buffer whenever it's displayed in the selected window, no matter
	how it was specified by BUFFER.  This is how it behaves in 18.58,
	and I can't find any ChangeLog entry in 18.58 or 19.0 saying why
	they differ.  Fix the doc string accordingly.
1992-09-29 04:08:04 +00:00
Jim Blandy
8693ca83b8 * frame.c (Fselect_frame, Fframe_root_window,
Fframe_selected_window, Fnext_frame, Fmake_frame_visible,
	Fmake_frame_invisible, Ficonify_frame): Doc fixes.
1992-09-29 03:38:03 +00:00
Jim Blandy
30e4c427e1 entered into RCS 1992-09-29 03:14:35 +00:00
Jim Blandy
98b7fe026f * ralloc.c: Since the users of the relocating allocation code
handle memory exhaustion, it's better to return an error code to
	them than to call abort.
	(obtain): If we cannot allocate more memory, don't call
	abort.  Instead, return non-zero iff the allocation is successful.
	(get_more_space): If obtain fails, return zero.
	(get_bloc): Return zero if we can't allocate the new bloc.
	(r_alloc_sbrk): Return zero if we can't allocate more memory.
	(r_alloc): If we can't allocate more memory, set *PTR to zero and
	return zero.
	(r_re_alloc): If we can't allocate more memory, leave *PTR
	unchanged, and return zero.

	* ralloc.c (warnfunction): Renamed to warn_function; users changed.
1992-09-29 01:08:33 +00:00
Richard M. Stallman
350bce561c (record_delete): Record pos before the deletion.
(Fprimitive_undo): Go back to recorded position.
1992-09-28 13:10:43 +00:00
Richard M. Stallman
be09561e2a (del_range): Call record_delete before updating point. 1992-09-28 13:10:15 +00:00
Richard M. Stallman
46fa307385 (file-relative-name-1): New function split out.
(file-relative-name): Use it.
1992-09-28 13:02:52 +00:00
Richard M. Stallman
3bcbd523b2 Use frame-width instead of screen-width. 1992-09-28 13:02:35 +00:00
Richard M. Stallman
6b18575907 (ws-mark-word): Use forward-word, with an arg, instead of backward-word.
(wordstar-mode): Move after definition of keymap.
(ws-move-block): Just two args for kill-region.
1992-09-28 13:02:21 +00:00
Richard M. Stallman
60213ed03b (vc-rename-file): Use OLD, not FILE which is unbound. 1992-09-28 13:01:53 +00:00
Richard M. Stallman
090e4588a2 (ange-ftp-kill-ftp-process): Delete spurious ". 1992-09-28 12:54:05 +00:00
Richard M. Stallman
1f3a7283af (timer-process-sentinel): Don't set timer-scratch. 1992-09-28 12:41:39 +00:00
Richard M. Stallman
7d8451f188 (Finsert_file_contents): Do record_insert, then inc MODIFF. 1992-09-28 07:40:46 +00:00
Jim Blandy
fce33686a6 * keyboard.c (read_char): If we're returning an event from a
macro, set Vlast_event_frame to Qmacro, instead of leaving it set
	to the frame of the previous real event.
	(read_key_sequence): If Vlast_event_frame isn't a frame, don't
	bother switching buffers.
	(syms_of_keyboard): Doc fix for Vlast_event_frame.
	(Vlast_event_frame): Doc fix.

	* keyboard.c (format_modifiers, reorder_modifiers): Handle the new
	modifier bits.
1992-09-28 06:55:54 +00:00
Jim Blandy
21cec0712a * termhooks.h (alt_modifier, hyper_modifier, super_modifier,
down_modifier, drag_modifier): New modifiers, to support the new
	input system.  Re-arranged modifiers so that their bits are in
	canonical order; this makes reorder_modifiers slightly simpler.
1992-09-28 06:53:29 +00:00
Jim Blandy
9ace597fcf * window.c (delete_all_subwindows): Save the window's buffer in
its `height' field; we may need to know the window's old buffer
	once we have restored it from a window configuration.
	Fset_window_configuration): When we restore a window, if its
	`height' field is a buffer, restore its `buffer' field from that.
	This allows us to leave the window's buffer unchanged if the
	buffer recorded in the configuration is dead.

	* window.c (delete_all_subwindows): Removed unused variable named
	"count".
1992-09-28 06:10:03 +00:00
Jim Blandy
fde3a52f24 * keymap.c (access_keymap): Remove code to notice bindings for
Qt.

	* keymap.c (Fwhere_is_internal): Don't forget to advance map to
	the next element when we find something that is neither a vector
	nor a cons.  Don't forget to QUIT in the appropriate places,
	either.
1992-09-28 02:20:23 +00:00
Roland McGrath
08a6ff8140 Use (function ...) around lambdas, so it works in v18. 1992-09-28 01:27:56 +00:00
Christopher Zaborsky
fd8bf90337 Dox Fix 1992-09-27 17:30:03 +00:00
Christopher Zaborsky
c8fa98ccfc Doc fix. 1992-09-27 17:22:08 +00:00
Roland McGrath
f480bf4b74 (vc-update-change-log): Use file-relative-name. 1992-09-27 02:42:08 +00:00
Roland McGrath
71fe1fcc56 (file-relative-name): Rewritten so unrelativizable file names win. 1992-09-27 02:40:49 +00:00
Roland McGrath
ea912aa694 (file-relative-name): Don't lose when DIRECTORY is nil. 1992-09-27 02:27:00 +00:00
Roland McGrath
6c636af99b (file-relative-name): New function. 1992-09-27 02:25:31 +00:00
Roland McGrath
1d30b62aa7 %.2d -> %02d 1992-09-27 01:55:21 +00:00
Roland McGrath
67242a23d0 (vc-checkin-hook): New user hook variable.
(vc-log-after-operation-hook): New internal defvar.
(vc-checkin): Set vc-log-after-operation-hook to 'vc-checkin-hook.
(vc-finish-logentry): (run-hooks vc-log-after-operation-hook) at end.

(vc-update-change-log): When doing all visited files, remove directory
names from file names that are in default-directory.
1992-09-27 01:51:04 +00:00
Roland McGrath
f35ecf8813 (vc-update-change-log): Use shell-command, not shell-command-on-region.
Take optional args to pass to script.
Add fancy interactive spec: C-u for current file only; M-0 for all visited.
1992-09-27 01:31:15 +00:00
Roland McGrath
a0f8171133 New version from sk. Further hacked:
(find-grep-dired): Use ! -type d, not -type f.
1992-09-27 01:24:00 +00:00
Roland McGrath
a61182970f (vc-toggle-read-only): Doc fix.
(vc-mode-line): Add interactive spec.
1992-09-27 00:45:57 +00:00
Richard M. Stallman
510aa4ddc4 Doc fix. 1992-09-26 22:58:56 +00:00
Richard M. Stallman
8531c2ac1c Delete obsolete comments. 1992-09-26 22:52:22 +00:00
Richard M. Stallman
d9a7a8f53e (gomoku): Make it autoload. 1992-09-26 22:49:36 +00:00