1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00
Commit graph

34673 commits

Author SHA1 Message Date
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
Michael Meissner
35e45bac84 RISC-OS rev 5, DEC OSF/1 changes. 1992-09-26 22:37:56 +00:00
Richard M. Stallman
c38b7764cf (spook): Make it autoload. 1992-09-26 21:41:37 +00:00
Richard M. Stallman
aa673ecc67 (setenv): Make it autoload. 1992-09-26 21:34:39 +00:00
Richard M. Stallman
58c43274c5 Fix setup of mpuz-read-map not to depend on keymap format.
(mpuz): Renamed from mult-puzzle.  Make it autoload.
1992-09-26 21:27:08 +00:00
Richard M. Stallman
b6a5978e16 Doc fix. 1992-09-26 21:15:01 +00:00
Richard M. Stallman
6d670a70ad (diff): Don't print echo area message.
(diff-parse-differences): Always add `done' to message, at end.
New local num-loci-found counts the loci.
1992-09-26 21:00:17 +00:00
Richard M. Stallman
947da0c4ce (mouse-split-window-vertically): Use @.
(mouse-split-window-horizontally): New command.
Use S-mouse-2 for them.
(mouse-delete-window): Put on mode-line mouse-3.
(mouse-save-then-kill): New command, on mouse-3.
(mouse-delete-other-windows): Use @.  Now on mode-line mouse-1.
(mouse-scroll-down, mouse-scroll-up): Use e, get line from event.
(mouse-scroll-move-cursor): Likewise.
(mouse-scroll-left, mouse-scroll-right): Likewise for column.
(mouse-scroll-move-cursor-horizontally): Likewise.
1992-09-26 08:15:35 +00:00
Richard M. Stallman
ab6ee1a0bc (single_keymap_panes): Handle vectors properly. 1992-09-25 23:23:17 +00:00
Richard M. Stallman
8cfb9d4630 (after-find-file): New arg NOAUTO.
(revert-buffer, recover-file): Pass t for that arg.
1992-09-24 07:23:59 +00:00
Joseph Arceneaux
9c79dd1b20 See ChangeLog 1992-09-24 01:29:22 +00:00
Jim Blandy
ff462f26fd * xmenu.c (single_keymap_panes): Comment out the code which
tries to handle a dense keymap's table; it uses keymap_table, and
	the rest of the code never uses the table contents anyway.
1992-09-23 12:48:12 +00:00
Jim Blandy
f5b79c1c36 * keymap.c (DENSE_TABLE_SIZE): Doc fix.
(keymap_table): Function removed; this function exists only to
	support an incorrect understanding of the format of keymaps.
	(access_keymap, store_in_keymap, Fcopy_keymap,
	Faccessible_keymaps): Correctly handle vectors at any point in the
	keymap; don't assume it must be at the front.
	(describe_map): Instead of calling describe_vector on the vector
	in the cadr of the keymap (if present) and then calling
	describe_alist to do the rest, just call describe_map_2.
	(describe_alist): Renamed to describe_map_2; call describe_vector
	when we encounter a vector in the list.

	* keymap.c (access_keymap, store_in_keymap): Clarify error message
	for non-ASCII characters.

	* keymap.c (access_keymap): Return the binding of Qt as the
	binding for all unbound characters.
1992-09-23 12:46:52 +00:00
Jim Blandy
230a4cbd80 * indent.c (Fmove_to_column): Pass the right number of arguments
to Findent_to.
1992-09-23 12:45:50 +00:00
Jim Blandy
63528b78dd * process.c [SIGCHLD && !BSD && !UNIPLUS && !HPUX]
(create_process): #if 0 out the code which sets the child's
	handler for SIGCHLD to sigchld; the code which gives sigchld its
	value has been diked out under these CPP symbols, so this should
	be diked out too.
1992-09-23 11:51:59 +00:00