(cvs-mode-add-change-log-entry-other-window):
[emacs.git] / lisp / ChangeLog
blob55fc91209bb60ee900d0c7fb24deb7d3018debd3
1 2000-11-03  Stefan Monnier  <monnier@cs.yale.edu>
3         * log-edit.el (log-edit-menu): New menu.
5 2000-11-03  Miles Bader  <miles@gnu.org>
7         * wid-edit.el (widget-end-of-line): Reinstate, with a new
8         definition, so that trailing spaces are handled properly.
9         (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
11 2000-11-03  Gerd Moellmann  <gerd@gnu.org>
13         * startup.el (fancy-splash-text, fancy-splash-text): Use a single
14         tab character.
15         (fancy-splash-screens): Set tab-width to 20.
17 2000-11-03  Dave Love  <fx@gnu.org>
19         * comint.el (comint-completion-addsuffix): Fix custom type.
21 2000-11-02  Stefan Monnier  <monnier@cs.yale.edu>
23         * font-lock.el (font-lock-buffers): Remove.
24         (font-lock-global-modes): Define with easy-mmode-define-global-mode.
25         (font-lock-change-major-mode): Remove.
26         (turn-on-font-lock-if-enabled): Only apply to the current buffer.
27         (font-lock-default-fontify-region): Extend the multiline
28         fontification to whole lines.
29         (font-lock-fontify-anchored-keywords)
30         (font-lock-fontify-keywords-region): If matching just one
31         line (with \n) only mark the \n as multiline.
33         * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
34         Correctly handle the case where several :group args are supplied.
35         Allow :extra-args.
36         (easy-mmode-define-global-mode): Allow :extra-args.
37         Correctly handle the case where several :group args are supplied.
39 2000-11-02  Miles Bader  <miles@gnu.org>
41         * calendar/calendar.el (diary-face, calendar-today-face) 
42         (holiday-face): Remove dependency on `window-system'.
44 2000-11-02  Ken Raeburn  <raeburn@gnu.org>
46         * Makefile.in (emacs): Set EMACSLOADPATH always.
47         (update-authors, .el.elc, compile-files): Don't do it explicitly
48         here.
49         (compile-files): Bomb out if compilation of a file fails.
51 2000-11-02  Dave Love  <fx@gnu.org>
53         * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
55 2000-11-02  Eli Zaretskii  <eliz@is.elta.co.il>
57         * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
58         punctuation in the warning inserted into the *mail* buffer.
60 2000-11-02  Gerd Moellmann  <gerd@gnu.org>
62         * emacs-lisp/authors.el (authors-public-domain-files): New variable.
63         (authors-public-domain-p): New function.
64         (authors-print): Use it.
66         * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
68         * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
70 2000-11-02  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
72         * ps-print.el: Extension for even/odd printing.  Doc fix.
73         (ps-print-version): New version number (6.3.1).
74         (ps-even-or-odd-pages): Customization fix.
75         (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
76         (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
77         (ps-page-count): Var replaced by `ps-page-column'.
78         (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
79         (ps-print-sheet-p): New fun.
81 2000-11-02  Miles Bader  <miles@lsi.nec.co.jp>
83         * tooltip.el (tooltip-gud-tips-setup): New function.
84         (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
85         (tooltip-mode): Call tooltip-gud-tips-setup.
86         (tooltip-gud-tips): Use `gud-basic-call' instead of
87         process-send-string, so the prompt gets frobbed appropriately.
88         Handle nil return value from `tooltip-gud-print-command'.
90 2000-11-01  Eric M. Ludlam  <zappo@ultranet.com>
92         * comint.el (comint-add-to-input-history): New function.
93         (comint-send-input): Use `comint-add-to-input-history'.
95 2000-11-02  Miles Bader  <miles@lsi.nec.co.jp>
97         * info.el (info-menu-header): New face.
98         (Info-fontify-menu-headers): New function.
99         (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
101         * info.el (Info-insert-dir): Don't include blank lines at
102         beginning of additional dir files (one is added automatically).
104 2000-11-01  Stefan Monnier  <monnier@cs.yale.edu>
106         * emacs-lisp/easy-mmode.el (define-minor-mode):
107         Revert the latest changes.
108         Allow the three positional arguments to be skipped and replaced
109         by keyword arguments.
110         Add a :toggle argument to determine whether a nil arg means toggle
111         or means turn-on.  The default is unchanged.
112         Add a call to force-mode-line-update.
114 2000-11-01  Dave Love  <fx@gnu.org>
116         * emacs-lisp/elp.el (elp-restore-function): Remove autoload
117         cookie.
119 2000-11-01  Miles Bader  <miles@lsi.nec.co.jp>
121         * calendar/calendar.el (diary-face, holiday-face): Add
122         dark-background variants.
124 2000-10-31  Sam Steingold  <sds@gnu.org>
126         * textmodes/tex-mode.el (tex-file): Use `default-directory' when
127         `tex-main-file' does not have directory in it.
129 2000-10-31  Stefan Monnier  <monnier@cs.yale.edu>
131         * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
133 2000-10-31  Thien-Thi Nguyen  <ttn@gnu.org>
135         * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
136         functional change.
138 2000-10-31  Gerd Moellmann  <gerd@gnu.org>
140         * files.el (find-file-noselect): When we expand a wildcard, return
141         a list of buffers, as we should do according to the doc string.
143 2000-10-31  Ken Raeburn  <raeburn@gnu.org>
145         * loadup.el (top level): Adjust load path if program name is
146         "../src/bootstrap-emacs", in case it's not dumped and thus the
147         load path adjustment hasn't already been done.
149 2000-10-31  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
151         * ps-print.el: Fix bug on selected pages for printing.  Use
152         `color-values' for Emacs 21.  Ensure fontification when jit-lock
153         is on.  Try to avoid warning messages when compiling.  Doc Fix.
154         (ps-print-version): New version number (6.3).
155         (ps-color-device): Use `color-values' to determine if device
156         supports color.
157         (ps-color-values): Try to use `x-color-values' when using XEmacs.
158         (ps-print-page-p): Changed from defsubst to defun.
159         (ps-page-number): Changed from defmacro to defun.
160         (ps-header-sheet, ps-header-page): Fix bug on selected pages for
161         printing.
162         (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
163         (ps-end-file, ps-dummy-page): Funs eliminated.
164         (ps-print-color-scale): Changed default value.
165         (ps-page-n-up, ps-print-page-p): New internal vars.
166         (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
167         (ps-plot-region, ps-generate, ps-end-job): Code fix.
169         * delim-col.el: Little programming improvement.
170         (delimit-columns-str): New macro.
171         (delimit-columns-region, delimit-columns-rectangle): Code fix.
173 2000-10-31  Kenichi Handa  <handa@etl.go.jp>
175         * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
176         Moved to european.el.
177         (ccl-encode-mac-roman-font, fontset-mac): Modified for
178         mule-unicode-2500-33ff and mule-unicode-e000-ffff.
179         (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
180         (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
182 2000-10-30  Dave Love  <fx@gnu.org>
184         * progmodes/cc-menus.el (imenu-generic-expression)
185         (imenu-progress-message): Only defvar when compiling.
187         * emacs-lisp/elp.el (elp-unload-hook): New function.
189         * loadhist.el (unload-feature): Call elp-restore-function,
190         checking for symbols; don't use elp-restore-all.
191         (loadhist-hook-functions): Doc fix.
193 2000-10-30  Stefan Monnier  <monnier@cs.yale.edu>
195         * log-edit.el (log-edit-confirm): Fix the default.
197 2000-10-30  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
199         * delim-col.el: Little fix: replace delimit-columns-align-columns by
200         delimit-columns-format.
201         (delimit-columns-region, delimit-columns-rectangle): Code fix.
203 2000-10-30  Miles Bader  <miles@lsi.nec.co.jp>
205         * comint.el (comint-replace-by-expanded-history): Don't use
206         comint-get-old-input (we're not looking at *old* input).
207         (comint-get-old-input-default): If using fields, signal an error
208         when the point is not in an input field.
210 2000-10-30  Kenichi Handa  <handa@etl.go.jp>
212         * international/mule-conf.el: New charsets mule-unicode-2500-33ff
213         and mule-unicode-e000-ffff.
215         * international/mule.el (decode-char, encode-char): New functions.
216         (make-coding-system): Accept a symbol of translation table as a
217         value of property `safe-chars'.
219         * international/mule-cmds.el (encode-coding-char): Check property
220         safe-chars instead of safe-charsets.
222         * international/fontset.el (fontset-default): Modified for
223         mule-unicode-2500-33ff and mule-unicode-e000-ffff.
224         (x-font-name-charset-alist): Likewise.
225         (ccl-encode-unicode-font): New CCL program.  Record it in
226         font-ccl-encoder-alist to be used for fonts "ISO10646-1".
228         * language/european.el (mac-roman-decoder, mac-roman-encoder):
229         New translation tables.
230         (decode-mac-roman, encode-mac-roman): Definition of these CCL
231         programs are modified and moved from mac-win.el.
232         (mac-roman): Definition of this coding system is modified and
233         moved from mac-win.el.
235 2000-10-29  Michael Kifer  <kifer@cs.sunysb.edu>
237         * ediff-wind.el (ediff-setup-control-frame): Enclose
238         face-attribute in condition-case to avoid errors in older emacsen.
240 2000-10-29  Miles Bader  <miles@gnu.org>
242         * custom.el (custom-add-to-group): Allow multiple entries for a
243         given value OPTION, as long as their widget types are different.
244         * cus-edit.el (custom-face-value-create): If face name doesn't end
245         with "face", add such here (similar to custom group widgets).
247         * comint.el (comint-highlight-prompt): Add :type.
249 2000-10-28  John Wiegley  <johnw@gnu.org>
251         * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
252         Changed this function to operate on a temporary buffer instead of
253         the main buffer.  This not only keeps flyspell from marking a
254         buffer as changed that wasn't, but it solves the jumpy cursor
255         problem when attempts are made to edit incorrect words.
256         (flyspell-maybe-correct-doubling): Same change as for
257         `flyspell-maybe-correct-transposition'.
259         * calendar/timeclock.el (timeclock-log): Doc fix.
260         (timeclock-last-event): Doc fix.
261         (timeclock-log): Kill the timelog buffer after appending a new
262         event.
263         (timeclock-find-discrep): Use a temp buffer to read in the
264         timelog, instead of visiting the file.
265         (timeclock-log-data): A new function, along with a host of helper
266         functions, for the purpose of making timelog data accessible to
267         programmers.
269         * eshell/esh-mode.el (window-height test): Make certain that
270         `eshell-stringify-t' is non-nil.
271         (eshell-password-prompt-regexp): Changed to a much simpler
272         password regexp.
273         (eshell-send-input): If `eshell-invoke-directly' returns t,
274         directly invoke the parsed command using `eval'.  This improves
275         turn-around time on simple commands by a factor of three or
276         greater, such as cd, ls, pwd, etc. -- which get used very often.
277         It also conserves thousands of cons cells per call (since
278         `eshell-do-eval' consumes memory like a Cookie Monster set loose
279         in the Pacific Cookie Company).
281         * eshell/esh-test.el (eshell-test): Whitespace fix.
283         * eshell/em-ls.el (eshell-ls-insert-directory): Make
284         `eshell-ls-initial-args' nil when inserting directory contents.
286         * eshell/em-script.el (eshell-script-initialize): Add names to
287         `eshell-complex-commands, since `source' and `.' are complex.
289         * eshell/esh-cmd.el (eshell-rewrite-for-command)
290         (eshell-rewrite-while-command): Use `eshell-protect' instead of
291         `eshell-copy-handles'.
292         (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
293         bodies.
294         (eshell-separate-commands): Whitespace fix.
295         (eshell-complex-commands): Added a new list of names, for
296         determining whether a given command is as simple as it looks.
297         (eshell-invoke-directly): New function.  Returns t if a command
298         should be invoked directly (using `eval'), rather than indirectly
299         using `eshell-do-eval'.
300         (eshell-do-eval): Whitespace fix.
302         * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
303         which provides an emulation of the DOS shell behavior of assuming
304         that cp/mv/ln should copy/move/link to the current directory.
305         (eshell-remove-entries): Added a doc string.
306         (eshell-shuffle-files): Removed the check for `target' being null.
307         (eshell-mvcp-template, eshell-mvcpln-template): Renamed
308         `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
309         it to do a smarter check of whether a destination was provided.
310         (eshell/mv, eshell/cp): Enable `:preserve-args'.
311         (eshell/ln): Enable `:preserve-args', and use
312         `eshell-mvcpln-template' to implement the body of the function.
313         (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
314         (eshell/du, eshell/diff, eshell/locate): Stringify the argument
315         list after flattening it.  This makes it possible to cat files
316         with numerical names.
317         (eshell-unix-initialize): Added several names to
318         `eshell-complex-commands.
319         (eshell-unix-command-complex-p): Return t if a given command name
320         may result in external processes being invoked.
322         * eshell/em-glob.el (eshell-glob-show-progress): Make this
323         variable nil by default, since it slows down glob processing by a
324         factor of two or more, and increases memory consumption.
326         * eshell/em-smart.el: Added a note about how memory consumptive
327         smart display mode can be (at least this is true in Emacs 21).
328         (eshell-smart-initialize): Whitespace fix.
329         (eshell-refresh-windows): Use `if' instead of `when'.
330         (eshell-smart-scroll-window): Calling `save-current-buffer' was
331         not necessary.
332         (eshell-currently-handling-window): Added a missing global
333         variable.
335         * eshell/em-ls.el (eshell-do-ls): Code simplification.
336         (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
337         Whitespace fix.
338         (eshell-ls-exclude-hidden): Added this variable in addition to
339         `eshell-ls-exclude-regexp'.  This one prevents files beginning
340         with . from even being read, which can improve memory consumption
341         quite a bit.
342         (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
343         read file entries beginning with a dot.  In home directories with
344         lots of hidden files, fully two-thirds of the time spent in ls is
345         used to read directory entries that are immediately thrown away.
346         (eshell-ls-initial-args): Added back this configuration variable,
347         for specifying default initial arguments to every call to ls.
348         Much faster than using an alias to do the same thing.
349         (eshell-do-ls): Use `eshell-ls-initial-args', if set.
350         (eshell-ls-dir): Whitespace change.
352         * eshell/em-dirs.el (eshell/pwd): Small code simplification.
354         * eshell/esh-util.el: Don't require `ange-ftp' if it's not
355         available.
356         (eshell-stringify-t): Added a customization variable, to indicate
357         whether `t' should be rendered as a string at all.  If not, one
358         can still determine if the result of an expression is true using
359         "file-exists-p FILE && echo true".
360         (eshell-stringify): If `eshell-stringify-t' is nil, don't
361         stringify t!
363         * eshell/esh-module.el: Whitespace fix.
365         * eshell/em-alias.el (eshell-alias-initialize): Added
366         `eshell-command-aliased-p' to `eshell-complex-commands'.
367         (eshell-command-aliased-p): New function that returns t if a
368         command name names an aliased.
370 2000-10-29  Michael Kifer  <kifer@cs.sunysb.edu>
372         * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
373         redrawing the screen when changing cursor color.
374         (viper-insert-state-pre-command-sentinel)
375         (viper-replace-state-pre-command-sentinel)
376         (viper-replace-state-post-command-sentinel):
377         Use viper-preserve-cursor-color.
378         Many functions changed to use viper= instead of = when comparing
379         characters.
380         * viper-util.el (viper-memq-char,viper=): New functions for
381         working with characters.
382         (viper-change-cursor-color): Fixed buglet.
383         Many functions changed to use viper= instead of = when comparing
384         characters.
385         * viper.el (viper-insert-state-mode-list): Added eshell.
387         * ediff-init.el (ediff-before-setup-hook): New hook.
388         Several typos fixed in various docstrings.
389         * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
390         * ediff-nult.el (ediff-before-session-group-setup-hooks): New
391         hook.
392         (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
393         * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
394         (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
395         (ediff-get-selected-buffers): New function.
396         * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
397         (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
398         save-window-excursion.
399         * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
400         termination check in while loop.
401         * ediff.el (ediff-get-default-file-name): Better defaults when in
402         dired buffer.
403         (ediff-files,ediff-merge-files,ediff-files3)
404         (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
406 2000-10-28  Dave Love  <fx@gnu.org>
408         * info.el (Info-fontify-node): Add help-echo for menu items.
410 2000-10-28  Eli Zaretskii  <eliz@is.elta.co.il>
412         * startup.el (normal-top-level): If the value of $TERM indicates
413         we are running from xterm or one of its work-alikes, default to a
414         light background mode.
416         Support for -fg, -bg, and -rv command-line arguments for TTYs:
417         * faces.el (tty-handle-reverse-video): New function.
418         (tty-create-frame-with-faces): Call it.
420         * frame.el (frame-notice-user-settings): Don't apply
421         default-frame-alist and initial-frame-alist to MS-DOS frames.
422         Call tty-handle-reverse-video, frame-set-background-mode, and
423         face-set-after-frame-default for non-MS-DOS frames.
425         * startup.el (tty-long-option-alist): New variable.
426         (tty-handle-args): New function.
427         (command-line): Call tty-handle-args.
429         * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
430         startup.el now does that for all character-terminal frames.
432 2000-10-28  Miles Bader  <miles@gnu.org>
434         * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
435         `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
436         global.  If :global is followed by a non-nil but non-t value,
437         make the mode buffer-local, but also generate a `global-MODE'
438         version using `easy-mmode-define-global-mode'.  Add
439         :conditional-turn-on keyword argument.
441 2000-10-28  Dave Love  <fx@gnu.org>
443         * international/latin1-disp.el (latin1-char-displayable-p): Don't
444         use window-system.
446 2000-10-27  Eli Zaretskii  <eliz@is.elta.co.il>
448         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
449         Don't call find-buffer-file-type-coding-system.  Instead, just
450         set eol-type to -unix if inhibit-eol-conversion is in effect, or
451         if the file is on an untranslated filesystem.
452         (add-untranslated-filesystem): Use "D" instead of "f" inside
453         interactive.
455 2000-10-27  Dave Love  <fx@gnu.org>
457         * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
458         (refill-mode): Use it.
460 2000-10-27  Stefan Monnier  <monnier@cs.yale.edu>
462         * international/quail.el (quail-activate): Don't make-local-hook.
464 2000-10-27  Andre Spiegel  <spiegel@gnu.org>
466         * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
467         manual backups and file.~<rev>.~ for automatic ones.
468         (vc-make-version-backup): Don't do it on MS-DOS without long file
469         names.
471         * vc.el (vc-version-other-window): If an automatic backup of the
472         desired version exists, rename it instead of copying it.
474         * vc-cvs.el (vc-cvs-checkin): Check both status and error message
475         after command.  If there's an unexpected error, signal it instead
476         of being silent.
477         (vc-cvs-merge-news): Be prepared for no news at all.
479 2000-10-27  Miles Bader  <miles@lsi.nec.co.jp>
481         * shell.el (shell): Add BUFFER argument.
482         * comint.el (make-comint-in-buffer): New function.
483         (make-comint): Use it.
485         * faces.el (face-spec-choose): Change syntax so that the list of
486         attribute-value pairs is now the cdr of each clause, not the cadr.
487         Detect old-style entries, and handle them.  Use pop.
489 2000-10-26  Stefan Monnier  <monnier@cs.yale.edu>
491         * cus-edit.el (custom-mode-map): Use a sparse map.
492         (custom-mode): Don't bother with make-local-hook.
494         * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
496         * vc.el (vc-start-entry): Only erase the buffer if comment is set.
498 2000-10-26  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
500         * ps-print.el: Avoid compilation gripes.
501         (ps-print-version): New version number (6.2.1).
503 2000-10-26  Dave Love  <fx@gnu.org>
505         * menu-bar.el: Modify some menu item help strings.
506         (menu-bar-help-menu): Add link to MORE.STUFF.
508         * cus-edit.el (custom-mode): Add `special' mode-class property.
510         * wid-browse.el (widget-browse-mode): Likewise.
512         * wid-edit.el (widget-specify-field): Revert to using local-map
513         property, not keymap.
515 2000-10-26  Miles Bader  <miles@lsi.nec.co.jp>
517         * wid-edit.el (widget-field-end): When checking for a `boundary'
518         field, do so in the correct buffer.
520         * simple.el (undo): Correctly distinguish between numeric and
521         non-numeric prefix args in non-transient-mark-mode, as per the doc
522         string.  When in transient-mark-mode, treat all prefix-args as
523         numeric.
525         * simple.el (previous-matching-history-element): Miscellaneous cleanup.
526         Position point on match.  Handle N == 0 correctly.
528         * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
529         (comint-mode-map): Reverse order of `comint-write-output' and
530         `comint-append-output-to-file'.
531         (comint-append-output-to-file): Reinstate this function, for the
532         benefit of the menu.
534 2000-10-25  Stefan Monnier  <monnier@cs.yale.edu>
536         * vc.el (vc-version-other-window): Bind `file'.
538 2000-10-25  Gerd Moellmann  <gerd@gnu.org>
540         * Makefile.in (update-authors): New target for maintenance purposes.
542         * emacs-lisp/authors.el (batch-update-authors): New function.
543         (authors-fixed-entries): New defconst.
544         (authors-add-fixed-entries): New function.
545         (authors): Call it.: Don't process lispref/.
547 2000-10-25  Jason Rumney  <jasonr@gnu.org>
549         * cus-edit.el (custom-button-face, custom-button-pressed-face):
550         Merge x w32 and mac definitions.
552 2000-10-25  Gerd Moellmann  <gerd@gnu.org>
554         * menu-bar.el (menu-bar-options-menu): Add a help string for
555         `uniquify'.
557 2000-10-25  Stephen Gildea  <gildea@alum.mit.edu>
559         * time-stamp.el (time-stamp-string-preprocess):
560         Fix a wrong type argument error.
562 2000-10-25  Miles Bader  <miles@gnu.org>
564         * recentf.el (recentf-mode): Variable removed.
565         (recentf-mode): Use `define-minor-mode'.
567         * mwheel.el (mouse-wheel-mode): New global minor mode.
568         (mwheel-install): Use `mouse-wheel-mode'.
570 2000-10-25  Dave Love  <fx@gnu.org>
572         * progmodes/cperl-mode.el (cperl-mode):
573         Set normal-auto-fill-function correctly.
575         * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
576         inherit from global-map and don't nullify menu-bar and tool-bar
577         bindings.
579 2000-10-25  Miles Bader  <miles@lsi.nec.co.jp>
581         * wid-edit.el (widget-field-at): New function.
582         (widget-at, widget-field-activate): Use it.
583         (widget-tabable-at): Use `widget-at'.
584         (widget-specify-field): If the terminating character of the widget
585         field (which is read-only) is a newline, put it into a special
586         `boundary' field so that C-n/C-p act more naturally.
587         (widget-field-end): Also don't subtract one if a special
588         `boundary' field has been added after the widget field.
590         * comint.el (comint-output-filter, comint-send-input): Don't
591         bother adding stickiness fields to overlays to fool the field
592         code, since it should notice the overlay insertion-types now.
594         * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
595         Replace with aliases of the normal emacs b-o-l/e-o-l functions.
596         (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
598 2000-10-24  Gerd Moellmann  <gerd@gnu.org>
600         * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
601         (authors): Set file coding system to iso-2022-7bit.  Add
602         file-local variables to output buffer.
604         * files.el (after-find-file): Don't print any warnings if
605         WARN is nil.
607 2000-10-24  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
609         * ps-print.el (ps-generate): Fix odd/even pages printing bug.
611         * delim-col.el: Now there is a column formatting mechanism.
612         Modified to customization mechanisms convention.  Doc fix.
613         (columns): New group for delim-col.
614         (delimit-columns-before, delimit-columns-after)
615         (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
616         (delimit-columns-end): New vars.
617         (delimit-columns-customize, delimit-columns-format): New funs.
618         (delimit-columns-region, delimit-columns-rectangle)
619         (delimit-columns-rectangle-line): Modified to support column
620         formatting.
622 2000-10-24  Dave Love  <fx@gnu.org>
624         * log-edit.el (log-edit): Add :version and a :group for vc.
626 2000-10-24  Gerd Moellmann  <gerd@gnu.org>
628         * files.el (after-find-file): Don't print a message ``New file''
629         if WARN is nil.
631         * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
632         the tool-bar map as nil, as for the menu-bar.  Otherwise, we'll
633         get duplicate tool-bar entries because we'll see the global ones
634         on more than one path through keymaps.
636         * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
638         * progmodes/cmacexp.el: Change Francesco's email address.
640 2000-10-24  Kenichi Handa  <handa@etl.go.jp>
642         * window.el (fit-window-to-buffer): Adjust point of the window
643         buffer, not that of the current buffer.
645 2000-10-24  Eli Zaretskii  <eliz@is.elta.co.il>
647         * progmodes/cmacexp.el: Update the euthor's email address.
649 2000-10-24  Miles Bader  <miles@lsi.nec.co.jp>
651         * faces.el (face-spec-set-match-display): Add `graphic' display
652         type (the inverse of `tty').  Use `display-graphic-p' instead of
653         the window-system variable.
655 2000-10-24  Kenichi Handa  <handa@etl.go.jp>
657         * international/isearch-x.el (isearch-with-input-method): Call
658         input-method-function with the first event in
659         unread-command-events.
661 2000-10-24  Miles Bader  <miles@lsi.nec.co.jp>
663         * faces.el (face-default-spec, face-user-default-spec): Make
664         defsubsts.
666 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
668         * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
669         New charsets.
671         * term/mac-win.el: Remove definitions of mac-roman-lower and
672         mac-roman-upper, require dired, and define instead of set
673         mac-ready-for-drag-n-drop to avoid compilation error.
675 2000-10-23  Andrew Innes  <andrewi@gnu.org>
677         * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
678         superfluous calls to subst-char-in-string; instead apply
679         expand-file-name after convert-standard-filename to ensure
680         expected directory separators are used.
682 2000-10-23  Eli Zaretskii  <eliz@is.elta.co.il>
684         * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
686 2000-10-23  Dave Love  <fx@gnu.org>
688         * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
689         (tool-bar-add-item): Set foreground and background for XBM icons.
691         * international/latin1-disp.el (latin1-char-displayable-p): New
692         function (from Handa).
693         (latin1-display-check-font): Use it.
695         * imenu.el (imenu--create-keymap-2): Build menu with menu-item
696         using :key-sequence, making it much more usable.  Use nconc, not
697         append.
698         (imenu--create-keymap-1): Avoid append.
700         * textmodes/refill.el: Remove bits redundant with define-minor-mode.
702 2000-10-23  Miles Bader  <miles@lsi.nec.co.jp>
704         [the following changes fix a bug where `define-minor-mode' didn't
705         correctly generate :require clauses for defcustoms in compiled files]
706         * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
707         (byte-compile-log-file, byte-compile-log-1): Don't set
708         `byte-compile-current-file' to nil.  Instead set
709         `byte-compile-last-logged-file' to it.  Test whether
710         byte-compile-current-file equals byte-compile-last-logged-file
711         instead of whether its nil.
712         (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
714 2000-10-23  Stefan Monnier  <monnier@cs.yale.edu>
716         * textmodes/refill.el: Fix var names in doc.
717         (refill-mode): Don't bother with make-local-hook anymore.
719 2000-10-23  Miles Bader  <miles@lsi.nec.co.jp>
721         * faces.el (face-user-default-spec, face-default-spec): New functions.
722         (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
723         (frame-set-background-mode, face-set-after-frame-default):
724         Use `face-user-default-spec'.  Simplify code slightly.
726         * woman.el (woman-italic-face, woman-bold-face)
727         (woman-unknown-face): Add dark-background variants.
728         (woman-default-faces): Renamed from `woman-colour-faces'.
729         Set using the stored defaults, rather than using hard-wired colors.
730         (woman-monochrome-faces): Renamed from `woman-black-faces'.
731         Just make the foreground `unspecified' rather than "black".
732         (woman-menu): Rename menu entries accordingly.
734         * faces.el (header-line): Make more reasonable on mono/grayscale
735         displays.
737 2000-10-23  Andrew Choi  <akochoi@i-cable.com>
739         * cus-edit.el (custom-button-face): Use 3D look for mac.
740         (custom-button-pressed-face): Likewise.
742         * faces.el (set-face-attributes-from-resources): Handle mac frames
743         in the same way as x and w32 frames.
744         (face-valid-attribute-values): Likewise.
745         (read-face-attribute): Likewise.
746         (defined-colors): Likewise.
747         (color-defined-p): Likewise.
748         (color-values): Likewise.
749         (display-grayscale-p): Likewise.
750         (face-set-after-frame-default): Likewise.
751         (mode-line): Same default face as for x and w32.
752         (tool-bar): Likewise.
754         * frame.el: Remove call to frame-notice-user-settings at end of
755         the file.
757         * info.el (Info-fontify-node): make underlines invisible for mac
758         as for x, pc, and w32 frame types.
760         * term/mac-win.el: New file.
762 2000-10-22  Dave Love  <fx@gnu.org>
764         * textmodes/refill.el: New file.
766 2000-10-22  Andre Spiegel  <spiegel@gnu.org>
768         * vc-hooks.el (vc-version-backup-file-name): New optional args
769         MANUAL and REGEXP.
770         (vc-delete-automatic-version-backups, vc-make-version-backup):
771         New functions.
772         (vc-before-save): Use the latter.
773         (vc-default-make-version-backups-p): Added `-p' suffix to avoid
774         confusion.
776         * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
777         expected by vc[-hooks].el.
779         * vc.el (vc-checkout): Added `-p' suffix in call to
780         vc-make-version-backups-p; use vc-make-version-backup to actually
781         make the backup.
782         (vc-version-other-window, vc-version-backup-file): Handle both
783         automatic and manual backups.
784         (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
785         of all of them.
787 2000-10-22  Miles Bader  <miles@gnu.org>
789         * comint.el (comint-highlight-input, comint-highlight-prompt):
790         Renamed, `-face' at end removed.
791         (comint-send-input, comint-output-filter): Use renamed faces.
793         * window.el (fit-window-to-buffer): Change defaulting of
794         MAX-HEIGHT slightly.
796         * faces.el (color-values, color-defined-p): Use `member', not
797         `memq', because it works correctly for strings.
798         (frame-set-background-mode): Actually, "unspecified-fg" and
799         "unspecified-bg" *are* strings.  Use `member', not `memq', and
800         `equal', not `eq', when a string value is possible.
802 2000-10-21  Eli Zaretskii  <eliz@is.elta.co.il>
804         * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
806 2000-10-21  Stefan Monnier  <monnier@cs.yale.edu>
808         * progmodes/sh-script.el (sh-mode-map): Remove bindings for
809         sh-electric-rparen, sh-electric-less and sh-electric-hash.
810         (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
811         (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
812         (sh-font-lock-syntactic-keywords): Use them.
813         (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
814         (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
815         (sh-mode): Don't override font-lock-unfontify-region-function.
816         Use a copy of sh-font-lock-syntactic-keywords.
817         (sh-set-shell): Don't set sh-electric-rparen-needed-here.
818         Don't call sh-scan-buffer since font-lock does it on the fly.
819         (sh-get-indent-info): Use `face' rather than `syntax-table'
820         text-property to detect here-documents.
821         Replace sh-special-syntax with sh-st-punc.
822         (sh-prev-line): Use `face' rather than `syntax-table'
823         text-property to skip over here-documents.
824         (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
825         (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
826         (sh-electric-less, sh-set-here-doc-region)
827         (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
828         (sh-scan-buffer, sh-rescan-buffer): Remove.
830 2000-10-21  Andrew Innes  <andrewi@gnu.org>
832         * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
833         remote (ange-ftp) file names.
835 2000-10-21  Miles Bader  <miles@gnu.org>
837         * window.el (fit-window-to-buffer): New function.
838         (shrink-window-if-larger-than-buffer): Use it.
839         (window-text-height): Don't expect minibuffers to have mode-lines.
841         * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
842         * international/quail.el (quail-update-guidance): Use
843         `fit-window-to-buffer' instead of `set-window-text-height'.
845         * international/quail.el (quail-show-guidance-buf): Make sure
846         guidance window really has enough room.
847         (quail-update-guidance): If quail-guidance-win is already shown,
848         make sure its height is OK.
850         * window.el (window-text-height, set-window-text-height):
851         New functions.
852         (shrink-window-if-larger-than-buffer): Use `window-text-height'
853         instead of `window-height' & `mode-line-window-height-fudge'.
854         (mode-line-window-height-fudge): Add FACE parameter.
855         * help.el (resize-temp-buffer-window): Use `set-window-text-height'
856         instead of `enlarge-window' & `mode-line-window-height-fudge'.
858 2000-10-20  Miles Bader  <miles@gnu.org>
860         * window.el (height-affecting-face-attributes): Use `defconst'.
862         * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
863         New function, conditionally aliased to `mode-line-window-height-fudge'.
864         (ispell-help): Use it.
865         (ispell-choices-win-default-height): Don't include mode-line fudge.
866         (ispell-choices-win-default-height): New function.
867         (ispell-show-choices, ispell-command-loop): Use function
868         `ispell-choices-win-default-height' instead of variable.
870 2000-10-20  Miles Bader  <miles@lsi.nec.co.jp>
872         * window.el (mode-line-window-height-fudge): New variable.
873         (height-affecting-face-attributes): New variable.
874         (mode-line-window-height-fudge): New function.
875         (shrink-window-if-larger-than-buffer): Use it.
876         * help.el (resize-temp-buffer-window): Likewise.
878         * info.el (Info-fontify-node): Add support for @subsubsection
879         titles, which use `Info-title-4-face'.
880         (Info-title-4-face): New face.
881         (Info-title-3-face): Inherit from Info-title-4-face instead of
882         variable-pitch.
884 2000-10-19  Jason Rumney  <jasonr@gnu.org>
886         * dired.el (dired-insert-directory): Do not let errors signalled by
887         attempt to run dired-free-space-program prevent dired from working.
889 2000-10-19  Stefan Monnier  <monnier@cs.yale.edu>
891         * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
893 2000-10-19  Gerd Moellmann  <gerd@gnu.org>
895         * dirtrack.el (dirtrack): Fix call to run-hooks.
897         * cmuscheme.el (cmuscheme-program-name): Renamed from
898         scheme-program-name because xscheme.el contains a defcustom with
899         the same name.  As a consequence, customizing group `cmuscheme'
900         loaded `xscheme' which redefined run-scheme.
901         (run-scheme): Use cmuscheme-program-name.
903         * ps-print.el (ps-print-emacs-type): Move into the
904         eval-and-compile.
906         * play/doctor.el (doctor-death): Update the Samaritans'
907         anonymous address, and add a website for Befrienders International.
909 2000-10-19  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
911         * ps-print.el: Even/odd pages fix.  Fix little bug on XEmacs.
912         Avoid compilation gripes.  Doc fix.
913         (ps-print-version): New version number (6.2).
914         (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
915         (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
916         (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
917         (ps-x-extent-priority, ps-x-extent-start-position)
918         (ps-x-face-font-instance, ps-x-find-coding-system)
919         (ps-x-font-instance-properties, ps-x-make-color-instance)
920         (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
921         avoid compilation gripes without defining functions.
922         (ps-e-find-composition): Alias for function find-composition, to have a
923         suitable function depending on Emacs version.
924         (ps-color-device, ps-color-values, ps-face-foreground-name)
925         (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
926         (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
927         (ps-print-ensure-fontified): Function definitions surrounded by
928         `eval-and-compile' to avoid compilation gripes.
929         (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
930         by symbol-value to avoid compilation gripes.
931         (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
932         (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
934 2000-10-19  Miles Bader  <miles@lsi.nec.co.jp>
936         * startup.el (normal-top-level): Call `frame-set-background-mode'
937         after `frame-notice-user-settings' because the latter doesn't call
938         the former on a tty.
940         * faces.el (frame-set-background-mode): `unspecified' &c are
941         symbols, not strings.
943 2000-10-19  Eli Zaretskii  <eliz@is.elta.co.il>
945         * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
946         why some "light*" colors are deliberately absent from the alist.
948         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
949         Change colors for tty's, as suggested by Miles Bader.
951 2000-10-19  Kenichi Handa  <handa@etl.go.jp>
953         * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
954         (ccl-encode-mule-unicode-0100-24ff): New CCL program.  Register it
955         for ISO10646-1 fonts.
956         (x-font-name-charset-alist): Add an entry for "iso10646-1".
958 2000-10-19  Eli Zaretskii  <eliz@is.elta.co.il>
960         * faces.el (frame-set-background-mode): If a tty frame defines a
961         background color, use that to compute the background mode, instead
962         of always defaulting to "dark".
964 2000-10-19  Miles Bader  <miles@lsi.nec.co.jp>
966         * comint.el (comint-write-output): New function.
967         (comint-mode-map): Add it to the menu.
968         Bind `C-c C-s' to comint-write-output.
970 2000-10-18  Gerd Moellmann  <gerd@gnu.org>
972         * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
973         Use fancy-splash-delay.
975 2000-10-18  Alex Schroeder  <alex@gnu.org>
977         * progmodes/sql.el (sql-sybase-options): New option.
978         (sql-sybase): Use it.  Add sql-database to the list of parameters
979         provided for login.  The options -w 2048 -n are not used any more.
981         * comint.el (comint-read-input-ring): Bugfix such that the first
982         and the last entry of the input ring file are not lost.
984 2000-10-18  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
986         * ps-print.el: Internal variable changes to defcustom,
987         make-local-hook changes to defvar.  Doc fix.
988         (ps-print-version): New version number (6.1).
989         (ps-setup, ps-do-despool): Code fix.
990         (ps-printer-name): Customization fix.
991         (ps-printer-name-option): Now is a defcustom instead of an
992         internal variable.
993         (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
994         (ps-print-begin-column-hook): Now are defvar instead of
995         make-local-hook.
997 2000-10-18  Miles Bader  <miles@gnu.org>
999         * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
1000         (comint-kill-output): Changed into an alias for `comint-delete-output',
1001         and made obsolete.
1002         (comint-mode-map): Rename references to comint-kill-output.
1004 2000-10-18  Eli Zaretskii  <eliz@is.elta.co.il>
1006         * diff-mode.el (diff-header-face, diff-file-header-face)
1007         (diff-changed-face): Add bold and italic attributes to tty faces.
1008         (diff-function-face): New face.
1009         (diff-font-lock-keywords): Use it.
1011 2000-10-18  Miles Bader  <miles@lsi.nec.co.jp>
1013         * comint.el (comint-output-filter): Fixup comint-last-input-end too.
1014         Remove commented-out call to force-mode-line-update.
1015         (comint-kill-output): Use `forward-line 0' instead of
1016         beginning-of-line to make sure we get past the prompt.
1018 2000-10-17  Stefan Monnier  <monnier@cs.yale.edu>
1020         * diff-mode.el (diff-header-face, diff-file-header-face):
1021         Add specific setting for dark background.
1022         (diff-context-face): Renamed from diff-comment-face.
1023         Set explicitly rather than inheriting from font-lock-comment-face.
1025 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1027         * startup.el (command-line): Move the code which sets the default
1028         TTY colors to before before-init-hook.
1030 2000-10-17  Gerd Moellmann  <gerd@gnu.org>
1032         * jit-lock.el (jit-lock-stealth-time): Doc fix.
1034 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1036         * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
1037         extensions, for MS-DOS.
1039         * diff-mode.el (diff-header-face, diff-file-header-face)
1040         (diff-changed-face): Define tty-specific colors.
1042 2000-10-17  Gerd Moellmann  <gerd@gnu.org>
1044         * startup.el (fancy-splash-text): Realign the text.
1046 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1048         * font-lock.el (font-lock-comment-face): Define a separate default
1049         for dark-background tty's.
1051 2000-10-17  Miles Bader  <miles@gnu.org>
1053         * help.el (resize-temp-buffer-window): Add hack to avoid last line
1054         being obscured by whizzy mode-lines on graphics displays.
1056 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1058         * info.el (Info-title-1-face, Info-title-2-face)
1059         (Info-title-3-face): Define colors for tty's.
1060         (info-header-node): Remove unneeded tty-specific definition.
1062 2000-10-16  Eli Zaretskii  <eliz@is.elta.co.il>
1064         * term/pc-win.el (msdos-handle-reverse-video): Don't remove
1065         reverse from the frame parameters, and don't invert foreground and
1066         background colors.
1068 2000-10-16  Miles Bader  <miles@gnu.org>
1070         * info.el (Info-set-mode-line): Use `%b' instead of hardwired
1071         string "*Info*".  Call propertized-buffer-identification to spruce
1072         up the result.
1074 2000-10-16  Gerd Moellmann  <gerd@gnu.org>
1076         * help.el: Provide `help' for the sake of define-minor-mode
1077         which generates defcustoms with requires.
1079         * jit-lock.el (jit-lock-after-change): If we're in text that
1080         matches a multi-line font-lock pattern, make sure the whole text
1081         will be redisplayed.
1083         * emacs-lisp/authors.el (authors-add): Don't add an entry if
1084         author's name is unknown.
1086         * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
1087         * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
1088         * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
1089         * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
1090         * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
1091         * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
1092         * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
1093         * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
1094         * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
1095         Add author information.
1097 2000-10-16  Miles Bader  <miles@lsi.nec.co.jp>
1099         * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
1100         * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
1101         full-color version (using the Gimp) to eliminate dithering artifacts.
1103 2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>
1105         * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
1107         * simple.el (syntax-flag-table, string-to-syntax): Remove.
1109 2000-10-15  Dave Love  <fx@gnu.org>
1111         * progmodes/sh-script.el: Require skeleton and comint when
1112         compiling.
1114         * pcomplete.el (pcomplete) <defgroup>: Add :version.
1116         * whitespace.el: Doc fixes.
1117         (top-level): Don't add hooks here.
1118         (whitespace-running-emacs): Deleted.
1119         (timer): Don't require.
1120         (whitespace): Add back :version conditional on xemacs test.
1121         (whitespace-spacetab-regexp, whitespace-indent-regexp)
1122         (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
1123         (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
1124         (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
1125         Avoid specific xemacs test.
1126         (whitespace-global-mode): New option.
1127         (whitespace-global-mode): New command.
1128         (whitespace-unload-hook): New function.
1130         * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
1131         (Info-fontify-node, Info-goto-node, Info-mode-menu)
1132         (Info-fontify-node): `Goto' goes to `Go to'.
1133         (Info-fontify-node): Add help-echo to xref links.
1135 2000-10-15  Eli Zaretskii  <eliz@is.elta.co.il>
1137         * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
1139 2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>
1141         * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1142         Use plist-get and allow :inherit.
1144         * emacs-lisp/cl-macs.el (cl-do-arglist):
1145         Use plist-get and plist-member instead of memq.
1147         * emacs-lisp/ewoc.el (ewoc-location): New function.
1148         (ewoc-enter-after, ewoc-enter-before): Document return value.
1149         * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
1150         Don't need make-local-hook any more.
1151         (cvs-addto-collection): Return the new tin.
1152         (cvs-mode-insert): Jump to the new line.
1154         * jit-lock.el (jit-lock-fontify-buffer): Remove.
1156         * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
1158         * font-lock.el (font-lock-syntactically-fontified): New var.
1159         (font-lock-fontify-syntactic-keywords-region): Use it.
1160         (font-lock-mode): Fix docstring.  Don't need make-local-hook anymore.
1162         * diff-mode.el (diff-find-file-name): Fix regexp.
1164         * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
1165         (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
1167         * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
1168         (sh-mode-syntax-table): Add punctuation syntax for < and >.
1169         (sh-mode): Don't make all vars local here.
1170         (sh-kw): Reformat.
1171         (sh-set-shell): Use dolist.  Don't set indent-region-function.
1172         (sh-mode-syntax-table): Use pop.
1173         (sh-remember-variable): Use push.
1174         (sh-help-string-for-variable): Use memq.
1175         (sh-safe-backward-sexp): Remove.
1176         (sh-safe-forward-sexp): Add ARG.
1177         (sh-get-indent-info, sh-prev-stmt): Use it.
1178         (sh-prev-line): Simplify by using forward-comment.
1179         (sh-this-is-a-continuation): Simplify.
1180         (sh-learn-buffer-indent): Use dolist.
1181         (sh-do-nothing): Remove.
1182         (sh-set-char-syntax, sh-set-here-doc-region):
1183         Use inhibit-modification-hooks.
1184         (sh-name-style): Use mapcar and push.
1185         (sh-load-style): Use dolist.
1186         (sh-save-styles-to-buffer): Use with-current-buffer and pp.
1187         (sh-case, sh-while-getopts): Use propertize directly rather
1188         than sh-electric-rparen.
1190 2000-10-14  Stefan Monnier  <monnier@cs.yale.edu>
1192         * textmodes/tex-mode.el: Require CL when compiling.
1193         (tex-mode-syntax-table): Init immediately.
1194         (tex-mode-map): Bind M-RET to latex-insert-item.
1195         (latex-mode): Set indent-line-function to latex-indent.
1196         (tex-common-initialization): Don't setup the syntax-table any more.
1197         (latex-insert-item): New skeleton.
1198         (tex-next-unmatched-end): Fix copy/paste braino.
1199         (latex-syntax-after, latex-skip-close-parens, latex-down-list)
1200         (latex-indent, latex-find-indent): New functions.
1201         (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
1202         (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
1203         (tex-compilation-parse-errors): Use with-syntax-table.
1205 2000-10-15  Miles Bader  <miles@gnu.org>
1207         * font-lock.el (font-lock-comment-face): Change dark-background,
1208         color, non-tty, default to `chocolate1'.
1210 2000-10-13  John Wiegley  <johnw@gnu.org>
1212         * eshell/esh-util.el (require): Added a missing `require' form,
1213         needed when compiling (for an ange-ftp macro definition).
1215 2000-10-13  Dave Love  <fx@gnu.org>
1217         * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
1219 2000-10-13  Gerd Moellmann  <gerd@gnu.org>
1221         * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
1222         fix.
1224         * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
1225         transparent -colors 8).
1227 2000-10-13  Stephen Gildea  <gildea@alum.mit.edu>
1229         * time-stamp.el (time-stamp): Fixed bug in new multi-line code
1230         that breaks with old list format timestamps.
1231         (time-stamp-warn-inactive, time-stamp-old-format-warn)
1232         (time-stamp-count, time-stamp-conversion-warn): Improved doc
1233         strings.
1235 2000-10-13  John Wiegley  <johnw@gnu.org>
1237         * align.el, pcomplete.el, calendar/timeclock.el,
1238         eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
1240         * calendar/timeclock.el (timeclock-find-discrep): A fix to some
1241         faulty math, where holiday hours were being computing as seconds.
1243 2000-10-13  John Wiegley  <johnw@gnu.org>
1245         * desktop.el (desktop-buffer-modes-to-save): Added a global for
1246         specifying what "other" kinds of buffers should be saved.  This
1247         used to be hard-coded.
1248         (desktop-buffer-misc-functions): A global for specifying how
1249         auxiliary data should be determined for special buffer types.
1250         (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
1251         instead of hard-coding the special buffer types.
1252         (desktop-save): Run `desktop-buffer-misc-functions' to gather
1253         auxiliary data, instead of hard-coding for Info buffers and dired.
1254         (desktop-buffer-info-misc-data): Aux function for determining Info
1255         buffer auxiliary info.
1256         (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
1257         (desktop-buffer-info): Changed this function to use the info
1258         gathered above.
1259         (desktop-create-buffer): Be a little more careful about what
1260         `minor-mode' means before calling it.  This is important for some
1261         buffer types.
1263 2000-10-13  John Wiegley  <johnw@gnu.org>
1265         * eshell/esh-util.el: Added a global form which declares an
1266         autoload for `parse-time-string', if that function is not already
1267         defined, and if parse-time.el is available on the user's system.
1269         * eshell/em-ls.el (eshell-ls-applicable): Extended this function
1270         to be aware of ange-ftp user info.
1271         (eshell-do-ls): Bind `ange-cache'.  Also, use
1272         `eshell-file-attributes'.
1273         (eshell-ls-annotate): Use `eshell-file-attributes'.
1274         (eshell-ls-file): Made the user-id printing code a bit smarter.
1276         * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
1277         allow identification of alias user ids in remote directories.
1278         It's manual, but there's no other way to know when the current
1279         user on the local machine, is also the owning user on the remote
1280         machine.
1281         (fboundp): Bind `ange-cache'.
1282         (eshell-directory-files-and-attributes): Re-organized the logic a
1283         bit to use `eshell-file-attributes' instead of `file-attributes'.
1284         The former is more sensitive to directories that are read via FTP,
1285         and knows how to use ange-ftp to determine full attribute
1286         information, instead of just the name and last modtime.
1287         (eshell-current-ange-uids): Return the current user id when in a
1288         remote directory.
1289         (eshell-parse-ange-ls): Parse a full directory listing that has
1290         been returned by ange-ftp.
1291         (eshell-file-attributes): This beefed up version of
1292         `file-attributes' is only special if the user is currently in a
1293         remote directory, in which case it does a lot of work to find out
1294         what the real attributes of a file are, as they appear on the
1295         remote machine.  This makes usage of remote directories (i.e.,
1296         ange-ftp pathnames) much more useful.  You can now use Eshell as a
1297         full-fledged FTP client, with much more manipulation ability than
1298         most other clients.
1300         * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
1301         variable, which means that Eshell's du should always be preferred
1302         in remote directories.
1303         (eshell-shuffle-files): Use `eshell-file-attributes', rather than
1304         just `file-attributes'.
1305         (eshell-mvcp-template): Bind `ange-cache', to improve performance
1306         when reading remote directories.  This is an Eshell-specific
1307         variable (not part of ange-ftp).
1308         (eshell/ln): Bind `ange-cache'.
1309         (eshell/du): Added some extra logic for determining when to use
1310         Eshell's du (which is slow), and when to use the external version
1311         (which may or may not exist).
1313         * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
1314         `eshell-interactive-process', rather than using
1315         `get-buffer-process', since backgrounded processes don't count in
1316         the context of this function's logic.
1318         * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
1319         `forward-char', so that null strings are parsed correctly.
1321 2000-09-13  John Wiegley  <johnw@gnu.org>
1323         * eshell/em-pred.el (eshell-pred-file-type,
1324         eshell-pred-file-links, eshell-pred-file-size): Use
1325         `eshell-file-attributes'.  This is more correct over ange-ftp.
1327         * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
1328         that remote file globbing is more efficient.
1330         * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
1331         gathering the files and attributes within a directory.
1333         * eshell/em-unix.el (eshell/cat): If any of the files passed on
1334         the command line is a special file (not a regular file, directory
1335         or symlink), always attempt to call the external version of cat.
1337 2000-09-13  John Wiegley  <johnw@gnu.org>
1339         * eshell/esh-mode.el (eshell-find-tag): Corrections to the
1340         Eshell-friendly version of find-tag.
1342 2000-10-13  Miles Bader  <miles@lsi.nec.co.jp>
1344         * image-file.el (image-file-name-extensions)
1345         (image-file-name-regexps): Add autoload cookies.
1347 2000-10-13  Kenichi Handa  <handa@etl.go.jp>
1349         * international/mule-cmds.el (select-safe-coding-system): If FROM
1350         is string, show it in *Warning* buffer.
1352 2000-10-13  Eli Zaretskii  <eliz@is.elta.co.il>
1354         * startup.el (normal-top-level): Use display-popup-menus-p instead
1355         of window-system.
1356         (command-line): Use display-graphic-p instead of window-system.
1357         (command-line-1): Use display-popup-menus-p and display-mouse-p
1358         instead of window-system.
1360 2000-10-12  Sam Steingold  <sds@gnu.org>
1362         * tooltip.el (tooltip-use-echo-area): New user variable.
1363         (tooltip-show): Use it to choose between `x-show-tip' and `message'.
1365 2000-10-12  Dave Love  <fx@gnu.org>
1367         * recentf.el: Maintainer's checkdoc fixes.
1369         * startup.el (normal-top-level-add-subdirs-to-load-path): Use
1370         character class, not ASCII when matching file names.
1371         (fancy-splash-head): Add trailing slash to URL.
1372         (command-line): Don't require XPM support for toolbar.
1374         * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
1375         (cperl-invalid-face): Revert last change.
1376         (cperl-init-faces): Quote cperl-invalid-face.
1378 2000-10-12  Kenichi Handa  <handa@etl.go.jp>
1380         * startup.el (fancy-splash-text): Remove superfluous quote.
1382 2000-10-12  Gerd Moellmann  <gerd@gnu.org>
1384         * startup.el (fancy-splash-screens): Don't add a pre-command hook.
1385         (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
1386         (command-line-1): Don't use fancy-splash-pending-command.
1387         (fancy-splash-screens-1): Goto point-min after inserting text.
1389         * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
1391         * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
1392         instead of shared-lisp-mode-map.
1394 2000-10-12  Miles Bader  <miles@lsi.nec.co.jp>
1396         * faces.el (header-line): Change tty-variant to use underlining.
1398         * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
1399         (isearch-highlight): Restore lazy-isearch face properties at old
1400         position, and suppress them at new position.
1401         (isearch-dehighlight): Restore lazy-isearch face properties.
1402         (isearch-lazy-highlight-update): Add lazy-isearch overlays even
1403         over the real isearch overlay, but in that case, don't give it a
1404         face property.  Use `push'.
1406 2000-10-12  Kenichi Handa  <handa@etl.go.jp>
1408         * man.el (Man-getpage-in-background): Fix previous change.
1409         Decode the process output only when we are in multibyte mode.
1411 2000-10-11  Dave Love  <fx@gnu.org>
1413         * info.el (Info-mode-menu): Fix some help.
1414         (info-tool-bar-map): Add entry for Info-last.
1416         * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
1417         * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
1418         * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
1419         * toolbar/cut.xpm, toolbar/mail_compose.xpm:
1420         * toolbar/search-replace.xpm, toolbar/exit.xpm:
1421         * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
1422         * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
1423         * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
1424         * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
1425         * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
1426         Reduce colour requirements to 25 overall.  (Probably wants
1427         revisiting from the originals to reduce further.)
1429 2000-10-11  Eli Zaretskii  <eliz@is.elta.co.il>
1431         * hexl.el (hexlify-buffer): Bind coding-system-for-write to
1432         buffer-file-coding-system, instead of raw-text.
1433         (dehexlify-buffer): Bind coding-system-for-read to
1434         buffer-file-coding-system, instead of raw-text.
1436 2000-10-11  Sam Steingold  <sds@gnu.org>
1438         * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
1439         `underline' - fixes the bug introduced on 2000-09-21.
1441 2000-10-11  Dave Love  <fx@gnu.org>
1443         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
1444         compiler warnings.
1445         (scheme-mode): Doc fix.
1446         (scheme-font-lock-keywords-1): Match `define-syntax'.
1448 2000-10-11  Miles Bader  <miles@lsi.nec.co.jp>
1450         * faces.el (frame-set-background-mode): Pay attention to saved
1451         face specs as well as default ones.  Only do anything if the
1452         bg-mode or display-type has actually changed.  Use `dolist'.
1453         (region): Make dark-background `region' face less in-your-face.
1455 2000-10-10  Sam Steingold  <sds@gnu.org>
1457         * chistory.el, ielm.el, ledit.el:
1458         * progmodes/inf-lisp.el, progmodes/scheme.el:
1459         Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
1461 2000-10-10  Stefan Monnier  <monnier@cs.yale.edu>
1463         * textmodes/texinfo.el: Update copyright and fix typo.
1465         * desktop.el (desktop-modes-not-to-save): New var.
1466         (desktop-save-buffer-p): Use it.
1467         Also, obey desktop-buffers-not-to-save even for non-file buffers.
1468         (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
1470 2000-10-10  Dave Love  <fx@gnu.org>
1472         * toolbar/tool-bar.el (tool-bar-add-item)
1473         (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
1474         display.
1476         * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
1477         * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
1478         * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
1479         * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
1480         * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
1481         * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
1482         * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
1483         * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
1484         * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
1485         * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
1486         the .xpms; probably need retouching.
1488 2000-10-10  Miles Bader  <miles@lsi.nec.co.jp>
1490         * subr.el (add-to-list): Add optional argument APPEND.
1491         * battery.el (display-battery): Use `add-to-list'.
1493 2000-10-09  Thien-Thi Nguyen  <ttn@gnu.org>
1495         * play/zone.el (zone-timer, zone-wc-tbl): Rework
1496         these vars as symbol properties.
1497         (zone, zone-when-idle, zone-leave-me-alone)
1498         (zone-pgm-whack-chars): Use new symbol properties.
1500         * battery.el (display-battery): Doc spelling fix.
1502         * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
1503         property.
1505 2000-10-09  Dave Love  <fx@gnu.org>
1507         * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
1508         has been initialized before calling tool-bar-setup.
1509         (tool-bar-add-item-from-menu): Add autoload cookie.
1511 2000-10-09  Eli Zaretskii  <eliz@is.elta.co.il>
1513         * menu-bar.el (send-mail-item-name): New function.
1514         (menu-bar-tools-menu) <compose-mail>: Use it to display the value
1515         of mail-user-agent in the menu.  Don't display the "Send Mail"
1516         item if mail-user-agent is nil or its value is ignore.
1517         (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
1518         if read-mail-command is nil or its value is ignore.
1520         * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
1522 2000-10-09  Miles Bader  <miles@gnu.org>
1524         * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
1525         Correct image size.
1526         * toolbar/left_arrow.xpm: Correct image size.
1528         * jka-compr.el: Don't call `jka-compr-install' when loading (it
1529         will be done by the definition of `auto-compression-mode' if
1530         necessary.  Move code to uninstall existing file-name handler
1531         before definition of `auto-compression-mode'.
1533         * image-file.el (auto-image-file-mode): Move to the end of the
1534         file, because `define-minor-mode' actually calls the mode-function
1535         if the associated variable is non-nil, which requires that all
1536         needed functions be already defined.
1538         * mouse.el (popup-menu): Balance parens.
1540 2000-10-08  Stefan Monnier  <monnier@cs.yale.edu>
1542         * mouse.el (popup-menu): Move the command call outside the loop
1543         so that popup-menu returns whatever the command returns.
1545         * progmodes/etags.el: Docstring fixes.  Maintainer line updated.
1546         (initialize-new-tags-table): Use run-hook-with-args-until-success.
1547         (find-tag): Use pop-to-buffer if switch-to-buffer failed.
1548         (tags-table-format-functions): Renamed from tags-table-format-hooks.
1550         * vc.el (vc-version-diff): diff-switches can be a list.
1551         Use relative filenames for prettier output.
1553         * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
1554         (vc-post-command-functions): Remove old-VC compatibility code.
1556         * newcomment.el (comment-indent-default): Autoload.
1558         * font-lock.el (font-lock-defaults): Make buffer-local.
1559         (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
1560         (font-lock-choose-keywords):
1561         Ignore LEVEL unless KEYWORDS is a list of syms.
1562         (c-keywords, c++-keywords, objc-keywords, java-keywords):
1563         Don't wrap regexp-opt things in \(...\) unnecessarily.
1565         * jit-lock.el: Don't require font-lock any more.
1566         (jit-lock-functions): Make buffer-local.
1567         (jit-lock-saved-fontify-buffer-function): Remove.
1568         (jit-lock-mode): Remove autoload cookie.
1569         Remove font-lock specific code.
1570         (jit-lock-unregister): Don't bother handling complex hooks any more.
1571         (jit-lock-refontify): New function.
1572         (jit-lock-fontify-buffer): Use it.
1573         (jit-lock-function-1): Replaced by jit-lock-fontify-now.
1574         (jit-lock-fontify-now): Renamed from jit-lock-function-1.
1575         Add optional args START and END.
1576         Never call font-lock-fontify-region directly.
1577         (jit-lock-function, jit-lock-stealth-fontify): Use it.
1579         * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
1581 2000-10-08  Dave Love  <fx@gnu.org>
1583         * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
1585         * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
1587         * play/studly.el (studlify-region, studlify-word): Add autoload
1588         cookie.
1590         * play/morse.el (morse-region, unmorse-region): Add autoload
1591         cookie.
1593         * play/spook.el (spook-phrases-file): Use expand-file-name, not
1594         concat.
1596         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
1597         insist on symbols starting with word syntax.
1598         (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
1599         (eval-defun-1): Doc fix.
1600         (indent-sexp): Use nconc to build up indent-stack.
1602         * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
1603         Gnus with little use.
1604         (mail-setup-hook): Add mail-abbrevs-setup to options.
1606         * recentf.el: Doc fixes.
1608         * vcursor.el (vcursor-cs-binding): Remove compatibility code.
1609         Clean up remainder.
1611         * timezone.el (timezone-parse-date): Doc fix.  Fix regexps for (5)
1612         without timezone and (8) with timezone to enforce some whitespace.
1613         Simplify code somewhat.
1615         * options.el (list-options): Doc that you should use customize.
1617         * iswitchb.el (iswitchb-mode): Add :require.
1619         * info.el (Info-goto-node, Info-menu): Doc fix.
1620         (Info-mode-menu): Bind beginning-of-buffer, Info-edit
1621         (info-tool-bar-map): New variable.
1622         (Info-mode): Use it.
1623         (Info-edit-map): Define all in defvar.
1624         (speedbar-attached-frame): Avoid compiler warning.
1626         * toolbar/tool-bar.el (tool-bar-map): Define it empty.
1627         (global-map): Bind [tool-bar] to a filtered map.
1628         (tool-bar-add-item): Remove MAP arg.  Allow PBM icons.
1629         (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
1630         Allow PBM icons.
1631         (tool-bar-setup): Adjust calls of tool-bar-add-item.
1633         * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
1634         * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
1635         * toolbar/right_arrow.xpm: New files.  Renamed from tigert's
1636         icons, except up_arrow, which is left-arrow rotated.
1638         * imenu.el (imenu-add-to-menubar): Fix last change.
1640 2000-10-08  Peter Breton  <pbreton@ne.mediaone.net>
1642         * generic-x.el (rul-generic-mode): Remove eval-when-compile
1643         statements. Suggested by Stefan Monnier  <monnier@cs.yale.edu>.
1645 2000-10-08  Eli Zaretskii  <eliz@is.elta.co.il>
1647         * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
1648         typos in doc strings.
1650         * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
1651         the doc strings how to customize Font Lock faces.
1653         * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
1654         computing growth when dragging the header line.
1656 2000-10-08  Eli Zaretskii  <eliz@is.elta.co.il>
1658         * simple.el (kill-line): Doc fix.
1660 2000-10-08  Miles Bader  <miles@gnu.org>
1662         * faces.el (secondary-selection): Make foreground visible on tty.
1664         * jka-compr.el (auto-compression-mode): Move to the end of the
1665         file, because `define-minor-mode' actually calls the mode-function
1666         if the associated variable is non-nil, which requires that all
1667         needed functions be already defined.
1668         (with-auto-compression-mode): Add autoload cookie.
1670 2000-10-07  Eli Zaretskii  <eliz@is.elta.co.il>
1672         * files.el (find-backup-file-name) [ms-dos]: If support for long
1673         file names is not available, behave as if version-control were set
1674         to never.
1676 2000-10-07  Dave Love  <fx@gnu.org>
1678         * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
1679         (browse-url-gnome-moz): New function.
1680         (browse-url-browser-function): Use it.
1681         Suggested by Colin Walters <walters@cis.ohio-state.edu>.
1683 2000-10-07  Stefan Monnier  <monnier@cs.yale.edu>
1685         * indent.el (tab-always-indent): New var.
1686         (indent-for-tab-command): Use it.
1688         * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
1689         raise an error.  This way it can still default to a sane value.
1691 2000-10-06  Stefan Monnier  <monnier@cs.yale.edu>
1693         * startup.el (fancy-splash-screens): Use local rather than global map.
1694         Don't use `update-menu-bindings' any more.
1695         Get rid of assumptions about keymap representation.
1697 2000-10-06  Dave Love  <fx@gnu.org>
1699         * textmodes/fill.el (sentence-end-double-space)
1700         (sentence-end-without-period):  Doc fix.
1701         (adaptive-fill-regexp): Purecopy.
1702         (unjustify-current-line): Use line-end-position.
1703         (fill-individual-paragraphs-prefix): Use line-beginning-position.
1705         * net/eudc-vars.el (eudc): Add :version, :link.
1707         * international/mule-conf.el (file-coding-system-alist): Use \', not $.
1709         * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
1710         Fix for define-minor-mode.
1711         (function-at-point): Alias to function-called-at-point.
1713         * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
1715         * simple.el (backward-word): Doc fix.
1717         * image-file.el (image-file-name-regexp): image-file-regexps ->
1718         image-file-name-regexps.
1719         (image-file-name-extensions): Add pbm.
1721 2000-10-06  Stefan Monnier  <monnier@cs.yale.edu>
1723         * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
1724         and add filename to the names so that diff-mode can jump to source.
1726         * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
1727         (tex-font-lock-keywords, tex-font-lock-keywords-2)
1728         (tex-font-lock-keywords-1): Remove.
1729         (font-lock-turn-on-thing-lock): Use jit-lock-register.
1730         (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
1731         (font-lock-default-fontify-region):
1732         Expand beg..end correctly when just following a multiline region.
1733         (font-lock-fontify-anchored-keywords):
1734         Include the anchor text as part of the multiline.
1736 2000-10-06  Gerd Moellmann  <gerd@gnu.org>
1738         * loadup.el (toplevel): Load `loaddefs' before `help' because the
1739         latter needs the autoloaded define-minor-mode macro during the
1740         bootstrap.
1742         * startup.el (command-line): For now, activate tool-bar-mode only
1743         if XPM images are supported.
1745         * mouse.el (mouse-drag-header-line): Don't allow resizing a
1746         window by dragging a header-line at the top of the frame; that's
1747         confusing because the header-line doesn't move.
1748         (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
1749         of treating the event as a list.  Some cleanup.
1751 2000-10-06  Miles Bader  <miles@gnu.org>
1753         * simple.el (display-message-or-buffer): New function.
1754         (shell-command-on-region): Use `display-message-or-buffer'.
1756         * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
1757         docstring parts.
1759         * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
1760         (smbclient-prompt-regexp): Add usage note to doc string.
1761         (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
1762         (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
1763         Use add-hook for adding the comint filter function, and only do so
1764         if it's not already in the global hook list.
1765         (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
1766         to `make-local-variable'.
1767         (nslookup-font-lock-keywords): Remove prompt entry.
1768         (nslookup): Don't set the process-filter.
1769         (finger): Exit the loop correctly when the regexps list runs out.
1770         (ftp, smbclient, smbclient-list-shares):
1771         Set the real major mode immediately, not after execing.
1772         Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
1774         * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
1776 2000-10-05  Stefan Monnier  <monnier@cs.yale.edu>
1778         * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
1780         * which-func.el (which-func-format): Remove spurious space.
1781         (which-func-mode): Don't make it permanent-local.
1782         (which-func-ff-hook): Allow which-func-maxout to be nil.
1783         (which-func-update): Simplify a bit.  Only run if which-func-mode is t.
1784         (which-func-mode): Simplify.
1785         Use post-command-idle-hook rather than post-command-hook.
1786         Go through all buffers and update their state.
1787         (which-function): Also try add-log-current-defun-function.
1789         * vc.el (with-vc-properties): Use conses rather than length-2 lists.
1790         (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
1791         Update call to with-vc-properties accordingly.
1792         (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
1793         (vc-revert-buffer): More careful about window selection and deletion.
1794         (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
1796         * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
1797         (cvs-retrieve-revision): Reuse a pre-existing buffer.
1798         (cvs-dired-action): Change the default to quickdir.
1800         * newcomment.el (comment-indent): Delegate to indent-according-to-mode
1801         if comment-indent-function returns nil.
1802         (comment-indent-default): New function.
1803         (comment-indent-function): Use it and document the new semantics.
1805         * image-file.el: Docstring fixes.
1807         * help.el (help-xref-on-pp): Use match-string.
1808         (describe-variable): New arg BUFFER.
1809         Store the current buffer in the help-xref-stack.
1810         (temp-buffer-resize-mode): Use define-minor-mode.
1812         * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
1813         consistently with its docstring.
1814         Set jit-lock-first-unfontify-pos in an idempotent way.
1815         (jit-lock-register): Autoload and add arg CONTEXTUAL.
1817 2000-10-05  Alex Schroeder  <alex@gnu.org>
1819         * sql.el (sql-mysql-options): New variable.
1820         (sql-mysql): Use it.
1822 2000-10-05  Miles Bader  <miles@lsi.nec.co.jp>
1824         * image.el (image): New group.
1826         * smerge-mode.el (smerge-mine-face, smerge-other-face)
1827         (smerge-base-face, smerge-markers-face): Add dark-background variants.
1829 2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>
1831         * net/net-utils.el (nslookup-font-lock-keywords)
1832         (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1833         Ignore the value of wqindow-system; always define keywords
1835 2000-10-05  Kenichi Handa  <handa@etl.go.jp>
1837         * startup.el (fancy-splash-screens): Remove the code for
1838         debugging; `(trace-to-stderr "EXITTT\n")'.
1840 2000-10-05  Miles Bader  <miles@gnu.org>
1842         * diff-mode.el (diff-goto-source): Update call to
1843         `diff-hunk-status-msg' to reflect new REV variable.
1845 2000-10-04  Stefan Monnier  <monnier@cs.yale.edu>
1847         * progmodes/icon.el (icon-mode):
1848         Don't gratuitously override the default for comment-column.
1850         * vc-hooks.el (vc-mode-line): Fix interactive spec.
1852         * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
1853         (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
1854         (jit-lock-functions): New var.
1855         (jit-lock-function-1): Use it if non-nil.
1856         Don't switch the syntax-table.  Don't set parse-sexp-lookup-properties.
1857         Set the `fontified' property before doing the fontification to avoid
1858         repeatedly going through the same error.
1859         Don't turn errors into messages.
1860         (jit-lock-register, jit-lock-unregister): New functions.
1862         * dired.el (dired-mark-pop-up): Turn comment into docstring.
1863         Use with-current-buffer.
1865         * dired-aux.el (dired-do-create-files, dired-kill-tree):
1866         Turn comment into docstring.
1868         * apropos.el (apropos-mode): Use define-derived-mode.
1870 2000-10-04  Gerd Moellmann  <gerd@gnu.org>
1872         * startup.el (fancy-splash-pending-command): New variable.
1873         (fancy-splash-pre-command): New function.
1874         (fancy-splash-screens): Rewritten.
1875         (command-line-1): If fancy-splash-pending-command is set, call it
1876         interactively.
1878 2000-10-04  Dave Love  <fx@gnu.org>
1880         * toolbar/tool-bar.el (tool-bar-setup): New function.
1881         (tool-bar-mode): Use it.
1883         * subr.el (substitute-key-definition): Doc fix.
1884         (play-sound-file): New command.
1886 2000-10-04  Andre Spiegel  <spiegel@gnu.org>
1888         * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
1889         vc-version-backup-file-name): New functions.
1891         * files.el (basic-save-buffer): Call vc-before-save before saving.
1893         * vc-cvs.el (vc-cvs-make-version-backups): Return t if
1894         vc-cvs-stay-local-p.
1896         * vc.el (vc-revert-buffer): Handle empty diff properly.
1897         (vc-version-backup-file): New function.
1898         (vc-checkout): Create a version backup if necessary.
1899         (vc-checkin): If a version backup file exists, delete it.
1900         (vc-version-diff): Diff locally using version backups, if available.
1901         (vc-revert-file): If there's a version backup, revert locally.
1902         (vc-transfer-file): Use version backup for base version, if
1903         available.  If not, ask for confirmation whether to get it from the
1904         server.  Update mode line before check-in.
1906 2000-10-04  Dave Love  <fx@gnu.org>
1908         * toolbar/tool-bar.el (tool-bar-setup): New function.
1909         (tool-bar-mode): Use it.
1911 2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>
1913         * net/net-utils.el (nslookup-font-lock-keywords)
1914         (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1915         Only set if window-system is non-nil
1916         (net-utils-run-program): Returns buffer.
1917         (network-connection-reconnect): Added this function.
1919         * generic.el:
1920         Incorporates extensive cleanup and docfixes by
1921         Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
1922         Uses cl compile-time macros.
1923         (generic-mode-name, generic-comment-list)
1924         (generic-keywords-list, generic-font-lock-expressions)
1925         (generic-mode-function-list, generic-mode-syntax-table):
1926         Removed variables.
1927         (generic-mode-alist): Renamed to generic-mode-list.
1928         (generic-find-file-regexp): Default changed to "^#".
1929         (generic-read-type): Uses completing read on generic-mode-list.
1930         (generic-mode-sanity-check): removed this function.
1931         (generic-add-to-auto-mode): Removed this function
1932         (generic-mode-internal): Bind mode-specific definitions
1933         into function instead of putting them in alist.
1934         (generic-mode-set-comments): Reworked extensively.
1935         (generic-mode-find-file-hook): Simplified regexp searching
1936         (generic-make-keywords-list): Omit extra pair of parens
1938         * find-lisp.el (find-lisp-find-files-internal):
1939         Make sure directory name ends with "/".
1941         * generic-x.el (apache-conf-generic-mode):
1942         Regexp now allows leading whitespace.
1943         (rc-generic-mode): Added eval-when-compile
1944         around generic-make-keywords-list.
1945         Deleted duplicate regexp
1946         (rul-generic-mode): Added eval-when-compile
1947         around generic-make-keywords-list.
1948         (etc-fstab-generic-mode): New generic mode.
1949         (rul-generic-mode): Removed one eval-when-compile
1950         which caused a max-specpdl-size exceeded error.
1952 2000-10-04  Miles Bader  <miles@gnu.org>
1954         * simple.el (minibuffer-temporary-goal-position): New variable.
1955         (next-history-element): Try to keep the position of point in the
1956         input string constant.
1958         * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
1959         (dired-do-create-files): If there's only one file, pass it in as
1960         the DEFAULT arg to dired-mark-read-file-name.
1962 2000-10-03  Stefan Monnier  <monnier@cs.yale.edu>
1964         * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
1965         (diff-goto-source): Be smarter when choosing REVERSE or not.
1967         * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
1968         (texinfo-mode-menu): Add an explicit shortcut for update all.
1970 2000-10-03  Andre Spiegel  <spiegel@gnu.org>
1972         * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
1973         factorize backend-specific code cleanly (this was essentially
1974         conceived by Stefan Monnier).
1975         (vc-unregister): Function removed.
1976         (vc-revert-file): New function.
1977         (vc-revert-buffer): Delegate some of the work to it.
1979         * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
1980         default branch unconditionally.
1981         (vc-rcs-set-default-branch): New function.
1982         (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
1983         (vc-rcs-checkin): If an appropriate default branch has been set,
1984         force creation of that branch.
1985         (vc-rcs-receive-file): Rewritten to contain only backend-specific
1986         code (as suggested by Stefan Monnier).
1988 2000-10-02  Gerd Moellmann  <gerd@gnu.org>
1990         * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
1991         highlighting overlay with a different face over the overlay
1992         isearch uses to highlight the current match because that can lead
1993         to bad face combinations.
1995         * loadup.el (toplevel): Load faces before isearch.
1997         * isearch.el (isearch-faces): New custom group.
1998         (isearch): New defface; was already tested for in the code.
1999         (isearch-lazy-highlight-face): Changed to defface from defcustom.
2000         (isearch-highlight): Always use face `isearch'.
2002 2000-10-02  Dave Love  <fx@gnu.org>
2004         * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
2005         unused vars.  Treat byte-constant2 like byte-constant.  Fix bogus
2006         comparison of opcode with operand.
2008 2000-10-03  Miles Bader  <miles@gnu.org>
2010         * play/yow.el (yow): Don't display multi-line quotations in a *Help*
2011         buffer, since the echo area will now grow to accommodate them.
2013 2000-10-02  Andre Spiegel  <spiegel@gnu.org>
2015         * vc-hooks.el (vc-registered): If FILE used to be registered under
2016         a certain backend, try that one first.
2018         * vc.el (vc-responsible-backend): Undo the previous change in the
2019         argument list.  Handle multiple backends correctly.
2020         (vc-find-new-backend): Function removed.
2021         (vc-register): Use vc-responsible-backend, as before.
2022         (vc-next-action-on-file): Do use vc-registered, not vc-backend.
2024 2000-10-02  Gerd Moellmann  <gerd@gnu.org>
2026         * startup.el (fancy-splash-head): Change message below the
2027         logo.
2029 2000-10-02  Miles Bader  <miles@lsi.nec.co.jp>
2031         * diff-mode.el (diff-goto-source): Emit a status message.
2032         (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
2033         (diff-test-hunk): Fix doc string.
2034         (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
2035         (diff-advance-after-apply-hunk): New variable.
2036         (diff-apply-hunk): Don't return a value.
2038 2000-10-01  Stefan Monnier  <monnier@cs.yale.edu>
2040         * vc.el (vc-editable-p): Minor optimization.
2041         (edit-vc-file, vc-next-action-on-file): Don't use find-file.
2042         (vc-find-new-backend): New function split from vc-responsible-backend.
2043         (vc-register): Use it.
2044         (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
2045         (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
2046         (vc-default-unregister, vc-revert-buffer): Docstring fix.
2047         (vc-clear-headers): Don't use find-file.
2048         (vc-revert-buffer): Use `and' again (must have been a braino).
2049         (vc-switch-backend): Only prompt if requested.
2050         Short circuit if nothing is to be done.
2051         Don't use vc-resynch-buffer which could lose unsaved editing.
2052         (vc-default-receive-file): Update call to vc-unregister.
2053         (with-vc-file, vc-next-action-on-file):
2054         Use vc-backend rather than vc-registered.
2055         (vc-next-action-on-file): Use intern-soft.
2056         Deal with read-only *vc-diff* buffer.
2057         (vc-transfer-file): Docstring fix.
2059         * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
2060         (vc-rcs-receive-file): Avoid with-vc-properties.
2061         Update call to vc-unregister.
2062         Use constant `RCS' rather than (dynamically bound) var `backend'.
2064 2000-10-01  Andre Spiegel  <spiegel@gnu.org>
2066         * vc.el (vc-next-action-on-file): Update mode line only if file
2067         is visited.
2068         (vc-start-entry): New argument initial-contents.  Don't visit the file
2069         if it isn't already visited.  Brought documentation up-to-date.
2070         (vc-next-action, vc-register): Updated calls to vc-start-entry.
2071         (vc-checkin): New optional arg initial-contents, which is passed to
2072         vc-start-entry.
2073         (vc-finish-logentry): Make sure to bury log buffer only if there
2074         really is one.  Call `vc-resynch-buffer' on log-file, not
2075         buffer-file-name.
2076         (vc-default-comment-history, vc-default-wash-log): New functions.
2077         (vc-index-of): Removed.
2078         (vc-transfer-file): Make do without the above.
2079         (vc-default-receive-file): Call comment-history unconditionally.  Pass
2080         the resulting string to vc-checkin, instead of inserting it into the
2081         comment ring.
2083         * vc-rcs.el (vc-rcs-receive-file): Call comment-history
2084         unconditionally.  Use the comments as initial contents of the log
2085         entry buffer.  Document the trick to force branch creation with no
2086         changes.
2088 2000-10-01  Miles Bader  <miles@gnu.org>
2090         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
2091         `recenter' with an arg to prevent redrawing the display.
2093 2000-09-30  Stefan Monnier  <monnier@cs.yale.edu>
2095         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
2097         * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
2099         * progmodes/c-mode.el (c-mode):
2100         Don't gratuitously override the default for comment-column.
2102         * textmodes/tex-mode.el (latex-metasection-list): New var.
2103         (latex-imenu-create-index): Use it.
2104         Move the regexp construction outside loops (and use push).
2105         (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
2106         (tex-font-lock-keywords): Moved from font-lock.el.
2107         (tex-comment-indent): Remove.
2108         (tex-common-initialization): Don't set comment-indent-function.
2109         (latex-block-default): New var.
2110         (tex-latex-block): Use it to provide a default choice.
2111         Add any unknown choice to latex-block-names.
2112         Insert [...] after {...}.
2113         (tex-last-unended-begin): Simplify regexp.
2114         (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
2115         (latex-forward-sexp-1, latex-forward-sexp): New functions.
2116         (latex-mode): Set forward-sexp-function.
2118         * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
2119         Add regexp for @ignore ... @end ignore.
2120         (texinfo-heading-face): New face.
2121         (texinfo-font-lock-keywords): Use it.
2122         (texinfo-mode-menu): New menu.
2123         (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
2124         New functions.
2125         (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
2126         (texinfo-section-types-regexp, texinfo-section-level-regexp)
2127         (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
2128         Remove declaration.
2129         (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
2131         * delsel.el (delete-selection-mode): Use define-minor-mode.
2133         * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
2135 2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>
2137         * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
2139 2000-09-30  Gerd Moellmann  <gerd@gnu.org>
2141         * replace.el (keep-lines-read-args): New function.
2142         (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
2143         read arguments interactively.  Add parameters RSTART and REND.
2144         Operate on the active region in Transient Mark mode.
2146         * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
2148         * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
2149         (authors-obsolete-files-regexps): New variable.
2150         (authors-add): Don't record changes in obsolete files.
2152 2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>
2154         * autoinsert.el (auto-insert-mode): Use define-minor-mode.
2156         * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
2157         (comment-indent): Make sure there's a space between code and comment.
2158         Shift comments left to avoid going past fill-column.
2160 2000-09-29  Gerd Moellmann  <gerd@gnu.org>
2162         * startup.el (startup-echo-area-message): New function.
2163         (display-startup-echo-area-message): Use it.
2164         (fancy-splash-screens): Rewritten to use keymaps and a timer.
2165         (fancy-splash-default-action): New function.
2166         (fancy-splash-screens-1): New function.
2167         (fancy-splash-head): Put a help-echo and a keymap under the image.
2169 2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>
2171         * diff-mode.el (diff-add-log-file-name): Remove.
2172         (diff-mode): Use add-log-buffer-file-name-function.
2174         * add-log.el (find-change-log): New arg BUFFER-FILE.
2175         (add-log-file-name): Obey add-log-file-name-function.
2176         (add-log-buffer-file-name-function): New var.
2177         (add-change-log-entry): Use it.
2179 2000-09-29  Miles Bader  <miles@gnu.org>
2181         * image-file.el (image-file-name-extensions): New variable.
2182         (image-file-name-regexps): Renamed from `image-file-regexps'.
2183         New default value is nil.  Call `auto-image-file-mode'.
2184         (image-file-name-regexp): New function.
2185         (auto-image-file-mode): New minor mode.
2186         (insert-image-file): Don't make conditional on the image-file
2187         handler being enabled.
2188         (image-file-handler): Make the call here conditional instead.
2189         (set-image-file-handler-enabled, enable-image-file-handler)
2190         (disable-image-file-handler): Functions removed.
2192         * emacs-lisp/authors.el (authors-print): Rephrase many-files
2193         string.
2195 2000-09-29  Gerd Moellmann  <gerd@gnu.org>
2197         * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
2198         it's a function from CL.
2199         (latex-imenu-create-index): Replace eval-when-compile with progn
2200         because latex-section-alist is not bound while compiling.
2202 2000-09-28  Stefan Monnier  <monnier@cs.yale.edu>
2204         * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
2205         (outline-mode): Use define-derived-mode.
2207         * progmodes/perl-mode.el (perl-mode):
2208         * progmodes/awk-mode.el (awk-mode):
2209         * progmodes/asm-mode.el (asm-mode):
2210         Don't gratuitously override the default for comment-column.
2212         * emacs-lisp/lisp.el (lisp-complete-symbol):
2213         Distinguish the let-binding case from the funcall case.
2214         (forward-sexp-function): New variable.
2215         (forward-sexp): Use it.
2217         * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
2218         (easy-mmode-defmap): Remove the now useless autoload.
2220         * time.el (display-time-mode): Use define-minor-mode.
2222         * subr.el (add-minor-mode): Don't eval NAME.
2223         Don't depend on the presence of TOGGLE-FUN for any special behavior.
2224         Use if rather than cond.
2226         * simple.el (read-expression-map): Define more properly.
2227         (comment-indent-hook): Remove.
2228         (string-to-syntax): Bug fix.
2230         * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
2231         (cvs-ediff-diff): Fix typo.
2232         (cvs-revert-if-needed): Don't bother preserving read-only.
2234         * paren.el (show-paren-mode): Use define-minor-mode.
2236         * jka-compr.el (auto-compression-mode): Use define-minor-mode.
2237         (toggle-auto-compression): Remove.
2238         (jka-compr-build-file-regexp): Remove useless grouping.
2240         * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
2241         Avoid user-reserved bindings.
2242         (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
2243         (diff-header-face): Revert to grey85.
2245         * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
2247         * complete.el (partial-completion-mode) <defcustom>: Remove.
2248         (partial-completion-mode): Use define-minor-mode.
2249         (PC-do-completion): Understand `completion-auto-help = delay'
2250         to mean to popup the completion buffer only the second time.
2251         (PC-include-file-all-completions, PC-include-file-all-completions)
2252         (PC-include-file-all-completions): Don't quote lambda.
2254         * comint.el (comint-mode-hook): Docstring fix.
2255         (comint-mode): Use define-derived-mode.
2256         (comint-mode-map): Remove obsolete comment.
2257         (make-comint): Minor stylistic change.
2258         (comint-insert-clicked-input): Be more careful to find the overlay.
2259         Use this-command-keys rather than hardcoding mouse-2.
2261         * font-lock.el: Replace confusing (,@ with ,
2262         (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
2263         Don't use regexp-opt-depth.  Spice up the regexp for args.
2264         Don't distinguish between cmds that can take an opt arg or not.
2265         Use `append' and `prepend' rather than `keep'.
2267         * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
2268         (latex-outline-regexp): New var.
2269         (latex-outline-level): New fun.
2270         (latex-section-alist): New var.
2271         (latex-imenu-create-index): Use it.  Use `push' as well.
2272         (tex-shell-map): Initialize it properly.
2273         (tex-mode): Minor stylistic change.
2274         (plain-tex-mode): Use define-derived-mode.
2275         (latex-mode): Use define-derived-mode.
2276         Construct the paragraph regexps in a more readable way.
2277         Set the buffer-local outline-{level,regexp} vars.
2278         (slitex-mode): Derive from latex-mode.
2279         (tex-common-initialization): Don't kill-all-vars anymore.
2280         Add setting for comment-add and font-lock-defaults.
2281         (tex-start-shell): Use with-current-buffer and don't re-init keymap.
2282         (tex-main-file): New fun.  Obey TeX-master as well and remove `.tex'.
2283         (tex-start-tex): New arg DIR (and send a chdir command for it).
2284         Also display the shell buffer and save it in tex-last-buffer-texed.
2285         (tex-region): Use expand-file-name rather than concat.
2286         Remove code made useless by changes in tex-start-tex.
2287         (tex-file): Use tex-main-file and adapt to new tex-start-tex.
2289         * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
2291 2000-09-28  Dave Love  <fx@gnu.org>
2293         * eshell/eshell.el (eshell) <defgroup>: Add :version.
2295 2000-09-28  Gerd Moellmann  <gerd@gnu.org>
2297         * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
2298         `append'.
2300 2000-09-28  Stefan Monnier  <monnier@cs.yale.edu>
2302         * info.el (Info-extract-pointer): Undo last change.
2303         Instead, fix the position of the `bound' arg to re-search-backward.
2305 2000-09-27  Stefan Monnier  <monnier@cs.yale.edu>
2307         * info.el (Info-extract-pointer):
2308         Widen more carefully, to avoid finding pointers in other nodes.
2309         (Info-index): Use push.
2311 2000-09-27  Gerd Moellmann  <gerd@gnu.org>
2313         * frame.el (set-frame-font): Remove call to obsolete function
2314         frame-update-faces.
2315         (set-foreground-color, set-background-color): Likewise for
2316         frame-update-face-colors.
2318 2000-09-27  Miles Bader  <miles@gnu.org>
2320         * image-file.el: New file.
2322 2000-09-27  Gerd Moellmann  <gerd@gnu.org>
2324         * frame.el (frame-notice-user-settings): Don't call
2325         frame-update-faces, which is a no-op now.
2327         * ediff-wind.el (ediff-control-frame-parameters): Add zero
2328         tool-bar-lines.
2330 2000-09-27  Dave Love  <fx@gnu.org>
2332         * mouse.el: Fix last change.
2334 2000-09-27  Miles Bader  <miles@lsi.nec.co.jp>
2336         * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
2338 2000-09-22  Kenichi Handa  <handa@etl.go.jp>
2340         * international/quail.el (quail-help): The output message is
2341         improved.
2343 2000-09-26  Dave Love  <fx@gnu.org>
2345         * mouse.el (popup-menu): If POSITION is nil, set it using
2346         mouse-position.
2348 2000-09-25  Sam Steingold  <sds@gnu.org>
2350         * net/browse-url.el (browse-url-file-url): Check for null maps.
2352 2000-09-26  Gerd Moellmann  <gerd@gnu.org>
2354         * frame.el (frame-notice-user-settings): Don't add a
2355         tool-bar-lines frame parameter to default-frame-alist in batch mode.
2357         * frame.el (frame-notice-user-settings):
2358         Make tool-bar-mode and default-frame-alist consistent.
2360         * toolbar/tool-bar.el (tool-bar-help): New function.
2362 2000-09-25  Gerd Moellmann  <gerd@gnu.org>
2364         * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
2365         current-load-list in top-level forms.  Else this leaks a cons cell
2366         every time a defun is called.
2368         * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
2370 2000-09-25  Dave Love  <fx@gnu.org>
2372         * startup.el (fancy-splash-head): Check XPM is available.
2374         * autoinsert.el (auto-insert): Doc fix.
2375         (auto-insert-alist): Following GNU notices, don't say `copyright
2376         _by_'.  Use line-beginning-position.
2377         (auto-insert): Check buffer-file-name is non-nil before use.
2379 2000-09-25  Gerd Moellmann  <gerd@gnu.org>
2381         * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
2382         starting with `@def' or `@multitable', in addition to ones
2383         specified by the user in auto-fill-inhibit-regexp.
2385 2000-09-25  Markus Rost  <rost@math.ohio-state.edu>
2387         * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
2388         rmail-dont-reply-to-names matches the empty string.
2390 2000-09-25  Gerd Moellmann  <gerd@gnu.org>
2392         * startup.el (command-line-1, fancy-splash-text): Change the
2393         text to sound more friendly.
2395 2000-09-23  Thien-Thi Nguyen  <ttn@gnu.org>
2397         * progmodes/hideshow.el: Update author email address.
2398         Generally, sync w/ maintainer version 5.22.
2399         (hs-hide-all-non-comment-function): New var.
2400         (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
2401         (hs-hide-all): Use `hs-hide-all-non-comment-function'.
2402         (hs-show-region): Delete this command.
2403         (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
2405 2000-09-22  Dave Love  <fx@gnu.org>
2407         * hl-line.el (hl-line-overlay): Don't make it buffer-local.
2408         (hl-line-highlight): Specify buffer when moving overlay.
2410         * progmodes/fortran.el (fortran-mode): Locally set
2411         normal-auto-fill-function.
2412         (fortran-auto-fill-mode): Just alias to auto-fill-mode.
2413         (fortran-mode-map): Adjust auto-fill menu entry.
2415 2000-09-22  Gerd Moellmann  <gerd@gnu.org>
2417         * vc-rcs.el (toplevel): Require `vc' when compiling.
2419         * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
2421 2000-09-22  Andre Spiegel  <spiegel@gnu.org>
2423         * vc.el (vc-switch-backend): Signal an error if the file is not
2424         registered under the new backend.
2426         * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
2427         without explicit revision number.
2429 2000-09-21  Stefan Monnier  <monnier@cs.yale.edu>
2431         * diff-mode.el (diff-file-header-face): Reset to its previous value.
2432         (diff-hunk-text): Correctly use offsets rather than buffer-positions.
2433         (diff-xor): New function.
2434         (diff-find-source-location): Use it.  Fix a stupid name clash.
2435         (diff-hunk-status-msg): New function.
2436         (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
2437         (diff-test-hunk): Use diff-find-source-location.
2438         (diff-goto-source): Favor the `reverse'.
2439         (diff-hunk-text): Properly handle one-sided context diffs.
2440         (diff-apply-hunk): When done, advance to the next hunk.
2442 2000-09-21  Gerd Moellmann  <gerd@gnu.org>
2444         * startup.el (command-line): If frame was created with a non-zero
2445         tool-bar-lines parameter, switch tool-bar-mode on.
2447         * add-log.el (change-log-date-face, change-log-name-face)
2448         (change-log-email-face, change-log-file-face)
2449         (change-log-list-face, change-log-conditionals-face)
2450         (change-log-function-face, change-log-acknowledgement-face):
2451         New faces, inheriting from font-lock faces.
2452         (change-log-font-lock-keywords): Use them.
2454 2000-09-21  Dave Love  <fx@gnu.org>
2456         * progmodes/cperl-mode.el (top-level): Clean up
2457         `eval-when-compile's and assorted defvars.
2458         (cperl-invalid-face): Don't double-quote value.  Change custom
2459         type.
2460         (cperl-mode): Set normal-auto-fill-function and don't zap
2461         auto-fill-function.
2462         (cperl-imenu--function-name-regexp-perl): Renamed from
2463         imenu-example--function-name-regexp-perl.
2464         (cperl-imenu--create-perl-index): Renamed from
2465         imenu-example--create-perl-index.
2466         (cperl-xsub-scan): Don't require cl.
2468         * msb.el (msb-mode-map): Use substitute-key-definition.
2469         (msb-mode): Use msb-mode-map.
2471 2000-09-21  Andre Spiegel  <spiegel@gnu.org>
2473         * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
2474         New functions.
2475         (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
2476         (vc-switch-backend): New function.
2477         (vc-prefix-map): Bind `vc-switch-backend' to `b'.
2478         (vc-register): Fix prompt.
2479         (vc-unregister, vc-default-unregister): New functions.
2480         (vc-version-diff): Handle empty buffer in sentinel.
2482         * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
2483         (vc-rcs-state-heuristic): Use it to guess the state of files with
2484         non-strict locking.
2485         (vc-rcs-find-most-recent-rev): Handle the case when a branch has
2486         been set with -b, but not created yet.
2487         (vc-rcs-fetch-master-state): With non-strict locking, compare file
2488         contents in order to find the state.
2489         (vc-rcs-checkin): Allow creation of branches with no changes.
2490         (vc-rcs-unregister, vc-rcs-receive-file)
2491         (vc-rcs-set-non-strict-locking): New functions.
2493         * vc-hooks.el (vc-name): Force correct computation of the value
2494         in case it is missing.
2496 2000-09-21  Gerd Moellmann  <gerd@gnu.org>
2498         * startup.el (fancy-splash-tail): Use a different foreground
2499         color on a dark frame background.
2501 2000-09-21  Miles Bader  <miles@lsi.nec.co.jp>
2503         * info.el: Use the correct capitalization when making Info-mode
2504         and Info-edit-mode `special' modes.
2506 2000-09-20  Stefan Monnier  <monnier@cs.yale.edu>
2508         * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
2509         (diff-mode): Add support for add-log.el.
2510         (diff-hunk-text): Use char offsets rather than line offsets.
2511         (diff-find-source-location): Replace LINE with line-offset (nil
2512         if not found) and always set POS to a meaningful position.
2513         Adapt to the new char-offsets.
2514         (diff-apply-hunk): Drop support for the unused `select' POPUP.
2515         Adapt to the new diff-find-source-location.
2516         (diff-goto-source): Adapt to the new diff-find-source-location.
2518         * add-log.el (add-log-file-name): New function (split out of
2519         add-change-log-entry).
2520         (add-change-log-entry): Use it.
2521         Call add-log-file-name-function with the changelog file name if
2522         the current buffer is not associated with any file.
2523         Avoid find-file if the selected window is dedicated.
2525         * diff-mode.el (diff-find-source-location):
2526         Move code from diff-apply-hunk.  Return buffer rather than file.
2527         (diff-apply-hunk): Use the new result from  diff-find-source-location.
2528         (diff-goto-source): Use the new diff-find-source-location.
2530 2000-09-20  Dave Love  <fx@gnu.org>
2532         * iswitchb.el: Some doc fixes.
2533         (iswitchb-mode-map): Define completely initially.  Inherit
2534         minibuffer-local-map.
2535         (iswitchb-completion-help) <!iswitchb-xemacs>: Use
2536         fundamental-mode.
2537         (iswitchb-global-map): New variable.
2538         (iswitchb-summaries-to-end): Amalgamate regexps.
2539         (iswitchb-mode): New.
2540         (iswitchb-mode-hook): New variable.
2541         (iswitchb) <defgroup>: Add URL link.  Use group `completion', not
2542         `extensions'.
2544 2000-09-20  Gerd Moellmann  <gerd@gnu.org>
2546         * ehelp.el (electric-help): New defgroup.
2547         (electric-help-shrink-window): New user-option.
2548         (with-electric-help): Use it.
2550         * window.el (shrink-window-if-larger-than-buffer): If face
2551         `mode-line' has a :box, and we're on a graphical frame, add 1
2552         to the needed window height.
2554         * frame.el (frame-notice-user-settings): Add a last parameter nil
2555         to a call to `append', because the last list passed to `append' is
2556         not copied, and so subsequent calls to assq-delete-all will modify
2557         default-frame-alist.
2559         * startup.el (fancy-splash-image): Change :type.
2560         (fancy-splash-head): Use an XBM image if appropriate.
2561         (command-line-1): Show splash screens in more cases.
2563         * startup.el (fancy-splash-text): Don't quote faces.
2565         * dired.el (dired-font-lock-keywords): Undo last change.
2566         (dired-readin): Bind indent-tabs-mode to nil.
2568         * startup.el (fancy-splash-head): If frame's background mode
2569         is `dark', change the black background of the image to gray.
2570         (fancy-splash-screens): Display startup echo area message.
2571         (display-startup-echo-area-message): New function.
2573 2000-09-20  Miles Bader  <miles@lsi.nec.co.jp>
2575         * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
2577         * info.el (info-header-node): Tweak for color ttys.
2579         * faces.el (face-valid-attribute-values): Make sure directories we
2580         search for stipples both exist and are readable before trying to
2581         search them.
2583         * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
2584         in the dry-run case.
2586         * jka-compr.el (with-auto-compression-mode): New macro.
2588         * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
2589         (custom-group-tag-face, custom-variable-tag-face): Use relative
2590         :height and inherit from `variable-pitch' face instead of
2591         hardwiring :family.
2592         * hi-lock.el (hi-black-hb): Likewise.
2594         Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
2595         * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
2596         toolbar-add-item, if image doesn't have a mask add a `:mask
2597         heuristic'.
2599 2000-09-19  Stefan Monnier  <monnier@cs.yale.edu>
2601         * diff-mode.el: Docstring fixes.
2602         (diff-header-face, diff-comment-face): New faces.
2603         (diff-font-lock-keywords): Highlight a bit differently.
2604         (diff-find-source-location): Don't return SPAN any more.
2605         (diff-hunk-text): Don't bother erasing the temp buffer.
2606         (diff-find-text): Drop argument LINE.
2607         (diff-apply-hunk): Update calls to diff-find-text.
2608         (diff-goto-source): Use pop-to-buffer again and don't raise an error.
2610         * calendar/calendar.el: Docstring fixes.
2611         (calendar-make-alist): Don't quote lambda.
2612         (calendar-star-date): Use make-local-variable.
2614 2000-09-19  Dave Love  <fx@gnu.org>
2616         * toolbar/tool-bar.el: Renamed from toolbar.el.
2617         Change `toolbar' to `tool-bar' generally in symbols.
2618         Make some items invisible in `special' major modes.
2619         (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
2620         Add arg PROPS.
2622         * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
2623         Add :version here.
2624         (fancy-splash-delay, fancy-splash-image): Remove :version here.
2626 2000-09-19  Gerd Moellmann  <gerd@gnu.org>
2628         * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
2630         * files.el (find-file-suppress-same-file-warnings): New user-option.
2631         (find-file-noselect): Use it.
2633         * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
2634         (fancy-splash-screen): Defgroup.
2636         * add-log.el (change-log-font-lock-keywords): Match names
2637         more exactly for the case that font-lock-constant-face is
2638         underlined.
2640 2000-09-19  Richard M. Stallman  <rms@gnu.org>
2642         * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
2644 2000-09-19  Andre Spiegel  <spiegel@gnu.org>
2646         * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
2648 2000-09-19  Gerd Moellmann  <gerd@gnu.org>
2650         * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
2651         * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
2652         * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
2653         * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
2654         * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
2655         * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
2656         * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
2657         * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
2658         * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
2659         * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
2660         * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
2661         * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
2663         * startup.el (fancy-splash-text): New variable.
2664         (fancy-splash-delay, fancy-splash-image): New user-options.
2665         (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
2666         (fancy-splash-screens): New functions.
2667         (command-line-1): If display has a `display' frame parameter, has
2668         colors, and we have XPM support, show more fancy splash screens.
2670 2000-09-19  Dave Love  <fx@gnu.org>
2672         * map-ynp.el (map-y-or-n-p): Check use-dialog-box.  Don't lose
2673         with null `help'.  Use modern backquote syntax.
2675 2000-09-19  Gerd Moellmann  <gerd@gnu.org>
2677         * font-lock.el (font-lock-mode): Change message telling the user
2678         that ``the buffer is too big''.
2680         * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
2681         for instance for the case that tab-width is 2.
2683 2000-09-18  Gerd Moellmann  <gerd@gnu.org>
2685         * toolbar/toolbar.el (toolbar-like-menu-item): Like in
2686         toolbar-add-item, if image doesn't have a mask add a `:mask
2687         heuristic'.
2689 2000-09-18  Miles Bader  <miles@lsi.nec.co.jp>
2691         * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
2692         and return a cons if it's non-nil.
2693         (diff-apply-hunk): Try to jump to the line in the source text
2694         corresponding to the position of point in the in the hunk.
2696         * info.el (Info-title-3-face, Info-title-2-face)
2697         (Info-title-1-face): Use face inheritance and relative sizes
2698         instead of hard-wiring things.
2700         * faces.el (secondary-selection): Make dark-background variant sane.
2702 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2704         * makefile.w32-in (compile-files-CMD): No need to make .elc files
2705         read-only, since they aren't under VC now.
2707 2000-09-17  Dave Love  <fx@gnu.org>
2709         * tmm.el: Replace mapcar with mapc in several places.
2711         * loadhist.el (unload-feature): Maybe call elp-restore-list and
2712         ad-unadvise.
2714         * international/latin1-disp.el: New file.
2716         * calendar/cal-move.el (scroll-calendar-left)
2717         (scroll-calendar-right): Make arg optional (for active mode line).
2719         * calendar/calendar.el (calendar-mode-line-format): Make fields
2720         mouse-sensitive.
2721         (calendar-read-date, calendar-read-date, calendar-window-list):
2722         Unquote lambda.
2723         (calendar-month-name): Use aref, not sref.
2725         * view.el (minor-mode-alist): Propertize the string.
2727         * international/characters.el (standard-case-table): Add entries
2728         for Greek.
2730 2000-09-18  Miles Bader  <miles@gnu.org>
2732         * info.el (info-node, info-xref): Add dark-background variants.
2734         * faces.el (header-line): Change defaults to be less confusing
2735         when mixed with mode-lines.
2737         * info.el (Info-fontify-node): Make a few cleanups.
2738         Add extra `help-echo' and `local-map' props to node xrefs.
2739         Use header-specific faces for node-names & xrefs.
2740         (Info-use-header-line): New variable.
2741         (info-header-xref, info-header-node): New faces.
2742         (Info-setup-header-line): New function.
2743         (Info-select-node): Call Info-setup-header-line when enabled.
2744         (Info-extract-pointer): Work even if the header line is hidden.
2745         (Info-header-line): New variable.
2747 2000-09-16  Stefan Monnier  <monnier@cs.yale.edu>
2749         * vms-patch.el (print-region-function): Don't quote lambda.
2751         * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
2753         * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
2754         (lm-get-header-re): Allow spaces between the header and the colon.
2755         (lm-header): Allow $ in non-RCS headers.
2756         (lm-header-multiline): Put the strings back into order.
2757         Stop at an empty line.  Don't require two space chars if the
2758         line is clearly not another header line.
2760         * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
2761         (popup-menu-popup): Remove.
2763 2000-09-15  Gerd Moellmann  <gerd@gnu.org>
2765         * toolbar/toolbar.el (toolbar-add-item): Use the same image
2766         specification if or if not tool-bar item contains an `:enabled'
2767         property.
2769         * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
2770         current buffer has no file name.
2772 2000-09-15  Dave Love  <fx@gnu.org>
2774         * strokes.el: Sync with maintainer's current version with changes
2775         for Emacs, but avoid runtime cl and levents.
2776         (toplevel):  Change autoloads and compilation requires.
2777         (strokes-version, strokes-bug-address, strokes-lift): Values
2778         changed.
2779         (strokes-xpm-header, strokes-insinuated): New variable.
2780         (strokes): Add :link.
2781         (strokes-mode): Customized.
2782         (strokes-while-inhibiting-garbage-collector): New macro.
2783         (strokes-remassoc): Avoid remove-if.
2784         (strokes-fix-button2-command): Don't use ad-do-it.
2785         (strokes-insinuate): New function.
2786         (strokes-button-press-event-p, strokes-button-release-event-p):
2787         New functions, used instead of non-`strokes-' versions..
2788         (strokes-mouse-event-p): Rewritten.
2789         (strokes-event-closest-point): Avoid event-point.
2790         (strokes-get-grid-position): Avoid cdadr, caadr
2791         (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
2792         functions.
2793         (strokes-help): Use with-output-to-temp-buffer.
2794         (strokes-window-configuration-changed-p): New function.
2795         (strokes-update-window-configuration): Use buffer-live-p,
2796         strokes-window-configuration-changed-p.
2797         (strokes-mode): Use strokes-insinuate.  Alter mouse bindings.
2798         (strokes-char-face): New face.
2799         (strokes-char-table, strokes-base64-chars): New variable.
2800         (strokes-xpm-for-stroke, strokes-list-strokes)
2801         (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
2802         (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
2803         (strokes-xpm-to-compressed-string, strokes-decode-buffer)
2804         (strokes-encode-buffer, strokes-xpm-for-compressed-string)
2805         (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
2806         functions.
2808 2000-09-15  Gerd Moellmann  <gerd@gnu.org>
2810         * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
2812         * image.el (create-image): Doc fix.
2814         * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
2815         instead of `:heuristic-mask t'.
2817 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2819         * makefile.w32-in: Revert to Unix line endings.
2821 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2823         * makefile.w32-in: Add bootstrap support.  Also copy lisp source
2824         when installing.
2826         * makefile.nt (DONTCOMPILE): Fix typo.
2828         * shell.el (shell-write-history-on-exit): New function.
2829         (shell-dumb-shell-regexp): New custom variable.
2830         (shell-mode): Make shell-write-history-on-exit the process
2831         sentinel if shell name matches shell-dumb-shell-regexp.
2833         * w32-fns.el: Comment out before-init-hook function which resets
2834         source-directory based; this breaks bootstrap.
2836 2000-09-14  Dave Love  <fx@gnu.org>
2838         * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
2839         toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
2840         toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
2841         toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
2842         toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
2843         toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
2844         toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm:  New.
2845         From Tuomas Kuosmanen <tigert@gimp.org>.  (Gnome icons fetched
2846         from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
2848         * toolbar/toolbar.el: New.
2850         * subdirs.el: Add toolbar.
2852 2000-09-14  Gerd Moellmann  <gerd@gnu.org>
2854         * indent.el (indent-for-tab-command): Doc fix.
2856 2000-09-14  Alex Schroeder  <alex@gnu.org>
2858         * ansi-color.el (ansi-colors): Doc change.
2859         (ansi-color-get-face): Simplified regexp.
2860         (ansi-color-faces-vector): Added more faces, doc change.
2861         (ansi-color-names-vector): Doc change.
2862         (ansi-color-regexp): Simplified regexp.
2863         (ansi-color-parameter-regexp): New regexp.
2864         (ansi-color-filter-apply): Doc change.
2865         (ansi-color-filter-region): Doc change.
2866         (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
2867         deal with zero length parameters.
2868         (ansi-color-apply-on-region): Doc change.
2869         (ansi-color-map): Doc change.
2870         (ansi-color-map-update): Removed debugging message.
2871         (ansi-color-get-face-1): Added condition-case to trap
2872         args-out-of-range errors.
2873         (ansi-color-get-face): Doc change.
2874         (ansi-color-make-face): Removed.
2875         (ansi-color-for-shell-mode): New option.
2877 2000-09-13  Kenichi Handa  <handa@etl.go.jp>
2879         * international/quail.el (quail-start-translation): Translate KEY
2880         if necessary even if it doesn't have any mapping in the current
2881         input method.
2882         (quail-start-conversion): Likewise.
2883         (quail-help): The output message is improved.
2885 2000-09-13  Miles Bader  <miles@gnu.org>
2887         * comint.el (comint-output-filter): Revert to using
2888         `insert-before-markers'.  Add bletcherous hack to undo damage
2889         caused by `insert-before-markers'.  Put `front-sticky' property on
2890         overlays created here so that the field code understands how the
2891         overlay works.  Use a let when making comint-last-prompt-overlay,
2892         so that the code is easier to read.
2894 2000-09-13  Dave Love  <fx@gnu.org>
2896         * wid-edit.el (widget-default-format-handler): DTRT when
2897         doc-property is a function.
2899 2000-09-12  Francesco Potorti`  <pot@gnu.org>
2901         * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
2902         filed name if it's not there.
2904 2000-09-12  Dave Love  <fx@gnu.org>
2906         * simple.el (read-mail-command): Doc fix.
2907         (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
2909         * vc.el (vc-dired-listing-switches): Fix :version.
2911         * vc-hooks.el: Doc fixes.
2913         * subr.el (add-minor-mode): Use toggle-fun arg.
2915         * speedbar.el: Add :version to several defcustoms.
2917         * imenu.el (imenu--truncate-items, imenu--cleanup)
2918         (imenu--generic-function): Avoid mapcar.
2919         (imenu--replace-spaces): Function removed.
2920         (imenu--completion-buffer): Use subst-char-in-string.
2921         (imenu-add-to-menubar): Use keymap inheritance.
2923 2000-09-12  Miles Bader  <miles@gnu.org>
2925         * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
2926         (diff-mode-map): Bind `diff-test-hunk'.
2927         (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
2929 2000-09-11  Gerd Moellmann  <gerd@gnu.org>
2931         * bytecomp.el (byte-compile-defvar): Undo last change
2932         because it breaks '(make-variable-buffer-local (defvar ...)'
2933         which is used at least in dired.
2935 2000-09-12  Kenichi Handa  <handa@etl.go.jp>
2937         * international/quail.el (quail-define-package): Docstring
2938         modified.
2940 2000-09-12  Kenichi Handa  <handa@etl.go.jp>
2942         * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
2943         extra docstrings for "chinese-ccdospy", "chinese-ecdict",
2944         "chinese-etzy", "chinese-sw", and "chinese-ziranma".  Modify the
2945         docstring of "chinese-py".
2947         * international/quail.el (quail-translation-docstring): New
2948         variable.
2949         (quail-show-keyboard-layout): Docstring modified.
2950         (quail-select-current): Likewise.
2951         (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
2952         infinite recursive call.
2953         (quail-help): Check quail-translation-docstring.  Format of the
2954         output changed.
2955         (quail-help-insert-keymap-description): Adjusted for the above
2956         change.
2958 2000-09-11  Gerd Moellmann  <gerd@gnu.org>
2960         * bytecomp.el (byte-compile-defvar): Only cons onto
2961         current-load-list in top-level forms.  Else this leaks a cons cell
2962         every time a defun is called.
2964 2000-09-11  Miles Bader  <miles@lsi.nec.co.jp>
2966         * diff-mode.el (diff-apply-hunk): Function basically rewritten.
2967         Now understands non-unified diffs.  Some functionality moved into
2968         `diff-hunk-text' and `diff-find-text'.  Add OTHER-FILE, DRY-RUN,
2969         POPUP, and NOERROR arguments.  If DRY-RUN is true, don't actually
2970         modify anything.  Only reposition point in the patched file if the
2971         patch succeeds.  Only pop up another window if POPUP is true.
2972         Emit a message describing what happened if successful, and at what
2973         line-offset.  Automatically detect reversed hunks and do something
2974         appropriate.
2975         (diff-hunk-text, diff-find-text): New functions.
2976         (diff-filter-lines): Function removed.
2977         (diff-test-hunk): New function.
2978         (diff-goto-source): Rewritten in terms of diff-apply-hunk.
2980 2000-09-10  Dave Love  <fx@gnu.org>
2982         * textmodes/tildify.el: Minor doc/commentary fixes.
2983         (tildify) <defgroup>: Add :version.
2985         * faces.el (face-x-resources): Make custom type more specific.
2986         (frame-background-mode): Use mapc.
2987         (region) <defcustom>: Add :version.
2989 2000-09-08  Stefan Monnier  <monnier@cs.yale.edu>
2991         * vc-sccs.el (vc-sccs-register):
2992         * vc-rcs.el (vc-rcs-register):
2993         * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
2994         * vc.el (vc-register): Clear file's properties.
2996 2000-09-08  Gerd Moellmann  <gerd@gnu.org>
2998         * faces.el (face-spec-set): Only face-spec-reset-face when
2999         ATTRS is non-nil.
3001 2000-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
3003         * help.el (help-insert-xref-button): Fix a typo in doc string.
3005 2000-09-07  Eli Zaretskii  <eliz@is.elta.co.il>
3007         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3008         Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
3009         methods.
3011         * menu-bar.el (read-mail-item-name): New function.
3012         (menu-bar-tools-menu): Use it to compute and display the package
3013         used to read email.
3014         (menu-bar-tools-menu): Fix typo in GUD's help string.
3016 2000-09-07  Dave Love  <fx@gnu.org>
3018         * diff-mode.el (diff-mouse-goto-source): New function.
3020         * vc-sccs.el: Doc fixes.
3021         (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
3023         * vc-rcs.el: Doc fixes.
3024         (vc-rcs-register-switches, vc-rcs-checkin-switches)
3025         (vc-rcs-checkout-switches, vc-rcs-header)
3026         (vc-rcs-master-templates): Add or change :version.
3028         * vc-cvs.el: Doc fixes.
3029         (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
3030         (vc-cvs-stay-local): Add :version.
3032         * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
3034 2000-09-07  Kenichi Handa  <handa@etl.go.jp>
3036         * international/quail.el (quail-help): Fix previous change.
3038 2000-09-07  Gerd Moellmann  <gerd@gnu.org>
3040         * faces.el (color-values): Doc fix.
3042         * faces.el (frame-set-background-mode): Use frame-parameter
3043         instead of frame-parameters.
3045         * frame.el (filtered-frame-list): Reduce consing.
3046         (frames-on-display-list): Call frame-parameter instead of
3047         frame-parameters.
3049 2000-09-07  Kenichi Handa  <handa@etl.go.jp>
3051         * language/devan-util.el (devanagari-to-indian-region): In the
3052         loop, change the following char, not preceding char.
3054 2000-09-07  Gerd Moellmann  <gerd@gnu.org>
3056         * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
3057         instead of frame-parameters.
3059         * faces.el (set-face-attribute): Simplify by calling
3060         internal-set-lisp-face-attribute with FRAME being 0.
3062         * vc.el: Remove `Id' version control keyword.
3064 2000-09-07  Kenichi Handa  <handa@etl.go.jp>
3066         * help.el (help-make-xrefs): Adjusted for the change of
3067         help-xref-mule-regexp.
3068         (help-insert-xref-button): New function.
3070         * international/mule-cmds.el (help-xref-mule-regexp-template):
3071         Include the pattern for character set.
3072         (leim): New group.
3074         * international/quail.el: Don't require face.
3075         (quail): New group.
3076         (quail-other-command): Dummy command to make quail-help work better.
3077         (quail-keyboard-layout-alist): Add Keyboard type "jp106".
3078         (quail-keyboard-layout-substitution): New variable.
3079         (quail-update-keyboard-layout): New function.
3080         (quail-keyboard-layout-type): New customizable variable.
3081         (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
3082         (quail-keyboard-translate): Pay attention to
3083         quail-keyboard-layout-substitution.
3084         (quail-insert-kbd-layout): New function.
3085         (quail-show-keyboard-layout): New function.
3086         (quail-get-translation): If the definition is a vector of length
3087         1, and the element is a string of length 1, return the character
3088         in that string.
3089         (quail-update-current-translations): Fix the case of
3090         relative-index out of range.
3091         (quail-build-decode-map, quail-insert-decode-map): New Functions.
3092         (quail-help): Show keyboard layout by quail-insert-kbd-layout.
3093         Show key sequences for all available characters.
3094         (quail-help-insert-keymap-description): Don't show such verbose
3095         key bindings as quail-self-insert-command.
3097         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3098         Format changed, and each element now have extra documentations.
3099         (tit-process-header): Delete invalid characters from TIT-PROMPT.
3100         Adjusted for the change of quail-cxterm-package-ext-info.
3102 2000-09-06  Gerd Moellmann  <gerd@gnu.org>
3104         * vc-hooks.el (toplevel): Don't require `vc' during compilation;
3105         requiring it leads to a recursive loading of vc.el and vc-hooks.el
3106         during bootstrap.
3108 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3110         * vc.el: (toplevel): Don't require `dired' at run-time.
3111         (vc-dired-resynch-file): Remove autoload cookie.
3113 2000-09-05  Andre Spiegel  <spiegel@gnu.org>
3115         * vc.el: Made several backend functions optional.
3116         (vc-default-responsible-p): New function.
3117         (vc-merge): Use RET for first version to trigger merge-news, not
3118         prefix arg.
3119         (vc-annotate): Handle backends that do not support annotation.
3120         (vc-default-merge-news): Removed.  The existence of a merge-news
3121         implementation is now checked on caller sites.
3123         * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
3124         case.
3126         * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
3127         special case that has been removed from the default in vc-hooks.el.
3129 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3131         * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
3133 2000-09-05  Andre Spiegel  <spiegel@gnu.org>
3135         * vc-hooks.el: Require vc during compilation.
3136         (vc-file-setprop): Use `vc-touched-properties' if bound by the new
3137         macro `with-vc-properties' in vc.el.
3138         (vc-file-getprop): Doc fix.
3139         (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
3141         * vc.el: Require dired-aux during compilation.
3142         (vc-name-assoc-file): Moved to vc-sccs.el.
3143         (with-vc-properties): New macro.
3144         (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
3145         vc-finish-steal): Use it.
3146         (vc-cancel-version): Moved RCS-specific code to vc-rcs.el.  The call
3147         to the backend-specific function is now supposed to do the checkout,
3148         too.
3149         (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
3151         * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
3152         set file properties; that gets done in the generic code now.
3154         * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
3155         Changed parameter list, added code from vc.el that does the
3156         checkout, possibly with a double-take.
3158         * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
3159         (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
3160         the above under the new name.
3161         (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'.  Changed
3162         parameter list, added checkout command.
3163         (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
3164         properties; that gets done in the generic code now.
3166 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3168         * vc.el: Docstring fixes (courtesy of checkdoc).
3170 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3172         * vc.el (vc-checkout-writable-buffer-hook)
3173         (vc-checkout-writable-buffer): Remove.
3174         (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
3175         (vc-log-mode): Make it into a clean derived major mode.
3176         (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
3177         vc-log-mode if log-edit is not available.
3178         (vc-dired-mode-map): Don't set-keymap-parent yet.
3179         (vc-dired-mode): Do set-keymap-parent here.
3180         (vc-dired-buffers-for-dir): Nop if dired is not loaded.
3182 2000-09-05  Gerd Moellmann  <gerd@gnu.org>
3184         * faces.el (set-face-attribute, face-spec-reset-face)
3185         (face-spec-set): Avoid consing by removing calls to `apply'.
3187         * frame.el (frame-parameter): Move to C code.
3189 2000-09-05  Dave Love  <fx@gnu.org>
3191         * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
3192         insert-before-markers-and-inherit.  Now checked systematically!
3194 2000-09-05  Alex Schroeder  <alex@gnu.org>
3196         * sql.el (sql-postgres): Use sql-postgres-options.
3197         (sql-postgres-options): New variable.
3199 2000-09-05  Alex Schroeder  <alex@gnu.org>
3201         * sql.el (sql-mode-menu): Work around missing variable mark-active
3202         in XEmacs.
3203         (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
3204         (sql-interactive-mode): Added call to easy-menu-add for XEmacs
3205         compatibility.
3207 2000-09-04  Gerd Moellmann  <gerd@gnu.org>
3209         * vc.el (vc-dired-resynch-file): Add autoload cookie.
3211         * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
3213         * Makefile.in (DONTCOMPILE): Fix typo in file name.
3215 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3217         * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
3218         don't support anything else under SCCS yet.
3220         * vc-hooks.el: Minor doc fixes.
3222 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3224         * vc.el (vc-next-action-on-file): Do not visit the file if it's
3225         not necessary.  If verbose in state `needs-patch', do the same as
3226         under `up-to-date'.  When NOT verbose and `needs-patch', check out
3227         latest version instead of `merge-news'.
3228         (vc-next-action-dired): Don't mess with default-directory here; it
3229         breaks other parts of dired.  It is the job of the
3230         backend-specific functions to adjust it temporarily if they need it.
3231         (vc-next-action): Remove a special CVS case.
3232         (vc-clear-headers): New optional arg FILE.
3233         (vc-checkin, vc-checkout): Set properties vc-state and
3234         vc-checkout-time properly.
3235         (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
3236         (vc-print-log): Use new backend function `show-log-entry'.
3237         (vc-cancel-version): Do the checks in a different order.  Added a
3238         FIXME concerning RCS-only code.
3240         * vc-rcs.el (vc-rcs-show-log-entry): New function.
3241         (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
3243         * vc-cvs.el (vc-cvs-show-log-entry): New function.
3245         * vc-hooks.el (vc-default-mode-line-string): Show state
3246         `needs-patch' as a `-' too.
3248 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3250         * vc.el (vc-responsible-backend): New optional arg REGISTER.
3251         (vc-default-could-register): New function.
3252         (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
3253         (vc-resynch-buffer): Call vc-dired-resynch-file.
3254         (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
3255         vc-resynch-buffer instead of vc-resynch-window.
3256         (vc-next-action-dired): Don't redisplay here, that gets done as a
3257         result of the individual file operations.
3258         (vc-retrieve-snapshot): Corrected prompt order.
3260         * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
3262         * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
3263         as well.
3264         (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p.  Handle
3265         hostname regexps.  Updated all callers.
3266         (vc-cvs-responsible-p): Handle directories as well.
3267         (vc-cvs-could-register): New function.
3268         (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
3269         properties up-to-date.
3271         * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
3272         user whether to create one.
3274 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3276         * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
3277         check out a non-existing file.
3279         * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
3280         workfile does not exist.
3282         * vc.el (vc-version-diff): Use `require' to check for existence of
3283         diff-mode.
3285 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3287         * vc-cvs.el (vc-cvs-registered): Use new function
3288         vc-cvs-parse-entry to do the actual work.
3290 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3292         * vc-hooks.el (vc-find-backend-function): If function doesn't
3293         exist, return nil instead of error.
3294         (vc-call-backend): Doc fix.
3296         * vc.el (vc-do-command): Doc fix.
3297         (vc-finish-logentry): When checking in from vc-dired, choose the
3298         right backend for logentry check.
3299         (vc-dired-mode-map): Inherit from dired-mode-map.
3300         (vc-dired-mode): Local value of dired-move-to-filename-regexp
3301         simplified.
3302         (vc-dired-state-info): Removed, updated caller.
3303         (vc-default-dired-state-info): Use parentheses instead of hyphens.
3304         (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
3305         (vc-dired-listing-switches): New variable.
3306         (vc-directory): Use it, instead of dired-listing-switches.
3308         * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
3309         (vc-cvs-dir-state): New function.
3310         (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
3311         (vc-cvs-parse-entry): New function, also to be used in
3312         vc-cvs-registered.
3314 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3316         * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
3317         *or* single-window-frames.
3319 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3321         * vc.el (vc-update-changelog): Split into generic part and default
3322         implementation.  Doc string adapted.
3323         (vc-default-update-changelog): New function.  Call the `rcs2log'
3324         script in exec-directory, to fix a long-standing nuisance.
3326         * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
3327         simply signals an error.
3329 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3331         * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
3332         control-flow more clear and to avoid running `cvs' twice.
3334         * vc.el (vc-next-action-on-file): Doc fix.
3335         (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
3336         (vc-print-log): Eval `file' before constructing the continuation.
3338 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3340         * vc.el (vc-next-action-on-file): Corrected several messages.
3341         (vc-merge): Add prefix arg `merge-news'; handle it.
3343         * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
3344         is not reached.  It is.
3345         (vc-cvs-merge): Set state to 'edited after merge.
3346         (vc-cvs-merge-news): Set workfile version to nil if not known.
3347         (vc-cvs-latest-on-branch-p): Recommented.  Candidate for removal.
3349         * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
3350         via stdout. (Merge from main line.)
3352 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3354         * vc.el (vc-finish-logentry): Thinko in the "same comment"
3355         detection.
3357 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3359         * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
3360         against kill-all-local-variables.
3361         (vc-log-edit): Don't save vc-parent-buffer any more.
3362         (vc-last-comment-match): Initialize to an empty string.
3363         (vc-post-command-functions): New hook.
3364         (vc-do-command): Run it.
3365         (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
3366         (vc-finish-logentry): Only add the comment to the ring if it's
3367         different from the last comment entered.
3368         (vc-new-comment-index): New function.
3369         (vc-previous-comment): Use it.  Make the minibuffer message
3370         slightly less terse.
3371         (vc-comment-search-reverse): Make it work forward as well.  Don't
3372         set vc-comment-ring-index if no match is found.  Use
3373         vc-new-comment-index.
3374         (vc-comment-search-forward): Use vc-comment-search-reverse.
3375         (vc-dired-mode-map): Don't inherit from dired-mode-map since
3376         define-derived-mode will do it for us.  Bind `v' to a keymap that
3377         inherits from vc-prefix-map so that we can bind `vt' without
3378         binding C-x v t.
3379         (vc-retrieve-snapshot): Parenthesis typo.
3381         * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
3382         to 1.  Make sure to switch to *vc* before looking for an error
3383         message.  Use vc-parse-buffer.
3385 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3387         * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
3388         and NAME.
3389         (vc-retrieve-snapshot): Split into two parts.
3390         (vc-default-retrieve-snapshot): New function.
3392         * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
3393         (vc-cvs-retrieve-snapshot): New function (untested).
3394         (vc-cvs-stay-local): Default to t.
3395         (vc-cvs-remote-p): New function and property.
3396         (vc-cvs-state): Stay local only if the above is t.
3397         (vc-handle-cvs): Removed.
3398         (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
3399         done via vc-handled-backends now.
3400         (vc-cvs-header): Escape Id.
3402 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3404         * vc.el (vc-do-command): Remove unused commands.
3405         (vc-version-diff): Make sure default-directory ends with a slash.
3406         Move the window commands into a vc-exec-after.
3407         (vc-print-log): Move more of the code into the `vc-exec-after'.
3409 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3411         * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
3412         (vc-print-log): Search current revision from beginning of buffer.
3413         (vc-revert-buffer): Clear echo area after the diff is finished.
3414         (vc-prefix-map): Removed definition of "t" for terse display in vc
3415         dired.
3416         (vc-dired-mode-map): Inherit from dired-mode-map.  Added
3417         definition of "vt" for terse display.
3418         (vc-dired-mode): Fix dired-move-to-filename-regexp.
3420 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3422         * vc.el (vc-exec-after): Avoid caddr.
3424 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3426         * vc.el (vc-exec-after): New function.
3427         (vc-do-command): Use it to add a termination message for async
3428         procs.
3429         (vc-checkout): Try to handle a missing-backend situation.
3430         (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
3431         of a directory with a backend using async diffs.
3432         (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
3433         present.
3435         * vc-sccs.el (vc-sccs-state-heuristic): Use
3436         file-ownership-preserved-p.
3438         * vc-rcs.el (vc-rcs-state-heuristic): Use
3439         file-ownership-preserved-p.
3440         (vc-rcs-checkout): Remove the error-handling for missing-rcs.
3442 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3444         * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
3445         vc-do-command.
3447         * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
3448         when there are no changes.
3450 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3452         * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
3454         * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
3456 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3458         * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
3460         * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
3461         the `fset' outside of the defvar so that it works even if
3462         vc-prefix-map was already defined.
3463         (vc-setup-buffer): New function, split out of vc-do-command.
3464         (vc-do-command): Allow BUFFER to be t to mean `just use the
3465         current buffer without any fuss'.
3466         (vc-version-diff): Change the `diff' backend operation to just put
3467         the diff in the current buffer without erasing it.  Always use
3468         *vc-diff* even for directory-diffs.  Use vc-setup-buffer.  Protect
3469         shrink-window-if-larger-than-buffer.
3470         (vc-print-log): Change the `print-log' backend operation to just
3471         put the log in the current buffer without erasing it.  Protect
3472         shrink-window-if-larger-than-buffer.
3473         (vc-update-change-log): Fix setd typo.
3475         * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
3476         (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
3478         * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
3479         (vc-rcs-diff): Insert in the current buffer and remove unused arg
3480         CMP.
3482         * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
3483         with-temp-file.  Use the new BUFFER=t argument to vc-do-command.
3484         (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
3486 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3488         * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
3489         not possible, use vc-BACKEND-workfile-unchanged-p.
3490         (vc-default-workfile-unchanged-p): New function.  Delegates to a
3491         full vc-BACKEND-diff.
3493         * vc-hooks.el (vc-simple-command): Removed.
3495         * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
3496         instead of vc-simple-command.
3497         (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
3498         avoid doing a diff when opening a file.
3499         (vc-rcs-state): Added check for unlocked-changes.
3500         (vc-rcs-header): Escape Id.
3501         (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
3502         (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
3503         version.
3505         * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
3506         (vc-sccs-diff): Remove optional arg CMP.
3507         (vc-sccs-state): Call vc-workfile-unchanged-p, not the
3508         SCCS-specific function.
3510         * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
3511         vc-simple-command.
3513 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3515         * vc.el (vc-editable-p): Renamed from vc-writable-p.
3516         (with-vc-file, vc-merge): Use vc-editable-p.
3517         (vc-do-command): Remove unused var vc-file and fix the
3518         doubly-defined `status' var.  Add a user message when starting an
3519         async command.
3520         (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
3521         (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
3522         Use with-current-buffer.
3523         (vc-buffer-sync): Use unless.
3524         (vc-next-action-on-file): If the file is 'edited by read-only,
3525         make it read-write instead of trying to commit.
3526         (vc-version-diff, vc-update-change-log): Use `setq
3527         default-directory' rather than `cd'.
3528         (vc-log-edit): Don't forget to set default-directory in the
3529         buffer.
3531         * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
3532         (vc-sccs-state-heuristic): Use file-writable-p instead of
3533         comparing userids.
3534         (vc-sccs-checkout): Use `unless'.
3536         * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
3537         of comparing userids.
3538         (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
3539         Simplify the logic by eliminating unreachable code.
3540         (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
3541         just do a recursive call if we need to retry.
3542         (vc-rcs-checkout): Handle the case where rcs is missing by making
3543         the buffer read-write if requested and re-signalling the error.
3545         * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
3547 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3549         * vc-hooks.el (vc-handled-backends): Docstring change.
3550         (vc-ignore-vc-files): Mark obsolete.
3551         (vc-registered): Check vc-ignore-vc-files.
3552         (vc-find-file-hook, vc-file-not-found-hook): Don't check
3553         vc-ignore-vc-files.
3555         * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
3557 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3559         * vc.el (vc-checkout): Don't do anything special for ange-ftp
3560         files since ange-ftp already has vc-registered return nil.
3562         * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
3563         (vc-sccs-workfile-version): Use with-temp-buffer and new
3564         vc-parse-buffer and don't bother setting the property.
3565         (vc-sccs-add-triple): Use with-current-buffer and
3566         find-file-noselect.
3567         (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
3569         * vc-rcs.el (vc-rcs-find-most-recent-rev): New function.  The code
3570         derives from the old vc-parse-buffer but uses the revision number
3571         rather than the date (much easier to compare robustly).
3572         (vc-rcs-fetch-master-state): Use `with-temp-buffer'.  Adapt to the
3573         new vc-parse-buffer (and vc-rcs-find-most-recent-rev).  Find the
3574         locking-user more directly.  Check strict locking and set
3575         checkout-model appropriately.
3576         (vc-rcs-parse-locks): Remove.
3577         (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
3578         new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
3579         (vc-rcs-system-release): Use with-current-buffer and
3580         vc-parse-buffer.
3581         (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
3583         * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
3584         (vc-simple-command): Docstring fix.
3585         (vc-registered): Align the way the file-handler is called with the
3586         way the function itself works.
3587         (vc-file-owner): Remove.
3589         * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer.  Reorder
3590         extraction of fields and call to file-attributes because of a
3591         temporary bug in rcp.el.
3592         (vc-cvs-fetch-status): Use with-current-buffer.
3594 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3596         * vc.el (vc-do-command): Use file-relative-name.
3597         (vc-responsible-backend): Use vc-backend if possible.
3598         (vc-create-snapshot): Improve the `interactive' spec. Add support
3599         for branches and dispatch to backend-specific `create-snapshot'.
3600         (vc-default-create-snapshot): New function, containing the bulk of
3601         the old vc-create-snapshot.
3602         (vc-retrieve-snapshot): Improve the interactive spec.
3604         * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
3605         (vc-backend-hook-functions): Remove.
3606         (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
3607         (vc-backend): Reintroduce the test for `file = nil' now that I
3608         know why it was there (and added a comment to better remember).
3610         * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
3611         code from vc-sccs-hooks.el.
3612         (vc-sccs-release, vc-sccs-system-release): Remove.  Don't require
3613         'vc anymore.
3614         (vc-sccs-responsible-p): Use expand-file-name instead of concat
3615         and file-directory-p instead of file-exists-p.
3616         (vc-sccs-check-headers): Simplify the regexp.
3618         * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
3619         from vc-rcs-hooks.el.  Don't require 'vc anymore.
3620         (vc-rcs-responsible-p): Use expand-file-name instead of concat and
3621         file-directory-p instead of file-exists-p.
3623         * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
3624         from vc-cvs-hooks.el.
3625         (proto vc-cvs-registered): Require 'vc-cvs instead of
3626         'vc-cvs-hooks.  Don't require 'vc anymore.
3627         (vc-cvs-responsible-p): Use expand-file-name instead of concat and
3628         file-directory-p instead of file-exists-p.
3629         (vc-cvs-create-snapshot): New function, replacing
3630         vc-cvs-assign-name.
3631         (vc-cvs-assign-name): Remove.
3633 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3635         * vc-cvs.el (vc-cvs-header): New var.
3637         * vc-rcs.el (vc-rcs-exists): Remove.
3638         (vc-rcs-header): New var.
3640         * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
3641         `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
3642         (vc-sccs-header): New var.
3644         * vc.el (vc-do-command): Get rid of the `last' argument.
3645         (vc-header-alist): Remove, replaced by vc-X-header.
3646         (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
3647         (vc-dired-hook): Use expand-file-name instead of concat.
3648         (vc-directory): Use file-name-as-directory.
3649         (vc-snapshot-precondition, vc-create-snapshot)
3650         (vc-retrieve-snapshot): Allow the command to operate on any
3651         directory.
3653         * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
3654         just removing the 'WORKFILE argument or by removing the 'MASTER
3655         argument and replacing `file' with (vc-name file).
3657 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3659         * vc.el: Update Copyright and add a crude list of backend funs.
3660         (vc-writable-p): New function.
3661         (with-vc-file): Use vc-writable-p.
3662         (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
3663         (vc-register): Avoid vc-name.
3664         (vc-locking-user): Remove.
3665         (vc-steal-lock): Make the `owner' arg non-optional.
3666         (vc-merge): Use vc-writable-p instead of vc-locking-user and
3667         vc-checkout-model.
3668         (vc-default-dired-state-info): Use vc-state instead of
3669         vc-locking-user and return special strings for special states.
3670         (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
3671         and get rid of one of the special CVS cases.
3672         (vc-cancel-version): prettify error message with \\[...].
3673         (vc-rename-master): New function.
3674         (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
3675         use vc-rename-master) instead of vc-BACKEND-record-rename.  Make
3676         the CVS special case generic.
3677         (vc-default-record-rename): Remove.
3678         (vc-file-tree-walk-internal): Only call FUNC for files that are
3679         under control of some VC backend and replace `concat' with
3680         expand-file-name.
3681         (vc-file-tree-walk): Update docstring.
3682         (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
3683         (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
3685         * vc-sccs.el (vc-sccs-rename-file): Renamed from
3686         vc-sccs-record-rename.  Use `find-file-noselect' rather than
3687         `find-file' and call `vc-rename-master' to do the actual move.
3688         (vc-sccs-diff): Remove unused `backend' variable.
3690         * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
3691         to delay loading of vc-sccs until it is really used.
3692         (vc-sccs-master-templates): Preload.
3693         (vc-sccs-state): Update call to vc-sccs-parse-locks.
3694         (vc-sccs-project-dir): Remove (merged into
3695         vc-sccs-search-project-dir).
3696         (vc-sccs-search-project-dir): Rewrite using file name handling ops
3697         rather than `concat', make sure it is preloaded and don't bother
3698         to check that the file actually exists.
3699         (vc-sccs-parse-locks): Remove unused `file' argument, remove
3700         `locks' argument (use buffer's content instead) and eliminate n^2
3701         behavior.
3703         * vc-rcs.el: Update Copyright.
3704         (vc-rcs-rename-file): New function.
3705         (vc-rcs-diff): Remove unused `backend' variable.
3707         * vc-hooks.el: Update Copyright.
3708         (vc-backend): Don't accept a nil argument any more.
3709         (vc-up-to-date-p): Turn into a defsubst.
3710         (vc-possible-master): New function.
3711         (vc-check-master-templates): Use `vc-possible-master' and allow
3712         funs in vc-X-master-templates to return a non-existent file.
3714         * vc-cvs.el: Update Copyright.
3715         (vc-cvs-diff): Remove unused `backend' variable.
3716         (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
3718         * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
3720 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3722         * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
3723         since it can be called from vc-rcs.el.
3724         (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
3726 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3728         * vc.el (vc-version-diff): Expand file name read from the
3729         minibuffer.  Handle the case when a previous version number can't
3730         be guessed.  Give suitable messages when there were no differences
3731         found.
3732         (vc-clear-headers): Call backend-specific implementation, if one
3733         exists.
3734         (vc-cancel-version): Made error checks generic.  When done, clear
3735         headers generically, too.
3737         * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
3738         from vc-clear-headers in vc.el.
3740         * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
3741         correctly.
3742         (vc-rcs-latest-on-branch-p): Made second argument VERSION
3743         optional.  Handle the case when it's not there.
3745 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3747         * vc.el (vc-locking-user): Moved from vc-hooks.el.
3749 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3751         * vc-hooks.el (vc-loadup): Remove.
3752         (vc-find-backend-function): Use `require'.  Also, handle the case
3753         where vc-BACKEND-hooks.el doesn't exist.
3754         (vc-call-backend): Cleanup.
3756 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3758         * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
3759         vc-rcs-grab-templates)
3760         (vc-rcs-registered): Remove.  The default function works as well.
3761         * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
3762         vc-sccs-grab-templates)
3763         (vc-sccs-registered): Remove.  The default function works as well.
3765         * vc.el (vc-version-diff): Left out a vc- in call to
3766         vc-call-backend.
3767         (vc-default-dired-state-info, vc-default-record-rename)
3768         (vc-default-merge-news): Update for the new backend argument.
3770         * vc-hooks.el (vc-find-backend-function): Return a cons cell if
3771         using the default function.
3772         (vc-call-backend): If calling the default function, pass it the
3773         backend as first argument.  Update the docstring accordingly.
3774         (vc-default-state-heuristic, vc-default-mode-line-string): Update
3775         for the new backend argument.
3776         (vc-make-backend-sym): Renamed from vc-make-backend-function.
3777         (vc-find-backend-function): Use the new name.
3778         (vc-default-registered): New function.
3780 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3782         * vc.el (vc-merge): Use vc-find-backend-function.
3784         * vc-hooks.el (vc-backend-functions): Remove.
3785         (vc-loadup): Don't setup 'vc-functions.
3786         (vc-find-backend-function): New function.
3787         (vc-call-backend): Use above fun and populate 'vc-functions
3788         lazily.
3789         (vc-backend-defines): Remove.
3791 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3793         * vc.el (vc-register): Put a FIXME note for a newly found bug.
3794         Call vc-call-backend without the leading vc-.
3795         (vc-responsible-backend, vc-finish-logentry, vc-annotate)
3796         (vc-check-headers): Call vc-call-backend without the leading vc-.
3797         (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
3798         (vc-annotate-display): Replace confusing use of `cond' with `or'.
3799         Call vc-call-backend without the leading vc-.
3801         * vc-cvs.el (tail): Provide vc-cvs.
3802         * vc-sccs.el (tail): Provide vc-sccs.
3803         * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
3805         * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
3806         (vc-make-backend-function, vc-call): Pass names without leading
3807         `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
3808         (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
3809         (vc-call-backend): Always try to load vc-X-hooks.
3810         (vc-registered): Remove vc- in call to vc-call-backend.
3812 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3814         * vc.el (vc-process-filter): New function.
3815         (vc-do-command): Setup `vc-process-filter' for the async process.
3816         (vc-maybe-resolve-conflicts): New function to reduce
3817         code-duplication.  Additionally, it puts the buffer in
3818         `smerge-mode' if applicable.
3819         (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
3820         calling `merge-news'.
3821         (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
3822         (vc-log-edit): New function.  Replacement for `vc-log-mode' by
3823         interfacing to log-edit.el.
3824         (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
3825         log-edit is available.
3826         (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
3828 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3830         * vc.el (vc-register): Remove `vc-buffer-backend' setup.
3831         (vc-log-mode-map): New name for vc-log-entry-mode and merge the
3832         defvar and the initialization.
3833         (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
3835         * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
3836         (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
3838         * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
3840 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3842         * vc.el (vc-file-clear-masterprops): Removed.
3843         (vc-checkin, vc-revert-buffer): Removed calls to the above.
3844         (vc-version-diff): Use buffer-size without argument.
3845         (vc-register): Heed vc-initial-comment.
3847         * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
3848         default branch.
3850         * vc-rcs.el (vc-rcs-register): Parse command output to find master
3851         file name and workfile version.
3852         (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
3854         * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
3855         vc-file-clear-masterprops.
3857         * vc-sccs.el (vc-sccs-checkout): Removed call to
3858         vc-file-clear-masterprops.  If writable, set vc-state to 'edited
3859         rather than user login name.
3862 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3864         * vc.el (vc-workfile-unchanged-p): Remove unused argument
3865         `want-differences-if-changed' and simplify.
3866         (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
3867         (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
3868         output (which is invalid for async vc-diff) to decide whether to
3869         do the revert silently or not.
3871 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3873         * vc-hooks.el (vc-loadup): Load files quietly.
3874         (vc-call-backend): Oops, brain fart.
3876 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3878         * vc-cvs.el (vc-cvs-state): Typo.
3879         (vc-cvs-merge-news): Return the status code rather than the error msg.
3881 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3883         * vc.el (with-vc-file, vc-next-action, vc-version-diff)
3884         (vc-dired-mark-locked): Replaced usage of vc-locking-user with
3885         vc-state or vc-up-to-date-p.
3886         (vc-merge): Use vc-backend-defines to check whether merging is
3887         possible.  Set state to 'edited after successful merge.
3889         * vc-hooks.el (vc-locking-user): If locked by the calling user,
3890         return that name.  Redocumented.
3892 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3894         * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
3895         new `vc-state' semantics.
3896         (vc-finish-steal): Set 'vc-state to 'edited rather than setting
3897         'vc-locking-user to the current user.
3898         (vc-merge): Inline vc-backend-merge.  Comment out code that I
3899         don't understand and hence can't adapt to the new `vc-state' and
3900         `vc-locking-user' semantics.
3901         (vc-backend-merge): Remove.
3903         * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
3904         rather than 'vc-locking-user.
3906         * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
3908         * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
3909         (vc-state): Don't use 'reserved any more.  Just use the same
3910         convention as the one used for vc-<backend>-state where the
3911         locking user (as a string) is returned.
3912         (vc-locking-user): Update, based on the above convention. The
3913         'vc-locking-user property has disappeared.
3914         (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
3916         * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
3917         with a heuristic one.
3918         (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
3919         (vc-cvs-checkin): Do a trivial parse to set the state in case of
3920         error.  That allows us to get to 'needs-merge even in the
3921         stay-local case.  There's still no way to detect 'needs-patch in
3922         such a setup (or to force an update for that matter).
3923         (vc-cvs-logentry-check): Remove, the default works as well.
3925 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3927         * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
3929         * vc.el (vc-do-command): kill-all-local-variables, to reset any
3930         major-mode in which the buffer might have been put earlier.  Use
3931         `remove' and `when'.  Allow `okstatus' to be `async' and use
3932         `start-process' in this case.
3933         (vc-version-diff): Handle the case where the diff looks empty
3934         because of the use of an async process.
3936 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3938         * vc.el (vc-next-action-on-file): Removed optional parameter
3939         `simple'.  Recompute state unconditionally.
3940         (vc-default-toggle-read-only): Removed.
3942         * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
3943         (vc-toggle-read-only): Undid prev change.
3945         * vc-cvs.el (vc-cvs-stay-local): Renamed from
3946         vc-cvs-simple-toggle.  Redocumented.
3947         (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
3948         (vc-cvs-toggle-read-only): Removed.
3950 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3952         * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
3953         (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
3954         (vc-release-greater-or-equal-p): Move to vc-rcs.el.
3955         (vc-file-clear-masterprops): Braindead "fix".  It was a nop and
3956         still is. So maybe it should be removed.
3957         (vc-head-version, vc-find-binary): Remove.
3958         (vc-recompute-state): Move from vc-hooks.el.
3959         (vc-next-action-on-file): Add a `simple' argument to allow
3960         avoiding the `recompute' step (use for vc-cvs-simple-toggle).
3961         (vc-default-toggle-read-only, vc-default-record-rename): New funs.
3962         (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
3963         (vc-dired-mode-map): Properly defvar it.
3964         (vc-print-log): Call log-view-mode if available.
3965         (small-temporary-file-directory): defvar instead of use boundp.
3966         (vc-merge-news): Moved to vc-cvs.el.
3967         (vc-default-merge-news): New function.
3969         * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
3970         (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
3971         (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
3972         unknown `vc-latest-version' function.  It should probably refer to
3973         vc-workfile-version or somesuch, but it's very unclear to me and I
3974         don't have SCCS to test things.
3976         * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
3977         (vc-sccs-state-heuristic): Fix typo.
3978         (vc-sccs-workfile-unchanged-p): Add missing argument.
3980         * vc-rcs.el: Require vc and vc-rcs-hooks.
3981         (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
3982         (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
3983         (vc-release-greater-or-equal-p): Move from vc.
3984         (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
3985         vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
3986         (vc-rcs-checkout): Add a missing `new-version' argument in the
3987         call to vc-rcs-latest-on-branch-p.  Hopefully that was the right one.
3989         * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
3990         (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
3991         (vc-rcs-latest-on-branch-p): Use the `version' argument rather
3992         than the apparently unbound `workfile-version'.
3994         * vc-hooks.el (vc-master-templates): Def the obsolete var.
3995         (vc-file-prop-obarray): Use `make-vector'.
3996         (vc-backend-functions): Add new hookable functions
3997         vc-toggle-read-only, vc-record-rename and vc-merge-news.
3998         (vc-loadup): If neither backend nor default functions exist, use
3999         the backend function rather than nil.
4000         (vc-call-backend): If the function if not bound yet, try to load
4001         the non-hook file to see if it provides it.
4002         (vc-call): New macro plus use it wherever possible.
4003         (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
4004         nor `vc-find-binary' since it's only called from
4005         vc-mistrust-permission which is only used once the backend is known.
4006         (vc-checkout-model): Fix parenthesis.
4007         (vc-recompute-state, vc-prefix-map): Move to vc.el.
4009         * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
4010         (vc-cvs-release, vc-cvs-system-release): Remove.
4011         (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
4012         (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
4013         status symbols.
4014         (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
4015         (vc-cvs-toggle-read-only): First cut at a function to allow a
4016         cvs-status-free vc-toggle-read-only.
4017         (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
4018         (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
4019         vc-cvs-status.  Also set vc-state rather than vc-locking-user.
4020         (vc-cvs-checkout): Modify access rights directly if the user
4021         requested not to use `cvs edit'.  And refresh the mode line.
4023         * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
4024         (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
4026 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4028         * vc-cvs.el (vc-cvs-checkout): Docstring fix.  Added a `(if
4029         workfile' that got lost when the code was extracted from vc.el.
4030         And merged the tail with the rest of the code (not possible in the
4031         old vc.el where the tail was shared among all backends).  And
4032         explicitly set the state to 'edited if `writable' is set.
4034         * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
4035         (vc-cvs-state): Be careful to return the value from
4036         vc-cvs-parse-state.
4037         (vc-cvs-parse-status): Use expand-file-name.  Don't set 'vc-state
4038         property but return it instead.  Also be careful to handle a nil
4039         or "" `rev' when workfile is non-nil (it was handled properly when
4040         workfile was nil).
4042         * vc.el: Removed those pesky unnecessary `(function' quotes.
4043         (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
4044         directly in the defvar.
4045         (vc-do-command): Bind inhibit-read-only so as to properly handle
4046         the case where the destination buffer has been made read-only.
4047         (vc-diff): Delegate to vc-version-diff in all cases.
4048         (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
4049         (vc-annotate-mode-variables): Removed (code moved partly to
4050         defvars and partly to vc-annotate-add-menu).
4051         (vc-annotate-mode): Turned into a derived-mode.
4052         (vc-annotate-add-menu): Moved in code in
4053         vc-annotate-mode-variables.
4054         (vc-update-change-log): Use make-temp-file if available.
4056 2000-09-04  Martin Lorentzson  <martinl@delysid.gnu.org>
4058         * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
4059         `vc-checkout-model' updated to `vc-cvs-update-model'.
4061 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4063         * vc.el (vc-next-action-on-file): Added handling of state
4064         `unlocked-changes'.
4065         (vc-checkout-carefully): Is now practically obsolete, unless the
4066         above is too slow to be enabled unconditionally.
4067         (vc-update-change-log): Fixed typo.
4069         * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
4071         * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
4072         Now handles state `unlocked-changes'.
4073         (vc-sccs-workfile-unchanged-p): New function, to support the above.
4075         * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
4077         * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
4078         (vc-rcs-fetch-master-state): Bug fixes.  Recognize state
4079         `unlocked-changes'.
4080         (vc-rcs-workfile-unchanged-p): Renamed from
4081         `vc-rcs-workfile-unchanged'.  This is not a real backend-specific
4082         function yet, but supposed to become one soon.
4084         * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
4085         `vc-steal-lock'.
4086         (vc-call-backend): Changed error message.
4087         (vc-state): Added description of state `unlocked-changes'.
4089 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4091         * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
4092         always return t in CVS-controlled directories.
4094         * vc.el (vc-responsible-backend): New function.
4095         (vc-register): Largely rewritten.
4096         (vc-admin): Removed (implementation moved into vc-register).
4097         (vc-checkin): Redocumented.
4098         (vc-finish-logentry): If no backend defined yet (because we are in
4099         the process of registering), use the responsible backend.
4101         * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4102         Updated function lists.
4103         (vc-call-backend): Fixed typo.
4105         * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
4106         New functions.
4107         (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
4108         Removed query option.  Redocumented.
4110 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4112         * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
4114         * vc.el: Updated callers of `vc-checkout-required' to use
4115         `vc-checkout-model'.
4117 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4119         * vc-rcs.el (vc-rcs-backend-release-p): function added.  other
4120         stuff updated to reference this function instead of the old
4121         `vc-backend-release-p'.
4123 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4125         * vc-sccs-hooks.el (vc-uses-locking): Renamed to
4126         vc-checkout-model.  Return appropriate values.  Updated callers.
4128 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4130         * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
4131         (vc-backend-revert): Function moved into `vc-revert';
4132         `vc-next-action' must be updated to accomodate this change.
4133         (vc-backend-steal): Function moved into `vc-finish-steal'.
4134         (vc-backend-logentry-check): Function moved into
4135         `vc-finish-logentry'.
4136         (vc-backend-printlog): Function moved into `vc-print-log'.
4137         (vc-backend-uncheck): Function moved into `vc-cancel-version'.
4138         (vc-backend-assign-name): Function moved into
4139         `vc-create-snapshot'.
4141 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4143         * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
4144         Rename to vc-checkout-model.  Return appropriate values.
4145         Update callers.
4147         * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
4148         to vc-checkout-model.
4149         (vc-checkout-required): Rename to vc-checkout-model.
4150         Re-implement and re-comment.
4151         (vc-after-save): Use vc-checkout-model.
4153 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4155         * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
4156         Update to use the vc-BACKEND-diff functions instead.
4157         `vc-diff' is now working.
4159         * vc-rcs.el (vc-rcs-logentry-check): New function.
4161         * vc-cvs.el (vc-cvs-logentry-check): New function.
4163         * vc-sccs.el (vc-sccs-diff): Function changed name from
4164         `vc-backend-diff'.  This makes `vc-diff' work.
4166         * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
4167         of functions possibly implemented in a vc-BACKEND library.
4168         (vc-checkout-required): Fix bug that caused an error to be
4169         signaled during `vc-after-save'.
4171         * vc.el: Fix typo.
4172         This checkin is made with our new VC code base for the very first time.
4173         A simple `(vc-checkin (buffer-file-name))' was used to perform it.
4175         * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
4176         `vc-checkout-required' updated to `vc-cvs-uses-locking'.
4178         * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
4179         updated to `vc-uses-locking'.
4180         (vc-checkout-required): Call to backend function.
4181         `vc-checkout-required' updated to `vc-uses-locking' instead.
4183         * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
4184         `vc-checkout-required' updated to `vc-rcs-uses-locking'.
4186         * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
4187         to match the split into various backends.
4188         (vc-backend-checkin): Remove.  Merge with `vc-checkin'.
4189         (vc-retrieve-snapshot): Bug fix.
4191 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4193         * vc-sccs.el (vc-sccs-release): Doc fix.
4195 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4197         * vc.el (vc-next-action-on-file): Bug found and fixed.
4198         (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
4199         (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
4201         * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
4202         (vc-rcs-checkout): Name space cleaned up.  No more revision number
4203         crunching function names that are not prefixed with vc-rcs.
4204         (vc-rcs-checkout-model): Function added.  References to
4205         `vc-checkout-model' replaced.
4207 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4209         * vc.el (vc-next-action-on-file): Rewritten for the new state model.
4210         (vc-backend-merge-news): Renamed to `vc-merge-news'.  (Specific parts
4211         still need to be split, and implemented for RCS).
4213 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4215         * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
4217         * vc-sccs.el (vc-sccs-admin): Added the query-only option as
4218         required by the vc.el file.
4220         * vc-rcs.el (vc-rcs-admin): Added the query-only option as
4221         required by the vc.el file.
4222         (vc-rcs-exists): Function added.
4224         * vc-cvs.el (vc-cvs-admin): Added the query-only option as
4225         required by the vc.el file.
4227         * vc.el (vc-admin): Updated to handle selection of appropriate
4228         backend.  Current implementation is crufty and need re-thinking.
4230         * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
4232 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4234         * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
4235         beginning of annotate buffers correctly.
4237         * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
4238         (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
4239         functionality updated quite a lot to support multiple backends.
4240         Variables `vc-annotate-mode', `vc-annotate-buffers',
4241         `vc-annotate-backend' added.
4243         * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
4244         `vc-annotate-difference' added to supported backend functions.
4246 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4248         * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
4249         Use with-temp-file instead of /bin/sh.  Merged from mainline
4251 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4253         * vc-sccs-hooks.el (vc-sccs-registered): Updated.
4255         * vc-rcs-hooks.el (vc-rcs-registered): Updated.
4257         * vc-cvs-hooks.el (vc-cvs-registered): Updated.
4259 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4261         * vc-hooks.el: vc-state-heuristic added to
4262         vc-backend-hook-functions.
4264         * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
4266         * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
4268         * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
4269         `vc-uses-locking' to `vc-checkout-required'.  Rename the `locked'
4270         state to `reserved'.
4272         * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
4273         `vc-checkout-required'.  Rename the `locked' state to `reserved'.
4275 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4277         * vc-rcs-hooks.el: Implement new state model.  Hardly anything
4278         untouched.
4280         * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
4282         * vc.el (vc-update-change-log): Use small-temporary-file-directory,
4283         if defined.  (Merged from main line, slightly adapted.)
4285         * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
4286         millenium problem (merged from mainline).
4288 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4290         * vc-cvs.el: Split the annotate feature into a BACKEND-specific
4291         part and moved the non-BACKEND stuff to vc.el.
4293         * vc.el: Split the annotate feature into a BACKEND specific part
4294         and moved it from the vc-cvs.el file to this one.
4296 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4298         * vc-hooks.el: Implement new state model.
4299         (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
4300         (vc-locking-user): Simplify.  Now only needed if the file is
4301         locked by somebody else.
4302         (vc-lock-from-permissions): Remove.  Functionality is in
4303         vc-sccs-hooks.el and vc-rcs-hooks.el now.
4304         (vc-mode-line-string): New name for former vc-status.  Adapted.
4305         (vc-mode-line): Adapt to use the above.  Remove optional parameter.
4307         * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
4308         Various simplifications and adaptations all over the place.
4310         * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
4311         Simplify and adapt the rest.
4313         * vc.el (vc-resynch-window): Add TODO comment: check for
4314         interaction with view mode according to recent RCS change.
4315         (vc-backend-merge-news): Merge "CMUP" patch from mainline.
4317 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4319         * vc.el: Convert the remaining function comments to docstrings.
4321 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4323         * vc.el (vc-backend-release, vc-release-greater-or-equal)
4324         (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
4325         (vc-minor-part, vc-previous-version): Functions that operate and
4326         compare revision numbers got proper documentation.  Comments added
4327         about their possible removal.
4329 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4331         * vc.el (vc-latest-on-branch-p): Function removed and replaced in
4332         the vc-backend.el files.
4334         * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
4336         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
4337         (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
4338         (vc-rcs-previous-version): Functions added.
4340         * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
4342         * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
4344 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4346         * vc-hooks.el (vc-master-templates): Is really obsolete.
4347         Comment out the definition for now.  What is the right procedure
4348         to get rid of it?
4349         (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
4350         rewritten.
4351         (vc-default-registered): Remove.
4352         (vc-check-master-templates): New function; does mostly what the
4353         above did before.
4354         (vc-locking-user): Don't rely on the backend to set the property.
4356         * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
4357         Rewrite documentation.
4358         (vc-rcs-templates-grabbed): New variable.
4359         (vc-rcs-grab-templates): New function.
4360         (vc-rcs-registered): Rewrite to use above mechanism.
4362         * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
4363         Rewrite documentation.
4364         (vc-sccs-templates-grabbed): New variable.
4365         (vc-sccs-grab-templates): New function.
4366         (vc-sccs-registered): Rewrite to use above mechanism.
4367         (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
4368         Don't throw the result, simply return it.
4370         * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
4371         (vc-cvs-find-master): Remove.  Code is now in vc-cvs-registered.
4372         (vc-cvs-registered): Does the check itself now.  Simplify.
4374         * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
4375         from main line.
4377 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4379         * vc-cvs.el (vc-cvs-diff): New function.
4381         * vc-sccs.el (vc-sccs-diff): New function.
4383         * vc-rcs.el (vc-rcs-diff): New function.
4384         (vc-rcs-checkout): Bug (typo) found and fixed.
4385         (vc-rcs-register-switches): New variable.
4387         * vc.el (vc-backend-diff): Function removed and placed in the
4388         backend files.
4390 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4392         * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
4394         * vc.el (vc-backend-checkout): Function removed and replaced in
4395         the vc-backend.el files.
4397         * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
4399         * vc.el (vc-backend-admin): Removed and replaced in the
4400         vc-backend.el files.
4402         * vc.el (Martin): Removed all the annotate functionality since it
4403         is CVS backend specific.
4405 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4407         * spec.txt: Added specification of vc-state.
4409         * vc-sccs-hooks.el (vc-sccs-master-properties):
4410         Remove handling of vc-latest-version and
4411         vc-your-latest-version.  What used to be vc-latest-version, is now
4412         returned as vc-workfile-version.
4413         (vc-sccs-workfile-version): Adapt.
4415 2000-09-04  Dave Love  <fx@gnu.org>
4417         * vc.el: [Merged from mainline.]
4418         (vc-dired-mode): Make the dired-move-to-filename-regexp
4419         regexp match the date, to avoid treating date as file size.
4420         Add YYYY S option to WESTERN/
4422 2000-09-04  Dave Love  <fx@gnu.org>
4424         * vc.el: Require `compile' when compiling.
4425         (vc-logentry-check-hook): New option.
4426         (vc-steal-lock): Use compose-mail.
4427         (vc-dired-mode-map): Defvar when compiling.
4428         (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
4429         vc-sccs.el and renamed.  Callers changed.
4430         (vc-backend-checkout, vc-backend-logentry-check)
4431         (vc-backend-merge-news): Doc fix.
4432         (vc-default-logentry-check): New function.
4433         (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
4434         (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
4435         (vc-backend-merge): Doc fix.  Use backend functions.
4436         (vc-check-headers): Use backend functions.
4438         * vc-cvs.el: Require vc when compiling.
4439         (vc-cvs-register-switches): Doc fix.
4440         (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
4441         (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
4442         (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
4443         New functions (code from vc.el).
4444         (vc-annotate-display-default): Fix interactive spec.
4445         (vc-annotate-time-span): Doc fix.
4447         * vc-rcs.el: Require vc when compiling.
4448         (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
4449         (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
4450         (vc-rcs-checkin): New functions (code from vc.el).
4451         (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
4452         Doc fix.
4453         (vc-rcs-release): Deleted.  (Duplicated vc-rcs-system-release).
4455         * vc-sccs.el: Require vc when compiling.
4456         (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
4457         (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
4458         (vc-sccs-revert)
4459         (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
4460         from vc.el).
4461         (vc-sccs-add-triple, vc-sccs-record-rename)
4462         (vc-sccs-lookup-triple): Moved from vc.el and renamed.
4463         (vc-sccs-admin): Doc fix.
4465 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4467         * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
4468         (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
4469         (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
4470         from vc.el.
4472         * vc-sccs.el (vc-admin-sccs): Added from vc.el
4474         * vc-cvs.el: Moved the annotate functionality from vc.el.
4475         (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
4477 2000-09-04  Dave Love  <fx@gnu.org>
4479         * vc.el (vc-backend-release): Call vc-system-release.
4481         * vc-sccs.el (vc-sccs-system-release):
4482         Renamed from vc-sccs-backend-release.
4484         * vc-rcs.el (vc-rcs-system-release):
4485         Renamed from vc-rcs-backend-release.
4487         * vc-cvs.el (vc-cvs-system-release):
4488         Renamed from vc-cvs-backend-release.
4490 2000-09-04  Dave Love  <fx@gnu.org>
4492         * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
4493         backend files.
4494         (vc-backend-release): Dispatch to backend functions.
4495         (vc-backend-release-p): Don't mention CVS, RCS.  [The SCCS case
4496         probably needs attention.]
4498         * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
4499         (vc-sccs-backend-release): New function.
4501         * vc-cvs.el (vc-cvs-release): Moved from vc.el.
4502         (vc-cvs-backend-release): New function.
4504         * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
4505         Doc fix.
4506         (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
4507         (vc-default-dired-state-info): New function.
4508         (vc-dired-state-info): Dispatch to backends.
4509         (vc-dired-hook): Doc fix.  Simplify, pending removal of CVS specifics.
4511         * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
4512         from vc.el and renamed.
4514 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4516         * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
4517         (vc-version-other-window, vc-backend-assign-name): Removed
4518         references to vc-latest-version; sometimes changed into
4519         vc-workfile-version.
4521         * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
4522         vc-rcs-master-workfile-version.
4523         (vc-rcs-workfile-version): Use the above.  Don't call
4524         vc-latest-version (that was unreachable code, anyway).
4525         (vc-rcs-fetch-master-properties): Doc fix.
4527         * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
4528         (vc-backend-hook-functions): Removed them from this list, too.
4529         (vc-fetch-properties): Removed.
4530         (vc-workfile-version): Doc fix.
4532         * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
4533         (vc-rcs-workfile-version, vc-rcs-locking-user)
4534         (vc-rcs-uses-locking): Use it.
4536         * vc-hooks.el (vc-consult-rcs-headers):
4537         Moved into vc-rcs-hooks.el, under the name
4538         vc-rcs-consult-headers.
4540         * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
4541         headers.
4542         (vc-cvs-find-master): Use this name only; correct different
4543         versions of the name.
4545         * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
4546         New functions.
4547         (vc-sccs-locking-user): Use the latter.
4549         * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
4550         New functions.
4552         * vc-hooks.el (vc-master-locks, vc-master-locking-user):
4553         Moved into both
4554         vc-rcs-hooks.el and vc-sccs-hooks.el.  These properties and access
4555         functions are implementation details of those two backends.
4557 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4559         * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
4560         (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
4562         * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
4563         (vc-sccs-parse-locks): SCCS-specific code moved here from
4564         vc-hooks.
4566         * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
4567         code moved here from vc-hooks.
4569         * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
4570         into back-end specific parts and removed.  Callers not updated
4571         yet; because I guess these callers will disappear into back-end
4572         specific files anyway.
4574 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4576         * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
4577         (vc-backend-checkout): Changed calls to `vc-checkout-model' to
4578         `vc-uses-locking'.
4580         * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
4581         Store yes/no in the property, and return t/nil.  Updated all
4582         callers.
4584         * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
4585         vc-sccs-uses-locking.  Don't set property.
4586         (vc-sccs-locking-user): Don't set property.
4588         * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
4589         vc-cvs-uses-locking.  Don't set property here; leave that to
4590         vc-hooks.
4591         (vc-cvs-locking-user): Reflect above change.  Streamlined.
4593         * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
4594         vc-rcs-uses-locking.
4595         (vc-rcs-locking-user): Reflect above change.
4597 2000-09-04  Dave Love  <fx@gnu.org>
4599         * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
4601         * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
4603         * vc-hooks.el (vc-checkout-model): Punt to backends.
4605         * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
4607         * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
4609         * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
4610         New functions.
4612         * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
4613         New functions.
4615         * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
4616         (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
4618         * vc-hooks.el (vc-default-locking-user): New function.
4619         (vc-locking-user, vc-workfile-version): Punt to backends.
4621 2000-09-04  Dave Love  <fx@gnu.org>
4623         * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
4624         (vc-master-workfile-version): Moved from vc-hooks.
4626         * vc-rcs-hooks.el: Fix duplicate code in last change.
4628         * vc-rcs-hooks.el: Require vc-hooks when compiling.
4629         (vc-rcs-master-templates): Improve :type.
4630         (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
4631         vc-master-workfile-version): Moved from vc-hooks.
4633         * vc-sccs-hooks.el: Require vc-hooks when compiling.
4634         (vc-sccs-master-templates): Improve :type.
4635         (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
4637         * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
4639         * vc-cvs-hooks.el: Require vc-hooks when compiling.
4640         (vc-cvs-master-templates): Improve :type.  Use
4641         vc-cvs-find-cvs-master.
4642         (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
4643         from vc-hooks.
4644         (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
4646         * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
4647         Moved to vc-cvs-hooks.
4649         * vc-hooks.el: Add doc strings in various places.  Simplify the
4650         minor mode setup.
4651         (vc-handled-backends): New user variable.
4652         (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
4653         simplification.
4655 2000-09-04  Dave Love  <fx@gnu.org>
4657         * vc.el: Some doc fixes for autoloaded and interactive functions.
4658         Fix compilation warnings from ediff stuff.
4659         (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
4661         * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
4663         * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
4665         * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
4667 2000-09-04  Dave Love  <fx@gnu.org>
4669         * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4670         New variable.
4671         (vc-make-backend-function, vc-loadup, vc-call-backend)
4672         (vc-backend-defines): New functions.
4674         * vc-hooks.el: Various doc fixes.
4675         (vc-default-back-end, vc-follow-symlinks): Custom fix.
4676         (vc-match-substring): Function removed.  Callers changed to use
4677         match-string.
4678         (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
4679         Simplify.
4681 2000-09-04  Dave Love  <fx@gnu.org>
4683         * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
4684         type.
4685         (vc-sccs-project-dir, vc-search-sccs-project-dir)
4686         (vc-sccs-registered): Doc fix.
4688         * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
4689         (vc-cvs-registered): Doc fix.
4691         * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
4692         (vc-rcs-registered): Doc fix.
4694 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4696         * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
4698         * vc-hooks.el: vc-registered has been renamed
4699         vc-default-registered.  Some functions have been moved to the
4700         backend specific files.  they all support the
4701         vc-BACKEND-registered functions.
4703 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4705         * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
4707         * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
4709 2000-09-04  Dave Love  <fx@gnu.org>
4711         * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
4712         menu-bar-update-hook.
4714         * help.el (help-manyarg-func-alist): Add
4715         find-operation-coding-system.
4717         * wid-edit.el (widget-sexp-validate): Fix garbled code.
4719         * custom.el (custom-set-variables): Print message about errors in
4720         setting.
4722 2000-09-03  Andrew Innes  <andrewi@gnu.org>
4724         * makefile.w32-in: Change to DOS line endings.
4726 2000-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
4728         * mouse.el (mouse-popup-menubar): Supply the prompt string for
4729         minor-mode keymaps, if they don't have one.
4731 2000-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
4733         * eshell/esh-module.el (eval-when-compile): Don't lose if
4734         esh-module.el's file name is truncated to DOS 8+3 limits.
4736 2000-09-01  John Wiegley  <johnw@gnu.org>
4738         * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
4739         predicate, which caused entries in the completion list to be
4740         doubled.
4742 2000-08-30  John Wiegley  <johnw@gnu.org>
4744         * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
4745         sending to subprocesses.  Also, hook pre-command-hook if
4746         `eshell-send-direct-to-subprocesses' is non-nil.
4747         (eshell-send-direct-to-subprocesses): New config variable.  If t,
4748         subprocess input is send immediately.
4749         (eshell-toggle-direct-send): New function.
4750         (eshell-self-insert-command): New function.
4751         (eshell-intercept-commands): New function.
4752         (eshell-send-input): If direct subprocess sending is enabled,
4753         don't echo any input to the Eshell buffer.  Let the subprocess
4754         handle that.  This requires "stty echo" in bash, for example.
4756 2000-08-28  John Wiegley  <johnw@gnu.org>
4758         * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
4759         completion function for Eshell's implementation of `unset'.
4761 2000-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
4763         * info.el (Info-directory-list): Doc fix.
4765 2000-08-31  Peter Breton  <pbreton@ne.mediaone.net>
4767         * filecache.el (file-cache-add-directory-using-find): Don't quote
4768         wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
4770 2000-08-31  Kenichi Handa  <handa@etl.go.jp>
4772         * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
4773         coding systems.
4775 2000-08-30  Andrew Innes  <andrewi@gnu.org>
4777         * timer.el (run-with-idle-timer): Undo last change, so that timer
4778         is not activated immediately if Emacs is already idle.  Some
4779         existing code relies on this behaviour.
4781 2000-08-30  Miles Bader  <miles@gnu.org>
4783         * frame.el (set-frame-font): Do completion of font-name for
4784         interactive use.
4786 2000-08-30  Kenichi Handa  <handa@etl.go.jp>
4788         * international/quail.el (quail-start-translation): Bind locally
4789         last-command-event, last-command, and this-command.
4790         (quail-start-conversion): Likewise.
4791         (quail-self-insert-command): Fix docstring.
4793 2000-08-29  Gerd Moellmann  <gerd@gnu.org>
4795         * progmodes/executable.el
4796         (executable-make-buffer-file-executable-if-script-p): Check that
4797         buffer contains at least 2 characters.
4799 2000-08-29  Eli Zaretskii  <eliz@is.elta.co.il>
4801         * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
4803 2000-08-29  Dave Love  <fx@gnu.org>
4805         * diff-mode.el (diff-mode) <defgroup>: Add :version.
4806         (diff-mode-shared-map): Bind mouse-2.
4807         (diff-imenu-generic-expression): New variable.
4808         (diff-mode): Use it.
4810         * mouse.el (mouse-major-mode-menu): Use local-key-binding.
4811         (mouse-popup-menubar): Add minor mode menus.
4812         (popup-menu): Check for lookup-key returning number.
4814 2000-08-29  Miles Bader  <miles@gnu.org>
4816         * comint.el (comint-send-input): Create overlays using the proper
4817         front/read-advance arguments.
4819 2000-08-29  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
4821         * ps-print.el: Even/odd pages printing.  Doc fix.
4822         (ps-print-version): New version number (6.0).
4823         (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
4824         (ps-background, ps-begin-file, ps-begin-job): Code fix.
4825         (ps-print-duplex-feature): Variable eliminated.
4826         (ps-even-or-odd-pages): New variable.
4828         * progmodes/ebnf2ps.el: Doc fix.
4829         (ebnf-version): New version (3.3).
4830         (ebnf-user-arrow): Change variable customization to sexp.
4831         (ebnf-user-arrow): Function eliminated.
4832         (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
4834 2000-08-29  Kenichi Handa  <handa@etl.go.jp>
4836         * help.el (help-xref-mule-regexp): New variable.
4837         (help-make-xrefs): Handle help-xref-mule-regexp.
4839         * international/mule-cmds.el (help-xref-mule-regexp-template): New
4840         variable.
4841         (describe-input-method): Temporarily activate the specfied input
4842         method to display the information.
4843         (describe-language-environment): Hyperlinks to mule related items.
4845         * international/mule-diag.el (charset-multibyte-form-string): New
4846         function.
4847         (list-character-sets-1): Use charset-multibyte-form-string.
4848         (describe-character-set): New function.
4849         (describe-coding-system): Hyperlinks to safe character sets.
4851         * international/quail.el (quail-help): New arg PACKAGE.
4852         Hyperlinks to mule related items.
4853         (quail-help-insert-keymap-description): Use
4854         substitute-command-keys instead of describe-bindings.
4855         (quail-translation-help): Hyperlinks to mule related items.
4857 2000-08-28  John Wiegley  <johnw@gnu.org>
4859         * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
4860         have a defsubst call itself.  Made `eshell-flatten-list' back into
4861         a function again.
4863         * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
4864         catch, in case re-centering point at bottom messes up the display.
4865         This happens frequently in Emacs 21, due I believe to variable
4866         line heights.
4868         * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
4869         to call `find-tag-interactive'.
4871         * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
4872         the list of remember directories.
4874 2000-08-28  John Wiegley  <johnw@gnu.org>
4876         * align.el: Test align-region-separate to see if it's a symbol.
4878 2000-08-28  John Wiegley  <johnw@gnu.org>
4880         * eshell/esh-util.el (eshell-flatten-list): Made this function
4881         into a defsubst form.  It gets used very frequently, although
4882         calls don't occur all that often.
4884         * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
4885         examining it.
4887         * eshell/esh-cmd.el (eshell-rewrite-while-command):
4888         (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
4889         `eshell-protect'.
4890         (eshell-copy-handles): Created a new macro for duplicating the
4891         current set of open handles.  This is needed by the looping
4892         functions.
4893         (eshell-do-eval): Fixed while and if, so that the eshell-test-body
4894         is not incorrectly stomped on.
4896         * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
4897         declaration for pcomplete-use-paring.
4898         (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
4899         value of eshell-cmpl-use-paring.
4900         * pcomplete.el (pcomplete-use-paring): New config variable, to
4901         indicate whether paring should be used.
4902         (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
4903         completion alternatives that have already been used.
4905         * eshell/esh-mode.el (eshell-repeat-argument): Added function,
4906         bound to C-c C-y, which will repeat the previous N arguments
4907         (based on prefix argument).
4908         (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
4910         * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
4911         if there is no *Help* buffer.  This is for XEmacs, which renames
4912         its help buffers uniquely.  TODO: Find out what the current buffer
4913         name to delete is.
4915         * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
4916         first entry that correlates to a passwd/group number.  Later
4917         entries (used for group/user name aliasing to multiple IDs) are
4918         ignored.
4920         * eshell/em-xtra.el (eshell/expr):
4921         * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
4922         (eshell-grep, eshell/diff, eshell/locate):
4923         * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
4924         argument list, before passing it to the system command.
4926         * eshell/esh-mode.el (eshell-find-tag): Added a special version of
4927         `find-tag' for use at final position in Eshell buffers (which
4928         otherwise triggers an error on Emacs 21).
4929         (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
4930         buffer, if it is currently bound to `find-tag'.
4932         * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
4933         in the list of matched Makefile names.
4934         (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
4935         directory, prefer its contents to Makefile.
4937         * eshell/em-dirs.el (eshell/cd): cd commands that look up
4938         directory parts (like "cd old new", or "cd =regexp"), are now case
4939         sensitive on non-Windows/DOS platforms.
4941         * eshell/esh-mode.el (eshell-parse-command-input): When a user
4942         types RET after an open delimiter (like "), display a message
4943         indicating that Eshell is waiting for the closing delimiter.
4945         * eshell/esh-var.el (eshell/unset): Added a command for unsetting
4946         environment variables.
4948         * eshell/em-unix.el (eshell/diff): Added logic to fail more
4949         gracefully if the user enters incorrect arguments.
4951         * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
4952         Eshell buffers.
4954         * eshell/esh-var.el (eshell-interpolate-variable):
4955         * eshell/esh-mode.el (eshell-move-argument):
4956         * eshell/em-unix.el (eshell-du-sum-directory):
4957         * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
4958         * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
4959         (not (= ...)).
4961         * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
4962         to ensure the `preserve' flag gets propagated when doing recursive
4963         directory copies.
4965 2000-08-28  Stefan Monnier  <monnier@cs.yale.edu>
4967         * eshell/em-hist.el (eshell-put-history, eshell-get-history):
4968         Don't convert \n into \0177 in memory.
4969         (eshell-read-history, eshell-write-history): Convert \n to \0177,
4970         and back again, when reading and writing.
4972 2000-08-28  Eli Zaretskii  <eliz@is.elta.co.il>
4974         * eshell/esh-util.el (eshell-processp): Added to relieve constant
4975         testing of `fboundp' on `processp'.
4977         * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
4978         (eshell/jobs): Don't call process-list if it is not bound.
4979         (eshell-gather-process-output): Support systems where async
4980         subprocesses aren't supported.
4981         (eshell-scratch-buffer, eshell-last-sync-output-start): New
4982         variables.
4984         * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
4985         eshell-do-eval returns t.
4986         (eshell-do-pipelines-synchronously): New defmacro.
4987         (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
4988         when async subprocesses aren't supported.
4989         (eshell-do-eval): Use eshell-processp.  Don't throw eshell-defer
4990         if async subprocesses aren't supported.
4991         (eshell-resume-command): Don't assume STATUS is a string.
4993         * eshell/em-unix.el (eshell/rm): Use eshell-processp.
4995         * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
4996         (eshell-close-target, eshell-get-target): Use eshell-processp.
4997         (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
4998         fix.
4999         (eshell-get-target, eshell-create-handles): Doc fix.
5001 2000-08-28  Miles Bader  <miles@lsi.nec.co.jp>
5003         * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
5004         criterion to include commands that output something, as long as it
5005         leaves both the command and the end-of-buffer visible when the
5006         command has exited.
5007         (eshell-review-quick-commands): Adjust the help doc string
5008         accordingly.
5010 2000-08-28  Peter Breton  <pbreton@ne.mediaone.net>
5012         * locate.el (locate): Cleaned up locate command's interactive prompting
5013         Thanks to Fran\e,Ag\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
5015         * filecache.el (file-cache-case-fold-search): New variable
5016         (file-cache-assoc-function): New variable
5017         (file-cache-minibuffer-complete): Use file-cache-assoc-function.
5018         Use file-cache-case-fold-search variable
5019         (file-cache-add-file): Use file-cache-assoc-function
5020         (file-cache-delete-file): likewise
5021         (file-cache-directory-name): likewise
5022         (file-cache-debug-read-from-minibuffer): likewise
5024 2000-08-28  Gerd Moellmann  <gerd@gnu.org>
5026         * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
5027         (abbrev-table-name): New function.
5028         (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
5029         If non-nil list local abbrev, only.
5031 2000-08-28  Stanislav Shalunov  <shalunov@internet2.edu>
5033         * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
5034         from Gnus support code, and use special article copy buffer
5035         `(gnus-original-article-buffer)' instead.  This allows to get rid
5036         of article-hide-headers usage (which breaks in the latest Gnus
5037         version).  Thanks to Detlev Zundel.
5039 2000-08-28  Kenichi Handa  <handa@etl.go.jp>
5041         * international/quail.el (quail-use-package): Hide "... loaded"
5042         message.
5043         (quail-start-translation, quail-start-conversion): Likewise.
5045         * international/kkc.el (kkc-region): Hide "... loaded" message.
5047 2000-08-27  Dave Love  <fx@gnu.org>
5049         * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
5051 2000-08-27  Miles Bader  <miles@gnu.org>
5053         * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
5055 2000-08-27  Kenichi Handa  <handa@etl.go.jp>
5057         * international/ja-dic-cnv.el (skkdic-convert): Insert (require
5058         'ja-dic-cnv), not (require 'skkdic-cnv).
5060 2000-08-26  Miles Bader  <miles@gnu.org>
5062         * faces.el (face-x-resources): Add entry for :inherit.
5063         * cus-face.el (custom-face-attributes): Add support for :inherit
5064         attribute.  Add support for relative face heights.
5065         (custom-face-attributes-get): Treat `nil' as being a default value
5066         for :inherit (as well as `unspecified').
5068         * faces.el (set-face-attribute): Update doc string.
5069         (face-attribute-name-alist): Add :inherit.
5070         (face-valid-attribute-values): Handle :inherit.
5071         (face-read-string): Rephrase prompt to be less confusing.
5072         Assume that DEFAULT is a string, since we must return a string.
5073         (face-read-integer): Use `format' to turn DEFAULT into an
5074         acceptable default for face-read-string.  Match NEW-VALUE against
5075         the string "unspecified", not the symbol `unspecified', since
5076         that's what face-read-string returns.
5077         (read-face-attribute): Lookup a name for old-value in valid, and
5078         use it as a default if we find one.  Treat all values from
5079         face-read-string as strings.  If the default is used, don't do any
5080         more processing on the value, just use the old value directly.
5081         (read-face-and-attribute, modify-face): Tweak prompt.
5082         (read-face-name): Don't assume prompt ends with a space.
5084         * faces.el (describe-face): Add support for :inherit attribute.
5086 2000-08-25  Kenichi Handa  <handa@etl.go.jp>
5088         * terminal.el (terminal-emulator): Fix args to `concat'.  Now
5089         concat doesn't accept interger.
5091         * international/kkc.el: Remove SKK from Keywords.  Require
5092         ja-dic-utl instead of skkdic-utl.
5094         * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
5095         Provide ja-dic-cnv instead of skkdic-cnv.
5096         (ja-dic-filename): Renamed from skkdic-filename.  Referers changed
5097         (iso-2022-7bit-short): Add safe-charsets property.
5098         (skkdic-convert-postfix): Search Japanese chou-on character in
5099         addition to Hiragana character.
5100         (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
5101         (skkdic-convert): Change file names from skkdic.el to ja-dic.el
5102         (batch-skkdic-convert): Likewise.
5104         * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
5105         Provide ja-dic-utl instead of skkdic-utl.
5106         (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
5108 2000-08-24  Dave Love  <fx@gnu.org>
5110         * disp-table.el (standard-display-default): Make the test of `l'
5111         useful.
5113         * language/european.el ("Latin-8", "Latin-9"): Add input methods,
5114         mod sample text.
5116         * international/iso-ascii.el: Make pilcrow convenient string
5117         consistent with section.
5118         (iso-ascii-display): Set up multibyte characters as well as
5119         unibyte.
5121 2000-08-24  Kenichi Handa  <handa@etl.go.jp>
5123         * international/mule-cmds.el (reset-language-environment): Set
5124         default-process-coding-system to '(undecided . iso-latin-1), which
5125         makes process I/O almost consistent with file I/O.   Call this
5126         function when mule-cmds.el[c] is loaded.
5128 2000-08-22  Andrew Innes  <andrewi@gnu.org>
5130         * makefile.w32-in: New file.
5132 2000-08-22  Miles Bader  <miles@lsi.nec.co.jp>
5134         * comint.el (comint-output-filter): Compare end of
5135         comint-last-output-overlay with the start of the newly inserted
5136         text, not the end, when deciding whether to extend it.
5137         Set saved-point's insertion type to advance after insertion.
5139         * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
5140         since this is now done independently of font-lock mode.
5142 2000-08-21  Gerd Moellmann  <gerd@gnu.org>
5144         * server.el (server-kill-new-buffers): New user option.
5145         (server-existing-buffer): New buffer-local variable.
5146         (server-visit-files): When using an existing buffer, set
5147         server-existing-buffer to t.
5148         (server-buffer-done): If server-kill-new-buffers is t, kill the
5149         buffer, unless it was already present before visiting it with
5150         Emacs server.
5152 2000-08-21  Eli Zaretskii  <eliz@is.elta.co.il>
5154         * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
5155         even if the display doesn't support colors: some displays will
5156         support bold/underline faces.
5158 2000-08-21  Gerd Moellmann  <gerd@gnu.org>
5160         * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
5162         * startup.el (command-line): If user's init file had an error,
5163         add explanatory text to *Messages*.
5165 2000-08-21  Kenichi Handa  <handa@etl.go.jp>
5167         * man.el (Man-getpage-in-background): Decode the process output by
5168         the system locale coding system.
5170 2000-08-20  Dave Love  <fx@gnu.org>
5172         * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
5173         Don't test x-popup-menu.
5174         (function) <complete-function>: Complete only fbound symbols.
5175         <validate, value>: New.
5176         (variable) <complete-function>: Complete only bound symbols.
5177         (coding-system): Add :base-only, :complete-function, :validate,
5178         :value, :prompt-match.
5179         (widget-coding-system-prompt-value): Use read-coding-system and
5180         act on :base-only.
5181         (editable-field): Add :help-echo.
5182         (widget-push-button-gui, widget-push-button-cache)
5183         (widget-gui-action, widget-editable-list-gui): COmment out, along
5184         with uses.
5185         (widget-at): Make arg optional.
5186         (widget-echo-help): Adjust for current help-echo calling sequence.
5187         (widget-specify-field, widget-specify-button)
5188         (widget-specify-insert, widget-get-sibling, widget-image-find)
5189         (widget-convert, widget-insert, widget-leave-text)
5190         (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
5191         (widget-setup, widget-field-find, widget-before-change)
5192         (widget-after-change, widget-default-complete)
5193         (widget-default-create, widget-default-delete)
5194         (widget-push-button-value-create, editable-field)
5195         (widget-field-prompt-value, widget-field-validate)
5196         (widget-choice-value-create, widget-choice-action)
5197         (widget-choice-validate, widget-checklist-add-item)
5198         (widget-radio-add-item, widget-radio-chosen)
5199         (widget-radio-value-inline, widget-editable-list-value-create)
5200         (widget-editable-list-entry-create)
5201         (widget-documentation-link-add)
5202         (widget-documentation-string-value-create)
5203         (widget-regexp-validate, widget-file-complete)
5204         (widget-sexp-validate, widget-plist-convert-widget)
5205         (widget-plist-convert-widget, widget-alist-convert-widget)
5206         (widget-alist-convert-widget, widget-color-complete): Simplify,
5207         particularly to avoid bindings which aren't optimized out.
5209         * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
5210         Doc fix.
5211         (down-list, backward-up-list, up-list, kill-sexp)
5212         (backward-kill-sexp, mark-sexp): Make arg optional.
5213         (lisp-complete-symbol): Add optional arg PREDICATE.
5215         * cus-start.el: Add display-buffer-reuse-frames,
5216         file-coding-system-alist.
5218 2000-08-20  Gerd Moellmann  <gerd@gnu.org>
5220         * startup.el (command-line): Clear realized faces after
5221         modifying TTY color mappings.
5223 2000-08-20  Miles Bader  <miles@gnu.org>
5225         * faces.el (face-attr-match-p): Don't return true if ATTRS are
5226         merely a subset of FACE's attributes.
5228 2000-08-19  Miles Bader  <miles@gnu.org>
5230         * comint.el (comint-output-filter): Save the point with a marker,
5231         not just a buffer position.
5233         * international/mule.el (set-buffer-process-coding-system): Make
5234         interactive prompt less confusing.
5236 2000-08-19  Gerd Moellmann  <gerd@gnu.org>
5238         * hilit-chg.el: General cleanup of doc strings, comments and
5239         code formatting.
5241 2000-08-19  Miles Bader  <miles@gnu.org>
5243         * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
5244         Compiler macro removed; beginning-of-line is no longer always
5245         equivalent to forward-line, in the presence of fields.
5247         * comint.el (comint-output-filter): Remove ad-hoc saving of
5248         restriction, and just use save-restriction, now that it works
5249         correctly.  Don't adjust comint-last-input-start to account for
5250         our insertion; it shouldn't have moved because we don't use
5251         insert-before-markers anymore.  Comment out call to
5252         `force-mode-line-update'; why is it here?
5254         * gud.el (gud-basic-call): Temporarily widen gud comint buffer
5255         while checking for prompt to delete.  Use `forward-line 0'
5256         instead of beginning-of-line.
5257         (gud-filter): Temporarily widen gud comint buffer while
5258         examining output.
5260 2000-08-18  Stefan Monnier  <monnier@cs.yale.edu>
5262         * progmodes/sh-script.el: Big bag of typos.
5264         * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
5265         check since ispell-process is not bound when ispell is not yet loaded.
5267 2000-08-18  Dave Love  <fx@gnu.org>
5269         * image.el (find-image): Copy `spec' before using plist-put.
5271 2000-08-18  Gerd Moellmann  <gerd@gnu.org>
5273         * textmodes/ispell.el (ispell-dictionary-alist-6): Add
5274         `portugues'.
5276         * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
5277         backward-kill-sexp, analogous to kill-sexp.
5279         * progmodes/icon.el (icon-indent-line)
5280         (icon-is-continuation-line): Handle comments specially.
5282 2000-08-17  Ken Stevens <k.stevens@ieee.org>
5284         * ispell.el: Set to standard author/maintainer/keyword fields.
5285         Fine tuning to menu map appearance and operation, and added help.
5286         Remove `start' and `end' error messages when compiling.
5287         (ispell-choices-win-default-height): Fixed comment string.
5288         (ispell-dictionary-alist-1): Fixed regexp in castellano and
5289         castellano8 dictionaries.
5290         (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
5291         (ispell-dictionary-alist-4): Fixed regexp in francais-tex
5292         dictionary, added italiano dictionary.
5293         (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
5294         word character
5295         (ispell-tex-skip-alists): Added psfig support.
5296         (ispell-skip-html): Renamed from ispell-skip-sgml.
5297         (ispell-begin-skip-region-regexp, ispell-skip-region)
5298         (ispell-minor-check): Improved html skipping support to skip across
5299         code, and recognize `&' commands without propper `;' syntax;
5300         (ispell-process-line): Fix alignment error when manually
5301         correcting spelling.
5302         (ispell): Fix comment string.
5303         (ispell-add-per-file-word-list): Always put word list on new line.
5305 2000-08-17  Gerd Moellmann  <gerd@gnu.org>
5307         * format.el (format-encode-run-method): Fix error message to say
5308         `encode' instead of `decode'.  Use save-window-excursion around
5309         shell-command-on-region as in format-decode-run-method because
5310         shell-command-on-region can display a buffer with error output.
5311         (format-decode): Don't record undo information for the decoding.
5312         (format-annotate-function): Add parameter FORMAT-COUNT.  Make
5313         that number part of the temporary buffer name so that more than
5314         one decoding using a temporary buffer can happen safely.
5316         * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
5317         of `A-z' in the regexp.
5319         * hilit-chg.el: Fix typos in commentary.
5321         * help.el (view-emacs-news): Rewritten for new naming scheme
5322         for old NEWS files.
5324         * startup.el (command-line): Pop to *Messages* in case an error
5325         is signaled while loading user-init-file.
5327 2000-08-17  Andreas Schwab  <schwab@suse.de>
5329         * files.el (insert-directory): Don't lose original file name,
5330         undoing an undocumented change.
5332 2000-08-17  Alex Schroeder  <alex@gnu.org>
5334         * sql.el (sql-magic-go): Use comint-bol.
5335         (sql-copy-column): Use comint-line-beginning-position.
5336         (comint-line-beginning-position): Define a replacement for
5337         comint-line-beginning-position if it is not fboundp.
5339 2000-08-17  Alex Schroeder  <alex@gnu.org>
5341         * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
5342         it didn't have any effect anyway.
5344 2000-08-17  Alex Schroeder  <alex@gnu.org>
5346         * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
5347         --pset and pager=off instead of sending \\o|cat at the beginning
5348         of the session.
5350 2000-08-17  Miles Bader  <miles@gnu.org>
5352         * progmodes/octave-inf.el: Add compatibility definition of
5353         comint-line-beginning-position.
5355 2000-08-17  Kenichi Handa  <handa@etl.go.jp>
5357         * startup.el (normal-top-level): Look in each dir in load-path for
5358         a leim-list.el file too.  This assures of loading leim-list.el
5359         that is created at Emacs installation time even if a user have his
5360         own leim-list.el.
5362 2000-08-17  Miles Bader  <miles@gnu.org>
5364         * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
5365         foreground color to black if the background is dark.
5367 2000-08-16  Stefan Monnier  <monnier@cs.yale.edu>
5369         * loadhist.el (unload-feature): Typo.
5371         * finder.el (finder-compile-keywords):
5372         * cus-dep.el (custom-make-dependencies): Add local-variable settings
5373         to the generated file.
5375         * mail/mh-e.el (mh-make-local-vars):
5376         Replace make-variable-buffer-local with make-local-variable.
5378         * play/landmark.el:
5379         * options.el (Edit-options-{set,toggle,t,nil}):
5380         * mail/mailabbrev.el (mail-abbrevs-mode):
5381         * textmodes/tex-mode.el (tex-expand-files):
5382         * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
5384         * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
5386         * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
5387         (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
5388         Allow going past the last element.
5389         * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
5390         (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
5391         (cvs-mouse-toggle-mark): Don't move point.
5392         (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
5394         * progmodes/compile.el (grep): Provide a default set of files.
5395         (next-error): Docstring fix.
5396         (compilation-find-file): Avoid find-file (fails in a dedicated window).
5398         * emacs-lisp/easy-mmode.el (define-minor-mode):
5399         Use `symbol-value' to keep the byte-compiler quiet.
5401         * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
5402         (diff-find-source-location): New fun, extracted from diff-goto-source.
5403         (diff-goto-source): Use it.
5404         (diff-next-complex-hunk, diff-filter-lines): New function.
5405         (diff-apply-hunk): New command.
5407         * smerge-mode.el (smerge-mode-menu): Doc fix.
5409         * msb.el (msb-mode): Define it in terms of define-minor-mode.
5411 2000-08-16  Dave Love  <fx@gnu.org>
5413         * windmove.el (windmove) <defgroup>: Add :version.
5415         * net/goto-addr.el: Don't require browse-url.  Require thingatpt.
5416         (goto-address-fontify-p, goto-address-highlight-p)
5417         (goto-address-url-face, goto-address-url-mouse-face)
5418         (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
5419         (goto-address-url-regexp): Use thing-at-point-url-regexp.
5420         (goto-address-fontify, goto-address-at-mouse): Simplify,
5421         (goto-address-at-point): browse-url-url-at-point,
5422         goto-address-find-address-at-point can return nil.
5423         (goto-address-find-address-at-point): Return nil on failure.
5425         * align.el (align) <defgroup>: Add :version.
5427         * calculator.el (calculator): Add :version.
5428         (calculator): Use two lines for calculator window if `modeline'
5429         face is boxed.
5431         * play/5x5.el: Doc fixes.
5432         (5x5) <defgroup>: Add :version.
5434         * play/fortune.el (fortune) <defgroup>: Add :version.
5435         (fortune-append): Fix error message.
5436         (fortune-from-region): Doc fix.
5438         * play/pong.el (pong): Doc fix.
5440         * play/morse.el: Keywords, commentary, autoloads.
5442 2000-08-16  Eli Zaretskii  <eliz@is.elta.co.il>
5444         * desktop.el (desktop-save): Don't look at symbol-value of a
5445         member of minor-mode-alist, unless it is boundp.
5447 2000-08-16  Sam Steingold  <sds@gnu.org>
5449         * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
5450         `while'; use `with-current-buffer' instead of `save-excursion'.
5451         Removed unnecessary kludges now that "*Buffer List*" is excluded.
5453 2000-08-16  Kenichi Handa  <handa@etl.go.jp>
5455         * international/ccl.el (declare-ccl-program): Docstring modified.
5456         (ccl-execute-with-args): Likewise.
5458 2000-08-16  Miles Bader  <miles@gnu.org>
5460         * progmodes/sql.el: Add compatibility definition of
5461         comint-line-beginning-position.
5463 2000-08-15  Gerd Moellmann  <gerd@gnu.org>
5465         * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
5466         'buffer-menu' property.
5467         (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
5468         fails.
5469         (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
5470         buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
5471         wasn't killed.
5473         * buff-menu.el (list-buffers-noselect): Don't display the
5474         *Buffer List* buffer.
5476         * font-lock.el: Require jit-lock to prevent a very late
5477         `Loading jit-lock' message.
5479         * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
5480         * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
5481         mail address.
5483 2000-08-15  Miles Bader  <miles@gnu.org>
5485         * textmodes/ispell.el (ispell-graphic-p): New constant.
5486         (ispell-choices-win-default-height, ispell-help): Use
5487         `ispell-graphic-p' instead of `xemacsp'.
5489 2000-08-15  Dave Love  <fx@gnu.org>
5491         * simple.el: Autoload widget-convert when compiling.
5492         (mail-user-agent): Doc fix.
5494         * help.el (function-called-at-point, variable-at-point): Use
5495         with-syntax-table.
5496         (help-manyarg-func-alist): Add insert-and-inherit.
5498         * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
5500         * delsel.el (delsel-unload-hook): New function.
5502         * find-file.el: Doc fixes.  Move provide to end.
5503         (ff) <defgroup>: Add :link.
5504         (ff-goto-click): Deleted.
5505         (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
5506         Use mouse-set-point.
5508         * textmodes/tildify.el: Doc fixes.
5509         (tildify) <defgroup>: Add:version.
5511         * progmodes/glasses.el (glasses) <defgroup>: Add :version.
5512         (glasses-custom-set): Use set-default, not set.
5513         (minor-mode-alist): Propertize the lighter.
5514         (glasses-mode): Provide optional arg.
5516         * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
5517         (global-cwarn-mode): Don't make it a user option.  Unquote lambda.
5518         (cwarn-font-lock-feature-keywords-alist): Don't make it a user
5519         option.  Provide :type.
5520         (cwarn-configuration): Provide :type.
5521         (cwarn-mode): Doc fix.
5523         * add-log.el (change-log-merge): Doc fix.
5524         (change-log-redate): New command.
5526         * net/browse-url.el (browse-url-filename-alist): Add a clause for
5527         Doze and Dog.
5528         (browse-url): Use dolist, not mapcar.
5529         (browse-url-at-point): Check for null url.
5530         (browse-url-event-buffer, browse-url-event-point): Functions
5531         deleted.
5532         (browse-url-at-mouse, browse-url-netscape): Simplify.
5534         * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
5535         modes.
5536         (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
5537         Fix previous change to mapcan.
5538         (msb--init-file-alist, msb--add-separators)
5539         (msb--make-keymap-menu): Simplify.
5540         (msb--choose-file-menu): Use copy-sequence.
5541         (msb-mode-map): Add title to keymap.
5542         (msb-unload-hook): New function.
5544         * bs.el: Fix indentation.
5545         (bs) <defgroup>: Add :links.
5546         (bs-show): Doc fix.
5547         (bs-apply-sort-faces): Don't use window-system.
5548         (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
5550 2000-08-15  Eli Zaretskii  <eliz@is.elta.co.il>
5552         * calendar/timeclock.el (timeclock-file): Run .timelog through
5553         convert-standard-filename.
5555 2000-08-14  Gerd Moellmann  <gerd@gnu.org>
5557         * emacs-lisp/authors.el: New file.
5559         * paren.el (show-paren-priority): New user option.
5560         (show-paren-function): Set overlay priorities to
5561         show-paren-priority.
5563 2000-08-14  Miles Bader  <miles@gnu.org>
5565         * comint.el (comint-bol): Use `forward-line 0' instead of calling
5566         beginning-of-line with inhibit-field-text-motion bound.
5568 2000-08-14  Gerd Moellmann  <gerd@gnu.org>
5570         * calendar/timeclock.el: New file.
5572 2000-08-14  David Ponce  <david@dponce.com>
5574         * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
5575         `widget-button-click'. so that one can use left mouse button to
5576         click on dialog buttons.
5578 2000-08-14  Emmanuel Briot  <briot@gnat.com>
5580         * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
5581         identifiers, since XML is case sensitive
5583 2000-08-12  Miles Bader  <miles@gnu.org>
5585         * comint.el (comint-output-filter): Don't bother frobbing
5586         window-start, it doesn't seem to be necessary.
5588         * comint.el (comint-send-string, comint-send-region): Make into
5589         real functions.  Snapshot the prompt before sending.
5591 2000-08-11  Eli Zaretskii  <eliz@is.elta.co.il>
5593         * info.el (Info-find-emacs-command-nodes): Rewrite to use
5594         technique similar to Info-index, instead of relying on specific
5595         names of relevant Index nodes.
5596         (Info-goto-emacs-command-node): Bind Info-history to nil when
5597         going to the first node found by Info-find-emacs-command-nodes.
5599 2000-08-11  Eli Zaretskii  <eliz@is.elta.co.il>
5601         * menu-bar.el (menu-bar-help-menu): Add a :help string.
5603 2000-08-10  Miles Bader  <miles@gnu.org>
5605         * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
5607 2000-08-10  Eli Zaretskii  <eliz@is.elta.co.il>
5609         * info.el (Info-file-list-for-emacs): More elements for the
5610         autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
5611         and woman manuals.
5613 2000-08-10  Miles Bader  <miles@lsi.nec.co.jp>
5615         * comint.el (comint-send-input): Make the newline boundary overlay
5616         rear-nonsticky.  Use `insert' instead of `insert-before-markers'.
5617         (comint-output-filter): Use `insert' instead of
5618         `insert-before-markers'.  Extend comint-last-output-overlay when
5619         necessary since we can't rely on insert-before-markers to do it.
5620         * gud.el (gud-filter): Use `with-current-buffer' instead of
5621         save-excursion when inserting the output, so that point gets
5622         updated correctly; the old method relied on a rather dodgy
5623         side-effect of comint-output-filter to avoid the effect of
5624         save-excursion.
5626 2000-08-10  Eli Zaretskii  <eliz@is.elta.co.il>
5628         * files.el (recover-file): Call insert-directory instead of
5629         invoking `ls' directly.
5631 2000-08-10  Miles Bader  <miles@gnu.org>
5633         * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
5634         (comint-last-prompt-overlay): New variables.
5635         (comint-output-filter): Implement prompt highlighting.
5636         (comint-snapshot-last-prompt): New function.
5637         (comint-send-input): Snapshot the last prompt.
5638         Use comint-highlight-input-face.
5639         (comint-highlight-input-face): Renamed from `comint-highlight-face'.
5640         Use defface instead of defcustom.
5641         (send-invisible, comint-send-eof): Snapshot the last prompt.
5642         (comint-delchar-or-maybe-eof): Use comint-send-eof.
5643         (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
5645 2000-08-09  Stefan Monnier  <monnier@cs.yale.edu>
5647         * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
5648         (regexp-opt-group): Use a list of chars for `letters'.
5649         (regexp-opt-charset): `chars' is now a list of chars.
5650         Use a char-table rather than a vector so it works for multibyte chars.
5652         * pcvs.el (cvs-menu): Don't move point.  Use popup-menu.
5653         Set cvs-minor-current-files to the selected fileinfo.
5654         (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
5655         (cvs-mode-insert): Manually macroexpand `ignore-errors'.
5657 2000-08-09  Eli Zaretskii  <eliz@is.elta.co.il>
5659         * files.el (insert-directory): Don't call access-file on
5660         directories on DOS and Windows.
5662 2000-08-09  Kenichi Handa  <handa@etl.go.jp>
5664         * international/ccl.el (ccl-embed-data): Make ccl-program-vector
5665         longer if necessary.
5666         (ccl-embed-code): Call ccl-embed-data to store CODE in
5667         ccl-program-vector.
5669 2000-08-09  Miles Bader  <miles@gnu.org>
5671         * comint.el (comint-output-filter): Properly handle the case where
5672         the text surrounded by comint-last-output-overlay was deleted.
5674 2000-08-08  Gerd Moellmann  <gerd@gnu.org>
5676         * info.el (Info-insert-dir): Use Info-additional-directory-list if
5677         non-nil.
5678         (Info-file-list-for-emacs): Remove "info" from the list because
5679         that leads to trying to use the documentation from file `info'
5680         in various situations where it isn't appropriate, for instance
5681         C-h C-k C-h i.
5683         * ffap.el (ffap-read-file-or-url-internal): Handle case that
5684         DIR and/or STRING are nil.
5686         * progmodes/compile.el (compilation-setup): Make variable
5687         compilation-error-screen-columns buffer-local, as some comment
5688         in the code suggests it should be.
5690         * files.el (auto-mode-interpreter-regexp): New variable.
5691         (set-auto-mode): Use it.
5693         * indent.el (indent-for-tab-command): Doc fix.
5695         * mouse-sel.el (mouse-sel-mode): Doc fix.
5697         * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
5698         labels.
5700         * help.el (print-help-return-message): When
5701         display-buffer-reuse-frames is set, let the help window been quit,
5702         instead of deleting it, which might delete a reused frame.
5704 2000-08-08  Eli Zaretskii  <eliz@is.elta.co.il>
5706         * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
5707         rename a directory to a name that differs only by its letter case.
5709 2000-08-08  Kenichi Handa  <handa@etl.go.jp>
5711         * international/quail.el (quail-define-rules): Handle Quail decode
5712         map correctly.  Add code for supporting annotations.
5713         (quail-install-decode-map): New function.
5714         (quail-defrule-internal): New optional arguments decode-map and
5715         props.
5716         (quail-advice): New function.
5718 2000-08-07  Sam Steingold  <sds@gnu.org>
5720         * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
5721         `defconst', `define-condition', `with-slots'.
5722         * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
5724 2000-08-03  Miles Bader  <miles@gnu.org>
5726         * comint.el (comint-use-prompt-regexp-instead-of-fields):
5727         New variable.
5728         (comint-prompt-regexp, comint-get-old-input): Document dependence on
5729         comint-use-prompt-regexp-instead-of-fields.
5730         (comint-send-input): Add `input' field property to stuff we send to
5731         the process, if comint-use-prompt-regexp-instead-of-fields is nil.
5732         (comint-output-filter): Add `output' field property to process
5733         output, if comint-use-prompt-regexp-instead-of-fields is nil.
5734         (comint-replace-by-expanded-history)
5735         (comint-get-old-input-default, comint-show-output)
5736         (comint-backward-matching-input, comint-forward-matching-input)
5737         (comint-next-prompt, comint-previous-prompt):  Use field
5738         properties if comint-use-prompt-regexp-instead-of-fields is nil.
5739         (comint-line-beginning-position): New function.
5740         (comint-bol): Use comint-line-beginning-position.  Make ARG optional.
5741         (comint-replace-by-expanded-history-before-point): Use
5742         comint-line-beginning-position and line-end-position.
5743         (comint-last-output-overlay): New variable.
5744         (comint-mode): Make `comint-last-output-overlay' buffer-local.
5746         * shell.el (shell-prompt-pattern): Doc change.
5747         (shell-backward-command): Use line-beginning-position.
5749         * gud.el (gud-gdb-complete-command): Use
5750         comint-line-beginning-position.
5752         * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
5753         comint-bol doesn't actually go to the beginning of the line.
5755         * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
5756         if comint-use-prompt-regexp-instead-of-fields is non-nil.
5757         (try-expand-line-all-buffers): Likewise.
5759         * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
5760         explicitly matching comint-prompt-regexp.
5761         (sql-copy-column): Use comint-line-beginning-position instead of
5762         explicitly matching comint-prompt-regexp.
5764         * progmodes/octave-inf.el (inferior-octave-complete): Use
5765         comint-line-beginning-position.
5767         * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
5769         * progmodes/idlw-shell.el (idlwave-shell-send-command): When
5770         looking for a prompt, use `forward-line 0' instead of
5771         `beginning-of-line', to avoid getting caught by an input field.
5773 2000-08-07  Gerd Moellmann  <gerd@gnu.org>
5775         * files.el (shell-quote-wildcard-pattern): Make sure to return
5776         PATTERN, in the Unix case.
5778 2000-08-07  Eli Zaretskii  <eliz@is.elta.co.il>
5780         * play/zone.el (zone): Discard any pending input before running
5781         the randomly-chosen pgm.
5783 2000-08-07  Kenichi Handa  <handa@etl.go.jp>
5785         * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
5786         checking the existence of any multibyte characters.
5788 2000-08-06  Gerd Moellmann  <gerd@gnu.org>
5790         * help.el (describe-mode): Test minor-mode symbol for being
5791         bound before testing its value for being nil.
5793         * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
5794         `first', `second', and `third'.
5796         * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
5797         (second): Make it an alias for `cadr'.
5799 2000-08-06  Eli Zaretskii  <eliz@is.elta.co.il>
5801         * bs.el (bs-apply-sort-faces): Don't use window-system, since all
5802         types of display support faces now.
5804 2000-08-05  Gerd Moellmann  <gerd@gnu.org>
5806         * pcvs.el (require): Require `cl' during compilation, only.
5808         * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
5809         (toplevel): Remove `remq' and `remove' from autoloads.
5810         (cl-fake-autoloads): New variable.  If set, arrange for an error
5811         when CL functions etc. are autoloaded.
5813 2000-08-04  Eli Zaretskii  <eliz@is.elta.co.il>
5815         * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
5817         * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
5818         popped up, but the user clicks outside the menu, return an empty
5819         regexp (that causes unhighlight-regexp to have no effect).
5821         * menu-bar.el (menu-bar-games-menu): Add Zone.
5823         * hi-lock.el (toplevel): Require font-lock.
5825 2000-08-03  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
5827         * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
5828         (ebnf-8-bit-chars): New var for bug fix.
5829         (ebnf-string): Bug fix.
5831 2000-08-03  Sam Steingold  <sds@gnu.org>
5833         * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
5834         instead of `buffer-string'.
5835         (require 'cl): Always, not just when compiling.
5836         `ignore-errors' in `interactive', `list*', `defun*' &c make this
5837         necessary.
5839 2000-08-03  Eli Zaretskii  <eliz@is.elta.co.il>
5841         * international/mule-cmds.el (select-safe-coding-system): Make
5842         the message text about selecting a safe coding system more clear.
5844 2000-08-02  Gerd Moellmann  <gerd@gnu.org>
5846         * hi-lock.el: New file.
5848         * play/zone.el: New file.
5850         * replace.el (occur): Set tab-width in the *Occur* buffer to the
5851         value of tab-width in the original buffer.  Choose a line number
5852         format that's a multiple of the original buffer's tab width, so
5853         that lines appear right.
5855         * textmodes/ispell.el (ispell): New function, replacing an alias.
5856         Spell-check active region if in transient-mark-mode and mark
5857         is active; otherwise spell-check buffer.
5859 2000-08-02  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
5861         * ps-mule.el: Fix a customization problem on
5862         ps-mule-font-info-database-default.
5864 2000-08-02  Eli Zaretskii  <eliz@is.elta.co.il>
5866         * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
5867         display-mouse-p instead of window-system.
5868         (ebrowse-member-mode-map): Ditto.
5870 2000-08-01  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
5872         * progmodes/ebnf2ps.el: Update ps-print functions call.
5873         Indentation fix.  Doc fix.
5874         (ebnf-version): New version number (3.2).
5875         (ebnf-format-color, ebnf-begin-job): Code fix.
5877 2000-08-01  Eli Zaretskii  <eliz@is.elta.co.il>
5879         * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
5880         font lock support on window-system.
5881         (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
5883         * textmodes/ispell.el (ispell-highlight-spelling-error): Use
5884         display-color-p, if fboundp, instead of window-system.
5886 2000-07-31  Eli Zaretskii  <eliz@is.elta.co.il>
5888         * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
5889         instead of window-system.
5891         * wid-edit.el (widget-choose): Use display-mouse-p instead of
5892         window-system.
5893         (widget-choice-mouse-down-action): Use display-popup-menus-p
5894         instead of window-system.
5896         * strokes.el (strokes-file): Run the file name through
5897         convert-standard-filename.
5898         (strokes-mode): Call display-mouse-p instead of looking at
5899         window-system.  Change the error message accordingly.
5901         * progmodes/cpp.el (toplevel): Support faces on tty's.
5903         * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
5904         (lm-plot-square, lm-init-display): Don't use window-system.
5906         * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
5907         (gomoku-plot-square, gomoku-init-display): Don't use window-system.
5909         * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
5910         instead of looking at window-system.
5912 2000-07-30  Gerd Moellmann  <gerd@gnu.org>
5914         * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
5915         of testing if iswitchb-prepost-hooks is bound, because the
5916         latter will always be true when invoking a recursive minibuffer
5917         from an active Iswitchb buffer.
5919 2000-07-30  Eli Zaretskii  <eliz@is.elta.co.il>
5921         * files.el (shell-quote-wildcard-pattern): New function.
5922         (insert-directory): Call it.  Only prepend "\" to command on Unix
5923         and GNU/Linux systems.
5925 2000-07-30  Gerd Moellmann  <gerd@gnu.org>
5927         * eshell/esh-groups.el: Change custom :link file names
5928         from `eshell.info' to `eshell'.
5930 2000-07-30  Francis Wright  <fjw@maths.qmw.ac.uk>
5932         * dired.el (dired-build-subdir-alist): Expand subdirectory names
5933         correctly in recursive ange-ftp listings.
5935 2000-07-30  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
5937         * ps-print.el: Fix bug 1: if ps-font-size-internal,
5938         ps-header-font-size-internal and
5939         ps-header-title-font-size-internal variables are not set,
5940         ps-nb-pages and ps-line-lengths-internal crashes.  Fix bug 2: if
5941         face text property is (foreground-color . COLOR) or
5942         `(background-color . COLOR)', ps-print crashes.  Doc fix.
5943         (ps-print-version): New version number (5.2.4).
5944         (ps-plot-region): Code fix.
5945         (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
5946         (ps-face-attribute-list, ps-face-attributes, ps-face-background):
5947         Bug fix 2.
5949 2000-07-30  Milan Zamazal  <pdm@freesoft.cz>
5951         * glasses.el (glasses-make-readable): Fix uncapitalization of
5952         identifiers like `myXMLDocument'.
5954 2000-07-28  Karl Fogel  <kfogel@red-bean.com>
5956         * mail/mail-hist.el (mail-hist-previous-input)
5957         (mail-hist-next-input): Do the obvious code factorization.
5958         (mail-hist-retrieve-and-insert): New func, contains common
5959         code of above two.
5960         If inserting a message body, leave point at top.
5962 2000-07-28  Sam Steingold  <sds@gnu.org>
5964         * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
5965         Use `<=', not `<' to compare times!
5966         (ange-ftp-ls): Remove.
5968 2000-07-27  Gerd Moellmann  <gerd@gnu.org>
5970         * play/cookie1.el: Add explanation of how to make cookie.el
5971         compatible with strfile(1) to comment.
5973         * subr.el (remove, remq): New functions.
5975         * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
5976         escape `*' in regexps.
5977         (midnight-find): Reverse order of arguments in the funcall of
5978         TEST.
5980         * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
5981         and `.class'.
5983         * play/meese.el: Add Commentary section.
5985 2000-07-27  Alex Schroeder  <alex@gnu.org>
5987         * sql.el (sql-ms): Added autoload cookie.
5988         (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
5989         (sql-oracle): Ditto.
5990         (sql-help): Doc change.
5992         (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
5993         types and exceptions.
5995 2000-07-27  Alex Schroeder  <alex@gnu.org>
5997         * sql.el (sql-placeholder-history): New variable.
5998         (sql-query-placeholders-and-send): New function that will query
5999         the user and replace placeholders with user input.
6000         (sql-oracle): If running on NT, set comint-input-sender to
6001         sql-query-placeholders-and-send.
6003         (sql-stop): If in the SQLi buffer, insert stop notification, else
6004         present it as a message.
6006 2000-07-27  Alex Schroeder  <alex@gnu.org>
6008         * sql.el (sql-input-ring-separator): Doc change.
6009         (sql-input-ring-file-name): Doc change.
6010         (sql-interactive-mode): Use `sql-input-ring-separator' and
6011         `sql-input-ring-file-name' to set the comint-mode equivalents
6012         without making them local variables.
6013         (sql-stop): Don't bind `sql-input-ring-separator' and
6014         `sql-input-ring-file-name' dynamically to their comint-mode
6015         equivalents.
6017 2000-07-27  Kenichi Handa  <handa@etl.go.jp>
6019         * international/mule.el (register-char-codings): New function.
6020         (make-coding-system): Handle `safe-chars' specification in the arg
6021         PROPERTY.
6023         * international/mule-cmds.el
6024         (find-coding-systems-region-subset-p): This function deleted.
6025         (sort-coding-systems-predicate): New variable.
6026         (sort-coding-systems): New function.
6027         (find-coding-systems-region): Use
6028         find-coding-systems-region-internal.
6029         (find-coding-systems-string): Use find-coding-systems-region.
6030         (find-coding-systems-for-charsets): Check
6031         char-coding-system-table.
6032         (select-safe-coding-system-accept-default-p): New variable.
6033         (select-safe-coding-system): Mostly rewritten.  New argument
6034         ACCEPT-DEFAULT-P.
6035         (select-message-coding-system): Call select-safe-coding-system
6036         with ACCEPT-DEFAULT-P arg.
6037         (reset-language-environment): Reset default-sendmail-coding-system
6038         to the default value iso-latin-1.
6039         (set-language-environment): Don't set the obsolete variable
6040         charset-origin-alist.
6042         * international/codepage.el (cp-coding-system-for-codepage-1):
6043         Give `safe-chars' property to make-coding-system.
6045         * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
6046         calling select-message-coding-system twice.
6048         * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
6049         instead of `safe-charsets'.
6050         (cyrillic-alternativnyj): Likewise.
6051         (ccl-encode-alternativnyj): Don't check the charset
6052         cyrillic-iso8859-5.
6054 2000-07-27  Kenichi Handa  <handa@etl.go.jp>
6056         * composite.el (compose-chars-after): Preserve match data.
6058 2000-07-26  Sam Steingold  <sds@gnu.org>
6060         * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
6061         (ange-ftp-real-file-newer-than-file-p): New function.
6062         (ange-ftp-verify-visited-file-modtime): Use `float-time'.
6063         (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
6065         * tooltip.el (tooltip-float-time): Removed (use `float-time').
6066         * midnight.el (midnight-float-time): Ditto.
6068 2000-07-26  Andreas Schwab  <schwab@suse.de>
6070         * files.el (normal-backup-enable-predicate): Correct
6071         interpretation of the return value of compare-strings.
6073 2000-07-26  Gerd Moellmann  <gerd@gnu.org>
6075         * isearch.el (isearch-resume): New function.
6076         (isearch-done): Add something to command-history to resume
6077         the search.
6078         (isearch-yank-line, isearch-yank-word): Use
6079         buffer-substring-no-properties instead of buffer-substring.
6081         * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
6082         of flyspell-mouse-map.
6084         * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
6085         duplicate definition.
6086         (makefile-mode): Remove duplicate setting of local-abbrev-table.
6088         * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
6089         (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
6091 2000-07-25  Sam Steingold  <sds@gnu.org>
6093         * net/ange-ftp.el: Get modtime over the net.
6094         (ange-ftp-file-modtime): New function.
6095         (ange-ftp-write-region, ange-ftp-insert-file-contents)
6096         (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
6097         Use it.
6098         (ange-ftp-dot-to-slash): New function.
6099         (ange-ftp-fix-name-for-vms): Use it.
6101         * midnight.el (midnight-buffer-display-time): Use
6102         `with-current-buffer'.
6104 2000-07-25  Gerd Moellmann  <gerd@gnu.org>
6106         * find-dired.el: Update copyright notice.
6107         (find-dired): Offer to kill a running `find'.
6109         * enriched.el (enriched-face-ans): For a `foreground-color'
6110         property, return '(("x-color" COLOR))' so that COLOR will be
6111         output as a parameter of the x-color annotation.  Likewise for the
6112         `background-color' property.  In the case of normal face
6113         properties, don't return annotations for unspecified foreground
6114         and background face attributes.
6116 2000-07-25  Kenichi Handa  <handa@etl.go.jp>
6118         * language/japan-util.el (japanese-katakana-region): Fix handling
6119         HANKAKU argument.
6121 2000-07-25  Miles Bader  <miles@gnu.org>
6123         * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
6124         constrain-to-field.  Pass nil ESCAPE-FROM-EDGE argument to
6125         constrain-to-field.
6127 2000-07-24  Andrew Innes  <andrewi@gnu.org>
6129         * timer.el (timer-activate-when-idle): Add optional parameter
6130         DONT-WAIT.  Update docstring.
6131         (run-with-idle-timer): Specify extra parameter to
6132         timer-activate-when-idle, so that timer will be activated
6133         immediately if Emacs is already idle.
6135         * w32-fns.el (w32-using-nt): Fix docstring.
6137 2000-07-24  Dave Love  <fx@gnu.org>
6139         * mouse.el (popup-menu): Set last-command-event.
6140         (mouse-major-mode-menu-prefix): Declare.
6142 2000-07-24  Gerd Moellmann  <gerd@gnu.org>
6144         * textmodes/flyspell.el: Update to author's version 1.5d.
6146         * progmodes/hideshow.el: Update copyright notice.
6148         * vcursor.el: Set maintainer to FSF, since author cannot
6149         be reached.
6151 2000-07-24  Eli Zaretskii  <eliz@is.elta.co.il>
6153         * info.el (Info-goto-emacs-key-command-node): Leave a space after
6154         the prompt.
6156         * mouse.el (popup-menu): Run the keymap through indirect-function,
6157         in case it was defined with define-prefix-key.  If the menu is a
6158         list of keymaps, look up the binding of user's choice in each one
6159         of the keymaps.
6160         (mouse-popup-menubar): If the global and local menu-bar keymaps
6161         don't have a prompt string, create one and insert it into the
6162         keymap.  Don't barf if current-local-map returns nil.
6164 2000-07-24  Francis Wright  <fjw@maths.qmw.ac.uk>
6166         * dired.el (dired-sort-R-check): Added to allow recursive listing
6167         to be undone.
6168         (dired-sort-other): Use it.
6170 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6172         * Release of cc-mode 5.27
6174 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6176         * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
6177         c-beginning-of-statement-1 that caused a bad case of recursion
6178         which could consume a lot of CPU in large classes in languages
6179         that have in-expression classes (i.e. Java and Pike).
6181         * cc-engine.el (c-guess-basic-syntax): Check for in-expression
6182         statements before top level constructs (i.e. case 6 is moved
6183         before case 5 and is now case 4) to catch in-expression
6184         classes in top level expressions correctly.
6186 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6188         * cc-engine.el (c-guess-basic-syntax): Less naive handling of
6189         objc-method-intro. Case 4 removed and case 5I added.
6191         * cc-langs.el (c-append-paragraph-start): New variable used by
6192         c-common-init to get paragraph-start correct.
6193         * cc-langs.el (c-common-init): Use c-append-paragraph-start to
6194         initialize paragraph-start to make it correct both with and
6195         without the javadoc special case.
6197         * cc-mode.el (java-mode): Use c-append-paragraph-start to
6198         initialize paragraph-start for javadoc markup.
6200         * cc-vars.el (c-style-variables-are-local-p): Incompatible
6201         change by defaulting this to t.  It's motivated by the
6202         confusing behavior that otherwise arise from the style system
6203         when editing both java and non-java files at the same time
6204         (see the comments about style setting in c-common-init).
6206 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6208         * cc-cmds.el (c-indent-new-comment-line): Added a kludge
6209         similar to the one in c-fill-paragraph to check the fill
6210         prefix from the adaptive fill function for sanity.
6212 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6214         * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
6215         defun block.
6217 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6219         * cc-mode.texi Documented the change of cpp-macro.
6221 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6223         * cc-align.el (c-lineup-multi-inher): Handle lines with
6224         leading comma nicely. Extended to handle member initializers
6225         too.
6227         * cc-engine.el: (c-beginning-of-inheritance-list,
6228         c-guess-basic-syntax): Fixed recognition of inheritance lists
6229         when the lines begins with a comma.
6231         * cc-mode.texi: Updated doc for c-lineup-multi-inher.
6233         * cc-vars.el (c-offsets-alist): Changed default for
6234         member-init-cont to c-lineup-multi-inher since it now handles
6235         member initializers and indents better for leading commas.
6237 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6239         * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
6240         handling that caused class open lines to be recognized as
6241         statement-conts in some cases.
6243         * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
6244         guessed by the adaptive fill function unless point is on the
6245         first line of a block comment.
6247         * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
6248         when the buffer ends with a macro continuation char.
6250         * cc-engine.el (c-guess-basic-syntax): Added support for
6251         function definitions as statements in Pike.  The first
6252         statement in a lambda block is now labeled defun-block-intro
6253         instead of statement-block-intro.
6255         * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
6256         so that the class surrounding point is selected, not the one
6257         innermost in the state.
6259         * cc-engine.el (c-guess-basic-syntax): Fixed bug in
6260         recognition of switch labels having hanging multiline
6261         statements.
6263         * cc-engine.el (c-beginning-of-member-init-list): Broke out
6264         some code in c-guess-basic-syntax to a separate function.
6265         * cc-engine.el (c-just-after-func-arglist-p): Fixed
6266         recognition of member inits with multiple line arglists.
6267         * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
6268         member-init-cont when the commas are in funny places.
6270 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6272         * cc-defs.el (c-auto-newline): Removed this macro since it's
6273         not used anymore.
6275         * cc-engine.el (c-looking-at-bos): New helper function.
6276         * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
6277         inexpr and toplevel classes apart in Pike.
6279         * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
6280         of case 9A.
6282         * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
6283         constant, since "class" can introduce an in-expression class
6284         in Pike nowadays.
6286 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6288         * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
6289         indentation on cpp-macro lines.
6291         * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
6292         a syntax modifier like comment-intro, to make it possible to
6293         get syntactic indentation for preprocessor directives.  It's
6294         incompatible wrt to lineup functions on cpp-macro, but it has
6295         no observable effect in the 99.9% common case where cpp-macro
6296         is set to -1000.
6298 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6300         * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
6301         member-init-cont when the preceding arglist is several lines.
6303 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6305         * cc-styles.el (c-style-alist): The basic offset for the BSD
6306         style corrected to 8.
6308 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6310         * cc-styles.el (c-style-alist): Adjusted the indentation of
6311         brace list openers in the gnu style.
6313 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6315         * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
6317         * cc-cmds.el (c-electric-brace, c-electric-slash,
6318         c-electric-star, c-electric-semi&comma, c-electric-colon,
6319         c-electric-lt-gt, c-electric-paren): Don't reindent old lines
6320         when c-syntactic-indentation is nil.
6322         * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
6323         we were left at comments preceding the first statement when
6324         reaching the beginning of the buffer.
6326         * cc-vars.el (c-syntactic-indentation): New variable to turn
6327         off all syntactic indentation.
6329 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6331         * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
6332         between the text and the block comment ender when it hangs,
6333         depending on how many there are before the fill.
6335 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6337         * cc-engine.el (c-beginning-of-closest-statement): New helper
6338         function to go back to the closest preceding statement start,
6339         which could be inside a conditional statement.
6340         * cc-engine.el (c-guess-basic-syntax): Use
6341         c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
6343         * cc-engine.el (c-guess-basic-syntax): Better handling of
6344         arglist-intro, arglist-cont-nonempty and arglist-close when
6345         the arglist is nested inside parens.  Cases 7A, 7C and 7F
6346         changed.
6348         * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
6349         up-to-date with javadoc 1.2.
6351 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6353         * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
6354         multiline Pike type decls.
6356 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6358         * cc-cmds.el (c-indent-new-comment-line): Always break
6359         multiline comments in multiline mode, regardless of
6360         comment-multi-line.
6362 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6364         * cc-engine.el (c-guess-basic-syntax): Fixed bug with
6365         fully::qualified::names in C++ member init lists.  Preamble in
6366         case 5D changed.
6368 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6370         * cc-langs.el (c-common-init): Handling of obsolete variables
6371         moved to c-initialize-cc-mode.  More compatible style override
6372         when using global style variables.
6373         * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
6374         variables moved here.
6376         * cc-mode.texi: Documented the special behavior of
6377         c-special-indent-hook as a style variable.  Don't talk about
6378         doing (c-make-styles-buffer-local t) in a mode hook, since
6379         that's already too late to work right.
6381         * cc-styles.el (c-make-styles-buffer-local): Flag style
6382         variable localness in c-style-variables-are-local-p to make
6383         the compatibility measure in c-common-init work well.
6385         * cc-styles.el (c-set-style-1): c-special-indent-hook can no
6386         longer contain set-from-style.
6387         * cc-styles.el (c-initialize-builtin-style): Don't check for
6388         set-from-style on c-special-indent-hook.
6389         * cc-styles.el (c-copy-tree): Obsolete.  The standard function
6390         copy-alist is sufficient now.
6392         * cc-styles.el (c-set-style, c-set-style-1,
6393         c-get-style-variables): Fixes to variable initialization so
6394         that duplicate entries in styles have the same effect
6395         regardless of DONT-OVERRIDE.
6397         * cc-styles.el (c-set-style-2): Fixed bug where the
6398         initialization of inheriting styles failed when the
6399         dont-override flag is set.
6401         * cc-vars.el (c-special-indent-hook): Don't use set-from-style
6402         on this.
6404 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6406         * cc-defs.el (c-forward-comment): Removed the workaround
6407         introduced in 5.38 since it had worse side-effects.  If a line
6408         contains the string "//\"", it regarded the // as a comment
6409         start since the \ temporarily doesn't have escape syntax.
6411 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
6413         * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
6414         ada-xref.el before ada-prj.el, so that the Project menu is created
6415         when ada-prj tries to add to it.
6416         (ada-activate-keys-for-case): Suppress the characters that are not
6417         part of the Ada syntax. Better compatibility with else-mode
6418         (ada-adjust-case-interactive): When auto-casing is not active,
6419         correctly insert newlines (used to insert only ^M).  Prevent the
6420         syntax table from being changed in case of an error
6421         (or '_' becomes part of a word and some commands are confused).
6422         Do nothing if ada-auto-case is nil.
6423         (ada-after-keyword-p): Ignore keywords that are also attributes
6424         (ada-batch-reformat): Update usage comment
6425         (ada-call-from-contextual-menu): New function
6426         (ada-case-read-exceptions): Reinitialize the casing exception list
6427         first to nil first, so that the casing exception file can be
6428         shared.
6429         (ada-check-defun-name): Handles "configure" keyword for gnatdist
6430         files.
6431         (ada-compile-goto-error): Fix regexp used to detect a file:line
6432         anywhere in the error message
6433         (ada-contextual-menu-last-point): New variable
6434         (ada-create-keymap): If the variable delete-key-deletes-forward is
6435         t on XEmacs, it means that DEL should delete one character
6436         forward.
6437         (ada-create-menu): Use :included instead of :visible for XEmacs.
6438         New submenu "Options".
6439         (ada-end-stmt-re): Correctly indent "select ... then abort"
6440         statements.
6441         (ada-fill-comment-paragraph): Correctly delete all leading '--'
6442         even if they don't match ada-fill-comment-prefix Fix handling of
6443         paragraphs on the first or last line of a file.
6444         (ada-format-paramlist): Fix handling of default parameter values.
6445         (ada-get-body-name): New function.
6446         (ada-get-current-indent): Optimized by searchling directly for an
6447         existing generic part or a statement outside of it.  Handle
6448         ada-indent-align-comments when indenting comments Replaced some
6449         regexps by testing directly the next character. This results in a
6450         huge speedup on some files.  New indentation scheme for renames
6451         statements.  Stop looking for the 'while' or 'for' associated with
6452         a 'loop' at the first semicolon encountered.  A "return" can also
6453         match an anonymous access subprogram declaration.
6454         (ada-get-indent-noindent): Ignore strings and comments when
6455         looking for the keywords "record" and "private".
6456         (ada-goto-matching-decl-start): When matching "if", make sure we
6457         are not in fact seeing "end if".  Ignore "when" statements except
6458         when initial keyword was "begin".  Fix handling of nested
6459         procedures.  Add a recursive call to this function to skip over
6460         other 'end' statmts.  Fix indentation for "when .. => begin"
6461         (ada-in-open-paren-p): Fix indentation for complex boolean
6462         expressions, where 'and then', 'or else' and parenthesis
6463         statements are mixed up.
6464         (ada-in-paramlist-p): Skip comments while searching for the
6465         beginning Fix handling of operator declarations.
6466         (ada-indent-align-comments): New variable
6467         (ada-indent-current): Change the syntax table only in the
6468         protected section, so that we are sure it is restored correctly.
6469         (ada-indent-on-previous-lines): Use ada-use-indent and
6470         ada-with-indent Correctly indent "select ... then"
6471         (ada-indent-region): Slight speedup.
6472         (ada-indent-renames): New variable.
6473         (ada-last-which-function-subprog, ada-last-which-function-line):
6474         New variables
6475         (ada-looking-at-semi-private): Correctly indent the 'private'
6476         keyword when it is the first word in a package declaration.
6477         (ada-loose-case-word): Stop searching if at the end of the buffer.
6478         (ada-loose-case-word, ada-capitalize-word): Recase the whole word
6479         even if point is not initially at the end of the word.
6480         (ada-matching-decl-start-re): Add "when".
6481         (ada-mode): Add support for abbrev-mode, outline-mode and
6482         which-func-mode Override the old find-file.el entry in
6483         ff-special-constructs since it is using the obsolete
6484         ada-spec-suffix variable
6485         (ada-no-auto-case): New function
6486         (ada-scan-paramlist): When parsing the argument type, accept
6487         spaces (as in "X 'Class", generated by Rational Rose).
6488         (ada-other-file-name): No longer loads the other file.
6489         (ada-popup-menu): Save and restore the current buffer and cursor
6490         position before and after displaying the menu.
6491         (ada-search-ignore-complex-boolean): New function.
6492         (ada-uncomment-region): Emacs21 already knows how to delete
6493         comments not starting in the first column.
6494         (ada-use-indent): New variable
6495         (ada-which-function): New function.
6496         (ada-with-indent): New variable
6497         (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
6498         can be batch-compiled from the command line.
6500         * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
6501         Add to the menu when the file is loaded, not in ada-mode-hook.
6502         Add -toolbar to the default ddd command Switches moved from
6503         ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
6504         ada-prj-default-comp-opt
6505         (ada-add-ada-menu): Remove the map and name parameters Add the Ada
6506         Reference Manual to the menu
6507         (ada-check-current): rewritten as a call to ada-compile-current
6508         (ada-compile): Removed.
6509         (ada-compile-application, ada-compile-current, ada-check-current):
6510         Set the compilation-search-path so that compile.el automatically
6511         finds the sources in src_dir.  Automatic scrollong of the
6512         compilation buffer.  C-uC-cC-c asks for confirmation before
6513         compiling
6514         (ada-compile-current): New parameter, prj-field
6515         (ada-complete-identifier): Load the .ali file before doing
6516         processing
6517         (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
6518         conform to gnatmake's behavior.
6519         (ada-find-file-in-dir): New function
6520         (ada-find-references): Set the environment variables for gnatfind
6521         (ada-find-src-file-in-dir): New function.
6522         (ada-first-non-nil): Removed
6523         (ada-gdb-application): Add support for jdb, the java debugger.
6524         (ada-get-ada-file-name): Load the original-file first if not done
6525         yet.
6526         (ada-get-all-references): Handles the new ali syntax (parent types
6527         are found between <>).
6528         (ada-initialize-runtime-library): New function
6529         (ada-mode-hook): Always load a project file when a file is opened,
6530         so that the casing exceptions are correctly read.
6531         (ada-operator-re): Add all missing operators ("abs", "rem", "**").
6532         (ada-parse-prj-file): Use find-file-noselect instead of find-file
6533         to open the project file, since the latter does not work with
6534         speedbar Get default values before loading the prj file, or the
6535         default executable file name is wrong.  Use the absolute value of
6536         src_dir to initialize ada-search-directories and
6537         compilation-search-path,...  Add the standard runtime library to
6538         the search path for find-file.
6539         (ada-prj-default-debugger): Was missing an opening '{'
6540         (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
6541         variables.
6542         (ada-prj-default-gnatmake-opt): New variable
6543         (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
6544         buffers, the project file is the default one Save the windows
6545         configuration before displaying the menu.
6546         (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
6547         (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
6548         ...)  regexp-quote identifiers names to support operators +,
6549         -,... in regexps.
6550         (ada-remote): New function.
6551         (ada-run-application): Erase the output buffer before starting the
6552         run Support remote execution of the application.  Use
6553         call-process, or the arguments are incorrectly parsed
6554         (ada-set-default-project-file): Reread the content of the active
6555         project file, not the one from the current buffer When a project
6556         file is set as the default project, all directories are
6557         automatically associated with it.
6558         (ada-set-environment): New function
6559         (ada-treat-cmd-string): New special variable ${current}
6560         (ada-treat-cmd-string): Revised.  The substitution is now done for
6561         any ${...} substring
6562         (ada-xref-current): If no body was found, compiles the spec
6563         instead.  Setup ADA_{SOURCE,OBJECTS}_PATH before running the
6564         compiler to get rid of command line length limitations.
6565         (ada-xref-get-project-field): New function
6566         (ada-xref-project-files): New variable
6567         (ada-xref-runtime-library-specs-path)
6568         (ada-xref-runtime-library-ali-path): New variables
6569         (ada-xref-set-default-prj-values): Default run command now does a
6570         cd to the build directory.  New field: main_unit Provide a default
6571         file name even if the current buffer has no prj file.
6573         * ada-prj.el:
6574         Rewritten to show a tabbed-dialog.
6575         (ada-prj-add-ada-menu): Remove the map and name parameters.
6576         (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
6577         New function
6578         (ada-prj-load-directory, ada-prj-subdirs-of): New functions
6579         (ada-prj-load-from-file): New function
6580         (ada-prj-save): Always save fields that depend on the current buffer
6581         (ada-prj-show-value): New function
6583         * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
6584         Ada mode. This will allow us to display the Ada menu in any buffer
6585         we want (for project items).
6586         (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
6587         number of spaces in the header.
6589 2000-07-24  Dave Love  <fx@gnu.org>
6591         * ediff-init.el (ediff-region-help-echo): Bind face-help.
6593 2000-07-23  Noah Friedman  <friedman@splode.com>
6595         * type-break.el (type-break): perform autosave.
6596         Suggested by Stephen Gildea <gildea@intouchsys.com>.
6597         (type-break-do-query): Cancel query schedule while performing
6598         actual query, to avoid possibility of a second query being made
6599         while first one is already in progress.
6600         (type-break-time-stamp-format): New variable.
6601         (type-break-time-stamp): New function.
6602         (type-break-time-warning): Use it.
6603         (type-break-keystroke-warning): Use it.
6604         (type-break-noninteractive-query): Use it.
6606         * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
6607         cookie.
6608         Use add-minor-mode to set minor-mode-alist, if available.
6609         (eldoc-echo-area-use-multiline-p): New user option.
6610         (eldoc-echo-area-multiline-supported-p): New variable.
6611         (eldoc-docstring-format-sym-doc): Use them.
6612         (eldoc-mode): If not using idle timers, append to local post and
6613         pre command hooks.  Suggested by David Byers <davby@ida.liu.se>.
6614         (eldoc-display-message-no-interference-p): Don't interfere with
6615         edebug.
6616         Add autoload cookie for eldoc-mode minor-mode-alist initialization.
6617         (eldoc-function-arglist): New function.
6618         (eldoc-function-argstring): Use it.
6620         * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
6621         auto save directory exists before calling directory-files.
6623 2000-07-23  Dave Love  <fx@gnu.org>
6625         * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
6626         ^o, ^u.
6628 2000-07-21  Dave Love  <fx@gnu.org>
6630         * ediff-init.el (ediff-region-help-echo): Modify to use overlay
6631         now passed to the function.  It now works properly.
6633         * smerge-mode.el (smerge-mode-menu): Fill it out.
6635 2000-07-20  Gerd Moellmann  <gerd@gnu.org>
6637         * info-look.el (info-lookup): If *info* is shown in another frame
6638         on the same display, select that frame, instead of switching to
6639         the Info buffer in another window of the selected frame.
6641         * simple.el (universal-argument-map): Bind numeric keypad keys
6642         kp-0 to kp-9 and kp-subtract.
6643         (digit-argument): Handle these keys.
6645 2000-07-20  Dave Love  <fx@gnu.org>
6647         * net/goto-addr.el (goto-address-fontify): Don't bother with
6648         buffer-modified and read-only stuff -- irrelevant with overlays.
6649         Put an extra property on the overlays and use it to clean up in
6650         case goto-address is re-run.
6652 2000-07-19  Richard M. Stallman  <rms@gnu.org>
6654         * timer.el (run-with-idle-timer): Doc fix.
6656         * mail/mail-utils.el (mail-strip-quoted-names):
6657         Handle case where <...> appears inside "...".
6658         Use replace-match to edit the string more simply.
6659         (rmail-dont-reply-to): Cope with an unmatched ".
6661 2000-07-19  Dave Love  <fx@gnu.org>
6663         * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
6664         implementation.
6666         * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
6667         (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
6668         (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
6670 2000-07-19  Gerd Moellmann  <gerd@gnu.org>
6672         * textmodes/refer.el: Correct maintainer's email address.
6674         * progmodes/hideif.el: Correct author's email address.
6675         Fix typo in comment.
6677         * xml.el: New file.
6679         * mail/mailheader.el: Correct author's mail address.
6681         * gnus/parse-time.el: Correct author's mail address.
6683 2000-07-19  Colin Walters <walters@cis.ohio-state.edu>
6685         * comint.el (comint-highlight-input, comint-highlight-face):
6686         New user options.
6687         (comint-input-ring-file-name): Change custom type.
6688         (comint-mode-map): Bind mouse-2.
6689         (comint-insert-clicked-input): New function.
6690         (comint-send-input): Handle input highlighting.
6692 2000-07-18  Stefan Monnier  <monnier@cs.yale.edu>
6694         * mouse.el (popup-menu): New function.
6695         (mouse-major-mode-menu): Use it.
6697 2000-07-18  Dave Love  <fx@gnu.org>
6699         * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
6700         improvements.
6702 2000-07-18  Gerd Moellmann  <gerd@gnu.org>
6704         * faces.el (face-font-selection-order)
6705         (face-font-family-alternatives): Add custom type.
6707 2000-07-18  Dave Love  <fx@gnu.org>
6709         * cus-edit.el (custom-variable-reset-saved)
6710         (custom-variable-reset-standard): Remove unused bindings.
6712         * rect.el (open-rectangle-line): Remove unused let.
6714         * hl-line.el (hl-line-highlight): Check hl-line-mode.
6716 2000-07-18  Gerd Moellmann  <gerd@gnu.org>
6718         * cdl.el: Fix `Maintainer' keyword.
6720         * play/pong.el: Add author's email address.
6722 2000-07-17  Sam Steingold  <sds@gnu.org>
6724         * files.el (insert-directory): Call `split-string' instead of
6725         re-implementing it.
6727 2000-07-18  Gerd Moellmann  <gerd@gnu.org>
6729         * mail/vms-pmail.el: Change maintainer to FSF.
6731         * net/goto-addr.el: Change maintainer to FSF.
6733         * recentf.el: Update from author.
6735         * info.el (Info-title-face-alist): Removed.
6737 2000-07-18  Eli Zaretskii  <eliz@is.elta.co.il>
6739         * eshell/eshell.el (eshell): Replace links to eshell.info with
6740         links to eshell, to avoid problems on systems where the manual is
6741         installed as `eshell'.
6742         * eshell/esh-cmd.el (eshell-cmd): Ditto.
6743         * eshell/em-smart.el (eshell-smart): Ditto.
6744         * eshell/em-banner.el (eshell-banner): Ditto.
6745         * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
6747         * eshell/em-unix.el (eshell-shuffle-files): Don't disable
6748         same-file check in the MS-DOS version (it does support inodes).
6750         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
6752         * eshell/eshell.el (eshell-directory-name):
6753         Run default directory name through convert-standard-filename.
6755 2000-07-18  Kenichi Handa  <handa@etl.go.jp>
6757         * international/mule-cmds.el (select-safe-coding-system):
6758         Fix typo in the comment.
6760         * language/european.el (compound-text):
6761         Force katakana-jisx0201 to be designated to G1.
6763         * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
6764         Don't translate some national variant characters of latin-jisx0201.
6765         (x-ctext): Force katakana-jisx0201 to be designated to G1.
6767         * international/kkc.el (kkc-after-update-conversion-functions):
6768         New variable.
6769         (kkc-update-conversion): Run functions in it at the tail.
6771 2000-07-16  John Wiegley  <johnw@gnu.org>
6773         * lisp/align.el (align-newline-and-indent):
6774         Adding new function.  for auto-aligning blocks of code on RET.
6775         (align-region): Fixed badly formatted minibuffer message.
6777 2000-07-17  Kenichi Handa  <handa@etl.go.jp>
6779         * international/kkc.el (kkc-show-conversion-list-count): Customize it.
6780         (kkc-region): Update kkc-next-count and kkc-prev-count here.  Show
6781         the conversion list at first if appropriate.
6782         (kkc-next): Don't update kkc-next-count here.
6783         (kkc-prev): Don't update kkc-prev-count here.
6784         (kkc-show-conversion-list-update): Fix setting up of conversion
6785         list message.
6787 2000-07-16  Stefan Monnier  <monnier@cs.yale.edu>
6789         * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
6791 2000-07-16  Dave Love  <fx@gnu.org>
6793         * cus-edit.el (custom-buffer-create-internal): Use a help-echo
6794         function to be more specific.
6796         * wid-edit.el (widget-specify-field, widget-specify-button): Allow
6797         non-string help-echo.
6798         (widget-types-convert-widget): Defsubst it.
6799         (widget-echo-help): Try to cope with a help-echo function of two
6800         possible sorts.
6802 2000-07-15  Jason Rumney  <jasonr@gnu.org>
6804         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
6805         Declare as obsolete.
6807         * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
6809 2000-07-14  Gerd Moellmann  <gerd@gnu.org>
6811         * hilit-chg.el: Fix typo.
6813 2000-07-14  Dave Love  <fx@gnu.org>
6815         * info.el (Info-mode-menu): Fix use of :help, :enable.
6817 2000-07-14  Stefan Monnier  <monnier@cs.yale.edu>
6819         * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
6821 2000-07-13  Dave Love  <fx@gnu.org>
6823         * emacs-lisp/easymenu.el: Doc fixes.
6824         (easy-menu-remove): Defalias to ignore.
6826         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
6827         Call throw correctly.
6829 2000-07-13  Gerd Moellmann  <gerd@gnu.org>
6831         * faces.el (frame-background-mode): Doc fix.
6833         * simple.el (eval-expression-print-length): Change custom type to
6834         allow entering nil as value.
6836 2000-07-13  Dave Love  <fx@gnu.org>
6838         * progmodes/fortran.el (fortran-imenu-generic-expression):
6839         Change definition layout.
6840         (fortran-mode-menu): Reinstate customize entries.
6842         * cus-edit.el (custom-group-menu-create, customize-menu-create):
6843         Use :filter, per old XEmacs code.
6845 2000-07-12  Gerd Moellmann  <gerd@gnu.org>
6847         * term.el (term-send-raw-meta): Strip modifiers from the keyboard
6848         event when deciding what to send to the terminal.
6850 2000-07-12  Dave Love  <fx@gnu.org>
6852         * cus-start.el: Add optional version as 4th element of specs and
6853         use it for several things new in v21.  Remove load-path.  Fix type
6854         of line-number-display-limit.
6856 2000-07-11  Dave Love  <fx@gnu.org>
6858         * progmodes/fortran.el: Don't require easymenu.
6859         Use repeat counts in various regexps.
6860         (fortran-mode-syntax-table): Defvar directly.
6861         (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
6862         (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
6863         Use defvar, not defconst.
6864         (fortran-mode-map): Change locals in `let'.  Use `fortran-auto-fill'.
6865         (fortran-mode): Set fortran-comment-line-start-skip,
6866         fortran-comment-line-start-skip, dabbrev-case-fold-search.
6867         (fortran-comment-indent): Use defsubst.
6868         (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
6869         Use fortran-comment-indent, not fortran-comment-indent-function.
6870         (fortran-comment-region, fortran-electric-line-number): Simplify.
6871         (fortran-auto-fill): New function.
6872         (fortran-do-auto-fill): Deleted.
6873         (fortran-find-comment-start-skip):
6874         Check for non-null comment-start-skip.
6875         (fortran-auto-fill-mode, fortran-fill-statement):
6876         Use fortran-auto-fill.
6877         (fortran-fill): Use fortran-auto-fill.  Check for null
6878         comment-start-skip.  Simplify final clause and use end-of-line finally.
6880         * widget.el (widget-plist-member): New alias.
6882 2000-07-11  Eli Zaretskii  <eliz@is.elta.co.il>
6884         * eshell/esh-module.el (toplevel): Reference
6885         byte-compile-current-file only if it is bound.
6887 2000-07-10  Gerd Moellmann  <gerd@gnu.org>
6889         * dired.el: Don't require `dired-aux'.
6891 2000-07-10  Miles Bader  <miles@lsi.nec.co.jp>
6893         * dired-aux.el (dired-show-file-type): New function.
6894         * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
6895         (dired-show-file-type): Add autoload.
6897 2000-07-10  Kenichi Handa  <handa@etl.go.jp>
6899         * international/mule-diag.el (describe-font): Adjusted for the
6900         change of fontset-info.
6901         (print-fontset): Likewise.
6903 2000-07-09  Stefan Monnier  <monnier@cs.yale.edu>
6905         * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
6907 2000-07-07  Gerd Moellmann  <gerd@gnu.org>
6909         * bindings.el: Bind `[delete]' to delete-char.
6911         * dired.el (dired-find-alternate-file): New function.
6912         (dired-mode-map): Bind `a' to dired-find-alternate-file.
6913         (toplevel): Require dired-aux when compiling.
6914         (dired-buffers): Move defvar within file to avoid compiler warning.
6916         * info.el (Info-last-search): Variable removed.
6917         (Info-search-history): New variable.
6918         (Info-search): New Info-search-history.
6920         * battery.el, info-look.el: Change author's mail address.
6922 2000-07-07  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
6924         * mail/rmail.el (rmail-clear-headers): Don't throw an error
6925         if rmail-ignored-headers is nil.
6926         (rmail-retry-failure): Bind rmail-ignored-headers and
6927         rmail-displayed-headers to nil.
6929 2000-07-06  Gerd Moellmann  <gerd@gnu.org>
6931         * lpr.el (lpr-page-header-switches): Add `-h' switch.
6932         (print-region-1): Don't hard code `-h' here.
6934         * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
6936 2000-07-01  Francesco Potorti`  <pot@gnu.org>
6938         * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
6939         exim can use "your message" instead of "the message".
6941 2000-07-06  Stefan Monnier  <monnier@cs.yale.edu>
6943         * facemenu.el: Docstrings fixes.
6944         (facemenu-get-face): Don't use internal-find-face.
6945         (facemenu-iterate): Rename arg to match the docstring.
6947         * newcomment.el (uncomment-region): Be more careful when skipping
6948         backwards over `=' not to bump into BOBP.
6950 2000-07-05  Michael Kifer  <kifer@cs.sunysb.edu>
6952         * ediff-diff.el (ediff-wordify): Use syntax table.
6953         * ediff-init.el (ediff-has-face-support-p): Use
6954         ediff-color-display-p.
6955         (ediff-color-display-p): Use display-color-p, changed to defun
6956         from defsubst.
6957         Got rid of special cases for NeXT and OS/2.
6958         * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
6959         face.
6961 2000-07-05  Stefan Monnier  <monnier@cs.yale.edu>
6963         * emacs-lisp/lucid.el: Require CL.
6964         (copy-tree, remprop): Remove, it's provided by CL.
6965         (map-keymap): Define in terms of cl-map-keymap.
6966         (extent-property, set-extent-end-glyph): New functions.
6968         * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
6970 2000-07-05  Gerd Moellmann  <gerd@gnu.org>
6972         * Makefile.in (DONTCOMPILE): Add comment that the name may
6973         not be changed without changing the make-dist script.
6975         * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
6976         (cl-mapc): Use mapc instead of cl-old-mapc.
6978 2000-07-05  Andrew Innes  <andrewi@gnu.org>
6980         * makefile.nt: Add support for `bootstrap' and related targets.
6982 2000-07-05  Stefan Monnier  <monnier@cs.yale.edu>
6984         * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
6985         (easy-menu-do-define): Use `menu-item' format.
6986         Handle case where easy-menu-create-menu returns a symbol.
6987         Manually call the potential top-level filter in the function binding.
6988         (easy-menu-filter-return): New arg NAME.
6989         Convert to a keymap if MENU is an XEmacs menu.
6990         (easy-menu-convert-item-1): New.  Extracted from easy-menu-do-add-item.
6991         (easy-menu-converted-items-table, easy-menu-convert-item):
6992         New var and fun to memoize easy-menu-convert-item-1.
6993         (easy-menu-do-add-item): Use it.
6994         (easy-menu-create-menu): Use easy-menu-convert-item.
6995         Wrap easy-menu-filter-return around any :filter specification.
6996         Don't convert the menu if a filter was specified.
6997         Tell easy-menu-make-symbol not to check for MENU being an expression.
6998         (easy-menu-make-symbol): New arg NOEXP.
7000 2000-07-05  Gerd Moellmann  <gerd@gnu.org>
7002         * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
7003         EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
7004         (eval-defun): If called with prefix arg, instrument code for
7005         Edebug.
7007         * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
7008         similar to that of eval-defun.
7010 2000-07-04  Dave Love  <fx@gnu.org>
7012         * hl-line.el (hl-line-overlay): Make it permanent-local.
7014         * calendar/todo-mode.el: Replaced with a working version, based on
7015         1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
7017 2000-07-03  Miles Bader  <miles@lsi.nec.co.jp>
7019         * paths.el (prune-directory-list): New function.
7020         (Info-default-directory-list): Rewritten to more methodically
7021         enumerate a big list of possible info directories (based on the
7022         list used by the standalone info reader).
7024         * info.el (info-initialize): Use prune-directory-list to remove
7025         non-existent directories from Info-directory-list.
7027         * paths.el (Info-default-directory-list): Try a list of possible
7028         info-directories instead of a single one.  Add the possible
7029         info directory "/usr/share/info".
7031         * woman.el (woman-man.conf-path): Explicitly include the debian
7032         man-db config file "/etc/manpath.config".
7033         (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
7034         are present in `manpath.config'.
7035         (woman-manpath): Include "/usr/share/man".
7037 2000-07-03  Gerd Moellmann  <gerd@gnu.org>
7039         * frame.el (blink-cursor-mode): Don't hide cursor initially.
7041         * startup.el (command-line): Initialize blink-cursor based
7042         on window-system.
7044         * frame.el (blink-cursor): Default to nil if not running under
7045         a window-system.
7047         * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
7048         (face-x-resources): Remove duplicate entry for :font.
7050         * textmodes/refer.el (refer-find-entry-internal): Use some-window
7051         instead of cycling through windows with next-window.
7053         * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
7054         of cycling through windows with next-window.
7056         * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
7057         of cycling through windows with next-window.
7059         * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
7060         (edebug-get-displayed-buffer-points): Use walk-windows/some-window
7061         instead of cycling through windows with next-window.
7063         * calendar/appt.el (appt-select-lowest-window): Use walk-windows
7064         instead of cycling through windows with next-window.
7066         * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
7067         of cycling through windows with next-window.
7069         * terminal.el (te-process-output): Use walk-windows instead of
7070         cycling through windows with next-window.
7072         * server.el (server-switch-buffer): Use some-window instead of
7073         cycling through windows with next-window.
7075         * window.el (some-window): New function.
7076         (walk-windows): Remove reference to walk-windows-start.
7078         * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
7080 2000-07-03  Richard Stallman  <rms@gnu.org>
7082         * window.el (walk-windows): Guarantee termination by keeping a list
7083         of all the windows already handled.
7085 2000-06-28  Eli Zaretskii  <eliz@is.elta.co.il>
7087         * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
7088         window-system.
7090         * man.el (Man-notify-when-ready): Don't use window-system.  If
7091         Man-notify-method is newframe, and the display is not
7092         multi-frame, select the frame created for the man page.
7093         (Man-init-defvars): Doc fix.
7095 2000-06-28  Gerd Moellmann  <gerd@gnu.org>
7097         * faces.el (region): Change background color for light background.
7099         * ediff-wind.el (ediff-setup-control-frame): Remove :box
7100         attribute from mode-line face of Ediff control frame.
7102         * replace.el (query-replace-map): Bind `e' like `E'.
7104 2000-06-28  Eli Zaretskii  <eliz@is.elta.co.il>
7106         * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
7107         Change name to "Select All".
7109         * dos-fns.el (convert-standard-filename): Fix last change.
7111 2000-06-27  Gerd Moellmann  <gerd@gnu.org>
7113         * help.el (describe-variable): Don't insert a second `'s' in front
7114         of the string `value is shown below'.  Since the syntax-table is
7115         set to emacs-lisp-mode-syntax-table, forward-sexp skips over
7116         an existing `'s', so that this won't be deleted.
7118         * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
7119         * pcmpl-unix.el: New files.
7121 2000-06-26  Stefan Monnier  <monnier@cs.yale.edu>
7123         * wid-edit.el (widget-member): Use the new plist-member.
7125 2000-06-26  Gerd Moellmann  <gerd@gnu.org>
7127         * replace.el (perform-replace): Undo change of 2000-04-04.
7128         Instead, move backward 1 character at the end of the loop when
7129         necessary.
7131         * faces.el (fringe): Change face for different backgrounds.
7133         * eshell/esh-module.el (toplevel): Load defgroup's differently;
7134         patch from John.
7136         * eshell/*.el: Change spelling of the Free Software Foundation.
7138         * eshell/esh-toggle.el: Removed.
7140         * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
7142         * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
7143         interactively.
7145 2000-06-26  Alex Schroeder  <alex@gnu.org>
7147         * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
7148         `define-key'; instead of checking `(emacs-version)' check for
7149         `set-keymap-parent' and `set-keymap-name' directly.  Add entries
7150         for `;' and `o' which might be electric.
7152         (sql-electric-stuff): New user option.
7153         (sql-magic-go): New function which uses `sql-electric-stuff'.
7154         (sql-magic-semicolon): New function which uses
7155         `sql-electric-stuff'.
7157         (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
7158         is not fboundp.
7160         (sql-oracle-options): New variable.
7161         (sql-oracle): Use it.
7163         (sql-imenu-generic-expression): Doc change.
7164         (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
7165         is used.
7167         (sql-informix): Added command line parameter "-" to force
7168         sql-informix-program to use stdout.
7170 2000-06-25  Eli Zaretskii  <eliz@is.elta.co.il>
7172         * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
7173         (cp864-decode-table): Doc fix.
7174         (cp720-decode-table): New variable, supports the Arabic OEM
7175         codepage used by Windows.
7176         (cp737-decode-table): New, Greek OEM codepage used by Windows.
7178 2000-06-23  Dave Love  <fx@gnu.org>
7180         * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
7181         (font-lock-fontify-anchored-keywords): Use
7182         line-beginning-position.
7183         (global-font-lock-mode): Use mapc.
7185 2000-06-23  Stefan Monnier  <monnier@cs.yale.edu>
7187         * eshell/esh-module.el: Require CL when compiling.
7189 2000-06-23  Gerd Moellmann  <gerd@gnu.org>
7191         * comint.el (comint-substitute-in-file-name): Call replace-match
7192         with second and third arg t.
7194         * cus-edit.el (custom-button-face, custom-button-pressed-face):
7195         Specify foreground color.
7197         * faces.el (tool-bar, mode-line, header-line): Specify foreground
7198         color.
7200         * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
7202         * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
7203         cddr instead of cdddr.
7205         * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
7206         instead of copy-list.
7208         * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
7209         of copy-list.
7211         * subdirs.el: Add eshell subdirectory.
7213         * eshell: New subdirectory containing the Eshell package.
7215         * pcomplete.el: New file.
7217 2000-06-23  Paul Eggert  <eggert@twinsun.com>
7219         * mail/mailpost.el (post-mail-send-it): Make sure file has
7220         proper permissions from birth.
7222         * files.el (basic-save-buffer-2): When temporarily setting
7223         file modes, set them to current modes plus 0200, not to 0777.
7225         * emerge.el (emerge-make-temp-file): Make sure file has proper
7226         permissions from birth.
7228 2000-06-22  Eli Zaretskii  <eliz@is.elta.co.il>
7230         * files.el (make-backup-file-name-1): On DOS/Windows, run the
7231         backup file name through convert-standard-filename.
7233         * dos-fns.el (convert-standard-filename): Convert leading
7234         directories as well.  When long file names are supported, convert
7235         characters that are invalid in Windows file names.
7237 2000-06-22  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
7239         * ps-print.el: Fix bug: if ^L is the very first buffer character,
7240         ps-print crashes.  New feature: page selection for printing.  Create
7241         raw-text-unix coding system for XEmacs.  Doc fix.
7242         (ps-print-version): New version number (5.2.3).
7243         (ps-plot-region): Bug fix.
7244         (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
7245         (ps-header-sheet, ps-generate, ps-end-job): Code fix.
7246         (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
7247         funs.
7248         (ps-selected-pages, ps-last-selected-pages, ps-first-page)
7249         (ps-last-page): New vars.
7251 2000-06-21  Gerd Moellmann  <gerd@gnu.org>
7253         * progmodes/sh-script.el (sh-while-getopts): Fix handling of
7254         empty option string.
7256 2000-06-21  Eli Zaretskii  <eliz@is.elta.co.il>
7258         * man.el (man): Doc fix.
7260 2000-06-21  Kenichi Handa  <handa@etl.go.jp>
7262         * international/mule-cmds.el (set-language-info-alist): Docstring
7263         fixed.
7265 2000-06-20  Gerd Moellmann  <gerd@gnu.org>
7267         * version.el (emacs-version): Use ISO date format.
7269         * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
7270         instead of `M-backspace'.
7272         * simple.el (turn-off-auto-fill): New function.
7274 2000-06-20  Stefan Monnier  <monnier@cs.yale.edu>
7276         * jit-lock.el (with-buffer-prepared-for-jit-lock):
7277         Renamed from with-buffer-prepared-for-font-lock and use
7278         inhibit-modification-hooks rather than setting *-change-functions.
7279         Update all functions to use the new name.
7280         (jit-lock-first-unfontify-pos): New semantics (and doc).
7281         (jit-lock-mode): Make non-interactive.
7282         Don't automatically turn on font-lock.
7283         Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
7284         Always use jit-lock-after-change.
7285         Remove and restore font-lock-after-change-function.
7286         (turn-on-jit-lock, jit-lock-after-fontify-buffer)
7287         (jit-lock-after-unfontify-buffer): Remove.
7288         (jit-lock-stealth-fontify):
7289         Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
7290         (jit-lock-after-change): Set the `fontified' text-prop to nil.
7292 2000-06-20  Sam Steingold  <sds@gnu.org>
7294         * emacs-lisp/cl-indent.el (toplevel): Indent
7295         `print-unreadable-object' properly.  Untabify.
7297 2000-06-14  Carsten Dominik  <dominik@strw.leidenuniv.nl>
7299         * textmodes/reftex.el (reftex-find-citation-regexp-format):
7300         Support for bibentry.
7301         (reftex-compile-variables): Fixed problem with end of section-re.
7303         * texmodes/reftex-dcr.el (reftex-view-crossref,
7304         reftex-view-crossref-from-bibtex):
7305         Deal with changed `reftex-find-citation-regexp-format'.
7306         (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
7307         Replaced `remprop' with `put'.
7308         (reftex-view-crossref, reftex-view-crossref-when-idle):
7309         Support for bibentry.
7311         * textmodes/reftex-vars.el (reftex-cite-format-builtin):
7312         New entry for bibentry package.
7314         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
7315         Regexp also matches "\nobibliography".
7317         * textmodes/reftex-global.el (reftex-renumber-simple-labels):
7318         Call `reftex-ensure-write-access' before doing anything.
7319         (reftex-ensure-write-access): New function.
7321 2000-06-14  Carsten Dominik  <dominik@strw.leidenuniv.nl>
7323         * progmodes/idlwave.el: File re-installed (update to version 4.2)
7325         * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
7327         * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
7329         * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
7332 2000-06-20  Dave Love  <fx@gnu.org>
7334         * faces.el (frame-background-mode): Use set-default, not set, in
7335         setter.
7336         (frame-update-faces, frame-update-face-colors): Define with
7337         defalias.
7339         * enriched.el (enriched-decode-foreground)
7340         (enriched-decode-background): Don't use internal-find-face.
7342         * apropos.el: Doc fixes.
7344         * cus-edit.el (customize-changed-options): Check arg.
7345         (customize-version-lessp): Don't require decimal point.
7347         * custom.el (defcustom, defgroup): Doc fix.
7349         * newcomment.el (comment) <defgroup>: Add :version.
7350         (comment-multi-line): Doc fix.
7352         * emulation/mlsupport.el (define-hooked-local-abbrev,
7353         define-hooked-global-abbrev): Fix, using define-abbrev.
7355 2000-06-19  Gerd Moellmann  <gerd@gnu.org>
7357         * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
7358         the whole buffer.
7360 2000-06-19  Dave Love  <fx@gnu.org>
7362         * menu-bar.el (menu-bar-options-save): New function.
7363         (menu-bar-options-menu): Use it.
7364         (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
7365         Simplify.
7367 2000-06-19  Andreas Schwab  <schwab@suse.de>
7369         * progmodes/etags.el (tags-query-replace): Put new parameters
7370         START and END at the end, for backward compatibility.
7372 2000-06-19  Kenichi Handa  <handa@etl.go.jp>
7374         * international/codepage.el:
7375         (cp-coding-system-for-codepage-1): Delete special codes for
7376         generating xxx-dos coding system because now a CCL based coding
7377         system can handle EOL conversion by default.
7379         * international/mule.el (make-coding-system): Generate subsidiary
7380         coding systems for EOL handling variants even for a CCL based
7381         coding system.
7383 2000-06-19  Kenichi Handa  <handa@etl.go.jp>
7385         * international/isearch-x.el (isearch-minibuffer-input-method)
7386         (isearch-minibuffer-input-method-function): These variables
7387         deleted.
7388         (isearch-with-input-method): Don't use the above variables.
7389         (isearch-process-search-multibyte-characters): Likewise.  Call
7390         read-string with the arg INHERIT-INPUT-METHOD t.
7392 2000-06-17  Stefan Monnier  <monnier@cs.yale.edu>
7394         * font-lock.el (font-lock-after-fontify-buffer)
7395         (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
7397         * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
7398         Use consistent make-local-variable style for font-lock-fontified.
7399         (jit-lock-fontify-buffer):
7400         Don't bother checking for font-lock-mode and jit-lock-mode.
7402         * time.el: Remove trailing ^M that prevent CVS-merging.
7404 2000-06-16  Gerd Moellmann  <gerd@gnu.org>
7406         * Makefile.in (distclean): New target.
7408 2000-06-16  Stefan Monnier  <monnier@cs.yale.edu>
7410         * Makefile.in (srcdir): Define for update-subdirs.
7412 2000-06-16  Gerd Moellmann  <gerd@gnu.org>
7414         * find-lisp.el: New file.
7416 2000-06-16  Andrew Innes  <andrewi@gnu.org>
7418         * time.el (display-time-mail-function): New variable, to allow
7419         external packages to indicate when new mail is available.
7420         (display-time-update): Use it.
7422 2000-06-16  Kenichi Handa  <handa@etl.go.jp>
7424         * international/mule.el (mule-version): Change version name to
7425         SAKAKI.  AOI has already been used by Meadow.
7427         * international/quail.el (quail-show-guidance-buf): To find the
7428         bottom window (but minibuffer), pay attention to the height of
7429         minibuffer.
7431 2000-06-15  Eli Zaretskii  <eliz@is.elta.co.il>
7433         * arc-mode.el (archive-mode-map): Use the new menu-item format for
7434         menu-bar menus.  Add help strings.  Don't remove the Edit menu
7435         from the menu bar, as the menu bar has enough space now.
7437         * Makefile.in (SHELL): Make sure /bin/sh is used.
7439         * woman.el (woman-man-buffer): Fix bold and underlined CJK
7440         characters, which use series of two ^H characters instead of one.
7442 2000-06-15  Gerd Moellmann  <gerd@gnu.org>
7444         * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
7445         (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
7446         functions.
7447         (Info-find-node-2): Try a case-sensitive search first, then
7448         do a case-insensitive search.
7450         * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
7451         tutorials.
7453         * complete.el (PC-env-vars-alist): New variable.
7454         (PC-complete-as-file-name): New function.
7455         (partial-completion-mode): Initialize PC-env-vars-alist from
7456         process-environment.
7457         (PC-do-completion): Handle completion of env vars.
7459         * info.el (Info-set-mode-line): Show file name in mode line,
7460         use `*Info*' instead of `Info:'.
7462         * startup.el (command-line-1): Change copyright messages to year
7463         2000.
7465 2000-06-15  Dave Love  <fx@gnu.org>
7467         * net/goto-addr.el (goto-address-fontify): Use keymap property,
7468         not local-map.
7470 2000-06-15  Kenichi Handa  <handa@etl.go.jp>
7472         * international/mule.el (set-buffer-file-coding-system): Almost
7473         rewritten to handle `undecided' as no-op.
7475 2000-06-14  Gerd Moellmann  <gerd@gnu.org>
7477         * Makefile.in: New file.
7479         * Makefile: Removed.
7481         * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
7482         (goto-address-highlight-keymap): Bind C-c RET.
7484 2000-06-14  Kenichi Handa  <handa@etl.go.jp>
7486         * mail/sendmail.el (sendmail-send-it): The temporary buffer
7487         inherits buffer-file-coding-system of the current buffer.
7489         * tar-mode.el (tar-extract): For goto-char, use (point-min), not
7490         0.  Give correct argument to set-auto-coding-function.
7491         (tar-expunge): For goto-char, use (point-min), not 0.
7492         (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
7493         (tar-subfile-save-buffer): Likewize.
7495         * international/mule.el
7496         (after-insert-file-set-buffer-file-coding-system): Call
7497         set-buffer-file-coding-system with the arg FORCE t.
7499 2000-06-13  Gerd Moellmann  <gerd@gnu.org>
7501         * mail/sendmail.el (mail-specify-envelope-from): Initialize to
7502         nil.  Contemporary sendmails issue an X-Authentication-Warning if
7503         the sender is set with `-f'.
7505 2000-06-13  Dave Love  <fx@gnu.org>
7507         * help.el (describe-function-1): Kluge around cases of functions
7508         fset to subrs whose doc doesn't match their symbol-name.
7510         * image.el (insert-image): Default STRING to a space.
7512         * info.el Doc fixes.
7513         (Info-build-node-completions): Match Ref tags.
7515 2000-06-13  Eli Zaretskii <eliz@is.elta.co.il>
7517         * frame.el (display-multi-frame-p, display-multi-font-p): New
7518         defaliases for display-graphic-p.
7520         * hl-line.el: Fixed a typo in commentary.
7522 2000-06-13  Kenichi Handa  <handa@etl.go.jp>
7524         * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
7525         fixed.
7527 2000-06-12  Dave Love  <fx@gnu.org>
7529         * image.el (insert-image): Save a little consing.
7531 2000-06-12  Kenichi Handa  <handa@etl.go.jp>
7533         * language/tibet-util.el: Convert all tibetan-1-column characters
7534         to the corresponding tibetan characters.
7535         (tibetan-add-components): Delete code for the special treatment of
7536         'a chung.
7538         * language/tibetan.el (tibetan-composable-pattern): Fix previous
7539         change.
7540         (tibetan-vowel-transcription-alist): More rules added.
7541         (tibetan-composite-vowel-alist): New variable.
7542         (tibetan-precomposition-rule-alist): More rules added.
7544 2000-06-12  Stefan Monnier  <monnier@cs.yale.edu>
7546         * startup.el (command-line): Only call menu-bar-mode if interactive.
7548         * thingatpt.el (toplevel symbol-properties):
7549         * textmodes/makeinfo.el (makeinfo-compile):
7550         * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
7551         * progmodes/hideif.el (hif-compress-define-list)
7552         (hide-ifdef-use-define-alist):
7553         * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
7554         (ange-ftp-vms-add-file-entry):
7555         * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
7556         * man.el (Man-build-man-command):
7557         * mail/rnewspost.el (news-reply-header-hook):
7558         * info.el (Info-insert-dir):
7559         * emulation/mlconvert.el (backward-word, forward-word, setq):
7560         * emacs-lisp/gulp.el (gulp-send-requests):
7561         * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
7562         (byte-optimize-inline-handler, byte-optimize-form-code-walker)
7563         (byte-optimize-apply, end of file):
7564         * emacs-lisp/advice.el (ad-advice-class-completion-table)
7565         (ad-make-freeze-definition):
7566         * startup.el (command-line, command-line-1): Don't quote lambdas.
7568         * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
7569         (cvs-cleanup-removed): New function.
7570         (cvs-cleanup-functions): New var.
7571         (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
7572         some flexibility in specifying additional entries to auto-cleanup.
7573         (cvs-quickdir): New function.
7574         (cvs-mode-insert): Use cvs-fileinfo-from-entries.
7575         (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
7576         (cvs-mode-find-file): Check that we are on a filename or dirname
7577         when invoked through a mouse-click.
7578         (cvs-full-path): Remove.
7579         (cvs-dired-action): Re-introduced.
7580         (cvs-dired-noselect): Use it.
7581         (vc-post-command-functions): use this new hook if available.
7583         * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
7584         (cvs-status-map): Don't inherit from cvs-mode-map anymore.
7585         (cvs-filename-map, cvs-dirname-map): Remove.
7586         (cvs-default-action): Remove.
7587         (cvs-add-face): Use `keymap' rather than `local-map' property, and only
7588         if the arg is really a keymap.
7589         (cvs-fileinfo-pp): Don't use any special map for file and dir names.
7590         Don't hardcode the mapping from state (aka type) to face, but check
7591         the var cvs-fi-<type>-face instead.
7592         (cvs-fileinfo-from-entries): New function.
7594         * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
7595         Docstring fix.
7596         (cvs-find-file-and-jump): Change default to be safer.
7597         (cvs-mode-diff-map): Define it as a function as well.
7598         (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
7599         Bind mouse-2 in this global map rather than with text-properties.
7601         * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
7602         file to resolve the ambiguity between C(conflict) and C(need-merge).
7604 2000-06-12  Kenichi Handa  <handa@etl.go.jp>
7606         * international/mule.el (set-buffer-file-coding-system): If
7607         CODING-SYSTEM is nil, set buffer-file-coding-system to nil
7608         unconditionally.
7610 2000-06-12  Dave Love  <fx@gnu.org>
7612         * wid-edit.el (widget-specify-button): Really suppress the face if
7613         required.
7615 2000-06-11  Gerd Moellmann  <gerd@gnu.org>
7617         * term/x-win.el (x-colors): Add colors from recent rgb.txt.
7619 2000-06-11  Stefan Monnier  <monnier@cs.yale.edu>
7621         * imenu.el (imenu-generic-expression): Docstring fix.
7623         * composite.el (composition-function-table): Move the `put'
7624         below the autoload cookie so we can load the file before loaddefs.
7626         * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
7628         * emacs-lisp/autoload.el (make-autoload): Use `cond'.
7629         Handle easy-mmode-define-global-mode.
7630         For complex macros like define-minor-mode that can generate
7631         several autoload entries, try to autoload entries in the
7632         macroexpanded code.
7634         * emacs-lisp/easy-mmode.el (define-minor-mode):
7635         If KEYMAP is a symbol, just use it.
7636         Use byte-compile-current-file and load-file-name to infer the
7637         proper :require to pass to defcustom.
7638         Wrap the hook var into `progn' so as not to autoload it.
7639         Add a :autoload-end cookie.
7640         Be more careful about the evaluation of KEYMAP.
7641         (easy-mmode-define-global-mode): Add a :autoload-end cookie.
7642         (define-derived-mode): Move define-abbrev-table outside of defvar.
7644 2000-06-10  Stefan Monnier  <monnier@cs.yale.edu>
7646         * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
7647         (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
7648         (backup-compiled-files): Ignore errors during `tar'.
7649         (bootstrap): Make autoloads before elc files.
7651 2000-06-10  Kenichi Handa  <handa@etl.go.jp>
7653         * international/mule.el (set-buffer-file-coding-system): If one of
7654         undecided-XXX is specified, change only EOL conversion.
7656         * international/mule-conf.el (unix): New alias for the coding
7657         system undecided-unix.
7659 2000-06-09  Dave Love  <fx@gnu.org>
7661         * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
7663         * progmodes/executable.el: Byte compile dynamic.
7664         (executable-insert): Change custom type.
7665         (executable-find): Add autoload cookie.
7666         (executable-make-buffer-file-executable-if-script-p): New
7667         function.  After Noah Friedman.
7669         * files.el (after-save-hook): Customize, with
7670         executable-make-buffer-file-executable-if-script-p as an option.
7672 2000-06-09  Kenichi Handa  <handa@etl.go.jp>
7674         * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
7675         "tib24p-mule.bdf" for Tibetan.
7677         * composite.el (decompose-composite-char): Declare it as obsolete.
7679         * man.el (Man-fontify-manpage): Pay attention to underline and
7680         overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
7682 2000-06-08  Gerd Moellmann  <gerd@gnu.org>
7684         * thingatpt.el (forward-thing): Use functionp instead of fboundp.
7685         Set maintainer to FSF since author isn't reachable.
7687 2000-06-08  Dave Love  <fx@gnu.org>
7689         * international/mule-cmds.el (select-safe-coding-system): If
7690         DEFAULT-CODING-SYSTEM is not specified, also check the most
7691         preferred coding-system if buffer-file-coding-system is
7692         `undecided'.  From Handa.
7694 2000-06-08  Kenichi Handa  <handa@etl.go.jp>
7696         * international/mule.el
7697         (after-insert-file-set-buffer-file-coding-system): If the buffer
7698         size is greater than INSERTED, judget that we are not visiting.
7700 2000-06-07  Rajesh Vaidheeswarran  <rv@gnu.org>
7702         * whitespace.el (defgroup whitespace): Comment out `:version'.
7703         XEmacs 20.4 has problems defining the group with this present.
7704         We'll have this commented out till get resolve the problem.
7706 2000-06-07  Gerd Moellmann  <gerd@gnu.org>
7708         * align.el: Update from author.
7710 2000-06-07  Jari Aalto  <jari.aalto@poboxes.com>
7712         * apropos.el (apropos-mode-hook): New user variable.
7713         (apropos-mode): Run apropos-mode-hook.
7715 2000-06-07  David Ponce  <david@dponce.com>
7717         * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
7718         commands.  Require `wid-edit' at run-time.
7720 2000-06-07  David Ponce  <david@dponce.com>
7722         * recentf.el: Added some "Commentary".
7723         (recentf-open-more-files, recentf-edit-list): Minor changes to
7724         move the point at the top of the file list.  This behaviour is
7725         consistent with the menu one when the list contains a lot of
7726         files.
7727         (recentf-cleanup): Now displays the number of items removed from
7728         the list.
7729         (recentf-relative-filter) New menu filter to show filenames
7730         relative to `default-directory'.
7732 2000-06-07  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
7734         * ps-print.el: XEmacs compatibility.  Doc fix.  Can select page size
7735         with/without giving an error if PostScript printer doesn't have this
7736         kind of page size.  Zebra Stripe continues or restarts on next page.
7737         Manual/automatic paper feeding.  Switch or not the header.
7738         (ps-print-version): New version number (5.2.2).
7739         (ps-windows-system): Include emx as a Windows system.
7740         (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
7741         (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
7742         (ps-background-text): Code fix.
7743         (ps-error-handler-message, ps-user-defined-prologue)
7744         (ps-print-prologue-header, ps-printer-name)
7745         (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
7746         (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
7747         (ps-use-face-background): Customization fix.
7748         (ps-n-up-database): Data fix.
7749         (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
7750         (ps-switch-header): New vars.
7751         (ps-xemacs-color-name, ps-face-foreground-name)
7752         (ps-face-background-name, ps-boolean-constant): New funs.
7754 2000-06-07  Dave Love  <fx@gnu.org>
7756         * allout.el: New version from Manheimer.
7758 2000-06-07  Kenichi Handa  <handa@etl.go.jp>
7760         * textmodes/fill.el (fill-find-break-point): Check the validity of
7761         charset.
7763 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
7765         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
7766         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
7767         Call display-color-p and display-mouse-p instead of looking at
7768         window-system.
7770 2000-06-06  Dave Love  <fx@gnu.org>
7772         * image.el (find-image): Doc fix.  Return nil if image not found.
7773         (put-image, insert-image): Make STRING arg optional.
7775 2000-06-06  Kenichi Handa  <handa@etl.go.jp>
7777         * language/vietnamese.el: Remove eval-when-compile.
7778         (viet-viscii-nonascii-translation-table): Define it as a
7779         translation table made from viet-viscii-decode-table.
7780         (viet-viscii-encode-table): Define it as a translation table made
7781         from the reverse map of above.
7782         (viet-vscii-nonascii-translation-table): Define it as a
7783         translation table made from viet-vscii-decode-table.
7784         (viet-vscii-encode-table): Define it as a translation table made
7785         from the reverse map of above.
7786         (ccl-decode-viscii): Use translate-character.
7787         (ccl-encode-viscii, ccl-encode-viscii-font)
7788         (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
7789         Likewize.
7791         * language/cyrillic.el: Remove eval-when-compile.
7792         (cyrillic-koi8-r-nonascii-translation-table): Define it as a
7793         translation table made from cyrillic-koi8-r-decode-table.
7794         (cyrillic-koi8-r-encode-table): Define it as a translation table
7795         made from the reverse map of above.
7796         (ccl-decode-koi8): Use translate-character.
7797         (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
7798         (cyrillic-alternativnyj-nonascii-translation-table): Define it as
7799         a translation table made from cyrillic-alternativnyj-decode-table.
7800         (cyrillic-alternativnyj-encode-table): Define it as a translation
7801         table made from the reverse map of above.
7802         (ccl-decode-alternativnyj): Use translate-character.
7803         (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
7804         Likewize
7806         * international/mule-diag.el (non-iso-charset-alist): Specify
7807         translation table symbol instead of translation table itself.
7808         (list-block-of-chars): CHARSET may be a translation table symbol.
7810         * international/mule.el (make-coding-system): If CODING-SYSTEM
7811         already exists, override it.
7813         * international/fontset.el: Use family `proportional' for Tibetan
7814         fonts.
7816         * international/ccl.el (ccl-compile-translate-character): Don't
7817         check if Rrr has property translation-table.
7818         (ccl-compile-map-multiple): Modified to avoid compiler warning.
7820 2000-06-05  Gerd Moellmann  <gerd@gnu.org>
7822         * info.el: Bind case-fold-search to t when searching in case
7823         a user sets it to nil in a hook.
7825 2000-06-05  Stefan Monnier  <monnier@cs.yale.edu>
7827         * autoarg.el (autoarg-mode, autoarg-kp-mode):
7828         * hl-line.el (hl-line-mode): Use the new :global key argument.
7830         * tar-mode.el (tar-header-block-recompute-checksum): Remove.
7831         (tar-clip-time-string): Prepend a space.
7832         (tar-grind-file-mode): Construct a string rather than modifying one.
7833         (tar-header-block-summarize): Fix docstring.
7834         Use `format' rather than an error-prone set of copy-loops.
7836         * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
7837         (diff-goto-source, diff-unified->context, diff-context->unified)
7838         (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
7839         understand the format output by the `-p' argument to diff.
7841         * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
7842         (sh-re-done): Use defconst.
7843         (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
7844         (sh-help-string-for-variable, sh-guess-basic-offset):
7845         Don't quote lambdas.
7846         (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
7847         (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
7849         * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
7850         (mh-letter-mode): Derive from text-mode.
7851         This implicitly means that it now calls kill-all-local-variables.
7852         Also remove the Emacs-18 compatibility code.
7854         * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
7855         Make use of symbol-property doc-string-elt.
7856         Use memq rather than a sequence of eq.
7857         (doc-string-elt): Fix the wrong or missing previously unused values.
7858         (autoload-print-form): New function extracted from
7859         generate-file-autoloads to allow recursion when handling progn
7860         so that defvar's and defun's docstrings are properly printed.
7861         (generate-file-autoloads): Use it.
7863         * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
7864         Use find-file-hooks in the minor-mode function.
7865         Be careful not to loop indefinitely in the post-command-hook function.
7867 2000-06-05  Michael Kifer  <kifer@cs.sunysb.edu>
7869         * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
7870         tty's.
7871         * ediff-diff.el (ediff-exec-process): Use --binary for fine
7872         differences whenever appropriate.
7873         * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
7874         * viper.el (find-file, find-file-other-window): Get viper to do
7875         wildcards.
7877 2000-06-04  Stefan Monnier  <monnier@cs.yale.edu>
7879         * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
7880         (jit-lock-fontify-buffer): New function for JIT refontification.
7881         (jit-lock-mode): Fix docstring.
7882         Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
7883         Remove jit-lock-after-change from the _local_ hook.
7884         (jit-lock-function-1): Fix docstring.
7886         * info.el (Info-on-current-buffer): Initialize info.
7888         * newcomment.el (comment-indent): Ignore comment-indent-hook.
7890         * progmodes/tcl.el (tcl-indent-for-comment):
7891         Ignore comment-indent-hook.
7893         * emacs-lisp/easy-mmode.el: Require CL during compilation.
7894         (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
7895         (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
7896         and improve to use the lighter to guess the capitalization.
7897         (define-minor-mode): Inline code from easy-mmode-define-toggle.
7898         Add keyword arguments to specify global-ness or the custom group.
7899         Add local-map and help-echo properties to the lighter.
7900         (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
7901         (easy-mmode-define-global-mode): New macro.
7903 2000-06-02  Dave Love  <fx@gnu.org>
7905         * wid-edit.el: byte-compile-dynamic since we typically don't use
7906         all the widgets.  Don't require cl or widget.  Remove
7907         eval-and-compile.  Don't autoload finder-commentary.  Doc fixes.
7908         (widget-read-event): Removed.  Callers changed to use read-event.
7909         (widget-button-release-event-p): Renamed from
7910         button-release-event-p.
7911         (widget-field-add-space, widget-field-use-before-change):
7912         Uncustomize.
7913         (widget-specify-field): Use keymap property, not local-map.
7914         (widget-specify-button): Obey :suppress-face.
7915         (widget-specify-insert): Use modern backquote syntax.
7916         (widget-image-directory): Renamed from widget-glyph-directory.
7917         (widget-image-enable): Renamed from widget-glyph-enable.
7918         (widget-image-find): Replaces widget-glyph-find.
7919         (widget-button-pressed-face): Move defvar.
7920         (widget-image-insert): Replaces widget-glyph-insert.
7921         (widget-convert): Use keywordp.
7922         (widget-leave-text, widget-children-value-delete): Use mapc.
7923         (widget-keymap): Remove XEmacs stuff.
7924         (widget-field-keymap, widget-text-keymap): Define all inside defvar.
7925         (widget-button-click): Don't set point at the click, but re-centre
7926         if we scroll out of window.  Rewritten for images v. glyphs &c.
7927         (widget-tabable-at): Use POS arg, not point.
7928         (widget-beginning-of-line, widget-end-of-line)
7929         (widget-item-value-create, widget-sublist, widget-princ-to-string)
7930         (widget-sexp-prompt-value, widget-echo-help): Simplify.
7931         (widget-default-create): Use widget-image-insert; some rewriting.
7932         (widget-visibility-value-create)
7933         (widget-push-button-value-create, widget-toggle-value-create): Use
7934         widget-image-insert.
7935         (checkbox): Create on and off images dynamically.
7936         (documentation-link): Change :help-echo.
7937         (widget-documentation-link-echo-help): Remove.
7939 2000-06-02  Stefan Monnier  <monnier@cs.yale.edu>
7941         * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
7943         * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
7944         (easy-mmode-define-toggle, define-minor-mode): Use it.
7945         (easy-mmode-define-keymap): Docstring fix.
7946         (define-derived-mode): Default PARENT to fundamental-mode.
7947         Add the derived-mode-parent symbol-property.
7948         (easy-mmode-derived-mode-p): New function.
7950 2000-06-02  Dave Love  <fx@gnu.org>
7952         * files.el (convert-standard-filename): Doc fix.
7953         (normal-backup-enable-predicate): New function.
7954         (backup-enable-predicate): Use it to replace the lambda form.
7956         * calendar/todo-mode.el: [This needs more work on the outline
7957         stuff.]  Doc fixes.
7958         (todo) <defgroup>: Add :version.
7959         (todo-add-category): Don't use pushnew.
7960         (todo-cmd-raise): Fix typo.
7961         (todo-top-priorities): Change temp buffer name.
7962         (todo-category-alist): Avoid redundant lambda.
7963         (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
7964         Use outline-next-heading.
7966         * autoarg.el: Rewritten to use define-minor-mode.
7967         (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
7968         (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
7970 2000-06-02  Kenichi Handa  <handa@etl.go.jp>
7972         * isearch.el (isearch-other-meta-char): Fix previous change.
7974 2000-06-01  Stefan Monnier  <monnier@cs.yale.edu>
7976         * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
7977         (log-edit-done): Only add the comment to the ring if it's different
7978         from the last comment entered.
7980         * isearch.el (isearch-highlight): Turn internal-find-face into facep.
7982 2000-06-01  Dave Love  <fx@gnu.org>
7984         * hl-line.el: Rewritten using define-minor-mode.
7986         * help.el (describe-function-1): Distinguish special form from
7987         builtin function.  Sanity-check presence of arglist for builtins.
7989 2000-06-01  Kenichi Handa  <handa@etl.go.jp>
7991         * international/characters.el: Fix syntax/category setting of
7992         Tibetan characters.
7994         * language/tibet-util.el (tibetan-add-components): Fixes for new
7995         encoding of Tibetan characters.
7996         (tibetan-decompose-precomposition-alist): New variable.
7997         (tibetan-decompose-region): Convert precomposed characters to
7998         non-precomposed characters.
7999         (tibetan-decompose-string): Likewise.
8000         (tibetan-composition-function): Fix args to
8001         thibetan-compose-string.
8003         * language/tibetan.el (tibetan-composable-pattern): More
8004         characters included.
8005         (tibetan-consonant-transcription-alist): Rule for "R" added.
8006         (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
8007         "+R" added.
8008         (tibetan-base-to-subjoined-alist): Rule for "RA" added.
8010         * language/lao-util.el (lao-composition-function): Fix args to
8011         compose-string.
8013         * language/thai-util.el (thai-composition-function): Fix args to
8014         compose-string.
8016         * isearch.el (isearch-update): Set disable-point-adjustment to t
8017         to prevent the point moving to the end of a composition when a
8018         part of a composition is searched.
8019         (isearch-other-meta-char): If the key invoking this command can be
8020         mapped by function-key-map to a printing char, call
8021         isearch-process-search-char directly.
8023 2000-06-01  Stefan Monnier  <monnier@cs.yale.edu>
8025         * emacs-lisp/bytecomp.el:
8026         * frame.el:
8027         * international/mule-cmds.el:
8028         * international/mule-util.el:
8029         * international/mule.el:
8030         * mouse.el:
8031         * subr.el:
8032         * faces.el: Update calls to make-obsolete with a WHEN argument.
8034         * byte-run.el (make-obsolete, make-obsolete-variable):
8035         Add an optional WHEN argument and change the format of the
8036         symbol-property information.
8037         * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
8038         (byte-compile-obsolete, byte-compile-variable-ref): Understand the
8039         new obsolete-symbol-property format and print WHEN if it is provided.
8041 2000-05-31  Dave Love  <fx@gnu.org>
8043         * loadhist.el (loadhist-hook-functions): Remove
8044         before-change-function, after-change-function.
8045         (unload-feature): Deal with symbols which are both bound and
8046         fbound.
8048         * mouse.el (mouse-save-then-kill-delete-region): Don't bind
8049         before-change-function, after-change-function.
8051         * simple.el (newline): Don't bind before-change-function,
8052         after-change-function.
8054 2000-05-31  Rajesh Vaidheeswarran <rv@gnu.org>
8056         * whitespace.el (whitespace-rescan-timer-time): Update interval
8057         set to 600 seconds (10 minutes) instead of 60 seconds since
8058         a large number of whitespace buffers causes emacs to `freeze'
8059         for a considerable amount of time.
8061         * whitespace.el: Updated email address
8063 2000-05-31  Dave Love  <fx@gnu.org>
8065         * add-log.el (change-log-font-lock-keywords) <function>: Add
8066         pattern for function of change.
8067         (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
8068         acknowledgements patterns.
8070 2000-05-31  Kenichi Handa  <handa@etl.go.jp>
8072         * isearch.el (isearch-printing-char): If keyboard coding system is
8073         being used, call isearch-process-search-multibyte-characters.
8075         * international/isearch-x.el: Mostly rewritten.
8077         * international/quail.el (quail-start-conversion): Don't include
8078         unhandled events in the returned events, but set them in
8079         unread-command-events.  Exit if all inputs are deleted.
8081 2000-05-30  Jason Rumney  <jasonr@gnu.org>
8083         * w32-fns.el (w32-charset-info-alist): Add each charset separately.
8085         * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
8086         Reenable code to create initial fontsets.
8087         Use set-fontset-font in place of put-charset-property.
8089 2000-05-30  Gerd Moellmann  <gerd@gnu.org>
8091         * progmodes/perl-mode.el (perl-indent-line): When looking for a
8092         label, ensure that the first colon isn't followed by another.
8094         * paths.el (Info-default-directory-list): Doc fix.
8096         * net/net-utils.el (finger-X.500-host-regexps): New user-option.
8097         (finger): If HOST matches a regexp from finger-X.500-host-regexps,
8098         send a query containing USER only, not USER@HOST.
8100         * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
8101         and rmail-msgend to compute the restriction at the end, instead of
8102         computing it.
8104 2000-05-29  Gerd Moellmann  <gerd@gnu.org>
8106         * dabbrev.el (dabbrev-expand): Don't display messages in the
8107         echo area if the minibuffer window is active.
8109         * jit-lock.el (jit-lock-mode): Add after change function to
8110         local hook.
8112 2000-05-29  Christoph Wedler  <Christoph.Wedler@sap.com>
8114         * antlr-mode.el: New commands: hide/unhide actions,
8115         upcase/downcase literals.
8116         (antlr-tiny-action-length): New user option.
8117         (antlr-hide-actions): New command.  Suggested by
8118         Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
8119         (antlr-mode-map): New binding [C-c C-v].
8120         (antlr-mode-menu): New entries.
8121         (antlr-downcase-literals): New command.
8122         (antlr-upcase-literals): Ditto.
8124         * antlr-mode.el: Minor changes: indendation, mode-name.
8125         (antlr-indent-line): Indent cpp directive at column 0.
8126         (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
8128         * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
8129         (antlr-font-lock-additional-keywords): Workaround for intentional
8130         bug in XEmacs version of font-lock.
8131         (antlr-mode): Set symbol property `mode-name' to "Antlr".  Could
8132         be used by a smarter version of `buffers-menu-grouping-function'.
8134 2000-05-29  Gerd Moellmann  <gerd@gnu.org>
8136         * tmm.el (tmm-prompt): Recognize menu item definitions of the for
8137         `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
8139 2000-05-29  Kenichi Handa  <handa@etl.go.jp>
8141         * international/encoded-kb.el
8142         (encoded-kbd-iso2022-designation-map): Pay attention to that
8143         charset-iso-final-char return -1 for eight-bit-control and
8144         eight-bit-graphic.
8146 2000-05-28  Eli Zaretskii  <eliz@is.elta.co.il>
8148         * speedbar.el (speedbar-use-images, speedbar-update-flag)
8149         (speedbar-easymenu-definition-base): Use display-graphic-p where
8150         available, instead of window-system.
8152 2000-05-28  Eli Zaretskii  <eliz@is.elta.co.il>
8154         * international/codepage.el (cp-coding-system-for-codepage-1): Add
8155         eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
8156         coding systems.
8158 2000-05-26  Dave Love  <fx@gnu.org>
8160         * disp-table.el (standard-display-underline): Don't use
8161         internal-find-face.
8163         * mail/reporter.el: Maintainer change.  Doc fixes.
8164         (reporter-version): Deleted.
8166         * emacs-lisp/elp.el: Maintainer change.
8167         (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
8169 2000-05-26  Stefan Monnier  <monnier@cs.yale.edu>
8171         * add-log.el (add-change-log-entry): Merge the current entry with the
8172         previous one if the previous one is empty.
8174 2000-05-26  Dave Love  <fx@gnu.org>
8176         * loadhist.el (unload-feature): Fix interactive spec [from
8177         lijnzaad@ebi.ac.uk].
8179         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
8180         subr-arity to check primitives.
8181         (byte-compile-flush-pending, byte-compile-file-form-progn)
8182         (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
8183         (byte-compile-insert, byte-compile-funcall): Use mapc instead of
8184         mapcar.
8186 2000-05-26  Kenichi Handa  <handa@etl.go.jp>
8188         * international/fontset.el: Set family names of non-latin charsets
8189         in default fontset to "*".
8191         * international/mule-diag.el (print-fontset): Combine family part
8192         and registry part of the fontname by "-*-" instead of "-".
8194         * international/mule-cmds.el (encode-coding-char): Make strings
8195         multibyte before calling encode-coding-string.
8197 2000-05-25  Stefan Monnier  <monnier@cs.yale.edu>
8199         * derived.el: Fix keywords.
8200         (define-derived-mode): Only define if needed.
8202         * simple.el (fill-comment, comment-column, comment-start)
8203         (comment-start-skip, comment-end, comment-indent-function)
8204         (block-comment-start, block-comment-end, indent-for-comment)
8205         (set-comment-column, kill-comment, comment-padding, comment-region)
8206         (comment-multi-line, indent-new-comment-line): Remove.
8208         * bindings.el (esc-map): Change ; to comment-dwim and use the new
8209         function names for comment operations.
8211         * newcomment.el: Add abundant autoload cookies.
8212         (comment-style): Don't depend on runtime data at compile-time.
8213         (comment-indent-hook): Remove.
8214         (comment-indent): Check if comment-indent-hook is bound.
8215         (comment-region): Docstring fix.
8217 2000-05-25  Dave Love  <fx@gnu.org>
8219         * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
8220         byte-code-function-p.
8222         * mail/rmailsum.el: Add provide.
8224         * net/goto-addr.el (goto-address-fontify): Add help-echo property.
8226         * smerge-mode.el (smerge-diff-switches): Don't use list* in
8227         defcustom.
8229 2000-05-25  Michael Kifer  <kifer@cs.sunysb.edu>
8231         * ediff-diff.el (ediff-exec-process): delete --binary option from
8232         non-buffer ediff jobs.
8234 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
8236         * hilit-chg.el (highlight-changes-mode): Ask about color or
8237         grayscale support, not about window-system.
8239         * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
8240         window-system.
8241         (ffap-highlight): Always default to t.
8243         * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
8244         display-popup-menus-p instead of looking at window-system.
8246         * disp-table.el (standard-display-g1, standard-display-graphic):
8247         Only refuse to use string glyphs on X and MS-Windows.
8249         * avoid.el: Remove window-system from commentary, suggest to use
8250         display-*-p instead.
8252         * apropos.el (apropos-print): Use display-mouse-p instead of
8253         window-system.
8255 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
8257         * international/codepage.el (cp-decoding-vector-for-codepage):
8258         Fill up unsupported characters with their own codes.  From Kenichi
8259         Handa.
8261 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
8263         * international/mule-diag.el (describe-char-after): Use
8264         display-graphic-p instead of window-system, so that this function
8265         works on MS-DOS.
8267 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
8269         * international/codepage.el (cp-make-coding-systems-for-codepage):
8270         Remove the eight-bit-graphic and eight-bit-control charsets from
8271         the list of charsets which we convert into `?'.
8273 2000-05-25  Kenichi Handa  <handa@etl.go.jp>
8275         * international/mule-conf.el: Specify CHARSET-ID explicitely for
8276         private charsets.
8277         (mule-unicode-0100-24ff, japanese-jisx0213-1,
8278         japanese-jisx0213-2): New charsets.
8280         * international/fontset.el: Setup default fontset for new charsets.
8282 2000-05-24  Dave Love  <fx@gnu.org>
8284         * info.el (Info-find-node-2): Restructure [following "Vadim
8285         S. Solomin" <sovs@uic.nnov.ru>].
8287         * icomplete.el: Fix header for Finder.
8289 2000-05-24  Eric M. Ludlam  <zappo@ultranet.com>
8291         * rmailout.el (rmail-output-to-rmail-file): Added optional param
8292         STAY.
8294         * rmail.el (rmail-automatic-folder-directives): New user variable.
8295         (rmail-show-message): Add call to `rmail-auto-file' during
8296         display.
8297         (rmail-auto-file): New function.
8299 2000-05-24  Michael Kifer  <kifer@cs.sunysb.edu>
8301         * ediff-diff.el (ediff-forward-word): Take syntactic word class into
8302         account.
8303         (ediff-test-utility,ediff-diff-mandatory-option)
8304         (ediff-reset-diff-options): Utilities for proper initialization of
8305         ediff-diff-options and ediff-diff3-options on Windows.
8307         * ediff-init.el (ediff-merge-filename-prefix): New customizable
8308         variable.
8310         * ediff-mult.el (ediff-filegroup-action): Use
8311         ediff-merge-filename-prefix.
8313 2000-05-24  Michael Kifer  <kifer@cs.sunysb.edu>
8315         * viper-ex.el (ex-write): Set selective display to nil.
8317 2000-05-24  Eli Zaretskii  <eliz@is.elta.co.il>
8319         * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
8320         aliases for hebrew-iso-8bit.
8322 2000-05-24  Eli Zaretskii  <eliz@is.elta.co.il>
8324         * woman.el: New version from Francis J. Wright
8325         <F.J.Wright@Maths.QMW.ac.uk>.
8326         (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
8327         names in environment variables regardless of the path separator.
8328         (woman-topic-all-completions-1): Don't call file-name-directory-p
8329         on all files, since woman-file-regexp already filters out any
8330         directories.
8332 2000-05-24  Kenichi Handa  <handa@etl.go.jp>
8334         * international/quail.el (quail-start-translation): Don't change
8335         modified-p of the current buffer.
8336         (quail-start-conversion): Likewise.
8338         * international/kkc.el (kkc-region): Don't change modified-p of
8339         the current buffer.
8341         * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
8342         conform to RFC1468.
8343         (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
8345 2000-05-23  Eric M. Ludlam  <zappo@ballista.ultranet.com>
8347         * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
8348         (speedbar-insert-button): Invisible text property fix.
8349         (speedbar-directory-plus): Renamed from speedbar-directory-+
8350         (speedbar-directory-minus): Renamed from speedbar-directory--
8351         (speedbar-page-plus): Renamed from speedbar-file-+
8352         (speedbar-page-minus): Renamed from speedbar-file--
8353         (speedbar-page): Renamed from speedbar-file-
8354         (speedbar-tag): Renamed from speedbar-tag-
8355         (speedbar-tag-plus): Renamed from speedbar-tag-+
8356         (speedbar-tag-minus): Renamed from speedbar-tag--
8357         (speedbar-expand-image-button-alist): Use above renames.
8359         * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
8360         * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
8361         * sb-pg-plus.xpm: Renamed from sb-file+.xpm
8362         * sb-pg-minus.xpm: Renamed from sb-file-.xpm
8363         * sb-pg.xpm: Renamed from sb-file.xpm
8364         * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
8365         * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
8367 2000-05-24  Kenichi Handa  <handa@etl.go.jp>
8369         * international/quail.el (quail-show-guidance-buf): Set
8370         current-input-method of the guidance buffer to the name of the
8371         curren input method.
8373 2000-05-23  Stefan Monnier  <monnier@cs.yale.edu>
8375         * progmodes/compile.el (compile-internal): Style typo.
8377         * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
8378         quote vars and functions in the docstring.
8380         * newcomment.el (comment-make-extra-lines): Don't use `assert'.
8382         * completion.el (dynamic-completion-mode, dynamic-completion-mode):
8383         Don't quote lambdas.
8385         * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
8387 2000-05-23  Gerd Moellmann  <gerd@gnu.org>
8389         * startup.el (command-line): Determine source file of compiled
8390         user init file differently.  Warn if compiled user init file
8391         is older than its source file.
8393         * ffap.el (ffap-url-regexp): Add `https'.
8395 2000-05-23  Eli Zaretskii  <eliz@is.elta.co.il>
8397         * files.el (make-backup-file-name-1): Replace slashes with `!'
8398         rather than `|' (which is not allowed on Windows).  Replace the
8399         drive letters with a string "drive_X".
8401 2000-05-23  Gerd Moellmann  <gerd@gnu.org>
8403         * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
8405         * files.el (interpreter-mode-alist): Add `bash2'.
8407 2000-05-22  Dave Love  <fx@gnu.org>
8409         * loadhist.el (feature-symbols, file-provides, file-requires): Use
8410         mapc.
8411         (feature-file): Avoid calling symbol-name.  Doc fix.
8412         (file-set-intersect, file-dependents): Use dolist, not mapcar.
8413         (loadhist-hook-functions): Add mouse-position-function.
8414         (unload-feature): Change uses of mapcar.
8416         * files.el (parse-colon-path): Doc fix.
8417         (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
8418         (set-auto-mode): Use mapc.
8420         * complete.el (PC-look-for-include-file): Use :alnum: character
8421         class.
8422         (partial-completion-mode): Add autoload cookie.
8424 2000-05-22  Sam Steingold  <sds@gnu.org>
8426         * info.el (Info-fontify-node): Fixed the call to
8427         `add-text-properties' (bug introduced on 2000-05-18).
8429 2000-05-22  Dave Love  <fx@gnu.org>
8431         * bindings.el: Remove debug-ignored-errors set in other files.
8433         * progmodes/etags.el: Add to debug-ignored-errors.
8434         (visit-tags-table-buffer): Clear out buffers holding old tables
8435         when making a new list.
8436         (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
8437         mapc.
8439         * completion.el: Doc fixes.  Add to debug-ignored-errors.  Don't
8440         quote keywords.
8441         (cmpl-string-case-type): Use character classes.
8443         * comint.el:
8444         * textmodes/ispell.el:
8445         * imenu.el:
8446         * mail/mh-e.el:
8447         * progmodes/compile.el: Add to debug-ignored-errors.
8449         * dabbrev.el: Add to debug-ignored-errors.
8450         (dabbrev-completion): Use mapc.
8452 2000-05-22  Eli Zaretskii  <eliz@is.elta.co.il>
8454         * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
8455         (woman-mapcan, woman-parse-man.conf)
8456         (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
8457         (woman-reset-emulation, woman-select-symbol-fonts): New functions.
8458         (woman-parse-colon-path): Call woman-mapcan.  Recognize Cygwin
8459         path syntax better.
8460         (woman-man.conf-path, woman-use-own-frame): New defcustoms.
8461         (woman-manpath): Call woman-parse-man.conf.
8462         (woman-emulation): New defcustom, defaults to nroff.
8463         (woman-font-support): New defconst.
8464         (woman-use-symbol-font): New defcustom.
8465         (woman-menu): Add new menu items: "Colored/BW", "Advanced",
8466         "Emulation".
8467         Many functions: Doc fix.
8469 2000-05-22  Kenichi Handa  <handa@etl.go.jp>
8471         * international/quail.el (quail-simple-translation-keymap): Map
8472         128..255 to quail-self-insert-command.
8473         (quail-keyboard-layout-alist): Add definition for "pc102-de".
8475 2000-05-22  Stefan Monnier  <monnier@cs.yale.edu>
8477         * help.el (help-manyarg-func-alist): Typo.
8479         * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
8480         intervals which makes it heaps simpler.
8482         * newcomment.el (comment-region-internal): Go back to BEG after quoting
8483         the nested comment markers.
8485         * subr.el (remove-hook): Don't turn the hook's value into a list.
8487 2000-05-21  Dave Love  <fx@gnu.org>
8489         * edmacro.el (edmacro-parse-keys): Return vector if any elements
8490         are invalid characters.
8492         * international/mule-util.el (detect-coding-with-priority): Use
8493         mapc.  Remove redundant lambda.
8495         * international/mule-diag.el (list-non-iso-charset-chars)
8496         (describe-fontset): Remove redundant lambda.
8498         * emulation/crisp.el (brief-mode): New alias.
8500         * emacs-lisp/ring.el (ring-elements): New function.
8502         * emacs-lisp/easymenu.el (easy-menu-create-menu)
8503         (easy-menu-do-add-item): Use keywordp.
8505         * emacs-lisp/byte-opt.el: Update side-effect free function lists.
8507         * replace.el: Doc and error message fixes.
8508         (replace-highlight): Use facep, not internal-find-face.
8510 2000-05-20  Stefan Monnier  <monnier@cs.yale.edu>
8512         * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
8514         * log-edit.el (log-edit-done): Cleanup trailing empty lines.
8515         (log-edit-insert-changelog): Drop `:' as well.
8517         * log-view.el: Fix file description.
8518         (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
8519         available.
8520         (log-view-font-lock-keywords): Only use cvs-filename-face if present.
8521         (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
8523         * emacs-lisp/easy-mmode.el: Update copyright and commentary.
8524         (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
8525         Print a status message if the toggle is called interactively.
8526         (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
8527         for global minor modes and use `defcustom' for them.
8528         Use add-minor-mode.
8529         (easy-mmode-define-derived-mode): Remove.
8530         (define-derived-mode): Fancier default docstring.
8531         (easy-mmode-define-navigation): Signal an error rather than (ding).
8533         * newcomment.el (comment-styles): New `box-multi'.
8534         (comment-normalize-vars): Better default for comment-continue to
8535         avoid whitespace-only continuations.
8536         (comment-search-forward): Always move even in the no-syntax case.
8537         (comment-padright): Only obey N if it's only obeyed for padleft.
8538         (comment-make-extra-lines): Better handling of empty continuations.
8539         Use `=' for the filler if comment-start has only one character.
8540         (uncomment-region): Try handling the special `=' filler.
8541         (comment-region): Allow LINES even if MULTI is nil.
8542         (comment-box): Choose box style based on comment-style.
8544 2000-05-20  Kenichi Handa  <handa@etl.go.jp>
8546         * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
8547         (ccl-compile-write-repeat): If ARG is string, make it unibyte.
8549 2000-05-20  Kenichi HANDA  <handa@etl.go.jp>
8551         * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
8552         and insert, not subst-char-in-region.
8554         * international/mule-diag.el (list-character-sets-1): Handle
8555         charsets eight-bit-control and eight-bit-graphic.
8556         (list-iso-charset-chars): Likewise.
8557         (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
8558         charactes as is.  Use indent-to to align characters.
8560         * international/mule-cmds.el (find-multibyte-characters): Never
8561         exclude charsets eight-bit-control and eight-bit-graphic.
8563 2000-05-19  Stefan Monnier  <monnier@cs.yale.edu>
8565         * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
8566         Don't quote lambdas.
8568         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
8570 2000-05-19  Gerd Moellmann  <gerd@gnu.org>
8572         * gud.el (gud-jdb-directories): Doc fix.
8574 2000-05-19  Stefan Monnier  <monnier@cs.yale.edu>
8576         * newcomment.el: New file.
8578 2000-05-19  Gerd Moellmann  <gerd@gnu.org>
8580         * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
8582 2000-05-18  Andreas Schwab  <schwab@suse.de>
8584         * dired.el (dired-between-files): Also skip lines beginning with
8585         `used'.
8587 2000-05-18  Gerd Moellmann  <gerd@gnu.org>
8589         * msb.el (msb-menu-cond): Add choice `user'.
8591 2000-05-18  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
8593         * ps-print.el: Compatibility, customization and doc fix.
8594         (ps-printer-name-option): Replace defconst by defvar.
8595         (ps-postscript-code-directory): XEmacs compatibility.
8596         (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
8597         fix.
8598         (ps-user-defined-prologue, ps-print-prologue-header)
8599         (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
8600         compatibility and code fix.
8601         (ps-print-background-image, ps-print-background-text):
8602         Customization fix.
8603         (ps-line-number-start, ps-n-up-on): New vars.
8605 2000-05-18  Espen Skoglund  <esk@ira.uka.de>
8607         * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
8608         the indent-comment function to just return the appropriate indent.
8610 2000-05-18  Eric M. Ludlam  <zappo@ultranet.com>
8612         * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
8613         sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
8614         sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
8616 2000-05-18  Dave Love  <fx@gnu.org>
8618         * info.el (Info-fontify-node): Add intangible property as well as
8619         invisible.
8621         * calendar/appt.el (appt-make-list): Match all lines of entry.
8622         From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
8624 2000-05-18  Kenichi Handa  <handa@etl.go.jp>
8626         * international/mule-diag.el (describe-char-after): Call
8627         internal-char-font, not char-font.  If internal-char-font returns
8628         nil, display "-- none --".
8630 2000-05-17  Eli Zaretskii  <eliz@is.elta.co.il>
8632         * image.el (image-type-available-p): Don't reference image-types
8633         if it isn't bound.
8635 2000-05-17  Stefan Monnier  <monnier@cs.yale.edu>
8637         * autoarg.el (autoarg-mode): Typo in the :set argument.
8639 2000-05-17  Eli Zaretskii  <eliz@is.elta.co.il>
8641         * startup.el (command-line-1): Don't signal an error if the
8642         directory for auto-save-list files does not yet exist.
8644 2000-05-17  Kenichi Handa  <handa@etl.go.jp>
8646         * international/mule-conf.el (arabic-iso8859-6): Fix typo.
8648 2000-05-16  Stefan Monnier  <monnier@cs.yale.edu>
8650         * subr.el (remove-hook): `setq' hook-value, not `set'.
8652 2000-05-16  Sam Steingold  <sds@gnu.org>
8654         * info.el (debug-ignored-errors): More errors to ignore.
8656 2000-05-16  Dave Love  <fx@gnu.org>
8658         * cus-edit.el: Don't require cl or easymenu.
8659         (custom-variable-prompt): Test standard-value property, not
8660         user-variable-p.
8662 2000-05-16  Sam Steingold  <sds@gnu.org>
8664         * subr.el (add-hook): `setq' hook-value, not `set'.
8666 2000-05-16  Gerd Moellmann  <gerd@gnu.org>
8668         * startup.el (command-line-1): Mention the FAQ in the startup
8669         message.
8671         * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
8673         * progmodes/compile.el (compilation-parse-errors): Collect
8674         `nomessage' regexps last.
8676         * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
8678         * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
8679         to the function name.
8681 2000-05-15  Dave Love  <fx@gnu.org>
8683         * speedbar.el (speedbar-recenter): Typo.
8684         (speedbar-expand-line): Make arg optional.
8685         (speedbar-mode): Avoid a compiler warning.
8687 2000-05-15  Gerd Moellmann  <gerd@gnu.org>
8689         * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
8690         user-specified option string is empty.
8692         * mouse.el (mouse-yank-at-click): Doc fix.
8694 2000-05-15  Eli Zaretskii  <eliz@is.elta.co.il>
8696         * term/internal.el (IT-character-translations): More updates of
8697         latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
8698         documents.
8700 2000-05-15  Gerd Moellmann  <gerd@gnu.org>
8702         * env.el (getenv): New function, interactively callable.
8703         (setenv, getenv): Remove autoload cookies.
8705         * loadup.el: Load `env'.
8707         * progmodes/f90.el: Change author's mail address.
8709 2000-05-14  Dave Love  <fx@gnu.org>
8711         * mail/rmail.el (rmail-show-message-hook): Customize and offer
8712         goto-addr as an option.
8714         * help.el (help-xref-stack): Doc fix.
8715         (help-xref-following): New variable.
8716         (help-make-xrefs): Use it.
8717         (help-xref-go-back): Use position information from stack element.
8718         (help-follow): Make position in stack element a pair.  Use
8719         help-xref-following.
8721         * autoarg.el: New file.
8723         * faces.el: Declare more functions obsolete.
8725         * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
8726         * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
8727         * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
8728         * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
8729         Remove all the setup-...-environment functions.
8731 2000-05-13  Eric M. Ludlam  <zappo@ultranet.com>
8733         * speedbar.el: Updated the commentary section.  xemacs20p now uses
8734         >= when detecting.  Require `defimage' safely.
8735         (speedbar-easymenu-definition-base): Add toggle for images.
8736         (speedbar-easymenu-definition-special): Add flush cache & expand.
8737         (speedbar-visiting-tag-hook): Set new defaults.  Added options.
8738         (speedbar-reconfigure-keymaps-hook): New variable.
8739         (speedbar-frame-parameters): Updated documentation.
8740         (speedbar-use-imenu-flag): Updated custom tag
8741         (speedbar-dynamic-tags-function-list): New variable.
8742         (speedbar-tag-hierarchy-method): Updated doc & custom.
8743         (speedbar-indentation-width, speedbar-indentation-width) New
8744         variables.
8745         (speedbar-hide-button-brackets-flag): Customizable.
8746         (speedbar-vc-indicator): Doc update.
8747         (speedbar-ignored-path-expressions): Updated default value.
8748         (speedbar-supported-extension-expressions): Updated default value.
8749         (speedbar-syntax-table): Remove {} paren status.
8750         (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
8751         as "+".  Added overlay aliases.
8752         (speedbar-mode): Use `speedbar-mode-line-update' instead of
8753         `force-mode-line-update'.
8754         (speedbar-mode, speedbar-quick-mouse, speedbar-click)
8755         (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
8756         `mouse-set-point'
8757         (speedbar-reconfigure-keymaps): Run configure keymap hooks.
8758         (speedbar-item-info-tag-helper): Revamped to handle a wider range
8759         of arbitrary text, and new helper functions.
8760         (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
8761         filename finder.
8762         (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
8763         (speedbar-directory-buttons): Update path search/expansion.
8764         (speedbar-make-tag-line): Pay attention to
8765         `speedbar-indentation-width'.  Use more care w/ invisible
8766         properties.
8767         (speedbar-change-expand-button-char): Call
8768         `speedbar-insert-image-button-maybe'.
8769         (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
8770         (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
8771         (speedbar-trim-words-tag-hierarchy)
8772         (speedbar-simple-group-tag-hierarchy): New functions
8773         (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
8774         (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
8775         functions.
8776         (speedbar-mouse-set-point): New function
8777         (speedbar-power-click): Updated documentation.
8778         (speedbar-line-token, speedbar-goto-this-file): Handle more types
8779         of tag prefix text.
8780         (speedbar-expand-line, speedbar-contract-line): Make more robust
8781         to strange text.
8782         (speedbar-expand-line): Takes universal argument to flush the
8783         cache.
8784         (speedbar-flush-expand-line): New function.
8785         (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
8786         Use new generator insertion method.
8787         (speedbar-fetch-dynamic-tags): New function.
8788         (speedbar-fetch-dynamic-imenu): Removed code now handled in
8789         `speedbar-fetch-dynamic-imenu'.
8790         (speedbar-fetch-dynamic-etags): Fix current buffer problem.
8791         (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
8792         "Revert Buffer" menu items.
8793         (speedbar-buffer-buttons-engine): Be smarter when creating a
8794         filename tag (for expansion purposes.).
8795         (speedbar-highlight-one-tag-line,
8796         (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
8797         (speedbar-recenter): New functions.
8798         (defimage-speedbar): Image loading abstraction.
8799         (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
8800         (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
8801         (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
8802         (speedbar-tag-type, speedbar-tag-mail): New images.
8803         (speedbar-expand-image-button-alist): New variable.
8804         (speedbar-insert-image-button-maybe): Insert an image over some
8805         buttons.
8807 2000-05-13  Kenichi Handa  <handa@etl.go.jp>
8809         * international/mule-cmds.el (encode-coding-char): An ASCII
8810         character is always encodable.
8812         * international/mule-conf.el: Add more information in descriptions
8813         of character sets.
8815         * international/mule-diag.el (describe-char-after): New function.
8816         (describe-font-internal): Adjusted for the change of font-info.
8817         (describe-font): Likewise.
8818         (print-fontset): Rewritten for the new fontset implementation.
8819         (describe-fontset): Include fontset alias names in completion.
8820         (list-fontsets): Adjusted for the change of print-fontset.
8822         * simple.el (what-cursor-position): If DETAIL is non-nil, call
8823         describe-char-after instead of displaying the detail in the echo
8824         area.
8825         (syntax-code-table): Format changed.
8826         (string-to-syntax): Adjusted for the above change.
8828 2000-05-12  Stefan Monnier  <monnier@cs.yale.edu>
8830         * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
8832 2000-05-12  Dave Love  <fx@gnu.org>
8834         * calendar/todo-mode.el: Remove some compatibility stuff and CL
8835         dependence.  Use line-{beginning,end}-position, not
8836         point-at{b,e}ol.  Some doc fixes.
8837         (todo-position): New function.  Fix callers of position to use it.
8838         (todo-save-top-priorities, todo-print): Use with-temp-buffer.
8840 2000-05-12  Gerd Moellmann  <gerd@gnu.org>
8842         * time.el (display-time-mail-icon): Use `:ascent center'.
8844         * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
8845         handling FTP security extensions.
8847 2000-05-11  Dave Love  <fx@gnu.org>
8849         * calendar/todo-mode.el: New file.
8851 2000-05-11  Gerd Moellmann  <gerd@gnu.org>
8853         * comint.el (comint-read-input-ring): Move reference to
8854         comint-input-ring-size outside of the save-excursion.  It was
8855         causing the default value to be the only one ever seen.
8857         * font-lock.el: Update copyright.  Remove Simon Marshall's email
8858         address on request from him.
8860         * subr.el (substitute-key-definition): Add comment describing
8861         the meaning of PREFIX.
8863 2000-05-10  Stefan Monnier  <monnier@cs.yale.edu>
8865         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
8867         * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
8868         (add-minor-mode): Don't make the variable buffer-local and add a
8869         reference to define-minor-mode in the docstring.
8871         * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
8872         HEADER/FOOTER and fix bug with trailing empty directory.
8873         (cvs-append-to-ignore): Use vc-editable-p if available.
8874         (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
8875         (vc-do-command): Tweak advice to handle the new VC.
8877         * log-view.el (log-view-goto-rev): New function for the new VC.
8878         (log-view-minor-wrap): Use mark-active.
8880         * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
8881         (log-edit-changelog-full-paragraphs): New var.
8882         (log-edit-insert-changelog): Remove a lonely leading `* file'.
8883         (log-edit-narrow-changelog, log-edit-changelog-paragraph)
8884         (log-edit-changelog-subparagraph, log-edit-changelog-entry)
8885         (log-edit-changelog-ours-p, log-edit-changelog-entries)
8886         (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
8887         Replace the `cvs' prefix with `log-edit'.
8889         * iswitchb.el (iswitchb-completion-help): Unquote lambda.
8891         * diff-mode.el (diff-font-lock-keywords): Recognize comments.
8892         (diff-font-lock-defaults): Explicitly turn off multiline.
8893         (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
8894         (diff-ediff-patch): Fix call to ediff-patch-file.
8895         (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
8896         Handle comments.
8898         * frame.el (automatic-hscrolling): Typo.
8900         * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
8902 2000-05-09  Sam Steingold  <sds@goems.com>
8904         * apropos.el (apropos-print): use `describe-face' instead of
8905         `customize-face-other-window'.
8907 2000-05-09  Dave Love  <fx@gnu.org>
8909         Changes mostly following Richard Sharman <rsharman@wave.home.com>.
8911         * help.el (describe-variable): Have customize button pop the
8912         help-xref stack when invoked.
8913         (help-xref-symbol-regexp): Add `face'.
8914         (help-make-xrefs): Check for quoted face names and adapt regexp
8915         submatch numbers to cope.
8916         (help-xref-interned): Maybe insert face doc too.  Separate
8917         sections with a line of hyphens.
8919         * faces.el:  Some doc fixes.  Declare some functions obsolete.
8920         (describe-face): Add customize button.  Return the help
8921         text.  Fix prompt.
8923 2000-05-09  Eli Zaretskii  <eliz@is.elta.co.il>
8925         * term/internal.el (IT-character-translations): Fix last change.
8927 2000-05-08  Eli Zaretskii  <eliz@is.elta.co.il>
8929         * woman.el: New file
8930         (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
8932 2000-05-08  Eli Zaretskii  <eliz@is.elta.co.il>
8934         * term/internal.el (IT-character-translations): Update ASCII
8935         simulations for greek-iso8859-7, add latin-iso8859-14 and
8936         latin-iso8859-15.
8938         * international/mule-cmds.el (set-language-info-alist): Call
8939         define-prefix-command with 3 arguments, to make the map suitable
8940         for a menu.
8942 2000-05-07  Dave Love  <fx@gnu.org>
8944         * time.el: Small doc fixes from Pavel Jan\e,Am\e(Bk ml.
8946 2000-05-05  Dave Love  <fx@gnu.org>
8948         * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
8949         list in doc string.  Don't quote keyword symbols.
8950         * emacs-lisp/cl.el: Likewise
8951         * emacs-lisp/cl-seq.el: Likewise
8953 2000-05-05  Gerd Moellmann  <gerd@gnu.org>
8955         * abbrev.el (abbrev-mode): Make ARG optional.
8957 2000-05-04  Gerd Moellmann  <gerd@gnu.org>
8959         * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
8961         * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
8963         * subr.el (substitute-key-definition): Clarify documentation.
8965 2000-05-04  Milan Zamazal  <pdm@freesoft.cz>
8967         * glasses.el (glasses-convert-to-unreadable): Use
8968         `glasses-separator' instead of the hard-wired "_".
8969         (glasses-mode): Call `glasses-make-unreadable' only in a single
8970         place.
8972 2000-05-04  Eli Zaretskii  <eliz@is.elta.co.il>
8974         * term/internal.el (cjk-codepages-alist): Add associations for
8975         Chinese and Korean codepages.  Remove FIXME comment.
8977 2000-05-03  Dave Love  <fx@gnu.org>
8979         * time.el (display-time-mail-face, display-time-use-mail-icon):
8980         New option.
8981         (display-time-mail-icon): New variable.
8982         (display-time-string-forms): Use the above.  Fix the local-map.
8984 2000-05-03  Gerd Moellmann  <gerd@gnu.org>
8986         * replace.el (query-replace-map): Add binding for `E'.
8987         (query-replace-help): Extend help text.
8988         (perform-replace): Allow editing the replacement string.
8990         * make-mode.el (makefile-mode-abbrev-table): New variable.
8991         (makefile-mode): Set local abbrev table to
8992         makefile-mode-abbrev-table.
8993         (makefile-font-lock-keywords): Fontify includes and conditionals.
8995         * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
8996         set TOGGLE's value.
8998         * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
8999         mail-interactive-insert-alias.
9000         (mail-abbrev-complete-alias): New command.
9001         (mail-mode-map): Bind it to `M-TAB'.
9003 2000-05-03  Kenichi Handa  <handa@etl.go.jp>
9005         * language/lao-util.el (lao-compose-region): New function.
9007 2000-05-02  Gerd Moellmann  <gerd@gnu.org>
9009         * files.el (recover-session): Make directories as necessary
9010         if they don't exist yet.
9012         * calendar/cal-french.el
9013         (french-calendar-multibyte-special-days-array)
9014         (french-calendar-special-days-array): Change French text.
9015         (calendar-french-date-string): Change output.
9016         (calendar-goto-french-date): Likewise.
9018 2000-05-02  Per Abrahamsen  <abraham@dina.kvl.dk>
9020         * wid-edit.el (widget-default-active): Obey `:always-active'.
9021         (widget-documentation-string-value-create): Set `:always-active'.
9023 2000-05-02  Eli Zaretskii  <eliz@is.elta.co.il>
9025         * startup.el (auto-save-list-file-prefix): For ms-dos, set the
9026         default prefix to `~/_emacs.d/auto-save.list/_s'.
9027         (normal-top-level): Create the directory for auto-save files, if
9028         it doesn't already exist (in the ms-dos case only).
9030 2000-05-02  Eli Zaretskii  <eliz@is.elta.co.il>
9032         * international/mule-cmds.el (set-language-environment): Don't
9033         concat an integer (dos-codepage), use format instead.
9035 2000-05-02  Dave Love  <fx@gnu.org>
9037         * help.el (help-xref-on-pp): Check for constant symbols.
9039 2000-04-29  Gerd Moellmann  <gerd@gnu.org>
9041         * startup.el (normal-top-level): Put a condition-case around
9042         the code loading subdirs.el.
9044 2000-04-29  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9046         * ps-print.el: Upside-down and face background color printing,
9047         line number step, doc fix.
9048         (ps-print-version): New version number (5.2).
9049         (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
9050         (ps-face-attribute-list, ps-plot-with-face): Code fix.
9051         (ps-spool-config): Var fix.
9052         (ps-printer-name-option): Const fix.
9053         (ps-print-upside-down, ps-use-face-background)
9054         (ps-line-number-step): New vars.
9055         (ps-window-system, ps-lp-system): New consts.
9056         (ps-face-background): New fun.
9058 2000-04-28  Richard Stallman  <rms@gnu.org>
9060         * files.el (make-auto-save-file-name):
9061         Apply auto-save-file-name-transforms to visited file name
9062         before generating auto save file name.
9063         (auto-save-file-name-transforms): New variable.
9065         * files.el (backup-enable-predicate):
9066         Correctly test for a file under a temporary directory.
9068 2000-04-28  Gerd Moellmann  <gerd@gnu.org>
9070         * subr.el (add-minor-mode): Rewritten.
9072 2000-04-28  Kenichi Handa  <handa@etl.go.jp>
9074         * mail/sendmail.el (sendmail-send-it): Set
9075         buffer-file-coding-system to the selected coding system for MIME
9076         header.
9078 2000-04-27  Gerd Moellmann  <gerd@gnu.org>
9080         * dired.el (dired-move-to-filename-regexp): Allow format where
9081         YYYY is followed by two spaces.
9083         * progmodes/etags.el (etags-tags-completion-table): Add a `:'
9084         in the second character class of the regexp.
9086         * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
9087         mh-etc, too.
9089         * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
9090         nil.
9092         * subr.el (add-minor-mode): Use `set' instead of `setq'.
9094         * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
9095         argument.
9097 2000-04-27  Sen Nagata <sen@eccosys.com>
9099         * emacs-lisp/crm.el (crm-completion-table): New variable.
9100         (crm-collection-fn, crm-test-completion)
9101         (completing-read-multiple): Use it.
9103 2000-04-27  Dave Love  <fx@gnu.org>
9105         * help.el (locate-library): Use mapc.
9106         (help-manyarg-func-alist): Add call-process-region.
9108 2000-04-26  Gerd Moellmann  <gerd@gnu.org>
9110         * subr.el (add-minor-mode): Make argument MAP optional.
9112         * desktop.el (desktop-save): Save list of minor modes.
9113         (desktop-create-buffer): Restore minor modes.
9114         (desktop-minor-mode-table): New user-option.
9116         * subr.el (add-minor-mode): New function.
9118         * image.el (find-image): New function.
9119         (defimage): Rewritten to find image at load time.
9121         * startup.el (normal-top-level-add-to-load-path): Handle
9122         case that the default directory is not in load-path.
9124         * help.el: Old patch from Stefan Monnier.
9125         (help-xref-on-pp): New function.
9126         (describe-variable): Use it to display xrefs in a symbol's value.
9128 2000-04-26  Stefan Monnier  <monnier@cs.yale.edu>
9130         * cus-edit.el (custom-face): Fix parenthesis.
9132 2000-04-26  Kenichi Handa  <handa@etl.go.jp>
9134         * mail/rmail.el (rmail-expunge): When there are no deleted
9135         messages, do nothing.
9137 2000-04-26  Dave Love  <fx@gnu.org>
9139         * international/mule-cmds.el (locale-translation-file-name):
9140         Defvar to nil.
9141         (set-locale-environment): Set it here (at runtime).
9143 2000-04-25  Gerd Moellmann  <gerd@gnu.org>
9145         * replace.el (perform-replace): Add parameters START and END.  Use
9146         them instead of the check for a region in Transient Mark mode.
9147         (query-replace-read-args): Return two more list elements for the
9148         start and end of the region in Transient Mark mode.
9149         (query-replace, query-replace-regexp, query-replace-regexp-eval)
9150         (map-query-replace-regexp, replace-string, replace-regexp): Add
9151         optional last arguments START and END and pass them to
9152         perform-replace.
9154         * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
9155         form with additional arguments for perform-replace.
9157         * progmodes/etags.el (tags-query-replace): Add parameters START
9158         and END.  Construct a form with additional arguments for
9159         perform-replace.
9161         * simple.el (shell-command): Set default directory for "*Shell
9162         Command Output" buffer.
9164         * language/european.el (iso-latin-4): Fix typo.
9166         * emacs-lisp/crm.el: New file.
9168 2000-04-24  Dave Love  <fx@gnu.org>
9170         * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
9171         (Custom-reset-saved, Custom-reset-standard)
9172         (custom-group-value-create, custom-group-set, custom-group-save)
9173         (custom-group-reset-current, custom-group-reset-saved)
9174         (custom-group-reset-standard): Use mapc.
9175         (custom-buffer-create-internal): Disable undo when creating items.
9176         Use mapc.
9177         (custom-face): Avoid redundant lambda.
9179 2000-04-24  Gerd Moellmann  <gerd@gnu.org>
9181         * startup.el (auto-save-list-file-prefix): Set default to
9182         `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
9184 2000-04-24  Sam Steingold  <sds@gnu.org>
9186         * time-stamp.el (time-stamp-string-preprocess): Always convert
9187         `field-result' to a string.
9189 2000-04-24  Gerd Moellmann  <gerd@gnu.org>
9191         * frame.el (scrolling): New group.
9192         (automatic-hscrolling): New user-option.
9194         * startup.el (command-line-x-option-alist): Add `-lsp' and
9195         `--line-spacing'.
9197 2000-04-19  Dave Love  <fx@gnu.org>
9199         * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
9200         (cl-mapc): Rename from mapc.  Fix the funcall.
9202 2000-04-19  Gerd Moellmann  <gerd@gnu.org>
9204         * simple.el (clone-indirect-buffer-other-window): New command.
9205         (clone-indirect-buffer): Add optional arg NORECROD.
9206         (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
9208         * help.el (resize-temp-buffer-window): Use count-screen-lines.
9210         * window.el (count-screen-lines): New function.
9211         (shrink-window-if-larger-than-buffer): Use count-screen-lines
9212         instead of window-buffer-height.
9214         * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
9215         non-existing variable comint-input-sentinel.
9216         (inferior-lisp-args-to-list): Removed.
9217         (inferior-lisp): Use split-string instead of
9218         inferior-lisp-args-to-list.
9220         * hexl.el (hexl-insert-hex-string): New command.
9222         * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
9223         instead of concat.
9225 2000-04-18  Gerd Moellmann  <gerd@gnu.org>
9227         * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
9228         at the start of an existing but empty folder.
9230 2000-04-18  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9232         * ps-mule.el: Customization fix, doc fix.
9233         (ps-multibyte-buffer): Customization fix.
9235 2000-04-17  Richard M. Stallman  <rms@gnu.org>
9237         * subr.el (read-passwd): Use read-char-exclusive.
9239 2000-04-17  Gerd Moellmann  <gerd@gnu.org>
9241         * textmodes/texinfo.el (texinfo-insert-@email)
9242         (texinfo-insert-@emph, texinfo-insert-@quotation)
9243         (texinfo-insert-@strong, texinfo-insert-@url): New functions.
9244         (texinfo-mode-map): Add key bindings for them.
9246         * files.el (basic-save-buffer-2): Use a template with `$'
9247         instead of `#' for VMS.
9249         * simple.el (clone-indirect-buffer): New function.
9251 2000-04-16  Stephen Eglen  <stephen@gnu.org>
9253         * iswitchb.el (iswitchb-case): New function.  If the user input
9254         contains any upper-case characters, the search is made
9255         case-sensitive.
9257 2000-04-17  Stefan Monnier  <monnier@cs.yale.edu>
9259         * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
9260         comment-end.
9261         (texinfo-font-lock-syntactic-keywords): New var.
9262         (texinfo-font-lock-keywords): Remove comment regexp.
9263         (texinfo-insert-block): New function.
9264         (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
9265         (texinfo-mode): Use define-derived-mode.  Tweak comment-start-skip
9266         and font-lock-defaults.  Use regexp-opt for outline-regexp.
9267         (texinfo-environments): New var.
9268         (texinfo-environment-regexp): Use regexp-opt and
9269         texinfo-environments.
9271         * textmodes/ispell.el (ispell-menu-map-needed): Check that
9272         ispell-process is bound since this might be eval'd before ispell
9273         is loaded.
9274         (ispell-message): Use a tiny bit less magic and a bit more hard
9275         data to figure out what kind of sc-cite-regexp to use.
9277         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
9279         * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
9280         (insert-cyclic-diary-entry): Unquote the lambda.
9282         * gud.el (gud-jdb-build-source-files-list): Fix typo.
9284         * files.el (backup-enable-predicate): Unquote the lambda.
9286         * cus-edit.el (custom-face, face): Unquote the lambda.
9288 2000-04-15  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9290         * ps-print.el: Check for line-beginning-position definition.
9292         * ps-print.el: Fix counting lines in a region.
9293         (ps-print-version): New version number (5.1.5).
9294         (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
9295         (ps-printing-region): Fun code fix.
9297 2000-04-15  Gerd Moellmann  <gerd@gnu.org>
9299         * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
9300         to file-directory-p.
9302 2000-04-14  Gerd Moellmann  <gerd@gnu.org>
9304         * gud.el (gud-jdb-build-source-files-list): Check that directory
9305         exists before calling directory-files.
9307 2000-04-13  Dave Love  <fx@gnu.org>
9309         * emacs-lisp/trace.el: Change maintainer.  Use new backquote
9310         syntax.
9312         * emacs-lisp/cl-specs.el: Remove when, unless.
9314         * emacs-lisp/cl-extra.el: Don't quote keywords.
9315         (cl-old-mapc): New variable.
9316         (mapc): Use it.
9317         (cl-map-intervals): Use with-current-buffer.  Don't check for
9318         next-property-change.
9319         (cl-map-overlays): Use with-current-buffer.
9320         (cl-expt): Remove.
9321         (copy-tree, remprop): Define unconditionally.
9323         * emacs-lisp/cl-compat.el (keywordp): Remove.
9325         * emacs-lisp/edebug.el (edebug-keywordp): Remove.  Change callers
9326         to use keywordp.
9327         (edebug-spec): Enable keywordp.
9329         * cus-edit.el (custom-sort-items): Avoid symbol-name with new
9330         string-lessp.
9332         * cus-start.el: Use keywordp.
9334 2000-04-13  Edward M. Reingold  <reingold@emr.cs.uiuc.edu>
9336         * diary-lib.el (include-other-diary-files): Fix the fix of
9337         2000-02-18 by doing a save-excursion.
9339 2000-04-13  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9341         * ps-print.el: Customization fix, doc fix.
9342         (ps-print-version): New version number (5.1.4).
9343         (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
9344         (ps-print-preprint): Adjust code.
9345         (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
9346         (ps-print-prologue-header, ps-print-control-characters)
9347         (ps-spool-config): Customization fix.
9349 2000-04-13  Eli Zaretskii  <eliz@is.elta.co.il>
9351         * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
9352         converted to the new menu-item format, names silightly changed,
9353         help strings added.
9355         Support for spelling without async subprocesses:
9357         * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
9358         (ispell-session-buffer): New variables.
9359         (ispell-start-process, ispell-process-status,
9360         ispell-accept-output, ispell-send-string): New functions, for
9361         Ispell invocation when async subprocesses aren't supported.
9362         (ispell-word, ispell-pdict-save, ispell-command-loop,
9363         ispell-process-line, ispell-buffer-local-parsing): Replace calls
9364         to process-send-string with calls to ispell-send-string, and
9365         accept-process-output with ispell-accept-output.
9366         (ispell-init-process): Call ispell-process-status instead of
9367         process-status with.
9368         (ispell-init-process): Call ispell-start-process.  Call
9369         ispell-accept-output and ispell-send-string.  Don't call
9370         process-kill-without-query and kill-process if they are unbound.
9371         (ispell-async-processp): New function.
9373 2000-04-12  Dave Love  <fx@gnu.org>
9375         * info.el: Add debug-ignored-errors.
9376         (Info-mode-menu): Add some items.
9377         (Info-directory): Add autoload cookie.
9379         * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
9380         Modify `truncate-lines'.  Make `describe-language-environment'
9381         always visible and add help.  Modify `describe-key' help.  Invoke
9382         Info-directory from `info'.  New entry `emacs-manual'.
9384 2000-04-10  Gerd Moellmann  <gerd@gnu.org>
9386         * progmodes/ebrowse.el (ebrowse-tree-mode): Use
9387         propertized-buffer-identification.
9388         (ebrowse-update-member-buffer-mode-line): Likewise.
9389         (ebrowse--mode-strings): Removed.
9390         (ebrowse--mode-line-props): Removed.
9392         * files.el (auto-mode-alist): Add `EBROWSE'.
9394         * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
9395         space before testing for end of buffer.
9396         (ebrowse-load): Removed.
9397         (ebrowse-revert-tree-buffer-from-file): Rewritten.
9398         (ebrowse-create-tree-buffer): Rewritten.
9399         (ebrowse-tree-mode): Read tree from buffer.
9401         * progmodes/ebrowse-ffh.el: Removed.
9403 2000-04-10  Kenichi Handa  <handa@etl.go.jp>
9405         * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
9407 2000-04-10  Gerd Moellmann  <gerd@gnu.org>
9409         * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
9410         at the wrong place.
9412 2000-04-09  Dave Love  <fx@gnu.org>
9414         * files.el (backup-enable-predicate): Use
9415         temporary-file-directory, small-temporary-file-directory.
9416         (make-backup-file-name-function, backup-directory-alist): New
9417         variables.
9418         (make-backup-file-name-1): New function.
9419         (make-backup-file-name): Use it.
9420         (find-backup-file-name): Likewise.  Use format for clarity, not
9421         concat.
9422         (file-newest-backup): Use make-backup-file-name.
9424 2000-04-09  Gerd Moellmann  <gerd@gnu.org>
9426         * progmodes/ebrowse-ffh.el: New file.
9428         * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
9429         to ebrowse-ffh.el.
9430         (ebrowse-load): Add autoload.
9432         * finder.el (finder-commentary): Add autoload cookie.
9434         * mail/rfc2368.el: Correct author's email address.
9436         * progmodes/ebrowse.el: New file.
9438         * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
9439         item help string.
9440         (easy-menu-do-add-item): Ditto.
9441         (easy-menu-define): Extend doc string.
9443         * jit-lock.el (with-buffer-unmodified): Use
9444         restore-buffer-modified-p.
9445         (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
9446         (jit-lock-function, jit-lock-stealth-fontify): Don't use
9447         with-buffer-unmodified.
9449 2000-04-08  Dave Love  <fx@gnu.org>
9451         * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
9452         unless, when.
9454 2000-04-07  Mikio Nakajima  <minakaji@osaka.email.ne.jp>
9456         * viper-util.el (viper-put-on-search-overlay): New subroutine.
9457         (viper-flash-search-pattern): No operation when using Emacs
9458         doesn't support face.
9459         Use `viper-put-on-search-overlay'.
9461 2000-04-04  Gerd Moellmann  <gerd@gnu.org>
9463         * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
9464         like C-r.
9466         * progmodes/make-mode.el: Some doc fixes.
9467         (makefile-mode-abbrev-table): New variable.
9468         (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
9469         (makefile-font-lock-keywords): Fontify includes and conditionals.
9470         (toplevel): Require `dabbrev' and `add-log' when compiling.
9472         * replace.el (perform-replace): Don't move forward one char
9473         when MATCH-AGAIN is nil, and REGEXP-FLAG is t.  We don't want
9474         to do that because it leaves point 1 position after the last
9475         replacement, after everything has been replaced.
9477         * jit-lock.el (with-buffer-unmodified): New macro.
9478         (with-buffer-prepared-for-font-lock): Don't preserve buffer's
9479         modified state.
9480         (jit-lock-function-1): Extracted from jit-lock-function; not
9481         preserving buffer's modified state.
9482         (jit-lock-function, jit-lock-stealth-fontify): Call
9483         jit-lock-function-1.
9485         * mail/rfc2368.el: Remove supernumerary copyright line.
9487 2000-04-04  Milan Zamazal  <pdm@freesoft.cz>
9489         * glasses.el: Provide facilities for inserting space before left
9490         parentheses and uncapitalization of identifiers.
9491         (glasses-mode): Try to remove old overlays in all cases.
9493 2000-04-03  Gerd Moellmann  <gerd@gnu.org>
9495         * progmodes/compile.el (compile-internal): Display the compilation
9496         buffer in a different frame, if it's already displayed there.
9498         * mail/rfc2368.el: New file.
9500         * simple.el (sendmail-user-agent-compose): Recognize a `body'
9501         header and insert its value as mail body.
9503         * subr.el (member-ignore-case): New function.
9505         * dabbrev.el (dabbrev-ignored-regexps): New user-option.
9506         (dabbrev--find-expansion): Ignore buffers matching a regexp
9507         from dabbrev-ignored-regexps.
9509         * jka-compr.el (jka-compr-compression-info-list): Add `.z'
9510         to extensions handled by gzip.
9512 2000-04-03  Richard M. Stallman  <rms@gnu.org>
9514         * files.el (insert-directory): List the total free space
9515         along with the used space.
9517         * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
9518         line is followed by one that matches CITATION-REGEXP, end the
9519         paragraph.
9521 2000-04-03  Markus Rost  <rost@delysid.gnu.org>
9523         * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
9524         (rmail-make-basic-summary-line): Use that option.
9526 2000-04-03  Kenichi Handa  <handa@etl.go.jp>
9528         * international/mule-cmds.el (encoded-string-description):
9529         Rewritten.   Try pretty description for ISO 2022 escape sequences
9530         only if CODING-SYSTEM is based on ISO 2022.  Use uppercase letters
9531         for hexadecimal format.
9533 2000-04-01  Dave Love  <fx@gnu.org>
9535         * cpp.el: Change customization group to `c' from `C'.
9537         * vcursor.el (vcursor-move): Use display-color-p.
9539         * international/mule-util.el: Provide mule-utils.
9540         (string-to-sequence): Simplify and speed up.
9542         * international/mule.el (make-coding-system): Purecopy doc-string.
9544         * international/mule-cmds.el: Various menu changes.
9545         (describe-specified-language-support): Handle `Default'.
9546         (set-language-info): Purecopy `info'.
9548 2000-03-31  Andrew Innes  <andrewi@gnu.org>
9550         * vc.el (vc-backend-diff): Return the correct status if we had to
9551         retry the rcsdiff command without the --brief option.
9553 2000-03-31  Dave Love  <fx@gnu.org>
9555         * help.el (help-manyarg-func-alist): Correct several omissions.
9557         * add-log.el: Don't require cl, fortran.
9558         (add-log-current-defun-function): Doc fix.
9559         (change-log-version-number-regexp-list): Remove SCCS part.  Doc
9560         fix.
9561         (change-log-version-rcs): Function deleted.
9562         (change-log-version-number-search): Doc fix.  Use
9563         vc-workfile-version.  Avoid CL dolist.
9564         (add-change-log-entry): Just call add-log-current-defun to get
9565         defun.  Simplify somewhat.
9566         (change-log-get-method-definition-1): Likewise.
9567         (add-log-current-defun): Return nil if calling
9568         add-log-current-defun-function does so.  Move Fortran stuff to
9569         fortran.el.  Return string without properties.
9571         * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
9572         and :alpha: char classes.
9574         * mail/supercite.el: Defvar curline when compiling.
9575         (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
9576         (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
9577         rather than a-zA-Z0-9 to allow non-ASCII characters.
9579 2000-03-31  Gerd Moellmann  <gerd@gnu.org>
9581         * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
9583         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9584         Re-enable new code.
9586         * lpr.el (print-region-1): Use -d to specify printer name for
9587         systems `usg-unix-v*, `dgux', `hpux', `irix'.
9589 2000-03-31  Dave Love  <fx@gnu.org>
9591         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
9592         for function definition in symbol's function value slot first
9593         instead of first consulting byte-compile-function-environment.
9595 2000-03-31  Kenichi Handa  <handa@etl.go.jp>
9597         * language/european.el ("Polish"): New language environment.
9598         (setup-polish-environment): New function.
9600 2000-03-30  Gerd Moellmann  <gerd@gnu.org>
9602         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9603         Disable new code.
9605         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
9606         trying to `load' the symbol of an autoload instead of the file
9607         recorded in the autoload.  Fix error messages.
9609 2000-03-30  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9611         * ps-print.el: PostScript programming fix for ghostview, doc fix.
9612         (ps-print-version): New version number (5.1.3).
9613         (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
9614         (ps-insert-file, ps-output-boolean, ps-plot-with-face)
9615         (ps-generate-postscript-with-faces): Code fix.
9616         (ps-color-values): XEmacs compatibility.
9617         (ps-print-background-image, ps-print-background-text, ps-printer-name)
9618         (ps-default-fg, ps-default-bg): Adjust customization.
9619         (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
9620         (ps-color-scale): Renaming old ps-color-value fun.
9621         (ps-print-headers): Replace ps-print-header group to avoid conflict
9622         with ps-print-header variable.
9623         (ps-print-miscellany): New group.
9624         (ps-format-color, ps-rgb-color): New funs.
9625         (ps-default-foreground): New var.
9626         (ps-printer-name-option): New const.
9628 2000-03-30  Peter Breton  <pbreton@ne.mediaone.net>
9630         * net/net-utils.el:
9631         (network-connection-host, network-connection-service): New variables
9632         (network-connection-mode): New mode, derived from comint-mode
9633         (network-connection-mode-setup): New function, saves host and
9634         service information in local variables.
9636         * lisp/locate.el:
9637         (locate-word-at-point): Added this function
9638         (locate): Default to using locate-word-at-point as input
9639         Run dired-mode-hook
9641 2000-03-29  Dave Love  <fx@gnu.org>
9643         * calendar/appt.el: Doc fixes.
9644         (appt-check): Convert min-to-app to a string before passing to
9645         appt-disp-window-function or concat.
9646         (appt-delete-window): Remove test for frame-root-window.
9647         (appt-select-lowest-window, appt-convert-time): Simplify.
9649         * emacs-lisp/bytecomp.el: Doc fixes.
9650         (byte-compile-file-form-autoload): Update
9651         byte-compile-function-environment.
9653 2000-03-29  Andreas Schwab  <schwab@suse.de>
9655         * emacs-lisp/autoload.el: Also print defsubst doc string
9656         specially.
9658         * dired.el (dired-insert-directory): If dired-free-space-program
9659         failed just delete its output.
9661 2000-03-29  Dave Love  <fx@gnu.org>
9663         * international/iso-cvt.el: Move provide to end.  Doc fixes.
9664         (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
9665         (iso-iso2sgml, iso-sgml2iso): New functions.
9666         (iso-cvt-define-menu): Fix some entries and use backquote for
9667         clarity.
9669         * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
9671 2000-03-28  Gerd Moellmann  <gerd@gnu.org>
9673         * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
9674         ISO-DATE.  If non-nil, return date in ISO 8601 format.
9676 2000-03-26  Stefan Monnier  <monnier@cs.yale.edu>
9678         * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
9679         if it ever becomes used.
9680         (log-edit-mode-hook): Default to vc-log-mode-hook.
9681         (log-edit-mode): Fix the docstring.
9683         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
9684         the code.
9686 2000-03-26  Dave Love  <fx@gnu.org>
9688         * net/browse-url.el (browse-url): Re-fix case of
9689         browse-url-browser-function being an alist.
9690         (browse-url): Add :link to defgroup.
9692         * files.el: Doc fixes.
9693         (file-truename): Include `[' in wildcard characters.
9694         (automount-dir-prefix): Customize.
9695         (find-file-wildcards): Add :version.
9696         (find-file-noselect): Simplify a mapcar call.
9698         * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
9699         compatible with inf-lisp version.
9700         (eval-defun-1): Fix custom-declare-variable case.
9702 2000-03-25  Stefan Monnier  <monnier@cs.yale.edu>
9704         * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
9706 2000-03-24  Gerd Moellmann  <gerd@gnu.org>
9708         * Makefile (COMPILE_FIRST): New macro.
9709         (compile-files): Compile files from COMPILE_FIRST first.
9711         * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
9712         code.
9714         * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
9715         matching open parenthesis in column 0 to defun-prompt-regexp
9716         only if open-paren-in-column-0-is-defun-start is set.
9718         * sun-curs.el: Require CL at compile-time only.
9720         * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
9721         instead of copy-list which is a function from CL.
9722         (msb--choose-menu, msb--mode-menu-cond)
9723         (msb--create-buffer-menu-2): Use dolist instead of mapc.
9724         (msb--init-file-alist): Use mapcar instead of mapcan.
9725         (msb--aggregate-alist): Use mapcar instead of mapcan.  Fix
9726         `(' in column 0 in doc string.
9727         (msb--add-separators): Use mapcar instead of mapcan.
9729         * cus-dep.el: Require CL at compile-time only.
9731 2000-03-24  Stefan Monnier  <monnier@cs.yale.edu>
9733         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
9734         (byte-compile-warnings): New warning `noruntime'.
9735         (byte-compile-constants, byte-compile-variables): Fix docstring.
9736         (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
9737         execute `eval-whenc-compile's body.
9738         (byte-compile-unresolved-functions): Fix docstring.
9739         (byte-compile-eval): New function.
9740         (byte-compile-callargs-warn): Check if the function will be available
9741         at runtime (via property `byte-compile-noruntime').
9742         (byte-compile-print-syms): New function.
9743         (byte-compile-warn-about-unresolved-functions): Also warn about
9744         `noruntime' functions (and use `byte-compile-print-syms').
9745         (byte-compile-file): Capitalize the message.
9747 2000-03-24  Gerd Moellmann  <gerd@gnu.org>
9749         * mail/rmail.el (rmail-confirm-expunge): New user-option.
9750         (rmail-expunge): Ask for confirmation depending on the setting
9751         of rmail-confirm-expunge.
9753 2000-03-23  Gerd Moellmann  <gerd@gnu.org>
9755         * Makefile (bootstrap-clean): If $(emacs) exists, build
9756         loaddefs.el first.  A loaddefs.el that's not up-to-date might
9757         cause a bootstrap failure because things don't autoload as
9758         expected.
9760 2000-03-23  Dave Love  <fx@gnu.org>
9762         * net/browse-url.el: Restore previous use of
9763         browse-url-maybe-new-window.
9765 2000-03-23  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9767         * ps-print.el: Skip banner page fix.
9768         (ps-print-version): New version number (5.1.2).
9769         (ps-begin-file, ps-end-file, ps-generate): Code fix.
9771 2000-03-23  Dave Pearson  <davep@davep.org>
9773         * net/quickurl.el Changed the type of parameter passed to the
9774         function defined by `quickurl-format-function'. Before only the
9775         text of the URL was passed. Now the whole URL structure is passed
9776         and the function is responsible for extracting the parts it
9777         requires.  Changed the default of `quickurl-format-function'
9778         accordingly.
9779         (quickurl-insert): Changed the `funcall' of
9780         `quickurl-format-function' to match the above change.
9781         (quickurl-list-insert): Changed the `url' case so that it makes
9782         use of `quickurl-format-function', previous to this the format was
9783         hard wired.
9785 2000-03-22  Gerd Moellmann  <gerd@gnu.org>
9787         * startup.el: Change some spellings for the X Window System.
9789 2000-03-22  Stefan Monnier  <monnier@cs.yale.edu>
9791         * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
9792         up the code and the regexp and make sure the cursor is temporarily
9793         moved to the suspicious line while querying the user.
9795 2000-03-22  Jason Rumney  <jasonr@gnu.org>
9797         * w32-fns.el (w32-charset-info-alist): Initialize.
9799 2000-03-22  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9801         * ps-print.el: N-up last page fix.
9802         (ps-print-version): New version number (5.1.1).
9803         (ps-end-file, ps-end-job, ps-generate): Code fix.
9805 2000-03-21  Stefan Monnier  <monnier@cs.yale.edu>
9807         * files.el (find-file-run-dired): Update docstring.
9808         (find-directory-functions): New hook.
9809         (find-file-noselect): Run find-directory-functions rather than
9810         calling dired directly.
9812         * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
9814         * pcvs.el: Add a minimal leading commentary.
9815         (cvs-make-cvs-buffer): Change the header part by removing the startup
9816         message and adding a `Module' entry.  Also replace the FOOTER and
9817         HEADER special fileinfos with the new support in ewoc for updating
9818         its own footer and header.
9819         (cvs-update-header): Update to use the header/footer of the ewoc.
9820         (cvs-mode): Use define-derived-mode and set truncate-lines to t.
9821         (cvs-is-within-p): New function.
9822         (cvs-mode-run): Take advantage of `save-some-buffers's new ability
9823         to only examine some subset of the buffers.
9825         * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
9826         `format' instead of our own ad-hoc functions.
9827         Remove HEADER and FOOTER cases, now handled in the EWOC.
9828         (cvs-fileinfo<): Remove HEADER and FOOTER cases.
9830         * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
9831         output to avoid scaring the user.
9832         (cvs-parse-table): Catch message for non-up-to-date commits.
9834         * pcvs-defs.el (cvs-startup-message): Remove.
9835         (cvs-global-menu): New autoloaded menu.
9837         * pcvs-util.el (cvs-string-fill): Remove.
9839         * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
9840         (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
9841         PP part of it and also make it work for footers and headers.
9842         (ewoc-create): Drop POS and BUFFER arguments.
9843         Use the DLL's dummy node to store the end-of-footer position.
9844         (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
9845         (ewoc-refresh): Remove unused `header' variable.
9846         (ewoc-(get|set)-hf): New functions.
9848         * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
9849         log-view-*-(message|file) and use easy-mmode-define-navigation.
9850         (log-view-message-re): Match SCCS format as well.
9851         And match the revision line rather than the dashed separator line.
9852         (log-view-mode): Use the new define-derived-mode.
9853         (log-view-current-tag): Fill in with an actual implementation.
9855         * cvs-status.el (cvs-status-(prev|next)): Rename from
9856         cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
9857         (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
9858         to let the output "breathe" a little more (more readable).
9859         (cvs-status-mode): Use the new define-derived-mode.
9861         * smerge-mode.el (smerge-auto-leave): New function and variable.
9862         (smerge-basic-map): Rename from smerge-basic-keymap.
9863         Change the bindings for smerge-diff-*.
9864         (smerge-*-map): Use easy-mmode-defmap.
9865         (smerge-(next|prev)): Use easy-mmode-define-navigation.
9866         (smerge-keep-*): Use smerge-auto-leave.
9868 2000-03-21  Jason Rumney  <jasonr@gnu.org>
9870         * cus-edit.el (custom-button-face): Use 3D look for w32.
9871         (custom-button-pressed-face): Likewise.
9873 2000-03-21  Gerd Moellmann  <gerd@gnu.org>
9875         * progmodes/etags.el (tags-case-fold-search): New user-option.
9876         (tags-loop-eval): New function.  Bind case-fold-search around eval
9877         depending on the value of tags-case-fold-search.
9878         (tags-loop-continue): Use tags-loop-eval.
9879         (find-tag-in-order): Bind case-fold-search depending on the value
9880         of tags-case-fold-search.
9882 2000-03-21  Stefan Monnier  <monnier@cs.yale.edu>
9884         * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
9885         (diff-end-of-hunk): Return the end position for use in
9886         `easy-mmode-define-navigation'.
9887         (diff-recenter): Remove.
9888         (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
9889         of `easy-mmode-define-navigation'.
9890         (diff-kill-*): Rename `diff-*-kill' (for consistency with the
9891         previous renaming) and fix to use new names.
9892         (diff-merge-strings): Use \n as separator: simpler, faster.
9893         (diff-mode): Use `define-derived-mode'.
9895         * derived.el (define-derived-mode): Don't autoload anymore.
9896         Prefer the macro-only version provided by easy-mmode.el.
9898         * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
9899         `easy-mmode-define-derived-mode'.
9900         Use `combine-run-hooks'.
9901         (easy-mmode-define-navigation): New macro.
9903         * subr.el (combine-run-hooks): New function.
9905 2000-03-21  Kenichi HANDA  <handa@etl.go.jp>
9907         * term/x-win.el: Fontsets related initialization is simplified.
9909         * international/mule-diag.el (describe-font): Don't refer to
9910         global-fontset-alist, instead call font-list.
9911         (describe-fontset, list-fontsets, mule-diag): Likewise.
9912         (print-fontset): Adjusted for the change of fontset
9913         implementation.
9915         * international/fontset.el (x-charset-registries): Variable
9916         removed, instead the corresponding data is stored in the default
9917         fontset.
9918         (register-alternate-fontnames): Function removed.
9919         (resolved-ascii-font): Variable removed.
9920         (x-compose-font-name): Ignore the second argument REDOCE.
9921         (x-complement-fontset-spec): Complement only an ASCII font and
9922         element for those charsets than can use that ASCII font.
9923         (generate-fontset-menu): Don't refer to global-fontset-alist,
9924         instead call fontset-list.
9925         (uninstantiated-fontset-alist): Variable removed.
9926         (x-style-funcs-alist): Likewise.
9927         (fontset-default-styles): Likewise.
9928         (x-modify-font-name): Function removed.
9929         (create-fontset-from-fontset-spec): Ignore the argument
9930         STYLE-VARIANT.
9931         (create-fontset-from-ascii-font): Docsting adjusted for the above
9932         change.
9933         (instantiate-fontset, resolve-fontset-name): Functions removed.
9934         (fontset-list): Now implemented by C code.
9936         * faces.el (read-face-font): Fix TABLE arg to completing-read.
9937         (describe-face): Include `font' attribute in the description.
9939 2000-03-21  Kenichi Handa  <handa@etl.go.jp>
9941         * international/quail.el (quail-set-keyboard-layout): Typo fixed.
9943 2000-03-20  Gerd Moellmann  <gerd@gnu.org>
9945         * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
9946         ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
9947         zone-mode.el, snmp-mode.el: Moved to net subdirectory.
9949         * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
9950         about behavior of set-buffer-modified-p wrt redisplay.
9952 2000-03-19  Richard M. Stallman  <rms@gnu.org>
9954         * view.el (view-mode-disable): Kill local binding of view-read-only.
9956 2000-03-18  Gerd Moellmann  <gerd@gnu.org>
9958         * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
9959         is a string, convert it to a syntax cell using string-to-syntax.
9961         * simple.el (syntax-code-table, syntax-flag-table): New variables.
9962         (string-to-syntax): New function.
9964         * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
9965         (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
9966         try to use passive ftp mode.
9968 2000-03-17  Gerd Moellmann  <gerd@gnu.org>
9970         * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
9972         * simple.el (append-to-buffer): Update point of windows after
9973         insertion.
9975         * abbrev.el (inverse-add-abbrev): Identify word by first moving
9976         forward then moving backward.  Reindent.
9978         * frame.el (other-frame): Call x-focus-frame only if
9979         focus-follows-mouse is off.
9981 2000-03-17  Dave Love  <fx@gnu.org>
9983         * pcvs-util.el (cvs-strings->string): Rename
9984         replace-regexps-in-string.
9986 2000-03-17  Stefan Monnier  <monnier@cs.yale.edu>
9988         * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
9989         regexp for labels cannot span several lines.
9991         * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
9992         `(setq :<key> ':<key>)' to the macro expansion.
9994 2000-03-16  Dave Love  <fx@gnu.org>
9996         * progmodes/f90.el (f90): Put custom group under `languages', not
9997         `fortran'.
9998         (f90-mode-hook): Customize.
9999         (f90-mode): Set add-log-current-defun-function.
10000         (f90-current-defun): New function.
10002 2000-03-16  Gerd Moellmann  <gerd@gnu.org>
10004         * cus-edit.el (custom-variable-tag-face): Handle case that
10005         default face's height is not a number.
10006         (custom-face-tag-face, custom-group-tag-face-1)
10007         (custom-group-tag-face): Ditto.
10008         (custom-group-tag-face-1): Add :group.
10010         * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
10012 2000-03-15  Gerd Moellmann  <gerd@gnu.org>
10014         * pcvs-defs.el (toplevel): Remove autoload cookie for form
10015         requiring easymenu.
10017 2000-03-15  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
10019         * ps-print.el: PostScript user-defined prologue, PostScript error
10020         handler, doc fix.
10021         (ps-print-version): New version number (5.1).
10022         (ps-user-defined-prologue, ps-error-handler-message)
10023         (ps-print-prologue-0, ps-error-handler-alist): New vars.
10024         (ps-setup, ps-begin-file, ps-begin-job): Code fix.
10025         (ps-insert-string): New function.
10027 2000-03-15  Kenichi Handa  <handa@etl.go.jp>
10029         * international/ccl.el (ccl-compile-expression): Don't generate
10030         invalid self-assignment code.
10032 2000-03-14  Dave Love  <fx@gnu.org>
10034         * subr.el (replace-regexp-in-string): Renamed from
10035         replace-regexps-in-string.  Doc fix.
10037 2000-03-12  Dave Love  <fx@gnu.org>
10039         * cus-edit.el: Doc fixes.
10040         (customize-set-variable, customize-save-variable): Rename args for
10041         doc.
10042         (custom-variable-tag-face, custom-face-tag-face)
10043         (custom-group-tag-face-1, custom-group-tag-face): Modify from
10044         style which user identify as hyperlink.
10045         (hook): Don't add undefined functions to the hook.
10046         (debug-ignored-errors): Transfer message from bindings.el.
10048 2000-03-12  Gerd Moellmann  <gerd@gnu.org>
10050         * recentf.el (recentf-keep-non-readable-files-p): Remove
10051         double/nested definition.
10053 2000-03-12  Dave Love  <fx@gnu.org>
10055         * facemenu.el (facemenu-get-face): Use display-color-p.
10056         * enriched.el (enriched-decode-foreground): Likewise.
10057         (enriched-decode-background): Likewise.
10058         * isearch.el (isearch-highlight): Likewise.
10059         * info-look.el (info-lookup): Likewise.
10060         * simple.el (completion-setup-function): Likewise.
10062         * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
10063         :options.
10065         * bindings.el (mode-line-format): Fix line-number and
10066         column-number items.  Add help-echo for the background.
10067         (mode-line-mule-info): Modify help-echo.
10069         * avoid.el (mouse-avoidance-mode): Add autoload cookie to
10070         defcustom.
10072         * files.el (load-file): Allow completion to .elc.
10074         * man.el: Doc fixes.
10075         (Man-init-defvars): Use display-color-p to set fontification.
10077         * play/hanoi.el (hanoi-internal): Don't use oddp.
10079 2000-03-12  Gerd Moellmann  <gerd@gnu.org>
10081         * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
10083         * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
10085 2000-03-12  Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
10087         * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
10088         Fix comment.
10090 2000-03-10  Stefan Monnier  <monnier@cs.yale.edu>
10092         * font-lock.el (font-lock-keywords): Fix the doc now that
10093         regexp-opt-depth is unnecessary.
10094         (save-buffer-state): Set an edebug spec.
10095         (font-lock-fontify-anchored-keywords): Properly handle the case when
10096         the matcher goes past the limit.
10098         * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
10099         pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
10101         * emacs-lisp/ewoc.el: New file.  This is a merge of elib-node.el,
10102         dll.el and cookie.el (from Elib) with heavy renaming and other
10103         massaging.
10105         * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
10106         Autoload the functions used.
10107         (easy-mmode-define-syntax): Fix CL typo.
10108         (easy-mmode-define-derived-mode): Improve the docstring generation.
10110 2000-03-10  Gerd Moellmann  <gerd@gnu.org>
10112         * textmodes/texinfo.el (texinfo-version): Variable and function
10113         removed.
10115 2000-03-09  Stefan Monnier  <monnier@cs.yale.edu>
10117         * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
10118         allow more flexibility.
10119         (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
10120         fns.
10121         (easy-mmode-defmap, easy-mmode-defsyntax)
10122         (easy-mmode-define-derived-mode): New macros.
10124 2000-03-09  Didier Verna  <didier@xemacs.org>
10126         * rect.el (replace-rectangle): New function.
10128 2000-03-09  Dave Love  <fx@gnu.org>
10130         * progmodes/fortran.el (fortran-comment-line-start): Define as
10131         "C".
10132         (fortran-comment-line-start-skip): Don't match cpp stuff.
10133         (font-lock-keywords): Add * to comment-chars.  Grok cpp stuff.
10134         (fortran-mode-map): Remove over-eager custom-menu-create for now.
10135         (fortran-mode): Don't set fortran-comment-line-start-skip,
10136         fortran-comment-line-start here.  Set comment-start,
10137         add-log-current-defun.
10138         (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
10139         (fortran-current-defun): New function.
10141 2000-03-09  Gerd Moellmann  <gerd@gnu.org>
10143         * emacs-lisp/re-builder.el: New file.
10145         * mouse.el (mouse-drag-region): Don't run up-event handler
10146         if hscroll has changed.
10148         * octave-mod.el (octave-font-lock-keywords): To font-lock the
10149         builtin operators, use `font-lock-builtin-face' for Emacs and
10150         `font-lock-preprocessor-face' otherwise.
10152         * font-lock.el (lisp-font-lock-keywords-1): Highlight
10153         `(defun (setf foo)' differently.
10155 2000-03-08  Stefan Monnier  <monnier@cs.yale.edu>
10157         * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
10158         (regexp-opt): Update comment and adapt the code the new meaning of
10159         the `paren' argument of regex-opt-group for shy-groups.
10160         (regexp-opt-depth): Handle shy groups as well as backslashed
10161         backslashes.
10162         (regexp-opt-group): Turn the leading comment into a docstring.
10163         Allow `paren' to be a string (the string to use to open a group).
10164         Remove open-presuf and close-presuf.  Instead of checking for `all
10165         one-char' and then later on check for `several one-char', handle
10166         both cases close together.  Also apply a more generic algorithm
10167         for suffixes (the mirror image of the algorithm used for
10168         prefixes).  Use shy-groups.  Use nreverse rather than reverse.
10169         (regexp-opt-try-suffix): Removed.
10171         * cmuscheme.el (inferior-scheme-mode-map): Define it independently
10172         from comint-mode-map, so we can just inherit from it.  Also, move
10173         the initialization into the `defvar' since there's no docstring
10174         anyway and it's fairly short.
10175         (inferior-scheme-mode): Define it as derived-mode: the code is
10176         shorter and this way we inherit from comint-mode-map rather than
10177         copying it.
10179         * subr.el (replace-regexps-in-string): Properly handle the case
10180         where we match an empty string.
10182         * comint.el (comint-exec-1): Add the current-dir to the exec-path
10183         when the command has a directory component (such as "./testml").
10184         Also fix a typo in the comment.
10186 2000-03-08  Gerd Moellmann  <gerd@gnu.org>
10188         * Makefile (compile-files): Compile files one by one because
10189         that's the only way to ensure a clean compilation environment for
10190         each individual file.
10192         * frame.el (other-frame): Call x-focus-frame.
10194 2000-03-07  Dave Love  <fx@gnu.org>
10196         * recentf.el (recentf-keep-non-readable-files-p): Add :set,
10197         :require to defcustom.
10199         * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
10200         lists.
10202         * files.el (auto-mode-alist): Add configure.in.
10204         * progmodes/autoconf.el: New file.
10206 2000-03-07  Gerd Moellmann  <gerd@gnu.org>
10208         * mail/mh-e.el: Change maintainer to `none'.
10210         * recentf.el (recentf-keep-non-readable-files-p): Quote args
10211         to remove-hook and add-hook.
10213 2000-03-07  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
10215         * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
10216         it as the default.
10217         (mail-send): Test mail-send-nonascii also for the new `mime' value.
10218         (sendmail-send-it): Conditionally add MIME headers specifying the
10219         used character set.
10221 2000-03-07  Dave Love  <fx@gnu.org>
10223         * winner.el: Fix keywords, autoload cookies.  Split
10224         eval-when-compile form to avoid compilation failure.
10226 2000-03-07  Miyashita Hisashi  <himi@bird.scphys.kyoto-u.ac.jp>
10228         * international/mule.el: Modify comment about coding system
10229         property `coding-category'.
10230         (make-coding-system): New argument EOL-TYPE.  Pay attention to
10231         coding-category property of PROPERTIES.
10233         * international/mule-conf.el (coding-category-utf-8,
10234         coding-category-utf-16-be, coding-category-utf-16-le): New coding
10235         categories.  Include them in the argument for set-coding-priority.
10237         * international/mule-cmds.el (reset-language-environment): Include
10238         coding-category-utf-8, coding-category-utf-16-be, and
10239         coding-category-utf-16-le in the argument for set-coding-priority.
10240         (reset-language-environment): Initialize coding-category-utf-8,
10241         coding-category-utf-16-be, and coding-category-utf-16-le to nil.
10243 2000-03-06  Karl Fogel  <kfogel@red-bean.com>
10245         * bookmark.el (bookmark-file-or-variation-thereof): New func, for
10246         code abstracted out of `bookmark-jump-noselect'.  Now tries info
10247         extensions as well as compression extensions.
10248         (bookmark-jump-noselect): Use above new func.
10250 2000-03-03  Gerd Moellmann  <gerd@gnu.org>
10252         * strokes.el: Change maintainer's mail address.
10254 2000-03-03  Kenichi Handa  <handa@etl.go.jp>
10256         * international/mule-diag.el (list-character-sets): Make help-echo
10257         string by substitute-command-keys.
10258         (list-character-sets): Likewise.
10259         (sort-listed-character-sets): Call help-setup-xref.
10261 2000-03-02  Gerd Moellmann  <gerd@gnu.org>
10263         * time.el (display-time-mail-file): Add `none' to the list of
10264         choices.
10266 2000-03-01  Dave Love  <fx@gnu.org>
10268         * help.el (help-xref-go-back): Don't try to set position.
10270         * international/mule-diag.el (list-character-sets): Call
10271         help-setup-xref.  Add help-echo to xrefs.
10272         (list-character-sets-1): Add help-echo to xrefs.
10274 2000-03-02  Gerd Moellmann  <gerd@gnu.org>
10276         * frame.el (blink-cursor-mode): Switch cursor on when turning
10277         the mode off.
10279         * add-log.el (add-log-current-defun): Add support for
10280         Autoconf mode.
10282         * mail/rmail.el (rmail-quit-hook): New variable.
10284 2000-03-01  Dave Love  <fx@gnu.org>
10286         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
10288         * help.el (help-xref-button): Add help-echo arg.
10289         (describe-function-1, describe-variable, help-make-xrefs): Use it.
10291         * faces.el (list-faces-display): Supply help-echo with
10292         help-make-xrefs.
10294         * facemenu.el (list-text-properties-at): Set help-xref-stack to
10295         nil.
10297 2000-03-01  Gerd Moellmann  <gerd@gnu.org>
10299         * image.el (defimage): Look for image files in load-path.
10301         * frame.el (busy-cursor-delay-seconds): Change type to
10302         `number'.
10304 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
10306         * recentf.el (recentf): Added version tag to the defgroup of
10307         recentf.
10309 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
10311         * recentf.el (recentf-cleanup): Changed to remove excluded file
10312         too.
10313         (recentf-edit-list-action): `recentf-edit-list' checkbox widget
10314         action to select/unselect a file.
10315         (recentf-edit-list): Code cleanup and improvement.
10316         (recentf-open-more-files-action): `recentf-open-more-files' button
10317         widget action to open a file.
10318         (recentf-open-more-files): No more use standard completion but
10319         widgets.
10320         (recentf-more-collection): Deleted.
10321         (recentf-more-history): Deleted.
10322         (recentf-setup-more-completion): Deleted.
10324 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
10326         * recentf.el (recentf-mode): No more needs that Emacs is running
10327         under a window-system.
10329 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
10331         * recentf.el (recentf-edit-list): New command to edit the recent
10332         list which allow the user to remove files.
10333         (recentf-edit-selected-items): New global variable, used by
10334         `recentf-edit-list' to hold the list of files to be removed from
10335         the recent list.
10336         (recentf-make-menu-items): Updated to display a "Edit list..."
10337         menu item.  Minor code cleanup.
10339 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
10341         * recentf.el (recentf-open-more-files): New command to open files
10342         that are not displayed in the menu.
10343         (recentf-more-collection): New global variable holding the set of
10344         permissible completions used by `recentf-open-more-files'.
10345         (recentf-more-history): New global variable holding the history list
10346         used by `recentf-open-more-files' completion.
10347         (recentf-setup-more-completion): New function to setup completion for
10348         `recentf-open-more-files'.
10349         (recentf-make-menu-items): Updated to display a "More..." menu item.
10351 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
10353         * recentf.el (recentf-menu-action): Doc fixed.
10355 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
10357         * recentf.el (recentf-menu-filter): Doc updated.
10358         (recentf-update-menu-hook): Allow menu filters to force menu update.
10359         (recentf-make-menu-items): New menu filter handling.
10360         (recentf-make-menu-item): New helper function.
10361         (recentf-menu-elements): New menu handling function.
10362         (recentf-sort-ascending): Updated to new menu filter handling.
10363         (recentf-sort-descending): Updated to new menu filter handling.
10364         (recentf-sort-basenames-ascending): New menu filter function.
10365         (recentf-sort-basenames-descending): New menu filter function.
10366         (recentf-show-basenames): New menu filter function.
10367         (recentf-show-basenames-ascending): New menu filter function.
10368         (recentf-show-basenames-descending): New menu filter function.
10370 2000-02-29  Edward M. Reingold  <reingold@emr.cs.uiuc.edu>
10372         * diary-lib.el (list-diary-entries): Don't try to go forward at
10373         the end of the buffer.
10375 2000-02-29  Kenichi Handa  <handa@etl.go.jp>
10377         * international/mule-diag.el (list-character-sets): Completely
10378         rewritten.
10379         (sort-listed-character-sets): New function.
10380         (list-character-sets-1): Completely rewritten.
10381         (list-character-sets-2): New function.
10382         (non-iso-charset-alist): New variable.
10383         (decode-codepage-char): New function.
10384         (charset-history): New variable.
10385         (read-charset) (list-block-of-chars)
10386         (list-iso-charset-chars)
10387         (list-non-iso-charset-chars)
10388         (list-charset-chars): New functions.
10389         (mule-diag): Call list-character-sets-2, not
10390         list-character-sets-2.
10391         (dump-charsets): Likewise.
10393 2000-02-29  Gerd Moellmann  <gerd@gnu.org>
10395         * dired-x.el (dired-filename-at-point): Add `@' to valid
10396         file name characters.
10397         (dired-filename-at-point): Handle ange-ftp file names.
10399         * frame.el (frame-notice-user-settings): Use assq-delete-all
10400         instead of assoc-delete-all.
10401         (frame-notice-user-settings): Ditto.
10403         * subr.el (assq-delete-all): Renamed from assoc-delete-all.
10404         Don't copy alist.
10406 2000-02-28  Eli Barzilay  <eli@cs.cornell.edu>
10408         * calculator.el (calculator-use-menu): New option.
10409         (calculator-initial-bindings): Changed some bindings to work as
10410         macros.
10411         (calculator-forced-input): Removed.
10412         (calculator-restart-other-mode): New variable.
10413         (calculator-mode-map): Set up menu.
10415 2000-02-28  Jari Aalto  <jari.aalto@poboxes.com>
10417         * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
10418         tags.
10420 2000-02-28  Michael Kifer  <kifer@cs.sunysb.edu>
10422         * viper-cmd.el (viper-envelop-ESC-key): added the option to
10423         translate all ESC key sequences.
10424         (viper-goto-mark-subr): restore markers for files for which
10425         they were saved.
10426         * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
10427         * viper-util.el (viper-set-replace-overlay-glyphs,
10428         viper-set-replace-overlay): always check if the replacement
10429         overlay is live.
10430         * viper.el (viper-vi-state-mode-list): added major modes.
10431         * ediff-wind.el: minor comment changes.
10432         * ediff.el: copyright notice date fix.
10434 2000-02-27  Jason Rumney  <jasonr@gnu.org>
10436         * faces.el (face-font-family-alternatives): Add arial to helv.
10437         (mode-line, header-line, tool-bar): Same default as x for w32.
10438         (fixed-pitch, variable-pitch): Remove wildcard as it prevents
10439         face-font-family-alternatives from working.
10440         * term/w32-win.el (mouse-set-font): Do not build fontset from
10441         chosen font.
10443 2000-02-25  Sam Steingold  <sds@goems.com>
10445         * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
10446         properly.
10448 2000-02-25  Richard M. Stallman  <rms@gnu.org>
10450         * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
10452 2000-02-25  Gerd Moellmann  <gerd@gnu.org>
10454         * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
10455         writable.
10457         * frame.el (busy-cursor-delay-seconds): New option.
10459 2000-02-24  Gerd Moellmann  <gerd@gnu.org>
10461         * frame.el (show-cursor-in-non-selected-windows): New option.
10463 2000-02-24  Edward M. Reingold  <reingold@emr.cs.uiuc.edu>
10465         * diary-lib.el (include-other-diary-files): Undo the selective
10466         display in any included file and don't kill it.
10468 2000-02-24  Eli Zaretskii  <eliz@is.elta.co.il>
10470         * dired.el (dired-mode-map): Don't remove "Edit" from the menu
10471         bar.  Menu items converted to (menu-item format, help strings
10472         added.
10473         [downcase, upcase]: Don't enable on MS-DOS.
10474         [symlink, symlinks]: Don't show if make-symbolic-link is not
10475         bound.
10476         [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
10478 2000-02-23  Dave Love  <fx@gnu.org>
10480         * simple.el (zap-to-char, kill-line, kill-region, kill-word)
10481         (backward-kill-word): Revert addition of * to interactive spec --
10482         it's a feature.
10484         * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
10485         (backward-kill-sentence, kill-sentence): Likewise.
10487         * gud.el (gud-jdb-build-class-source-alist): Prepend space to
10488         scratch buffer name.
10489         (gud-format-command): Use int-to-string in ?l case.  Simplify
10490         slightly.
10492         * term/w32-win.el (internal-face-interactive): Update prompt for
10493         new read-face-name.
10495         * mail/footnote.el (footnote): Add :version to defgroup.
10496         (footnote-section-tag-regexp): Customize.
10497         (footnote-start-tag, footnote-end-tag): New option.
10498         (footnote-latin-regexp): New variable.
10499         (Footnote-latin): New function.
10500         (footnote-style-alist): Add element for latin style.
10501         (footnote-style): Moved.
10502         (Footnote-goto-footnote): Use eq to test arg.
10504         * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
10506         * emacs-lisp/byte-opt.el: Change old backquote syntax.
10507         (byte-compile-trueconstp): Include keywords.
10508         (byte-optimize-quote, byte-optimize-lapcode): Use
10509         byte-compile-const-symbol-p.
10510         (byte-optimize-char-before): New optimization.
10512         * emacs-lisp/bytecomp.el: Change old backquote syntax.
10513         (byte-compile-const-symbol-p): New function.
10514         (byte-compile-constp, byte-compile-out-toplevel)
10515         (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
10516         Use it.
10518         * subr.el (define-key-after): Default AFTER to t.  Doc fix.
10520 2000-02-23  Kenichi Handa  <handa@etl.go.jp>
10522         * international/encoded-kb.el: Be sure to update minor-mode-alist
10523         and minor-mode-map-alist.
10524         (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
10525         codes SS2 and SS3 correctly.
10526         (encoded-kbd-self-insert-ccl): New function.
10527         (encoded-kbd-setup-keymap): New function.
10528         (encoded-kbd-mode): Handle CCL based coding system.  Setup keymap
10529         by calling encoded-kbd-setup-keymap.
10531         * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
10532         characters.
10533         (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
10534         locally.
10536 2000-02-22  Dave Love  <fx@gnu.org>
10538         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
10539         (lisp-mode-map, lisp-interaction-mode-map): Define all inside
10540         defvar.
10541         (lisp-mode-syntax-table): Set up for #|...|# comments.
10542         (lisp-imenu-generic-expression): Purecopy strings.  Use syntax
10543         classes.  Match `defface'.
10544         (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
10545         (eval-defun-1): Fix for defcustom.
10546         (lisp-indent-region): Doc fix.
10548         * subr.el (when, unless, split-string): Doc fix.
10549         (read-passwd): Move call of clear-this-command-keys to the right
10550         place.
10551         (replace-regexps-in-string): New function.
10553 2000-02-22  Gerd Moellmann  <gerd@gnu.org>
10555         * help.el (describe-variable): Set syntax table to
10556         emacs-lisp-mode-syntax-table when moving forward over the
10557         symbol's name.
10559 2000-02-22  Dave Love  <fx@gnu.org>
10561         * xt-mouse.el: Doc fixes.
10562         (xterm-mouse-position-function): New function, replacing advice of
10563         mouse-position.
10564         (xterm-mouse-mode): Use it.  Don't turn on under a window system.
10566         * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
10568 2000-02-21  Gerd Moellmann  <gerd@gnu.org>
10570         * format.el (format-annotate-single-property-change): Handle
10571         properties.with dotted-list values.
10572         (format-proper-list-p): New function.
10574         * enriched.el (enriched-face-ans): Handle '(foreground-color
10575         . COLOR) and (background-color . COLOR).
10577 2000-02-20  Dave Love  <fx@gnu.org>
10579         * textmodes/flyspell.el (flyspell-mouse-map): Change definition
10580         and assignments to it.
10581         (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
10582         current local map.
10583         (make-flyspell-overlay): Use it.
10584         (flyspell-correct-word/mouse-keymap): Change XEmacs test.
10586         * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
10587         (lm-get-header-re): Defun, not defsubst.
10588         (lm-get-package-name): Defun, not defsubst.  Simplify.
10589         (lm-version): Doc fix.  Simplify.
10590         (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
10591         (lm-crack-address, lm-last-modified-date, lm-commentary)
10592         (lm-verify, lm-synopsis): Simplify.
10593         (lm-report-bug): Require emacsbug.  Use compose-mail.
10595 2000-02-20  Gerd Moellmann  <gerd@gnu.org>
10597         * dired.el (dired-mode): Call propertized-buffer-identification
10598         to set mode-line-buffer-identification to something having
10599         the right text properties.
10601         * bindings.el (propertized-buffer-identification): New function.
10603 2000-02-20  Dave Love  <fx@gnu.org>
10605         * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
10606         check for t-mouse too.
10608         * cus-start.el: Make echo-keystrokes `number'.
10610 2000-02-20  Eli Zaretskii  <eliz@is.elta.co.il>
10612         * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
10613         Don't call ring-empty-p unless tags-location-ring is bound.
10614         From Noah Friedman <friedman@splode.com>.
10616 2000-02-18  Thien-Thi Nguyen  <ttn@gnu.org>
10618         * progmodes/hideshow.el (hs-flag-region): No longer use
10619         `intangible' overlay property.
10621         (hs-toggle-hiding): New command.
10622         (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
10624         (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
10625         Fix omission bug: Run `hs-minor-mode-hook' for both activation
10626         and deactivation.
10628 2000-02-18  Gerd Moellmann  <gerd@gnu.org>
10630         * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
10632 2000-02-17  Gerd Moellmann  <gerd@gnu.org>
10634         * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
10636         * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
10637         of `*' to handle `(* ... *)' comments.
10639 2000-02-17  Eli Zaretskii  <eliz@is.elta.co.il>
10641         * faces.el (list-faces-display): Use display-mouse-p instead of
10642         window-system.
10644         * menu-bar.el (global-map): Menu-bar items converted to the new
10645         format (menu-item..., rearranged for better CUA compliance, and
10646         their names changed for better clarity.  Help strings added.
10648         * international/mule-cmds.el (mule-menu-keymap)
10649         (describe-language-environment-map, set-coding-system-map)
10650         (setup-language-environment-map): Convert to new (menu-item...
10651         form, add help strings.  Change names of menu items for better
10652         clarity.  "Mule" menu-bar item removed (it's now in the "Options"
10653         submenu).
10655 2000-02-17  Gerd Moellmann  <gerd@gnu.org>
10657         * dired-aux.el (dired-do-copy): Remove spurious character.`n'
10658         within the code.
10660 2000-02-16  Dave Love  <fx@gnu.org>
10662         * faces.el: Don't require custom.  Add more specific :groups to
10663         various deffaces.
10664         (set-face-attribute): Purecopy args.
10665         (read-face-name): Default to name at point and use it in prompt.
10666         Remove colon from arg in all callers.
10667         (list-faces-display): Hyperlink to face descriptions and customize
10668         buffers.
10670 2000-02-16  Per Abrahamsen  <abraham@dina.kvl.dk>
10672         * wid-edit.el (widget-match-inline): An atom never matches a
10673         list.
10675 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10677         * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10678         at ':' characters by call to split-string.
10680 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10682         * textmodes/bibtex.el: Added RCS version identification.
10684 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10686         * textmodes/bibtex.el: Some temporary comments removed.
10687         (bibtex-field-name, bibtex-entry-type): Made the relationship
10688         explicit.
10689         (bibtex-field-const): Allow capital letters.
10690         (bibtex-start-of-string): Deleted because unused.
10692         * textmodes/bibtex.el: Unified some nomenclature.  We no longer
10693         use the term 'reference' to describe a bibtex entry as a whole.
10694         Further, reference keys are no longer called 'labels'.
10695         (bibtex-keys): Renamed to bibtex-reference-keys.
10696         (bibtex-reformat-previous-labels): Renamed to
10697         bibtex-reformat-previous-reference-keys.
10698         (bibtex-reference-type): Renamed to bibtex-entry-type.
10699         (bibtex-reference-head): Renamed to bibtex-entry-head.
10700         (bibtex-reference-maybe-empty-head): Renamed to
10701         bibtex-entry-maybe-empty-head.
10702         (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10703         (bibtex-search-reference): Renamed to bibtex-search-entry.
10704         (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10705         bibtex-enclosing-entry-maybe-empty-head.
10706         (bibtex-entry-field-alist, bibtex-entry-head,
10707         bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10708         bibtex-map-entries, bibtex-search-entry,
10709         bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10710         bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10711         bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10712         bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10713         bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10714         bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10715         bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10717 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10719         * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10720         comment.
10721         (bibtex-format-field-delimiters): New function, functionality
10722         extracted from bibtex-format-entry.
10723         (bibtex-autokey-get-yearfield-digits): New function, functionality
10724         extracted from bibtex-autokey-get-yearfield.
10726         * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10727         entries in order to avoid stack overflow in the regexp matcher if
10728         field contents become large.
10729         (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10730         bibtex-field-string-part-not-braced,
10731         bibtex-field-string-part-no-inner-braces,
10732         bibtex-field-string-part-1-inner-brace,
10733         bibtex-field-string-part-2-inner-braces,
10734         bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10735         bibtex-field-string-quoted, bibtex-field-string,
10736         bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10737         bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10738         bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10739         as parsing is now performed by the following functions.
10740         (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10741         bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10742         bibtex-parse-field-string, bibtex-search-forward-field-string,
10743         bibtex-parse-association, bibtex-field-name-for-parsing,
10744         bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10745         bibtex-search-forward-field, bibtex-search-backward-field,
10746         bibtex-start-of-field, bibtex-end-of-field,
10747         bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10748         bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10749         bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10750         bibtex-parse-string, bibtex-search-forward-string,
10751         bibtex-search-backward-string, bibtex-start-of-string,
10752         bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10753         bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10754         bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10755         entries.  Instead of reporting the results of the parsing by
10756         match-beginning or match-end, these functions return data structures
10757         that hold the corresponding positions.
10758         (bibtex-enclosing-field): Changed to also report field boundaries by
10759         return values rather than by match-beginning or match-end.  The
10760         following functions have been adapted to use the new parsing
10761         functions.
10762         (bibtex-skip-to-valid-entry, bibtex-search-reference,
10763         bibtex-enclosing-field, bibtex-format-entry,
10764         bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10765         bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10766         bibtex-print-help-message, bibtex-end-of-entry,
10767         bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10768         bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10769         bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10770         method for parsing.
10771         (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10772         bibtex-map-entries, bibtex-flash-head,
10773         bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10774         bibtex-autokey-change, bibtex-autokey-get-namefield,
10775         bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10776         bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10777         bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10778         bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10779         bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10780         order to make the new binding of case-fold-search immediately
10781         visible.
10783 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10785         * textmodes/bibtex.el: Copyright notice is up to date.
10786         Added constant 'bibtex-maintainer-salutation.
10788         * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10789         than make-temp-name, use match-string-no-properties and eliminate
10790         a quadratic behavior when building bibtex-strings.
10792         * bibtex.el (bibtex-reference-key): Accept string entries whose
10793         reference key contains upper case letters.
10795 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10797         * bibtex.el (bibtex-reference-head): Allow entries to start with
10798         a new line.
10800 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10802         * bibtex.el: Hiding of entry bodies is not longer provided by
10803         bibtex.el directly.  Instead the hideshow package can be used.
10804         Added a special bibtex entry to hs-special-modes-alist.
10805         (bibtex-hs-forward-sexp): Added for hideshow.el.
10807 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10809         * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10810         at ':' characters by call to split-string.
10812 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10814         * textmodes/bibtex.el: Added RCS version identification.
10816 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10818         * textmodes/bibtex.el: Some temporary comments removed.
10819         (bibtex-field-name, bibtex-entry-type): Made the relationship
10820         explicit.
10821         (bibtex-field-const): Allow capital letters.
10822         (bibtex-start-of-string): Deleted because unused.
10824         * textmodes/bibtex.el: Unified some nomenclature.  We no longer
10825         use the term 'reference' to describe a bibtex entry as a whole.
10826         Further, reference keys are no longer called 'labels'.
10827         (bibtex-keys): Renamed to bibtex-reference-keys.
10828         (bibtex-reformat-previous-labels): Renamed to
10829         bibtex-reformat-previous-reference-keys.
10830         (bibtex-reference-type): Renamed to bibtex-entry-type.
10831         (bibtex-reference-head): Renamed to bibtex-entry-head.
10832         (bibtex-reference-maybe-empty-head): Renamed to
10833         bibtex-entry-maybe-empty-head.
10834         (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10835         (bibtex-search-reference): Renamed to bibtex-search-entry.
10836         (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10837         bibtex-enclosing-entry-maybe-empty-head.
10838         (bibtex-entry-field-alist, bibtex-entry-head,
10839         bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10840         bibtex-map-entries, bibtex-search-entry,
10841         bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10842         bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10843         bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10844         bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10845         bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10846         bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10847         bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10849 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10851         * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10852         comment.
10853         (bibtex-format-field-delimiters): New function, functionality
10854         extracted from bibtex-format-entry.
10855         (bibtex-autokey-get-yearfield-digits): New function, functionality
10856         extracted from bibtex-autokey-get-yearfield.
10858         * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10859         entries in order to avoid stack overflow in the regexp matcher if
10860         field contents become large.
10861         (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10862         bibtex-field-string-part-not-braced,
10863         bibtex-field-string-part-no-inner-braces,
10864         bibtex-field-string-part-1-inner-brace,
10865         bibtex-field-string-part-2-inner-braces,
10866         bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10867         bibtex-field-string-quoted, bibtex-field-string,
10868         bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10869         bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10870         bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10871         as parsing is now performed by the following functions.
10872         (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10873         bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10874         bibtex-parse-field-string, bibtex-search-forward-field-string,
10875         bibtex-parse-association, bibtex-field-name-for-parsing,
10876         bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10877         bibtex-search-forward-field, bibtex-search-backward-field,
10878         bibtex-start-of-field, bibtex-end-of-field,
10879         bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10880         bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10881         bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10882         bibtex-parse-string, bibtex-search-forward-string,
10883         bibtex-search-backward-string, bibtex-start-of-string,
10884         bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10885         bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10886         bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10887         entries.  Instead of reporting the results of the parsing by
10888         match-beginning or match-end, these functions return data structures
10889         that hold the corresponding positions.
10890         (bibtex-enclosing-field): Changed to also report field boundaries by
10891         return values rather than by match-beginning or match-end.  The
10892         following functions have been adapted to use the new parsing
10893         functions.
10894         (bibtex-skip-to-valid-entry, bibtex-search-reference,
10895         bibtex-enclosing-field, bibtex-format-entry,
10896         bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10897         bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10898         bibtex-print-help-message, bibtex-end-of-entry,
10899         bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10900         bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10901         bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10902         method for parsing.
10903         (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10904         bibtex-map-entries, bibtex-flash-head,
10905         bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10906         bibtex-autokey-change, bibtex-autokey-get-namefield,
10907         bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10908         bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10909         bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10910         bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10911         bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10912         order to make the new binding of case-fold-search immediately
10913         visible.
10915 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10917         * textmodes/bibtex.el: Copyright notice is up to date.
10918         Added constant 'bibtex-maintainer-salutation.
10920         * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10921         than make-temp-name, use match-string-no-properties and eliminate
10922         a quadratic behavior when building bibtex-strings.
10924         * bibtex.el (bibtex-reference-key): Accept string entries whose
10925         reference key contains upper case letters.
10927 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10929         * bibtex.el (bibtex-reference-head): Allow entries to start with
10930         a new line.
10932 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10934         * bibtex.el: Hiding of entry bodies is not longer provided by
10935         bibtex.el directly.  Instead the hideshow package can be used.
10936         Added a special bibtex entry to hs-special-modes-alist.
10937         (bibtex-hs-forward-sexp): Added for hideshow.el.
10939 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10941         * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
10942         proceedings entry type (for cross referencing). Thanks to Wagner
10943         Toledo Correa for the suggestion.
10945         * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
10947 2000-02-14  Kenichi Handa  <handa@etl.go.jp>
10949         * international/characters.el: Setup case table for Vietnamese.
10951 2000-02-12  Gerd Moellmann  <gerd@gnu.org>
10953         * uniquify.el (toplevel): Require CL at compile time.
10954         (uniquify-push): Removed.
10956         * shadowfile.el (shadow-when): Removed.
10958         * tempo.el (tempo-dolist, tempo-mapc): Removed.
10959         (tempo-process-and-insert-string): Use dolist instead of
10960         tempo-dolist.
10962         * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
10963         regexp for paragraph-start.
10965         * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
10966         commas as well.
10968 2000-02-10  Dave Love  <fx@gnu.org>
10970         * wid-edit.el: (widgets) [defgroup]: Remove url link.
10971         (widget-color-choice-list, widget-color-history, widget-mouse-help):
10972         Deleted.
10973         (widget-specify-field, widget-specify-button): Don't use
10974         widget-mouse-help as help-echo property.
10975         (default): Use #'ignore for :validate and :mouse-down-action.
10976         (checkbox): Add help-echo.
10977         (widget-sexp-validate): Rewritten to clarify error messages.
10978         (character): Use char-valid-p in :match function.
10979         (widget-color-complete): Use facemenu-color-alist.
10980         (widget-color-action): Use facemenu-read-color.
10982         * emacs-lisp/cl-macs.el: Don't bother testing for defalias.  Don't
10983         set up `caar' &c that we now have.
10985 2000-02-09  Ray Blaak  <blaak@gnu.org>
10987         * delphi.el: Make resourcestring a declaration region, like const
10988         and var.
10990 2000-02-09  Dave Love  <fx@gnu.org>
10992         * bindings.el (mode-line-input-method-map): New variable.
10993         (mode-line-mule-info): Use it; fix last change.
10994         (mode-line-mode-menu): Move definition.
10995         (mode-line-mouse-sensitive-p): Deleted.
10996         (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
10997         (make-mode-line-mouse-sensitive): Deleted.  Body moved to top
10998         level.
11000         * startup.el (command-line-1): Don't call
11001         make-mode-line-mouse-sensitive.
11003 2000-02-07  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
11005         * mail/rmail.el (rmail-retry-failure): Use
11006         rmail-beginning-of-message before rmail-toggle-header, because the
11007         former toggles headers.
11009 2000-02-06  Stefan Monnier  <monnier@cs.yale.edu>
11011         * diff-mode.el (diff-kill-junk): New interactive function.
11012         (diff-reverse-direction): Use delete-and-extract-region.
11013         (diff-post-command-hook): Restrict the area so that the hook also works
11014         outside of any diff hunk.  This is necessary for the minor-mode.
11015         (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
11016         (diff-minor-mode): Setup the hooks for header-hunk rewriting.
11018         * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
11019         (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
11020         so that it can be used more easily in <foo>-mode-hook.  Also make sure
11021         to avoid duplicate entries.
11022         (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
11023         (font-lock-remove-keywords): Just as was done for `add', allow it to
11024         work even if font-lock-mode is nil.  Also make sure we don't modify
11025         any pre-existing list by forcing a copy-sequence.  Finally rename
11026         `major-mode' to `mode'.
11027         (font-lock-fontify-syntactic-anchored-keywords)
11028         (font-lock-fontify-anchored-keywords)
11029         (font-lock-fontify-keywords-region): Use line-end-position.
11030         Don't make `font-lock-multiline' local (it's now done in
11031         font-lock-set-defaults).
11032         (font-lock-set-defaults): Make `font-lock-multiline' local.  Also
11033         move the `font-lock-fontified' creation to inside the `unless'.
11035 2000-02-06  Andrew Innes  <andrewi@gnu.org>
11037         * term/w32-win.el (x-handle-args): Comment out call to message,
11038         which occurs before window system is initialized.
11040         * makefile.nt: Add support for recompiling lisp code.
11042 2000-02-04  Dave Love  <fx@gnu.org>
11044         * bindings.el (mode-line-mule-info): Fix/extend last change.
11046         * completion.el: Replace completion-dolist with dolist.
11048         * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
11049         dotimes.
11051 2000-02-04  Carsten Dominik  <dominik@strw.leidenuniv.nl>
11053         * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
11054         environment names before they go into the section regexp.
11056         * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
11057         char class in regexp.
11059         * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
11060         `case-fold-search' to nil.
11062         * progmodes/idlwave.el (idlwave-template): Respect
11063         `idlwave-abbrev-change-case'.
11064         (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
11065         idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
11066         idlwave-while): respect `idlwave-reserved-word-upcase'.
11067         (idlwave-rw-case): New function.
11068         (idlwave-statement-match): Fixed problem with assignment regexp.
11069         (idlwave-font-lock-keywords): Improved regexp for keyword
11070         parameters.
11071         (idlwave-surround): New argument LENGTH to support padding of
11072         operators longer than 1 char.
11074         * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
11075         idlwave-shell-expression-overlay.  Implemented printing of
11076         expressions on higher levels of the calling stack.
11077         (idlwave-shell-display-level-in-calling-stack): Restore stack
11078         level.
11079         (idlwave-retrieve-expression-from-level): New function.
11080         (idlwave-shell-last-calling-stack): Variable removed.
11081         (idlwave-shell-reset): Argument action reversed (`visible' to
11082         `hidden').  Also remove stop-line overlay.
11083         (idlwave-shell-calling-stack-routine): New variable.
11084         (idlwave-shell-parse-stack-and-display): Messages now display
11085         negative level numbers.
11086         (idlwave-shell-mode): Set `modeline-format'.
11087         (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
11088         (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
11089         21.
11090         (idlwave-shell-print-expression-function): New option.
11092         * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
11093         idlwave-toolbar-remove-everywhere): Keybindings prefix is now
11094         `tool-bar' instead of `toolbar'.
11096 2000-02-02  Dave Love  <fx@gnu.org>
11098         * emacs-lisp/cl.el: Use bytecomp-load-hook, not
11099         emacs-lisp-mode-hook.  Don't check for defalias being defined.
11101         * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
11102         (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions.  Use
11103         the new builtins directly.
11105         * whitespace.el (whitespace): Add :version to defgroup.
11107         * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
11108         Doc fix.
11110         * thingatpt.el (sexp-at-point, symbol-at-point)
11111         (number-at-point, list-at-point): Add autoload cookie.
11113         * recentf.el (recentf): Add :version to defgroup.
11115         * quickurl.el (quickurl): Add :version to defgroup.
11117         * elide-head.el (elide-head): Use point-marker more.
11119         * bs.el (bs): Add :version to defgroup.
11121         * autorevert.el (global-auto-revert-mode): Add autoload cookie.
11123         * progmodes/delphi.el (delphi): Add :version to defgroup.
11125 2000-02-02  Gerd Moellmann  <gerd@gnu.org>
11127         * ange-ftp.el (ange-ftp-write-region): Handle case that
11128         succeeding process operation sets a different coding system.
11130         * calculator.el: New file.
11132 2000-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
11134         * frame.el (frames-on-display-list, framep-on-display): New
11135         functions.
11136         (display-mouse-p, display-popup-menus-p, display-graphic-p)
11137         (display-selections-p, display-screens, display-pixel-width)
11138         (display-pixel-height, display-mm-width, display-mm-height)
11139         (display-backing-store, display-save-under, display-planes)
11140         (display-color-cells, display-visual-class): New functions.
11142         * term/tty-colors.el (tty-color-gray-shades): New function.
11144         * faces.el (display-color-p): Use framep-on-display.
11145         (display-grayscale-p): New function.
11147 2000-01-31  Dave Love  <fx@gnu.org>
11149         * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
11150         (create-fontset-from-x-resource): Don't concat integers.
11152 2000-01-31  Inge Frick  <inge@nada.kth.se>
11154         * view.el: Some changes in documentation.  Removed some trailing
11155         whitespace. Changed some parameter names to agree with
11156         documentation.
11157         (view-mode-exit): Keep entry in `view-return-to-alist' only when a
11158         window is not deleted.  Modifies change 1998-04-26.
11160 2000-01-31  Gerd Moellmann  <gerd@gnu.org>
11162         * windmove.el: New file.
11164         * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11165         progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11166         progmodes/ebnf-yac.el: Update copyright and license info.
11168         * jit-lock.el (jit-lock-function): Widen before calculating end
11169         position.
11170         (jit-lock-stealth-chunk-start): Rewritten.
11172         * info.el (Info-title-face-alist): Removed.
11173         (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
11174         faces.
11175         (Info-fontify-node): Use these faces.
11177 2000-01-30  Gerd Moellmann  <gerd@gnu.org>
11179         * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
11180         (cl-macro-list1): Recognize `&allow-other-keys' instead of
11181         `&allow-other-keywords'.
11183         * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
11184         the list of directories scanned heuristically.
11186         * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
11187         exist.
11189 2000-01-30  Jason Rumney  <jasonr@gnu.org>
11191         * w32-fns.el: Define w32-tty-standard-colors.
11193         * startup.el (command-line): Use w32-tty-standard-colors when in
11194         w32 console mode.
11196 2000-01-30  Dave Love  <fx@gnu.org>
11198         * jka-compr.el (jka-compr-load): Fix up load-history.
11200         * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
11202         * emacs-lisp/cl-macs.el: Revert previous change.
11204 2000-01-29  Dave Love  <fx@gnu.org>
11206         * facemenu.el: Purecopy various strings.
11208         * timezone.el (timezone-fix-time): Window against 69 for two-digit
11209         years.  Deal with three-digit years.
11211         * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
11212         defconst, purecopy.
11213         (help-back-label): Purecopy it.
11215 2000-01-18  Gerd Moellmann  <gerd@gnu.org>
11217         * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
11218         variable. If non-nil, order the buffer list according to the
11219         currently selected frame.
11220         (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
11221         non-nil, pass the selected frame to function buffer-list.
11223 2000-01-29  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
11225         * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
11227 2000-01-28  Dave Love  <fx@gnu.org>
11229         * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
11231         * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
11232         Don't use lisp-indent-hook property.
11233         (cl-abs): Remove.
11235         * subr.el: Move out indent and edebug specs for when and unless.
11237         * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
11238         when, unless.
11240         * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
11241         unless, when.
11243 2000-01-28  Gerd Moellmann  <gerd@gnu.org>
11245         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
11246         `collecting' as synonym for `collect'.
11248         * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
11249         for the case it contains spaces.
11251         * simple.el (what-cursor-position): Change formatting of
11252         messages.
11254         * frame.el (delete-other-frames): New function.
11255         (toplevel): Bind it to C-x 5 1.
11257         * sort.el (sort-numeric-base): New option.
11258         (sort-numeric-fields): If number starts with `0' or `0[xX[',
11259         interpret it as octal or hexadecimal.  Use sort-numeric-base
11260         as default base.
11262         * progmodes/glasses.el: New file.
11264 2000-01-27  Gerd Moellmann  <gerd@gnu.org>
11266         * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
11267         userids differently.
11269         * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11270         progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11271         progmodes/ebnf-yac.el: New files.
11273 2000-01-26  Dave Love  <fx@gnu.org>
11275         * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
11276         on a function with an empty body.  [From Eric Ludlam.]
11278 2000-01-25  Andre Spiegel  <spiegel@gnu.org>
11280         * vc.el (vc-version-diff): Make sure file name is expanded.
11282 2000-01-25  Gerd Moellmann  <gerd@gnu.org>
11284         * scroll-bar.el (scroll-bar-timer): Variable removed.
11285         (scroll-bar-toolkit-scroll): Don't use a timer.
11287 2000-01-25  Kenichi Handa  <handa@etl.go.jp>
11289         * language/thai-util.el (thai-composition-function): Delete
11290         superfluous `a'.
11292 2000-01-24  Dave Love  <fx@gnu.org>
11294         * fortran.el (fortran-mode): Use beginning-of-defun-function,
11295         end-of-defun-function.
11297         * font-lock.el (turn-on-font-lock): Don't depend on window-system
11298         &c.
11300 2000-01-22  Jason Rumney  <jasonr@gnu.org>
11302         * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
11303         conflicts with new face support.
11305 2000-01-22  Richard M. Stallman  <rms@gnu.org>
11307         * replace.el (query-replace): Rename last arg to DELIMITED.
11308         (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
11309         (query-replace-regexp): Likewise.
11311 2000-01-20  Richard M. Stallman  <rms@gnu.org>
11313         * subr.el (with-syntax-table): Use make-symbol, not gensym.
11315         * emacs-lisp/lisp.el (beginning-of-defun-function):
11316         Variable renamed from beginning-of-defun.
11317         Do not call make-variable-buffer-local.
11318         (beginning-of-defun-raw): Use new variable name; doc fix.
11319         (beginning-of-defun): Doc fix.
11320         (end-of-defun-function): Variable renamed from end-of-defun.
11321         Do not call make-variable-buffer-local.
11322         (end-of-defun): Use new variable name; doc fix.
11324         * subr.el (dolist, dotimes): Copied from cl-macs.el
11325         and made to work.
11327         * mail/undigest.el (rmail-digest-end-regexps):
11328         Variable replaces rmail-digest-end-regexp.
11329         Allows multiple regexps for detecting the end line.
11330         (undigestify-rmail-message): Corresponding changes.
11332 2000-01-19  Dave Love  <fx@gnu.org>
11334         * files.el (user-init-file): Don't declare here -- is primitive.
11336         * startup.el (command-line): Check for compiled user-init-file and
11337         set to uncompiled version if necessary.
11339 2000-01-18  Gerd Moellmann  <gerd@gnu.org>
11341         * mail/undigest.el (rmail-digest-end-regexp): New user option.
11342         (undigestify-rmail-message): Use it.
11344         * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
11346 2000-01-17  Gerd Moellmann  <gerd@gnu.org>
11348         * tmm.el (tmm-goto-completions): Adapt to prompt being part
11349         of mini-buffer.
11351 2000-01-14  Gerd Moellmann  <gerd@gnu.org>
11353         * emacs-lisp/copyright.el (copyright-update): Removed the
11354         requirement for a trailing space from `copyright-regexp', to
11355         support copyrights with owner specified on a separate line..
11357         * align.el: New file.
11359         * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
11361         * net/eudc.el (toplevel): Define EUDC menu for Emacs.
11363 2000-01-13  Dave Love  <fx@gnu.org>
11365         * ph.el: Removed.  (Obsoleted by EUDC.)
11367 2000-01-13  Gerd Moellmann  <gerd@gnu.org>
11369         * net/eudc.el (toplevel): Remove autoloaded code installing
11370         menu with easymenu, because that causes build problems.
11372         * frame.el (frame-notice-user-settings): New variable.
11373         (frame-notice-user-settings): Don't modify frame parameters
11374         if called a second time.
11376 2000-01-13  Richard M. Stallman  <rms@gnu.org>
11378         * frame.el (frame-notice-user-settings):
11379         Notice default-frame-parameters even for non-window frames.
11381 2000-01-13  Gerd Moellmann  <gerd@gnu.org>
11383         * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
11384         for Emacs.
11385         (eudc-bob-can-display-inline-images): Extend for Emacs.
11386         (eudc-bob-toggle-inline-display): Ditto.
11387         (eudc-bob-display-jpeg): Ditto.
11389 2000-01-12  Gerd Moellmann  <gerd@gnu.org>
11391         * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
11392         net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
11393         net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
11395         * add-log.el (add-change-log-entry): Fix error trying an `(insert
11396         nil)'.
11398         * subdirs.el: Add `net' directory.
11400         * net: New directory.
11402         * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
11403         eval-last-sexp.  Don't bind debug-on-error here.
11404         (eval-last-sexp): New function.  Bind debug-on-error if
11405         eval-expression-debug-on-error is non-nil.
11406         (eval-defun-2, eval-defun): Likewise.
11408         * simple.el (eval-expression): Don't bind debug-on-error if
11409         eval-expression-debug-on-error is nil.  Detect changed
11410         debug-on-error, and propagate new value to global binding, if
11411         eval-expression-debug-on-error is non-nil,
11412         (eval-expression-debug-on-error): Change doc string.
11414 2000-01-11  Richard M. Stallman  <rms@gnu.org>
11416         * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
11418         * emacs-lisp/lisp-mode.el (with-syntax-table):
11419         Set up lisp-indent-function property.
11421         * subr.el (with-syntax-table): Moved from simple.el.
11423         * simple.el (with-syntax-table): Moved to subr.el.
11425 2000-01-11  Gerd Moellmann  <gerd@gnu.org>
11427         * tmm.el (tmm-shortcut): Delete region after prompt instead
11428         of erasing buffer.
11430         * textmodes/fill.el (fill-common-string-prefix): New function.
11431         (fill-context-prefix): Use the longest common prefix of first
11432         and second line fill prefix, if there is one.
11434 2000-01-11  Richard M. Stallman  <rms@gnu.org>
11436         * array.el (array-mode): Don't use make-variable-buffer-local.
11437         Use make-local-variable for `truncate-lines'.
11439 2000-01-11  Jari Aalto  <jari.aalto@poboxes.com>
11441         * add-log.el (add-log-current-defun): Handle user-defined
11442         add-log-current-function returning nil,
11444         * add-log.el (add-change-log-entry): Insert version number
11445         if having found a current function
11447         * add-log.el (add-log-current-defun): Call
11448         `add-log-current-defun-function'.  Try matches at level 0 and
11449         level 1.  Strip whitespace from defun found.
11451 2000-01-10  John Wiegley  <johnw@gnu.org>
11453         * allout.el (isearch-done/outline-provisions): Added `edit'
11454         argument to correspond with the current definition of
11455         `isearch-done'.
11457 2000-01-10  Dave Love  <fx@gnu.org>
11459         * elide-head.el (elide-head): Use point-marker, not point.
11461 2000-01-10  Gerd Moellmann  <gerd@gnu.org>
11463         * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
11464         before and after the year 2000.
11466         * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
11467         Add ispell- prefix.
11469 2000-01-10  Ken Stevens  <k.stevens@ieee.org>
11471         * ispell.el:  Only define dictionaries in menus when they exist.
11472         (version18p): New variable.
11473         (version20p): New variable.
11474         (xemacsp): New variable.
11475         (ispell-choices-win-default-height): Fix for XEmacs visibility.
11476         (ispell-dictionary-alist1): Added Brasileiro dictionary.
11477         (ispell-dictionary-alist6): Russian command lines no longer accept
11478         run-together words.
11479         (ispell-local-dictionary-alist): Add koi8-r to customize definition.
11480         (ispell-dictionary-alist): Add koi8-r to customize definition.
11481         (check-ispell-version): Added documentation string.  Returns
11482         library path when called non-interactively.
11483         (ispell-menu-map-needed): Uses new variables.
11484         (ispell-library-path): New variable.
11485         (ispell-decode-string): XEmacs fix for bogus variable bindings.
11486         (ispell-word): Improved documentation string.  Test for valid
11487         character mappings.  Correctly check typed in word changes that can
11488         result in single words split into multiple words.  Returns
11489         replacement word.
11490         (ispell-command-loop): Fixes XEmacs display bugs.  Show word to
11491         replace in recursive query replace mode.  Help message for
11492         recursive edit mode.
11493         (ispell-show-choices): Protect against bad framepop bindings.
11494         (ispell-help): Fix to work with XEmacs.
11495         (ispell-highlight-spelling-error): Use new variables.
11496         (ispell-overlay-window): Fix to work with XEmacs.
11497         (ispell-parse-output): Passed and returns location information
11498         tracking spelling corrections.  Doesn't recheck same word on
11499         current line.
11500         (ispell-init-process): Protect against bogus XEmacs variable binding.
11501         Fix call to single argument in sleep-for.  Use new variables.
11502         (ispell-region): Passed and returns location information tracking
11503         spelling corrections.  Doesn't check same word on current line.
11504         Improved documentation string.  Doesn't resend a line already
11505         checked to the ispell process - fixes bug in LaTeX parsing.
11506         (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
11507         (ispell-skip-region): No longer skips <TT> in SGML.
11508         (ispell-process-line): Tracks location information with spelling
11509         corrections.  Added documentation string.  Accounts for words
11510         already accepted on this line.  Don't allow query-replace on line
11511         starting with math characters.  Doesn't resend a line already sent
11512         to ispell process.  Fixes alignment error bug.
11514 2000-01-10  Richard M. Stallman  <rms@gnu.org>
11516         * dired-x.el (dired-guess-shell-alist-default):
11517         Suggest xloadimage, which is free, not xv, which isn't.
11519         * ange-ftp.el (ange-ftp-file-name-nondirectory):
11520         Don't ever include the host name or user name in the value.
11522 2000-01-09  Gerd Moellmann  <gerd@gnu.org>
11524         * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
11525         of a real newline.
11527 2000-01-09  Stephen Eglen  <stephen@gnu.org>
11529         * dired-x.el (dired-guess-shell-alist-default): Suggest xv
11530         for .png files.
11532 2000-01-09  Per Abrahamsen  <abraham@dina.kvl.dk>
11534         * cus-edit.el (custom-hook-convert-widget): Fix comment.
11536 2000-01-09  Gerd Moellmann  <gerd@gnu.org>
11538         * progmodes/cperl-mode.el: Replace ^F with ^L.
11540         * sendmail.el (toplevel): Provide `sendmail' when compiling
11541         before `require'ing rmail and mailalias to prevent infinite
11542         recursion.
11544 2000-01-08  Dave Love  <fx@gnu.org>
11546         * emacs-lisp/backquote.el: Remove inappropriate customization
11547         (allowing custom.el to use backquote).
11549 2000-01-07  Dave Love  <fx@gnu.org>
11551         * add-log.el (add-log-debugging): Deleted.
11552         (add-change-log-entry): Treat a backup FILE-NAME as its parent
11553         file.  Remove debugging code.
11554         (change-log-get-method-definition, change-log-name): Add doc.
11555         (change-log-sortable-date-at): New function.
11556         (change-log-merge): New command.
11558         * time.el (display-time-string-forms): Make the Mail string active.
11559         (display-time-update): Provide help-echo for load average.
11561         * bindings.el (make-mode-line-mouse2-map): New function.
11562         (mode-line-modified): Use it and simplify.
11563         (mode-line-mule-info): Provide help-echo info.
11564         (minor-mode-alist): Activate the strings.
11565         (make-mode-line-mouse-sensitive): Simplify for
11566         mode-line-buffer-identification.
11568 2000-01-07  Gerd Moellmann  <gerd@gnu.org>
11570         * play/pong.el: New file.
11572 2000-01-06  Dave Love  <fx@gnu.org>
11574         * array.el: Assorted cleanups for compiler warnings, doc strings,
11575         `array-' prefix for symbols.
11577 2000-01-05  Dave Love  <fx@gnu.org>
11579         * textmodes/outline.el (outline-mode-menu-bar-map): Add
11580         outline-headers-as-kill.
11581         (outline-mode): Define imenu-generic-expression.
11582         (outline-headers-as-kill): New command.
11584         * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
11585         from paragraph-start.
11586         (paragraph-indent-minor-mode): New command.
11588         * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
11589         M-C-e, M-C-h, C-j, C-xnd, TAB.
11590         (fortran-mode): Set beginning-of-defun, end-of-defun.
11591         (fortran-column-ruler): Simplify.
11592         (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
11593         (fortran-with-subprogram-narrowing): Likewise.
11594         (fortran-indent-subprogram): Call mark-defun.
11595         (fortran-check-for-matching-do): Change narrowing.
11597         * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
11598         (cl-lucid-hash-tag): Delete.
11599         (cl-hash-table-p): Correct test for native table.
11600         (cl-hash-table-count): Use hash-table-count.
11602         * browse-url.el (browse-url): Fix case of
11603         browse-url-browser-function being an alist.
11605 2000-01-05  Carsten Dominik  <cd@gnu.org>
11607         * textmodes/reftex-vars.el (reftex-parse-file-extension)
11608         (reftex-index-phrase-file-extension): New options.
11610         * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
11611         Use new option `reftex-index-phrase-file-extension'.
11613         * textmodes/reftex.el (reftex-access-parse-file): Use new option
11614         `reftex-parse-file-extension'.
11616 2000-01-05  Dave Love  <fx@gnu.org>
11618         * emacs-lisp/lisp.el (beginning-of-defun): New variable.
11619         (beginning-of-defun-raw): Use it.
11620         (end-of-defun): New variable.
11621         (end-of-defun): Use it.
11622         (check-parens): New command.
11624 2000-01-05  Thien-Thi Nguyen  <ttn@delysid.gnu.org>
11626         * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
11627         (hs-show-block): Don't use `mapcar' when not accumulating.
11629         Fix buglet in local variables initialization.
11631 2000-01-05  Andreas Schwab  <schwab@suse.de>
11633         * hscroll.el (hscroll): Doc fix.
11635 2000-01-05  Carsten Dominik  <cd@gnu.org>
11637         * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
11638         idlw-toolbar.
11640         * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
11641         file idlw-rinfo.el.
11642         (idlwave-customize): load must read file idlw-shell.el.
11643         (idlwave-create-customize-menu): load must read file idlw-shell.el.
11645 2000-01-05  Carsten Dominik  <dominik@astro.uva.nl>
11647         * progmodes/idlw-shell.el: Also provide idlwave-shell
11648         * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
11649         * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
11651         * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
11652         both reftex-dcr and reftex-vcr.
11654         * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
11656 2000-01-05  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
11658         * ps-print.el: PostScript code now is in separate files, doc fix.
11659         (ps-print-version): New version number (5.0.3).
11660         (ps-header-lines, ps-left-header, ps-right-header): No more buffer
11661         local.
11662         (ps-spool-config): Initialization fix.
11663         (ps-print-prologue-1, ps-print-prologue-2)
11664         (ps-print-duplex-feature): PostScript code moved to separated file.
11665         (ps-background-image): Little code reformating.
11666         (ps-begin-file, ps-begin-job): Fix code.
11667         (ps-postscript-code-directory, ps-mark-code-directory): New vars.
11668         (ps-prologue-file): New fun.
11670 2000-01-05  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
11672         * ps-vars.el: Eliminated.
11674         * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
11675         `;;;###autoload'.
11677         * ps-print.el: ps-vars eliminated, doc fix.
11678         (ps-print-version): New version number (5.0.2).
11679         (ps-spool-config): Initialization fix.
11680         (ps-print-customize): New fun.
11682 2000-01-04  Gerd Moellmann  <gerd@gnu.org>
11684         * autorevert.el (auto-revert-mode): Return value of
11685         auto-revert-mode.
11687 2000-01-04  Dave Love  <fx@gnu.org>
11689         * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
11690         menu items.
11692 2000-01-03  Dave Love  <fx@gnu.org>
11694         * elide-head.el (elide-head) [defgroup]: Add :version.
11696         * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
11697         (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
11698         `cl-hash-table-p', not `hash-table-p'.
11699         (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
11701 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
11703         * faces.el (face-read-integer, read-face-attribute)
11704         (color-defined-p, color-values): unspecified-{f,b}g are now
11705         strings.
11707 2000-01-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
11709         * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
11710         at comment end, and re-insert them after filling.
11712 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
11714         * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
11715         * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
11716         progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
11718 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
11720         * term/x-win.el (xw-defined-colors): Call color-supported-p,
11721         the new name of face-color-supported-p.
11723         * term/w32-win.el (xw-defined-colors): Likewise.
11725 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
11727         * simple.el (completion-setup-function): Count completion-size
11728         from minibuffer-prompt-end, not from point-min.
11730 2000-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
11732         * faces.el (read-face-attribute, defined-colors, color-defined-p):
11733         Pass the frame to tty-color-* functions.
11734         (display-color-p, frame-set-background-mode): Pass the frame to
11735         tty-display-color-p.
11737         * term/tty-colors.el (tty-defined-color-alist): Renamed from
11738         tty-color-alist.
11739         (tty-color-alist, tty-modify-color-alist): New functions.
11740         (tty-color-define,  tty-color-clear, tty-color-approximate)
11741         (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
11742         an optional parameter FRAME.
11744 2000-01-01  Gerd Moellmann  <gerd@gnu.org>
11746         * image.el (create-image, defimage): Don't assume image data is a
11747         string.
11749         * image.el (defimage): Handle specifications containing :data
11750         instead of :file.
11751         (image-type-from-data): New function.
11752         (image-type-from-file-header): Use it.
11753         (create-image): Add parameter DATA-P.
11755 See ChangeLog.8 for earlier changes.
11757 ;; Local Variables:
11758 ;; coding: iso-2022-7bit
11759 ;; End: