1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 06:00:41 -08:00
Commit graph

14617 commits

Author SHA1 Message Date
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
Jim Blandy
f125a9e8b5 *** empty log message *** 1992-09-23 10:33:26 +00:00
Richard M. Stallman
791cc57dfa (calculate-c-indent): When testing for function-start line,
always match the first paren if have more than one.
1992-09-23 04:21:23 +00:00
Jim Blandy
483a2e101d * fileio.c (syms_of_fileio): Don't try to defsubr Sunix_sync
unless it's actually been defined - that is, if unix is #defined.
1992-09-23 03:51:58 +00:00
Jim Blandy
1593c2fe36 * sysdep.c (sys_suspend): Don't try to use "nice (- nice (0))" to
set the subshell's priority to normal; nice doesn't return a
	defined value on all systems.  Instead, since emacs_priority gives
	the priority that Emacs was nastied to, we can use it to reset the
	priority in a straightforward way.
	[BSD4_1], [USG], [VMS] (setpriority): Remove dummy and
	compatibility definitions of setpriority.
1992-09-23 03:51:13 +00:00
Jim Blandy
5aa7f46a74 * emacs.c (emacs_priority): Doc fix.
(main): Use nice, not setpriority; we just need a
	simple, portable call to nice here.
1992-09-23 03:46:12 +00:00
Jim Blandy
4f0b9d4994 * callproc.c (child_setup): Don't use setpriority; we just need a
simple, portable call to nice here.
1992-09-23 03:43:10 +00:00