1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-13 11:12:19 -08:00
Commit graph

8356 commits

Author SHA1 Message Date
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
Jim Blandy
41ab0754d3 * xrdb.c (x_get_resource): Cast the value being assigned to
ret_value->addr, rather than ret_value->addr itself; only GCC
	allows you to cast lvalues.
1992-09-22 06:43:04 +00:00
Jim Blandy
ba410f40e9 * eval.c (unbind_catch): Do the long-jump here. Take a VALUE
argument, which specifies the value to return to the catch, or the
	data to give to the condition handler.  Renamed to
	unwind_to_catch, to reflect new role.
	(Fsignal, Fthrow): Removed code to set catch tag value and do the
	long-jump; this is taken care of by unwind_to_catch.
1992-09-22 06:23:30 +00:00
Jim Blandy
5d6533f186 Thu Sep 17 15:51:18 1992 Jim Blandy (jimb@pogo.cs.oberlin.edu)
* minibuf.c (get_minibuffer): Enable undo in minibuffers.
1992-09-22 05:19:09 +00:00
Jim Blandy
78ca380c45 * lisp.h (struct handler): Remove the poll_suppress_count member
of this structure; it is always equal to the poll_suppress_count
	of its catchtag structure.  The non-local exit code in eval.c is
	difficult enough to understand as it is; needless duplication
	doesn't help.

	* lisp.h (struct specbinding, struct handler): More documentation.
1992-09-22 05:18:34 +00:00
Jim Blandy
82da7701c8 * eval.c (Fcondition_case): Rearranged for clarity. Don't worry
about setting h.poll_suppress_count; it's guaranteed to be the
	same as c.poll_suppress_count.
	(internal_condition_case): Don't worry about
	h.poll_suppress_count.
	(Fsignal): Use h->tag->poll_suppress_count instead of
	h->poll_suppress_count.

	* eval.c (Fsignal): It's okay for the debugger to return to the
	caller if the caller was signalling a quit.

	* eval.c (unbind_catch): Restore the polling suppression count
	here, instead of in Fsignal and Fthrow.
	(Fthrow, Fsignal): Don't restore the polling suppression count here.

	* eval.c (struct catchtag): More documentation.

	* eval.c (entering_debugger): Variable renamed
	when_entered_debugger, and is now a timestamp based on
	num_nonmacro_input_chars.
	(init_eval): Initialize when_entered_debugger, not
	entering_debugger.
	(call_debugger): Set when_entered_debugger to the current value of
	num_nonmacro_input_chars.
	(find_handler_clause): Don't call debugger unless
	num_nonmacro_input_chars is greater than when_entered_debugger;
	that way, we won't call the debugger unless the user has had a
	chance to take control.
	(Fbacktrace): Don't clear entering_debugger here.
1992-09-22 05:17:48 +00:00
Jim Blandy
b44895bc92 * buffer.c (Fget_buffer_create): Doc fix. 1992-09-22 05:16:47 +00:00
Jim Blandy
20aa96aad8 Doc fix. 1992-09-22 04:32:26 +00:00
Jim Blandy
088880f13a * fns.c (Fy_or_n_p): After testing for a QUIT, clear Vquit_flag.
Otherwise, if Fy_or_n_p is called while Vinhibit_quit is true and
	the user presses C-g, this function goes into an infinite loop.
1992-09-22 04:29:25 +00:00
Jim Blandy
7c3c72eca1 * dispnew.c (get_display_line): Don't abort if the frame is
invisible; since unmap events are handled at the interrupt level,
	a screen may become invisible at any time.
1992-09-22 04:29:12 +00:00
Jim Blandy
0ca96cef67 * keyboard.h (num_nonmacro_input_chars): Added extern declaration
for this.
1992-09-22 04:28:52 +00:00
Richard M. Stallman
eac595cad2 Initial revision 1992-09-22 02:04:19 +00:00