bpt/emacs.git
30 years ago(generate-file-autoloads): Fix FILE truename hacking to substring
Roland McGrath [Wed, 14 Jul 1993 20:56:19 +0000 (20:56 +0000)]
(generate-file-autoloads): Fix FILE truename hacking to substring
SOURCE-TRUENAME instead of FILE.

30 years ago(Vhelp_menu_bar_map): New var.
Richard M. Stallman [Wed, 14 Jul 1993 16:49:30 +0000 (16:49 +0000)]
(Vhelp_menu_bar_map): New var.
(syms_of_keyboard): Set up Lisp var for it.
(menu_bar_items): Use Vhelp_menu_bar_map.

30 years ago(mark_object) [DEBUG_MOLE]: Add abort at beginning.
Richard M. Stallman [Wed, 14 Jul 1993 16:36:25 +0000 (16:36 +0000)]
(mark_object) [DEBUG_MOLE]: Add abort at beginning.

30 years ago* calendar.el (calendar-holidays): Don't autoload this; its value
Jim Blandy [Wed, 14 Jul 1993 07:24:36 +0000 (07:24 +0000)]
* calendar.el (calendar-holidays): Don't autoload this; its value
must be set after the user's .emacs file is loaded.

30 years agoInitial revision
Jim Blandy [Wed, 14 Jul 1993 06:09:19 +0000 (06:09 +0000)]
Initial revision

30 years ago* config.sub: Add case for Bull dpx/2.
Jim Blandy [Wed, 14 Jul 1993 04:52:50 +0000 (04:52 +0000)]
* config.sub: Add case for Bull dpx/2.

30 years ago(copy-face): New arg NEW-FRAME.
Richard M. Stallman [Tue, 13 Jul 1993 22:05:13 +0000 (22:05 +0000)]
(copy-face): New arg NEW-FRAME.
(list-faces-display): New command.

30 years ago(completion-mode): New major mode.
Richard M. Stallman [Tue, 13 Jul 1993 21:34:05 +0000 (21:34 +0000)]
(completion-mode): New major mode.
(completion-setup-function): New function.
Add it to completion-setup-hook.

30 years ago(mouse-choose-completion): New function.
Richard M. Stallman [Tue, 13 Jul 1993 21:33:17 +0000 (21:33 +0000)]
(mouse-choose-completion): New function.

30 years ago(verify_interval_modification): Use Qinsert_in_front_hooks and
Richard M. Stallman [Tue, 13 Jul 1993 21:08:45 +0000 (21:08 +0000)]
(verify_interval_modification): Use Qinsert_in_front_hooks and
Qinsert_behind_hooks instead of previous names.

30 years ago(Qinsert_in_front_hooks, Qinsert_behind_hooks): Declared.
Richard M. Stallman [Tue, 13 Jul 1993 21:07:02 +0000 (21:07 +0000)]
(Qinsert_in_front_hooks, Qinsert_behind_hooks): Declared.
This replaces part of previous change.

30 years ago(prepare_to_modify_buffer): Call verify_overlay_modification.
Richard M. Stallman [Tue, 13 Jul 1993 21:06:19 +0000 (21:06 +0000)]
(prepare_to_modify_buffer): Call verify_overlay_modification.

30 years ago(verify_overlay_modification): New function.
Richard M. Stallman [Tue, 13 Jul 1993 21:05:26 +0000 (21:05 +0000)]
(verify_overlay_modification): New function.
(call_overlay_mod_hooks): New function.

30 years ago(Qinsert_in_front_hooks, Qinsert_behind_hooks): New vars.
Richard M. Stallman [Tue, 13 Jul 1993 21:04:07 +0000 (21:04 +0000)]
(Qinsert_in_front_hooks, Qinsert_behind_hooks): New vars.
(syms_of_textprop): Set them up.

(set_properties): Call modify_region.
(remove_properties): Call modify_region before record_property_change.
(add_properties): Likewise.

30 years ago*** empty log message ***
Richard M. Stallman [Tue, 13 Jul 1993 20:44:02 +0000 (20:44 +0000)]
*** empty log message ***

30 years ago(mail-bury): New function.
Richard M. Stallman [Tue, 13 Jul 1993 20:18:05 +0000 (20:18 +0000)]
(mail-bury): New function.
(mail-send-and-exit): Call mail-bury.
(mail-dont-send): New command, with menu bar binding.

30 years ago*** empty log message ***
Jim Meyering [Tue, 13 Jul 1993 16:37:01 +0000 (16:37 +0000)]
*** empty log message ***

30 years ago(compare-windows-skip-whitespace): New function.
Richard M. Stallman [Tue, 13 Jul 1993 07:31:09 +0000 (07:31 +0000)]
(compare-windows-skip-whitespace): New function.
(compare-windows): Use that.
(compare-windows-whitespace): Value is now regexp.

30 years ago(rmail-insert-inbox-text): If inbox is not in the
Richard M. Stallman [Tue, 13 Jul 1993 05:52:32 +0000 (05:52 +0000)]
(rmail-insert-inbox-text): If inbox is not in the
spool dir, try copying before renaming.

30 years ago(define-key-after): Error if KEY has two elements.
Richard M. Stallman [Tue, 13 Jul 1993 04:00:04 +0000 (04:00 +0000)]
(define-key-after): Error if KEY has two elements.

30 years ago(menu-bar-file-menu): Add menu item for dired.
Richard M. Stallman [Tue, 13 Jul 1993 03:23:19 +0000 (03:23 +0000)]
(menu-bar-file-menu): Add menu item for dired.

30 years ago* autoload.el (generate-file-autoloads): Correctly detect when the
Jim Blandy [Tue, 13 Jul 1993 03:21:39 +0000 (03:21 +0000)]
* autoload.el (generate-file-autoloads): Correctly detect when the
buffer receiving the autoload forms is in a parent of or the same
directory as FILE, even in the presence of symlinks.

30 years ago(Qinsert_before_hooks, Qinsert_after_hooks): Declared.
Richard M. Stallman [Tue, 13 Jul 1993 02:20:40 +0000 (02:20 +0000)]
(Qinsert_before_hooks, Qinsert_after_hooks): Declared.
(Qmodification_hooks): Declared.

30 years ago(verify_interval_modification):
Richard M. Stallman [Tue, 13 Jul 1993 02:19:50 +0000 (02:19 +0000)]
(verify_interval_modification):
For insertion, run the insert-before-hooks and insert-after-hooks,
not the modification-hooks.

30 years ago(Qundefined): New variable.
Richard M. Stallman [Mon, 12 Jul 1993 23:32:43 +0000 (23:32 +0000)]
(Qundefined): New variable.
(syms_of_keyboard): Set up Qundefined.
(menu_bar_items): Don't reverse the items.
Process the maps in reverse order.
(menu_bar_item): If definition is `undefined',
delete any menu bar item already made, and don't make one.

30 years ago*** empty log message ***
David J. MacKenzie [Mon, 12 Jul 1993 22:13:12 +0000 (22:13 +0000)]
*** empty log message ***

30 years ago(vc-rcs-status): Include head version number in mode line if there
Paul Eggert [Mon, 12 Jul 1993 22:04:35 +0000 (22:04 +0000)]
(vc-rcs-status): Include head version number in mode line if there
are no locks.

30 years ago(ispell-menu-map): New keymap--both fn and var.
Richard M. Stallman [Mon, 12 Jul 1993 20:31:52 +0000 (20:31 +0000)]
(ispell-menu-map): New keymap--both fn and var.

30 years ago(ispell-menu-map): New autoload definition.
Richard M. Stallman [Mon, 12 Jul 1993 20:29:28 +0000 (20:29 +0000)]
(ispell-menu-map): New autoload definition.
(menu-bar-edit-menu): Add "Spell" item.

30 years ago* configure.in: Use the autoconf AC_FIND_X macro to try to find
Jim Blandy [Sat, 10 Jul 1993 05:18:56 +0000 (05:18 +0000)]
* configure.in: Use the autoconf AC_FIND_X macro to try to find
the X Windows libraries.

30 years ago(show-paren-command-hook): Do nothing if not window-system.
Richard M. Stallman [Sat, 10 Jul 1993 05:16:08 +0000 (05:16 +0000)]
(show-paren-command-hook): Do nothing if not window-system.

30 years agoFix typos in previous change.
Richard M. Stallman [Sat, 10 Jul 1993 05:09:45 +0000 (05:09 +0000)]
Fix typos in previous change.

30 years ago(wait_reading_process_input): If wait_for_cell, do call
Richard M. Stallman [Fri, 9 Jul 1993 21:42:51 +0000 (21:42 +0000)]
(wait_reading_process_input): If wait_for_cell, do call
swallow_events and do_pending_window_change when appropriate.

30 years ago(rmail-output): If file is an Rmail file,
Richard M. Stallman [Fri, 9 Jul 1993 20:46:42 +0000 (20:46 +0000)]
(rmail-output): If file is an Rmail file,
use rmail-output-to-rmail-file.
(rmail-output-to-rmail-file): If file exists
and is not an Rmail file, use rmail-output.
If we find an element in rmail-output-file-alist, eval it.
(rmail-file-p): New function.
(rmail-output-file-alist): Now contains expressions to eval.

30 years agoMake `solaris' reflect the most recent major release.
Doug Evans [Fri, 9 Jul 1993 20:44:12 +0000 (20:44 +0000)]
Make `solaris' reflect the most recent major release.

30 years agoentered into RCS
Richard M. Stallman [Fri, 9 Jul 1993 20:28:05 +0000 (20:28 +0000)]
entered into RCS

30 years agoInitial revision
Richard M. Stallman [Fri, 9 Jul 1993 20:27:43 +0000 (20:27 +0000)]
Initial revision

30 years ago* etags.c (alloca): removed all references to it.
Jim Blandy [Fri, 9 Jul 1993 19:44:58 +0000 (19:44 +0000)]
* etags.c (alloca): removed all references to it.
(main): now calls xnew instead of alloca for portability.
(../src/config.h): included only if HAVE_CONFIG_H.
(const): void definition removed--config.h takes care of it.

30 years ago(consider_token): was `==', now is `='.
Richard M. Stallman [Fri, 9 Jul 1993 18:56:47 +0000 (18:56 +0000)]
(consider_token): was `==', now is `='.
(consider_token): DEFUNs now treated like funcs in ctags mode.

(LEVEL_OK_FOR_FUNCDEF): removed.
(C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
(C_entries): removed a piece of useless code.
(C_entries): making typedef tags is delayed until a semicolon
is met.  This handles "typedef int X, Y, Z;" correctly.

30 years ago(byte-compile-file-form-defmumble): Undo previous change.
Richard M. Stallman [Fri, 9 Jul 1993 06:53:42 +0000 (06:53 +0000)]
(byte-compile-file-form-defmumble): Undo previous change.
It turns out the second arg was put in by mistake in the first place.

30 years ago(byte-compile-setq-default):
Richard M. Stallman [Fri, 9 Jul 1993 06:33:05 +0000 (06:33 +0000)]
(byte-compile-setq-default):
Generate a progn of calls to set-default, then compile it.
(byte-compile-file-form-defmumble): Put back second arg of
byte-compile-keep-pending, accidentally deleted before.

30 years ago(mouse-menu-bar-buffers):
Richard M. Stallman [Fri, 9 Jul 1993 04:04:39 +0000 (04:04 +0000)]
(mouse-menu-bar-buffers):
Don't lose if all buffer names are short.

30 years ago(region_limit): Declare Vmark_even_if_inactive.
Roland McGrath [Thu, 8 Jul 1993 23:45:22 +0000 (23:45 +0000)]
(region_limit): Declare Vmark_even_if_inactive.

30 years ago(syms_of_callint): Fix DEFVAR_LISP for Vmark_even_if_inactive to use right
Roland McGrath [Thu, 8 Jul 1993 23:44:01 +0000 (23:44 +0000)]
(syms_of_callint): Fix DEFVAR_LISP for Vmark_even_if_inactive to use right
Lisp symbol name (without V prepended).

30 years ago(compilation-error-regexp-alist): Broaden ``Line N of "FILE": msg'' regexp
Roland McGrath [Thu, 8 Jul 1993 23:31:58 +0000 (23:31 +0000)]
(compilation-error-regexp-alist): Broaden ``Line N of "FILE": msg'' regexp
to also match Ultrix f77: ``Error on line N of FILE: msg''.

30 years ago(kill-ring-save): Call deactivate-mark regardless of transient-mark-mode.
Roland McGrath [Thu, 8 Jul 1993 22:42:14 +0000 (22:42 +0000)]
(kill-ring-save): Call deactivate-mark regardless of transient-mark-mode.

30 years ago(ispell): Call deactivate-mark instead of setting mark-active directly. Do
Roland McGrath [Thu, 8 Jul 1993 22:38:59 +0000 (22:38 +0000)]
(ispell): Call deactivate-mark instead of setting mark-active directly.  Do
this regardless of transient-mark-mode.

30 years ago(deactivate-mark): New function.
Roland McGrath [Thu, 8 Jul 1993 22:37:42 +0000 (22:37 +0000)]
(deactivate-mark): New function.
(kill-ring-save, pop-mark, keyboard-quit): Call it.

30 years ago(isearch-done): Call deactivate-mark instead of setting mark-active
Roland McGrath [Thu, 8 Jul 1993 22:33:57 +0000 (22:33 +0000)]
(isearch-done): Call deactivate-mark instead of setting mark-active
directly.  Do this regardless of transient-mark-mode.

30 years agoPut error-conditions and error-message properties on 'mark-inactive.
Roland McGrath [Thu, 8 Jul 1993 21:46:22 +0000 (21:46 +0000)]
Put error-conditions and error-message properties on 'mark-inactive.
(mark): Signal 'mark-inactive instead of using error with a message.

30 years ago(check_mark): Don't check mark-active unless in transient-mark-mode.
Roland McGrath [Thu, 8 Jul 1993 21:43:11 +0000 (21:43 +0000)]
(check_mark): Don't check mark-active unless in transient-mark-mode.
For inactive mark, signal mark-inactive instead of error with a message.

30 years ago(region_limit): Don't error if Vmark_even_if_inactive is set. When the
Roland McGrath [Thu, 8 Jul 1993 21:36:04 +0000 (21:36 +0000)]
(region_limit): Don't error if Vmark_even_if_inactive is set.  When the
mark is inactive and that is a no-no, signal mark-inactive instead of using
error with a message.

30 years ago(syms_of_data): Staticpro Qmark_inactive.
Roland McGrath [Thu, 8 Jul 1993 21:27:33 +0000 (21:27 +0000)]
(syms_of_data): Staticpro Qmark_inactive.

30 years agoDefine Qmark_inactive.
Roland McGrath [Thu, 8 Jul 1993 21:26:57 +0000 (21:26 +0000)]
Define Qmark_inactive.
(syms_of_data): Initialize it.

30 years agoDeclare Qmark_inactive.
Roland McGrath [Thu, 8 Jul 1993 21:26:29 +0000 (21:26 +0000)]
Declare Qmark_inactive.

30 years ago(mail-abbrev-end-of-buffer): Fix interactive spec to "P", same as
Roland McGrath [Thu, 8 Jul 1993 21:14:43 +0000 (21:14 +0000)]
(mail-abbrev-end-of-buffer): Fix interactive spec to "P", same as
end-of-buffer.

30 years agoInitial revision
Richard M. Stallman [Thu, 8 Jul 1993 21:10:59 +0000 (21:10 +0000)]
Initial revision

30 years ago(basic-save-buffer): Use after-save-hook.
Richard M. Stallman [Thu, 8 Jul 1993 20:51:51 +0000 (20:51 +0000)]
(basic-save-buffer): Use after-save-hook.

30 years agoAdd (provide 'hanoi).
Roland McGrath [Thu, 8 Jul 1993 19:06:38 +0000 (19:06 +0000)]
Add (provide 'hanoi).

30 years ago(file-relative-name): If we use default-directory,
Richard M. Stallman [Thu, 8 Jul 1993 03:04:52 +0000 (03:04 +0000)]
(file-relative-name): If we use default-directory,
call expand-file-name anyway.

30 years ago(texinfo-update-node): Bind auto-fill-hook as well as auto-fill-function.
Richard M. Stallman [Wed, 7 Jul 1993 22:21:19 +0000 (22:21 +0000)]
(texinfo-update-node): Bind auto-fill-hook as well as auto-fill-function.
(texinfo-sequential-node-update): Likewise.

30 years agoFix typo re `texinfo-sequential-node-update.'
Richard M. Stallman [Wed, 7 Jul 1993 22:15:20 +0000 (22:15 +0000)]
Fix typo re `texinfo-sequential-node-update.'
Ensure that no commands depend on the value of
case-fold-search.
Rewrite messages.  Avoid using `mark-whole-buffer'.

(texinfo-start-menu-description):
New function to insert title as description in a menu.
(texinfo-make-menu-list): Remove automatic title insertion.
(texinfo-master-menu): Error message if file
contains too few nodes for a master menu.
Handle the case where no master menu was inserted.
(texinfo-insert-master-menu-list): Only attempt to insert detailed
master menu if there is one.
Insert a master menu only after `Top' node and before next node.

(texinfo-check-for-node-name): Offer section title as prompt.
(texinfo-copy-next-section-title): Copy title correctly.
Handle failure to find @node.
(texinfo-copy-menu): Error message if menu empty.
(texinfo-pointer-name):  Find only those
section commands that are accompanied by `@node' lines.
(texinfo-section-types-regexp): Look for subh and subs, not just sub.
(texinfo-make-one-menu): Copy node-name correctly for message.
(texinfo-copy-menu-title): Copy title as it
should rather than node line.

(texinfo-find-higher-level-node): Stop search at limit.
Special handling for `top' and `chapter' levels.
(texinfo-copy-menu-title): Rewrite to handle outer include files.
(texinfo-multi-file-update): Update all nodes properly (and sooner);
rewrite doc string and interactive. Copy title properly.
(texinfo-all-menus-update): Fixed typo that
caused the function to create a master menu when it shouldn't.
Update pre-existing master menu, if there is one.

(texinfo-incorporate-descriptions): Use a regexp search to look for
both kinds of menu item.
(texinfo-menu-indent-description): Likewise.
(texinfo-incorporate-menu-entry-names): New function.
(texinfo-insert-menu): Handle both kinds of menu item.
(texinfo-multi-files-insert-main-menu): Likewise.
(texinfo-update-node): Pass t as second arg to push-mark.
(texinfo-sequential-node-update): Likewise.
(texinfo-insert-node-lines): Bind `title' at a higher level.
Don't find previous @node if it's close.
Take region to process as arguments.
(texinfo-multiple-files-update): Handle prefix arg better within
`interactive'.  Canonicalize the blank lines.

30 years ago(basic-save-buffer): Invoke after-save-buffer-hook, not after-save-hook.
Roland McGrath [Wed, 7 Jul 1993 20:25:48 +0000 (20:25 +0000)]
(basic-save-buffer): Invoke after-save-buffer-hook, not after-save-hook.

30 years ago(update-file-autoloads): Correctly do nothing when there are no cookies.
Roland McGrath [Wed, 7 Jul 1993 20:13:57 +0000 (20:13 +0000)]
(update-file-autoloads): Correctly do nothing when there are no cookies.

30 years ago(mouse-menu-choose-yank): Change menu title to "Choose Next Yank".
Roland McGrath [Wed, 7 Jul 1993 19:58:54 +0000 (19:58 +0000)]
(mouse-menu-choose-yank): Change menu title to "Choose Next Yank".

30 years ago(vc-rcs-status): Remove unused var `status'.
Paul Eggert [Wed, 7 Jul 1993 19:07:54 +0000 (19:07 +0000)]
(vc-rcs-status): Remove unused var `status'.

30 years ago(describe_map_tree): When inserting TITLE, mention PREFIX.
Richard M. Stallman [Wed, 7 Jul 1993 18:40:35 +0000 (18:40 +0000)]
(describe_map_tree): When inserting TITLE, mention PREFIX.
Insert newline at end, if inserted anything else.
(describe_buffer_bindings): Corresponding changes.
For minor mode maps, build up a title string,
then let describe_map_tree insert it.

30 years ago(mail-rfc822-time-zone, mail-rfc822-date): New fns.
Richard M. Stallman [Wed, 7 Jul 1993 17:55:55 +0000 (17:55 +0000)]
(mail-rfc822-time-zone, mail-rfc822-date): New fns.

30 years ago(mail-do-fcc): Use RFC 822 style date in Resent-Date: line.
Richard M. Stallman [Wed, 7 Jul 1993 17:55:28 +0000 (17:55 +0000)]
(mail-do-fcc): Use RFC 822 style date in Resent-Date: line.
Use new `mail-rfc822-time-zone' function to simplify pinhead generation.

30 years ago(rmail-resend): Use RFC 822 style date in Resent-Date: line.
Richard M. Stallman [Wed, 7 Jul 1993 17:54:20 +0000 (17:54 +0000)]
(rmail-resend): Use RFC 822 style date in Resent-Date: line.

30 years ago* editfns.c (Fformat): Since floats occupy two elements in the
Jim Blandy [Wed, 7 Jul 1993 10:22:05 +0000 (10:22 +0000)]
* editfns.c (Fformat): Since floats occupy two elements in the
argument list passed to doprnt, we must use separate indices for
the array of arguments passed to Fformat, and the array of
arguments to be passed to doprnt.

30 years ago* make-dist (tempdir): Don't create lisp/forms-mode directory in
Jim Blandy [Wed, 7 Jul 1993 09:58:18 +0000 (09:58 +0000)]
* make-dist (tempdir): Don't create lisp/forms-mode directory in
the distribution.  Those files aren't kept in their own
subdirectory any more.

30 years ago(cd-absolute): Use abbreviate-file-name on expansion of DIR.
Roland McGrath [Wed, 7 Jul 1993 06:26:31 +0000 (06:26 +0000)]
(cd-absolute): Use abbreviate-file-name on expansion of DIR.

30 years agoAdd (provide 'gud).
Roland McGrath [Wed, 7 Jul 1993 05:44:53 +0000 (05:44 +0000)]
Add (provide 'gud).

30 years ago(basic-save-buffer): Invoke after-save-hook, not after-save-hooks.
Roland McGrath [Wed, 7 Jul 1993 05:12:29 +0000 (05:12 +0000)]
(basic-save-buffer): Invoke after-save-hook, not after-save-hooks.

30 years ago(display-time-file-nonempty-p): Use file-chase-links.
Roland McGrath [Wed, 7 Jul 1993 04:31:38 +0000 (04:31 +0000)]
(display-time-file-nonempty-p): Use file-chase-links.

30 years ago(byte-compile-setq-default): Handle multiple pairs args like setq (as
Roland McGrath [Wed, 7 Jul 1993 03:06:28 +0000 (03:06 +0000)]
(byte-compile-setq-default): Handle multiple pairs args like setq (as
the setq-default subr does).

30 years agoDoc fix.
Roland McGrath [Wed, 7 Jul 1993 02:03:18 +0000 (02:03 +0000)]
Doc fix.

30 years ago*** empty log message ***
David J. MacKenzie [Tue, 6 Jul 1993 23:07:30 +0000 (23:07 +0000)]
*** empty log message ***

30 years ago(rmail-variables): Compare truename as well as given name
Richard M. Stallman [Tue, 6 Jul 1993 22:39:56 +0000 (22:39 +0000)]
(rmail-variables): Compare truename as well as given name
against rmail-file-name.

30 years ago(Man-mode-line-format): Add a space after global-mode-string.
Richard M. Stallman [Tue, 6 Jul 1993 22:07:27 +0000 (22:07 +0000)]
(Man-mode-line-format): Add a space after global-mode-string.

30 years ago* b2m.c: #include <sys/types.h>.
Jim Blandy [Tue, 6 Jul 1993 16:07:30 +0000 (16:07 +0000)]
* b2m.c: #include <sys/types.h>.
(ltoday): Declare this to be time_t.

30 years ago* textprop.c (copy_text_properties): Pass a copy of POS to
Jim Blandy [Tue, 6 Jul 1993 14:55:20 +0000 (14:55 +0000)]
* textprop.c (copy_text_properties): Pass a copy of POS to
validate_interval_range; that function increments its arguments,
which isn't what we want.

* intervals.c (find_interval): Consistently treat POSITION as an
actual buffer position, i.e. origin 1.  The old code seemed
undecided on this point.  Treat the end of the buffer as being
part of the rightmost interval.
(adjust_intervals_for_insertion): Consistently treat POSITION as
origin 1.
(interval_deletion_adjustment): The exception: FROM should be
origin zero here.  Consistently treat it as such.  Simplify code
which shrinks and possibly deletes intervals.
(adjust_intervals_for_deletion): Treat start as origin 1; our
caller does.
(set_point): Use buffer positions throughout, not a mix of buffer
posns and origin zero posns.
(get_local_map): Remove special case for POSITION at end of buffer;
find_interval handles that case correctly.
(verify_interval_modification): Remove special case for START at
end of buffer.
* textprop.c (validate_interval_range): End-of-buffer/string
positions no longer need special handling.

* textprop.c (copy_text_properties): New function, from David
Gillespie.
* intervals.h: Declare copy_text_properties.
* fns.c: #include "intervals.h".
(Fsubstring): Copy text properties to result string.
(concat): Copy text properties to result string.
* ymakefile (fns.o): Note that this depends on INTERVAL_SRC.

30 years ago* textprop.c (copy_text_properties): New function, from David
Jim Blandy [Tue, 6 Jul 1993 14:54:28 +0000 (14:54 +0000)]
* textprop.c (copy_text_properties): New function, from David
Gillespie.
* intervals.h: Declare copy_text_properties.
* fns.c: #include "intervals.h".
(Fsubstring): Copy text properties to result string.
(concat): Copy text properties to result string.
* ymakefile (fns.o): Note that this depends on INTERVAL_SRC.

30 years ago* intervals.c (find_interval): Doc fixes, computation of
Jim Blandy [Tue, 6 Jul 1993 14:53:54 +0000 (14:53 +0000)]
* intervals.c (find_interval): Doc fixes, computation of
tree->position rearranged for clarity.

* intervals.c (find_interval): Consistently treat POSITION as an
actual buffer position, i.e. origin 1.  The old code seemed
undecided on this point.  Treat the end of the buffer as being
part of the rightmost interval.
(adjust_intervals_for_insertion): Consistently treat POSITION as
origin 1.
(interval_deletion_adjustment): The exception: FROM should be
origin zero here.  Consistently treat it as such.  Simplify code
which shrinks and possibly deletes intervals.
(adjust_intervals_for_deletion): Treat start as origin 1; our
caller does.
(set_point): Use buffer positions throughout, not a mix of buffer
posns and origin zero posns.
(get_local_map): Remove special case for POSITION at end of buffer;
find_interval handles that case correctly.
(verify_interval_modification): Remove special case for START at
end of buffer.
* textprop.c (validate_interval_range): End-of-buffer/string
positions no longer need special handling.

* intervals.c (make_new_interval): #if 0 this out.  Nobody calls it.

30 years ago* fns.c (Fsubstring, concat): Pass all six arguments to
Jim Blandy [Tue, 6 Jul 1993 14:43:32 +0000 (14:43 +0000)]
* fns.c (Fsubstring, concat): Pass all six arguments to
copy_text_properties.

* textprop.c (copy_text_properties): New function, from David
Gillespie.
* intervals.h: Declare copy_text_properties.
* fns.c: #include "intervals.h".
(Fsubstring): Copy text properties to result string.
(concat): Copy text properties to result string.
* ymakefile (fns.o): Note that this depends on INTERVAL_SRC.

31 years ago* print.c: Get rid of extra space at the end of print syntax for
Jim Blandy [Tue, 6 Jul 1993 07:44:36 +0000 (07:44 +0000)]
* print.c: Get rid of extra space at the end of print syntax for
strings with intervals.
[USE_TEXT_PROPERTIES] (print): Don't print a space before the
interval property lists.
[USE_TEXT_PROPERTIES] (print_interval): Print a space before this
internal's properties, not after.

31 years ago* man.el (Man-build-man-command): Don't leave a pipe symbol at the
Jim Blandy [Tue, 6 Jul 1993 06:59:31 +0000 (06:59 +0000)]
* man.el (Man-build-man-command): Don't leave a pipe symbol at the
end of the command list if Man-filter-list is nil.
(Man-default-man-args): Don't write out assq and mapconcat.
(Man-default-man-entry): Don't default to section 2 for C-mode.
Call Man-default-man-args, and let people use
Man-auto-section-alist if this is what they want.
(manual-entry): Call Man-translate-references, instead of writing
it out.
(Man-getpage-in-background): Don't apply Man-default-man-args
here; manual-entry has already run it, and
Man-follow-manual-reference provides the sections itself.

31 years ago* m/pmax.h (C_SWITCH_X_MACHINE): Set this to
Jim Blandy [Tue, 6 Jul 1993 06:57:49 +0000 (06:57 +0000)]
* m/pmax.h (C_SWITCH_X_MACHINE): Set this to
"-DNeedFunctionPrototypes=0", to avoid lossage in DEC X11 header
files.
* ymakefile (really-oldXMenu): Pass C_SWITCH_X_MACHINE to the
oldXMenu make.

31 years ago* vc.el (vc-start-entry): Don't call file-name-nondirectory on
Jim Blandy [Tue, 6 Jul 1993 06:18:50 +0000 (06:18 +0000)]
* vc.el (vc-start-entry): Don't call file-name-nondirectory on
FILE before passing it to vc-mode-line.  Everyplace else passes
vc-mode-line full filenames, and vc-mode-line now needs the real
file name to decide which version-control system the file is under.

31 years ago* doc.c (Fsubstitute_command_keys): Pass all five arguments to
Jim Blandy [Tue, 6 Jul 1993 06:16:20 +0000 (06:16 +0000)]
* doc.c (Fsubstitute_command_keys): Pass all five arguments to
describe_map_tree.

31 years agoCompare the values of text properties using EQ, not Fequal.
Jim Blandy [Tue, 6 Jul 1993 02:23:22 +0000 (02:23 +0000)]
Compare the values of text properties using EQ, not Fequal.
* intervals.c (intervals_equal): Call EQ, not Fequal.
* textprop.c (interval_has_all_properties, add_properties): Same.

31 years ago* xfaces.c [XOS_NEEDS_TIME_H]: #undef USG while #including
Jim Blandy [Mon, 5 Jul 1993 09:31:36 +0000 (09:31 +0000)]
* xfaces.c [XOS_NEEDS_TIME_H]: #undef USG while #including
<X11/Xos.h>, so that file doesn't try to define struct timeval and
struct timezone.

31 years ago* textprop.c (validate_interval_range): Don't increment both
Jim Blandy [Mon, 5 Jul 1993 08:13:50 +0000 (08:13 +0000)]
* textprop.c (validate_interval_range): Don't increment both
*begin and *end if they point to the same thing.
(validate_plist): Call QUIT while scanning LIST.

31 years ago* intervals.c (intervals_equal): Test the return value of Fequal
Jim Blandy [Mon, 5 Jul 1993 07:57:34 +0000 (07:57 +0000)]
* intervals.c (intervals_equal): Test the return value of Fequal
against Qnil, not 0.

31 years agoFix initialization of Vdouble_click_time in syms_of_keyboard.
Jim Blandy [Mon, 5 Jul 1993 07:45:43 +0000 (07:45 +0000)]
Fix initialization of Vdouble_click_time in syms_of_keyboard.

31 years ago* keyboard.c (Vdouble_click_time): Renamed from double_click_time,
Jim Blandy [Mon, 5 Jul 1993 07:18:24 +0000 (07:18 +0000)]
* keyboard.c (Vdouble_click_time): Renamed from double_click_time,
and made a Lisp_Object instead of an int.
(make_lispy_event): If Vdouble_click_time is t, impose no time
limit on double-clicks.
(syms_of_keyboard): DEFVAR_LISP (not DEFVAR_INT)
Vdouble_click_time (not double_click_time), and adjust doc string
to say that `nil' means no double clicks, and `t' means no time
limit.

31 years ago* map-ynp.el (map-y-or-n-p): If we get a switch-frame-event,
Jim Blandy [Mon, 5 Jul 1993 04:50:16 +0000 (04:50 +0000)]
* map-ynp.el (map-y-or-n-p): If we get a switch-frame-event,
save it until we're done asking questions, and then unread it.

31 years ago* subr.el (posn-point): Properly extract the BUFFER-POSITION field
Jim Blandy [Mon, 5 Jul 1993 04:33:42 +0000 (04:33 +0000)]
* subr.el (posn-point): Properly extract the BUFFER-POSITION field
of an event when read-key-sequence has placed it in a singleton
list.

31 years ago* keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): New
Jim Blandy [Mon, 5 Jul 1993 04:26:30 +0000 (04:26 +0000)]
* keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): New
accessors.