bpt/emacs.git
31 years ago(Fx_pixel_width, Fx_pixel_height): Fns deleted.
Richard M. Stallman [Mon, 8 Mar 1993 08:07:52 +0000 (08:07 +0000)]
(Fx_pixel_width, Fx_pixel_height): Fns deleted.
(syms_of_xfns): Don't install them.
(x_user_set_name): Function deleted.
(x_char_height, x_char_width): New functions.

31 years agoentered into RCS
Richard M. Stallman [Mon, 8 Mar 1993 07:44:39 +0000 (07:44 +0000)]
entered into RCS

31 years ago(copy_rope): Expect FROM to be a vector.
Richard M. Stallman [Mon, 8 Mar 1993 06:37:04 +0000 (06:37 +0000)]
(copy_rope): Expect FROM to be a vector.
(copy_part_of_rope): New function.
(display_string): Expect display table elts to be vectors.

31 years ago(XTread_socket):
Richard M. Stallman [Mon, 8 Mar 1993 05:38:53 +0000 (05:38 +0000)]
(XTread_socket):
Don't reverse the chars that XLookupString returns.  Use all of them.
Save last 100 chars and keysyms in temp_buffer.

31 years ago(event-basic-type): New function.
Richard M. Stallman [Mon, 8 Mar 1993 00:07:53 +0000 (00:07 +0000)]
(event-basic-type): New function.

31 years agoDeclare Qcategory, Qlocal_map. Declare textget, get_local_map.
Richard M. Stallman [Sun, 7 Mar 1993 23:45:23 +0000 (23:45 +0000)]
Declare Qcategory, Qlocal_map.  Declare textget, get_local_map.

31 years agoInclude intervals.h.
Richard M. Stallman [Sun, 7 Mar 1993 23:43:52 +0000 (23:43 +0000)]
Include intervals.h.
(read_key_sequence): Use get_local_map.

31 years ago(syms_of_buffer): Make erase-buffer a disabled command.
Roland McGrath [Sun, 7 Mar 1993 23:41:34 +0000 (23:41 +0000)]
(syms_of_buffer): Make erase-buffer a disabled command.

31 years agoInclude termhooks.h.
Richard M. Stallman [Sun, 7 Mar 1993 23:32:54 +0000 (23:32 +0000)]
Include termhooks.h.
(push_key_description): Handle all modifiers.
Handle large character codes.
(Fkey_description): Move the meta bit, if arg is string.
(Fsingle_key_description): Don't alter integer value.
Make tem long enough.

(Flookup_key): Use meta_modifier as meta-bit if from vector.
(Fdefine_key): Likewise.

31 years ago(Fget_text_property): Use textget.
Richard M. Stallman [Sun, 7 Mar 1993 23:30:01 +0000 (23:30 +0000)]
(Fget_text_property): Use textget.
(Fnext_single_property_change): Likewise.
(Fprevious_single_property_change): Likewise.

(syms_of_textprop): Set up Qcategory, Qlocal_map.

31 years ago*** empty log message ***
Richard M. Stallman [Sun, 7 Mar 1993 20:57:30 +0000 (20:57 +0000)]
*** empty log message ***

31 years ago(read_key_sequence):
Richard M. Stallman [Sun, 7 Mar 1993 20:18:52 +0000 (20:18 +0000)]
(read_key_sequence):
Use meta_modifier for meta keys when handling function_key_map.

31 years ago(isearch-other-meta-char): Call listify-key-sequence.
Richard M. Stallman [Sun, 7 Mar 1993 20:17:27 +0000 (20:17 +0000)]
(isearch-other-meta-char): Call listify-key-sequence.
(isearch-unread): Don't call it here.
(isearch-mode-map): Bind the ASCII-equivalent function keys.

31 years ago(vc-update-change-log): Check that ChangeLog is writable
Paul Eggert [Sun, 7 Mar 1993 18:20:54 +0000 (18:20 +0000)]
(vc-update-change-log): Check that ChangeLog is writable
before starting the expensive rcs2log process.
Use call-process instead of shell-command to invoke rcs2log;
this avoids undesired shell escapes and is more robust about errors.
Put mark at point-min, so that the new insertion is in the region.
(vc-checkin-hook): Fix `runs-hooks' typo.
(vc-checkout-writeable-buffer-hook): New var.
(vc-next-action): Fix bug: initial checkin was botched when C-x v v
was applied to a new file while vc-initial-comment was non-nil.
(vc-register): Don't barf when registering a new, empty buffer.
(vc-directory): The `No files are currently registered'
message was wrongly worded, because sometimes the message talks
about locked files, not registered files.
(vc-file-tree-walk): Change (apply 'funcall ...) to (apply
...), since the 'funcall is redundant.
When traversing a directory tree, message
"Traversing directory XXX" so that the user can see what progress is
being made.  Traversal can take a long time.  Omit first argument,
since it is always the current directory.  All callers changed.
(vc-file-tree-walk-internal): New function.
(vc-do-command, vc-diff, vc-version-diff, vc-backend-diff):
Remove redundant calls to `format'.
(vc-diff): Remove unused variable `old'.
(vc-version-diff): When recursively generating a difference
listing, don't append the latest output unless diff was actually run;
otherwise, you'll get the output from the previous file by mistake.

31 years ago(Qmodification_hooks): Renamed from Qmodification.
Richard M. Stallman [Sun, 7 Mar 1993 09:35:31 +0000 (09:35 +0000)]
(Qmodification_hooks): Renamed from Qmodification.
(syms_of_textprop): Changed accordingly.

31 years ago(verify_interval_modification): Handle insertions
Richard M. Stallman [Sun, 7 Mar 1993 09:34:39 +0000 (09:34 +0000)]
(verify_interval_modification): Handle insertions
specially.  For non-insertions, check only the chars being changed.
`modification-hooks' property is now a list of functions.
(set_point): Ignore chars outside current restriction.

31 years ago(struct buffer): New field mark_active.
Richard M. Stallman [Sun, 7 Mar 1993 09:33:43 +0000 (09:33 +0000)]
(struct buffer): New field mark_active.

31 years ago(prepare_to_modify_buffer): Set Vdeactivate_mark.
Richard M. Stallman [Sun, 7 Mar 1993 09:33:13 +0000 (09:33 +0000)]
(prepare_to_modify_buffer): Set Vdeactivate_mark.

31 years ago(save_excursion_save): Save mark_active of buffer.
Richard M. Stallman [Sun, 7 Mar 1993 09:32:22 +0000 (09:32 +0000)]
(save_excursion_save): Save mark_active of buffer.
(save_excursion_restore): Restore mark_active of buffer.
Run activate-mark-hook if it's on, or deactivate-mark-hook if it turns off.
(region_limit): Error if mark inactive, if transient-mark-mode.

31 years ago(check_mark): Error if mark is not active.
Richard M. Stallman [Sun, 7 Mar 1993 09:31:37 +0000 (09:31 +0000)]
(check_mark): Error if mark is not active.

31 years ago(x_alt_mod_mask, x_super_mod_mask, x_hyper_mod_mask): New variables.
Richard M. Stallman [Sun, 7 Mar 1993 09:30:31 +0000 (09:30 +0000)]
(x_alt_mod_mask, x_super_mod_mask, x_hyper_mod_mask): New variables.
(x_find_modifier_meanings): Set them.
(x_convert_modifiers): Check for them.
(XTread_socket): Handle BackSpace, etc, function keys.

31 years ago(alt_modifier, super_modifier, hyper_modifier):
Richard M. Stallman [Sun, 7 Mar 1993 09:29:36 +0000 (09:29 +0000)]
(alt_modifier, super_modifier, hyper_modifier):
(shift_modifier, ctrl_modifier, meta_modifier):
Renumber the bits.

31 years ago(follow_key): Downcase shift_modifier as well as ASCII.
Richard M. Stallman [Sun, 7 Mar 1993 09:27:28 +0000 (09:27 +0000)]
(follow_key): Downcase shift_modifier as well as ASCII.
(command_loop_1): Run pre-command-hook and post-command-hook.
Set this_command before running pre-command-hook.
(syms_of_keyboard): Set up vars for those hooks.

(syms_of_keyboard): Handle gaps in modifier_names.
(modifier_names): Reorder to match termhooks.h.

(parse_modifiers_uncached): Detect `s-', not `super-'.
(apply_modifiers_uncached): Make `s-', not `super-'.

(lispy_function_keys): Add codes starting at 0xff00
and running through 0xffff.

(read_char): Move metabit when fetching from string macro.

(command_loop_1): Clear Vdeactivate_mark before cmd.
Clear mark_active if command set Vdeactivate_mark.
Run deactivate-mark-hook at that time, or activate-mark-hook.
(syms_of_keyboard): Define variable deactivate-mark.

(syms_of_keyboard): New lisp var unread-command-char.
(Finput_pending_p): Test unread_command_char.
(Fdiscard_input, quit_throw_to_read_char, init_keyboard): Set it.
(read_char): Fetch from it.

(Fthis_command_keys, Fread_key_sequence):
Fix calls to make_event_array.

(make_lispy_event): Put meta and shift modifiers
into an integer.
(read_avail_input): Set the modifiers field in the events read.
(kbd_buffer_get_event): Pass thru integer event untruncated.
(read_char): Likewise.
(read_key_sequence, read_char): Only -1 means EOF.
(kbd_buffer_store_event): Don't ignore 0200 bit in quit char.
(follow_key): Use new meta bit flag.

31 years ago(syms_of_lread): Set up Qascii_character.
Richard M. Stallman [Sun, 7 Mar 1993 09:25:28 +0000 (09:25 +0000)]
(syms_of_lread): Set up Qascii_character.
(Fread_char, Fread_char_exclusive): Use that property
to convert symbols like tab, return, M-return,... to ASCII.

Include termhooks.h.
(read_escape): Handle \H, \A, \s.  Use ..._modifier.

31 years ago(reset_buffer_local_variables): Reset mark_active.
Richard M. Stallman [Sun, 7 Mar 1993 09:24:18 +0000 (09:24 +0000)]
(reset_buffer_local_variables): Reset mark_active.

(syms_of_buffer): New buffer-local var `mark-active'.
(init_buffer_once): Initialize mechanism for it.

31 years ago(isearch-mode): Don't make a pre-command-hook.
Richard M. Stallman [Sun, 7 Mar 1993 08:43:57 +0000 (08:43 +0000)]
(isearch-mode): Don't make a pre-command-hook.

31 years ago(vc-revert-buffer1): Use mark-marker; don't alter mark-active.
Richard M. Stallman [Sun, 7 Mar 1993 07:44:46 +0000 (07:44 +0000)]
(vc-revert-buffer1): Use mark-marker; don't alter mark-active.

31 years ago(event-modifiers): New function.
Richard M. Stallman [Sun, 7 Mar 1993 07:35:57 +0000 (07:35 +0000)]
(event-modifiers): New function.
(eventp): New function.

31 years ago*** empty log message ***
Richard M. Stallman [Sun, 7 Mar 1993 07:32:47 +0000 (07:32 +0000)]
*** empty log message ***

31 years ago(Info-insert-dir): Fix typo.
Richard M. Stallman [Sun, 7 Mar 1993 04:25:47 +0000 (04:25 +0000)]
(Info-insert-dir): Fix typo.

31 years ago(function-key-map): Map key symbols backspace, return... into ASCII chars.
Richard M. Stallman [Sun, 7 Mar 1993 04:22:37 +0000 (04:22 +0000)]
(function-key-map): Map key symbols backspace, return... into ASCII chars.

31 years ago(Info-forward-node): Properly go to first menu item.
Richard M. Stallman [Sun, 7 Mar 1993 04:22:15 +0000 (04:22 +0000)]
(Info-forward-node): Properly go to first menu item.
(Info-insert-dir): Bind temp wider, around use.

31 years ago(isearch-unread): Find last list element by hand.
Richard M. Stallman [Sun, 7 Mar 1993 04:22:00 +0000 (04:22 +0000)]
(isearch-unread): Find last list element by hand.

31 years agoInitial revision
Richard M. Stallman [Sun, 7 Mar 1993 04:10:02 +0000 (04:10 +0000)]
Initial revision

31 years ago(momentary-string-display): Handle any event when flushing the display.
Richard M. Stallman [Sat, 6 Mar 1993 06:16:06 +0000 (06:16 +0000)]
(momentary-string-display): Handle any event when flushing the display.

31 years ago(Info-summary): Handle any event when flushing the display.
Richard M. Stallman [Sat, 6 Mar 1993 06:15:39 +0000 (06:15 +0000)]
(Info-summary): Handle any event when flushing the display.

31 years ago(isearch-unread): Handle multiple args.
Richard M. Stallman [Sat, 6 Mar 1993 06:15:05 +0000 (06:15 +0000)]
(isearch-unread): Handle multiple args.
For Emacs 19, use listify-key-sequence.
If not Emacs 19, assume they are a meta sequence.
(isearch-other-meta-char): Pass the whole key sequence.
(isearch-other-control-char): Make this alias for ...-meta-char.

31 years ago(te-escape-extended-command-unread): Handle any key sequence.
Richard M. Stallman [Sat, 6 Mar 1993 06:13:50 +0000 (06:13 +0000)]
(te-escape-extended-command-unread): Handle any key sequence.

31 years ago(emerge-show-file-name): Handle any kind of event.
Richard M. Stallman [Sat, 6 Mar 1993 06:10:05 +0000 (06:10 +0000)]
(emerge-show-file-name): Handle any kind of event.

31 years ago(fortran-abbrev-start): Handle any kind of event.
Richard M. Stallman [Sat, 6 Mar 1993 06:08:40 +0000 (06:08 +0000)]
(fortran-abbrev-start): Handle any kind of event.
(fortran-window-create-momentarily): Likewise.

31 years ago(electric-help-command-loop): Handle any kind of event.
Richard M. Stallman [Sat, 6 Mar 1993 06:06:10 +0000 (06:06 +0000)]
(electric-help-command-loop): Handle any kind of event.

31 years ago(electric-buffer-list): Handle any kind of event.
Richard M. Stallman [Sat, 6 Mar 1993 06:05:12 +0000 (06:05 +0000)]
(electric-buffer-list): Handle any kind of event.
(Electric-buffer-menu-exit): Handle any key sequence.

31 years agoFix bug in previous change.
Richard M. Stallman [Sat, 6 Mar 1993 06:03:19 +0000 (06:03 +0000)]
Fix bug in previous change.

31 years ago(simula-electric-label): Handle any event when flushing the display.
Richard M. Stallman [Sat, 6 Mar 1993 06:01:29 +0000 (06:01 +0000)]
(simula-electric-label): Handle any event when flushing the display.

31 years ago(prefix-arg-internal): Use listify-key-sequence.
Richard M. Stallman [Sat, 6 Mar 1993 05:56:36 +0000 (05:56 +0000)]
(prefix-arg-internal): Use listify-key-sequence.

31 years ago(comint-dynamic-list-completions): Handle any event when flushing the display.
Richard M. Stallman [Sat, 6 Mar 1993 05:56:08 +0000 (05:56 +0000)]
(comint-dynamic-list-completions): Handle any event when flushing the display.

31 years ago(listify-key-sequence): New function.
Richard M. Stallman [Sat, 6 Mar 1993 05:54:29 +0000 (05:54 +0000)]
(listify-key-sequence): New function.

31 years ago(check_protected_fields): Variable deleted.
Richard M. Stallman [Sat, 6 Mar 1993 02:59:13 +0000 (02:59 +0000)]
(check_protected_fields): Variable deleted.
(syms_of_buffer): Delete vars buffer-field-list and check-protected-fields.

31 years ago(check_protected_fields): Delete decl.
Richard M. Stallman [Sat, 6 Mar 1993 02:58:49 +0000 (02:58 +0000)]
(check_protected_fields): Delete decl.

31 years ago(read_escape): Handle M-, C- and S- for new convention.
Richard M. Stallman [Fri, 5 Mar 1993 23:57:00 +0000 (23:57 +0000)]
(read_escape): Handle M-, C- and S- for new convention.
(read1): Move the meta bit to the right place for a string.

31 years ago(current_column, Fmove_to_column, compute_motion):
Richard M. Stallman [Fri, 5 Mar 1993 23:56:43 +0000 (23:56 +0000)]
(current_column, Fmove_to_column, compute_motion):
Expect display table elts to be vectors.

31 years ago(XTread_socket): Set bufp->modifiers for all kinds of keys.
Richard M. Stallman [Fri, 5 Mar 1993 23:56:13 +0000 (23:56 +0000)]
(XTread_socket): Set bufp->modifiers for all kinds of keys.

31 years ago(Fend_kbd_macro): Fix call to make_event_array.
Richard M. Stallman [Fri, 5 Mar 1993 23:55:44 +0000 (23:55 +0000)]
(Fend_kbd_macro): Fix call to make_event_array.

31 years ago(CHAR_META, CHAR_SHIFT, CHAR_CTL): New macros.
Richard M. Stallman [Fri, 5 Mar 1993 23:55:20 +0000 (23:55 +0000)]
(CHAR_META, CHAR_SHIFT, CHAR_CTL): New macros.

31 years ago(Fmake_rope, Frope_elt): Fns deleted.
Richard M. Stallman [Fri, 5 Mar 1993 23:52:49 +0000 (23:52 +0000)]
(Fmake_rope, Frope_elt): Fns deleted.

31 years ago(DISP_INVIS_VECTOR): Renamed from DISP_INVIS_ROPE.
Richard M. Stallman [Fri, 5 Mar 1993 23:52:24 +0000 (23:52 +0000)]
(DISP_INVIS_VECTOR): Renamed from DISP_INVIS_ROPE.
(DISP_CHAR_VECTOR): Renamed from DISP_CHAR_ROPE.
All callers changed.

31 years ago(compare-windows): Use compare-buffer-substrings.
Richard M. Stallman [Fri, 5 Mar 1993 20:37:00 +0000 (20:37 +0000)]
(compare-windows): Use compare-buffer-substrings.

31 years ago(ELF): Handle this parameter.
Richard M. Stallman [Thu, 4 Mar 1993 19:50:30 +0000 (19:50 +0000)]
(ELF): Handle this parameter.
[! COFF] (UNEXEC, USG_SHARED_LIBRARIES): New definitions.
(_BSD_TTY_FLAVOR): Don't define if already defined.
(C_COMPILER, LINKER, MAKE_COMMAND): New definitions.

31 years ago(h8300hds): Change hds to hms.
Steve Chamberlain [Thu, 4 Mar 1993 18:10:15 +0000 (18:10 +0000)]
(h8300hds): Change hds to hms.

31 years ago* Makefile.in (xmakefile): Add missing quote.
Jim Blandy [Thu, 4 Mar 1993 15:16:11 +0000 (15:16 +0000)]
* Makefile.in (xmakefile): Add missing quote.

31 years ago* configure: Handle isc3.0 correctly. This needs a more general
Jim Blandy [Thu, 4 Mar 1993 14:43:09 +0000 (14:43 +0000)]
* configure: Handle isc3.0 correctly.  This needs a more general
fix.

31 years ago(rmail-get-new-mail): Reset read-only after find-file.
Richard M. Stallman [Wed, 3 Mar 1993 20:49:21 +0000 (20:49 +0000)]
(rmail-get-new-mail): Reset read-only after find-file.

31 years ago(unexec): Move data2 section header up so all section
Richard M. Stallman [Wed, 3 Mar 1993 09:03:06 +0000 (09:03 +0000)]
(unexec): Move data2 section header up so all section
headers will be in ascending order.  This will prevent the unexeced
emacs that being processed by other applications (such as strip)
to fail.

Handle rounding of section boundaries.
(round_up): New function.

31 years ago(C_entries): New local variable quotednl. Used for
Richard M. Stallman [Wed, 3 Mar 1993 06:20:12 +0000 (06:20 +0000)]
(C_entries): New local variable quotednl.  Used for
parsing of #define's spanning multiple lines.

(C_entries): Save the definedef status
even when a newline is met inside a string.

31 years ago(write-file): Handle directory name as arg.
Richard M. Stallman [Wed, 3 Mar 1993 05:12:05 +0000 (05:12 +0000)]
(write-file): Handle directory name as arg.

31 years ago(S_IFLNK): Add #undef.
Richard M. Stallman [Tue, 2 Mar 1993 22:25:16 +0000 (22:25 +0000)]
(S_IFLNK): Add #undef.
(C_SWITCH_SYSTEM): Add conditional definition.
(NO_ASM, USE_UTIME, NO_X_DESTROY_DATABASE): Defined.
(LIB_STANDARD): Alternate definition if __GNUC__.
(SIGTSTP): #undef deleted.
(LIBS_SYSTEM): Define only if HAVE_X_WINDOWS.

(USG_SHARED_LIBRARIES, CLASH_DETECTION, NO_FCHMOD): Define.
(HAVE_TIMEVAL): Do not define.
(NO_ASM): Only define once.

31 years agoentered into RCS
Richard M. Stallman [Tue, 2 Mar 1993 22:22:13 +0000 (22:22 +0000)]
entered into RCS

31 years ago(defsetf): Use eval-and-compile for self-update-fn.
Richard M. Stallman [Tue, 2 Mar 1993 19:34:46 +0000 (19:34 +0000)]
(defsetf): Use eval-and-compile for self-update-fn.

31 years ago(add-change-log-entry): Never move past second hdr line.
Richard M. Stallman [Tue, 2 Mar 1993 18:39:39 +0000 (18:39 +0000)]
(add-change-log-entry): Never move past second hdr line.

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.