bpt/emacs.git
30 years ago(syms_of_textprop): Set up Lisp var Vinhibit_point_motion_hooks.
Richard M. Stallman [Fri, 23 Jul 1993 07:58:22 +0000 (07:58 +0000)]
(syms_of_textprop): Set up Lisp var Vinhibit_point_motion_hooks.

30 years ago(Vinhibit_point_motion_hooks): Declared.
Richard M. Stallman [Fri, 23 Jul 1993 07:57:57 +0000 (07:57 +0000)]
(Vinhibit_point_motion_hooks): Declared.

30 years ago(TEXT_START) [__GNUC__]: Define as 0.
Richard M. Stallman [Fri, 23 Jul 1993 07:48:11 +0000 (07:48 +0000)]
(TEXT_START) [__GNUC__]: Define as 0.

30 years ago(font-lock-after-change-function):
Richard M. Stallman [Fri, 23 Jul 1993 05:10:00 +0000 (05:10 +0000)]
(font-lock-after-change-function):
Scan for comments and strings from beg of line.
(c-font-lock-keywords-1): Recognize &, like *, before fn name.
(perl-font-lock-keywords): Put digit 1 into function-name-face items.
Allow whitespace before the open-brace.

30 years ago(sort-skip-fields): Really implement fields as runs
Richard M. Stallman [Fri, 23 Jul 1993 04:44:06 +0000 (04:44 +0000)]
(sort-skip-fields): Really implement fields as runs
of nonwhitespace chars.
(sort-fields, sort-float-fields, sort-numeric-fields):
Don't subtract 1 when calling sort-skip-fields.

30 years ago(PTY_OPEN): Use sigaction, not sigsetmask.
Richard M. Stallman [Fri, 23 Jul 1993 04:16:38 +0000 (04:16 +0000)]
(PTY_OPEN): Use sigaction, not sigsetmask.

30 years ago(x-select-text): Limit size of text sent to cut buffer.
Richard M. Stallman [Fri, 23 Jul 1993 01:43:39 +0000 (01:43 +0000)]
(x-select-text): Limit size of text sent to cut buffer.

30 years ago(keyboard-translate): Properly lengthen existing table.
Richard M. Stallman [Thu, 22 Jul 1993 22:28:36 +0000 (22:28 +0000)]
(keyboard-translate): Properly lengthen existing table.

30 years ago(DECLARE_GETPWUID_WITH_UID_T): Declared.
Richard M. Stallman [Thu, 22 Jul 1993 22:03:25 +0000 (22:03 +0000)]
(DECLARE_GETPWUID_WITH_UID_T): Declared.

30 years ago(getpwuid): Test DECLARE_GETPWUID_WITH_UID_T.
Richard M. Stallman [Thu, 22 Jul 1993 22:03:11 +0000 (22:03 +0000)]
(getpwuid): Test DECLARE_GETPWUID_WITH_UID_T.

30 years agoImplement search for app-defaults directory and
Jim Blandy [Thu, 22 Jul 1993 22:00:48 +0000 (22:00 +0000)]
Implement search for app-defaults directory and
localized default databases, along with some other functionality
provided by Xt.
#include <stdio.h>, since we call sprintf.
[emacs] (malloc, realloc, free): #define these to xmalloc,
xrealloc, and xfree.
(x_get_string_resource, file_p): Add forward declarations for these.
(x_customization_string): New variable.
(x_get_customization_string): New function.
(gethomedir): Return malloc'ed space of the right size, instead of
writing into a fixed-size buffer; this means that our callers do
not impose an arbitrary limit on file name length.
(magic_file_p): Rewrite of decode_magic; actually do the
substitutions, instead of expanding all %-escapes to "".  Support
the customization string.  Return 0 or the expanded file name,
instead of just zero or one.  Allocate the space for the expanded
file name ourselves, instead of writing into a fixed-size buffer
passed to us; this removes an arbitrary limit.
(search_magic_path): Rewrite of magic_searchpath_decoder.  Return
0 or the expanded file name, instead of just zero or one.
Allocate the space for the expanded file name ourselves, instead
of writing into a fixed-size buffer passed to us; this means that
our callers do not impose an arbitrary limit on file name length.
(get_system_app): Changed to work with search_magic_path.
(get_user_app): Rewritten to work with search_magic_path, and not
to assume that the values of XAPPLRESDIR is a single directory.
(get_user_db): Properly use the new version of gethomedir.
(get_environ_db): Remove arbitrary limit on length of host name.
(x_load_resources): Take a new argument, myname.
Call get_user_db early to obtain the customization string.
Changes to stand-alone testing code.

30 years ago(Fget_buffer_process): Delete doc string from
Richard M. Stallman [Thu, 22 Jul 1993 19:38:51 +0000 (19:38 +0000)]
(Fget_buffer_process): Delete doc string from
second alternative definition.

30 years ago(ALIGNED, ROUNDUP): Use `unsigned long int' instead of `unsigned int' for
Roland McGrath [Thu, 22 Jul 1993 18:59:43 +0000 (18:59 +0000)]
(ALIGNED, ROUNDUP): Use `unsigned long int' instead of `unsigned int' for
casting addresses and sizes.  It matters on the 64-bit Alpha.

30 years ago[_LIBC]: Just include <sys/resource.h>, and skip hairy #ifdef mess.
Roland McGrath [Thu, 22 Jul 1993 18:55:19 +0000 (18:55 +0000)]
[_LIBC]: Just include <sys/resource.h>, and skip hairy #ifdef mess.

30 years ago> (vc-backend-revert): Use `co -f' instead of deleting the
Paul Eggert [Thu, 22 Jul 1993 10:57:46 +0000 (10:57 +0000)]
> (vc-backend-revert): Use `co -f' instead of deleting the
working file ourselves; that way, if `co' fails, we won't have
deleted the working file.
(vc-backend-steal):  Don't delete the working file.  Use `rcs -u -l',
not `rcs -u ; rcs -l'; it's faster.  Use vc-backend-dispatch -- the
old code couldn't have possibly worked.

30 years ago(Fdelete_frame): Allow deletion if there is some other
Richard M. Stallman [Thu, 22 Jul 1993 09:01:22 +0000 (09:01 +0000)]
(Fdelete_frame): Allow deletion if there is some other
visible (perhaps iconified) frame.  Also allow deleting terminal frame
if there are X frames.

30 years ago(syms_of_buffer): Lisp var doc fixes.
Richard M. Stallman [Thu, 22 Jul 1993 08:53:43 +0000 (08:53 +0000)]
(syms_of_buffer): Lisp var doc fixes.

30 years ago(NO_MODE_T): Defined.
Richard M. Stallman [Thu, 22 Jul 1993 08:36:39 +0000 (08:36 +0000)]
(NO_MODE_T): Defined.

30 years ago(float_to_string): Don't use uninitialized pointer `cp'.
Richard M. Stallman [Thu, 22 Jul 1993 08:34:30 +0000 (08:34 +0000)]
(float_to_string): Don't use uninitialized pointer `cp'.
Set width to -1 at lose: and other places.
Default to .17g, not .20g.

30 years ago(graft_intervals_into_buffer): When TREE is null,
Richard M. Stallman [Thu, 22 Jul 1993 08:06:55 +0000 (08:06 +0000)]
(graft_intervals_into_buffer): When TREE is null,
pass buffer as 2nd arg to reproduce_tree.

30 years ago(map-y-or-n-p): If LIST is nil, just return.
Richard M. Stallman [Thu, 22 Jul 1993 07:17:28 +0000 (07:17 +0000)]
(map-y-or-n-p): If LIST is nil, just return.

30 years ago(mouse-secondary-save-then-kill): When making the undo item,
Richard M. Stallman [Thu, 22 Jul 1993 07:15:49 +0000 (07:15 +0000)]
(mouse-secondary-save-then-kill): When making the undo item,
use an integer, not a marker, for the position.

30 years ago(mouse-set-font): Update faces bold, italic and bold-italic.
Richard M. Stallman [Thu, 22 Jul 1993 06:20:40 +0000 (06:20 +0000)]
(mouse-set-font): Update faces bold, italic and bold-italic.

30 years ago(perl-font-lock-keywords): Add a `(... . 1)' to the
Richard M. Stallman [Thu, 22 Jul 1993 06:12:37 +0000 (06:12 +0000)]
(perl-font-lock-keywords): Add a `(... . 1)' to the
first element of the list.
(font-lock-hack-keywords, font-lock-unfontify-region)
(font-lock-fontify-region): Bind buffer-read-only to nil,
and don't alter buffer-modified-p.
(font-lock-fontify-region): Use comment-start-skip, not comment-start.

(font-lock-function-name-face): defvar renamed.
(font-lock-hack-keywords): Evaluate face specs from keyword list.

30 years ago(complete): Use sit-for, not cmpl19-sit-for.
Richard M. Stallman [Thu, 22 Jul 1993 05:49:37 +0000 (05:49 +0000)]
(complete): Use sit-for, not cmpl19-sit-for.

30 years ago(completion-list-mode): Renamed from completion-mode.
Richard M. Stallman [Thu, 22 Jul 1993 05:47:10 +0000 (05:47 +0000)]
(completion-list-mode): Renamed from completion-mode.
(completion-list-mode-map): Likewise.

30 years ago(parse-colon-path): Really make nil, not ".", for empty path element.
Richard M. Stallman [Thu, 22 Jul 1993 05:34:53 +0000 (05:34 +0000)]
(parse-colon-path): Really make nil, not ".", for empty path element.

30 years ago(generate-file-autoloads): Bind float-output-format.
Richard M. Stallman [Wed, 21 Jul 1993 22:37:55 +0000 (22:37 +0000)]
(generate-file-autoloads): Bind float-output-format.
Bind print-escape-newlines.

30 years ago(Qmodification_hooks, Qinsert_in_front_hooks)
Richard M. Stallman [Wed, 21 Jul 1993 22:33:37 +0000 (22:33 +0000)]
(Qmodification_hooks, Qinsert_in_front_hooks)
(Qinsert_behind_hooks): Moved to buffer.c.
(syms_of_textprop): Lisp vars setup deleted.

30 years ago(Qmodification_hooks, Qinsert_in_front_hooks)
Richard M. Stallman [Wed, 21 Jul 1993 22:33:00 +0000 (22:33 +0000)]
(Qmodification_hooks, Qinsert_in_front_hooks)
(Qinsert_behind_hooks): Moved here.
(syms_of_buffer): Lisp vars set up here.

30 years ago(compact_strings): Add USE_TEXT_PROPERTIES conditional.
Richard M. Stallman [Wed, 21 Jul 1993 22:29:26 +0000 (22:29 +0000)]
(compact_strings): Add USE_TEXT_PROPERTIES conditional.

30 years ago(Ftext_property_not_all): Fix typo in decl.
Richard M. Stallman [Wed, 21 Jul 1993 22:25:42 +0000 (22:25 +0000)]
(Ftext_property_not_all): Fix typo in decl.

30 years ago(SUNOS_LOCALTIME_BUG): Defined.
Richard M. Stallman [Wed, 21 Jul 1993 22:23:24 +0000 (22:23 +0000)]
(SUNOS_LOCALTIME_BUG): Defined.

30 years agoTry deleting version.el if it's not writable.
Richard M. Stallman [Wed, 21 Jul 1993 22:16:11 +0000 (22:16 +0000)]
Try deleting version.el if it's not writable.

30 years agoFix up previous change.
Richard M. Stallman [Wed, 21 Jul 1993 22:12:08 +0000 (22:12 +0000)]
Fix up previous change.

30 years agoIf we do find x_includes and x_libraries
Richard M. Stallman [Wed, 21 Jul 1993 22:06:56 +0000 (22:06 +0000)]
If we do find x_includes and x_libraries
via AC_FIND_X, set C_SWITCH_X_SITE and LD_SWITCH_X_SITE.

30 years ago*** empty log message ***
Richard M. Stallman [Wed, 21 Jul 1993 21:44:24 +0000 (21:44 +0000)]
*** empty log message ***

30 years ago(memmove): Defined.
Richard M. Stallman [Wed, 21 Jul 1993 21:31:31 +0000 (21:31 +0000)]
(memmove): Defined.

30 years ago(lynx): Recognize as vendor.
Jim Wilson [Wed, 21 Jul 1993 21:00:37 +0000 (21:00 +0000)]
(lynx): Recognize as vendor.
(lynxos): Recognize as OS.

30 years ago(Man-set-fonts): Don't look for another char after
Richard M. Stallman [Wed, 21 Jul 1993 09:05:18 +0000 (09:05 +0000)]
(Man-set-fonts): Don't look for another char after
the backspace; instead look for a sequence CHAR BS CHAR BS CHAR BS...
Delete all the CHAR BS pairs found, after making the text property.

30 years ago(indent-c-exp): Call calculate-c-indent-within-comment when appropriate.
Richard M. Stallman [Wed, 21 Jul 1993 08:50:30 +0000 (08:50 +0000)]
(indent-c-exp): Call calculate-c-indent-within-comment when appropriate.

30 years ago(indent-c-exp): If ENDPOS, always set OPOINT
Richard M. Stallman [Wed, 21 Jul 1993 08:44:36 +0000 (08:44 +0000)]
(indent-c-exp): If ENDPOS, always set OPOINT
to the function start.  And don'tindet a line which is past ENDPOS.
Don't indent a comment on the first line if it's the only
thing on that line.

30 years ago(mouse-drag-region): Use deactivate-mark.
Richard M. Stallman [Wed, 21 Jul 1993 07:40:12 +0000 (07:40 +0000)]
(mouse-drag-region): Use deactivate-mark.

30 years ago(memmove): Defined as macro.
Richard M. Stallman [Wed, 21 Jul 1993 04:37:46 +0000 (04:37 +0000)]
(memmove): Defined as macro.

30 years ago(etags): Depend on ../src/config.h.
Richard M. Stallman [Wed, 21 Jul 1993 03:29:43 +0000 (03:29 +0000)]
(etags): Depend on ../src/config.h.

30 years ago(xmakefile): Use CFLAGS after C_SWITCH_SYSTEM.
Richard M. Stallman [Tue, 20 Jul 1993 22:16:59 +0000 (22:16 +0000)]
(xmakefile): Use CFLAGS after C_SWITCH_SYSTEM.

30 years ago(parse-colon-path): Turn empty substring into nil.
Richard M. Stallman [Tue, 20 Jul 1993 22:04:53 +0000 (22:04 +0000)]
(parse-colon-path): Turn empty substring into nil.

30 years ago(validate_x_resource_name): Call make_string properly.
Richard M. Stallman [Tue, 20 Jul 1993 21:54:57 +0000 (21:54 +0000)]
(validate_x_resource_name): Call make_string properly.

30 years ago(mail-bury): Check that frame-parameters is defined.
Richard M. Stallman [Tue, 20 Jul 1993 21:42:52 +0000 (21:42 +0000)]
(mail-bury): Check that frame-parameters is defined.

30 years ago*** empty log message ***
Richard M. Stallman [Tue, 20 Jul 1993 21:15:26 +0000 (21:15 +0000)]
*** empty log message ***

30 years ago(X_NOT_POSIX): Defined.
Richard M. Stallman [Tue, 20 Jul 1993 19:14:05 +0000 (19:14 +0000)]
(X_NOT_POSIX): Defined.

30 years agoComment change.
Richard M. Stallman [Tue, 20 Jul 1993 19:04:49 +0000 (19:04 +0000)]
Comment change.

30 years ago*** empty log message ***
Richard M. Stallman [Tue, 20 Jul 1993 18:26:59 +0000 (18:26 +0000)]
*** empty log message ***

30 years ago(BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.
Richard M. Stallman [Tue, 20 Jul 1993 18:15:38 +0000 (18:15 +0000)]
(BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.

30 years ago(define-key-after): Fix typo in previous change.
Richard M. Stallman [Tue, 20 Jul 1993 18:09:21 +0000 (18:09 +0000)]
(define-key-after): Fix typo in previous change.

30 years ago(outline-mode-map): Delete spurious `outline-'
Richard M. Stallman [Tue, 20 Jul 1993 17:57:35 +0000 (17:57 +0000)]
(outline-mode-map): Delete spurious `outline-'
from show and hide command names in menu.

30 years ago(ange-ftp-completion-hook-function): New function.
Richard M. Stallman [Tue, 20 Jul 1993 07:12:30 +0000 (07:12 +0000)]
(ange-ftp-completion-hook-function): New function.

30 years ago(file-name-handler-alist): Have two separate regexps with different hooks.
Richard M. Stallman [Tue, 20 Jul 1993 07:12:00 +0000 (07:12 +0000)]
(file-name-handler-alist): Have two separate regexps with different hooks.

30 years agoInitial revision
Richard M. Stallman [Tue, 20 Jul 1993 06:07:58 +0000 (06:07 +0000)]
Initial revision

30 years ago(show-paren-face): New variable.
Richard M. Stallman [Tue, 20 Jul 1993 05:59:51 +0000 (05:59 +0000)]
(show-paren-face): New variable.
(show-paren-command-hook): Use it.
Call set-face-background properly.

30 years ago(reposition-window): Don't forward-char if eobp.
Richard M. Stallman [Tue, 20 Jul 1993 05:55:31 +0000 (05:55 +0000)]
(reposition-window): Don't forward-char if eobp.

30 years ago(normal-top-level): Call abbreviate-file-name again after calling command-line.
Richard M. Stallman [Tue, 20 Jul 1993 05:46:10 +0000 (05:46 +0000)]
(normal-top-level): Call abbreviate-file-name again after calling command-line.

30 years ago(memmove): Delete extra parens in the safe_bcopy call.
Richard M. Stallman [Tue, 20 Jul 1993 05:24:34 +0000 (05:24 +0000)]
(memmove): Delete extra parens in the safe_bcopy call.

30 years ago(rmail-edit-map): Inherit properly from text-mode-map;
Richard M. Stallman [Tue, 20 Jul 1993 05:21:25 +0000 (05:21 +0000)]
(rmail-edit-map): Inherit properly from text-mode-map;
use the whole thing, not its cdr.

30 years agoInclude types.h before file.h.
Richard M. Stallman [Tue, 20 Jul 1993 05:16:51 +0000 (05:16 +0000)]
Include types.h before file.h.

30 years agoComment change.
Richard M. Stallman [Tue, 20 Jul 1993 05:10:02 +0000 (05:10 +0000)]
Comment change.

30 years ago(LD_SWITCH_MACHINE): Add -bI:/usr/lpp/X11/bin/smt.exp.
Richard M. Stallman [Tue, 20 Jul 1993 05:09:02 +0000 (05:09 +0000)]
(LD_SWITCH_MACHINE): Add -bI:/usr/lpp/X11/bin/smt.exp.

30 years ago(Man-getpage-in-background): Copy process-environment
Richard M. Stallman [Tue, 20 Jul 1993 05:05:48 +0000 (05:05 +0000)]
(Man-getpage-in-background): Copy process-environment
so we only alter the copy.

30 years ago(mh-read-msg-list): Add space to message-number regexp.
Richard M. Stallman [Tue, 20 Jul 1993 04:35:00 +0000 (04:35 +0000)]
(mh-read-msg-list): Add space to message-number regexp.

30 years ago(gnus-emacs-version): New variable.
Richard M. Stallman [Tue, 20 Jul 1993 04:25:28 +0000 (04:25 +0000)]
(gnus-emacs-version): New variable.
(gnus-version): Updated to 4.1.
(gnus-newsrc-to-gnus-format): Use different regexp in 18 and 19.
(gnus-group-startup-message): Use gnus-emacs-version.

30 years ago(gnus-current-time-zone): Fix typo.
Richard M. Stallman [Tue, 20 Jul 1993 04:25:04 +0000 (04:25 +0000)]
(gnus-current-time-zone): Fix typo.
(gnus-inews-organization): Fix zero length string operation bug.

30 years agoentered into RCS
Richard M. Stallman [Tue, 20 Jul 1993 03:02:12 +0000 (03:02 +0000)]
entered into RCS

30 years ago(vc-rcs-status): Use "-", not " ", to separate locks, so that the RCS
Paul Eggert [Tue, 20 Jul 1993 02:25:19 +0000 (02:25 +0000)]
(vc-rcs-status): Use "-", not " ", to separate locks, so that the RCS
minor mode doesn't contain internal spaces.

30 years ago(dired-unmark-all-files-no-query): New command.
Richard M. Stallman [Tue, 20 Jul 1993 01:11:28 +0000 (01:11 +0000)]
(dired-unmark-all-files-no-query): New command.
(dired-mode-map): Use that for the Unmark All item.
Fix typo that made the Flag Backup Files item not show up.

30 years agoInclude src/gnu-hp300 in the dist.
Richard M. Stallman [Mon, 19 Jul 1993 22:46:54 +0000 (22:46 +0000)]
Include src/gnu-hp300 in the dist.

30 years ago(Fwhile): If mocklisp, test for nonzeroness.
Richard M. Stallman [Mon, 19 Jul 1993 22:09:41 +0000 (22:09 +0000)]
(Fwhile): If mocklisp, test for nonzeroness.

30 years ago(while): Comment out converter.
Richard M. Stallman [Mon, 19 Jul 1993 22:08:21 +0000 (22:08 +0000)]
(while): Comment out converter.

30 years ago(SYSTEM_MALLOC): Add #undef.
Richard M. Stallman [Mon, 19 Jul 1993 21:16:07 +0000 (21:16 +0000)]
(SYSTEM_MALLOC): Add #undef.
(GNU_MALLOC, REL_ALLOC): Defined.

30 years ago(testing x_includes and x_libraries): Use =, not ==.
Richard M. Stallman [Mon, 19 Jul 1993 19:42:58 +0000 (19:42 +0000)]
(testing x_includes and x_libraries): Use =, not ==.

30 years ago(canonical): New variable holds the canonicalized
Richard M. Stallman [Mon, 19 Jul 1993 19:25:46 +0000 (19:25 +0000)]
(canonical): New variable holds the canonicalized
configuration.  Don't alter `configuration'.  Use `configuration'
for Makefile.in for file naming.

30 years ago(install): Use .n, not .new, for temporary filenames.
Richard M. Stallman [Mon, 19 Jul 1993 19:11:09 +0000 (19:11 +0000)]
(install): Use .n, not .new, for temporary filenames.

30 years ago(hebrew-holidays): Split into 4 sub-variables.
Richard M. Stallman [Mon, 19 Jul 1993 18:57:59 +0000 (18:57 +0000)]
(hebrew-holidays): Split into 4 sub-variables.

30 years ago(mouse-menu-bar-buffers): Add Frames pane if there are multiple panes.
Roland McGrath [Mon, 19 Jul 1993 05:44:27 +0000 (05:44 +0000)]
(mouse-menu-bar-buffers): Add Frames pane if there are multiple panes.

30 years ago(vc-rcs-status): Omit "LOCKER:" if you are the locker.
Paul Eggert [Mon, 19 Jul 1993 04:03:52 +0000 (04:03 +0000)]
(vc-rcs-status): Omit "LOCKER:" if you are the locker.

30 years ago(vc-comment-to-change-log): Copy interactive spec from
Roland McGrath [Mon, 19 Jul 1993 01:01:17 +0000 (01:01 +0000)]
(vc-comment-to-change-log): Copy interactive spec from
add-change-log-entry-other-window.  Call add-change-log-entry instead of
add-change-log-entry-other-window; pass it t for OTHER-WINDOW and NEW-ENTRY
args.  Go to bol before filling.

30 years ago(prompt-for-change-log-name): Autoload this (for vc-comment-to-change-log).
Roland McGrath [Mon, 19 Jul 1993 00:39:21 +0000 (00:39 +0000)]
(prompt-for-change-log-name): Autoload this (for vc-comment-to-change-log).
(add-change-log-entry): Take optional fourth arg NEW-ENTRY.  If non-nil,
never append to an existing entry.
(change-log-fill-paragraph): New function.
It might be nice to have a general feature to replace this.  The idea I
have is a variable giving a regexp matching text which should not be
moved from bol by filling.  change-log-mode would set this to "^\\s *\\s(".
But I don't feel up to implementing that today.
(change-log-mode-map): New defvar for keymap.  Bind M-q to
change-log-fill-paragraph in it.
(change-log-mode): Use that as local map.

30 years ago(vc-comment-to-change-log): Canonicalize following whitespace after
Roland McGrath [Mon, 19 Jul 1993 00:06:14 +0000 (00:06 +0000)]
(vc-comment-to-change-log): Canonicalize following whitespace after
filling, not before.  Set END to point at end of indentation.
Skip whitespace chars up to END before skipping back to delete.

30 years ago(vc-comment-to-change-log): Complete rewrite. Do not use
Roland McGrath [Sun, 18 Jul 1993 23:54:45 +0000 (23:54 +0000)]
(vc-comment-to-change-log): Complete rewrite.  Do not use
vc-update-change-log.  Instead, snarf last comment from vc-comment-ring and
insert it with add-change-log-entry-other-window.

30 years ago(add-log-current-defun-function): New defvar.
Roland McGrath [Sun, 18 Jul 1993 22:23:44 +0000 (22:23 +0000)]
(add-log-current-defun-function): New defvar.
(add-change-log-entry): Call its value if non-nil instead of
add-log-current-defun.
(add-change-log-entry-other-window): Doc fix.

30 years ago(compilation-error-list): An elt's cdr's car is again a cons (DIRECTORY .
Roland McGrath [Sun, 18 Jul 1993 20:41:08 +0000 (20:41 +0000)]
(compilation-error-list): An elt's cdr's car is again a cons (DIRECTORY .
FILE) if it's not a marker.  The conversion to using a string containing an
expanded file name was never finished, and anyway it utterly broke
compilation-search-path and few other things.
(next-error): Expect them that way.
(compilation-parse-errors): Make them that way.
(compile-file-of-error): Function removed.
(compilation-error-filedata, compilation-error-filedata-file-name): New
defsubsts.
(compilation-next-file): Use them instead of compile-file-of-error.

30 years ago(update-file-autoloads): Go to the beginning of FILE before searching it
Roland McGrath [Sun, 18 Jul 1993 20:01:03 +0000 (20:01 +0000)]
(update-file-autoloads): Go to the beginning of FILE before searching it
for generate-autoload-cookie.

30 years ago(cookie, cookie-insert, cookie-snarf, shuffle-vector): Autoload these.
Roland McGrath [Sun, 18 Jul 1993 19:56:35 +0000 (19:56 +0000)]
(cookie, cookie-insert, cookie-snarf, shuffle-vector): Autoload these.

30 years ago* xfns.c (Fx_create_frame): Block input around call to
Jim Blandy [Sun, 18 Jul 1993 08:07:18 +0000 (08:07 +0000)]
* xfns.c (Fx_create_frame): Block input around call to
x_new_font.  Test if the return value is a string, not if it's
nil; x_new_font can return things besides nil and strings, to
indicate error conditions.

30 years ago* makeinfo.el: Don't (require 'texinfmt) - that file doesn't exist
Jim Blandy [Sun, 18 Jul 1993 07:50:11 +0000 (07:50 +0000)]
* makeinfo.el: Don't (require 'texinfmt) - that file doesn't exist
any more; all its functions have been moved into other files.

30 years ago* files.el (insert-directory): Doc fix.
Jim Blandy [Sun, 18 Jul 1993 06:40:09 +0000 (06:40 +0000)]
* files.el (insert-directory): Doc fix.

* files.el (insert-directory): If FULL-DIRECTORY-P is non-nil,
add "." component to the end of the path, so that if file is a
symlink, we get the contents of the directory, not the symlink
itself.

30 years ago* xterm.c (x_term_init): Adjust message printed when we can't
Jim Blandy [Sun, 18 Jul 1993 06:29:55 +0000 (06:29 +0000)]
* xterm.c (x_term_init): Adjust message printed when we can't
connect to the X server.

* xterm.c (XTread_socket, UnmapNotify case): Add missing comment
terminator.

* xterm.c, sysdep.c (F_SETOWN_BUG): Defined.
* m/dpx2.h: New file.

30 years ago* xfns.c (Fx_open_connection): Don't trust HAVE_XRMSETDATABASE;
Jim Blandy [Sun, 18 Jul 1993 06:29:19 +0000 (06:29 +0000)]
* xfns.c (Fx_open_connection): Don't trust HAVE_XRMSETDATABASE;
use XrmSetDatabase only when HAVE_X11R5 is defined.

* xfns.c (Vx_resource_name): Renamed from Vxrdb_name, and made a
lisp-visible variable, so lisp/term/x-win.el can set it.  Doc it
for "internal use only"; no need for NEWS entry.
(validate_x_resource_name): New function.
(Fx_get_resource): Doc fix.  References to Vxrdb_name renamed.  Call
validate_x_resource_name.
(x_window): References to Vxrdb_name renamed.  Call
validate_x_resource_name.
(Fx_open_connection): References to Vxrdb_name renamed.  Instead
of setting and validating its value here, just call
validate_x_resource_name.
(syms_of_xfns): Add DEFVAR_LISP for Vx_resource_name.

* xfns.c (x_set_frame_parameters): Don't set the frame's size and
position unless those parameters are actually specified in ALIST.

* xrdb.c: Implement search for app-defaults directory and
localized default databases, along with some other functionality
provided by Xt.
#include <stdio.h>, since we call sprintf.
[emacs] (malloc, realloc, free): #define these to xmalloc,
xrealloc, and xfree.
(x_get_string_resource, file_p): Add forward declarations for
these.
(x_customization_string): New variable.
(x_get_customization_string): New function.
(gethomedir): Return malloc'ed space of the right size, instead of
writing into a fixed-size buffer; this means that our callers do
not impose an arbitrary limit on file name length.
(magic_file_p): Rewrite of decode_magic; actually do the
substitutions, instead of expanding all %-escapes to "".  Support
the customization string.  Return 0 or the expanded file name,
instead of just zero or one.  Allocate the space for the expanded
file name ourselves, instead of writing into a fixed-size buffer
passed to us; this removes an arbitrary limit.
(search_magic_path): Rewrite of magic_searchpath_decoder.  Return
0 or the expanded file name, instead of just zero or one.
Allocate the space for the expanded file name ourselves, instead
of writing into a fixed-size buffer passed to us; this means that
our callers do not impose an arbitrary limit on file name length.
(get_system_app): Changed to work with search_magic_path.
(get_user_app): Rewritten to work with search_magic_path, and not
to assume that the values of XAPPLRESDIR is a single directory.
(get_user_db): Properly use the new version of gethomedir.
(get_environ_db): Remove arbitrary limit on length of host name.
(x_load_resources): Take a new argument, myname.  Call get_user_db
early to obtain the customization string.
Changes to stand-alone testing code.
* xfns.c (Fx_open_connection): Set Vxrdb_name early, and pass it
to x_load_resources.

30 years ago* window.c [not MULTI_FRAME] (Fdelete_windows_on): Set FRAME
Jim Blandy [Sun, 18 Jul 1993 06:28:40 +0000 (06:28 +0000)]
* window.c [not MULTI_FRAME] (Fdelete_windows_on): Set FRAME
argument to Qt, instead of trying to typecheck it.

* window.c (Fdelete_windows_on): New optional argument FRAME; if
nil, delete windows on all frames.  If t, delete windows on the
selected frame only.  If a frame, delete windows on that frame
only.

* window.c (Fnext_window, Fprevious_window): Put these docstrings
in comments; the strings are too long for some C compilers.

30 years ago* intervals.c (split_interval_left, split_interval_right): Change
Jim Blandy [Sun, 18 Jul 1993 06:28:12 +0000 (06:28 +0000)]
* intervals.c (split_interval_left, split_interval_right): Change
OFFSET argument of these functions to be origin 0, not origin 1.
This is what all the callers currently want.
* intervals.c, textprop.c: All callers changed.

* textprop.c (Ftext_property_not_all): Renamed from
Ftext_property_all, and changed sense of return value, so that it
returns useful information if not all characters have properties
EQ to value.  Now all the existential and universal questions can
be asked.

* textprop.c (syms_of_textprop): Don't forget defsubr for
Stext_property_all.

* textprop.c (Ftext_property_any, Ftext_property_all): Use EQ to
compare property values, not Fequal.

* textprop.c (Ftext_property_any, Ftext_property_all): New
functions, from David Gillespie.
* intervals.h (Ftext_property_any, Ftext_property_all): Declare them.

30 years ago* termhooks.h: In order to avoid declaring struct input_event
Jim Blandy [Sun, 18 Jul 1993 06:27:38 +0000 (06:27 +0000)]
* termhooks.h: In order to avoid declaring struct input_event
(which contains Lisp_Objects) in those .c files which need access
to the terminal hooks but don't #include lisp.h (like cm.c), test
to see if the macro CONSP is #defined.  We used to test XINT, but
config.h will #define that everywhere on systems that use tailored
tagging schemes.