Richard M. Stallman [Fri, 25 Sep 1992 23:23:17 +0000 (23:23 +0000)]
(single_keymap_panes): Handle vectors properly.
Richard M. Stallman [Thu, 24 Sep 1992 07:23:59 +0000 (07:23 +0000)]
(after-find-file): New arg NOAUTO.
(revert-buffer, recover-file): Pass t for that arg.
Joseph Arceneaux [Thu, 24 Sep 1992 01:29:22 +0000 (01:29 +0000)]
See ChangeLog
Jim Blandy [Wed, 23 Sep 1992 12:48:12 +0000 (12:48 +0000)]
* 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.
Jim Blandy [Wed, 23 Sep 1992 12:46:52 +0000 (12:46 +0000)]
* 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.
Jim Blandy [Wed, 23 Sep 1992 12:45:50 +0000 (12:45 +0000)]
* indent.c (Fmove_to_column): Pass the right number of arguments
to Findent_to.
Jim Blandy [Wed, 23 Sep 1992 11:51:59 +0000 (11:51 +0000)]
* 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.
Jim Blandy [Wed, 23 Sep 1992 10:33:26 +0000 (10:33 +0000)]
*** empty log message ***
Richard M. Stallman [Wed, 23 Sep 1992 04:21:23 +0000 (04:21 +0000)]
(calculate-c-indent): When testing for function-start line,
always match the first paren if have more than one.
Jim Blandy [Wed, 23 Sep 1992 03:51:58 +0000 (03:51 +0000)]
* fileio.c (syms_of_fileio): Don't try to defsubr Sunix_sync
unless it's actually been defined - that is, if unix is #defined.
Jim Blandy [Wed, 23 Sep 1992 03:51:13 +0000 (03:51 +0000)]
* 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.
Jim Blandy [Wed, 23 Sep 1992 03:46:12 +0000 (03:46 +0000)]
* emacs.c (emacs_priority): Doc fix.
(main): Use nice, not setpriority; we just need a
simple, portable call to nice here.
Jim Blandy [Wed, 23 Sep 1992 03:43:10 +0000 (03:43 +0000)]
* callproc.c (child_setup): Don't use setpriority; we just need a
simple, portable call to nice here.
Jim Blandy [Tue, 22 Sep 1992 06:43:04 +0000 (06:43 +0000)]
* 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.
Jim Blandy [Tue, 22 Sep 1992 06:23:30 +0000 (06:23 +0000)]
* 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.
Jim Blandy [Tue, 22 Sep 1992 05:19:09 +0000 (05:19 +0000)]
Thu Sep 17 15:51:18 1992 Jim Blandy (jimb@pogo.cs.oberlin.edu)
* minibuf.c (get_minibuffer): Enable undo in minibuffers.
Jim Blandy [Tue, 22 Sep 1992 05:18:34 +0000 (05:18 +0000)]
* 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.
Jim Blandy [Tue, 22 Sep 1992 05:17:48 +0000 (05:17 +0000)]
* 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.
Jim Blandy [Tue, 22 Sep 1992 05:16:47 +0000 (05:16 +0000)]
* buffer.c (Fget_buffer_create): Doc fix.
Jim Blandy [Tue, 22 Sep 1992 04:32:26 +0000 (04:32 +0000)]
Doc fix.
Jim Blandy [Tue, 22 Sep 1992 04:29:25 +0000 (04:29 +0000)]
* 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.
Jim Blandy [Tue, 22 Sep 1992 04:29:12 +0000 (04:29 +0000)]
* 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.
Jim Blandy [Tue, 22 Sep 1992 04:28:52 +0000 (04:28 +0000)]
* keyboard.h (num_nonmacro_input_chars): Added extern declaration
for this.
Richard M. Stallman [Tue, 22 Sep 1992 02:04:19 +0000 (02:04 +0000)]
Initial revision
Joseph Arceneaux [Mon, 21 Sep 1992 23:57:58 +0000 (23:57 +0000)]
comment changes
Richard M. Stallman [Mon, 21 Sep 1992 18:32:59 +0000 (18:32 +0000)]
(texinfo-mode): Capitalize the mode name string.
Richard M. Stallman [Mon, 21 Sep 1992 15:01:37 +0000 (15:01 +0000)]
Doc fixes. Make tq-create autoload.
Richard M. Stallman [Mon, 21 Sep 1992 14:52:30 +0000 (14:52 +0000)]
(mail-undo-backslash-quoting): Renamed from undo-...
(mail-safe-move-sexp): Renamed from safe-...
(mail-variant-method): Renamed from variant-method.
Eric S. Raymond [Mon, 21 Sep 1992 12:33:27 +0000 (12:33 +0000)]
entered into RCS
Richard M. Stallman [Mon, 21 Sep 1992 08:28:43 +0000 (08:28 +0000)]
entered into RCS
Richard M. Stallman [Mon, 21 Sep 1992 01:35:20 +0000 (01:35 +0000)]
entered into RCS
Richard M. Stallman [Sun, 20 Sep 1992 23:59:32 +0000 (23:59 +0000)]
entered into RCS
Richard M. Stallman [Sun, 20 Sep 1992 22:45:13 +0000 (22:45 +0000)]
*** empty log message ***
Richard M. Stallman [Sun, 20 Sep 1992 21:06:42 +0000 (21:06 +0000)]
(Faccept_process_output): Initialize useconds.
Richard M. Stallman [Sun, 20 Sep 1992 20:58:22 +0000 (20:58 +0000)]
entered into RCS
Richard M. Stallman [Sun, 20 Sep 1992 20:17:16 +0000 (20:17 +0000)]
Don't include sys/dir.h.
(Fverify_visited_file_modtime):
Pass buffer itself to handler, if have handler.
(Fwrite_region): GCPRO around Fexpand_file_name, Ffie_name_directory.
(Fread_file_name_internal): GCPRO around file name manip.
(Ffile_writable_p, Ffile_readable_p): Use abspath, not filename,
(Ffile_executable_p, Ffile_exists_p): to run the handler.
(Fset_file_modes, Ffile_directory_p, Ffile_modes): Likewise.
(Ffile_newer_than_file_p): GCPRO around expand_and_dir_to_file.
Richard M. Stallman [Sun, 20 Sep 1992 19:06:51 +0000 (19:06 +0000)]
*** empty log message ***
Richard M. Stallman [Sun, 20 Sep 1992 02:22:09 +0000 (02:22 +0000)]
entered into RCS
Richard M. Stallman [Sun, 20 Sep 1992 00:41:38 +0000 (00:41 +0000)]
entered into RCS
Richard M. Stallman [Sat, 19 Sep 1992 21:46:00 +0000 (21:46 +0000)]
entered into RCS
Richard M. Stallman [Sat, 19 Sep 1992 21:24:56 +0000 (21:24 +0000)]
Update copyright year.
Richard M. Stallman [Sat, 19 Sep 1992 21:24:30 +0000 (21:24 +0000)]
[VMS]: Include string.h, rms.h, rmsdef.h.
[VMS] (Ffile_version_limit): New function.
Richard M. Stallman [Sat, 19 Sep 1992 20:41:32 +0000 (20:41 +0000)]
(sys_suspend): Read EMACS_PARENT_PID envvar for parent.
Richard M. Stallman [Sat, 19 Sep 1992 19:40:38 +0000 (19:40 +0000)]
entered into RCS
Richard M. Stallman [Sat, 19 Sep 1992 19:21:09 +0000 (19:21 +0000)]
*** empty log message ***
Richard M. Stallman [Sat, 19 Sep 1992 17:52:29 +0000 (17:52 +0000)]
(mark_object): Save last 500 values of objptr.
Check for clobberage of ptr, when marking a vector.
Richard M. Stallman [Sat, 19 Sep 1992 17:52:07 +0000 (17:52 +0000)]
(scan_lists): When searching back for comment:
if comment-end is 2 chars, assume it does end a comment.
Otherwise, scan back to previous comment-end to see if there's
a comment starter between. Also record whether the string quotes
between the start and the end are paired and uniform.
If so, skip to comment starter. If not, scan from start of
defun to find comment starter if any.
(find_defun_start): New function.
Richard M. Stallman [Sat, 19 Sep 1992 07:51:41 +0000 (07:51 +0000)]
*** empty log message ***
Richard M. Stallman [Sat, 19 Sep 1992 05:57:58 +0000 (05:57 +0000)]
entered into RCS
Joseph Arceneaux [Sat, 19 Sep 1992 01:11:21 +0000 (01:11 +0000)]
entered into RCS
Richard M. Stallman [Fri, 18 Sep 1992 18:47:19 +0000 (18:47 +0000)]
entered into RCS
Joseph Arceneaux [Fri, 18 Sep 1992 07:43:41 +0000 (07:43 +0000)]
*** empty log message ***
Roland McGrath [Fri, 18 Sep 1992 07:30:25 +0000 (07:30 +0000)]
*** empty log message ***
Richard M. Stallman [Fri, 18 Sep 1992 07:29:36 +0000 (07:29 +0000)]
(get_keyelt): Skip menu help string after menu item name.
Jim Blandy [Thu, 17 Sep 1992 21:54:44 +0000 (21:54 +0000)]
*** empty log message ***
Richard M. Stallman [Thu, 17 Sep 1992 19:50:27 +0000 (19:50 +0000)]
*** empty log message ***
Joseph Arceneaux [Thu, 17 Sep 1992 02:26:53 +0000 (02:26 +0000)]
Initial revision
Roland McGrath [Thu, 17 Sep 1992 01:12:50 +0000 (01:12 +0000)]
entered into RCS
Karl Berry [Wed, 16 Sep 1992 14:52:41 +0000 (14:52 +0000)]
Initial revision
Karl Berry [Wed, 16 Sep 1992 12:19:41 +0000 (12:19 +0000)]
Initial revision
Jim Blandy [Wed, 16 Sep 1992 00:08:26 +0000 (00:08 +0000)]
*** empty log message ***
Roland McGrath [Tue, 15 Sep 1992 22:52:46 +0000 (22:52 +0000)]
*** empty log message ***
Roland McGrath [Tue, 15 Sep 1992 21:35:53 +0000 (21:35 +0000)]
*** empty log message ***
Roland McGrath [Tue, 15 Sep 1992 21:11:58 +0000 (21:11 +0000)]
entered into RCS
Roland McGrath [Tue, 15 Sep 1992 21:04:44 +0000 (21:04 +0000)]
*** empty log message ***
Roland McGrath [Tue, 15 Sep 1992 19:38:02 +0000 (19:38 +0000)]
*** empty log message ***
Joseph Arceneaux [Tue, 15 Sep 1992 19:28:41 +0000 (19:28 +0000)]
*** empty log message ***
Richard M. Stallman [Tue, 15 Sep 1992 10:00:34 +0000 (10:00 +0000)]
*** empty log message ***
Richard M. Stallman [Tue, 15 Sep 1992 08:15:41 +0000 (08:15 +0000)]
entered into RCS
Roland McGrath [Tue, 15 Sep 1992 02:36:36 +0000 (02:36 +0000)]
entered into RCS
Richard M. Stallman [Mon, 14 Sep 1992 22:50:18 +0000 (22:50 +0000)]
*** empty log message ***
Richard M. Stallman [Mon, 14 Sep 1992 22:31:47 +0000 (22:31 +0000)]
*** empty log message ***
Richard M. Stallman [Mon, 14 Sep 1992 22:11:23 +0000 (22:11 +0000)]
(main): Use X menu code if HAVE_X_WINDOWS and not NO_X_MENU.
Eliminate HIGHPRI as compilation option.
(emacs_priority): New C variable, also Lisp variable.
(main): Set the priority iff emacs_priority is nonzero.
Richard M. Stallman [Mon, 14 Sep 1992 22:10:55 +0000 (22:10 +0000)]
(read_char_menu_prompt): Use X menu code if HAVE_X_WINDOWS and not NO_X_MENU.
Richard M. Stallman [Mon, 14 Sep 1992 22:08:02 +0000 (22:08 +0000)]
entered into RCS
Roland McGrath [Mon, 14 Sep 1992 20:19:24 +0000 (20:19 +0000)]
*** empty log message ***
Richard M. Stallman [Mon, 14 Sep 1992 19:00:13 +0000 (19:00 +0000)]
*** empty log message ***
Jim Blandy [Mon, 14 Sep 1992 18:41:47 +0000 (18:41 +0000)]
*** empty log message ***
Richard M. Stallman [Mon, 14 Sep 1992 06:53:22 +0000 (06:53 +0000)]
*** empty log message ***
Richard M. Stallman [Mon, 14 Sep 1992 01:39:31 +0000 (01:39 +0000)]
*** empty log message ***
Richard M. Stallman [Mon, 14 Sep 1992 01:33:12 +0000 (01:33 +0000)]
entered into RCS
Richard M. Stallman [Sun, 13 Sep 1992 23:36:10 +0000 (23:36 +0000)]
*** empty log message ***
Richard M. Stallman [Sun, 13 Sep 1992 21:51:49 +0000 (21:51 +0000)]
entered into RCS
Richard M. Stallman [Sun, 13 Sep 1992 20:40:20 +0000 (20:40 +0000)]
*** empty log message ***
Richard M. Stallman [Sun, 13 Sep 1992 19:05:13 +0000 (19:05 +0000)]
entered into RCS
Jim Blandy [Sun, 13 Sep 1992 13:08:15 +0000 (13:08 +0000)]
entered into RCS
Jim Blandy [Sun, 13 Sep 1992 12:54:09 +0000 (12:54 +0000)]
* xterm.c (x_wm_set_size_hint): Set the base_width and base_height
members of size_hints, if they're available (X11R4 and after);
otherwise, approximate the right thing, by using min_width and
min_height as the base size.
* xterm.c (x_catch_errors): Don't forget to initialize
x_caught_error_message to the null string, so x_check_errors can
tell when an error has occurred.
Jim Blandy [Sun, 13 Sep 1992 12:48:38 +0000 (12:48 +0000)]
* xrdb.c: Don't include <X11/Xos.h>. Under R4, it stupidly
insists on defining SIGCHLD, even if it already has a definition.
(file_p): Use the constant 4 instead of R_OK; empirically, the
number is more portable than the symbol if you count the #include
hair you have to go through to get R_OK defined. Ffile_readable_p
does this too.
* xrdb.c (getuid): Declare this to return short.
Jim Blandy [Sun, 13 Sep 1992 12:46:45 +0000 (12:46 +0000)]
Declare x_implicitly_set_name to be void.
Jim Blandy [Sun, 13 Sep 1992 12:45:33 +0000 (12:45 +0000)]
* xdisp.c (display_mode_line): If the only other frames are
minibuffer frames, don't name the frame after the in the selected
window. We can use Fnext_frame to do this test easily.
Jim Blandy [Sun, 13 Sep 1992 12:38:21 +0000 (12:38 +0000)]
* window.c (minibuffer_window): Accept an optional FRAME argument;
if specified, return the minibuffer used by that frame.
* window.c (Fset_window_configuration): Don't signal an error
if the frame size saved in the window configuration doesn't
match the frame's current size; instead, temporarily resize
the frame while installing the window configuration. This is
important because using the minibuffer saves and restores the
current window configuration, and you don't want to signal an
error just because the user resized the frame while using the
minibuffer.
Jim Blandy [Sun, 13 Sep 1992 12:37:43 +0000 (12:37 +0000)]
* unexmips.c (mark_x): Declare this as static void at the top of
the file and at the function definition.
Jim Blandy [Sun, 13 Sep 1992 12:35:06 +0000 (12:35 +0000)]
Fix typo.
Jim Blandy [Sun, 13 Sep 1992 12:33:23 +0000 (12:33 +0000)]
* keymap.c (describe_buffer_bindings): Adjust key_heading to match
the format used by describe_map_tree. Also, don't reprint the
"key binding" header above the global bindings if we've already
printed it for the local bindings; it's clear enough that the
columns mean the same thing as above.
* keymap.c (describe_buffer_bindings): Declare buf and bufend...
* keymap.c (describe_buffer_bindings): Set the current buffer to
descbuf before calling current_minor_maps; that function's value
depends on the values of buffer-local variables. Don't set the
current buffer to Vstandard_output until afterwards.
* keymap.c (describe_buffer_bindings): If
Vkeyboard_translate_table is in effect, describe its effects.
Jim Blandy [Sun, 13 Sep 1992 12:31:15 +0000 (12:31 +0000)]
* keyboard.c (kbd_buffer_get_event): When performing the
FRAME_FOCUS_FRAME redirection, don't modify the frame field of
the event; that fatally corrupts mouse click events. Instead,
just perform the redirection on the value assigned to
Vlast_event_frame.
* keyboard.c (input_available_signal): Declare this to return
SIGTYPE.
Jim Blandy [Sun, 13 Sep 1992 12:29:01 +0000 (12:29 +0000)]
* frame.c (choose_minibuf_frame): abort if the selected frame has
nil in its minibuffer_window slot; this shouldn't happen any more.
Jim Blandy [Sun, 13 Sep 1992 12:21:15 +0000 (12:21 +0000)]
* editfns.c (Fcurrent_time_string): Change docstring to
indicate that we will probably add the timezone to the end,
now that we have it available on many systems.
Jim Blandy [Sun, 13 Sep 1992 12:20:40 +0000 (12:20 +0000)]
* doc.c (Fsnarf_documentation): Signal an error if this is
called in a dumped Emacs.
Jim Blandy [Sun, 13 Sep 1992 12:19:42 +0000 (12:19 +0000)]
* callint.c (Fcall_interactively): Remove the 'K' interactive
code, in favor of 'e'; that's a better name.
* callint.c (Fcall_interactively): Don't try to get the
`enable-recursive-minibuffers' property from FUNCTION unless
FUNCTION is actually a symbol; there are some cases where a key
sequence is bound directly to a lambda form, and there's no reason
to break these.
Jim Blandy [Sun, 13 Sep 1992 12:14:54 +0000 (12:14 +0000)]
* alloc.c (mark_object): mark a symbol's name after marking its
value, function, and property list rather than before; this way,
symbols' names are readable, giving us a chance to detect some
kinds of heap corruption.