(tex-font-lock-keywords-1): Fix ARG regexp to skip quoted braces.
[emacs.git] / lisp / ChangeLog
blobe73ff7926a2e977c602d7bad7a214bd2ea61d5f7
1 2000-11-22  Stefan Monnier  <monnier@cs.yale.edu>
3         * textmodes/tex-mode.el (tex-font-lock-keywords-1):
4         Fix ARG regexp to skip quoted braces.
5         (tex-font-lock-keywords-2): Fix ARG regexp to skip quoted braces.
6         Remove `bf' and `it' from `bold' and `italic' (they were wrong and
7         are (correctly) handled separately).
8         Remove `caption' and `footnote' from `citations': they contain text.
9         Don't highlight `textmd', `texttt' and `textrm' with bold-italic.
10         (latex-skeleton-end-hook): New function.
11         (latex-mode): Use it.
12         (tex-start-tex-marker): Remove.
13         (tex-send-tex-command): Don't set tex-start-tex-marker.
14         (tex-error-parse-syntax-table): New var.
15         (tex-compilation-parse-errors): Use it.
16         Ignore tex-start-tex-marker.  Don't bother with marker-position.
17         (tex-validate-buffer): Don't bother with marker-position.
19         * textmodes/flyspell.el (flyspell-prog-text-faces): New var.
20         (flyspell-generic-progmode-verify): Use it.n
22 2000-11-22  Sam Steingold  <sds@gnu.org>
24         * simple.el (delete-trailing-whitespace): New interactive function.
25         * progmodes/ada-mode.el (ada-mode): Use it instead of
26         `ada-remove-trailing-spaces'
27         (ada-remove-trailing-spaces): Removed.
28         * textmodes/two-column.el (2C-merge): Recommend it in the doc.
29         * textmodes/picture.el (picture-clean): Removed.
30         (picture-mode-exit): Call it instead of `picture-clean'.
32 2000-11-22  Gerd Moellmann  <gerd@gnu.org>
34         * frame.el (show-cursor-in-non-selected-windows): Doc fix.
36         * hi-lock.el (hi-lock-refontify): Don't call non-existent
37         jit-lock-fontify-buffer; it should anyway be unneccessary to
38         do anything special when jit-lock is active.
39         (hi-yellow, hi-pink, hi-green, hi-blue): Fix defface specs.
41 2000-11-22  Dave Love  <fx@gnu.org>
43         * language/chinese.el, language/cyrillic.el:
44         * language/devanagari.el, language/ethiopic.el, language/greek.el:
45         * language/hebrew.el, language/indian.el, language/japanese.el:
46         * language/korean.el, language/lao.el, language/misc-lang.el:
47         * language/thai.el, language/tibetan.el, language/vietnamese.el:
48         Use provide.
50         * cus-edit.el (custom-buffer-create-internal): Save some consing.
51         (custom-variable-set): Improve validation error mesage.
53         * rect.el (string-rectangle): Revert last change.
54         (string-rectangle-line): New arg DELETE.
55         (string-rectangle): Check delete-selection-mode.
57         * emacs-lisp/edebug.el (edebug-version)
58         (edebug-maintainer-address): Deleted.
59         (edebug-submit-bug-report): Just alias to report-emacs-bug.
60         (edebug-read-function): Account for other `'#' read forms.
61         (edebug-mode-menus): Make some items toggles.
62         (edebug-outside-unread-command-event, unread-command-event):
63         Remove these to avoid warnings.
65 2000-11-22  David Ponce  <david@dponce.com>
67         * recentf.el (recentf-menu-items-for-commands)
68         (recentf-make-menu-items, recentf-make-menu-item)
69         (recentf-filter-changer): Added :help and :active menu-item properties.
71         (recentf-build-dir-rules, recentf-dump-variable)
72         (recentf-edit-list, recentf-open-files-item)
73         (recentf-open-files): Replaced unnecessary `mapcar' with new
74         built-in `mapc'.
76 2000-11-23  Miles Bader  <miles@gnu.org>
78         * faces.el (menu): Make inverse-video on ttys too.
80 2000-11-22  Stefan Monnier  <monnier@cs.yale.edu>
82         * simple.el (comment-line-break-function): Use the new name
83         indent-new-comment-line -> comment-indent-new-line.
84         (clone-indirect-buffer): Don't ignore NORECORD.
85         (next-completion): Properly handle the case where items are adjacent.
87         * mouse.el (popup-menu): Stupid typo.
89 2000-11-22  Gerd Moellmann  <gerd@gnu.org>
91         * emacs-lisp/authors.el: Remove autoload cookies, add author,
92         maintainer, keywords tags.
94         * rect.el (replace-rectangle): Don't call string-rectangle-line
95         with too many arguments.
97 2000-11-22  Andre Spiegel  <spiegel@gnu.org>
99         * ediff-util.el (ediff-file-checked-out-p)
100         (ediff-file-checked-in-p): Call vc-state instead of
101         vc-locking-user, which no longer exists.
103         * emulation/viper-util.el (viper-file-checked-in-p): Same as above.
105 2000-11-22  Dave Love  <fx@gnu.org>
107         * md5.el (md5): Provide.
108         (md5): Fix error call.
110 2000-11-22  Miles Bader  <miles@gnu.org>
112         * textmodes/refill.el (refill-adjust-ignorable-overlay)
113         (refill-fill-paragraph-at): Remove debugging code.
115         * calendar/calendar.el (generate-calendar-window): When we don't
116         call `fit-window-to-buffer', make sure the top line is fully visible.
118         * image-file.el (insert-image-file): Don't make `read-only'
119         property rear-nonsticky.
121         * isearch.el (isearch-original-minibuffer-message-timeout): New var.
122         (isearch-mode): Set `minibuffer-message-timeout' to nil, after
123         stashing away its original value.
124         (isearch-edit-string): Temporarily restore `minibuffer-message-timeout'
125         in the recursive edit.
126         Bind `isearch-original-minibuffer-message-timeout' to protect it.
127         (isearch-done): Restore `minibuffer-message-timeout'.
129         * cus-start.el: Remove entry for `mode-line-inverse-video'.
131 2000-11-21  Stefan Monnier  <monnier@cs.yale.edu>
133         * progmodes/ada-mode.el (ada-mode): `set '' -> `setq'.
135         * find-lisp.el (find-lisp-find-files-internal):
136         Use dolist, when and file-name-as-directory.
138         * emacs-lisp/edebug.el (edebug-form-spec prop): Use dolist.
139         (define-derived-mode, define-minor-mode): Add specs.
141         * window.el: General comment and spacing fixes.
142         (save-selected-window): Use backquotes.
143         (window-safely-shrinkable-p): New function.
144         (shrink-window-if-larger-than-buffer): Use it.
146         * subr.el (make-local-hook): Docstring fix.
148         * shell.el (shell-mode): Use define-derived-mode.
150         * newcomment.el (comment-indent): Insert comment before calling
151         comment-indent-function.  Don't insert in column 0.
152         (comment-dwim): Indent before inserting comment.
154         * isearch.el (isearch-mode-map): Fix docstring.  Init in defvar.
155         (minibuffer-local-isearch-map): Init in defvar.  Use inheritance.
156         (isearch-clean-overlays, isearch-range-invisible, isearch-unread):
157         Use mapc rather than map.
159         * files.el (find-buffer-visiting): Compare all attributes before
160         declaring two files identical (rather than just their inode-no).
161         (auto-mode-alist): Use \' rather than $.
163         * which-func.el: Update maintainer line.
165         * pcvs.el (uniquify-buffer-file-name): Remove advice.
166         * uniquify.el (uniquify-list-buffers-directory-modes): New var.
167         (uniquify-buffer-file-name): Use it.
169 2000-11-22  Miles Bader  <miles@gnu.org>
171         * cus-start.el: Add entry for `minibuffer-prompt-properties'.
172         * simple.el (minibuffer-avoid-prompt): New function.
174 2000-11-21  Gerd Moellmann  <gerd@gnu.org>
176         * Makefile.in (.SUFFIXES): Add .SUFFIXES.
178 2000-11-21  Miles Bader  <miles@gnu.org>
180         * emacs-lisp/advice.el (ad-special-forms): Correct the conditional
181         inclusion of `track-mouse'.
183         * textmodes/refill.el (refill-ignorable-overlay): New variable.
184         (refill-adjust-ignorable-overlay): New function.
185         (refill-fill-paragraph-at): Use `refill-ignorable-overlay' to fill
186         only the paragraph's tail if possible.
187         Update `refill-ignorable-overlay'.
188         (refill-mode): Initialize/cleanup `refill-ignorable-overlay'.
190         * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
191         point inside the fill-prefix.
193         * textmodes/refill.el (refill-post-command-function): Don't reset
194         refill-doit in the case where a self-insertion command doesn't
195         case a refill.  Use `refill-fill-paragraph-at', getting position
196         from `refill-doit'.
197         (refill-after-change-function): Set `refill-doit' to END.
198         (refill-fill-paragraph-at): New function, mostly from old
199         refill-fill-paragraph.
200         (refill-fill-paragraph): Use `refill-fill-paragraph-at'.
201         (refill-pre-command-function): New function.
202         (refill-mode): Add it to `pre-command-hook'.
204 2000-11-20  Gerd Moellmann  <gerd@gnu.org>
206         * textmodes/artist.el (artist-mode): Fix autoload cookie.
208         * font-lock.el (java-keywords): Add MATCH-HIGHLIGHT part for
209         javadoc tags.
211 2000-11-20  Andre Spiegel  <spiegel@gnu.org>
213         * vc.el, vc-hooks.el: Undo prev change (moved functions back to
214         vc.el).
216         * vc-rcs.el (vc-rcs-state): Before calling vc-workfile-unchanged-p,
217         require vc.
219         * vc-cvs.el (vc-cvs-checkout): Fix bug that broke C-x v ~-style
220         checkouts.
222 2000-11-20  Dave Love  <fx@gnu.org>
224         * Makefile.in (DONTCOMPILE): Omit bindings.el.
226 2000-11-20  Gerd Moellmann  <gerd@gnu.org>
228         * calculator.el: New version from author.
230 2000-11-19  Gerd Moellmann  <gerd@gnu.org>
232         * info.el (info-menu-5): Doc fix.
234         * textmodes/artist.el: New file.
236 2000-11-19  Andre Spiegel  <spiegel@gnu.org>
238         * vc-rcs.el (vc-rcs-state): Call vc-workfile-unchanged-p only here,
239         and differentiate according to checkout model.
240         (vc-rcs-fetch-master-state): Don't call vc-workfile-unchanged-p,
241         since this function is only concerned with master state.
243         * vc-hooks.el (vc-workfile-unchanged-p,
244         vc-default-workfile-unchanged-p): Moved here from vc.el.
246         * vc.el (vc-workfile-unchanged-p,
247         vc-default-workfile-unchanged-p): See above.
249 2000-11-19  Miles Bader  <miles@gnu.org>
251         * image-file.el (insert-image-file): Make `intangible' and
252         `read-only' properties rear-nonsticky too.
254 2000-11-18  Gerd Moellmann  <gerd@gnu.org>
256         * ps-print.el: Update copyright notice.
258         * tooltip.el (tooltip-x-offset, tooltip-y-offset): New user-options.
259         (tooltip-show): Use the offsets.
261         * bindings.el (mode-line-modified): Fix a typo.
262         (mode-line-toggle-modified, mode-line-widen)
263         (mode-line-abbrev-mode, mode-line-auto-fill-mode): Fix typos.
265 2000-11-17  Gerd Moellmann  <gerd@gnu.org>
267         * ps-print.el: Minor fixes from author.
269 2000-11-16  Stefan Monnier  <monnier@cs.yale.edu>
271         * vc.el (vc-version-diff): Bind inhibit-read-only when inserting text.
272         (vc-version-backup-file): Docstring fix.
274 2000-11-16  Gerd Moellmann  <gerd@gnu.org>
276         * files.el (basic-save-buffer): Don't add a newline if
277         find-file-literally is non-nil.
278         (find-file-literally): Extend doc string.
280         * sort.el (sort-columns): If sort-fold-case it non-nil, invoke
281         sort(1) with the `-f' argument.
283 2000-11-16  Andre Spiegel  <spiegel@gnu.org>
285         * vc.el: Updated backend documentation.
286         (vc-default-check-headers): New function.
288         * vc-{cvs,rcs,sccs}.el: Functions reordered.
290         * vc.el (vc-revert-buffer): Ask for confirmation if file seems
291         up-to-date.
292         (vc-do-command): In the asynchronous case, output messages only if
293         the minibuffer is not active.
295         * vc-cvs.el (vc-cvs-revert): Use `cvs unedit' only if
296         `vc-cvs-use-edit' is on.
297         (vc-cvs-checkout): When this is used for reverting the workfile,
298         make a backup of the original contents and revert to that in case
299         of error.
300         (vc-cvs-print-log, vc-cvs-diff): Use asynchronous mode only for
301         remote repositories.
303         * vc.el (vc-annotate): Changed handling of prefix arg; now asks
304         for both version and ratio in the minibuffer.
306         * vc-cvs.el (vc-cvs-annotate-command): New optional arg VERSION.
307         Use vc-do-command to perform the annotation, not call-process.
309 2000-11-16  Kenichi Handa  <handa@etl.go.jp>
311         * international/quail.el (quail-start-translation): Don't call
312         `message' before reading key sequence.
314 2000-11-16  Miles Bader  <miles@lsi.nec.co.jp>
316         * net/ange-ftp.el (ange-ftp-file-modtime): Don't use `caddr'.
318 2000-11-16  Kenichi Handa  <handa@etl.go.jp>
320         * window.el (fit-window-to-buffer): Be sure to acquire at least
321         one text line even if the buffer is empty.
323 2000-11-16  Gerd Moellmann  <gerd@gnu.org>
325         * net/ange-ftp.el (ange-ftp-file-writable-p)
326         (ange-ftp-file-readable-p, ange-ftp-file-executable-p): Bind
327         ange-ftp-process-verbose to nil.
329 2000-11-15  Dave Love  <fx@gnu.org>
331         * wid-edit.el (widget-specify-field, widget-specify-button): If
332         :help-echo is a function, set help-echo of overlay to
333         widget-mouse-help.
334         (widget-mouse-help): New function.
335         (widget-echo-help): Rewritten for :help-echo functions only taking
336         a widget arg.
338         * net/eudc-bob.el (eudc-bob-can-display-inline-images): Use
339         display-graphic-p.
340         (eudc-bob-display-jpeg) <!eudc-xemacs-p>: Test create-image bound
341         and that JPEG is available.
342         (eudc-bob-toggle-inline-display): Avoid non-existent `imagep'.
344         * international/mule-cmds.el (locale-charset-language-names):
345         Match @euro.
347 2000-11-15  Gerd Moellmann  <gerd@gnu.org>
349         * faces.el (face-set-after-frame-default): If
350         `inhibit-default-face-x-resources' is bound, don't intialize the
351         default face from X resources.
353 2000-11-15  Eli Zaretskii  <eliz@is.elta.co.il>
355         * Makefile.in (custom-deps, finder-data, autoloads, recompile):
356         Don't set EMACSLOADPATH.
358 2000-11-15  Eli Zaretskii  <eliz@is.elta.co.il>
360         * textmodes/texinfo.el (texinfo-insert-@uref): Renamed from
361         texinfo-insert-@url.
362         (texinfo-insert-@url): A defalias for texinfo-insert-@uref.
363         (texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
365 2000-11-14  Stefan Monnier  <monnier@cs.yale.edu>
367         * emacs-lisp/checkdoc.el (checkdoc-minor-mode) <defvar>: Remove.
368         (checkdoc-minor-mode-map): New map, replaces checkdoc-minor-keymap.
369         (checkdoc-minor-keymap): Backward compatibility.
370         (checkdoc-minor-menu): Don't bother checking checkdoc-minor-keymap.
371         (checkdoc-minor-mode) <defun>: Use easy-mmode-define-minor-mode.
372         (checkdoc-this-string-valid-engine): Be a bit more strict
373         to avoid matching substrings of `...' quoted vars/funs.
374         (checkdoc-defun-info): Only look for `interactive' if alone.
375         (debug-ignored-errors): Add "arg doesn't appear in docstring".
377         * progmodes/compile.el (grep): `tag-default' can be nil.
379         * newcomment.el (comment-indent): Paren typo.
381 2000-11-14  Dave Love  <fx@gnu.org>
383         * calculator.el: New maintainer version.
385         * diff-mode.el (diff-imenu-generic-expression): Modify unidiff pattern.
387         * cmuscheme.el: Doc fixes.
388         (cmuscheme) <defgroup>: Use `scheme' as parent.
389         (cmuscheme-program-name): Remove.  Change uses to
390         scheme-program-name.
392         * xscheme.el (scheme-program-name): Don't define here.
394         * progmodes/scheme.el (scheme-program-name): New variable
395         (originally in cmuscheme).
397 2000-11-14  Miles Bader  <miles@gnu.org>
399         * window.el (fit-window-to-buffer): Handle windows without mode-lines.
400         Handle header-lines.  Don't loop forever if we can't enlarge the
401         window anymore.  Simplify a bit.
403 2000-11-14  Kenichi Handa  <handa@etl.go.jp>
405         * window.el (fit-window-to-buffer): Don't check
406         window-text-height.  Assure that the last line is fully visible.
408         * international/quail.el (quail-show-guidance-buf): Call
409         fit-window-to-buffer to assure the enough height of the guidance
410         buffer.
411         (quail-update-guidance): Avoid making the guidance buffer shorter.
413 2000-11-14  Stefan Monnier  <monnier@cs.yale.edu>
415         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Use `keep'
416         rather than `prepend' and add an interesting comment.
417         (tex-math-face, tex-font-lock-syntactic-face-function):
418         New face and function to use it.
419         (tex-define-common-keys, tex-mode-map): Use menu-item rather
420         than `menu-enable' symbol property.
421         (tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe.
422         (tex-mode): Add some latex-mode commands for auto-selection.
423         Use tex-font-lock-syntactic-face-function.
424         (tex-insert-quote): Simplify.
425         (tex-shell): New mode.
426         (tex-start-shell): Use it.
427         (tex-shell-proc, tex-shell-buf): New functions.
428         (tex-send-command): Use it.
429         (tex-main-file): Fix the meaning of the new arg REALFILE.
430         (tex-send-tex-command): New function split from `tex-start-tex'.
431         Set compilation-last-buffer and compilation-parsing-end.
433         * newcomment.el (comment-indent-default): Stick \s<\s< to the left
434         when it follows non-comment text on the line.
436         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
437         Set font-lock-defaults.
438         (lisp-mode-shared-map): Init inside the defvar.
439         (emacs-lisp-mode, lisp-mode, lisp-interaction-mode):
440         Use define-derived-mode.
442 2000-11-14  Miles Bader  <miles@lsi.nec.co.jp>
444         * faces.el (header-line): Use `:box nil' for color/gs displays too.
446 2000-11-14  Gerd Moellmann  <gerd@gnu.org>
448         * emacs-lisp/byte-opt.el (byte-compile-unfold-lambda): Don't
449         recursively optimize body because that can lead to infinite
450         recursion; see comment there.
452 2000-11-13  Eli Zaretskii  <eliz@is.elta.co.il>
454         * faces.el (face-spec-set-match-display): Revert the change from
455         2000-10-24.  Add a FIXME for after v21.1.
457 2000-11-13  Miles Bader  <miles@gnu.org>
459         * textmodes/fill.el (skip-line-prefix): New function.
460         (fill-region-as-paragraph, fill-region):  Return the fill-prefix.
461         (fill-paragraph): Don't leave point inside the fill-prefix.
462         * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
463         point inside the fill-prefix.
465 2000-11-13  Miles Bader  <miles@lsi.nec.co.jp>
467         * calendar/calendar.el (generate-calendar-window): Use
468         `fit-window-to-buffer'.
470 2000-11-12  Stefan Monnier  <monnier@cs.yale.edu>
472         * gud.el (gud-minor-mode): New var.
473         (gud-symbol, gud-val): New functions.
474         (gud-find-file): Copy gud-minor-mode to the new buffer.
475         (gud-menu-map): Include entries for commands that are not always
476         available, using :enable to (de)activate them.
477         (gud-minor-mode-map): New map.  Add it to minor-mode-map-alist.
478         (gud-mode-map): New map.
479         (gud-gdb-find-file, gud-sdb-find-file, gud-dbx-find-file)
480         (gud-xdb-find-file, gud-perldb-find-file, gud-pdb-find-file):
481         Don't set up gud's menu (it's done by the minor-mode).
482         (gud-minibuffer-local-map): New.
483         Replace gdb-minibuffer-local-map and pdb-minibuffer-local-map.
484         (gud-query-cmdline): New function.
485         (gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it.  Set gud-minor-mode.
486         (gud-mode): Use define-derived-mode.
487         Don't set up gud's menu (it's done by the minor-mode).
488         (gud-chop-words): Remove.
489         (gud-common-init): Use split-string instead.
490         (gud-new-keymap, gud-make-debug-menu): Eradicate.
492         * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
493         Add keyword arg :name.
495         * diff-mode.el (diff-mode-menu): Add entry for applying hunk.
496         (diff-count-matches, diff-split-hunk): New functions.
497         (diff-mode-map): Bind C-c C-s to diff-split-hunk.
499         * pcvs-info.el (cvs-fi-conflict-face): New var.
501         * progmodes/sh-script.el (sh-mode-syntax-table) <defvar>:
502         Make it into a simple syntax-table, shared among all submodes.
503         (sh-heredoc-face): Re-introduce.
504         (sh-font-lock-syntactic-face-function): New function.
505         (sh-mode): Use it.  Also use define-derived-mode.
506         Remove old bogus setting of indent-region-function.
507         (sh-set-shell): Don't set the syntax-table any more.
508         (sh-mode-syntax-table) <defun>: Remove.
510 2000-11-12  Miles Bader  <miles@gnu.org>
512         * textmodes/flyspell.el (flyspell-mode-on): Only output welcome
513         message if interactive.
515 2000-11-12  Dave Love  <fx@gnu.org>
517         * mail/feedmail.el: Fix header,
518         (feedmail) <defgroup>: Add :link.
520         * view.el: Use local-map property, not keymap on mode-line string.
522         * scroll-all.el (scroll-all-mode): Customize variable.  Add
523         autoload cookie to function.
525         * lazy-lock.el: Remove compatibility code.
527         * finder.el (finder-known-keywords): Add `files', remove `vms'.
528         (finder-help-echo): New variable.
529         (finder-mouse-face-on-line): Add help-echo stuff.
530         (finder-list-keywords, finder-list-matches): Use mapc.
532         * faces.el (face-font-registry-alternatives): Add :version.
534         * progmodes/etags.el (visit-tags-table-buffer): Beware of `t' in
535         tags-table-list.
537         * net/browse-url.el (browse-url-browser-function): Update :version.
539         * mail/sendmail.el (mail-font-lock-keywords): Use [:alpha:], not a-z.
540         (mail-mode): Use [:alnum:] in some regexps.
542 2000-11-10  Dave Love  <fx@gnu.org>
544         * ediff.el (ediff-regions-internal, ediff-documentation):
545         * ediff-vers.el (rcs-ediff-view-revision): Put temp buffer into
546         fundamental mode.
548         * ediff-util.el (ediff-status-info, ediff-debug-info): Put temp
549         buffer into fundamental mode.
550         (ediff-set-difference): Use copy-sequence if available.
552         * ediff-ptch.el (ediff-dispatch-file-patching-job): Check
553         ediff-patch-map non-nil.
554         (ediff-fixup-patch-map, ediff-fixup-patch-map)
555         (ediff-fixup-patch-map, ediff-patch-file-internal): Put temp
556         buffer into fundamental mode.
558         * ediff-merg.el (state-or-merge): Defvar when compiling.
560 2000-11-10  Jason Rumney  <jasonr@gnu.org>
562         * w32-fns.el (w32-add-charset-info): New function.
563         (w32-charset-info-alist): Use it.
565 2000-11-10  Gerd Moellmann  <gerd@gnu.org>
567         * faces.el (face-font-registry-alternatives): New user-option.
569 2000-11-10  Stefan Monnier  <monnier@cs.yale.edu>
571         * textmodes/texinfo.el (texinfo-block-default): New var.
572         (texinfo-insert-block): Use it.  Insert a newline if needed.
574         * textmodes/fill.el (fill-indent-according-to-mode): New var.
575         (fill-region-as-paragraph): Use it.
577         * textmodes/tex-mode.el (standard-latex-block-names): Add "math".
578         (latex-mode): Tweak tex-*-(head|trail)er regexps.
579         Tweak paragraph regexps to allow a leading [ \t]*.
580         (tex-latex-block): Insert a newline if necessary.
581         (latex-insert-item): Only insert a newline if necessary.
582         (tex-guess-main-file): New function.
583         (tex-main-file): Use it.  Add arg `realfile'.  Trim `.tex'.
584         Set tex-main-file if TeX-master is provided.
585         (tex-latex-indent-syntax-table): Map ( and ) to punctuation.
587 2000-11-10  Gerd Moellmann  <gerd@gnu.org>
589         * startup.el (command-line): Set the default tooltip-mode
590         to t for graphical displays which implement x-show-tip.
592         * tooltip.el (tooltip-mode): Add a comment about startup.el
593         setting the default value of this user-option.
595 2000-11-09  Stefan Monnier  <monnier@cs.yale.edu>
597         * font-lock.el (font-lock-*-face) <defvar>: Move.
598         (font-lock-defaults-alist): Mark obsolete.
599         (font-lock-mode, font-lock-mode-hook) <defvar>: Remove.
600         (font-lock-mode): Use define-minor-mode.
601         (font-lock-support-mode): Tweak type to default to jit-lock-mode.
602         (font-lock-turn-off-thing-lock): Be more explicit.
603         (font-lock-apply-syntactic-highlight): Use string-to-syntax after eval.
604         (font-lock-syntactic-face-function): New var.
605         (font-lock-fontify-syntactically-region): Use it.
606         (font-lock-doc-face): New.
608         * pcvs.el (cvs-enabledp): Ignore errors.
609         (cvs-commit-filelist): Never query.
610         (cvs-mode-insert): Always add a terminating / in the initial prompt.
611         (cvs-mode-diff-backup): Use cvs-partition rather than delete-if-not.
612         (cvs-do-removal): Use cvs-partition rather than delete-if.
613         Use cvs-insert-strings, cvs-pop-to-buffer-same-frame and
614         cvs-bury-buffer.
616         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
617         Allow `next' to jump to after the end of the last match.
619 2000-11-09  Gerd Moellmann  <gerd@gnu.org>
621         * simple.el (byte-compiling-files-p): New function.
623         * textmodes/ispell.el (toplevel): Use byte-compiling-files-p
624         if it is there.
626         * emacs-lisp/bytecomp.el (byte-compile-current-file): Bind it to
627         nil again.
629         * textmodes/ispell.el (ispell-library-path): Don't call
630         check-ispell-version when byte-compiling because that starts
631         an ispell process, and ispell might not be installed.
632         (toplevel): Don't set up a menu when byte-compiling.
634         * emacs-lisp/bytecomp.el (byte-compile-current-file): Don't bind
635         it, so that a boundp test can be used to determine if we're
636         currently byte-compiling.
638 2000-11-09  Dave Love  <fx@gnu.org>
640         * pcvs.el (uniquify-buffer-file-name): Wrap advice in
641         eval-after-load.
643 2000-11-09  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
645         * ps-print.el: Patch for variable initialization when spooling.  Doc
646         fix.
647         (ps-output-list): Fun eliminated.
648         (ps-begin-file, ps-begin-job): Code fix.
650 2000-11-08  Dave Love  <fx@gnu.org>
652         * ediff-wind.el (ediff-control-frame-parameters): Zero
653         tool-bar-lines.
655 2000-11-08  Gerd Moellmann  <gerd@gnu.org>
657         * simple.el (shell-command, display-message-or-buffer)
658         (shell-command-on-region): Mention resize-mini-windows in the doc
659         string.
660         (display-message-or-buffer): Take the value of resize-mini-windows
661         into account.
663 2000-11-07  Gerd Moellmann  <gerd@gnu.org>
665         * macros.el (insert-kbd-macro): Print semi-colons as `?\;'.
667         * dired.el (dired-between-files): Add `^. find' as an alternative
668         to the regular expression, for find-dired.
670 2000-11-06  Stefan Monnier  <monnier@cs.yale.edu>
672         * textmodes/texnfo-upd.el: Require texinfo.
673         (defmacro, defgroup): Remove.
674         (texinfo-section-to-generic-alist): Remove.
675         Use texinfo-section-list instead (i.e. level is changed string->int).
676         (texinfo-filter): New function.
677         (texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp)
678         (texinfo-subsection-level-regexp, texinfo-section-level-regexp):
679         Use it.  And use regexp-opt.
680         (texinfo-find-higher-level-node, texinfo-hierarchic-level)
681         (texinfo-update-menu-region-beginning)
682         (texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps)
683         (texinfo-update-the-node, texinfo-sequentially-update-the-node)
684         (texinfo-update-menu-same-level-regexps): Update.
685         (texinfo-update-node, texinfo-every-node-update)
686         (texinfo-sequential-node-update): Remove autoload cookie.
688         * textmodes/texinfo.el (texinfo-section-list): Change majorheading.
689         (texinfo-font-lock-syntactic-keywords): Use syntax-strings.
690         (texinfo-chapter-level-regexp): Remove.
691         (texinfo-mode): Hard code texinfo-chapter-level-regexp.
693 2000-11-06  Dave Love  <fx@gnu.org>
695         * autoinsert.el (auto-insert-alist) <latex-mode>: Use \documentclass.
697         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
698         Match defun*.
700 2000-11-06  Kenichi Handa  <handa@etl.go.jp>
702         * composite.el (composition-function-table): Variable declaration
703         moved to src/composite.c.
704         (compose-chars-after): New optional arg object.
706 2000-11-06  Gerd Moellmann  <gerd@gnu.org>
708         * bindings.el (mode-line-toggle-read-only)
709         (mode-line-toggle-modified, mode-line-widen)
710         (mode-line-abbrev-mode, mode-line-auto-fill-mode): New functions.
711         (make-mode-line-mouse2-map): Rewritten.
712         (mode-line-modified, mode-line-format, minor-mode-alist): Use new
713         functions so that C-h k can show something with a doc string.
715         * startup.el (fancy-splash-delay): Set to 10 seconds.
716         (fancy-splash-max-time): New user-option.
717         (fancy-splash-stop-time): New variable.
718         (fancy-splash-screens): Set it.  Catch `stop-splashing'.
719         (fancy-splash-screens-1): Throw `stop-splashing' when current
720         time is greater than fancy-splash-stop-time.
722 2000-11-06  Stefan Monnier  <monnier@cs.yale.edu>
724         * vc-hooks.el (vc-insert-file): Don't assume byte==char.
726         * pcvs.el (cvs-mode-marked): New arg `noquery'.
727         Prompt user for a file rather than raising an error.
728         (cvs-enabledp): Fix call to cvs-mode-marked.
729         (cvs-insert-file): New function (extracted from cvs-mode-insert).
730         (cvs-mode-insert): Use it.  Change the init prompt' value.
731         (cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
733         * emacs-lisp/ewoc.el (ewoc-goto-prev, ewoc-goto-next):
734         Don't pass default arg to ewoc-locate.
735         (ewoc-collect): Return result in the right order.
737         * log-edit.el (log-edit-show-files): Use cvs-insert-strings.
739         * cvs-status.el (cvs-tree-merge): Use cvs-butlast (avoid CL).
740         (cvs-status-get-tags): Fix regexp.
741         (cvs-status-trees, cvs-status-cvstrees):
742         Combine after change hooks and don't sit-for.
743         (cvs-tree-use-jisx0208): Rename from cvs-tree-dstr-2byte-ready.
744         (cvs-tree-char-*): Rename from cvs-tree-dstr-char-*.
745         Use make-char rather than hard-coded cryptic data.
746         (cvs-status-cvstrees): Convert the buffer to multibyte if necessary.
748         * pcvs-defs.el (cvs-menu): Add entries for tree and insert.
750         * pcvs-util.el (cvs-butlast, cvs-nbutlast): New (copied from CL).
751         (cvs-insert-strings): New function.
753 2000-11-06  Miles Bader  <miles@lsi.nec.co.jp>
755         * mwheel.el (mouse-wheel-scroll-amount): Renamed from
756         `mwheel-scroll-amount'.
757         (mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
758         (mouse-wheel-mode): Use (featurep 'xemacs) instead of
759         string-matching against the version string.
761 2000-11-06  Kenichi Handa  <handa@etl.go.jp>
763         * language/thai.el ("Thai"): Set a lisp form that produces
764         composed string in `sample-text' language info.
766         * language/tibetan.el ("Tibetan"): Set a lisp form that produces
767         composed string in `sample-text' language info.
769         * international/mule-cmds.el (describe-language-environment): Eval
770         `sample-text' data and insert the result.
772         * international/mule-conf.el (compound-text): Define this coding
773         system here.  Make x-ctext and ctext aliases of it.
775         * language/european.el (compound-text, ctext): Moved to
776         international/mule-conf.el.
778 2000-11-05  Andrew Innes  <andrewi@gnu.org>
780         * w32-fns.el (w32-version): New function.
782 2000-11-05  Stefan Monnier  <monnier@cs.yale.edu>
784         * progmodes/awk-mode.el: Update copyright.
785         (awk-mode-abbrev-table): Remove.
786         (awk-font-lock-keywords): Use regexp-opt.
787         (awk-mode): Use define-derived-mode.
789         * emacs-lisp/regexp-opt.el (regexp-opt-group): Sort the strings
790         when extracting a suffix.
792 2000-11-04  Andre Spiegel  <spiegel@gnu.org>
794         * vc-hooks.el (vc-insert-file): Rewritten.  Don't bother about
795         auto-save-mode.
797 2000-11-04  Jason Rumney  <jasonr@gnu.org>
799         * language/european.el (decode-mac-roman): Test against r1 not r0.
801 2000-11-03  Stefan Monnier  <monnier@cs.yale.edu>
803         * progmodes/icon.el (icon-mode-map): Don't rebind \t.
804         (icon-mode): Define indent-line-function.
805         (icon-comment-indent): Simplify.
806         (icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
808         * emacs-lisp/find-func.el (find-function-do-it): Quote the hook.
810         * pcvs.el (cvs-mode-add-change-log-entry-other-window):
811         Bind change-log-default-mode to defeat the caching done on it.
812         Don't bother saving excursion any more.
814         * menu-bar.el (minibuffer maps): Use dolist rather than mapcar.
816         * frame.el (after-setting-font-hook): Rename hooks -> hook.
817         (set-frame-font): Use the new name (and the old for compatibility).
819         * toolbar/tool-bar.el (tool-bar-mode):
820         * time.el (display-time-mode):
821         * recentf.el (recentf-mode):
822         * paren.el (show-paren-mode):
823         * mwheel.el (mouse-wheel-mode):
824         * msb.el (msb-mode):
825         * jka-compr.el (auto-compression-mode):
826         * image-file.el (auto-image-file-mode):
827         * hl-line.el (hl-line-mode):
828         * delsel.el (delete-selection-mode):
829         * autoinsert.el (auto-insert-mode):
830         * complete.el (partial-completion-mode): Drop unneeded positional args.
832         * info.el (Info-mode):
833         * comint.el (comint-mode): Don't both with make-local-hook.
835         * log-edit.el (log-edit-menu): New menu.
837 2000-11-03  Miles Bader  <miles@gnu.org>
839         * wid-edit.el (widget-end-of-line): Reinstate, with a new
840         definition, so that trailing spaces are handled properly.
841         (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
843 2000-11-03  Gerd Moellmann  <gerd@gnu.org>
845         * startup.el (fancy-splash-text, fancy-splash-text): Use a single
846         tab character.
847         (fancy-splash-screens): Set tab-width to 20.
849 2000-11-03  Dave Love  <fx@gnu.org>
851         * comint.el (comint-completion-addsuffix): Fix custom type.
853 2000-11-02  Stefan Monnier  <monnier@cs.yale.edu>
855         * font-lock.el (font-lock-buffers): Remove.
856         (font-lock-global-modes): Define with easy-mmode-define-global-mode.
857         (font-lock-change-major-mode): Remove.
858         (turn-on-font-lock-if-enabled): Only apply to the current buffer.
859         (font-lock-default-fontify-region): Extend the multiline
860         fontification to whole lines.
861         (font-lock-fontify-anchored-keywords)
862         (font-lock-fontify-keywords-region): If matching just one
863         line (with \n) only mark the \n as multiline.
865         * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
866         Correctly handle the case where several :group args are supplied.
867         Allow :extra-args.
868         (easy-mmode-define-global-mode): Allow :extra-args.
869         Correctly handle the case where several :group args are supplied.
871 2000-11-02  Miles Bader  <miles@gnu.org>
873         * calendar/calendar.el (diary-face, calendar-today-face)
874         (holiday-face): Remove dependency on `window-system'.
876 2000-11-02  Ken Raeburn  <raeburn@gnu.org>
878         * Makefile.in (emacs): Set EMACSLOADPATH always.
879         (update-authors, .el.elc, compile-files): Don't do it explicitly
880         here.
881         (compile-files): Bomb out if compilation of a file fails.
883 2000-11-02  Dave Love  <fx@gnu.org>
885         * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
887 2000-11-02  Eli Zaretskii  <eliz@is.elta.co.il>
889         * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
890         punctuation in the warning inserted into the *mail* buffer.
892 2000-11-02  Gerd Moellmann  <gerd@gnu.org>
894         * emacs-lisp/authors.el (authors-public-domain-files): New variable.
895         (authors-public-domain-p): New function.
896         (authors-print): Use it.
898         * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
900         * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
902 2000-11-02  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
904         * ps-print.el: Extension for even/odd printing.  Doc fix.
905         (ps-print-version): New version number (6.3.1).
906         (ps-even-or-odd-pages): Customization fix.
907         (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
908         (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
909         (ps-page-count): Var replaced by `ps-page-column'.
910         (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
911         (ps-print-sheet-p): New fun.
913 2000-11-02  Miles Bader  <miles@lsi.nec.co.jp>
915         * tooltip.el (tooltip-gud-tips-setup): New function.
916         (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
917         (tooltip-mode): Call tooltip-gud-tips-setup.
918         (tooltip-gud-tips): Use `gud-basic-call' instead of
919         process-send-string, so the prompt gets frobbed appropriately.
920         Handle nil return value from `tooltip-gud-print-command'.
922 2000-11-01  Eric M. Ludlam  <zappo@ultranet.com>
924         * comint.el (comint-add-to-input-history): New function.
925         (comint-send-input): Use `comint-add-to-input-history'.
927 2000-11-02  Miles Bader  <miles@lsi.nec.co.jp>
929         * info.el (info-menu-header): New face.
930         (Info-fontify-menu-headers): New function.
931         (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
933         * info.el (Info-insert-dir): Don't include blank lines at
934         beginning of additional dir files (one is added automatically).
936 2000-11-01  Stefan Monnier  <monnier@cs.yale.edu>
938         * emacs-lisp/easy-mmode.el (define-minor-mode):
939         Revert the latest changes.
940         Allow the three positional arguments to be skipped and replaced
941         by keyword arguments.
942         Add a :toggle argument to determine whether a nil arg means toggle
943         or means turn-on.  The default is unchanged.
944         Add a call to force-mode-line-update.
946 2000-11-01  Dave Love  <fx@gnu.org>
948         * emacs-lisp/elp.el (elp-restore-function): Remove autoload
949         cookie.
951 2000-11-01  Miles Bader  <miles@lsi.nec.co.jp>
953         * calendar/calendar.el (diary-face, holiday-face): Add
954         dark-background variants.
956 2000-10-31  Sam Steingold  <sds@gnu.org>
958         * textmodes/tex-mode.el (tex-file): Use `default-directory' when
959         `tex-main-file' does not have directory in it.
961 2000-10-31  Stefan Monnier  <monnier@cs.yale.edu>
963         * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
965 2000-10-31  Thien-Thi Nguyen  <ttn@gnu.org>
967         * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
968         functional change.
970 2000-10-31  Gerd Moellmann  <gerd@gnu.org>
972         * files.el (find-file-noselect): When we expand a wildcard, return
973         a list of buffers, as we should do according to the doc string.
975 2000-10-31  Ken Raeburn  <raeburn@gnu.org>
977         * loadup.el (top level): Adjust load path if program name is
978         "../src/bootstrap-emacs", in case it's not dumped and thus the
979         load path adjustment hasn't already been done.
981 2000-10-31  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
983         * ps-print.el: Fix bug on selected pages for printing.  Use
984         `color-values' for Emacs 21.  Ensure fontification when jit-lock
985         is on.  Try to avoid warning messages when compiling.  Doc Fix.
986         (ps-print-version): New version number (6.3).
987         (ps-color-device): Use `color-values' to determine if device
988         supports color.
989         (ps-color-values): Try to use `x-color-values' when using XEmacs.
990         (ps-print-page-p): Changed from defsubst to defun.
991         (ps-page-number): Changed from defmacro to defun.
992         (ps-header-sheet, ps-header-page): Fix bug on selected pages for
993         printing.
994         (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
995         (ps-end-file, ps-dummy-page): Funs eliminated.
996         (ps-print-color-scale): Changed default value.
997         (ps-page-n-up, ps-print-page-p): New internal vars.
998         (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
999         (ps-plot-region, ps-generate, ps-end-job): Code fix.
1001         * delim-col.el: Little programming improvement.
1002         (delimit-columns-str): New macro.
1003         (delimit-columns-region, delimit-columns-rectangle): Code fix.
1005 2000-10-31  Kenichi Handa  <handa@etl.go.jp>
1007         * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
1008         Moved to european.el.
1009         (ccl-encode-mac-roman-font, fontset-mac): Modified for
1010         mule-unicode-2500-33ff and mule-unicode-e000-ffff.
1011         (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
1012         (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
1014 2000-10-30  Dave Love  <fx@gnu.org>
1016         * progmodes/cc-menus.el (imenu-generic-expression)
1017         (imenu-progress-message): Only defvar when compiling.
1019         * emacs-lisp/elp.el (elp-unload-hook): New function.
1021         * loadhist.el (unload-feature): Call elp-restore-function,
1022         checking for symbols; don't use elp-restore-all.
1023         (loadhist-hook-functions): Doc fix.
1025 2000-10-30  Stefan Monnier  <monnier@cs.yale.edu>
1027         * log-edit.el (log-edit-confirm): Fix the default.
1029 2000-10-30  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
1031         * delim-col.el: Little fix: replace delimit-columns-align-columns by
1032         delimit-columns-format.
1033         (delimit-columns-region, delimit-columns-rectangle): Code fix.
1035 2000-10-30  Miles Bader  <miles@lsi.nec.co.jp>
1037         * comint.el (comint-replace-by-expanded-history): Don't use
1038         comint-get-old-input (we're not looking at *old* input).
1039         (comint-get-old-input-default): If using fields, signal an error
1040         when the point is not in an input field.
1042 2000-10-30  Kenichi Handa  <handa@etl.go.jp>
1044         * international/mule-conf.el: New charsets mule-unicode-2500-33ff
1045         and mule-unicode-e000-ffff.
1047         * international/mule.el (decode-char, encode-char): New functions.
1048         (make-coding-system): Accept a symbol of translation table as a
1049         value of property `safe-chars'.
1051         * international/mule-cmds.el (encode-coding-char): Check property
1052         safe-chars instead of safe-charsets.
1054         * international/fontset.el (fontset-default): Modified for
1055         mule-unicode-2500-33ff and mule-unicode-e000-ffff.
1056         (x-font-name-charset-alist): Likewise.
1057         (ccl-encode-unicode-font): New CCL program.  Record it in
1058         font-ccl-encoder-alist to be used for fonts "ISO10646-1".
1060         * language/european.el (mac-roman-decoder, mac-roman-encoder):
1061         New translation tables.
1062         (decode-mac-roman, encode-mac-roman): Definition of these CCL
1063         programs are modified and moved from mac-win.el.
1064         (mac-roman): Definition of this coding system is modified and
1065         moved from mac-win.el.
1067 2000-10-29  Michael Kifer  <kifer@cs.sunysb.edu>
1069         * ediff-wind.el (ediff-setup-control-frame): Enclose
1070         face-attribute in condition-case to avoid errors in older emacsen.
1072 2000-10-29  Miles Bader  <miles@gnu.org>
1074         * custom.el (custom-add-to-group): Allow multiple entries for a
1075         given value OPTION, as long as their widget types are different.
1076         * cus-edit.el (custom-face-value-create): If face name doesn't end
1077         with "face", add such here (similar to custom group widgets).
1079         * comint.el (comint-highlight-prompt): Add :type.
1081 2000-10-28  John Wiegley  <johnw@gnu.org>
1083         * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
1084         Changed this function to operate on a temporary buffer instead of
1085         the main buffer.  This not only keeps flyspell from marking a
1086         buffer as changed that wasn't, but it solves the jumpy cursor
1087         problem when attempts are made to edit incorrect words.
1088         (flyspell-maybe-correct-doubling): Same change as for
1089         `flyspell-maybe-correct-transposition'.
1091         * calendar/timeclock.el (timeclock-log): Doc fix.
1092         (timeclock-last-event): Doc fix.
1093         (timeclock-log): Kill the timelog buffer after appending a new
1094         event.
1095         (timeclock-find-discrep): Use a temp buffer to read in the
1096         timelog, instead of visiting the file.
1097         (timeclock-log-data): A new function, along with a host of helper
1098         functions, for the purpose of making timelog data accessible to
1099         programmers.
1101         * eshell/esh-mode.el (window-height test): Make certain that
1102         `eshell-stringify-t' is non-nil.
1103         (eshell-password-prompt-regexp): Changed to a much simpler
1104         password regexp.
1105         (eshell-send-input): If `eshell-invoke-directly' returns t,
1106         directly invoke the parsed command using `eval'.  This improves
1107         turn-around time on simple commands by a factor of three or
1108         greater, such as cd, ls, pwd, etc. -- which get used very often.
1109         It also conserves thousands of cons cells per call (since
1110         `eshell-do-eval' consumes memory like a Cookie Monster set loose
1111         in the Pacific Cookie Company).
1113         * eshell/esh-test.el (eshell-test): Whitespace fix.
1115         * eshell/em-ls.el (eshell-ls-insert-directory): Make
1116         `eshell-ls-initial-args' nil when inserting directory contents.
1118         * eshell/em-script.el (eshell-script-initialize): Add names to
1119         `eshell-complex-commands, since `source' and `.' are complex.
1121         * eshell/esh-cmd.el (eshell-rewrite-for-command)
1122         (eshell-rewrite-while-command): Use `eshell-protect' instead of
1123         `eshell-copy-handles'.
1124         (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
1125         bodies.
1126         (eshell-separate-commands): Whitespace fix.
1127         (eshell-complex-commands): Added a new list of names, for
1128         determining whether a given command is as simple as it looks.
1129         (eshell-invoke-directly): New function.  Returns t if a command
1130         should be invoked directly (using `eval'), rather than indirectly
1131         using `eshell-do-eval'.
1132         (eshell-do-eval): Whitespace fix.
1134         * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
1135         which provides an emulation of the DOS shell behavior of assuming
1136         that cp/mv/ln should copy/move/link to the current directory.
1137         (eshell-remove-entries): Added a doc string.
1138         (eshell-shuffle-files): Removed the check for `target' being null.
1139         (eshell-mvcp-template, eshell-mvcpln-template): Renamed
1140         `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
1141         it to do a smarter check of whether a destination was provided.
1142         (eshell/mv, eshell/cp): Enable `:preserve-args'.
1143         (eshell/ln): Enable `:preserve-args', and use
1144         `eshell-mvcpln-template' to implement the body of the function.
1145         (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
1146         (eshell/du, eshell/diff, eshell/locate): Stringify the argument
1147         list after flattening it.  This makes it possible to cat files
1148         with numerical names.
1149         (eshell-unix-initialize): Added several names to
1150         `eshell-complex-commands.
1151         (eshell-unix-command-complex-p): Return t if a given command name
1152         may result in external processes being invoked.
1154         * eshell/em-glob.el (eshell-glob-show-progress): Make this
1155         variable nil by default, since it slows down glob processing by a
1156         factor of two or more, and increases memory consumption.
1158         * eshell/em-smart.el: Added a note about how memory consumptive
1159         smart display mode can be (at least this is true in Emacs 21).
1160         (eshell-smart-initialize): Whitespace fix.
1161         (eshell-refresh-windows): Use `if' instead of `when'.
1162         (eshell-smart-scroll-window): Calling `save-current-buffer' was
1163         not necessary.
1164         (eshell-currently-handling-window): Added a missing global
1165         variable.
1167         * eshell/em-ls.el (eshell-do-ls): Code simplification.
1168         (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
1169         Whitespace fix.
1170         (eshell-ls-exclude-hidden): Added this variable in addition to
1171         `eshell-ls-exclude-regexp'.  This one prevents files beginning
1172         with . from even being read, which can improve memory consumption
1173         quite a bit.
1174         (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
1175         read file entries beginning with a dot.  In home directories with
1176         lots of hidden files, fully two-thirds of the time spent in ls is
1177         used to read directory entries that are immediately thrown away.
1178         (eshell-ls-initial-args): Added back this configuration variable,
1179         for specifying default initial arguments to every call to ls.
1180         Much faster than using an alias to do the same thing.
1181         (eshell-do-ls): Use `eshell-ls-initial-args', if set.
1182         (eshell-ls-dir): Whitespace change.
1184         * eshell/em-dirs.el (eshell/pwd): Small code simplification.
1186         * eshell/esh-util.el: Don't require `ange-ftp' if it's not
1187         available.
1188         (eshell-stringify-t): Added a customization variable, to indicate
1189         whether `t' should be rendered as a string at all.  If not, one
1190         can still determine if the result of an expression is true using
1191         "file-exists-p FILE && echo true".
1192         (eshell-stringify): If `eshell-stringify-t' is nil, don't
1193         stringify t!
1195         * eshell/esh-module.el: Whitespace fix.
1197         * eshell/em-alias.el (eshell-alias-initialize): Added
1198         `eshell-command-aliased-p' to `eshell-complex-commands'.
1199         (eshell-command-aliased-p): New function that returns t if a
1200         command name names an aliased.
1202 2000-10-29  Michael Kifer  <kifer@cs.sunysb.edu>
1204         * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
1205         redrawing the screen when changing cursor color.
1206         (viper-insert-state-pre-command-sentinel)
1207         (viper-replace-state-pre-command-sentinel)
1208         (viper-replace-state-post-command-sentinel):
1209         Use viper-preserve-cursor-color.
1210         Many functions changed to use viper= instead of = when comparing
1211         characters.
1212         * viper-util.el (viper-memq-char,viper=): New functions for
1213         working with characters.
1214         (viper-change-cursor-color): Fixed buglet.
1215         Many functions changed to use viper= instead of = when comparing
1216         characters.
1217         * viper.el (viper-insert-state-mode-list): Added eshell.
1219         * ediff-init.el (ediff-before-setup-hook): New hook.
1220         Several typos fixed in various docstrings.
1221         * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
1222         * ediff-nult.el (ediff-before-session-group-setup-hooks): New
1223         hook.
1224         (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
1225         * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
1226         (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
1227         (ediff-get-selected-buffers): New function.
1228         * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
1229         (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
1230         save-window-excursion.
1231         * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
1232         termination check in while loop.
1233         * ediff.el (ediff-get-default-file-name): Better defaults when in
1234         dired buffer.
1235         (ediff-files,ediff-merge-files,ediff-files3)
1236         (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
1238 2000-10-28  Dave Love  <fx@gnu.org>
1240         * info.el (Info-fontify-node): Add help-echo for menu items.
1242 2000-10-28  Eli Zaretskii  <eliz@is.elta.co.il>
1244         * startup.el (normal-top-level): If the value of $TERM indicates
1245         we are running from xterm or one of its work-alikes, default to a
1246         light background mode.
1248         Support for -fg, -bg, and -rv command-line arguments for TTYs:
1249         * faces.el (tty-handle-reverse-video): New function.
1250         (tty-create-frame-with-faces): Call it.
1252         * frame.el (frame-notice-user-settings): Don't apply
1253         default-frame-alist and initial-frame-alist to MS-DOS frames.
1254         Call tty-handle-reverse-video, frame-set-background-mode, and
1255         face-set-after-frame-default for non-MS-DOS frames.
1257         * startup.el (tty-long-option-alist): New variable.
1258         (tty-handle-args): New function.
1259         (command-line): Call tty-handle-args.
1261         * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
1262         startup.el now does that for all character-terminal frames.
1264 2000-10-28  Miles Bader  <miles@gnu.org>
1266         * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
1267         `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
1268         global.  If :global is followed by a non-nil but non-t value,
1269         make the mode buffer-local, but also generate a `global-MODE'
1270         version using `easy-mmode-define-global-mode'.  Add
1271         :conditional-turn-on keyword argument.
1273 2000-10-28  Dave Love  <fx@gnu.org>
1275         * international/latin1-disp.el (latin1-char-displayable-p): Don't
1276         use window-system.
1278 2000-10-27  Eli Zaretskii  <eliz@is.elta.co.il>
1280         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1281         Don't call find-buffer-file-type-coding-system.  Instead, just
1282         set eol-type to -unix if inhibit-eol-conversion is in effect, or
1283         if the file is on an untranslated filesystem.
1284         (add-untranslated-filesystem): Use "D" instead of "f" inside
1285         interactive.
1287 2000-10-27  Dave Love  <fx@gnu.org>
1289         * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
1290         (refill-mode): Use it.
1292 2000-10-27  Stefan Monnier  <monnier@cs.yale.edu>
1294         * international/quail.el (quail-activate): Don't make-local-hook.
1296 2000-10-27  Andre Spiegel  <spiegel@gnu.org>
1298         * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
1299         manual backups and file.~<rev>.~ for automatic ones.
1300         (vc-make-version-backup): Don't do it on MS-DOS without long file
1301         names.
1303         * vc.el (vc-version-other-window): If an automatic backup of the
1304         desired version exists, rename it instead of copying it.
1306         * vc-cvs.el (vc-cvs-checkin): Check both status and error message
1307         after command.  If there's an unexpected error, signal it instead
1308         of being silent.
1309         (vc-cvs-merge-news): Be prepared for no news at all.
1311 2000-10-27  Miles Bader  <miles@lsi.nec.co.jp>
1313         * shell.el (shell): Add BUFFER argument.
1314         * comint.el (make-comint-in-buffer): New function.
1315         (make-comint): Use it.
1317         * faces.el (face-spec-choose): Change syntax so that the list of
1318         attribute-value pairs is now the cdr of each clause, not the cadr.
1319         Detect old-style entries, and handle them.  Use pop.
1321 2000-10-26  Stefan Monnier  <monnier@cs.yale.edu>
1323         * cus-edit.el (custom-mode-map): Use a sparse map.
1324         (custom-mode): Don't bother with make-local-hook.
1326         * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
1328         * vc.el (vc-start-entry): Only erase the buffer if comment is set.
1330 2000-10-26  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
1332         * ps-print.el: Avoid compilation gripes.
1333         (ps-print-version): New version number (6.2.1).
1335 2000-10-26  Dave Love  <fx@gnu.org>
1337         * menu-bar.el: Modify some menu item help strings.
1338         (menu-bar-help-menu): Add link to MORE.STUFF.
1340         * cus-edit.el (custom-mode): Add `special' mode-class property.
1342         * wid-browse.el (widget-browse-mode): Likewise.
1344         * wid-edit.el (widget-specify-field): Revert to using local-map
1345         property, not keymap.
1347 2000-10-26  Miles Bader  <miles@lsi.nec.co.jp>
1349         * wid-edit.el (widget-field-end): When checking for a `boundary'
1350         field, do so in the correct buffer.
1352         * simple.el (undo): Correctly distinguish between numeric and
1353         non-numeric prefix args in non-transient-mark-mode, as per the doc
1354         string.  When in transient-mark-mode, treat all prefix-args as
1355         numeric.
1357         * simple.el (previous-matching-history-element): Miscellaneous cleanup.
1358         Position point on match.  Handle N == 0 correctly.
1360         * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
1361         (comint-mode-map): Reverse order of `comint-write-output' and
1362         `comint-append-output-to-file'.
1363         (comint-append-output-to-file): Reinstate this function, for the
1364         benefit of the menu.
1366 2000-10-25  Stefan Monnier  <monnier@cs.yale.edu>
1368         * vc.el (vc-version-other-window): Bind `file'.
1370 2000-10-25  Gerd Moellmann  <gerd@gnu.org>
1372         * Makefile.in (update-authors): New target for maintenance purposes.
1374         * emacs-lisp/authors.el (batch-update-authors): New function.
1375         (authors-fixed-entries): New defconst.
1376         (authors-add-fixed-entries): New function.
1377         (authors): Call it.: Don't process lispref/.
1379 2000-10-25  Jason Rumney  <jasonr@gnu.org>
1381         * cus-edit.el (custom-button-face, custom-button-pressed-face):
1382         Merge x w32 and mac definitions.
1384 2000-10-25  Gerd Moellmann  <gerd@gnu.org>
1386         * menu-bar.el (menu-bar-options-menu): Add a help string for
1387         `uniquify'.
1389 2000-10-25  Stephen Gildea  <gildea@alum.mit.edu>
1391         * time-stamp.el (time-stamp-string-preprocess):
1392         Fix a wrong type argument error.
1394 2000-10-25  Miles Bader  <miles@gnu.org>
1396         * recentf.el (recentf-mode): Variable removed.
1397         (recentf-mode): Use `define-minor-mode'.
1399         * mwheel.el (mouse-wheel-mode): New global minor mode.
1400         (mwheel-install): Use `mouse-wheel-mode'.
1402 2000-10-25  Dave Love  <fx@gnu.org>
1404         * progmodes/cperl-mode.el (cperl-mode):
1405         Set normal-auto-fill-function correctly.
1407         * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
1408         inherit from global-map and don't nullify menu-bar and tool-bar
1409         bindings.
1411 2000-10-25  Miles Bader  <miles@lsi.nec.co.jp>
1413         * wid-edit.el (widget-field-at): New function.
1414         (widget-at, widget-field-activate): Use it.
1415         (widget-tabable-at): Use `widget-at'.
1416         (widget-specify-field): If the terminating character of the widget
1417         field (which is read-only) is a newline, put it into a special
1418         `boundary' field so that C-n/C-p act more naturally.
1419         (widget-field-end): Also don't subtract one if a special
1420         `boundary' field has been added after the widget field.
1422         * comint.el (comint-output-filter, comint-send-input): Don't
1423         bother adding stickiness fields to overlays to fool the field
1424         code, since it should notice the overlay insertion-types now.
1426         * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
1427         Replace with aliases of the normal emacs b-o-l/e-o-l functions.
1428         (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
1430 2000-10-24  Gerd Moellmann  <gerd@gnu.org>
1432         * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
1433         (authors): Set file coding system to iso-2022-7bit.  Add
1434         file-local variables to output buffer.
1436         * files.el (after-find-file): Don't print any warnings if
1437         WARN is nil.
1439 2000-10-24  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
1441         * ps-print.el (ps-generate): Fix odd/even pages printing bug.
1443         * delim-col.el: Now there is a column formatting mechanism.
1444         Modified to customization mechanisms convention.  Doc fix.
1445         (columns): New group for delim-col.
1446         (delimit-columns-before, delimit-columns-after)
1447         (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
1448         (delimit-columns-end): New vars.
1449         (delimit-columns-customize, delimit-columns-format): New funs.
1450         (delimit-columns-region, delimit-columns-rectangle)
1451         (delimit-columns-rectangle-line): Modified to support column
1452         formatting.
1454 2000-10-24  Dave Love  <fx@gnu.org>
1456         * log-edit.el (log-edit): Add :version and a :group for vc.
1458 2000-10-24  Gerd Moellmann  <gerd@gnu.org>
1460         * files.el (after-find-file): Don't print a message ``New file''
1461         if WARN is nil.
1463         * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
1464         the tool-bar map as nil, as for the menu-bar.  Otherwise, we'll
1465         get duplicate tool-bar entries because we'll see the global ones
1466         on more than one path through keymaps.
1468         * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
1470         * progmodes/cmacexp.el: Change Francesco's email address.
1472 2000-10-24  Kenichi Handa  <handa@etl.go.jp>
1474         * window.el (fit-window-to-buffer): Adjust point of the window
1475         buffer, not that of the current buffer.
1477 2000-10-24  Eli Zaretskii  <eliz@is.elta.co.il>
1479         * progmodes/cmacexp.el: Update the euthor's email address.
1481 2000-10-24  Miles Bader  <miles@lsi.nec.co.jp>
1483         * faces.el (face-spec-set-match-display): Add `graphic' display
1484         type (the inverse of `tty').  Use `display-graphic-p' instead of
1485         the window-system variable.
1487 2000-10-24  Kenichi Handa  <handa@etl.go.jp>
1489         * international/isearch-x.el (isearch-with-input-method): Call
1490         input-method-function with the first event in
1491         unread-command-events.
1493 2000-10-24  Miles Bader  <miles@lsi.nec.co.jp>
1495         * faces.el (face-default-spec, face-user-default-spec): Make
1496         defsubsts.
1498 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
1500         * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
1501         New charsets.
1503         * term/mac-win.el: Remove definitions of mac-roman-lower and
1504         mac-roman-upper, require dired, and define instead of set
1505         mac-ready-for-drag-n-drop to avoid compilation error.
1507 2000-10-23  Andrew Innes  <andrewi@gnu.org>
1509         * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
1510         superfluous calls to subst-char-in-string; instead apply
1511         expand-file-name after convert-standard-filename to ensure
1512         expected directory separators are used.
1514 2000-10-23  Eli Zaretskii  <eliz@is.elta.co.il>
1516         * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
1518 2000-10-23  Dave Love  <fx@gnu.org>
1520         * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
1521         (tool-bar-add-item): Set foreground and background for XBM icons.
1523         * international/latin1-disp.el (latin1-char-displayable-p): New
1524         function (from Handa).
1525         (latin1-display-check-font): Use it.
1527         * imenu.el (imenu--create-keymap-2): Build menu with menu-item
1528         using :key-sequence, making it much more usable.  Use nconc, not
1529         append.
1530         (imenu--create-keymap-1): Avoid append.
1532         * textmodes/refill.el: Remove bits redundant with define-minor-mode.
1534 2000-10-23  Miles Bader  <miles@lsi.nec.co.jp>
1536         [the following changes fix a bug where `define-minor-mode' didn't
1537         correctly generate :require clauses for defcustoms in compiled files]
1538         * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
1539         (byte-compile-log-file, byte-compile-log-1): Don't set
1540         `byte-compile-current-file' to nil.  Instead set
1541         `byte-compile-last-logged-file' to it.  Test whether
1542         byte-compile-current-file equals byte-compile-last-logged-file
1543         instead of whether its nil.
1544         (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
1546 2000-10-23  Stefan Monnier  <monnier@cs.yale.edu>
1548         * textmodes/refill.el: Fix var names in doc.
1549         (refill-mode): Don't bother with make-local-hook anymore.
1551 2000-10-23  Miles Bader  <miles@lsi.nec.co.jp>
1553         * faces.el (face-user-default-spec, face-default-spec): New functions.
1554         (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
1555         (frame-set-background-mode, face-set-after-frame-default):
1556         Use `face-user-default-spec'.  Simplify code slightly.
1558         * woman.el (woman-italic-face, woman-bold-face)
1559         (woman-unknown-face): Add dark-background variants.
1560         (woman-default-faces): Renamed from `woman-colour-faces'.
1561         Set using the stored defaults, rather than using hard-wired colors.
1562         (woman-monochrome-faces): Renamed from `woman-black-faces'.
1563         Just make the foreground `unspecified' rather than "black".
1564         (woman-menu): Rename menu entries accordingly.
1566         * faces.el (header-line): Make more reasonable on mono/grayscale
1567         displays.
1569 2000-10-23  Andrew Choi  <akochoi@i-cable.com>
1571         * cus-edit.el (custom-button-face): Use 3D look for mac.
1572         (custom-button-pressed-face): Likewise.
1574         * faces.el (set-face-attributes-from-resources): Handle mac frames
1575         in the same way as x and w32 frames.
1576         (face-valid-attribute-values): Likewise.
1577         (read-face-attribute): Likewise.
1578         (defined-colors): Likewise.
1579         (color-defined-p): Likewise.
1580         (color-values): Likewise.
1581         (display-grayscale-p): Likewise.
1582         (face-set-after-frame-default): Likewise.
1583         (mode-line): Same default face as for x and w32.
1584         (tool-bar): Likewise.
1586         * frame.el: Remove call to frame-notice-user-settings at end of
1587         the file.
1589         * info.el (Info-fontify-node): make underlines invisible for mac
1590         as for x, pc, and w32 frame types.
1592         * term/mac-win.el: New file.
1594 2000-10-22  Dave Love  <fx@gnu.org>
1596         * textmodes/refill.el: New file.
1598 2000-10-22  Andre Spiegel  <spiegel@gnu.org>
1600         * vc-hooks.el (vc-version-backup-file-name): New optional args
1601         MANUAL and REGEXP.
1602         (vc-delete-automatic-version-backups, vc-make-version-backup):
1603         New functions.
1604         (vc-before-save): Use the latter.
1605         (vc-default-make-version-backups-p): Added `-p' suffix to avoid
1606         confusion.
1608         * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
1609         expected by vc[-hooks].el.
1611         * vc.el (vc-checkout): Added `-p' suffix in call to
1612         vc-make-version-backups-p; use vc-make-version-backup to actually
1613         make the backup.
1614         (vc-version-other-window, vc-version-backup-file): Handle both
1615         automatic and manual backups.
1616         (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
1617         of all of them.
1619 2000-10-22  Miles Bader  <miles@gnu.org>
1621         * comint.el (comint-highlight-input, comint-highlight-prompt):
1622         Renamed, `-face' at end removed.
1623         (comint-send-input, comint-output-filter): Use renamed faces.
1625         * window.el (fit-window-to-buffer): Change defaulting of
1626         MAX-HEIGHT slightly.
1628         * faces.el (color-values, color-defined-p): Use `member', not
1629         `memq', because it works correctly for strings.
1630         (frame-set-background-mode): Actually, "unspecified-fg" and
1631         "unspecified-bg" *are* strings.  Use `member', not `memq', and
1632         `equal', not `eq', when a string value is possible.
1634 2000-10-21  Eli Zaretskii  <eliz@is.elta.co.il>
1636         * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
1638 2000-10-21  Stefan Monnier  <monnier@cs.yale.edu>
1640         * progmodes/sh-script.el (sh-mode-map): Remove bindings for
1641         sh-electric-rparen, sh-electric-less and sh-electric-hash.
1642         (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
1643         (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
1644         (sh-font-lock-syntactic-keywords): Use them.
1645         (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
1646         (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
1647         (sh-mode): Don't override font-lock-unfontify-region-function.
1648         Use a copy of sh-font-lock-syntactic-keywords.
1649         (sh-set-shell): Don't set sh-electric-rparen-needed-here.
1650         Don't call sh-scan-buffer since font-lock does it on the fly.
1651         (sh-get-indent-info): Use `face' rather than `syntax-table'
1652         text-property to detect here-documents.
1653         Replace sh-special-syntax with sh-st-punc.
1654         (sh-prev-line): Use `face' rather than `syntax-table'
1655         text-property to skip over here-documents.
1656         (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
1657         (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
1658         (sh-electric-less, sh-set-here-doc-region)
1659         (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
1660         (sh-scan-buffer, sh-rescan-buffer): Remove.
1662 2000-10-21  Andrew Innes  <andrewi@gnu.org>
1664         * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
1665         remote (ange-ftp) file names.
1667 2000-10-21  Miles Bader  <miles@gnu.org>
1669         * window.el (fit-window-to-buffer): New function.
1670         (shrink-window-if-larger-than-buffer): Use it.
1671         (window-text-height): Don't expect minibuffers to have mode-lines.
1673         * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
1674         * international/quail.el (quail-update-guidance): Use
1675         `fit-window-to-buffer' instead of `set-window-text-height'.
1677         * international/quail.el (quail-show-guidance-buf): Make sure
1678         guidance window really has enough room.
1679         (quail-update-guidance): If quail-guidance-win is already shown,
1680         make sure its height is OK.
1682         * window.el (window-text-height, set-window-text-height):
1683         New functions.
1684         (shrink-window-if-larger-than-buffer): Use `window-text-height'
1685         instead of `window-height' & `mode-line-window-height-fudge'.
1686         (mode-line-window-height-fudge): Add FACE parameter.
1687         * help.el (resize-temp-buffer-window): Use `set-window-text-height'
1688         instead of `enlarge-window' & `mode-line-window-height-fudge'.
1690 2000-10-20  Miles Bader  <miles@gnu.org>
1692         * window.el (height-affecting-face-attributes): Use `defconst'.
1694         * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
1695         New function, conditionally aliased to `mode-line-window-height-fudge'.
1696         (ispell-help): Use it.
1697         (ispell-choices-win-default-height): Don't include mode-line fudge.
1698         (ispell-choices-win-default-height): New function.
1699         (ispell-show-choices, ispell-command-loop): Use function
1700         `ispell-choices-win-default-height' instead of variable.
1702 2000-10-20  Miles Bader  <miles@lsi.nec.co.jp>
1704         * window.el (mode-line-window-height-fudge): New variable.
1705         (height-affecting-face-attributes): New variable.
1706         (mode-line-window-height-fudge): New function.
1707         (shrink-window-if-larger-than-buffer): Use it.
1708         * help.el (resize-temp-buffer-window): Likewise.
1710         * info.el (Info-fontify-node): Add support for @subsubsection
1711         titles, which use `Info-title-4-face'.
1712         (Info-title-4-face): New face.
1713         (Info-title-3-face): Inherit from Info-title-4-face instead of
1714         variable-pitch.
1716 2000-10-19  Jason Rumney  <jasonr@gnu.org>
1718         * dired.el (dired-insert-directory): Do not let errors signalled by
1719         attempt to run dired-free-space-program prevent dired from working.
1721 2000-10-19  Stefan Monnier  <monnier@cs.yale.edu>
1723         * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
1725 2000-10-19  Gerd Moellmann  <gerd@gnu.org>
1727         * dirtrack.el (dirtrack): Fix call to run-hooks.
1729         * cmuscheme.el (cmuscheme-program-name): Renamed from
1730         scheme-program-name because xscheme.el contains a defcustom with
1731         the same name.  As a consequence, customizing group `cmuscheme'
1732         loaded `xscheme' which redefined run-scheme.
1733         (run-scheme): Use cmuscheme-program-name.
1735         * ps-print.el (ps-print-emacs-type): Move into the
1736         eval-and-compile.
1738         * play/doctor.el (doctor-death): Update the Samaritans'
1739         anonymous address, and add a website for Befrienders International.
1741 2000-10-19  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
1743         * ps-print.el: Even/odd pages fix.  Fix little bug on XEmacs.
1744         Avoid compilation gripes.  Doc fix.
1745         (ps-print-version): New version number (6.2).
1746         (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
1747         (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
1748         (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
1749         (ps-x-extent-priority, ps-x-extent-start-position)
1750         (ps-x-face-font-instance, ps-x-find-coding-system)
1751         (ps-x-font-instance-properties, ps-x-make-color-instance)
1752         (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
1753         avoid compilation gripes without defining functions.
1754         (ps-e-find-composition): Alias for function find-composition, to have a
1755         suitable function depending on Emacs version.
1756         (ps-color-device, ps-color-values, ps-face-foreground-name)
1757         (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
1758         (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
1759         (ps-print-ensure-fontified): Function definitions surrounded by
1760         `eval-and-compile' to avoid compilation gripes.
1761         (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
1762         by symbol-value to avoid compilation gripes.
1763         (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
1764         (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
1766 2000-10-19  Miles Bader  <miles@lsi.nec.co.jp>
1768         * startup.el (normal-top-level): Call `frame-set-background-mode'
1769         after `frame-notice-user-settings' because the latter doesn't call
1770         the former on a tty.
1772         * faces.el (frame-set-background-mode): `unspecified' &c are
1773         symbols, not strings.
1775 2000-10-19  Eli Zaretskii  <eliz@is.elta.co.il>
1777         * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
1778         why some "light*" colors are deliberately absent from the alist.
1780         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
1781         Change colors for tty's, as suggested by Miles Bader.
1783 2000-10-19  Kenichi Handa  <handa@etl.go.jp>
1785         * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
1786         (ccl-encode-mule-unicode-0100-24ff): New CCL program.  Register it
1787         for ISO10646-1 fonts.
1788         (x-font-name-charset-alist): Add an entry for "iso10646-1".
1790 2000-10-19  Eli Zaretskii  <eliz@is.elta.co.il>
1792         * faces.el (frame-set-background-mode): If a tty frame defines a
1793         background color, use that to compute the background mode, instead
1794         of always defaulting to "dark".
1796 2000-10-19  Miles Bader  <miles@lsi.nec.co.jp>
1798         * comint.el (comint-write-output): New function.
1799         (comint-mode-map): Add it to the menu.
1800         Bind `C-c C-s' to comint-write-output.
1802 2000-10-18  Gerd Moellmann  <gerd@gnu.org>
1804         * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
1805         Use fancy-splash-delay.
1807 2000-10-18  Alex Schroeder  <alex@gnu.org>
1809         * progmodes/sql.el (sql-sybase-options): New option.
1810         (sql-sybase): Use it.  Add sql-database to the list of parameters
1811         provided for login.  The options -w 2048 -n are not used any more.
1813         * comint.el (comint-read-input-ring): Bugfix such that the first
1814         and the last entry of the input ring file are not lost.
1816 2000-10-18  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
1818         * ps-print.el: Internal variable changes to defcustom,
1819         make-local-hook changes to defvar.  Doc fix.
1820         (ps-print-version): New version number (6.1).
1821         (ps-setup, ps-do-despool): Code fix.
1822         (ps-printer-name): Customization fix.
1823         (ps-printer-name-option): Now is a defcustom instead of an
1824         internal variable.
1825         (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
1826         (ps-print-begin-column-hook): Now are defvar instead of
1827         make-local-hook.
1829 2000-10-18  Miles Bader  <miles@gnu.org>
1831         * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
1832         (comint-kill-output): Changed into an alias for `comint-delete-output',
1833         and made obsolete.
1834         (comint-mode-map): Rename references to comint-kill-output.
1836 2000-10-18  Eli Zaretskii  <eliz@is.elta.co.il>
1838         * diff-mode.el (diff-header-face, diff-file-header-face)
1839         (diff-changed-face): Add bold and italic attributes to tty faces.
1840         (diff-function-face): New face.
1841         (diff-font-lock-keywords): Use it.
1843 2000-10-18  Miles Bader  <miles@lsi.nec.co.jp>
1845         * comint.el (comint-output-filter): Fixup comint-last-input-end too.
1846         Remove commented-out call to force-mode-line-update.
1847         (comint-kill-output): Use `forward-line 0' instead of
1848         beginning-of-line to make sure we get past the prompt.
1850 2000-10-17  Stefan Monnier  <monnier@cs.yale.edu>
1852         * diff-mode.el (diff-header-face, diff-file-header-face):
1853         Add specific setting for dark background.
1854         (diff-context-face): Renamed from diff-comment-face.
1855         Set explicitly rather than inheriting from font-lock-comment-face.
1857 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1859         * startup.el (command-line): Move the code which sets the default
1860         TTY colors to before before-init-hook.
1862 2000-10-17  Gerd Moellmann  <gerd@gnu.org>
1864         * jit-lock.el (jit-lock-stealth-time): Doc fix.
1866 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1868         * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
1869         extensions, for MS-DOS.
1871         * diff-mode.el (diff-header-face, diff-file-header-face)
1872         (diff-changed-face): Define tty-specific colors.
1874 2000-10-17  Gerd Moellmann  <gerd@gnu.org>
1876         * startup.el (fancy-splash-text): Realign the text.
1878 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1880         * font-lock.el (font-lock-comment-face): Define a separate default
1881         for dark-background tty's.
1883 2000-10-17  Miles Bader  <miles@gnu.org>
1885         * help.el (resize-temp-buffer-window): Add hack to avoid last line
1886         being obscured by whizzy mode-lines on graphics displays.
1888 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1890         * info.el (Info-title-1-face, Info-title-2-face)
1891         (Info-title-3-face): Define colors for tty's.
1892         (info-header-node): Remove unneeded tty-specific definition.
1894 2000-10-16  Eli Zaretskii  <eliz@is.elta.co.il>
1896         * term/pc-win.el (msdos-handle-reverse-video): Don't remove
1897         reverse from the frame parameters, and don't invert foreground and
1898         background colors.
1900 2000-10-16  Miles Bader  <miles@gnu.org>
1902         * info.el (Info-set-mode-line): Use `%b' instead of hardwired
1903         string "*Info*".  Call propertized-buffer-identification to spruce
1904         up the result.
1906 2000-10-16  Gerd Moellmann  <gerd@gnu.org>
1908         * help.el: Provide `help' for the sake of define-minor-mode
1909         which generates defcustoms with requires.
1911         * jit-lock.el (jit-lock-after-change): If we're in text that
1912         matches a multi-line font-lock pattern, make sure the whole text
1913         will be redisplayed.
1915         * emacs-lisp/authors.el (authors-add): Don't add an entry if
1916         author's name is unknown.
1918         * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
1919         * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
1920         * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
1921         * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
1922         * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
1923         * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
1924         * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
1925         * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
1926         * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
1927         Add author information.
1929 2000-10-16  Miles Bader  <miles@lsi.nec.co.jp>
1931         * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
1932         * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
1933         full-color version (using the Gimp) to eliminate dithering artifacts.
1935 2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>
1937         * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
1939         * simple.el (syntax-flag-table, string-to-syntax): Remove.
1941 2000-10-15  Dave Love  <fx@gnu.org>
1943         * progmodes/sh-script.el: Require skeleton and comint when
1944         compiling.
1946         * pcomplete.el (pcomplete) <defgroup>: Add :version.
1948         * whitespace.el: Doc fixes.
1949         (top-level): Don't add hooks here.
1950         (whitespace-running-emacs): Deleted.
1951         (timer): Don't require.
1952         (whitespace): Add back :version conditional on xemacs test.
1953         (whitespace-spacetab-regexp, whitespace-indent-regexp)
1954         (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
1955         (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
1956         (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
1957         Avoid specific xemacs test.
1958         (whitespace-global-mode): New option.
1959         (whitespace-global-mode): New command.
1960         (whitespace-unload-hook): New function.
1962         * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
1963         (Info-fontify-node, Info-goto-node, Info-mode-menu)
1964         (Info-fontify-node): `Goto' goes to `Go to'.
1965         (Info-fontify-node): Add help-echo to xref links.
1967 2000-10-15  Eli Zaretskii  <eliz@is.elta.co.il>
1969         * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
1971 2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>
1973         * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1974         Use plist-get and allow :inherit.
1976         * emacs-lisp/cl-macs.el (cl-do-arglist):
1977         Use plist-get and plist-member instead of memq.
1979         * emacs-lisp/ewoc.el (ewoc-location): New function.
1980         (ewoc-enter-after, ewoc-enter-before): Document return value.
1981         * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
1982         Don't need make-local-hook any more.
1983         (cvs-addto-collection): Return the new tin.
1984         (cvs-mode-insert): Jump to the new line.
1986         * jit-lock.el (jit-lock-fontify-buffer): Remove.
1988         * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
1990         * font-lock.el (font-lock-syntactically-fontified): New var.
1991         (font-lock-fontify-syntactic-keywords-region): Use it.
1992         (font-lock-mode): Fix docstring.  Don't need make-local-hook anymore.
1994         * diff-mode.el (diff-find-file-name): Fix regexp.
1996         * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
1997         (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
1999         * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
2000         (sh-mode-syntax-table): Add punctuation syntax for < and >.
2001         (sh-mode): Don't make all vars local here.
2002         (sh-kw): Reformat.
2003         (sh-set-shell): Use dolist.  Don't set indent-region-function.
2004         (sh-mode-syntax-table): Use pop.
2005         (sh-remember-variable): Use push.
2006         (sh-help-string-for-variable): Use memq.
2007         (sh-safe-backward-sexp): Remove.
2008         (sh-safe-forward-sexp): Add ARG.
2009         (sh-get-indent-info, sh-prev-stmt): Use it.
2010         (sh-prev-line): Simplify by using forward-comment.
2011         (sh-this-is-a-continuation): Simplify.
2012         (sh-learn-buffer-indent): Use dolist.
2013         (sh-do-nothing): Remove.
2014         (sh-set-char-syntax, sh-set-here-doc-region):
2015         Use inhibit-modification-hooks.
2016         (sh-name-style): Use mapcar and push.
2017         (sh-load-style): Use dolist.
2018         (sh-save-styles-to-buffer): Use with-current-buffer and pp.
2019         (sh-case, sh-while-getopts): Use propertize directly rather
2020         than sh-electric-rparen.
2022 2000-10-14  Stefan Monnier  <monnier@cs.yale.edu>
2024         * textmodes/tex-mode.el: Require CL when compiling.
2025         (tex-mode-syntax-table): Init immediately.
2026         (tex-mode-map): Bind M-RET to latex-insert-item.
2027         (latex-mode): Set indent-line-function to latex-indent.
2028         (tex-common-initialization): Don't setup the syntax-table any more.
2029         (latex-insert-item): New skeleton.
2030         (tex-next-unmatched-end): Fix copy/paste braino.
2031         (latex-syntax-after, latex-skip-close-parens, latex-down-list)
2032         (latex-indent, latex-find-indent): New functions.
2033         (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
2034         (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
2035         (tex-compilation-parse-errors): Use with-syntax-table.
2037 2000-10-15  Miles Bader  <miles@gnu.org>
2039         * font-lock.el (font-lock-comment-face): Change dark-background,
2040         color, non-tty, default to `chocolate1'.
2042 2000-10-13  John Wiegley  <johnw@gnu.org>
2044         * eshell/esh-util.el (require): Added a missing `require' form,
2045         needed when compiling (for an ange-ftp macro definition).
2047 2000-10-13  Dave Love  <fx@gnu.org>
2049         * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
2051 2000-10-13  Gerd Moellmann  <gerd@gnu.org>
2053         * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
2054         fix.
2056         * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
2057         transparent -colors 8).
2059 2000-10-13  Stephen Gildea  <gildea@alum.mit.edu>
2061         * time-stamp.el (time-stamp): Fixed bug in new multi-line code
2062         that breaks with old list format timestamps.
2063         (time-stamp-warn-inactive, time-stamp-old-format-warn)
2064         (time-stamp-count, time-stamp-conversion-warn): Improved doc
2065         strings.
2067 2000-10-13  John Wiegley  <johnw@gnu.org>
2069         * align.el, pcomplete.el, calendar/timeclock.el,
2070         eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
2072         * calendar/timeclock.el (timeclock-find-discrep): A fix to some
2073         faulty math, where holiday hours were being computing as seconds.
2075 2000-10-13  John Wiegley  <johnw@gnu.org>
2077         * desktop.el (desktop-buffer-modes-to-save): Added a global for
2078         specifying what "other" kinds of buffers should be saved.  This
2079         used to be hard-coded.
2080         (desktop-buffer-misc-functions): A global for specifying how
2081         auxiliary data should be determined for special buffer types.
2082         (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
2083         instead of hard-coding the special buffer types.
2084         (desktop-save): Run `desktop-buffer-misc-functions' to gather
2085         auxiliary data, instead of hard-coding for Info buffers and dired.
2086         (desktop-buffer-info-misc-data): Aux function for determining Info
2087         buffer auxiliary info.
2088         (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
2089         (desktop-buffer-info): Changed this function to use the info
2090         gathered above.
2091         (desktop-create-buffer): Be a little more careful about what
2092         `minor-mode' means before calling it.  This is important for some
2093         buffer types.
2095 2000-10-13  John Wiegley  <johnw@gnu.org>
2097         * eshell/esh-util.el: Added a global form which declares an
2098         autoload for `parse-time-string', if that function is not already
2099         defined, and if parse-time.el is available on the user's system.
2101         * eshell/em-ls.el (eshell-ls-applicable): Extended this function
2102         to be aware of ange-ftp user info.
2103         (eshell-do-ls): Bind `ange-cache'.  Also, use
2104         `eshell-file-attributes'.
2105         (eshell-ls-annotate): Use `eshell-file-attributes'.
2106         (eshell-ls-file): Made the user-id printing code a bit smarter.
2108         * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
2109         allow identification of alias user ids in remote directories.
2110         It's manual, but there's no other way to know when the current
2111         user on the local machine, is also the owning user on the remote
2112         machine.
2113         (fboundp): Bind `ange-cache'.
2114         (eshell-directory-files-and-attributes): Re-organized the logic a
2115         bit to use `eshell-file-attributes' instead of `file-attributes'.
2116         The former is more sensitive to directories that are read via FTP,
2117         and knows how to use ange-ftp to determine full attribute
2118         information, instead of just the name and last modtime.
2119         (eshell-current-ange-uids): Return the current user id when in a
2120         remote directory.
2121         (eshell-parse-ange-ls): Parse a full directory listing that has
2122         been returned by ange-ftp.
2123         (eshell-file-attributes): This beefed up version of
2124         `file-attributes' is only special if the user is currently in a
2125         remote directory, in which case it does a lot of work to find out
2126         what the real attributes of a file are, as they appear on the
2127         remote machine.  This makes usage of remote directories (i.e.,
2128         ange-ftp pathnames) much more useful.  You can now use Eshell as a
2129         full-fledged FTP client, with much more manipulation ability than
2130         most other clients.
2132         * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
2133         variable, which means that Eshell's du should always be preferred
2134         in remote directories.
2135         (eshell-shuffle-files): Use `eshell-file-attributes', rather than
2136         just `file-attributes'.
2137         (eshell-mvcp-template): Bind `ange-cache', to improve performance
2138         when reading remote directories.  This is an Eshell-specific
2139         variable (not part of ange-ftp).
2140         (eshell/ln): Bind `ange-cache'.
2141         (eshell/du): Added some extra logic for determining when to use
2142         Eshell's du (which is slow), and when to use the external version
2143         (which may or may not exist).
2145         * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
2146         `eshell-interactive-process', rather than using
2147         `get-buffer-process', since backgrounded processes don't count in
2148         the context of this function's logic.
2150         * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
2151         `forward-char', so that null strings are parsed correctly.
2153 2000-09-13  John Wiegley  <johnw@gnu.org>
2155         * eshell/em-pred.el (eshell-pred-file-type,
2156         eshell-pred-file-links, eshell-pred-file-size): Use
2157         `eshell-file-attributes'.  This is more correct over ange-ftp.
2159         * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
2160         that remote file globbing is more efficient.
2162         * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
2163         gathering the files and attributes within a directory.
2165         * eshell/em-unix.el (eshell/cat): If any of the files passed on
2166         the command line is a special file (not a regular file, directory
2167         or symlink), always attempt to call the external version of cat.
2169 2000-09-13  John Wiegley  <johnw@gnu.org>
2171         * eshell/esh-mode.el (eshell-find-tag): Corrections to the
2172         Eshell-friendly version of find-tag.
2174 2000-10-13  Miles Bader  <miles@lsi.nec.co.jp>
2176         * image-file.el (image-file-name-extensions)
2177         (image-file-name-regexps): Add autoload cookies.
2179 2000-10-13  Kenichi Handa  <handa@etl.go.jp>
2181         * international/mule-cmds.el (select-safe-coding-system): If FROM
2182         is string, show it in *Warning* buffer.
2184 2000-10-13  Eli Zaretskii  <eliz@is.elta.co.il>
2186         * startup.el (normal-top-level): Use display-popup-menus-p instead
2187         of window-system.
2188         (command-line): Use display-graphic-p instead of window-system.
2189         (command-line-1): Use display-popup-menus-p and display-mouse-p
2190         instead of window-system.
2192 2000-10-12  Sam Steingold  <sds@gnu.org>
2194         * tooltip.el (tooltip-use-echo-area): New user variable.
2195         (tooltip-show): Use it to choose between `x-show-tip' and `message'.
2197 2000-10-12  Dave Love  <fx@gnu.org>
2199         * recentf.el: Maintainer's checkdoc fixes.
2201         * startup.el (normal-top-level-add-subdirs-to-load-path): Use
2202         character class, not ASCII when matching file names.
2203         (fancy-splash-head): Add trailing slash to URL.
2204         (command-line): Don't require XPM support for toolbar.
2206         * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
2207         (cperl-invalid-face): Revert last change.
2208         (cperl-init-faces): Quote cperl-invalid-face.
2210 2000-10-12  Kenichi Handa  <handa@etl.go.jp>
2212         * startup.el (fancy-splash-text): Remove superfluous quote.
2214 2000-10-12  Gerd Moellmann  <gerd@gnu.org>
2216         * startup.el (fancy-splash-screens): Don't add a pre-command hook.
2217         (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
2218         (command-line-1): Don't use fancy-splash-pending-command.
2219         (fancy-splash-screens-1): Goto point-min after inserting text.
2221         * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
2223         * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
2224         instead of shared-lisp-mode-map.
2226 2000-10-12  Miles Bader  <miles@lsi.nec.co.jp>
2228         * faces.el (header-line): Change tty-variant to use underlining.
2230         * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
2231         (isearch-highlight): Restore lazy-isearch face properties at old
2232         position, and suppress them at new position.
2233         (isearch-dehighlight): Restore lazy-isearch face properties.
2234         (isearch-lazy-highlight-update): Add lazy-isearch overlays even
2235         over the real isearch overlay, but in that case, don't give it a
2236         face property.  Use `push'.
2238 2000-10-12  Kenichi Handa  <handa@etl.go.jp>
2240         * man.el (Man-getpage-in-background): Fix previous change.
2241         Decode the process output only when we are in multibyte mode.
2243 2000-10-11  Dave Love  <fx@gnu.org>
2245         * info.el (Info-mode-menu): Fix some help.
2246         (info-tool-bar-map): Add entry for Info-last.
2248         * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
2249         * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
2250         * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
2251         * toolbar/cut.xpm, toolbar/mail_compose.xpm:
2252         * toolbar/search-replace.xpm, toolbar/exit.xpm:
2253         * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
2254         * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
2255         * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
2256         * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
2257         * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
2258         Reduce colour requirements to 25 overall.  (Probably wants
2259         revisiting from the originals to reduce further.)
2261 2000-10-11  Eli Zaretskii  <eliz@is.elta.co.il>
2263         * hexl.el (hexlify-buffer): Bind coding-system-for-write to
2264         buffer-file-coding-system, instead of raw-text.
2265         (dehexlify-buffer): Bind coding-system-for-read to
2266         buffer-file-coding-system, instead of raw-text.
2268 2000-10-11  Sam Steingold  <sds@gnu.org>
2270         * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
2271         `underline' - fixes the bug introduced on 2000-09-21.
2273 2000-10-11  Dave Love  <fx@gnu.org>
2275         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
2276         compiler warnings.
2277         (scheme-mode): Doc fix.
2278         (scheme-font-lock-keywords-1): Match `define-syntax'.
2280 2000-10-11  Miles Bader  <miles@lsi.nec.co.jp>
2282         * faces.el (frame-set-background-mode): Pay attention to saved
2283         face specs as well as default ones.  Only do anything if the
2284         bg-mode or display-type has actually changed.  Use `dolist'.
2285         (region): Make dark-background `region' face less in-your-face.
2287 2000-10-10  Sam Steingold  <sds@gnu.org>
2289         * chistory.el, ielm.el, ledit.el:
2290         * progmodes/inf-lisp.el, progmodes/scheme.el:
2291         Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
2293 2000-10-10  Stefan Monnier  <monnier@cs.yale.edu>
2295         * textmodes/texinfo.el: Update copyright and fix typo.
2297         * desktop.el (desktop-modes-not-to-save): New var.
2298         (desktop-save-buffer-p): Use it.
2299         Also, obey desktop-buffers-not-to-save even for non-file buffers.
2300         (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
2302 2000-10-10  Dave Love  <fx@gnu.org>
2304         * toolbar/tool-bar.el (tool-bar-add-item)
2305         (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
2306         display.
2308         * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
2309         * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
2310         * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
2311         * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
2312         * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
2313         * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
2314         * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
2315         * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
2316         * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
2317         * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
2318         the .xpms; probably need retouching.
2320 2000-10-10  Miles Bader  <miles@lsi.nec.co.jp>
2322         * subr.el (add-to-list): Add optional argument APPEND.
2323         * battery.el (display-battery): Use `add-to-list'.
2325 2000-10-09  Thien-Thi Nguyen  <ttn@gnu.org>
2327         * play/zone.el (zone-timer, zone-wc-tbl): Rework
2328         these vars as symbol properties.
2329         (zone, zone-when-idle, zone-leave-me-alone)
2330         (zone-pgm-whack-chars): Use new symbol properties.
2332         * battery.el (display-battery): Doc spelling fix.
2334         * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
2335         property.
2337 2000-10-09  Dave Love  <fx@gnu.org>
2339         * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
2340         has been initialized before calling tool-bar-setup.
2341         (tool-bar-add-item-from-menu): Add autoload cookie.
2343 2000-10-09  Eli Zaretskii  <eliz@is.elta.co.il>
2345         * menu-bar.el (send-mail-item-name): New function.
2346         (menu-bar-tools-menu) <compose-mail>: Use it to display the value
2347         of mail-user-agent in the menu.  Don't display the "Send Mail"
2348         item if mail-user-agent is nil or its value is ignore.
2349         (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
2350         if read-mail-command is nil or its value is ignore.
2352         * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
2354 2000-10-09  Miles Bader  <miles@gnu.org>
2356         * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
2357         Correct image size.
2358         * toolbar/left_arrow.xpm: Correct image size.
2360         * jka-compr.el: Don't call `jka-compr-install' when loading (it
2361         will be done by the definition of `auto-compression-mode' if
2362         necessary.  Move code to uninstall existing file-name handler
2363         before definition of `auto-compression-mode'.
2365         * image-file.el (auto-image-file-mode): Move to the end of the
2366         file, because `define-minor-mode' actually calls the mode-function
2367         if the associated variable is non-nil, which requires that all
2368         needed functions be already defined.
2370         * mouse.el (popup-menu): Balance parens.
2372 2000-10-08  Stefan Monnier  <monnier@cs.yale.edu>
2374         * mouse.el (popup-menu): Move the command call outside the loop
2375         so that popup-menu returns whatever the command returns.
2377         * progmodes/etags.el: Docstring fixes.  Maintainer line updated.
2378         (initialize-new-tags-table): Use run-hook-with-args-until-success.
2379         (find-tag): Use pop-to-buffer if switch-to-buffer failed.
2380         (tags-table-format-functions): Renamed from tags-table-format-hooks.
2382         * vc.el (vc-version-diff): diff-switches can be a list.
2383         Use relative filenames for prettier output.
2385         * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
2386         (vc-post-command-functions): Remove old-VC compatibility code.
2388         * newcomment.el (comment-indent-default): Autoload.
2390         * font-lock.el (font-lock-defaults): Make buffer-local.
2391         (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
2392         (font-lock-choose-keywords):
2393         Ignore LEVEL unless KEYWORDS is a list of syms.
2394         (c-keywords, c++-keywords, objc-keywords, java-keywords):
2395         Don't wrap regexp-opt things in \(...\) unnecessarily.
2397         * jit-lock.el: Don't require font-lock any more.
2398         (jit-lock-functions): Make buffer-local.
2399         (jit-lock-saved-fontify-buffer-function): Remove.
2400         (jit-lock-mode): Remove autoload cookie.
2401         Remove font-lock specific code.
2402         (jit-lock-unregister): Don't bother handling complex hooks any more.
2403         (jit-lock-refontify): New function.
2404         (jit-lock-fontify-buffer): Use it.
2405         (jit-lock-function-1): Replaced by jit-lock-fontify-now.
2406         (jit-lock-fontify-now): Renamed from jit-lock-function-1.
2407         Add optional args START and END.
2408         Never call font-lock-fontify-region directly.
2409         (jit-lock-function, jit-lock-stealth-fontify): Use it.
2411         * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
2413 2000-10-08  Dave Love  <fx@gnu.org>
2415         * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
2417         * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
2419         * play/studly.el (studlify-region, studlify-word): Add autoload
2420         cookie.
2422         * play/morse.el (morse-region, unmorse-region): Add autoload
2423         cookie.
2425         * play/spook.el (spook-phrases-file): Use expand-file-name, not
2426         concat.
2428         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
2429         insist on symbols starting with word syntax.
2430         (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
2431         (eval-defun-1): Doc fix.
2432         (indent-sexp): Use nconc to build up indent-stack.
2434         * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
2435         Gnus with little use.
2436         (mail-setup-hook): Add mail-abbrevs-setup to options.
2438         * recentf.el: Doc fixes.
2440         * vcursor.el (vcursor-cs-binding): Remove compatibility code.
2441         Clean up remainder.
2443         * timezone.el (timezone-parse-date): Doc fix.  Fix regexps for (5)
2444         without timezone and (8) with timezone to enforce some whitespace.
2445         Simplify code somewhat.
2447         * options.el (list-options): Doc that you should use customize.
2449         * iswitchb.el (iswitchb-mode): Add :require.
2451         * info.el (Info-goto-node, Info-menu): Doc fix.
2452         (Info-mode-menu): Bind beginning-of-buffer, Info-edit
2453         (info-tool-bar-map): New variable.
2454         (Info-mode): Use it.
2455         (Info-edit-map): Define all in defvar.
2456         (speedbar-attached-frame): Avoid compiler warning.
2458         * toolbar/tool-bar.el (tool-bar-map): Define it empty.
2459         (global-map): Bind [tool-bar] to a filtered map.
2460         (tool-bar-add-item): Remove MAP arg.  Allow PBM icons.
2461         (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
2462         Allow PBM icons.
2463         (tool-bar-setup): Adjust calls of tool-bar-add-item.
2465         * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
2466         * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
2467         * toolbar/right_arrow.xpm: New files.  Renamed from tigert's
2468         icons, except up_arrow, which is left-arrow rotated.
2470         * imenu.el (imenu-add-to-menubar): Fix last change.
2472 2000-10-08  Peter Breton  <pbreton@ne.mediaone.net>
2474         * generic-x.el (rul-generic-mode): Remove eval-when-compile
2475         statements. Suggested by Stefan Monnier  <monnier@cs.yale.edu>.
2477 2000-10-08  Eli Zaretskii  <eliz@is.elta.co.il>
2479         * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
2480         typos in doc strings.
2482         * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
2483         the doc strings how to customize Font Lock faces.
2485         * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
2486         computing growth when dragging the header line.
2488 2000-10-08  Eli Zaretskii  <eliz@is.elta.co.il>
2490         * simple.el (kill-line): Doc fix.
2492 2000-10-08  Miles Bader  <miles@gnu.org>
2494         * faces.el (secondary-selection): Make foreground visible on tty.
2496         * jka-compr.el (auto-compression-mode): Move to the end of the
2497         file, because `define-minor-mode' actually calls the mode-function
2498         if the associated variable is non-nil, which requires that all
2499         needed functions be already defined.
2500         (with-auto-compression-mode): Add autoload cookie.
2502 2000-10-07  Eli Zaretskii  <eliz@is.elta.co.il>
2504         * files.el (find-backup-file-name) [ms-dos]: If support for long
2505         file names is not available, behave as if version-control were set
2506         to never.
2508 2000-10-07  Dave Love  <fx@gnu.org>
2510         * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
2511         (browse-url-gnome-moz): New function.
2512         (browse-url-browser-function): Use it.
2513         Suggested by Colin Walters <walters@cis.ohio-state.edu>.
2515 2000-10-07  Stefan Monnier  <monnier@cs.yale.edu>
2517         * indent.el (tab-always-indent): New var.
2518         (indent-for-tab-command): Use it.
2520         * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
2521         raise an error.  This way it can still default to a sane value.
2523 2000-10-06  Stefan Monnier  <monnier@cs.yale.edu>
2525         * startup.el (fancy-splash-screens): Use local rather than global map.
2526         Don't use `update-menu-bindings' any more.
2527         Get rid of assumptions about keymap representation.
2529 2000-10-06  Dave Love  <fx@gnu.org>
2531         * textmodes/fill.el (sentence-end-double-space)
2532         (sentence-end-without-period):  Doc fix.
2533         (adaptive-fill-regexp): Purecopy.
2534         (unjustify-current-line): Use line-end-position.
2535         (fill-individual-paragraphs-prefix): Use line-beginning-position.
2537         * net/eudc-vars.el (eudc): Add :version, :link.
2539         * international/mule-conf.el (file-coding-system-alist): Use \', not $.
2541         * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
2542         Fix for define-minor-mode.
2543         (function-at-point): Alias to function-called-at-point.
2545         * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
2547         * simple.el (backward-word): Doc fix.
2549         * image-file.el (image-file-name-regexp): image-file-regexps ->
2550         image-file-name-regexps.
2551         (image-file-name-extensions): Add pbm.
2553 2000-10-06  Stefan Monnier  <monnier@cs.yale.edu>
2555         * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
2556         and add filename to the names so that diff-mode can jump to source.
2558         * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
2559         (tex-font-lock-keywords, tex-font-lock-keywords-2)
2560         (tex-font-lock-keywords-1): Remove.
2561         (font-lock-turn-on-thing-lock): Use jit-lock-register.
2562         (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
2563         (font-lock-default-fontify-region):
2564         Expand beg..end correctly when just following a multiline region.
2565         (font-lock-fontify-anchored-keywords):
2566         Include the anchor text as part of the multiline.
2568 2000-10-06  Gerd Moellmann  <gerd@gnu.org>
2570         * loadup.el (toplevel): Load `loaddefs' before `help' because the
2571         latter needs the autoloaded define-minor-mode macro during the
2572         bootstrap.
2574         * startup.el (command-line): For now, activate tool-bar-mode only
2575         if XPM images are supported.
2577         * mouse.el (mouse-drag-header-line): Don't allow resizing a
2578         window by dragging a header-line at the top of the frame; that's
2579         confusing because the header-line doesn't move.
2580         (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
2581         of treating the event as a list.  Some cleanup.
2583 2000-10-06  Miles Bader  <miles@gnu.org>
2585         * simple.el (display-message-or-buffer): New function.
2586         (shell-command-on-region): Use `display-message-or-buffer'.
2588         * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
2589         docstring parts.
2591         * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
2592         (smbclient-prompt-regexp): Add usage note to doc string.
2593         (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
2594         (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
2595         Use add-hook for adding the comint filter function, and only do so
2596         if it's not already in the global hook list.
2597         (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
2598         to `make-local-variable'.
2599         (nslookup-font-lock-keywords): Remove prompt entry.
2600         (nslookup): Don't set the process-filter.
2601         (finger): Exit the loop correctly when the regexps list runs out.
2602         (ftp, smbclient, smbclient-list-shares):
2603         Set the real major mode immediately, not after execing.
2604         Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
2606         * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
2608 2000-10-05  Stefan Monnier  <monnier@cs.yale.edu>
2610         * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
2612         * which-func.el (which-func-format): Remove spurious space.
2613         (which-func-mode): Don't make it permanent-local.
2614         (which-func-ff-hook): Allow which-func-maxout to be nil.
2615         (which-func-update): Simplify a bit.  Only run if which-func-mode is t.
2616         (which-func-mode): Simplify.
2617         Use post-command-idle-hook rather than post-command-hook.
2618         Go through all buffers and update their state.
2619         (which-function): Also try add-log-current-defun-function.
2621         * vc.el (with-vc-properties): Use conses rather than length-2 lists.
2622         (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
2623         Update call to with-vc-properties accordingly.
2624         (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
2625         (vc-revert-buffer): More careful about window selection and deletion.
2626         (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
2628         * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
2629         (cvs-retrieve-revision): Reuse a pre-existing buffer.
2630         (cvs-dired-action): Change the default to quickdir.
2632         * newcomment.el (comment-indent): Delegate to indent-according-to-mode
2633         if comment-indent-function returns nil.
2634         (comment-indent-default): New function.
2635         (comment-indent-function): Use it and document the new semantics.
2637         * image-file.el: Docstring fixes.
2639         * help.el (help-xref-on-pp): Use match-string.
2640         (describe-variable): New arg BUFFER.
2641         Store the current buffer in the help-xref-stack.
2642         (temp-buffer-resize-mode): Use define-minor-mode.
2644         * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
2645         consistently with its docstring.
2646         Set jit-lock-first-unfontify-pos in an idempotent way.
2647         (jit-lock-register): Autoload and add arg CONTEXTUAL.
2649 2000-10-05  Alex Schroeder  <alex@gnu.org>
2651         * sql.el (sql-mysql-options): New variable.
2652         (sql-mysql): Use it.
2654 2000-10-05  Miles Bader  <miles@lsi.nec.co.jp>
2656         * image.el (image): New group.
2658         * smerge-mode.el (smerge-mine-face, smerge-other-face)
2659         (smerge-base-face, smerge-markers-face): Add dark-background variants.
2661 2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>
2663         * net/net-utils.el (nslookup-font-lock-keywords)
2664         (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2665         Ignore the value of wqindow-system; always define keywords
2667 2000-10-05  Kenichi Handa  <handa@etl.go.jp>
2669         * startup.el (fancy-splash-screens): Remove the code for
2670         debugging; `(trace-to-stderr "EXITTT\n")'.
2672 2000-10-05  Miles Bader  <miles@gnu.org>
2674         * diff-mode.el (diff-goto-source): Update call to
2675         `diff-hunk-status-msg' to reflect new REV variable.
2677 2000-10-04  Stefan Monnier  <monnier@cs.yale.edu>
2679         * progmodes/icon.el (icon-mode):
2680         Don't gratuitously override the default for comment-column.
2682         * vc-hooks.el (vc-mode-line): Fix interactive spec.
2684         * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
2685         (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
2686         (jit-lock-functions): New var.
2687         (jit-lock-function-1): Use it if non-nil.
2688         Don't switch the syntax-table.  Don't set parse-sexp-lookup-properties.
2689         Set the `fontified' property before doing the fontification to avoid
2690         repeatedly going through the same error.
2691         Don't turn errors into messages.
2692         (jit-lock-register, jit-lock-unregister): New functions.
2694         * dired.el (dired-mark-pop-up): Turn comment into docstring.
2695         Use with-current-buffer.
2697         * dired-aux.el (dired-do-create-files, dired-kill-tree):
2698         Turn comment into docstring.
2700         * apropos.el (apropos-mode): Use define-derived-mode.
2702 2000-10-04  Gerd Moellmann  <gerd@gnu.org>
2704         * startup.el (fancy-splash-pending-command): New variable.
2705         (fancy-splash-pre-command): New function.
2706         (fancy-splash-screens): Rewritten.
2707         (command-line-1): If fancy-splash-pending-command is set, call it
2708         interactively.
2710 2000-10-04  Dave Love  <fx@gnu.org>
2712         * toolbar/tool-bar.el (tool-bar-setup): New function.
2713         (tool-bar-mode): Use it.
2715         * subr.el (substitute-key-definition): Doc fix.
2716         (play-sound-file): New command.
2718 2000-10-04  Andre Spiegel  <spiegel@gnu.org>
2720         * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
2721         vc-version-backup-file-name): New functions.
2723         * files.el (basic-save-buffer): Call vc-before-save before saving.
2725         * vc-cvs.el (vc-cvs-make-version-backups): Return t if
2726         vc-cvs-stay-local-p.
2728         * vc.el (vc-revert-buffer): Handle empty diff properly.
2729         (vc-version-backup-file): New function.
2730         (vc-checkout): Create a version backup if necessary.
2731         (vc-checkin): If a version backup file exists, delete it.
2732         (vc-version-diff): Diff locally using version backups, if available.
2733         (vc-revert-file): If there's a version backup, revert locally.
2734         (vc-transfer-file): Use version backup for base version, if
2735         available.  If not, ask for confirmation whether to get it from the
2736         server.  Update mode line before check-in.
2738 2000-10-04  Dave Love  <fx@gnu.org>
2740         * toolbar/tool-bar.el (tool-bar-setup): New function.
2741         (tool-bar-mode): Use it.
2743 2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>
2745         * net/net-utils.el (nslookup-font-lock-keywords)
2746         (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2747         Only set if window-system is non-nil
2748         (net-utils-run-program): Returns buffer.
2749         (network-connection-reconnect): Added this function.
2751         * generic.el:
2752         Incorporates extensive cleanup and docfixes by
2753         Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
2754         Uses cl compile-time macros.
2755         (generic-mode-name, generic-comment-list)
2756         (generic-keywords-list, generic-font-lock-expressions)
2757         (generic-mode-function-list, generic-mode-syntax-table):
2758         Removed variables.
2759         (generic-mode-alist): Renamed to generic-mode-list.
2760         (generic-find-file-regexp): Default changed to "^#".
2761         (generic-read-type): Uses completing read on generic-mode-list.
2762         (generic-mode-sanity-check): removed this function.
2763         (generic-add-to-auto-mode): Removed this function
2764         (generic-mode-internal): Bind mode-specific definitions
2765         into function instead of putting them in alist.
2766         (generic-mode-set-comments): Reworked extensively.
2767         (generic-mode-find-file-hook): Simplified regexp searching
2768         (generic-make-keywords-list): Omit extra pair of parens
2770         * find-lisp.el (find-lisp-find-files-internal):
2771         Make sure directory name ends with "/".
2773         * generic-x.el (apache-conf-generic-mode):
2774         Regexp now allows leading whitespace.
2775         (rc-generic-mode): Added eval-when-compile
2776         around generic-make-keywords-list.
2777         Deleted duplicate regexp
2778         (rul-generic-mode): Added eval-when-compile
2779         around generic-make-keywords-list.
2780         (etc-fstab-generic-mode): New generic mode.
2781         (rul-generic-mode): Removed one eval-when-compile
2782         which caused a max-specpdl-size exceeded error.
2784 2000-10-04  Miles Bader  <miles@gnu.org>
2786         * simple.el (minibuffer-temporary-goal-position): New variable.
2787         (next-history-element): Try to keep the position of point in the
2788         input string constant.
2790         * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
2791         (dired-do-create-files): If there's only one file, pass it in as
2792         the DEFAULT arg to dired-mark-read-file-name.
2794 2000-10-03  Stefan Monnier  <monnier@cs.yale.edu>
2796         * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
2797         (diff-goto-source): Be smarter when choosing REVERSE or not.
2799         * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
2800         (texinfo-mode-menu): Add an explicit shortcut for update all.
2802 2000-10-03  Andre Spiegel  <spiegel@gnu.org>
2804         * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
2805         factorize backend-specific code cleanly (this was essentially
2806         conceived by Stefan Monnier).
2807         (vc-unregister): Function removed.
2808         (vc-revert-file): New function.
2809         (vc-revert-buffer): Delegate some of the work to it.
2811         * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
2812         default branch unconditionally.
2813         (vc-rcs-set-default-branch): New function.
2814         (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
2815         (vc-rcs-checkin): If an appropriate default branch has been set,
2816         force creation of that branch.
2817         (vc-rcs-receive-file): Rewritten to contain only backend-specific
2818         code (as suggested by Stefan Monnier).
2820 2000-10-02  Gerd Moellmann  <gerd@gnu.org>
2822         * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
2823         highlighting overlay with a different face over the overlay
2824         isearch uses to highlight the current match because that can lead
2825         to bad face combinations.
2827         * loadup.el (toplevel): Load faces before isearch.
2829         * isearch.el (isearch-faces): New custom group.
2830         (isearch): New defface; was already tested for in the code.
2831         (isearch-lazy-highlight-face): Changed to defface from defcustom.
2832         (isearch-highlight): Always use face `isearch'.
2834 2000-10-02  Dave Love  <fx@gnu.org>
2836         * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
2837         unused vars.  Treat byte-constant2 like byte-constant.  Fix bogus
2838         comparison of opcode with operand.
2840 2000-10-03  Miles Bader  <miles@gnu.org>
2842         * play/yow.el (yow): Don't display multi-line quotations in a *Help*
2843         buffer, since the echo area will now grow to accommodate them.
2845 2000-10-02  Andre Spiegel  <spiegel@gnu.org>
2847         * vc-hooks.el (vc-registered): If FILE used to be registered under
2848         a certain backend, try that one first.
2850         * vc.el (vc-responsible-backend): Undo the previous change in the
2851         argument list.  Handle multiple backends correctly.
2852         (vc-find-new-backend): Function removed.
2853         (vc-register): Use vc-responsible-backend, as before.
2854         (vc-next-action-on-file): Do use vc-registered, not vc-backend.
2856 2000-10-02  Gerd Moellmann  <gerd@gnu.org>
2858         * startup.el (fancy-splash-head): Change message below the
2859         logo.
2861 2000-10-02  Miles Bader  <miles@lsi.nec.co.jp>
2863         * diff-mode.el (diff-goto-source): Emit a status message.
2864         (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
2865         (diff-test-hunk): Fix doc string.
2866         (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
2867         (diff-advance-after-apply-hunk): New variable.
2868         (diff-apply-hunk): Don't return a value.
2870 2000-10-01  Stefan Monnier  <monnier@cs.yale.edu>
2872         * vc.el (vc-editable-p): Minor optimization.
2873         (edit-vc-file, vc-next-action-on-file): Don't use find-file.
2874         (vc-find-new-backend): New function split from vc-responsible-backend.
2875         (vc-register): Use it.
2876         (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
2877         (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
2878         (vc-default-unregister, vc-revert-buffer): Docstring fix.
2879         (vc-clear-headers): Don't use find-file.
2880         (vc-revert-buffer): Use `and' again (must have been a braino).
2881         (vc-switch-backend): Only prompt if requested.
2882         Short circuit if nothing is to be done.
2883         Don't use vc-resynch-buffer which could lose unsaved editing.
2884         (vc-default-receive-file): Update call to vc-unregister.
2885         (with-vc-file, vc-next-action-on-file):
2886         Use vc-backend rather than vc-registered.
2887         (vc-next-action-on-file): Use intern-soft.
2888         Deal with read-only *vc-diff* buffer.
2889         (vc-transfer-file): Docstring fix.
2891         * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
2892         (vc-rcs-receive-file): Avoid with-vc-properties.
2893         Update call to vc-unregister.
2894         Use constant `RCS' rather than (dynamically bound) var `backend'.
2896 2000-10-01  Andre Spiegel  <spiegel@gnu.org>
2898         * vc.el (vc-next-action-on-file): Update mode line only if file
2899         is visited.
2900         (vc-start-entry): New argument initial-contents.  Don't visit the file
2901         if it isn't already visited.  Brought documentation up-to-date.
2902         (vc-next-action, vc-register): Updated calls to vc-start-entry.
2903         (vc-checkin): New optional arg initial-contents, which is passed to
2904         vc-start-entry.
2905         (vc-finish-logentry): Make sure to bury log buffer only if there
2906         really is one.  Call `vc-resynch-buffer' on log-file, not
2907         buffer-file-name.
2908         (vc-default-comment-history, vc-default-wash-log): New functions.
2909         (vc-index-of): Removed.
2910         (vc-transfer-file): Make do without the above.
2911         (vc-default-receive-file): Call comment-history unconditionally.  Pass
2912         the resulting string to vc-checkin, instead of inserting it into the
2913         comment ring.
2915         * vc-rcs.el (vc-rcs-receive-file): Call comment-history
2916         unconditionally.  Use the comments as initial contents of the log
2917         entry buffer.  Document the trick to force branch creation with no
2918         changes.
2920 2000-10-01  Miles Bader  <miles@gnu.org>
2922         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
2923         `recenter' with an arg to prevent redrawing the display.
2925 2000-09-30  Stefan Monnier  <monnier@cs.yale.edu>
2927         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
2929         * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
2931         * progmodes/c-mode.el (c-mode):
2932         Don't gratuitously override the default for comment-column.
2934         * textmodes/tex-mode.el (latex-metasection-list): New var.
2935         (latex-imenu-create-index): Use it.
2936         Move the regexp construction outside loops (and use push).
2937         (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
2938         (tex-font-lock-keywords): Moved from font-lock.el.
2939         (tex-comment-indent): Remove.
2940         (tex-common-initialization): Don't set comment-indent-function.
2941         (latex-block-default): New var.
2942         (tex-latex-block): Use it to provide a default choice.
2943         Add any unknown choice to latex-block-names.
2944         Insert [...] after {...}.
2945         (tex-last-unended-begin): Simplify regexp.
2946         (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
2947         (latex-forward-sexp-1, latex-forward-sexp): New functions.
2948         (latex-mode): Set forward-sexp-function.
2950         * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
2951         Add regexp for @ignore ... @end ignore.
2952         (texinfo-heading-face): New face.
2953         (texinfo-font-lock-keywords): Use it.
2954         (texinfo-mode-menu): New menu.
2955         (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
2956         New functions.
2957         (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
2958         (texinfo-section-types-regexp, texinfo-section-level-regexp)
2959         (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
2960         Remove declaration.
2961         (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
2963         * delsel.el (delete-selection-mode): Use define-minor-mode.
2965         * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
2967 2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>
2969         * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
2971 2000-09-30  Gerd Moellmann  <gerd@gnu.org>
2973         * replace.el (keep-lines-read-args): New function.
2974         (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
2975         read arguments interactively.  Add parameters RSTART and REND.
2976         Operate on the active region in Transient Mark mode.
2978         * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
2980         * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
2981         (authors-obsolete-files-regexps): New variable.
2982         (authors-add): Don't record changes in obsolete files.
2984 2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>
2986         * autoinsert.el (auto-insert-mode): Use define-minor-mode.
2988         * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
2989         (comment-indent): Make sure there's a space between code and comment.
2990         Shift comments left to avoid going past fill-column.
2992 2000-09-29  Gerd Moellmann  <gerd@gnu.org>
2994         * startup.el (startup-echo-area-message): New function.
2995         (display-startup-echo-area-message): Use it.
2996         (fancy-splash-screens): Rewritten to use keymaps and a timer.
2997         (fancy-splash-default-action): New function.
2998         (fancy-splash-screens-1): New function.
2999         (fancy-splash-head): Put a help-echo and a keymap under the image.
3001 2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>
3003         * diff-mode.el (diff-add-log-file-name): Remove.
3004         (diff-mode): Use add-log-buffer-file-name-function.
3006         * add-log.el (find-change-log): New arg BUFFER-FILE.
3007         (add-log-file-name): Obey add-log-file-name-function.
3008         (add-log-buffer-file-name-function): New var.
3009         (add-change-log-entry): Use it.
3011 2000-09-29  Miles Bader  <miles@gnu.org>
3013         * image-file.el (image-file-name-extensions): New variable.
3014         (image-file-name-regexps): Renamed from `image-file-regexps'.
3015         New default value is nil.  Call `auto-image-file-mode'.
3016         (image-file-name-regexp): New function.
3017         (auto-image-file-mode): New minor mode.
3018         (insert-image-file): Don't make conditional on the image-file
3019         handler being enabled.
3020         (image-file-handler): Make the call here conditional instead.
3021         (set-image-file-handler-enabled, enable-image-file-handler)
3022         (disable-image-file-handler): Functions removed.
3024         * emacs-lisp/authors.el (authors-print): Rephrase many-files
3025         string.
3027 2000-09-29  Gerd Moellmann  <gerd@gnu.org>
3029         * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
3030         it's a function from CL.
3031         (latex-imenu-create-index): Replace eval-when-compile with progn
3032         because latex-section-alist is not bound while compiling.
3034 2000-09-28  Stefan Monnier  <monnier@cs.yale.edu>
3036         * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
3037         (outline-mode): Use define-derived-mode.
3039         * progmodes/perl-mode.el (perl-mode):
3040         * progmodes/awk-mode.el (awk-mode):
3041         * progmodes/asm-mode.el (asm-mode):
3042         Don't gratuitously override the default for comment-column.
3044         * emacs-lisp/lisp.el (lisp-complete-symbol):
3045         Distinguish the let-binding case from the funcall case.
3046         (forward-sexp-function): New variable.
3047         (forward-sexp): Use it.
3049         * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
3050         (easy-mmode-defmap): Remove the now useless autoload.
3052         * time.el (display-time-mode): Use define-minor-mode.
3054         * subr.el (add-minor-mode): Don't eval NAME.
3055         Don't depend on the presence of TOGGLE-FUN for any special behavior.
3056         Use if rather than cond.
3058         * simple.el (read-expression-map): Define more properly.
3059         (comment-indent-hook): Remove.
3060         (string-to-syntax): Bug fix.
3062         * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
3063         (cvs-ediff-diff): Fix typo.
3064         (cvs-revert-if-needed): Don't bother preserving read-only.
3066         * paren.el (show-paren-mode): Use define-minor-mode.
3068         * jka-compr.el (auto-compression-mode): Use define-minor-mode.
3069         (toggle-auto-compression): Remove.
3070         (jka-compr-build-file-regexp): Remove useless grouping.
3072         * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
3073         Avoid user-reserved bindings.
3074         (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
3075         (diff-header-face): Revert to grey85.
3077         * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
3079         * complete.el (partial-completion-mode) <defcustom>: Remove.
3080         (partial-completion-mode): Use define-minor-mode.
3081         (PC-do-completion): Understand `completion-auto-help = delay'
3082         to mean to popup the completion buffer only the second time.
3083         (PC-include-file-all-completions, PC-include-file-all-completions)
3084         (PC-include-file-all-completions): Don't quote lambda.
3086         * comint.el (comint-mode-hook): Docstring fix.
3087         (comint-mode): Use define-derived-mode.
3088         (comint-mode-map): Remove obsolete comment.
3089         (make-comint): Minor stylistic change.
3090         (comint-insert-clicked-input): Be more careful to find the overlay.
3091         Use this-command-keys rather than hardcoding mouse-2.
3093         * font-lock.el: Replace confusing (,@ with ,
3094         (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
3095         Don't use regexp-opt-depth.  Spice up the regexp for args.
3096         Don't distinguish between cmds that can take an opt arg or not.
3097         Use `append' and `prepend' rather than `keep'.
3099         * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
3100         (latex-outline-regexp): New var.
3101         (latex-outline-level): New fun.
3102         (latex-section-alist): New var.
3103         (latex-imenu-create-index): Use it.  Use `push' as well.
3104         (tex-shell-map): Initialize it properly.
3105         (tex-mode): Minor stylistic change.
3106         (plain-tex-mode): Use define-derived-mode.
3107         (latex-mode): Use define-derived-mode.
3108         Construct the paragraph regexps in a more readable way.
3109         Set the buffer-local outline-{level,regexp} vars.
3110         (slitex-mode): Derive from latex-mode.
3111         (tex-common-initialization): Don't kill-all-vars anymore.
3112         Add setting for comment-add and font-lock-defaults.
3113         (tex-start-shell): Use with-current-buffer and don't re-init keymap.
3114         (tex-main-file): New fun.  Obey TeX-master as well and remove `.tex'.
3115         (tex-start-tex): New arg DIR (and send a chdir command for it).
3116         Also display the shell buffer and save it in tex-last-buffer-texed.
3117         (tex-region): Use expand-file-name rather than concat.
3118         Remove code made useless by changes in tex-start-tex.
3119         (tex-file): Use tex-main-file and adapt to new tex-start-tex.
3121         * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
3123 2000-09-28  Dave Love  <fx@gnu.org>
3125         * eshell/eshell.el (eshell) <defgroup>: Add :version.
3127 2000-09-28  Gerd Moellmann  <gerd@gnu.org>
3129         * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
3130         `append'.
3132 2000-09-28  Stefan Monnier  <monnier@cs.yale.edu>
3134         * info.el (Info-extract-pointer): Undo last change.
3135         Instead, fix the position of the `bound' arg to re-search-backward.
3137 2000-09-27  Stefan Monnier  <monnier@cs.yale.edu>
3139         * info.el (Info-extract-pointer):
3140         Widen more carefully, to avoid finding pointers in other nodes.
3141         (Info-index): Use push.
3143 2000-09-27  Gerd Moellmann  <gerd@gnu.org>
3145         * frame.el (set-frame-font): Remove call to obsolete function
3146         frame-update-faces.
3147         (set-foreground-color, set-background-color): Likewise for
3148         frame-update-face-colors.
3150 2000-09-27  Miles Bader  <miles@gnu.org>
3152         * image-file.el: New file.
3154 2000-09-27  Gerd Moellmann  <gerd@gnu.org>
3156         * frame.el (frame-notice-user-settings): Don't call
3157         frame-update-faces, which is a no-op now.
3159         * ediff-wind.el (ediff-control-frame-parameters): Add zero
3160         tool-bar-lines.
3162 2000-09-27  Dave Love  <fx@gnu.org>
3164         * mouse.el: Fix last change.
3166 2000-09-27  Miles Bader  <miles@lsi.nec.co.jp>
3168         * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
3170 2000-09-22  Kenichi Handa  <handa@etl.go.jp>
3172         * international/quail.el (quail-help): The output message is
3173         improved.
3175 2000-09-26  Dave Love  <fx@gnu.org>
3177         * mouse.el (popup-menu): If POSITION is nil, set it using
3178         mouse-position.
3180 2000-09-25  Sam Steingold  <sds@gnu.org>
3182         * net/browse-url.el (browse-url-file-url): Check for null maps.
3184 2000-09-26  Gerd Moellmann  <gerd@gnu.org>
3186         * frame.el (frame-notice-user-settings): Don't add a
3187         tool-bar-lines frame parameter to default-frame-alist in batch mode.
3189         * frame.el (frame-notice-user-settings):
3190         Make tool-bar-mode and default-frame-alist consistent.
3192         * toolbar/tool-bar.el (tool-bar-help): New function.
3194 2000-09-25  Gerd Moellmann  <gerd@gnu.org>
3196         * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
3197         current-load-list in top-level forms.  Else this leaks a cons cell
3198         every time a defun is called.
3200         * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
3202 2000-09-25  Dave Love  <fx@gnu.org>
3204         * startup.el (fancy-splash-head): Check XPM is available.
3206         * autoinsert.el (auto-insert): Doc fix.
3207         (auto-insert-alist): Following GNU notices, don't say `copyright
3208         _by_'.  Use line-beginning-position.
3209         (auto-insert): Check buffer-file-name is non-nil before use.
3211 2000-09-25  Gerd Moellmann  <gerd@gnu.org>
3213         * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
3214         starting with `@def' or `@multitable', in addition to ones
3215         specified by the user in auto-fill-inhibit-regexp.
3217 2000-09-25  Markus Rost  <rost@math.ohio-state.edu>
3219         * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
3220         rmail-dont-reply-to-names matches the empty string.
3222 2000-09-25  Gerd Moellmann  <gerd@gnu.org>
3224         * startup.el (command-line-1, fancy-splash-text): Change the
3225         text to sound more friendly.
3227 2000-09-23  Thien-Thi Nguyen  <ttn@gnu.org>
3229         * progmodes/hideshow.el: Update author email address.
3230         Generally, sync w/ maintainer version 5.22.
3231         (hs-hide-all-non-comment-function): New var.
3232         (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
3233         (hs-hide-all): Use `hs-hide-all-non-comment-function'.
3234         (hs-show-region): Delete this command.
3235         (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
3237 2000-09-22  Dave Love  <fx@gnu.org>
3239         * hl-line.el (hl-line-overlay): Don't make it buffer-local.
3240         (hl-line-highlight): Specify buffer when moving overlay.
3242         * progmodes/fortran.el (fortran-mode): Locally set
3243         normal-auto-fill-function.
3244         (fortran-auto-fill-mode): Just alias to auto-fill-mode.
3245         (fortran-mode-map): Adjust auto-fill menu entry.
3247 2000-09-22  Gerd Moellmann  <gerd@gnu.org>
3249         * vc-rcs.el (toplevel): Require `vc' when compiling.
3251         * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
3253 2000-09-22  Andre Spiegel  <spiegel@gnu.org>
3255         * vc.el (vc-switch-backend): Signal an error if the file is not
3256         registered under the new backend.
3258         * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
3259         without explicit revision number.
3261 2000-09-21  Stefan Monnier  <monnier@cs.yale.edu>
3263         * diff-mode.el (diff-file-header-face): Reset to its previous value.
3264         (diff-hunk-text): Correctly use offsets rather than buffer-positions.
3265         (diff-xor): New function.
3266         (diff-find-source-location): Use it.  Fix a stupid name clash.
3267         (diff-hunk-status-msg): New function.
3268         (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
3269         (diff-test-hunk): Use diff-find-source-location.
3270         (diff-goto-source): Favor the `reverse'.
3271         (diff-hunk-text): Properly handle one-sided context diffs.
3272         (diff-apply-hunk): When done, advance to the next hunk.
3274 2000-09-21  Gerd Moellmann  <gerd@gnu.org>
3276         * startup.el (command-line): If frame was created with a non-zero
3277         tool-bar-lines parameter, switch tool-bar-mode on.
3279         * add-log.el (change-log-date-face, change-log-name-face)
3280         (change-log-email-face, change-log-file-face)
3281         (change-log-list-face, change-log-conditionals-face)
3282         (change-log-function-face, change-log-acknowledgement-face):
3283         New faces, inheriting from font-lock faces.
3284         (change-log-font-lock-keywords): Use them.
3286 2000-09-21  Dave Love  <fx@gnu.org>
3288         * progmodes/cperl-mode.el (top-level): Clean up
3289         `eval-when-compile's and assorted defvars.
3290         (cperl-invalid-face): Don't double-quote value.  Change custom
3291         type.
3292         (cperl-mode): Set normal-auto-fill-function and don't zap
3293         auto-fill-function.
3294         (cperl-imenu--function-name-regexp-perl): Renamed from
3295         imenu-example--function-name-regexp-perl.
3296         (cperl-imenu--create-perl-index): Renamed from
3297         imenu-example--create-perl-index.
3298         (cperl-xsub-scan): Don't require cl.
3300         * msb.el (msb-mode-map): Use substitute-key-definition.
3301         (msb-mode): Use msb-mode-map.
3303 2000-09-21  Andre Spiegel  <spiegel@gnu.org>
3305         * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
3306         New functions.
3307         (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
3308         (vc-switch-backend): New function.
3309         (vc-prefix-map): Bind `vc-switch-backend' to `b'.
3310         (vc-register): Fix prompt.
3311         (vc-unregister, vc-default-unregister): New functions.
3312         (vc-version-diff): Handle empty buffer in sentinel.
3314         * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
3315         (vc-rcs-state-heuristic): Use it to guess the state of files with
3316         non-strict locking.
3317         (vc-rcs-find-most-recent-rev): Handle the case when a branch has
3318         been set with -b, but not created yet.
3319         (vc-rcs-fetch-master-state): With non-strict locking, compare file
3320         contents in order to find the state.
3321         (vc-rcs-checkin): Allow creation of branches with no changes.
3322         (vc-rcs-unregister, vc-rcs-receive-file)
3323         (vc-rcs-set-non-strict-locking): New functions.
3325         * vc-hooks.el (vc-name): Force correct computation of the value
3326         in case it is missing.
3328 2000-09-21  Gerd Moellmann  <gerd@gnu.org>
3330         * startup.el (fancy-splash-tail): Use a different foreground
3331         color on a dark frame background.
3333 2000-09-21  Miles Bader  <miles@lsi.nec.co.jp>
3335         * info.el: Use the correct capitalization when making Info-mode
3336         and Info-edit-mode `special' modes.
3338 2000-09-20  Stefan Monnier  <monnier@cs.yale.edu>
3340         * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
3341         (diff-mode): Add support for add-log.el.
3342         (diff-hunk-text): Use char offsets rather than line offsets.
3343         (diff-find-source-location): Replace LINE with line-offset (nil
3344         if not found) and always set POS to a meaningful position.
3345         Adapt to the new char-offsets.
3346         (diff-apply-hunk): Drop support for the unused `select' POPUP.
3347         Adapt to the new diff-find-source-location.
3348         (diff-goto-source): Adapt to the new diff-find-source-location.
3350         * add-log.el (add-log-file-name): New function (split out of
3351         add-change-log-entry).
3352         (add-change-log-entry): Use it.
3353         Call add-log-file-name-function with the changelog file name if
3354         the current buffer is not associated with any file.
3355         Avoid find-file if the selected window is dedicated.
3357         * diff-mode.el (diff-find-source-location):
3358         Move code from diff-apply-hunk.  Return buffer rather than file.
3359         (diff-apply-hunk): Use the new result from  diff-find-source-location.
3360         (diff-goto-source): Use the new diff-find-source-location.
3362 2000-09-20  Dave Love  <fx@gnu.org>
3364         * iswitchb.el: Some doc fixes.
3365         (iswitchb-mode-map): Define completely initially.  Inherit
3366         minibuffer-local-map.
3367         (iswitchb-completion-help) <!iswitchb-xemacs>: Use
3368         fundamental-mode.
3369         (iswitchb-global-map): New variable.
3370         (iswitchb-summaries-to-end): Amalgamate regexps.
3371         (iswitchb-mode): New.
3372         (iswitchb-mode-hook): New variable.
3373         (iswitchb) <defgroup>: Add URL link.  Use group `completion', not
3374         `extensions'.
3376 2000-09-20  Gerd Moellmann  <gerd@gnu.org>
3378         * ehelp.el (electric-help): New defgroup.
3379         (electric-help-shrink-window): New user-option.
3380         (with-electric-help): Use it.
3382         * window.el (shrink-window-if-larger-than-buffer): If face
3383         `mode-line' has a :box, and we're on a graphical frame, add 1
3384         to the needed window height.
3386         * frame.el (frame-notice-user-settings): Add a last parameter nil
3387         to a call to `append', because the last list passed to `append' is
3388         not copied, and so subsequent calls to assq-delete-all will modify
3389         default-frame-alist.
3391         * startup.el (fancy-splash-image): Change :type.
3392         (fancy-splash-head): Use an XBM image if appropriate.
3393         (command-line-1): Show splash screens in more cases.
3395         * startup.el (fancy-splash-text): Don't quote faces.
3397         * dired.el (dired-font-lock-keywords): Undo last change.
3398         (dired-readin): Bind indent-tabs-mode to nil.
3400         * startup.el (fancy-splash-head): If frame's background mode
3401         is `dark', change the black background of the image to gray.
3402         (fancy-splash-screens): Display startup echo area message.
3403         (display-startup-echo-area-message): New function.
3405 2000-09-20  Miles Bader  <miles@lsi.nec.co.jp>
3407         * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
3409         * info.el (info-header-node): Tweak for color ttys.
3411         * faces.el (face-valid-attribute-values): Make sure directories we
3412         search for stipples both exist and are readable before trying to
3413         search them.
3415         * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
3416         in the dry-run case.
3418         * jka-compr.el (with-auto-compression-mode): New macro.
3420         * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
3421         (custom-group-tag-face, custom-variable-tag-face): Use relative
3422         :height and inherit from `variable-pitch' face instead of
3423         hardwiring :family.
3424         * hi-lock.el (hi-black-hb): Likewise.
3426         Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
3427         * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
3428         toolbar-add-item, if image doesn't have a mask add a `:mask
3429         heuristic'.
3431 2000-09-19  Stefan Monnier  <monnier@cs.yale.edu>
3433         * diff-mode.el: Docstring fixes.
3434         (diff-header-face, diff-comment-face): New faces.
3435         (diff-font-lock-keywords): Highlight a bit differently.
3436         (diff-find-source-location): Don't return SPAN any more.
3437         (diff-hunk-text): Don't bother erasing the temp buffer.
3438         (diff-find-text): Drop argument LINE.
3439         (diff-apply-hunk): Update calls to diff-find-text.
3440         (diff-goto-source): Use pop-to-buffer again and don't raise an error.
3442         * calendar/calendar.el: Docstring fixes.
3443         (calendar-make-alist): Don't quote lambda.
3444         (calendar-star-date): Use make-local-variable.
3446 2000-09-19  Dave Love  <fx@gnu.org>
3448         * toolbar/tool-bar.el: Renamed from toolbar.el.
3449         Change `toolbar' to `tool-bar' generally in symbols.
3450         Make some items invisible in `special' major modes.
3451         (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
3452         Add arg PROPS.
3454         * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
3455         Add :version here.
3456         (fancy-splash-delay, fancy-splash-image): Remove :version here.
3458 2000-09-19  Gerd Moellmann  <gerd@gnu.org>
3460         * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
3462         * files.el (find-file-suppress-same-file-warnings): New user-option.
3463         (find-file-noselect): Use it.
3465         * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
3466         (fancy-splash-screen): Defgroup.
3468         * add-log.el (change-log-font-lock-keywords): Match names
3469         more exactly for the case that font-lock-constant-face is
3470         underlined.
3472 2000-09-19  Richard M. Stallman  <rms@gnu.org>
3474         * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
3476 2000-09-19  Andre Spiegel  <spiegel@gnu.org>
3478         * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
3480 2000-09-19  Gerd Moellmann  <gerd@gnu.org>
3482         * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
3483         * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
3484         * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
3485         * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
3486         * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
3487         * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
3488         * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
3489         * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
3490         * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
3491         * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
3492         * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
3493         * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
3495         * startup.el (fancy-splash-text): New variable.
3496         (fancy-splash-delay, fancy-splash-image): New user-options.
3497         (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
3498         (fancy-splash-screens): New functions.
3499         (command-line-1): If display has a `display' frame parameter, has
3500         colors, and we have XPM support, show more fancy splash screens.
3502 2000-09-19  Dave Love  <fx@gnu.org>
3504         * map-ynp.el (map-y-or-n-p): Check use-dialog-box.  Don't lose
3505         with null `help'.  Use modern backquote syntax.
3507 2000-09-19  Gerd Moellmann  <gerd@gnu.org>
3509         * font-lock.el (font-lock-mode): Change message telling the user
3510         that ``the buffer is too big''.
3512         * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
3513         for instance for the case that tab-width is 2.
3515 2000-09-18  Gerd Moellmann  <gerd@gnu.org>
3517         * toolbar/toolbar.el (toolbar-like-menu-item): Like in
3518         toolbar-add-item, if image doesn't have a mask add a `:mask
3519         heuristic'.
3521 2000-09-18  Miles Bader  <miles@lsi.nec.co.jp>
3523         * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
3524         and return a cons if it's non-nil.
3525         (diff-apply-hunk): Try to jump to the line in the source text
3526         corresponding to the position of point in the in the hunk.
3528         * info.el (Info-title-3-face, Info-title-2-face)
3529         (Info-title-1-face): Use face inheritance and relative sizes
3530         instead of hard-wiring things.
3532         * faces.el (secondary-selection): Make dark-background variant sane.
3534 2000-09-16  Andrew Innes  <andrewi@gnu.org>
3536         * makefile.w32-in (compile-files-CMD): No need to make .elc files
3537         read-only, since they aren't under VC now.
3539 2000-09-17  Dave Love  <fx@gnu.org>
3541         * tmm.el: Replace mapcar with mapc in several places.
3543         * loadhist.el (unload-feature): Maybe call elp-restore-list and
3544         ad-unadvise.
3546         * international/latin1-disp.el: New file.
3548         * calendar/cal-move.el (scroll-calendar-left)
3549         (scroll-calendar-right): Make arg optional (for active mode line).
3551         * calendar/calendar.el (calendar-mode-line-format): Make fields
3552         mouse-sensitive.
3553         (calendar-read-date, calendar-read-date, calendar-window-list):
3554         Unquote lambda.
3555         (calendar-month-name): Use aref, not sref.
3557         * view.el (minor-mode-alist): Propertize the string.
3559         * international/characters.el (standard-case-table): Add entries
3560         for Greek.
3562 2000-09-18  Miles Bader  <miles@gnu.org>
3564         * info.el (info-node, info-xref): Add dark-background variants.
3566         * faces.el (header-line): Change defaults to be less confusing
3567         when mixed with mode-lines.
3569         * info.el (Info-fontify-node): Make a few cleanups.
3570         Add extra `help-echo' and `local-map' props to node xrefs.
3571         Use header-specific faces for node-names & xrefs.
3572         (Info-use-header-line): New variable.
3573         (info-header-xref, info-header-node): New faces.
3574         (Info-setup-header-line): New function.
3575         (Info-select-node): Call Info-setup-header-line when enabled.
3576         (Info-extract-pointer): Work even if the header line is hidden.
3577         (Info-header-line): New variable.
3579 2000-09-16  Stefan Monnier  <monnier@cs.yale.edu>
3581         * vms-patch.el (print-region-function): Don't quote lambda.
3583         * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
3585         * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
3586         (lm-get-header-re): Allow spaces between the header and the colon.
3587         (lm-header): Allow $ in non-RCS headers.
3588         (lm-header-multiline): Put the strings back into order.
3589         Stop at an empty line.  Don't require two space chars if the
3590         line is clearly not another header line.
3592         * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
3593         (popup-menu-popup): Remove.
3595 2000-09-15  Gerd Moellmann  <gerd@gnu.org>
3597         * toolbar/toolbar.el (toolbar-add-item): Use the same image
3598         specification if or if not tool-bar item contains an `:enabled'
3599         property.
3601         * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
3602         current buffer has no file name.
3604 2000-09-15  Dave Love  <fx@gnu.org>
3606         * strokes.el: Sync with maintainer's current version with changes
3607         for Emacs, but avoid runtime cl and levents.
3608         (toplevel):  Change autoloads and compilation requires.
3609         (strokes-version, strokes-bug-address, strokes-lift): Values
3610         changed.
3611         (strokes-xpm-header, strokes-insinuated): New variable.
3612         (strokes): Add :link.
3613         (strokes-mode): Customized.
3614         (strokes-while-inhibiting-garbage-collector): New macro.
3615         (strokes-remassoc): Avoid remove-if.
3616         (strokes-fix-button2-command): Don't use ad-do-it.
3617         (strokes-insinuate): New function.
3618         (strokes-button-press-event-p, strokes-button-release-event-p):
3619         New functions, used instead of non-`strokes-' versions..
3620         (strokes-mouse-event-p): Rewritten.
3621         (strokes-event-closest-point): Avoid event-point.
3622         (strokes-get-grid-position): Avoid cdadr, caadr
3623         (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
3624         functions.
3625         (strokes-help): Use with-output-to-temp-buffer.
3626         (strokes-window-configuration-changed-p): New function.
3627         (strokes-update-window-configuration): Use buffer-live-p,
3628         strokes-window-configuration-changed-p.
3629         (strokes-mode): Use strokes-insinuate.  Alter mouse bindings.
3630         (strokes-char-face): New face.
3631         (strokes-char-table, strokes-base64-chars): New variable.
3632         (strokes-xpm-for-stroke, strokes-list-strokes)
3633         (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
3634         (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
3635         (strokes-xpm-to-compressed-string, strokes-decode-buffer)
3636         (strokes-encode-buffer, strokes-xpm-for-compressed-string)
3637         (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
3638         functions.
3640 2000-09-15  Gerd Moellmann  <gerd@gnu.org>
3642         * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
3644         * image.el (create-image): Doc fix.
3646         * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
3647         instead of `:heuristic-mask t'.
3649 2000-09-14  Andrew Innes  <andrewi@gnu.org>
3651         * makefile.w32-in: Revert to Unix line endings.
3653 2000-09-14  Andrew Innes  <andrewi@gnu.org>
3655         * makefile.w32-in: Add bootstrap support.  Also copy lisp source
3656         when installing.
3658         * makefile.nt (DONTCOMPILE): Fix typo.
3660         * shell.el (shell-write-history-on-exit): New function.
3661         (shell-dumb-shell-regexp): New custom variable.
3662         (shell-mode): Make shell-write-history-on-exit the process
3663         sentinel if shell name matches shell-dumb-shell-regexp.
3665         * w32-fns.el: Comment out before-init-hook function which resets
3666         source-directory based; this breaks bootstrap.
3668 2000-09-14  Dave Love  <fx@gnu.org>
3670         * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
3671         toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
3672         toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
3673         toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
3674         toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
3675         toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
3676         toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm:  New.
3677         From Tuomas Kuosmanen <tigert@gimp.org>.  (Gnome icons fetched
3678         from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
3680         * toolbar/toolbar.el: New.
3682         * subdirs.el: Add toolbar.
3684 2000-09-14  Gerd Moellmann  <gerd@gnu.org>
3686         * indent.el (indent-for-tab-command): Doc fix.
3688 2000-09-14  Alex Schroeder  <alex@gnu.org>
3690         * ansi-color.el (ansi-colors): Doc change.
3691         (ansi-color-get-face): Simplified regexp.
3692         (ansi-color-faces-vector): Added more faces, doc change.
3693         (ansi-color-names-vector): Doc change.
3694         (ansi-color-regexp): Simplified regexp.
3695         (ansi-color-parameter-regexp): New regexp.
3696         (ansi-color-filter-apply): Doc change.
3697         (ansi-color-filter-region): Doc change.
3698         (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
3699         deal with zero length parameters.
3700         (ansi-color-apply-on-region): Doc change.
3701         (ansi-color-map): Doc change.
3702         (ansi-color-map-update): Removed debugging message.
3703         (ansi-color-get-face-1): Added condition-case to trap
3704         args-out-of-range errors.
3705         (ansi-color-get-face): Doc change.
3706         (ansi-color-make-face): Removed.
3707         (ansi-color-for-shell-mode): New option.
3709 2000-09-13  Kenichi Handa  <handa@etl.go.jp>
3711         * international/quail.el (quail-start-translation): Translate KEY
3712         if necessary even if it doesn't have any mapping in the current
3713         input method.
3714         (quail-start-conversion): Likewise.
3715         (quail-help): The output message is improved.
3717 2000-09-13  Miles Bader  <miles@gnu.org>
3719         * comint.el (comint-output-filter): Revert to using
3720         `insert-before-markers'.  Add bletcherous hack to undo damage
3721         caused by `insert-before-markers'.  Put `front-sticky' property on
3722         overlays created here so that the field code understands how the
3723         overlay works.  Use a let when making comint-last-prompt-overlay,
3724         so that the code is easier to read.
3726 2000-09-13  Dave Love  <fx@gnu.org>
3728         * wid-edit.el (widget-default-format-handler): DTRT when
3729         doc-property is a function.
3731 2000-09-12  Francesco Potorti`  <pot@gnu.org>
3733         * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
3734         filed name if it's not there.
3736 2000-09-12  Dave Love  <fx@gnu.org>
3738         * simple.el (read-mail-command): Doc fix.
3739         (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
3741         * vc.el (vc-dired-listing-switches): Fix :version.
3743         * vc-hooks.el: Doc fixes.
3745         * subr.el (add-minor-mode): Use toggle-fun arg.
3747         * speedbar.el: Add :version to several defcustoms.
3749         * imenu.el (imenu--truncate-items, imenu--cleanup)
3750         (imenu--generic-function): Avoid mapcar.
3751         (imenu--replace-spaces): Function removed.
3752         (imenu--completion-buffer): Use subst-char-in-string.
3753         (imenu-add-to-menubar): Use keymap inheritance.
3755 2000-09-12  Miles Bader  <miles@gnu.org>
3757         * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
3758         (diff-mode-map): Bind `diff-test-hunk'.
3759         (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
3761 2000-09-11  Gerd Moellmann  <gerd@gnu.org>
3763         * bytecomp.el (byte-compile-defvar): Undo last change
3764         because it breaks '(make-variable-buffer-local (defvar ...)'
3765         which is used at least in dired.
3767 2000-09-12  Kenichi Handa  <handa@etl.go.jp>
3769         * international/quail.el (quail-define-package): Docstring
3770         modified.
3772 2000-09-12  Kenichi Handa  <handa@etl.go.jp>
3774         * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
3775         extra docstrings for "chinese-ccdospy", "chinese-ecdict",
3776         "chinese-etzy", "chinese-sw", and "chinese-ziranma".  Modify the
3777         docstring of "chinese-py".
3779         * international/quail.el (quail-translation-docstring): New
3780         variable.
3781         (quail-show-keyboard-layout): Docstring modified.
3782         (quail-select-current): Likewise.
3783         (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
3784         infinite recursive call.
3785         (quail-help): Check quail-translation-docstring.  Format of the
3786         output changed.
3787         (quail-help-insert-keymap-description): Adjusted for the above
3788         change.
3790 2000-09-11  Gerd Moellmann  <gerd@gnu.org>
3792         * bytecomp.el (byte-compile-defvar): Only cons onto
3793         current-load-list in top-level forms.  Else this leaks a cons cell
3794         every time a defun is called.
3796 2000-09-11  Miles Bader  <miles@lsi.nec.co.jp>
3798         * diff-mode.el (diff-apply-hunk): Function basically rewritten.
3799         Now understands non-unified diffs.  Some functionality moved into
3800         `diff-hunk-text' and `diff-find-text'.  Add OTHER-FILE, DRY-RUN,
3801         POPUP, and NOERROR arguments.  If DRY-RUN is true, don't actually
3802         modify anything.  Only reposition point in the patched file if the
3803         patch succeeds.  Only pop up another window if POPUP is true.
3804         Emit a message describing what happened if successful, and at what
3805         line-offset.  Automatically detect reversed hunks and do something
3806         appropriate.
3807         (diff-hunk-text, diff-find-text): New functions.
3808         (diff-filter-lines): Function removed.
3809         (diff-test-hunk): New function.
3810         (diff-goto-source): Rewritten in terms of diff-apply-hunk.
3812 2000-09-10  Dave Love  <fx@gnu.org>
3814         * textmodes/tildify.el: Minor doc/commentary fixes.
3815         (tildify) <defgroup>: Add :version.
3817         * faces.el (face-x-resources): Make custom type more specific.
3818         (frame-background-mode): Use mapc.
3819         (region) <defcustom>: Add :version.
3821 2000-09-08  Stefan Monnier  <monnier@cs.yale.edu>
3823         * vc-sccs.el (vc-sccs-register):
3824         * vc-rcs.el (vc-rcs-register):
3825         * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
3826         * vc.el (vc-register): Clear file's properties.
3828 2000-09-08  Gerd Moellmann  <gerd@gnu.org>
3830         * faces.el (face-spec-set): Only face-spec-reset-face when
3831         ATTRS is non-nil.
3833 2000-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
3835         * help.el (help-insert-xref-button): Fix a typo in doc string.
3837 2000-09-07  Eli Zaretskii  <eliz@is.elta.co.il>
3839         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3840         Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
3841         methods.
3843         * menu-bar.el (read-mail-item-name): New function.
3844         (menu-bar-tools-menu): Use it to compute and display the package
3845         used to read email.
3846         (menu-bar-tools-menu): Fix typo in GUD's help string.
3848 2000-09-07  Dave Love  <fx@gnu.org>
3850         * diff-mode.el (diff-mouse-goto-source): New function.
3852         * vc-sccs.el: Doc fixes.
3853         (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
3855         * vc-rcs.el: Doc fixes.
3856         (vc-rcs-register-switches, vc-rcs-checkin-switches)
3857         (vc-rcs-checkout-switches, vc-rcs-header)
3858         (vc-rcs-master-templates): Add or change :version.
3860         * vc-cvs.el: Doc fixes.
3861         (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
3862         (vc-cvs-stay-local): Add :version.
3864         * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
3866 2000-09-07  Kenichi Handa  <handa@etl.go.jp>
3868         * international/quail.el (quail-help): Fix previous change.
3870 2000-09-07  Gerd Moellmann  <gerd@gnu.org>
3872         * faces.el (color-values): Doc fix.
3874         * faces.el (frame-set-background-mode): Use frame-parameter
3875         instead of frame-parameters.
3877         * frame.el (filtered-frame-list): Reduce consing.
3878         (frames-on-display-list): Call frame-parameter instead of
3879         frame-parameters.
3881 2000-09-07  Kenichi Handa  <handa@etl.go.jp>
3883         * language/devan-util.el (devanagari-to-indian-region): In the
3884         loop, change the following char, not preceding char.
3886 2000-09-07  Gerd Moellmann  <gerd@gnu.org>
3888         * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
3889         instead of frame-parameters.
3891         * faces.el (set-face-attribute): Simplify by calling
3892         internal-set-lisp-face-attribute with FRAME being 0.
3894         * vc.el: Remove `Id' version control keyword.
3896 2000-09-07  Kenichi Handa  <handa@etl.go.jp>
3898         * help.el (help-make-xrefs): Adjusted for the change of
3899         help-xref-mule-regexp.
3900         (help-insert-xref-button): New function.
3902         * international/mule-cmds.el (help-xref-mule-regexp-template):
3903         Include the pattern for character set.
3904         (leim): New group.
3906         * international/quail.el: Don't require face.
3907         (quail): New group.
3908         (quail-other-command): Dummy command to make quail-help work better.
3909         (quail-keyboard-layout-alist): Add Keyboard type "jp106".
3910         (quail-keyboard-layout-substitution): New variable.
3911         (quail-update-keyboard-layout): New function.
3912         (quail-keyboard-layout-type): New customizable variable.
3913         (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
3914         (quail-keyboard-translate): Pay attention to
3915         quail-keyboard-layout-substitution.
3916         (quail-insert-kbd-layout): New function.
3917         (quail-show-keyboard-layout): New function.
3918         (quail-get-translation): If the definition is a vector of length
3919         1, and the element is a string of length 1, return the character
3920         in that string.
3921         (quail-update-current-translations): Fix the case of
3922         relative-index out of range.
3923         (quail-build-decode-map, quail-insert-decode-map): New Functions.
3924         (quail-help): Show keyboard layout by quail-insert-kbd-layout.
3925         Show key sequences for all available characters.
3926         (quail-help-insert-keymap-description): Don't show such verbose
3927         key bindings as quail-self-insert-command.
3929         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3930         Format changed, and each element now have extra documentations.
3931         (tit-process-header): Delete invalid characters from TIT-PROMPT.
3932         Adjusted for the change of quail-cxterm-package-ext-info.
3934 2000-09-06  Gerd Moellmann  <gerd@gnu.org>
3936         * vc-hooks.el (toplevel): Don't require `vc' during compilation;
3937         requiring it leads to a recursive loading of vc.el and vc-hooks.el
3938         during bootstrap.
3940 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3942         * vc.el: (toplevel): Don't require `dired' at run-time.
3943         (vc-dired-resynch-file): Remove autoload cookie.
3945 2000-09-05  Andre Spiegel  <spiegel@gnu.org>
3947         * vc.el: Made several backend functions optional.
3948         (vc-default-responsible-p): New function.
3949         (vc-merge): Use RET for first version to trigger merge-news, not
3950         prefix arg.
3951         (vc-annotate): Handle backends that do not support annotation.
3952         (vc-default-merge-news): Removed.  The existence of a merge-news
3953         implementation is now checked on caller sites.
3955         * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
3956         case.
3958         * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
3959         special case that has been removed from the default in vc-hooks.el.
3961 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3963         * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
3965 2000-09-05  Andre Spiegel  <spiegel@gnu.org>
3967         * vc-hooks.el: Require vc during compilation.
3968         (vc-file-setprop): Use `vc-touched-properties' if bound by the new
3969         macro `with-vc-properties' in vc.el.
3970         (vc-file-getprop): Doc fix.
3971         (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
3973         * vc.el: Require dired-aux during compilation.
3974         (vc-name-assoc-file): Moved to vc-sccs.el.
3975         (with-vc-properties): New macro.
3976         (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
3977         vc-finish-steal): Use it.
3978         (vc-cancel-version): Moved RCS-specific code to vc-rcs.el.  The call
3979         to the backend-specific function is now supposed to do the checkout,
3980         too.
3981         (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
3983         * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
3984         set file properties; that gets done in the generic code now.
3986         * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
3987         Changed parameter list, added code from vc.el that does the
3988         checkout, possibly with a double-take.
3990         * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
3991         (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
3992         the above under the new name.
3993         (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'.  Changed
3994         parameter list, added checkout command.
3995         (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
3996         properties; that gets done in the generic code now.
3998 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
4000         * vc.el: Docstring fixes (courtesy of checkdoc).
4002 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
4004         * vc.el (vc-checkout-writable-buffer-hook)
4005         (vc-checkout-writable-buffer): Remove.
4006         (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
4007         (vc-log-mode): Make it into a clean derived major mode.
4008         (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
4009         vc-log-mode if log-edit is not available.
4010         (vc-dired-mode-map): Don't set-keymap-parent yet.
4011         (vc-dired-mode): Do set-keymap-parent here.
4012         (vc-dired-buffers-for-dir): Nop if dired is not loaded.
4014 2000-09-05  Gerd Moellmann  <gerd@gnu.org>
4016         * faces.el (set-face-attribute, face-spec-reset-face)
4017         (face-spec-set): Avoid consing by removing calls to `apply'.
4019         * frame.el (frame-parameter): Move to C code.
4021 2000-09-05  Dave Love  <fx@gnu.org>
4023         * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
4024         insert-before-markers-and-inherit.  Now checked systematically!
4026 2000-09-05  Alex Schroeder  <alex@gnu.org>
4028         * sql.el (sql-postgres): Use sql-postgres-options.
4029         (sql-postgres-options): New variable.
4031 2000-09-05  Alex Schroeder  <alex@gnu.org>
4033         * sql.el (sql-mode-menu): Work around missing variable mark-active
4034         in XEmacs.
4035         (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
4036         (sql-interactive-mode): Added call to easy-menu-add for XEmacs
4037         compatibility.
4039 2000-09-04  Gerd Moellmann  <gerd@gnu.org>
4041         * vc.el (vc-dired-resynch-file): Add autoload cookie.
4043         * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
4045         * Makefile.in (DONTCOMPILE): Fix typo in file name.
4047 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4049         * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
4050         don't support anything else under SCCS yet.
4052         * vc-hooks.el: Minor doc fixes.
4054 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4056         * vc.el (vc-next-action-on-file): Do not visit the file if it's
4057         not necessary.  If verbose in state `needs-patch', do the same as
4058         under `up-to-date'.  When NOT verbose and `needs-patch', check out
4059         latest version instead of `merge-news'.
4060         (vc-next-action-dired): Don't mess with default-directory here; it
4061         breaks other parts of dired.  It is the job of the
4062         backend-specific functions to adjust it temporarily if they need it.
4063         (vc-next-action): Remove a special CVS case.
4064         (vc-clear-headers): New optional arg FILE.
4065         (vc-checkin, vc-checkout): Set properties vc-state and
4066         vc-checkout-time properly.
4067         (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
4068         (vc-print-log): Use new backend function `show-log-entry'.
4069         (vc-cancel-version): Do the checks in a different order.  Added a
4070         FIXME concerning RCS-only code.
4072         * vc-rcs.el (vc-rcs-show-log-entry): New function.
4073         (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
4075         * vc-cvs.el (vc-cvs-show-log-entry): New function.
4077         * vc-hooks.el (vc-default-mode-line-string): Show state
4078         `needs-patch' as a `-' too.
4080 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4082         * vc.el (vc-responsible-backend): New optional arg REGISTER.
4083         (vc-default-could-register): New function.
4084         (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
4085         (vc-resynch-buffer): Call vc-dired-resynch-file.
4086         (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
4087         vc-resynch-buffer instead of vc-resynch-window.
4088         (vc-next-action-dired): Don't redisplay here, that gets done as a
4089         result of the individual file operations.
4090         (vc-retrieve-snapshot): Corrected prompt order.
4092         * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
4094         * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
4095         as well.
4096         (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p.  Handle
4097         hostname regexps.  Updated all callers.
4098         (vc-cvs-responsible-p): Handle directories as well.
4099         (vc-cvs-could-register): New function.
4100         (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
4101         properties up-to-date.
4103         * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
4104         user whether to create one.
4106 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4108         * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
4109         check out a non-existing file.
4111         * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
4112         workfile does not exist.
4114         * vc.el (vc-version-diff): Use `require' to check for existence of
4115         diff-mode.
4117 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4119         * vc-cvs.el (vc-cvs-registered): Use new function
4120         vc-cvs-parse-entry to do the actual work.
4122 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4124         * vc-hooks.el (vc-find-backend-function): If function doesn't
4125         exist, return nil instead of error.
4126         (vc-call-backend): Doc fix.
4128         * vc.el (vc-do-command): Doc fix.
4129         (vc-finish-logentry): When checking in from vc-dired, choose the
4130         right backend for logentry check.
4131         (vc-dired-mode-map): Inherit from dired-mode-map.
4132         (vc-dired-mode): Local value of dired-move-to-filename-regexp
4133         simplified.
4134         (vc-dired-state-info): Removed, updated caller.
4135         (vc-default-dired-state-info): Use parentheses instead of hyphens.
4136         (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
4137         (vc-dired-listing-switches): New variable.
4138         (vc-directory): Use it, instead of dired-listing-switches.
4140         * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
4141         (vc-cvs-dir-state): New function.
4142         (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
4143         (vc-cvs-parse-entry): New function, also to be used in
4144         vc-cvs-registered.
4146 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4148         * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
4149         *or* single-window-frames.
4151 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4153         * vc.el (vc-update-changelog): Split into generic part and default
4154         implementation.  Doc string adapted.
4155         (vc-default-update-changelog): New function.  Call the `rcs2log'
4156         script in exec-directory, to fix a long-standing nuisance.
4158         * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
4159         simply signals an error.
4161 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4163         * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
4164         control-flow more clear and to avoid running `cvs' twice.
4166         * vc.el (vc-next-action-on-file): Doc fix.
4167         (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
4168         (vc-print-log): Eval `file' before constructing the continuation.
4170 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4172         * vc.el (vc-next-action-on-file): Corrected several messages.
4173         (vc-merge): Add prefix arg `merge-news'; handle it.
4175         * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
4176         is not reached.  It is.
4177         (vc-cvs-merge): Set state to 'edited after merge.
4178         (vc-cvs-merge-news): Set workfile version to nil if not known.
4179         (vc-cvs-latest-on-branch-p): Recommented.  Candidate for removal.
4181         * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
4182         via stdout. (Merge from main line.)
4184 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4186         * vc.el (vc-finish-logentry): Thinko in the "same comment"
4187         detection.
4189 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4191         * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
4192         against kill-all-local-variables.
4193         (vc-log-edit): Don't save vc-parent-buffer any more.
4194         (vc-last-comment-match): Initialize to an empty string.
4195         (vc-post-command-functions): New hook.
4196         (vc-do-command): Run it.
4197         (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
4198         (vc-finish-logentry): Only add the comment to the ring if it's
4199         different from the last comment entered.
4200         (vc-new-comment-index): New function.
4201         (vc-previous-comment): Use it.  Make the minibuffer message
4202         slightly less terse.
4203         (vc-comment-search-reverse): Make it work forward as well.  Don't
4204         set vc-comment-ring-index if no match is found.  Use
4205         vc-new-comment-index.
4206         (vc-comment-search-forward): Use vc-comment-search-reverse.
4207         (vc-dired-mode-map): Don't inherit from dired-mode-map since
4208         define-derived-mode will do it for us.  Bind `v' to a keymap that
4209         inherits from vc-prefix-map so that we can bind `vt' without
4210         binding C-x v t.
4211         (vc-retrieve-snapshot): Parenthesis typo.
4213         * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
4214         to 1.  Make sure to switch to *vc* before looking for an error
4215         message.  Use vc-parse-buffer.
4217 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4219         * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
4220         and NAME.
4221         (vc-retrieve-snapshot): Split into two parts.
4222         (vc-default-retrieve-snapshot): New function.
4224         * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
4225         (vc-cvs-retrieve-snapshot): New function (untested).
4226         (vc-cvs-stay-local): Default to t.
4227         (vc-cvs-remote-p): New function and property.
4228         (vc-cvs-state): Stay local only if the above is t.
4229         (vc-handle-cvs): Removed.
4230         (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
4231         done via vc-handled-backends now.
4232         (vc-cvs-header): Escape Id.
4234 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4236         * vc.el (vc-do-command): Remove unused commands.
4237         (vc-version-diff): Make sure default-directory ends with a slash.
4238         Move the window commands into a vc-exec-after.
4239         (vc-print-log): Move more of the code into the `vc-exec-after'.
4241 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4243         * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
4244         (vc-print-log): Search current revision from beginning of buffer.
4245         (vc-revert-buffer): Clear echo area after the diff is finished.
4246         (vc-prefix-map): Removed definition of "t" for terse display in vc
4247         dired.
4248         (vc-dired-mode-map): Inherit from dired-mode-map.  Added
4249         definition of "vt" for terse display.
4250         (vc-dired-mode): Fix dired-move-to-filename-regexp.
4252 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4254         * vc.el (vc-exec-after): Avoid caddr.
4256 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4258         * vc.el (vc-exec-after): New function.
4259         (vc-do-command): Use it to add a termination message for async
4260         procs.
4261         (vc-checkout): Try to handle a missing-backend situation.
4262         (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
4263         of a directory with a backend using async diffs.
4264         (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
4265         present.
4267         * vc-sccs.el (vc-sccs-state-heuristic): Use
4268         file-ownership-preserved-p.
4270         * vc-rcs.el (vc-rcs-state-heuristic): Use
4271         file-ownership-preserved-p.
4272         (vc-rcs-checkout): Remove the error-handling for missing-rcs.
4274 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4276         * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
4277         vc-do-command.
4279         * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
4280         when there are no changes.
4282 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4284         * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
4286         * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
4288 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4290         * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
4292         * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
4293         the `fset' outside of the defvar so that it works even if
4294         vc-prefix-map was already defined.
4295         (vc-setup-buffer): New function, split out of vc-do-command.
4296         (vc-do-command): Allow BUFFER to be t to mean `just use the
4297         current buffer without any fuss'.
4298         (vc-version-diff): Change the `diff' backend operation to just put
4299         the diff in the current buffer without erasing it.  Always use
4300         *vc-diff* even for directory-diffs.  Use vc-setup-buffer.  Protect
4301         shrink-window-if-larger-than-buffer.
4302         (vc-print-log): Change the `print-log' backend operation to just
4303         put the log in the current buffer without erasing it.  Protect
4304         shrink-window-if-larger-than-buffer.
4305         (vc-update-change-log): Fix setd typo.
4307         * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
4308         (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
4310         * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
4311         (vc-rcs-diff): Insert in the current buffer and remove unused arg
4312         CMP.
4314         * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
4315         with-temp-file.  Use the new BUFFER=t argument to vc-do-command.
4316         (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
4318 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4320         * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
4321         not possible, use vc-BACKEND-workfile-unchanged-p.
4322         (vc-default-workfile-unchanged-p): New function.  Delegates to a
4323         full vc-BACKEND-diff.
4325         * vc-hooks.el (vc-simple-command): Removed.
4327         * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
4328         instead of vc-simple-command.
4329         (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
4330         avoid doing a diff when opening a file.
4331         (vc-rcs-state): Added check for unlocked-changes.
4332         (vc-rcs-header): Escape Id.
4333         (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
4334         (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
4335         version.
4337         * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
4338         (vc-sccs-diff): Remove optional arg CMP.
4339         (vc-sccs-state): Call vc-workfile-unchanged-p, not the
4340         SCCS-specific function.
4342         * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
4343         vc-simple-command.
4345 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4347         * vc.el (vc-editable-p): Renamed from vc-writable-p.
4348         (with-vc-file, vc-merge): Use vc-editable-p.
4349         (vc-do-command): Remove unused var vc-file and fix the
4350         doubly-defined `status' var.  Add a user message when starting an
4351         async command.
4352         (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
4353         (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
4354         Use with-current-buffer.
4355         (vc-buffer-sync): Use unless.
4356         (vc-next-action-on-file): If the file is 'edited by read-only,
4357         make it read-write instead of trying to commit.
4358         (vc-version-diff, vc-update-change-log): Use `setq
4359         default-directory' rather than `cd'.
4360         (vc-log-edit): Don't forget to set default-directory in the
4361         buffer.
4363         * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
4364         (vc-sccs-state-heuristic): Use file-writable-p instead of
4365         comparing userids.
4366         (vc-sccs-checkout): Use `unless'.
4368         * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
4369         of comparing userids.
4370         (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
4371         Simplify the logic by eliminating unreachable code.
4372         (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
4373         just do a recursive call if we need to retry.
4374         (vc-rcs-checkout): Handle the case where rcs is missing by making
4375         the buffer read-write if requested and re-signalling the error.
4377         * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
4379 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4381         * vc-hooks.el (vc-handled-backends): Docstring change.
4382         (vc-ignore-vc-files): Mark obsolete.
4383         (vc-registered): Check vc-ignore-vc-files.
4384         (vc-find-file-hook, vc-file-not-found-hook): Don't check
4385         vc-ignore-vc-files.
4387         * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
4389 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4391         * vc.el (vc-checkout): Don't do anything special for ange-ftp
4392         files since ange-ftp already has vc-registered return nil.
4394         * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
4395         (vc-sccs-workfile-version): Use with-temp-buffer and new
4396         vc-parse-buffer and don't bother setting the property.
4397         (vc-sccs-add-triple): Use with-current-buffer and
4398         find-file-noselect.
4399         (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
4401         * vc-rcs.el (vc-rcs-find-most-recent-rev): New function.  The code
4402         derives from the old vc-parse-buffer but uses the revision number
4403         rather than the date (much easier to compare robustly).
4404         (vc-rcs-fetch-master-state): Use `with-temp-buffer'.  Adapt to the
4405         new vc-parse-buffer (and vc-rcs-find-most-recent-rev).  Find the
4406         locking-user more directly.  Check strict locking and set
4407         checkout-model appropriately.
4408         (vc-rcs-parse-locks): Remove.
4409         (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
4410         new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
4411         (vc-rcs-system-release): Use with-current-buffer and
4412         vc-parse-buffer.
4413         (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
4415         * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
4416         (vc-simple-command): Docstring fix.
4417         (vc-registered): Align the way the file-handler is called with the
4418         way the function itself works.
4419         (vc-file-owner): Remove.
4421         * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer.  Reorder
4422         extraction of fields and call to file-attributes because of a
4423         temporary bug in rcp.el.
4424         (vc-cvs-fetch-status): Use with-current-buffer.
4426 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4428         * vc.el (vc-do-command): Use file-relative-name.
4429         (vc-responsible-backend): Use vc-backend if possible.
4430         (vc-create-snapshot): Improve the `interactive' spec. Add support
4431         for branches and dispatch to backend-specific `create-snapshot'.
4432         (vc-default-create-snapshot): New function, containing the bulk of
4433         the old vc-create-snapshot.
4434         (vc-retrieve-snapshot): Improve the interactive spec.
4436         * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
4437         (vc-backend-hook-functions): Remove.
4438         (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
4439         (vc-backend): Reintroduce the test for `file = nil' now that I
4440         know why it was there (and added a comment to better remember).
4442         * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
4443         code from vc-sccs-hooks.el.
4444         (vc-sccs-release, vc-sccs-system-release): Remove.  Don't require
4445         'vc anymore.
4446         (vc-sccs-responsible-p): Use expand-file-name instead of concat
4447         and file-directory-p instead of file-exists-p.
4448         (vc-sccs-check-headers): Simplify the regexp.
4450         * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
4451         from vc-rcs-hooks.el.  Don't require 'vc anymore.
4452         (vc-rcs-responsible-p): Use expand-file-name instead of concat and
4453         file-directory-p instead of file-exists-p.
4455         * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
4456         from vc-cvs-hooks.el.
4457         (proto vc-cvs-registered): Require 'vc-cvs instead of
4458         'vc-cvs-hooks.  Don't require 'vc anymore.
4459         (vc-cvs-responsible-p): Use expand-file-name instead of concat and
4460         file-directory-p instead of file-exists-p.
4461         (vc-cvs-create-snapshot): New function, replacing
4462         vc-cvs-assign-name.
4463         (vc-cvs-assign-name): Remove.
4465 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4467         * vc-cvs.el (vc-cvs-header): New var.
4469         * vc-rcs.el (vc-rcs-exists): Remove.
4470         (vc-rcs-header): New var.
4472         * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
4473         `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
4474         (vc-sccs-header): New var.
4476         * vc.el (vc-do-command): Get rid of the `last' argument.
4477         (vc-header-alist): Remove, replaced by vc-X-header.
4478         (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
4479         (vc-dired-hook): Use expand-file-name instead of concat.
4480         (vc-directory): Use file-name-as-directory.
4481         (vc-snapshot-precondition, vc-create-snapshot)
4482         (vc-retrieve-snapshot): Allow the command to operate on any
4483         directory.
4485         * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
4486         just removing the 'WORKFILE argument or by removing the 'MASTER
4487         argument and replacing `file' with (vc-name file).
4489 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4491         * vc.el: Update Copyright and add a crude list of backend funs.
4492         (vc-writable-p): New function.
4493         (with-vc-file): Use vc-writable-p.
4494         (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
4495         (vc-register): Avoid vc-name.
4496         (vc-locking-user): Remove.
4497         (vc-steal-lock): Make the `owner' arg non-optional.
4498         (vc-merge): Use vc-writable-p instead of vc-locking-user and
4499         vc-checkout-model.
4500         (vc-default-dired-state-info): Use vc-state instead of
4501         vc-locking-user and return special strings for special states.
4502         (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
4503         and get rid of one of the special CVS cases.
4504         (vc-cancel-version): prettify error message with \\[...].
4505         (vc-rename-master): New function.
4506         (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
4507         use vc-rename-master) instead of vc-BACKEND-record-rename.  Make
4508         the CVS special case generic.
4509         (vc-default-record-rename): Remove.
4510         (vc-file-tree-walk-internal): Only call FUNC for files that are
4511         under control of some VC backend and replace `concat' with
4512         expand-file-name.
4513         (vc-file-tree-walk): Update docstring.
4514         (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
4515         (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
4517         * vc-sccs.el (vc-sccs-rename-file): Renamed from
4518         vc-sccs-record-rename.  Use `find-file-noselect' rather than
4519         `find-file' and call `vc-rename-master' to do the actual move.
4520         (vc-sccs-diff): Remove unused `backend' variable.
4522         * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
4523         to delay loading of vc-sccs until it is really used.
4524         (vc-sccs-master-templates): Preload.
4525         (vc-sccs-state): Update call to vc-sccs-parse-locks.
4526         (vc-sccs-project-dir): Remove (merged into
4527         vc-sccs-search-project-dir).
4528         (vc-sccs-search-project-dir): Rewrite using file name handling ops
4529         rather than `concat', make sure it is preloaded and don't bother
4530         to check that the file actually exists.
4531         (vc-sccs-parse-locks): Remove unused `file' argument, remove
4532         `locks' argument (use buffer's content instead) and eliminate n^2
4533         behavior.
4535         * vc-rcs.el: Update Copyright.
4536         (vc-rcs-rename-file): New function.
4537         (vc-rcs-diff): Remove unused `backend' variable.
4539         * vc-hooks.el: Update Copyright.
4540         (vc-backend): Don't accept a nil argument any more.
4541         (vc-up-to-date-p): Turn into a defsubst.
4542         (vc-possible-master): New function.
4543         (vc-check-master-templates): Use `vc-possible-master' and allow
4544         funs in vc-X-master-templates to return a non-existent file.
4546         * vc-cvs.el: Update Copyright.
4547         (vc-cvs-diff): Remove unused `backend' variable.
4548         (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
4550         * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
4552 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4554         * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
4555         since it can be called from vc-rcs.el.
4556         (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
4558 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4560         * vc.el (vc-version-diff): Expand file name read from the
4561         minibuffer.  Handle the case when a previous version number can't
4562         be guessed.  Give suitable messages when there were no differences
4563         found.
4564         (vc-clear-headers): Call backend-specific implementation, if one
4565         exists.
4566         (vc-cancel-version): Made error checks generic.  When done, clear
4567         headers generically, too.
4569         * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
4570         from vc-clear-headers in vc.el.
4572         * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
4573         correctly.
4574         (vc-rcs-latest-on-branch-p): Made second argument VERSION
4575         optional.  Handle the case when it's not there.
4577 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4579         * vc.el (vc-locking-user): Moved from vc-hooks.el.
4581 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4583         * vc-hooks.el (vc-loadup): Remove.
4584         (vc-find-backend-function): Use `require'.  Also, handle the case
4585         where vc-BACKEND-hooks.el doesn't exist.
4586         (vc-call-backend): Cleanup.
4588 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4590         * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
4591         vc-rcs-grab-templates)
4592         (vc-rcs-registered): Remove.  The default function works as well.
4593         * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
4594         vc-sccs-grab-templates)
4595         (vc-sccs-registered): Remove.  The default function works as well.
4597         * vc.el (vc-version-diff): Left out a vc- in call to
4598         vc-call-backend.
4599         (vc-default-dired-state-info, vc-default-record-rename)
4600         (vc-default-merge-news): Update for the new backend argument.
4602         * vc-hooks.el (vc-find-backend-function): Return a cons cell if
4603         using the default function.
4604         (vc-call-backend): If calling the default function, pass it the
4605         backend as first argument.  Update the docstring accordingly.
4606         (vc-default-state-heuristic, vc-default-mode-line-string): Update
4607         for the new backend argument.
4608         (vc-make-backend-sym): Renamed from vc-make-backend-function.
4609         (vc-find-backend-function): Use the new name.
4610         (vc-default-registered): New function.
4612 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4614         * vc.el (vc-merge): Use vc-find-backend-function.
4616         * vc-hooks.el (vc-backend-functions): Remove.
4617         (vc-loadup): Don't setup 'vc-functions.
4618         (vc-find-backend-function): New function.
4619         (vc-call-backend): Use above fun and populate 'vc-functions
4620         lazily.
4621         (vc-backend-defines): Remove.
4623 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4625         * vc.el (vc-register): Put a FIXME note for a newly found bug.
4626         Call vc-call-backend without the leading vc-.
4627         (vc-responsible-backend, vc-finish-logentry, vc-annotate)
4628         (vc-check-headers): Call vc-call-backend without the leading vc-.
4629         (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
4630         (vc-annotate-display): Replace confusing use of `cond' with `or'.
4631         Call vc-call-backend without the leading vc-.
4633         * vc-cvs.el (tail): Provide vc-cvs.
4634         * vc-sccs.el (tail): Provide vc-sccs.
4635         * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
4637         * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
4638         (vc-make-backend-function, vc-call): Pass names without leading
4639         `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
4640         (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
4641         (vc-call-backend): Always try to load vc-X-hooks.
4642         (vc-registered): Remove vc- in call to vc-call-backend.
4644 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4646         * vc.el (vc-process-filter): New function.
4647         (vc-do-command): Setup `vc-process-filter' for the async process.
4648         (vc-maybe-resolve-conflicts): New function to reduce
4649         code-duplication.  Additionally, it puts the buffer in
4650         `smerge-mode' if applicable.
4651         (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
4652         calling `merge-news'.
4653         (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
4654         (vc-log-edit): New function.  Replacement for `vc-log-mode' by
4655         interfacing to log-edit.el.
4656         (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
4657         log-edit is available.
4658         (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
4660 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4662         * vc.el (vc-register): Remove `vc-buffer-backend' setup.
4663         (vc-log-mode-map): New name for vc-log-entry-mode and merge the
4664         defvar and the initialization.
4665         (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
4667         * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
4668         (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
4670         * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
4672 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4674         * vc.el (vc-file-clear-masterprops): Removed.
4675         (vc-checkin, vc-revert-buffer): Removed calls to the above.
4676         (vc-version-diff): Use buffer-size without argument.
4677         (vc-register): Heed vc-initial-comment.
4679         * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
4680         default branch.
4682         * vc-rcs.el (vc-rcs-register): Parse command output to find master
4683         file name and workfile version.
4684         (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
4686         * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
4687         vc-file-clear-masterprops.
4689         * vc-sccs.el (vc-sccs-checkout): Removed call to
4690         vc-file-clear-masterprops.  If writable, set vc-state to 'edited
4691         rather than user login name.
4694 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4696         * vc.el (vc-workfile-unchanged-p): Remove unused argument
4697         `want-differences-if-changed' and simplify.
4698         (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
4699         (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
4700         output (which is invalid for async vc-diff) to decide whether to
4701         do the revert silently or not.
4703 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4705         * vc-hooks.el (vc-loadup): Load files quietly.
4706         (vc-call-backend): Oops, brain fart.
4708 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4710         * vc-cvs.el (vc-cvs-state): Typo.
4711         (vc-cvs-merge-news): Return the status code rather than the error msg.
4713 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4715         * vc.el (with-vc-file, vc-next-action, vc-version-diff)
4716         (vc-dired-mark-locked): Replaced usage of vc-locking-user with
4717         vc-state or vc-up-to-date-p.
4718         (vc-merge): Use vc-backend-defines to check whether merging is
4719         possible.  Set state to 'edited after successful merge.
4721         * vc-hooks.el (vc-locking-user): If locked by the calling user,
4722         return that name.  Redocumented.
4724 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4726         * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
4727         new `vc-state' semantics.
4728         (vc-finish-steal): Set 'vc-state to 'edited rather than setting
4729         'vc-locking-user to the current user.
4730         (vc-merge): Inline vc-backend-merge.  Comment out code that I
4731         don't understand and hence can't adapt to the new `vc-state' and
4732         `vc-locking-user' semantics.
4733         (vc-backend-merge): Remove.
4735         * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
4736         rather than 'vc-locking-user.
4738         * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
4740         * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
4741         (vc-state): Don't use 'reserved any more.  Just use the same
4742         convention as the one used for vc-<backend>-state where the
4743         locking user (as a string) is returned.
4744         (vc-locking-user): Update, based on the above convention. The
4745         'vc-locking-user property has disappeared.
4746         (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
4748         * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
4749         with a heuristic one.
4750         (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
4751         (vc-cvs-checkin): Do a trivial parse to set the state in case of
4752         error.  That allows us to get to 'needs-merge even in the
4753         stay-local case.  There's still no way to detect 'needs-patch in
4754         such a setup (or to force an update for that matter).
4755         (vc-cvs-logentry-check): Remove, the default works as well.
4757 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4759         * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
4761         * vc.el (vc-do-command): kill-all-local-variables, to reset any
4762         major-mode in which the buffer might have been put earlier.  Use
4763         `remove' and `when'.  Allow `okstatus' to be `async' and use
4764         `start-process' in this case.
4765         (vc-version-diff): Handle the case where the diff looks empty
4766         because of the use of an async process.
4768 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4770         * vc.el (vc-next-action-on-file): Removed optional parameter
4771         `simple'.  Recompute state unconditionally.
4772         (vc-default-toggle-read-only): Removed.
4774         * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
4775         (vc-toggle-read-only): Undid prev change.
4777         * vc-cvs.el (vc-cvs-stay-local): Renamed from
4778         vc-cvs-simple-toggle.  Redocumented.
4779         (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
4780         (vc-cvs-toggle-read-only): Removed.
4782 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4784         * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
4785         (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
4786         (vc-release-greater-or-equal-p): Move to vc-rcs.el.
4787         (vc-file-clear-masterprops): Braindead "fix".  It was a nop and
4788         still is. So maybe it should be removed.
4789         (vc-head-version, vc-find-binary): Remove.
4790         (vc-recompute-state): Move from vc-hooks.el.
4791         (vc-next-action-on-file): Add a `simple' argument to allow
4792         avoiding the `recompute' step (use for vc-cvs-simple-toggle).
4793         (vc-default-toggle-read-only, vc-default-record-rename): New funs.
4794         (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
4795         (vc-dired-mode-map): Properly defvar it.
4796         (vc-print-log): Call log-view-mode if available.
4797         (small-temporary-file-directory): defvar instead of use boundp.
4798         (vc-merge-news): Moved to vc-cvs.el.
4799         (vc-default-merge-news): New function.
4801         * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
4802         (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
4803         (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
4804         unknown `vc-latest-version' function.  It should probably refer to
4805         vc-workfile-version or somesuch, but it's very unclear to me and I
4806         don't have SCCS to test things.
4808         * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
4809         (vc-sccs-state-heuristic): Fix typo.
4810         (vc-sccs-workfile-unchanged-p): Add missing argument.
4812         * vc-rcs.el: Require vc and vc-rcs-hooks.
4813         (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
4814         (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
4815         (vc-release-greater-or-equal-p): Move from vc.
4816         (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
4817         vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
4818         (vc-rcs-checkout): Add a missing `new-version' argument in the
4819         call to vc-rcs-latest-on-branch-p.  Hopefully that was the right one.
4821         * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
4822         (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
4823         (vc-rcs-latest-on-branch-p): Use the `version' argument rather
4824         than the apparently unbound `workfile-version'.
4826         * vc-hooks.el (vc-master-templates): Def the obsolete var.
4827         (vc-file-prop-obarray): Use `make-vector'.
4828         (vc-backend-functions): Add new hookable functions
4829         vc-toggle-read-only, vc-record-rename and vc-merge-news.
4830         (vc-loadup): If neither backend nor default functions exist, use
4831         the backend function rather than nil.
4832         (vc-call-backend): If the function if not bound yet, try to load
4833         the non-hook file to see if it provides it.
4834         (vc-call): New macro plus use it wherever possible.
4835         (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
4836         nor `vc-find-binary' since it's only called from
4837         vc-mistrust-permission which is only used once the backend is known.
4838         (vc-checkout-model): Fix parenthesis.
4839         (vc-recompute-state, vc-prefix-map): Move to vc.el.
4841         * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
4842         (vc-cvs-release, vc-cvs-system-release): Remove.
4843         (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
4844         (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
4845         status symbols.
4846         (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
4847         (vc-cvs-toggle-read-only): First cut at a function to allow a
4848         cvs-status-free vc-toggle-read-only.
4849         (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
4850         (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
4851         vc-cvs-status.  Also set vc-state rather than vc-locking-user.
4852         (vc-cvs-checkout): Modify access rights directly if the user
4853         requested not to use `cvs edit'.  And refresh the mode line.
4855         * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
4856         (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
4858 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4860         * vc-cvs.el (vc-cvs-checkout): Docstring fix.  Added a `(if
4861         workfile' that got lost when the code was extracted from vc.el.
4862         And merged the tail with the rest of the code (not possible in the
4863         old vc.el where the tail was shared among all backends).  And
4864         explicitly set the state to 'edited if `writable' is set.
4866         * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
4867         (vc-cvs-state): Be careful to return the value from
4868         vc-cvs-parse-state.
4869         (vc-cvs-parse-status): Use expand-file-name.  Don't set 'vc-state
4870         property but return it instead.  Also be careful to handle a nil
4871         or "" `rev' when workfile is non-nil (it was handled properly when
4872         workfile was nil).
4874         * vc.el: Removed those pesky unnecessary `(function' quotes.
4875         (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
4876         directly in the defvar.
4877         (vc-do-command): Bind inhibit-read-only so as to properly handle
4878         the case where the destination buffer has been made read-only.
4879         (vc-diff): Delegate to vc-version-diff in all cases.
4880         (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
4881         (vc-annotate-mode-variables): Removed (code moved partly to
4882         defvars and partly to vc-annotate-add-menu).
4883         (vc-annotate-mode): Turned into a derived-mode.
4884         (vc-annotate-add-menu): Moved in code in
4885         vc-annotate-mode-variables.
4886         (vc-update-change-log): Use make-temp-file if available.
4888 2000-09-04  Martin Lorentzson  <martinl@delysid.gnu.org>
4890         * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
4891         `vc-checkout-model' updated to `vc-cvs-update-model'.
4893 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4895         * vc.el (vc-next-action-on-file): Added handling of state
4896         `unlocked-changes'.
4897         (vc-checkout-carefully): Is now practically obsolete, unless the
4898         above is too slow to be enabled unconditionally.
4899         (vc-update-change-log): Fixed typo.
4901         * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
4903         * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
4904         Now handles state `unlocked-changes'.
4905         (vc-sccs-workfile-unchanged-p): New function, to support the above.
4907         * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
4909         * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
4910         (vc-rcs-fetch-master-state): Bug fixes.  Recognize state
4911         `unlocked-changes'.
4912         (vc-rcs-workfile-unchanged-p): Renamed from
4913         `vc-rcs-workfile-unchanged'.  This is not a real backend-specific
4914         function yet, but supposed to become one soon.
4916         * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
4917         `vc-steal-lock'.
4918         (vc-call-backend): Changed error message.
4919         (vc-state): Added description of state `unlocked-changes'.
4921 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4923         * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
4924         always return t in CVS-controlled directories.
4926         * vc.el (vc-responsible-backend): New function.
4927         (vc-register): Largely rewritten.
4928         (vc-admin): Removed (implementation moved into vc-register).
4929         (vc-checkin): Redocumented.
4930         (vc-finish-logentry): If no backend defined yet (because we are in
4931         the process of registering), use the responsible backend.
4933         * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4934         Updated function lists.
4935         (vc-call-backend): Fixed typo.
4937         * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
4938         New functions.
4939         (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
4940         Removed query option.  Redocumented.
4942 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4944         * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
4946         * vc.el: Updated callers of `vc-checkout-required' to use
4947         `vc-checkout-model'.
4949 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4951         * vc-rcs.el (vc-rcs-backend-release-p): function added.  other
4952         stuff updated to reference this function instead of the old
4953         `vc-backend-release-p'.
4955 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4957         * vc-sccs-hooks.el (vc-uses-locking): Renamed to
4958         vc-checkout-model.  Return appropriate values.  Updated callers.
4960 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4962         * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
4963         (vc-backend-revert): Function moved into `vc-revert';
4964         `vc-next-action' must be updated to accomodate this change.
4965         (vc-backend-steal): Function moved into `vc-finish-steal'.
4966         (vc-backend-logentry-check): Function moved into
4967         `vc-finish-logentry'.
4968         (vc-backend-printlog): Function moved into `vc-print-log'.
4969         (vc-backend-uncheck): Function moved into `vc-cancel-version'.
4970         (vc-backend-assign-name): Function moved into
4971         `vc-create-snapshot'.
4973 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4975         * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
4976         Rename to vc-checkout-model.  Return appropriate values.
4977         Update callers.
4979         * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
4980         to vc-checkout-model.
4981         (vc-checkout-required): Rename to vc-checkout-model.
4982         Re-implement and re-comment.
4983         (vc-after-save): Use vc-checkout-model.
4985 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4987         * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
4988         Update to use the vc-BACKEND-diff functions instead.
4989         `vc-diff' is now working.
4991         * vc-rcs.el (vc-rcs-logentry-check): New function.
4993         * vc-cvs.el (vc-cvs-logentry-check): New function.
4995         * vc-sccs.el (vc-sccs-diff): Function changed name from
4996         `vc-backend-diff'.  This makes `vc-diff' work.
4998         * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
4999         of functions possibly implemented in a vc-BACKEND library.
5000         (vc-checkout-required): Fix bug that caused an error to be
5001         signaled during `vc-after-save'.
5003         * vc.el: Fix typo.
5004         This checkin is made with our new VC code base for the very first time.
5005         A simple `(vc-checkin (buffer-file-name))' was used to perform it.
5007         * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
5008         `vc-checkout-required' updated to `vc-cvs-uses-locking'.
5010         * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
5011         updated to `vc-uses-locking'.
5012         (vc-checkout-required): Call to backend function.
5013         `vc-checkout-required' updated to `vc-uses-locking' instead.
5015         * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
5016         `vc-checkout-required' updated to `vc-rcs-uses-locking'.
5018         * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
5019         to match the split into various backends.
5020         (vc-backend-checkin): Remove.  Merge with `vc-checkin'.
5021         (vc-retrieve-snapshot): Bug fix.
5023 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
5025         * vc-sccs.el (vc-sccs-release): Doc fix.
5027 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
5029         * vc.el (vc-next-action-on-file): Bug found and fixed.
5030         (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
5031         (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
5033         * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
5034         (vc-rcs-checkout): Name space cleaned up.  No more revision number
5035         crunching function names that are not prefixed with vc-rcs.
5036         (vc-rcs-checkout-model): Function added.  References to
5037         `vc-checkout-model' replaced.
5039 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
5041         * vc.el (vc-next-action-on-file): Rewritten for the new state model.
5042         (vc-backend-merge-news): Renamed to `vc-merge-news'.  (Specific parts
5043         still need to be split, and implemented for RCS).
5045 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
5047         * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
5049         * vc-sccs.el (vc-sccs-admin): Added the query-only option as
5050         required by the vc.el file.
5052         * vc-rcs.el (vc-rcs-admin): Added the query-only option as
5053         required by the vc.el file.
5054         (vc-rcs-exists): Function added.
5056         * vc-cvs.el (vc-cvs-admin): Added the query-only option as
5057         required by the vc.el file.
5059         * vc.el (vc-admin): Updated to handle selection of appropriate
5060         backend.  Current implementation is crufty and need re-thinking.
5062         * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
5064 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
5066         * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
5067         beginning of annotate buffers correctly.
5069         * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
5070         (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
5071         functionality updated quite a lot to support multiple backends.
5072         Variables `vc-annotate-mode', `vc-annotate-buffers',
5073         `vc-annotate-backend' added.
5075         * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
5076         `vc-annotate-difference' added to supported backend functions.
5078 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
5080         * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
5081         Use with-temp-file instead of /bin/sh.  Merged from mainline
5083 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
5085         * vc-sccs-hooks.el (vc-sccs-registered): Updated.
5087         * vc-rcs-hooks.el (vc-rcs-registered): Updated.
5089         * vc-cvs-hooks.el (vc-cvs-registered): Updated.
5091 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
5093         * vc-hooks.el: vc-state-heuristic added to
5094         vc-backend-hook-functions.
5096         * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
5098         * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
5100         * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
5101         `vc-uses-locking' to `vc-checkout-required'.  Rename the `locked'
5102         state to `reserved'.
5104         * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
5105         `vc-checkout-required'.  Rename the `locked' state to `reserved'.
5107 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
5109         * vc-rcs-hooks.el: Implement new state model.  Hardly anything
5110         untouched.
5112         * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
5114         * vc.el (vc-update-change-log): Use small-temporary-file-directory,
5115         if defined.  (Merged from main line, slightly adapted.)
5117         * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
5118         millenium problem (merged from mainline).
5120 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
5122         * vc-cvs.el: Split the annotate feature into a BACKEND-specific
5123         part and moved the non-BACKEND stuff to vc.el.
5125         * vc.el: Split the annotate feature into a BACKEND specific part
5126         and moved it from the vc-cvs.el file to this one.
5128 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
5130         * vc-hooks.el: Implement new state model.
5131         (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
5132         (vc-locking-user): Simplify.  Now only needed if the file is
5133         locked by somebody else.
5134         (vc-lock-from-permissions): Remove.  Functionality is in
5135         vc-sccs-hooks.el and vc-rcs-hooks.el now.
5136         (vc-mode-line-string): New name for former vc-status.  Adapted.
5137         (vc-mode-line): Adapt to use the above.  Remove optional parameter.
5139         * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
5140         Various simplifications and adaptations all over the place.
5142         * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
5143         Simplify and adapt the rest.
5145         * vc.el (vc-resynch-window): Add TODO comment: check for
5146         interaction with view mode according to recent RCS change.
5147         (vc-backend-merge-news): Merge "CMUP" patch from mainline.
5149 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
5151         * vc.el: Convert the remaining function comments to docstrings.
5153 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
5155         * vc.el (vc-backend-release, vc-release-greater-or-equal)
5156         (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
5157         (vc-minor-part, vc-previous-version): Functions that operate and
5158         compare revision numbers got proper documentation.  Comments added
5159         about their possible removal.
5161 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
5163         * vc.el (vc-latest-on-branch-p): Function removed and replaced in
5164         the vc-backend.el files.
5166         * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
5168         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
5169         (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
5170         (vc-rcs-previous-version): Functions added.
5172         * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
5174         * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
5176 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
5178         * vc-hooks.el (vc-master-templates): Is really obsolete.
5179         Comment out the definition for now.  What is the right procedure
5180         to get rid of it?
5181         (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
5182         rewritten.
5183         (vc-default-registered): Remove.
5184         (vc-check-master-templates): New function; does mostly what the
5185         above did before.
5186         (vc-locking-user): Don't rely on the backend to set the property.
5188         * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
5189         Rewrite documentation.
5190         (vc-rcs-templates-grabbed): New variable.
5191         (vc-rcs-grab-templates): New function.
5192         (vc-rcs-registered): Rewrite to use above mechanism.
5194         * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
5195         Rewrite documentation.
5196         (vc-sccs-templates-grabbed): New variable.
5197         (vc-sccs-grab-templates): New function.
5198         (vc-sccs-registered): Rewrite to use above mechanism.
5199         (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
5200         Don't throw the result, simply return it.
5202         * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
5203         (vc-cvs-find-master): Remove.  Code is now in vc-cvs-registered.
5204         (vc-cvs-registered): Does the check itself now.  Simplify.
5206         * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
5207         from main line.
5209 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
5211         * vc-cvs.el (vc-cvs-diff): New function.
5213         * vc-sccs.el (vc-sccs-diff): New function.
5215         * vc-rcs.el (vc-rcs-diff): New function.
5216         (vc-rcs-checkout): Bug (typo) found and fixed.
5217         (vc-rcs-register-switches): New variable.
5219         * vc.el (vc-backend-diff): Function removed and placed in the
5220         backend files.
5222 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
5224         * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
5226         * vc.el (vc-backend-checkout): Function removed and replaced in
5227         the vc-backend.el files.
5229         * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
5231         * vc.el (vc-backend-admin): Removed and replaced in the
5232         vc-backend.el files.
5234         * vc.el (Martin): Removed all the annotate functionality since it
5235         is CVS backend specific.
5237 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
5239         * spec.txt: Added specification of vc-state.
5241         * vc-sccs-hooks.el (vc-sccs-master-properties):
5242         Remove handling of vc-latest-version and
5243         vc-your-latest-version.  What used to be vc-latest-version, is now
5244         returned as vc-workfile-version.
5245         (vc-sccs-workfile-version): Adapt.
5247 2000-09-04  Dave Love  <fx@gnu.org>
5249         * vc.el: [Merged from mainline.]
5250         (vc-dired-mode): Make the dired-move-to-filename-regexp
5251         regexp match the date, to avoid treating date as file size.
5252         Add YYYY S option to WESTERN/
5254 2000-09-04  Dave Love  <fx@gnu.org>
5256         * vc.el: Require `compile' when compiling.
5257         (vc-logentry-check-hook): New option.
5258         (vc-steal-lock): Use compose-mail.
5259         (vc-dired-mode-map): Defvar when compiling.
5260         (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
5261         vc-sccs.el and renamed.  Callers changed.
5262         (vc-backend-checkout, vc-backend-logentry-check)
5263         (vc-backend-merge-news): Doc fix.
5264         (vc-default-logentry-check): New function.
5265         (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
5266         (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
5267         (vc-backend-merge): Doc fix.  Use backend functions.
5268         (vc-check-headers): Use backend functions.
5270         * vc-cvs.el: Require vc when compiling.
5271         (vc-cvs-register-switches): Doc fix.
5272         (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
5273         (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
5274         (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
5275         New functions (code from vc.el).
5276         (vc-annotate-display-default): Fix interactive spec.
5277         (vc-annotate-time-span): Doc fix.
5279         * vc-rcs.el: Require vc when compiling.
5280         (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
5281         (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
5282         (vc-rcs-checkin): New functions (code from vc.el).
5283         (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
5284         Doc fix.
5285         (vc-rcs-release): Deleted.  (Duplicated vc-rcs-system-release).
5287         * vc-sccs.el: Require vc when compiling.
5288         (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
5289         (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
5290         (vc-sccs-revert)
5291         (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
5292         from vc.el).
5293         (vc-sccs-add-triple, vc-sccs-record-rename)
5294         (vc-sccs-lookup-triple): Moved from vc.el and renamed.
5295         (vc-sccs-admin): Doc fix.
5297 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
5299         * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
5300         (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
5301         (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
5302         from vc.el.
5304         * vc-sccs.el (vc-admin-sccs): Added from vc.el
5306         * vc-cvs.el: Moved the annotate functionality from vc.el.
5307         (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
5309 2000-09-04  Dave Love  <fx@gnu.org>
5311         * vc.el (vc-backend-release): Call vc-system-release.
5313         * vc-sccs.el (vc-sccs-system-release):
5314         Renamed from vc-sccs-backend-release.
5316         * vc-rcs.el (vc-rcs-system-release):
5317         Renamed from vc-rcs-backend-release.
5319         * vc-cvs.el (vc-cvs-system-release):
5320         Renamed from vc-cvs-backend-release.
5322 2000-09-04  Dave Love  <fx@gnu.org>
5324         * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
5325         backend files.
5326         (vc-backend-release): Dispatch to backend functions.
5327         (vc-backend-release-p): Don't mention CVS, RCS.  [The SCCS case
5328         probably needs attention.]
5330         * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
5331         (vc-sccs-backend-release): New function.
5333         * vc-cvs.el (vc-cvs-release): Moved from vc.el.
5334         (vc-cvs-backend-release): New function.
5336         * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
5337         Doc fix.
5338         (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
5339         (vc-default-dired-state-info): New function.
5340         (vc-dired-state-info): Dispatch to backends.
5341         (vc-dired-hook): Doc fix.  Simplify, pending removal of CVS specifics.
5343         * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
5344         from vc.el and renamed.
5346 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
5348         * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
5349         (vc-version-other-window, vc-backend-assign-name): Removed
5350         references to vc-latest-version; sometimes changed into
5351         vc-workfile-version.
5353         * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
5354         vc-rcs-master-workfile-version.
5355         (vc-rcs-workfile-version): Use the above.  Don't call
5356         vc-latest-version (that was unreachable code, anyway).
5357         (vc-rcs-fetch-master-properties): Doc fix.
5359         * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
5360         (vc-backend-hook-functions): Removed them from this list, too.
5361         (vc-fetch-properties): Removed.
5362         (vc-workfile-version): Doc fix.
5364         * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
5365         (vc-rcs-workfile-version, vc-rcs-locking-user)
5366         (vc-rcs-uses-locking): Use it.
5368         * vc-hooks.el (vc-consult-rcs-headers):
5369         Moved into vc-rcs-hooks.el, under the name
5370         vc-rcs-consult-headers.
5372         * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
5373         headers.
5374         (vc-cvs-find-master): Use this name only; correct different
5375         versions of the name.
5377         * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
5378         New functions.
5379         (vc-sccs-locking-user): Use the latter.
5381         * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
5382         New functions.
5384         * vc-hooks.el (vc-master-locks, vc-master-locking-user):
5385         Moved into both
5386         vc-rcs-hooks.el and vc-sccs-hooks.el.  These properties and access
5387         functions are implementation details of those two backends.
5389 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
5391         * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
5392         (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
5394         * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
5395         (vc-sccs-parse-locks): SCCS-specific code moved here from
5396         vc-hooks.
5398         * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
5399         code moved here from vc-hooks.
5401         * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
5402         into back-end specific parts and removed.  Callers not updated
5403         yet; because I guess these callers will disappear into back-end
5404         specific files anyway.
5406 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
5408         * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
5409         (vc-backend-checkout): Changed calls to `vc-checkout-model' to
5410         `vc-uses-locking'.
5412         * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
5413         Store yes/no in the property, and return t/nil.  Updated all
5414         callers.
5416         * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
5417         vc-sccs-uses-locking.  Don't set property.
5418         (vc-sccs-locking-user): Don't set property.
5420         * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
5421         vc-cvs-uses-locking.  Don't set property here; leave that to
5422         vc-hooks.
5423         (vc-cvs-locking-user): Reflect above change.  Streamlined.
5425         * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
5426         vc-rcs-uses-locking.
5427         (vc-rcs-locking-user): Reflect above change.
5429 2000-09-04  Dave Love  <fx@gnu.org>
5431         * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
5433         * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
5435         * vc-hooks.el (vc-checkout-model): Punt to backends.
5437         * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
5439         * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
5441         * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
5442         New functions.
5444         * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
5445         New functions.
5447         * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
5448         (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
5450         * vc-hooks.el (vc-default-locking-user): New function.
5451         (vc-locking-user, vc-workfile-version): Punt to backends.
5453 2000-09-04  Dave Love  <fx@gnu.org>
5455         * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
5456         (vc-master-workfile-version): Moved from vc-hooks.
5458         * vc-rcs-hooks.el: Fix duplicate code in last change.
5460         * vc-rcs-hooks.el: Require vc-hooks when compiling.
5461         (vc-rcs-master-templates): Improve :type.
5462         (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
5463         vc-master-workfile-version): Moved from vc-hooks.
5465         * vc-sccs-hooks.el: Require vc-hooks when compiling.
5466         (vc-sccs-master-templates): Improve :type.
5467         (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
5469         * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
5471         * vc-cvs-hooks.el: Require vc-hooks when compiling.
5472         (vc-cvs-master-templates): Improve :type.  Use
5473         vc-cvs-find-cvs-master.
5474         (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
5475         from vc-hooks.
5476         (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
5478         * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
5479         Moved to vc-cvs-hooks.
5481         * vc-hooks.el: Add doc strings in various places.  Simplify the
5482         minor mode setup.
5483         (vc-handled-backends): New user variable.
5484         (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
5485         simplification.
5487 2000-09-04  Dave Love  <fx@gnu.org>
5489         * vc.el: Some doc fixes for autoloaded and interactive functions.
5490         Fix compilation warnings from ediff stuff.
5491         (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
5493         * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
5495         * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
5497         * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
5499 2000-09-04  Dave Love  <fx@gnu.org>
5501         * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
5502         New variable.
5503         (vc-make-backend-function, vc-loadup, vc-call-backend)
5504         (vc-backend-defines): New functions.
5506         * vc-hooks.el: Various doc fixes.
5507         (vc-default-back-end, vc-follow-symlinks): Custom fix.
5508         (vc-match-substring): Function removed.  Callers changed to use
5509         match-string.
5510         (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
5511         Simplify.
5513 2000-09-04  Dave Love  <fx@gnu.org>
5515         * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
5516         type.
5517         (vc-sccs-project-dir, vc-search-sccs-project-dir)
5518         (vc-sccs-registered): Doc fix.
5520         * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
5521         (vc-cvs-registered): Doc fix.
5523         * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
5524         (vc-rcs-registered): Doc fix.
5526 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
5528         * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
5530         * vc-hooks.el: vc-registered has been renamed
5531         vc-default-registered.  Some functions have been moved to the
5532         backend specific files.  they all support the
5533         vc-BACKEND-registered functions.
5535 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
5537         * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
5539         * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
5541 2000-09-04  Dave Love  <fx@gnu.org>
5543         * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
5544         menu-bar-update-hook.
5546         * help.el (help-manyarg-func-alist): Add
5547         find-operation-coding-system.
5549         * wid-edit.el (widget-sexp-validate): Fix garbled code.
5551         * custom.el (custom-set-variables): Print message about errors in
5552         setting.
5554 2000-09-03  Andrew Innes  <andrewi@gnu.org>
5556         * makefile.w32-in: Change to DOS line endings.
5558 2000-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
5560         * mouse.el (mouse-popup-menubar): Supply the prompt string for
5561         minor-mode keymaps, if they don't have one.
5563 2000-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
5565         * eshell/esh-module.el (eval-when-compile): Don't lose if
5566         esh-module.el's file name is truncated to DOS 8+3 limits.
5568 2000-09-01  John Wiegley  <johnw@gnu.org>
5570         * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
5571         predicate, which caused entries in the completion list to be
5572         doubled.
5574 2000-08-30  John Wiegley  <johnw@gnu.org>
5576         * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
5577         sending to subprocesses.  Also, hook pre-command-hook if
5578         `eshell-send-direct-to-subprocesses' is non-nil.
5579         (eshell-send-direct-to-subprocesses): New config variable.  If t,
5580         subprocess input is send immediately.
5581         (eshell-toggle-direct-send): New function.
5582         (eshell-self-insert-command): New function.
5583         (eshell-intercept-commands): New function.
5584         (eshell-send-input): If direct subprocess sending is enabled,
5585         don't echo any input to the Eshell buffer.  Let the subprocess
5586         handle that.  This requires "stty echo" in bash, for example.
5588 2000-08-28  John Wiegley  <johnw@gnu.org>
5590         * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
5591         completion function for Eshell's implementation of `unset'.
5593 2000-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
5595         * info.el (Info-directory-list): Doc fix.
5597 2000-08-31  Peter Breton  <pbreton@ne.mediaone.net>
5599         * filecache.el (file-cache-add-directory-using-find): Don't quote
5600         wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
5602 2000-08-31  Kenichi Handa  <handa@etl.go.jp>
5604         * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
5605         coding systems.
5607 2000-08-30  Andrew Innes  <andrewi@gnu.org>
5609         * timer.el (run-with-idle-timer): Undo last change, so that timer
5610         is not activated immediately if Emacs is already idle.  Some
5611         existing code relies on this behaviour.
5613 2000-08-30  Miles Bader  <miles@gnu.org>
5615         * frame.el (set-frame-font): Do completion of font-name for
5616         interactive use.
5618 2000-08-30  Kenichi Handa  <handa@etl.go.jp>
5620         * international/quail.el (quail-start-translation): Bind locally
5621         last-command-event, last-command, and this-command.
5622         (quail-start-conversion): Likewise.
5623         (quail-self-insert-command): Fix docstring.
5625 2000-08-29  Gerd Moellmann  <gerd@gnu.org>
5627         * progmodes/executable.el
5628         (executable-make-buffer-file-executable-if-script-p): Check that
5629         buffer contains at least 2 characters.
5631 2000-08-29  Eli Zaretskii  <eliz@is.elta.co.il>
5633         * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
5635 2000-08-29  Dave Love  <fx@gnu.org>
5637         * diff-mode.el (diff-mode) <defgroup>: Add :version.
5638         (diff-mode-shared-map): Bind mouse-2.
5639         (diff-imenu-generic-expression): New variable.
5640         (diff-mode): Use it.
5642         * mouse.el (mouse-major-mode-menu): Use local-key-binding.
5643         (mouse-popup-menubar): Add minor mode menus.
5644         (popup-menu): Check for lookup-key returning number.
5646 2000-08-29  Miles Bader  <miles@gnu.org>
5648         * comint.el (comint-send-input): Create overlays using the proper
5649         front/read-advance arguments.
5651 2000-08-29  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
5653         * ps-print.el: Even/odd pages printing.  Doc fix.
5654         (ps-print-version): New version number (6.0).
5655         (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
5656         (ps-background, ps-begin-file, ps-begin-job): Code fix.
5657         (ps-print-duplex-feature): Variable eliminated.
5658         (ps-even-or-odd-pages): New variable.
5660         * progmodes/ebnf2ps.el: Doc fix.
5661         (ebnf-version): New version (3.3).
5662         (ebnf-user-arrow): Change variable customization to sexp.
5663         (ebnf-user-arrow): Function eliminated.
5664         (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
5666 2000-08-29  Kenichi Handa  <handa@etl.go.jp>
5668         * help.el (help-xref-mule-regexp): New variable.
5669         (help-make-xrefs): Handle help-xref-mule-regexp.
5671         * international/mule-cmds.el (help-xref-mule-regexp-template): New
5672         variable.
5673         (describe-input-method): Temporarily activate the specfied input
5674         method to display the information.
5675         (describe-language-environment): Hyperlinks to mule related items.
5677         * international/mule-diag.el (charset-multibyte-form-string): New
5678         function.
5679         (list-character-sets-1): Use charset-multibyte-form-string.
5680         (describe-character-set): New function.
5681         (describe-coding-system): Hyperlinks to safe character sets.
5683         * international/quail.el (quail-help): New arg PACKAGE.
5684         Hyperlinks to mule related items.
5685         (quail-help-insert-keymap-description): Use
5686         substitute-command-keys instead of describe-bindings.
5687         (quail-translation-help): Hyperlinks to mule related items.
5689 2000-08-28  John Wiegley  <johnw@gnu.org>
5691         * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
5692         have a defsubst call itself.  Made `eshell-flatten-list' back into
5693         a function again.
5695         * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
5696         catch, in case re-centering point at bottom messes up the display.
5697         This happens frequently in Emacs 21, due I believe to variable
5698         line heights.
5700         * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
5701         to call `find-tag-interactive'.
5703         * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
5704         the list of remember directories.
5706 2000-08-28  John Wiegley  <johnw@gnu.org>
5708         * align.el: Test align-region-separate to see if it's a symbol.
5710 2000-08-28  John Wiegley  <johnw@gnu.org>
5712         * eshell/esh-util.el (eshell-flatten-list): Made this function
5713         into a defsubst form.  It gets used very frequently, although
5714         calls don't occur all that often.
5716         * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
5717         examining it.
5719         * eshell/esh-cmd.el (eshell-rewrite-while-command):
5720         (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
5721         `eshell-protect'.
5722         (eshell-copy-handles): Created a new macro for duplicating the
5723         current set of open handles.  This is needed by the looping
5724         functions.
5725         (eshell-do-eval): Fixed while and if, so that the eshell-test-body
5726         is not incorrectly stomped on.
5728         * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
5729         declaration for pcomplete-use-paring.
5730         (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
5731         value of eshell-cmpl-use-paring.
5732         * pcomplete.el (pcomplete-use-paring): New config variable, to
5733         indicate whether paring should be used.
5734         (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
5735         completion alternatives that have already been used.
5737         * eshell/esh-mode.el (eshell-repeat-argument): Added function,
5738         bound to C-c C-y, which will repeat the previous N arguments
5739         (based on prefix argument).
5740         (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
5742         * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
5743         if there is no *Help* buffer.  This is for XEmacs, which renames
5744         its help buffers uniquely.  TODO: Find out what the current buffer
5745         name to delete is.
5747         * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
5748         first entry that correlates to a passwd/group number.  Later
5749         entries (used for group/user name aliasing to multiple IDs) are
5750         ignored.
5752         * eshell/em-xtra.el (eshell/expr):
5753         * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
5754         (eshell-grep, eshell/diff, eshell/locate):
5755         * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
5756         argument list, before passing it to the system command.
5758         * eshell/esh-mode.el (eshell-find-tag): Added a special version of
5759         `find-tag' for use at final position in Eshell buffers (which
5760         otherwise triggers an error on Emacs 21).
5761         (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
5762         buffer, if it is currently bound to `find-tag'.
5764         * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
5765         in the list of matched Makefile names.
5766         (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
5767         directory, prefer its contents to Makefile.
5769         * eshell/em-dirs.el (eshell/cd): cd commands that look up
5770         directory parts (like "cd old new", or "cd =regexp"), are now case
5771         sensitive on non-Windows/DOS platforms.
5773         * eshell/esh-mode.el (eshell-parse-command-input): When a user
5774         types RET after an open delimiter (like "), display a message
5775         indicating that Eshell is waiting for the closing delimiter.
5777         * eshell/esh-var.el (eshell/unset): Added a command for unsetting
5778         environment variables.
5780         * eshell/em-unix.el (eshell/diff): Added logic to fail more
5781         gracefully if the user enters incorrect arguments.
5783         * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
5784         Eshell buffers.
5786         * eshell/esh-var.el (eshell-interpolate-variable):
5787         * eshell/esh-mode.el (eshell-move-argument):
5788         * eshell/em-unix.el (eshell-du-sum-directory):
5789         * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
5790         * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
5791         (not (= ...)).
5793         * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
5794         to ensure the `preserve' flag gets propagated when doing recursive
5795         directory copies.
5797 2000-08-28  Stefan Monnier  <monnier@cs.yale.edu>
5799         * eshell/em-hist.el (eshell-put-history, eshell-get-history):
5800         Don't convert \n into \0177 in memory.
5801         (eshell-read-history, eshell-write-history): Convert \n to \0177,
5802         and back again, when reading and writing.
5804 2000-08-28  Eli Zaretskii  <eliz@is.elta.co.il>
5806         * eshell/esh-util.el (eshell-processp): Added to relieve constant
5807         testing of `fboundp' on `processp'.
5809         * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
5810         (eshell/jobs): Don't call process-list if it is not bound.
5811         (eshell-gather-process-output): Support systems where async
5812         subprocesses aren't supported.
5813         (eshell-scratch-buffer, eshell-last-sync-output-start): New
5814         variables.
5816         * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
5817         eshell-do-eval returns t.
5818         (eshell-do-pipelines-synchronously): New defmacro.
5819         (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
5820         when async subprocesses aren't supported.
5821         (eshell-do-eval): Use eshell-processp.  Don't throw eshell-defer
5822         if async subprocesses aren't supported.
5823         (eshell-resume-command): Don't assume STATUS is a string.
5825         * eshell/em-unix.el (eshell/rm): Use eshell-processp.
5827         * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
5828         (eshell-close-target, eshell-get-target): Use eshell-processp.
5829         (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
5830         fix.
5831         (eshell-get-target, eshell-create-handles): Doc fix.
5833 2000-08-28  Miles Bader  <miles@lsi.nec.co.jp>
5835         * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
5836         criterion to include commands that output something, as long as it
5837         leaves both the command and the end-of-buffer visible when the
5838         command has exited.
5839         (eshell-review-quick-commands): Adjust the help doc string
5840         accordingly.
5842 2000-08-28  Peter Breton  <pbreton@ne.mediaone.net>
5844         * locate.el (locate): Cleaned up locate command's interactive prompting
5845         Thanks to Fran\e,Ag\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
5847         * filecache.el (file-cache-case-fold-search): New variable
5848         (file-cache-assoc-function): New variable
5849         (file-cache-minibuffer-complete): Use file-cache-assoc-function.
5850         Use file-cache-case-fold-search variable
5851         (file-cache-add-file): Use file-cache-assoc-function
5852         (file-cache-delete-file): likewise
5853         (file-cache-directory-name): likewise
5854         (file-cache-debug-read-from-minibuffer): likewise
5856 2000-08-28  Gerd Moellmann  <gerd@gnu.org>
5858         * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
5859         (abbrev-table-name): New function.
5860         (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
5861         If non-nil list local abbrev, only.
5863 2000-08-28  Stanislav Shalunov  <shalunov@internet2.edu>
5865         * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
5866         from Gnus support code, and use special article copy buffer
5867         `(gnus-original-article-buffer)' instead.  This allows to get rid
5868         of article-hide-headers usage (which breaks in the latest Gnus
5869         version).  Thanks to Detlev Zundel.
5871 2000-08-28  Kenichi Handa  <handa@etl.go.jp>
5873         * international/quail.el (quail-use-package): Hide "... loaded"
5874         message.
5875         (quail-start-translation, quail-start-conversion): Likewise.
5877         * international/kkc.el (kkc-region): Hide "... loaded" message.
5879 2000-08-27  Dave Love  <fx@gnu.org>
5881         * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
5883 2000-08-27  Miles Bader  <miles@gnu.org>
5885         * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
5887 2000-08-27  Kenichi Handa  <handa@etl.go.jp>
5889         * international/ja-dic-cnv.el (skkdic-convert): Insert (require
5890         'ja-dic-cnv), not (require 'skkdic-cnv).
5892 2000-08-26  Miles Bader  <miles@gnu.org>
5894         * faces.el (face-x-resources): Add entry for :inherit.
5895         * cus-face.el (custom-face-attributes): Add support for :inherit
5896         attribute.  Add support for relative face heights.
5897         (custom-face-attributes-get): Treat `nil' as being a default value
5898         for :inherit (as well as `unspecified').
5900         * faces.el (set-face-attribute): Update doc string.
5901         (face-attribute-name-alist): Add :inherit.
5902         (face-valid-attribute-values): Handle :inherit.
5903         (face-read-string): Rephrase prompt to be less confusing.
5904         Assume that DEFAULT is a string, since we must return a string.
5905         (face-read-integer): Use `format' to turn DEFAULT into an
5906         acceptable default for face-read-string.  Match NEW-VALUE against
5907         the string "unspecified", not the symbol `unspecified', since
5908         that's what face-read-string returns.
5909         (read-face-attribute): Lookup a name for old-value in valid, and
5910         use it as a default if we find one.  Treat all values from
5911         face-read-string as strings.  If the default is used, don't do any
5912         more processing on the value, just use the old value directly.
5913         (read-face-and-attribute, modify-face): Tweak prompt.
5914         (read-face-name): Don't assume prompt ends with a space.
5916         * faces.el (describe-face): Add support for :inherit attribute.
5918 2000-08-25  Kenichi Handa  <handa@etl.go.jp>
5920         * terminal.el (terminal-emulator): Fix args to `concat'.  Now
5921         concat doesn't accept interger.
5923         * international/kkc.el: Remove SKK from Keywords.  Require
5924         ja-dic-utl instead of skkdic-utl.
5926         * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
5927         Provide ja-dic-cnv instead of skkdic-cnv.
5928         (ja-dic-filename): Renamed from skkdic-filename.  Referers changed
5929         (iso-2022-7bit-short): Add safe-charsets property.
5930         (skkdic-convert-postfix): Search Japanese chou-on character in
5931         addition to Hiragana character.
5932         (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
5933         (skkdic-convert): Change file names from skkdic.el to ja-dic.el
5934         (batch-skkdic-convert): Likewise.
5936         * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
5937         Provide ja-dic-utl instead of skkdic-utl.
5938         (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
5940 2000-08-24  Dave Love  <fx@gnu.org>
5942         * disp-table.el (standard-display-default): Make the test of `l'
5943         useful.
5945         * language/european.el ("Latin-8", "Latin-9"): Add input methods,
5946         mod sample text.
5948         * international/iso-ascii.el: Make pilcrow convenient string
5949         consistent with section.
5950         (iso-ascii-display): Set up multibyte characters as well as
5951         unibyte.
5953 2000-08-24  Kenichi Handa  <handa@etl.go.jp>
5955         * international/mule-cmds.el (reset-language-environment): Set
5956         default-process-coding-system to '(undecided . iso-latin-1), which
5957         makes process I/O almost consistent with file I/O.   Call this
5958         function when mule-cmds.el[c] is loaded.
5960 2000-08-22  Andrew Innes  <andrewi@gnu.org>
5962         * makefile.w32-in: New file.
5964 2000-08-22  Miles Bader  <miles@lsi.nec.co.jp>
5966         * comint.el (comint-output-filter): Compare end of
5967         comint-last-output-overlay with the start of the newly inserted
5968         text, not the end, when deciding whether to extend it.
5969         Set saved-point's insertion type to advance after insertion.
5971         * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
5972         since this is now done independently of font-lock mode.
5974 2000-08-21  Gerd Moellmann  <gerd@gnu.org>
5976         * server.el (server-kill-new-buffers): New user option.
5977         (server-existing-buffer): New buffer-local variable.
5978         (server-visit-files): When using an existing buffer, set
5979         server-existing-buffer to t.
5980         (server-buffer-done): If server-kill-new-buffers is t, kill the
5981         buffer, unless it was already present before visiting it with
5982         Emacs server.
5984 2000-08-21  Eli Zaretskii  <eliz@is.elta.co.il>
5986         * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
5987         even if the display doesn't support colors: some displays will
5988         support bold/underline faces.
5990 2000-08-21  Gerd Moellmann  <gerd@gnu.org>
5992         * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
5994         * startup.el (command-line): If user's init file had an error,
5995         add explanatory text to *Messages*.
5997 2000-08-21  Kenichi Handa  <handa@etl.go.jp>
5999         * man.el (Man-getpage-in-background): Decode the process output by
6000         the system locale coding system.
6002 2000-08-20  Dave Love  <fx@gnu.org>
6004         * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
6005         Don't test x-popup-menu.
6006         (function) <complete-function>: Complete only fbound symbols.
6007         <validate, value>: New.
6008         (variable) <complete-function>: Complete only bound symbols.
6009         (coding-system): Add :base-only, :complete-function, :validate,
6010         :value, :prompt-match.
6011         (widget-coding-system-prompt-value): Use read-coding-system and
6012         act on :base-only.
6013         (editable-field): Add :help-echo.
6014         (widget-push-button-gui, widget-push-button-cache)
6015         (widget-gui-action, widget-editable-list-gui): COmment out, along
6016         with uses.
6017         (widget-at): Make arg optional.
6018         (widget-echo-help): Adjust for current help-echo calling sequence.
6019         (widget-specify-field, widget-specify-button)
6020         (widget-specify-insert, widget-get-sibling, widget-image-find)
6021         (widget-convert, widget-insert, widget-leave-text)
6022         (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
6023         (widget-setup, widget-field-find, widget-before-change)
6024         (widget-after-change, widget-default-complete)
6025         (widget-default-create, widget-default-delete)
6026         (widget-push-button-value-create, editable-field)
6027         (widget-field-prompt-value, widget-field-validate)
6028         (widget-choice-value-create, widget-choice-action)
6029         (widget-choice-validate, widget-checklist-add-item)
6030         (widget-radio-add-item, widget-radio-chosen)
6031         (widget-radio-value-inline, widget-editable-list-value-create)
6032         (widget-editable-list-entry-create)
6033         (widget-documentation-link-add)
6034         (widget-documentation-string-value-create)
6035         (widget-regexp-validate, widget-file-complete)
6036         (widget-sexp-validate, widget-plist-convert-widget)
6037         (widget-plist-convert-widget, widget-alist-convert-widget)
6038         (widget-alist-convert-widget, widget-color-complete): Simplify,
6039         particularly to avoid bindings which aren't optimized out.
6041         * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
6042         Doc fix.
6043         (down-list, backward-up-list, up-list, kill-sexp)
6044         (backward-kill-sexp, mark-sexp): Make arg optional.
6045         (lisp-complete-symbol): Add optional arg PREDICATE.
6047         * cus-start.el: Add display-buffer-reuse-frames,
6048         file-coding-system-alist.
6050 2000-08-20  Gerd Moellmann  <gerd@gnu.org>
6052         * startup.el (command-line): Clear realized faces after
6053         modifying TTY color mappings.
6055 2000-08-20  Miles Bader  <miles@gnu.org>
6057         * faces.el (face-attr-match-p): Don't return true if ATTRS are
6058         merely a subset of FACE's attributes.
6060 2000-08-19  Miles Bader  <miles@gnu.org>
6062         * comint.el (comint-output-filter): Save the point with a marker,
6063         not just a buffer position.
6065         * international/mule.el (set-buffer-process-coding-system): Make
6066         interactive prompt less confusing.
6068 2000-08-19  Gerd Moellmann  <gerd@gnu.org>
6070         * hilit-chg.el: General cleanup of doc strings, comments and
6071         code formatting.
6073 2000-08-19  Miles Bader  <miles@gnu.org>
6075         * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
6076         Compiler macro removed; beginning-of-line is no longer always
6077         equivalent to forward-line, in the presence of fields.
6079         * comint.el (comint-output-filter): Remove ad-hoc saving of
6080         restriction, and just use save-restriction, now that it works
6081         correctly.  Don't adjust comint-last-input-start to account for
6082         our insertion; it shouldn't have moved because we don't use
6083         insert-before-markers anymore.  Comment out call to
6084         `force-mode-line-update'; why is it here?
6086         * gud.el (gud-basic-call): Temporarily widen gud comint buffer
6087         while checking for prompt to delete.  Use `forward-line 0'
6088         instead of beginning-of-line.
6089         (gud-filter): Temporarily widen gud comint buffer while
6090         examining output.
6092 2000-08-18  Stefan Monnier  <monnier@cs.yale.edu>
6094         * progmodes/sh-script.el: Big bag of typos.
6096         * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
6097         check since ispell-process is not bound when ispell is not yet loaded.
6099 2000-08-18  Dave Love  <fx@gnu.org>
6101         * image.el (find-image): Copy `spec' before using plist-put.
6103 2000-08-18  Gerd Moellmann  <gerd@gnu.org>
6105         * textmodes/ispell.el (ispell-dictionary-alist-6): Add
6106         `portugues'.
6108         * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
6109         backward-kill-sexp, analogous to kill-sexp.
6111         * progmodes/icon.el (icon-indent-line)
6112         (icon-is-continuation-line): Handle comments specially.
6114 2000-08-17  Ken Stevens <k.stevens@ieee.org>
6116         * ispell.el: Set to standard author/maintainer/keyword fields.
6117         Fine tuning to menu map appearance and operation, and added help.
6118         Remove `start' and `end' error messages when compiling.
6119         (ispell-choices-win-default-height): Fixed comment string.
6120         (ispell-dictionary-alist-1): Fixed regexp in castellano and
6121         castellano8 dictionaries.
6122         (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
6123         (ispell-dictionary-alist-4): Fixed regexp in francais-tex
6124         dictionary, added italiano dictionary.
6125         (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
6126         word character
6127         (ispell-tex-skip-alists): Added psfig support.
6128         (ispell-skip-html): Renamed from ispell-skip-sgml.
6129         (ispell-begin-skip-region-regexp, ispell-skip-region)
6130         (ispell-minor-check): Improved html skipping support to skip across
6131         code, and recognize `&' commands without propper `;' syntax;
6132         (ispell-process-line): Fix alignment error when manually
6133         correcting spelling.
6134         (ispell): Fix comment string.
6135         (ispell-add-per-file-word-list): Always put word list on new line.
6137 2000-08-17  Gerd Moellmann  <gerd@gnu.org>
6139         * format.el (format-encode-run-method): Fix error message to say
6140         `encode' instead of `decode'.  Use save-window-excursion around
6141         shell-command-on-region as in format-decode-run-method because
6142         shell-command-on-region can display a buffer with error output.
6143         (format-decode): Don't record undo information for the decoding.
6144         (format-annotate-function): Add parameter FORMAT-COUNT.  Make
6145         that number part of the temporary buffer name so that more than
6146         one decoding using a temporary buffer can happen safely.
6148         * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
6149         of `A-z' in the regexp.
6151         * hilit-chg.el: Fix typos in commentary.
6153         * help.el (view-emacs-news): Rewritten for new naming scheme
6154         for old NEWS files.
6156         * startup.el (command-line): Pop to *Messages* in case an error
6157         is signaled while loading user-init-file.
6159 2000-08-17  Andreas Schwab  <schwab@suse.de>
6161         * files.el (insert-directory): Don't lose original file name,
6162         undoing an undocumented change.
6164 2000-08-17  Alex Schroeder  <alex@gnu.org>
6166         * sql.el (sql-magic-go): Use comint-bol.
6167         (sql-copy-column): Use comint-line-beginning-position.
6168         (comint-line-beginning-position): Define a replacement for
6169         comint-line-beginning-position if it is not fboundp.
6171 2000-08-17  Alex Schroeder  <alex@gnu.org>
6173         * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
6174         it didn't have any effect anyway.
6176 2000-08-17  Alex Schroeder  <alex@gnu.org>
6178         * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
6179         --pset and pager=off instead of sending \\o|cat at the beginning
6180         of the session.
6182 2000-08-17  Miles Bader  <miles@gnu.org>
6184         * progmodes/octave-inf.el: Add compatibility definition of
6185         comint-line-beginning-position.
6187 2000-08-17  Kenichi Handa  <handa@etl.go.jp>
6189         * startup.el (normal-top-level): Look in each dir in load-path for
6190         a leim-list.el file too.  This assures of loading leim-list.el
6191         that is created at Emacs installation time even if a user have his
6192         own leim-list.el.
6194 2000-08-17  Miles Bader  <miles@gnu.org>
6196         * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
6197         foreground color to black if the background is dark.
6199 2000-08-16  Stefan Monnier  <monnier@cs.yale.edu>
6201         * loadhist.el (unload-feature): Typo.
6203         * finder.el (finder-compile-keywords):
6204         * cus-dep.el (custom-make-dependencies): Add local-variable settings
6205         to the generated file.
6207         * mail/mh-e.el (mh-make-local-vars):
6208         Replace make-variable-buffer-local with make-local-variable.
6210         * play/landmark.el:
6211         * options.el (Edit-options-{set,toggle,t,nil}):
6212         * mail/mailabbrev.el (mail-abbrevs-mode):
6213         * textmodes/tex-mode.el (tex-expand-files):
6214         * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
6216         * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
6218         * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
6219         (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
6220         Allow going past the last element.
6221         * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
6222         (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
6223         (cvs-mouse-toggle-mark): Don't move point.
6224         (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
6226         * progmodes/compile.el (grep): Provide a default set of files.
6227         (next-error): Docstring fix.
6228         (compilation-find-file): Avoid find-file (fails in a dedicated window).
6230         * emacs-lisp/easy-mmode.el (define-minor-mode):
6231         Use `symbol-value' to keep the byte-compiler quiet.
6233         * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
6234         (diff-find-source-location): New fun, extracted from diff-goto-source.
6235         (diff-goto-source): Use it.
6236         (diff-next-complex-hunk, diff-filter-lines): New function.
6237         (diff-apply-hunk): New command.
6239         * smerge-mode.el (smerge-mode-menu): Doc fix.
6241         * msb.el (msb-mode): Define it in terms of define-minor-mode.
6243 2000-08-16  Dave Love  <fx@gnu.org>
6245         * windmove.el (windmove) <defgroup>: Add :version.
6247         * net/goto-addr.el: Don't require browse-url.  Require thingatpt.
6248         (goto-address-fontify-p, goto-address-highlight-p)
6249         (goto-address-url-face, goto-address-url-mouse-face)
6250         (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
6251         (goto-address-url-regexp): Use thing-at-point-url-regexp.
6252         (goto-address-fontify, goto-address-at-mouse): Simplify,
6253         (goto-address-at-point): browse-url-url-at-point,
6254         goto-address-find-address-at-point can return nil.
6255         (goto-address-find-address-at-point): Return nil on failure.
6257         * align.el (align) <defgroup>: Add :version.
6259         * calculator.el (calculator): Add :version.
6260         (calculator): Use two lines for calculator window if `modeline'
6261         face is boxed.
6263         * play/5x5.el: Doc fixes.
6264         (5x5) <defgroup>: Add :version.
6266         * play/fortune.el (fortune) <defgroup>: Add :version.
6267         (fortune-append): Fix error message.
6268         (fortune-from-region): Doc fix.
6270         * play/pong.el (pong): Doc fix.
6272         * play/morse.el: Keywords, commentary, autoloads.
6274 2000-08-16  Eli Zaretskii  <eliz@is.elta.co.il>
6276         * desktop.el (desktop-save): Don't look at symbol-value of a
6277         member of minor-mode-alist, unless it is boundp.
6279 2000-08-16  Sam Steingold  <sds@gnu.org>
6281         * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
6282         `while'; use `with-current-buffer' instead of `save-excursion'.
6283         Removed unnecessary kludges now that "*Buffer List*" is excluded.
6285 2000-08-16  Kenichi Handa  <handa@etl.go.jp>
6287         * international/ccl.el (declare-ccl-program): Docstring modified.
6288         (ccl-execute-with-args): Likewise.
6290 2000-08-16  Miles Bader  <miles@gnu.org>
6292         * progmodes/sql.el: Add compatibility definition of
6293         comint-line-beginning-position.
6295 2000-08-15  Gerd Moellmann  <gerd@gnu.org>
6297         * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
6298         'buffer-menu' property.
6299         (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
6300         fails.
6301         (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
6302         buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
6303         wasn't killed.
6305         * buff-menu.el (list-buffers-noselect): Don't display the
6306         *Buffer List* buffer.
6308         * font-lock.el: Require jit-lock to prevent a very late
6309         `Loading jit-lock' message.
6311         * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
6312         * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
6313         mail address.
6315 2000-08-15  Miles Bader  <miles@gnu.org>
6317         * textmodes/ispell.el (ispell-graphic-p): New constant.
6318         (ispell-choices-win-default-height, ispell-help): Use
6319         `ispell-graphic-p' instead of `xemacsp'.
6321 2000-08-15  Dave Love  <fx@gnu.org>
6323         * simple.el: Autoload widget-convert when compiling.
6324         (mail-user-agent): Doc fix.
6326         * help.el (function-called-at-point, variable-at-point): Use
6327         with-syntax-table.
6328         (help-manyarg-func-alist): Add insert-and-inherit.
6330         * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
6332         * delsel.el (delsel-unload-hook): New function.
6334         * find-file.el: Doc fixes.  Move provide to end.
6335         (ff) <defgroup>: Add :link.
6336         (ff-goto-click): Deleted.
6337         (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
6338         Use mouse-set-point.
6340         * textmodes/tildify.el: Doc fixes.
6341         (tildify) <defgroup>: Add:version.
6343         * progmodes/glasses.el (glasses) <defgroup>: Add :version.
6344         (glasses-custom-set): Use set-default, not set.
6345         (minor-mode-alist): Propertize the lighter.
6346         (glasses-mode): Provide optional arg.
6348         * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
6349         (global-cwarn-mode): Don't make it a user option.  Unquote lambda.
6350         (cwarn-font-lock-feature-keywords-alist): Don't make it a user
6351         option.  Provide :type.
6352         (cwarn-configuration): Provide :type.
6353         (cwarn-mode): Doc fix.
6355         * add-log.el (change-log-merge): Doc fix.
6356         (change-log-redate): New command.
6358         * net/browse-url.el (browse-url-filename-alist): Add a clause for
6359         Doze and Dog.
6360         (browse-url): Use dolist, not mapcar.
6361         (browse-url-at-point): Check for null url.
6362         (browse-url-event-buffer, browse-url-event-point): Functions
6363         deleted.
6364         (browse-url-at-mouse, browse-url-netscape): Simplify.
6366         * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
6367         modes.
6368         (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
6369         Fix previous change to mapcan.
6370         (msb--init-file-alist, msb--add-separators)
6371         (msb--make-keymap-menu): Simplify.
6372         (msb--choose-file-menu): Use copy-sequence.
6373         (msb-mode-map): Add title to keymap.
6374         (msb-unload-hook): New function.
6376         * bs.el: Fix indentation.
6377         (bs) <defgroup>: Add :links.
6378         (bs-show): Doc fix.
6379         (bs-apply-sort-faces): Don't use window-system.
6380         (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
6382 2000-08-15  Eli Zaretskii  <eliz@is.elta.co.il>
6384         * calendar/timeclock.el (timeclock-file): Run .timelog through
6385         convert-standard-filename.
6387 2000-08-14  Gerd Moellmann  <gerd@gnu.org>
6389         * emacs-lisp/authors.el: New file.
6391         * paren.el (show-paren-priority): New user option.
6392         (show-paren-function): Set overlay priorities to
6393         show-paren-priority.
6395 2000-08-14  Miles Bader  <miles@gnu.org>
6397         * comint.el (comint-bol): Use `forward-line 0' instead of calling
6398         beginning-of-line with inhibit-field-text-motion bound.
6400 2000-08-14  Gerd Moellmann  <gerd@gnu.org>
6402         * calendar/timeclock.el: New file.
6404 2000-08-14  David Ponce  <david@dponce.com>
6406         * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
6407         `widget-button-click'. so that one can use left mouse button to
6408         click on dialog buttons.
6410 2000-08-14  Emmanuel Briot  <briot@gnat.com>
6412         * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
6413         identifiers, since XML is case sensitive
6415 2000-08-12  Miles Bader  <miles@gnu.org>
6417         * comint.el (comint-output-filter): Don't bother frobbing
6418         window-start, it doesn't seem to be necessary.
6420         * comint.el (comint-send-string, comint-send-region): Make into
6421         real functions.  Snapshot the prompt before sending.
6423 2000-08-11  Eli Zaretskii  <eliz@is.elta.co.il>
6425         * info.el (Info-find-emacs-command-nodes): Rewrite to use
6426         technique similar to Info-index, instead of relying on specific
6427         names of relevant Index nodes.
6428         (Info-goto-emacs-command-node): Bind Info-history to nil when
6429         going to the first node found by Info-find-emacs-command-nodes.
6431 2000-08-11  Eli Zaretskii  <eliz@is.elta.co.il>
6433         * menu-bar.el (menu-bar-help-menu): Add a :help string.
6435 2000-08-10  Miles Bader  <miles@gnu.org>
6437         * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
6439 2000-08-10  Eli Zaretskii  <eliz@is.elta.co.il>
6441         * info.el (Info-file-list-for-emacs): More elements for the
6442         autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
6443         and woman manuals.
6445 2000-08-10  Miles Bader  <miles@lsi.nec.co.jp>
6447         * comint.el (comint-send-input): Make the newline boundary overlay
6448         rear-nonsticky.  Use `insert' instead of `insert-before-markers'.
6449         (comint-output-filter): Use `insert' instead of
6450         `insert-before-markers'.  Extend comint-last-output-overlay when
6451         necessary since we can't rely on insert-before-markers to do it.
6452         * gud.el (gud-filter): Use `with-current-buffer' instead of
6453         save-excursion when inserting the output, so that point gets
6454         updated correctly; the old method relied on a rather dodgy
6455         side-effect of comint-output-filter to avoid the effect of
6456         save-excursion.
6458 2000-08-10  Eli Zaretskii  <eliz@is.elta.co.il>
6460         * files.el (recover-file): Call insert-directory instead of
6461         invoking `ls' directly.
6463 2000-08-10  Miles Bader  <miles@gnu.org>
6465         * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
6466         (comint-last-prompt-overlay): New variables.
6467         (comint-output-filter): Implement prompt highlighting.
6468         (comint-snapshot-last-prompt): New function.
6469         (comint-send-input): Snapshot the last prompt.
6470         Use comint-highlight-input-face.
6471         (comint-highlight-input-face): Renamed from `comint-highlight-face'.
6472         Use defface instead of defcustom.
6473         (send-invisible, comint-send-eof): Snapshot the last prompt.
6474         (comint-delchar-or-maybe-eof): Use comint-send-eof.
6475         (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
6477 2000-08-09  Stefan Monnier  <monnier@cs.yale.edu>
6479         * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
6480         (regexp-opt-group): Use a list of chars for `letters'.
6481         (regexp-opt-charset): `chars' is now a list of chars.
6482         Use a char-table rather than a vector so it works for multibyte chars.
6484         * pcvs.el (cvs-menu): Don't move point.  Use popup-menu.
6485         Set cvs-minor-current-files to the selected fileinfo.
6486         (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
6487         (cvs-mode-insert): Manually macroexpand `ignore-errors'.
6489 2000-08-09  Eli Zaretskii  <eliz@is.elta.co.il>
6491         * files.el (insert-directory): Don't call access-file on
6492         directories on DOS and Windows.
6494 2000-08-09  Kenichi Handa  <handa@etl.go.jp>
6496         * international/ccl.el (ccl-embed-data): Make ccl-program-vector
6497         longer if necessary.
6498         (ccl-embed-code): Call ccl-embed-data to store CODE in
6499         ccl-program-vector.
6501 2000-08-09  Miles Bader  <miles@gnu.org>
6503         * comint.el (comint-output-filter): Properly handle the case where
6504         the text surrounded by comint-last-output-overlay was deleted.
6506 2000-08-08  Gerd Moellmann  <gerd@gnu.org>
6508         * info.el (Info-insert-dir): Use Info-additional-directory-list if
6509         non-nil.
6510         (Info-file-list-for-emacs): Remove "info" from the list because
6511         that leads to trying to use the documentation from file `info'
6512         in various situations where it isn't appropriate, for instance
6513         C-h C-k C-h i.
6515         * ffap.el (ffap-read-file-or-url-internal): Handle case that
6516         DIR and/or STRING are nil.
6518         * progmodes/compile.el (compilation-setup): Make variable
6519         compilation-error-screen-columns buffer-local, as some comment
6520         in the code suggests it should be.
6522         * files.el (auto-mode-interpreter-regexp): New variable.
6523         (set-auto-mode): Use it.
6525         * indent.el (indent-for-tab-command): Doc fix.
6527         * mouse-sel.el (mouse-sel-mode): Doc fix.
6529         * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
6530         labels.
6532         * help.el (print-help-return-message): When
6533         display-buffer-reuse-frames is set, let the help window been quit,
6534         instead of deleting it, which might delete a reused frame.
6536 2000-08-08  Eli Zaretskii  <eliz@is.elta.co.il>
6538         * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
6539         rename a directory to a name that differs only by its letter case.
6541 2000-08-08  Kenichi Handa  <handa@etl.go.jp>
6543         * international/quail.el (quail-define-rules): Handle Quail decode
6544         map correctly.  Add code for supporting annotations.
6545         (quail-install-decode-map): New function.
6546         (quail-defrule-internal): New optional arguments decode-map and
6547         props.
6548         (quail-advice): New function.
6550 2000-08-07  Sam Steingold  <sds@gnu.org>
6552         * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
6553         `defconst', `define-condition', `with-slots'.
6554         * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
6556 2000-08-03  Miles Bader  <miles@gnu.org>
6558         * comint.el (comint-use-prompt-regexp-instead-of-fields):
6559         New variable.
6560         (comint-prompt-regexp, comint-get-old-input): Document dependence on
6561         comint-use-prompt-regexp-instead-of-fields.
6562         (comint-send-input): Add `input' field property to stuff we send to
6563         the process, if comint-use-prompt-regexp-instead-of-fields is nil.
6564         (comint-output-filter): Add `output' field property to process
6565         output, if comint-use-prompt-regexp-instead-of-fields is nil.
6566         (comint-replace-by-expanded-history)
6567         (comint-get-old-input-default, comint-show-output)
6568         (comint-backward-matching-input, comint-forward-matching-input)
6569         (comint-next-prompt, comint-previous-prompt):  Use field
6570         properties if comint-use-prompt-regexp-instead-of-fields is nil.
6571         (comint-line-beginning-position): New function.
6572         (comint-bol): Use comint-line-beginning-position.  Make ARG optional.
6573         (comint-replace-by-expanded-history-before-point): Use
6574         comint-line-beginning-position and line-end-position.
6575         (comint-last-output-overlay): New variable.
6576         (comint-mode): Make `comint-last-output-overlay' buffer-local.
6578         * shell.el (shell-prompt-pattern): Doc change.
6579         (shell-backward-command): Use line-beginning-position.
6581         * gud.el (gud-gdb-complete-command): Use
6582         comint-line-beginning-position.
6584         * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
6585         comint-bol doesn't actually go to the beginning of the line.
6587         * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
6588         if comint-use-prompt-regexp-instead-of-fields is non-nil.
6589         (try-expand-line-all-buffers): Likewise.
6591         * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
6592         explicitly matching comint-prompt-regexp.
6593         (sql-copy-column): Use comint-line-beginning-position instead of
6594         explicitly matching comint-prompt-regexp.
6596         * progmodes/octave-inf.el (inferior-octave-complete): Use
6597         comint-line-beginning-position.
6599         * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
6601         * progmodes/idlw-shell.el (idlwave-shell-send-command): When
6602         looking for a prompt, use `forward-line 0' instead of
6603         `beginning-of-line', to avoid getting caught by an input field.
6605 2000-08-07  Gerd Moellmann  <gerd@gnu.org>
6607         * files.el (shell-quote-wildcard-pattern): Make sure to return
6608         PATTERN, in the Unix case.
6610 2000-08-07  Eli Zaretskii  <eliz@is.elta.co.il>
6612         * play/zone.el (zone): Discard any pending input before running
6613         the randomly-chosen pgm.
6615 2000-08-07  Kenichi Handa  <handa@etl.go.jp>
6617         * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
6618         checking the existence of any multibyte characters.
6620 2000-08-06  Gerd Moellmann  <gerd@gnu.org>
6622         * help.el (describe-mode): Test minor-mode symbol for being
6623         bound before testing its value for being nil.
6625         * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
6626         `first', `second', and `third'.
6628         * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
6629         (second): Make it an alias for `cadr'.
6631 2000-08-06  Eli Zaretskii  <eliz@is.elta.co.il>
6633         * bs.el (bs-apply-sort-faces): Don't use window-system, since all
6634         types of display support faces now.
6636 2000-08-05  Gerd Moellmann  <gerd@gnu.org>
6638         * pcvs.el (require): Require `cl' during compilation, only.
6640         * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
6641         (toplevel): Remove `remq' and `remove' from autoloads.
6642         (cl-fake-autoloads): New variable.  If set, arrange for an error
6643         when CL functions etc. are autoloaded.
6645 2000-08-04  Eli Zaretskii  <eliz@is.elta.co.il>
6647         * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
6649         * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
6650         popped up, but the user clicks outside the menu, return an empty
6651         regexp (that causes unhighlight-regexp to have no effect).
6653         * menu-bar.el (menu-bar-games-menu): Add Zone.
6655         * hi-lock.el (toplevel): Require font-lock.
6657 2000-08-03  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6659         * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
6660         (ebnf-8-bit-chars): New var for bug fix.
6661         (ebnf-string): Bug fix.
6663 2000-08-03  Sam Steingold  <sds@gnu.org>
6665         * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
6666         instead of `buffer-string'.
6667         (require 'cl): Always, not just when compiling.
6668         `ignore-errors' in `interactive', `list*', `defun*' &c make this
6669         necessary.
6671 2000-08-03  Eli Zaretskii  <eliz@is.elta.co.il>
6673         * international/mule-cmds.el (select-safe-coding-system): Make
6674         the message text about selecting a safe coding system more clear.
6676 2000-08-02  Gerd Moellmann  <gerd@gnu.org>
6678         * hi-lock.el: New file.
6680         * play/zone.el: New file.
6682         * replace.el (occur): Set tab-width in the *Occur* buffer to the
6683         value of tab-width in the original buffer.  Choose a line number
6684         format that's a multiple of the original buffer's tab width, so
6685         that lines appear right.
6687         * textmodes/ispell.el (ispell): New function, replacing an alias.
6688         Spell-check active region if in transient-mark-mode and mark
6689         is active; otherwise spell-check buffer.
6691 2000-08-02  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6693         * ps-mule.el: Fix a customization problem on
6694         ps-mule-font-info-database-default.
6696 2000-08-02  Eli Zaretskii  <eliz@is.elta.co.il>
6698         * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
6699         display-mouse-p instead of window-system.
6700         (ebrowse-member-mode-map): Ditto.
6702 2000-08-01  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6704         * progmodes/ebnf2ps.el: Update ps-print functions call.
6705         Indentation fix.  Doc fix.
6706         (ebnf-version): New version number (3.2).
6707         (ebnf-format-color, ebnf-begin-job): Code fix.
6709 2000-08-01  Eli Zaretskii  <eliz@is.elta.co.il>
6711         * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
6712         font lock support on window-system.
6713         (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
6715         * textmodes/ispell.el (ispell-highlight-spelling-error): Use
6716         display-color-p, if fboundp, instead of window-system.
6718 2000-07-31  Eli Zaretskii  <eliz@is.elta.co.il>
6720         * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
6721         instead of window-system.
6723         * wid-edit.el (widget-choose): Use display-mouse-p instead of
6724         window-system.
6725         (widget-choice-mouse-down-action): Use display-popup-menus-p
6726         instead of window-system.
6728         * strokes.el (strokes-file): Run the file name through
6729         convert-standard-filename.
6730         (strokes-mode): Call display-mouse-p instead of looking at
6731         window-system.  Change the error message accordingly.
6733         * progmodes/cpp.el (toplevel): Support faces on tty's.
6735         * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
6736         (lm-plot-square, lm-init-display): Don't use window-system.
6738         * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
6739         (gomoku-plot-square, gomoku-init-display): Don't use window-system.
6741         * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
6742         instead of looking at window-system.
6744 2000-07-30  Gerd Moellmann  <gerd@gnu.org>
6746         * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
6747         of testing if iswitchb-prepost-hooks is bound, because the
6748         latter will always be true when invoking a recursive minibuffer
6749         from an active Iswitchb buffer.
6751 2000-07-30  Eli Zaretskii  <eliz@is.elta.co.il>
6753         * files.el (shell-quote-wildcard-pattern): New function.
6754         (insert-directory): Call it.  Only prepend "\" to command on Unix
6755         and GNU/Linux systems.
6757 2000-07-30  Gerd Moellmann  <gerd@gnu.org>
6759         * eshell/esh-groups.el: Change custom :link file names
6760         from `eshell.info' to `eshell'.
6762 2000-07-30  Francis Wright  <fjw@maths.qmw.ac.uk>
6764         * dired.el (dired-build-subdir-alist): Expand subdirectory names
6765         correctly in recursive ange-ftp listings.
6767 2000-07-30  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6769         * ps-print.el: Fix bug 1: if ps-font-size-internal,
6770         ps-header-font-size-internal and
6771         ps-header-title-font-size-internal variables are not set,
6772         ps-nb-pages and ps-line-lengths-internal crashes.  Fix bug 2: if
6773         face text property is (foreground-color . COLOR) or
6774         `(background-color . COLOR)', ps-print crashes.  Doc fix.
6775         (ps-print-version): New version number (5.2.4).
6776         (ps-plot-region): Code fix.
6777         (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
6778         (ps-face-attribute-list, ps-face-attributes, ps-face-background):
6779         Bug fix 2.
6781 2000-07-30  Milan Zamazal  <pdm@freesoft.cz>
6783         * glasses.el (glasses-make-readable): Fix uncapitalization of
6784         identifiers like `myXMLDocument'.
6786 2000-07-28  Karl Fogel  <kfogel@red-bean.com>
6788         * mail/mail-hist.el (mail-hist-previous-input)
6789         (mail-hist-next-input): Do the obvious code factorization.
6790         (mail-hist-retrieve-and-insert): New func, contains common
6791         code of above two.
6792         If inserting a message body, leave point at top.
6794 2000-07-28  Sam Steingold  <sds@gnu.org>
6796         * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
6797         Use `<=', not `<' to compare times!
6798         (ange-ftp-ls): Remove.
6800 2000-07-27  Gerd Moellmann  <gerd@gnu.org>
6802         * play/cookie1.el: Add explanation of how to make cookie.el
6803         compatible with strfile(1) to comment.
6805         * subr.el (remove, remq): New functions.
6807         * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
6808         escape `*' in regexps.
6809         (midnight-find): Reverse order of arguments in the funcall of
6810         TEST.
6812         * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
6813         and `.class'.
6815         * play/meese.el: Add Commentary section.
6817 2000-07-27  Alex Schroeder  <alex@gnu.org>
6819         * sql.el (sql-ms): Added autoload cookie.
6820         (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
6821         (sql-oracle): Ditto.
6822         (sql-help): Doc change.
6824         (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
6825         types and exceptions.
6827 2000-07-27  Alex Schroeder  <alex@gnu.org>
6829         * sql.el (sql-placeholder-history): New variable.
6830         (sql-query-placeholders-and-send): New function that will query
6831         the user and replace placeholders with user input.
6832         (sql-oracle): If running on NT, set comint-input-sender to
6833         sql-query-placeholders-and-send.
6835         (sql-stop): If in the SQLi buffer, insert stop notification, else
6836         present it as a message.
6838 2000-07-27  Alex Schroeder  <alex@gnu.org>
6840         * sql.el (sql-input-ring-separator): Doc change.
6841         (sql-input-ring-file-name): Doc change.
6842         (sql-interactive-mode): Use `sql-input-ring-separator' and
6843         `sql-input-ring-file-name' to set the comint-mode equivalents
6844         without making them local variables.
6845         (sql-stop): Don't bind `sql-input-ring-separator' and
6846         `sql-input-ring-file-name' dynamically to their comint-mode
6847         equivalents.
6849 2000-07-27  Kenichi Handa  <handa@etl.go.jp>
6851         * international/mule.el (register-char-codings): New function.
6852         (make-coding-system): Handle `safe-chars' specification in the arg
6853         PROPERTY.
6855         * international/mule-cmds.el
6856         (find-coding-systems-region-subset-p): This function deleted.
6857         (sort-coding-systems-predicate): New variable.
6858         (sort-coding-systems): New function.
6859         (find-coding-systems-region): Use
6860         find-coding-systems-region-internal.
6861         (find-coding-systems-string): Use find-coding-systems-region.
6862         (find-coding-systems-for-charsets): Check
6863         char-coding-system-table.
6864         (select-safe-coding-system-accept-default-p): New variable.
6865         (select-safe-coding-system): Mostly rewritten.  New argument
6866         ACCEPT-DEFAULT-P.
6867         (select-message-coding-system): Call select-safe-coding-system
6868         with ACCEPT-DEFAULT-P arg.
6869         (reset-language-environment): Reset default-sendmail-coding-system
6870         to the default value iso-latin-1.
6871         (set-language-environment): Don't set the obsolete variable
6872         charset-origin-alist.
6874         * international/codepage.el (cp-coding-system-for-codepage-1):
6875         Give `safe-chars' property to make-coding-system.
6877         * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
6878         calling select-message-coding-system twice.
6880         * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
6881         instead of `safe-charsets'.
6882         (cyrillic-alternativnyj): Likewise.
6883         (ccl-encode-alternativnyj): Don't check the charset
6884         cyrillic-iso8859-5.
6886 2000-07-27  Kenichi Handa  <handa@etl.go.jp>
6888         * composite.el (compose-chars-after): Preserve match data.
6890 2000-07-26  Sam Steingold  <sds@gnu.org>
6892         * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
6893         (ange-ftp-real-file-newer-than-file-p): New function.
6894         (ange-ftp-verify-visited-file-modtime): Use `float-time'.
6895         (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
6897         * tooltip.el (tooltip-float-time): Removed (use `float-time').
6898         * midnight.el (midnight-float-time): Ditto.
6900 2000-07-26  Andreas Schwab  <schwab@suse.de>
6902         * files.el (normal-backup-enable-predicate): Correct
6903         interpretation of the return value of compare-strings.
6905 2000-07-26  Gerd Moellmann  <gerd@gnu.org>
6907         * isearch.el (isearch-resume): New function.
6908         (isearch-done): Add something to command-history to resume
6909         the search.
6910         (isearch-yank-line, isearch-yank-word): Use
6911         buffer-substring-no-properties instead of buffer-substring.
6913         * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
6914         of flyspell-mouse-map.
6916         * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
6917         duplicate definition.
6918         (makefile-mode): Remove duplicate setting of local-abbrev-table.
6920         * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
6921         (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
6923 2000-07-25  Sam Steingold  <sds@gnu.org>
6925         * net/ange-ftp.el: Get modtime over the net.
6926         (ange-ftp-file-modtime): New function.
6927         (ange-ftp-write-region, ange-ftp-insert-file-contents)
6928         (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
6929         Use it.
6930         (ange-ftp-dot-to-slash): New function.
6931         (ange-ftp-fix-name-for-vms): Use it.
6933         * midnight.el (midnight-buffer-display-time): Use
6934         `with-current-buffer'.
6936 2000-07-25  Gerd Moellmann  <gerd@gnu.org>
6938         * find-dired.el: Update copyright notice.
6939         (find-dired): Offer to kill a running `find'.
6941         * enriched.el (enriched-face-ans): For a `foreground-color'
6942         property, return '(("x-color" COLOR))' so that COLOR will be
6943         output as a parameter of the x-color annotation.  Likewise for the
6944         `background-color' property.  In the case of normal face
6945         properties, don't return annotations for unspecified foreground
6946         and background face attributes.
6948 2000-07-25  Kenichi Handa  <handa@etl.go.jp>
6950         * language/japan-util.el (japanese-katakana-region): Fix handling
6951         HANKAKU argument.
6953 2000-07-25  Miles Bader  <miles@gnu.org>
6955         * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
6956         constrain-to-field.  Pass nil ESCAPE-FROM-EDGE argument to
6957         constrain-to-field.
6959 2000-07-24  Andrew Innes  <andrewi@gnu.org>
6961         * timer.el (timer-activate-when-idle): Add optional parameter
6962         DONT-WAIT.  Update docstring.
6963         (run-with-idle-timer): Specify extra parameter to
6964         timer-activate-when-idle, so that timer will be activated
6965         immediately if Emacs is already idle.
6967         * w32-fns.el (w32-using-nt): Fix docstring.
6969 2000-07-24  Dave Love  <fx@gnu.org>
6971         * mouse.el (popup-menu): Set last-command-event.
6972         (mouse-major-mode-menu-prefix): Declare.
6974 2000-07-24  Gerd Moellmann  <gerd@gnu.org>
6976         * textmodes/flyspell.el: Update to author's version 1.5d.
6978         * progmodes/hideshow.el: Update copyright notice.
6980         * vcursor.el: Set maintainer to FSF, since author cannot
6981         be reached.
6983 2000-07-24  Eli Zaretskii  <eliz@is.elta.co.il>
6985         * info.el (Info-goto-emacs-key-command-node): Leave a space after
6986         the prompt.
6988         * mouse.el (popup-menu): Run the keymap through indirect-function,
6989         in case it was defined with define-prefix-key.  If the menu is a
6990         list of keymaps, look up the binding of user's choice in each one
6991         of the keymaps.
6992         (mouse-popup-menubar): If the global and local menu-bar keymaps
6993         don't have a prompt string, create one and insert it into the
6994         keymap.  Don't barf if current-local-map returns nil.
6996 2000-07-24  Francis Wright  <fjw@maths.qmw.ac.uk>
6998         * dired.el (dired-sort-R-check): Added to allow recursive listing
6999         to be undone.
7000         (dired-sort-other): Use it.
7002 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7004         * Release of cc-mode 5.27
7006 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7008         * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
7009         c-beginning-of-statement-1 that caused a bad case of recursion
7010         which could consume a lot of CPU in large classes in languages
7011         that have in-expression classes (i.e. Java and Pike).
7013         * cc-engine.el (c-guess-basic-syntax): Check for in-expression
7014         statements before top level constructs (i.e. case 6 is moved
7015         before case 5 and is now case 4) to catch in-expression
7016         classes in top level expressions correctly.
7018 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7020         * cc-engine.el (c-guess-basic-syntax): Less naive handling of
7021         objc-method-intro. Case 4 removed and case 5I added.
7023         * cc-langs.el (c-append-paragraph-start): New variable used by
7024         c-common-init to get paragraph-start correct.
7025         * cc-langs.el (c-common-init): Use c-append-paragraph-start to
7026         initialize paragraph-start to make it correct both with and
7027         without the javadoc special case.
7029         * cc-mode.el (java-mode): Use c-append-paragraph-start to
7030         initialize paragraph-start for javadoc markup.
7032         * cc-vars.el (c-style-variables-are-local-p): Incompatible
7033         change by defaulting this to t.  It's motivated by the
7034         confusing behavior that otherwise arise from the style system
7035         when editing both java and non-java files at the same time
7036         (see the comments about style setting in c-common-init).
7038 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7040         * cc-cmds.el (c-indent-new-comment-line): Added a kludge
7041         similar to the one in c-fill-paragraph to check the fill
7042         prefix from the adaptive fill function for sanity.
7044 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7046         * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
7047         defun block.
7049 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7051         * cc-mode.texi Documented the change of cpp-macro.
7053 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7055         * cc-align.el (c-lineup-multi-inher): Handle lines with
7056         leading comma nicely. Extended to handle member initializers
7057         too.
7059         * cc-engine.el: (c-beginning-of-inheritance-list,
7060         c-guess-basic-syntax): Fixed recognition of inheritance lists
7061         when the lines begins with a comma.
7063         * cc-mode.texi: Updated doc for c-lineup-multi-inher.
7065         * cc-vars.el (c-offsets-alist): Changed default for
7066         member-init-cont to c-lineup-multi-inher since it now handles
7067         member initializers and indents better for leading commas.
7069 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7071         * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
7072         handling that caused class open lines to be recognized as
7073         statement-conts in some cases.
7075         * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
7076         guessed by the adaptive fill function unless point is on the
7077         first line of a block comment.
7079         * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
7080         when the buffer ends with a macro continuation char.
7082         * cc-engine.el (c-guess-basic-syntax): Added support for
7083         function definitions as statements in Pike.  The first
7084         statement in a lambda block is now labeled defun-block-intro
7085         instead of statement-block-intro.
7087         * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
7088         so that the class surrounding point is selected, not the one
7089         innermost in the state.
7091         * cc-engine.el (c-guess-basic-syntax): Fixed bug in
7092         recognition of switch labels having hanging multiline
7093         statements.
7095         * cc-engine.el (c-beginning-of-member-init-list): Broke out
7096         some code in c-guess-basic-syntax to a separate function.
7097         * cc-engine.el (c-just-after-func-arglist-p): Fixed
7098         recognition of member inits with multiple line arglists.
7099         * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
7100         member-init-cont when the commas are in funny places.
7102 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7104         * cc-defs.el (c-auto-newline): Removed this macro since it's
7105         not used anymore.
7107         * cc-engine.el (c-looking-at-bos): New helper function.
7108         * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
7109         inexpr and toplevel classes apart in Pike.
7111         * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
7112         of case 9A.
7114         * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
7115         constant, since "class" can introduce an in-expression class
7116         in Pike nowadays.
7118 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7120         * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
7121         indentation on cpp-macro lines.
7123         * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
7124         a syntax modifier like comment-intro, to make it possible to
7125         get syntactic indentation for preprocessor directives.  It's
7126         incompatible wrt to lineup functions on cpp-macro, but it has
7127         no observable effect in the 99.9% common case where cpp-macro
7128         is set to -1000.
7130 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7132         * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
7133         member-init-cont when the preceding arglist is several lines.
7135 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7137         * cc-styles.el (c-style-alist): The basic offset for the BSD
7138         style corrected to 8.
7140 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7142         * cc-styles.el (c-style-alist): Adjusted the indentation of
7143         brace list openers in the gnu style.
7145 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7147         * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
7149         * cc-cmds.el (c-electric-brace, c-electric-slash,
7150         c-electric-star, c-electric-semi&comma, c-electric-colon,
7151         c-electric-lt-gt, c-electric-paren): Don't reindent old lines
7152         when c-syntactic-indentation is nil.
7154         * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
7155         we were left at comments preceding the first statement when
7156         reaching the beginning of the buffer.
7158         * cc-vars.el (c-syntactic-indentation): New variable to turn
7159         off all syntactic indentation.
7161 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7163         * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
7164         between the text and the block comment ender when it hangs,
7165         depending on how many there are before the fill.
7167 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7169         * cc-engine.el (c-beginning-of-closest-statement): New helper
7170         function to go back to the closest preceding statement start,
7171         which could be inside a conditional statement.
7172         * cc-engine.el (c-guess-basic-syntax): Use
7173         c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
7175         * cc-engine.el (c-guess-basic-syntax): Better handling of
7176         arglist-intro, arglist-cont-nonempty and arglist-close when
7177         the arglist is nested inside parens.  Cases 7A, 7C and 7F
7178         changed.
7180         * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
7181         up-to-date with javadoc 1.2.
7183 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7185         * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
7186         multiline Pike type decls.
7188 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7190         * cc-cmds.el (c-indent-new-comment-line): Always break
7191         multiline comments in multiline mode, regardless of
7192         comment-multi-line.
7194 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7196         * cc-engine.el (c-guess-basic-syntax): Fixed bug with
7197         fully::qualified::names in C++ member init lists.  Preamble in
7198         case 5D changed.
7200 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7202         * cc-langs.el (c-common-init): Handling of obsolete variables
7203         moved to c-initialize-cc-mode.  More compatible style override
7204         when using global style variables.
7205         * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
7206         variables moved here.
7208         * cc-mode.texi: Documented the special behavior of
7209         c-special-indent-hook as a style variable.  Don't talk about
7210         doing (c-make-styles-buffer-local t) in a mode hook, since
7211         that's already too late to work right.
7213         * cc-styles.el (c-make-styles-buffer-local): Flag style
7214         variable localness in c-style-variables-are-local-p to make
7215         the compatibility measure in c-common-init work well.
7217         * cc-styles.el (c-set-style-1): c-special-indent-hook can no
7218         longer contain set-from-style.
7219         * cc-styles.el (c-initialize-builtin-style): Don't check for
7220         set-from-style on c-special-indent-hook.
7221         * cc-styles.el (c-copy-tree): Obsolete.  The standard function
7222         copy-alist is sufficient now.
7224         * cc-styles.el (c-set-style, c-set-style-1,
7225         c-get-style-variables): Fixes to variable initialization so
7226         that duplicate entries in styles have the same effect
7227         regardless of DONT-OVERRIDE.
7229         * cc-styles.el (c-set-style-2): Fixed bug where the
7230         initialization of inheriting styles failed when the
7231         dont-override flag is set.
7233         * cc-vars.el (c-special-indent-hook): Don't use set-from-style
7234         on this.
7236 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
7238         * cc-defs.el (c-forward-comment): Removed the workaround
7239         introduced in 5.38 since it had worse side-effects.  If a line
7240         contains the string "//\"", it regarded the // as a comment
7241         start since the \ temporarily doesn't have escape syntax.
7243 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
7245         * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
7246         ada-xref.el before ada-prj.el, so that the Project menu is created
7247         when ada-prj tries to add to it.
7248         (ada-activate-keys-for-case): Suppress the characters that are not
7249         part of the Ada syntax. Better compatibility with else-mode
7250         (ada-adjust-case-interactive): When auto-casing is not active,
7251         correctly insert newlines (used to insert only ^M).  Prevent the
7252         syntax table from being changed in case of an error
7253         (or '_' becomes part of a word and some commands are confused).
7254         Do nothing if ada-auto-case is nil.
7255         (ada-after-keyword-p): Ignore keywords that are also attributes
7256         (ada-batch-reformat): Update usage comment
7257         (ada-call-from-contextual-menu): New function
7258         (ada-case-read-exceptions): Reinitialize the casing exception list
7259         first to nil first, so that the casing exception file can be
7260         shared.
7261         (ada-check-defun-name): Handles "configure" keyword for gnatdist
7262         files.
7263         (ada-compile-goto-error): Fix regexp used to detect a file:line
7264         anywhere in the error message
7265         (ada-contextual-menu-last-point): New variable
7266         (ada-create-keymap): If the variable delete-key-deletes-forward is
7267         t on XEmacs, it means that DEL should delete one character
7268         forward.
7269         (ada-create-menu): Use :included instead of :visible for XEmacs.
7270         New submenu "Options".
7271         (ada-end-stmt-re): Correctly indent "select ... then abort"
7272         statements.
7273         (ada-fill-comment-paragraph): Correctly delete all leading '--'
7274         even if they don't match ada-fill-comment-prefix Fix handling of
7275         paragraphs on the first or last line of a file.
7276         (ada-format-paramlist): Fix handling of default parameter values.
7277         (ada-get-body-name): New function.
7278         (ada-get-current-indent): Optimized by searchling directly for an
7279         existing generic part or a statement outside of it.  Handle
7280         ada-indent-align-comments when indenting comments Replaced some
7281         regexps by testing directly the next character. This results in a
7282         huge speedup on some files.  New indentation scheme for renames
7283         statements.  Stop looking for the 'while' or 'for' associated with
7284         a 'loop' at the first semicolon encountered.  A "return" can also
7285         match an anonymous access subprogram declaration.
7286         (ada-get-indent-noindent): Ignore strings and comments when
7287         looking for the keywords "record" and "private".
7288         (ada-goto-matching-decl-start): When matching "if", make sure we
7289         are not in fact seeing "end if".  Ignore "when" statements except
7290         when initial keyword was "begin".  Fix handling of nested
7291         procedures.  Add a recursive call to this function to skip over
7292         other 'end' statmts.  Fix indentation for "when .. => begin"
7293         (ada-in-open-paren-p): Fix indentation for complex boolean
7294         expressions, where 'and then', 'or else' and parenthesis
7295         statements are mixed up.
7296         (ada-in-paramlist-p): Skip comments while searching for the
7297         beginning Fix handling of operator declarations.
7298         (ada-indent-align-comments): New variable
7299         (ada-indent-current): Change the syntax table only in the
7300         protected section, so that we are sure it is restored correctly.
7301         (ada-indent-on-previous-lines): Use ada-use-indent and
7302         ada-with-indent Correctly indent "select ... then"
7303         (ada-indent-region): Slight speedup.
7304         (ada-indent-renames): New variable.
7305         (ada-last-which-function-subprog, ada-last-which-function-line):
7306         New variables
7307         (ada-looking-at-semi-private): Correctly indent the 'private'
7308         keyword when it is the first word in a package declaration.
7309         (ada-loose-case-word): Stop searching if at the end of the buffer.
7310         (ada-loose-case-word, ada-capitalize-word): Recase the whole word
7311         even if point is not initially at the end of the word.
7312         (ada-matching-decl-start-re): Add "when".
7313         (ada-mode): Add support for abbrev-mode, outline-mode and
7314         which-func-mode Override the old find-file.el entry in
7315         ff-special-constructs since it is using the obsolete
7316         ada-spec-suffix variable
7317         (ada-no-auto-case): New function
7318         (ada-scan-paramlist): When parsing the argument type, accept
7319         spaces (as in "X 'Class", generated by Rational Rose).
7320         (ada-other-file-name): No longer loads the other file.
7321         (ada-popup-menu): Save and restore the current buffer and cursor
7322         position before and after displaying the menu.
7323         (ada-search-ignore-complex-boolean): New function.
7324         (ada-uncomment-region): Emacs21 already knows how to delete
7325         comments not starting in the first column.
7326         (ada-use-indent): New variable
7327         (ada-which-function): New function.
7328         (ada-with-indent): New variable
7329         (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
7330         can be batch-compiled from the command line.
7332         * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
7333         Add to the menu when the file is loaded, not in ada-mode-hook.
7334         Add -toolbar to the default ddd command Switches moved from
7335         ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
7336         ada-prj-default-comp-opt
7337         (ada-add-ada-menu): Remove the map and name parameters Add the Ada
7338         Reference Manual to the menu
7339         (ada-check-current): rewritten as a call to ada-compile-current
7340         (ada-compile): Removed.
7341         (ada-compile-application, ada-compile-current, ada-check-current):
7342         Set the compilation-search-path so that compile.el automatically
7343         finds the sources in src_dir.  Automatic scrollong of the
7344         compilation buffer.  C-uC-cC-c asks for confirmation before
7345         compiling
7346         (ada-compile-current): New parameter, prj-field
7347         (ada-complete-identifier): Load the .ali file before doing
7348         processing
7349         (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
7350         conform to gnatmake's behavior.
7351         (ada-find-file-in-dir): New function
7352         (ada-find-references): Set the environment variables for gnatfind
7353         (ada-find-src-file-in-dir): New function.
7354         (ada-first-non-nil): Removed
7355         (ada-gdb-application): Add support for jdb, the java debugger.
7356         (ada-get-ada-file-name): Load the original-file first if not done
7357         yet.
7358         (ada-get-all-references): Handles the new ali syntax (parent types
7359         are found between <>).
7360         (ada-initialize-runtime-library): New function
7361         (ada-mode-hook): Always load a project file when a file is opened,
7362         so that the casing exceptions are correctly read.
7363         (ada-operator-re): Add all missing operators ("abs", "rem", "**").
7364         (ada-parse-prj-file): Use find-file-noselect instead of find-file
7365         to open the project file, since the latter does not work with
7366         speedbar Get default values before loading the prj file, or the
7367         default executable file name is wrong.  Use the absolute value of
7368         src_dir to initialize ada-search-directories and
7369         compilation-search-path,...  Add the standard runtime library to
7370         the search path for find-file.
7371         (ada-prj-default-debugger): Was missing an opening '{'
7372         (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
7373         variables.
7374         (ada-prj-default-gnatmake-opt): New variable
7375         (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
7376         buffers, the project file is the default one Save the windows
7377         configuration before displaying the menu.
7378         (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
7379         (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
7380         ...)  regexp-quote identifiers names to support operators +,
7381         -,... in regexps.
7382         (ada-remote): New function.
7383         (ada-run-application): Erase the output buffer before starting the
7384         run Support remote execution of the application.  Use
7385         call-process, or the arguments are incorrectly parsed
7386         (ada-set-default-project-file): Reread the content of the active
7387         project file, not the one from the current buffer When a project
7388         file is set as the default project, all directories are
7389         automatically associated with it.
7390         (ada-set-environment): New function
7391         (ada-treat-cmd-string): New special variable ${current}
7392         (ada-treat-cmd-string): Revised.  The substitution is now done for
7393         any ${...} substring
7394         (ada-xref-current): If no body was found, compiles the spec
7395         instead.  Setup ADA_{SOURCE,OBJECTS}_PATH before running the
7396         compiler to get rid of command line length limitations.
7397         (ada-xref-get-project-field): New function
7398         (ada-xref-project-files): New variable
7399         (ada-xref-runtime-library-specs-path)
7400         (ada-xref-runtime-library-ali-path): New variables
7401         (ada-xref-set-default-prj-values): Default run command now does a
7402         cd to the build directory.  New field: main_unit Provide a default
7403         file name even if the current buffer has no prj file.
7405         * ada-prj.el:
7406         Rewritten to show a tabbed-dialog.
7407         (ada-prj-add-ada-menu): Remove the map and name parameters.
7408         (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
7409         New function
7410         (ada-prj-load-directory, ada-prj-subdirs-of): New functions
7411         (ada-prj-load-from-file): New function
7412         (ada-prj-save): Always save fields that depend on the current buffer
7413         (ada-prj-show-value): New function
7415         * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
7416         Ada mode. This will allow us to display the Ada menu in any buffer
7417         we want (for project items).
7418         (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
7419         number of spaces in the header.
7421 2000-07-24  Dave Love  <fx@gnu.org>
7423         * ediff-init.el (ediff-region-help-echo): Bind face-help.
7425 2000-07-23  Noah Friedman  <friedman@splode.com>
7427         * type-break.el (type-break): perform autosave.
7428         Suggested by Stephen Gildea <gildea@intouchsys.com>.
7429         (type-break-do-query): Cancel query schedule while performing
7430         actual query, to avoid possibility of a second query being made
7431         while first one is already in progress.
7432         (type-break-time-stamp-format): New variable.
7433         (type-break-time-stamp): New function.
7434         (type-break-time-warning): Use it.
7435         (type-break-keystroke-warning): Use it.
7436         (type-break-noninteractive-query): Use it.
7438         * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
7439         cookie.
7440         Use add-minor-mode to set minor-mode-alist, if available.
7441         (eldoc-echo-area-use-multiline-p): New user option.
7442         (eldoc-echo-area-multiline-supported-p): New variable.
7443         (eldoc-docstring-format-sym-doc): Use them.
7444         (eldoc-mode): If not using idle timers, append to local post and
7445         pre command hooks.  Suggested by David Byers <davby@ida.liu.se>.
7446         (eldoc-display-message-no-interference-p): Don't interfere with
7447         edebug.
7448         Add autoload cookie for eldoc-mode minor-mode-alist initialization.
7449         (eldoc-function-arglist): New function.
7450         (eldoc-function-argstring): Use it.
7452         * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
7453         auto save directory exists before calling directory-files.
7455 2000-07-23  Dave Love  <fx@gnu.org>
7457         * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
7458         ^o, ^u.
7460 2000-07-21  Dave Love  <fx@gnu.org>
7462         * ediff-init.el (ediff-region-help-echo): Modify to use overlay
7463         now passed to the function.  It now works properly.
7465         * smerge-mode.el (smerge-mode-menu): Fill it out.
7467 2000-07-20  Gerd Moellmann  <gerd@gnu.org>
7469         * info-look.el (info-lookup): If *info* is shown in another frame
7470         on the same display, select that frame, instead of switching to
7471         the Info buffer in another window of the selected frame.
7473         * simple.el (universal-argument-map): Bind numeric keypad keys
7474         kp-0 to kp-9 and kp-subtract.
7475         (digit-argument): Handle these keys.
7477 2000-07-20  Dave Love  <fx@gnu.org>
7479         * net/goto-addr.el (goto-address-fontify): Don't bother with
7480         buffer-modified and read-only stuff -- irrelevant with overlays.
7481         Put an extra property on the overlays and use it to clean up in
7482         case goto-address is re-run.
7484 2000-07-19  Richard M. Stallman  <rms@gnu.org>
7486         * timer.el (run-with-idle-timer): Doc fix.
7488         * mail/mail-utils.el (mail-strip-quoted-names):
7489         Handle case where <...> appears inside "...".
7490         Use replace-match to edit the string more simply.
7491         (rmail-dont-reply-to): Cope with an unmatched ".
7493 2000-07-19  Dave Love  <fx@gnu.org>
7495         * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
7496         implementation.
7498         * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
7499         (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
7500         (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
7502 2000-07-19  Gerd Moellmann  <gerd@gnu.org>
7504         * textmodes/refer.el: Correct maintainer's email address.
7506         * progmodes/hideif.el: Correct author's email address.
7507         Fix typo in comment.
7509         * xml.el: New file.
7511         * mail/mailheader.el: Correct author's mail address.
7513         * gnus/parse-time.el: Correct author's mail address.
7515 2000-07-19  Colin Walters <walters@cis.ohio-state.edu>
7517         * comint.el (comint-highlight-input, comint-highlight-face):
7518         New user options.
7519         (comint-input-ring-file-name): Change custom type.
7520         (comint-mode-map): Bind mouse-2.
7521         (comint-insert-clicked-input): New function.
7522         (comint-send-input): Handle input highlighting.
7524 2000-07-18  Stefan Monnier  <monnier@cs.yale.edu>
7526         * mouse.el (popup-menu): New function.
7527         (mouse-major-mode-menu): Use it.
7529 2000-07-18  Dave Love  <fx@gnu.org>
7531         * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
7532         improvements.
7534 2000-07-18  Gerd Moellmann  <gerd@gnu.org>
7536         * faces.el (face-font-selection-order)
7537         (face-font-family-alternatives): Add custom type.
7539 2000-07-18  Dave Love  <fx@gnu.org>
7541         * cus-edit.el (custom-variable-reset-saved)
7542         (custom-variable-reset-standard): Remove unused bindings.
7544         * rect.el (open-rectangle-line): Remove unused let.
7546         * hl-line.el (hl-line-highlight): Check hl-line-mode.
7548 2000-07-18  Gerd Moellmann  <gerd@gnu.org>
7550         * cdl.el: Fix `Maintainer' keyword.
7552         * play/pong.el: Add author's email address.
7554 2000-07-17  Sam Steingold  <sds@gnu.org>
7556         * files.el (insert-directory): Call `split-string' instead of
7557         re-implementing it.
7559 2000-07-18  Gerd Moellmann  <gerd@gnu.org>
7561         * mail/vms-pmail.el: Change maintainer to FSF.
7563         * net/goto-addr.el: Change maintainer to FSF.
7565         * recentf.el: Update from author.
7567         * info.el (Info-title-face-alist): Removed.
7569 2000-07-18  Eli Zaretskii  <eliz@is.elta.co.il>
7571         * eshell/eshell.el (eshell): Replace links to eshell.info with
7572         links to eshell, to avoid problems on systems where the manual is
7573         installed as `eshell'.
7574         * eshell/esh-cmd.el (eshell-cmd): Ditto.
7575         * eshell/em-smart.el (eshell-smart): Ditto.
7576         * eshell/em-banner.el (eshell-banner): Ditto.
7577         * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
7579         * eshell/em-unix.el (eshell-shuffle-files): Don't disable
7580         same-file check in the MS-DOS version (it does support inodes).
7582         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
7584         * eshell/eshell.el (eshell-directory-name):
7585         Run default directory name through convert-standard-filename.
7587 2000-07-18  Kenichi Handa  <handa@etl.go.jp>
7589         * international/mule-cmds.el (select-safe-coding-system):
7590         Fix typo in the comment.
7592         * language/european.el (compound-text):
7593         Force katakana-jisx0201 to be designated to G1.
7595         * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
7596         Don't translate some national variant characters of latin-jisx0201.
7597         (x-ctext): Force katakana-jisx0201 to be designated to G1.
7599         * international/kkc.el (kkc-after-update-conversion-functions):
7600         New variable.
7601         (kkc-update-conversion): Run functions in it at the tail.
7603 2000-07-16  John Wiegley  <johnw@gnu.org>
7605         * lisp/align.el (align-newline-and-indent):
7606         Adding new function.  for auto-aligning blocks of code on RET.
7607         (align-region): Fixed badly formatted minibuffer message.
7609 2000-07-17  Kenichi Handa  <handa@etl.go.jp>
7611         * international/kkc.el (kkc-show-conversion-list-count): Customize it.
7612         (kkc-region): Update kkc-next-count and kkc-prev-count here.  Show
7613         the conversion list at first if appropriate.
7614         (kkc-next): Don't update kkc-next-count here.
7615         (kkc-prev): Don't update kkc-prev-count here.
7616         (kkc-show-conversion-list-update): Fix setting up of conversion
7617         list message.
7619 2000-07-16  Stefan Monnier  <monnier@cs.yale.edu>
7621         * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
7623 2000-07-16  Dave Love  <fx@gnu.org>
7625         * cus-edit.el (custom-buffer-create-internal): Use a help-echo
7626         function to be more specific.
7628         * wid-edit.el (widget-specify-field, widget-specify-button): Allow
7629         non-string help-echo.
7630         (widget-types-convert-widget): Defsubst it.
7631         (widget-echo-help): Try to cope with a help-echo function of two
7632         possible sorts.
7634 2000-07-15  Jason Rumney  <jasonr@gnu.org>
7636         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
7637         Declare as obsolete.
7639         * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
7641 2000-07-14  Gerd Moellmann  <gerd@gnu.org>
7643         * hilit-chg.el: Fix typo.
7645 2000-07-14  Dave Love  <fx@gnu.org>
7647         * info.el (Info-mode-menu): Fix use of :help, :enable.
7649 2000-07-14  Stefan Monnier  <monnier@cs.yale.edu>
7651         * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
7653 2000-07-13  Dave Love  <fx@gnu.org>
7655         * emacs-lisp/easymenu.el: Doc fixes.
7656         (easy-menu-remove): Defalias to ignore.
7658         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
7659         Call throw correctly.
7661 2000-07-13  Gerd Moellmann  <gerd@gnu.org>
7663         * faces.el (frame-background-mode): Doc fix.
7665         * simple.el (eval-expression-print-length): Change custom type to
7666         allow entering nil as value.
7668 2000-07-13  Dave Love  <fx@gnu.org>
7670         * progmodes/fortran.el (fortran-imenu-generic-expression):
7671         Change definition layout.
7672         (fortran-mode-menu): Reinstate customize entries.
7674         * cus-edit.el (custom-group-menu-create, customize-menu-create):
7675         Use :filter, per old XEmacs code.
7677 2000-07-12  Gerd Moellmann  <gerd@gnu.org>
7679         * term.el (term-send-raw-meta): Strip modifiers from the keyboard
7680         event when deciding what to send to the terminal.
7682 2000-07-12  Dave Love  <fx@gnu.org>
7684         * cus-start.el: Add optional version as 4th element of specs and
7685         use it for several things new in v21.  Remove load-path.  Fix type
7686         of line-number-display-limit.
7688 2000-07-11  Dave Love  <fx@gnu.org>
7690         * progmodes/fortran.el: Don't require easymenu.
7691         Use repeat counts in various regexps.
7692         (fortran-mode-syntax-table): Defvar directly.
7693         (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
7694         (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
7695         Use defvar, not defconst.
7696         (fortran-mode-map): Change locals in `let'.  Use `fortran-auto-fill'.
7697         (fortran-mode): Set fortran-comment-line-start-skip,
7698         fortran-comment-line-start-skip, dabbrev-case-fold-search.
7699         (fortran-comment-indent): Use defsubst.
7700         (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
7701         Use fortran-comment-indent, not fortran-comment-indent-function.
7702         (fortran-comment-region, fortran-electric-line-number): Simplify.
7703         (fortran-auto-fill): New function.
7704         (fortran-do-auto-fill): Deleted.
7705         (fortran-find-comment-start-skip):
7706         Check for non-null comment-start-skip.
7707         (fortran-auto-fill-mode, fortran-fill-statement):
7708         Use fortran-auto-fill.
7709         (fortran-fill): Use fortran-auto-fill.  Check for null
7710         comment-start-skip.  Simplify final clause and use end-of-line finally.
7712         * widget.el (widget-plist-member): New alias.
7714 2000-07-11  Eli Zaretskii  <eliz@is.elta.co.il>
7716         * eshell/esh-module.el (toplevel): Reference
7717         byte-compile-current-file only if it is bound.
7719 2000-07-10  Gerd Moellmann  <gerd@gnu.org>
7721         * dired.el: Don't require `dired-aux'.
7723 2000-07-10  Miles Bader  <miles@lsi.nec.co.jp>
7725         * dired-aux.el (dired-show-file-type): New function.
7726         * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
7727         (dired-show-file-type): Add autoload.
7729 2000-07-10  Kenichi Handa  <handa@etl.go.jp>
7731         * international/mule-diag.el (describe-font): Adjusted for the
7732         change of fontset-info.
7733         (print-fontset): Likewise.
7735 2000-07-09  Stefan Monnier  <monnier@cs.yale.edu>
7737         * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
7739 2000-07-07  Gerd Moellmann  <gerd@gnu.org>
7741         * bindings.el: Bind `[delete]' to delete-char.
7743         * dired.el (dired-find-alternate-file): New function.
7744         (dired-mode-map): Bind `a' to dired-find-alternate-file.
7745         (toplevel): Require dired-aux when compiling.
7746         (dired-buffers): Move defvar within file to avoid compiler warning.
7748         * info.el (Info-last-search): Variable removed.
7749         (Info-search-history): New variable.
7750         (Info-search): New Info-search-history.
7752         * battery.el, info-look.el: Change author's mail address.
7754 2000-07-07  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
7756         * mail/rmail.el (rmail-clear-headers): Don't throw an error
7757         if rmail-ignored-headers is nil.
7758         (rmail-retry-failure): Bind rmail-ignored-headers and
7759         rmail-displayed-headers to nil.
7761 2000-07-06  Gerd Moellmann  <gerd@gnu.org>
7763         * lpr.el (lpr-page-header-switches): Add `-h' switch.
7764         (print-region-1): Don't hard code `-h' here.
7766         * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
7768 2000-07-01  Francesco Potorti`  <pot@gnu.org>
7770         * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
7771         exim can use "your message" instead of "the message".
7773 2000-07-06  Stefan Monnier  <monnier@cs.yale.edu>
7775         * facemenu.el: Docstrings fixes.
7776         (facemenu-get-face): Don't use internal-find-face.
7777         (facemenu-iterate): Rename arg to match the docstring.
7779         * newcomment.el (uncomment-region): Be more careful when skipping
7780         backwards over `=' not to bump into BOBP.
7782 2000-07-05  Michael Kifer  <kifer@cs.sunysb.edu>
7784         * ediff-diff.el (ediff-wordify): Use syntax table.
7785         * ediff-init.el (ediff-has-face-support-p): Use
7786         ediff-color-display-p.
7787         (ediff-color-display-p): Use display-color-p, changed to defun
7788         from defsubst.
7789         Got rid of special cases for NeXT and OS/2.
7790         * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
7791         face.
7793 2000-07-05  Stefan Monnier  <monnier@cs.yale.edu>
7795         * emacs-lisp/lucid.el: Require CL.
7796         (copy-tree, remprop): Remove, it's provided by CL.
7797         (map-keymap): Define in terms of cl-map-keymap.
7798         (extent-property, set-extent-end-glyph): New functions.
7800         * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
7802 2000-07-05  Gerd Moellmann  <gerd@gnu.org>
7804         * Makefile.in (DONTCOMPILE): Add comment that the name may
7805         not be changed without changing the make-dist script.
7807         * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
7808         (cl-mapc): Use mapc instead of cl-old-mapc.
7810 2000-07-05  Andrew Innes  <andrewi@gnu.org>
7812         * makefile.nt: Add support for `bootstrap' and related targets.
7814 2000-07-05  Stefan Monnier  <monnier@cs.yale.edu>
7816         * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
7817         (easy-menu-do-define): Use `menu-item' format.
7818         Handle case where easy-menu-create-menu returns a symbol.
7819         Manually call the potential top-level filter in the function binding.
7820         (easy-menu-filter-return): New arg NAME.
7821         Convert to a keymap if MENU is an XEmacs menu.
7822         (easy-menu-convert-item-1): New.  Extracted from easy-menu-do-add-item.
7823         (easy-menu-converted-items-table, easy-menu-convert-item):
7824         New var and fun to memoize easy-menu-convert-item-1.
7825         (easy-menu-do-add-item): Use it.
7826         (easy-menu-create-menu): Use easy-menu-convert-item.
7827         Wrap easy-menu-filter-return around any :filter specification.
7828         Don't convert the menu if a filter was specified.
7829         Tell easy-menu-make-symbol not to check for MENU being an expression.
7830         (easy-menu-make-symbol): New arg NOEXP.
7832 2000-07-05  Gerd Moellmann  <gerd@gnu.org>
7834         * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
7835         EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
7836         (eval-defun): If called with prefix arg, instrument code for
7837         Edebug.
7839         * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
7840         similar to that of eval-defun.
7842 2000-07-04  Dave Love  <fx@gnu.org>
7844         * hl-line.el (hl-line-overlay): Make it permanent-local.
7846         * calendar/todo-mode.el: Replaced with a working version, based on
7847         1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
7849 2000-07-03  Miles Bader  <miles@lsi.nec.co.jp>
7851         * paths.el (prune-directory-list): New function.
7852         (Info-default-directory-list): Rewritten to more methodically
7853         enumerate a big list of possible info directories (based on the
7854         list used by the standalone info reader).
7856         * info.el (info-initialize): Use prune-directory-list to remove
7857         non-existent directories from Info-directory-list.
7859         * paths.el (Info-default-directory-list): Try a list of possible
7860         info-directories instead of a single one.  Add the possible
7861         info directory "/usr/share/info".
7863         * woman.el (woman-man.conf-path): Explicitly include the debian
7864         man-db config file "/etc/manpath.config".
7865         (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
7866         are present in `manpath.config'.
7867         (woman-manpath): Include "/usr/share/man".
7869 2000-07-03  Gerd Moellmann  <gerd@gnu.org>
7871         * frame.el (blink-cursor-mode): Don't hide cursor initially.
7873         * startup.el (command-line): Initialize blink-cursor based
7874         on window-system.
7876         * frame.el (blink-cursor): Default to nil if not running under
7877         a window-system.
7879         * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
7880         (face-x-resources): Remove duplicate entry for :font.
7882         * textmodes/refer.el (refer-find-entry-internal): Use some-window
7883         instead of cycling through windows with next-window.
7885         * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
7886         of cycling through windows with next-window.
7888         * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
7889         of cycling through windows with next-window.
7891         * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
7892         (edebug-get-displayed-buffer-points): Use walk-windows/some-window
7893         instead of cycling through windows with next-window.
7895         * calendar/appt.el (appt-select-lowest-window): Use walk-windows
7896         instead of cycling through windows with next-window.
7898         * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
7899         of cycling through windows with next-window.
7901         * terminal.el (te-process-output): Use walk-windows instead of
7902         cycling through windows with next-window.
7904         * server.el (server-switch-buffer): Use some-window instead of
7905         cycling through windows with next-window.
7907         * window.el (some-window): New function.
7908         (walk-windows): Remove reference to walk-windows-start.
7910         * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
7912 2000-07-03  Richard Stallman  <rms@gnu.org>
7914         * window.el (walk-windows): Guarantee termination by keeping a list
7915         of all the windows already handled.
7917 2000-06-28  Eli Zaretskii  <eliz@is.elta.co.il>
7919         * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
7920         window-system.
7922         * man.el (Man-notify-when-ready): Don't use window-system.  If
7923         Man-notify-method is newframe, and the display is not
7924         multi-frame, select the frame created for the man page.
7925         (Man-init-defvars): Doc fix.
7927 2000-06-28  Gerd Moellmann  <gerd@gnu.org>
7929         * faces.el (region): Change background color for light background.
7931         * ediff-wind.el (ediff-setup-control-frame): Remove :box
7932         attribute from mode-line face of Ediff control frame.
7934         * replace.el (query-replace-map): Bind `e' like `E'.
7936 2000-06-28  Eli Zaretskii  <eliz@is.elta.co.il>
7938         * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
7939         Change name to "Select All".
7941         * dos-fns.el (convert-standard-filename): Fix last change.
7943 2000-06-27  Gerd Moellmann  <gerd@gnu.org>
7945         * help.el (describe-variable): Don't insert a second `'s' in front
7946         of the string `value is shown below'.  Since the syntax-table is
7947         set to emacs-lisp-mode-syntax-table, forward-sexp skips over
7948         an existing `'s', so that this won't be deleted.
7950         * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
7951         * pcmpl-unix.el: New files.
7953 2000-06-26  Stefan Monnier  <monnier@cs.yale.edu>
7955         * wid-edit.el (widget-member): Use the new plist-member.
7957 2000-06-26  Gerd Moellmann  <gerd@gnu.org>
7959         * replace.el (perform-replace): Undo change of 2000-04-04.
7960         Instead, move backward 1 character at the end of the loop when
7961         necessary.
7963         * faces.el (fringe): Change face for different backgrounds.
7965         * eshell/esh-module.el (toplevel): Load defgroup's differently;
7966         patch from John.
7968         * eshell/*.el: Change spelling of the Free Software Foundation.
7970         * eshell/esh-toggle.el: Removed.
7972         * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
7974         * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
7975         interactively.
7977 2000-06-26  Alex Schroeder  <alex@gnu.org>
7979         * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
7980         `define-key'; instead of checking `(emacs-version)' check for
7981         `set-keymap-parent' and `set-keymap-name' directly.  Add entries
7982         for `;' and `o' which might be electric.
7984         (sql-electric-stuff): New user option.
7985         (sql-magic-go): New function which uses `sql-electric-stuff'.
7986         (sql-magic-semicolon): New function which uses
7987         `sql-electric-stuff'.
7989         (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
7990         is not fboundp.
7992         (sql-oracle-options): New variable.
7993         (sql-oracle): Use it.
7995         (sql-imenu-generic-expression): Doc change.
7996         (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
7997         is used.
7999         (sql-informix): Added command line parameter "-" to force
8000         sql-informix-program to use stdout.
8002 2000-06-25  Eli Zaretskii  <eliz@is.elta.co.il>
8004         * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
8005         (cp864-decode-table): Doc fix.
8006         (cp720-decode-table): New variable, supports the Arabic OEM
8007         codepage used by Windows.
8008         (cp737-decode-table): New, Greek OEM codepage used by Windows.
8010 2000-06-23  Dave Love  <fx@gnu.org>
8012         * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
8013         (font-lock-fontify-anchored-keywords): Use
8014         line-beginning-position.
8015         (global-font-lock-mode): Use mapc.
8017 2000-06-23  Stefan Monnier  <monnier@cs.yale.edu>
8019         * eshell/esh-module.el: Require CL when compiling.
8021 2000-06-23  Gerd Moellmann  <gerd@gnu.org>
8023         * comint.el (comint-substitute-in-file-name): Call replace-match
8024         with second and third arg t.
8026         * cus-edit.el (custom-button-face, custom-button-pressed-face):
8027         Specify foreground color.
8029         * faces.el (tool-bar, mode-line, header-line): Specify foreground
8030         color.
8032         * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
8034         * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
8035         cddr instead of cdddr.
8037         * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
8038         instead of copy-list.
8040         * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
8041         of copy-list.
8043         * subdirs.el: Add eshell subdirectory.
8045         * eshell: New subdirectory containing the Eshell package.
8047         * pcomplete.el: New file.
8049 2000-06-23  Paul Eggert  <eggert@twinsun.com>
8051         * mail/mailpost.el (post-mail-send-it): Make sure file has
8052         proper permissions from birth.
8054         * files.el (basic-save-buffer-2): When temporarily setting
8055         file modes, set them to current modes plus 0200, not to 0777.
8057         * emerge.el (emerge-make-temp-file): Make sure file has proper
8058         permissions from birth.
8060 2000-06-22  Eli Zaretskii  <eliz@is.elta.co.il>
8062         * files.el (make-backup-file-name-1): On DOS/Windows, run the
8063         backup file name through convert-standard-filename.
8065         * dos-fns.el (convert-standard-filename): Convert leading
8066         directories as well.  When long file names are supported, convert
8067         characters that are invalid in Windows file names.
8069 2000-06-22  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
8071         * ps-print.el: Fix bug: if ^L is the very first buffer character,
8072         ps-print crashes.  New feature: page selection for printing.  Create
8073         raw-text-unix coding system for XEmacs.  Doc fix.
8074         (ps-print-version): New version number (5.2.3).
8075         (ps-plot-region): Bug fix.
8076         (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
8077         (ps-header-sheet, ps-generate, ps-end-job): Code fix.
8078         (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
8079         funs.
8080         (ps-selected-pages, ps-last-selected-pages, ps-first-page)
8081         (ps-last-page): New vars.
8083 2000-06-21  Gerd Moellmann  <gerd@gnu.org>
8085         * progmodes/sh-script.el (sh-while-getopts): Fix handling of
8086         empty option string.
8088 2000-06-21  Eli Zaretskii  <eliz@is.elta.co.il>
8090         * man.el (man): Doc fix.
8092 2000-06-21  Kenichi Handa  <handa@etl.go.jp>
8094         * international/mule-cmds.el (set-language-info-alist): Docstring
8095         fixed.
8097 2000-06-20  Gerd Moellmann  <gerd@gnu.org>
8099         * version.el (emacs-version): Use ISO date format.
8101         * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
8102         instead of `M-backspace'.
8104         * simple.el (turn-off-auto-fill): New function.
8106 2000-06-20  Stefan Monnier  <monnier@cs.yale.edu>
8108         * jit-lock.el (with-buffer-prepared-for-jit-lock):
8109         Renamed from with-buffer-prepared-for-font-lock and use
8110         inhibit-modification-hooks rather than setting *-change-functions.
8111         Update all functions to use the new name.
8112         (jit-lock-first-unfontify-pos): New semantics (and doc).
8113         (jit-lock-mode): Make non-interactive.
8114         Don't automatically turn on font-lock.
8115         Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
8116         Always use jit-lock-after-change.
8117         Remove and restore font-lock-after-change-function.
8118         (turn-on-jit-lock, jit-lock-after-fontify-buffer)
8119         (jit-lock-after-unfontify-buffer): Remove.
8120         (jit-lock-stealth-fontify):
8121         Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
8122         (jit-lock-after-change): Set the `fontified' text-prop to nil.
8124 2000-06-20  Sam Steingold  <sds@gnu.org>
8126         * emacs-lisp/cl-indent.el (toplevel): Indent
8127         `print-unreadable-object' properly.  Untabify.
8129 2000-06-14  Carsten Dominik  <dominik@strw.leidenuniv.nl>
8131         * textmodes/reftex.el (reftex-find-citation-regexp-format):
8132         Support for bibentry.
8133         (reftex-compile-variables): Fixed problem with end of section-re.
8135         * texmodes/reftex-dcr.el (reftex-view-crossref,
8136         reftex-view-crossref-from-bibtex):
8137         Deal with changed `reftex-find-citation-regexp-format'.
8138         (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
8139         Replaced `remprop' with `put'.
8140         (reftex-view-crossref, reftex-view-crossref-when-idle):
8141         Support for bibentry.
8143         * textmodes/reftex-vars.el (reftex-cite-format-builtin):
8144         New entry for bibentry package.
8146         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
8147         Regexp also matches "\nobibliography".
8149         * textmodes/reftex-global.el (reftex-renumber-simple-labels):
8150         Call `reftex-ensure-write-access' before doing anything.
8151         (reftex-ensure-write-access): New function.
8153 2000-06-14  Carsten Dominik  <dominik@strw.leidenuniv.nl>
8155         * progmodes/idlwave.el: File re-installed (update to version 4.2)
8157         * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
8159         * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
8161         * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
8164 2000-06-20  Dave Love  <fx@gnu.org>
8166         * faces.el (frame-background-mode): Use set-default, not set, in
8167         setter.
8168         (frame-update-faces, frame-update-face-colors): Define with
8169         defalias.
8171         * enriched.el (enriched-decode-foreground)
8172         (enriched-decode-background): Don't use internal-find-face.
8174         * apropos.el: Doc fixes.
8176         * cus-edit.el (customize-changed-options): Check arg.
8177         (customize-version-lessp): Don't require decimal point.
8179         * custom.el (defcustom, defgroup): Doc fix.
8181         * newcomment.el (comment) <defgroup>: Add :version.
8182         (comment-multi-line): Doc fix.
8184         * emulation/mlsupport.el (define-hooked-local-abbrev,
8185         define-hooked-global-abbrev): Fix, using define-abbrev.
8187 2000-06-19  Gerd Moellmann  <gerd@gnu.org>
8189         * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
8190         the whole buffer.
8192 2000-06-19  Dave Love  <fx@gnu.org>
8194         * menu-bar.el (menu-bar-options-save): New function.
8195         (menu-bar-options-menu): Use it.
8196         (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
8197         Simplify.
8199 2000-06-19  Andreas Schwab  <schwab@suse.de>
8201         * progmodes/etags.el (tags-query-replace): Put new parameters
8202         START and END at the end, for backward compatibility.
8204 2000-06-19  Kenichi Handa  <handa@etl.go.jp>
8206         * international/codepage.el:
8207         (cp-coding-system-for-codepage-1): Delete special codes for
8208         generating xxx-dos coding system because now a CCL based coding
8209         system can handle EOL conversion by default.
8211         * international/mule.el (make-coding-system): Generate subsidiary
8212         coding systems for EOL handling variants even for a CCL based
8213         coding system.
8215 2000-06-19  Kenichi Handa  <handa@etl.go.jp>
8217         * international/isearch-x.el (isearch-minibuffer-input-method)
8218         (isearch-minibuffer-input-method-function): These variables
8219         deleted.
8220         (isearch-with-input-method): Don't use the above variables.
8221         (isearch-process-search-multibyte-characters): Likewise.  Call
8222         read-string with the arg INHERIT-INPUT-METHOD t.
8224 2000-06-17  Stefan Monnier  <monnier@cs.yale.edu>
8226         * font-lock.el (font-lock-after-fontify-buffer)
8227         (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
8229         * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
8230         Use consistent make-local-variable style for font-lock-fontified.
8231         (jit-lock-fontify-buffer):
8232         Don't bother checking for font-lock-mode and jit-lock-mode.
8234         * time.el: Remove trailing ^M that prevent CVS-merging.
8236 2000-06-16  Gerd Moellmann  <gerd@gnu.org>
8238         * Makefile.in (distclean): New target.
8240 2000-06-16  Stefan Monnier  <monnier@cs.yale.edu>
8242         * Makefile.in (srcdir): Define for update-subdirs.
8244 2000-06-16  Gerd Moellmann  <gerd@gnu.org>
8246         * find-lisp.el: New file.
8248 2000-06-16  Andrew Innes  <andrewi@gnu.org>
8250         * time.el (display-time-mail-function): New variable, to allow
8251         external packages to indicate when new mail is available.
8252         (display-time-update): Use it.
8254 2000-06-16  Kenichi Handa  <handa@etl.go.jp>
8256         * international/mule.el (mule-version): Change version name to
8257         SAKAKI.  AOI has already been used by Meadow.
8259         * international/quail.el (quail-show-guidance-buf): To find the
8260         bottom window (but minibuffer), pay attention to the height of
8261         minibuffer.
8263 2000-06-15  Eli Zaretskii  <eliz@is.elta.co.il>
8265         * arc-mode.el (archive-mode-map): Use the new menu-item format for
8266         menu-bar menus.  Add help strings.  Don't remove the Edit menu
8267         from the menu bar, as the menu bar has enough space now.
8269         * Makefile.in (SHELL): Make sure /bin/sh is used.
8271         * woman.el (woman-man-buffer): Fix bold and underlined CJK
8272         characters, which use series of two ^H characters instead of one.
8274 2000-06-15  Gerd Moellmann  <gerd@gnu.org>
8276         * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
8277         (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
8278         functions.
8279         (Info-find-node-2): Try a case-sensitive search first, then
8280         do a case-insensitive search.
8282         * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
8283         tutorials.
8285         * complete.el (PC-env-vars-alist): New variable.
8286         (PC-complete-as-file-name): New function.
8287         (partial-completion-mode): Initialize PC-env-vars-alist from
8288         process-environment.
8289         (PC-do-completion): Handle completion of env vars.
8291         * info.el (Info-set-mode-line): Show file name in mode line,
8292         use `*Info*' instead of `Info:'.
8294         * startup.el (command-line-1): Change copyright messages to year
8295         2000.
8297 2000-06-15  Dave Love  <fx@gnu.org>
8299         * net/goto-addr.el (goto-address-fontify): Use keymap property,
8300         not local-map.
8302 2000-06-15  Kenichi Handa  <handa@etl.go.jp>
8304         * international/mule.el (set-buffer-file-coding-system): Almost
8305         rewritten to handle `undecided' as no-op.
8307 2000-06-14  Gerd Moellmann  <gerd@gnu.org>
8309         * Makefile.in: New file.
8311         * Makefile: Removed.
8313         * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
8314         (goto-address-highlight-keymap): Bind C-c RET.
8316 2000-06-14  Kenichi Handa  <handa@etl.go.jp>
8318         * mail/sendmail.el (sendmail-send-it): The temporary buffer
8319         inherits buffer-file-coding-system of the current buffer.
8321         * tar-mode.el (tar-extract): For goto-char, use (point-min), not
8322         0.  Give correct argument to set-auto-coding-function.
8323         (tar-expunge): For goto-char, use (point-min), not 0.
8324         (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
8325         (tar-subfile-save-buffer): Likewize.
8327         * international/mule.el
8328         (after-insert-file-set-buffer-file-coding-system): Call
8329         set-buffer-file-coding-system with the arg FORCE t.
8331 2000-06-13  Gerd Moellmann  <gerd@gnu.org>
8333         * mail/sendmail.el (mail-specify-envelope-from): Initialize to
8334         nil.  Contemporary sendmails issue an X-Authentication-Warning if
8335         the sender is set with `-f'.
8337 2000-06-13  Dave Love  <fx@gnu.org>
8339         * help.el (describe-function-1): Kluge around cases of functions
8340         fset to subrs whose doc doesn't match their symbol-name.
8342         * image.el (insert-image): Default STRING to a space.
8344         * info.el Doc fixes.
8345         (Info-build-node-completions): Match Ref tags.
8347 2000-06-13  Eli Zaretskii <eliz@is.elta.co.il>
8349         * frame.el (display-multi-frame-p, display-multi-font-p): New
8350         defaliases for display-graphic-p.
8352         * hl-line.el: Fixed a typo in commentary.
8354 2000-06-13  Kenichi Handa  <handa@etl.go.jp>
8356         * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
8357         fixed.
8359 2000-06-12  Dave Love  <fx@gnu.org>
8361         * image.el (insert-image): Save a little consing.
8363 2000-06-12  Kenichi Handa  <handa@etl.go.jp>
8365         * language/tibet-util.el: Convert all tibetan-1-column characters
8366         to the corresponding tibetan characters.
8367         (tibetan-add-components): Delete code for the special treatment of
8368         'a chung.
8370         * language/tibetan.el (tibetan-composable-pattern): Fix previous
8371         change.
8372         (tibetan-vowel-transcription-alist): More rules added.
8373         (tibetan-composite-vowel-alist): New variable.
8374         (tibetan-precomposition-rule-alist): More rules added.
8376 2000-06-12  Stefan Monnier  <monnier@cs.yale.edu>
8378         * startup.el (command-line): Only call menu-bar-mode if interactive.
8380         * thingatpt.el (toplevel symbol-properties):
8381         * textmodes/makeinfo.el (makeinfo-compile):
8382         * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
8383         * progmodes/hideif.el (hif-compress-define-list)
8384         (hide-ifdef-use-define-alist):
8385         * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
8386         (ange-ftp-vms-add-file-entry):
8387         * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
8388         * man.el (Man-build-man-command):
8389         * mail/rnewspost.el (news-reply-header-hook):
8390         * info.el (Info-insert-dir):
8391         * emulation/mlconvert.el (backward-word, forward-word, setq):
8392         * emacs-lisp/gulp.el (gulp-send-requests):
8393         * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
8394         (byte-optimize-inline-handler, byte-optimize-form-code-walker)
8395         (byte-optimize-apply, end of file):
8396         * emacs-lisp/advice.el (ad-advice-class-completion-table)
8397         (ad-make-freeze-definition):
8398         * startup.el (command-line, command-line-1): Don't quote lambdas.
8400         * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
8401         (cvs-cleanup-removed): New function.
8402         (cvs-cleanup-functions): New var.
8403         (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
8404         some flexibility in specifying additional entries to auto-cleanup.
8405         (cvs-quickdir): New function.
8406         (cvs-mode-insert): Use cvs-fileinfo-from-entries.
8407         (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
8408         (cvs-mode-find-file): Check that we are on a filename or dirname
8409         when invoked through a mouse-click.
8410         (cvs-full-path): Remove.
8411         (cvs-dired-action): Re-introduced.
8412         (cvs-dired-noselect): Use it.
8413         (vc-post-command-functions): use this new hook if available.
8415         * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
8416         (cvs-status-map): Don't inherit from cvs-mode-map anymore.
8417         (cvs-filename-map, cvs-dirname-map): Remove.
8418         (cvs-default-action): Remove.
8419         (cvs-add-face): Use `keymap' rather than `local-map' property, and only
8420         if the arg is really a keymap.
8421         (cvs-fileinfo-pp): Don't use any special map for file and dir names.
8422         Don't hardcode the mapping from state (aka type) to face, but check
8423         the var cvs-fi-<type>-face instead.
8424         (cvs-fileinfo-from-entries): New function.
8426         * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
8427         Docstring fix.
8428         (cvs-find-file-and-jump): Change default to be safer.
8429         (cvs-mode-diff-map): Define it as a function as well.
8430         (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
8431         Bind mouse-2 in this global map rather than with text-properties.
8433         * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
8434         file to resolve the ambiguity between C(conflict) and C(need-merge).
8436 2000-06-12  Kenichi Handa  <handa@etl.go.jp>
8438         * international/mule.el (set-buffer-file-coding-system): If
8439         CODING-SYSTEM is nil, set buffer-file-coding-system to nil
8440         unconditionally.
8442 2000-06-12  Dave Love  <fx@gnu.org>
8444         * wid-edit.el (widget-specify-button): Really suppress the face if
8445         required.
8447 2000-06-11  Gerd Moellmann  <gerd@gnu.org>
8449         * term/x-win.el (x-colors): Add colors from recent rgb.txt.
8451 2000-06-11  Stefan Monnier  <monnier@cs.yale.edu>
8453         * imenu.el (imenu-generic-expression): Docstring fix.
8455         * composite.el (composition-function-table): Move the `put'
8456         below the autoload cookie so we can load the file before loaddefs.
8458         * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
8460         * emacs-lisp/autoload.el (make-autoload): Use `cond'.
8461         Handle easy-mmode-define-global-mode.
8462         For complex macros like define-minor-mode that can generate
8463         several autoload entries, try to autoload entries in the
8464         macroexpanded code.
8466         * emacs-lisp/easy-mmode.el (define-minor-mode):
8467         If KEYMAP is a symbol, just use it.
8468         Use byte-compile-current-file and load-file-name to infer the
8469         proper :require to pass to defcustom.
8470         Wrap the hook var into `progn' so as not to autoload it.
8471         Add a :autoload-end cookie.
8472         Be more careful about the evaluation of KEYMAP.
8473         (easy-mmode-define-global-mode): Add a :autoload-end cookie.
8474         (define-derived-mode): Move define-abbrev-table outside of defvar.
8476 2000-06-10  Stefan Monnier  <monnier@cs.yale.edu>
8478         * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
8479         (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
8480         (backup-compiled-files): Ignore errors during `tar'.
8481         (bootstrap): Make autoloads before elc files.
8483 2000-06-10  Kenichi Handa  <handa@etl.go.jp>
8485         * international/mule.el (set-buffer-file-coding-system): If one of
8486         undecided-XXX is specified, change only EOL conversion.
8488         * international/mule-conf.el (unix): New alias for the coding
8489         system undecided-unix.
8491 2000-06-09  Dave Love  <fx@gnu.org>
8493         * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
8495         * progmodes/executable.el: Byte compile dynamic.
8496         (executable-insert): Change custom type.
8497         (executable-find): Add autoload cookie.
8498         (executable-make-buffer-file-executable-if-script-p): New
8499         function.  After Noah Friedman.
8501         * files.el (after-save-hook): Customize, with
8502         executable-make-buffer-file-executable-if-script-p as an option.
8504 2000-06-09  Kenichi Handa  <handa@etl.go.jp>
8506         * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
8507         "tib24p-mule.bdf" for Tibetan.
8509         * composite.el (decompose-composite-char): Declare it as obsolete.
8511         * man.el (Man-fontify-manpage): Pay attention to underline and
8512         overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
8514 2000-06-08  Gerd Moellmann  <gerd@gnu.org>
8516         * thingatpt.el (forward-thing): Use functionp instead of fboundp.
8517         Set maintainer to FSF since author isn't reachable.
8519 2000-06-08  Dave Love  <fx@gnu.org>
8521         * international/mule-cmds.el (select-safe-coding-system): If
8522         DEFAULT-CODING-SYSTEM is not specified, also check the most
8523         preferred coding-system if buffer-file-coding-system is
8524         `undecided'.  From Handa.
8526 2000-06-08  Kenichi Handa  <handa@etl.go.jp>
8528         * international/mule.el
8529         (after-insert-file-set-buffer-file-coding-system): If the buffer
8530         size is greater than INSERTED, judget that we are not visiting.
8532 2000-06-07  Rajesh Vaidheeswarran  <rv@gnu.org>
8534         * whitespace.el (defgroup whitespace): Comment out `:version'.
8535         XEmacs 20.4 has problems defining the group with this present.
8536         We'll have this commented out till get resolve the problem.
8538 2000-06-07  Gerd Moellmann  <gerd@gnu.org>
8540         * align.el: Update from author.
8542 2000-06-07  Jari Aalto  <jari.aalto@poboxes.com>
8544         * apropos.el (apropos-mode-hook): New user variable.
8545         (apropos-mode): Run apropos-mode-hook.
8547 2000-06-07  David Ponce  <david@dponce.com>
8549         * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
8550         commands.  Require `wid-edit' at run-time.
8552 2000-06-07  David Ponce  <david@dponce.com>
8554         * recentf.el: Added some "Commentary".
8555         (recentf-open-more-files, recentf-edit-list): Minor changes to
8556         move the point at the top of the file list.  This behaviour is
8557         consistent with the menu one when the list contains a lot of
8558         files.
8559         (recentf-cleanup): Now displays the number of items removed from
8560         the list.
8561         (recentf-relative-filter) New menu filter to show filenames
8562         relative to `default-directory'.
8564 2000-06-07  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
8566         * ps-print.el: XEmacs compatibility.  Doc fix.  Can select page size
8567         with/without giving an error if PostScript printer doesn't have this
8568         kind of page size.  Zebra Stripe continues or restarts on next page.
8569         Manual/automatic paper feeding.  Switch or not the header.
8570         (ps-print-version): New version number (5.2.2).
8571         (ps-windows-system): Include emx as a Windows system.
8572         (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
8573         (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
8574         (ps-background-text): Code fix.
8575         (ps-error-handler-message, ps-user-defined-prologue)
8576         (ps-print-prologue-header, ps-printer-name)
8577         (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
8578         (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
8579         (ps-use-face-background): Customization fix.
8580         (ps-n-up-database): Data fix.
8581         (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
8582         (ps-switch-header): New vars.
8583         (ps-xemacs-color-name, ps-face-foreground-name)
8584         (ps-face-background-name, ps-boolean-constant): New funs.
8586 2000-06-07  Dave Love  <fx@gnu.org>
8588         * allout.el: New version from Manheimer.
8590 2000-06-07  Kenichi Handa  <handa@etl.go.jp>
8592         * textmodes/fill.el (fill-find-break-point): Check the validity of
8593         charset.
8595 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
8597         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
8598         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
8599         Call display-color-p and display-mouse-p instead of looking at
8600         window-system.
8602 2000-06-06  Dave Love  <fx@gnu.org>
8604         * image.el (find-image): Doc fix.  Return nil if image not found.
8605         (put-image, insert-image): Make STRING arg optional.
8607 2000-06-06  Kenichi Handa  <handa@etl.go.jp>
8609         * language/vietnamese.el: Remove eval-when-compile.
8610         (viet-viscii-nonascii-translation-table): Define it as a
8611         translation table made from viet-viscii-decode-table.
8612         (viet-viscii-encode-table): Define it as a translation table made
8613         from the reverse map of above.
8614         (viet-vscii-nonascii-translation-table): Define it as a
8615         translation table made from viet-vscii-decode-table.
8616         (viet-vscii-encode-table): Define it as a translation table made
8617         from the reverse map of above.
8618         (ccl-decode-viscii): Use translate-character.
8619         (ccl-encode-viscii, ccl-encode-viscii-font)
8620         (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
8621         Likewize.
8623         * language/cyrillic.el: Remove eval-when-compile.
8624         (cyrillic-koi8-r-nonascii-translation-table): Define it as a
8625         translation table made from cyrillic-koi8-r-decode-table.
8626         (cyrillic-koi8-r-encode-table): Define it as a translation table
8627         made from the reverse map of above.
8628         (ccl-decode-koi8): Use translate-character.
8629         (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
8630         (cyrillic-alternativnyj-nonascii-translation-table): Define it as
8631         a translation table made from cyrillic-alternativnyj-decode-table.
8632         (cyrillic-alternativnyj-encode-table): Define it as a translation
8633         table made from the reverse map of above.
8634         (ccl-decode-alternativnyj): Use translate-character.
8635         (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
8636         Likewize
8638         * international/mule-diag.el (non-iso-charset-alist): Specify
8639         translation table symbol instead of translation table itself.
8640         (list-block-of-chars): CHARSET may be a translation table symbol.
8642         * international/mule.el (make-coding-system): If CODING-SYSTEM
8643         already exists, override it.
8645         * international/fontset.el: Use family `proportional' for Tibetan
8646         fonts.
8648         * international/ccl.el (ccl-compile-translate-character): Don't
8649         check if Rrr has property translation-table.
8650         (ccl-compile-map-multiple): Modified to avoid compiler warning.
8652 2000-06-05  Gerd Moellmann  <gerd@gnu.org>
8654         * info.el: Bind case-fold-search to t when searching in case
8655         a user sets it to nil in a hook.
8657 2000-06-05  Stefan Monnier  <monnier@cs.yale.edu>
8659         * autoarg.el (autoarg-mode, autoarg-kp-mode):
8660         * hl-line.el (hl-line-mode): Use the new :global key argument.
8662         * tar-mode.el (tar-header-block-recompute-checksum): Remove.
8663         (tar-clip-time-string): Prepend a space.
8664         (tar-grind-file-mode): Construct a string rather than modifying one.
8665         (tar-header-block-summarize): Fix docstring.
8666         Use `format' rather than an error-prone set of copy-loops.
8668         * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
8669         (diff-goto-source, diff-unified->context, diff-context->unified)
8670         (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
8671         understand the format output by the `-p' argument to diff.
8673         * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
8674         (sh-re-done): Use defconst.
8675         (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
8676         (sh-help-string-for-variable, sh-guess-basic-offset):
8677         Don't quote lambdas.
8678         (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
8679         (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
8681         * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
8682         (mh-letter-mode): Derive from text-mode.
8683         This implicitly means that it now calls kill-all-local-variables.
8684         Also remove the Emacs-18 compatibility code.
8686         * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
8687         Make use of symbol-property doc-string-elt.
8688         Use memq rather than a sequence of eq.
8689         (doc-string-elt): Fix the wrong or missing previously unused values.
8690         (autoload-print-form): New function extracted from
8691         generate-file-autoloads to allow recursion when handling progn
8692         so that defvar's and defun's docstrings are properly printed.
8693         (generate-file-autoloads): Use it.
8695         * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
8696         Use find-file-hooks in the minor-mode function.
8697         Be careful not to loop indefinitely in the post-command-hook function.
8699 2000-06-05  Michael Kifer  <kifer@cs.sunysb.edu>
8701         * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
8702         tty's.
8703         * ediff-diff.el (ediff-exec-process): Use --binary for fine
8704         differences whenever appropriate.
8705         * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
8706         * viper.el (find-file, find-file-other-window): Get viper to do
8707         wildcards.
8709 2000-06-04  Stefan Monnier  <monnier@cs.yale.edu>
8711         * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
8712         (jit-lock-fontify-buffer): New function for JIT refontification.
8713         (jit-lock-mode): Fix docstring.
8714         Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
8715         Remove jit-lock-after-change from the _local_ hook.
8716         (jit-lock-function-1): Fix docstring.
8718         * info.el (Info-on-current-buffer): Initialize info.
8720         * newcomment.el (comment-indent): Ignore comment-indent-hook.
8722         * progmodes/tcl.el (tcl-indent-for-comment):
8723         Ignore comment-indent-hook.
8725         * emacs-lisp/easy-mmode.el: Require CL during compilation.
8726         (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
8727         (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
8728         and improve to use the lighter to guess the capitalization.
8729         (define-minor-mode): Inline code from easy-mmode-define-toggle.
8730         Add keyword arguments to specify global-ness or the custom group.
8731         Add local-map and help-echo properties to the lighter.
8732         (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
8733         (easy-mmode-define-global-mode): New macro.
8735 2000-06-02  Dave Love  <fx@gnu.org>
8737         * wid-edit.el: byte-compile-dynamic since we typically don't use
8738         all the widgets.  Don't require cl or widget.  Remove
8739         eval-and-compile.  Don't autoload finder-commentary.  Doc fixes.
8740         (widget-read-event): Removed.  Callers changed to use read-event.
8741         (widget-button-release-event-p): Renamed from
8742         button-release-event-p.
8743         (widget-field-add-space, widget-field-use-before-change):
8744         Uncustomize.
8745         (widget-specify-field): Use keymap property, not local-map.
8746         (widget-specify-button): Obey :suppress-face.
8747         (widget-specify-insert): Use modern backquote syntax.
8748         (widget-image-directory): Renamed from widget-glyph-directory.
8749         (widget-image-enable): Renamed from widget-glyph-enable.
8750         (widget-image-find): Replaces widget-glyph-find.
8751         (widget-button-pressed-face): Move defvar.
8752         (widget-image-insert): Replaces widget-glyph-insert.
8753         (widget-convert): Use keywordp.
8754         (widget-leave-text, widget-children-value-delete): Use mapc.
8755         (widget-keymap): Remove XEmacs stuff.
8756         (widget-field-keymap, widget-text-keymap): Define all inside defvar.
8757         (widget-button-click): Don't set point at the click, but re-centre
8758         if we scroll out of window.  Rewritten for images v. glyphs &c.
8759         (widget-tabable-at): Use POS arg, not point.
8760         (widget-beginning-of-line, widget-end-of-line)
8761         (widget-item-value-create, widget-sublist, widget-princ-to-string)
8762         (widget-sexp-prompt-value, widget-echo-help): Simplify.
8763         (widget-default-create): Use widget-image-insert; some rewriting.
8764         (widget-visibility-value-create)
8765         (widget-push-button-value-create, widget-toggle-value-create): Use
8766         widget-image-insert.
8767         (checkbox): Create on and off images dynamically.
8768         (documentation-link): Change :help-echo.
8769         (widget-documentation-link-echo-help): Remove.
8771 2000-06-02  Stefan Monnier  <monnier@cs.yale.edu>
8773         * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
8775         * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
8776         (easy-mmode-define-toggle, define-minor-mode): Use it.
8777         (easy-mmode-define-keymap): Docstring fix.
8778         (define-derived-mode): Default PARENT to fundamental-mode.
8779         Add the derived-mode-parent symbol-property.
8780         (easy-mmode-derived-mode-p): New function.
8782 2000-06-02  Dave Love  <fx@gnu.org>
8784         * files.el (convert-standard-filename): Doc fix.
8785         (normal-backup-enable-predicate): New function.
8786         (backup-enable-predicate): Use it to replace the lambda form.
8788         * calendar/todo-mode.el: [This needs more work on the outline
8789         stuff.]  Doc fixes.
8790         (todo) <defgroup>: Add :version.
8791         (todo-add-category): Don't use pushnew.
8792         (todo-cmd-raise): Fix typo.
8793         (todo-top-priorities): Change temp buffer name.
8794         (todo-category-alist): Avoid redundant lambda.
8795         (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
8796         Use outline-next-heading.
8798         * autoarg.el: Rewritten to use define-minor-mode.
8799         (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
8800         (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
8802 2000-06-02  Kenichi Handa  <handa@etl.go.jp>
8804         * isearch.el (isearch-other-meta-char): Fix previous change.
8806 2000-06-01  Stefan Monnier  <monnier@cs.yale.edu>
8808         * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
8809         (log-edit-done): Only add the comment to the ring if it's different
8810         from the last comment entered.
8812         * isearch.el (isearch-highlight): Turn internal-find-face into facep.
8814 2000-06-01  Dave Love  <fx@gnu.org>
8816         * hl-line.el: Rewritten using define-minor-mode.
8818         * help.el (describe-function-1): Distinguish special form from
8819         builtin function.  Sanity-check presence of arglist for builtins.
8821 2000-06-01  Kenichi Handa  <handa@etl.go.jp>
8823         * international/characters.el: Fix syntax/category setting of
8824         Tibetan characters.
8826         * language/tibet-util.el (tibetan-add-components): Fixes for new
8827         encoding of Tibetan characters.
8828         (tibetan-decompose-precomposition-alist): New variable.
8829         (tibetan-decompose-region): Convert precomposed characters to
8830         non-precomposed characters.
8831         (tibetan-decompose-string): Likewise.
8832         (tibetan-composition-function): Fix args to
8833         thibetan-compose-string.
8835         * language/tibetan.el (tibetan-composable-pattern): More
8836         characters included.
8837         (tibetan-consonant-transcription-alist): Rule for "R" added.
8838         (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
8839         "+R" added.
8840         (tibetan-base-to-subjoined-alist): Rule for "RA" added.
8842         * language/lao-util.el (lao-composition-function): Fix args to
8843         compose-string.
8845         * language/thai-util.el (thai-composition-function): Fix args to
8846         compose-string.
8848         * isearch.el (isearch-update): Set disable-point-adjustment to t
8849         to prevent the point moving to the end of a composition when a
8850         part of a composition is searched.
8851         (isearch-other-meta-char): If the key invoking this command can be
8852         mapped by function-key-map to a printing char, call
8853         isearch-process-search-char directly.
8855 2000-06-01  Stefan Monnier  <monnier@cs.yale.edu>
8857         * emacs-lisp/bytecomp.el:
8858         * frame.el:
8859         * international/mule-cmds.el:
8860         * international/mule-util.el:
8861         * international/mule.el:
8862         * mouse.el:
8863         * subr.el:
8864         * faces.el: Update calls to make-obsolete with a WHEN argument.
8866         * byte-run.el (make-obsolete, make-obsolete-variable):
8867         Add an optional WHEN argument and change the format of the
8868         symbol-property information.
8869         * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
8870         (byte-compile-obsolete, byte-compile-variable-ref): Understand the
8871         new obsolete-symbol-property format and print WHEN if it is provided.
8873 2000-05-31  Dave Love  <fx@gnu.org>
8875         * loadhist.el (loadhist-hook-functions): Remove
8876         before-change-function, after-change-function.
8877         (unload-feature): Deal with symbols which are both bound and
8878         fbound.
8880         * mouse.el (mouse-save-then-kill-delete-region): Don't bind
8881         before-change-function, after-change-function.
8883         * simple.el (newline): Don't bind before-change-function,
8884         after-change-function.
8886 2000-05-31  Rajesh Vaidheeswarran <rv@gnu.org>
8888         * whitespace.el (whitespace-rescan-timer-time): Update interval
8889         set to 600 seconds (10 minutes) instead of 60 seconds since
8890         a large number of whitespace buffers causes emacs to `freeze'
8891         for a considerable amount of time.
8893         * whitespace.el: Updated email address
8895 2000-05-31  Dave Love  <fx@gnu.org>
8897         * add-log.el (change-log-font-lock-keywords) <function>: Add
8898         pattern for function of change.
8899         (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
8900         acknowledgements patterns.
8902 2000-05-31  Kenichi Handa  <handa@etl.go.jp>
8904         * isearch.el (isearch-printing-char): If keyboard coding system is
8905         being used, call isearch-process-search-multibyte-characters.
8907         * international/isearch-x.el: Mostly rewritten.
8909         * international/quail.el (quail-start-conversion): Don't include
8910         unhandled events in the returned events, but set them in
8911         unread-command-events.  Exit if all inputs are deleted.
8913 2000-05-30  Jason Rumney  <jasonr@gnu.org>
8915         * w32-fns.el (w32-charset-info-alist): Add each charset separately.
8917         * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
8918         Reenable code to create initial fontsets.
8919         Use set-fontset-font in place of put-charset-property.
8921 2000-05-30  Gerd Moellmann  <gerd@gnu.org>
8923         * progmodes/perl-mode.el (perl-indent-line): When looking for a
8924         label, ensure that the first colon isn't followed by another.
8926         * paths.el (Info-default-directory-list): Doc fix.
8928         * net/net-utils.el (finger-X.500-host-regexps): New user-option.
8929         (finger): If HOST matches a regexp from finger-X.500-host-regexps,
8930         send a query containing USER only, not USER@HOST.
8932         * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
8933         and rmail-msgend to compute the restriction at the end, instead of
8934         computing it.
8936 2000-05-29  Gerd Moellmann  <gerd@gnu.org>
8938         * dabbrev.el (dabbrev-expand): Don't display messages in the
8939         echo area if the minibuffer window is active.
8941         * jit-lock.el (jit-lock-mode): Add after change function to
8942         local hook.
8944 2000-05-29  Christoph Wedler  <Christoph.Wedler@sap.com>
8946         * antlr-mode.el: New commands: hide/unhide actions,
8947         upcase/downcase literals.
8948         (antlr-tiny-action-length): New user option.
8949         (antlr-hide-actions): New command.  Suggested by
8950         Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
8951         (antlr-mode-map): New binding [C-c C-v].
8952         (antlr-mode-menu): New entries.
8953         (antlr-downcase-literals): New command.
8954         (antlr-upcase-literals): Ditto.
8956         * antlr-mode.el: Minor changes: indendation, mode-name.
8957         (antlr-indent-line): Indent cpp directive at column 0.
8958         (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
8960         * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
8961         (antlr-font-lock-additional-keywords): Workaround for intentional
8962         bug in XEmacs version of font-lock.
8963         (antlr-mode): Set symbol property `mode-name' to "Antlr".  Could
8964         be used by a smarter version of `buffers-menu-grouping-function'.
8966 2000-05-29  Gerd Moellmann  <gerd@gnu.org>
8968         * tmm.el (tmm-prompt): Recognize menu item definitions of the for
8969         `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
8971 2000-05-29  Kenichi Handa  <handa@etl.go.jp>
8973         * international/encoded-kb.el
8974         (encoded-kbd-iso2022-designation-map): Pay attention to that
8975         charset-iso-final-char return -1 for eight-bit-control and
8976         eight-bit-graphic.
8978 2000-05-28  Eli Zaretskii  <eliz@is.elta.co.il>
8980         * speedbar.el (speedbar-use-images, speedbar-update-flag)
8981         (speedbar-easymenu-definition-base): Use display-graphic-p where
8982         available, instead of window-system.
8984 2000-05-28  Eli Zaretskii  <eliz@is.elta.co.il>
8986         * international/codepage.el (cp-coding-system-for-codepage-1): Add
8987         eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
8988         coding systems.
8990 2000-05-26  Dave Love  <fx@gnu.org>
8992         * disp-table.el (standard-display-underline): Don't use
8993         internal-find-face.
8995         * mail/reporter.el: Maintainer change.  Doc fixes.
8996         (reporter-version): Deleted.
8998         * emacs-lisp/elp.el: Maintainer change.
8999         (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
9001 2000-05-26  Stefan Monnier  <monnier@cs.yale.edu>
9003         * add-log.el (add-change-log-entry): Merge the current entry with the
9004         previous one if the previous one is empty.
9006 2000-05-26  Dave Love  <fx@gnu.org>
9008         * loadhist.el (unload-feature): Fix interactive spec [from
9009         lijnzaad@ebi.ac.uk].
9011         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
9012         subr-arity to check primitives.
9013         (byte-compile-flush-pending, byte-compile-file-form-progn)
9014         (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
9015         (byte-compile-insert, byte-compile-funcall): Use mapc instead of
9016         mapcar.
9018 2000-05-26  Kenichi Handa  <handa@etl.go.jp>
9020         * international/fontset.el: Set family names of non-latin charsets
9021         in default fontset to "*".
9023         * international/mule-diag.el (print-fontset): Combine family part
9024         and registry part of the fontname by "-*-" instead of "-".
9026         * international/mule-cmds.el (encode-coding-char): Make strings
9027         multibyte before calling encode-coding-string.
9029 2000-05-25  Stefan Monnier  <monnier@cs.yale.edu>
9031         * derived.el: Fix keywords.
9032         (define-derived-mode): Only define if needed.
9034         * simple.el (fill-comment, comment-column, comment-start)
9035         (comment-start-skip, comment-end, comment-indent-function)
9036         (block-comment-start, block-comment-end, indent-for-comment)
9037         (set-comment-column, kill-comment, comment-padding, comment-region)
9038         (comment-multi-line, indent-new-comment-line): Remove.
9040         * bindings.el (esc-map): Change ; to comment-dwim and use the new
9041         function names for comment operations.
9043         * newcomment.el: Add abundant autoload cookies.
9044         (comment-style): Don't depend on runtime data at compile-time.
9045         (comment-indent-hook): Remove.
9046         (comment-indent): Check if comment-indent-hook is bound.
9047         (comment-region): Docstring fix.
9049 2000-05-25  Dave Love  <fx@gnu.org>
9051         * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
9052         byte-code-function-p.
9054         * mail/rmailsum.el: Add provide.
9056         * net/goto-addr.el (goto-address-fontify): Add help-echo property.
9058         * smerge-mode.el (smerge-diff-switches): Don't use list* in
9059         defcustom.
9061 2000-05-25  Michael Kifer  <kifer@cs.sunysb.edu>
9063         * ediff-diff.el (ediff-exec-process): delete --binary option from
9064         non-buffer ediff jobs.
9066 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
9068         * hilit-chg.el (highlight-changes-mode): Ask about color or
9069         grayscale support, not about window-system.
9071         * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
9072         window-system.
9073         (ffap-highlight): Always default to t.
9075         * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
9076         display-popup-menus-p instead of looking at window-system.
9078         * disp-table.el (standard-display-g1, standard-display-graphic):
9079         Only refuse to use string glyphs on X and MS-Windows.
9081         * avoid.el: Remove window-system from commentary, suggest to use
9082         display-*-p instead.
9084         * apropos.el (apropos-print): Use display-mouse-p instead of
9085         window-system.
9087 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
9089         * international/codepage.el (cp-decoding-vector-for-codepage):
9090         Fill up unsupported characters with their own codes.  From Kenichi
9091         Handa.
9093 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
9095         * international/mule-diag.el (describe-char-after): Use
9096         display-graphic-p instead of window-system, so that this function
9097         works on MS-DOS.
9099 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
9101         * international/codepage.el (cp-make-coding-systems-for-codepage):
9102         Remove the eight-bit-graphic and eight-bit-control charsets from
9103         the list of charsets which we convert into `?'.
9105 2000-05-25  Kenichi Handa  <handa@etl.go.jp>
9107         * international/mule-conf.el: Specify CHARSET-ID explicitely for
9108         private charsets.
9109         (mule-unicode-0100-24ff, japanese-jisx0213-1,
9110         japanese-jisx0213-2): New charsets.
9112         * international/fontset.el: Setup default fontset for new charsets.
9114 2000-05-24  Dave Love  <fx@gnu.org>
9116         * info.el (Info-find-node-2): Restructure [following "Vadim
9117         S. Solomin" <sovs@uic.nnov.ru>].
9119         * icomplete.el: Fix header for Finder.
9121 2000-05-24  Eric M. Ludlam  <zappo@ultranet.com>
9123         * rmailout.el (rmail-output-to-rmail-file): Added optional param
9124         STAY.
9126         * rmail.el (rmail-automatic-folder-directives): New user variable.
9127         (rmail-show-message): Add call to `rmail-auto-file' during
9128         display.
9129         (rmail-auto-file): New function.
9131 2000-05-24  Michael Kifer  <kifer@cs.sunysb.edu>
9133         * ediff-diff.el (ediff-forward-word): Take syntactic word class into
9134         account.
9135         (ediff-test-utility,ediff-diff-mandatory-option)
9136         (ediff-reset-diff-options): Utilities for proper initialization of
9137         ediff-diff-options and ediff-diff3-options on Windows.
9139         * ediff-init.el (ediff-merge-filename-prefix): New customizable
9140         variable.
9142         * ediff-mult.el (ediff-filegroup-action): Use
9143         ediff-merge-filename-prefix.
9145 2000-05-24  Michael Kifer  <kifer@cs.sunysb.edu>
9147         * viper-ex.el (ex-write): Set selective display to nil.
9149 2000-05-24  Eli Zaretskii  <eliz@is.elta.co.il>
9151         * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
9152         aliases for hebrew-iso-8bit.
9154 2000-05-24  Eli Zaretskii  <eliz@is.elta.co.il>
9156         * woman.el: New version from Francis J. Wright
9157         <F.J.Wright@Maths.QMW.ac.uk>.
9158         (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
9159         names in environment variables regardless of the path separator.
9160         (woman-topic-all-completions-1): Don't call file-name-directory-p
9161         on all files, since woman-file-regexp already filters out any
9162         directories.
9164 2000-05-24  Kenichi Handa  <handa@etl.go.jp>
9166         * international/quail.el (quail-start-translation): Don't change
9167         modified-p of the current buffer.
9168         (quail-start-conversion): Likewise.
9170         * international/kkc.el (kkc-region): Don't change modified-p of
9171         the current buffer.
9173         * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
9174         conform to RFC1468.
9175         (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
9177 2000-05-23  Eric M. Ludlam  <zappo@ballista.ultranet.com>
9179         * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
9180         (speedbar-insert-button): Invisible text property fix.
9181         (speedbar-directory-plus): Renamed from speedbar-directory-+
9182         (speedbar-directory-minus): Renamed from speedbar-directory--
9183         (speedbar-page-plus): Renamed from speedbar-file-+
9184         (speedbar-page-minus): Renamed from speedbar-file--
9185         (speedbar-page): Renamed from speedbar-file-
9186         (speedbar-tag): Renamed from speedbar-tag-
9187         (speedbar-tag-plus): Renamed from speedbar-tag-+
9188         (speedbar-tag-minus): Renamed from speedbar-tag--
9189         (speedbar-expand-image-button-alist): Use above renames.
9191         * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
9192         * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
9193         * sb-pg-plus.xpm: Renamed from sb-file+.xpm
9194         * sb-pg-minus.xpm: Renamed from sb-file-.xpm
9195         * sb-pg.xpm: Renamed from sb-file.xpm
9196         * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
9197         * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
9199 2000-05-24  Kenichi Handa  <handa@etl.go.jp>
9201         * international/quail.el (quail-show-guidance-buf): Set
9202         current-input-method of the guidance buffer to the name of the
9203         curren input method.
9205 2000-05-23  Stefan Monnier  <monnier@cs.yale.edu>
9207         * progmodes/compile.el (compile-internal): Style typo.
9209         * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
9210         quote vars and functions in the docstring.
9212         * newcomment.el (comment-make-extra-lines): Don't use `assert'.
9214         * completion.el (dynamic-completion-mode, dynamic-completion-mode):
9215         Don't quote lambdas.
9217         * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
9219 2000-05-23  Gerd Moellmann  <gerd@gnu.org>
9221         * startup.el (command-line): Determine source file of compiled
9222         user init file differently.  Warn if compiled user init file
9223         is older than its source file.
9225         * ffap.el (ffap-url-regexp): Add `https'.
9227 2000-05-23  Eli Zaretskii  <eliz@is.elta.co.il>
9229         * files.el (make-backup-file-name-1): Replace slashes with `!'
9230         rather than `|' (which is not allowed on Windows).  Replace the
9231         drive letters with a string "drive_X".
9233 2000-05-23  Gerd Moellmann  <gerd@gnu.org>
9235         * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
9237         * files.el (interpreter-mode-alist): Add `bash2'.
9239 2000-05-22  Dave Love  <fx@gnu.org>
9241         * loadhist.el (feature-symbols, file-provides, file-requires): Use
9242         mapc.
9243         (feature-file): Avoid calling symbol-name.  Doc fix.
9244         (file-set-intersect, file-dependents): Use dolist, not mapcar.
9245         (loadhist-hook-functions): Add mouse-position-function.
9246         (unload-feature): Change uses of mapcar.
9248         * files.el (parse-colon-path): Doc fix.
9249         (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
9250         (set-auto-mode): Use mapc.
9252         * complete.el (PC-look-for-include-file): Use :alnum: character
9253         class.
9254         (partial-completion-mode): Add autoload cookie.
9256 2000-05-22  Sam Steingold  <sds@gnu.org>
9258         * info.el (Info-fontify-node): Fixed the call to
9259         `add-text-properties' (bug introduced on 2000-05-18).
9261 2000-05-22  Dave Love  <fx@gnu.org>
9263         * bindings.el: Remove debug-ignored-errors set in other files.
9265         * progmodes/etags.el: Add to debug-ignored-errors.
9266         (visit-tags-table-buffer): Clear out buffers holding old tables
9267         when making a new list.
9268         (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
9269         mapc.
9271         * completion.el: Doc fixes.  Add to debug-ignored-errors.  Don't
9272         quote keywords.
9273         (cmpl-string-case-type): Use character classes.
9275         * comint.el:
9276         * textmodes/ispell.el:
9277         * imenu.el:
9278         * mail/mh-e.el:
9279         * progmodes/compile.el: Add to debug-ignored-errors.
9281         * dabbrev.el: Add to debug-ignored-errors.
9282         (dabbrev-completion): Use mapc.
9284 2000-05-22  Eli Zaretskii  <eliz@is.elta.co.il>
9286         * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
9287         (woman-mapcan, woman-parse-man.conf)
9288         (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
9289         (woman-reset-emulation, woman-select-symbol-fonts): New functions.
9290         (woman-parse-colon-path): Call woman-mapcan.  Recognize Cygwin
9291         path syntax better.
9292         (woman-man.conf-path, woman-use-own-frame): New defcustoms.
9293         (woman-manpath): Call woman-parse-man.conf.
9294         (woman-emulation): New defcustom, defaults to nroff.
9295         (woman-font-support): New defconst.
9296         (woman-use-symbol-font): New defcustom.
9297         (woman-menu): Add new menu items: "Colored/BW", "Advanced",
9298         "Emulation".
9299         Many functions: Doc fix.
9301 2000-05-22  Kenichi Handa  <handa@etl.go.jp>
9303         * international/quail.el (quail-simple-translation-keymap): Map
9304         128..255 to quail-self-insert-command.
9305         (quail-keyboard-layout-alist): Add definition for "pc102-de".
9307 2000-05-22  Stefan Monnier  <monnier@cs.yale.edu>
9309         * help.el (help-manyarg-func-alist): Typo.
9311         * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
9312         intervals which makes it heaps simpler.
9314         * newcomment.el (comment-region-internal): Go back to BEG after quoting
9315         the nested comment markers.
9317         * subr.el (remove-hook): Don't turn the hook's value into a list.
9319 2000-05-21  Dave Love  <fx@gnu.org>
9321         * edmacro.el (edmacro-parse-keys): Return vector if any elements
9322         are invalid characters.
9324         * international/mule-util.el (detect-coding-with-priority): Use
9325         mapc.  Remove redundant lambda.
9327         * international/mule-diag.el (list-non-iso-charset-chars)
9328         (describe-fontset): Remove redundant lambda.
9330         * emulation/crisp.el (brief-mode): New alias.
9332         * emacs-lisp/ring.el (ring-elements): New function.
9334         * emacs-lisp/easymenu.el (easy-menu-create-menu)
9335         (easy-menu-do-add-item): Use keywordp.
9337         * emacs-lisp/byte-opt.el: Update side-effect free function lists.
9339         * replace.el: Doc and error message fixes.
9340         (replace-highlight): Use facep, not internal-find-face.
9342 2000-05-20  Stefan Monnier  <monnier@cs.yale.edu>
9344         * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
9346         * log-edit.el (log-edit-done): Cleanup trailing empty lines.
9347         (log-edit-insert-changelog): Drop `:' as well.
9349         * log-view.el: Fix file description.
9350         (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
9351         available.
9352         (log-view-font-lock-keywords): Only use cvs-filename-face if present.
9353         (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
9355         * emacs-lisp/easy-mmode.el: Update copyright and commentary.
9356         (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
9357         Print a status message if the toggle is called interactively.
9358         (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
9359         for global minor modes and use `defcustom' for them.
9360         Use add-minor-mode.
9361         (easy-mmode-define-derived-mode): Remove.
9362         (define-derived-mode): Fancier default docstring.
9363         (easy-mmode-define-navigation): Signal an error rather than (ding).
9365         * newcomment.el (comment-styles): New `box-multi'.
9366         (comment-normalize-vars): Better default for comment-continue to
9367         avoid whitespace-only continuations.
9368         (comment-search-forward): Always move even in the no-syntax case.
9369         (comment-padright): Only obey N if it's only obeyed for padleft.
9370         (comment-make-extra-lines): Better handling of empty continuations.
9371         Use `=' for the filler if comment-start has only one character.
9372         (uncomment-region): Try handling the special `=' filler.
9373         (comment-region): Allow LINES even if MULTI is nil.
9374         (comment-box): Choose box style based on comment-style.
9376 2000-05-20  Kenichi Handa  <handa@etl.go.jp>
9378         * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
9379         (ccl-compile-write-repeat): If ARG is string, make it unibyte.
9381 2000-05-20  Kenichi HANDA  <handa@etl.go.jp>
9383         * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
9384         and insert, not subst-char-in-region.
9386         * international/mule-diag.el (list-character-sets-1): Handle
9387         charsets eight-bit-control and eight-bit-graphic.
9388         (list-iso-charset-chars): Likewise.
9389         (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
9390         charactes as is.  Use indent-to to align characters.
9392         * international/mule-cmds.el (find-multibyte-characters): Never
9393         exclude charsets eight-bit-control and eight-bit-graphic.
9395 2000-05-19  Stefan Monnier  <monnier@cs.yale.edu>
9397         * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
9398         Don't quote lambdas.
9400         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
9402 2000-05-19  Gerd Moellmann  <gerd@gnu.org>
9404         * gud.el (gud-jdb-directories): Doc fix.
9406 2000-05-19  Stefan Monnier  <monnier@cs.yale.edu>
9408         * newcomment.el: New file.
9410 2000-05-19  Gerd Moellmann  <gerd@gnu.org>
9412         * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
9414 2000-05-18  Andreas Schwab  <schwab@suse.de>
9416         * dired.el (dired-between-files): Also skip lines beginning with
9417         `used'.
9419 2000-05-18  Gerd Moellmann  <gerd@gnu.org>
9421         * msb.el (msb-menu-cond): Add choice `user'.
9423 2000-05-18  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9425         * ps-print.el: Compatibility, customization and doc fix.
9426         (ps-printer-name-option): Replace defconst by defvar.
9427         (ps-postscript-code-directory): XEmacs compatibility.
9428         (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
9429         fix.
9430         (ps-user-defined-prologue, ps-print-prologue-header)
9431         (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
9432         compatibility and code fix.
9433         (ps-print-background-image, ps-print-background-text):
9434         Customization fix.
9435         (ps-line-number-start, ps-n-up-on): New vars.
9437 2000-05-18  Espen Skoglund  <esk@ira.uka.de>
9439         * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
9440         the indent-comment function to just return the appropriate indent.
9442 2000-05-18  Eric M. Ludlam  <zappo@ultranet.com>
9444         * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
9445         sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
9446         sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
9448 2000-05-18  Dave Love  <fx@gnu.org>
9450         * info.el (Info-fontify-node): Add intangible property as well as
9451         invisible.
9453         * calendar/appt.el (appt-make-list): Match all lines of entry.
9454         From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
9456 2000-05-18  Kenichi Handa  <handa@etl.go.jp>
9458         * international/mule-diag.el (describe-char-after): Call
9459         internal-char-font, not char-font.  If internal-char-font returns
9460         nil, display "-- none --".
9462 2000-05-17  Eli Zaretskii  <eliz@is.elta.co.il>
9464         * image.el (image-type-available-p): Don't reference image-types
9465         if it isn't bound.
9467 2000-05-17  Stefan Monnier  <monnier@cs.yale.edu>
9469         * autoarg.el (autoarg-mode): Typo in the :set argument.
9471 2000-05-17  Eli Zaretskii  <eliz@is.elta.co.il>
9473         * startup.el (command-line-1): Don't signal an error if the
9474         directory for auto-save-list files does not yet exist.
9476 2000-05-17  Kenichi Handa  <handa@etl.go.jp>
9478         * international/mule-conf.el (arabic-iso8859-6): Fix typo.
9480 2000-05-16  Stefan Monnier  <monnier@cs.yale.edu>
9482         * subr.el (remove-hook): `setq' hook-value, not `set'.
9484 2000-05-16  Sam Steingold  <sds@gnu.org>
9486         * info.el (debug-ignored-errors): More errors to ignore.
9488 2000-05-16  Dave Love  <fx@gnu.org>
9490         * cus-edit.el: Don't require cl or easymenu.
9491         (custom-variable-prompt): Test standard-value property, not
9492         user-variable-p.
9494 2000-05-16  Sam Steingold  <sds@gnu.org>
9496         * subr.el (add-hook): `setq' hook-value, not `set'.
9498 2000-05-16  Gerd Moellmann  <gerd@gnu.org>
9500         * startup.el (command-line-1): Mention the FAQ in the startup
9501         message.
9503         * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
9505         * progmodes/compile.el (compilation-parse-errors): Collect
9506         `nomessage' regexps last.
9508         * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
9510         * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
9511         to the function name.
9513 2000-05-15  Dave Love  <fx@gnu.org>
9515         * speedbar.el (speedbar-recenter): Typo.
9516         (speedbar-expand-line): Make arg optional.
9517         (speedbar-mode): Avoid a compiler warning.
9519 2000-05-15  Gerd Moellmann  <gerd@gnu.org>
9521         * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
9522         user-specified option string is empty.
9524         * mouse.el (mouse-yank-at-click): Doc fix.
9526 2000-05-15  Eli Zaretskii  <eliz@is.elta.co.il>
9528         * term/internal.el (IT-character-translations): More updates of
9529         latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
9530         documents.
9532 2000-05-15  Gerd Moellmann  <gerd@gnu.org>
9534         * env.el (getenv): New function, interactively callable.
9535         (setenv, getenv): Remove autoload cookies.
9537         * loadup.el: Load `env'.
9539         * progmodes/f90.el: Change author's mail address.
9541 2000-05-14  Dave Love  <fx@gnu.org>
9543         * mail/rmail.el (rmail-show-message-hook): Customize and offer
9544         goto-addr as an option.
9546         * help.el (help-xref-stack): Doc fix.
9547         (help-xref-following): New variable.
9548         (help-make-xrefs): Use it.
9549         (help-xref-go-back): Use position information from stack element.
9550         (help-follow): Make position in stack element a pair.  Use
9551         help-xref-following.
9553         * autoarg.el: New file.
9555         * faces.el: Declare more functions obsolete.
9557         * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
9558         * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
9559         * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
9560         * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
9561         Remove all the setup-...-environment functions.
9563 2000-05-13  Eric M. Ludlam  <zappo@ultranet.com>
9565         * speedbar.el: Updated the commentary section.  xemacs20p now uses
9566         >= when detecting.  Require `defimage' safely.
9567         (speedbar-easymenu-definition-base): Add toggle for images.
9568         (speedbar-easymenu-definition-special): Add flush cache & expand.
9569         (speedbar-visiting-tag-hook): Set new defaults.  Added options.
9570         (speedbar-reconfigure-keymaps-hook): New variable.
9571         (speedbar-frame-parameters): Updated documentation.
9572         (speedbar-use-imenu-flag): Updated custom tag
9573         (speedbar-dynamic-tags-function-list): New variable.
9574         (speedbar-tag-hierarchy-method): Updated doc & custom.
9575         (speedbar-indentation-width, speedbar-indentation-width) New
9576         variables.
9577         (speedbar-hide-button-brackets-flag): Customizable.
9578         (speedbar-vc-indicator): Doc update.
9579         (speedbar-ignored-path-expressions): Updated default value.
9580         (speedbar-supported-extension-expressions): Updated default value.
9581         (speedbar-syntax-table): Remove {} paren status.
9582         (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
9583         as "+".  Added overlay aliases.
9584         (speedbar-mode): Use `speedbar-mode-line-update' instead of
9585         `force-mode-line-update'.
9586         (speedbar-mode, speedbar-quick-mouse, speedbar-click)
9587         (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
9588         `mouse-set-point'
9589         (speedbar-reconfigure-keymaps): Run configure keymap hooks.
9590         (speedbar-item-info-tag-helper): Revamped to handle a wider range
9591         of arbitrary text, and new helper functions.
9592         (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
9593         filename finder.
9594         (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
9595         (speedbar-directory-buttons): Update path search/expansion.
9596         (speedbar-make-tag-line): Pay attention to
9597         `speedbar-indentation-width'.  Use more care w/ invisible
9598         properties.
9599         (speedbar-change-expand-button-char): Call
9600         `speedbar-insert-image-button-maybe'.
9601         (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
9602         (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
9603         (speedbar-trim-words-tag-hierarchy)
9604         (speedbar-simple-group-tag-hierarchy): New functions
9605         (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
9606         (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
9607         functions.
9608         (speedbar-mouse-set-point): New function
9609         (speedbar-power-click): Updated documentation.
9610         (speedbar-line-token, speedbar-goto-this-file): Handle more types
9611         of tag prefix text.
9612         (speedbar-expand-line, speedbar-contract-line): Make more robust
9613         to strange text.
9614         (speedbar-expand-line): Takes universal argument to flush the
9615         cache.
9616         (speedbar-flush-expand-line): New function.
9617         (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
9618         Use new generator insertion method.
9619         (speedbar-fetch-dynamic-tags): New function.
9620         (speedbar-fetch-dynamic-imenu): Removed code now handled in
9621         `speedbar-fetch-dynamic-imenu'.
9622         (speedbar-fetch-dynamic-etags): Fix current buffer problem.
9623         (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
9624         "Revert Buffer" menu items.
9625         (speedbar-buffer-buttons-engine): Be smarter when creating a
9626         filename tag (for expansion purposes.).
9627         (speedbar-highlight-one-tag-line,
9628         (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
9629         (speedbar-recenter): New functions.
9630         (defimage-speedbar): Image loading abstraction.
9631         (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
9632         (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
9633         (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
9634         (speedbar-tag-type, speedbar-tag-mail): New images.
9635         (speedbar-expand-image-button-alist): New variable.
9636         (speedbar-insert-image-button-maybe): Insert an image over some
9637         buttons.
9639 2000-05-13  Kenichi Handa  <handa@etl.go.jp>
9641         * international/mule-cmds.el (encode-coding-char): An ASCII
9642         character is always encodable.
9644         * international/mule-conf.el: Add more information in descriptions
9645         of character sets.
9647         * international/mule-diag.el (describe-char-after): New function.
9648         (describe-font-internal): Adjusted for the change of font-info.
9649         (describe-font): Likewise.
9650         (print-fontset): Rewritten for the new fontset implementation.
9651         (describe-fontset): Include fontset alias names in completion.
9652         (list-fontsets): Adjusted for the change of print-fontset.
9654         * simple.el (what-cursor-position): If DETAIL is non-nil, call
9655         describe-char-after instead of displaying the detail in the echo
9656         area.
9657         (syntax-code-table): Format changed.
9658         (string-to-syntax): Adjusted for the above change.
9660 2000-05-12  Stefan Monnier  <monnier@cs.yale.edu>
9662         * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
9664 2000-05-12  Dave Love  <fx@gnu.org>
9666         * calendar/todo-mode.el: Remove some compatibility stuff and CL
9667         dependence.  Use line-{beginning,end}-position, not
9668         point-at{b,e}ol.  Some doc fixes.
9669         (todo-position): New function.  Fix callers of position to use it.
9670         (todo-save-top-priorities, todo-print): Use with-temp-buffer.
9672 2000-05-12  Gerd Moellmann  <gerd@gnu.org>
9674         * time.el (display-time-mail-icon): Use `:ascent center'.
9676         * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
9677         handling FTP security extensions.
9679 2000-05-11  Dave Love  <fx@gnu.org>
9681         * calendar/todo-mode.el: New file.
9683 2000-05-11  Gerd Moellmann  <gerd@gnu.org>
9685         * comint.el (comint-read-input-ring): Move reference to
9686         comint-input-ring-size outside of the save-excursion.  It was
9687         causing the default value to be the only one ever seen.
9689         * font-lock.el: Update copyright.  Remove Simon Marshall's email
9690         address on request from him.
9692         * subr.el (substitute-key-definition): Add comment describing
9693         the meaning of PREFIX.
9695 2000-05-10  Stefan Monnier  <monnier@cs.yale.edu>
9697         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
9699         * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
9700         (add-minor-mode): Don't make the variable buffer-local and add a
9701         reference to define-minor-mode in the docstring.
9703         * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
9704         HEADER/FOOTER and fix bug with trailing empty directory.
9705         (cvs-append-to-ignore): Use vc-editable-p if available.
9706         (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
9707         (vc-do-command): Tweak advice to handle the new VC.
9709         * log-view.el (log-view-goto-rev): New function for the new VC.
9710         (log-view-minor-wrap): Use mark-active.
9712         * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
9713         (log-edit-changelog-full-paragraphs): New var.
9714         (log-edit-insert-changelog): Remove a lonely leading `* file'.
9715         (log-edit-narrow-changelog, log-edit-changelog-paragraph)
9716         (log-edit-changelog-subparagraph, log-edit-changelog-entry)
9717         (log-edit-changelog-ours-p, log-edit-changelog-entries)
9718         (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
9719         Replace the `cvs' prefix with `log-edit'.
9721         * iswitchb.el (iswitchb-completion-help): Unquote lambda.
9723         * diff-mode.el (diff-font-lock-keywords): Recognize comments.
9724         (diff-font-lock-defaults): Explicitly turn off multiline.
9725         (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
9726         (diff-ediff-patch): Fix call to ediff-patch-file.
9727         (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
9728         Handle comments.
9730         * frame.el (automatic-hscrolling): Typo.
9732         * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
9734 2000-05-09  Sam Steingold  <sds@goems.com>
9736         * apropos.el (apropos-print): use `describe-face' instead of
9737         `customize-face-other-window'.
9739 2000-05-09  Dave Love  <fx@gnu.org>
9741         Changes mostly following Richard Sharman <rsharman@wave.home.com>.
9743         * help.el (describe-variable): Have customize button pop the
9744         help-xref stack when invoked.
9745         (help-xref-symbol-regexp): Add `face'.
9746         (help-make-xrefs): Check for quoted face names and adapt regexp
9747         submatch numbers to cope.
9748         (help-xref-interned): Maybe insert face doc too.  Separate
9749         sections with a line of hyphens.
9751         * faces.el:  Some doc fixes.  Declare some functions obsolete.
9752         (describe-face): Add customize button.  Return the help
9753         text.  Fix prompt.
9755 2000-05-09  Eli Zaretskii  <eliz@is.elta.co.il>
9757         * term/internal.el (IT-character-translations): Fix last change.
9759 2000-05-08  Eli Zaretskii  <eliz@is.elta.co.il>
9761         * woman.el: New file
9762         (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
9764 2000-05-08  Eli Zaretskii  <eliz@is.elta.co.il>
9766         * term/internal.el (IT-character-translations): Update ASCII
9767         simulations for greek-iso8859-7, add latin-iso8859-14 and
9768         latin-iso8859-15.
9770         * international/mule-cmds.el (set-language-info-alist): Call
9771         define-prefix-command with 3 arguments, to make the map suitable
9772         for a menu.
9774 2000-05-07  Dave Love  <fx@gnu.org>
9776         * time.el: Small doc fixes from Pavel Jan\e,Am\e(Bk ml.
9778 2000-05-05  Dave Love  <fx@gnu.org>
9780         * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
9781         list in doc string.  Don't quote keyword symbols.
9782         * emacs-lisp/cl.el: Likewise
9783         * emacs-lisp/cl-seq.el: Likewise
9785 2000-05-05  Gerd Moellmann  <gerd@gnu.org>
9787         * abbrev.el (abbrev-mode): Make ARG optional.
9789 2000-05-04  Gerd Moellmann  <gerd@gnu.org>
9791         * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
9793         * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
9795         * subr.el (substitute-key-definition): Clarify documentation.
9797 2000-05-04  Milan Zamazal  <pdm@freesoft.cz>
9799         * glasses.el (glasses-convert-to-unreadable): Use
9800         `glasses-separator' instead of the hard-wired "_".
9801         (glasses-mode): Call `glasses-make-unreadable' only in a single
9802         place.
9804 2000-05-04  Eli Zaretskii  <eliz@is.elta.co.il>
9806         * term/internal.el (cjk-codepages-alist): Add associations for
9807         Chinese and Korean codepages.  Remove FIXME comment.
9809 2000-05-03  Dave Love  <fx@gnu.org>
9811         * time.el (display-time-mail-face, display-time-use-mail-icon):
9812         New option.
9813         (display-time-mail-icon): New variable.
9814         (display-time-string-forms): Use the above.  Fix the local-map.
9816 2000-05-03  Gerd Moellmann  <gerd@gnu.org>
9818         * replace.el (query-replace-map): Add binding for `E'.
9819         (query-replace-help): Extend help text.
9820         (perform-replace): Allow editing the replacement string.
9822         * make-mode.el (makefile-mode-abbrev-table): New variable.
9823         (makefile-mode): Set local abbrev table to
9824         makefile-mode-abbrev-table.
9825         (makefile-font-lock-keywords): Fontify includes and conditionals.
9827         * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
9828         set TOGGLE's value.
9830         * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
9831         mail-interactive-insert-alias.
9832         (mail-abbrev-complete-alias): New command.
9833         (mail-mode-map): Bind it to `M-TAB'.
9835 2000-05-03  Kenichi Handa  <handa@etl.go.jp>
9837         * language/lao-util.el (lao-compose-region): New function.
9839 2000-05-02  Gerd Moellmann  <gerd@gnu.org>
9841         * files.el (recover-session): Make directories as necessary
9842         if they don't exist yet.
9844         * calendar/cal-french.el
9845         (french-calendar-multibyte-special-days-array)
9846         (french-calendar-special-days-array): Change French text.
9847         (calendar-french-date-string): Change output.
9848         (calendar-goto-french-date): Likewise.
9850 2000-05-02  Per Abrahamsen  <abraham@dina.kvl.dk>
9852         * wid-edit.el (widget-default-active): Obey `:always-active'.
9853         (widget-documentation-string-value-create): Set `:always-active'.
9855 2000-05-02  Eli Zaretskii  <eliz@is.elta.co.il>
9857         * startup.el (auto-save-list-file-prefix): For ms-dos, set the
9858         default prefix to `~/_emacs.d/auto-save.list/_s'.
9859         (normal-top-level): Create the directory for auto-save files, if
9860         it doesn't already exist (in the ms-dos case only).
9862 2000-05-02  Eli Zaretskii  <eliz@is.elta.co.il>
9864         * international/mule-cmds.el (set-language-environment): Don't
9865         concat an integer (dos-codepage), use format instead.
9867 2000-05-02  Dave Love  <fx@gnu.org>
9869         * help.el (help-xref-on-pp): Check for constant symbols.
9871 2000-04-29  Gerd Moellmann  <gerd@gnu.org>
9873         * startup.el (normal-top-level): Put a condition-case around
9874         the code loading subdirs.el.
9876 2000-04-29  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9878         * ps-print.el: Upside-down and face background color printing,
9879         line number step, doc fix.
9880         (ps-print-version): New version number (5.2).
9881         (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
9882         (ps-face-attribute-list, ps-plot-with-face): Code fix.
9883         (ps-spool-config): Var fix.
9884         (ps-printer-name-option): Const fix.
9885         (ps-print-upside-down, ps-use-face-background)
9886         (ps-line-number-step): New vars.
9887         (ps-window-system, ps-lp-system): New consts.
9888         (ps-face-background): New fun.
9890 2000-04-28  Richard Stallman  <rms@gnu.org>
9892         * files.el (make-auto-save-file-name):
9893         Apply auto-save-file-name-transforms to visited file name
9894         before generating auto save file name.
9895         (auto-save-file-name-transforms): New variable.
9897         * files.el (backup-enable-predicate):
9898         Correctly test for a file under a temporary directory.
9900 2000-04-28  Gerd Moellmann  <gerd@gnu.org>
9902         * subr.el (add-minor-mode): Rewritten.
9904 2000-04-28  Kenichi Handa  <handa@etl.go.jp>
9906         * mail/sendmail.el (sendmail-send-it): Set
9907         buffer-file-coding-system to the selected coding system for MIME
9908         header.
9910 2000-04-27  Gerd Moellmann  <gerd@gnu.org>
9912         * dired.el (dired-move-to-filename-regexp): Allow format where
9913         YYYY is followed by two spaces.
9915         * progmodes/etags.el (etags-tags-completion-table): Add a `:'
9916         in the second character class of the regexp.
9918         * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
9919         mh-etc, too.
9921         * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
9922         nil.
9924         * subr.el (add-minor-mode): Use `set' instead of `setq'.
9926         * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
9927         argument.
9929 2000-04-27  Sen Nagata <sen@eccosys.com>
9931         * emacs-lisp/crm.el (crm-completion-table): New variable.
9932         (crm-collection-fn, crm-test-completion)
9933         (completing-read-multiple): Use it.
9935 2000-04-27  Dave Love  <fx@gnu.org>
9937         * help.el (locate-library): Use mapc.
9938         (help-manyarg-func-alist): Add call-process-region.
9940 2000-04-26  Gerd Moellmann  <gerd@gnu.org>
9942         * subr.el (add-minor-mode): Make argument MAP optional.
9944         * desktop.el (desktop-save): Save list of minor modes.
9945         (desktop-create-buffer): Restore minor modes.
9946         (desktop-minor-mode-table): New user-option.
9948         * subr.el (add-minor-mode): New function.
9950         * image.el (find-image): New function.
9951         (defimage): Rewritten to find image at load time.
9953         * startup.el (normal-top-level-add-to-load-path): Handle
9954         case that the default directory is not in load-path.
9956         * help.el: Old patch from Stefan Monnier.
9957         (help-xref-on-pp): New function.
9958         (describe-variable): Use it to display xrefs in a symbol's value.
9960 2000-04-26  Stefan Monnier  <monnier@cs.yale.edu>
9962         * cus-edit.el (custom-face): Fix parenthesis.
9964 2000-04-26  Kenichi Handa  <handa@etl.go.jp>
9966         * mail/rmail.el (rmail-expunge): When there are no deleted
9967         messages, do nothing.
9969 2000-04-26  Dave Love  <fx@gnu.org>
9971         * international/mule-cmds.el (locale-translation-file-name):
9972         Defvar to nil.
9973         (set-locale-environment): Set it here (at runtime).
9975 2000-04-25  Gerd Moellmann  <gerd@gnu.org>
9977         * replace.el (perform-replace): Add parameters START and END.  Use
9978         them instead of the check for a region in Transient Mark mode.
9979         (query-replace-read-args): Return two more list elements for the
9980         start and end of the region in Transient Mark mode.
9981         (query-replace, query-replace-regexp, query-replace-regexp-eval)
9982         (map-query-replace-regexp, replace-string, replace-regexp): Add
9983         optional last arguments START and END and pass them to
9984         perform-replace.
9986         * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
9987         form with additional arguments for perform-replace.
9989         * progmodes/etags.el (tags-query-replace): Add parameters START
9990         and END.  Construct a form with additional arguments for
9991         perform-replace.
9993         * simple.el (shell-command): Set default directory for "*Shell
9994         Command Output" buffer.
9996         * language/european.el (iso-latin-4): Fix typo.
9998         * emacs-lisp/crm.el: New file.
10000 2000-04-24  Dave Love  <fx@gnu.org>
10002         * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
10003         (Custom-reset-saved, Custom-reset-standard)
10004         (custom-group-value-create, custom-group-set, custom-group-save)
10005         (custom-group-reset-current, custom-group-reset-saved)
10006         (custom-group-reset-standard): Use mapc.
10007         (custom-buffer-create-internal): Disable undo when creating items.
10008         Use mapc.
10009         (custom-face): Avoid redundant lambda.
10011 2000-04-24  Gerd Moellmann  <gerd@gnu.org>
10013         * startup.el (auto-save-list-file-prefix): Set default to
10014         `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
10016 2000-04-24  Sam Steingold  <sds@gnu.org>
10018         * time-stamp.el (time-stamp-string-preprocess): Always convert
10019         `field-result' to a string.
10021 2000-04-24  Gerd Moellmann  <gerd@gnu.org>
10023         * frame.el (scrolling): New group.
10024         (automatic-hscrolling): New user-option.
10026         * startup.el (command-line-x-option-alist): Add `-lsp' and
10027         `--line-spacing'.
10029 2000-04-19  Dave Love  <fx@gnu.org>
10031         * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
10032         (cl-mapc): Rename from mapc.  Fix the funcall.
10034 2000-04-19  Gerd Moellmann  <gerd@gnu.org>
10036         * simple.el (clone-indirect-buffer-other-window): New command.
10037         (clone-indirect-buffer): Add optional arg NORECROD.
10038         (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
10040         * help.el (resize-temp-buffer-window): Use count-screen-lines.
10042         * window.el (count-screen-lines): New function.
10043         (shrink-window-if-larger-than-buffer): Use count-screen-lines
10044         instead of window-buffer-height.
10046         * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
10047         non-existing variable comint-input-sentinel.
10048         (inferior-lisp-args-to-list): Removed.
10049         (inferior-lisp): Use split-string instead of
10050         inferior-lisp-args-to-list.
10052         * hexl.el (hexl-insert-hex-string): New command.
10054         * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
10055         instead of concat.
10057 2000-04-18  Gerd Moellmann  <gerd@gnu.org>
10059         * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
10060         at the start of an existing but empty folder.
10062 2000-04-18  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
10064         * ps-mule.el: Customization fix, doc fix.
10065         (ps-multibyte-buffer): Customization fix.
10067 2000-04-17  Richard M. Stallman  <rms@gnu.org>
10069         * subr.el (read-passwd): Use read-char-exclusive.
10071 2000-04-17  Gerd Moellmann  <gerd@gnu.org>
10073         * textmodes/texinfo.el (texinfo-insert-@email)
10074         (texinfo-insert-@emph, texinfo-insert-@quotation)
10075         (texinfo-insert-@strong, texinfo-insert-@url): New functions.
10076         (texinfo-mode-map): Add key bindings for them.
10078         * files.el (basic-save-buffer-2): Use a template with `$'
10079         instead of `#' for VMS.
10081         * simple.el (clone-indirect-buffer): New function.
10083 2000-04-16  Stephen Eglen  <stephen@gnu.org>
10085         * iswitchb.el (iswitchb-case): New function.  If the user input
10086         contains any upper-case characters, the search is made
10087         case-sensitive.
10089 2000-04-17  Stefan Monnier  <monnier@cs.yale.edu>
10091         * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
10092         comment-end.
10093         (texinfo-font-lock-syntactic-keywords): New var.
10094         (texinfo-font-lock-keywords): Remove comment regexp.
10095         (texinfo-insert-block): New function.
10096         (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
10097         (texinfo-mode): Use define-derived-mode.  Tweak comment-start-skip
10098         and font-lock-defaults.  Use regexp-opt for outline-regexp.
10099         (texinfo-environments): New var.
10100         (texinfo-environment-regexp): Use regexp-opt and
10101         texinfo-environments.
10103         * textmodes/ispell.el (ispell-menu-map-needed): Check that
10104         ispell-process is bound since this might be eval'd before ispell
10105         is loaded.
10106         (ispell-message): Use a tiny bit less magic and a bit more hard
10107         data to figure out what kind of sc-cite-regexp to use.
10109         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
10111         * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
10112         (insert-cyclic-diary-entry): Unquote the lambda.
10114         * gud.el (gud-jdb-build-source-files-list): Fix typo.
10116         * files.el (backup-enable-predicate): Unquote the lambda.
10118         * cus-edit.el (custom-face, face): Unquote the lambda.
10120 2000-04-15  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
10122         * ps-print.el: Check for line-beginning-position definition.
10124         * ps-print.el: Fix counting lines in a region.
10125         (ps-print-version): New version number (5.1.5).
10126         (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
10127         (ps-printing-region): Fun code fix.
10129 2000-04-15  Gerd Moellmann  <gerd@gnu.org>
10131         * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
10132         to file-directory-p.
10134 2000-04-14  Gerd Moellmann  <gerd@gnu.org>
10136         * gud.el (gud-jdb-build-source-files-list): Check that directory
10137         exists before calling directory-files.
10139 2000-04-13  Dave Love  <fx@gnu.org>
10141         * emacs-lisp/trace.el: Change maintainer.  Use new backquote
10142         syntax.
10144         * emacs-lisp/cl-specs.el: Remove when, unless.
10146         * emacs-lisp/cl-extra.el: Don't quote keywords.
10147         (cl-old-mapc): New variable.
10148         (mapc): Use it.
10149         (cl-map-intervals): Use with-current-buffer.  Don't check for
10150         next-property-change.
10151         (cl-map-overlays): Use with-current-buffer.
10152         (cl-expt): Remove.
10153         (copy-tree, remprop): Define unconditionally.
10155         * emacs-lisp/cl-compat.el (keywordp): Remove.
10157         * emacs-lisp/edebug.el (edebug-keywordp): Remove.  Change callers
10158         to use keywordp.
10159         (edebug-spec): Enable keywordp.
10161         * cus-edit.el (custom-sort-items): Avoid symbol-name with new
10162         string-lessp.
10164         * cus-start.el: Use keywordp.
10166 2000-04-13  Edward M. Reingold  <reingold@emr.cs.uiuc.edu>
10168         * diary-lib.el (include-other-diary-files): Fix the fix of
10169         2000-02-18 by doing a save-excursion.
10171 2000-04-13  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
10173         * ps-print.el: Customization fix, doc fix.
10174         (ps-print-version): New version number (5.1.4).
10175         (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
10176         (ps-print-preprint): Adjust code.
10177         (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
10178         (ps-print-prologue-header, ps-print-control-characters)
10179         (ps-spool-config): Customization fix.
10181 2000-04-13  Eli Zaretskii  <eliz@is.elta.co.il>
10183         * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
10184         converted to the new menu-item format, names silightly changed,
10185         help strings added.
10187         Support for spelling without async subprocesses:
10189         * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
10190         (ispell-session-buffer): New variables.
10191         (ispell-start-process, ispell-process-status,
10192         ispell-accept-output, ispell-send-string): New functions, for
10193         Ispell invocation when async subprocesses aren't supported.
10194         (ispell-word, ispell-pdict-save, ispell-command-loop,
10195         ispell-process-line, ispell-buffer-local-parsing): Replace calls
10196         to process-send-string with calls to ispell-send-string, and
10197         accept-process-output with ispell-accept-output.
10198         (ispell-init-process): Call ispell-process-status instead of
10199         process-status with.
10200         (ispell-init-process): Call ispell-start-process.  Call
10201         ispell-accept-output and ispell-send-string.  Don't call
10202         process-kill-without-query and kill-process if they are unbound.
10203         (ispell-async-processp): New function.
10205 2000-04-12  Dave Love  <fx@gnu.org>
10207         * info.el: Add debug-ignored-errors.
10208         (Info-mode-menu): Add some items.
10209         (Info-directory): Add autoload cookie.
10211         * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
10212         Modify `truncate-lines'.  Make `describe-language-environment'
10213         always visible and add help.  Modify `describe-key' help.  Invoke
10214         Info-directory from `info'.  New entry `emacs-manual'.
10216 2000-04-10  Gerd Moellmann  <gerd@gnu.org>
10218         * progmodes/ebrowse.el (ebrowse-tree-mode): Use
10219         propertized-buffer-identification.
10220         (ebrowse-update-member-buffer-mode-line): Likewise.
10221         (ebrowse--mode-strings): Removed.
10222         (ebrowse--mode-line-props): Removed.
10224         * files.el (auto-mode-alist): Add `EBROWSE'.
10226         * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
10227         space before testing for end of buffer.
10228         (ebrowse-load): Removed.
10229         (ebrowse-revert-tree-buffer-from-file): Rewritten.
10230         (ebrowse-create-tree-buffer): Rewritten.
10231         (ebrowse-tree-mode): Read tree from buffer.
10233         * progmodes/ebrowse-ffh.el: Removed.
10235 2000-04-10  Kenichi Handa  <handa@etl.go.jp>
10237         * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
10239 2000-04-10  Gerd Moellmann  <gerd@gnu.org>
10241         * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
10242         at the wrong place.
10244 2000-04-09  Dave Love  <fx@gnu.org>
10246         * files.el (backup-enable-predicate): Use
10247         temporary-file-directory, small-temporary-file-directory.
10248         (make-backup-file-name-function, backup-directory-alist): New
10249         variables.
10250         (make-backup-file-name-1): New function.
10251         (make-backup-file-name): Use it.
10252         (find-backup-file-name): Likewise.  Use format for clarity, not
10253         concat.
10254         (file-newest-backup): Use make-backup-file-name.
10256 2000-04-09  Gerd Moellmann  <gerd@gnu.org>
10258         * progmodes/ebrowse-ffh.el: New file.
10260         * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
10261         to ebrowse-ffh.el.
10262         (ebrowse-load): Add autoload.
10264         * finder.el (finder-commentary): Add autoload cookie.
10266         * mail/rfc2368.el: Correct author's email address.
10268         * progmodes/ebrowse.el: New file.
10270         * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
10271         item help string.
10272         (easy-menu-do-add-item): Ditto.
10273         (easy-menu-define): Extend doc string.
10275         * jit-lock.el (with-buffer-unmodified): Use
10276         restore-buffer-modified-p.
10277         (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
10278         (jit-lock-function, jit-lock-stealth-fontify): Don't use
10279         with-buffer-unmodified.
10281 2000-04-08  Dave Love  <fx@gnu.org>
10283         * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
10284         unless, when.
10286 2000-04-07  Mikio Nakajima  <minakaji@osaka.email.ne.jp>
10288         * viper-util.el (viper-put-on-search-overlay): New subroutine.
10289         (viper-flash-search-pattern): No operation when using Emacs
10290         doesn't support face.
10291         Use `viper-put-on-search-overlay'.
10293 2000-04-04  Gerd Moellmann  <gerd@gnu.org>
10295         * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
10296         like C-r.
10298         * progmodes/make-mode.el: Some doc fixes.
10299         (makefile-mode-abbrev-table): New variable.
10300         (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
10301         (makefile-font-lock-keywords): Fontify includes and conditionals.
10302         (toplevel): Require `dabbrev' and `add-log' when compiling.
10304         * replace.el (perform-replace): Don't move forward one char
10305         when MATCH-AGAIN is nil, and REGEXP-FLAG is t.  We don't want
10306         to do that because it leaves point 1 position after the last
10307         replacement, after everything has been replaced.
10309         * jit-lock.el (with-buffer-unmodified): New macro.
10310         (with-buffer-prepared-for-font-lock): Don't preserve buffer's
10311         modified state.
10312         (jit-lock-function-1): Extracted from jit-lock-function; not
10313         preserving buffer's modified state.
10314         (jit-lock-function, jit-lock-stealth-fontify): Call
10315         jit-lock-function-1.
10317         * mail/rfc2368.el: Remove supernumerary copyright line.
10319 2000-04-04  Milan Zamazal  <pdm@freesoft.cz>
10321         * glasses.el: Provide facilities for inserting space before left
10322         parentheses and uncapitalization of identifiers.
10323         (glasses-mode): Try to remove old overlays in all cases.
10325 2000-04-03  Gerd Moellmann  <gerd@gnu.org>
10327         * progmodes/compile.el (compile-internal): Display the compilation
10328         buffer in a different frame, if it's already displayed there.
10330         * mail/rfc2368.el: New file.
10332         * simple.el (sendmail-user-agent-compose): Recognize a `body'
10333         header and insert its value as mail body.
10335         * subr.el (member-ignore-case): New function.
10337         * dabbrev.el (dabbrev-ignored-regexps): New user-option.
10338         (dabbrev--find-expansion): Ignore buffers matching a regexp
10339         from dabbrev-ignored-regexps.
10341         * jka-compr.el (jka-compr-compression-info-list): Add `.z'
10342         to extensions handled by gzip.
10344 2000-04-03  Richard M. Stallman  <rms@gnu.org>
10346         * files.el (insert-directory): List the total free space
10347         along with the used space.
10349         * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
10350         line is followed by one that matches CITATION-REGEXP, end the
10351         paragraph.
10353 2000-04-03  Markus Rost  <rost@delysid.gnu.org>
10355         * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
10356         (rmail-make-basic-summary-line): Use that option.
10358 2000-04-03  Kenichi Handa  <handa@etl.go.jp>
10360         * international/mule-cmds.el (encoded-string-description):
10361         Rewritten.   Try pretty description for ISO 2022 escape sequences
10362         only if CODING-SYSTEM is based on ISO 2022.  Use uppercase letters
10363         for hexadecimal format.
10365 2000-04-01  Dave Love  <fx@gnu.org>
10367         * cpp.el: Change customization group to `c' from `C'.
10369         * vcursor.el (vcursor-move): Use display-color-p.
10371         * international/mule-util.el: Provide mule-utils.
10372         (string-to-sequence): Simplify and speed up.
10374         * international/mule.el (make-coding-system): Purecopy doc-string.
10376         * international/mule-cmds.el: Various menu changes.
10377         (describe-specified-language-support): Handle `Default'.
10378         (set-language-info): Purecopy `info'.
10380 2000-03-31  Andrew Innes  <andrewi@gnu.org>
10382         * vc.el (vc-backend-diff): Return the correct status if we had to
10383         retry the rcsdiff command without the --brief option.
10385 2000-03-31  Dave Love  <fx@gnu.org>
10387         * help.el (help-manyarg-func-alist): Correct several omissions.
10389         * add-log.el: Don't require cl, fortran.
10390         (add-log-current-defun-function): Doc fix.
10391         (change-log-version-number-regexp-list): Remove SCCS part.  Doc
10392         fix.
10393         (change-log-version-rcs): Function deleted.
10394         (change-log-version-number-search): Doc fix.  Use
10395         vc-workfile-version.  Avoid CL dolist.
10396         (add-change-log-entry): Just call add-log-current-defun to get
10397         defun.  Simplify somewhat.
10398         (change-log-get-method-definition-1): Likewise.
10399         (add-log-current-defun): Return nil if calling
10400         add-log-current-defun-function does so.  Move Fortran stuff to
10401         fortran.el.  Return string without properties.
10403         * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
10404         and :alpha: char classes.
10406         * mail/supercite.el: Defvar curline when compiling.
10407         (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
10408         (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
10409         rather than a-zA-Z0-9 to allow non-ASCII characters.
10411 2000-03-31  Gerd Moellmann  <gerd@gnu.org>
10413         * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
10415         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10416         Re-enable new code.
10418         * lpr.el (print-region-1): Use -d to specify printer name for
10419         systems `usg-unix-v*, `dgux', `hpux', `irix'.
10421 2000-03-31  Dave Love  <fx@gnu.org>
10423         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
10424         for function definition in symbol's function value slot first
10425         instead of first consulting byte-compile-function-environment.
10427 2000-03-31  Kenichi Handa  <handa@etl.go.jp>
10429         * language/european.el ("Polish"): New language environment.
10430         (setup-polish-environment): New function.
10432 2000-03-30  Gerd Moellmann  <gerd@gnu.org>
10434         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10435         Disable new code.
10437         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
10438         trying to `load' the symbol of an autoload instead of the file
10439         recorded in the autoload.  Fix error messages.
10441 2000-03-30  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
10443         * ps-print.el: PostScript programming fix for ghostview, doc fix.
10444         (ps-print-version): New version number (5.1.3).
10445         (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
10446         (ps-insert-file, ps-output-boolean, ps-plot-with-face)
10447         (ps-generate-postscript-with-faces): Code fix.
10448         (ps-color-values): XEmacs compatibility.
10449         (ps-print-background-image, ps-print-background-text, ps-printer-name)
10450         (ps-default-fg, ps-default-bg): Adjust customization.
10451         (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
10452         (ps-color-scale): Renaming old ps-color-value fun.
10453         (ps-print-headers): Replace ps-print-header group to avoid conflict
10454         with ps-print-header variable.
10455         (ps-print-miscellany): New group.
10456         (ps-format-color, ps-rgb-color): New funs.
10457         (ps-default-foreground): New var.
10458         (ps-printer-name-option): New const.
10460 2000-03-30  Peter Breton  <pbreton@ne.mediaone.net>
10462         * net/net-utils.el:
10463         (network-connection-host, network-connection-service): New variables
10464         (network-connection-mode): New mode, derived from comint-mode
10465         (network-connection-mode-setup): New function, saves host and
10466         service information in local variables.
10468         * lisp/locate.el:
10469         (locate-word-at-point): Added this function
10470         (locate): Default to using locate-word-at-point as input
10471         Run dired-mode-hook
10473 2000-03-29  Dave Love  <fx@gnu.org>
10475         * calendar/appt.el: Doc fixes.
10476         (appt-check): Convert min-to-app to a string before passing to
10477         appt-disp-window-function or concat.
10478         (appt-delete-window): Remove test for frame-root-window.
10479         (appt-select-lowest-window, appt-convert-time): Simplify.
10481         * emacs-lisp/bytecomp.el: Doc fixes.
10482         (byte-compile-file-form-autoload): Update
10483         byte-compile-function-environment.
10485 2000-03-29  Andreas Schwab  <schwab@suse.de>
10487         * emacs-lisp/autoload.el: Also print defsubst doc string
10488         specially.
10490         * dired.el (dired-insert-directory): If dired-free-space-program
10491         failed just delete its output.
10493 2000-03-29  Dave Love  <fx@gnu.org>
10495         * international/iso-cvt.el: Move provide to end.  Doc fixes.
10496         (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
10497         (iso-iso2sgml, iso-sgml2iso): New functions.
10498         (iso-cvt-define-menu): Fix some entries and use backquote for
10499         clarity.
10501         * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
10503 2000-03-28  Gerd Moellmann  <gerd@gnu.org>
10505         * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
10506         ISO-DATE.  If non-nil, return date in ISO 8601 format.
10508 2000-03-26  Stefan Monnier  <monnier@cs.yale.edu>
10510         * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
10511         if it ever becomes used.
10512         (log-edit-mode-hook): Default to vc-log-mode-hook.
10513         (log-edit-mode): Fix the docstring.
10515         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
10516         the code.
10518 2000-03-26  Dave Love  <fx@gnu.org>
10520         * net/browse-url.el (browse-url): Re-fix case of
10521         browse-url-browser-function being an alist.
10522         (browse-url): Add :link to defgroup.
10524         * files.el: Doc fixes.
10525         (file-truename): Include `[' in wildcard characters.
10526         (automount-dir-prefix): Customize.
10527         (find-file-wildcards): Add :version.
10528         (find-file-noselect): Simplify a mapcar call.
10530         * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
10531         compatible with inf-lisp version.
10532         (eval-defun-1): Fix custom-declare-variable case.
10534 2000-03-25  Stefan Monnier  <monnier@cs.yale.edu>
10536         * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
10538 2000-03-24  Gerd Moellmann  <gerd@gnu.org>
10540         * Makefile (COMPILE_FIRST): New macro.
10541         (compile-files): Compile files from COMPILE_FIRST first.
10543         * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
10544         code.
10546         * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
10547         matching open parenthesis in column 0 to defun-prompt-regexp
10548         only if open-paren-in-column-0-is-defun-start is set.
10550         * sun-curs.el: Require CL at compile-time only.
10552         * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
10553         instead of copy-list which is a function from CL.
10554         (msb--choose-menu, msb--mode-menu-cond)
10555         (msb--create-buffer-menu-2): Use dolist instead of mapc.
10556         (msb--init-file-alist): Use mapcar instead of mapcan.
10557         (msb--aggregate-alist): Use mapcar instead of mapcan.  Fix
10558         `(' in column 0 in doc string.
10559         (msb--add-separators): Use mapcar instead of mapcan.
10561         * cus-dep.el: Require CL at compile-time only.
10563 2000-03-24  Stefan Monnier  <monnier@cs.yale.edu>
10565         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10566         (byte-compile-warnings): New warning `noruntime'.
10567         (byte-compile-constants, byte-compile-variables): Fix docstring.
10568         (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
10569         execute `eval-whenc-compile's body.
10570         (byte-compile-unresolved-functions): Fix docstring.
10571         (byte-compile-eval): New function.
10572         (byte-compile-callargs-warn): Check if the function will be available
10573         at runtime (via property `byte-compile-noruntime').
10574         (byte-compile-print-syms): New function.
10575         (byte-compile-warn-about-unresolved-functions): Also warn about
10576         `noruntime' functions (and use `byte-compile-print-syms').
10577         (byte-compile-file): Capitalize the message.
10579 2000-03-24  Gerd Moellmann  <gerd@gnu.org>
10581         * mail/rmail.el (rmail-confirm-expunge): New user-option.
10582         (rmail-expunge): Ask for confirmation depending on the setting
10583         of rmail-confirm-expunge.
10585 2000-03-23  Gerd Moellmann  <gerd@gnu.org>
10587         * Makefile (bootstrap-clean): If $(emacs) exists, build
10588         loaddefs.el first.  A loaddefs.el that's not up-to-date might
10589         cause a bootstrap failure because things don't autoload as
10590         expected.
10592 2000-03-23  Dave Love  <fx@gnu.org>
10594         * net/browse-url.el: Restore previous use of
10595         browse-url-maybe-new-window.
10597 2000-03-23  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
10599         * ps-print.el: Skip banner page fix.
10600         (ps-print-version): New version number (5.1.2).
10601         (ps-begin-file, ps-end-file, ps-generate): Code fix.
10603 2000-03-23  Dave Pearson  <davep@davep.org>
10605         * net/quickurl.el Changed the type of parameter passed to the
10606         function defined by `quickurl-format-function'. Before only the
10607         text of the URL was passed. Now the whole URL structure is passed
10608         and the function is responsible for extracting the parts it
10609         requires.  Changed the default of `quickurl-format-function'
10610         accordingly.
10611         (quickurl-insert): Changed the `funcall' of
10612         `quickurl-format-function' to match the above change.
10613         (quickurl-list-insert): Changed the `url' case so that it makes
10614         use of `quickurl-format-function', previous to this the format was
10615         hard wired.
10617 2000-03-22  Gerd Moellmann  <gerd@gnu.org>
10619         * startup.el: Change some spellings for the X Window System.
10621 2000-03-22  Stefan Monnier  <monnier@cs.yale.edu>
10623         * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
10624         up the code and the regexp and make sure the cursor is temporarily
10625         moved to the suspicious line while querying the user.
10627 2000-03-22  Jason Rumney  <jasonr@gnu.org>
10629         * w32-fns.el (w32-charset-info-alist): Initialize.
10631 2000-03-22  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
10633         * ps-print.el: N-up last page fix.
10634         (ps-print-version): New version number (5.1.1).
10635         (ps-end-file, ps-end-job, ps-generate): Code fix.
10637 2000-03-21  Stefan Monnier  <monnier@cs.yale.edu>
10639         * files.el (find-file-run-dired): Update docstring.
10640         (find-directory-functions): New hook.
10641         (find-file-noselect): Run find-directory-functions rather than
10642         calling dired directly.
10644         * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
10646         * pcvs.el: Add a minimal leading commentary.
10647         (cvs-make-cvs-buffer): Change the header part by removing the startup
10648         message and adding a `Module' entry.  Also replace the FOOTER and
10649         HEADER special fileinfos with the new support in ewoc for updating
10650         its own footer and header.
10651         (cvs-update-header): Update to use the header/footer of the ewoc.
10652         (cvs-mode): Use define-derived-mode and set truncate-lines to t.
10653         (cvs-is-within-p): New function.
10654         (cvs-mode-run): Take advantage of `save-some-buffers's new ability
10655         to only examine some subset of the buffers.
10657         * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
10658         `format' instead of our own ad-hoc functions.
10659         Remove HEADER and FOOTER cases, now handled in the EWOC.
10660         (cvs-fileinfo<): Remove HEADER and FOOTER cases.
10662         * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
10663         output to avoid scaring the user.
10664         (cvs-parse-table): Catch message for non-up-to-date commits.
10666         * pcvs-defs.el (cvs-startup-message): Remove.
10667         (cvs-global-menu): New autoloaded menu.
10669         * pcvs-util.el (cvs-string-fill): Remove.
10671         * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
10672         (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
10673         PP part of it and also make it work for footers and headers.
10674         (ewoc-create): Drop POS and BUFFER arguments.
10675         Use the DLL's dummy node to store the end-of-footer position.
10676         (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
10677         (ewoc-refresh): Remove unused `header' variable.
10678         (ewoc-(get|set)-hf): New functions.
10680         * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
10681         log-view-*-(message|file) and use easy-mmode-define-navigation.
10682         (log-view-message-re): Match SCCS format as well.
10683         And match the revision line rather than the dashed separator line.
10684         (log-view-mode): Use the new define-derived-mode.
10685         (log-view-current-tag): Fill in with an actual implementation.
10687         * cvs-status.el (cvs-status-(prev|next)): Rename from
10688         cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
10689         (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
10690         to let the output "breathe" a little more (more readable).
10691         (cvs-status-mode): Use the new define-derived-mode.
10693         * smerge-mode.el (smerge-auto-leave): New function and variable.
10694         (smerge-basic-map): Rename from smerge-basic-keymap.
10695         Change the bindings for smerge-diff-*.
10696         (smerge-*-map): Use easy-mmode-defmap.
10697         (smerge-(next|prev)): Use easy-mmode-define-navigation.
10698         (smerge-keep-*): Use smerge-auto-leave.
10700 2000-03-21  Jason Rumney  <jasonr@gnu.org>
10702         * cus-edit.el (custom-button-face): Use 3D look for w32.
10703         (custom-button-pressed-face): Likewise.
10705 2000-03-21  Gerd Moellmann  <gerd@gnu.org>
10707         * progmodes/etags.el (tags-case-fold-search): New user-option.
10708         (tags-loop-eval): New function.  Bind case-fold-search around eval
10709         depending on the value of tags-case-fold-search.
10710         (tags-loop-continue): Use tags-loop-eval.
10711         (find-tag-in-order): Bind case-fold-search depending on the value
10712         of tags-case-fold-search.
10714 2000-03-21  Stefan Monnier  <monnier@cs.yale.edu>
10716         * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
10717         (diff-end-of-hunk): Return the end position for use in
10718         `easy-mmode-define-navigation'.
10719         (diff-recenter): Remove.
10720         (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
10721         of `easy-mmode-define-navigation'.
10722         (diff-kill-*): Rename `diff-*-kill' (for consistency with the
10723         previous renaming) and fix to use new names.
10724         (diff-merge-strings): Use \n as separator: simpler, faster.
10725         (diff-mode): Use `define-derived-mode'.
10727         * derived.el (define-derived-mode): Don't autoload anymore.
10728         Prefer the macro-only version provided by easy-mmode.el.
10730         * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
10731         `easy-mmode-define-derived-mode'.
10732         Use `combine-run-hooks'.
10733         (easy-mmode-define-navigation): New macro.
10735         * subr.el (combine-run-hooks): New function.
10737 2000-03-21  Kenichi HANDA  <handa@etl.go.jp>
10739         * term/x-win.el: Fontsets related initialization is simplified.
10741         * international/mule-diag.el (describe-font): Don't refer to
10742         global-fontset-alist, instead call font-list.
10743         (describe-fontset, list-fontsets, mule-diag): Likewise.
10744         (print-fontset): Adjusted for the change of fontset
10745         implementation.
10747         * international/fontset.el (x-charset-registries): Variable
10748         removed, instead the corresponding data is stored in the default
10749         fontset.
10750         (register-alternate-fontnames): Function removed.
10751         (resolved-ascii-font): Variable removed.
10752         (x-compose-font-name): Ignore the second argument REDOCE.
10753         (x-complement-fontset-spec): Complement only an ASCII font and
10754         element for those charsets than can use that ASCII font.
10755         (generate-fontset-menu): Don't refer to global-fontset-alist,
10756         instead call fontset-list.
10757         (uninstantiated-fontset-alist): Variable removed.
10758         (x-style-funcs-alist): Likewise.
10759         (fontset-default-styles): Likewise.
10760         (x-modify-font-name): Function removed.
10761         (create-fontset-from-fontset-spec): Ignore the argument
10762         STYLE-VARIANT.
10763         (create-fontset-from-ascii-font): Docsting adjusted for the above
10764         change.
10765         (instantiate-fontset, resolve-fontset-name): Functions removed.
10766         (fontset-list): Now implemented by C code.
10768         * faces.el (read-face-font): Fix TABLE arg to completing-read.
10769         (describe-face): Include `font' attribute in the description.
10771 2000-03-21  Kenichi Handa  <handa@etl.go.jp>
10773         * international/quail.el (quail-set-keyboard-layout): Typo fixed.
10775 2000-03-20  Gerd Moellmann  <gerd@gnu.org>
10777         * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
10778         ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
10779         zone-mode.el, snmp-mode.el: Moved to net subdirectory.
10781         * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
10782         about behavior of set-buffer-modified-p wrt redisplay.
10784 2000-03-19  Richard M. Stallman  <rms@gnu.org>
10786         * view.el (view-mode-disable): Kill local binding of view-read-only.
10788 2000-03-18  Gerd Moellmann  <gerd@gnu.org>
10790         * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
10791         is a string, convert it to a syntax cell using string-to-syntax.
10793         * simple.el (syntax-code-table, syntax-flag-table): New variables.
10794         (string-to-syntax): New function.
10796         * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
10797         (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
10798         try to use passive ftp mode.
10800 2000-03-17  Gerd Moellmann  <gerd@gnu.org>
10802         * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
10804         * simple.el (append-to-buffer): Update point of windows after
10805         insertion.
10807         * abbrev.el (inverse-add-abbrev): Identify word by first moving
10808         forward then moving backward.  Reindent.
10810         * frame.el (other-frame): Call x-focus-frame only if
10811         focus-follows-mouse is off.
10813 2000-03-17  Dave Love  <fx@gnu.org>
10815         * pcvs-util.el (cvs-strings->string): Rename
10816         replace-regexps-in-string.
10818 2000-03-17  Stefan Monnier  <monnier@cs.yale.edu>
10820         * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
10821         regexp for labels cannot span several lines.
10823         * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
10824         `(setq :<key> ':<key>)' to the macro expansion.
10826 2000-03-16  Dave Love  <fx@gnu.org>
10828         * progmodes/f90.el (f90): Put custom group under `languages', not
10829         `fortran'.
10830         (f90-mode-hook): Customize.
10831         (f90-mode): Set add-log-current-defun-function.
10832         (f90-current-defun): New function.
10834 2000-03-16  Gerd Moellmann  <gerd@gnu.org>
10836         * cus-edit.el (custom-variable-tag-face): Handle case that
10837         default face's height is not a number.
10838         (custom-face-tag-face, custom-group-tag-face-1)
10839         (custom-group-tag-face): Ditto.
10840         (custom-group-tag-face-1): Add :group.
10842         * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
10844 2000-03-15  Gerd Moellmann  <gerd@gnu.org>
10846         * pcvs-defs.el (toplevel): Remove autoload cookie for form
10847         requiring easymenu.
10849 2000-03-15  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
10851         * ps-print.el: PostScript user-defined prologue, PostScript error
10852         handler, doc fix.
10853         (ps-print-version): New version number (5.1).
10854         (ps-user-defined-prologue, ps-error-handler-message)
10855         (ps-print-prologue-0, ps-error-handler-alist): New vars.
10856         (ps-setup, ps-begin-file, ps-begin-job): Code fix.
10857         (ps-insert-string): New function.
10859 2000-03-15  Kenichi Handa  <handa@etl.go.jp>
10861         * international/ccl.el (ccl-compile-expression): Don't generate
10862         invalid self-assignment code.
10864 2000-03-14  Dave Love  <fx@gnu.org>
10866         * subr.el (replace-regexp-in-string): Renamed from
10867         replace-regexps-in-string.  Doc fix.
10869 2000-03-12  Dave Love  <fx@gnu.org>
10871         * cus-edit.el: Doc fixes.
10872         (customize-set-variable, customize-save-variable): Rename args for
10873         doc.
10874         (custom-variable-tag-face, custom-face-tag-face)
10875         (custom-group-tag-face-1, custom-group-tag-face): Modify from
10876         style which user identify as hyperlink.
10877         (hook): Don't add undefined functions to the hook.
10878         (debug-ignored-errors): Transfer message from bindings.el.
10880 2000-03-12  Gerd Moellmann  <gerd@gnu.org>
10882         * recentf.el (recentf-keep-non-readable-files-p): Remove
10883         double/nested definition.
10885 2000-03-12  Dave Love  <fx@gnu.org>
10887         * facemenu.el (facemenu-get-face): Use display-color-p.
10888         * enriched.el (enriched-decode-foreground): Likewise.
10889         (enriched-decode-background): Likewise.
10890         * isearch.el (isearch-highlight): Likewise.
10891         * info-look.el (info-lookup): Likewise.
10892         * simple.el (completion-setup-function): Likewise.
10894         * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
10895         :options.
10897         * bindings.el (mode-line-format): Fix line-number and
10898         column-number items.  Add help-echo for the background.
10899         (mode-line-mule-info): Modify help-echo.
10901         * avoid.el (mouse-avoidance-mode): Add autoload cookie to defcustom.
10903         * files.el (load-file): Allow completion to .elc.
10905         * man.el: Doc fixes.
10906         (Man-init-defvars): Use display-color-p to set fontification.
10908         * play/hanoi.el (hanoi-internal): Don't use oddp.
10910 2000-03-12  Gerd Moellmann  <gerd@gnu.org>
10912         * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
10914         * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
10916 2000-03-12  Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
10918         * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
10919         Fix comment.
10921 2000-03-10  Stefan Monnier  <monnier@cs.yale.edu>
10923         * font-lock.el (font-lock-keywords): Fix the doc now that
10924         regexp-opt-depth is unnecessary.
10925         (save-buffer-state): Set an edebug spec.
10926         (font-lock-fontify-anchored-keywords): Properly handle the case when
10927         the matcher goes past the limit.
10929         * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
10930         pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
10932         * emacs-lisp/ewoc.el: New file.  This is a merge of elib-node.el,
10933         dll.el and cookie.el (from Elib) with heavy renaming and other
10934         massaging.
10936         * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
10937         Autoload the functions used.
10938         (easy-mmode-define-syntax): Fix CL typo.
10939         (easy-mmode-define-derived-mode): Improve the docstring generation.
10941 2000-03-10  Gerd Moellmann  <gerd@gnu.org>
10943         * textmodes/texinfo.el (texinfo-version): Variable and function
10944         removed.
10946 2000-03-09  Stefan Monnier  <monnier@cs.yale.edu>
10948         * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
10949         allow more flexibility.
10950         (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
10951         fns.
10952         (easy-mmode-defmap, easy-mmode-defsyntax)
10953         (easy-mmode-define-derived-mode): New macros.
10955 2000-03-09  Didier Verna  <didier@xemacs.org>
10957         * rect.el (replace-rectangle): New function.
10959 2000-03-09  Dave Love  <fx@gnu.org>
10961         * progmodes/fortran.el (fortran-comment-line-start): Define as
10962         "C".
10963         (fortran-comment-line-start-skip): Don't match cpp stuff.
10964         (font-lock-keywords): Add * to comment-chars.  Grok cpp stuff.
10965         (fortran-mode-map): Remove over-eager custom-menu-create for now.
10966         (fortran-mode): Don't set fortran-comment-line-start-skip,
10967         fortran-comment-line-start here.  Set comment-start,
10968         add-log-current-defun.
10969         (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
10970         (fortran-current-defun): New function.
10972 2000-03-09  Gerd Moellmann  <gerd@gnu.org>
10974         * emacs-lisp/re-builder.el: New file.
10976         * mouse.el (mouse-drag-region): Don't run up-event handler
10977         if hscroll has changed.
10979         * octave-mod.el (octave-font-lock-keywords): To font-lock the
10980         builtin operators, use `font-lock-builtin-face' for Emacs and
10981         `font-lock-preprocessor-face' otherwise.
10983         * font-lock.el (lisp-font-lock-keywords-1): Highlight
10984         `(defun (setf foo)' differently.
10986 2000-03-08  Stefan Monnier  <monnier@cs.yale.edu>
10988         * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
10989         (regexp-opt): Update comment and adapt the code the new meaning of
10990         the `paren' argument of regex-opt-group for shy-groups.
10991         (regexp-opt-depth): Handle shy groups as well as backslashed
10992         backslashes.
10993         (regexp-opt-group): Turn the leading comment into a docstring.
10994         Allow `paren' to be a string (the string to use to open a group).
10995         Remove open-presuf and close-presuf.  Instead of checking for `all
10996         one-char' and then later on check for `several one-char', handle
10997         both cases close together.  Also apply a more generic algorithm
10998         for suffixes (the mirror image of the algorithm used for
10999         prefixes).  Use shy-groups.  Use nreverse rather than reverse.
11000         (regexp-opt-try-suffix): Removed.
11002         * cmuscheme.el (inferior-scheme-mode-map): Define it independently
11003         from comint-mode-map, so we can just inherit from it.  Also, move
11004         the initialization into the `defvar' since there's no docstring
11005         anyway and it's fairly short.
11006         (inferior-scheme-mode): Define it as derived-mode: the code is
11007         shorter and this way we inherit from comint-mode-map rather than
11008         copying it.
11010         * subr.el (replace-regexps-in-string): Properly handle the case
11011         where we match an empty string.
11013         * comint.el (comint-exec-1): Add the current-dir to the exec-path
11014         when the command has a directory component (such as "./testml").
11015         Also fix a typo in the comment.
11017 2000-03-08  Gerd Moellmann  <gerd@gnu.org>
11019         * Makefile (compile-files): Compile files one by one because
11020         that's the only way to ensure a clean compilation environment for
11021         each individual file.
11023         * frame.el (other-frame): Call x-focus-frame.
11025 2000-03-07  Dave Love  <fx@gnu.org>
11027         * recentf.el (recentf-keep-non-readable-files-p): Add :set,
11028         :require to defcustom.
11030         * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
11031         lists.
11033         * files.el (auto-mode-alist): Add configure.in.
11035         * progmodes/autoconf.el: New file.
11037 2000-03-07  Gerd Moellmann  <gerd@gnu.org>
11039         * mail/mh-e.el: Change maintainer to `none'.
11041         * recentf.el (recentf-keep-non-readable-files-p): Quote args
11042         to remove-hook and add-hook.
11044 2000-03-07  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
11046         * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
11047         it as the default.
11048         (mail-send): Test mail-send-nonascii also for the new `mime' value.
11049         (sendmail-send-it): Conditionally add MIME headers specifying the
11050         used character set.
11052 2000-03-07  Dave Love  <fx@gnu.org>
11054         * winner.el: Fix keywords, autoload cookies.  Split
11055         eval-when-compile form to avoid compilation failure.
11057 2000-03-07  Miyashita Hisashi  <himi@bird.scphys.kyoto-u.ac.jp>
11059         * international/mule.el: Modify comment about coding system
11060         property `coding-category'.
11061         (make-coding-system): New argument EOL-TYPE.  Pay attention to
11062         coding-category property of PROPERTIES.
11064         * international/mule-conf.el (coding-category-utf-8,
11065         coding-category-utf-16-be, coding-category-utf-16-le): New coding
11066         categories.  Include them in the argument for set-coding-priority.
11068         * international/mule-cmds.el (reset-language-environment): Include
11069         coding-category-utf-8, coding-category-utf-16-be, and
11070         coding-category-utf-16-le in the argument for set-coding-priority.
11071         (reset-language-environment): Initialize coding-category-utf-8,
11072         coding-category-utf-16-be, and coding-category-utf-16-le to nil.
11074 2000-03-06  Karl Fogel  <kfogel@red-bean.com>
11076         * bookmark.el (bookmark-file-or-variation-thereof): New func, for
11077         code abstracted out of `bookmark-jump-noselect'.  Now tries info
11078         extensions as well as compression extensions.
11079         (bookmark-jump-noselect): Use above new func.
11081 2000-03-03  Gerd Moellmann  <gerd@gnu.org>
11083         * strokes.el: Change maintainer's mail address.
11085 2000-03-03  Kenichi Handa  <handa@etl.go.jp>
11087         * international/mule-diag.el (list-character-sets): Make help-echo
11088         string by substitute-command-keys.
11089         (list-character-sets): Likewise.
11090         (sort-listed-character-sets): Call help-setup-xref.
11092 2000-03-02  Gerd Moellmann  <gerd@gnu.org>
11094         * time.el (display-time-mail-file): Add `none' to the list of
11095         choices.
11097 2000-03-01  Dave Love  <fx@gnu.org>
11099         * help.el (help-xref-go-back): Don't try to set position.
11101         * international/mule-diag.el (list-character-sets): Call
11102         help-setup-xref.  Add help-echo to xrefs.
11103         (list-character-sets-1): Add help-echo to xrefs.
11105 2000-03-02  Gerd Moellmann  <gerd@gnu.org>
11107         * frame.el (blink-cursor-mode): Switch cursor on when turning
11108         the mode off.
11110         * add-log.el (add-log-current-defun): Add support for
11111         Autoconf mode.
11113         * mail/rmail.el (rmail-quit-hook): New variable.
11115 2000-03-01  Dave Love  <fx@gnu.org>
11117         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
11119         * help.el (help-xref-button): Add help-echo arg.
11120         (describe-function-1, describe-variable, help-make-xrefs): Use it.
11122         * faces.el (list-faces-display): Supply help-echo with
11123         help-make-xrefs.
11125         * facemenu.el (list-text-properties-at): Set help-xref-stack to
11126         nil.
11128 2000-03-01  Gerd Moellmann  <gerd@gnu.org>
11130         * image.el (defimage): Look for image files in load-path.
11132         * frame.el (busy-cursor-delay-seconds): Change type to
11133         `number'.
11135 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
11137         * recentf.el (recentf): Added version tag to the defgroup of
11138         recentf.
11140 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
11142         * recentf.el (recentf-cleanup): Changed to remove excluded file
11143         too.
11144         (recentf-edit-list-action): `recentf-edit-list' checkbox widget
11145         action to select/unselect a file.
11146         (recentf-edit-list): Code cleanup and improvement.
11147         (recentf-open-more-files-action): `recentf-open-more-files' button
11148         widget action to open a file.
11149         (recentf-open-more-files): No more use standard completion but
11150         widgets.
11151         (recentf-more-collection): Deleted.
11152         (recentf-more-history): Deleted.
11153         (recentf-setup-more-completion): Deleted.
11155 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
11157         * recentf.el (recentf-mode): No more needs that Emacs is running
11158         under a window-system.
11160 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
11162         * recentf.el (recentf-edit-list): New command to edit the recent
11163         list which allow the user to remove files.
11164         (recentf-edit-selected-items): New global variable, used by
11165         `recentf-edit-list' to hold the list of files to be removed from
11166         the recent list.
11167         (recentf-make-menu-items): Updated to display a "Edit list..."
11168         menu item.  Minor code cleanup.
11170 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
11172         * recentf.el (recentf-open-more-files): New command to open files
11173         that are not displayed in the menu.
11174         (recentf-more-collection): New global variable holding the set of
11175         permissible completions used by `recentf-open-more-files'.
11176         (recentf-more-history): New global variable holding the history list
11177         used by `recentf-open-more-files' completion.
11178         (recentf-setup-more-completion): New function to setup completion for
11179         `recentf-open-more-files'.
11180         (recentf-make-menu-items): Updated to display a "More..." menu item.
11182 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
11184         * recentf.el (recentf-menu-action): Doc fixed.
11186 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
11188         * recentf.el (recentf-menu-filter): Doc updated.
11189         (recentf-update-menu-hook): Allow menu filters to force menu update.
11190         (recentf-make-menu-items): New menu filter handling.
11191         (recentf-make-menu-item): New helper function.
11192         (recentf-menu-elements): New menu handling function.
11193         (recentf-sort-ascending): Updated to new menu filter handling.
11194         (recentf-sort-descending): Updated to new menu filter handling.
11195         (recentf-sort-basenames-ascending): New menu filter function.
11196         (recentf-sort-basenames-descending): New menu filter function.
11197         (recentf-show-basenames): New menu filter function.
11198         (recentf-show-basenames-ascending): New menu filter function.
11199         (recentf-show-basenames-descending): New menu filter function.
11201 2000-02-29  Edward M. Reingold  <reingold@emr.cs.uiuc.edu>
11203         * diary-lib.el (list-diary-entries): Don't try to go forward at
11204         the end of the buffer.
11206 2000-02-29  Kenichi Handa  <handa@etl.go.jp>
11208         * international/mule-diag.el (list-character-sets): Completely
11209         rewritten.
11210         (sort-listed-character-sets): New function.
11211         (list-character-sets-1): Completely rewritten.
11212         (list-character-sets-2): New function.
11213         (non-iso-charset-alist): New variable.
11214         (decode-codepage-char): New function.
11215         (charset-history): New variable.
11216         (read-charset) (list-block-of-chars)
11217         (list-iso-charset-chars)
11218         (list-non-iso-charset-chars)
11219         (list-charset-chars): New functions.
11220         (mule-diag): Call list-character-sets-2, not
11221         list-character-sets-2.
11222         (dump-charsets): Likewise.
11224 2000-02-29  Gerd Moellmann  <gerd@gnu.org>
11226         * dired-x.el (dired-filename-at-point): Add `@' to valid
11227         file name characters.
11228         (dired-filename-at-point): Handle ange-ftp file names.
11230         * frame.el (frame-notice-user-settings): Use assq-delete-all
11231         instead of assoc-delete-all.
11232         (frame-notice-user-settings): Ditto.
11234         * subr.el (assq-delete-all): Renamed from assoc-delete-all.
11235         Don't copy alist.
11237 2000-02-28  Eli Barzilay  <eli@cs.cornell.edu>
11239         * calculator.el (calculator-use-menu): New option.
11240         (calculator-initial-bindings): Changed some bindings to work as
11241         macros.
11242         (calculator-forced-input): Removed.
11243         (calculator-restart-other-mode): New variable.
11244         (calculator-mode-map): Set up menu.
11246 2000-02-28  Jari Aalto  <jari.aalto@poboxes.com>
11248         * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
11249         tags.
11251 2000-02-28  Michael Kifer  <kifer@cs.sunysb.edu>
11253         * viper-cmd.el (viper-envelop-ESC-key): added the option to
11254         translate all ESC key sequences.
11255         (viper-goto-mark-subr): restore markers for files for which
11256         they were saved.
11257         * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
11258         * viper-util.el (viper-set-replace-overlay-glyphs,
11259         viper-set-replace-overlay): always check if the replacement
11260         overlay is live.
11261         * viper.el (viper-vi-state-mode-list): added major modes.
11262         * ediff-wind.el: minor comment changes.
11263         * ediff.el: copyright notice date fix.
11265 2000-02-27  Jason Rumney  <jasonr@gnu.org>
11267         * faces.el (face-font-family-alternatives): Add arial to helv.
11268         (mode-line, header-line, tool-bar): Same default as x for w32.
11269         (fixed-pitch, variable-pitch): Remove wildcard as it prevents
11270         face-font-family-alternatives from working.
11271         * term/w32-win.el (mouse-set-font): Do not build fontset from
11272         chosen font.
11274 2000-02-25  Sam Steingold  <sds@goems.com>
11276         * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
11277         properly.
11279 2000-02-25  Richard M. Stallman  <rms@gnu.org>
11281         * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
11283 2000-02-25  Gerd Moellmann  <gerd@gnu.org>
11285         * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
11286         writable.
11288         * frame.el (busy-cursor-delay-seconds): New option.
11290 2000-02-24  Gerd Moellmann  <gerd@gnu.org>
11292         * frame.el (show-cursor-in-non-selected-windows): New option.
11294 2000-02-24  Edward M. Reingold  <reingold@emr.cs.uiuc.edu>
11296         * diary-lib.el (include-other-diary-files): Undo the selective
11297         display in any included file and don't kill it.
11299 2000-02-24  Eli Zaretskii  <eliz@is.elta.co.il>
11301         * dired.el (dired-mode-map): Don't remove "Edit" from the menu
11302         bar.  Menu items converted to (menu-item format, help strings
11303         added.
11304         [downcase, upcase]: Don't enable on MS-DOS.
11305         [symlink, symlinks]: Don't show if make-symbolic-link is not
11306         bound.
11307         [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
11309 2000-02-23  Dave Love  <fx@gnu.org>
11311         * simple.el (zap-to-char, kill-line, kill-region, kill-word)
11312         (backward-kill-word): Revert addition of * to interactive spec --
11313         it's a feature.
11315         * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
11316         (backward-kill-sentence, kill-sentence): Likewise.
11318         * gud.el (gud-jdb-build-class-source-alist): Prepend space to
11319         scratch buffer name.
11320         (gud-format-command): Use int-to-string in ?l case.  Simplify
11321         slightly.
11323         * term/w32-win.el (internal-face-interactive): Update prompt for
11324         new read-face-name.
11326         * mail/footnote.el (footnote): Add :version to defgroup.
11327         (footnote-section-tag-regexp): Customize.
11328         (footnote-start-tag, footnote-end-tag): New option.
11329         (footnote-latin-regexp): New variable.
11330         (Footnote-latin): New function.
11331         (footnote-style-alist): Add element for latin style.
11332         (footnote-style): Moved.
11333         (Footnote-goto-footnote): Use eq to test arg.
11335         * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
11337         * emacs-lisp/byte-opt.el: Change old backquote syntax.
11338         (byte-compile-trueconstp): Include keywords.
11339         (byte-optimize-quote, byte-optimize-lapcode): Use
11340         byte-compile-const-symbol-p.
11341         (byte-optimize-char-before): New optimization.
11343         * emacs-lisp/bytecomp.el: Change old backquote syntax.
11344         (byte-compile-const-symbol-p): New function.
11345         (byte-compile-constp, byte-compile-out-toplevel)
11346         (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
11347         Use it.
11349         * subr.el (define-key-after): Default AFTER to t.  Doc fix.
11351 2000-02-23  Kenichi Handa  <handa@etl.go.jp>
11353         * international/encoded-kb.el: Be sure to update minor-mode-alist
11354         and minor-mode-map-alist.
11355         (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
11356         codes SS2 and SS3 correctly.
11357         (encoded-kbd-self-insert-ccl): New function.
11358         (encoded-kbd-setup-keymap): New function.
11359         (encoded-kbd-mode): Handle CCL based coding system.  Setup keymap
11360         by calling encoded-kbd-setup-keymap.
11362         * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
11363         characters.
11364         (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
11365         locally.
11367 2000-02-22  Dave Love  <fx@gnu.org>
11369         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
11370         (lisp-mode-map, lisp-interaction-mode-map): Define all inside
11371         defvar.
11372         (lisp-mode-syntax-table): Set up for #|...|# comments.
11373         (lisp-imenu-generic-expression): Purecopy strings.  Use syntax
11374         classes.  Match `defface'.
11375         (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
11376         (eval-defun-1): Fix for defcustom.
11377         (lisp-indent-region): Doc fix.
11379         * subr.el (when, unless, split-string): Doc fix.
11380         (read-passwd): Move call of clear-this-command-keys to the right
11381         place.
11382         (replace-regexps-in-string): New function.
11384 2000-02-22  Gerd Moellmann  <gerd@gnu.org>
11386         * help.el (describe-variable): Set syntax table to
11387         emacs-lisp-mode-syntax-table when moving forward over the
11388         symbol's name.
11390 2000-02-22  Dave Love  <fx@gnu.org>
11392         * xt-mouse.el: Doc fixes.
11393         (xterm-mouse-position-function): New function, replacing advice of
11394         mouse-position.
11395         (xterm-mouse-mode): Use it.  Don't turn on under a window system.
11397         * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
11399 2000-02-21  Gerd Moellmann  <gerd@gnu.org>
11401         * format.el (format-annotate-single-property-change): Handle
11402         properties.with dotted-list values.
11403         (format-proper-list-p): New function.
11405         * enriched.el (enriched-face-ans): Handle '(foreground-color
11406         . COLOR) and (background-color . COLOR).
11408 2000-02-20  Dave Love  <fx@gnu.org>
11410         * textmodes/flyspell.el (flyspell-mouse-map): Change definition
11411         and assignments to it.
11412         (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
11413         current local map.
11414         (make-flyspell-overlay): Use it.
11415         (flyspell-correct-word/mouse-keymap): Change XEmacs test.
11417         * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
11418         (lm-get-header-re): Defun, not defsubst.
11419         (lm-get-package-name): Defun, not defsubst.  Simplify.
11420         (lm-version): Doc fix.  Simplify.
11421         (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
11422         (lm-crack-address, lm-last-modified-date, lm-commentary)
11423         (lm-verify, lm-synopsis): Simplify.
11424         (lm-report-bug): Require emacsbug.  Use compose-mail.
11426 2000-02-20  Gerd Moellmann  <gerd@gnu.org>
11428         * dired.el (dired-mode): Call propertized-buffer-identification
11429         to set mode-line-buffer-identification to something having
11430         the right text properties.
11432         * bindings.el (propertized-buffer-identification): New function.
11434 2000-02-20  Dave Love  <fx@gnu.org>
11436         * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
11437         check for t-mouse too.
11439         * cus-start.el: Make echo-keystrokes `number'.
11441 2000-02-20  Eli Zaretskii  <eliz@is.elta.co.il>
11443         * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
11444         Don't call ring-empty-p unless tags-location-ring is bound.
11445         From Noah Friedman <friedman@splode.com>.
11447 2000-02-18  Thien-Thi Nguyen  <ttn@gnu.org>
11449         * progmodes/hideshow.el (hs-flag-region): No longer use
11450         `intangible' overlay property.
11452         (hs-toggle-hiding): New command.
11453         (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
11455         (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
11456         Fix omission bug: Run `hs-minor-mode-hook' for both activation
11457         and deactivation.
11459 2000-02-18  Gerd Moellmann  <gerd@gnu.org>
11461         * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
11463 2000-02-17  Gerd Moellmann  <gerd@gnu.org>
11465         * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
11467         * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
11468         of `*' to handle `(* ... *)' comments.
11470 2000-02-17  Eli Zaretskii  <eliz@is.elta.co.il>
11472         * faces.el (list-faces-display): Use display-mouse-p instead of
11473         window-system.
11475         * menu-bar.el (global-map): Menu-bar items converted to the new
11476         format (menu-item..., rearranged for better CUA compliance, and
11477         their names changed for better clarity.  Help strings added.
11479         * international/mule-cmds.el (mule-menu-keymap)
11480         (describe-language-environment-map, set-coding-system-map)
11481         (setup-language-environment-map): Convert to new (menu-item...
11482         form, add help strings.  Change names of menu items for better
11483         clarity.  "Mule" menu-bar item removed (it's now in the "Options"
11484         submenu).
11486 2000-02-17  Gerd Moellmann  <gerd@gnu.org>
11488         * dired-aux.el (dired-do-copy): Remove spurious character.`n'
11489         within the code.
11491 2000-02-16  Dave Love  <fx@gnu.org>
11493         * faces.el: Don't require custom.  Add more specific :groups to
11494         various deffaces.
11495         (set-face-attribute): Purecopy args.
11496         (read-face-name): Default to name at point and use it in prompt.
11497         Remove colon from arg in all callers.
11498         (list-faces-display): Hyperlink to face descriptions and customize
11499         buffers.
11501 2000-02-16  Per Abrahamsen  <abraham@dina.kvl.dk>
11503         * wid-edit.el (widget-match-inline): An atom never matches a
11504         list.
11506 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11508         * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11509         at ':' characters by call to split-string.
11511 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11513         * textmodes/bibtex.el: Added RCS version identification.
11515 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11517         * textmodes/bibtex.el: Some temporary comments removed.
11518         (bibtex-field-name, bibtex-entry-type): Made the relationship
11519         explicit.
11520         (bibtex-field-const): Allow capital letters.
11521         (bibtex-start-of-string): Deleted because unused.
11523         * textmodes/bibtex.el: Unified some nomenclature.  We no longer
11524         use the term 'reference' to describe a bibtex entry as a whole.
11525         Further, reference keys are no longer called 'labels'.
11526         (bibtex-keys): Renamed to bibtex-reference-keys.
11527         (bibtex-reformat-previous-labels): Renamed to
11528         bibtex-reformat-previous-reference-keys.
11529         (bibtex-reference-type): Renamed to bibtex-entry-type.
11530         (bibtex-reference-head): Renamed to bibtex-entry-head.
11531         (bibtex-reference-maybe-empty-head): Renamed to
11532         bibtex-entry-maybe-empty-head.
11533         (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11534         (bibtex-search-reference): Renamed to bibtex-search-entry.
11535         (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11536         bibtex-enclosing-entry-maybe-empty-head.
11537         (bibtex-entry-field-alist, bibtex-entry-head,
11538         bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11539         bibtex-map-entries, bibtex-search-entry,
11540         bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11541         bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11542         bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11543         bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11544         bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11545         bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11546         bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11548 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11550         * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11551         comment.
11552         (bibtex-format-field-delimiters): New function, functionality
11553         extracted from bibtex-format-entry.
11554         (bibtex-autokey-get-yearfield-digits): New function, functionality
11555         extracted from bibtex-autokey-get-yearfield.
11557         * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11558         entries in order to avoid stack overflow in the regexp matcher if
11559         field contents become large.
11560         (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11561         bibtex-field-string-part-not-braced,
11562         bibtex-field-string-part-no-inner-braces,
11563         bibtex-field-string-part-1-inner-brace,
11564         bibtex-field-string-part-2-inner-braces,
11565         bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11566         bibtex-field-string-quoted, bibtex-field-string,
11567         bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11568         bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11569         bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11570         as parsing is now performed by the following functions.
11571         (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11572         bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11573         bibtex-parse-field-string, bibtex-search-forward-field-string,
11574         bibtex-parse-association, bibtex-field-name-for-parsing,
11575         bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11576         bibtex-search-forward-field, bibtex-search-backward-field,
11577         bibtex-start-of-field, bibtex-end-of-field,
11578         bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11579         bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11580         bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11581         bibtex-parse-string, bibtex-search-forward-string,
11582         bibtex-search-backward-string, bibtex-start-of-string,
11583         bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11584         bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11585         bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11586         entries.  Instead of reporting the results of the parsing by
11587         match-beginning or match-end, these functions return data structures
11588         that hold the corresponding positions.
11589         (bibtex-enclosing-field): Changed to also report field boundaries by
11590         return values rather than by match-beginning or match-end.  The
11591         following functions have been adapted to use the new parsing
11592         functions.
11593         (bibtex-skip-to-valid-entry, bibtex-search-reference,
11594         bibtex-enclosing-field, bibtex-format-entry,
11595         bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11596         bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11597         bibtex-print-help-message, bibtex-end-of-entry,
11598         bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11599         bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11600         bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11601         method for parsing.
11602         (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11603         bibtex-map-entries, bibtex-flash-head,
11604         bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11605         bibtex-autokey-change, bibtex-autokey-get-namefield,
11606         bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11607         bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11608         bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11609         bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11610         bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11611         order to make the new binding of case-fold-search immediately
11612         visible.
11614 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11616         * textmodes/bibtex.el: Copyright notice is up to date.
11617         Added constant 'bibtex-maintainer-salutation.
11619         * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11620         than make-temp-name, use match-string-no-properties and eliminate
11621         a quadratic behavior when building bibtex-strings.
11623         * bibtex.el (bibtex-reference-key): Accept string entries whose
11624         reference key contains upper case letters.
11626 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11628         * bibtex.el (bibtex-reference-head): Allow entries to start with
11629         a new line.
11631 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11633         * bibtex.el: Hiding of entry bodies is not longer provided by
11634         bibtex.el directly.  Instead the hideshow package can be used.
11635         Added a special bibtex entry to hs-special-modes-alist.
11636         (bibtex-hs-forward-sexp): Added for hideshow.el.
11638 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11640         * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11641         at ':' characters by call to split-string.
11643 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11645         * textmodes/bibtex.el: Added RCS version identification.
11647 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11649         * textmodes/bibtex.el: Some temporary comments removed.
11650         (bibtex-field-name, bibtex-entry-type): Made the relationship
11651         explicit.
11652         (bibtex-field-const): Allow capital letters.
11653         (bibtex-start-of-string): Deleted because unused.
11655         * textmodes/bibtex.el: Unified some nomenclature.  We no longer
11656         use the term 'reference' to describe a bibtex entry as a whole.
11657         Further, reference keys are no longer called 'labels'.
11658         (bibtex-keys): Renamed to bibtex-reference-keys.
11659         (bibtex-reformat-previous-labels): Renamed to
11660         bibtex-reformat-previous-reference-keys.
11661         (bibtex-reference-type): Renamed to bibtex-entry-type.
11662         (bibtex-reference-head): Renamed to bibtex-entry-head.
11663         (bibtex-reference-maybe-empty-head): Renamed to
11664         bibtex-entry-maybe-empty-head.
11665         (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11666         (bibtex-search-reference): Renamed to bibtex-search-entry.
11667         (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11668         bibtex-enclosing-entry-maybe-empty-head.
11669         (bibtex-entry-field-alist, bibtex-entry-head,
11670         bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11671         bibtex-map-entries, bibtex-search-entry,
11672         bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11673         bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11674         bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11675         bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11676         bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11677         bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11678         bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11680 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11682         * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11683         comment.
11684         (bibtex-format-field-delimiters): New function, functionality
11685         extracted from bibtex-format-entry.
11686         (bibtex-autokey-get-yearfield-digits): New function, functionality
11687         extracted from bibtex-autokey-get-yearfield.
11689         * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11690         entries in order to avoid stack overflow in the regexp matcher if
11691         field contents become large.
11692         (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11693         bibtex-field-string-part-not-braced,
11694         bibtex-field-string-part-no-inner-braces,
11695         bibtex-field-string-part-1-inner-brace,
11696         bibtex-field-string-part-2-inner-braces,
11697         bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11698         bibtex-field-string-quoted, bibtex-field-string,
11699         bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11700         bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11701         bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11702         as parsing is now performed by the following functions.
11703         (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11704         bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11705         bibtex-parse-field-string, bibtex-search-forward-field-string,
11706         bibtex-parse-association, bibtex-field-name-for-parsing,
11707         bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11708         bibtex-search-forward-field, bibtex-search-backward-field,
11709         bibtex-start-of-field, bibtex-end-of-field,
11710         bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11711         bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11712         bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11713         bibtex-parse-string, bibtex-search-forward-string,
11714         bibtex-search-backward-string, bibtex-start-of-string,
11715         bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11716         bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11717         bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11718         entries.  Instead of reporting the results of the parsing by
11719         match-beginning or match-end, these functions return data structures
11720         that hold the corresponding positions.
11721         (bibtex-enclosing-field): Changed to also report field boundaries by
11722         return values rather than by match-beginning or match-end.  The
11723         following functions have been adapted to use the new parsing
11724         functions.
11725         (bibtex-skip-to-valid-entry, bibtex-search-reference,
11726         bibtex-enclosing-field, bibtex-format-entry,
11727         bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11728         bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11729         bibtex-print-help-message, bibtex-end-of-entry,
11730         bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11731         bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11732         bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11733         method for parsing.
11734         (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11735         bibtex-map-entries, bibtex-flash-head,
11736         bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11737         bibtex-autokey-change, bibtex-autokey-get-namefield,
11738         bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11739         bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11740         bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11741         bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11742         bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11743         order to make the new binding of case-fold-search immediately
11744         visible.
11746 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11748         * textmodes/bibtex.el: Copyright notice is up to date.
11749         Added constant 'bibtex-maintainer-salutation.
11751         * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11752         than make-temp-name, use match-string-no-properties and eliminate
11753         a quadratic behavior when building bibtex-strings.
11755         * bibtex.el (bibtex-reference-key): Accept string entries whose
11756         reference key contains upper case letters.
11758 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11760         * bibtex.el (bibtex-reference-head): Allow entries to start with
11761         a new line.
11763 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11765         * bibtex.el: Hiding of entry bodies is not longer provided by
11766         bibtex.el directly.  Instead the hideshow package can be used.
11767         Added a special bibtex entry to hs-special-modes-alist.
11768         (bibtex-hs-forward-sexp): Added for hideshow.el.
11770 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11772         * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
11773         proceedings entry type (for cross referencing). Thanks to Wagner
11774         Toledo Correa for the suggestion.
11776         * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
11778 2000-02-14  Kenichi Handa  <handa@etl.go.jp>
11780         * international/characters.el: Setup case table for Vietnamese.
11782 2000-02-12  Gerd Moellmann  <gerd@gnu.org>
11784         * uniquify.el (toplevel): Require CL at compile time.
11785         (uniquify-push): Removed.
11787         * shadowfile.el (shadow-when): Removed.
11789         * tempo.el (tempo-dolist, tempo-mapc): Removed.
11790         (tempo-process-and-insert-string): Use dolist instead of
11791         tempo-dolist.
11793         * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
11794         regexp for paragraph-start.
11796         * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
11797         commas as well.
11799 2000-02-10  Dave Love  <fx@gnu.org>
11801         * wid-edit.el: (widgets) [defgroup]: Remove url link.
11802         (widget-color-choice-list, widget-color-history, widget-mouse-help):
11803         Deleted.
11804         (widget-specify-field, widget-specify-button): Don't use
11805         widget-mouse-help as help-echo property.
11806         (default): Use #'ignore for :validate and :mouse-down-action.
11807         (checkbox): Add help-echo.
11808         (widget-sexp-validate): Rewritten to clarify error messages.
11809         (character): Use char-valid-p in :match function.
11810         (widget-color-complete): Use facemenu-color-alist.
11811         (widget-color-action): Use facemenu-read-color.
11813         * emacs-lisp/cl-macs.el: Don't bother testing for defalias.  Don't
11814         set up `caar' &c that we now have.
11816 2000-02-09  Ray Blaak  <blaak@gnu.org>
11818         * delphi.el: Make resourcestring a declaration region, like const
11819         and var.
11821 2000-02-09  Dave Love  <fx@gnu.org>
11823         * bindings.el (mode-line-input-method-map): New variable.
11824         (mode-line-mule-info): Use it; fix last change.
11825         (mode-line-mode-menu): Move definition.
11826         (mode-line-mouse-sensitive-p): Deleted.
11827         (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
11828         (make-mode-line-mouse-sensitive): Deleted.  Body moved to top
11829         level.
11831         * startup.el (command-line-1): Don't call
11832         make-mode-line-mouse-sensitive.
11834 2000-02-07  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
11836         * mail/rmail.el (rmail-retry-failure): Use
11837         rmail-beginning-of-message before rmail-toggle-header, because the
11838         former toggles headers.
11840 2000-02-06  Stefan Monnier  <monnier@cs.yale.edu>
11842         * diff-mode.el (diff-kill-junk): New interactive function.
11843         (diff-reverse-direction): Use delete-and-extract-region.
11844         (diff-post-command-hook): Restrict the area so that the hook also works
11845         outside of any diff hunk.  This is necessary for the minor-mode.
11846         (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
11847         (diff-minor-mode): Setup the hooks for header-hunk rewriting.
11849         * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
11850         (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
11851         so that it can be used more easily in <foo>-mode-hook.  Also make sure
11852         to avoid duplicate entries.
11853         (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
11854         (font-lock-remove-keywords): Just as was done for `add', allow it to
11855         work even if font-lock-mode is nil.  Also make sure we don't modify
11856         any pre-existing list by forcing a copy-sequence.  Finally rename
11857         `major-mode' to `mode'.
11858         (font-lock-fontify-syntactic-anchored-keywords)
11859         (font-lock-fontify-anchored-keywords)
11860         (font-lock-fontify-keywords-region): Use line-end-position.
11861         Don't make `font-lock-multiline' local (it's now done in
11862         font-lock-set-defaults).
11863         (font-lock-set-defaults): Make `font-lock-multiline' local.  Also
11864         move the `font-lock-fontified' creation to inside the `unless'.
11866 2000-02-06  Andrew Innes  <andrewi@gnu.org>
11868         * term/w32-win.el (x-handle-args): Comment out call to message,
11869         which occurs before window system is initialized.
11871         * makefile.nt: Add support for recompiling lisp code.
11873 2000-02-04  Dave Love  <fx@gnu.org>
11875         * bindings.el (mode-line-mule-info): Fix/extend last change.
11877         * completion.el: Replace completion-dolist with dolist.
11879         * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
11880         dotimes.
11882 2000-02-04  Carsten Dominik  <dominik@strw.leidenuniv.nl>
11884         * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
11885         environment names before they go into the section regexp.
11887         * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
11888         char class in regexp.
11890         * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
11891         `case-fold-search' to nil.
11893         * progmodes/idlwave.el (idlwave-template): Respect
11894         `idlwave-abbrev-change-case'.
11895         (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
11896         idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
11897         idlwave-while): respect `idlwave-reserved-word-upcase'.
11898         (idlwave-rw-case): New function.
11899         (idlwave-statement-match): Fixed problem with assignment regexp.
11900         (idlwave-font-lock-keywords): Improved regexp for keyword
11901         parameters.
11902         (idlwave-surround): New argument LENGTH to support padding of
11903         operators longer than 1 char.
11905         * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
11906         idlwave-shell-expression-overlay.  Implemented printing of
11907         expressions on higher levels of the calling stack.
11908         (idlwave-shell-display-level-in-calling-stack): Restore stack
11909         level.
11910         (idlwave-retrieve-expression-from-level): New function.
11911         (idlwave-shell-last-calling-stack): Variable removed.
11912         (idlwave-shell-reset): Argument action reversed (`visible' to
11913         `hidden').  Also remove stop-line overlay.
11914         (idlwave-shell-calling-stack-routine): New variable.
11915         (idlwave-shell-parse-stack-and-display): Messages now display
11916         negative level numbers.
11917         (idlwave-shell-mode): Set `modeline-format'.
11918         (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
11919         (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
11920         21.
11921         (idlwave-shell-print-expression-function): New option.
11923         * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
11924         idlwave-toolbar-remove-everywhere): Keybindings prefix is now
11925         `tool-bar' instead of `toolbar'.
11927 2000-02-02  Dave Love  <fx@gnu.org>
11929         * emacs-lisp/cl.el: Use bytecomp-load-hook, not
11930         emacs-lisp-mode-hook.  Don't check for defalias being defined.
11932         * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
11933         (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions.  Use
11934         the new builtins directly.
11936         * whitespace.el (whitespace): Add :version to defgroup.
11938         * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
11939         Doc fix.
11941         * thingatpt.el (sexp-at-point, symbol-at-point)
11942         (number-at-point, list-at-point): Add autoload cookie.
11944         * recentf.el (recentf): Add :version to defgroup.
11946         * quickurl.el (quickurl): Add :version to defgroup.
11948         * elide-head.el (elide-head): Use point-marker more.
11950         * bs.el (bs): Add :version to defgroup.
11952         * autorevert.el (global-auto-revert-mode): Add autoload cookie.
11954         * progmodes/delphi.el (delphi): Add :version to defgroup.
11956 2000-02-02  Gerd Moellmann  <gerd@gnu.org>
11958         * ange-ftp.el (ange-ftp-write-region): Handle case that
11959         succeeding process operation sets a different coding system.
11961         * calculator.el: New file.
11963 2000-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
11965         * frame.el (frames-on-display-list, framep-on-display): New
11966         functions.
11967         (display-mouse-p, display-popup-menus-p, display-graphic-p)
11968         (display-selections-p, display-screens, display-pixel-width)
11969         (display-pixel-height, display-mm-width, display-mm-height)
11970         (display-backing-store, display-save-under, display-planes)
11971         (display-color-cells, display-visual-class): New functions.
11973         * term/tty-colors.el (tty-color-gray-shades): New function.
11975         * faces.el (display-color-p): Use framep-on-display.
11976         (display-grayscale-p): New function.
11978 2000-01-31  Dave Love  <fx@gnu.org>
11980         * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
11981         (create-fontset-from-x-resource): Don't concat integers.
11983 2000-01-31  Inge Frick  <inge@nada.kth.se>
11985         * view.el: Some changes in documentation.  Removed some trailing
11986         whitespace. Changed some parameter names to agree with
11987         documentation.
11988         (view-mode-exit): Keep entry in `view-return-to-alist' only when a
11989         window is not deleted.  Modifies change 1998-04-26.
11991 2000-01-31  Gerd Moellmann  <gerd@gnu.org>
11993         * windmove.el: New file.
11995         * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11996         progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11997         progmodes/ebnf-yac.el: Update copyright and license info.
11999         * jit-lock.el (jit-lock-function): Widen before calculating end
12000         position.
12001         (jit-lock-stealth-chunk-start): Rewritten.
12003         * info.el (Info-title-face-alist): Removed.
12004         (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
12005         faces.
12006         (Info-fontify-node): Use these faces.
12008 2000-01-30  Gerd Moellmann  <gerd@gnu.org>
12010         * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
12011         (cl-macro-list1): Recognize `&allow-other-keys' instead of
12012         `&allow-other-keywords'.
12014         * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
12015         the list of directories scanned heuristically.
12017         * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
12018         exist.
12020 2000-01-30  Jason Rumney  <jasonr@gnu.org>
12022         * w32-fns.el: Define w32-tty-standard-colors.
12024         * startup.el (command-line): Use w32-tty-standard-colors when in
12025         w32 console mode.
12027 2000-01-30  Dave Love  <fx@gnu.org>
12029         * jka-compr.el (jka-compr-load): Fix up load-history.
12031         * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
12033         * emacs-lisp/cl-macs.el: Revert previous change.
12035 2000-01-29  Dave Love  <fx@gnu.org>
12037         * facemenu.el: Purecopy various strings.
12039         * timezone.el (timezone-fix-time): Window against 69 for two-digit
12040         years.  Deal with three-digit years.
12042         * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
12043         defconst, purecopy.
12044         (help-back-label): Purecopy it.
12046 2000-01-18  Gerd Moellmann  <gerd@gnu.org>
12048         * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
12049         variable. If non-nil, order the buffer list according to the
12050         currently selected frame.
12051         (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
12052         non-nil, pass the selected frame to function buffer-list.
12054 2000-01-29  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
12056         * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
12058 2000-01-28  Dave Love  <fx@gnu.org>
12060         * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
12062         * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
12063         Don't use lisp-indent-hook property.
12064         (cl-abs): Remove.
12066         * subr.el: Move out indent and edebug specs for when and unless.
12068         * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
12069         when, unless.
12071         * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
12072         unless, when.
12074 2000-01-28  Gerd Moellmann  <gerd@gnu.org>
12076         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
12077         `collecting' as synonym for `collect'.
12079         * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
12080         for the case it contains spaces.
12082         * simple.el (what-cursor-position): Change formatting of
12083         messages.
12085         * frame.el (delete-other-frames): New function.
12086         (toplevel): Bind it to C-x 5 1.
12088         * sort.el (sort-numeric-base): New option.
12089         (sort-numeric-fields): If number starts with `0' or `0[xX[',
12090         interpret it as octal or hexadecimal.  Use sort-numeric-base
12091         as default base.
12093         * progmodes/glasses.el: New file.
12095 2000-01-27  Gerd Moellmann  <gerd@gnu.org>
12097         * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
12098         userids differently.
12100         * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
12101         progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
12102         progmodes/ebnf-yac.el: New files.
12104 2000-01-26  Dave Love  <fx@gnu.org>
12106         * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
12107         on a function with an empty body.  [From Eric Ludlam.]
12109 2000-01-25  Andre Spiegel  <spiegel@gnu.org>
12111         * vc.el (vc-version-diff): Make sure file name is expanded.
12113 2000-01-25  Gerd Moellmann  <gerd@gnu.org>
12115         * scroll-bar.el (scroll-bar-timer): Variable removed.
12116         (scroll-bar-toolkit-scroll): Don't use a timer.
12118 2000-01-25  Kenichi Handa  <handa@etl.go.jp>
12120         * language/thai-util.el (thai-composition-function): Delete
12121         superfluous `a'.
12123 2000-01-24  Dave Love  <fx@gnu.org>
12125         * fortran.el (fortran-mode): Use beginning-of-defun-function,
12126         end-of-defun-function.
12128         * font-lock.el (turn-on-font-lock): Don't depend on window-system
12129         &c.
12131 2000-01-22  Jason Rumney  <jasonr@gnu.org>
12133         * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
12134         conflicts with new face support.
12136 2000-01-22  Richard M. Stallman  <rms@gnu.org>
12138         * replace.el (query-replace): Rename last arg to DELIMITED.
12139         (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
12140         (query-replace-regexp): Likewise.
12142 2000-01-20  Richard M. Stallman  <rms@gnu.org>
12144         * subr.el (with-syntax-table): Use make-symbol, not gensym.
12146         * emacs-lisp/lisp.el (beginning-of-defun-function):
12147         Variable renamed from beginning-of-defun.
12148         Do not call make-variable-buffer-local.
12149         (beginning-of-defun-raw): Use new variable name; doc fix.
12150         (beginning-of-defun): Doc fix.
12151         (end-of-defun-function): Variable renamed from end-of-defun.
12152         Do not call make-variable-buffer-local.
12153         (end-of-defun): Use new variable name; doc fix.
12155         * subr.el (dolist, dotimes): Copied from cl-macs.el
12156         and made to work.
12158         * mail/undigest.el (rmail-digest-end-regexps):
12159         Variable replaces rmail-digest-end-regexp.
12160         Allows multiple regexps for detecting the end line.
12161         (undigestify-rmail-message): Corresponding changes.
12163 2000-01-19  Dave Love  <fx@gnu.org>
12165         * files.el (user-init-file): Don't declare here -- is primitive.
12167         * startup.el (command-line): Check for compiled user-init-file and
12168         set to uncompiled version if necessary.
12170 2000-01-18  Gerd Moellmann  <gerd@gnu.org>
12172         * mail/undigest.el (rmail-digest-end-regexp): New user option.
12173         (undigestify-rmail-message): Use it.
12175         * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
12177 2000-01-17  Gerd Moellmann  <gerd@gnu.org>
12179         * tmm.el (tmm-goto-completions): Adapt to prompt being part
12180         of mini-buffer.
12182 2000-01-14  Gerd Moellmann  <gerd@gnu.org>
12184         * emacs-lisp/copyright.el (copyright-update): Removed the
12185         requirement for a trailing space from `copyright-regexp', to
12186         support copyrights with owner specified on a separate line..
12188         * align.el: New file.
12190         * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
12192         * net/eudc.el (toplevel): Define EUDC menu for Emacs.
12194 2000-01-13  Dave Love  <fx@gnu.org>
12196         * ph.el: Removed.  (Obsoleted by EUDC.)
12198 2000-01-13  Gerd Moellmann  <gerd@gnu.org>
12200         * net/eudc.el (toplevel): Remove autoloaded code installing
12201         menu with easymenu, because that causes build problems.
12203         * frame.el (frame-notice-user-settings): New variable.
12204         (frame-notice-user-settings): Don't modify frame parameters
12205         if called a second time.
12207 2000-01-13  Richard M. Stallman  <rms@gnu.org>
12209         * frame.el (frame-notice-user-settings):
12210         Notice default-frame-parameters even for non-window frames.
12212 2000-01-13  Gerd Moellmann  <gerd@gnu.org>
12214         * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
12215         for Emacs.
12216         (eudc-bob-can-display-inline-images): Extend for Emacs.
12217         (eudc-bob-toggle-inline-display): Ditto.
12218         (eudc-bob-display-jpeg): Ditto.
12220 2000-01-12  Gerd Moellmann  <gerd@gnu.org>
12222         * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
12223         net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
12224         net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
12226         * add-log.el (add-change-log-entry): Fix error trying an `(insert
12227         nil)'.
12229         * subdirs.el: Add `net' directory.
12231         * net: New directory.
12233         * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
12234         eval-last-sexp.  Don't bind debug-on-error here.
12235         (eval-last-sexp): New function.  Bind debug-on-error if
12236         eval-expression-debug-on-error is non-nil.
12237         (eval-defun-2, eval-defun): Likewise.
12239         * simple.el (eval-expression): Don't bind debug-on-error if
12240         eval-expression-debug-on-error is nil.  Detect changed
12241         debug-on-error, and propagate new value to global binding, if
12242         eval-expression-debug-on-error is non-nil,
12243         (eval-expression-debug-on-error): Change doc string.
12245 2000-01-11  Richard M. Stallman  <rms@gnu.org>
12247         * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
12249         * emacs-lisp/lisp-mode.el (with-syntax-table):
12250         Set up lisp-indent-function property.
12252         * subr.el (with-syntax-table): Moved from simple.el.
12254         * simple.el (with-syntax-table): Moved to subr.el.
12256 2000-01-11  Gerd Moellmann  <gerd@gnu.org>
12258         * tmm.el (tmm-shortcut): Delete region after prompt instead
12259         of erasing buffer.
12261         * textmodes/fill.el (fill-common-string-prefix): New function.
12262         (fill-context-prefix): Use the longest common prefix of first
12263         and second line fill prefix, if there is one.
12265 2000-01-11  Richard M. Stallman  <rms@gnu.org>
12267         * array.el (array-mode): Don't use make-variable-buffer-local.
12268         Use make-local-variable for `truncate-lines'.
12270 2000-01-11  Jari Aalto  <jari.aalto@poboxes.com>
12272         * add-log.el (add-log-current-defun): Handle user-defined
12273         add-log-current-function returning nil,
12275         * add-log.el (add-change-log-entry): Insert version number
12276         if having found a current function
12278         * add-log.el (add-log-current-defun): Call
12279         `add-log-current-defun-function'.  Try matches at level 0 and
12280         level 1.  Strip whitespace from defun found.
12282 2000-01-10  John Wiegley  <johnw@gnu.org>
12284         * allout.el (isearch-done/outline-provisions): Added `edit'
12285         argument to correspond with the current definition of
12286         `isearch-done'.
12288 2000-01-10  Dave Love  <fx@gnu.org>
12290         * elide-head.el (elide-head): Use point-marker, not point.
12292 2000-01-10  Gerd Moellmann  <gerd@gnu.org>
12294         * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
12295         before and after the year 2000.
12297         * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
12298         Add ispell- prefix.
12300 2000-01-10  Ken Stevens  <k.stevens@ieee.org>
12302         * ispell.el:  Only define dictionaries in menus when they exist.
12303         (version18p): New variable.
12304         (version20p): New variable.
12305         (xemacsp): New variable.
12306         (ispell-choices-win-default-height): Fix for XEmacs visibility.
12307         (ispell-dictionary-alist1): Added Brasileiro dictionary.
12308         (ispell-dictionary-alist6): Russian command lines no longer accept
12309         run-together words.
12310         (ispell-local-dictionary-alist): Add koi8-r to customize definition.
12311         (ispell-dictionary-alist): Add koi8-r to customize definition.
12312         (check-ispell-version): Added documentation string.  Returns
12313         library path when called non-interactively.
12314         (ispell-menu-map-needed): Uses new variables.
12315         (ispell-library-path): New variable.
12316         (ispell-decode-string): XEmacs fix for bogus variable bindings.
12317         (ispell-word): Improved documentation string.  Test for valid
12318         character mappings.  Correctly check typed in word changes that can
12319         result in single words split into multiple words.  Returns
12320         replacement word.
12321         (ispell-command-loop): Fixes XEmacs display bugs.  Show word to
12322         replace in recursive query replace mode.  Help message for
12323         recursive edit mode.
12324         (ispell-show-choices): Protect against bad framepop bindings.
12325         (ispell-help): Fix to work with XEmacs.
12326         (ispell-highlight-spelling-error): Use new variables.
12327         (ispell-overlay-window): Fix to work with XEmacs.
12328         (ispell-parse-output): Passed and returns location information
12329         tracking spelling corrections.  Doesn't recheck same word on
12330         current line.
12331         (ispell-init-process): Protect against bogus XEmacs variable binding.
12332         Fix call to single argument in sleep-for.  Use new variables.
12333         (ispell-region): Passed and returns location information tracking
12334         spelling corrections.  Doesn't check same word on current line.
12335         Improved documentation string.  Doesn't resend a line already
12336         checked to the ispell process - fixes bug in LaTeX parsing.
12337         (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
12338         (ispell-skip-region): No longer skips <TT> in SGML.
12339         (ispell-process-line): Tracks location information with spelling
12340         corrections.  Added documentation string.  Accounts for words
12341         already accepted on this line.  Don't allow query-replace on line
12342         starting with math characters.  Doesn't resend a line already sent
12343         to ispell process.  Fixes alignment error bug.
12345 2000-01-10  Richard M. Stallman  <rms@gnu.org>
12347         * dired-x.el (dired-guess-shell-alist-default):
12348         Suggest xloadimage, which is free, not xv, which isn't.
12350         * ange-ftp.el (ange-ftp-file-name-nondirectory):
12351         Don't ever include the host name or user name in the value.
12353 2000-01-09  Gerd Moellmann  <gerd@gnu.org>
12355         * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
12356         of a real newline.
12358 2000-01-09  Stephen Eglen  <stephen@gnu.org>
12360         * dired-x.el (dired-guess-shell-alist-default): Suggest xv
12361         for .png files.
12363 2000-01-09  Per Abrahamsen  <abraham@dina.kvl.dk>
12365         * cus-edit.el (custom-hook-convert-widget): Fix comment.
12367 2000-01-09  Gerd Moellmann  <gerd@gnu.org>
12369         * progmodes/cperl-mode.el: Replace ^F with ^L.
12371         * sendmail.el (toplevel): Provide `sendmail' when compiling
12372         before `require'ing rmail and mailalias to prevent infinite
12373         recursion.
12375 2000-01-08  Dave Love  <fx@gnu.org>
12377         * emacs-lisp/backquote.el: Remove inappropriate customization
12378         (allowing custom.el to use backquote).
12380 2000-01-07  Dave Love  <fx@gnu.org>
12382         * add-log.el (add-log-debugging): Deleted.
12383         (add-change-log-entry): Treat a backup FILE-NAME as its parent
12384         file.  Remove debugging code.
12385         (change-log-get-method-definition, change-log-name): Add doc.
12386         (change-log-sortable-date-at): New function.
12387         (change-log-merge): New command.
12389         * time.el (display-time-string-forms): Make the Mail string active.
12390         (display-time-update): Provide help-echo for load average.
12392         * bindings.el (make-mode-line-mouse2-map): New function.
12393         (mode-line-modified): Use it and simplify.
12394         (mode-line-mule-info): Provide help-echo info.
12395         (minor-mode-alist): Activate the strings.
12396         (make-mode-line-mouse-sensitive): Simplify for
12397         mode-line-buffer-identification.
12399 2000-01-07  Gerd Moellmann  <gerd@gnu.org>
12401         * play/pong.el: New file.
12403 2000-01-06  Dave Love  <fx@gnu.org>
12405         * array.el: Assorted cleanups for compiler warnings, doc strings,
12406         `array-' prefix for symbols.
12408 2000-01-05  Dave Love  <fx@gnu.org>
12410         * textmodes/outline.el (outline-mode-menu-bar-map): Add
12411         outline-headers-as-kill.
12412         (outline-mode): Define imenu-generic-expression.
12413         (outline-headers-as-kill): New command.
12415         * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
12416         from paragraph-start.
12417         (paragraph-indent-minor-mode): New command.
12419         * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
12420         M-C-e, M-C-h, C-j, C-xnd, TAB.
12421         (fortran-mode): Set beginning-of-defun, end-of-defun.
12422         (fortran-column-ruler): Simplify.
12423         (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
12424         (fortran-with-subprogram-narrowing): Likewise.
12425         (fortran-indent-subprogram): Call mark-defun.
12426         (fortran-check-for-matching-do): Change narrowing.
12428         * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
12429         (cl-lucid-hash-tag): Delete.
12430         (cl-hash-table-p): Correct test for native table.
12431         (cl-hash-table-count): Use hash-table-count.
12433         * browse-url.el (browse-url): Fix case of
12434         browse-url-browser-function being an alist.
12436 2000-01-05  Carsten Dominik  <cd@gnu.org>
12438         * textmodes/reftex-vars.el (reftex-parse-file-extension)
12439         (reftex-index-phrase-file-extension): New options.
12441         * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
12442         Use new option `reftex-index-phrase-file-extension'.
12444         * textmodes/reftex.el (reftex-access-parse-file): Use new option
12445         `reftex-parse-file-extension'.
12447 2000-01-05  Dave Love  <fx@gnu.org>
12449         * emacs-lisp/lisp.el (beginning-of-defun): New variable.
12450         (beginning-of-defun-raw): Use it.
12451         (end-of-defun): New variable.
12452         (end-of-defun): Use it.
12453         (check-parens): New command.
12455 2000-01-05  Thien-Thi Nguyen  <ttn@delysid.gnu.org>
12457         * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
12458         (hs-show-block): Don't use `mapcar' when not accumulating.
12460         Fix buglet in local variables initialization.
12462 2000-01-05  Andreas Schwab  <schwab@suse.de>
12464         * hscroll.el (hscroll): Doc fix.
12466 2000-01-05  Carsten Dominik  <cd@gnu.org>
12468         * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
12469         idlw-toolbar.
12471         * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
12472         file idlw-rinfo.el.
12473         (idlwave-customize): load must read file idlw-shell.el.
12474         (idlwave-create-customize-menu): load must read file idlw-shell.el.
12476 2000-01-05  Carsten Dominik  <dominik@astro.uva.nl>
12478         * progmodes/idlw-shell.el: Also provide idlwave-shell
12479         * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
12480         * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
12482         * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
12483         both reftex-dcr and reftex-vcr.
12485         * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
12487 2000-01-05  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
12489         * ps-print.el: PostScript code now is in separate files, doc fix.
12490         (ps-print-version): New version number (5.0.3).
12491         (ps-header-lines, ps-left-header, ps-right-header): No more buffer
12492         local.
12493         (ps-spool-config): Initialization fix.
12494         (ps-print-prologue-1, ps-print-prologue-2)
12495         (ps-print-duplex-feature): PostScript code moved to separated file.
12496         (ps-background-image): Little code reformating.
12497         (ps-begin-file, ps-begin-job): Fix code.
12498         (ps-postscript-code-directory, ps-mark-code-directory): New vars.
12499         (ps-prologue-file): New fun.
12501 2000-01-05  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
12503         * ps-vars.el: Eliminated.
12505         * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
12506         `;;;###autoload'.
12508         * ps-print.el: ps-vars eliminated, doc fix.
12509         (ps-print-version): New version number (5.0.2).
12510         (ps-spool-config): Initialization fix.
12511         (ps-print-customize): New fun.
12513 2000-01-04  Gerd Moellmann  <gerd@gnu.org>
12515         * autorevert.el (auto-revert-mode): Return value of
12516         auto-revert-mode.
12518 2000-01-04  Dave Love  <fx@gnu.org>
12520         * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
12521         menu items.
12523 2000-01-03  Dave Love  <fx@gnu.org>
12525         * elide-head.el (elide-head) [defgroup]: Add :version.
12527         * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
12528         (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
12529         `cl-hash-table-p', not `hash-table-p'.
12530         (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
12532 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
12534         * faces.el (face-read-integer, read-face-attribute)
12535         (color-defined-p, color-values): unspecified-{f,b}g are now
12536         strings.
12538 2000-01-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
12540         * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
12541         at comment end, and re-insert them after filling.
12543 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
12545         * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
12546         * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
12547         progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
12549 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
12551         * term/x-win.el (xw-defined-colors): Call color-supported-p,
12552         the new name of face-color-supported-p.
12554         * term/w32-win.el (xw-defined-colors): Likewise.
12556 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
12558         * simple.el (completion-setup-function): Count completion-size
12559         from minibuffer-prompt-end, not from point-min.
12561 2000-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
12563         * faces.el (read-face-attribute, defined-colors, color-defined-p):
12564         Pass the frame to tty-color-* functions.
12565         (display-color-p, frame-set-background-mode): Pass the frame to
12566         tty-display-color-p.
12568         * term/tty-colors.el (tty-defined-color-alist): Renamed from
12569         tty-color-alist.
12570         (tty-color-alist, tty-modify-color-alist): New functions.
12571         (tty-color-define,  tty-color-clear, tty-color-approximate)
12572         (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
12573         an optional parameter FRAME.
12575 2000-01-01  Gerd Moellmann  <gerd@gnu.org>
12577         * image.el (create-image, defimage): Don't assume image data is a
12578         string.
12580         * image.el (defimage): Handle specifications containing :data
12581         instead of :file.
12582         (image-type-from-data): New function.
12583         (image-type-from-file-header): Use it.
12584         (create-image): Add parameter DATA-P.
12586 See ChangeLog.8 for earlier changes.
12588 ;; Local Variables:
12589 ;; coding: iso-2022-7bit
12590 ;; End: