bpt/emacs.git
31 years ago(describe_syntax_1): Delete excess arg to describe_vector.
Richard M. Stallman [Tue, 2 Mar 1993 17:21:05 +0000 (17:21 +0000)]
(describe_syntax_1): Delete excess arg to describe_vector.
(check_syntax_table): Delete excess arg to wrong_type_argument.

(Fforward_comment): New function.

31 years ago* make-dist: Don't try to copy the COPYING notice into
Jim Blandy [Tue, 2 Mar 1993 08:28:38 +0000 (08:28 +0000)]
* make-dist: Don't try to copy the COPYING notice into
external-lisp; we're not distributing that directory any more.

31 years ago* Makefile.in (install, install.aix, install.xenix, install.sysv):
Jim Blandy [Tue, 2 Mar 1993 08:28:24 +0000 (08:28 +0000)]
* Makefile.in (install, install.aix, install.xenix, install.sysv):
Remove CVS subdirectories from the installed directory trees, as
well as RCS directories.

31 years ago* timer.c (notify): Initialize waitfor properly.
Jim Blandy [Tue, 2 Mar 1993 08:25:47 +0000 (08:25 +0000)]
* timer.c (notify): Initialize waitfor properly.

31 years agoUse the term `scroll bar', instead of `scrollbar'.
Jim Blandy [Tue, 2 Mar 1993 08:22:42 +0000 (08:22 +0000)]
Use the term `scroll bar', instead of `scrollbar'.
* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
xterm.c, xterm.h: Terminology changed.

31 years agoUse the term `scroll bar', instead of `scrollbar'.
Jim Blandy [Tue, 2 Mar 1993 08:21:49 +0000 (08:21 +0000)]
Use the term `scroll bar', instead of `scrollbar'.
* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
xterm.c, xterm.h: Terminology changed.

* xterm.c (x_window_to_scrollbar, x_scrollbar_expose,
x_scrollbar_handle_click, x_scrollbar_note_movement): Remember
that these can be called during GC; we have to ignore mark bits.
* lisp.h (GC_NILP, GC_EQ): New macros to help with that.

31 years ago* xdisp.c (redisplay): Protect calls to request_sigio and
Jim Blandy [Tue, 2 Mar 1993 08:20:23 +0000 (08:20 +0000)]
* xdisp.c (redisplay): Protect calls to request_sigio and
unrequest_sigio in "#ifdef SIGIO" clauses; these are not defined

Use the term `scroll bar', instead of `scrollbar'.
* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
xterm.c, xterm.h: Terminology changed.

31 years ago* print.c (float_to_string): Define buf to be an unsigned char, to
Jim Blandy [Tue, 2 Mar 1993 08:16:49 +0000 (08:16 +0000)]
* print.c (float_to_string): Define buf to be an unsigned char, to
match the data field of strings.

31 years agoUse the term `scroll bar', instead of `scrollbar'.
Jim Blandy [Tue, 2 Mar 1993 08:16:00 +0000 (08:16 +0000)]
Use the term `scroll bar', instead of `scrollbar'.
* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
xterm.c, xterm.h: Terminology changed.

* xterm.c (x_window_to_scrollbar, x_scrollbar_expose,
x_scrollbar_handle_click, x_scrollbar_note_movement): Remember
that these can be called during GC; we have to ignore mark bits.
* lisp.h (GC_NILP, GC_EQ): New macros to help with that.

* lisp.h (RETURN_UNGCPRO): Remove "do ... while (0)" wrapper
around macro.

31 years agoUse the term `scroll bar', instead of `scrollbar'.
Jim Blandy [Tue, 2 Mar 1993 08:14:57 +0000 (08:14 +0000)]
Use the term `scroll bar', instead of `scrollbar'.
* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
xterm.c, xterm.h: Terminology changed.

        Don't generate switch-frame events by checking Vlast_event_frame;
use a separate variable for that bookkeeping.  In order to
generate them properly, we may need to fiddle with it.
* keyboard.c (internal_last_event_frame): New variable.
(command_loop_1): Check internal_last_event_frame, not
Vlast_event_frame.
(read_char, kbd_buffer_store_event): Set both Vlast_event_frame and
internal_last_event_frame.
(kbd_buffer_get_event): Check internal_last_event_frame to decide
whether to generate a switch-frame event.  Set Vlast_event_frame
after each event.
(init_keyboard): Initialize both Vlast_event_frame and
internal_last_event_frame.
* keyboard.h (internal_last_event_frame): Add extern declaration
for this.
* frame.c (Vlast_event_frame): Remove external declaration for
this.
(Fselect_frame): Set internal_last_event_frame to Qnil to force a
switch-frame event, not Vlast_event_frame; the latter is supposed
to convey information to the user.

31 years ago* keyboard.c (kbd_buffer_get_event): Protect assignment to
Jim Blandy [Tue, 2 Mar 1993 08:14:15 +0000 (08:14 +0000)]
* keyboard.c (kbd_buffer_get_event): Protect assignment to
Vlast_event_frame in a "#ifdef MULTI_FRAME" clause.

Use the term `scroll bar', instead of `scrollbar'.
* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
xterm.c, xterm.h: Terminology changed.

        Don't generate switch-frame events by checking Vlast_event_frame;
use a separate variable for that bookkeeping.  In order to
generate them properly, we may need to fiddle with it.
* keyboard.c (internal_last_event_frame): New variable.
(command_loop_1): Check internal_last_event_frame, not
Vlast_event_frame.
(read_char, kbd_buffer_store_event): Set both Vlast_event_frame and
internal_last_event_frame.
(kbd_buffer_get_event): Check internal_last_event_frame to decide
whether to generate a switch-frame event.  Set Vlast_event_frame
after each event.
(init_keyboard): Initialize both Vlast_event_frame and
internal_last_event_frame.
* keyboard.h (internal_last_event_frame): Add extern declaration
for this.
* frame.c (Vlast_event_frame): Remove external declaration for
this.
(Fselect_frame): Set internal_last_event_frame to Qnil to force a
switch-frame event, not Vlast_event_frame; the latter is supposed
to convey information to the user.

* keyboard.c (syms_of_keyboard): Doc fix for unread_command_events.

31 years ago* data.c (Fstring_to_number): Declare p to be an unsigned char, to
Jim Blandy [Tue, 2 Mar 1993 08:11:01 +0000 (08:11 +0000)]
* data.c (Fstring_to_number): Declare p to be an unsigned char, to
match the data field of strings.

* data.c (Fstring_to_number): Just skip tabs and spaces; don't use
the <ctype.h> macros.  The <ctype.h> stuff apparently varies from
locale to locale more than we'd like.  Don't include <ctype.h>.

31 years ago* cmds.c (Fnewline): Doc fix.
Jim Blandy [Tue, 2 Mar 1993 08:10:24 +0000 (08:10 +0000)]
* cmds.c (Fnewline): Doc fix.

31 years ago* buffer.c (buffer-undo-list): Doc fix.
Jim Blandy [Tue, 2 Mar 1993 08:09:42 +0000 (08:09 +0000)]
* buffer.c (buffer-undo-list): Doc fix.

* buffer.c (syms_of_buffer): Add the extra argument to the
commented-out DEFVAR_PER_BUFFER for `mode-line-format', so
make-docfile will find the docstring properly.

31 years ago* term/x-win.el (x-switch-definitons): Use the proper names for
Jim Blandy [Tue, 2 Mar 1993 07:35:52 +0000 (07:35 +0000)]
* term/x-win.el (x-switch-definitons): Use the proper names for
the scroll bar parameters.

Use the term `scroll bar', instead of `scrollbar'.
* term/x-win.el, frame.el, mouse.el: Terminology changed.
* scrollbar.el: Renamed to scroll-bar.el.

31 years ago* timer.el (run-at-time): Doc fix.
Jim Blandy [Tue, 2 Mar 1993 07:33:41 +0000 (07:33 +0000)]
* timer.el (run-at-time): Doc fix.

31 years ago* simple.el (kill-region): If the buffer is read-only, call
Jim Blandy [Tue, 2 Mar 1993 07:33:17 +0000 (07:33 +0000)]
* simple.el (kill-region): If the buffer is read-only, call
`barf-if-buffer-read-only' instead of just `ding', to get the
appropriate error condition and message.

* simple.el (insert-buffer): Make sure this returns nil.

* simple.el (quoted-insert): Use insert-char, instead of writing
out the loop.

31 years agoUse the term `scroll bar', instead of `scrollbar'.
Jim Blandy [Tue, 2 Mar 1993 07:29:47 +0000 (07:29 +0000)]
Use the term `scroll bar', instead of `scrollbar'.
* term/x-win.el, frame.el, mouse.el: Terminology changed.
* scrollbar.el: Renamed to scroll-bar.el.

31 years ago* mouse.el (mouse-split-window-vertically): If the user clicks too
Jim Blandy [Tue, 2 Mar 1993 07:29:05 +0000 (07:29 +0000)]
* mouse.el (mouse-split-window-vertically): If the user clicks too
close to the top or bottom of a window, split at the closest
reasonable line.  Give a helpful error message if the window is
too small to be split anywhere.
(mouse-split-window-horizontally): Similar changes.

31 years ago* info.el (Info-directory-list): Doc fix; it is set according to
Jim Blandy [Tue, 2 Mar 1993 07:27:17 +0000 (07:27 +0000)]
* info.el (Info-directory-list): Doc fix; it is set according to
INFOPATH, not INFODIR.
(Info-find-node): Don't try to set the info buffer's directory
according to Info-directory; that variable doesn't exist any more.
Instead, let Info-insert-dir set the current directory.
(Info-insert-dir): Properly check for upper- and lower-case forms
of "dir", with and without ".info" extension.  Set the buffer's
default-directory to the directory containing the first dir file
we find, and cache it in Info-dir-contents-directory.
(Info-dir-contents-directory): New variable, to cache the
directory we decided to use as the merged directory's
default-directory.

31 years ago* hexl.el (hexl-mode-map): When initializing, remember that the
Jim Blandy [Tue, 2 Mar 1993 07:26:43 +0000 (07:26 +0000)]
* hexl.el (hexl-mode-map): When initializing, remember that the
argument to key-binding is a key sequence, not a single key.

31 years ago* frame.el (new-frame): Doc fix.
Jim Blandy [Tue, 2 Mar 1993 07:25:44 +0000 (07:25 +0000)]
* frame.el (new-frame): Doc fix.

Use the term `scroll bar', instead of `scrollbar'.
* term/x-win.el, frame.el, mouse.el: Terminology changed.
* scrollbar.el: Renamed to scroll-bar.el.

31 years ago* etags.el (find-tag-other-window): If another window is already
Jim Blandy [Tue, 2 Mar 1993 07:22:33 +0000 (07:22 +0000)]
* etags.el (find-tag-other-window): If another window is already
displaying the tag's buffer, explicitly set that window's point to
the tag's position.

31 years ago* autoload.el (generate-file-autoloads): Add another
Jim Blandy [Tue, 2 Mar 1993 07:21:44 +0000 (07:21 +0000)]
* autoload.el (generate-file-autoloads): Add another
save-excursion so that point is before the generated autoloads
after we scan the file.

31 years agoThese changes were actually made by Richard; I stole his RCS lock.
Jim Blandy [Tue, 2 Mar 1993 07:06:47 +0000 (07:06 +0000)]
These changes were actually made by Richard; I stole his RCS lock.

* frame.el (initial-frame-alist, minibuffer-frame-alist,
pop-up-frame-alist, new-frame): Doc fixes.

* frame.el (set-pointer-color): Renamed to set-mouse-color.

* frame.el (set-border-color): New function.

31 years agoThese are in preparation for a more thorough renaming to occur soon.
Jim Blandy [Tue, 2 Mar 1993 02:11:18 +0000 (02:11 +0000)]
These are in preparation for a more thorough renaming to occur soon.
* scroll-bar.el: Provide `scroll-bar', not `scrollbar'.
* term/x-win.el: Require `scroll-bar', not `scrollbar'.

31 years ago* term/x-win.el: Require `scroll-bar', not `scrollbar'.
Jim Blandy [Tue, 2 Mar 1993 02:03:41 +0000 (02:03 +0000)]
* term/x-win.el: Require `scroll-bar', not `scrollbar'.

31 years ago(Info-insert-dir): Make menu items in Top node
Richard M. Stallman [Mon, 1 Mar 1993 09:25:44 +0000 (09:25 +0000)]
(Info-insert-dir): Make menu items in Top node
pointing each of the other nodes.

(Info-insert-dir): New function.
(Info-find-node): Use Info-insert-dir to visit dir file.

31 years agoDon't include dispextern.h more than once.
Richard M. Stallman [Mon, 1 Mar 1993 09:13:26 +0000 (09:13 +0000)]
Don't include dispextern.h more than once.
(INTERVAL_VISIBLE_P): NILP test was backwards.

31 years ago(syms_of_cmds): Typo in last change.
Richard M. Stallman [Mon, 1 Mar 1993 09:02:07 +0000 (09:02 +0000)]
(syms_of_cmds): Typo in last change.

31 years ago(record_property_change): Typo in last change.
Richard M. Stallman [Mon, 1 Mar 1993 09:01:13 +0000 (09:01 +0000)]
(record_property_change): Typo in last change.

(Fprimitive_undo): Handle property-change undo entry.
(record_property_change): New function.

31 years ago(print--string case):
Richard M. Stallman [Mon, 1 Mar 1993 08:59:36 +0000 (08:59 +0000)]
(print--string case):
Any non-null interval means print intervals.
Get rid of var obj1; just use obj.

(print): Never declare OBJ arg as `register'.
Special handling for strings with intervals.
(print_intervals): New function.

31 years ago(read1--strings with properties case):
Richard M. Stallman [Mon, 1 Mar 1993 08:58:52 +0000 (08:58 +0000)]
(read1--strings with properties case):
Detect end of list, and invalid syntax, using recursive read1 calls.

(read1): Handle reading strings with properties.

31 years ago(Fadd_text_properties, Fremove_text_properties):
Richard M. Stallman [Mon, 1 Mar 1993 08:57:31 +0000 (08:57 +0000)]
(Fadd_text_properties, Fremove_text_properties):
Add len>0 as condition for main loop.
Abort if reach a null interval.
(Fset_text_properties): Abort if reach a null interval.
(Ftext_properties_at, Fget_text_property):
Return nil if POS is end of OBJECT.
(add_properties): Use NILP to test result of Fequal.
No longer inline.
(remove_properties): No longer inline.
(set_properties): Total rewrite as function.
(validate_interval_range): Don't alter *begin at end of buffer.
But do search for a position just before the end.
Return null for an empty string.

(validate_interval_range): Allow 0 as position in string.
Add 1 to specified string positions.
(Fprevious_single_property_change): Subtract 1 if object is string.
(Fnext_single_property_change): Likewise.
(Fprevious_property_change, Fnext_property_change): Likewise.

(remove_properties): Call modify_buffer.
(add_properties): Likewise.

(Fadd_text_properties): Pass new arg to add_properties.
(Fremove_text_properties): Likewise.
(add_properties, remove_properties): New arg OBJECT.  Record undo info.
(Fput_text_property): New function.

31 years ago(intervals_equal): Handle one arg null and other not.
Richard M. Stallman [Mon, 1 Mar 1993 08:56:22 +0000 (08:56 +0000)]
(intervals_equal): Handle one arg null and other not.
(set_point): Considerable rewrite.  Handle intervals both
before and after the old and new point values.
Redo handling of invisible intervals, and of motion hooks.
(textget): New function.

(graft_intervals_into_buffer):
create_root_interval needs Lisp object arg.
Set tree to new root interval.
Don't test TREE_LENGTH if buffer has no intervals.
Rearrange code to copy properties so that it really
does merge the inserted ones into the inherited ones.
(traverse_intervals): Pass `arg' on recursive calls.
(split_interval_left): Use new_length as basis for length of new.

(traverse_intervals): New arg ARG.

31 years ago(del_range): Update point before offset_intervals.
Richard M. Stallman [Mon, 1 Mar 1993 08:55:35 +0000 (08:55 +0000)]
(del_range): Update point before offset_intervals.

31 years ago(emacs, temacs): Add @true to prevent Make confusion.
Richard M. Stallman [Sun, 28 Feb 1993 22:29:46 +0000 (22:29 +0000)]
(emacs, temacs): Add @true to prevent Make confusion.

31 years agoError if company name is more than one word.
Richard M. Stallman [Sat, 27 Feb 1993 21:56:28 +0000 (21:56 +0000)]
Error if company name is more than one word.

If $os is `sunos...', don't change it to manufacturer's name.

31 years ago(syms_of_keyboard): Doc fix.
Richard M. Stallman [Fri, 26 Feb 1993 21:09:25 +0000 (21:09 +0000)]
(syms_of_keyboard): Doc fix.

31 years ago(walk-windows): Doc fix.
Richard M. Stallman [Fri, 26 Feb 1993 06:28:04 +0000 (06:28 +0000)]
(walk-windows): Doc fix.

31 years ago(traverse_intervals): New arg ARG.
Richard M. Stallman [Thu, 25 Feb 1993 20:24:43 +0000 (20:24 +0000)]
(traverse_intervals): New arg ARG.

31 years ago(mark_interval): Add ignored arg.
Richard M. Stallman [Thu, 25 Feb 1993 20:24:25 +0000 (20:24 +0000)]
(mark_interval): Add ignored arg.
(mark_interval_tree): Pass new arg to traverse_intervals.

31 years ago(add-change-log-entry): Find end of first paragraph from after the header line.
Richard M. Stallman [Thu, 25 Feb 1993 20:23:59 +0000 (20:23 +0000)]
(add-change-log-entry): Find end of first paragraph from after the header line.

31 years ago(point-to-register): Make arg ARG optional.
Richard M. Stallman [Thu, 25 Feb 1993 06:39:57 +0000 (06:39 +0000)]
(point-to-register): Make arg ARG optional.
(window-configuration-to-register): Likewise.
(frame-configuration-to-register): Likewise.

31 years ago* term/x-win.el (scroll-bar-mode, scroll-bar-mode): Move these
Jim Blandy [Thu, 25 Feb 1993 00:38:55 +0000 (00:38 +0000)]
* term/x-win.el (scroll-bar-mode, scroll-bar-mode): Move these
functions to scrolbar.el.
* scrollbar.el (scroll-bar-mode, scroll-bar-mode): Here they are.
Make scroll-bar-mode set the {vertical,horizontal}-scrollbars
parameters in default-frame-alist, and modify all extant screens
using the correct parameter names.

31 years ago(Ferase_buffer): Added interactive spec.
Roland McGrath [Wed, 24 Feb 1993 23:37:46 +0000 (23:37 +0000)]
(Ferase_buffer): Added interactive spec.

31 years ago(syms_of_buffer): Doc fix.
Richard M. Stallman [Wed, 24 Feb 1993 23:20:51 +0000 (23:20 +0000)]
(syms_of_buffer): Doc fix.

31 years ago(vc-find-file-hook): Discard vc status of file
Richard M. Stallman [Wed, 24 Feb 1993 18:07:12 +0000 (18:07 +0000)]
(vc-find-file-hook): Discard vc status of file
if we will actually have to create the buffer.

31 years agoFormerly PROBLEMS.~3~
Richard M. Stallman [Wed, 24 Feb 1993 18:02:05 +0000 (18:02 +0000)]
Formerly PROBLEMS.~3~

31 years agoFormerly PROBLEMS.~2~
Richard M. Stallman [Wed, 24 Feb 1993 17:56:09 +0000 (17:56 +0000)]
Formerly PROBLEMS.~2~

31 years ago(syms_of_cmds): New var `overwrite-binary-mode'.
Richard M. Stallman [Wed, 24 Feb 1993 08:59:25 +0000 (08:59 +0000)]
(syms_of_cmds): New var `overwrite-binary-mode'.
(internal_self_insert): Handle that var.

31 years ago(read_avail_input): Args to `kill' were backwards.
Richard M. Stallman [Tue, 23 Feb 1993 18:49:33 +0000 (18:49 +0000)]
(read_avail_input): Args to `kill' were backwards.

31 years agoFix the fix.
Jim Blandy [Tue, 23 Feb 1993 14:23:06 +0000 (14:23 +0000)]
Fix the fix.

31 years ago* emacs.c (fatal_error_signal): Unblock the signal before we try
Jim Blandy [Tue, 23 Feb 1993 14:18:00 +0000 (14:18 +0000)]
* emacs.c (fatal_error_signal): Unblock the signal before we try
to deliver it to ourselves. #include "syssignal.h" to get the
right definitions.

31 years ago* abbrev.c (Fexpand_abbrev): Only copy the text we're going to
Jim Blandy [Tue, 23 Feb 1993 14:17:11 +0000 (14:17 +0000)]
* abbrev.c (Fexpand_abbrev): Only copy the text we're going to
expand - from wordstart to wordend, not from wordstart to point -
into the buffer.  There might be non-word text between wordend and
point.

31 years ago* .gdbinit (xprocess): New command.
Jim Blandy [Tue, 23 Feb 1993 14:14:19 +0000 (14:14 +0000)]
* .gdbinit (xprocess): New command.

31 years ago* make-dist: Only copy gmalloc.c if we couldn't link it.
Jim Blandy [Tue, 23 Feb 1993 14:13:27 +0000 (14:13 +0000)]
* make-dist: Only copy gmalloc.c if we couldn't link it.
Don't try to copy man/{README,Makefile} unless they actually exist.

31 years agoRemoved assigment to foo in byte-compile-lambda.
Jim Blandy [Tue, 23 Feb 1993 13:21:13 +0000 (13:21 +0000)]
Removed assigment to foo in byte-compile-lambda.

31 years ago* Makefile.in (lisppath): Don't include externallispdir in this.
Jim Blandy [Tue, 23 Feb 1993 11:55:05 +0000 (11:55 +0000)]
* Makefile.in (lisppath): Don't include externallispdir in this.
We're not sure whether we're even going to distribute the
directory yet.

31 years ago* alloc.c (make_pure_float): Assure that PUREBEG + pureptr is
Jim Blandy [Tue, 23 Feb 1993 11:49:39 +0000 (11:49 +0000)]
* alloc.c (make_pure_float): Assure that PUREBEG + pureptr is
aligned, not pureptr itself.

31 years ago(C_entries): Don't reset definedef when a newline inside a comment is met.
Richard M. Stallman [Tue, 23 Feb 1993 07:27:39 +0000 (07:27 +0000)]
(C_entries): Don't reset definedef when a newline inside a comment is met.

31 years ago(Fforward_comment): New function.
Richard M. Stallman [Tue, 23 Feb 1993 05:49:12 +0000 (05:49 +0000)]
(Fforward_comment): New function.
(adjust_lnnoptrs): Handle symentry.n_type == 0x2400.
(make_hdr) [USG_SHARED_LIBRARIES]: Set bias using bss_start.

31 years ago* alloc.c (make_pure_float): Align pureptr according to __alignof,
Jim Blandy [Mon, 22 Feb 1993 16:21:17 +0000 (16:21 +0000)]
* alloc.c (make_pure_float): Align pureptr according to __alignof,
if it's available, or sizeof (struct Lisp_Float) if it's not.

31 years ago* xterm.c (XTread_socket): Pass the proper number of arguments to
Jim Blandy [Mon, 22 Feb 1993 15:10:46 +0000 (15:10 +0000)]
* xterm.c (XTread_socket): Pass the proper number of arguments to
construct_mouse_click.

31 years ago* xrdb.c (getuid): Remove declaration.
Jim Blandy [Mon, 22 Feb 1993 15:10:16 +0000 (15:10 +0000)]
* xrdb.c (getuid): Remove declaration.

31 years ago* minibuf.c (Fdisplay_completion_list): Pass the proper number of
Jim Blandy [Mon, 22 Feb 1993 15:09:33 +0000 (15:09 +0000)]
* minibuf.c (Fdisplay_completion_list): Pass the proper number of
arguments to Flength.
* xmenu.c (list_of_items): Same.

31 years ago* xfns.c (x_set_icon_type): Pass the proper number of arguments to
Jim Blandy [Mon, 22 Feb 1993 15:08:57 +0000 (15:08 +0000)]
* xfns.c (x_set_icon_type): Pass the proper number of arguments to
x_bitmap_icon.

31 years ago* keyboard.c (recursive_edit_1, command_loop_1): Pass the proper
Jim Blandy [Mon, 22 Feb 1993 14:53:13 +0000 (14:53 +0000)]
* keyboard.c (recursive_edit_1, command_loop_1): Pass the proper
number of arguments to unbind_to.
* lread.c (Feval_buffer): Same.
* window.c (Fscroll_other_window): Same.

* window.c (Fset_window_configuration): Pass the proper number of
arguments to Fselect_frame.

31 years ago* textprop.c (Fget_text_property): Fix typo in function's declaration.
Jim Blandy [Mon, 22 Feb 1993 14:52:32 +0000 (14:52 +0000)]
* textprop.c (Fget_text_property): Fix typo in function's declaration.

* keyboard.c (Fread_key_sequence): Backslash the newlines in this
docstring.
* textprop.c (Fget_text_property): Same.

31 years ago* systty.h [HAVE_TERMIOS]: Include fcntl.h.
Jim Blandy [Mon, 22 Feb 1993 14:51:39 +0000 (14:51 +0000)]
* systty.h [HAVE_TERMIOS]: Include fcntl.h.

31 years ago* systime.h [_AIX]: Move test outside of previous #if.
Jim Blandy [Mon, 22 Feb 1993 14:51:13 +0000 (14:51 +0000)]
* systime.h [_AIX]: Move test outside of previous #if.
(EMACS_GET_TZ_OFFSET) [USG]: Don't declare twice.  Prefer tzset.

31 years ago* sysdep.c (child_setup_tty): Recognize HAVE_TERMIOS as well as
Jim Blandy [Mon, 22 Feb 1993 14:50:42 +0000 (14:50 +0000)]
* sysdep.c (child_setup_tty): Recognize HAVE_TERMIOS as well as
HAVE_TERMIO.

31 years ago* callint.c (Fcall_interactively): Pass the correct number of
Jim Blandy [Mon, 22 Feb 1993 14:48:45 +0000 (14:48 +0000)]
* callint.c (Fcall_interactively): Pass the correct number of
arguments to wrong_type_argument.
* casefiddle.c (caseify_object): Same.
* casetab.c (check_case_table): Same.
* search.c (Fstore_match_data): Same.
* syntax.c (check_syntax_table): Same.

31 years ago* process.c: Make sure we don't miss processes exiting, by having
Jim Blandy [Mon, 22 Feb 1993 14:47:53 +0000 (14:47 +0000)]
* process.c: Make sure we don't miss processes exiting, by having
the sigchld handler clear *input_available_clear_time.
(wait_reading_process_input): Check for process activity after
setting the timeout and calling set_waiting_for_input.
(sigchld_handler): If the process which has exited is one we care
about, clear *input_available_clear_time.

* process.c (process_send_signal): Use TERMIOS functions in
preference to BSD ioctls.  Some systems attempt to provide the BSD
functions for backward compatibility, and get it wrong.

31 years ago* keyboard.c (recursive_edit_1, command_loop_1): Pass the proper
Jim Blandy [Mon, 22 Feb 1993 14:46:31 +0000 (14:46 +0000)]
* keyboard.c (recursive_edit_1, command_loop_1): Pass the proper
number of arguments to unbind_to.
* lread.c (Feval_buffer): Same.
* window.c (Fscroll_other_window): Same.

31 years ago* data.c (Fstring_to_int): Rename this to Fstring_to_number, since
Jim Blandy [Mon, 22 Feb 1993 14:45:23 +0000 (14:45 +0000)]
* data.c (Fstring_to_int): Rename this to Fstring_to_number, since
it parses floats as well as integers.  Fix docstring.
(syms_of_data): Fix defsubr.
(wrong_type_argument): Change use.
(Fint_to_string): Doc fix.
* lisp.h (Fstring_to_int): Change extern declaration.

31 years ago* keymap.c (Fdescribe_vector): Pass the proper number of arguments
Jim Blandy [Mon, 22 Feb 1993 14:44:52 +0000 (14:44 +0000)]
* keymap.c (Fdescribe_vector): Pass the proper number of arguments
to describe_vector.
* syntax.c (describe_syntax_1): Same.

31 years ago* keyboard.c (init_keyboard): Recognize HAVE_TERMIOS as well as
Jim Blandy [Mon, 22 Feb 1993 14:43:44 +0000 (14:43 +0000)]
* keyboard.c (init_keyboard): Recognize HAVE_TERMIOS as well as
HAVE_TERMIO.

* keyboard.c (echo_char): Apply XINT to c before passing it to
push_key_description.

* keyboard.c (recursive_edit_1, command_loop_1): Pass the proper
number of arguments to unbind_to.
* lread.c (Feval_buffer): Same.
* window.c (Fscroll_other_window): Same.

* keyboard.c (command_loop_1): Apply XINT to c before passing it
to internal_self_insert and direct_output_for_insert.

* keyboard.c (make_lispy_movement): Rename the variable `part'
declared in the block handling scrollbar movement to `part_sym',
to avoid potential conflicts with the argument named `part'.
Apparently the semantics of expressions like this are unclear.

* keyboard.c (Fread_key_sequence): Backslash the newlines in this
docstring.
* textprop.c (Fget_text_property): Same.

31 years ago* frame.c (Fselect_frame): Set Vlast_event_frame to Qnil after
Jim Blandy [Mon, 22 Feb 1993 14:42:38 +0000 (14:42 +0000)]
* frame.c (Fselect_frame): Set Vlast_event_frame to Qnil after
switching frames, to make sure we'll get a switch-frame event.
(Vlast_event_frame): Add external declaration for this here.

* frame.c (Fdelete_frame): If FRAME is a dead frame, return Qnil,
not nothing.

31 years ago* fns.c (Fequal): Call internal_equal to recurse on elements of
Jim Blandy [Mon, 22 Feb 1993 14:41:57 +0000 (14:41 +0000)]
* fns.c (Fequal): Call internal_equal to recurse on elements of
lists and vectors, not Fequal.

31 years ago* floatfns.c (Flogb): Always implement this by calling Flog, even
Jim Blandy [Mon, 22 Feb 1993 14:41:26 +0000 (14:41 +0000)]
* floatfns.c (Flogb): Always implement this by calling Flog, even
on non-USG systems, which supposedly have a logb function.
(Fround): Always implement this by calling floor, even on systems
that have rint.

* floatfns.c (IN_FLOAT): Make this work properly when SIGTYPE is void.

31 years ago* callproc.c (init_callproc): Move the initialization of
Jim Blandy [Mon, 22 Feb 1993 14:40:34 +0000 (14:40 +0000)]
* callproc.c (init_callproc): Move the initialization of
Vprocess_environment to its own function.
(set_process_environment): This is that.
* emacs.c (main): Call set_process_environment earlier than
init_callproc.

31 years ago* editfns.c (Fmessage): Don't forget to return a value when
Jim Blandy [Mon, 22 Feb 1993 14:38:43 +0000 (14:38 +0000)]
* editfns.c (Fmessage): Don't forget to return a value when
args[0] == Qnil.

31 years ago* dispnew.c (sit_for): Pass the correct number of arguments to
Jim Blandy [Mon, 22 Feb 1993 14:38:10 +0000 (14:38 +0000)]
* dispnew.c (sit_for): Pass the correct number of arguments to
gobble_input.

31 years ago* data.c (Fstring_to_number): Skip initial spaces, to make Emacs
Jim Blandy [Mon, 22 Feb 1993 14:27:14 +0000 (14:27 +0000)]
* data.c (Fstring_to_number): Skip initial spaces, to make Emacs
lisp parse consistently on different operating systems.
#include <ctype.h> to help with this.

* data.c (Fstring_to_int): Rename this to Fstring_to_number, since
it parses floats as well as integers.  Fix docstring.
(syms_of_data): Fix defsubr.
(wrong_type_argument): Change use.
(Fint_to_string): Doc fix.
* lisp.h (Fstring_to_int): Change extern declaration.

* data.c (wrong_type_argument): Pass the correct number of
arguments to Fstring_to_int.

* data.c (arithcompare): Add a default case which aborts, just to
make me happy.

31 years ago* config.h.in: #define USE_TEXT_PROPERTIES by default.
Jim Blandy [Mon, 22 Feb 1993 14:26:51 +0000 (14:26 +0000)]
* config.h.in: #define USE_TEXT_PROPERTIES by default.

* config.h.in (HAVE_CONST): New macro.  If it's not #defined, #define
const to be the empty string.

* config.h.in: If we're not __STDC__, define volatile to be the
empty string.

31 years ago* callproc.c (delete_temp_file): Declare this to return
Jim Blandy [Mon, 22 Feb 1993 14:24:42 +0000 (14:24 +0000)]
* callproc.c (delete_temp_file): Declare this to return
Lisp_Object, to smooth type-checking.

* callproc.c (init_callproc): Move the initialization of
Vprocess_environment to its own function.
(set_process_environment): This is that.
* emacs.c (main): Call set_process_environment earlier than
init_callproc.

31 years ago* bytecode.c (Fbyte_code): Pass the correct number of arguments to
Jim Blandy [Mon, 22 Feb 1993 14:23:26 +0000 (14:23 +0000)]
* bytecode.c (Fbyte_code): Pass the correct number of arguments to
temp_output_buffer_show.

31 years ago* buffer.h: Remove code which #includes "undo.h" if lint is
Jim Blandy [Mon, 22 Feb 1993 14:23:02 +0000 (14:23 +0000)]
* buffer.h: Remove code which #includes "undo.h" if lint is
defined.  undo.h no longer exists.

31 years ago* buffer.c (Fswitch_to_buffer): Pass the correct number of
Jim Blandy [Mon, 22 Feb 1993 14:22:37 +0000 (14:22 +0000)]
* buffer.c (Fswitch_to_buffer): Pass the correct number of
arguments to Fnext_window.

* buffer.c (Fbury_buffer): Pass the correct number of arguments to
Fother_buffer.

* buffer.c (buffer_slot_type_mismatch): Make symbol_name an
unsigned char *, to match the type of a string's data.

31 years ago* alloc.c (make_pure_float): Align pureptr on a sizeof (double)
Jim Blandy [Mon, 22 Feb 1993 14:22:03 +0000 (14:22 +0000)]
* alloc.c (make_pure_float): Align pureptr on a sizeof (double)
boundary before allocating the float.

* alloc.c: Add description lines to the top of each page.

* alloc.c (mark_interval_tree): Remove spurious & in front of
function name.

* alloc.c (UNMARK_BALANCE_INTERVALS): Fix to accomodate compilers
other than GCC, which do not allow casts on the LHS of an
assignment.

* alloc.c (mark_object, mark_buffer): Remove some unused
variables.

31 years ago* aix3-1.h: Changes from 18.58.
Jim Blandy [Mon, 22 Feb 1993 14:21:19 +0000 (14:21 +0000)]
* aix3-1.h: Changes from 18.58.
(HAVE_TERMIOS): Changed from HAVE_TERMIO.
(unix): Define.

31 years ago* ibmrs6000.h (C_ALLOCA, STACK_DIRECTION): Only define if HAVE_ALLOCA
Jim Blandy [Mon, 22 Feb 1993 14:20:51 +0000 (14:20 +0000)]
* ibmrs6000.h (C_ALLOCA, STACK_DIRECTION): Only define if HAVE_ALLOCA
is not defined.
(X_DEFAULT_FONT): Change to `fixed', as `Rom14.500' only works on the
console.

31 years ago* files.el (revert-buffer): Reverse the sense of the first
Jim Blandy [Mon, 22 Feb 1993 14:17:16 +0000 (14:17 +0000)]
* files.el (revert-buffer): Reverse the sense of the first
argument, but leave interactive usage the same.
* vc.el (vc-resynch-window): Call vc-revert-buffer1 with the newly
appropriate arguments.  This seems to be the only file which was
adjusted for the new meaning of the revert-buffer arguments.

31 years ago* two-column.el: Add autoloads for the functions defined in
Jim Blandy [Mon, 22 Feb 1993 14:16:48 +0000 (14:16 +0000)]
* two-column.el: Add autoloads for the functions defined in
tc-mode-map.

31 years ago* subr.el (string-to-int): Make this an alias for
Jim Blandy [Mon, 22 Feb 1993 14:16:25 +0000 (14:16 +0000)]
* subr.el (string-to-int): Make this an alias for
string-to-number.

31 years ago* gud.el (gud-break): With a prefix argument, set a temporary
Jim Blandy [Mon, 22 Feb 1993 14:15:34 +0000 (14:15 +0000)]
* gud.el (gud-break): With a prefix argument, set a temporary
breakpoint.
(gud-apply-from-source): New argument ARGS, to pass to FUNC.  Now
it's really like `apply'.
(gud-set-break): Add another argument to this method.
Document it in the section describing how the methods are supposed
to be used.
(gud-gdb-set-break): New argument TEMP; if non-nil, set a
temporary breakpoint.
(gud-sdb-set-break, gud-dbx-set-break): New argument TEMP.  Ignore
it, since I don't know how to set a temporary breakpoint in these
debuggers.

* gud.el (gud-break): With a prefix argument, set a temporary
breakpoint.
(gud-apply-from-source): New argument ARGS, to pass to FUNC.  Now
it's really like `apply'.
(gud-set-break): Add another argument to this method.
Document it in the section describing how the methods are supposed
to be used.
(gud-gdb-set-break): New argument TEMP; if non-nil, set a
temporary breakpoint.
(gud-sdb-set-break, gud-dbx-set-break): New argument TEMP.  Ignore
it, since I don't know how to set a temporary breakpoint in these
debuggers.

31 years ago* make-dist: Don't distribute the external-lisp directory anymore.
Jim Blandy [Mon, 22 Feb 1993 14:12:29 +0000 (14:12 +0000)]
* make-dist: Don't distribute the external-lisp directory anymore.
* INSTALL: Remove all references to external-lisp.

31 years ago* configure: Detect whether the compiler supports `const'
Jim Blandy [Mon, 22 Feb 1993 14:12:11 +0000 (14:12 +0000)]
* configure: Detect whether the compiler supports `const'
properly, and edit src/config.h accordingly.

* configure: Tweak layout of final report.

31 years ago* Makefile.in (${SUBDIR}): Pass CONFIG_CFLAGS to the submakes, not
Jim Blandy [Mon, 22 Feb 1993 14:11:28 +0000 (14:11 +0000)]
* Makefile.in (${SUBDIR}): Pass CONFIG_CFLAGS to the submakes, not
CFLAGS.

* Makefile.in (locallisppath): Make this default to
${datadir}/emacs/site-lisp, instead of
${datadir}/emacs/local-lisp.  ${datadir} and ${statedir} are often
the same thing, and local-lisp causes completion conflicts with
lock.
(lisppath): Add ${externallispdir} to this.
* INSTALL: Adjust installation directions.

* Makefile.in (externallispdir): New variable, to say where to
install the externally-maintained lisp files.
(COPYDIR, COPYDESTS): Copy the external lisp directory just like
the others.
* INSTALL: Describe external-lisp and the new externallispdir
variable.