(vc-insert-file): Don't assume byte==char.
[emacs.git] / lisp / ChangeLog
blobdb1d13ffb31b3f5ab5ba902304e77a2ebd582ec7
1 2000-11-06  Dave Love  <fx@gnu.org>
3         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Match
4         defun*.
6 2000-11-06  Kenichi Handa  <handa@etl.go.jp>
8         * composite.el (composition-function-table): Variable declaration
9         moved to src/composite.c.
10         (compose-chars-after): New optional arg object.
12 2000-11-06  Gerd Moellmann  <gerd@gnu.org>
14         * startup.el (fancy-splash-delay): Set to 10 seconds.
15         (fancy-splash-max-time): New user-option.
16         (fancy-splash-stop-time): New variable.
17         (fancy-splash-screens): Set it.  Catch `stop-splashing'.
18         (fancy-splash-screens-1): Throw `stop-splashing' when current
19         time is greater than fancy-splash-stop-time.
21 2000-11-06  Stefan Monnier  <monnier@cs.yale.edu>
23         * vc-hooks.el (vc-insert-file): Don't assume byte==char.
25         * pcvs.el (cvs-mode-marked): New arg `noquery'.
26         Prompt user for a file rather than raising an error.
27         (cvs-enabledp): Fix call to cvs-mode-marked.
28         (cvs-insert-file): New function (extracted from cvs-mode-insert).
29         (cvs-mode-insert): Use it.  Change the init prompt' value.
30         (cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
32         * emacs-lisp/ewoc.el (ewoc-goto-prev, ewoc-goto-next):
33         Don't pass default arg to ewoc-locate.
34         (ewoc-collect): Return result in the right order.
36         * log-edit.el (log-edit-show-files): Use cvs-insert-strings.
38         * cvs-status.el (cvs-tree-merge): Use cvs-butlast (avoid CL).
39         (cvs-status-get-tags): Fix regexp.
40         (cvs-status-trees, cvs-status-cvstrees):
41         Combine after change hooks and don't sit-for.
42         (cvs-tree-use-jisx0208): Rename from cvs-tree-dstr-2byte-ready.
43         (cvs-tree-char-*): Rename from cvs-tree-dstr-char-*.
44         Use make-char rather than hard-coded cryptic data.
45         (cvs-status-cvstrees): Convert the buffer to multibyte if necessary.
47         * pcvs-defs.el (cvs-menu): Add entries for tree and insert.
49         * pcvs-util.el (cvs-butlast, cvs-nbutlast): New (copied from CL).
50         (cvs-insert-strings): New function.
52 2000-11-06  Miles Bader  <miles@lsi.nec.co.jp>
54         * mwheel.el (mouse-wheel-scroll-amount): Renamed from
55         `mwheel-scroll-amount'.
56         (mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
57         (mouse-wheel-mode): Use (featurep 'xemacs) instead of
58         string-matching against the version string.
60 2000-11-06  Kenichi Handa  <handa@etl.go.jp>
62         * language/thai.el ("Thai"): Set a lisp form that produces
63         composed string in `sample-text' language info.
65         * language/tibetan.el ("Tibetan"): Set a lisp form that produces
66         composed string in `sample-text' language info.
68         * international/mule-cmds.el (describe-language-environment): Eval
69         `sample-text' data and insert the result.
71         * international/mule-conf.el (compound-text): Define this coding
72         system here.  Make x-ctext and ctext aliases of it.
74         * language/european.el (compound-text, ctext): Moved to
75         international/mule-conf.el.
77 2000-11-05  Andrew Innes  <andrewi@gnu.org>
79         * w32-fns.el (w32-version): New function.
81 2000-11-05  Stefan Monnier  <monnier@cs.yale.edu>
83         * progmodes/awk-mode.el: Update copyright.
84         (awk-mode-abbrev-table): Remove.
85         (awk-font-lock-keywords): Use regexp-opt.
86         (awk-mode): Use define-derived-mode.
88         * emacs-lisp/regexp-opt.el (regexp-opt-group): Sort the strings
89         when extracting a suffix.
91 2000-11-04  Andre Spiegel  <spiegel@gnu.org>
93         * vc-hooks.el (vc-insert-file): Rewritten.  Don't bother about
94         auto-save-mode.
96 2000-11-04  Jason Rumney  <jasonr@gnu.org>
98         * language/european.el (decode-mac-roman): Test against r1 not r0.
100 2000-11-03  Stefan Monnier  <monnier@cs.yale.edu>
102         * progmodes/icon.el (icon-mode-map): Don't rebind \t.
103         (icon-mode): Define indent-line-function.
104         (icon-comment-indent): Simplify.
105         (icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
107         * emacs-lisp/find-func.el (find-function-do-it): Quote the hook.
109         * pcvs.el (cvs-mode-add-change-log-entry-other-window):
110         Bind change-log-default-mode to defeat the caching done on it.
111         Don't bother saving excursion any more.
113         * menu-bar.el (minibuffer maps): Use dolist rather than mapcar.
115         * frame.el (after-setting-font-hook): Rename hooks -> hook.
116         (set-frame-font): Use the new name (and the old for compatibility).
118         * toolbar/tool-bar.el (tool-bar-mode): 
119         * time.el (display-time-mode): 
120         * recentf.el (recentf-mode): 
121         * paren.el (show-paren-mode): 
122         * mwheel.el (mouse-wheel-mode): 
123         * msb.el (msb-mode): 
124         * jka-compr.el (auto-compression-mode): 
125         * image-file.el (auto-image-file-mode): 
126         * hl-line.el (hl-line-mode): 
127         * delsel.el (delete-selection-mode): 
128         * autoinsert.el (auto-insert-mode): 
129         * complete.el (partial-completion-mode): Drop unneeded positional args.
131         * info.el (Info-mode): 
132         * comint.el (comint-mode): Don't both with make-local-hook.
134         * log-edit.el (log-edit-menu): New menu.
136 2000-11-03  Miles Bader  <miles@gnu.org>
138         * wid-edit.el (widget-end-of-line): Reinstate, with a new
139         definition, so that trailing spaces are handled properly.
140         (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
142 2000-11-03  Gerd Moellmann  <gerd@gnu.org>
144         * startup.el (fancy-splash-text, fancy-splash-text): Use a single
145         tab character.
146         (fancy-splash-screens): Set tab-width to 20.
148 2000-11-03  Dave Love  <fx@gnu.org>
150         * comint.el (comint-completion-addsuffix): Fix custom type.
152 2000-11-02  Stefan Monnier  <monnier@cs.yale.edu>
154         * font-lock.el (font-lock-buffers): Remove.
155         (font-lock-global-modes): Define with easy-mmode-define-global-mode.
156         (font-lock-change-major-mode): Remove.
157         (turn-on-font-lock-if-enabled): Only apply to the current buffer.
158         (font-lock-default-fontify-region): Extend the multiline
159         fontification to whole lines.
160         (font-lock-fontify-anchored-keywords)
161         (font-lock-fontify-keywords-region): If matching just one
162         line (with \n) only mark the \n as multiline.
164         * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
165         Correctly handle the case where several :group args are supplied.
166         Allow :extra-args.
167         (easy-mmode-define-global-mode): Allow :extra-args.
168         Correctly handle the case where several :group args are supplied.
170 2000-11-02  Miles Bader  <miles@gnu.org>
172         * calendar/calendar.el (diary-face, calendar-today-face) 
173         (holiday-face): Remove dependency on `window-system'.
175 2000-11-02  Ken Raeburn  <raeburn@gnu.org>
177         * Makefile.in (emacs): Set EMACSLOADPATH always.
178         (update-authors, .el.elc, compile-files): Don't do it explicitly
179         here.
180         (compile-files): Bomb out if compilation of a file fails.
182 2000-11-02  Dave Love  <fx@gnu.org>
184         * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
186 2000-11-02  Eli Zaretskii  <eliz@is.elta.co.il>
188         * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
189         punctuation in the warning inserted into the *mail* buffer.
191 2000-11-02  Gerd Moellmann  <gerd@gnu.org>
193         * emacs-lisp/authors.el (authors-public-domain-files): New variable.
194         (authors-public-domain-p): New function.
195         (authors-print): Use it.
197         * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
199         * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
201 2000-11-02  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
203         * ps-print.el: Extension for even/odd printing.  Doc fix.
204         (ps-print-version): New version number (6.3.1).
205         (ps-even-or-odd-pages): Customization fix.
206         (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
207         (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
208         (ps-page-count): Var replaced by `ps-page-column'.
209         (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
210         (ps-print-sheet-p): New fun.
212 2000-11-02  Miles Bader  <miles@lsi.nec.co.jp>
214         * tooltip.el (tooltip-gud-tips-setup): New function.
215         (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
216         (tooltip-mode): Call tooltip-gud-tips-setup.
217         (tooltip-gud-tips): Use `gud-basic-call' instead of
218         process-send-string, so the prompt gets frobbed appropriately.
219         Handle nil return value from `tooltip-gud-print-command'.
221 2000-11-01  Eric M. Ludlam  <zappo@ultranet.com>
223         * comint.el (comint-add-to-input-history): New function.
224         (comint-send-input): Use `comint-add-to-input-history'.
226 2000-11-02  Miles Bader  <miles@lsi.nec.co.jp>
228         * info.el (info-menu-header): New face.
229         (Info-fontify-menu-headers): New function.
230         (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
232         * info.el (Info-insert-dir): Don't include blank lines at
233         beginning of additional dir files (one is added automatically).
235 2000-11-01  Stefan Monnier  <monnier@cs.yale.edu>
237         * emacs-lisp/easy-mmode.el (define-minor-mode):
238         Revert the latest changes.
239         Allow the three positional arguments to be skipped and replaced
240         by keyword arguments.
241         Add a :toggle argument to determine whether a nil arg means toggle
242         or means turn-on.  The default is unchanged.
243         Add a call to force-mode-line-update.
245 2000-11-01  Dave Love  <fx@gnu.org>
247         * emacs-lisp/elp.el (elp-restore-function): Remove autoload
248         cookie.
250 2000-11-01  Miles Bader  <miles@lsi.nec.co.jp>
252         * calendar/calendar.el (diary-face, holiday-face): Add
253         dark-background variants.
255 2000-10-31  Sam Steingold  <sds@gnu.org>
257         * textmodes/tex-mode.el (tex-file): Use `default-directory' when
258         `tex-main-file' does not have directory in it.
260 2000-10-31  Stefan Monnier  <monnier@cs.yale.edu>
262         * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
264 2000-10-31  Thien-Thi Nguyen  <ttn@gnu.org>
266         * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
267         functional change.
269 2000-10-31  Gerd Moellmann  <gerd@gnu.org>
271         * files.el (find-file-noselect): When we expand a wildcard, return
272         a list of buffers, as we should do according to the doc string.
274 2000-10-31  Ken Raeburn  <raeburn@gnu.org>
276         * loadup.el (top level): Adjust load path if program name is
277         "../src/bootstrap-emacs", in case it's not dumped and thus the
278         load path adjustment hasn't already been done.
280 2000-10-31  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
282         * ps-print.el: Fix bug on selected pages for printing.  Use
283         `color-values' for Emacs 21.  Ensure fontification when jit-lock
284         is on.  Try to avoid warning messages when compiling.  Doc Fix.
285         (ps-print-version): New version number (6.3).
286         (ps-color-device): Use `color-values' to determine if device
287         supports color.
288         (ps-color-values): Try to use `x-color-values' when using XEmacs.
289         (ps-print-page-p): Changed from defsubst to defun.
290         (ps-page-number): Changed from defmacro to defun.
291         (ps-header-sheet, ps-header-page): Fix bug on selected pages for
292         printing.
293         (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
294         (ps-end-file, ps-dummy-page): Funs eliminated.
295         (ps-print-color-scale): Changed default value.
296         (ps-page-n-up, ps-print-page-p): New internal vars.
297         (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
298         (ps-plot-region, ps-generate, ps-end-job): Code fix.
300         * delim-col.el: Little programming improvement.
301         (delimit-columns-str): New macro.
302         (delimit-columns-region, delimit-columns-rectangle): Code fix.
304 2000-10-31  Kenichi Handa  <handa@etl.go.jp>
306         * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
307         Moved to european.el.
308         (ccl-encode-mac-roman-font, fontset-mac): Modified for
309         mule-unicode-2500-33ff and mule-unicode-e000-ffff.
310         (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
311         (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
313 2000-10-30  Dave Love  <fx@gnu.org>
315         * progmodes/cc-menus.el (imenu-generic-expression)
316         (imenu-progress-message): Only defvar when compiling.
318         * emacs-lisp/elp.el (elp-unload-hook): New function.
320         * loadhist.el (unload-feature): Call elp-restore-function,
321         checking for symbols; don't use elp-restore-all.
322         (loadhist-hook-functions): Doc fix.
324 2000-10-30  Stefan Monnier  <monnier@cs.yale.edu>
326         * log-edit.el (log-edit-confirm): Fix the default.
328 2000-10-30  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
330         * delim-col.el: Little fix: replace delimit-columns-align-columns by
331         delimit-columns-format.
332         (delimit-columns-region, delimit-columns-rectangle): Code fix.
334 2000-10-30  Miles Bader  <miles@lsi.nec.co.jp>
336         * comint.el (comint-replace-by-expanded-history): Don't use
337         comint-get-old-input (we're not looking at *old* input).
338         (comint-get-old-input-default): If using fields, signal an error
339         when the point is not in an input field.
341 2000-10-30  Kenichi Handa  <handa@etl.go.jp>
343         * international/mule-conf.el: New charsets mule-unicode-2500-33ff
344         and mule-unicode-e000-ffff.
346         * international/mule.el (decode-char, encode-char): New functions.
347         (make-coding-system): Accept a symbol of translation table as a
348         value of property `safe-chars'.
350         * international/mule-cmds.el (encode-coding-char): Check property
351         safe-chars instead of safe-charsets.
353         * international/fontset.el (fontset-default): Modified for
354         mule-unicode-2500-33ff and mule-unicode-e000-ffff.
355         (x-font-name-charset-alist): Likewise.
356         (ccl-encode-unicode-font): New CCL program.  Record it in
357         font-ccl-encoder-alist to be used for fonts "ISO10646-1".
359         * language/european.el (mac-roman-decoder, mac-roman-encoder):
360         New translation tables.
361         (decode-mac-roman, encode-mac-roman): Definition of these CCL
362         programs are modified and moved from mac-win.el.
363         (mac-roman): Definition of this coding system is modified and
364         moved from mac-win.el.
366 2000-10-29  Michael Kifer  <kifer@cs.sunysb.edu>
368         * ediff-wind.el (ediff-setup-control-frame): Enclose
369         face-attribute in condition-case to avoid errors in older emacsen.
371 2000-10-29  Miles Bader  <miles@gnu.org>
373         * custom.el (custom-add-to-group): Allow multiple entries for a
374         given value OPTION, as long as their widget types are different.
375         * cus-edit.el (custom-face-value-create): If face name doesn't end
376         with "face", add such here (similar to custom group widgets).
378         * comint.el (comint-highlight-prompt): Add :type.
380 2000-10-28  John Wiegley  <johnw@gnu.org>
382         * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
383         Changed this function to operate on a temporary buffer instead of
384         the main buffer.  This not only keeps flyspell from marking a
385         buffer as changed that wasn't, but it solves the jumpy cursor
386         problem when attempts are made to edit incorrect words.
387         (flyspell-maybe-correct-doubling): Same change as for
388         `flyspell-maybe-correct-transposition'.
390         * calendar/timeclock.el (timeclock-log): Doc fix.
391         (timeclock-last-event): Doc fix.
392         (timeclock-log): Kill the timelog buffer after appending a new
393         event.
394         (timeclock-find-discrep): Use a temp buffer to read in the
395         timelog, instead of visiting the file.
396         (timeclock-log-data): A new function, along with a host of helper
397         functions, for the purpose of making timelog data accessible to
398         programmers.
400         * eshell/esh-mode.el (window-height test): Make certain that
401         `eshell-stringify-t' is non-nil.
402         (eshell-password-prompt-regexp): Changed to a much simpler
403         password regexp.
404         (eshell-send-input): If `eshell-invoke-directly' returns t,
405         directly invoke the parsed command using `eval'.  This improves
406         turn-around time on simple commands by a factor of three or
407         greater, such as cd, ls, pwd, etc. -- which get used very often.
408         It also conserves thousands of cons cells per call (since
409         `eshell-do-eval' consumes memory like a Cookie Monster set loose
410         in the Pacific Cookie Company).
412         * eshell/esh-test.el (eshell-test): Whitespace fix.
414         * eshell/em-ls.el (eshell-ls-insert-directory): Make
415         `eshell-ls-initial-args' nil when inserting directory contents.
417         * eshell/em-script.el (eshell-script-initialize): Add names to
418         `eshell-complex-commands, since `source' and `.' are complex.
420         * eshell/esh-cmd.el (eshell-rewrite-for-command)
421         (eshell-rewrite-while-command): Use `eshell-protect' instead of
422         `eshell-copy-handles'.
423         (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
424         bodies.
425         (eshell-separate-commands): Whitespace fix.
426         (eshell-complex-commands): Added a new list of names, for
427         determining whether a given command is as simple as it looks.
428         (eshell-invoke-directly): New function.  Returns t if a command
429         should be invoked directly (using `eval'), rather than indirectly
430         using `eshell-do-eval'.
431         (eshell-do-eval): Whitespace fix.
433         * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
434         which provides an emulation of the DOS shell behavior of assuming
435         that cp/mv/ln should copy/move/link to the current directory.
436         (eshell-remove-entries): Added a doc string.
437         (eshell-shuffle-files): Removed the check for `target' being null.
438         (eshell-mvcp-template, eshell-mvcpln-template): Renamed
439         `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
440         it to do a smarter check of whether a destination was provided.
441         (eshell/mv, eshell/cp): Enable `:preserve-args'.
442         (eshell/ln): Enable `:preserve-args', and use
443         `eshell-mvcpln-template' to implement the body of the function.
444         (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
445         (eshell/du, eshell/diff, eshell/locate): Stringify the argument
446         list after flattening it.  This makes it possible to cat files
447         with numerical names.
448         (eshell-unix-initialize): Added several names to
449         `eshell-complex-commands.
450         (eshell-unix-command-complex-p): Return t if a given command name
451         may result in external processes being invoked.
453         * eshell/em-glob.el (eshell-glob-show-progress): Make this
454         variable nil by default, since it slows down glob processing by a
455         factor of two or more, and increases memory consumption.
457         * eshell/em-smart.el: Added a note about how memory consumptive
458         smart display mode can be (at least this is true in Emacs 21).
459         (eshell-smart-initialize): Whitespace fix.
460         (eshell-refresh-windows): Use `if' instead of `when'.
461         (eshell-smart-scroll-window): Calling `save-current-buffer' was
462         not necessary.
463         (eshell-currently-handling-window): Added a missing global
464         variable.
466         * eshell/em-ls.el (eshell-do-ls): Code simplification.
467         (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
468         Whitespace fix.
469         (eshell-ls-exclude-hidden): Added this variable in addition to
470         `eshell-ls-exclude-regexp'.  This one prevents files beginning
471         with . from even being read, which can improve memory consumption
472         quite a bit.
473         (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
474         read file entries beginning with a dot.  In home directories with
475         lots of hidden files, fully two-thirds of the time spent in ls is
476         used to read directory entries that are immediately thrown away.
477         (eshell-ls-initial-args): Added back this configuration variable,
478         for specifying default initial arguments to every call to ls.
479         Much faster than using an alias to do the same thing.
480         (eshell-do-ls): Use `eshell-ls-initial-args', if set.
481         (eshell-ls-dir): Whitespace change.
483         * eshell/em-dirs.el (eshell/pwd): Small code simplification.
485         * eshell/esh-util.el: Don't require `ange-ftp' if it's not
486         available.
487         (eshell-stringify-t): Added a customization variable, to indicate
488         whether `t' should be rendered as a string at all.  If not, one
489         can still determine if the result of an expression is true using
490         "file-exists-p FILE && echo true".
491         (eshell-stringify): If `eshell-stringify-t' is nil, don't
492         stringify t!
494         * eshell/esh-module.el: Whitespace fix.
496         * eshell/em-alias.el (eshell-alias-initialize): Added
497         `eshell-command-aliased-p' to `eshell-complex-commands'.
498         (eshell-command-aliased-p): New function that returns t if a
499         command name names an aliased.
501 2000-10-29  Michael Kifer  <kifer@cs.sunysb.edu>
503         * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
504         redrawing the screen when changing cursor color.
505         (viper-insert-state-pre-command-sentinel)
506         (viper-replace-state-pre-command-sentinel)
507         (viper-replace-state-post-command-sentinel):
508         Use viper-preserve-cursor-color.
509         Many functions changed to use viper= instead of = when comparing
510         characters.
511         * viper-util.el (viper-memq-char,viper=): New functions for
512         working with characters.
513         (viper-change-cursor-color): Fixed buglet.
514         Many functions changed to use viper= instead of = when comparing
515         characters.
516         * viper.el (viper-insert-state-mode-list): Added eshell.
518         * ediff-init.el (ediff-before-setup-hook): New hook.
519         Several typos fixed in various docstrings.
520         * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
521         * ediff-nult.el (ediff-before-session-group-setup-hooks): New
522         hook.
523         (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
524         * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
525         (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
526         (ediff-get-selected-buffers): New function.
527         * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
528         (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
529         save-window-excursion.
530         * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
531         termination check in while loop.
532         * ediff.el (ediff-get-default-file-name): Better defaults when in
533         dired buffer.
534         (ediff-files,ediff-merge-files,ediff-files3)
535         (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
537 2000-10-28  Dave Love  <fx@gnu.org>
539         * info.el (Info-fontify-node): Add help-echo for menu items.
541 2000-10-28  Eli Zaretskii  <eliz@is.elta.co.il>
543         * startup.el (normal-top-level): If the value of $TERM indicates
544         we are running from xterm or one of its work-alikes, default to a
545         light background mode.
547         Support for -fg, -bg, and -rv command-line arguments for TTYs:
548         * faces.el (tty-handle-reverse-video): New function.
549         (tty-create-frame-with-faces): Call it.
551         * frame.el (frame-notice-user-settings): Don't apply
552         default-frame-alist and initial-frame-alist to MS-DOS frames.
553         Call tty-handle-reverse-video, frame-set-background-mode, and
554         face-set-after-frame-default for non-MS-DOS frames.
556         * startup.el (tty-long-option-alist): New variable.
557         (tty-handle-args): New function.
558         (command-line): Call tty-handle-args.
560         * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
561         startup.el now does that for all character-terminal frames.
563 2000-10-28  Miles Bader  <miles@gnu.org>
565         * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
566         `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
567         global.  If :global is followed by a non-nil but non-t value,
568         make the mode buffer-local, but also generate a `global-MODE'
569         version using `easy-mmode-define-global-mode'.  Add
570         :conditional-turn-on keyword argument.
572 2000-10-28  Dave Love  <fx@gnu.org>
574         * international/latin1-disp.el (latin1-char-displayable-p): Don't
575         use window-system.
577 2000-10-27  Eli Zaretskii  <eliz@is.elta.co.il>
579         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
580         Don't call find-buffer-file-type-coding-system.  Instead, just
581         set eol-type to -unix if inhibit-eol-conversion is in effect, or
582         if the file is on an untranslated filesystem.
583         (add-untranslated-filesystem): Use "D" instead of "f" inside
584         interactive.
586 2000-10-27  Dave Love  <fx@gnu.org>
588         * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
589         (refill-mode): Use it.
591 2000-10-27  Stefan Monnier  <monnier@cs.yale.edu>
593         * international/quail.el (quail-activate): Don't make-local-hook.
595 2000-10-27  Andre Spiegel  <spiegel@gnu.org>
597         * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
598         manual backups and file.~<rev>.~ for automatic ones.
599         (vc-make-version-backup): Don't do it on MS-DOS without long file
600         names.
602         * vc.el (vc-version-other-window): If an automatic backup of the
603         desired version exists, rename it instead of copying it.
605         * vc-cvs.el (vc-cvs-checkin): Check both status and error message
606         after command.  If there's an unexpected error, signal it instead
607         of being silent.
608         (vc-cvs-merge-news): Be prepared for no news at all.
610 2000-10-27  Miles Bader  <miles@lsi.nec.co.jp>
612         * shell.el (shell): Add BUFFER argument.
613         * comint.el (make-comint-in-buffer): New function.
614         (make-comint): Use it.
616         * faces.el (face-spec-choose): Change syntax so that the list of
617         attribute-value pairs is now the cdr of each clause, not the cadr.
618         Detect old-style entries, and handle them.  Use pop.
620 2000-10-26  Stefan Monnier  <monnier@cs.yale.edu>
622         * cus-edit.el (custom-mode-map): Use a sparse map.
623         (custom-mode): Don't bother with make-local-hook.
625         * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
627         * vc.el (vc-start-entry): Only erase the buffer if comment is set.
629 2000-10-26  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
631         * ps-print.el: Avoid compilation gripes.
632         (ps-print-version): New version number (6.2.1).
634 2000-10-26  Dave Love  <fx@gnu.org>
636         * menu-bar.el: Modify some menu item help strings.
637         (menu-bar-help-menu): Add link to MORE.STUFF.
639         * cus-edit.el (custom-mode): Add `special' mode-class property.
641         * wid-browse.el (widget-browse-mode): Likewise.
643         * wid-edit.el (widget-specify-field): Revert to using local-map
644         property, not keymap.
646 2000-10-26  Miles Bader  <miles@lsi.nec.co.jp>
648         * wid-edit.el (widget-field-end): When checking for a `boundary'
649         field, do so in the correct buffer.
651         * simple.el (undo): Correctly distinguish between numeric and
652         non-numeric prefix args in non-transient-mark-mode, as per the doc
653         string.  When in transient-mark-mode, treat all prefix-args as
654         numeric.
656         * simple.el (previous-matching-history-element): Miscellaneous cleanup.
657         Position point on match.  Handle N == 0 correctly.
659         * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
660         (comint-mode-map): Reverse order of `comint-write-output' and
661         `comint-append-output-to-file'.
662         (comint-append-output-to-file): Reinstate this function, for the
663         benefit of the menu.
665 2000-10-25  Stefan Monnier  <monnier@cs.yale.edu>
667         * vc.el (vc-version-other-window): Bind `file'.
669 2000-10-25  Gerd Moellmann  <gerd@gnu.org>
671         * Makefile.in (update-authors): New target for maintenance purposes.
673         * emacs-lisp/authors.el (batch-update-authors): New function.
674         (authors-fixed-entries): New defconst.
675         (authors-add-fixed-entries): New function.
676         (authors): Call it.: Don't process lispref/.
678 2000-10-25  Jason Rumney  <jasonr@gnu.org>
680         * cus-edit.el (custom-button-face, custom-button-pressed-face):
681         Merge x w32 and mac definitions.
683 2000-10-25  Gerd Moellmann  <gerd@gnu.org>
685         * menu-bar.el (menu-bar-options-menu): Add a help string for
686         `uniquify'.
688 2000-10-25  Stephen Gildea  <gildea@alum.mit.edu>
690         * time-stamp.el (time-stamp-string-preprocess):
691         Fix a wrong type argument error.
693 2000-10-25  Miles Bader  <miles@gnu.org>
695         * recentf.el (recentf-mode): Variable removed.
696         (recentf-mode): Use `define-minor-mode'.
698         * mwheel.el (mouse-wheel-mode): New global minor mode.
699         (mwheel-install): Use `mouse-wheel-mode'.
701 2000-10-25  Dave Love  <fx@gnu.org>
703         * progmodes/cperl-mode.el (cperl-mode):
704         Set normal-auto-fill-function correctly.
706         * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
707         inherit from global-map and don't nullify menu-bar and tool-bar
708         bindings.
710 2000-10-25  Miles Bader  <miles@lsi.nec.co.jp>
712         * wid-edit.el (widget-field-at): New function.
713         (widget-at, widget-field-activate): Use it.
714         (widget-tabable-at): Use `widget-at'.
715         (widget-specify-field): If the terminating character of the widget
716         field (which is read-only) is a newline, put it into a special
717         `boundary' field so that C-n/C-p act more naturally.
718         (widget-field-end): Also don't subtract one if a special
719         `boundary' field has been added after the widget field.
721         * comint.el (comint-output-filter, comint-send-input): Don't
722         bother adding stickiness fields to overlays to fool the field
723         code, since it should notice the overlay insertion-types now.
725         * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
726         Replace with aliases of the normal emacs b-o-l/e-o-l functions.
727         (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
729 2000-10-24  Gerd Moellmann  <gerd@gnu.org>
731         * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
732         (authors): Set file coding system to iso-2022-7bit.  Add
733         file-local variables to output buffer.
735         * files.el (after-find-file): Don't print any warnings if
736         WARN is nil.
738 2000-10-24  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
740         * ps-print.el (ps-generate): Fix odd/even pages printing bug.
742         * delim-col.el: Now there is a column formatting mechanism.
743         Modified to customization mechanisms convention.  Doc fix.
744         (columns): New group for delim-col.
745         (delimit-columns-before, delimit-columns-after)
746         (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
747         (delimit-columns-end): New vars.
748         (delimit-columns-customize, delimit-columns-format): New funs.
749         (delimit-columns-region, delimit-columns-rectangle)
750         (delimit-columns-rectangle-line): Modified to support column
751         formatting.
753 2000-10-24  Dave Love  <fx@gnu.org>
755         * log-edit.el (log-edit): Add :version and a :group for vc.
757 2000-10-24  Gerd Moellmann  <gerd@gnu.org>
759         * files.el (after-find-file): Don't print a message ``New file''
760         if WARN is nil.
762         * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
763         the tool-bar map as nil, as for the menu-bar.  Otherwise, we'll
764         get duplicate tool-bar entries because we'll see the global ones
765         on more than one path through keymaps.
767         * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
769         * progmodes/cmacexp.el: Change Francesco's email address.
771 2000-10-24  Kenichi Handa  <handa@etl.go.jp>
773         * window.el (fit-window-to-buffer): Adjust point of the window
774         buffer, not that of the current buffer.
776 2000-10-24  Eli Zaretskii  <eliz@is.elta.co.il>
778         * progmodes/cmacexp.el: Update the euthor's email address.
780 2000-10-24  Miles Bader  <miles@lsi.nec.co.jp>
782         * faces.el (face-spec-set-match-display): Add `graphic' display
783         type (the inverse of `tty').  Use `display-graphic-p' instead of
784         the window-system variable.
786 2000-10-24  Kenichi Handa  <handa@etl.go.jp>
788         * international/isearch-x.el (isearch-with-input-method): Call
789         input-method-function with the first event in
790         unread-command-events.
792 2000-10-24  Miles Bader  <miles@lsi.nec.co.jp>
794         * faces.el (face-default-spec, face-user-default-spec): Make
795         defsubsts.
797 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
799         * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
800         New charsets.
802         * term/mac-win.el: Remove definitions of mac-roman-lower and
803         mac-roman-upper, require dired, and define instead of set
804         mac-ready-for-drag-n-drop to avoid compilation error.
806 2000-10-23  Andrew Innes  <andrewi@gnu.org>
808         * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
809         superfluous calls to subst-char-in-string; instead apply
810         expand-file-name after convert-standard-filename to ensure
811         expected directory separators are used.
813 2000-10-23  Eli Zaretskii  <eliz@is.elta.co.il>
815         * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
817 2000-10-23  Dave Love  <fx@gnu.org>
819         * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
820         (tool-bar-add-item): Set foreground and background for XBM icons.
822         * international/latin1-disp.el (latin1-char-displayable-p): New
823         function (from Handa).
824         (latin1-display-check-font): Use it.
826         * imenu.el (imenu--create-keymap-2): Build menu with menu-item
827         using :key-sequence, making it much more usable.  Use nconc, not
828         append.
829         (imenu--create-keymap-1): Avoid append.
831         * textmodes/refill.el: Remove bits redundant with define-minor-mode.
833 2000-10-23  Miles Bader  <miles@lsi.nec.co.jp>
835         [the following changes fix a bug where `define-minor-mode' didn't
836         correctly generate :require clauses for defcustoms in compiled files]
837         * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
838         (byte-compile-log-file, byte-compile-log-1): Don't set
839         `byte-compile-current-file' to nil.  Instead set
840         `byte-compile-last-logged-file' to it.  Test whether
841         byte-compile-current-file equals byte-compile-last-logged-file
842         instead of whether its nil.
843         (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
845 2000-10-23  Stefan Monnier  <monnier@cs.yale.edu>
847         * textmodes/refill.el: Fix var names in doc.
848         (refill-mode): Don't bother with make-local-hook anymore.
850 2000-10-23  Miles Bader  <miles@lsi.nec.co.jp>
852         * faces.el (face-user-default-spec, face-default-spec): New functions.
853         (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
854         (frame-set-background-mode, face-set-after-frame-default):
855         Use `face-user-default-spec'.  Simplify code slightly.
857         * woman.el (woman-italic-face, woman-bold-face)
858         (woman-unknown-face): Add dark-background variants.
859         (woman-default-faces): Renamed from `woman-colour-faces'.
860         Set using the stored defaults, rather than using hard-wired colors.
861         (woman-monochrome-faces): Renamed from `woman-black-faces'.
862         Just make the foreground `unspecified' rather than "black".
863         (woman-menu): Rename menu entries accordingly.
865         * faces.el (header-line): Make more reasonable on mono/grayscale
866         displays.
868 2000-10-23  Andrew Choi  <akochoi@i-cable.com>
870         * cus-edit.el (custom-button-face): Use 3D look for mac.
871         (custom-button-pressed-face): Likewise.
873         * faces.el (set-face-attributes-from-resources): Handle mac frames
874         in the same way as x and w32 frames.
875         (face-valid-attribute-values): Likewise.
876         (read-face-attribute): Likewise.
877         (defined-colors): Likewise.
878         (color-defined-p): Likewise.
879         (color-values): Likewise.
880         (display-grayscale-p): Likewise.
881         (face-set-after-frame-default): Likewise.
882         (mode-line): Same default face as for x and w32.
883         (tool-bar): Likewise.
885         * frame.el: Remove call to frame-notice-user-settings at end of
886         the file.
888         * info.el (Info-fontify-node): make underlines invisible for mac
889         as for x, pc, and w32 frame types.
891         * term/mac-win.el: New file.
893 2000-10-22  Dave Love  <fx@gnu.org>
895         * textmodes/refill.el: New file.
897 2000-10-22  Andre Spiegel  <spiegel@gnu.org>
899         * vc-hooks.el (vc-version-backup-file-name): New optional args
900         MANUAL and REGEXP.
901         (vc-delete-automatic-version-backups, vc-make-version-backup):
902         New functions.
903         (vc-before-save): Use the latter.
904         (vc-default-make-version-backups-p): Added `-p' suffix to avoid
905         confusion.
907         * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
908         expected by vc[-hooks].el.
910         * vc.el (vc-checkout): Added `-p' suffix in call to
911         vc-make-version-backups-p; use vc-make-version-backup to actually
912         make the backup.
913         (vc-version-other-window, vc-version-backup-file): Handle both
914         automatic and manual backups.
915         (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
916         of all of them.
918 2000-10-22  Miles Bader  <miles@gnu.org>
920         * comint.el (comint-highlight-input, comint-highlight-prompt):
921         Renamed, `-face' at end removed.
922         (comint-send-input, comint-output-filter): Use renamed faces.
924         * window.el (fit-window-to-buffer): Change defaulting of
925         MAX-HEIGHT slightly.
927         * faces.el (color-values, color-defined-p): Use `member', not
928         `memq', because it works correctly for strings.
929         (frame-set-background-mode): Actually, "unspecified-fg" and
930         "unspecified-bg" *are* strings.  Use `member', not `memq', and
931         `equal', not `eq', when a string value is possible.
933 2000-10-21  Eli Zaretskii  <eliz@is.elta.co.il>
935         * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
937 2000-10-21  Stefan Monnier  <monnier@cs.yale.edu>
939         * progmodes/sh-script.el (sh-mode-map): Remove bindings for
940         sh-electric-rparen, sh-electric-less and sh-electric-hash.
941         (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
942         (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
943         (sh-font-lock-syntactic-keywords): Use them.
944         (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
945         (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
946         (sh-mode): Don't override font-lock-unfontify-region-function.
947         Use a copy of sh-font-lock-syntactic-keywords.
948         (sh-set-shell): Don't set sh-electric-rparen-needed-here.
949         Don't call sh-scan-buffer since font-lock does it on the fly.
950         (sh-get-indent-info): Use `face' rather than `syntax-table'
951         text-property to detect here-documents.
952         Replace sh-special-syntax with sh-st-punc.
953         (sh-prev-line): Use `face' rather than `syntax-table'
954         text-property to skip over here-documents.
955         (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
956         (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
957         (sh-electric-less, sh-set-here-doc-region)
958         (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
959         (sh-scan-buffer, sh-rescan-buffer): Remove.
961 2000-10-21  Andrew Innes  <andrewi@gnu.org>
963         * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
964         remote (ange-ftp) file names.
966 2000-10-21  Miles Bader  <miles@gnu.org>
968         * window.el (fit-window-to-buffer): New function.
969         (shrink-window-if-larger-than-buffer): Use it.
970         (window-text-height): Don't expect minibuffers to have mode-lines.
972         * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
973         * international/quail.el (quail-update-guidance): Use
974         `fit-window-to-buffer' instead of `set-window-text-height'.
976         * international/quail.el (quail-show-guidance-buf): Make sure
977         guidance window really has enough room.
978         (quail-update-guidance): If quail-guidance-win is already shown,
979         make sure its height is OK.
981         * window.el (window-text-height, set-window-text-height):
982         New functions.
983         (shrink-window-if-larger-than-buffer): Use `window-text-height'
984         instead of `window-height' & `mode-line-window-height-fudge'.
985         (mode-line-window-height-fudge): Add FACE parameter.
986         * help.el (resize-temp-buffer-window): Use `set-window-text-height'
987         instead of `enlarge-window' & `mode-line-window-height-fudge'.
989 2000-10-20  Miles Bader  <miles@gnu.org>
991         * window.el (height-affecting-face-attributes): Use `defconst'.
993         * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
994         New function, conditionally aliased to `mode-line-window-height-fudge'.
995         (ispell-help): Use it.
996         (ispell-choices-win-default-height): Don't include mode-line fudge.
997         (ispell-choices-win-default-height): New function.
998         (ispell-show-choices, ispell-command-loop): Use function
999         `ispell-choices-win-default-height' instead of variable.
1001 2000-10-20  Miles Bader  <miles@lsi.nec.co.jp>
1003         * window.el (mode-line-window-height-fudge): New variable.
1004         (height-affecting-face-attributes): New variable.
1005         (mode-line-window-height-fudge): New function.
1006         (shrink-window-if-larger-than-buffer): Use it.
1007         * help.el (resize-temp-buffer-window): Likewise.
1009         * info.el (Info-fontify-node): Add support for @subsubsection
1010         titles, which use `Info-title-4-face'.
1011         (Info-title-4-face): New face.
1012         (Info-title-3-face): Inherit from Info-title-4-face instead of
1013         variable-pitch.
1015 2000-10-19  Jason Rumney  <jasonr@gnu.org>
1017         * dired.el (dired-insert-directory): Do not let errors signalled by
1018         attempt to run dired-free-space-program prevent dired from working.
1020 2000-10-19  Stefan Monnier  <monnier@cs.yale.edu>
1022         * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
1024 2000-10-19  Gerd Moellmann  <gerd@gnu.org>
1026         * dirtrack.el (dirtrack): Fix call to run-hooks.
1028         * cmuscheme.el (cmuscheme-program-name): Renamed from
1029         scheme-program-name because xscheme.el contains a defcustom with
1030         the same name.  As a consequence, customizing group `cmuscheme'
1031         loaded `xscheme' which redefined run-scheme.
1032         (run-scheme): Use cmuscheme-program-name.
1034         * ps-print.el (ps-print-emacs-type): Move into the
1035         eval-and-compile.
1037         * play/doctor.el (doctor-death): Update the Samaritans'
1038         anonymous address, and add a website for Befrienders International.
1040 2000-10-19  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
1042         * ps-print.el: Even/odd pages fix.  Fix little bug on XEmacs.
1043         Avoid compilation gripes.  Doc fix.
1044         (ps-print-version): New version number (6.2).
1045         (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
1046         (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
1047         (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
1048         (ps-x-extent-priority, ps-x-extent-start-position)
1049         (ps-x-face-font-instance, ps-x-find-coding-system)
1050         (ps-x-font-instance-properties, ps-x-make-color-instance)
1051         (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
1052         avoid compilation gripes without defining functions.
1053         (ps-e-find-composition): Alias for function find-composition, to have a
1054         suitable function depending on Emacs version.
1055         (ps-color-device, ps-color-values, ps-face-foreground-name)
1056         (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
1057         (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
1058         (ps-print-ensure-fontified): Function definitions surrounded by
1059         `eval-and-compile' to avoid compilation gripes.
1060         (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
1061         by symbol-value to avoid compilation gripes.
1062         (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
1063         (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
1065 2000-10-19  Miles Bader  <miles@lsi.nec.co.jp>
1067         * startup.el (normal-top-level): Call `frame-set-background-mode'
1068         after `frame-notice-user-settings' because the latter doesn't call
1069         the former on a tty.
1071         * faces.el (frame-set-background-mode): `unspecified' &c are
1072         symbols, not strings.
1074 2000-10-19  Eli Zaretskii  <eliz@is.elta.co.il>
1076         * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
1077         why some "light*" colors are deliberately absent from the alist.
1079         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
1080         Change colors for tty's, as suggested by Miles Bader.
1082 2000-10-19  Kenichi Handa  <handa@etl.go.jp>
1084         * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
1085         (ccl-encode-mule-unicode-0100-24ff): New CCL program.  Register it
1086         for ISO10646-1 fonts.
1087         (x-font-name-charset-alist): Add an entry for "iso10646-1".
1089 2000-10-19  Eli Zaretskii  <eliz@is.elta.co.il>
1091         * faces.el (frame-set-background-mode): If a tty frame defines a
1092         background color, use that to compute the background mode, instead
1093         of always defaulting to "dark".
1095 2000-10-19  Miles Bader  <miles@lsi.nec.co.jp>
1097         * comint.el (comint-write-output): New function.
1098         (comint-mode-map): Add it to the menu.
1099         Bind `C-c C-s' to comint-write-output.
1101 2000-10-18  Gerd Moellmann  <gerd@gnu.org>
1103         * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
1104         Use fancy-splash-delay.
1106 2000-10-18  Alex Schroeder  <alex@gnu.org>
1108         * progmodes/sql.el (sql-sybase-options): New option.
1109         (sql-sybase): Use it.  Add sql-database to the list of parameters
1110         provided for login.  The options -w 2048 -n are not used any more.
1112         * comint.el (comint-read-input-ring): Bugfix such that the first
1113         and the last entry of the input ring file are not lost.
1115 2000-10-18  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
1117         * ps-print.el: Internal variable changes to defcustom,
1118         make-local-hook changes to defvar.  Doc fix.
1119         (ps-print-version): New version number (6.1).
1120         (ps-setup, ps-do-despool): Code fix.
1121         (ps-printer-name): Customization fix.
1122         (ps-printer-name-option): Now is a defcustom instead of an
1123         internal variable.
1124         (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
1125         (ps-print-begin-column-hook): Now are defvar instead of
1126         make-local-hook.
1128 2000-10-18  Miles Bader  <miles@gnu.org>
1130         * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
1131         (comint-kill-output): Changed into an alias for `comint-delete-output',
1132         and made obsolete.
1133         (comint-mode-map): Rename references to comint-kill-output.
1135 2000-10-18  Eli Zaretskii  <eliz@is.elta.co.il>
1137         * diff-mode.el (diff-header-face, diff-file-header-face)
1138         (diff-changed-face): Add bold and italic attributes to tty faces.
1139         (diff-function-face): New face.
1140         (diff-font-lock-keywords): Use it.
1142 2000-10-18  Miles Bader  <miles@lsi.nec.co.jp>
1144         * comint.el (comint-output-filter): Fixup comint-last-input-end too.
1145         Remove commented-out call to force-mode-line-update.
1146         (comint-kill-output): Use `forward-line 0' instead of
1147         beginning-of-line to make sure we get past the prompt.
1149 2000-10-17  Stefan Monnier  <monnier@cs.yale.edu>
1151         * diff-mode.el (diff-header-face, diff-file-header-face):
1152         Add specific setting for dark background.
1153         (diff-context-face): Renamed from diff-comment-face.
1154         Set explicitly rather than inheriting from font-lock-comment-face.
1156 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1158         * startup.el (command-line): Move the code which sets the default
1159         TTY colors to before before-init-hook.
1161 2000-10-17  Gerd Moellmann  <gerd@gnu.org>
1163         * jit-lock.el (jit-lock-stealth-time): Doc fix.
1165 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1167         * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
1168         extensions, for MS-DOS.
1170         * diff-mode.el (diff-header-face, diff-file-header-face)
1171         (diff-changed-face): Define tty-specific colors.
1173 2000-10-17  Gerd Moellmann  <gerd@gnu.org>
1175         * startup.el (fancy-splash-text): Realign the text.
1177 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1179         * font-lock.el (font-lock-comment-face): Define a separate default
1180         for dark-background tty's.
1182 2000-10-17  Miles Bader  <miles@gnu.org>
1184         * help.el (resize-temp-buffer-window): Add hack to avoid last line
1185         being obscured by whizzy mode-lines on graphics displays.
1187 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1189         * info.el (Info-title-1-face, Info-title-2-face)
1190         (Info-title-3-face): Define colors for tty's.
1191         (info-header-node): Remove unneeded tty-specific definition.
1193 2000-10-16  Eli Zaretskii  <eliz@is.elta.co.il>
1195         * term/pc-win.el (msdos-handle-reverse-video): Don't remove
1196         reverse from the frame parameters, and don't invert foreground and
1197         background colors.
1199 2000-10-16  Miles Bader  <miles@gnu.org>
1201         * info.el (Info-set-mode-line): Use `%b' instead of hardwired
1202         string "*Info*".  Call propertized-buffer-identification to spruce
1203         up the result.
1205 2000-10-16  Gerd Moellmann  <gerd@gnu.org>
1207         * help.el: Provide `help' for the sake of define-minor-mode
1208         which generates defcustoms with requires.
1210         * jit-lock.el (jit-lock-after-change): If we're in text that
1211         matches a multi-line font-lock pattern, make sure the whole text
1212         will be redisplayed.
1214         * emacs-lisp/authors.el (authors-add): Don't add an entry if
1215         author's name is unknown.
1217         * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
1218         * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
1219         * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
1220         * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
1221         * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
1222         * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
1223         * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
1224         * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
1225         * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
1226         Add author information.
1228 2000-10-16  Miles Bader  <miles@lsi.nec.co.jp>
1230         * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
1231         * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
1232         full-color version (using the Gimp) to eliminate dithering artifacts.
1234 2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>
1236         * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
1238         * simple.el (syntax-flag-table, string-to-syntax): Remove.
1240 2000-10-15  Dave Love  <fx@gnu.org>
1242         * progmodes/sh-script.el: Require skeleton and comint when
1243         compiling.
1245         * pcomplete.el (pcomplete) <defgroup>: Add :version.
1247         * whitespace.el: Doc fixes.
1248         (top-level): Don't add hooks here.
1249         (whitespace-running-emacs): Deleted.
1250         (timer): Don't require.
1251         (whitespace): Add back :version conditional on xemacs test.
1252         (whitespace-spacetab-regexp, whitespace-indent-regexp)
1253         (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
1254         (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
1255         (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
1256         Avoid specific xemacs test.
1257         (whitespace-global-mode): New option.
1258         (whitespace-global-mode): New command.
1259         (whitespace-unload-hook): New function.
1261         * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
1262         (Info-fontify-node, Info-goto-node, Info-mode-menu)
1263         (Info-fontify-node): `Goto' goes to `Go to'.
1264         (Info-fontify-node): Add help-echo to xref links.
1266 2000-10-15  Eli Zaretskii  <eliz@is.elta.co.il>
1268         * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
1270 2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>
1272         * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1273         Use plist-get and allow :inherit.
1275         * emacs-lisp/cl-macs.el (cl-do-arglist):
1276         Use plist-get and plist-member instead of memq.
1278         * emacs-lisp/ewoc.el (ewoc-location): New function.
1279         (ewoc-enter-after, ewoc-enter-before): Document return value.
1280         * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
1281         Don't need make-local-hook any more.
1282         (cvs-addto-collection): Return the new tin.
1283         (cvs-mode-insert): Jump to the new line.
1285         * jit-lock.el (jit-lock-fontify-buffer): Remove.
1287         * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
1289         * font-lock.el (font-lock-syntactically-fontified): New var.
1290         (font-lock-fontify-syntactic-keywords-region): Use it.
1291         (font-lock-mode): Fix docstring.  Don't need make-local-hook anymore.
1293         * diff-mode.el (diff-find-file-name): Fix regexp.
1295         * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
1296         (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
1298         * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
1299         (sh-mode-syntax-table): Add punctuation syntax for < and >.
1300         (sh-mode): Don't make all vars local here.
1301         (sh-kw): Reformat.
1302         (sh-set-shell): Use dolist.  Don't set indent-region-function.
1303         (sh-mode-syntax-table): Use pop.
1304         (sh-remember-variable): Use push.
1305         (sh-help-string-for-variable): Use memq.
1306         (sh-safe-backward-sexp): Remove.
1307         (sh-safe-forward-sexp): Add ARG.
1308         (sh-get-indent-info, sh-prev-stmt): Use it.
1309         (sh-prev-line): Simplify by using forward-comment.
1310         (sh-this-is-a-continuation): Simplify.
1311         (sh-learn-buffer-indent): Use dolist.
1312         (sh-do-nothing): Remove.
1313         (sh-set-char-syntax, sh-set-here-doc-region):
1314         Use inhibit-modification-hooks.
1315         (sh-name-style): Use mapcar and push.
1316         (sh-load-style): Use dolist.
1317         (sh-save-styles-to-buffer): Use with-current-buffer and pp.
1318         (sh-case, sh-while-getopts): Use propertize directly rather
1319         than sh-electric-rparen.
1321 2000-10-14  Stefan Monnier  <monnier@cs.yale.edu>
1323         * textmodes/tex-mode.el: Require CL when compiling.
1324         (tex-mode-syntax-table): Init immediately.
1325         (tex-mode-map): Bind M-RET to latex-insert-item.
1326         (latex-mode): Set indent-line-function to latex-indent.
1327         (tex-common-initialization): Don't setup the syntax-table any more.
1328         (latex-insert-item): New skeleton.
1329         (tex-next-unmatched-end): Fix copy/paste braino.
1330         (latex-syntax-after, latex-skip-close-parens, latex-down-list)
1331         (latex-indent, latex-find-indent): New functions.
1332         (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
1333         (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
1334         (tex-compilation-parse-errors): Use with-syntax-table.
1336 2000-10-15  Miles Bader  <miles@gnu.org>
1338         * font-lock.el (font-lock-comment-face): Change dark-background,
1339         color, non-tty, default to `chocolate1'.
1341 2000-10-13  John Wiegley  <johnw@gnu.org>
1343         * eshell/esh-util.el (require): Added a missing `require' form,
1344         needed when compiling (for an ange-ftp macro definition).
1346 2000-10-13  Dave Love  <fx@gnu.org>
1348         * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
1350 2000-10-13  Gerd Moellmann  <gerd@gnu.org>
1352         * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
1353         fix.
1355         * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
1356         transparent -colors 8).
1358 2000-10-13  Stephen Gildea  <gildea@alum.mit.edu>
1360         * time-stamp.el (time-stamp): Fixed bug in new multi-line code
1361         that breaks with old list format timestamps.
1362         (time-stamp-warn-inactive, time-stamp-old-format-warn)
1363         (time-stamp-count, time-stamp-conversion-warn): Improved doc
1364         strings.
1366 2000-10-13  John Wiegley  <johnw@gnu.org>
1368         * align.el, pcomplete.el, calendar/timeclock.el,
1369         eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
1371         * calendar/timeclock.el (timeclock-find-discrep): A fix to some
1372         faulty math, where holiday hours were being computing as seconds.
1374 2000-10-13  John Wiegley  <johnw@gnu.org>
1376         * desktop.el (desktop-buffer-modes-to-save): Added a global for
1377         specifying what "other" kinds of buffers should be saved.  This
1378         used to be hard-coded.
1379         (desktop-buffer-misc-functions): A global for specifying how
1380         auxiliary data should be determined for special buffer types.
1381         (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
1382         instead of hard-coding the special buffer types.
1383         (desktop-save): Run `desktop-buffer-misc-functions' to gather
1384         auxiliary data, instead of hard-coding for Info buffers and dired.
1385         (desktop-buffer-info-misc-data): Aux function for determining Info
1386         buffer auxiliary info.
1387         (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
1388         (desktop-buffer-info): Changed this function to use the info
1389         gathered above.
1390         (desktop-create-buffer): Be a little more careful about what
1391         `minor-mode' means before calling it.  This is important for some
1392         buffer types.
1394 2000-10-13  John Wiegley  <johnw@gnu.org>
1396         * eshell/esh-util.el: Added a global form which declares an
1397         autoload for `parse-time-string', if that function is not already
1398         defined, and if parse-time.el is available on the user's system.
1400         * eshell/em-ls.el (eshell-ls-applicable): Extended this function
1401         to be aware of ange-ftp user info.
1402         (eshell-do-ls): Bind `ange-cache'.  Also, use
1403         `eshell-file-attributes'.
1404         (eshell-ls-annotate): Use `eshell-file-attributes'.
1405         (eshell-ls-file): Made the user-id printing code a bit smarter.
1407         * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
1408         allow identification of alias user ids in remote directories.
1409         It's manual, but there's no other way to know when the current
1410         user on the local machine, is also the owning user on the remote
1411         machine.
1412         (fboundp): Bind `ange-cache'.
1413         (eshell-directory-files-and-attributes): Re-organized the logic a
1414         bit to use `eshell-file-attributes' instead of `file-attributes'.
1415         The former is more sensitive to directories that are read via FTP,
1416         and knows how to use ange-ftp to determine full attribute
1417         information, instead of just the name and last modtime.
1418         (eshell-current-ange-uids): Return the current user id when in a
1419         remote directory.
1420         (eshell-parse-ange-ls): Parse a full directory listing that has
1421         been returned by ange-ftp.
1422         (eshell-file-attributes): This beefed up version of
1423         `file-attributes' is only special if the user is currently in a
1424         remote directory, in which case it does a lot of work to find out
1425         what the real attributes of a file are, as they appear on the
1426         remote machine.  This makes usage of remote directories (i.e.,
1427         ange-ftp pathnames) much more useful.  You can now use Eshell as a
1428         full-fledged FTP client, with much more manipulation ability than
1429         most other clients.
1431         * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
1432         variable, which means that Eshell's du should always be preferred
1433         in remote directories.
1434         (eshell-shuffle-files): Use `eshell-file-attributes', rather than
1435         just `file-attributes'.
1436         (eshell-mvcp-template): Bind `ange-cache', to improve performance
1437         when reading remote directories.  This is an Eshell-specific
1438         variable (not part of ange-ftp).
1439         (eshell/ln): Bind `ange-cache'.
1440         (eshell/du): Added some extra logic for determining when to use
1441         Eshell's du (which is slow), and when to use the external version
1442         (which may or may not exist).
1444         * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
1445         `eshell-interactive-process', rather than using
1446         `get-buffer-process', since backgrounded processes don't count in
1447         the context of this function's logic.
1449         * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
1450         `forward-char', so that null strings are parsed correctly.
1452 2000-09-13  John Wiegley  <johnw@gnu.org>
1454         * eshell/em-pred.el (eshell-pred-file-type,
1455         eshell-pred-file-links, eshell-pred-file-size): Use
1456         `eshell-file-attributes'.  This is more correct over ange-ftp.
1458         * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
1459         that remote file globbing is more efficient.
1461         * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
1462         gathering the files and attributes within a directory.
1464         * eshell/em-unix.el (eshell/cat): If any of the files passed on
1465         the command line is a special file (not a regular file, directory
1466         or symlink), always attempt to call the external version of cat.
1468 2000-09-13  John Wiegley  <johnw@gnu.org>
1470         * eshell/esh-mode.el (eshell-find-tag): Corrections to the
1471         Eshell-friendly version of find-tag.
1473 2000-10-13  Miles Bader  <miles@lsi.nec.co.jp>
1475         * image-file.el (image-file-name-extensions)
1476         (image-file-name-regexps): Add autoload cookies.
1478 2000-10-13  Kenichi Handa  <handa@etl.go.jp>
1480         * international/mule-cmds.el (select-safe-coding-system): If FROM
1481         is string, show it in *Warning* buffer.
1483 2000-10-13  Eli Zaretskii  <eliz@is.elta.co.il>
1485         * startup.el (normal-top-level): Use display-popup-menus-p instead
1486         of window-system.
1487         (command-line): Use display-graphic-p instead of window-system.
1488         (command-line-1): Use display-popup-menus-p and display-mouse-p
1489         instead of window-system.
1491 2000-10-12  Sam Steingold  <sds@gnu.org>
1493         * tooltip.el (tooltip-use-echo-area): New user variable.
1494         (tooltip-show): Use it to choose between `x-show-tip' and `message'.
1496 2000-10-12  Dave Love  <fx@gnu.org>
1498         * recentf.el: Maintainer's checkdoc fixes.
1500         * startup.el (normal-top-level-add-subdirs-to-load-path): Use
1501         character class, not ASCII when matching file names.
1502         (fancy-splash-head): Add trailing slash to URL.
1503         (command-line): Don't require XPM support for toolbar.
1505         * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
1506         (cperl-invalid-face): Revert last change.
1507         (cperl-init-faces): Quote cperl-invalid-face.
1509 2000-10-12  Kenichi Handa  <handa@etl.go.jp>
1511         * startup.el (fancy-splash-text): Remove superfluous quote.
1513 2000-10-12  Gerd Moellmann  <gerd@gnu.org>
1515         * startup.el (fancy-splash-screens): Don't add a pre-command hook.
1516         (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
1517         (command-line-1): Don't use fancy-splash-pending-command.
1518         (fancy-splash-screens-1): Goto point-min after inserting text.
1520         * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
1522         * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
1523         instead of shared-lisp-mode-map.
1525 2000-10-12  Miles Bader  <miles@lsi.nec.co.jp>
1527         * faces.el (header-line): Change tty-variant to use underlining.
1529         * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
1530         (isearch-highlight): Restore lazy-isearch face properties at old
1531         position, and suppress them at new position.
1532         (isearch-dehighlight): Restore lazy-isearch face properties.
1533         (isearch-lazy-highlight-update): Add lazy-isearch overlays even
1534         over the real isearch overlay, but in that case, don't give it a
1535         face property.  Use `push'.
1537 2000-10-12  Kenichi Handa  <handa@etl.go.jp>
1539         * man.el (Man-getpage-in-background): Fix previous change.
1540         Decode the process output only when we are in multibyte mode.
1542 2000-10-11  Dave Love  <fx@gnu.org>
1544         * info.el (Info-mode-menu): Fix some help.
1545         (info-tool-bar-map): Add entry for Info-last.
1547         * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
1548         * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
1549         * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
1550         * toolbar/cut.xpm, toolbar/mail_compose.xpm:
1551         * toolbar/search-replace.xpm, toolbar/exit.xpm:
1552         * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
1553         * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
1554         * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
1555         * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
1556         * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
1557         Reduce colour requirements to 25 overall.  (Probably wants
1558         revisiting from the originals to reduce further.)
1560 2000-10-11  Eli Zaretskii  <eliz@is.elta.co.il>
1562         * hexl.el (hexlify-buffer): Bind coding-system-for-write to
1563         buffer-file-coding-system, instead of raw-text.
1564         (dehexlify-buffer): Bind coding-system-for-read to
1565         buffer-file-coding-system, instead of raw-text.
1567 2000-10-11  Sam Steingold  <sds@gnu.org>
1569         * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
1570         `underline' - fixes the bug introduced on 2000-09-21.
1572 2000-10-11  Dave Love  <fx@gnu.org>
1574         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
1575         compiler warnings.
1576         (scheme-mode): Doc fix.
1577         (scheme-font-lock-keywords-1): Match `define-syntax'.
1579 2000-10-11  Miles Bader  <miles@lsi.nec.co.jp>
1581         * faces.el (frame-set-background-mode): Pay attention to saved
1582         face specs as well as default ones.  Only do anything if the
1583         bg-mode or display-type has actually changed.  Use `dolist'.
1584         (region): Make dark-background `region' face less in-your-face.
1586 2000-10-10  Sam Steingold  <sds@gnu.org>
1588         * chistory.el, ielm.el, ledit.el:
1589         * progmodes/inf-lisp.el, progmodes/scheme.el:
1590         Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
1592 2000-10-10  Stefan Monnier  <monnier@cs.yale.edu>
1594         * textmodes/texinfo.el: Update copyright and fix typo.
1596         * desktop.el (desktop-modes-not-to-save): New var.
1597         (desktop-save-buffer-p): Use it.
1598         Also, obey desktop-buffers-not-to-save even for non-file buffers.
1599         (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
1601 2000-10-10  Dave Love  <fx@gnu.org>
1603         * toolbar/tool-bar.el (tool-bar-add-item)
1604         (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
1605         display.
1607         * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
1608         * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
1609         * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
1610         * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
1611         * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
1612         * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
1613         * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
1614         * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
1615         * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
1616         * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
1617         the .xpms; probably need retouching.
1619 2000-10-10  Miles Bader  <miles@lsi.nec.co.jp>
1621         * subr.el (add-to-list): Add optional argument APPEND.
1622         * battery.el (display-battery): Use `add-to-list'.
1624 2000-10-09  Thien-Thi Nguyen  <ttn@gnu.org>
1626         * play/zone.el (zone-timer, zone-wc-tbl): Rework
1627         these vars as symbol properties.
1628         (zone, zone-when-idle, zone-leave-me-alone)
1629         (zone-pgm-whack-chars): Use new symbol properties.
1631         * battery.el (display-battery): Doc spelling fix.
1633         * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
1634         property.
1636 2000-10-09  Dave Love  <fx@gnu.org>
1638         * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
1639         has been initialized before calling tool-bar-setup.
1640         (tool-bar-add-item-from-menu): Add autoload cookie.
1642 2000-10-09  Eli Zaretskii  <eliz@is.elta.co.il>
1644         * menu-bar.el (send-mail-item-name): New function.
1645         (menu-bar-tools-menu) <compose-mail>: Use it to display the value
1646         of mail-user-agent in the menu.  Don't display the "Send Mail"
1647         item if mail-user-agent is nil or its value is ignore.
1648         (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
1649         if read-mail-command is nil or its value is ignore.
1651         * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
1653 2000-10-09  Miles Bader  <miles@gnu.org>
1655         * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
1656         Correct image size.
1657         * toolbar/left_arrow.xpm: Correct image size.
1659         * jka-compr.el: Don't call `jka-compr-install' when loading (it
1660         will be done by the definition of `auto-compression-mode' if
1661         necessary.  Move code to uninstall existing file-name handler
1662         before definition of `auto-compression-mode'.
1664         * image-file.el (auto-image-file-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.
1669         * mouse.el (popup-menu): Balance parens.
1671 2000-10-08  Stefan Monnier  <monnier@cs.yale.edu>
1673         * mouse.el (popup-menu): Move the command call outside the loop
1674         so that popup-menu returns whatever the command returns.
1676         * progmodes/etags.el: Docstring fixes.  Maintainer line updated.
1677         (initialize-new-tags-table): Use run-hook-with-args-until-success.
1678         (find-tag): Use pop-to-buffer if switch-to-buffer failed.
1679         (tags-table-format-functions): Renamed from tags-table-format-hooks.
1681         * vc.el (vc-version-diff): diff-switches can be a list.
1682         Use relative filenames for prettier output.
1684         * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
1685         (vc-post-command-functions): Remove old-VC compatibility code.
1687         * newcomment.el (comment-indent-default): Autoload.
1689         * font-lock.el (font-lock-defaults): Make buffer-local.
1690         (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
1691         (font-lock-choose-keywords):
1692         Ignore LEVEL unless KEYWORDS is a list of syms.
1693         (c-keywords, c++-keywords, objc-keywords, java-keywords):
1694         Don't wrap regexp-opt things in \(...\) unnecessarily.
1696         * jit-lock.el: Don't require font-lock any more.
1697         (jit-lock-functions): Make buffer-local.
1698         (jit-lock-saved-fontify-buffer-function): Remove.
1699         (jit-lock-mode): Remove autoload cookie.
1700         Remove font-lock specific code.
1701         (jit-lock-unregister): Don't bother handling complex hooks any more.
1702         (jit-lock-refontify): New function.
1703         (jit-lock-fontify-buffer): Use it.
1704         (jit-lock-function-1): Replaced by jit-lock-fontify-now.
1705         (jit-lock-fontify-now): Renamed from jit-lock-function-1.
1706         Add optional args START and END.
1707         Never call font-lock-fontify-region directly.
1708         (jit-lock-function, jit-lock-stealth-fontify): Use it.
1710         * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
1712 2000-10-08  Dave Love  <fx@gnu.org>
1714         * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
1716         * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
1718         * play/studly.el (studlify-region, studlify-word): Add autoload
1719         cookie.
1721         * play/morse.el (morse-region, unmorse-region): Add autoload
1722         cookie.
1724         * play/spook.el (spook-phrases-file): Use expand-file-name, not
1725         concat.
1727         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
1728         insist on symbols starting with word syntax.
1729         (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
1730         (eval-defun-1): Doc fix.
1731         (indent-sexp): Use nconc to build up indent-stack.
1733         * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
1734         Gnus with little use.
1735         (mail-setup-hook): Add mail-abbrevs-setup to options.
1737         * recentf.el: Doc fixes.
1739         * vcursor.el (vcursor-cs-binding): Remove compatibility code.
1740         Clean up remainder.
1742         * timezone.el (timezone-parse-date): Doc fix.  Fix regexps for (5)
1743         without timezone and (8) with timezone to enforce some whitespace.
1744         Simplify code somewhat.
1746         * options.el (list-options): Doc that you should use customize.
1748         * iswitchb.el (iswitchb-mode): Add :require.
1750         * info.el (Info-goto-node, Info-menu): Doc fix.
1751         (Info-mode-menu): Bind beginning-of-buffer, Info-edit
1752         (info-tool-bar-map): New variable.
1753         (Info-mode): Use it.
1754         (Info-edit-map): Define all in defvar.
1755         (speedbar-attached-frame): Avoid compiler warning.
1757         * toolbar/tool-bar.el (tool-bar-map): Define it empty.
1758         (global-map): Bind [tool-bar] to a filtered map.
1759         (tool-bar-add-item): Remove MAP arg.  Allow PBM icons.
1760         (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
1761         Allow PBM icons.
1762         (tool-bar-setup): Adjust calls of tool-bar-add-item.
1764         * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
1765         * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
1766         * toolbar/right_arrow.xpm: New files.  Renamed from tigert's
1767         icons, except up_arrow, which is left-arrow rotated.
1769         * imenu.el (imenu-add-to-menubar): Fix last change.
1771 2000-10-08  Peter Breton  <pbreton@ne.mediaone.net>
1773         * generic-x.el (rul-generic-mode): Remove eval-when-compile
1774         statements. Suggested by Stefan Monnier  <monnier@cs.yale.edu>.
1776 2000-10-08  Eli Zaretskii  <eliz@is.elta.co.il>
1778         * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
1779         typos in doc strings.
1781         * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
1782         the doc strings how to customize Font Lock faces.
1784         * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
1785         computing growth when dragging the header line.
1787 2000-10-08  Eli Zaretskii  <eliz@is.elta.co.il>
1789         * simple.el (kill-line): Doc fix.
1791 2000-10-08  Miles Bader  <miles@gnu.org>
1793         * faces.el (secondary-selection): Make foreground visible on tty.
1795         * jka-compr.el (auto-compression-mode): Move to the end of the
1796         file, because `define-minor-mode' actually calls the mode-function
1797         if the associated variable is non-nil, which requires that all
1798         needed functions be already defined.
1799         (with-auto-compression-mode): Add autoload cookie.
1801 2000-10-07  Eli Zaretskii  <eliz@is.elta.co.il>
1803         * files.el (find-backup-file-name) [ms-dos]: If support for long
1804         file names is not available, behave as if version-control were set
1805         to never.
1807 2000-10-07  Dave Love  <fx@gnu.org>
1809         * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
1810         (browse-url-gnome-moz): New function.
1811         (browse-url-browser-function): Use it.
1812         Suggested by Colin Walters <walters@cis.ohio-state.edu>.
1814 2000-10-07  Stefan Monnier  <monnier@cs.yale.edu>
1816         * indent.el (tab-always-indent): New var.
1817         (indent-for-tab-command): Use it.
1819         * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
1820         raise an error.  This way it can still default to a sane value.
1822 2000-10-06  Stefan Monnier  <monnier@cs.yale.edu>
1824         * startup.el (fancy-splash-screens): Use local rather than global map.
1825         Don't use `update-menu-bindings' any more.
1826         Get rid of assumptions about keymap representation.
1828 2000-10-06  Dave Love  <fx@gnu.org>
1830         * textmodes/fill.el (sentence-end-double-space)
1831         (sentence-end-without-period):  Doc fix.
1832         (adaptive-fill-regexp): Purecopy.
1833         (unjustify-current-line): Use line-end-position.
1834         (fill-individual-paragraphs-prefix): Use line-beginning-position.
1836         * net/eudc-vars.el (eudc): Add :version, :link.
1838         * international/mule-conf.el (file-coding-system-alist): Use \', not $.
1840         * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
1841         Fix for define-minor-mode.
1842         (function-at-point): Alias to function-called-at-point.
1844         * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
1846         * simple.el (backward-word): Doc fix.
1848         * image-file.el (image-file-name-regexp): image-file-regexps ->
1849         image-file-name-regexps.
1850         (image-file-name-extensions): Add pbm.
1852 2000-10-06  Stefan Monnier  <monnier@cs.yale.edu>
1854         * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
1855         and add filename to the names so that diff-mode can jump to source.
1857         * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
1858         (tex-font-lock-keywords, tex-font-lock-keywords-2)
1859         (tex-font-lock-keywords-1): Remove.
1860         (font-lock-turn-on-thing-lock): Use jit-lock-register.
1861         (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
1862         (font-lock-default-fontify-region):
1863         Expand beg..end correctly when just following a multiline region.
1864         (font-lock-fontify-anchored-keywords):
1865         Include the anchor text as part of the multiline.
1867 2000-10-06  Gerd Moellmann  <gerd@gnu.org>
1869         * loadup.el (toplevel): Load `loaddefs' before `help' because the
1870         latter needs the autoloaded define-minor-mode macro during the
1871         bootstrap.
1873         * startup.el (command-line): For now, activate tool-bar-mode only
1874         if XPM images are supported.
1876         * mouse.el (mouse-drag-header-line): Don't allow resizing a
1877         window by dragging a header-line at the top of the frame; that's
1878         confusing because the header-line doesn't move.
1879         (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
1880         of treating the event as a list.  Some cleanup.
1882 2000-10-06  Miles Bader  <miles@gnu.org>
1884         * simple.el (display-message-or-buffer): New function.
1885         (shell-command-on-region): Use `display-message-or-buffer'.
1887         * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
1888         docstring parts.
1890         * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
1891         (smbclient-prompt-regexp): Add usage note to doc string.
1892         (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
1893         (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
1894         Use add-hook for adding the comint filter function, and only do so
1895         if it's not already in the global hook list.
1896         (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
1897         to `make-local-variable'.
1898         (nslookup-font-lock-keywords): Remove prompt entry.
1899         (nslookup): Don't set the process-filter.
1900         (finger): Exit the loop correctly when the regexps list runs out.
1901         (ftp, smbclient, smbclient-list-shares):
1902         Set the real major mode immediately, not after execing.
1903         Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
1905         * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
1907 2000-10-05  Stefan Monnier  <monnier@cs.yale.edu>
1909         * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
1911         * which-func.el (which-func-format): Remove spurious space.
1912         (which-func-mode): Don't make it permanent-local.
1913         (which-func-ff-hook): Allow which-func-maxout to be nil.
1914         (which-func-update): Simplify a bit.  Only run if which-func-mode is t.
1915         (which-func-mode): Simplify.
1916         Use post-command-idle-hook rather than post-command-hook.
1917         Go through all buffers and update their state.
1918         (which-function): Also try add-log-current-defun-function.
1920         * vc.el (with-vc-properties): Use conses rather than length-2 lists.
1921         (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
1922         Update call to with-vc-properties accordingly.
1923         (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
1924         (vc-revert-buffer): More careful about window selection and deletion.
1925         (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
1927         * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
1928         (cvs-retrieve-revision): Reuse a pre-existing buffer.
1929         (cvs-dired-action): Change the default to quickdir.
1931         * newcomment.el (comment-indent): Delegate to indent-according-to-mode
1932         if comment-indent-function returns nil.
1933         (comment-indent-default): New function.
1934         (comment-indent-function): Use it and document the new semantics.
1936         * image-file.el: Docstring fixes.
1938         * help.el (help-xref-on-pp): Use match-string.
1939         (describe-variable): New arg BUFFER.
1940         Store the current buffer in the help-xref-stack.
1941         (temp-buffer-resize-mode): Use define-minor-mode.
1943         * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
1944         consistently with its docstring.
1945         Set jit-lock-first-unfontify-pos in an idempotent way.
1946         (jit-lock-register): Autoload and add arg CONTEXTUAL.
1948 2000-10-05  Alex Schroeder  <alex@gnu.org>
1950         * sql.el (sql-mysql-options): New variable.
1951         (sql-mysql): Use it.
1953 2000-10-05  Miles Bader  <miles@lsi.nec.co.jp>
1955         * image.el (image): New group.
1957         * smerge-mode.el (smerge-mine-face, smerge-other-face)
1958         (smerge-base-face, smerge-markers-face): Add dark-background variants.
1960 2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>
1962         * net/net-utils.el (nslookup-font-lock-keywords)
1963         (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1964         Ignore the value of wqindow-system; always define keywords
1966 2000-10-05  Kenichi Handa  <handa@etl.go.jp>
1968         * startup.el (fancy-splash-screens): Remove the code for
1969         debugging; `(trace-to-stderr "EXITTT\n")'.
1971 2000-10-05  Miles Bader  <miles@gnu.org>
1973         * diff-mode.el (diff-goto-source): Update call to
1974         `diff-hunk-status-msg' to reflect new REV variable.
1976 2000-10-04  Stefan Monnier  <monnier@cs.yale.edu>
1978         * progmodes/icon.el (icon-mode):
1979         Don't gratuitously override the default for comment-column.
1981         * vc-hooks.el (vc-mode-line): Fix interactive spec.
1983         * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
1984         (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
1985         (jit-lock-functions): New var.
1986         (jit-lock-function-1): Use it if non-nil.
1987         Don't switch the syntax-table.  Don't set parse-sexp-lookup-properties.
1988         Set the `fontified' property before doing the fontification to avoid
1989         repeatedly going through the same error.
1990         Don't turn errors into messages.
1991         (jit-lock-register, jit-lock-unregister): New functions.
1993         * dired.el (dired-mark-pop-up): Turn comment into docstring.
1994         Use with-current-buffer.
1996         * dired-aux.el (dired-do-create-files, dired-kill-tree):
1997         Turn comment into docstring.
1999         * apropos.el (apropos-mode): Use define-derived-mode.
2001 2000-10-04  Gerd Moellmann  <gerd@gnu.org>
2003         * startup.el (fancy-splash-pending-command): New variable.
2004         (fancy-splash-pre-command): New function.
2005         (fancy-splash-screens): Rewritten.
2006         (command-line-1): If fancy-splash-pending-command is set, call it
2007         interactively.
2009 2000-10-04  Dave Love  <fx@gnu.org>
2011         * toolbar/tool-bar.el (tool-bar-setup): New function.
2012         (tool-bar-mode): Use it.
2014         * subr.el (substitute-key-definition): Doc fix.
2015         (play-sound-file): New command.
2017 2000-10-04  Andre Spiegel  <spiegel@gnu.org>
2019         * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
2020         vc-version-backup-file-name): New functions.
2022         * files.el (basic-save-buffer): Call vc-before-save before saving.
2024         * vc-cvs.el (vc-cvs-make-version-backups): Return t if
2025         vc-cvs-stay-local-p.
2027         * vc.el (vc-revert-buffer): Handle empty diff properly.
2028         (vc-version-backup-file): New function.
2029         (vc-checkout): Create a version backup if necessary.
2030         (vc-checkin): If a version backup file exists, delete it.
2031         (vc-version-diff): Diff locally using version backups, if available.
2032         (vc-revert-file): If there's a version backup, revert locally.
2033         (vc-transfer-file): Use version backup for base version, if
2034         available.  If not, ask for confirmation whether to get it from the
2035         server.  Update mode line before check-in.
2037 2000-10-04  Dave Love  <fx@gnu.org>
2039         * toolbar/tool-bar.el (tool-bar-setup): New function.
2040         (tool-bar-mode): Use it.
2042 2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>
2044         * net/net-utils.el (nslookup-font-lock-keywords)
2045         (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2046         Only set if window-system is non-nil
2047         (net-utils-run-program): Returns buffer.
2048         (network-connection-reconnect): Added this function.
2050         * generic.el:
2051         Incorporates extensive cleanup and docfixes by
2052         Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
2053         Uses cl compile-time macros.
2054         (generic-mode-name, generic-comment-list)
2055         (generic-keywords-list, generic-font-lock-expressions)
2056         (generic-mode-function-list, generic-mode-syntax-table):
2057         Removed variables.
2058         (generic-mode-alist): Renamed to generic-mode-list.
2059         (generic-find-file-regexp): Default changed to "^#".
2060         (generic-read-type): Uses completing read on generic-mode-list.
2061         (generic-mode-sanity-check): removed this function.
2062         (generic-add-to-auto-mode): Removed this function
2063         (generic-mode-internal): Bind mode-specific definitions
2064         into function instead of putting them in alist.
2065         (generic-mode-set-comments): Reworked extensively.
2066         (generic-mode-find-file-hook): Simplified regexp searching
2067         (generic-make-keywords-list): Omit extra pair of parens
2069         * find-lisp.el (find-lisp-find-files-internal):
2070         Make sure directory name ends with "/".
2072         * generic-x.el (apache-conf-generic-mode):
2073         Regexp now allows leading whitespace.
2074         (rc-generic-mode): Added eval-when-compile
2075         around generic-make-keywords-list.
2076         Deleted duplicate regexp
2077         (rul-generic-mode): Added eval-when-compile
2078         around generic-make-keywords-list.
2079         (etc-fstab-generic-mode): New generic mode.
2080         (rul-generic-mode): Removed one eval-when-compile
2081         which caused a max-specpdl-size exceeded error.
2083 2000-10-04  Miles Bader  <miles@gnu.org>
2085         * simple.el (minibuffer-temporary-goal-position): New variable.
2086         (next-history-element): Try to keep the position of point in the
2087         input string constant.
2089         * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
2090         (dired-do-create-files): If there's only one file, pass it in as
2091         the DEFAULT arg to dired-mark-read-file-name.
2093 2000-10-03  Stefan Monnier  <monnier@cs.yale.edu>
2095         * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
2096         (diff-goto-source): Be smarter when choosing REVERSE or not.
2098         * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
2099         (texinfo-mode-menu): Add an explicit shortcut for update all.
2101 2000-10-03  Andre Spiegel  <spiegel@gnu.org>
2103         * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
2104         factorize backend-specific code cleanly (this was essentially
2105         conceived by Stefan Monnier).
2106         (vc-unregister): Function removed.
2107         (vc-revert-file): New function.
2108         (vc-revert-buffer): Delegate some of the work to it.
2110         * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
2111         default branch unconditionally.
2112         (vc-rcs-set-default-branch): New function.
2113         (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
2114         (vc-rcs-checkin): If an appropriate default branch has been set,
2115         force creation of that branch.
2116         (vc-rcs-receive-file): Rewritten to contain only backend-specific
2117         code (as suggested by Stefan Monnier).
2119 2000-10-02  Gerd Moellmann  <gerd@gnu.org>
2121         * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
2122         highlighting overlay with a different face over the overlay
2123         isearch uses to highlight the current match because that can lead
2124         to bad face combinations.
2126         * loadup.el (toplevel): Load faces before isearch.
2128         * isearch.el (isearch-faces): New custom group.
2129         (isearch): New defface; was already tested for in the code.
2130         (isearch-lazy-highlight-face): Changed to defface from defcustom.
2131         (isearch-highlight): Always use face `isearch'.
2133 2000-10-02  Dave Love  <fx@gnu.org>
2135         * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
2136         unused vars.  Treat byte-constant2 like byte-constant.  Fix bogus
2137         comparison of opcode with operand.
2139 2000-10-03  Miles Bader  <miles@gnu.org>
2141         * play/yow.el (yow): Don't display multi-line quotations in a *Help*
2142         buffer, since the echo area will now grow to accommodate them.
2144 2000-10-02  Andre Spiegel  <spiegel@gnu.org>
2146         * vc-hooks.el (vc-registered): If FILE used to be registered under
2147         a certain backend, try that one first.
2149         * vc.el (vc-responsible-backend): Undo the previous change in the
2150         argument list.  Handle multiple backends correctly.
2151         (vc-find-new-backend): Function removed.
2152         (vc-register): Use vc-responsible-backend, as before.
2153         (vc-next-action-on-file): Do use vc-registered, not vc-backend.
2155 2000-10-02  Gerd Moellmann  <gerd@gnu.org>
2157         * startup.el (fancy-splash-head): Change message below the
2158         logo.
2160 2000-10-02  Miles Bader  <miles@lsi.nec.co.jp>
2162         * diff-mode.el (diff-goto-source): Emit a status message.
2163         (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
2164         (diff-test-hunk): Fix doc string.
2165         (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
2166         (diff-advance-after-apply-hunk): New variable.
2167         (diff-apply-hunk): Don't return a value.
2169 2000-10-01  Stefan Monnier  <monnier@cs.yale.edu>
2171         * vc.el (vc-editable-p): Minor optimization.
2172         (edit-vc-file, vc-next-action-on-file): Don't use find-file.
2173         (vc-find-new-backend): New function split from vc-responsible-backend.
2174         (vc-register): Use it.
2175         (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
2176         (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
2177         (vc-default-unregister, vc-revert-buffer): Docstring fix.
2178         (vc-clear-headers): Don't use find-file.
2179         (vc-revert-buffer): Use `and' again (must have been a braino).
2180         (vc-switch-backend): Only prompt if requested.
2181         Short circuit if nothing is to be done.
2182         Don't use vc-resynch-buffer which could lose unsaved editing.
2183         (vc-default-receive-file): Update call to vc-unregister.
2184         (with-vc-file, vc-next-action-on-file):
2185         Use vc-backend rather than vc-registered.
2186         (vc-next-action-on-file): Use intern-soft.
2187         Deal with read-only *vc-diff* buffer.
2188         (vc-transfer-file): Docstring fix.
2190         * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
2191         (vc-rcs-receive-file): Avoid with-vc-properties.
2192         Update call to vc-unregister.
2193         Use constant `RCS' rather than (dynamically bound) var `backend'.
2195 2000-10-01  Andre Spiegel  <spiegel@gnu.org>
2197         * vc.el (vc-next-action-on-file): Update mode line only if file
2198         is visited.
2199         (vc-start-entry): New argument initial-contents.  Don't visit the file
2200         if it isn't already visited.  Brought documentation up-to-date.
2201         (vc-next-action, vc-register): Updated calls to vc-start-entry.
2202         (vc-checkin): New optional arg initial-contents, which is passed to
2203         vc-start-entry.
2204         (vc-finish-logentry): Make sure to bury log buffer only if there
2205         really is one.  Call `vc-resynch-buffer' on log-file, not
2206         buffer-file-name.
2207         (vc-default-comment-history, vc-default-wash-log): New functions.
2208         (vc-index-of): Removed.
2209         (vc-transfer-file): Make do without the above.
2210         (vc-default-receive-file): Call comment-history unconditionally.  Pass
2211         the resulting string to vc-checkin, instead of inserting it into the
2212         comment ring.
2214         * vc-rcs.el (vc-rcs-receive-file): Call comment-history
2215         unconditionally.  Use the comments as initial contents of the log
2216         entry buffer.  Document the trick to force branch creation with no
2217         changes.
2219 2000-10-01  Miles Bader  <miles@gnu.org>
2221         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
2222         `recenter' with an arg to prevent redrawing the display.
2224 2000-09-30  Stefan Monnier  <monnier@cs.yale.edu>
2226         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
2228         * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
2230         * progmodes/c-mode.el (c-mode):
2231         Don't gratuitously override the default for comment-column.
2233         * textmodes/tex-mode.el (latex-metasection-list): New var.
2234         (latex-imenu-create-index): Use it.
2235         Move the regexp construction outside loops (and use push).
2236         (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
2237         (tex-font-lock-keywords): Moved from font-lock.el.
2238         (tex-comment-indent): Remove.
2239         (tex-common-initialization): Don't set comment-indent-function.
2240         (latex-block-default): New var.
2241         (tex-latex-block): Use it to provide a default choice.
2242         Add any unknown choice to latex-block-names.
2243         Insert [...] after {...}.
2244         (tex-last-unended-begin): Simplify regexp.
2245         (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
2246         (latex-forward-sexp-1, latex-forward-sexp): New functions.
2247         (latex-mode): Set forward-sexp-function.
2249         * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
2250         Add regexp for @ignore ... @end ignore.
2251         (texinfo-heading-face): New face.
2252         (texinfo-font-lock-keywords): Use it.
2253         (texinfo-mode-menu): New menu.
2254         (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
2255         New functions.
2256         (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
2257         (texinfo-section-types-regexp, texinfo-section-level-regexp)
2258         (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
2259         Remove declaration.
2260         (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
2262         * delsel.el (delete-selection-mode): Use define-minor-mode.
2264         * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
2266 2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>
2268         * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
2270 2000-09-30  Gerd Moellmann  <gerd@gnu.org>
2272         * replace.el (keep-lines-read-args): New function.
2273         (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
2274         read arguments interactively.  Add parameters RSTART and REND.
2275         Operate on the active region in Transient Mark mode.
2277         * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
2279         * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
2280         (authors-obsolete-files-regexps): New variable.
2281         (authors-add): Don't record changes in obsolete files.
2283 2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>
2285         * autoinsert.el (auto-insert-mode): Use define-minor-mode.
2287         * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
2288         (comment-indent): Make sure there's a space between code and comment.
2289         Shift comments left to avoid going past fill-column.
2291 2000-09-29  Gerd Moellmann  <gerd@gnu.org>
2293         * startup.el (startup-echo-area-message): New function.
2294         (display-startup-echo-area-message): Use it.
2295         (fancy-splash-screens): Rewritten to use keymaps and a timer.
2296         (fancy-splash-default-action): New function.
2297         (fancy-splash-screens-1): New function.
2298         (fancy-splash-head): Put a help-echo and a keymap under the image.
2300 2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>
2302         * diff-mode.el (diff-add-log-file-name): Remove.
2303         (diff-mode): Use add-log-buffer-file-name-function.
2305         * add-log.el (find-change-log): New arg BUFFER-FILE.
2306         (add-log-file-name): Obey add-log-file-name-function.
2307         (add-log-buffer-file-name-function): New var.
2308         (add-change-log-entry): Use it.
2310 2000-09-29  Miles Bader  <miles@gnu.org>
2312         * image-file.el (image-file-name-extensions): New variable.
2313         (image-file-name-regexps): Renamed from `image-file-regexps'.
2314         New default value is nil.  Call `auto-image-file-mode'.
2315         (image-file-name-regexp): New function.
2316         (auto-image-file-mode): New minor mode.
2317         (insert-image-file): Don't make conditional on the image-file
2318         handler being enabled.
2319         (image-file-handler): Make the call here conditional instead.
2320         (set-image-file-handler-enabled, enable-image-file-handler)
2321         (disable-image-file-handler): Functions removed.
2323         * emacs-lisp/authors.el (authors-print): Rephrase many-files
2324         string.
2326 2000-09-29  Gerd Moellmann  <gerd@gnu.org>
2328         * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
2329         it's a function from CL.
2330         (latex-imenu-create-index): Replace eval-when-compile with progn
2331         because latex-section-alist is not bound while compiling.
2333 2000-09-28  Stefan Monnier  <monnier@cs.yale.edu>
2335         * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
2336         (outline-mode): Use define-derived-mode.
2338         * progmodes/perl-mode.el (perl-mode):
2339         * progmodes/awk-mode.el (awk-mode):
2340         * progmodes/asm-mode.el (asm-mode):
2341         Don't gratuitously override the default for comment-column.
2343         * emacs-lisp/lisp.el (lisp-complete-symbol):
2344         Distinguish the let-binding case from the funcall case.
2345         (forward-sexp-function): New variable.
2346         (forward-sexp): Use it.
2348         * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
2349         (easy-mmode-defmap): Remove the now useless autoload.
2351         * time.el (display-time-mode): Use define-minor-mode.
2353         * subr.el (add-minor-mode): Don't eval NAME.
2354         Don't depend on the presence of TOGGLE-FUN for any special behavior.
2355         Use if rather than cond.
2357         * simple.el (read-expression-map): Define more properly.
2358         (comment-indent-hook): Remove.
2359         (string-to-syntax): Bug fix.
2361         * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
2362         (cvs-ediff-diff): Fix typo.
2363         (cvs-revert-if-needed): Don't bother preserving read-only.
2365         * paren.el (show-paren-mode): Use define-minor-mode.
2367         * jka-compr.el (auto-compression-mode): Use define-minor-mode.
2368         (toggle-auto-compression): Remove.
2369         (jka-compr-build-file-regexp): Remove useless grouping.
2371         * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
2372         Avoid user-reserved bindings.
2373         (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
2374         (diff-header-face): Revert to grey85.
2376         * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
2378         * complete.el (partial-completion-mode) <defcustom>: Remove.
2379         (partial-completion-mode): Use define-minor-mode.
2380         (PC-do-completion): Understand `completion-auto-help = delay'
2381         to mean to popup the completion buffer only the second time.
2382         (PC-include-file-all-completions, PC-include-file-all-completions)
2383         (PC-include-file-all-completions): Don't quote lambda.
2385         * comint.el (comint-mode-hook): Docstring fix.
2386         (comint-mode): Use define-derived-mode.
2387         (comint-mode-map): Remove obsolete comment.
2388         (make-comint): Minor stylistic change.
2389         (comint-insert-clicked-input): Be more careful to find the overlay.
2390         Use this-command-keys rather than hardcoding mouse-2.
2392         * font-lock.el: Replace confusing (,@ with ,
2393         (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
2394         Don't use regexp-opt-depth.  Spice up the regexp for args.
2395         Don't distinguish between cmds that can take an opt arg or not.
2396         Use `append' and `prepend' rather than `keep'.
2398         * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
2399         (latex-outline-regexp): New var.
2400         (latex-outline-level): New fun.
2401         (latex-section-alist): New var.
2402         (latex-imenu-create-index): Use it.  Use `push' as well.
2403         (tex-shell-map): Initialize it properly.
2404         (tex-mode): Minor stylistic change.
2405         (plain-tex-mode): Use define-derived-mode.
2406         (latex-mode): Use define-derived-mode.
2407         Construct the paragraph regexps in a more readable way.
2408         Set the buffer-local outline-{level,regexp} vars.
2409         (slitex-mode): Derive from latex-mode.
2410         (tex-common-initialization): Don't kill-all-vars anymore.
2411         Add setting for comment-add and font-lock-defaults.
2412         (tex-start-shell): Use with-current-buffer and don't re-init keymap.
2413         (tex-main-file): New fun.  Obey TeX-master as well and remove `.tex'.
2414         (tex-start-tex): New arg DIR (and send a chdir command for it).
2415         Also display the shell buffer and save it in tex-last-buffer-texed.
2416         (tex-region): Use expand-file-name rather than concat.
2417         Remove code made useless by changes in tex-start-tex.
2418         (tex-file): Use tex-main-file and adapt to new tex-start-tex.
2420         * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
2422 2000-09-28  Dave Love  <fx@gnu.org>
2424         * eshell/eshell.el (eshell) <defgroup>: Add :version.
2426 2000-09-28  Gerd Moellmann  <gerd@gnu.org>
2428         * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
2429         `append'.
2431 2000-09-28  Stefan Monnier  <monnier@cs.yale.edu>
2433         * info.el (Info-extract-pointer): Undo last change.
2434         Instead, fix the position of the `bound' arg to re-search-backward.
2436 2000-09-27  Stefan Monnier  <monnier@cs.yale.edu>
2438         * info.el (Info-extract-pointer):
2439         Widen more carefully, to avoid finding pointers in other nodes.
2440         (Info-index): Use push.
2442 2000-09-27  Gerd Moellmann  <gerd@gnu.org>
2444         * frame.el (set-frame-font): Remove call to obsolete function
2445         frame-update-faces.
2446         (set-foreground-color, set-background-color): Likewise for
2447         frame-update-face-colors.
2449 2000-09-27  Miles Bader  <miles@gnu.org>
2451         * image-file.el: New file.
2453 2000-09-27  Gerd Moellmann  <gerd@gnu.org>
2455         * frame.el (frame-notice-user-settings): Don't call
2456         frame-update-faces, which is a no-op now.
2458         * ediff-wind.el (ediff-control-frame-parameters): Add zero
2459         tool-bar-lines.
2461 2000-09-27  Dave Love  <fx@gnu.org>
2463         * mouse.el: Fix last change.
2465 2000-09-27  Miles Bader  <miles@lsi.nec.co.jp>
2467         * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
2469 2000-09-22  Kenichi Handa  <handa@etl.go.jp>
2471         * international/quail.el (quail-help): The output message is
2472         improved.
2474 2000-09-26  Dave Love  <fx@gnu.org>
2476         * mouse.el (popup-menu): If POSITION is nil, set it using
2477         mouse-position.
2479 2000-09-25  Sam Steingold  <sds@gnu.org>
2481         * net/browse-url.el (browse-url-file-url): Check for null maps.
2483 2000-09-26  Gerd Moellmann  <gerd@gnu.org>
2485         * frame.el (frame-notice-user-settings): Don't add a
2486         tool-bar-lines frame parameter to default-frame-alist in batch mode.
2488         * frame.el (frame-notice-user-settings):
2489         Make tool-bar-mode and default-frame-alist consistent.
2491         * toolbar/tool-bar.el (tool-bar-help): New function.
2493 2000-09-25  Gerd Moellmann  <gerd@gnu.org>
2495         * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
2496         current-load-list in top-level forms.  Else this leaks a cons cell
2497         every time a defun is called.
2499         * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
2501 2000-09-25  Dave Love  <fx@gnu.org>
2503         * startup.el (fancy-splash-head): Check XPM is available.
2505         * autoinsert.el (auto-insert): Doc fix.
2506         (auto-insert-alist): Following GNU notices, don't say `copyright
2507         _by_'.  Use line-beginning-position.
2508         (auto-insert): Check buffer-file-name is non-nil before use.
2510 2000-09-25  Gerd Moellmann  <gerd@gnu.org>
2512         * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
2513         starting with `@def' or `@multitable', in addition to ones
2514         specified by the user in auto-fill-inhibit-regexp.
2516 2000-09-25  Markus Rost  <rost@math.ohio-state.edu>
2518         * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
2519         rmail-dont-reply-to-names matches the empty string.
2521 2000-09-25  Gerd Moellmann  <gerd@gnu.org>
2523         * startup.el (command-line-1, fancy-splash-text): Change the
2524         text to sound more friendly.
2526 2000-09-23  Thien-Thi Nguyen  <ttn@gnu.org>
2528         * progmodes/hideshow.el: Update author email address.
2529         Generally, sync w/ maintainer version 5.22.
2530         (hs-hide-all-non-comment-function): New var.
2531         (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
2532         (hs-hide-all): Use `hs-hide-all-non-comment-function'.
2533         (hs-show-region): Delete this command.
2534         (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
2536 2000-09-22  Dave Love  <fx@gnu.org>
2538         * hl-line.el (hl-line-overlay): Don't make it buffer-local.
2539         (hl-line-highlight): Specify buffer when moving overlay.
2541         * progmodes/fortran.el (fortran-mode): Locally set
2542         normal-auto-fill-function.
2543         (fortran-auto-fill-mode): Just alias to auto-fill-mode.
2544         (fortran-mode-map): Adjust auto-fill menu entry.
2546 2000-09-22  Gerd Moellmann  <gerd@gnu.org>
2548         * vc-rcs.el (toplevel): Require `vc' when compiling.
2550         * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
2552 2000-09-22  Andre Spiegel  <spiegel@gnu.org>
2554         * vc.el (vc-switch-backend): Signal an error if the file is not
2555         registered under the new backend.
2557         * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
2558         without explicit revision number.
2560 2000-09-21  Stefan Monnier  <monnier@cs.yale.edu>
2562         * diff-mode.el (diff-file-header-face): Reset to its previous value.
2563         (diff-hunk-text): Correctly use offsets rather than buffer-positions.
2564         (diff-xor): New function.
2565         (diff-find-source-location): Use it.  Fix a stupid name clash.
2566         (diff-hunk-status-msg): New function.
2567         (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
2568         (diff-test-hunk): Use diff-find-source-location.
2569         (diff-goto-source): Favor the `reverse'.
2570         (diff-hunk-text): Properly handle one-sided context diffs.
2571         (diff-apply-hunk): When done, advance to the next hunk.
2573 2000-09-21  Gerd Moellmann  <gerd@gnu.org>
2575         * startup.el (command-line): If frame was created with a non-zero
2576         tool-bar-lines parameter, switch tool-bar-mode on.
2578         * add-log.el (change-log-date-face, change-log-name-face)
2579         (change-log-email-face, change-log-file-face)
2580         (change-log-list-face, change-log-conditionals-face)
2581         (change-log-function-face, change-log-acknowledgement-face):
2582         New faces, inheriting from font-lock faces.
2583         (change-log-font-lock-keywords): Use them.
2585 2000-09-21  Dave Love  <fx@gnu.org>
2587         * progmodes/cperl-mode.el (top-level): Clean up
2588         `eval-when-compile's and assorted defvars.
2589         (cperl-invalid-face): Don't double-quote value.  Change custom
2590         type.
2591         (cperl-mode): Set normal-auto-fill-function and don't zap
2592         auto-fill-function.
2593         (cperl-imenu--function-name-regexp-perl): Renamed from
2594         imenu-example--function-name-regexp-perl.
2595         (cperl-imenu--create-perl-index): Renamed from
2596         imenu-example--create-perl-index.
2597         (cperl-xsub-scan): Don't require cl.
2599         * msb.el (msb-mode-map): Use substitute-key-definition.
2600         (msb-mode): Use msb-mode-map.
2602 2000-09-21  Andre Spiegel  <spiegel@gnu.org>
2604         * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
2605         New functions.
2606         (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
2607         (vc-switch-backend): New function.
2608         (vc-prefix-map): Bind `vc-switch-backend' to `b'.
2609         (vc-register): Fix prompt.
2610         (vc-unregister, vc-default-unregister): New functions.
2611         (vc-version-diff): Handle empty buffer in sentinel.
2613         * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
2614         (vc-rcs-state-heuristic): Use it to guess the state of files with
2615         non-strict locking.
2616         (vc-rcs-find-most-recent-rev): Handle the case when a branch has
2617         been set with -b, but not created yet.
2618         (vc-rcs-fetch-master-state): With non-strict locking, compare file
2619         contents in order to find the state.
2620         (vc-rcs-checkin): Allow creation of branches with no changes.
2621         (vc-rcs-unregister, vc-rcs-receive-file)
2622         (vc-rcs-set-non-strict-locking): New functions.
2624         * vc-hooks.el (vc-name): Force correct computation of the value
2625         in case it is missing.
2627 2000-09-21  Gerd Moellmann  <gerd@gnu.org>
2629         * startup.el (fancy-splash-tail): Use a different foreground
2630         color on a dark frame background.
2632 2000-09-21  Miles Bader  <miles@lsi.nec.co.jp>
2634         * info.el: Use the correct capitalization when making Info-mode
2635         and Info-edit-mode `special' modes.
2637 2000-09-20  Stefan Monnier  <monnier@cs.yale.edu>
2639         * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
2640         (diff-mode): Add support for add-log.el.
2641         (diff-hunk-text): Use char offsets rather than line offsets.
2642         (diff-find-source-location): Replace LINE with line-offset (nil
2643         if not found) and always set POS to a meaningful position.
2644         Adapt to the new char-offsets.
2645         (diff-apply-hunk): Drop support for the unused `select' POPUP.
2646         Adapt to the new diff-find-source-location.
2647         (diff-goto-source): Adapt to the new diff-find-source-location.
2649         * add-log.el (add-log-file-name): New function (split out of
2650         add-change-log-entry).
2651         (add-change-log-entry): Use it.
2652         Call add-log-file-name-function with the changelog file name if
2653         the current buffer is not associated with any file.
2654         Avoid find-file if the selected window is dedicated.
2656         * diff-mode.el (diff-find-source-location):
2657         Move code from diff-apply-hunk.  Return buffer rather than file.
2658         (diff-apply-hunk): Use the new result from  diff-find-source-location.
2659         (diff-goto-source): Use the new diff-find-source-location.
2661 2000-09-20  Dave Love  <fx@gnu.org>
2663         * iswitchb.el: Some doc fixes.
2664         (iswitchb-mode-map): Define completely initially.  Inherit
2665         minibuffer-local-map.
2666         (iswitchb-completion-help) <!iswitchb-xemacs>: Use
2667         fundamental-mode.
2668         (iswitchb-global-map): New variable.
2669         (iswitchb-summaries-to-end): Amalgamate regexps.
2670         (iswitchb-mode): New.
2671         (iswitchb-mode-hook): New variable.
2672         (iswitchb) <defgroup>: Add URL link.  Use group `completion', not
2673         `extensions'.
2675 2000-09-20  Gerd Moellmann  <gerd@gnu.org>
2677         * ehelp.el (electric-help): New defgroup.
2678         (electric-help-shrink-window): New user-option.
2679         (with-electric-help): Use it.
2681         * window.el (shrink-window-if-larger-than-buffer): If face
2682         `mode-line' has a :box, and we're on a graphical frame, add 1
2683         to the needed window height.
2685         * frame.el (frame-notice-user-settings): Add a last parameter nil
2686         to a call to `append', because the last list passed to `append' is
2687         not copied, and so subsequent calls to assq-delete-all will modify
2688         default-frame-alist.
2690         * startup.el (fancy-splash-image): Change :type.
2691         (fancy-splash-head): Use an XBM image if appropriate.
2692         (command-line-1): Show splash screens in more cases.
2694         * startup.el (fancy-splash-text): Don't quote faces.
2696         * dired.el (dired-font-lock-keywords): Undo last change.
2697         (dired-readin): Bind indent-tabs-mode to nil.
2699         * startup.el (fancy-splash-head): If frame's background mode
2700         is `dark', change the black background of the image to gray.
2701         (fancy-splash-screens): Display startup echo area message.
2702         (display-startup-echo-area-message): New function.
2704 2000-09-20  Miles Bader  <miles@lsi.nec.co.jp>
2706         * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
2708         * info.el (info-header-node): Tweak for color ttys.
2710         * faces.el (face-valid-attribute-values): Make sure directories we
2711         search for stipples both exist and are readable before trying to
2712         search them.
2714         * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
2715         in the dry-run case.
2717         * jka-compr.el (with-auto-compression-mode): New macro.
2719         * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
2720         (custom-group-tag-face, custom-variable-tag-face): Use relative
2721         :height and inherit from `variable-pitch' face instead of
2722         hardwiring :family.
2723         * hi-lock.el (hi-black-hb): Likewise.
2725         Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
2726         * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
2727         toolbar-add-item, if image doesn't have a mask add a `:mask
2728         heuristic'.
2730 2000-09-19  Stefan Monnier  <monnier@cs.yale.edu>
2732         * diff-mode.el: Docstring fixes.
2733         (diff-header-face, diff-comment-face): New faces.
2734         (diff-font-lock-keywords): Highlight a bit differently.
2735         (diff-find-source-location): Don't return SPAN any more.
2736         (diff-hunk-text): Don't bother erasing the temp buffer.
2737         (diff-find-text): Drop argument LINE.
2738         (diff-apply-hunk): Update calls to diff-find-text.
2739         (diff-goto-source): Use pop-to-buffer again and don't raise an error.
2741         * calendar/calendar.el: Docstring fixes.
2742         (calendar-make-alist): Don't quote lambda.
2743         (calendar-star-date): Use make-local-variable.
2745 2000-09-19  Dave Love  <fx@gnu.org>
2747         * toolbar/tool-bar.el: Renamed from toolbar.el.
2748         Change `toolbar' to `tool-bar' generally in symbols.
2749         Make some items invisible in `special' major modes.
2750         (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
2751         Add arg PROPS.
2753         * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
2754         Add :version here.
2755         (fancy-splash-delay, fancy-splash-image): Remove :version here.
2757 2000-09-19  Gerd Moellmann  <gerd@gnu.org>
2759         * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
2761         * files.el (find-file-suppress-same-file-warnings): New user-option.
2762         (find-file-noselect): Use it.
2764         * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
2765         (fancy-splash-screen): Defgroup.
2767         * add-log.el (change-log-font-lock-keywords): Match names
2768         more exactly for the case that font-lock-constant-face is
2769         underlined.
2771 2000-09-19  Richard M. Stallman  <rms@gnu.org>
2773         * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
2775 2000-09-19  Andre Spiegel  <spiegel@gnu.org>
2777         * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
2779 2000-09-19  Gerd Moellmann  <gerd@gnu.org>
2781         * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
2782         * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
2783         * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
2784         * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
2785         * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
2786         * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
2787         * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
2788         * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
2789         * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
2790         * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
2791         * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
2792         * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
2794         * startup.el (fancy-splash-text): New variable.
2795         (fancy-splash-delay, fancy-splash-image): New user-options.
2796         (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
2797         (fancy-splash-screens): New functions.
2798         (command-line-1): If display has a `display' frame parameter, has
2799         colors, and we have XPM support, show more fancy splash screens.
2801 2000-09-19  Dave Love  <fx@gnu.org>
2803         * map-ynp.el (map-y-or-n-p): Check use-dialog-box.  Don't lose
2804         with null `help'.  Use modern backquote syntax.
2806 2000-09-19  Gerd Moellmann  <gerd@gnu.org>
2808         * font-lock.el (font-lock-mode): Change message telling the user
2809         that ``the buffer is too big''.
2811         * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
2812         for instance for the case that tab-width is 2.
2814 2000-09-18  Gerd Moellmann  <gerd@gnu.org>
2816         * toolbar/toolbar.el (toolbar-like-menu-item): Like in
2817         toolbar-add-item, if image doesn't have a mask add a `:mask
2818         heuristic'.
2820 2000-09-18  Miles Bader  <miles@lsi.nec.co.jp>
2822         * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
2823         and return a cons if it's non-nil.
2824         (diff-apply-hunk): Try to jump to the line in the source text
2825         corresponding to the position of point in the in the hunk.
2827         * info.el (Info-title-3-face, Info-title-2-face)
2828         (Info-title-1-face): Use face inheritance and relative sizes
2829         instead of hard-wiring things.
2831         * faces.el (secondary-selection): Make dark-background variant sane.
2833 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2835         * makefile.w32-in (compile-files-CMD): No need to make .elc files
2836         read-only, since they aren't under VC now.
2838 2000-09-17  Dave Love  <fx@gnu.org>
2840         * tmm.el: Replace mapcar with mapc in several places.
2842         * loadhist.el (unload-feature): Maybe call elp-restore-list and
2843         ad-unadvise.
2845         * international/latin1-disp.el: New file.
2847         * calendar/cal-move.el (scroll-calendar-left)
2848         (scroll-calendar-right): Make arg optional (for active mode line).
2850         * calendar/calendar.el (calendar-mode-line-format): Make fields
2851         mouse-sensitive.
2852         (calendar-read-date, calendar-read-date, calendar-window-list):
2853         Unquote lambda.
2854         (calendar-month-name): Use aref, not sref.
2856         * view.el (minor-mode-alist): Propertize the string.
2858         * international/characters.el (standard-case-table): Add entries
2859         for Greek.
2861 2000-09-18  Miles Bader  <miles@gnu.org>
2863         * info.el (info-node, info-xref): Add dark-background variants.
2865         * faces.el (header-line): Change defaults to be less confusing
2866         when mixed with mode-lines.
2868         * info.el (Info-fontify-node): Make a few cleanups.
2869         Add extra `help-echo' and `local-map' props to node xrefs.
2870         Use header-specific faces for node-names & xrefs.
2871         (Info-use-header-line): New variable.
2872         (info-header-xref, info-header-node): New faces.
2873         (Info-setup-header-line): New function.
2874         (Info-select-node): Call Info-setup-header-line when enabled.
2875         (Info-extract-pointer): Work even if the header line is hidden.
2876         (Info-header-line): New variable.
2878 2000-09-16  Stefan Monnier  <monnier@cs.yale.edu>
2880         * vms-patch.el (print-region-function): Don't quote lambda.
2882         * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
2884         * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
2885         (lm-get-header-re): Allow spaces between the header and the colon.
2886         (lm-header): Allow $ in non-RCS headers.
2887         (lm-header-multiline): Put the strings back into order.
2888         Stop at an empty line.  Don't require two space chars if the
2889         line is clearly not another header line.
2891         * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
2892         (popup-menu-popup): Remove.
2894 2000-09-15  Gerd Moellmann  <gerd@gnu.org>
2896         * toolbar/toolbar.el (toolbar-add-item): Use the same image
2897         specification if or if not tool-bar item contains an `:enabled'
2898         property.
2900         * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
2901         current buffer has no file name.
2903 2000-09-15  Dave Love  <fx@gnu.org>
2905         * strokes.el: Sync with maintainer's current version with changes
2906         for Emacs, but avoid runtime cl and levents.
2907         (toplevel):  Change autoloads and compilation requires.
2908         (strokes-version, strokes-bug-address, strokes-lift): Values
2909         changed.
2910         (strokes-xpm-header, strokes-insinuated): New variable.
2911         (strokes): Add :link.
2912         (strokes-mode): Customized.
2913         (strokes-while-inhibiting-garbage-collector): New macro.
2914         (strokes-remassoc): Avoid remove-if.
2915         (strokes-fix-button2-command): Don't use ad-do-it.
2916         (strokes-insinuate): New function.
2917         (strokes-button-press-event-p, strokes-button-release-event-p):
2918         New functions, used instead of non-`strokes-' versions..
2919         (strokes-mouse-event-p): Rewritten.
2920         (strokes-event-closest-point): Avoid event-point.
2921         (strokes-get-grid-position): Avoid cdadr, caadr
2922         (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
2923         functions.
2924         (strokes-help): Use with-output-to-temp-buffer.
2925         (strokes-window-configuration-changed-p): New function.
2926         (strokes-update-window-configuration): Use buffer-live-p,
2927         strokes-window-configuration-changed-p.
2928         (strokes-mode): Use strokes-insinuate.  Alter mouse bindings.
2929         (strokes-char-face): New face.
2930         (strokes-char-table, strokes-base64-chars): New variable.
2931         (strokes-xpm-for-stroke, strokes-list-strokes)
2932         (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
2933         (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
2934         (strokes-xpm-to-compressed-string, strokes-decode-buffer)
2935         (strokes-encode-buffer, strokes-xpm-for-compressed-string)
2936         (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
2937         functions.
2939 2000-09-15  Gerd Moellmann  <gerd@gnu.org>
2941         * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
2943         * image.el (create-image): Doc fix.
2945         * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
2946         instead of `:heuristic-mask t'.
2948 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2950         * makefile.w32-in: Revert to Unix line endings.
2952 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2954         * makefile.w32-in: Add bootstrap support.  Also copy lisp source
2955         when installing.
2957         * makefile.nt (DONTCOMPILE): Fix typo.
2959         * shell.el (shell-write-history-on-exit): New function.
2960         (shell-dumb-shell-regexp): New custom variable.
2961         (shell-mode): Make shell-write-history-on-exit the process
2962         sentinel if shell name matches shell-dumb-shell-regexp.
2964         * w32-fns.el: Comment out before-init-hook function which resets
2965         source-directory based; this breaks bootstrap.
2967 2000-09-14  Dave Love  <fx@gnu.org>
2969         * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
2970         toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
2971         toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
2972         toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
2973         toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
2974         toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
2975         toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm:  New.
2976         From Tuomas Kuosmanen <tigert@gimp.org>.  (Gnome icons fetched
2977         from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
2979         * toolbar/toolbar.el: New.
2981         * subdirs.el: Add toolbar.
2983 2000-09-14  Gerd Moellmann  <gerd@gnu.org>
2985         * indent.el (indent-for-tab-command): Doc fix.
2987 2000-09-14  Alex Schroeder  <alex@gnu.org>
2989         * ansi-color.el (ansi-colors): Doc change.
2990         (ansi-color-get-face): Simplified regexp.
2991         (ansi-color-faces-vector): Added more faces, doc change.
2992         (ansi-color-names-vector): Doc change.
2993         (ansi-color-regexp): Simplified regexp.
2994         (ansi-color-parameter-regexp): New regexp.
2995         (ansi-color-filter-apply): Doc change.
2996         (ansi-color-filter-region): Doc change.
2997         (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
2998         deal with zero length parameters.
2999         (ansi-color-apply-on-region): Doc change.
3000         (ansi-color-map): Doc change.
3001         (ansi-color-map-update): Removed debugging message.
3002         (ansi-color-get-face-1): Added condition-case to trap
3003         args-out-of-range errors.
3004         (ansi-color-get-face): Doc change.
3005         (ansi-color-make-face): Removed.
3006         (ansi-color-for-shell-mode): New option.
3008 2000-09-13  Kenichi Handa  <handa@etl.go.jp>
3010         * international/quail.el (quail-start-translation): Translate KEY
3011         if necessary even if it doesn't have any mapping in the current
3012         input method.
3013         (quail-start-conversion): Likewise.
3014         (quail-help): The output message is improved.
3016 2000-09-13  Miles Bader  <miles@gnu.org>
3018         * comint.el (comint-output-filter): Revert to using
3019         `insert-before-markers'.  Add bletcherous hack to undo damage
3020         caused by `insert-before-markers'.  Put `front-sticky' property on
3021         overlays created here so that the field code understands how the
3022         overlay works.  Use a let when making comint-last-prompt-overlay,
3023         so that the code is easier to read.
3025 2000-09-13  Dave Love  <fx@gnu.org>
3027         * wid-edit.el (widget-default-format-handler): DTRT when
3028         doc-property is a function.
3030 2000-09-12  Francesco Potorti`  <pot@gnu.org>
3032         * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
3033         filed name if it's not there.
3035 2000-09-12  Dave Love  <fx@gnu.org>
3037         * simple.el (read-mail-command): Doc fix.
3038         (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
3040         * vc.el (vc-dired-listing-switches): Fix :version.
3042         * vc-hooks.el: Doc fixes.
3044         * subr.el (add-minor-mode): Use toggle-fun arg.
3046         * speedbar.el: Add :version to several defcustoms.
3048         * imenu.el (imenu--truncate-items, imenu--cleanup)
3049         (imenu--generic-function): Avoid mapcar.
3050         (imenu--replace-spaces): Function removed.
3051         (imenu--completion-buffer): Use subst-char-in-string.
3052         (imenu-add-to-menubar): Use keymap inheritance.
3054 2000-09-12  Miles Bader  <miles@gnu.org>
3056         * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
3057         (diff-mode-map): Bind `diff-test-hunk'.
3058         (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
3060 2000-09-11  Gerd Moellmann  <gerd@gnu.org>
3062         * bytecomp.el (byte-compile-defvar): Undo last change
3063         because it breaks '(make-variable-buffer-local (defvar ...)'
3064         which is used at least in dired.
3066 2000-09-12  Kenichi Handa  <handa@etl.go.jp>
3068         * international/quail.el (quail-define-package): Docstring
3069         modified.
3071 2000-09-12  Kenichi Handa  <handa@etl.go.jp>
3073         * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
3074         extra docstrings for "chinese-ccdospy", "chinese-ecdict",
3075         "chinese-etzy", "chinese-sw", and "chinese-ziranma".  Modify the
3076         docstring of "chinese-py".
3078         * international/quail.el (quail-translation-docstring): New
3079         variable.
3080         (quail-show-keyboard-layout): Docstring modified.
3081         (quail-select-current): Likewise.
3082         (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
3083         infinite recursive call.
3084         (quail-help): Check quail-translation-docstring.  Format of the
3085         output changed.
3086         (quail-help-insert-keymap-description): Adjusted for the above
3087         change.
3089 2000-09-11  Gerd Moellmann  <gerd@gnu.org>
3091         * bytecomp.el (byte-compile-defvar): Only cons onto
3092         current-load-list in top-level forms.  Else this leaks a cons cell
3093         every time a defun is called.
3095 2000-09-11  Miles Bader  <miles@lsi.nec.co.jp>
3097         * diff-mode.el (diff-apply-hunk): Function basically rewritten.
3098         Now understands non-unified diffs.  Some functionality moved into
3099         `diff-hunk-text' and `diff-find-text'.  Add OTHER-FILE, DRY-RUN,
3100         POPUP, and NOERROR arguments.  If DRY-RUN is true, don't actually
3101         modify anything.  Only reposition point in the patched file if the
3102         patch succeeds.  Only pop up another window if POPUP is true.
3103         Emit a message describing what happened if successful, and at what
3104         line-offset.  Automatically detect reversed hunks and do something
3105         appropriate.
3106         (diff-hunk-text, diff-find-text): New functions.
3107         (diff-filter-lines): Function removed.
3108         (diff-test-hunk): New function.
3109         (diff-goto-source): Rewritten in terms of diff-apply-hunk.
3111 2000-09-10  Dave Love  <fx@gnu.org>
3113         * textmodes/tildify.el: Minor doc/commentary fixes.
3114         (tildify) <defgroup>: Add :version.
3116         * faces.el (face-x-resources): Make custom type more specific.
3117         (frame-background-mode): Use mapc.
3118         (region) <defcustom>: Add :version.
3120 2000-09-08  Stefan Monnier  <monnier@cs.yale.edu>
3122         * vc-sccs.el (vc-sccs-register):
3123         * vc-rcs.el (vc-rcs-register):
3124         * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
3125         * vc.el (vc-register): Clear file's properties.
3127 2000-09-08  Gerd Moellmann  <gerd@gnu.org>
3129         * faces.el (face-spec-set): Only face-spec-reset-face when
3130         ATTRS is non-nil.
3132 2000-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
3134         * help.el (help-insert-xref-button): Fix a typo in doc string.
3136 2000-09-07  Eli Zaretskii  <eliz@is.elta.co.il>
3138         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3139         Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
3140         methods.
3142         * menu-bar.el (read-mail-item-name): New function.
3143         (menu-bar-tools-menu): Use it to compute and display the package
3144         used to read email.
3145         (menu-bar-tools-menu): Fix typo in GUD's help string.
3147 2000-09-07  Dave Love  <fx@gnu.org>
3149         * diff-mode.el (diff-mouse-goto-source): New function.
3151         * vc-sccs.el: Doc fixes.
3152         (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
3154         * vc-rcs.el: Doc fixes.
3155         (vc-rcs-register-switches, vc-rcs-checkin-switches)
3156         (vc-rcs-checkout-switches, vc-rcs-header)
3157         (vc-rcs-master-templates): Add or change :version.
3159         * vc-cvs.el: Doc fixes.
3160         (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
3161         (vc-cvs-stay-local): Add :version.
3163         * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
3165 2000-09-07  Kenichi Handa  <handa@etl.go.jp>
3167         * international/quail.el (quail-help): Fix previous change.
3169 2000-09-07  Gerd Moellmann  <gerd@gnu.org>
3171         * faces.el (color-values): Doc fix.
3173         * faces.el (frame-set-background-mode): Use frame-parameter
3174         instead of frame-parameters.
3176         * frame.el (filtered-frame-list): Reduce consing.
3177         (frames-on-display-list): Call frame-parameter instead of
3178         frame-parameters.
3180 2000-09-07  Kenichi Handa  <handa@etl.go.jp>
3182         * language/devan-util.el (devanagari-to-indian-region): In the
3183         loop, change the following char, not preceding char.
3185 2000-09-07  Gerd Moellmann  <gerd@gnu.org>
3187         * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
3188         instead of frame-parameters.
3190         * faces.el (set-face-attribute): Simplify by calling
3191         internal-set-lisp-face-attribute with FRAME being 0.
3193         * vc.el: Remove `Id' version control keyword.
3195 2000-09-07  Kenichi Handa  <handa@etl.go.jp>
3197         * help.el (help-make-xrefs): Adjusted for the change of
3198         help-xref-mule-regexp.
3199         (help-insert-xref-button): New function.
3201         * international/mule-cmds.el (help-xref-mule-regexp-template):
3202         Include the pattern for character set.
3203         (leim): New group.
3205         * international/quail.el: Don't require face.
3206         (quail): New group.
3207         (quail-other-command): Dummy command to make quail-help work better.
3208         (quail-keyboard-layout-alist): Add Keyboard type "jp106".
3209         (quail-keyboard-layout-substitution): New variable.
3210         (quail-update-keyboard-layout): New function.
3211         (quail-keyboard-layout-type): New customizable variable.
3212         (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
3213         (quail-keyboard-translate): Pay attention to
3214         quail-keyboard-layout-substitution.
3215         (quail-insert-kbd-layout): New function.
3216         (quail-show-keyboard-layout): New function.
3217         (quail-get-translation): If the definition is a vector of length
3218         1, and the element is a string of length 1, return the character
3219         in that string.
3220         (quail-update-current-translations): Fix the case of
3221         relative-index out of range.
3222         (quail-build-decode-map, quail-insert-decode-map): New Functions.
3223         (quail-help): Show keyboard layout by quail-insert-kbd-layout.
3224         Show key sequences for all available characters.
3225         (quail-help-insert-keymap-description): Don't show such verbose
3226         key bindings as quail-self-insert-command.
3228         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3229         Format changed, and each element now have extra documentations.
3230         (tit-process-header): Delete invalid characters from TIT-PROMPT.
3231         Adjusted for the change of quail-cxterm-package-ext-info.
3233 2000-09-06  Gerd Moellmann  <gerd@gnu.org>
3235         * vc-hooks.el (toplevel): Don't require `vc' during compilation;
3236         requiring it leads to a recursive loading of vc.el and vc-hooks.el
3237         during bootstrap.
3239 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3241         * vc.el: (toplevel): Don't require `dired' at run-time.
3242         (vc-dired-resynch-file): Remove autoload cookie.
3244 2000-09-05  Andre Spiegel  <spiegel@gnu.org>
3246         * vc.el: Made several backend functions optional.
3247         (vc-default-responsible-p): New function.
3248         (vc-merge): Use RET for first version to trigger merge-news, not
3249         prefix arg.
3250         (vc-annotate): Handle backends that do not support annotation.
3251         (vc-default-merge-news): Removed.  The existence of a merge-news
3252         implementation is now checked on caller sites.
3254         * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
3255         case.
3257         * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
3258         special case that has been removed from the default in vc-hooks.el.
3260 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3262         * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
3264 2000-09-05  Andre Spiegel  <spiegel@gnu.org>
3266         * vc-hooks.el: Require vc during compilation.
3267         (vc-file-setprop): Use `vc-touched-properties' if bound by the new
3268         macro `with-vc-properties' in vc.el.
3269         (vc-file-getprop): Doc fix.
3270         (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
3272         * vc.el: Require dired-aux during compilation.
3273         (vc-name-assoc-file): Moved to vc-sccs.el.
3274         (with-vc-properties): New macro.
3275         (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
3276         vc-finish-steal): Use it.
3277         (vc-cancel-version): Moved RCS-specific code to vc-rcs.el.  The call
3278         to the backend-specific function is now supposed to do the checkout,
3279         too.
3280         (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
3282         * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
3283         set file properties; that gets done in the generic code now.
3285         * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
3286         Changed parameter list, added code from vc.el that does the
3287         checkout, possibly with a double-take.
3289         * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
3290         (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
3291         the above under the new name.
3292         (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'.  Changed
3293         parameter list, added checkout command.
3294         (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
3295         properties; that gets done in the generic code now.
3297 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3299         * vc.el: Docstring fixes (courtesy of checkdoc).
3301 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3303         * vc.el (vc-checkout-writable-buffer-hook)
3304         (vc-checkout-writable-buffer): Remove.
3305         (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
3306         (vc-log-mode): Make it into a clean derived major mode.
3307         (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
3308         vc-log-mode if log-edit is not available.
3309         (vc-dired-mode-map): Don't set-keymap-parent yet.
3310         (vc-dired-mode): Do set-keymap-parent here.
3311         (vc-dired-buffers-for-dir): Nop if dired is not loaded.
3313 2000-09-05  Gerd Moellmann  <gerd@gnu.org>
3315         * faces.el (set-face-attribute, face-spec-reset-face)
3316         (face-spec-set): Avoid consing by removing calls to `apply'.
3318         * frame.el (frame-parameter): Move to C code.
3320 2000-09-05  Dave Love  <fx@gnu.org>
3322         * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
3323         insert-before-markers-and-inherit.  Now checked systematically!
3325 2000-09-05  Alex Schroeder  <alex@gnu.org>
3327         * sql.el (sql-postgres): Use sql-postgres-options.
3328         (sql-postgres-options): New variable.
3330 2000-09-05  Alex Schroeder  <alex@gnu.org>
3332         * sql.el (sql-mode-menu): Work around missing variable mark-active
3333         in XEmacs.
3334         (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
3335         (sql-interactive-mode): Added call to easy-menu-add for XEmacs
3336         compatibility.
3338 2000-09-04  Gerd Moellmann  <gerd@gnu.org>
3340         * vc.el (vc-dired-resynch-file): Add autoload cookie.
3342         * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
3344         * Makefile.in (DONTCOMPILE): Fix typo in file name.
3346 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3348         * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
3349         don't support anything else under SCCS yet.
3351         * vc-hooks.el: Minor doc fixes.
3353 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3355         * vc.el (vc-next-action-on-file): Do not visit the file if it's
3356         not necessary.  If verbose in state `needs-patch', do the same as
3357         under `up-to-date'.  When NOT verbose and `needs-patch', check out
3358         latest version instead of `merge-news'.
3359         (vc-next-action-dired): Don't mess with default-directory here; it
3360         breaks other parts of dired.  It is the job of the
3361         backend-specific functions to adjust it temporarily if they need it.
3362         (vc-next-action): Remove a special CVS case.
3363         (vc-clear-headers): New optional arg FILE.
3364         (vc-checkin, vc-checkout): Set properties vc-state and
3365         vc-checkout-time properly.
3366         (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
3367         (vc-print-log): Use new backend function `show-log-entry'.
3368         (vc-cancel-version): Do the checks in a different order.  Added a
3369         FIXME concerning RCS-only code.
3371         * vc-rcs.el (vc-rcs-show-log-entry): New function.
3372         (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
3374         * vc-cvs.el (vc-cvs-show-log-entry): New function.
3376         * vc-hooks.el (vc-default-mode-line-string): Show state
3377         `needs-patch' as a `-' too.
3379 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3381         * vc.el (vc-responsible-backend): New optional arg REGISTER.
3382         (vc-default-could-register): New function.
3383         (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
3384         (vc-resynch-buffer): Call vc-dired-resynch-file.
3385         (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
3386         vc-resynch-buffer instead of vc-resynch-window.
3387         (vc-next-action-dired): Don't redisplay here, that gets done as a
3388         result of the individual file operations.
3389         (vc-retrieve-snapshot): Corrected prompt order.
3391         * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
3393         * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
3394         as well.
3395         (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p.  Handle
3396         hostname regexps.  Updated all callers.
3397         (vc-cvs-responsible-p): Handle directories as well.
3398         (vc-cvs-could-register): New function.
3399         (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
3400         properties up-to-date.
3402         * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
3403         user whether to create one.
3405 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3407         * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
3408         check out a non-existing file.
3410         * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
3411         workfile does not exist.
3413         * vc.el (vc-version-diff): Use `require' to check for existence of
3414         diff-mode.
3416 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3418         * vc-cvs.el (vc-cvs-registered): Use new function
3419         vc-cvs-parse-entry to do the actual work.
3421 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3423         * vc-hooks.el (vc-find-backend-function): If function doesn't
3424         exist, return nil instead of error.
3425         (vc-call-backend): Doc fix.
3427         * vc.el (vc-do-command): Doc fix.
3428         (vc-finish-logentry): When checking in from vc-dired, choose the
3429         right backend for logentry check.
3430         (vc-dired-mode-map): Inherit from dired-mode-map.
3431         (vc-dired-mode): Local value of dired-move-to-filename-regexp
3432         simplified.
3433         (vc-dired-state-info): Removed, updated caller.
3434         (vc-default-dired-state-info): Use parentheses instead of hyphens.
3435         (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
3436         (vc-dired-listing-switches): New variable.
3437         (vc-directory): Use it, instead of dired-listing-switches.
3439         * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
3440         (vc-cvs-dir-state): New function.
3441         (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
3442         (vc-cvs-parse-entry): New function, also to be used in
3443         vc-cvs-registered.
3445 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3447         * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
3448         *or* single-window-frames.
3450 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3452         * vc.el (vc-update-changelog): Split into generic part and default
3453         implementation.  Doc string adapted.
3454         (vc-default-update-changelog): New function.  Call the `rcs2log'
3455         script in exec-directory, to fix a long-standing nuisance.
3457         * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
3458         simply signals an error.
3460 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3462         * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
3463         control-flow more clear and to avoid running `cvs' twice.
3465         * vc.el (vc-next-action-on-file): Doc fix.
3466         (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
3467         (vc-print-log): Eval `file' before constructing the continuation.
3469 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3471         * vc.el (vc-next-action-on-file): Corrected several messages.
3472         (vc-merge): Add prefix arg `merge-news'; handle it.
3474         * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
3475         is not reached.  It is.
3476         (vc-cvs-merge): Set state to 'edited after merge.
3477         (vc-cvs-merge-news): Set workfile version to nil if not known.
3478         (vc-cvs-latest-on-branch-p): Recommented.  Candidate for removal.
3480         * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
3481         via stdout. (Merge from main line.)
3483 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3485         * vc.el (vc-finish-logentry): Thinko in the "same comment"
3486         detection.
3488 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3490         * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
3491         against kill-all-local-variables.
3492         (vc-log-edit): Don't save vc-parent-buffer any more.
3493         (vc-last-comment-match): Initialize to an empty string.
3494         (vc-post-command-functions): New hook.
3495         (vc-do-command): Run it.
3496         (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
3497         (vc-finish-logentry): Only add the comment to the ring if it's
3498         different from the last comment entered.
3499         (vc-new-comment-index): New function.
3500         (vc-previous-comment): Use it.  Make the minibuffer message
3501         slightly less terse.
3502         (vc-comment-search-reverse): Make it work forward as well.  Don't
3503         set vc-comment-ring-index if no match is found.  Use
3504         vc-new-comment-index.
3505         (vc-comment-search-forward): Use vc-comment-search-reverse.
3506         (vc-dired-mode-map): Don't inherit from dired-mode-map since
3507         define-derived-mode will do it for us.  Bind `v' to a keymap that
3508         inherits from vc-prefix-map so that we can bind `vt' without
3509         binding C-x v t.
3510         (vc-retrieve-snapshot): Parenthesis typo.
3512         * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
3513         to 1.  Make sure to switch to *vc* before looking for an error
3514         message.  Use vc-parse-buffer.
3516 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3518         * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
3519         and NAME.
3520         (vc-retrieve-snapshot): Split into two parts.
3521         (vc-default-retrieve-snapshot): New function.
3523         * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
3524         (vc-cvs-retrieve-snapshot): New function (untested).
3525         (vc-cvs-stay-local): Default to t.
3526         (vc-cvs-remote-p): New function and property.
3527         (vc-cvs-state): Stay local only if the above is t.
3528         (vc-handle-cvs): Removed.
3529         (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
3530         done via vc-handled-backends now.
3531         (vc-cvs-header): Escape Id.
3533 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3535         * vc.el (vc-do-command): Remove unused commands.
3536         (vc-version-diff): Make sure default-directory ends with a slash.
3537         Move the window commands into a vc-exec-after.
3538         (vc-print-log): Move more of the code into the `vc-exec-after'.
3540 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3542         * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
3543         (vc-print-log): Search current revision from beginning of buffer.
3544         (vc-revert-buffer): Clear echo area after the diff is finished.
3545         (vc-prefix-map): Removed definition of "t" for terse display in vc
3546         dired.
3547         (vc-dired-mode-map): Inherit from dired-mode-map.  Added
3548         definition of "vt" for terse display.
3549         (vc-dired-mode): Fix dired-move-to-filename-regexp.
3551 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3553         * vc.el (vc-exec-after): Avoid caddr.
3555 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3557         * vc.el (vc-exec-after): New function.
3558         (vc-do-command): Use it to add a termination message for async
3559         procs.
3560         (vc-checkout): Try to handle a missing-backend situation.
3561         (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
3562         of a directory with a backend using async diffs.
3563         (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
3564         present.
3566         * vc-sccs.el (vc-sccs-state-heuristic): Use
3567         file-ownership-preserved-p.
3569         * vc-rcs.el (vc-rcs-state-heuristic): Use
3570         file-ownership-preserved-p.
3571         (vc-rcs-checkout): Remove the error-handling for missing-rcs.
3573 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3575         * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
3576         vc-do-command.
3578         * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
3579         when there are no changes.
3581 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3583         * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
3585         * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
3587 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3589         * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
3591         * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
3592         the `fset' outside of the defvar so that it works even if
3593         vc-prefix-map was already defined.
3594         (vc-setup-buffer): New function, split out of vc-do-command.
3595         (vc-do-command): Allow BUFFER to be t to mean `just use the
3596         current buffer without any fuss'.
3597         (vc-version-diff): Change the `diff' backend operation to just put
3598         the diff in the current buffer without erasing it.  Always use
3599         *vc-diff* even for directory-diffs.  Use vc-setup-buffer.  Protect
3600         shrink-window-if-larger-than-buffer.
3601         (vc-print-log): Change the `print-log' backend operation to just
3602         put the log in the current buffer without erasing it.  Protect
3603         shrink-window-if-larger-than-buffer.
3604         (vc-update-change-log): Fix setd typo.
3606         * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
3607         (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
3609         * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
3610         (vc-rcs-diff): Insert in the current buffer and remove unused arg
3611         CMP.
3613         * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
3614         with-temp-file.  Use the new BUFFER=t argument to vc-do-command.
3615         (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
3617 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3619         * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
3620         not possible, use vc-BACKEND-workfile-unchanged-p.
3621         (vc-default-workfile-unchanged-p): New function.  Delegates to a
3622         full vc-BACKEND-diff.
3624         * vc-hooks.el (vc-simple-command): Removed.
3626         * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
3627         instead of vc-simple-command.
3628         (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
3629         avoid doing a diff when opening a file.
3630         (vc-rcs-state): Added check for unlocked-changes.
3631         (vc-rcs-header): Escape Id.
3632         (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
3633         (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
3634         version.
3636         * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
3637         (vc-sccs-diff): Remove optional arg CMP.
3638         (vc-sccs-state): Call vc-workfile-unchanged-p, not the
3639         SCCS-specific function.
3641         * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
3642         vc-simple-command.
3644 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3646         * vc.el (vc-editable-p): Renamed from vc-writable-p.
3647         (with-vc-file, vc-merge): Use vc-editable-p.
3648         (vc-do-command): Remove unused var vc-file and fix the
3649         doubly-defined `status' var.  Add a user message when starting an
3650         async command.
3651         (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
3652         (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
3653         Use with-current-buffer.
3654         (vc-buffer-sync): Use unless.
3655         (vc-next-action-on-file): If the file is 'edited by read-only,
3656         make it read-write instead of trying to commit.
3657         (vc-version-diff, vc-update-change-log): Use `setq
3658         default-directory' rather than `cd'.
3659         (vc-log-edit): Don't forget to set default-directory in the
3660         buffer.
3662         * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
3663         (vc-sccs-state-heuristic): Use file-writable-p instead of
3664         comparing userids.
3665         (vc-sccs-checkout): Use `unless'.
3667         * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
3668         of comparing userids.
3669         (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
3670         Simplify the logic by eliminating unreachable code.
3671         (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
3672         just do a recursive call if we need to retry.
3673         (vc-rcs-checkout): Handle the case where rcs is missing by making
3674         the buffer read-write if requested and re-signalling the error.
3676         * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
3678 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3680         * vc-hooks.el (vc-handled-backends): Docstring change.
3681         (vc-ignore-vc-files): Mark obsolete.
3682         (vc-registered): Check vc-ignore-vc-files.
3683         (vc-find-file-hook, vc-file-not-found-hook): Don't check
3684         vc-ignore-vc-files.
3686         * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
3688 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3690         * vc.el (vc-checkout): Don't do anything special for ange-ftp
3691         files since ange-ftp already has vc-registered return nil.
3693         * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
3694         (vc-sccs-workfile-version): Use with-temp-buffer and new
3695         vc-parse-buffer and don't bother setting the property.
3696         (vc-sccs-add-triple): Use with-current-buffer and
3697         find-file-noselect.
3698         (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
3700         * vc-rcs.el (vc-rcs-find-most-recent-rev): New function.  The code
3701         derives from the old vc-parse-buffer but uses the revision number
3702         rather than the date (much easier to compare robustly).
3703         (vc-rcs-fetch-master-state): Use `with-temp-buffer'.  Adapt to the
3704         new vc-parse-buffer (and vc-rcs-find-most-recent-rev).  Find the
3705         locking-user more directly.  Check strict locking and set
3706         checkout-model appropriately.
3707         (vc-rcs-parse-locks): Remove.
3708         (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
3709         new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
3710         (vc-rcs-system-release): Use with-current-buffer and
3711         vc-parse-buffer.
3712         (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
3714         * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
3715         (vc-simple-command): Docstring fix.
3716         (vc-registered): Align the way the file-handler is called with the
3717         way the function itself works.
3718         (vc-file-owner): Remove.
3720         * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer.  Reorder
3721         extraction of fields and call to file-attributes because of a
3722         temporary bug in rcp.el.
3723         (vc-cvs-fetch-status): Use with-current-buffer.
3725 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3727         * vc.el (vc-do-command): Use file-relative-name.
3728         (vc-responsible-backend): Use vc-backend if possible.
3729         (vc-create-snapshot): Improve the `interactive' spec. Add support
3730         for branches and dispatch to backend-specific `create-snapshot'.
3731         (vc-default-create-snapshot): New function, containing the bulk of
3732         the old vc-create-snapshot.
3733         (vc-retrieve-snapshot): Improve the interactive spec.
3735         * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
3736         (vc-backend-hook-functions): Remove.
3737         (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
3738         (vc-backend): Reintroduce the test for `file = nil' now that I
3739         know why it was there (and added a comment to better remember).
3741         * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
3742         code from vc-sccs-hooks.el.
3743         (vc-sccs-release, vc-sccs-system-release): Remove.  Don't require
3744         'vc anymore.
3745         (vc-sccs-responsible-p): Use expand-file-name instead of concat
3746         and file-directory-p instead of file-exists-p.
3747         (vc-sccs-check-headers): Simplify the regexp.
3749         * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
3750         from vc-rcs-hooks.el.  Don't require 'vc anymore.
3751         (vc-rcs-responsible-p): Use expand-file-name instead of concat and
3752         file-directory-p instead of file-exists-p.
3754         * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
3755         from vc-cvs-hooks.el.
3756         (proto vc-cvs-registered): Require 'vc-cvs instead of
3757         'vc-cvs-hooks.  Don't require 'vc anymore.
3758         (vc-cvs-responsible-p): Use expand-file-name instead of concat and
3759         file-directory-p instead of file-exists-p.
3760         (vc-cvs-create-snapshot): New function, replacing
3761         vc-cvs-assign-name.
3762         (vc-cvs-assign-name): Remove.
3764 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3766         * vc-cvs.el (vc-cvs-header): New var.
3768         * vc-rcs.el (vc-rcs-exists): Remove.
3769         (vc-rcs-header): New var.
3771         * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
3772         `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
3773         (vc-sccs-header): New var.
3775         * vc.el (vc-do-command): Get rid of the `last' argument.
3776         (vc-header-alist): Remove, replaced by vc-X-header.
3777         (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
3778         (vc-dired-hook): Use expand-file-name instead of concat.
3779         (vc-directory): Use file-name-as-directory.
3780         (vc-snapshot-precondition, vc-create-snapshot)
3781         (vc-retrieve-snapshot): Allow the command to operate on any
3782         directory.
3784         * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
3785         just removing the 'WORKFILE argument or by removing the 'MASTER
3786         argument and replacing `file' with (vc-name file).
3788 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3790         * vc.el: Update Copyright and add a crude list of backend funs.
3791         (vc-writable-p): New function.
3792         (with-vc-file): Use vc-writable-p.
3793         (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
3794         (vc-register): Avoid vc-name.
3795         (vc-locking-user): Remove.
3796         (vc-steal-lock): Make the `owner' arg non-optional.
3797         (vc-merge): Use vc-writable-p instead of vc-locking-user and
3798         vc-checkout-model.
3799         (vc-default-dired-state-info): Use vc-state instead of
3800         vc-locking-user and return special strings for special states.
3801         (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
3802         and get rid of one of the special CVS cases.
3803         (vc-cancel-version): prettify error message with \\[...].
3804         (vc-rename-master): New function.
3805         (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
3806         use vc-rename-master) instead of vc-BACKEND-record-rename.  Make
3807         the CVS special case generic.
3808         (vc-default-record-rename): Remove.
3809         (vc-file-tree-walk-internal): Only call FUNC for files that are
3810         under control of some VC backend and replace `concat' with
3811         expand-file-name.
3812         (vc-file-tree-walk): Update docstring.
3813         (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
3814         (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
3816         * vc-sccs.el (vc-sccs-rename-file): Renamed from
3817         vc-sccs-record-rename.  Use `find-file-noselect' rather than
3818         `find-file' and call `vc-rename-master' to do the actual move.
3819         (vc-sccs-diff): Remove unused `backend' variable.
3821         * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
3822         to delay loading of vc-sccs until it is really used.
3823         (vc-sccs-master-templates): Preload.
3824         (vc-sccs-state): Update call to vc-sccs-parse-locks.
3825         (vc-sccs-project-dir): Remove (merged into
3826         vc-sccs-search-project-dir).
3827         (vc-sccs-search-project-dir): Rewrite using file name handling ops
3828         rather than `concat', make sure it is preloaded and don't bother
3829         to check that the file actually exists.
3830         (vc-sccs-parse-locks): Remove unused `file' argument, remove
3831         `locks' argument (use buffer's content instead) and eliminate n^2
3832         behavior.
3834         * vc-rcs.el: Update Copyright.
3835         (vc-rcs-rename-file): New function.
3836         (vc-rcs-diff): Remove unused `backend' variable.
3838         * vc-hooks.el: Update Copyright.
3839         (vc-backend): Don't accept a nil argument any more.
3840         (vc-up-to-date-p): Turn into a defsubst.
3841         (vc-possible-master): New function.
3842         (vc-check-master-templates): Use `vc-possible-master' and allow
3843         funs in vc-X-master-templates to return a non-existent file.
3845         * vc-cvs.el: Update Copyright.
3846         (vc-cvs-diff): Remove unused `backend' variable.
3847         (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
3849         * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
3851 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3853         * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
3854         since it can be called from vc-rcs.el.
3855         (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
3857 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3859         * vc.el (vc-version-diff): Expand file name read from the
3860         minibuffer.  Handle the case when a previous version number can't
3861         be guessed.  Give suitable messages when there were no differences
3862         found.
3863         (vc-clear-headers): Call backend-specific implementation, if one
3864         exists.
3865         (vc-cancel-version): Made error checks generic.  When done, clear
3866         headers generically, too.
3868         * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
3869         from vc-clear-headers in vc.el.
3871         * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
3872         correctly.
3873         (vc-rcs-latest-on-branch-p): Made second argument VERSION
3874         optional.  Handle the case when it's not there.
3876 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3878         * vc.el (vc-locking-user): Moved from vc-hooks.el.
3880 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3882         * vc-hooks.el (vc-loadup): Remove.
3883         (vc-find-backend-function): Use `require'.  Also, handle the case
3884         where vc-BACKEND-hooks.el doesn't exist.
3885         (vc-call-backend): Cleanup.
3887 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3889         * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
3890         vc-rcs-grab-templates)
3891         (vc-rcs-registered): Remove.  The default function works as well.
3892         * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
3893         vc-sccs-grab-templates)
3894         (vc-sccs-registered): Remove.  The default function works as well.
3896         * vc.el (vc-version-diff): Left out a vc- in call to
3897         vc-call-backend.
3898         (vc-default-dired-state-info, vc-default-record-rename)
3899         (vc-default-merge-news): Update for the new backend argument.
3901         * vc-hooks.el (vc-find-backend-function): Return a cons cell if
3902         using the default function.
3903         (vc-call-backend): If calling the default function, pass it the
3904         backend as first argument.  Update the docstring accordingly.
3905         (vc-default-state-heuristic, vc-default-mode-line-string): Update
3906         for the new backend argument.
3907         (vc-make-backend-sym): Renamed from vc-make-backend-function.
3908         (vc-find-backend-function): Use the new name.
3909         (vc-default-registered): New function.
3911 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3913         * vc.el (vc-merge): Use vc-find-backend-function.
3915         * vc-hooks.el (vc-backend-functions): Remove.
3916         (vc-loadup): Don't setup 'vc-functions.
3917         (vc-find-backend-function): New function.
3918         (vc-call-backend): Use above fun and populate 'vc-functions
3919         lazily.
3920         (vc-backend-defines): Remove.
3922 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3924         * vc.el (vc-register): Put a FIXME note for a newly found bug.
3925         Call vc-call-backend without the leading vc-.
3926         (vc-responsible-backend, vc-finish-logentry, vc-annotate)
3927         (vc-check-headers): Call vc-call-backend without the leading vc-.
3928         (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
3929         (vc-annotate-display): Replace confusing use of `cond' with `or'.
3930         Call vc-call-backend without the leading vc-.
3932         * vc-cvs.el (tail): Provide vc-cvs.
3933         * vc-sccs.el (tail): Provide vc-sccs.
3934         * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
3936         * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
3937         (vc-make-backend-function, vc-call): Pass names without leading
3938         `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
3939         (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
3940         (vc-call-backend): Always try to load vc-X-hooks.
3941         (vc-registered): Remove vc- in call to vc-call-backend.
3943 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3945         * vc.el (vc-process-filter): New function.
3946         (vc-do-command): Setup `vc-process-filter' for the async process.
3947         (vc-maybe-resolve-conflicts): New function to reduce
3948         code-duplication.  Additionally, it puts the buffer in
3949         `smerge-mode' if applicable.
3950         (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
3951         calling `merge-news'.
3952         (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
3953         (vc-log-edit): New function.  Replacement for `vc-log-mode' by
3954         interfacing to log-edit.el.
3955         (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
3956         log-edit is available.
3957         (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
3959 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3961         * vc.el (vc-register): Remove `vc-buffer-backend' setup.
3962         (vc-log-mode-map): New name for vc-log-entry-mode and merge the
3963         defvar and the initialization.
3964         (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
3966         * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
3967         (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
3969         * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
3971 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3973         * vc.el (vc-file-clear-masterprops): Removed.
3974         (vc-checkin, vc-revert-buffer): Removed calls to the above.
3975         (vc-version-diff): Use buffer-size without argument.
3976         (vc-register): Heed vc-initial-comment.
3978         * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
3979         default branch.
3981         * vc-rcs.el (vc-rcs-register): Parse command output to find master
3982         file name and workfile version.
3983         (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
3985         * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
3986         vc-file-clear-masterprops.
3988         * vc-sccs.el (vc-sccs-checkout): Removed call to
3989         vc-file-clear-masterprops.  If writable, set vc-state to 'edited
3990         rather than user login name.
3993 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3995         * vc.el (vc-workfile-unchanged-p): Remove unused argument
3996         `want-differences-if-changed' and simplify.
3997         (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
3998         (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
3999         output (which is invalid for async vc-diff) to decide whether to
4000         do the revert silently or not.
4002 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4004         * vc-hooks.el (vc-loadup): Load files quietly.
4005         (vc-call-backend): Oops, brain fart.
4007 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4009         * vc-cvs.el (vc-cvs-state): Typo.
4010         (vc-cvs-merge-news): Return the status code rather than the error msg.
4012 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4014         * vc.el (with-vc-file, vc-next-action, vc-version-diff)
4015         (vc-dired-mark-locked): Replaced usage of vc-locking-user with
4016         vc-state or vc-up-to-date-p.
4017         (vc-merge): Use vc-backend-defines to check whether merging is
4018         possible.  Set state to 'edited after successful merge.
4020         * vc-hooks.el (vc-locking-user): If locked by the calling user,
4021         return that name.  Redocumented.
4023 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4025         * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
4026         new `vc-state' semantics.
4027         (vc-finish-steal): Set 'vc-state to 'edited rather than setting
4028         'vc-locking-user to the current user.
4029         (vc-merge): Inline vc-backend-merge.  Comment out code that I
4030         don't understand and hence can't adapt to the new `vc-state' and
4031         `vc-locking-user' semantics.
4032         (vc-backend-merge): Remove.
4034         * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
4035         rather than 'vc-locking-user.
4037         * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
4039         * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
4040         (vc-state): Don't use 'reserved any more.  Just use the same
4041         convention as the one used for vc-<backend>-state where the
4042         locking user (as a string) is returned.
4043         (vc-locking-user): Update, based on the above convention. The
4044         'vc-locking-user property has disappeared.
4045         (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
4047         * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
4048         with a heuristic one.
4049         (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
4050         (vc-cvs-checkin): Do a trivial parse to set the state in case of
4051         error.  That allows us to get to 'needs-merge even in the
4052         stay-local case.  There's still no way to detect 'needs-patch in
4053         such a setup (or to force an update for that matter).
4054         (vc-cvs-logentry-check): Remove, the default works as well.
4056 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4058         * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
4060         * vc.el (vc-do-command): kill-all-local-variables, to reset any
4061         major-mode in which the buffer might have been put earlier.  Use
4062         `remove' and `when'.  Allow `okstatus' to be `async' and use
4063         `start-process' in this case.
4064         (vc-version-diff): Handle the case where the diff looks empty
4065         because of the use of an async process.
4067 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4069         * vc.el (vc-next-action-on-file): Removed optional parameter
4070         `simple'.  Recompute state unconditionally.
4071         (vc-default-toggle-read-only): Removed.
4073         * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
4074         (vc-toggle-read-only): Undid prev change.
4076         * vc-cvs.el (vc-cvs-stay-local): Renamed from
4077         vc-cvs-simple-toggle.  Redocumented.
4078         (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
4079         (vc-cvs-toggle-read-only): Removed.
4081 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4083         * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
4084         (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
4085         (vc-release-greater-or-equal-p): Move to vc-rcs.el.
4086         (vc-file-clear-masterprops): Braindead "fix".  It was a nop and
4087         still is. So maybe it should be removed.
4088         (vc-head-version, vc-find-binary): Remove.
4089         (vc-recompute-state): Move from vc-hooks.el.
4090         (vc-next-action-on-file): Add a `simple' argument to allow
4091         avoiding the `recompute' step (use for vc-cvs-simple-toggle).
4092         (vc-default-toggle-read-only, vc-default-record-rename): New funs.
4093         (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
4094         (vc-dired-mode-map): Properly defvar it.
4095         (vc-print-log): Call log-view-mode if available.
4096         (small-temporary-file-directory): defvar instead of use boundp.
4097         (vc-merge-news): Moved to vc-cvs.el.
4098         (vc-default-merge-news): New function.
4100         * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
4101         (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
4102         (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
4103         unknown `vc-latest-version' function.  It should probably refer to
4104         vc-workfile-version or somesuch, but it's very unclear to me and I
4105         don't have SCCS to test things.
4107         * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
4108         (vc-sccs-state-heuristic): Fix typo.
4109         (vc-sccs-workfile-unchanged-p): Add missing argument.
4111         * vc-rcs.el: Require vc and vc-rcs-hooks.
4112         (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
4113         (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
4114         (vc-release-greater-or-equal-p): Move from vc.
4115         (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
4116         vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
4117         (vc-rcs-checkout): Add a missing `new-version' argument in the
4118         call to vc-rcs-latest-on-branch-p.  Hopefully that was the right one.
4120         * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
4121         (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
4122         (vc-rcs-latest-on-branch-p): Use the `version' argument rather
4123         than the apparently unbound `workfile-version'.
4125         * vc-hooks.el (vc-master-templates): Def the obsolete var.
4126         (vc-file-prop-obarray): Use `make-vector'.
4127         (vc-backend-functions): Add new hookable functions
4128         vc-toggle-read-only, vc-record-rename and vc-merge-news.
4129         (vc-loadup): If neither backend nor default functions exist, use
4130         the backend function rather than nil.
4131         (vc-call-backend): If the function if not bound yet, try to load
4132         the non-hook file to see if it provides it.
4133         (vc-call): New macro plus use it wherever possible.
4134         (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
4135         nor `vc-find-binary' since it's only called from
4136         vc-mistrust-permission which is only used once the backend is known.
4137         (vc-checkout-model): Fix parenthesis.
4138         (vc-recompute-state, vc-prefix-map): Move to vc.el.
4140         * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
4141         (vc-cvs-release, vc-cvs-system-release): Remove.
4142         (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
4143         (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
4144         status symbols.
4145         (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
4146         (vc-cvs-toggle-read-only): First cut at a function to allow a
4147         cvs-status-free vc-toggle-read-only.
4148         (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
4149         (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
4150         vc-cvs-status.  Also set vc-state rather than vc-locking-user.
4151         (vc-cvs-checkout): Modify access rights directly if the user
4152         requested not to use `cvs edit'.  And refresh the mode line.
4154         * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
4155         (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
4157 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4159         * vc-cvs.el (vc-cvs-checkout): Docstring fix.  Added a `(if
4160         workfile' that got lost when the code was extracted from vc.el.
4161         And merged the tail with the rest of the code (not possible in the
4162         old vc.el where the tail was shared among all backends).  And
4163         explicitly set the state to 'edited if `writable' is set.
4165         * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
4166         (vc-cvs-state): Be careful to return the value from
4167         vc-cvs-parse-state.
4168         (vc-cvs-parse-status): Use expand-file-name.  Don't set 'vc-state
4169         property but return it instead.  Also be careful to handle a nil
4170         or "" `rev' when workfile is non-nil (it was handled properly when
4171         workfile was nil).
4173         * vc.el: Removed those pesky unnecessary `(function' quotes.
4174         (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
4175         directly in the defvar.
4176         (vc-do-command): Bind inhibit-read-only so as to properly handle
4177         the case where the destination buffer has been made read-only.
4178         (vc-diff): Delegate to vc-version-diff in all cases.
4179         (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
4180         (vc-annotate-mode-variables): Removed (code moved partly to
4181         defvars and partly to vc-annotate-add-menu).
4182         (vc-annotate-mode): Turned into a derived-mode.
4183         (vc-annotate-add-menu): Moved in code in
4184         vc-annotate-mode-variables.
4185         (vc-update-change-log): Use make-temp-file if available.
4187 2000-09-04  Martin Lorentzson  <martinl@delysid.gnu.org>
4189         * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
4190         `vc-checkout-model' updated to `vc-cvs-update-model'.
4192 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4194         * vc.el (vc-next-action-on-file): Added handling of state
4195         `unlocked-changes'.
4196         (vc-checkout-carefully): Is now practically obsolete, unless the
4197         above is too slow to be enabled unconditionally.
4198         (vc-update-change-log): Fixed typo.
4200         * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
4202         * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
4203         Now handles state `unlocked-changes'.
4204         (vc-sccs-workfile-unchanged-p): New function, to support the above.
4206         * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
4208         * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
4209         (vc-rcs-fetch-master-state): Bug fixes.  Recognize state
4210         `unlocked-changes'.
4211         (vc-rcs-workfile-unchanged-p): Renamed from
4212         `vc-rcs-workfile-unchanged'.  This is not a real backend-specific
4213         function yet, but supposed to become one soon.
4215         * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
4216         `vc-steal-lock'.
4217         (vc-call-backend): Changed error message.
4218         (vc-state): Added description of state `unlocked-changes'.
4220 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4222         * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
4223         always return t in CVS-controlled directories.
4225         * vc.el (vc-responsible-backend): New function.
4226         (vc-register): Largely rewritten.
4227         (vc-admin): Removed (implementation moved into vc-register).
4228         (vc-checkin): Redocumented.
4229         (vc-finish-logentry): If no backend defined yet (because we are in
4230         the process of registering), use the responsible backend.
4232         * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4233         Updated function lists.
4234         (vc-call-backend): Fixed typo.
4236         * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
4237         New functions.
4238         (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
4239         Removed query option.  Redocumented.
4241 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4243         * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
4245         * vc.el: Updated callers of `vc-checkout-required' to use
4246         `vc-checkout-model'.
4248 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4250         * vc-rcs.el (vc-rcs-backend-release-p): function added.  other
4251         stuff updated to reference this function instead of the old
4252         `vc-backend-release-p'.
4254 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4256         * vc-sccs-hooks.el (vc-uses-locking): Renamed to
4257         vc-checkout-model.  Return appropriate values.  Updated callers.
4259 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4261         * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
4262         (vc-backend-revert): Function moved into `vc-revert';
4263         `vc-next-action' must be updated to accomodate this change.
4264         (vc-backend-steal): Function moved into `vc-finish-steal'.
4265         (vc-backend-logentry-check): Function moved into
4266         `vc-finish-logentry'.
4267         (vc-backend-printlog): Function moved into `vc-print-log'.
4268         (vc-backend-uncheck): Function moved into `vc-cancel-version'.
4269         (vc-backend-assign-name): Function moved into
4270         `vc-create-snapshot'.
4272 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4274         * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
4275         Rename to vc-checkout-model.  Return appropriate values.
4276         Update callers.
4278         * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
4279         to vc-checkout-model.
4280         (vc-checkout-required): Rename to vc-checkout-model.
4281         Re-implement and re-comment.
4282         (vc-after-save): Use vc-checkout-model.
4284 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4286         * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
4287         Update to use the vc-BACKEND-diff functions instead.
4288         `vc-diff' is now working.
4290         * vc-rcs.el (vc-rcs-logentry-check): New function.
4292         * vc-cvs.el (vc-cvs-logentry-check): New function.
4294         * vc-sccs.el (vc-sccs-diff): Function changed name from
4295         `vc-backend-diff'.  This makes `vc-diff' work.
4297         * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
4298         of functions possibly implemented in a vc-BACKEND library.
4299         (vc-checkout-required): Fix bug that caused an error to be
4300         signaled during `vc-after-save'.
4302         * vc.el: Fix typo.
4303         This checkin is made with our new VC code base for the very first time.
4304         A simple `(vc-checkin (buffer-file-name))' was used to perform it.
4306         * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
4307         `vc-checkout-required' updated to `vc-cvs-uses-locking'.
4309         * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
4310         updated to `vc-uses-locking'.
4311         (vc-checkout-required): Call to backend function.
4312         `vc-checkout-required' updated to `vc-uses-locking' instead.
4314         * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
4315         `vc-checkout-required' updated to `vc-rcs-uses-locking'.
4317         * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
4318         to match the split into various backends.
4319         (vc-backend-checkin): Remove.  Merge with `vc-checkin'.
4320         (vc-retrieve-snapshot): Bug fix.
4322 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4324         * vc-sccs.el (vc-sccs-release): Doc fix.
4326 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4328         * vc.el (vc-next-action-on-file): Bug found and fixed.
4329         (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
4330         (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
4332         * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
4333         (vc-rcs-checkout): Name space cleaned up.  No more revision number
4334         crunching function names that are not prefixed with vc-rcs.
4335         (vc-rcs-checkout-model): Function added.  References to
4336         `vc-checkout-model' replaced.
4338 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4340         * vc.el (vc-next-action-on-file): Rewritten for the new state model.
4341         (vc-backend-merge-news): Renamed to `vc-merge-news'.  (Specific parts
4342         still need to be split, and implemented for RCS).
4344 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4346         * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
4348         * vc-sccs.el (vc-sccs-admin): Added the query-only option as
4349         required by the vc.el file.
4351         * vc-rcs.el (vc-rcs-admin): Added the query-only option as
4352         required by the vc.el file.
4353         (vc-rcs-exists): Function added.
4355         * vc-cvs.el (vc-cvs-admin): Added the query-only option as
4356         required by the vc.el file.
4358         * vc.el (vc-admin): Updated to handle selection of appropriate
4359         backend.  Current implementation is crufty and need re-thinking.
4361         * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
4363 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4365         * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
4366         beginning of annotate buffers correctly.
4368         * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
4369         (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
4370         functionality updated quite a lot to support multiple backends.
4371         Variables `vc-annotate-mode', `vc-annotate-buffers',
4372         `vc-annotate-backend' added.
4374         * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
4375         `vc-annotate-difference' added to supported backend functions.
4377 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4379         * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
4380         Use with-temp-file instead of /bin/sh.  Merged from mainline
4382 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4384         * vc-sccs-hooks.el (vc-sccs-registered): Updated.
4386         * vc-rcs-hooks.el (vc-rcs-registered): Updated.
4388         * vc-cvs-hooks.el (vc-cvs-registered): Updated.
4390 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4392         * vc-hooks.el: vc-state-heuristic added to
4393         vc-backend-hook-functions.
4395         * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
4397         * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
4399         * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
4400         `vc-uses-locking' to `vc-checkout-required'.  Rename the `locked'
4401         state to `reserved'.
4403         * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
4404         `vc-checkout-required'.  Rename the `locked' state to `reserved'.
4406 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4408         * vc-rcs-hooks.el: Implement new state model.  Hardly anything
4409         untouched.
4411         * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
4413         * vc.el (vc-update-change-log): Use small-temporary-file-directory,
4414         if defined.  (Merged from main line, slightly adapted.)
4416         * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
4417         millenium problem (merged from mainline).
4419 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4421         * vc-cvs.el: Split the annotate feature into a BACKEND-specific
4422         part and moved the non-BACKEND stuff to vc.el.
4424         * vc.el: Split the annotate feature into a BACKEND specific part
4425         and moved it from the vc-cvs.el file to this one.
4427 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4429         * vc-hooks.el: Implement new state model.
4430         (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
4431         (vc-locking-user): Simplify.  Now only needed if the file is
4432         locked by somebody else.
4433         (vc-lock-from-permissions): Remove.  Functionality is in
4434         vc-sccs-hooks.el and vc-rcs-hooks.el now.
4435         (vc-mode-line-string): New name for former vc-status.  Adapted.
4436         (vc-mode-line): Adapt to use the above.  Remove optional parameter.
4438         * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
4439         Various simplifications and adaptations all over the place.
4441         * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
4442         Simplify and adapt the rest.
4444         * vc.el (vc-resynch-window): Add TODO comment: check for
4445         interaction with view mode according to recent RCS change.
4446         (vc-backend-merge-news): Merge "CMUP" patch from mainline.
4448 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4450         * vc.el: Convert the remaining function comments to docstrings.
4452 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4454         * vc.el (vc-backend-release, vc-release-greater-or-equal)
4455         (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
4456         (vc-minor-part, vc-previous-version): Functions that operate and
4457         compare revision numbers got proper documentation.  Comments added
4458         about their possible removal.
4460 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4462         * vc.el (vc-latest-on-branch-p): Function removed and replaced in
4463         the vc-backend.el files.
4465         * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
4467         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
4468         (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
4469         (vc-rcs-previous-version): Functions added.
4471         * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
4473         * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
4475 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4477         * vc-hooks.el (vc-master-templates): Is really obsolete.
4478         Comment out the definition for now.  What is the right procedure
4479         to get rid of it?
4480         (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
4481         rewritten.
4482         (vc-default-registered): Remove.
4483         (vc-check-master-templates): New function; does mostly what the
4484         above did before.
4485         (vc-locking-user): Don't rely on the backend to set the property.
4487         * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
4488         Rewrite documentation.
4489         (vc-rcs-templates-grabbed): New variable.
4490         (vc-rcs-grab-templates): New function.
4491         (vc-rcs-registered): Rewrite to use above mechanism.
4493         * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
4494         Rewrite documentation.
4495         (vc-sccs-templates-grabbed): New variable.
4496         (vc-sccs-grab-templates): New function.
4497         (vc-sccs-registered): Rewrite to use above mechanism.
4498         (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
4499         Don't throw the result, simply return it.
4501         * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
4502         (vc-cvs-find-master): Remove.  Code is now in vc-cvs-registered.
4503         (vc-cvs-registered): Does the check itself now.  Simplify.
4505         * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
4506         from main line.
4508 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4510         * vc-cvs.el (vc-cvs-diff): New function.
4512         * vc-sccs.el (vc-sccs-diff): New function.
4514         * vc-rcs.el (vc-rcs-diff): New function.
4515         (vc-rcs-checkout): Bug (typo) found and fixed.
4516         (vc-rcs-register-switches): New variable.
4518         * vc.el (vc-backend-diff): Function removed and placed in the
4519         backend files.
4521 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4523         * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
4525         * vc.el (vc-backend-checkout): Function removed and replaced in
4526         the vc-backend.el files.
4528         * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
4530         * vc.el (vc-backend-admin): Removed and replaced in the
4531         vc-backend.el files.
4533         * vc.el (Martin): Removed all the annotate functionality since it
4534         is CVS backend specific.
4536 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4538         * spec.txt: Added specification of vc-state.
4540         * vc-sccs-hooks.el (vc-sccs-master-properties):
4541         Remove handling of vc-latest-version and
4542         vc-your-latest-version.  What used to be vc-latest-version, is now
4543         returned as vc-workfile-version.
4544         (vc-sccs-workfile-version): Adapt.
4546 2000-09-04  Dave Love  <fx@gnu.org>
4548         * vc.el: [Merged from mainline.]
4549         (vc-dired-mode): Make the dired-move-to-filename-regexp
4550         regexp match the date, to avoid treating date as file size.
4551         Add YYYY S option to WESTERN/
4553 2000-09-04  Dave Love  <fx@gnu.org>
4555         * vc.el: Require `compile' when compiling.
4556         (vc-logentry-check-hook): New option.
4557         (vc-steal-lock): Use compose-mail.
4558         (vc-dired-mode-map): Defvar when compiling.
4559         (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
4560         vc-sccs.el and renamed.  Callers changed.
4561         (vc-backend-checkout, vc-backend-logentry-check)
4562         (vc-backend-merge-news): Doc fix.
4563         (vc-default-logentry-check): New function.
4564         (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
4565         (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
4566         (vc-backend-merge): Doc fix.  Use backend functions.
4567         (vc-check-headers): Use backend functions.
4569         * vc-cvs.el: Require vc when compiling.
4570         (vc-cvs-register-switches): Doc fix.
4571         (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
4572         (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
4573         (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
4574         New functions (code from vc.el).
4575         (vc-annotate-display-default): Fix interactive spec.
4576         (vc-annotate-time-span): Doc fix.
4578         * vc-rcs.el: Require vc when compiling.
4579         (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
4580         (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
4581         (vc-rcs-checkin): New functions (code from vc.el).
4582         (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
4583         Doc fix.
4584         (vc-rcs-release): Deleted.  (Duplicated vc-rcs-system-release).
4586         * vc-sccs.el: Require vc when compiling.
4587         (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
4588         (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
4589         (vc-sccs-revert)
4590         (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
4591         from vc.el).
4592         (vc-sccs-add-triple, vc-sccs-record-rename)
4593         (vc-sccs-lookup-triple): Moved from vc.el and renamed.
4594         (vc-sccs-admin): Doc fix.
4596 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4598         * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
4599         (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
4600         (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
4601         from vc.el.
4603         * vc-sccs.el (vc-admin-sccs): Added from vc.el
4605         * vc-cvs.el: Moved the annotate functionality from vc.el.
4606         (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
4608 2000-09-04  Dave Love  <fx@gnu.org>
4610         * vc.el (vc-backend-release): Call vc-system-release.
4612         * vc-sccs.el (vc-sccs-system-release):
4613         Renamed from vc-sccs-backend-release.
4615         * vc-rcs.el (vc-rcs-system-release):
4616         Renamed from vc-rcs-backend-release.
4618         * vc-cvs.el (vc-cvs-system-release):
4619         Renamed from vc-cvs-backend-release.
4621 2000-09-04  Dave Love  <fx@gnu.org>
4623         * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
4624         backend files.
4625         (vc-backend-release): Dispatch to backend functions.
4626         (vc-backend-release-p): Don't mention CVS, RCS.  [The SCCS case
4627         probably needs attention.]
4629         * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
4630         (vc-sccs-backend-release): New function.
4632         * vc-cvs.el (vc-cvs-release): Moved from vc.el.
4633         (vc-cvs-backend-release): New function.
4635         * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
4636         Doc fix.
4637         (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
4638         (vc-default-dired-state-info): New function.
4639         (vc-dired-state-info): Dispatch to backends.
4640         (vc-dired-hook): Doc fix.  Simplify, pending removal of CVS specifics.
4642         * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
4643         from vc.el and renamed.
4645 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4647         * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
4648         (vc-version-other-window, vc-backend-assign-name): Removed
4649         references to vc-latest-version; sometimes changed into
4650         vc-workfile-version.
4652         * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
4653         vc-rcs-master-workfile-version.
4654         (vc-rcs-workfile-version): Use the above.  Don't call
4655         vc-latest-version (that was unreachable code, anyway).
4656         (vc-rcs-fetch-master-properties): Doc fix.
4658         * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
4659         (vc-backend-hook-functions): Removed them from this list, too.
4660         (vc-fetch-properties): Removed.
4661         (vc-workfile-version): Doc fix.
4663         * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
4664         (vc-rcs-workfile-version, vc-rcs-locking-user)
4665         (vc-rcs-uses-locking): Use it.
4667         * vc-hooks.el (vc-consult-rcs-headers):
4668         Moved into vc-rcs-hooks.el, under the name
4669         vc-rcs-consult-headers.
4671         * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
4672         headers.
4673         (vc-cvs-find-master): Use this name only; correct different
4674         versions of the name.
4676         * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
4677         New functions.
4678         (vc-sccs-locking-user): Use the latter.
4680         * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
4681         New functions.
4683         * vc-hooks.el (vc-master-locks, vc-master-locking-user):
4684         Moved into both
4685         vc-rcs-hooks.el and vc-sccs-hooks.el.  These properties and access
4686         functions are implementation details of those two backends.
4688 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4690         * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
4691         (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
4693         * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
4694         (vc-sccs-parse-locks): SCCS-specific code moved here from
4695         vc-hooks.
4697         * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
4698         code moved here from vc-hooks.
4700         * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
4701         into back-end specific parts and removed.  Callers not updated
4702         yet; because I guess these callers will disappear into back-end
4703         specific files anyway.
4705 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4707         * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
4708         (vc-backend-checkout): Changed calls to `vc-checkout-model' to
4709         `vc-uses-locking'.
4711         * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
4712         Store yes/no in the property, and return t/nil.  Updated all
4713         callers.
4715         * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
4716         vc-sccs-uses-locking.  Don't set property.
4717         (vc-sccs-locking-user): Don't set property.
4719         * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
4720         vc-cvs-uses-locking.  Don't set property here; leave that to
4721         vc-hooks.
4722         (vc-cvs-locking-user): Reflect above change.  Streamlined.
4724         * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
4725         vc-rcs-uses-locking.
4726         (vc-rcs-locking-user): Reflect above change.
4728 2000-09-04  Dave Love  <fx@gnu.org>
4730         * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
4732         * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
4734         * vc-hooks.el (vc-checkout-model): Punt to backends.
4736         * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
4738         * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
4740         * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
4741         New functions.
4743         * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
4744         New functions.
4746         * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
4747         (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
4749         * vc-hooks.el (vc-default-locking-user): New function.
4750         (vc-locking-user, vc-workfile-version): Punt to backends.
4752 2000-09-04  Dave Love  <fx@gnu.org>
4754         * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
4755         (vc-master-workfile-version): Moved from vc-hooks.
4757         * vc-rcs-hooks.el: Fix duplicate code in last change.
4759         * vc-rcs-hooks.el: Require vc-hooks when compiling.
4760         (vc-rcs-master-templates): Improve :type.
4761         (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
4762         vc-master-workfile-version): Moved from vc-hooks.
4764         * vc-sccs-hooks.el: Require vc-hooks when compiling.
4765         (vc-sccs-master-templates): Improve :type.
4766         (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
4768         * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
4770         * vc-cvs-hooks.el: Require vc-hooks when compiling.
4771         (vc-cvs-master-templates): Improve :type.  Use
4772         vc-cvs-find-cvs-master.
4773         (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
4774         from vc-hooks.
4775         (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
4777         * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
4778         Moved to vc-cvs-hooks.
4780         * vc-hooks.el: Add doc strings in various places.  Simplify the
4781         minor mode setup.
4782         (vc-handled-backends): New user variable.
4783         (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
4784         simplification.
4786 2000-09-04  Dave Love  <fx@gnu.org>
4788         * vc.el: Some doc fixes for autoloaded and interactive functions.
4789         Fix compilation warnings from ediff stuff.
4790         (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
4792         * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
4794         * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
4796         * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
4798 2000-09-04  Dave Love  <fx@gnu.org>
4800         * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4801         New variable.
4802         (vc-make-backend-function, vc-loadup, vc-call-backend)
4803         (vc-backend-defines): New functions.
4805         * vc-hooks.el: Various doc fixes.
4806         (vc-default-back-end, vc-follow-symlinks): Custom fix.
4807         (vc-match-substring): Function removed.  Callers changed to use
4808         match-string.
4809         (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
4810         Simplify.
4812 2000-09-04  Dave Love  <fx@gnu.org>
4814         * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
4815         type.
4816         (vc-sccs-project-dir, vc-search-sccs-project-dir)
4817         (vc-sccs-registered): Doc fix.
4819         * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
4820         (vc-cvs-registered): Doc fix.
4822         * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
4823         (vc-rcs-registered): Doc fix.
4825 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4827         * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
4829         * vc-hooks.el: vc-registered has been renamed
4830         vc-default-registered.  Some functions have been moved to the
4831         backend specific files.  they all support the
4832         vc-BACKEND-registered functions.
4834 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4836         * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
4838         * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
4840 2000-09-04  Dave Love  <fx@gnu.org>
4842         * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
4843         menu-bar-update-hook.
4845         * help.el (help-manyarg-func-alist): Add
4846         find-operation-coding-system.
4848         * wid-edit.el (widget-sexp-validate): Fix garbled code.
4850         * custom.el (custom-set-variables): Print message about errors in
4851         setting.
4853 2000-09-03  Andrew Innes  <andrewi@gnu.org>
4855         * makefile.w32-in: Change to DOS line endings.
4857 2000-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
4859         * mouse.el (mouse-popup-menubar): Supply the prompt string for
4860         minor-mode keymaps, if they don't have one.
4862 2000-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
4864         * eshell/esh-module.el (eval-when-compile): Don't lose if
4865         esh-module.el's file name is truncated to DOS 8+3 limits.
4867 2000-09-01  John Wiegley  <johnw@gnu.org>
4869         * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
4870         predicate, which caused entries in the completion list to be
4871         doubled.
4873 2000-08-30  John Wiegley  <johnw@gnu.org>
4875         * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
4876         sending to subprocesses.  Also, hook pre-command-hook if
4877         `eshell-send-direct-to-subprocesses' is non-nil.
4878         (eshell-send-direct-to-subprocesses): New config variable.  If t,
4879         subprocess input is send immediately.
4880         (eshell-toggle-direct-send): New function.
4881         (eshell-self-insert-command): New function.
4882         (eshell-intercept-commands): New function.
4883         (eshell-send-input): If direct subprocess sending is enabled,
4884         don't echo any input to the Eshell buffer.  Let the subprocess
4885         handle that.  This requires "stty echo" in bash, for example.
4887 2000-08-28  John Wiegley  <johnw@gnu.org>
4889         * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
4890         completion function for Eshell's implementation of `unset'.
4892 2000-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
4894         * info.el (Info-directory-list): Doc fix.
4896 2000-08-31  Peter Breton  <pbreton@ne.mediaone.net>
4898         * filecache.el (file-cache-add-directory-using-find): Don't quote
4899         wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
4901 2000-08-31  Kenichi Handa  <handa@etl.go.jp>
4903         * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
4904         coding systems.
4906 2000-08-30  Andrew Innes  <andrewi@gnu.org>
4908         * timer.el (run-with-idle-timer): Undo last change, so that timer
4909         is not activated immediately if Emacs is already idle.  Some
4910         existing code relies on this behaviour.
4912 2000-08-30  Miles Bader  <miles@gnu.org>
4914         * frame.el (set-frame-font): Do completion of font-name for
4915         interactive use.
4917 2000-08-30  Kenichi Handa  <handa@etl.go.jp>
4919         * international/quail.el (quail-start-translation): Bind locally
4920         last-command-event, last-command, and this-command.
4921         (quail-start-conversion): Likewise.
4922         (quail-self-insert-command): Fix docstring.
4924 2000-08-29  Gerd Moellmann  <gerd@gnu.org>
4926         * progmodes/executable.el
4927         (executable-make-buffer-file-executable-if-script-p): Check that
4928         buffer contains at least 2 characters.
4930 2000-08-29  Eli Zaretskii  <eliz@is.elta.co.il>
4932         * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
4934 2000-08-29  Dave Love  <fx@gnu.org>
4936         * diff-mode.el (diff-mode) <defgroup>: Add :version.
4937         (diff-mode-shared-map): Bind mouse-2.
4938         (diff-imenu-generic-expression): New variable.
4939         (diff-mode): Use it.
4941         * mouse.el (mouse-major-mode-menu): Use local-key-binding.
4942         (mouse-popup-menubar): Add minor mode menus.
4943         (popup-menu): Check for lookup-key returning number.
4945 2000-08-29  Miles Bader  <miles@gnu.org>
4947         * comint.el (comint-send-input): Create overlays using the proper
4948         front/read-advance arguments.
4950 2000-08-29  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
4952         * ps-print.el: Even/odd pages printing.  Doc fix.
4953         (ps-print-version): New version number (6.0).
4954         (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
4955         (ps-background, ps-begin-file, ps-begin-job): Code fix.
4956         (ps-print-duplex-feature): Variable eliminated.
4957         (ps-even-or-odd-pages): New variable.
4959         * progmodes/ebnf2ps.el: Doc fix.
4960         (ebnf-version): New version (3.3).
4961         (ebnf-user-arrow): Change variable customization to sexp.
4962         (ebnf-user-arrow): Function eliminated.
4963         (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
4965 2000-08-29  Kenichi Handa  <handa@etl.go.jp>
4967         * help.el (help-xref-mule-regexp): New variable.
4968         (help-make-xrefs): Handle help-xref-mule-regexp.
4970         * international/mule-cmds.el (help-xref-mule-regexp-template): New
4971         variable.
4972         (describe-input-method): Temporarily activate the specfied input
4973         method to display the information.
4974         (describe-language-environment): Hyperlinks to mule related items.
4976         * international/mule-diag.el (charset-multibyte-form-string): New
4977         function.
4978         (list-character-sets-1): Use charset-multibyte-form-string.
4979         (describe-character-set): New function.
4980         (describe-coding-system): Hyperlinks to safe character sets.
4982         * international/quail.el (quail-help): New arg PACKAGE.
4983         Hyperlinks to mule related items.
4984         (quail-help-insert-keymap-description): Use
4985         substitute-command-keys instead of describe-bindings.
4986         (quail-translation-help): Hyperlinks to mule related items.
4988 2000-08-28  John Wiegley  <johnw@gnu.org>
4990         * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
4991         have a defsubst call itself.  Made `eshell-flatten-list' back into
4992         a function again.
4994         * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
4995         catch, in case re-centering point at bottom messes up the display.
4996         This happens frequently in Emacs 21, due I believe to variable
4997         line heights.
4999         * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
5000         to call `find-tag-interactive'.
5002         * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
5003         the list of remember directories.
5005 2000-08-28  John Wiegley  <johnw@gnu.org>
5007         * align.el: Test align-region-separate to see if it's a symbol.
5009 2000-08-28  John Wiegley  <johnw@gnu.org>
5011         * eshell/esh-util.el (eshell-flatten-list): Made this function
5012         into a defsubst form.  It gets used very frequently, although
5013         calls don't occur all that often.
5015         * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
5016         examining it.
5018         * eshell/esh-cmd.el (eshell-rewrite-while-command):
5019         (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
5020         `eshell-protect'.
5021         (eshell-copy-handles): Created a new macro for duplicating the
5022         current set of open handles.  This is needed by the looping
5023         functions.
5024         (eshell-do-eval): Fixed while and if, so that the eshell-test-body
5025         is not incorrectly stomped on.
5027         * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
5028         declaration for pcomplete-use-paring.
5029         (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
5030         value of eshell-cmpl-use-paring.
5031         * pcomplete.el (pcomplete-use-paring): New config variable, to
5032         indicate whether paring should be used.
5033         (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
5034         completion alternatives that have already been used.
5036         * eshell/esh-mode.el (eshell-repeat-argument): Added function,
5037         bound to C-c C-y, which will repeat the previous N arguments
5038         (based on prefix argument).
5039         (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
5041         * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
5042         if there is no *Help* buffer.  This is for XEmacs, which renames
5043         its help buffers uniquely.  TODO: Find out what the current buffer
5044         name to delete is.
5046         * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
5047         first entry that correlates to a passwd/group number.  Later
5048         entries (used for group/user name aliasing to multiple IDs) are
5049         ignored.
5051         * eshell/em-xtra.el (eshell/expr):
5052         * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
5053         (eshell-grep, eshell/diff, eshell/locate):
5054         * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
5055         argument list, before passing it to the system command.
5057         * eshell/esh-mode.el (eshell-find-tag): Added a special version of
5058         `find-tag' for use at final position in Eshell buffers (which
5059         otherwise triggers an error on Emacs 21).
5060         (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
5061         buffer, if it is currently bound to `find-tag'.
5063         * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
5064         in the list of matched Makefile names.
5065         (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
5066         directory, prefer its contents to Makefile.
5068         * eshell/em-dirs.el (eshell/cd): cd commands that look up
5069         directory parts (like "cd old new", or "cd =regexp"), are now case
5070         sensitive on non-Windows/DOS platforms.
5072         * eshell/esh-mode.el (eshell-parse-command-input): When a user
5073         types RET after an open delimiter (like "), display a message
5074         indicating that Eshell is waiting for the closing delimiter.
5076         * eshell/esh-var.el (eshell/unset): Added a command for unsetting
5077         environment variables.
5079         * eshell/em-unix.el (eshell/diff): Added logic to fail more
5080         gracefully if the user enters incorrect arguments.
5082         * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
5083         Eshell buffers.
5085         * eshell/esh-var.el (eshell-interpolate-variable):
5086         * eshell/esh-mode.el (eshell-move-argument):
5087         * eshell/em-unix.el (eshell-du-sum-directory):
5088         * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
5089         * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
5090         (not (= ...)).
5092         * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
5093         to ensure the `preserve' flag gets propagated when doing recursive
5094         directory copies.
5096 2000-08-28  Stefan Monnier  <monnier@cs.yale.edu>
5098         * eshell/em-hist.el (eshell-put-history, eshell-get-history):
5099         Don't convert \n into \0177 in memory.
5100         (eshell-read-history, eshell-write-history): Convert \n to \0177,
5101         and back again, when reading and writing.
5103 2000-08-28  Eli Zaretskii  <eliz@is.elta.co.il>
5105         * eshell/esh-util.el (eshell-processp): Added to relieve constant
5106         testing of `fboundp' on `processp'.
5108         * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
5109         (eshell/jobs): Don't call process-list if it is not bound.
5110         (eshell-gather-process-output): Support systems where async
5111         subprocesses aren't supported.
5112         (eshell-scratch-buffer, eshell-last-sync-output-start): New
5113         variables.
5115         * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
5116         eshell-do-eval returns t.
5117         (eshell-do-pipelines-synchronously): New defmacro.
5118         (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
5119         when async subprocesses aren't supported.
5120         (eshell-do-eval): Use eshell-processp.  Don't throw eshell-defer
5121         if async subprocesses aren't supported.
5122         (eshell-resume-command): Don't assume STATUS is a string.
5124         * eshell/em-unix.el (eshell/rm): Use eshell-processp.
5126         * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
5127         (eshell-close-target, eshell-get-target): Use eshell-processp.
5128         (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
5129         fix.
5130         (eshell-get-target, eshell-create-handles): Doc fix.
5132 2000-08-28  Miles Bader  <miles@lsi.nec.co.jp>
5134         * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
5135         criterion to include commands that output something, as long as it
5136         leaves both the command and the end-of-buffer visible when the
5137         command has exited.
5138         (eshell-review-quick-commands): Adjust the help doc string
5139         accordingly.
5141 2000-08-28  Peter Breton  <pbreton@ne.mediaone.net>
5143         * locate.el (locate): Cleaned up locate command's interactive prompting
5144         Thanks to Fran\e,Ag\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
5146         * filecache.el (file-cache-case-fold-search): New variable
5147         (file-cache-assoc-function): New variable
5148         (file-cache-minibuffer-complete): Use file-cache-assoc-function.
5149         Use file-cache-case-fold-search variable
5150         (file-cache-add-file): Use file-cache-assoc-function
5151         (file-cache-delete-file): likewise
5152         (file-cache-directory-name): likewise
5153         (file-cache-debug-read-from-minibuffer): likewise
5155 2000-08-28  Gerd Moellmann  <gerd@gnu.org>
5157         * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
5158         (abbrev-table-name): New function.
5159         (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
5160         If non-nil list local abbrev, only.
5162 2000-08-28  Stanislav Shalunov  <shalunov@internet2.edu>
5164         * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
5165         from Gnus support code, and use special article copy buffer
5166         `(gnus-original-article-buffer)' instead.  This allows to get rid
5167         of article-hide-headers usage (which breaks in the latest Gnus
5168         version).  Thanks to Detlev Zundel.
5170 2000-08-28  Kenichi Handa  <handa@etl.go.jp>
5172         * international/quail.el (quail-use-package): Hide "... loaded"
5173         message.
5174         (quail-start-translation, quail-start-conversion): Likewise.
5176         * international/kkc.el (kkc-region): Hide "... loaded" message.
5178 2000-08-27  Dave Love  <fx@gnu.org>
5180         * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
5182 2000-08-27  Miles Bader  <miles@gnu.org>
5184         * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
5186 2000-08-27  Kenichi Handa  <handa@etl.go.jp>
5188         * international/ja-dic-cnv.el (skkdic-convert): Insert (require
5189         'ja-dic-cnv), not (require 'skkdic-cnv).
5191 2000-08-26  Miles Bader  <miles@gnu.org>
5193         * faces.el (face-x-resources): Add entry for :inherit.
5194         * cus-face.el (custom-face-attributes): Add support for :inherit
5195         attribute.  Add support for relative face heights.
5196         (custom-face-attributes-get): Treat `nil' as being a default value
5197         for :inherit (as well as `unspecified').
5199         * faces.el (set-face-attribute): Update doc string.
5200         (face-attribute-name-alist): Add :inherit.
5201         (face-valid-attribute-values): Handle :inherit.
5202         (face-read-string): Rephrase prompt to be less confusing.
5203         Assume that DEFAULT is a string, since we must return a string.
5204         (face-read-integer): Use `format' to turn DEFAULT into an
5205         acceptable default for face-read-string.  Match NEW-VALUE against
5206         the string "unspecified", not the symbol `unspecified', since
5207         that's what face-read-string returns.
5208         (read-face-attribute): Lookup a name for old-value in valid, and
5209         use it as a default if we find one.  Treat all values from
5210         face-read-string as strings.  If the default is used, don't do any
5211         more processing on the value, just use the old value directly.
5212         (read-face-and-attribute, modify-face): Tweak prompt.
5213         (read-face-name): Don't assume prompt ends with a space.
5215         * faces.el (describe-face): Add support for :inherit attribute.
5217 2000-08-25  Kenichi Handa  <handa@etl.go.jp>
5219         * terminal.el (terminal-emulator): Fix args to `concat'.  Now
5220         concat doesn't accept interger.
5222         * international/kkc.el: Remove SKK from Keywords.  Require
5223         ja-dic-utl instead of skkdic-utl.
5225         * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
5226         Provide ja-dic-cnv instead of skkdic-cnv.
5227         (ja-dic-filename): Renamed from skkdic-filename.  Referers changed
5228         (iso-2022-7bit-short): Add safe-charsets property.
5229         (skkdic-convert-postfix): Search Japanese chou-on character in
5230         addition to Hiragana character.
5231         (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
5232         (skkdic-convert): Change file names from skkdic.el to ja-dic.el
5233         (batch-skkdic-convert): Likewise.
5235         * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
5236         Provide ja-dic-utl instead of skkdic-utl.
5237         (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
5239 2000-08-24  Dave Love  <fx@gnu.org>
5241         * disp-table.el (standard-display-default): Make the test of `l'
5242         useful.
5244         * language/european.el ("Latin-8", "Latin-9"): Add input methods,
5245         mod sample text.
5247         * international/iso-ascii.el: Make pilcrow convenient string
5248         consistent with section.
5249         (iso-ascii-display): Set up multibyte characters as well as
5250         unibyte.
5252 2000-08-24  Kenichi Handa  <handa@etl.go.jp>
5254         * international/mule-cmds.el (reset-language-environment): Set
5255         default-process-coding-system to '(undecided . iso-latin-1), which
5256         makes process I/O almost consistent with file I/O.   Call this
5257         function when mule-cmds.el[c] is loaded.
5259 2000-08-22  Andrew Innes  <andrewi@gnu.org>
5261         * makefile.w32-in: New file.
5263 2000-08-22  Miles Bader  <miles@lsi.nec.co.jp>
5265         * comint.el (comint-output-filter): Compare end of
5266         comint-last-output-overlay with the start of the newly inserted
5267         text, not the end, when deciding whether to extend it.
5268         Set saved-point's insertion type to advance after insertion.
5270         * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
5271         since this is now done independently of font-lock mode.
5273 2000-08-21  Gerd Moellmann  <gerd@gnu.org>
5275         * server.el (server-kill-new-buffers): New user option.
5276         (server-existing-buffer): New buffer-local variable.
5277         (server-visit-files): When using an existing buffer, set
5278         server-existing-buffer to t.
5279         (server-buffer-done): If server-kill-new-buffers is t, kill the
5280         buffer, unless it was already present before visiting it with
5281         Emacs server.
5283 2000-08-21  Eli Zaretskii  <eliz@is.elta.co.il>
5285         * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
5286         even if the display doesn't support colors: some displays will
5287         support bold/underline faces.
5289 2000-08-21  Gerd Moellmann  <gerd@gnu.org>
5291         * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
5293         * startup.el (command-line): If user's init file had an error,
5294         add explanatory text to *Messages*.
5296 2000-08-21  Kenichi Handa  <handa@etl.go.jp>
5298         * man.el (Man-getpage-in-background): Decode the process output by
5299         the system locale coding system.
5301 2000-08-20  Dave Love  <fx@gnu.org>
5303         * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
5304         Don't test x-popup-menu.
5305         (function) <complete-function>: Complete only fbound symbols.
5306         <validate, value>: New.
5307         (variable) <complete-function>: Complete only bound symbols.
5308         (coding-system): Add :base-only, :complete-function, :validate,
5309         :value, :prompt-match.
5310         (widget-coding-system-prompt-value): Use read-coding-system and
5311         act on :base-only.
5312         (editable-field): Add :help-echo.
5313         (widget-push-button-gui, widget-push-button-cache)
5314         (widget-gui-action, widget-editable-list-gui): COmment out, along
5315         with uses.
5316         (widget-at): Make arg optional.
5317         (widget-echo-help): Adjust for current help-echo calling sequence.
5318         (widget-specify-field, widget-specify-button)
5319         (widget-specify-insert, widget-get-sibling, widget-image-find)
5320         (widget-convert, widget-insert, widget-leave-text)
5321         (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
5322         (widget-setup, widget-field-find, widget-before-change)
5323         (widget-after-change, widget-default-complete)
5324         (widget-default-create, widget-default-delete)
5325         (widget-push-button-value-create, editable-field)
5326         (widget-field-prompt-value, widget-field-validate)
5327         (widget-choice-value-create, widget-choice-action)
5328         (widget-choice-validate, widget-checklist-add-item)
5329         (widget-radio-add-item, widget-radio-chosen)
5330         (widget-radio-value-inline, widget-editable-list-value-create)
5331         (widget-editable-list-entry-create)
5332         (widget-documentation-link-add)
5333         (widget-documentation-string-value-create)
5334         (widget-regexp-validate, widget-file-complete)
5335         (widget-sexp-validate, widget-plist-convert-widget)
5336         (widget-plist-convert-widget, widget-alist-convert-widget)
5337         (widget-alist-convert-widget, widget-color-complete): Simplify,
5338         particularly to avoid bindings which aren't optimized out.
5340         * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
5341         Doc fix.
5342         (down-list, backward-up-list, up-list, kill-sexp)
5343         (backward-kill-sexp, mark-sexp): Make arg optional.
5344         (lisp-complete-symbol): Add optional arg PREDICATE.
5346         * cus-start.el: Add display-buffer-reuse-frames,
5347         file-coding-system-alist.
5349 2000-08-20  Gerd Moellmann  <gerd@gnu.org>
5351         * startup.el (command-line): Clear realized faces after
5352         modifying TTY color mappings.
5354 2000-08-20  Miles Bader  <miles@gnu.org>
5356         * faces.el (face-attr-match-p): Don't return true if ATTRS are
5357         merely a subset of FACE's attributes.
5359 2000-08-19  Miles Bader  <miles@gnu.org>
5361         * comint.el (comint-output-filter): Save the point with a marker,
5362         not just a buffer position.
5364         * international/mule.el (set-buffer-process-coding-system): Make
5365         interactive prompt less confusing.
5367 2000-08-19  Gerd Moellmann  <gerd@gnu.org>
5369         * hilit-chg.el: General cleanup of doc strings, comments and
5370         code formatting.
5372 2000-08-19  Miles Bader  <miles@gnu.org>
5374         * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
5375         Compiler macro removed; beginning-of-line is no longer always
5376         equivalent to forward-line, in the presence of fields.
5378         * comint.el (comint-output-filter): Remove ad-hoc saving of
5379         restriction, and just use save-restriction, now that it works
5380         correctly.  Don't adjust comint-last-input-start to account for
5381         our insertion; it shouldn't have moved because we don't use
5382         insert-before-markers anymore.  Comment out call to
5383         `force-mode-line-update'; why is it here?
5385         * gud.el (gud-basic-call): Temporarily widen gud comint buffer
5386         while checking for prompt to delete.  Use `forward-line 0'
5387         instead of beginning-of-line.
5388         (gud-filter): Temporarily widen gud comint buffer while
5389         examining output.
5391 2000-08-18  Stefan Monnier  <monnier@cs.yale.edu>
5393         * progmodes/sh-script.el: Big bag of typos.
5395         * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
5396         check since ispell-process is not bound when ispell is not yet loaded.
5398 2000-08-18  Dave Love  <fx@gnu.org>
5400         * image.el (find-image): Copy `spec' before using plist-put.
5402 2000-08-18  Gerd Moellmann  <gerd@gnu.org>
5404         * textmodes/ispell.el (ispell-dictionary-alist-6): Add
5405         `portugues'.
5407         * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
5408         backward-kill-sexp, analogous to kill-sexp.
5410         * progmodes/icon.el (icon-indent-line)
5411         (icon-is-continuation-line): Handle comments specially.
5413 2000-08-17  Ken Stevens <k.stevens@ieee.org>
5415         * ispell.el: Set to standard author/maintainer/keyword fields.
5416         Fine tuning to menu map appearance and operation, and added help.
5417         Remove `start' and `end' error messages when compiling.
5418         (ispell-choices-win-default-height): Fixed comment string.
5419         (ispell-dictionary-alist-1): Fixed regexp in castellano and
5420         castellano8 dictionaries.
5421         (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
5422         (ispell-dictionary-alist-4): Fixed regexp in francais-tex
5423         dictionary, added italiano dictionary.
5424         (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
5425         word character
5426         (ispell-tex-skip-alists): Added psfig support.
5427         (ispell-skip-html): Renamed from ispell-skip-sgml.
5428         (ispell-begin-skip-region-regexp, ispell-skip-region)
5429         (ispell-minor-check): Improved html skipping support to skip across
5430         code, and recognize `&' commands without propper `;' syntax;
5431         (ispell-process-line): Fix alignment error when manually
5432         correcting spelling.
5433         (ispell): Fix comment string.
5434         (ispell-add-per-file-word-list): Always put word list on new line.
5436 2000-08-17  Gerd Moellmann  <gerd@gnu.org>
5438         * format.el (format-encode-run-method): Fix error message to say
5439         `encode' instead of `decode'.  Use save-window-excursion around
5440         shell-command-on-region as in format-decode-run-method because
5441         shell-command-on-region can display a buffer with error output.
5442         (format-decode): Don't record undo information for the decoding.
5443         (format-annotate-function): Add parameter FORMAT-COUNT.  Make
5444         that number part of the temporary buffer name so that more than
5445         one decoding using a temporary buffer can happen safely.
5447         * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
5448         of `A-z' in the regexp.
5450         * hilit-chg.el: Fix typos in commentary.
5452         * help.el (view-emacs-news): Rewritten for new naming scheme
5453         for old NEWS files.
5455         * startup.el (command-line): Pop to *Messages* in case an error
5456         is signaled while loading user-init-file.
5458 2000-08-17  Andreas Schwab  <schwab@suse.de>
5460         * files.el (insert-directory): Don't lose original file name,
5461         undoing an undocumented change.
5463 2000-08-17  Alex Schroeder  <alex@gnu.org>
5465         * sql.el (sql-magic-go): Use comint-bol.
5466         (sql-copy-column): Use comint-line-beginning-position.
5467         (comint-line-beginning-position): Define a replacement for
5468         comint-line-beginning-position if it is not fboundp.
5470 2000-08-17  Alex Schroeder  <alex@gnu.org>
5472         * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
5473         it didn't have any effect anyway.
5475 2000-08-17  Alex Schroeder  <alex@gnu.org>
5477         * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
5478         --pset and pager=off instead of sending \\o|cat at the beginning
5479         of the session.
5481 2000-08-17  Miles Bader  <miles@gnu.org>
5483         * progmodes/octave-inf.el: Add compatibility definition of
5484         comint-line-beginning-position.
5486 2000-08-17  Kenichi Handa  <handa@etl.go.jp>
5488         * startup.el (normal-top-level): Look in each dir in load-path for
5489         a leim-list.el file too.  This assures of loading leim-list.el
5490         that is created at Emacs installation time even if a user have his
5491         own leim-list.el.
5493 2000-08-17  Miles Bader  <miles@gnu.org>
5495         * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
5496         foreground color to black if the background is dark.
5498 2000-08-16  Stefan Monnier  <monnier@cs.yale.edu>
5500         * loadhist.el (unload-feature): Typo.
5502         * finder.el (finder-compile-keywords):
5503         * cus-dep.el (custom-make-dependencies): Add local-variable settings
5504         to the generated file.
5506         * mail/mh-e.el (mh-make-local-vars):
5507         Replace make-variable-buffer-local with make-local-variable.
5509         * play/landmark.el:
5510         * options.el (Edit-options-{set,toggle,t,nil}):
5511         * mail/mailabbrev.el (mail-abbrevs-mode):
5512         * textmodes/tex-mode.el (tex-expand-files):
5513         * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
5515         * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
5517         * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
5518         (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
5519         Allow going past the last element.
5520         * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
5521         (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
5522         (cvs-mouse-toggle-mark): Don't move point.
5523         (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
5525         * progmodes/compile.el (grep): Provide a default set of files.
5526         (next-error): Docstring fix.
5527         (compilation-find-file): Avoid find-file (fails in a dedicated window).
5529         * emacs-lisp/easy-mmode.el (define-minor-mode):
5530         Use `symbol-value' to keep the byte-compiler quiet.
5532         * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
5533         (diff-find-source-location): New fun, extracted from diff-goto-source.
5534         (diff-goto-source): Use it.
5535         (diff-next-complex-hunk, diff-filter-lines): New function.
5536         (diff-apply-hunk): New command.
5538         * smerge-mode.el (smerge-mode-menu): Doc fix.
5540         * msb.el (msb-mode): Define it in terms of define-minor-mode.
5542 2000-08-16  Dave Love  <fx@gnu.org>
5544         * windmove.el (windmove) <defgroup>: Add :version.
5546         * net/goto-addr.el: Don't require browse-url.  Require thingatpt.
5547         (goto-address-fontify-p, goto-address-highlight-p)
5548         (goto-address-url-face, goto-address-url-mouse-face)
5549         (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
5550         (goto-address-url-regexp): Use thing-at-point-url-regexp.
5551         (goto-address-fontify, goto-address-at-mouse): Simplify,
5552         (goto-address-at-point): browse-url-url-at-point,
5553         goto-address-find-address-at-point can return nil.
5554         (goto-address-find-address-at-point): Return nil on failure.
5556         * align.el (align) <defgroup>: Add :version.
5558         * calculator.el (calculator): Add :version.
5559         (calculator): Use two lines for calculator window if `modeline'
5560         face is boxed.
5562         * play/5x5.el: Doc fixes.
5563         (5x5) <defgroup>: Add :version.
5565         * play/fortune.el (fortune) <defgroup>: Add :version.
5566         (fortune-append): Fix error message.
5567         (fortune-from-region): Doc fix.
5569         * play/pong.el (pong): Doc fix.
5571         * play/morse.el: Keywords, commentary, autoloads.
5573 2000-08-16  Eli Zaretskii  <eliz@is.elta.co.il>
5575         * desktop.el (desktop-save): Don't look at symbol-value of a
5576         member of minor-mode-alist, unless it is boundp.
5578 2000-08-16  Sam Steingold  <sds@gnu.org>
5580         * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
5581         `while'; use `with-current-buffer' instead of `save-excursion'.
5582         Removed unnecessary kludges now that "*Buffer List*" is excluded.
5584 2000-08-16  Kenichi Handa  <handa@etl.go.jp>
5586         * international/ccl.el (declare-ccl-program): Docstring modified.
5587         (ccl-execute-with-args): Likewise.
5589 2000-08-16  Miles Bader  <miles@gnu.org>
5591         * progmodes/sql.el: Add compatibility definition of
5592         comint-line-beginning-position.
5594 2000-08-15  Gerd Moellmann  <gerd@gnu.org>
5596         * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
5597         'buffer-menu' property.
5598         (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
5599         fails.
5600         (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
5601         buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
5602         wasn't killed.
5604         * buff-menu.el (list-buffers-noselect): Don't display the
5605         *Buffer List* buffer.
5607         * font-lock.el: Require jit-lock to prevent a very late
5608         `Loading jit-lock' message.
5610         * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
5611         * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
5612         mail address.
5614 2000-08-15  Miles Bader  <miles@gnu.org>
5616         * textmodes/ispell.el (ispell-graphic-p): New constant.
5617         (ispell-choices-win-default-height, ispell-help): Use
5618         `ispell-graphic-p' instead of `xemacsp'.
5620 2000-08-15  Dave Love  <fx@gnu.org>
5622         * simple.el: Autoload widget-convert when compiling.
5623         (mail-user-agent): Doc fix.
5625         * help.el (function-called-at-point, variable-at-point): Use
5626         with-syntax-table.
5627         (help-manyarg-func-alist): Add insert-and-inherit.
5629         * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
5631         * delsel.el (delsel-unload-hook): New function.
5633         * find-file.el: Doc fixes.  Move provide to end.
5634         (ff) <defgroup>: Add :link.
5635         (ff-goto-click): Deleted.
5636         (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
5637         Use mouse-set-point.
5639         * textmodes/tildify.el: Doc fixes.
5640         (tildify) <defgroup>: Add:version.
5642         * progmodes/glasses.el (glasses) <defgroup>: Add :version.
5643         (glasses-custom-set): Use set-default, not set.
5644         (minor-mode-alist): Propertize the lighter.
5645         (glasses-mode): Provide optional arg.
5647         * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
5648         (global-cwarn-mode): Don't make it a user option.  Unquote lambda.
5649         (cwarn-font-lock-feature-keywords-alist): Don't make it a user
5650         option.  Provide :type.
5651         (cwarn-configuration): Provide :type.
5652         (cwarn-mode): Doc fix.
5654         * add-log.el (change-log-merge): Doc fix.
5655         (change-log-redate): New command.
5657         * net/browse-url.el (browse-url-filename-alist): Add a clause for
5658         Doze and Dog.
5659         (browse-url): Use dolist, not mapcar.
5660         (browse-url-at-point): Check for null url.
5661         (browse-url-event-buffer, browse-url-event-point): Functions
5662         deleted.
5663         (browse-url-at-mouse, browse-url-netscape): Simplify.
5665         * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
5666         modes.
5667         (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
5668         Fix previous change to mapcan.
5669         (msb--init-file-alist, msb--add-separators)
5670         (msb--make-keymap-menu): Simplify.
5671         (msb--choose-file-menu): Use copy-sequence.
5672         (msb-mode-map): Add title to keymap.
5673         (msb-unload-hook): New function.
5675         * bs.el: Fix indentation.
5676         (bs) <defgroup>: Add :links.
5677         (bs-show): Doc fix.
5678         (bs-apply-sort-faces): Don't use window-system.
5679         (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
5681 2000-08-15  Eli Zaretskii  <eliz@is.elta.co.il>
5683         * calendar/timeclock.el (timeclock-file): Run .timelog through
5684         convert-standard-filename.
5686 2000-08-14  Gerd Moellmann  <gerd@gnu.org>
5688         * emacs-lisp/authors.el: New file.
5690         * paren.el (show-paren-priority): New user option.
5691         (show-paren-function): Set overlay priorities to
5692         show-paren-priority.
5694 2000-08-14  Miles Bader  <miles@gnu.org>
5696         * comint.el (comint-bol): Use `forward-line 0' instead of calling
5697         beginning-of-line with inhibit-field-text-motion bound.
5699 2000-08-14  Gerd Moellmann  <gerd@gnu.org>
5701         * calendar/timeclock.el: New file.
5703 2000-08-14  David Ponce  <david@dponce.com>
5705         * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
5706         `widget-button-click'. so that one can use left mouse button to
5707         click on dialog buttons.
5709 2000-08-14  Emmanuel Briot  <briot@gnat.com>
5711         * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
5712         identifiers, since XML is case sensitive
5714 2000-08-12  Miles Bader  <miles@gnu.org>
5716         * comint.el (comint-output-filter): Don't bother frobbing
5717         window-start, it doesn't seem to be necessary.
5719         * comint.el (comint-send-string, comint-send-region): Make into
5720         real functions.  Snapshot the prompt before sending.
5722 2000-08-11  Eli Zaretskii  <eliz@is.elta.co.il>
5724         * info.el (Info-find-emacs-command-nodes): Rewrite to use
5725         technique similar to Info-index, instead of relying on specific
5726         names of relevant Index nodes.
5727         (Info-goto-emacs-command-node): Bind Info-history to nil when
5728         going to the first node found by Info-find-emacs-command-nodes.
5730 2000-08-11  Eli Zaretskii  <eliz@is.elta.co.il>
5732         * menu-bar.el (menu-bar-help-menu): Add a :help string.
5734 2000-08-10  Miles Bader  <miles@gnu.org>
5736         * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
5738 2000-08-10  Eli Zaretskii  <eliz@is.elta.co.il>
5740         * info.el (Info-file-list-for-emacs): More elements for the
5741         autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
5742         and woman manuals.
5744 2000-08-10  Miles Bader  <miles@lsi.nec.co.jp>
5746         * comint.el (comint-send-input): Make the newline boundary overlay
5747         rear-nonsticky.  Use `insert' instead of `insert-before-markers'.
5748         (comint-output-filter): Use `insert' instead of
5749         `insert-before-markers'.  Extend comint-last-output-overlay when
5750         necessary since we can't rely on insert-before-markers to do it.
5751         * gud.el (gud-filter): Use `with-current-buffer' instead of
5752         save-excursion when inserting the output, so that point gets
5753         updated correctly; the old method relied on a rather dodgy
5754         side-effect of comint-output-filter to avoid the effect of
5755         save-excursion.
5757 2000-08-10  Eli Zaretskii  <eliz@is.elta.co.il>
5759         * files.el (recover-file): Call insert-directory instead of
5760         invoking `ls' directly.
5762 2000-08-10  Miles Bader  <miles@gnu.org>
5764         * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
5765         (comint-last-prompt-overlay): New variables.
5766         (comint-output-filter): Implement prompt highlighting.
5767         (comint-snapshot-last-prompt): New function.
5768         (comint-send-input): Snapshot the last prompt.
5769         Use comint-highlight-input-face.
5770         (comint-highlight-input-face): Renamed from `comint-highlight-face'.
5771         Use defface instead of defcustom.
5772         (send-invisible, comint-send-eof): Snapshot the last prompt.
5773         (comint-delchar-or-maybe-eof): Use comint-send-eof.
5774         (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
5776 2000-08-09  Stefan Monnier  <monnier@cs.yale.edu>
5778         * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
5779         (regexp-opt-group): Use a list of chars for `letters'.
5780         (regexp-opt-charset): `chars' is now a list of chars.
5781         Use a char-table rather than a vector so it works for multibyte chars.
5783         * pcvs.el (cvs-menu): Don't move point.  Use popup-menu.
5784         Set cvs-minor-current-files to the selected fileinfo.
5785         (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
5786         (cvs-mode-insert): Manually macroexpand `ignore-errors'.
5788 2000-08-09  Eli Zaretskii  <eliz@is.elta.co.il>
5790         * files.el (insert-directory): Don't call access-file on
5791         directories on DOS and Windows.
5793 2000-08-09  Kenichi Handa  <handa@etl.go.jp>
5795         * international/ccl.el (ccl-embed-data): Make ccl-program-vector
5796         longer if necessary.
5797         (ccl-embed-code): Call ccl-embed-data to store CODE in
5798         ccl-program-vector.
5800 2000-08-09  Miles Bader  <miles@gnu.org>
5802         * comint.el (comint-output-filter): Properly handle the case where
5803         the text surrounded by comint-last-output-overlay was deleted.
5805 2000-08-08  Gerd Moellmann  <gerd@gnu.org>
5807         * info.el (Info-insert-dir): Use Info-additional-directory-list if
5808         non-nil.
5809         (Info-file-list-for-emacs): Remove "info" from the list because
5810         that leads to trying to use the documentation from file `info'
5811         in various situations where it isn't appropriate, for instance
5812         C-h C-k C-h i.
5814         * ffap.el (ffap-read-file-or-url-internal): Handle case that
5815         DIR and/or STRING are nil.
5817         * progmodes/compile.el (compilation-setup): Make variable
5818         compilation-error-screen-columns buffer-local, as some comment
5819         in the code suggests it should be.
5821         * files.el (auto-mode-interpreter-regexp): New variable.
5822         (set-auto-mode): Use it.
5824         * indent.el (indent-for-tab-command): Doc fix.
5826         * mouse-sel.el (mouse-sel-mode): Doc fix.
5828         * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
5829         labels.
5831         * help.el (print-help-return-message): When
5832         display-buffer-reuse-frames is set, let the help window been quit,
5833         instead of deleting it, which might delete a reused frame.
5835 2000-08-08  Eli Zaretskii  <eliz@is.elta.co.il>
5837         * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
5838         rename a directory to a name that differs only by its letter case.
5840 2000-08-08  Kenichi Handa  <handa@etl.go.jp>
5842         * international/quail.el (quail-define-rules): Handle Quail decode
5843         map correctly.  Add code for supporting annotations.
5844         (quail-install-decode-map): New function.
5845         (quail-defrule-internal): New optional arguments decode-map and
5846         props.
5847         (quail-advice): New function.
5849 2000-08-07  Sam Steingold  <sds@gnu.org>
5851         * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
5852         `defconst', `define-condition', `with-slots'.
5853         * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
5855 2000-08-03  Miles Bader  <miles@gnu.org>
5857         * comint.el (comint-use-prompt-regexp-instead-of-fields):
5858         New variable.
5859         (comint-prompt-regexp, comint-get-old-input): Document dependence on
5860         comint-use-prompt-regexp-instead-of-fields.
5861         (comint-send-input): Add `input' field property to stuff we send to
5862         the process, if comint-use-prompt-regexp-instead-of-fields is nil.
5863         (comint-output-filter): Add `output' field property to process
5864         output, if comint-use-prompt-regexp-instead-of-fields is nil.
5865         (comint-replace-by-expanded-history)
5866         (comint-get-old-input-default, comint-show-output)
5867         (comint-backward-matching-input, comint-forward-matching-input)
5868         (comint-next-prompt, comint-previous-prompt):  Use field
5869         properties if comint-use-prompt-regexp-instead-of-fields is nil.
5870         (comint-line-beginning-position): New function.
5871         (comint-bol): Use comint-line-beginning-position.  Make ARG optional.
5872         (comint-replace-by-expanded-history-before-point): Use
5873         comint-line-beginning-position and line-end-position.
5874         (comint-last-output-overlay): New variable.
5875         (comint-mode): Make `comint-last-output-overlay' buffer-local.
5877         * shell.el (shell-prompt-pattern): Doc change.
5878         (shell-backward-command): Use line-beginning-position.
5880         * gud.el (gud-gdb-complete-command): Use
5881         comint-line-beginning-position.
5883         * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
5884         comint-bol doesn't actually go to the beginning of the line.
5886         * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
5887         if comint-use-prompt-regexp-instead-of-fields is non-nil.
5888         (try-expand-line-all-buffers): Likewise.
5890         * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
5891         explicitly matching comint-prompt-regexp.
5892         (sql-copy-column): Use comint-line-beginning-position instead of
5893         explicitly matching comint-prompt-regexp.
5895         * progmodes/octave-inf.el (inferior-octave-complete): Use
5896         comint-line-beginning-position.
5898         * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
5900         * progmodes/idlw-shell.el (idlwave-shell-send-command): When
5901         looking for a prompt, use `forward-line 0' instead of
5902         `beginning-of-line', to avoid getting caught by an input field.
5904 2000-08-07  Gerd Moellmann  <gerd@gnu.org>
5906         * files.el (shell-quote-wildcard-pattern): Make sure to return
5907         PATTERN, in the Unix case.
5909 2000-08-07  Eli Zaretskii  <eliz@is.elta.co.il>
5911         * play/zone.el (zone): Discard any pending input before running
5912         the randomly-chosen pgm.
5914 2000-08-07  Kenichi Handa  <handa@etl.go.jp>
5916         * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
5917         checking the existence of any multibyte characters.
5919 2000-08-06  Gerd Moellmann  <gerd@gnu.org>
5921         * help.el (describe-mode): Test minor-mode symbol for being
5922         bound before testing its value for being nil.
5924         * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
5925         `first', `second', and `third'.
5927         * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
5928         (second): Make it an alias for `cadr'.
5930 2000-08-06  Eli Zaretskii  <eliz@is.elta.co.il>
5932         * bs.el (bs-apply-sort-faces): Don't use window-system, since all
5933         types of display support faces now.
5935 2000-08-05  Gerd Moellmann  <gerd@gnu.org>
5937         * pcvs.el (require): Require `cl' during compilation, only.
5939         * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
5940         (toplevel): Remove `remq' and `remove' from autoloads.
5941         (cl-fake-autoloads): New variable.  If set, arrange for an error
5942         when CL functions etc. are autoloaded.
5944 2000-08-04  Eli Zaretskii  <eliz@is.elta.co.il>
5946         * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
5948         * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
5949         popped up, but the user clicks outside the menu, return an empty
5950         regexp (that causes unhighlight-regexp to have no effect).
5952         * menu-bar.el (menu-bar-games-menu): Add Zone.
5954         * hi-lock.el (toplevel): Require font-lock.
5956 2000-08-03  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
5958         * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
5959         (ebnf-8-bit-chars): New var for bug fix.
5960         (ebnf-string): Bug fix.
5962 2000-08-03  Sam Steingold  <sds@gnu.org>
5964         * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
5965         instead of `buffer-string'.
5966         (require 'cl): Always, not just when compiling.
5967         `ignore-errors' in `interactive', `list*', `defun*' &c make this
5968         necessary.
5970 2000-08-03  Eli Zaretskii  <eliz@is.elta.co.il>
5972         * international/mule-cmds.el (select-safe-coding-system): Make
5973         the message text about selecting a safe coding system more clear.
5975 2000-08-02  Gerd Moellmann  <gerd@gnu.org>
5977         * hi-lock.el: New file.
5979         * play/zone.el: New file.
5981         * replace.el (occur): Set tab-width in the *Occur* buffer to the
5982         value of tab-width in the original buffer.  Choose a line number
5983         format that's a multiple of the original buffer's tab width, so
5984         that lines appear right.
5986         * textmodes/ispell.el (ispell): New function, replacing an alias.
5987         Spell-check active region if in transient-mark-mode and mark
5988         is active; otherwise spell-check buffer.
5990 2000-08-02  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
5992         * ps-mule.el: Fix a customization problem on
5993         ps-mule-font-info-database-default.
5995 2000-08-02  Eli Zaretskii  <eliz@is.elta.co.il>
5997         * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
5998         display-mouse-p instead of window-system.
5999         (ebrowse-member-mode-map): Ditto.
6001 2000-08-01  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6003         * progmodes/ebnf2ps.el: Update ps-print functions call.
6004         Indentation fix.  Doc fix.
6005         (ebnf-version): New version number (3.2).
6006         (ebnf-format-color, ebnf-begin-job): Code fix.
6008 2000-08-01  Eli Zaretskii  <eliz@is.elta.co.il>
6010         * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
6011         font lock support on window-system.
6012         (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
6014         * textmodes/ispell.el (ispell-highlight-spelling-error): Use
6015         display-color-p, if fboundp, instead of window-system.
6017 2000-07-31  Eli Zaretskii  <eliz@is.elta.co.il>
6019         * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
6020         instead of window-system.
6022         * wid-edit.el (widget-choose): Use display-mouse-p instead of
6023         window-system.
6024         (widget-choice-mouse-down-action): Use display-popup-menus-p
6025         instead of window-system.
6027         * strokes.el (strokes-file): Run the file name through
6028         convert-standard-filename.
6029         (strokes-mode): Call display-mouse-p instead of looking at
6030         window-system.  Change the error message accordingly.
6032         * progmodes/cpp.el (toplevel): Support faces on tty's.
6034         * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
6035         (lm-plot-square, lm-init-display): Don't use window-system.
6037         * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
6038         (gomoku-plot-square, gomoku-init-display): Don't use window-system.
6040         * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
6041         instead of looking at window-system.
6043 2000-07-30  Gerd Moellmann  <gerd@gnu.org>
6045         * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
6046         of testing if iswitchb-prepost-hooks is bound, because the
6047         latter will always be true when invoking a recursive minibuffer
6048         from an active Iswitchb buffer.
6050 2000-07-30  Eli Zaretskii  <eliz@is.elta.co.il>
6052         * files.el (shell-quote-wildcard-pattern): New function.
6053         (insert-directory): Call it.  Only prepend "\" to command on Unix
6054         and GNU/Linux systems.
6056 2000-07-30  Gerd Moellmann  <gerd@gnu.org>
6058         * eshell/esh-groups.el: Change custom :link file names
6059         from `eshell.info' to `eshell'.
6061 2000-07-30  Francis Wright  <fjw@maths.qmw.ac.uk>
6063         * dired.el (dired-build-subdir-alist): Expand subdirectory names
6064         correctly in recursive ange-ftp listings.
6066 2000-07-30  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6068         * ps-print.el: Fix bug 1: if ps-font-size-internal,
6069         ps-header-font-size-internal and
6070         ps-header-title-font-size-internal variables are not set,
6071         ps-nb-pages and ps-line-lengths-internal crashes.  Fix bug 2: if
6072         face text property is (foreground-color . COLOR) or
6073         `(background-color . COLOR)', ps-print crashes.  Doc fix.
6074         (ps-print-version): New version number (5.2.4).
6075         (ps-plot-region): Code fix.
6076         (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
6077         (ps-face-attribute-list, ps-face-attributes, ps-face-background):
6078         Bug fix 2.
6080 2000-07-30  Milan Zamazal  <pdm@freesoft.cz>
6082         * glasses.el (glasses-make-readable): Fix uncapitalization of
6083         identifiers like `myXMLDocument'.
6085 2000-07-28  Karl Fogel  <kfogel@red-bean.com>
6087         * mail/mail-hist.el (mail-hist-previous-input)
6088         (mail-hist-next-input): Do the obvious code factorization.
6089         (mail-hist-retrieve-and-insert): New func, contains common
6090         code of above two.
6091         If inserting a message body, leave point at top.
6093 2000-07-28  Sam Steingold  <sds@gnu.org>
6095         * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
6096         Use `<=', not `<' to compare times!
6097         (ange-ftp-ls): Remove.
6099 2000-07-27  Gerd Moellmann  <gerd@gnu.org>
6101         * play/cookie1.el: Add explanation of how to make cookie.el
6102         compatible with strfile(1) to comment.
6104         * subr.el (remove, remq): New functions.
6106         * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
6107         escape `*' in regexps.
6108         (midnight-find): Reverse order of arguments in the funcall of
6109         TEST.
6111         * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
6112         and `.class'.
6114         * play/meese.el: Add Commentary section.
6116 2000-07-27  Alex Schroeder  <alex@gnu.org>
6118         * sql.el (sql-ms): Added autoload cookie.
6119         (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
6120         (sql-oracle): Ditto.
6121         (sql-help): Doc change.
6123         (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
6124         types and exceptions.
6126 2000-07-27  Alex Schroeder  <alex@gnu.org>
6128         * sql.el (sql-placeholder-history): New variable.
6129         (sql-query-placeholders-and-send): New function that will query
6130         the user and replace placeholders with user input.
6131         (sql-oracle): If running on NT, set comint-input-sender to
6132         sql-query-placeholders-and-send.
6134         (sql-stop): If in the SQLi buffer, insert stop notification, else
6135         present it as a message.
6137 2000-07-27  Alex Schroeder  <alex@gnu.org>
6139         * sql.el (sql-input-ring-separator): Doc change.
6140         (sql-input-ring-file-name): Doc change.
6141         (sql-interactive-mode): Use `sql-input-ring-separator' and
6142         `sql-input-ring-file-name' to set the comint-mode equivalents
6143         without making them local variables.
6144         (sql-stop): Don't bind `sql-input-ring-separator' and
6145         `sql-input-ring-file-name' dynamically to their comint-mode
6146         equivalents.
6148 2000-07-27  Kenichi Handa  <handa@etl.go.jp>
6150         * international/mule.el (register-char-codings): New function.
6151         (make-coding-system): Handle `safe-chars' specification in the arg
6152         PROPERTY.
6154         * international/mule-cmds.el
6155         (find-coding-systems-region-subset-p): This function deleted.
6156         (sort-coding-systems-predicate): New variable.
6157         (sort-coding-systems): New function.
6158         (find-coding-systems-region): Use
6159         find-coding-systems-region-internal.
6160         (find-coding-systems-string): Use find-coding-systems-region.
6161         (find-coding-systems-for-charsets): Check
6162         char-coding-system-table.
6163         (select-safe-coding-system-accept-default-p): New variable.
6164         (select-safe-coding-system): Mostly rewritten.  New argument
6165         ACCEPT-DEFAULT-P.
6166         (select-message-coding-system): Call select-safe-coding-system
6167         with ACCEPT-DEFAULT-P arg.
6168         (reset-language-environment): Reset default-sendmail-coding-system
6169         to the default value iso-latin-1.
6170         (set-language-environment): Don't set the obsolete variable
6171         charset-origin-alist.
6173         * international/codepage.el (cp-coding-system-for-codepage-1):
6174         Give `safe-chars' property to make-coding-system.
6176         * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
6177         calling select-message-coding-system twice.
6179         * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
6180         instead of `safe-charsets'.
6181         (cyrillic-alternativnyj): Likewise.
6182         (ccl-encode-alternativnyj): Don't check the charset
6183         cyrillic-iso8859-5.
6185 2000-07-27  Kenichi Handa  <handa@etl.go.jp>
6187         * composite.el (compose-chars-after): Preserve match data.
6189 2000-07-26  Sam Steingold  <sds@gnu.org>
6191         * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
6192         (ange-ftp-real-file-newer-than-file-p): New function.
6193         (ange-ftp-verify-visited-file-modtime): Use `float-time'.
6194         (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
6196         * tooltip.el (tooltip-float-time): Removed (use `float-time').
6197         * midnight.el (midnight-float-time): Ditto.
6199 2000-07-26  Andreas Schwab  <schwab@suse.de>
6201         * files.el (normal-backup-enable-predicate): Correct
6202         interpretation of the return value of compare-strings.
6204 2000-07-26  Gerd Moellmann  <gerd@gnu.org>
6206         * isearch.el (isearch-resume): New function.
6207         (isearch-done): Add something to command-history to resume
6208         the search.
6209         (isearch-yank-line, isearch-yank-word): Use
6210         buffer-substring-no-properties instead of buffer-substring.
6212         * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
6213         of flyspell-mouse-map.
6215         * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
6216         duplicate definition.
6217         (makefile-mode): Remove duplicate setting of local-abbrev-table.
6219         * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
6220         (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
6222 2000-07-25  Sam Steingold  <sds@gnu.org>
6224         * net/ange-ftp.el: Get modtime over the net.
6225         (ange-ftp-file-modtime): New function.
6226         (ange-ftp-write-region, ange-ftp-insert-file-contents)
6227         (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
6228         Use it.
6229         (ange-ftp-dot-to-slash): New function.
6230         (ange-ftp-fix-name-for-vms): Use it.
6232         * midnight.el (midnight-buffer-display-time): Use
6233         `with-current-buffer'.
6235 2000-07-25  Gerd Moellmann  <gerd@gnu.org>
6237         * find-dired.el: Update copyright notice.
6238         (find-dired): Offer to kill a running `find'.
6240         * enriched.el (enriched-face-ans): For a `foreground-color'
6241         property, return '(("x-color" COLOR))' so that COLOR will be
6242         output as a parameter of the x-color annotation.  Likewise for the
6243         `background-color' property.  In the case of normal face
6244         properties, don't return annotations for unspecified foreground
6245         and background face attributes.
6247 2000-07-25  Kenichi Handa  <handa@etl.go.jp>
6249         * language/japan-util.el (japanese-katakana-region): Fix handling
6250         HANKAKU argument.
6252 2000-07-25  Miles Bader  <miles@gnu.org>
6254         * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
6255         constrain-to-field.  Pass nil ESCAPE-FROM-EDGE argument to
6256         constrain-to-field.
6258 2000-07-24  Andrew Innes  <andrewi@gnu.org>
6260         * timer.el (timer-activate-when-idle): Add optional parameter
6261         DONT-WAIT.  Update docstring.
6262         (run-with-idle-timer): Specify extra parameter to
6263         timer-activate-when-idle, so that timer will be activated
6264         immediately if Emacs is already idle.
6266         * w32-fns.el (w32-using-nt): Fix docstring.
6268 2000-07-24  Dave Love  <fx@gnu.org>
6270         * mouse.el (popup-menu): Set last-command-event.
6271         (mouse-major-mode-menu-prefix): Declare.
6273 2000-07-24  Gerd Moellmann  <gerd@gnu.org>
6275         * textmodes/flyspell.el: Update to author's version 1.5d.
6277         * progmodes/hideshow.el: Update copyright notice.
6279         * vcursor.el: Set maintainer to FSF, since author cannot
6280         be reached.
6282 2000-07-24  Eli Zaretskii  <eliz@is.elta.co.il>
6284         * info.el (Info-goto-emacs-key-command-node): Leave a space after
6285         the prompt.
6287         * mouse.el (popup-menu): Run the keymap through indirect-function,
6288         in case it was defined with define-prefix-key.  If the menu is a
6289         list of keymaps, look up the binding of user's choice in each one
6290         of the keymaps.
6291         (mouse-popup-menubar): If the global and local menu-bar keymaps
6292         don't have a prompt string, create one and insert it into the
6293         keymap.  Don't barf if current-local-map returns nil.
6295 2000-07-24  Francis Wright  <fjw@maths.qmw.ac.uk>
6297         * dired.el (dired-sort-R-check): Added to allow recursive listing
6298         to be undone.
6299         (dired-sort-other): Use it.
6301 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6303         * Release of cc-mode 5.27
6305 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6307         * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
6308         c-beginning-of-statement-1 that caused a bad case of recursion
6309         which could consume a lot of CPU in large classes in languages
6310         that have in-expression classes (i.e. Java and Pike).
6312         * cc-engine.el (c-guess-basic-syntax): Check for in-expression
6313         statements before top level constructs (i.e. case 6 is moved
6314         before case 5 and is now case 4) to catch in-expression
6315         classes in top level expressions correctly.
6317 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6319         * cc-engine.el (c-guess-basic-syntax): Less naive handling of
6320         objc-method-intro. Case 4 removed and case 5I added.
6322         * cc-langs.el (c-append-paragraph-start): New variable used by
6323         c-common-init to get paragraph-start correct.
6324         * cc-langs.el (c-common-init): Use c-append-paragraph-start to
6325         initialize paragraph-start to make it correct both with and
6326         without the javadoc special case.
6328         * cc-mode.el (java-mode): Use c-append-paragraph-start to
6329         initialize paragraph-start for javadoc markup.
6331         * cc-vars.el (c-style-variables-are-local-p): Incompatible
6332         change by defaulting this to t.  It's motivated by the
6333         confusing behavior that otherwise arise from the style system
6334         when editing both java and non-java files at the same time
6335         (see the comments about style setting in c-common-init).
6337 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6339         * cc-cmds.el (c-indent-new-comment-line): Added a kludge
6340         similar to the one in c-fill-paragraph to check the fill
6341         prefix from the adaptive fill function for sanity.
6343 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6345         * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
6346         defun block.
6348 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6350         * cc-mode.texi Documented the change of cpp-macro.
6352 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6354         * cc-align.el (c-lineup-multi-inher): Handle lines with
6355         leading comma nicely. Extended to handle member initializers
6356         too.
6358         * cc-engine.el: (c-beginning-of-inheritance-list,
6359         c-guess-basic-syntax): Fixed recognition of inheritance lists
6360         when the lines begins with a comma.
6362         * cc-mode.texi: Updated doc for c-lineup-multi-inher.
6364         * cc-vars.el (c-offsets-alist): Changed default for
6365         member-init-cont to c-lineup-multi-inher since it now handles
6366         member initializers and indents better for leading commas.
6368 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6370         * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
6371         handling that caused class open lines to be recognized as
6372         statement-conts in some cases.
6374         * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
6375         guessed by the adaptive fill function unless point is on the
6376         first line of a block comment.
6378         * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
6379         when the buffer ends with a macro continuation char.
6381         * cc-engine.el (c-guess-basic-syntax): Added support for
6382         function definitions as statements in Pike.  The first
6383         statement in a lambda block is now labeled defun-block-intro
6384         instead of statement-block-intro.
6386         * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
6387         so that the class surrounding point is selected, not the one
6388         innermost in the state.
6390         * cc-engine.el (c-guess-basic-syntax): Fixed bug in
6391         recognition of switch labels having hanging multiline
6392         statements.
6394         * cc-engine.el (c-beginning-of-member-init-list): Broke out
6395         some code in c-guess-basic-syntax to a separate function.
6396         * cc-engine.el (c-just-after-func-arglist-p): Fixed
6397         recognition of member inits with multiple line arglists.
6398         * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
6399         member-init-cont when the commas are in funny places.
6401 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6403         * cc-defs.el (c-auto-newline): Removed this macro since it's
6404         not used anymore.
6406         * cc-engine.el (c-looking-at-bos): New helper function.
6407         * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
6408         inexpr and toplevel classes apart in Pike.
6410         * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
6411         of case 9A.
6413         * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
6414         constant, since "class" can introduce an in-expression class
6415         in Pike nowadays.
6417 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6419         * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
6420         indentation on cpp-macro lines.
6422         * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
6423         a syntax modifier like comment-intro, to make it possible to
6424         get syntactic indentation for preprocessor directives.  It's
6425         incompatible wrt to lineup functions on cpp-macro, but it has
6426         no observable effect in the 99.9% common case where cpp-macro
6427         is set to -1000.
6429 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6431         * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
6432         member-init-cont when the preceding arglist is several lines.
6434 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6436         * cc-styles.el (c-style-alist): The basic offset for the BSD
6437         style corrected to 8.
6439 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6441         * cc-styles.el (c-style-alist): Adjusted the indentation of
6442         brace list openers in the gnu style.
6444 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6446         * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
6448         * cc-cmds.el (c-electric-brace, c-electric-slash,
6449         c-electric-star, c-electric-semi&comma, c-electric-colon,
6450         c-electric-lt-gt, c-electric-paren): Don't reindent old lines
6451         when c-syntactic-indentation is nil.
6453         * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
6454         we were left at comments preceding the first statement when
6455         reaching the beginning of the buffer.
6457         * cc-vars.el (c-syntactic-indentation): New variable to turn
6458         off all syntactic indentation.
6460 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6462         * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
6463         between the text and the block comment ender when it hangs,
6464         depending on how many there are before the fill.
6466 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6468         * cc-engine.el (c-beginning-of-closest-statement): New helper
6469         function to go back to the closest preceding statement start,
6470         which could be inside a conditional statement.
6471         * cc-engine.el (c-guess-basic-syntax): Use
6472         c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
6474         * cc-engine.el (c-guess-basic-syntax): Better handling of
6475         arglist-intro, arglist-cont-nonempty and arglist-close when
6476         the arglist is nested inside parens.  Cases 7A, 7C and 7F
6477         changed.
6479         * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
6480         up-to-date with javadoc 1.2.
6482 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6484         * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
6485         multiline Pike type decls.
6487 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6489         * cc-cmds.el (c-indent-new-comment-line): Always break
6490         multiline comments in multiline mode, regardless of
6491         comment-multi-line.
6493 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6495         * cc-engine.el (c-guess-basic-syntax): Fixed bug with
6496         fully::qualified::names in C++ member init lists.  Preamble in
6497         case 5D changed.
6499 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6501         * cc-langs.el (c-common-init): Handling of obsolete variables
6502         moved to c-initialize-cc-mode.  More compatible style override
6503         when using global style variables.
6504         * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
6505         variables moved here.
6507         * cc-mode.texi: Documented the special behavior of
6508         c-special-indent-hook as a style variable.  Don't talk about
6509         doing (c-make-styles-buffer-local t) in a mode hook, since
6510         that's already too late to work right.
6512         * cc-styles.el (c-make-styles-buffer-local): Flag style
6513         variable localness in c-style-variables-are-local-p to make
6514         the compatibility measure in c-common-init work well.
6516         * cc-styles.el (c-set-style-1): c-special-indent-hook can no
6517         longer contain set-from-style.
6518         * cc-styles.el (c-initialize-builtin-style): Don't check for
6519         set-from-style on c-special-indent-hook.
6520         * cc-styles.el (c-copy-tree): Obsolete.  The standard function
6521         copy-alist is sufficient now.
6523         * cc-styles.el (c-set-style, c-set-style-1,
6524         c-get-style-variables): Fixes to variable initialization so
6525         that duplicate entries in styles have the same effect
6526         regardless of DONT-OVERRIDE.
6528         * cc-styles.el (c-set-style-2): Fixed bug where the
6529         initialization of inheriting styles failed when the
6530         dont-override flag is set.
6532         * cc-vars.el (c-special-indent-hook): Don't use set-from-style
6533         on this.
6535 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6537         * cc-defs.el (c-forward-comment): Removed the workaround
6538         introduced in 5.38 since it had worse side-effects.  If a line
6539         contains the string "//\"", it regarded the // as a comment
6540         start since the \ temporarily doesn't have escape syntax.
6542 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
6544         * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
6545         ada-xref.el before ada-prj.el, so that the Project menu is created
6546         when ada-prj tries to add to it.
6547         (ada-activate-keys-for-case): Suppress the characters that are not
6548         part of the Ada syntax. Better compatibility with else-mode
6549         (ada-adjust-case-interactive): When auto-casing is not active,
6550         correctly insert newlines (used to insert only ^M).  Prevent the
6551         syntax table from being changed in case of an error
6552         (or '_' becomes part of a word and some commands are confused).
6553         Do nothing if ada-auto-case is nil.
6554         (ada-after-keyword-p): Ignore keywords that are also attributes
6555         (ada-batch-reformat): Update usage comment
6556         (ada-call-from-contextual-menu): New function
6557         (ada-case-read-exceptions): Reinitialize the casing exception list
6558         first to nil first, so that the casing exception file can be
6559         shared.
6560         (ada-check-defun-name): Handles "configure" keyword for gnatdist
6561         files.
6562         (ada-compile-goto-error): Fix regexp used to detect a file:line
6563         anywhere in the error message
6564         (ada-contextual-menu-last-point): New variable
6565         (ada-create-keymap): If the variable delete-key-deletes-forward is
6566         t on XEmacs, it means that DEL should delete one character
6567         forward.
6568         (ada-create-menu): Use :included instead of :visible for XEmacs.
6569         New submenu "Options".
6570         (ada-end-stmt-re): Correctly indent "select ... then abort"
6571         statements.
6572         (ada-fill-comment-paragraph): Correctly delete all leading '--'
6573         even if they don't match ada-fill-comment-prefix Fix handling of
6574         paragraphs on the first or last line of a file.
6575         (ada-format-paramlist): Fix handling of default parameter values.
6576         (ada-get-body-name): New function.
6577         (ada-get-current-indent): Optimized by searchling directly for an
6578         existing generic part or a statement outside of it.  Handle
6579         ada-indent-align-comments when indenting comments Replaced some
6580         regexps by testing directly the next character. This results in a
6581         huge speedup on some files.  New indentation scheme for renames
6582         statements.  Stop looking for the 'while' or 'for' associated with
6583         a 'loop' at the first semicolon encountered.  A "return" can also
6584         match an anonymous access subprogram declaration.
6585         (ada-get-indent-noindent): Ignore strings and comments when
6586         looking for the keywords "record" and "private".
6587         (ada-goto-matching-decl-start): When matching "if", make sure we
6588         are not in fact seeing "end if".  Ignore "when" statements except
6589         when initial keyword was "begin".  Fix handling of nested
6590         procedures.  Add a recursive call to this function to skip over
6591         other 'end' statmts.  Fix indentation for "when .. => begin"
6592         (ada-in-open-paren-p): Fix indentation for complex boolean
6593         expressions, where 'and then', 'or else' and parenthesis
6594         statements are mixed up.
6595         (ada-in-paramlist-p): Skip comments while searching for the
6596         beginning Fix handling of operator declarations.
6597         (ada-indent-align-comments): New variable
6598         (ada-indent-current): Change the syntax table only in the
6599         protected section, so that we are sure it is restored correctly.
6600         (ada-indent-on-previous-lines): Use ada-use-indent and
6601         ada-with-indent Correctly indent "select ... then"
6602         (ada-indent-region): Slight speedup.
6603         (ada-indent-renames): New variable.
6604         (ada-last-which-function-subprog, ada-last-which-function-line):
6605         New variables
6606         (ada-looking-at-semi-private): Correctly indent the 'private'
6607         keyword when it is the first word in a package declaration.
6608         (ada-loose-case-word): Stop searching if at the end of the buffer.
6609         (ada-loose-case-word, ada-capitalize-word): Recase the whole word
6610         even if point is not initially at the end of the word.
6611         (ada-matching-decl-start-re): Add "when".
6612         (ada-mode): Add support for abbrev-mode, outline-mode and
6613         which-func-mode Override the old find-file.el entry in
6614         ff-special-constructs since it is using the obsolete
6615         ada-spec-suffix variable
6616         (ada-no-auto-case): New function
6617         (ada-scan-paramlist): When parsing the argument type, accept
6618         spaces (as in "X 'Class", generated by Rational Rose).
6619         (ada-other-file-name): No longer loads the other file.
6620         (ada-popup-menu): Save and restore the current buffer and cursor
6621         position before and after displaying the menu.
6622         (ada-search-ignore-complex-boolean): New function.
6623         (ada-uncomment-region): Emacs21 already knows how to delete
6624         comments not starting in the first column.
6625         (ada-use-indent): New variable
6626         (ada-which-function): New function.
6627         (ada-with-indent): New variable
6628         (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
6629         can be batch-compiled from the command line.
6631         * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
6632         Add to the menu when the file is loaded, not in ada-mode-hook.
6633         Add -toolbar to the default ddd command Switches moved from
6634         ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
6635         ada-prj-default-comp-opt
6636         (ada-add-ada-menu): Remove the map and name parameters Add the Ada
6637         Reference Manual to the menu
6638         (ada-check-current): rewritten as a call to ada-compile-current
6639         (ada-compile): Removed.
6640         (ada-compile-application, ada-compile-current, ada-check-current):
6641         Set the compilation-search-path so that compile.el automatically
6642         finds the sources in src_dir.  Automatic scrollong of the
6643         compilation buffer.  C-uC-cC-c asks for confirmation before
6644         compiling
6645         (ada-compile-current): New parameter, prj-field
6646         (ada-complete-identifier): Load the .ali file before doing
6647         processing
6648         (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
6649         conform to gnatmake's behavior.
6650         (ada-find-file-in-dir): New function
6651         (ada-find-references): Set the environment variables for gnatfind
6652         (ada-find-src-file-in-dir): New function.
6653         (ada-first-non-nil): Removed
6654         (ada-gdb-application): Add support for jdb, the java debugger.
6655         (ada-get-ada-file-name): Load the original-file first if not done
6656         yet.
6657         (ada-get-all-references): Handles the new ali syntax (parent types
6658         are found between <>).
6659         (ada-initialize-runtime-library): New function
6660         (ada-mode-hook): Always load a project file when a file is opened,
6661         so that the casing exceptions are correctly read.
6662         (ada-operator-re): Add all missing operators ("abs", "rem", "**").
6663         (ada-parse-prj-file): Use find-file-noselect instead of find-file
6664         to open the project file, since the latter does not work with
6665         speedbar Get default values before loading the prj file, or the
6666         default executable file name is wrong.  Use the absolute value of
6667         src_dir to initialize ada-search-directories and
6668         compilation-search-path,...  Add the standard runtime library to
6669         the search path for find-file.
6670         (ada-prj-default-debugger): Was missing an opening '{'
6671         (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
6672         variables.
6673         (ada-prj-default-gnatmake-opt): New variable
6674         (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
6675         buffers, the project file is the default one Save the windows
6676         configuration before displaying the menu.
6677         (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
6678         (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
6679         ...)  regexp-quote identifiers names to support operators +,
6680         -,... in regexps.
6681         (ada-remote): New function.
6682         (ada-run-application): Erase the output buffer before starting the
6683         run Support remote execution of the application.  Use
6684         call-process, or the arguments are incorrectly parsed
6685         (ada-set-default-project-file): Reread the content of the active
6686         project file, not the one from the current buffer When a project
6687         file is set as the default project, all directories are
6688         automatically associated with it.
6689         (ada-set-environment): New function
6690         (ada-treat-cmd-string): New special variable ${current}
6691         (ada-treat-cmd-string): Revised.  The substitution is now done for
6692         any ${...} substring
6693         (ada-xref-current): If no body was found, compiles the spec
6694         instead.  Setup ADA_{SOURCE,OBJECTS}_PATH before running the
6695         compiler to get rid of command line length limitations.
6696         (ada-xref-get-project-field): New function
6697         (ada-xref-project-files): New variable
6698         (ada-xref-runtime-library-specs-path)
6699         (ada-xref-runtime-library-ali-path): New variables
6700         (ada-xref-set-default-prj-values): Default run command now does a
6701         cd to the build directory.  New field: main_unit Provide a default
6702         file name even if the current buffer has no prj file.
6704         * ada-prj.el:
6705         Rewritten to show a tabbed-dialog.
6706         (ada-prj-add-ada-menu): Remove the map and name parameters.
6707         (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
6708         New function
6709         (ada-prj-load-directory, ada-prj-subdirs-of): New functions
6710         (ada-prj-load-from-file): New function
6711         (ada-prj-save): Always save fields that depend on the current buffer
6712         (ada-prj-show-value): New function
6714         * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
6715         Ada mode. This will allow us to display the Ada menu in any buffer
6716         we want (for project items).
6717         (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
6718         number of spaces in the header.
6720 2000-07-24  Dave Love  <fx@gnu.org>
6722         * ediff-init.el (ediff-region-help-echo): Bind face-help.
6724 2000-07-23  Noah Friedman  <friedman@splode.com>
6726         * type-break.el (type-break): perform autosave.
6727         Suggested by Stephen Gildea <gildea@intouchsys.com>.
6728         (type-break-do-query): Cancel query schedule while performing
6729         actual query, to avoid possibility of a second query being made
6730         while first one is already in progress.
6731         (type-break-time-stamp-format): New variable.
6732         (type-break-time-stamp): New function.
6733         (type-break-time-warning): Use it.
6734         (type-break-keystroke-warning): Use it.
6735         (type-break-noninteractive-query): Use it.
6737         * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
6738         cookie.
6739         Use add-minor-mode to set minor-mode-alist, if available.
6740         (eldoc-echo-area-use-multiline-p): New user option.
6741         (eldoc-echo-area-multiline-supported-p): New variable.
6742         (eldoc-docstring-format-sym-doc): Use them.
6743         (eldoc-mode): If not using idle timers, append to local post and
6744         pre command hooks.  Suggested by David Byers <davby@ida.liu.se>.
6745         (eldoc-display-message-no-interference-p): Don't interfere with
6746         edebug.
6747         Add autoload cookie for eldoc-mode minor-mode-alist initialization.
6748         (eldoc-function-arglist): New function.
6749         (eldoc-function-argstring): Use it.
6751         * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
6752         auto save directory exists before calling directory-files.
6754 2000-07-23  Dave Love  <fx@gnu.org>
6756         * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
6757         ^o, ^u.
6759 2000-07-21  Dave Love  <fx@gnu.org>
6761         * ediff-init.el (ediff-region-help-echo): Modify to use overlay
6762         now passed to the function.  It now works properly.
6764         * smerge-mode.el (smerge-mode-menu): Fill it out.
6766 2000-07-20  Gerd Moellmann  <gerd@gnu.org>
6768         * info-look.el (info-lookup): If *info* is shown in another frame
6769         on the same display, select that frame, instead of switching to
6770         the Info buffer in another window of the selected frame.
6772         * simple.el (universal-argument-map): Bind numeric keypad keys
6773         kp-0 to kp-9 and kp-subtract.
6774         (digit-argument): Handle these keys.
6776 2000-07-20  Dave Love  <fx@gnu.org>
6778         * net/goto-addr.el (goto-address-fontify): Don't bother with
6779         buffer-modified and read-only stuff -- irrelevant with overlays.
6780         Put an extra property on the overlays and use it to clean up in
6781         case goto-address is re-run.
6783 2000-07-19  Richard M. Stallman  <rms@gnu.org>
6785         * timer.el (run-with-idle-timer): Doc fix.
6787         * mail/mail-utils.el (mail-strip-quoted-names):
6788         Handle case where <...> appears inside "...".
6789         Use replace-match to edit the string more simply.
6790         (rmail-dont-reply-to): Cope with an unmatched ".
6792 2000-07-19  Dave Love  <fx@gnu.org>
6794         * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
6795         implementation.
6797         * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
6798         (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
6799         (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
6801 2000-07-19  Gerd Moellmann  <gerd@gnu.org>
6803         * textmodes/refer.el: Correct maintainer's email address.
6805         * progmodes/hideif.el: Correct author's email address.
6806         Fix typo in comment.
6808         * xml.el: New file.
6810         * mail/mailheader.el: Correct author's mail address.
6812         * gnus/parse-time.el: Correct author's mail address.
6814 2000-07-19  Colin Walters <walters@cis.ohio-state.edu>
6816         * comint.el (comint-highlight-input, comint-highlight-face):
6817         New user options.
6818         (comint-input-ring-file-name): Change custom type.
6819         (comint-mode-map): Bind mouse-2.
6820         (comint-insert-clicked-input): New function.
6821         (comint-send-input): Handle input highlighting.
6823 2000-07-18  Stefan Monnier  <monnier@cs.yale.edu>
6825         * mouse.el (popup-menu): New function.
6826         (mouse-major-mode-menu): Use it.
6828 2000-07-18  Dave Love  <fx@gnu.org>
6830         * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
6831         improvements.
6833 2000-07-18  Gerd Moellmann  <gerd@gnu.org>
6835         * faces.el (face-font-selection-order)
6836         (face-font-family-alternatives): Add custom type.
6838 2000-07-18  Dave Love  <fx@gnu.org>
6840         * cus-edit.el (custom-variable-reset-saved)
6841         (custom-variable-reset-standard): Remove unused bindings.
6843         * rect.el (open-rectangle-line): Remove unused let.
6845         * hl-line.el (hl-line-highlight): Check hl-line-mode.
6847 2000-07-18  Gerd Moellmann  <gerd@gnu.org>
6849         * cdl.el: Fix `Maintainer' keyword.
6851         * play/pong.el: Add author's email address.
6853 2000-07-17  Sam Steingold  <sds@gnu.org>
6855         * files.el (insert-directory): Call `split-string' instead of
6856         re-implementing it.
6858 2000-07-18  Gerd Moellmann  <gerd@gnu.org>
6860         * mail/vms-pmail.el: Change maintainer to FSF.
6862         * net/goto-addr.el: Change maintainer to FSF.
6864         * recentf.el: Update from author.
6866         * info.el (Info-title-face-alist): Removed.
6868 2000-07-18  Eli Zaretskii  <eliz@is.elta.co.il>
6870         * eshell/eshell.el (eshell): Replace links to eshell.info with
6871         links to eshell, to avoid problems on systems where the manual is
6872         installed as `eshell'.
6873         * eshell/esh-cmd.el (eshell-cmd): Ditto.
6874         * eshell/em-smart.el (eshell-smart): Ditto.
6875         * eshell/em-banner.el (eshell-banner): Ditto.
6876         * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
6878         * eshell/em-unix.el (eshell-shuffle-files): Don't disable
6879         same-file check in the MS-DOS version (it does support inodes).
6881         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
6883         * eshell/eshell.el (eshell-directory-name):
6884         Run default directory name through convert-standard-filename.
6886 2000-07-18  Kenichi Handa  <handa@etl.go.jp>
6888         * international/mule-cmds.el (select-safe-coding-system):
6889         Fix typo in the comment.
6891         * language/european.el (compound-text):
6892         Force katakana-jisx0201 to be designated to G1.
6894         * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
6895         Don't translate some national variant characters of latin-jisx0201.
6896         (x-ctext): Force katakana-jisx0201 to be designated to G1.
6898         * international/kkc.el (kkc-after-update-conversion-functions):
6899         New variable.
6900         (kkc-update-conversion): Run functions in it at the tail.
6902 2000-07-16  John Wiegley  <johnw@gnu.org>
6904         * lisp/align.el (align-newline-and-indent):
6905         Adding new function.  for auto-aligning blocks of code on RET.
6906         (align-region): Fixed badly formatted minibuffer message.
6908 2000-07-17  Kenichi Handa  <handa@etl.go.jp>
6910         * international/kkc.el (kkc-show-conversion-list-count): Customize it.
6911         (kkc-region): Update kkc-next-count and kkc-prev-count here.  Show
6912         the conversion list at first if appropriate.
6913         (kkc-next): Don't update kkc-next-count here.
6914         (kkc-prev): Don't update kkc-prev-count here.
6915         (kkc-show-conversion-list-update): Fix setting up of conversion
6916         list message.
6918 2000-07-16  Stefan Monnier  <monnier@cs.yale.edu>
6920         * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
6922 2000-07-16  Dave Love  <fx@gnu.org>
6924         * cus-edit.el (custom-buffer-create-internal): Use a help-echo
6925         function to be more specific.
6927         * wid-edit.el (widget-specify-field, widget-specify-button): Allow
6928         non-string help-echo.
6929         (widget-types-convert-widget): Defsubst it.
6930         (widget-echo-help): Try to cope with a help-echo function of two
6931         possible sorts.
6933 2000-07-15  Jason Rumney  <jasonr@gnu.org>
6935         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
6936         Declare as obsolete.
6938         * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
6940 2000-07-14  Gerd Moellmann  <gerd@gnu.org>
6942         * hilit-chg.el: Fix typo.
6944 2000-07-14  Dave Love  <fx@gnu.org>
6946         * info.el (Info-mode-menu): Fix use of :help, :enable.
6948 2000-07-14  Stefan Monnier  <monnier@cs.yale.edu>
6950         * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
6952 2000-07-13  Dave Love  <fx@gnu.org>
6954         * emacs-lisp/easymenu.el: Doc fixes.
6955         (easy-menu-remove): Defalias to ignore.
6957         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
6958         Call throw correctly.
6960 2000-07-13  Gerd Moellmann  <gerd@gnu.org>
6962         * faces.el (frame-background-mode): Doc fix.
6964         * simple.el (eval-expression-print-length): Change custom type to
6965         allow entering nil as value.
6967 2000-07-13  Dave Love  <fx@gnu.org>
6969         * progmodes/fortran.el (fortran-imenu-generic-expression):
6970         Change definition layout.
6971         (fortran-mode-menu): Reinstate customize entries.
6973         * cus-edit.el (custom-group-menu-create, customize-menu-create):
6974         Use :filter, per old XEmacs code.
6976 2000-07-12  Gerd Moellmann  <gerd@gnu.org>
6978         * term.el (term-send-raw-meta): Strip modifiers from the keyboard
6979         event when deciding what to send to the terminal.
6981 2000-07-12  Dave Love  <fx@gnu.org>
6983         * cus-start.el: Add optional version as 4th element of specs and
6984         use it for several things new in v21.  Remove load-path.  Fix type
6985         of line-number-display-limit.
6987 2000-07-11  Dave Love  <fx@gnu.org>
6989         * progmodes/fortran.el: Don't require easymenu.
6990         Use repeat counts in various regexps.
6991         (fortran-mode-syntax-table): Defvar directly.
6992         (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
6993         (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
6994         Use defvar, not defconst.
6995         (fortran-mode-map): Change locals in `let'.  Use `fortran-auto-fill'.
6996         (fortran-mode): Set fortran-comment-line-start-skip,
6997         fortran-comment-line-start-skip, dabbrev-case-fold-search.
6998         (fortran-comment-indent): Use defsubst.
6999         (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
7000         Use fortran-comment-indent, not fortran-comment-indent-function.
7001         (fortran-comment-region, fortran-electric-line-number): Simplify.
7002         (fortran-auto-fill): New function.
7003         (fortran-do-auto-fill): Deleted.
7004         (fortran-find-comment-start-skip):
7005         Check for non-null comment-start-skip.
7006         (fortran-auto-fill-mode, fortran-fill-statement):
7007         Use fortran-auto-fill.
7008         (fortran-fill): Use fortran-auto-fill.  Check for null
7009         comment-start-skip.  Simplify final clause and use end-of-line finally.
7011         * widget.el (widget-plist-member): New alias.
7013 2000-07-11  Eli Zaretskii  <eliz@is.elta.co.il>
7015         * eshell/esh-module.el (toplevel): Reference
7016         byte-compile-current-file only if it is bound.
7018 2000-07-10  Gerd Moellmann  <gerd@gnu.org>
7020         * dired.el: Don't require `dired-aux'.
7022 2000-07-10  Miles Bader  <miles@lsi.nec.co.jp>
7024         * dired-aux.el (dired-show-file-type): New function.
7025         * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
7026         (dired-show-file-type): Add autoload.
7028 2000-07-10  Kenichi Handa  <handa@etl.go.jp>
7030         * international/mule-diag.el (describe-font): Adjusted for the
7031         change of fontset-info.
7032         (print-fontset): Likewise.
7034 2000-07-09  Stefan Monnier  <monnier@cs.yale.edu>
7036         * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
7038 2000-07-07  Gerd Moellmann  <gerd@gnu.org>
7040         * bindings.el: Bind `[delete]' to delete-char.
7042         * dired.el (dired-find-alternate-file): New function.
7043         (dired-mode-map): Bind `a' to dired-find-alternate-file.
7044         (toplevel): Require dired-aux when compiling.
7045         (dired-buffers): Move defvar within file to avoid compiler warning.
7047         * info.el (Info-last-search): Variable removed.
7048         (Info-search-history): New variable.
7049         (Info-search): New Info-search-history.
7051         * battery.el, info-look.el: Change author's mail address.
7053 2000-07-07  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
7055         * mail/rmail.el (rmail-clear-headers): Don't throw an error
7056         if rmail-ignored-headers is nil.
7057         (rmail-retry-failure): Bind rmail-ignored-headers and
7058         rmail-displayed-headers to nil.
7060 2000-07-06  Gerd Moellmann  <gerd@gnu.org>
7062         * lpr.el (lpr-page-header-switches): Add `-h' switch.
7063         (print-region-1): Don't hard code `-h' here.
7065         * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
7067 2000-07-01  Francesco Potorti`  <pot@gnu.org>
7069         * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
7070         exim can use "your message" instead of "the message".
7072 2000-07-06  Stefan Monnier  <monnier@cs.yale.edu>
7074         * facemenu.el: Docstrings fixes.
7075         (facemenu-get-face): Don't use internal-find-face.
7076         (facemenu-iterate): Rename arg to match the docstring.
7078         * newcomment.el (uncomment-region): Be more careful when skipping
7079         backwards over `=' not to bump into BOBP.
7081 2000-07-05  Michael Kifer  <kifer@cs.sunysb.edu>
7083         * ediff-diff.el (ediff-wordify): Use syntax table.
7084         * ediff-init.el (ediff-has-face-support-p): Use
7085         ediff-color-display-p.
7086         (ediff-color-display-p): Use display-color-p, changed to defun
7087         from defsubst.
7088         Got rid of special cases for NeXT and OS/2.
7089         * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
7090         face.
7092 2000-07-05  Stefan Monnier  <monnier@cs.yale.edu>
7094         * emacs-lisp/lucid.el: Require CL.
7095         (copy-tree, remprop): Remove, it's provided by CL.
7096         (map-keymap): Define in terms of cl-map-keymap.
7097         (extent-property, set-extent-end-glyph): New functions.
7099         * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
7101 2000-07-05  Gerd Moellmann  <gerd@gnu.org>
7103         * Makefile.in (DONTCOMPILE): Add comment that the name may
7104         not be changed without changing the make-dist script.
7106         * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
7107         (cl-mapc): Use mapc instead of cl-old-mapc.
7109 2000-07-05  Andrew Innes  <andrewi@gnu.org>
7111         * makefile.nt: Add support for `bootstrap' and related targets.
7113 2000-07-05  Stefan Monnier  <monnier@cs.yale.edu>
7115         * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
7116         (easy-menu-do-define): Use `menu-item' format.
7117         Handle case where easy-menu-create-menu returns a symbol.
7118         Manually call the potential top-level filter in the function binding.
7119         (easy-menu-filter-return): New arg NAME.
7120         Convert to a keymap if MENU is an XEmacs menu.
7121         (easy-menu-convert-item-1): New.  Extracted from easy-menu-do-add-item.
7122         (easy-menu-converted-items-table, easy-menu-convert-item):
7123         New var and fun to memoize easy-menu-convert-item-1.
7124         (easy-menu-do-add-item): Use it.
7125         (easy-menu-create-menu): Use easy-menu-convert-item.
7126         Wrap easy-menu-filter-return around any :filter specification.
7127         Don't convert the menu if a filter was specified.
7128         Tell easy-menu-make-symbol not to check for MENU being an expression.
7129         (easy-menu-make-symbol): New arg NOEXP.
7131 2000-07-05  Gerd Moellmann  <gerd@gnu.org>
7133         * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
7134         EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
7135         (eval-defun): If called with prefix arg, instrument code for
7136         Edebug.
7138         * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
7139         similar to that of eval-defun.
7141 2000-07-04  Dave Love  <fx@gnu.org>
7143         * hl-line.el (hl-line-overlay): Make it permanent-local.
7145         * calendar/todo-mode.el: Replaced with a working version, based on
7146         1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
7148 2000-07-03  Miles Bader  <miles@lsi.nec.co.jp>
7150         * paths.el (prune-directory-list): New function.
7151         (Info-default-directory-list): Rewritten to more methodically
7152         enumerate a big list of possible info directories (based on the
7153         list used by the standalone info reader).
7155         * info.el (info-initialize): Use prune-directory-list to remove
7156         non-existent directories from Info-directory-list.
7158         * paths.el (Info-default-directory-list): Try a list of possible
7159         info-directories instead of a single one.  Add the possible
7160         info directory "/usr/share/info".
7162         * woman.el (woman-man.conf-path): Explicitly include the debian
7163         man-db config file "/etc/manpath.config".
7164         (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
7165         are present in `manpath.config'.
7166         (woman-manpath): Include "/usr/share/man".
7168 2000-07-03  Gerd Moellmann  <gerd@gnu.org>
7170         * frame.el (blink-cursor-mode): Don't hide cursor initially.
7172         * startup.el (command-line): Initialize blink-cursor based
7173         on window-system.
7175         * frame.el (blink-cursor): Default to nil if not running under
7176         a window-system.
7178         * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
7179         (face-x-resources): Remove duplicate entry for :font.
7181         * textmodes/refer.el (refer-find-entry-internal): Use some-window
7182         instead of cycling through windows with next-window.
7184         * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
7185         of cycling through windows with next-window.
7187         * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
7188         of cycling through windows with next-window.
7190         * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
7191         (edebug-get-displayed-buffer-points): Use walk-windows/some-window
7192         instead of cycling through windows with next-window.
7194         * calendar/appt.el (appt-select-lowest-window): Use walk-windows
7195         instead of cycling through windows with next-window.
7197         * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
7198         of cycling through windows with next-window.
7200         * terminal.el (te-process-output): Use walk-windows instead of
7201         cycling through windows with next-window.
7203         * server.el (server-switch-buffer): Use some-window instead of
7204         cycling through windows with next-window.
7206         * window.el (some-window): New function.
7207         (walk-windows): Remove reference to walk-windows-start.
7209         * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
7211 2000-07-03  Richard Stallman  <rms@gnu.org>
7213         * window.el (walk-windows): Guarantee termination by keeping a list
7214         of all the windows already handled.
7216 2000-06-28  Eli Zaretskii  <eliz@is.elta.co.il>
7218         * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
7219         window-system.
7221         * man.el (Man-notify-when-ready): Don't use window-system.  If
7222         Man-notify-method is newframe, and the display is not
7223         multi-frame, select the frame created for the man page.
7224         (Man-init-defvars): Doc fix.
7226 2000-06-28  Gerd Moellmann  <gerd@gnu.org>
7228         * faces.el (region): Change background color for light background.
7230         * ediff-wind.el (ediff-setup-control-frame): Remove :box
7231         attribute from mode-line face of Ediff control frame.
7233         * replace.el (query-replace-map): Bind `e' like `E'.
7235 2000-06-28  Eli Zaretskii  <eliz@is.elta.co.il>
7237         * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
7238         Change name to "Select All".
7240         * dos-fns.el (convert-standard-filename): Fix last change.
7242 2000-06-27  Gerd Moellmann  <gerd@gnu.org>
7244         * help.el (describe-variable): Don't insert a second `'s' in front
7245         of the string `value is shown below'.  Since the syntax-table is
7246         set to emacs-lisp-mode-syntax-table, forward-sexp skips over
7247         an existing `'s', so that this won't be deleted.
7249         * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
7250         * pcmpl-unix.el: New files.
7252 2000-06-26  Stefan Monnier  <monnier@cs.yale.edu>
7254         * wid-edit.el (widget-member): Use the new plist-member.
7256 2000-06-26  Gerd Moellmann  <gerd@gnu.org>
7258         * replace.el (perform-replace): Undo change of 2000-04-04.
7259         Instead, move backward 1 character at the end of the loop when
7260         necessary.
7262         * faces.el (fringe): Change face for different backgrounds.
7264         * eshell/esh-module.el (toplevel): Load defgroup's differently;
7265         patch from John.
7267         * eshell/*.el: Change spelling of the Free Software Foundation.
7269         * eshell/esh-toggle.el: Removed.
7271         * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
7273         * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
7274         interactively.
7276 2000-06-26  Alex Schroeder  <alex@gnu.org>
7278         * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
7279         `define-key'; instead of checking `(emacs-version)' check for
7280         `set-keymap-parent' and `set-keymap-name' directly.  Add entries
7281         for `;' and `o' which might be electric.
7283         (sql-electric-stuff): New user option.
7284         (sql-magic-go): New function which uses `sql-electric-stuff'.
7285         (sql-magic-semicolon): New function which uses
7286         `sql-electric-stuff'.
7288         (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
7289         is not fboundp.
7291         (sql-oracle-options): New variable.
7292         (sql-oracle): Use it.
7294         (sql-imenu-generic-expression): Doc change.
7295         (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
7296         is used.
7298         (sql-informix): Added command line parameter "-" to force
7299         sql-informix-program to use stdout.
7301 2000-06-25  Eli Zaretskii  <eliz@is.elta.co.il>
7303         * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
7304         (cp864-decode-table): Doc fix.
7305         (cp720-decode-table): New variable, supports the Arabic OEM
7306         codepage used by Windows.
7307         (cp737-decode-table): New, Greek OEM codepage used by Windows.
7309 2000-06-23  Dave Love  <fx@gnu.org>
7311         * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
7312         (font-lock-fontify-anchored-keywords): Use
7313         line-beginning-position.
7314         (global-font-lock-mode): Use mapc.
7316 2000-06-23  Stefan Monnier  <monnier@cs.yale.edu>
7318         * eshell/esh-module.el: Require CL when compiling.
7320 2000-06-23  Gerd Moellmann  <gerd@gnu.org>
7322         * comint.el (comint-substitute-in-file-name): Call replace-match
7323         with second and third arg t.
7325         * cus-edit.el (custom-button-face, custom-button-pressed-face):
7326         Specify foreground color.
7328         * faces.el (tool-bar, mode-line, header-line): Specify foreground
7329         color.
7331         * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
7333         * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
7334         cddr instead of cdddr.
7336         * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
7337         instead of copy-list.
7339         * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
7340         of copy-list.
7342         * subdirs.el: Add eshell subdirectory.
7344         * eshell: New subdirectory containing the Eshell package.
7346         * pcomplete.el: New file.
7348 2000-06-23  Paul Eggert  <eggert@twinsun.com>
7350         * mail/mailpost.el (post-mail-send-it): Make sure file has
7351         proper permissions from birth.
7353         * files.el (basic-save-buffer-2): When temporarily setting
7354         file modes, set them to current modes plus 0200, not to 0777.
7356         * emerge.el (emerge-make-temp-file): Make sure file has proper
7357         permissions from birth.
7359 2000-06-22  Eli Zaretskii  <eliz@is.elta.co.il>
7361         * files.el (make-backup-file-name-1): On DOS/Windows, run the
7362         backup file name through convert-standard-filename.
7364         * dos-fns.el (convert-standard-filename): Convert leading
7365         directories as well.  When long file names are supported, convert
7366         characters that are invalid in Windows file names.
7368 2000-06-22  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
7370         * ps-print.el: Fix bug: if ^L is the very first buffer character,
7371         ps-print crashes.  New feature: page selection for printing.  Create
7372         raw-text-unix coding system for XEmacs.  Doc fix.
7373         (ps-print-version): New version number (5.2.3).
7374         (ps-plot-region): Bug fix.
7375         (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
7376         (ps-header-sheet, ps-generate, ps-end-job): Code fix.
7377         (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
7378         funs.
7379         (ps-selected-pages, ps-last-selected-pages, ps-first-page)
7380         (ps-last-page): New vars.
7382 2000-06-21  Gerd Moellmann  <gerd@gnu.org>
7384         * progmodes/sh-script.el (sh-while-getopts): Fix handling of
7385         empty option string.
7387 2000-06-21  Eli Zaretskii  <eliz@is.elta.co.il>
7389         * man.el (man): Doc fix.
7391 2000-06-21  Kenichi Handa  <handa@etl.go.jp>
7393         * international/mule-cmds.el (set-language-info-alist): Docstring
7394         fixed.
7396 2000-06-20  Gerd Moellmann  <gerd@gnu.org>
7398         * version.el (emacs-version): Use ISO date format.
7400         * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
7401         instead of `M-backspace'.
7403         * simple.el (turn-off-auto-fill): New function.
7405 2000-06-20  Stefan Monnier  <monnier@cs.yale.edu>
7407         * jit-lock.el (with-buffer-prepared-for-jit-lock):
7408         Renamed from with-buffer-prepared-for-font-lock and use
7409         inhibit-modification-hooks rather than setting *-change-functions.
7410         Update all functions to use the new name.
7411         (jit-lock-first-unfontify-pos): New semantics (and doc).
7412         (jit-lock-mode): Make non-interactive.
7413         Don't automatically turn on font-lock.
7414         Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
7415         Always use jit-lock-after-change.
7416         Remove and restore font-lock-after-change-function.
7417         (turn-on-jit-lock, jit-lock-after-fontify-buffer)
7418         (jit-lock-after-unfontify-buffer): Remove.
7419         (jit-lock-stealth-fontify):
7420         Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
7421         (jit-lock-after-change): Set the `fontified' text-prop to nil.
7423 2000-06-20  Sam Steingold  <sds@gnu.org>
7425         * emacs-lisp/cl-indent.el (toplevel): Indent
7426         `print-unreadable-object' properly.  Untabify.
7428 2000-06-14  Carsten Dominik  <dominik@strw.leidenuniv.nl>
7430         * textmodes/reftex.el (reftex-find-citation-regexp-format):
7431         Support for bibentry.
7432         (reftex-compile-variables): Fixed problem with end of section-re.
7434         * texmodes/reftex-dcr.el (reftex-view-crossref,
7435         reftex-view-crossref-from-bibtex):
7436         Deal with changed `reftex-find-citation-regexp-format'.
7437         (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
7438         Replaced `remprop' with `put'.
7439         (reftex-view-crossref, reftex-view-crossref-when-idle):
7440         Support for bibentry.
7442         * textmodes/reftex-vars.el (reftex-cite-format-builtin):
7443         New entry for bibentry package.
7445         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
7446         Regexp also matches "\nobibliography".
7448         * textmodes/reftex-global.el (reftex-renumber-simple-labels):
7449         Call `reftex-ensure-write-access' before doing anything.
7450         (reftex-ensure-write-access): New function.
7452 2000-06-14  Carsten Dominik  <dominik@strw.leidenuniv.nl>
7454         * progmodes/idlwave.el: File re-installed (update to version 4.2)
7456         * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
7458         * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
7460         * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
7463 2000-06-20  Dave Love  <fx@gnu.org>
7465         * faces.el (frame-background-mode): Use set-default, not set, in
7466         setter.
7467         (frame-update-faces, frame-update-face-colors): Define with
7468         defalias.
7470         * enriched.el (enriched-decode-foreground)
7471         (enriched-decode-background): Don't use internal-find-face.
7473         * apropos.el: Doc fixes.
7475         * cus-edit.el (customize-changed-options): Check arg.
7476         (customize-version-lessp): Don't require decimal point.
7478         * custom.el (defcustom, defgroup): Doc fix.
7480         * newcomment.el (comment) <defgroup>: Add :version.
7481         (comment-multi-line): Doc fix.
7483         * emulation/mlsupport.el (define-hooked-local-abbrev,
7484         define-hooked-global-abbrev): Fix, using define-abbrev.
7486 2000-06-19  Gerd Moellmann  <gerd@gnu.org>
7488         * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
7489         the whole buffer.
7491 2000-06-19  Dave Love  <fx@gnu.org>
7493         * menu-bar.el (menu-bar-options-save): New function.
7494         (menu-bar-options-menu): Use it.
7495         (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
7496         Simplify.
7498 2000-06-19  Andreas Schwab  <schwab@suse.de>
7500         * progmodes/etags.el (tags-query-replace): Put new parameters
7501         START and END at the end, for backward compatibility.
7503 2000-06-19  Kenichi Handa  <handa@etl.go.jp>
7505         * international/codepage.el:
7506         (cp-coding-system-for-codepage-1): Delete special codes for
7507         generating xxx-dos coding system because now a CCL based coding
7508         system can handle EOL conversion by default.
7510         * international/mule.el (make-coding-system): Generate subsidiary
7511         coding systems for EOL handling variants even for a CCL based
7512         coding system.
7514 2000-06-19  Kenichi Handa  <handa@etl.go.jp>
7516         * international/isearch-x.el (isearch-minibuffer-input-method)
7517         (isearch-minibuffer-input-method-function): These variables
7518         deleted.
7519         (isearch-with-input-method): Don't use the above variables.
7520         (isearch-process-search-multibyte-characters): Likewise.  Call
7521         read-string with the arg INHERIT-INPUT-METHOD t.
7523 2000-06-17  Stefan Monnier  <monnier@cs.yale.edu>
7525         * font-lock.el (font-lock-after-fontify-buffer)
7526         (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
7528         * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
7529         Use consistent make-local-variable style for font-lock-fontified.
7530         (jit-lock-fontify-buffer):
7531         Don't bother checking for font-lock-mode and jit-lock-mode.
7533         * time.el: Remove trailing ^M that prevent CVS-merging.
7535 2000-06-16  Gerd Moellmann  <gerd@gnu.org>
7537         * Makefile.in (distclean): New target.
7539 2000-06-16  Stefan Monnier  <monnier@cs.yale.edu>
7541         * Makefile.in (srcdir): Define for update-subdirs.
7543 2000-06-16  Gerd Moellmann  <gerd@gnu.org>
7545         * find-lisp.el: New file.
7547 2000-06-16  Andrew Innes  <andrewi@gnu.org>
7549         * time.el (display-time-mail-function): New variable, to allow
7550         external packages to indicate when new mail is available.
7551         (display-time-update): Use it.
7553 2000-06-16  Kenichi Handa  <handa@etl.go.jp>
7555         * international/mule.el (mule-version): Change version name to
7556         SAKAKI.  AOI has already been used by Meadow.
7558         * international/quail.el (quail-show-guidance-buf): To find the
7559         bottom window (but minibuffer), pay attention to the height of
7560         minibuffer.
7562 2000-06-15  Eli Zaretskii  <eliz@is.elta.co.il>
7564         * arc-mode.el (archive-mode-map): Use the new menu-item format for
7565         menu-bar menus.  Add help strings.  Don't remove the Edit menu
7566         from the menu bar, as the menu bar has enough space now.
7568         * Makefile.in (SHELL): Make sure /bin/sh is used.
7570         * woman.el (woman-man-buffer): Fix bold and underlined CJK
7571         characters, which use series of two ^H characters instead of one.
7573 2000-06-15  Gerd Moellmann  <gerd@gnu.org>
7575         * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
7576         (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
7577         functions.
7578         (Info-find-node-2): Try a case-sensitive search first, then
7579         do a case-insensitive search.
7581         * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
7582         tutorials.
7584         * complete.el (PC-env-vars-alist): New variable.
7585         (PC-complete-as-file-name): New function.
7586         (partial-completion-mode): Initialize PC-env-vars-alist from
7587         process-environment.
7588         (PC-do-completion): Handle completion of env vars.
7590         * info.el (Info-set-mode-line): Show file name in mode line,
7591         use `*Info*' instead of `Info:'.
7593         * startup.el (command-line-1): Change copyright messages to year
7594         2000.
7596 2000-06-15  Dave Love  <fx@gnu.org>
7598         * net/goto-addr.el (goto-address-fontify): Use keymap property,
7599         not local-map.
7601 2000-06-15  Kenichi Handa  <handa@etl.go.jp>
7603         * international/mule.el (set-buffer-file-coding-system): Almost
7604         rewritten to handle `undecided' as no-op.
7606 2000-06-14  Gerd Moellmann  <gerd@gnu.org>
7608         * Makefile.in: New file.
7610         * Makefile: Removed.
7612         * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
7613         (goto-address-highlight-keymap): Bind C-c RET.
7615 2000-06-14  Kenichi Handa  <handa@etl.go.jp>
7617         * mail/sendmail.el (sendmail-send-it): The temporary buffer
7618         inherits buffer-file-coding-system of the current buffer.
7620         * tar-mode.el (tar-extract): For goto-char, use (point-min), not
7621         0.  Give correct argument to set-auto-coding-function.
7622         (tar-expunge): For goto-char, use (point-min), not 0.
7623         (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
7624         (tar-subfile-save-buffer): Likewize.
7626         * international/mule.el
7627         (after-insert-file-set-buffer-file-coding-system): Call
7628         set-buffer-file-coding-system with the arg FORCE t.
7630 2000-06-13  Gerd Moellmann  <gerd@gnu.org>
7632         * mail/sendmail.el (mail-specify-envelope-from): Initialize to
7633         nil.  Contemporary sendmails issue an X-Authentication-Warning if
7634         the sender is set with `-f'.
7636 2000-06-13  Dave Love  <fx@gnu.org>
7638         * help.el (describe-function-1): Kluge around cases of functions
7639         fset to subrs whose doc doesn't match their symbol-name.
7641         * image.el (insert-image): Default STRING to a space.
7643         * info.el Doc fixes.
7644         (Info-build-node-completions): Match Ref tags.
7646 2000-06-13  Eli Zaretskii <eliz@is.elta.co.il>
7648         * frame.el (display-multi-frame-p, display-multi-font-p): New
7649         defaliases for display-graphic-p.
7651         * hl-line.el: Fixed a typo in commentary.
7653 2000-06-13  Kenichi Handa  <handa@etl.go.jp>
7655         * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
7656         fixed.
7658 2000-06-12  Dave Love  <fx@gnu.org>
7660         * image.el (insert-image): Save a little consing.
7662 2000-06-12  Kenichi Handa  <handa@etl.go.jp>
7664         * language/tibet-util.el: Convert all tibetan-1-column characters
7665         to the corresponding tibetan characters.
7666         (tibetan-add-components): Delete code for the special treatment of
7667         'a chung.
7669         * language/tibetan.el (tibetan-composable-pattern): Fix previous
7670         change.
7671         (tibetan-vowel-transcription-alist): More rules added.
7672         (tibetan-composite-vowel-alist): New variable.
7673         (tibetan-precomposition-rule-alist): More rules added.
7675 2000-06-12  Stefan Monnier  <monnier@cs.yale.edu>
7677         * startup.el (command-line): Only call menu-bar-mode if interactive.
7679         * thingatpt.el (toplevel symbol-properties):
7680         * textmodes/makeinfo.el (makeinfo-compile):
7681         * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
7682         * progmodes/hideif.el (hif-compress-define-list)
7683         (hide-ifdef-use-define-alist):
7684         * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
7685         (ange-ftp-vms-add-file-entry):
7686         * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
7687         * man.el (Man-build-man-command):
7688         * mail/rnewspost.el (news-reply-header-hook):
7689         * info.el (Info-insert-dir):
7690         * emulation/mlconvert.el (backward-word, forward-word, setq):
7691         * emacs-lisp/gulp.el (gulp-send-requests):
7692         * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
7693         (byte-optimize-inline-handler, byte-optimize-form-code-walker)
7694         (byte-optimize-apply, end of file):
7695         * emacs-lisp/advice.el (ad-advice-class-completion-table)
7696         (ad-make-freeze-definition):
7697         * startup.el (command-line, command-line-1): Don't quote lambdas.
7699         * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
7700         (cvs-cleanup-removed): New function.
7701         (cvs-cleanup-functions): New var.
7702         (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
7703         some flexibility in specifying additional entries to auto-cleanup.
7704         (cvs-quickdir): New function.
7705         (cvs-mode-insert): Use cvs-fileinfo-from-entries.
7706         (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
7707         (cvs-mode-find-file): Check that we are on a filename or dirname
7708         when invoked through a mouse-click.
7709         (cvs-full-path): Remove.
7710         (cvs-dired-action): Re-introduced.
7711         (cvs-dired-noselect): Use it.
7712         (vc-post-command-functions): use this new hook if available.
7714         * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
7715         (cvs-status-map): Don't inherit from cvs-mode-map anymore.
7716         (cvs-filename-map, cvs-dirname-map): Remove.
7717         (cvs-default-action): Remove.
7718         (cvs-add-face): Use `keymap' rather than `local-map' property, and only
7719         if the arg is really a keymap.
7720         (cvs-fileinfo-pp): Don't use any special map for file and dir names.
7721         Don't hardcode the mapping from state (aka type) to face, but check
7722         the var cvs-fi-<type>-face instead.
7723         (cvs-fileinfo-from-entries): New function.
7725         * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
7726         Docstring fix.
7727         (cvs-find-file-and-jump): Change default to be safer.
7728         (cvs-mode-diff-map): Define it as a function as well.
7729         (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
7730         Bind mouse-2 in this global map rather than with text-properties.
7732         * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
7733         file to resolve the ambiguity between C(conflict) and C(need-merge).
7735 2000-06-12  Kenichi Handa  <handa@etl.go.jp>
7737         * international/mule.el (set-buffer-file-coding-system): If
7738         CODING-SYSTEM is nil, set buffer-file-coding-system to nil
7739         unconditionally.
7741 2000-06-12  Dave Love  <fx@gnu.org>
7743         * wid-edit.el (widget-specify-button): Really suppress the face if
7744         required.
7746 2000-06-11  Gerd Moellmann  <gerd@gnu.org>
7748         * term/x-win.el (x-colors): Add colors from recent rgb.txt.
7750 2000-06-11  Stefan Monnier  <monnier@cs.yale.edu>
7752         * imenu.el (imenu-generic-expression): Docstring fix.
7754         * composite.el (composition-function-table): Move the `put'
7755         below the autoload cookie so we can load the file before loaddefs.
7757         * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
7759         * emacs-lisp/autoload.el (make-autoload): Use `cond'.
7760         Handle easy-mmode-define-global-mode.
7761         For complex macros like define-minor-mode that can generate
7762         several autoload entries, try to autoload entries in the
7763         macroexpanded code.
7765         * emacs-lisp/easy-mmode.el (define-minor-mode):
7766         If KEYMAP is a symbol, just use it.
7767         Use byte-compile-current-file and load-file-name to infer the
7768         proper :require to pass to defcustom.
7769         Wrap the hook var into `progn' so as not to autoload it.
7770         Add a :autoload-end cookie.
7771         Be more careful about the evaluation of KEYMAP.
7772         (easy-mmode-define-global-mode): Add a :autoload-end cookie.
7773         (define-derived-mode): Move define-abbrev-table outside of defvar.
7775 2000-06-10  Stefan Monnier  <monnier@cs.yale.edu>
7777         * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
7778         (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
7779         (backup-compiled-files): Ignore errors during `tar'.
7780         (bootstrap): Make autoloads before elc files.
7782 2000-06-10  Kenichi Handa  <handa@etl.go.jp>
7784         * international/mule.el (set-buffer-file-coding-system): If one of
7785         undecided-XXX is specified, change only EOL conversion.
7787         * international/mule-conf.el (unix): New alias for the coding
7788         system undecided-unix.
7790 2000-06-09  Dave Love  <fx@gnu.org>
7792         * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
7794         * progmodes/executable.el: Byte compile dynamic.
7795         (executable-insert): Change custom type.
7796         (executable-find): Add autoload cookie.
7797         (executable-make-buffer-file-executable-if-script-p): New
7798         function.  After Noah Friedman.
7800         * files.el (after-save-hook): Customize, with
7801         executable-make-buffer-file-executable-if-script-p as an option.
7803 2000-06-09  Kenichi Handa  <handa@etl.go.jp>
7805         * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
7806         "tib24p-mule.bdf" for Tibetan.
7808         * composite.el (decompose-composite-char): Declare it as obsolete.
7810         * man.el (Man-fontify-manpage): Pay attention to underline and
7811         overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
7813 2000-06-08  Gerd Moellmann  <gerd@gnu.org>
7815         * thingatpt.el (forward-thing): Use functionp instead of fboundp.
7816         Set maintainer to FSF since author isn't reachable.
7818 2000-06-08  Dave Love  <fx@gnu.org>
7820         * international/mule-cmds.el (select-safe-coding-system): If
7821         DEFAULT-CODING-SYSTEM is not specified, also check the most
7822         preferred coding-system if buffer-file-coding-system is
7823         `undecided'.  From Handa.
7825 2000-06-08  Kenichi Handa  <handa@etl.go.jp>
7827         * international/mule.el
7828         (after-insert-file-set-buffer-file-coding-system): If the buffer
7829         size is greater than INSERTED, judget that we are not visiting.
7831 2000-06-07  Rajesh Vaidheeswarran  <rv@gnu.org>
7833         * whitespace.el (defgroup whitespace): Comment out `:version'.
7834         XEmacs 20.4 has problems defining the group with this present.
7835         We'll have this commented out till get resolve the problem.
7837 2000-06-07  Gerd Moellmann  <gerd@gnu.org>
7839         * align.el: Update from author.
7841 2000-06-07  Jari Aalto  <jari.aalto@poboxes.com>
7843         * apropos.el (apropos-mode-hook): New user variable.
7844         (apropos-mode): Run apropos-mode-hook.
7846 2000-06-07  David Ponce  <david@dponce.com>
7848         * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
7849         commands.  Require `wid-edit' at run-time.
7851 2000-06-07  David Ponce  <david@dponce.com>
7853         * recentf.el: Added some "Commentary".
7854         (recentf-open-more-files, recentf-edit-list): Minor changes to
7855         move the point at the top of the file list.  This behaviour is
7856         consistent with the menu one when the list contains a lot of
7857         files.
7858         (recentf-cleanup): Now displays the number of items removed from
7859         the list.
7860         (recentf-relative-filter) New menu filter to show filenames
7861         relative to `default-directory'.
7863 2000-06-07  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
7865         * ps-print.el: XEmacs compatibility.  Doc fix.  Can select page size
7866         with/without giving an error if PostScript printer doesn't have this
7867         kind of page size.  Zebra Stripe continues or restarts on next page.
7868         Manual/automatic paper feeding.  Switch or not the header.
7869         (ps-print-version): New version number (5.2.2).
7870         (ps-windows-system): Include emx as a Windows system.
7871         (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
7872         (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
7873         (ps-background-text): Code fix.
7874         (ps-error-handler-message, ps-user-defined-prologue)
7875         (ps-print-prologue-header, ps-printer-name)
7876         (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
7877         (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
7878         (ps-use-face-background): Customization fix.
7879         (ps-n-up-database): Data fix.
7880         (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
7881         (ps-switch-header): New vars.
7882         (ps-xemacs-color-name, ps-face-foreground-name)
7883         (ps-face-background-name, ps-boolean-constant): New funs.
7885 2000-06-07  Dave Love  <fx@gnu.org>
7887         * allout.el: New version from Manheimer.
7889 2000-06-07  Kenichi Handa  <handa@etl.go.jp>
7891         * textmodes/fill.el (fill-find-break-point): Check the validity of
7892         charset.
7894 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
7896         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
7897         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
7898         Call display-color-p and display-mouse-p instead of looking at
7899         window-system.
7901 2000-06-06  Dave Love  <fx@gnu.org>
7903         * image.el (find-image): Doc fix.  Return nil if image not found.
7904         (put-image, insert-image): Make STRING arg optional.
7906 2000-06-06  Kenichi Handa  <handa@etl.go.jp>
7908         * language/vietnamese.el: Remove eval-when-compile.
7909         (viet-viscii-nonascii-translation-table): Define it as a
7910         translation table made from viet-viscii-decode-table.
7911         (viet-viscii-encode-table): Define it as a translation table made
7912         from the reverse map of above.
7913         (viet-vscii-nonascii-translation-table): Define it as a
7914         translation table made from viet-vscii-decode-table.
7915         (viet-vscii-encode-table): Define it as a translation table made
7916         from the reverse map of above.
7917         (ccl-decode-viscii): Use translate-character.
7918         (ccl-encode-viscii, ccl-encode-viscii-font)
7919         (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
7920         Likewize.
7922         * language/cyrillic.el: Remove eval-when-compile.
7923         (cyrillic-koi8-r-nonascii-translation-table): Define it as a
7924         translation table made from cyrillic-koi8-r-decode-table.
7925         (cyrillic-koi8-r-encode-table): Define it as a translation table
7926         made from the reverse map of above.
7927         (ccl-decode-koi8): Use translate-character.
7928         (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
7929         (cyrillic-alternativnyj-nonascii-translation-table): Define it as
7930         a translation table made from cyrillic-alternativnyj-decode-table.
7931         (cyrillic-alternativnyj-encode-table): Define it as a translation
7932         table made from the reverse map of above.
7933         (ccl-decode-alternativnyj): Use translate-character.
7934         (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
7935         Likewize
7937         * international/mule-diag.el (non-iso-charset-alist): Specify
7938         translation table symbol instead of translation table itself.
7939         (list-block-of-chars): CHARSET may be a translation table symbol.
7941         * international/mule.el (make-coding-system): If CODING-SYSTEM
7942         already exists, override it.
7944         * international/fontset.el: Use family `proportional' for Tibetan
7945         fonts.
7947         * international/ccl.el (ccl-compile-translate-character): Don't
7948         check if Rrr has property translation-table.
7949         (ccl-compile-map-multiple): Modified to avoid compiler warning.
7951 2000-06-05  Gerd Moellmann  <gerd@gnu.org>
7953         * info.el: Bind case-fold-search to t when searching in case
7954         a user sets it to nil in a hook.
7956 2000-06-05  Stefan Monnier  <monnier@cs.yale.edu>
7958         * autoarg.el (autoarg-mode, autoarg-kp-mode):
7959         * hl-line.el (hl-line-mode): Use the new :global key argument.
7961         * tar-mode.el (tar-header-block-recompute-checksum): Remove.
7962         (tar-clip-time-string): Prepend a space.
7963         (tar-grind-file-mode): Construct a string rather than modifying one.
7964         (tar-header-block-summarize): Fix docstring.
7965         Use `format' rather than an error-prone set of copy-loops.
7967         * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
7968         (diff-goto-source, diff-unified->context, diff-context->unified)
7969         (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
7970         understand the format output by the `-p' argument to diff.
7972         * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
7973         (sh-re-done): Use defconst.
7974         (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
7975         (sh-help-string-for-variable, sh-guess-basic-offset):
7976         Don't quote lambdas.
7977         (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
7978         (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
7980         * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
7981         (mh-letter-mode): Derive from text-mode.
7982         This implicitly means that it now calls kill-all-local-variables.
7983         Also remove the Emacs-18 compatibility code.
7985         * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
7986         Make use of symbol-property doc-string-elt.
7987         Use memq rather than a sequence of eq.
7988         (doc-string-elt): Fix the wrong or missing previously unused values.
7989         (autoload-print-form): New function extracted from
7990         generate-file-autoloads to allow recursion when handling progn
7991         so that defvar's and defun's docstrings are properly printed.
7992         (generate-file-autoloads): Use it.
7994         * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
7995         Use find-file-hooks in the minor-mode function.
7996         Be careful not to loop indefinitely in the post-command-hook function.
7998 2000-06-05  Michael Kifer  <kifer@cs.sunysb.edu>
8000         * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
8001         tty's.
8002         * ediff-diff.el (ediff-exec-process): Use --binary for fine
8003         differences whenever appropriate.
8004         * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
8005         * viper.el (find-file, find-file-other-window): Get viper to do
8006         wildcards.
8008 2000-06-04  Stefan Monnier  <monnier@cs.yale.edu>
8010         * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
8011         (jit-lock-fontify-buffer): New function for JIT refontification.
8012         (jit-lock-mode): Fix docstring.
8013         Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
8014         Remove jit-lock-after-change from the _local_ hook.
8015         (jit-lock-function-1): Fix docstring.
8017         * info.el (Info-on-current-buffer): Initialize info.
8019         * newcomment.el (comment-indent): Ignore comment-indent-hook.
8021         * progmodes/tcl.el (tcl-indent-for-comment):
8022         Ignore comment-indent-hook.
8024         * emacs-lisp/easy-mmode.el: Require CL during compilation.
8025         (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
8026         (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
8027         and improve to use the lighter to guess the capitalization.
8028         (define-minor-mode): Inline code from easy-mmode-define-toggle.
8029         Add keyword arguments to specify global-ness or the custom group.
8030         Add local-map and help-echo properties to the lighter.
8031         (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
8032         (easy-mmode-define-global-mode): New macro.
8034 2000-06-02  Dave Love  <fx@gnu.org>
8036         * wid-edit.el: byte-compile-dynamic since we typically don't use
8037         all the widgets.  Don't require cl or widget.  Remove
8038         eval-and-compile.  Don't autoload finder-commentary.  Doc fixes.
8039         (widget-read-event): Removed.  Callers changed to use read-event.
8040         (widget-button-release-event-p): Renamed from
8041         button-release-event-p.
8042         (widget-field-add-space, widget-field-use-before-change):
8043         Uncustomize.
8044         (widget-specify-field): Use keymap property, not local-map.
8045         (widget-specify-button): Obey :suppress-face.
8046         (widget-specify-insert): Use modern backquote syntax.
8047         (widget-image-directory): Renamed from widget-glyph-directory.
8048         (widget-image-enable): Renamed from widget-glyph-enable.
8049         (widget-image-find): Replaces widget-glyph-find.
8050         (widget-button-pressed-face): Move defvar.
8051         (widget-image-insert): Replaces widget-glyph-insert.
8052         (widget-convert): Use keywordp.
8053         (widget-leave-text, widget-children-value-delete): Use mapc.
8054         (widget-keymap): Remove XEmacs stuff.
8055         (widget-field-keymap, widget-text-keymap): Define all inside defvar.
8056         (widget-button-click): Don't set point at the click, but re-centre
8057         if we scroll out of window.  Rewritten for images v. glyphs &c.
8058         (widget-tabable-at): Use POS arg, not point.
8059         (widget-beginning-of-line, widget-end-of-line)
8060         (widget-item-value-create, widget-sublist, widget-princ-to-string)
8061         (widget-sexp-prompt-value, widget-echo-help): Simplify.
8062         (widget-default-create): Use widget-image-insert; some rewriting.
8063         (widget-visibility-value-create)
8064         (widget-push-button-value-create, widget-toggle-value-create): Use
8065         widget-image-insert.
8066         (checkbox): Create on and off images dynamically.
8067         (documentation-link): Change :help-echo.
8068         (widget-documentation-link-echo-help): Remove.
8070 2000-06-02  Stefan Monnier  <monnier@cs.yale.edu>
8072         * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
8074         * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
8075         (easy-mmode-define-toggle, define-minor-mode): Use it.
8076         (easy-mmode-define-keymap): Docstring fix.
8077         (define-derived-mode): Default PARENT to fundamental-mode.
8078         Add the derived-mode-parent symbol-property.
8079         (easy-mmode-derived-mode-p): New function.
8081 2000-06-02  Dave Love  <fx@gnu.org>
8083         * files.el (convert-standard-filename): Doc fix.
8084         (normal-backup-enable-predicate): New function.
8085         (backup-enable-predicate): Use it to replace the lambda form.
8087         * calendar/todo-mode.el: [This needs more work on the outline
8088         stuff.]  Doc fixes.
8089         (todo) <defgroup>: Add :version.
8090         (todo-add-category): Don't use pushnew.
8091         (todo-cmd-raise): Fix typo.
8092         (todo-top-priorities): Change temp buffer name.
8093         (todo-category-alist): Avoid redundant lambda.
8094         (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
8095         Use outline-next-heading.
8097         * autoarg.el: Rewritten to use define-minor-mode.
8098         (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
8099         (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
8101 2000-06-02  Kenichi Handa  <handa@etl.go.jp>
8103         * isearch.el (isearch-other-meta-char): Fix previous change.
8105 2000-06-01  Stefan Monnier  <monnier@cs.yale.edu>
8107         * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
8108         (log-edit-done): Only add the comment to the ring if it's different
8109         from the last comment entered.
8111         * isearch.el (isearch-highlight): Turn internal-find-face into facep.
8113 2000-06-01  Dave Love  <fx@gnu.org>
8115         * hl-line.el: Rewritten using define-minor-mode.
8117         * help.el (describe-function-1): Distinguish special form from
8118         builtin function.  Sanity-check presence of arglist for builtins.
8120 2000-06-01  Kenichi Handa  <handa@etl.go.jp>
8122         * international/characters.el: Fix syntax/category setting of
8123         Tibetan characters.
8125         * language/tibet-util.el (tibetan-add-components): Fixes for new
8126         encoding of Tibetan characters.
8127         (tibetan-decompose-precomposition-alist): New variable.
8128         (tibetan-decompose-region): Convert precomposed characters to
8129         non-precomposed characters.
8130         (tibetan-decompose-string): Likewise.
8131         (tibetan-composition-function): Fix args to
8132         thibetan-compose-string.
8134         * language/tibetan.el (tibetan-composable-pattern): More
8135         characters included.
8136         (tibetan-consonant-transcription-alist): Rule for "R" added.
8137         (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
8138         "+R" added.
8139         (tibetan-base-to-subjoined-alist): Rule for "RA" added.
8141         * language/lao-util.el (lao-composition-function): Fix args to
8142         compose-string.
8144         * language/thai-util.el (thai-composition-function): Fix args to
8145         compose-string.
8147         * isearch.el (isearch-update): Set disable-point-adjustment to t
8148         to prevent the point moving to the end of a composition when a
8149         part of a composition is searched.
8150         (isearch-other-meta-char): If the key invoking this command can be
8151         mapped by function-key-map to a printing char, call
8152         isearch-process-search-char directly.
8154 2000-06-01  Stefan Monnier  <monnier@cs.yale.edu>
8156         * emacs-lisp/bytecomp.el:
8157         * frame.el:
8158         * international/mule-cmds.el:
8159         * international/mule-util.el:
8160         * international/mule.el:
8161         * mouse.el:
8162         * subr.el:
8163         * faces.el: Update calls to make-obsolete with a WHEN argument.
8165         * byte-run.el (make-obsolete, make-obsolete-variable):
8166         Add an optional WHEN argument and change the format of the
8167         symbol-property information.
8168         * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
8169         (byte-compile-obsolete, byte-compile-variable-ref): Understand the
8170         new obsolete-symbol-property format and print WHEN if it is provided.
8172 2000-05-31  Dave Love  <fx@gnu.org>
8174         * loadhist.el (loadhist-hook-functions): Remove
8175         before-change-function, after-change-function.
8176         (unload-feature): Deal with symbols which are both bound and
8177         fbound.
8179         * mouse.el (mouse-save-then-kill-delete-region): Don't bind
8180         before-change-function, after-change-function.
8182         * simple.el (newline): Don't bind before-change-function,
8183         after-change-function.
8185 2000-05-31  Rajesh Vaidheeswarran <rv@gnu.org>
8187         * whitespace.el (whitespace-rescan-timer-time): Update interval
8188         set to 600 seconds (10 minutes) instead of 60 seconds since
8189         a large number of whitespace buffers causes emacs to `freeze'
8190         for a considerable amount of time.
8192         * whitespace.el: Updated email address
8194 2000-05-31  Dave Love  <fx@gnu.org>
8196         * add-log.el (change-log-font-lock-keywords) <function>: Add
8197         pattern for function of change.
8198         (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
8199         acknowledgements patterns.
8201 2000-05-31  Kenichi Handa  <handa@etl.go.jp>
8203         * isearch.el (isearch-printing-char): If keyboard coding system is
8204         being used, call isearch-process-search-multibyte-characters.
8206         * international/isearch-x.el: Mostly rewritten.
8208         * international/quail.el (quail-start-conversion): Don't include
8209         unhandled events in the returned events, but set them in
8210         unread-command-events.  Exit if all inputs are deleted.
8212 2000-05-30  Jason Rumney  <jasonr@gnu.org>
8214         * w32-fns.el (w32-charset-info-alist): Add each charset separately.
8216         * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
8217         Reenable code to create initial fontsets.
8218         Use set-fontset-font in place of put-charset-property.
8220 2000-05-30  Gerd Moellmann  <gerd@gnu.org>
8222         * progmodes/perl-mode.el (perl-indent-line): When looking for a
8223         label, ensure that the first colon isn't followed by another.
8225         * paths.el (Info-default-directory-list): Doc fix.
8227         * net/net-utils.el (finger-X.500-host-regexps): New user-option.
8228         (finger): If HOST matches a regexp from finger-X.500-host-regexps,
8229         send a query containing USER only, not USER@HOST.
8231         * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
8232         and rmail-msgend to compute the restriction at the end, instead of
8233         computing it.
8235 2000-05-29  Gerd Moellmann  <gerd@gnu.org>
8237         * dabbrev.el (dabbrev-expand): Don't display messages in the
8238         echo area if the minibuffer window is active.
8240         * jit-lock.el (jit-lock-mode): Add after change function to
8241         local hook.
8243 2000-05-29  Christoph Wedler  <Christoph.Wedler@sap.com>
8245         * antlr-mode.el: New commands: hide/unhide actions,
8246         upcase/downcase literals.
8247         (antlr-tiny-action-length): New user option.
8248         (antlr-hide-actions): New command.  Suggested by
8249         Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
8250         (antlr-mode-map): New binding [C-c C-v].
8251         (antlr-mode-menu): New entries.
8252         (antlr-downcase-literals): New command.
8253         (antlr-upcase-literals): Ditto.
8255         * antlr-mode.el: Minor changes: indendation, mode-name.
8256         (antlr-indent-line): Indent cpp directive at column 0.
8257         (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
8259         * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
8260         (antlr-font-lock-additional-keywords): Workaround for intentional
8261         bug in XEmacs version of font-lock.
8262         (antlr-mode): Set symbol property `mode-name' to "Antlr".  Could
8263         be used by a smarter version of `buffers-menu-grouping-function'.
8265 2000-05-29  Gerd Moellmann  <gerd@gnu.org>
8267         * tmm.el (tmm-prompt): Recognize menu item definitions of the for
8268         `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
8270 2000-05-29  Kenichi Handa  <handa@etl.go.jp>
8272         * international/encoded-kb.el
8273         (encoded-kbd-iso2022-designation-map): Pay attention to that
8274         charset-iso-final-char return -1 for eight-bit-control and
8275         eight-bit-graphic.
8277 2000-05-28  Eli Zaretskii  <eliz@is.elta.co.il>
8279         * speedbar.el (speedbar-use-images, speedbar-update-flag)
8280         (speedbar-easymenu-definition-base): Use display-graphic-p where
8281         available, instead of window-system.
8283 2000-05-28  Eli Zaretskii  <eliz@is.elta.co.il>
8285         * international/codepage.el (cp-coding-system-for-codepage-1): Add
8286         eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
8287         coding systems.
8289 2000-05-26  Dave Love  <fx@gnu.org>
8291         * disp-table.el (standard-display-underline): Don't use
8292         internal-find-face.
8294         * mail/reporter.el: Maintainer change.  Doc fixes.
8295         (reporter-version): Deleted.
8297         * emacs-lisp/elp.el: Maintainer change.
8298         (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
8300 2000-05-26  Stefan Monnier  <monnier@cs.yale.edu>
8302         * add-log.el (add-change-log-entry): Merge the current entry with the
8303         previous one if the previous one is empty.
8305 2000-05-26  Dave Love  <fx@gnu.org>
8307         * loadhist.el (unload-feature): Fix interactive spec [from
8308         lijnzaad@ebi.ac.uk].
8310         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
8311         subr-arity to check primitives.
8312         (byte-compile-flush-pending, byte-compile-file-form-progn)
8313         (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
8314         (byte-compile-insert, byte-compile-funcall): Use mapc instead of
8315         mapcar.
8317 2000-05-26  Kenichi Handa  <handa@etl.go.jp>
8319         * international/fontset.el: Set family names of non-latin charsets
8320         in default fontset to "*".
8322         * international/mule-diag.el (print-fontset): Combine family part
8323         and registry part of the fontname by "-*-" instead of "-".
8325         * international/mule-cmds.el (encode-coding-char): Make strings
8326         multibyte before calling encode-coding-string.
8328 2000-05-25  Stefan Monnier  <monnier@cs.yale.edu>
8330         * derived.el: Fix keywords.
8331         (define-derived-mode): Only define if needed.
8333         * simple.el (fill-comment, comment-column, comment-start)
8334         (comment-start-skip, comment-end, comment-indent-function)
8335         (block-comment-start, block-comment-end, indent-for-comment)
8336         (set-comment-column, kill-comment, comment-padding, comment-region)
8337         (comment-multi-line, indent-new-comment-line): Remove.
8339         * bindings.el (esc-map): Change ; to comment-dwim and use the new
8340         function names for comment operations.
8342         * newcomment.el: Add abundant autoload cookies.
8343         (comment-style): Don't depend on runtime data at compile-time.
8344         (comment-indent-hook): Remove.
8345         (comment-indent): Check if comment-indent-hook is bound.
8346         (comment-region): Docstring fix.
8348 2000-05-25  Dave Love  <fx@gnu.org>
8350         * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
8351         byte-code-function-p.
8353         * mail/rmailsum.el: Add provide.
8355         * net/goto-addr.el (goto-address-fontify): Add help-echo property.
8357         * smerge-mode.el (smerge-diff-switches): Don't use list* in
8358         defcustom.
8360 2000-05-25  Michael Kifer  <kifer@cs.sunysb.edu>
8362         * ediff-diff.el (ediff-exec-process): delete --binary option from
8363         non-buffer ediff jobs.
8365 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
8367         * hilit-chg.el (highlight-changes-mode): Ask about color or
8368         grayscale support, not about window-system.
8370         * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
8371         window-system.
8372         (ffap-highlight): Always default to t.
8374         * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
8375         display-popup-menus-p instead of looking at window-system.
8377         * disp-table.el (standard-display-g1, standard-display-graphic):
8378         Only refuse to use string glyphs on X and MS-Windows.
8380         * avoid.el: Remove window-system from commentary, suggest to use
8381         display-*-p instead.
8383         * apropos.el (apropos-print): Use display-mouse-p instead of
8384         window-system.
8386 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
8388         * international/codepage.el (cp-decoding-vector-for-codepage):
8389         Fill up unsupported characters with their own codes.  From Kenichi
8390         Handa.
8392 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
8394         * international/mule-diag.el (describe-char-after): Use
8395         display-graphic-p instead of window-system, so that this function
8396         works on MS-DOS.
8398 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
8400         * international/codepage.el (cp-make-coding-systems-for-codepage):
8401         Remove the eight-bit-graphic and eight-bit-control charsets from
8402         the list of charsets which we convert into `?'.
8404 2000-05-25  Kenichi Handa  <handa@etl.go.jp>
8406         * international/mule-conf.el: Specify CHARSET-ID explicitely for
8407         private charsets.
8408         (mule-unicode-0100-24ff, japanese-jisx0213-1,
8409         japanese-jisx0213-2): New charsets.
8411         * international/fontset.el: Setup default fontset for new charsets.
8413 2000-05-24  Dave Love  <fx@gnu.org>
8415         * info.el (Info-find-node-2): Restructure [following "Vadim
8416         S. Solomin" <sovs@uic.nnov.ru>].
8418         * icomplete.el: Fix header for Finder.
8420 2000-05-24  Eric M. Ludlam  <zappo@ultranet.com>
8422         * rmailout.el (rmail-output-to-rmail-file): Added optional param
8423         STAY.
8425         * rmail.el (rmail-automatic-folder-directives): New user variable.
8426         (rmail-show-message): Add call to `rmail-auto-file' during
8427         display.
8428         (rmail-auto-file): New function.
8430 2000-05-24  Michael Kifer  <kifer@cs.sunysb.edu>
8432         * ediff-diff.el (ediff-forward-word): Take syntactic word class into
8433         account.
8434         (ediff-test-utility,ediff-diff-mandatory-option)
8435         (ediff-reset-diff-options): Utilities for proper initialization of
8436         ediff-diff-options and ediff-diff3-options on Windows.
8438         * ediff-init.el (ediff-merge-filename-prefix): New customizable
8439         variable.
8441         * ediff-mult.el (ediff-filegroup-action): Use
8442         ediff-merge-filename-prefix.
8444 2000-05-24  Michael Kifer  <kifer@cs.sunysb.edu>
8446         * viper-ex.el (ex-write): Set selective display to nil.
8448 2000-05-24  Eli Zaretskii  <eliz@is.elta.co.il>
8450         * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
8451         aliases for hebrew-iso-8bit.
8453 2000-05-24  Eli Zaretskii  <eliz@is.elta.co.il>
8455         * woman.el: New version from Francis J. Wright
8456         <F.J.Wright@Maths.QMW.ac.uk>.
8457         (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
8458         names in environment variables regardless of the path separator.
8459         (woman-topic-all-completions-1): Don't call file-name-directory-p
8460         on all files, since woman-file-regexp already filters out any
8461         directories.
8463 2000-05-24  Kenichi Handa  <handa@etl.go.jp>
8465         * international/quail.el (quail-start-translation): Don't change
8466         modified-p of the current buffer.
8467         (quail-start-conversion): Likewise.
8469         * international/kkc.el (kkc-region): Don't change modified-p of
8470         the current buffer.
8472         * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
8473         conform to RFC1468.
8474         (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
8476 2000-05-23  Eric M. Ludlam  <zappo@ballista.ultranet.com>
8478         * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
8479         (speedbar-insert-button): Invisible text property fix.
8480         (speedbar-directory-plus): Renamed from speedbar-directory-+
8481         (speedbar-directory-minus): Renamed from speedbar-directory--
8482         (speedbar-page-plus): Renamed from speedbar-file-+
8483         (speedbar-page-minus): Renamed from speedbar-file--
8484         (speedbar-page): Renamed from speedbar-file-
8485         (speedbar-tag): Renamed from speedbar-tag-
8486         (speedbar-tag-plus): Renamed from speedbar-tag-+
8487         (speedbar-tag-minus): Renamed from speedbar-tag--
8488         (speedbar-expand-image-button-alist): Use above renames.
8490         * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
8491         * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
8492         * sb-pg-plus.xpm: Renamed from sb-file+.xpm
8493         * sb-pg-minus.xpm: Renamed from sb-file-.xpm
8494         * sb-pg.xpm: Renamed from sb-file.xpm
8495         * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
8496         * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
8498 2000-05-24  Kenichi Handa  <handa@etl.go.jp>
8500         * international/quail.el (quail-show-guidance-buf): Set
8501         current-input-method of the guidance buffer to the name of the
8502         curren input method.
8504 2000-05-23  Stefan Monnier  <monnier@cs.yale.edu>
8506         * progmodes/compile.el (compile-internal): Style typo.
8508         * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
8509         quote vars and functions in the docstring.
8511         * newcomment.el (comment-make-extra-lines): Don't use `assert'.
8513         * completion.el (dynamic-completion-mode, dynamic-completion-mode):
8514         Don't quote lambdas.
8516         * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
8518 2000-05-23  Gerd Moellmann  <gerd@gnu.org>
8520         * startup.el (command-line): Determine source file of compiled
8521         user init file differently.  Warn if compiled user init file
8522         is older than its source file.
8524         * ffap.el (ffap-url-regexp): Add `https'.
8526 2000-05-23  Eli Zaretskii  <eliz@is.elta.co.il>
8528         * files.el (make-backup-file-name-1): Replace slashes with `!'
8529         rather than `|' (which is not allowed on Windows).  Replace the
8530         drive letters with a string "drive_X".
8532 2000-05-23  Gerd Moellmann  <gerd@gnu.org>
8534         * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
8536         * files.el (interpreter-mode-alist): Add `bash2'.
8538 2000-05-22  Dave Love  <fx@gnu.org>
8540         * loadhist.el (feature-symbols, file-provides, file-requires): Use
8541         mapc.
8542         (feature-file): Avoid calling symbol-name.  Doc fix.
8543         (file-set-intersect, file-dependents): Use dolist, not mapcar.
8544         (loadhist-hook-functions): Add mouse-position-function.
8545         (unload-feature): Change uses of mapcar.
8547         * files.el (parse-colon-path): Doc fix.
8548         (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
8549         (set-auto-mode): Use mapc.
8551         * complete.el (PC-look-for-include-file): Use :alnum: character
8552         class.
8553         (partial-completion-mode): Add autoload cookie.
8555 2000-05-22  Sam Steingold  <sds@gnu.org>
8557         * info.el (Info-fontify-node): Fixed the call to
8558         `add-text-properties' (bug introduced on 2000-05-18).
8560 2000-05-22  Dave Love  <fx@gnu.org>
8562         * bindings.el: Remove debug-ignored-errors set in other files.
8564         * progmodes/etags.el: Add to debug-ignored-errors.
8565         (visit-tags-table-buffer): Clear out buffers holding old tables
8566         when making a new list.
8567         (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
8568         mapc.
8570         * completion.el: Doc fixes.  Add to debug-ignored-errors.  Don't
8571         quote keywords.
8572         (cmpl-string-case-type): Use character classes.
8574         * comint.el:
8575         * textmodes/ispell.el:
8576         * imenu.el:
8577         * mail/mh-e.el:
8578         * progmodes/compile.el: Add to debug-ignored-errors.
8580         * dabbrev.el: Add to debug-ignored-errors.
8581         (dabbrev-completion): Use mapc.
8583 2000-05-22  Eli Zaretskii  <eliz@is.elta.co.il>
8585         * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
8586         (woman-mapcan, woman-parse-man.conf)
8587         (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
8588         (woman-reset-emulation, woman-select-symbol-fonts): New functions.
8589         (woman-parse-colon-path): Call woman-mapcan.  Recognize Cygwin
8590         path syntax better.
8591         (woman-man.conf-path, woman-use-own-frame): New defcustoms.
8592         (woman-manpath): Call woman-parse-man.conf.
8593         (woman-emulation): New defcustom, defaults to nroff.
8594         (woman-font-support): New defconst.
8595         (woman-use-symbol-font): New defcustom.
8596         (woman-menu): Add new menu items: "Colored/BW", "Advanced",
8597         "Emulation".
8598         Many functions: Doc fix.
8600 2000-05-22  Kenichi Handa  <handa@etl.go.jp>
8602         * international/quail.el (quail-simple-translation-keymap): Map
8603         128..255 to quail-self-insert-command.
8604         (quail-keyboard-layout-alist): Add definition for "pc102-de".
8606 2000-05-22  Stefan Monnier  <monnier@cs.yale.edu>
8608         * help.el (help-manyarg-func-alist): Typo.
8610         * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
8611         intervals which makes it heaps simpler.
8613         * newcomment.el (comment-region-internal): Go back to BEG after quoting
8614         the nested comment markers.
8616         * subr.el (remove-hook): Don't turn the hook's value into a list.
8618 2000-05-21  Dave Love  <fx@gnu.org>
8620         * edmacro.el (edmacro-parse-keys): Return vector if any elements
8621         are invalid characters.
8623         * international/mule-util.el (detect-coding-with-priority): Use
8624         mapc.  Remove redundant lambda.
8626         * international/mule-diag.el (list-non-iso-charset-chars)
8627         (describe-fontset): Remove redundant lambda.
8629         * emulation/crisp.el (brief-mode): New alias.
8631         * emacs-lisp/ring.el (ring-elements): New function.
8633         * emacs-lisp/easymenu.el (easy-menu-create-menu)
8634         (easy-menu-do-add-item): Use keywordp.
8636         * emacs-lisp/byte-opt.el: Update side-effect free function lists.
8638         * replace.el: Doc and error message fixes.
8639         (replace-highlight): Use facep, not internal-find-face.
8641 2000-05-20  Stefan Monnier  <monnier@cs.yale.edu>
8643         * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
8645         * log-edit.el (log-edit-done): Cleanup trailing empty lines.
8646         (log-edit-insert-changelog): Drop `:' as well.
8648         * log-view.el: Fix file description.
8649         (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
8650         available.
8651         (log-view-font-lock-keywords): Only use cvs-filename-face if present.
8652         (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
8654         * emacs-lisp/easy-mmode.el: Update copyright and commentary.
8655         (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
8656         Print a status message if the toggle is called interactively.
8657         (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
8658         for global minor modes and use `defcustom' for them.
8659         Use add-minor-mode.
8660         (easy-mmode-define-derived-mode): Remove.
8661         (define-derived-mode): Fancier default docstring.
8662         (easy-mmode-define-navigation): Signal an error rather than (ding).
8664         * newcomment.el (comment-styles): New `box-multi'.
8665         (comment-normalize-vars): Better default for comment-continue to
8666         avoid whitespace-only continuations.
8667         (comment-search-forward): Always move even in the no-syntax case.
8668         (comment-padright): Only obey N if it's only obeyed for padleft.
8669         (comment-make-extra-lines): Better handling of empty continuations.
8670         Use `=' for the filler if comment-start has only one character.
8671         (uncomment-region): Try handling the special `=' filler.
8672         (comment-region): Allow LINES even if MULTI is nil.
8673         (comment-box): Choose box style based on comment-style.
8675 2000-05-20  Kenichi Handa  <handa@etl.go.jp>
8677         * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
8678         (ccl-compile-write-repeat): If ARG is string, make it unibyte.
8680 2000-05-20  Kenichi HANDA  <handa@etl.go.jp>
8682         * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
8683         and insert, not subst-char-in-region.
8685         * international/mule-diag.el (list-character-sets-1): Handle
8686         charsets eight-bit-control and eight-bit-graphic.
8687         (list-iso-charset-chars): Likewise.
8688         (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
8689         charactes as is.  Use indent-to to align characters.
8691         * international/mule-cmds.el (find-multibyte-characters): Never
8692         exclude charsets eight-bit-control and eight-bit-graphic.
8694 2000-05-19  Stefan Monnier  <monnier@cs.yale.edu>
8696         * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
8697         Don't quote lambdas.
8699         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
8701 2000-05-19  Gerd Moellmann  <gerd@gnu.org>
8703         * gud.el (gud-jdb-directories): Doc fix.
8705 2000-05-19  Stefan Monnier  <monnier@cs.yale.edu>
8707         * newcomment.el: New file.
8709 2000-05-19  Gerd Moellmann  <gerd@gnu.org>
8711         * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
8713 2000-05-18  Andreas Schwab  <schwab@suse.de>
8715         * dired.el (dired-between-files): Also skip lines beginning with
8716         `used'.
8718 2000-05-18  Gerd Moellmann  <gerd@gnu.org>
8720         * msb.el (msb-menu-cond): Add choice `user'.
8722 2000-05-18  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
8724         * ps-print.el: Compatibility, customization and doc fix.
8725         (ps-printer-name-option): Replace defconst by defvar.
8726         (ps-postscript-code-directory): XEmacs compatibility.
8727         (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
8728         fix.
8729         (ps-user-defined-prologue, ps-print-prologue-header)
8730         (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
8731         compatibility and code fix.
8732         (ps-print-background-image, ps-print-background-text):
8733         Customization fix.
8734         (ps-line-number-start, ps-n-up-on): New vars.
8736 2000-05-18  Espen Skoglund  <esk@ira.uka.de>
8738         * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
8739         the indent-comment function to just return the appropriate indent.
8741 2000-05-18  Eric M. Ludlam  <zappo@ultranet.com>
8743         * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
8744         sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
8745         sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
8747 2000-05-18  Dave Love  <fx@gnu.org>
8749         * info.el (Info-fontify-node): Add intangible property as well as
8750         invisible.
8752         * calendar/appt.el (appt-make-list): Match all lines of entry.
8753         From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
8755 2000-05-18  Kenichi Handa  <handa@etl.go.jp>
8757         * international/mule-diag.el (describe-char-after): Call
8758         internal-char-font, not char-font.  If internal-char-font returns
8759         nil, display "-- none --".
8761 2000-05-17  Eli Zaretskii  <eliz@is.elta.co.il>
8763         * image.el (image-type-available-p): Don't reference image-types
8764         if it isn't bound.
8766 2000-05-17  Stefan Monnier  <monnier@cs.yale.edu>
8768         * autoarg.el (autoarg-mode): Typo in the :set argument.
8770 2000-05-17  Eli Zaretskii  <eliz@is.elta.co.il>
8772         * startup.el (command-line-1): Don't signal an error if the
8773         directory for auto-save-list files does not yet exist.
8775 2000-05-17  Kenichi Handa  <handa@etl.go.jp>
8777         * international/mule-conf.el (arabic-iso8859-6): Fix typo.
8779 2000-05-16  Stefan Monnier  <monnier@cs.yale.edu>
8781         * subr.el (remove-hook): `setq' hook-value, not `set'.
8783 2000-05-16  Sam Steingold  <sds@gnu.org>
8785         * info.el (debug-ignored-errors): More errors to ignore.
8787 2000-05-16  Dave Love  <fx@gnu.org>
8789         * cus-edit.el: Don't require cl or easymenu.
8790         (custom-variable-prompt): Test standard-value property, not
8791         user-variable-p.
8793 2000-05-16  Sam Steingold  <sds@gnu.org>
8795         * subr.el (add-hook): `setq' hook-value, not `set'.
8797 2000-05-16  Gerd Moellmann  <gerd@gnu.org>
8799         * startup.el (command-line-1): Mention the FAQ in the startup
8800         message.
8802         * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
8804         * progmodes/compile.el (compilation-parse-errors): Collect
8805         `nomessage' regexps last.
8807         * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
8809         * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
8810         to the function name.
8812 2000-05-15  Dave Love  <fx@gnu.org>
8814         * speedbar.el (speedbar-recenter): Typo.
8815         (speedbar-expand-line): Make arg optional.
8816         (speedbar-mode): Avoid a compiler warning.
8818 2000-05-15  Gerd Moellmann  <gerd@gnu.org>
8820         * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
8821         user-specified option string is empty.
8823         * mouse.el (mouse-yank-at-click): Doc fix.
8825 2000-05-15  Eli Zaretskii  <eliz@is.elta.co.il>
8827         * term/internal.el (IT-character-translations): More updates of
8828         latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
8829         documents.
8831 2000-05-15  Gerd Moellmann  <gerd@gnu.org>
8833         * env.el (getenv): New function, interactively callable.
8834         (setenv, getenv): Remove autoload cookies.
8836         * loadup.el: Load `env'.
8838         * progmodes/f90.el: Change author's mail address.
8840 2000-05-14  Dave Love  <fx@gnu.org>
8842         * mail/rmail.el (rmail-show-message-hook): Customize and offer
8843         goto-addr as an option.
8845         * help.el (help-xref-stack): Doc fix.
8846         (help-xref-following): New variable.
8847         (help-make-xrefs): Use it.
8848         (help-xref-go-back): Use position information from stack element.
8849         (help-follow): Make position in stack element a pair.  Use
8850         help-xref-following.
8852         * autoarg.el: New file.
8854         * faces.el: Declare more functions obsolete.
8856         * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
8857         * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
8858         * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
8859         * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
8860         Remove all the setup-...-environment functions.
8862 2000-05-13  Eric M. Ludlam  <zappo@ultranet.com>
8864         * speedbar.el: Updated the commentary section.  xemacs20p now uses
8865         >= when detecting.  Require `defimage' safely.
8866         (speedbar-easymenu-definition-base): Add toggle for images.
8867         (speedbar-easymenu-definition-special): Add flush cache & expand.
8868         (speedbar-visiting-tag-hook): Set new defaults.  Added options.
8869         (speedbar-reconfigure-keymaps-hook): New variable.
8870         (speedbar-frame-parameters): Updated documentation.
8871         (speedbar-use-imenu-flag): Updated custom tag
8872         (speedbar-dynamic-tags-function-list): New variable.
8873         (speedbar-tag-hierarchy-method): Updated doc & custom.
8874         (speedbar-indentation-width, speedbar-indentation-width) New
8875         variables.
8876         (speedbar-hide-button-brackets-flag): Customizable.
8877         (speedbar-vc-indicator): Doc update.
8878         (speedbar-ignored-path-expressions): Updated default value.
8879         (speedbar-supported-extension-expressions): Updated default value.
8880         (speedbar-syntax-table): Remove {} paren status.
8881         (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
8882         as "+".  Added overlay aliases.
8883         (speedbar-mode): Use `speedbar-mode-line-update' instead of
8884         `force-mode-line-update'.
8885         (speedbar-mode, speedbar-quick-mouse, speedbar-click)
8886         (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
8887         `mouse-set-point'
8888         (speedbar-reconfigure-keymaps): Run configure keymap hooks.
8889         (speedbar-item-info-tag-helper): Revamped to handle a wider range
8890         of arbitrary text, and new helper functions.
8891         (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
8892         filename finder.
8893         (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
8894         (speedbar-directory-buttons): Update path search/expansion.
8895         (speedbar-make-tag-line): Pay attention to
8896         `speedbar-indentation-width'.  Use more care w/ invisible
8897         properties.
8898         (speedbar-change-expand-button-char): Call
8899         `speedbar-insert-image-button-maybe'.
8900         (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
8901         (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
8902         (speedbar-trim-words-tag-hierarchy)
8903         (speedbar-simple-group-tag-hierarchy): New functions
8904         (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
8905         (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
8906         functions.
8907         (speedbar-mouse-set-point): New function
8908         (speedbar-power-click): Updated documentation.
8909         (speedbar-line-token, speedbar-goto-this-file): Handle more types
8910         of tag prefix text.
8911         (speedbar-expand-line, speedbar-contract-line): Make more robust
8912         to strange text.
8913         (speedbar-expand-line): Takes universal argument to flush the
8914         cache.
8915         (speedbar-flush-expand-line): New function.
8916         (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
8917         Use new generator insertion method.
8918         (speedbar-fetch-dynamic-tags): New function.
8919         (speedbar-fetch-dynamic-imenu): Removed code now handled in
8920         `speedbar-fetch-dynamic-imenu'.
8921         (speedbar-fetch-dynamic-etags): Fix current buffer problem.
8922         (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
8923         "Revert Buffer" menu items.
8924         (speedbar-buffer-buttons-engine): Be smarter when creating a
8925         filename tag (for expansion purposes.).
8926         (speedbar-highlight-one-tag-line,
8927         (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
8928         (speedbar-recenter): New functions.
8929         (defimage-speedbar): Image loading abstraction.
8930         (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
8931         (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
8932         (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
8933         (speedbar-tag-type, speedbar-tag-mail): New images.
8934         (speedbar-expand-image-button-alist): New variable.
8935         (speedbar-insert-image-button-maybe): Insert an image over some
8936         buttons.
8938 2000-05-13  Kenichi Handa  <handa@etl.go.jp>
8940         * international/mule-cmds.el (encode-coding-char): An ASCII
8941         character is always encodable.
8943         * international/mule-conf.el: Add more information in descriptions
8944         of character sets.
8946         * international/mule-diag.el (describe-char-after): New function.
8947         (describe-font-internal): Adjusted for the change of font-info.
8948         (describe-font): Likewise.
8949         (print-fontset): Rewritten for the new fontset implementation.
8950         (describe-fontset): Include fontset alias names in completion.
8951         (list-fontsets): Adjusted for the change of print-fontset.
8953         * simple.el (what-cursor-position): If DETAIL is non-nil, call
8954         describe-char-after instead of displaying the detail in the echo
8955         area.
8956         (syntax-code-table): Format changed.
8957         (string-to-syntax): Adjusted for the above change.
8959 2000-05-12  Stefan Monnier  <monnier@cs.yale.edu>
8961         * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
8963 2000-05-12  Dave Love  <fx@gnu.org>
8965         * calendar/todo-mode.el: Remove some compatibility stuff and CL
8966         dependence.  Use line-{beginning,end}-position, not
8967         point-at{b,e}ol.  Some doc fixes.
8968         (todo-position): New function.  Fix callers of position to use it.
8969         (todo-save-top-priorities, todo-print): Use with-temp-buffer.
8971 2000-05-12  Gerd Moellmann  <gerd@gnu.org>
8973         * time.el (display-time-mail-icon): Use `:ascent center'.
8975         * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
8976         handling FTP security extensions.
8978 2000-05-11  Dave Love  <fx@gnu.org>
8980         * calendar/todo-mode.el: New file.
8982 2000-05-11  Gerd Moellmann  <gerd@gnu.org>
8984         * comint.el (comint-read-input-ring): Move reference to
8985         comint-input-ring-size outside of the save-excursion.  It was
8986         causing the default value to be the only one ever seen.
8988         * font-lock.el: Update copyright.  Remove Simon Marshall's email
8989         address on request from him.
8991         * subr.el (substitute-key-definition): Add comment describing
8992         the meaning of PREFIX.
8994 2000-05-10  Stefan Monnier  <monnier@cs.yale.edu>
8996         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
8998         * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
8999         (add-minor-mode): Don't make the variable buffer-local and add a
9000         reference to define-minor-mode in the docstring.
9002         * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
9003         HEADER/FOOTER and fix bug with trailing empty directory.
9004         (cvs-append-to-ignore): Use vc-editable-p if available.
9005         (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
9006         (vc-do-command): Tweak advice to handle the new VC.
9008         * log-view.el (log-view-goto-rev): New function for the new VC.
9009         (log-view-minor-wrap): Use mark-active.
9011         * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
9012         (log-edit-changelog-full-paragraphs): New var.
9013         (log-edit-insert-changelog): Remove a lonely leading `* file'.
9014         (log-edit-narrow-changelog, log-edit-changelog-paragraph)
9015         (log-edit-changelog-subparagraph, log-edit-changelog-entry)
9016         (log-edit-changelog-ours-p, log-edit-changelog-entries)
9017         (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
9018         Replace the `cvs' prefix with `log-edit'.
9020         * iswitchb.el (iswitchb-completion-help): Unquote lambda.
9022         * diff-mode.el (diff-font-lock-keywords): Recognize comments.
9023         (diff-font-lock-defaults): Explicitly turn off multiline.
9024         (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
9025         (diff-ediff-patch): Fix call to ediff-patch-file.
9026         (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
9027         Handle comments.
9029         * frame.el (automatic-hscrolling): Typo.
9031         * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
9033 2000-05-09  Sam Steingold  <sds@goems.com>
9035         * apropos.el (apropos-print): use `describe-face' instead of
9036         `customize-face-other-window'.
9038 2000-05-09  Dave Love  <fx@gnu.org>
9040         Changes mostly following Richard Sharman <rsharman@wave.home.com>.
9042         * help.el (describe-variable): Have customize button pop the
9043         help-xref stack when invoked.
9044         (help-xref-symbol-regexp): Add `face'.
9045         (help-make-xrefs): Check for quoted face names and adapt regexp
9046         submatch numbers to cope.
9047         (help-xref-interned): Maybe insert face doc too.  Separate
9048         sections with a line of hyphens.
9050         * faces.el:  Some doc fixes.  Declare some functions obsolete.
9051         (describe-face): Add customize button.  Return the help
9052         text.  Fix prompt.
9054 2000-05-09  Eli Zaretskii  <eliz@is.elta.co.il>
9056         * term/internal.el (IT-character-translations): Fix last change.
9058 2000-05-08  Eli Zaretskii  <eliz@is.elta.co.il>
9060         * woman.el: New file
9061         (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
9063 2000-05-08  Eli Zaretskii  <eliz@is.elta.co.il>
9065         * term/internal.el (IT-character-translations): Update ASCII
9066         simulations for greek-iso8859-7, add latin-iso8859-14 and
9067         latin-iso8859-15.
9069         * international/mule-cmds.el (set-language-info-alist): Call
9070         define-prefix-command with 3 arguments, to make the map suitable
9071         for a menu.
9073 2000-05-07  Dave Love  <fx@gnu.org>
9075         * time.el: Small doc fixes from Pavel Jan\e,Am\e(Bk ml.
9077 2000-05-05  Dave Love  <fx@gnu.org>
9079         * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
9080         list in doc string.  Don't quote keyword symbols.
9081         * emacs-lisp/cl.el: Likewise
9082         * emacs-lisp/cl-seq.el: Likewise
9084 2000-05-05  Gerd Moellmann  <gerd@gnu.org>
9086         * abbrev.el (abbrev-mode): Make ARG optional.
9088 2000-05-04  Gerd Moellmann  <gerd@gnu.org>
9090         * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
9092         * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
9094         * subr.el (substitute-key-definition): Clarify documentation.
9096 2000-05-04  Milan Zamazal  <pdm@freesoft.cz>
9098         * glasses.el (glasses-convert-to-unreadable): Use
9099         `glasses-separator' instead of the hard-wired "_".
9100         (glasses-mode): Call `glasses-make-unreadable' only in a single
9101         place.
9103 2000-05-04  Eli Zaretskii  <eliz@is.elta.co.il>
9105         * term/internal.el (cjk-codepages-alist): Add associations for
9106         Chinese and Korean codepages.  Remove FIXME comment.
9108 2000-05-03  Dave Love  <fx@gnu.org>
9110         * time.el (display-time-mail-face, display-time-use-mail-icon):
9111         New option.
9112         (display-time-mail-icon): New variable.
9113         (display-time-string-forms): Use the above.  Fix the local-map.
9115 2000-05-03  Gerd Moellmann  <gerd@gnu.org>
9117         * replace.el (query-replace-map): Add binding for `E'.
9118         (query-replace-help): Extend help text.
9119         (perform-replace): Allow editing the replacement string.
9121         * make-mode.el (makefile-mode-abbrev-table): New variable.
9122         (makefile-mode): Set local abbrev table to
9123         makefile-mode-abbrev-table.
9124         (makefile-font-lock-keywords): Fontify includes and conditionals.
9126         * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
9127         set TOGGLE's value.
9129         * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
9130         mail-interactive-insert-alias.
9131         (mail-abbrev-complete-alias): New command.
9132         (mail-mode-map): Bind it to `M-TAB'.
9134 2000-05-03  Kenichi Handa  <handa@etl.go.jp>
9136         * language/lao-util.el (lao-compose-region): New function.
9138 2000-05-02  Gerd Moellmann  <gerd@gnu.org>
9140         * files.el (recover-session): Make directories as necessary
9141         if they don't exist yet.
9143         * calendar/cal-french.el
9144         (french-calendar-multibyte-special-days-array)
9145         (french-calendar-special-days-array): Change French text.
9146         (calendar-french-date-string): Change output.
9147         (calendar-goto-french-date): Likewise.
9149 2000-05-02  Per Abrahamsen  <abraham@dina.kvl.dk>
9151         * wid-edit.el (widget-default-active): Obey `:always-active'.
9152         (widget-documentation-string-value-create): Set `:always-active'.
9154 2000-05-02  Eli Zaretskii  <eliz@is.elta.co.il>
9156         * startup.el (auto-save-list-file-prefix): For ms-dos, set the
9157         default prefix to `~/_emacs.d/auto-save.list/_s'.
9158         (normal-top-level): Create the directory for auto-save files, if
9159         it doesn't already exist (in the ms-dos case only).
9161 2000-05-02  Eli Zaretskii  <eliz@is.elta.co.il>
9163         * international/mule-cmds.el (set-language-environment): Don't
9164         concat an integer (dos-codepage), use format instead.
9166 2000-05-02  Dave Love  <fx@gnu.org>
9168         * help.el (help-xref-on-pp): Check for constant symbols.
9170 2000-04-29  Gerd Moellmann  <gerd@gnu.org>
9172         * startup.el (normal-top-level): Put a condition-case around
9173         the code loading subdirs.el.
9175 2000-04-29  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9177         * ps-print.el: Upside-down and face background color printing,
9178         line number step, doc fix.
9179         (ps-print-version): New version number (5.2).
9180         (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
9181         (ps-face-attribute-list, ps-plot-with-face): Code fix.
9182         (ps-spool-config): Var fix.
9183         (ps-printer-name-option): Const fix.
9184         (ps-print-upside-down, ps-use-face-background)
9185         (ps-line-number-step): New vars.
9186         (ps-window-system, ps-lp-system): New consts.
9187         (ps-face-background): New fun.
9189 2000-04-28  Richard Stallman  <rms@gnu.org>
9191         * files.el (make-auto-save-file-name):
9192         Apply auto-save-file-name-transforms to visited file name
9193         before generating auto save file name.
9194         (auto-save-file-name-transforms): New variable.
9196         * files.el (backup-enable-predicate):
9197         Correctly test for a file under a temporary directory.
9199 2000-04-28  Gerd Moellmann  <gerd@gnu.org>
9201         * subr.el (add-minor-mode): Rewritten.
9203 2000-04-28  Kenichi Handa  <handa@etl.go.jp>
9205         * mail/sendmail.el (sendmail-send-it): Set
9206         buffer-file-coding-system to the selected coding system for MIME
9207         header.
9209 2000-04-27  Gerd Moellmann  <gerd@gnu.org>
9211         * dired.el (dired-move-to-filename-regexp): Allow format where
9212         YYYY is followed by two spaces.
9214         * progmodes/etags.el (etags-tags-completion-table): Add a `:'
9215         in the second character class of the regexp.
9217         * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
9218         mh-etc, too.
9220         * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
9221         nil.
9223         * subr.el (add-minor-mode): Use `set' instead of `setq'.
9225         * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
9226         argument.
9228 2000-04-27  Sen Nagata <sen@eccosys.com>
9230         * emacs-lisp/crm.el (crm-completion-table): New variable.
9231         (crm-collection-fn, crm-test-completion)
9232         (completing-read-multiple): Use it.
9234 2000-04-27  Dave Love  <fx@gnu.org>
9236         * help.el (locate-library): Use mapc.
9237         (help-manyarg-func-alist): Add call-process-region.
9239 2000-04-26  Gerd Moellmann  <gerd@gnu.org>
9241         * subr.el (add-minor-mode): Make argument MAP optional.
9243         * desktop.el (desktop-save): Save list of minor modes.
9244         (desktop-create-buffer): Restore minor modes.
9245         (desktop-minor-mode-table): New user-option.
9247         * subr.el (add-minor-mode): New function.
9249         * image.el (find-image): New function.
9250         (defimage): Rewritten to find image at load time.
9252         * startup.el (normal-top-level-add-to-load-path): Handle
9253         case that the default directory is not in load-path.
9255         * help.el: Old patch from Stefan Monnier.
9256         (help-xref-on-pp): New function.
9257         (describe-variable): Use it to display xrefs in a symbol's value.
9259 2000-04-26  Stefan Monnier  <monnier@cs.yale.edu>
9261         * cus-edit.el (custom-face): Fix parenthesis.
9263 2000-04-26  Kenichi Handa  <handa@etl.go.jp>
9265         * mail/rmail.el (rmail-expunge): When there are no deleted
9266         messages, do nothing.
9268 2000-04-26  Dave Love  <fx@gnu.org>
9270         * international/mule-cmds.el (locale-translation-file-name):
9271         Defvar to nil.
9272         (set-locale-environment): Set it here (at runtime).
9274 2000-04-25  Gerd Moellmann  <gerd@gnu.org>
9276         * replace.el (perform-replace): Add parameters START and END.  Use
9277         them instead of the check for a region in Transient Mark mode.
9278         (query-replace-read-args): Return two more list elements for the
9279         start and end of the region in Transient Mark mode.
9280         (query-replace, query-replace-regexp, query-replace-regexp-eval)
9281         (map-query-replace-regexp, replace-string, replace-regexp): Add
9282         optional last arguments START and END and pass them to
9283         perform-replace.
9285         * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
9286         form with additional arguments for perform-replace.
9288         * progmodes/etags.el (tags-query-replace): Add parameters START
9289         and END.  Construct a form with additional arguments for
9290         perform-replace.
9292         * simple.el (shell-command): Set default directory for "*Shell
9293         Command Output" buffer.
9295         * language/european.el (iso-latin-4): Fix typo.
9297         * emacs-lisp/crm.el: New file.
9299 2000-04-24  Dave Love  <fx@gnu.org>
9301         * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
9302         (Custom-reset-saved, Custom-reset-standard)
9303         (custom-group-value-create, custom-group-set, custom-group-save)
9304         (custom-group-reset-current, custom-group-reset-saved)
9305         (custom-group-reset-standard): Use mapc.
9306         (custom-buffer-create-internal): Disable undo when creating items.
9307         Use mapc.
9308         (custom-face): Avoid redundant lambda.
9310 2000-04-24  Gerd Moellmann  <gerd@gnu.org>
9312         * startup.el (auto-save-list-file-prefix): Set default to
9313         `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
9315 2000-04-24  Sam Steingold  <sds@gnu.org>
9317         * time-stamp.el (time-stamp-string-preprocess): Always convert
9318         `field-result' to a string.
9320 2000-04-24  Gerd Moellmann  <gerd@gnu.org>
9322         * frame.el (scrolling): New group.
9323         (automatic-hscrolling): New user-option.
9325         * startup.el (command-line-x-option-alist): Add `-lsp' and
9326         `--line-spacing'.
9328 2000-04-19  Dave Love  <fx@gnu.org>
9330         * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
9331         (cl-mapc): Rename from mapc.  Fix the funcall.
9333 2000-04-19  Gerd Moellmann  <gerd@gnu.org>
9335         * simple.el (clone-indirect-buffer-other-window): New command.
9336         (clone-indirect-buffer): Add optional arg NORECROD.
9337         (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
9339         * help.el (resize-temp-buffer-window): Use count-screen-lines.
9341         * window.el (count-screen-lines): New function.
9342         (shrink-window-if-larger-than-buffer): Use count-screen-lines
9343         instead of window-buffer-height.
9345         * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
9346         non-existing variable comint-input-sentinel.
9347         (inferior-lisp-args-to-list): Removed.
9348         (inferior-lisp): Use split-string instead of
9349         inferior-lisp-args-to-list.
9351         * hexl.el (hexl-insert-hex-string): New command.
9353         * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
9354         instead of concat.
9356 2000-04-18  Gerd Moellmann  <gerd@gnu.org>
9358         * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
9359         at the start of an existing but empty folder.
9361 2000-04-18  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9363         * ps-mule.el: Customization fix, doc fix.
9364         (ps-multibyte-buffer): Customization fix.
9366 2000-04-17  Richard M. Stallman  <rms@gnu.org>
9368         * subr.el (read-passwd): Use read-char-exclusive.
9370 2000-04-17  Gerd Moellmann  <gerd@gnu.org>
9372         * textmodes/texinfo.el (texinfo-insert-@email)
9373         (texinfo-insert-@emph, texinfo-insert-@quotation)
9374         (texinfo-insert-@strong, texinfo-insert-@url): New functions.
9375         (texinfo-mode-map): Add key bindings for them.
9377         * files.el (basic-save-buffer-2): Use a template with `$'
9378         instead of `#' for VMS.
9380         * simple.el (clone-indirect-buffer): New function.
9382 2000-04-16  Stephen Eglen  <stephen@gnu.org>
9384         * iswitchb.el (iswitchb-case): New function.  If the user input
9385         contains any upper-case characters, the search is made
9386         case-sensitive.
9388 2000-04-17  Stefan Monnier  <monnier@cs.yale.edu>
9390         * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
9391         comment-end.
9392         (texinfo-font-lock-syntactic-keywords): New var.
9393         (texinfo-font-lock-keywords): Remove comment regexp.
9394         (texinfo-insert-block): New function.
9395         (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
9396         (texinfo-mode): Use define-derived-mode.  Tweak comment-start-skip
9397         and font-lock-defaults.  Use regexp-opt for outline-regexp.
9398         (texinfo-environments): New var.
9399         (texinfo-environment-regexp): Use regexp-opt and
9400         texinfo-environments.
9402         * textmodes/ispell.el (ispell-menu-map-needed): Check that
9403         ispell-process is bound since this might be eval'd before ispell
9404         is loaded.
9405         (ispell-message): Use a tiny bit less magic and a bit more hard
9406         data to figure out what kind of sc-cite-regexp to use.
9408         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
9410         * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
9411         (insert-cyclic-diary-entry): Unquote the lambda.
9413         * gud.el (gud-jdb-build-source-files-list): Fix typo.
9415         * files.el (backup-enable-predicate): Unquote the lambda.
9417         * cus-edit.el (custom-face, face): Unquote the lambda.
9419 2000-04-15  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9421         * ps-print.el: Check for line-beginning-position definition.
9423         * ps-print.el: Fix counting lines in a region.
9424         (ps-print-version): New version number (5.1.5).
9425         (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
9426         (ps-printing-region): Fun code fix.
9428 2000-04-15  Gerd Moellmann  <gerd@gnu.org>
9430         * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
9431         to file-directory-p.
9433 2000-04-14  Gerd Moellmann  <gerd@gnu.org>
9435         * gud.el (gud-jdb-build-source-files-list): Check that directory
9436         exists before calling directory-files.
9438 2000-04-13  Dave Love  <fx@gnu.org>
9440         * emacs-lisp/trace.el: Change maintainer.  Use new backquote
9441         syntax.
9443         * emacs-lisp/cl-specs.el: Remove when, unless.
9445         * emacs-lisp/cl-extra.el: Don't quote keywords.
9446         (cl-old-mapc): New variable.
9447         (mapc): Use it.
9448         (cl-map-intervals): Use with-current-buffer.  Don't check for
9449         next-property-change.
9450         (cl-map-overlays): Use with-current-buffer.
9451         (cl-expt): Remove.
9452         (copy-tree, remprop): Define unconditionally.
9454         * emacs-lisp/cl-compat.el (keywordp): Remove.
9456         * emacs-lisp/edebug.el (edebug-keywordp): Remove.  Change callers
9457         to use keywordp.
9458         (edebug-spec): Enable keywordp.
9460         * cus-edit.el (custom-sort-items): Avoid symbol-name with new
9461         string-lessp.
9463         * cus-start.el: Use keywordp.
9465 2000-04-13  Edward M. Reingold  <reingold@emr.cs.uiuc.edu>
9467         * diary-lib.el (include-other-diary-files): Fix the fix of
9468         2000-02-18 by doing a save-excursion.
9470 2000-04-13  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9472         * ps-print.el: Customization fix, doc fix.
9473         (ps-print-version): New version number (5.1.4).
9474         (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
9475         (ps-print-preprint): Adjust code.
9476         (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
9477         (ps-print-prologue-header, ps-print-control-characters)
9478         (ps-spool-config): Customization fix.
9480 2000-04-13  Eli Zaretskii  <eliz@is.elta.co.il>
9482         * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
9483         converted to the new menu-item format, names silightly changed,
9484         help strings added.
9486         Support for spelling without async subprocesses:
9488         * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
9489         (ispell-session-buffer): New variables.
9490         (ispell-start-process, ispell-process-status,
9491         ispell-accept-output, ispell-send-string): New functions, for
9492         Ispell invocation when async subprocesses aren't supported.
9493         (ispell-word, ispell-pdict-save, ispell-command-loop,
9494         ispell-process-line, ispell-buffer-local-parsing): Replace calls
9495         to process-send-string with calls to ispell-send-string, and
9496         accept-process-output with ispell-accept-output.
9497         (ispell-init-process): Call ispell-process-status instead of
9498         process-status with.
9499         (ispell-init-process): Call ispell-start-process.  Call
9500         ispell-accept-output and ispell-send-string.  Don't call
9501         process-kill-without-query and kill-process if they are unbound.
9502         (ispell-async-processp): New function.
9504 2000-04-12  Dave Love  <fx@gnu.org>
9506         * info.el: Add debug-ignored-errors.
9507         (Info-mode-menu): Add some items.
9508         (Info-directory): Add autoload cookie.
9510         * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
9511         Modify `truncate-lines'.  Make `describe-language-environment'
9512         always visible and add help.  Modify `describe-key' help.  Invoke
9513         Info-directory from `info'.  New entry `emacs-manual'.
9515 2000-04-10  Gerd Moellmann  <gerd@gnu.org>
9517         * progmodes/ebrowse.el (ebrowse-tree-mode): Use
9518         propertized-buffer-identification.
9519         (ebrowse-update-member-buffer-mode-line): Likewise.
9520         (ebrowse--mode-strings): Removed.
9521         (ebrowse--mode-line-props): Removed.
9523         * files.el (auto-mode-alist): Add `EBROWSE'.
9525         * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
9526         space before testing for end of buffer.
9527         (ebrowse-load): Removed.
9528         (ebrowse-revert-tree-buffer-from-file): Rewritten.
9529         (ebrowse-create-tree-buffer): Rewritten.
9530         (ebrowse-tree-mode): Read tree from buffer.
9532         * progmodes/ebrowse-ffh.el: Removed.
9534 2000-04-10  Kenichi Handa  <handa@etl.go.jp>
9536         * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
9538 2000-04-10  Gerd Moellmann  <gerd@gnu.org>
9540         * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
9541         at the wrong place.
9543 2000-04-09  Dave Love  <fx@gnu.org>
9545         * files.el (backup-enable-predicate): Use
9546         temporary-file-directory, small-temporary-file-directory.
9547         (make-backup-file-name-function, backup-directory-alist): New
9548         variables.
9549         (make-backup-file-name-1): New function.
9550         (make-backup-file-name): Use it.
9551         (find-backup-file-name): Likewise.  Use format for clarity, not
9552         concat.
9553         (file-newest-backup): Use make-backup-file-name.
9555 2000-04-09  Gerd Moellmann  <gerd@gnu.org>
9557         * progmodes/ebrowse-ffh.el: New file.
9559         * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
9560         to ebrowse-ffh.el.
9561         (ebrowse-load): Add autoload.
9563         * finder.el (finder-commentary): Add autoload cookie.
9565         * mail/rfc2368.el: Correct author's email address.
9567         * progmodes/ebrowse.el: New file.
9569         * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
9570         item help string.
9571         (easy-menu-do-add-item): Ditto.
9572         (easy-menu-define): Extend doc string.
9574         * jit-lock.el (with-buffer-unmodified): Use
9575         restore-buffer-modified-p.
9576         (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
9577         (jit-lock-function, jit-lock-stealth-fontify): Don't use
9578         with-buffer-unmodified.
9580 2000-04-08  Dave Love  <fx@gnu.org>
9582         * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
9583         unless, when.
9585 2000-04-07  Mikio Nakajima  <minakaji@osaka.email.ne.jp>
9587         * viper-util.el (viper-put-on-search-overlay): New subroutine.
9588         (viper-flash-search-pattern): No operation when using Emacs
9589         doesn't support face.
9590         Use `viper-put-on-search-overlay'.
9592 2000-04-04  Gerd Moellmann  <gerd@gnu.org>
9594         * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
9595         like C-r.
9597         * progmodes/make-mode.el: Some doc fixes.
9598         (makefile-mode-abbrev-table): New variable.
9599         (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
9600         (makefile-font-lock-keywords): Fontify includes and conditionals.
9601         (toplevel): Require `dabbrev' and `add-log' when compiling.
9603         * replace.el (perform-replace): Don't move forward one char
9604         when MATCH-AGAIN is nil, and REGEXP-FLAG is t.  We don't want
9605         to do that because it leaves point 1 position after the last
9606         replacement, after everything has been replaced.
9608         * jit-lock.el (with-buffer-unmodified): New macro.
9609         (with-buffer-prepared-for-font-lock): Don't preserve buffer's
9610         modified state.
9611         (jit-lock-function-1): Extracted from jit-lock-function; not
9612         preserving buffer's modified state.
9613         (jit-lock-function, jit-lock-stealth-fontify): Call
9614         jit-lock-function-1.
9616         * mail/rfc2368.el: Remove supernumerary copyright line.
9618 2000-04-04  Milan Zamazal  <pdm@freesoft.cz>
9620         * glasses.el: Provide facilities for inserting space before left
9621         parentheses and uncapitalization of identifiers.
9622         (glasses-mode): Try to remove old overlays in all cases.
9624 2000-04-03  Gerd Moellmann  <gerd@gnu.org>
9626         * progmodes/compile.el (compile-internal): Display the compilation
9627         buffer in a different frame, if it's already displayed there.
9629         * mail/rfc2368.el: New file.
9631         * simple.el (sendmail-user-agent-compose): Recognize a `body'
9632         header and insert its value as mail body.
9634         * subr.el (member-ignore-case): New function.
9636         * dabbrev.el (dabbrev-ignored-regexps): New user-option.
9637         (dabbrev--find-expansion): Ignore buffers matching a regexp
9638         from dabbrev-ignored-regexps.
9640         * jka-compr.el (jka-compr-compression-info-list): Add `.z'
9641         to extensions handled by gzip.
9643 2000-04-03  Richard M. Stallman  <rms@gnu.org>
9645         * files.el (insert-directory): List the total free space
9646         along with the used space.
9648         * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
9649         line is followed by one that matches CITATION-REGEXP, end the
9650         paragraph.
9652 2000-04-03  Markus Rost  <rost@delysid.gnu.org>
9654         * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
9655         (rmail-make-basic-summary-line): Use that option.
9657 2000-04-03  Kenichi Handa  <handa@etl.go.jp>
9659         * international/mule-cmds.el (encoded-string-description):
9660         Rewritten.   Try pretty description for ISO 2022 escape sequences
9661         only if CODING-SYSTEM is based on ISO 2022.  Use uppercase letters
9662         for hexadecimal format.
9664 2000-04-01  Dave Love  <fx@gnu.org>
9666         * cpp.el: Change customization group to `c' from `C'.
9668         * vcursor.el (vcursor-move): Use display-color-p.
9670         * international/mule-util.el: Provide mule-utils.
9671         (string-to-sequence): Simplify and speed up.
9673         * international/mule.el (make-coding-system): Purecopy doc-string.
9675         * international/mule-cmds.el: Various menu changes.
9676         (describe-specified-language-support): Handle `Default'.
9677         (set-language-info): Purecopy `info'.
9679 2000-03-31  Andrew Innes  <andrewi@gnu.org>
9681         * vc.el (vc-backend-diff): Return the correct status if we had to
9682         retry the rcsdiff command without the --brief option.
9684 2000-03-31  Dave Love  <fx@gnu.org>
9686         * help.el (help-manyarg-func-alist): Correct several omissions.
9688         * add-log.el: Don't require cl, fortran.
9689         (add-log-current-defun-function): Doc fix.
9690         (change-log-version-number-regexp-list): Remove SCCS part.  Doc
9691         fix.
9692         (change-log-version-rcs): Function deleted.
9693         (change-log-version-number-search): Doc fix.  Use
9694         vc-workfile-version.  Avoid CL dolist.
9695         (add-change-log-entry): Just call add-log-current-defun to get
9696         defun.  Simplify somewhat.
9697         (change-log-get-method-definition-1): Likewise.
9698         (add-log-current-defun): Return nil if calling
9699         add-log-current-defun-function does so.  Move Fortran stuff to
9700         fortran.el.  Return string without properties.
9702         * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
9703         and :alpha: char classes.
9705         * mail/supercite.el: Defvar curline when compiling.
9706         (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
9707         (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
9708         rather than a-zA-Z0-9 to allow non-ASCII characters.
9710 2000-03-31  Gerd Moellmann  <gerd@gnu.org>
9712         * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
9714         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9715         Re-enable new code.
9717         * lpr.el (print-region-1): Use -d to specify printer name for
9718         systems `usg-unix-v*, `dgux', `hpux', `irix'.
9720 2000-03-31  Dave Love  <fx@gnu.org>
9722         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
9723         for function definition in symbol's function value slot first
9724         instead of first consulting byte-compile-function-environment.
9726 2000-03-31  Kenichi Handa  <handa@etl.go.jp>
9728         * language/european.el ("Polish"): New language environment.
9729         (setup-polish-environment): New function.
9731 2000-03-30  Gerd Moellmann  <gerd@gnu.org>
9733         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9734         Disable new code.
9736         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
9737         trying to `load' the symbol of an autoload instead of the file
9738         recorded in the autoload.  Fix error messages.
9740 2000-03-30  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9742         * ps-print.el: PostScript programming fix for ghostview, doc fix.
9743         (ps-print-version): New version number (5.1.3).
9744         (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
9745         (ps-insert-file, ps-output-boolean, ps-plot-with-face)
9746         (ps-generate-postscript-with-faces): Code fix.
9747         (ps-color-values): XEmacs compatibility.
9748         (ps-print-background-image, ps-print-background-text, ps-printer-name)
9749         (ps-default-fg, ps-default-bg): Adjust customization.
9750         (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
9751         (ps-color-scale): Renaming old ps-color-value fun.
9752         (ps-print-headers): Replace ps-print-header group to avoid conflict
9753         with ps-print-header variable.
9754         (ps-print-miscellany): New group.
9755         (ps-format-color, ps-rgb-color): New funs.
9756         (ps-default-foreground): New var.
9757         (ps-printer-name-option): New const.
9759 2000-03-30  Peter Breton  <pbreton@ne.mediaone.net>
9761         * net/net-utils.el:
9762         (network-connection-host, network-connection-service): New variables
9763         (network-connection-mode): New mode, derived from comint-mode
9764         (network-connection-mode-setup): New function, saves host and
9765         service information in local variables.
9767         * lisp/locate.el:
9768         (locate-word-at-point): Added this function
9769         (locate): Default to using locate-word-at-point as input
9770         Run dired-mode-hook
9772 2000-03-29  Dave Love  <fx@gnu.org>
9774         * calendar/appt.el: Doc fixes.
9775         (appt-check): Convert min-to-app to a string before passing to
9776         appt-disp-window-function or concat.
9777         (appt-delete-window): Remove test for frame-root-window.
9778         (appt-select-lowest-window, appt-convert-time): Simplify.
9780         * emacs-lisp/bytecomp.el: Doc fixes.
9781         (byte-compile-file-form-autoload): Update
9782         byte-compile-function-environment.
9784 2000-03-29  Andreas Schwab  <schwab@suse.de>
9786         * emacs-lisp/autoload.el: Also print defsubst doc string
9787         specially.
9789         * dired.el (dired-insert-directory): If dired-free-space-program
9790         failed just delete its output.
9792 2000-03-29  Dave Love  <fx@gnu.org>
9794         * international/iso-cvt.el: Move provide to end.  Doc fixes.
9795         (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
9796         (iso-iso2sgml, iso-sgml2iso): New functions.
9797         (iso-cvt-define-menu): Fix some entries and use backquote for
9798         clarity.
9800         * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
9802 2000-03-28  Gerd Moellmann  <gerd@gnu.org>
9804         * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
9805         ISO-DATE.  If non-nil, return date in ISO 8601 format.
9807 2000-03-26  Stefan Monnier  <monnier@cs.yale.edu>
9809         * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
9810         if it ever becomes used.
9811         (log-edit-mode-hook): Default to vc-log-mode-hook.
9812         (log-edit-mode): Fix the docstring.
9814         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
9815         the code.
9817 2000-03-26  Dave Love  <fx@gnu.org>
9819         * net/browse-url.el (browse-url): Re-fix case of
9820         browse-url-browser-function being an alist.
9821         (browse-url): Add :link to defgroup.
9823         * files.el: Doc fixes.
9824         (file-truename): Include `[' in wildcard characters.
9825         (automount-dir-prefix): Customize.
9826         (find-file-wildcards): Add :version.
9827         (find-file-noselect): Simplify a mapcar call.
9829         * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
9830         compatible with inf-lisp version.
9831         (eval-defun-1): Fix custom-declare-variable case.
9833 2000-03-25  Stefan Monnier  <monnier@cs.yale.edu>
9835         * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
9837 2000-03-24  Gerd Moellmann  <gerd@gnu.org>
9839         * Makefile (COMPILE_FIRST): New macro.
9840         (compile-files): Compile files from COMPILE_FIRST first.
9842         * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
9843         code.
9845         * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
9846         matching open parenthesis in column 0 to defun-prompt-regexp
9847         only if open-paren-in-column-0-is-defun-start is set.
9849         * sun-curs.el: Require CL at compile-time only.
9851         * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
9852         instead of copy-list which is a function from CL.
9853         (msb--choose-menu, msb--mode-menu-cond)
9854         (msb--create-buffer-menu-2): Use dolist instead of mapc.
9855         (msb--init-file-alist): Use mapcar instead of mapcan.
9856         (msb--aggregate-alist): Use mapcar instead of mapcan.  Fix
9857         `(' in column 0 in doc string.
9858         (msb--add-separators): Use mapcar instead of mapcan.
9860         * cus-dep.el: Require CL at compile-time only.
9862 2000-03-24  Stefan Monnier  <monnier@cs.yale.edu>
9864         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
9865         (byte-compile-warnings): New warning `noruntime'.
9866         (byte-compile-constants, byte-compile-variables): Fix docstring.
9867         (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
9868         execute `eval-whenc-compile's body.
9869         (byte-compile-unresolved-functions): Fix docstring.
9870         (byte-compile-eval): New function.
9871         (byte-compile-callargs-warn): Check if the function will be available
9872         at runtime (via property `byte-compile-noruntime').
9873         (byte-compile-print-syms): New function.
9874         (byte-compile-warn-about-unresolved-functions): Also warn about
9875         `noruntime' functions (and use `byte-compile-print-syms').
9876         (byte-compile-file): Capitalize the message.
9878 2000-03-24  Gerd Moellmann  <gerd@gnu.org>
9880         * mail/rmail.el (rmail-confirm-expunge): New user-option.
9881         (rmail-expunge): Ask for confirmation depending on the setting
9882         of rmail-confirm-expunge.
9884 2000-03-23  Gerd Moellmann  <gerd@gnu.org>
9886         * Makefile (bootstrap-clean): If $(emacs) exists, build
9887         loaddefs.el first.  A loaddefs.el that's not up-to-date might
9888         cause a bootstrap failure because things don't autoload as
9889         expected.
9891 2000-03-23  Dave Love  <fx@gnu.org>
9893         * net/browse-url.el: Restore previous use of
9894         browse-url-maybe-new-window.
9896 2000-03-23  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9898         * ps-print.el: Skip banner page fix.
9899         (ps-print-version): New version number (5.1.2).
9900         (ps-begin-file, ps-end-file, ps-generate): Code fix.
9902 2000-03-23  Dave Pearson  <davep@davep.org>
9904         * net/quickurl.el Changed the type of parameter passed to the
9905         function defined by `quickurl-format-function'. Before only the
9906         text of the URL was passed. Now the whole URL structure is passed
9907         and the function is responsible for extracting the parts it
9908         requires.  Changed the default of `quickurl-format-function'
9909         accordingly.
9910         (quickurl-insert): Changed the `funcall' of
9911         `quickurl-format-function' to match the above change.
9912         (quickurl-list-insert): Changed the `url' case so that it makes
9913         use of `quickurl-format-function', previous to this the format was
9914         hard wired.
9916 2000-03-22  Gerd Moellmann  <gerd@gnu.org>
9918         * startup.el: Change some spellings for the X Window System.
9920 2000-03-22  Stefan Monnier  <monnier@cs.yale.edu>
9922         * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
9923         up the code and the regexp and make sure the cursor is temporarily
9924         moved to the suspicious line while querying the user.
9926 2000-03-22  Jason Rumney  <jasonr@gnu.org>
9928         * w32-fns.el (w32-charset-info-alist): Initialize.
9930 2000-03-22  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9932         * ps-print.el: N-up last page fix.
9933         (ps-print-version): New version number (5.1.1).
9934         (ps-end-file, ps-end-job, ps-generate): Code fix.
9936 2000-03-21  Stefan Monnier  <monnier@cs.yale.edu>
9938         * files.el (find-file-run-dired): Update docstring.
9939         (find-directory-functions): New hook.
9940         (find-file-noselect): Run find-directory-functions rather than
9941         calling dired directly.
9943         * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
9945         * pcvs.el: Add a minimal leading commentary.
9946         (cvs-make-cvs-buffer): Change the header part by removing the startup
9947         message and adding a `Module' entry.  Also replace the FOOTER and
9948         HEADER special fileinfos with the new support in ewoc for updating
9949         its own footer and header.
9950         (cvs-update-header): Update to use the header/footer of the ewoc.
9951         (cvs-mode): Use define-derived-mode and set truncate-lines to t.
9952         (cvs-is-within-p): New function.
9953         (cvs-mode-run): Take advantage of `save-some-buffers's new ability
9954         to only examine some subset of the buffers.
9956         * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
9957         `format' instead of our own ad-hoc functions.
9958         Remove HEADER and FOOTER cases, now handled in the EWOC.
9959         (cvs-fileinfo<): Remove HEADER and FOOTER cases.
9961         * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
9962         output to avoid scaring the user.
9963         (cvs-parse-table): Catch message for non-up-to-date commits.
9965         * pcvs-defs.el (cvs-startup-message): Remove.
9966         (cvs-global-menu): New autoloaded menu.
9968         * pcvs-util.el (cvs-string-fill): Remove.
9970         * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
9971         (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
9972         PP part of it and also make it work for footers and headers.
9973         (ewoc-create): Drop POS and BUFFER arguments.
9974         Use the DLL's dummy node to store the end-of-footer position.
9975         (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
9976         (ewoc-refresh): Remove unused `header' variable.
9977         (ewoc-(get|set)-hf): New functions.
9979         * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
9980         log-view-*-(message|file) and use easy-mmode-define-navigation.
9981         (log-view-message-re): Match SCCS format as well.
9982         And match the revision line rather than the dashed separator line.
9983         (log-view-mode): Use the new define-derived-mode.
9984         (log-view-current-tag): Fill in with an actual implementation.
9986         * cvs-status.el (cvs-status-(prev|next)): Rename from
9987         cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
9988         (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
9989         to let the output "breathe" a little more (more readable).
9990         (cvs-status-mode): Use the new define-derived-mode.
9992         * smerge-mode.el (smerge-auto-leave): New function and variable.
9993         (smerge-basic-map): Rename from smerge-basic-keymap.
9994         Change the bindings for smerge-diff-*.
9995         (smerge-*-map): Use easy-mmode-defmap.
9996         (smerge-(next|prev)): Use easy-mmode-define-navigation.
9997         (smerge-keep-*): Use smerge-auto-leave.
9999 2000-03-21  Jason Rumney  <jasonr@gnu.org>
10001         * cus-edit.el (custom-button-face): Use 3D look for w32.
10002         (custom-button-pressed-face): Likewise.
10004 2000-03-21  Gerd Moellmann  <gerd@gnu.org>
10006         * progmodes/etags.el (tags-case-fold-search): New user-option.
10007         (tags-loop-eval): New function.  Bind case-fold-search around eval
10008         depending on the value of tags-case-fold-search.
10009         (tags-loop-continue): Use tags-loop-eval.
10010         (find-tag-in-order): Bind case-fold-search depending on the value
10011         of tags-case-fold-search.
10013 2000-03-21  Stefan Monnier  <monnier@cs.yale.edu>
10015         * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
10016         (diff-end-of-hunk): Return the end position for use in
10017         `easy-mmode-define-navigation'.
10018         (diff-recenter): Remove.
10019         (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
10020         of `easy-mmode-define-navigation'.
10021         (diff-kill-*): Rename `diff-*-kill' (for consistency with the
10022         previous renaming) and fix to use new names.
10023         (diff-merge-strings): Use \n as separator: simpler, faster.
10024         (diff-mode): Use `define-derived-mode'.
10026         * derived.el (define-derived-mode): Don't autoload anymore.
10027         Prefer the macro-only version provided by easy-mmode.el.
10029         * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
10030         `easy-mmode-define-derived-mode'.
10031         Use `combine-run-hooks'.
10032         (easy-mmode-define-navigation): New macro.
10034         * subr.el (combine-run-hooks): New function.
10036 2000-03-21  Kenichi HANDA  <handa@etl.go.jp>
10038         * term/x-win.el: Fontsets related initialization is simplified.
10040         * international/mule-diag.el (describe-font): Don't refer to
10041         global-fontset-alist, instead call font-list.
10042         (describe-fontset, list-fontsets, mule-diag): Likewise.
10043         (print-fontset): Adjusted for the change of fontset
10044         implementation.
10046         * international/fontset.el (x-charset-registries): Variable
10047         removed, instead the corresponding data is stored in the default
10048         fontset.
10049         (register-alternate-fontnames): Function removed.
10050         (resolved-ascii-font): Variable removed.
10051         (x-compose-font-name): Ignore the second argument REDOCE.
10052         (x-complement-fontset-spec): Complement only an ASCII font and
10053         element for those charsets than can use that ASCII font.
10054         (generate-fontset-menu): Don't refer to global-fontset-alist,
10055         instead call fontset-list.
10056         (uninstantiated-fontset-alist): Variable removed.
10057         (x-style-funcs-alist): Likewise.
10058         (fontset-default-styles): Likewise.
10059         (x-modify-font-name): Function removed.
10060         (create-fontset-from-fontset-spec): Ignore the argument
10061         STYLE-VARIANT.
10062         (create-fontset-from-ascii-font): Docsting adjusted for the above
10063         change.
10064         (instantiate-fontset, resolve-fontset-name): Functions removed.
10065         (fontset-list): Now implemented by C code.
10067         * faces.el (read-face-font): Fix TABLE arg to completing-read.
10068         (describe-face): Include `font' attribute in the description.
10070 2000-03-21  Kenichi Handa  <handa@etl.go.jp>
10072         * international/quail.el (quail-set-keyboard-layout): Typo fixed.
10074 2000-03-20  Gerd Moellmann  <gerd@gnu.org>
10076         * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
10077         ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
10078         zone-mode.el, snmp-mode.el: Moved to net subdirectory.
10080         * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
10081         about behavior of set-buffer-modified-p wrt redisplay.
10083 2000-03-19  Richard M. Stallman  <rms@gnu.org>
10085         * view.el (view-mode-disable): Kill local binding of view-read-only.
10087 2000-03-18  Gerd Moellmann  <gerd@gnu.org>
10089         * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
10090         is a string, convert it to a syntax cell using string-to-syntax.
10092         * simple.el (syntax-code-table, syntax-flag-table): New variables.
10093         (string-to-syntax): New function.
10095         * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
10096         (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
10097         try to use passive ftp mode.
10099 2000-03-17  Gerd Moellmann  <gerd@gnu.org>
10101         * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
10103         * simple.el (append-to-buffer): Update point of windows after
10104         insertion.
10106         * abbrev.el (inverse-add-abbrev): Identify word by first moving
10107         forward then moving backward.  Reindent.
10109         * frame.el (other-frame): Call x-focus-frame only if
10110         focus-follows-mouse is off.
10112 2000-03-17  Dave Love  <fx@gnu.org>
10114         * pcvs-util.el (cvs-strings->string): Rename
10115         replace-regexps-in-string.
10117 2000-03-17  Stefan Monnier  <monnier@cs.yale.edu>
10119         * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
10120         regexp for labels cannot span several lines.
10122         * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
10123         `(setq :<key> ':<key>)' to the macro expansion.
10125 2000-03-16  Dave Love  <fx@gnu.org>
10127         * progmodes/f90.el (f90): Put custom group under `languages', not
10128         `fortran'.
10129         (f90-mode-hook): Customize.
10130         (f90-mode): Set add-log-current-defun-function.
10131         (f90-current-defun): New function.
10133 2000-03-16  Gerd Moellmann  <gerd@gnu.org>
10135         * cus-edit.el (custom-variable-tag-face): Handle case that
10136         default face's height is not a number.
10137         (custom-face-tag-face, custom-group-tag-face-1)
10138         (custom-group-tag-face): Ditto.
10139         (custom-group-tag-face-1): Add :group.
10141         * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
10143 2000-03-15  Gerd Moellmann  <gerd@gnu.org>
10145         * pcvs-defs.el (toplevel): Remove autoload cookie for form
10146         requiring easymenu.
10148 2000-03-15  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
10150         * ps-print.el: PostScript user-defined prologue, PostScript error
10151         handler, doc fix.
10152         (ps-print-version): New version number (5.1).
10153         (ps-user-defined-prologue, ps-error-handler-message)
10154         (ps-print-prologue-0, ps-error-handler-alist): New vars.
10155         (ps-setup, ps-begin-file, ps-begin-job): Code fix.
10156         (ps-insert-string): New function.
10158 2000-03-15  Kenichi Handa  <handa@etl.go.jp>
10160         * international/ccl.el (ccl-compile-expression): Don't generate
10161         invalid self-assignment code.
10163 2000-03-14  Dave Love  <fx@gnu.org>
10165         * subr.el (replace-regexp-in-string): Renamed from
10166         replace-regexps-in-string.  Doc fix.
10168 2000-03-12  Dave Love  <fx@gnu.org>
10170         * cus-edit.el: Doc fixes.
10171         (customize-set-variable, customize-save-variable): Rename args for
10172         doc.
10173         (custom-variable-tag-face, custom-face-tag-face)
10174         (custom-group-tag-face-1, custom-group-tag-face): Modify from
10175         style which user identify as hyperlink.
10176         (hook): Don't add undefined functions to the hook.
10177         (debug-ignored-errors): Transfer message from bindings.el.
10179 2000-03-12  Gerd Moellmann  <gerd@gnu.org>
10181         * recentf.el (recentf-keep-non-readable-files-p): Remove
10182         double/nested definition.
10184 2000-03-12  Dave Love  <fx@gnu.org>
10186         * facemenu.el (facemenu-get-face): Use display-color-p.
10187         * enriched.el (enriched-decode-foreground): Likewise.
10188         (enriched-decode-background): Likewise.
10189         * isearch.el (isearch-highlight): Likewise.
10190         * info-look.el (info-lookup): Likewise.
10191         * simple.el (completion-setup-function): Likewise.
10193         * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
10194         :options.
10196         * bindings.el (mode-line-format): Fix line-number and
10197         column-number items.  Add help-echo for the background.
10198         (mode-line-mule-info): Modify help-echo.
10200         * avoid.el (mouse-avoidance-mode): Add autoload cookie to
10201         defcustom.
10203         * files.el (load-file): Allow completion to .elc.
10205         * man.el: Doc fixes.
10206         (Man-init-defvars): Use display-color-p to set fontification.
10208         * play/hanoi.el (hanoi-internal): Don't use oddp.
10210 2000-03-12  Gerd Moellmann  <gerd@gnu.org>
10212         * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
10214         * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
10216 2000-03-12  Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
10218         * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
10219         Fix comment.
10221 2000-03-10  Stefan Monnier  <monnier@cs.yale.edu>
10223         * font-lock.el (font-lock-keywords): Fix the doc now that
10224         regexp-opt-depth is unnecessary.
10225         (save-buffer-state): Set an edebug spec.
10226         (font-lock-fontify-anchored-keywords): Properly handle the case when
10227         the matcher goes past the limit.
10229         * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
10230         pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
10232         * emacs-lisp/ewoc.el: New file.  This is a merge of elib-node.el,
10233         dll.el and cookie.el (from Elib) with heavy renaming and other
10234         massaging.
10236         * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
10237         Autoload the functions used.
10238         (easy-mmode-define-syntax): Fix CL typo.
10239         (easy-mmode-define-derived-mode): Improve the docstring generation.
10241 2000-03-10  Gerd Moellmann  <gerd@gnu.org>
10243         * textmodes/texinfo.el (texinfo-version): Variable and function
10244         removed.
10246 2000-03-09  Stefan Monnier  <monnier@cs.yale.edu>
10248         * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
10249         allow more flexibility.
10250         (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
10251         fns.
10252         (easy-mmode-defmap, easy-mmode-defsyntax)
10253         (easy-mmode-define-derived-mode): New macros.
10255 2000-03-09  Didier Verna  <didier@xemacs.org>
10257         * rect.el (replace-rectangle): New function.
10259 2000-03-09  Dave Love  <fx@gnu.org>
10261         * progmodes/fortran.el (fortran-comment-line-start): Define as
10262         "C".
10263         (fortran-comment-line-start-skip): Don't match cpp stuff.
10264         (font-lock-keywords): Add * to comment-chars.  Grok cpp stuff.
10265         (fortran-mode-map): Remove over-eager custom-menu-create for now.
10266         (fortran-mode): Don't set fortran-comment-line-start-skip,
10267         fortran-comment-line-start here.  Set comment-start,
10268         add-log-current-defun.
10269         (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
10270         (fortran-current-defun): New function.
10272 2000-03-09  Gerd Moellmann  <gerd@gnu.org>
10274         * emacs-lisp/re-builder.el: New file.
10276         * mouse.el (mouse-drag-region): Don't run up-event handler
10277         if hscroll has changed.
10279         * octave-mod.el (octave-font-lock-keywords): To font-lock the
10280         builtin operators, use `font-lock-builtin-face' for Emacs and
10281         `font-lock-preprocessor-face' otherwise.
10283         * font-lock.el (lisp-font-lock-keywords-1): Highlight
10284         `(defun (setf foo)' differently.
10286 2000-03-08  Stefan Monnier  <monnier@cs.yale.edu>
10288         * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
10289         (regexp-opt): Update comment and adapt the code the new meaning of
10290         the `paren' argument of regex-opt-group for shy-groups.
10291         (regexp-opt-depth): Handle shy groups as well as backslashed
10292         backslashes.
10293         (regexp-opt-group): Turn the leading comment into a docstring.
10294         Allow `paren' to be a string (the string to use to open a group).
10295         Remove open-presuf and close-presuf.  Instead of checking for `all
10296         one-char' and then later on check for `several one-char', handle
10297         both cases close together.  Also apply a more generic algorithm
10298         for suffixes (the mirror image of the algorithm used for
10299         prefixes).  Use shy-groups.  Use nreverse rather than reverse.
10300         (regexp-opt-try-suffix): Removed.
10302         * cmuscheme.el (inferior-scheme-mode-map): Define it independently
10303         from comint-mode-map, so we can just inherit from it.  Also, move
10304         the initialization into the `defvar' since there's no docstring
10305         anyway and it's fairly short.
10306         (inferior-scheme-mode): Define it as derived-mode: the code is
10307         shorter and this way we inherit from comint-mode-map rather than
10308         copying it.
10310         * subr.el (replace-regexps-in-string): Properly handle the case
10311         where we match an empty string.
10313         * comint.el (comint-exec-1): Add the current-dir to the exec-path
10314         when the command has a directory component (such as "./testml").
10315         Also fix a typo in the comment.
10317 2000-03-08  Gerd Moellmann  <gerd@gnu.org>
10319         * Makefile (compile-files): Compile files one by one because
10320         that's the only way to ensure a clean compilation environment for
10321         each individual file.
10323         * frame.el (other-frame): Call x-focus-frame.
10325 2000-03-07  Dave Love  <fx@gnu.org>
10327         * recentf.el (recentf-keep-non-readable-files-p): Add :set,
10328         :require to defcustom.
10330         * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
10331         lists.
10333         * files.el (auto-mode-alist): Add configure.in.
10335         * progmodes/autoconf.el: New file.
10337 2000-03-07  Gerd Moellmann  <gerd@gnu.org>
10339         * mail/mh-e.el: Change maintainer to `none'.
10341         * recentf.el (recentf-keep-non-readable-files-p): Quote args
10342         to remove-hook and add-hook.
10344 2000-03-07  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
10346         * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
10347         it as the default.
10348         (mail-send): Test mail-send-nonascii also for the new `mime' value.
10349         (sendmail-send-it): Conditionally add MIME headers specifying the
10350         used character set.
10352 2000-03-07  Dave Love  <fx@gnu.org>
10354         * winner.el: Fix keywords, autoload cookies.  Split
10355         eval-when-compile form to avoid compilation failure.
10357 2000-03-07  Miyashita Hisashi  <himi@bird.scphys.kyoto-u.ac.jp>
10359         * international/mule.el: Modify comment about coding system
10360         property `coding-category'.
10361         (make-coding-system): New argument EOL-TYPE.  Pay attention to
10362         coding-category property of PROPERTIES.
10364         * international/mule-conf.el (coding-category-utf-8,
10365         coding-category-utf-16-be, coding-category-utf-16-le): New coding
10366         categories.  Include them in the argument for set-coding-priority.
10368         * international/mule-cmds.el (reset-language-environment): Include
10369         coding-category-utf-8, coding-category-utf-16-be, and
10370         coding-category-utf-16-le in the argument for set-coding-priority.
10371         (reset-language-environment): Initialize coding-category-utf-8,
10372         coding-category-utf-16-be, and coding-category-utf-16-le to nil.
10374 2000-03-06  Karl Fogel  <kfogel@red-bean.com>
10376         * bookmark.el (bookmark-file-or-variation-thereof): New func, for
10377         code abstracted out of `bookmark-jump-noselect'.  Now tries info
10378         extensions as well as compression extensions.
10379         (bookmark-jump-noselect): Use above new func.
10381 2000-03-03  Gerd Moellmann  <gerd@gnu.org>
10383         * strokes.el: Change maintainer's mail address.
10385 2000-03-03  Kenichi Handa  <handa@etl.go.jp>
10387         * international/mule-diag.el (list-character-sets): Make help-echo
10388         string by substitute-command-keys.
10389         (list-character-sets): Likewise.
10390         (sort-listed-character-sets): Call help-setup-xref.
10392 2000-03-02  Gerd Moellmann  <gerd@gnu.org>
10394         * time.el (display-time-mail-file): Add `none' to the list of
10395         choices.
10397 2000-03-01  Dave Love  <fx@gnu.org>
10399         * help.el (help-xref-go-back): Don't try to set position.
10401         * international/mule-diag.el (list-character-sets): Call
10402         help-setup-xref.  Add help-echo to xrefs.
10403         (list-character-sets-1): Add help-echo to xrefs.
10405 2000-03-02  Gerd Moellmann  <gerd@gnu.org>
10407         * frame.el (blink-cursor-mode): Switch cursor on when turning
10408         the mode off.
10410         * add-log.el (add-log-current-defun): Add support for
10411         Autoconf mode.
10413         * mail/rmail.el (rmail-quit-hook): New variable.
10415 2000-03-01  Dave Love  <fx@gnu.org>
10417         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
10419         * help.el (help-xref-button): Add help-echo arg.
10420         (describe-function-1, describe-variable, help-make-xrefs): Use it.
10422         * faces.el (list-faces-display): Supply help-echo with
10423         help-make-xrefs.
10425         * facemenu.el (list-text-properties-at): Set help-xref-stack to
10426         nil.
10428 2000-03-01  Gerd Moellmann  <gerd@gnu.org>
10430         * image.el (defimage): Look for image files in load-path.
10432         * frame.el (busy-cursor-delay-seconds): Change type to
10433         `number'.
10435 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
10437         * recentf.el (recentf): Added version tag to the defgroup of
10438         recentf.
10440 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
10442         * recentf.el (recentf-cleanup): Changed to remove excluded file
10443         too.
10444         (recentf-edit-list-action): `recentf-edit-list' checkbox widget
10445         action to select/unselect a file.
10446         (recentf-edit-list): Code cleanup and improvement.
10447         (recentf-open-more-files-action): `recentf-open-more-files' button
10448         widget action to open a file.
10449         (recentf-open-more-files): No more use standard completion but
10450         widgets.
10451         (recentf-more-collection): Deleted.
10452         (recentf-more-history): Deleted.
10453         (recentf-setup-more-completion): Deleted.
10455 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
10457         * recentf.el (recentf-mode): No more needs that Emacs is running
10458         under a window-system.
10460 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
10462         * recentf.el (recentf-edit-list): New command to edit the recent
10463         list which allow the user to remove files.
10464         (recentf-edit-selected-items): New global variable, used by
10465         `recentf-edit-list' to hold the list of files to be removed from
10466         the recent list.
10467         (recentf-make-menu-items): Updated to display a "Edit list..."
10468         menu item.  Minor code cleanup.
10470 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
10472         * recentf.el (recentf-open-more-files): New command to open files
10473         that are not displayed in the menu.
10474         (recentf-more-collection): New global variable holding the set of
10475         permissible completions used by `recentf-open-more-files'.
10476         (recentf-more-history): New global variable holding the history list
10477         used by `recentf-open-more-files' completion.
10478         (recentf-setup-more-completion): New function to setup completion for
10479         `recentf-open-more-files'.
10480         (recentf-make-menu-items): Updated to display a "More..." menu item.
10482 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
10484         * recentf.el (recentf-menu-action): Doc fixed.
10486 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
10488         * recentf.el (recentf-menu-filter): Doc updated.
10489         (recentf-update-menu-hook): Allow menu filters to force menu update.
10490         (recentf-make-menu-items): New menu filter handling.
10491         (recentf-make-menu-item): New helper function.
10492         (recentf-menu-elements): New menu handling function.
10493         (recentf-sort-ascending): Updated to new menu filter handling.
10494         (recentf-sort-descending): Updated to new menu filter handling.
10495         (recentf-sort-basenames-ascending): New menu filter function.
10496         (recentf-sort-basenames-descending): New menu filter function.
10497         (recentf-show-basenames): New menu filter function.
10498         (recentf-show-basenames-ascending): New menu filter function.
10499         (recentf-show-basenames-descending): New menu filter function.
10501 2000-02-29  Edward M. Reingold  <reingold@emr.cs.uiuc.edu>
10503         * diary-lib.el (list-diary-entries): Don't try to go forward at
10504         the end of the buffer.
10506 2000-02-29  Kenichi Handa  <handa@etl.go.jp>
10508         * international/mule-diag.el (list-character-sets): Completely
10509         rewritten.
10510         (sort-listed-character-sets): New function.
10511         (list-character-sets-1): Completely rewritten.
10512         (list-character-sets-2): New function.
10513         (non-iso-charset-alist): New variable.
10514         (decode-codepage-char): New function.
10515         (charset-history): New variable.
10516         (read-charset) (list-block-of-chars)
10517         (list-iso-charset-chars)
10518         (list-non-iso-charset-chars)
10519         (list-charset-chars): New functions.
10520         (mule-diag): Call list-character-sets-2, not
10521         list-character-sets-2.
10522         (dump-charsets): Likewise.
10524 2000-02-29  Gerd Moellmann  <gerd@gnu.org>
10526         * dired-x.el (dired-filename-at-point): Add `@' to valid
10527         file name characters.
10528         (dired-filename-at-point): Handle ange-ftp file names.
10530         * frame.el (frame-notice-user-settings): Use assq-delete-all
10531         instead of assoc-delete-all.
10532         (frame-notice-user-settings): Ditto.
10534         * subr.el (assq-delete-all): Renamed from assoc-delete-all.
10535         Don't copy alist.
10537 2000-02-28  Eli Barzilay  <eli@cs.cornell.edu>
10539         * calculator.el (calculator-use-menu): New option.
10540         (calculator-initial-bindings): Changed some bindings to work as
10541         macros.
10542         (calculator-forced-input): Removed.
10543         (calculator-restart-other-mode): New variable.
10544         (calculator-mode-map): Set up menu.
10546 2000-02-28  Jari Aalto  <jari.aalto@poboxes.com>
10548         * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
10549         tags.
10551 2000-02-28  Michael Kifer  <kifer@cs.sunysb.edu>
10553         * viper-cmd.el (viper-envelop-ESC-key): added the option to
10554         translate all ESC key sequences.
10555         (viper-goto-mark-subr): restore markers for files for which
10556         they were saved.
10557         * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
10558         * viper-util.el (viper-set-replace-overlay-glyphs,
10559         viper-set-replace-overlay): always check if the replacement
10560         overlay is live.
10561         * viper.el (viper-vi-state-mode-list): added major modes.
10562         * ediff-wind.el: minor comment changes.
10563         * ediff.el: copyright notice date fix.
10565 2000-02-27  Jason Rumney  <jasonr@gnu.org>
10567         * faces.el (face-font-family-alternatives): Add arial to helv.
10568         (mode-line, header-line, tool-bar): Same default as x for w32.
10569         (fixed-pitch, variable-pitch): Remove wildcard as it prevents
10570         face-font-family-alternatives from working.
10571         * term/w32-win.el (mouse-set-font): Do not build fontset from
10572         chosen font.
10574 2000-02-25  Sam Steingold  <sds@goems.com>
10576         * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
10577         properly.
10579 2000-02-25  Richard M. Stallman  <rms@gnu.org>
10581         * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
10583 2000-02-25  Gerd Moellmann  <gerd@gnu.org>
10585         * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
10586         writable.
10588         * frame.el (busy-cursor-delay-seconds): New option.
10590 2000-02-24  Gerd Moellmann  <gerd@gnu.org>
10592         * frame.el (show-cursor-in-non-selected-windows): New option.
10594 2000-02-24  Edward M. Reingold  <reingold@emr.cs.uiuc.edu>
10596         * diary-lib.el (include-other-diary-files): Undo the selective
10597         display in any included file and don't kill it.
10599 2000-02-24  Eli Zaretskii  <eliz@is.elta.co.il>
10601         * dired.el (dired-mode-map): Don't remove "Edit" from the menu
10602         bar.  Menu items converted to (menu-item format, help strings
10603         added.
10604         [downcase, upcase]: Don't enable on MS-DOS.
10605         [symlink, symlinks]: Don't show if make-symbolic-link is not
10606         bound.
10607         [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
10609 2000-02-23  Dave Love  <fx@gnu.org>
10611         * simple.el (zap-to-char, kill-line, kill-region, kill-word)
10612         (backward-kill-word): Revert addition of * to interactive spec --
10613         it's a feature.
10615         * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
10616         (backward-kill-sentence, kill-sentence): Likewise.
10618         * gud.el (gud-jdb-build-class-source-alist): Prepend space to
10619         scratch buffer name.
10620         (gud-format-command): Use int-to-string in ?l case.  Simplify
10621         slightly.
10623         * term/w32-win.el (internal-face-interactive): Update prompt for
10624         new read-face-name.
10626         * mail/footnote.el (footnote): Add :version to defgroup.
10627         (footnote-section-tag-regexp): Customize.
10628         (footnote-start-tag, footnote-end-tag): New option.
10629         (footnote-latin-regexp): New variable.
10630         (Footnote-latin): New function.
10631         (footnote-style-alist): Add element for latin style.
10632         (footnote-style): Moved.
10633         (Footnote-goto-footnote): Use eq to test arg.
10635         * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
10637         * emacs-lisp/byte-opt.el: Change old backquote syntax.
10638         (byte-compile-trueconstp): Include keywords.
10639         (byte-optimize-quote, byte-optimize-lapcode): Use
10640         byte-compile-const-symbol-p.
10641         (byte-optimize-char-before): New optimization.
10643         * emacs-lisp/bytecomp.el: Change old backquote syntax.
10644         (byte-compile-const-symbol-p): New function.
10645         (byte-compile-constp, byte-compile-out-toplevel)
10646         (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
10647         Use it.
10649         * subr.el (define-key-after): Default AFTER to t.  Doc fix.
10651 2000-02-23  Kenichi Handa  <handa@etl.go.jp>
10653         * international/encoded-kb.el: Be sure to update minor-mode-alist
10654         and minor-mode-map-alist.
10655         (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
10656         codes SS2 and SS3 correctly.
10657         (encoded-kbd-self-insert-ccl): New function.
10658         (encoded-kbd-setup-keymap): New function.
10659         (encoded-kbd-mode): Handle CCL based coding system.  Setup keymap
10660         by calling encoded-kbd-setup-keymap.
10662         * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
10663         characters.
10664         (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
10665         locally.
10667 2000-02-22  Dave Love  <fx@gnu.org>
10669         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
10670         (lisp-mode-map, lisp-interaction-mode-map): Define all inside
10671         defvar.
10672         (lisp-mode-syntax-table): Set up for #|...|# comments.
10673         (lisp-imenu-generic-expression): Purecopy strings.  Use syntax
10674         classes.  Match `defface'.
10675         (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
10676         (eval-defun-1): Fix for defcustom.
10677         (lisp-indent-region): Doc fix.
10679         * subr.el (when, unless, split-string): Doc fix.
10680         (read-passwd): Move call of clear-this-command-keys to the right
10681         place.
10682         (replace-regexps-in-string): New function.
10684 2000-02-22  Gerd Moellmann  <gerd@gnu.org>
10686         * help.el (describe-variable): Set syntax table to
10687         emacs-lisp-mode-syntax-table when moving forward over the
10688         symbol's name.
10690 2000-02-22  Dave Love  <fx@gnu.org>
10692         * xt-mouse.el: Doc fixes.
10693         (xterm-mouse-position-function): New function, replacing advice of
10694         mouse-position.
10695         (xterm-mouse-mode): Use it.  Don't turn on under a window system.
10697         * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
10699 2000-02-21  Gerd Moellmann  <gerd@gnu.org>
10701         * format.el (format-annotate-single-property-change): Handle
10702         properties.with dotted-list values.
10703         (format-proper-list-p): New function.
10705         * enriched.el (enriched-face-ans): Handle '(foreground-color
10706         . COLOR) and (background-color . COLOR).
10708 2000-02-20  Dave Love  <fx@gnu.org>
10710         * textmodes/flyspell.el (flyspell-mouse-map): Change definition
10711         and assignments to it.
10712         (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
10713         current local map.
10714         (make-flyspell-overlay): Use it.
10715         (flyspell-correct-word/mouse-keymap): Change XEmacs test.
10717         * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
10718         (lm-get-header-re): Defun, not defsubst.
10719         (lm-get-package-name): Defun, not defsubst.  Simplify.
10720         (lm-version): Doc fix.  Simplify.
10721         (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
10722         (lm-crack-address, lm-last-modified-date, lm-commentary)
10723         (lm-verify, lm-synopsis): Simplify.
10724         (lm-report-bug): Require emacsbug.  Use compose-mail.
10726 2000-02-20  Gerd Moellmann  <gerd@gnu.org>
10728         * dired.el (dired-mode): Call propertized-buffer-identification
10729         to set mode-line-buffer-identification to something having
10730         the right text properties.
10732         * bindings.el (propertized-buffer-identification): New function.
10734 2000-02-20  Dave Love  <fx@gnu.org>
10736         * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
10737         check for t-mouse too.
10739         * cus-start.el: Make echo-keystrokes `number'.
10741 2000-02-20  Eli Zaretskii  <eliz@is.elta.co.il>
10743         * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
10744         Don't call ring-empty-p unless tags-location-ring is bound.
10745         From Noah Friedman <friedman@splode.com>.
10747 2000-02-18  Thien-Thi Nguyen  <ttn@gnu.org>
10749         * progmodes/hideshow.el (hs-flag-region): No longer use
10750         `intangible' overlay property.
10752         (hs-toggle-hiding): New command.
10753         (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
10755         (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
10756         Fix omission bug: Run `hs-minor-mode-hook' for both activation
10757         and deactivation.
10759 2000-02-18  Gerd Moellmann  <gerd@gnu.org>
10761         * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
10763 2000-02-17  Gerd Moellmann  <gerd@gnu.org>
10765         * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
10767         * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
10768         of `*' to handle `(* ... *)' comments.
10770 2000-02-17  Eli Zaretskii  <eliz@is.elta.co.il>
10772         * faces.el (list-faces-display): Use display-mouse-p instead of
10773         window-system.
10775         * menu-bar.el (global-map): Menu-bar items converted to the new
10776         format (menu-item..., rearranged for better CUA compliance, and
10777         their names changed for better clarity.  Help strings added.
10779         * international/mule-cmds.el (mule-menu-keymap)
10780         (describe-language-environment-map, set-coding-system-map)
10781         (setup-language-environment-map): Convert to new (menu-item...
10782         form, add help strings.  Change names of menu items for better
10783         clarity.  "Mule" menu-bar item removed (it's now in the "Options"
10784         submenu).
10786 2000-02-17  Gerd Moellmann  <gerd@gnu.org>
10788         * dired-aux.el (dired-do-copy): Remove spurious character.`n'
10789         within the code.
10791 2000-02-16  Dave Love  <fx@gnu.org>
10793         * faces.el: Don't require custom.  Add more specific :groups to
10794         various deffaces.
10795         (set-face-attribute): Purecopy args.
10796         (read-face-name): Default to name at point and use it in prompt.
10797         Remove colon from arg in all callers.
10798         (list-faces-display): Hyperlink to face descriptions and customize
10799         buffers.
10801 2000-02-16  Per Abrahamsen  <abraham@dina.kvl.dk>
10803         * wid-edit.el (widget-match-inline): An atom never matches a
10804         list.
10806 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10808         * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10809         at ':' characters by call to split-string.
10811 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10813         * textmodes/bibtex.el: Added RCS version identification.
10815 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10817         * textmodes/bibtex.el: Some temporary comments removed.
10818         (bibtex-field-name, bibtex-entry-type): Made the relationship
10819         explicit.
10820         (bibtex-field-const): Allow capital letters.
10821         (bibtex-start-of-string): Deleted because unused.
10823         * textmodes/bibtex.el: Unified some nomenclature.  We no longer
10824         use the term 'reference' to describe a bibtex entry as a whole.
10825         Further, reference keys are no longer called 'labels'.
10826         (bibtex-keys): Renamed to bibtex-reference-keys.
10827         (bibtex-reformat-previous-labels): Renamed to
10828         bibtex-reformat-previous-reference-keys.
10829         (bibtex-reference-type): Renamed to bibtex-entry-type.
10830         (bibtex-reference-head): Renamed to bibtex-entry-head.
10831         (bibtex-reference-maybe-empty-head): Renamed to
10832         bibtex-entry-maybe-empty-head.
10833         (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10834         (bibtex-search-reference): Renamed to bibtex-search-entry.
10835         (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10836         bibtex-enclosing-entry-maybe-empty-head.
10837         (bibtex-entry-field-alist, bibtex-entry-head,
10838         bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10839         bibtex-map-entries, bibtex-search-entry,
10840         bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10841         bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10842         bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10843         bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10844         bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10845         bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10846         bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10848 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10850         * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10851         comment.
10852         (bibtex-format-field-delimiters): New function, functionality
10853         extracted from bibtex-format-entry.
10854         (bibtex-autokey-get-yearfield-digits): New function, functionality
10855         extracted from bibtex-autokey-get-yearfield.
10857         * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10858         entries in order to avoid stack overflow in the regexp matcher if
10859         field contents become large.
10860         (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10861         bibtex-field-string-part-not-braced,
10862         bibtex-field-string-part-no-inner-braces,
10863         bibtex-field-string-part-1-inner-brace,
10864         bibtex-field-string-part-2-inner-braces,
10865         bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10866         bibtex-field-string-quoted, bibtex-field-string,
10867         bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10868         bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10869         bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10870         as parsing is now performed by the following functions.
10871         (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10872         bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10873         bibtex-parse-field-string, bibtex-search-forward-field-string,
10874         bibtex-parse-association, bibtex-field-name-for-parsing,
10875         bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10876         bibtex-search-forward-field, bibtex-search-backward-field,
10877         bibtex-start-of-field, bibtex-end-of-field,
10878         bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10879         bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10880         bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10881         bibtex-parse-string, bibtex-search-forward-string,
10882         bibtex-search-backward-string, bibtex-start-of-string,
10883         bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10884         bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10885         bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10886         entries.  Instead of reporting the results of the parsing by
10887         match-beginning or match-end, these functions return data structures
10888         that hold the corresponding positions.
10889         (bibtex-enclosing-field): Changed to also report field boundaries by
10890         return values rather than by match-beginning or match-end.  The
10891         following functions have been adapted to use the new parsing
10892         functions.
10893         (bibtex-skip-to-valid-entry, bibtex-search-reference,
10894         bibtex-enclosing-field, bibtex-format-entry,
10895         bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10896         bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10897         bibtex-print-help-message, bibtex-end-of-entry,
10898         bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10899         bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10900         bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10901         method for parsing.
10902         (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10903         bibtex-map-entries, bibtex-flash-head,
10904         bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10905         bibtex-autokey-change, bibtex-autokey-get-namefield,
10906         bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10907         bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10908         bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10909         bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10910         bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10911         order to make the new binding of case-fold-search immediately
10912         visible.
10914 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10916         * textmodes/bibtex.el: Copyright notice is up to date.
10917         Added constant 'bibtex-maintainer-salutation.
10919         * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10920         than make-temp-name, use match-string-no-properties and eliminate
10921         a quadratic behavior when building bibtex-strings.
10923         * bibtex.el (bibtex-reference-key): Accept string entries whose
10924         reference key contains upper case letters.
10926 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10928         * bibtex.el (bibtex-reference-head): Allow entries to start with
10929         a new line.
10931 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10933         * bibtex.el: Hiding of entry bodies is not longer provided by
10934         bibtex.el directly.  Instead the hideshow package can be used.
10935         Added a special bibtex entry to hs-special-modes-alist.
10936         (bibtex-hs-forward-sexp): Added for hideshow.el.
10938 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10940         * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10941         at ':' characters by call to split-string.
10943 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10945         * textmodes/bibtex.el: Added RCS version identification.
10947 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10949         * textmodes/bibtex.el: Some temporary comments removed.
10950         (bibtex-field-name, bibtex-entry-type): Made the relationship
10951         explicit.
10952         (bibtex-field-const): Allow capital letters.
10953         (bibtex-start-of-string): Deleted because unused.
10955         * textmodes/bibtex.el: Unified some nomenclature.  We no longer
10956         use the term 'reference' to describe a bibtex entry as a whole.
10957         Further, reference keys are no longer called 'labels'.
10958         (bibtex-keys): Renamed to bibtex-reference-keys.
10959         (bibtex-reformat-previous-labels): Renamed to
10960         bibtex-reformat-previous-reference-keys.
10961         (bibtex-reference-type): Renamed to bibtex-entry-type.
10962         (bibtex-reference-head): Renamed to bibtex-entry-head.
10963         (bibtex-reference-maybe-empty-head): Renamed to
10964         bibtex-entry-maybe-empty-head.
10965         (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10966         (bibtex-search-reference): Renamed to bibtex-search-entry.
10967         (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10968         bibtex-enclosing-entry-maybe-empty-head.
10969         (bibtex-entry-field-alist, bibtex-entry-head,
10970         bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10971         bibtex-map-entries, bibtex-search-entry,
10972         bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10973         bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10974         bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10975         bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10976         bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10977         bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10978         bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10980 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10982         * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10983         comment.
10984         (bibtex-format-field-delimiters): New function, functionality
10985         extracted from bibtex-format-entry.
10986         (bibtex-autokey-get-yearfield-digits): New function, functionality
10987         extracted from bibtex-autokey-get-yearfield.
10989         * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10990         entries in order to avoid stack overflow in the regexp matcher if
10991         field contents become large.
10992         (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10993         bibtex-field-string-part-not-braced,
10994         bibtex-field-string-part-no-inner-braces,
10995         bibtex-field-string-part-1-inner-brace,
10996         bibtex-field-string-part-2-inner-braces,
10997         bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10998         bibtex-field-string-quoted, bibtex-field-string,
10999         bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11000         bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11001         bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11002         as parsing is now performed by the following functions.
11003         (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11004         bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11005         bibtex-parse-field-string, bibtex-search-forward-field-string,
11006         bibtex-parse-association, bibtex-field-name-for-parsing,
11007         bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11008         bibtex-search-forward-field, bibtex-search-backward-field,
11009         bibtex-start-of-field, bibtex-end-of-field,
11010         bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11011         bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11012         bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11013         bibtex-parse-string, bibtex-search-forward-string,
11014         bibtex-search-backward-string, bibtex-start-of-string,
11015         bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11016         bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11017         bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11018         entries.  Instead of reporting the results of the parsing by
11019         match-beginning or match-end, these functions return data structures
11020         that hold the corresponding positions.
11021         (bibtex-enclosing-field): Changed to also report field boundaries by
11022         return values rather than by match-beginning or match-end.  The
11023         following functions have been adapted to use the new parsing
11024         functions.
11025         (bibtex-skip-to-valid-entry, bibtex-search-reference,
11026         bibtex-enclosing-field, bibtex-format-entry,
11027         bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11028         bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11029         bibtex-print-help-message, bibtex-end-of-entry,
11030         bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11031         bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11032         bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11033         method for parsing.
11034         (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11035         bibtex-map-entries, bibtex-flash-head,
11036         bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11037         bibtex-autokey-change, bibtex-autokey-get-namefield,
11038         bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11039         bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11040         bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11041         bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11042         bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11043         order to make the new binding of case-fold-search immediately
11044         visible.
11046 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11048         * textmodes/bibtex.el: Copyright notice is up to date.
11049         Added constant 'bibtex-maintainer-salutation.
11051         * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11052         than make-temp-name, use match-string-no-properties and eliminate
11053         a quadratic behavior when building bibtex-strings.
11055         * bibtex.el (bibtex-reference-key): Accept string entries whose
11056         reference key contains upper case letters.
11058 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11060         * bibtex.el (bibtex-reference-head): Allow entries to start with
11061         a new line.
11063 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11065         * bibtex.el: Hiding of entry bodies is not longer provided by
11066         bibtex.el directly.  Instead the hideshow package can be used.
11067         Added a special bibtex entry to hs-special-modes-alist.
11068         (bibtex-hs-forward-sexp): Added for hideshow.el.
11070 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11072         * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
11073         proceedings entry type (for cross referencing). Thanks to Wagner
11074         Toledo Correa for the suggestion.
11076         * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
11078 2000-02-14  Kenichi Handa  <handa@etl.go.jp>
11080         * international/characters.el: Setup case table for Vietnamese.
11082 2000-02-12  Gerd Moellmann  <gerd@gnu.org>
11084         * uniquify.el (toplevel): Require CL at compile time.
11085         (uniquify-push): Removed.
11087         * shadowfile.el (shadow-when): Removed.
11089         * tempo.el (tempo-dolist, tempo-mapc): Removed.
11090         (tempo-process-and-insert-string): Use dolist instead of
11091         tempo-dolist.
11093         * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
11094         regexp for paragraph-start.
11096         * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
11097         commas as well.
11099 2000-02-10  Dave Love  <fx@gnu.org>
11101         * wid-edit.el: (widgets) [defgroup]: Remove url link.
11102         (widget-color-choice-list, widget-color-history, widget-mouse-help):
11103         Deleted.
11104         (widget-specify-field, widget-specify-button): Don't use
11105         widget-mouse-help as help-echo property.
11106         (default): Use #'ignore for :validate and :mouse-down-action.
11107         (checkbox): Add help-echo.
11108         (widget-sexp-validate): Rewritten to clarify error messages.
11109         (character): Use char-valid-p in :match function.
11110         (widget-color-complete): Use facemenu-color-alist.
11111         (widget-color-action): Use facemenu-read-color.
11113         * emacs-lisp/cl-macs.el: Don't bother testing for defalias.  Don't
11114         set up `caar' &c that we now have.
11116 2000-02-09  Ray Blaak  <blaak@gnu.org>
11118         * delphi.el: Make resourcestring a declaration region, like const
11119         and var.
11121 2000-02-09  Dave Love  <fx@gnu.org>
11123         * bindings.el (mode-line-input-method-map): New variable.
11124         (mode-line-mule-info): Use it; fix last change.
11125         (mode-line-mode-menu): Move definition.
11126         (mode-line-mouse-sensitive-p): Deleted.
11127         (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
11128         (make-mode-line-mouse-sensitive): Deleted.  Body moved to top
11129         level.
11131         * startup.el (command-line-1): Don't call
11132         make-mode-line-mouse-sensitive.
11134 2000-02-07  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
11136         * mail/rmail.el (rmail-retry-failure): Use
11137         rmail-beginning-of-message before rmail-toggle-header, because the
11138         former toggles headers.
11140 2000-02-06  Stefan Monnier  <monnier@cs.yale.edu>
11142         * diff-mode.el (diff-kill-junk): New interactive function.
11143         (diff-reverse-direction): Use delete-and-extract-region.
11144         (diff-post-command-hook): Restrict the area so that the hook also works
11145         outside of any diff hunk.  This is necessary for the minor-mode.
11146         (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
11147         (diff-minor-mode): Setup the hooks for header-hunk rewriting.
11149         * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
11150         (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
11151         so that it can be used more easily in <foo>-mode-hook.  Also make sure
11152         to avoid duplicate entries.
11153         (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
11154         (font-lock-remove-keywords): Just as was done for `add', allow it to
11155         work even if font-lock-mode is nil.  Also make sure we don't modify
11156         any pre-existing list by forcing a copy-sequence.  Finally rename
11157         `major-mode' to `mode'.
11158         (font-lock-fontify-syntactic-anchored-keywords)
11159         (font-lock-fontify-anchored-keywords)
11160         (font-lock-fontify-keywords-region): Use line-end-position.
11161         Don't make `font-lock-multiline' local (it's now done in
11162         font-lock-set-defaults).
11163         (font-lock-set-defaults): Make `font-lock-multiline' local.  Also
11164         move the `font-lock-fontified' creation to inside the `unless'.
11166 2000-02-06  Andrew Innes  <andrewi@gnu.org>
11168         * term/w32-win.el (x-handle-args): Comment out call to message,
11169         which occurs before window system is initialized.
11171         * makefile.nt: Add support for recompiling lisp code.
11173 2000-02-04  Dave Love  <fx@gnu.org>
11175         * bindings.el (mode-line-mule-info): Fix/extend last change.
11177         * completion.el: Replace completion-dolist with dolist.
11179         * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
11180         dotimes.
11182 2000-02-04  Carsten Dominik  <dominik@strw.leidenuniv.nl>
11184         * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
11185         environment names before they go into the section regexp.
11187         * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
11188         char class in regexp.
11190         * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
11191         `case-fold-search' to nil.
11193         * progmodes/idlwave.el (idlwave-template): Respect
11194         `idlwave-abbrev-change-case'.
11195         (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
11196         idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
11197         idlwave-while): respect `idlwave-reserved-word-upcase'.
11198         (idlwave-rw-case): New function.
11199         (idlwave-statement-match): Fixed problem with assignment regexp.
11200         (idlwave-font-lock-keywords): Improved regexp for keyword
11201         parameters.
11202         (idlwave-surround): New argument LENGTH to support padding of
11203         operators longer than 1 char.
11205         * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
11206         idlwave-shell-expression-overlay.  Implemented printing of
11207         expressions on higher levels of the calling stack.
11208         (idlwave-shell-display-level-in-calling-stack): Restore stack
11209         level.
11210         (idlwave-retrieve-expression-from-level): New function.
11211         (idlwave-shell-last-calling-stack): Variable removed.
11212         (idlwave-shell-reset): Argument action reversed (`visible' to
11213         `hidden').  Also remove stop-line overlay.
11214         (idlwave-shell-calling-stack-routine): New variable.
11215         (idlwave-shell-parse-stack-and-display): Messages now display
11216         negative level numbers.
11217         (idlwave-shell-mode): Set `modeline-format'.
11218         (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
11219         (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
11220         21.
11221         (idlwave-shell-print-expression-function): New option.
11223         * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
11224         idlwave-toolbar-remove-everywhere): Keybindings prefix is now
11225         `tool-bar' instead of `toolbar'.
11227 2000-02-02  Dave Love  <fx@gnu.org>
11229         * emacs-lisp/cl.el: Use bytecomp-load-hook, not
11230         emacs-lisp-mode-hook.  Don't check for defalias being defined.
11232         * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
11233         (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions.  Use
11234         the new builtins directly.
11236         * whitespace.el (whitespace): Add :version to defgroup.
11238         * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
11239         Doc fix.
11241         * thingatpt.el (sexp-at-point, symbol-at-point)
11242         (number-at-point, list-at-point): Add autoload cookie.
11244         * recentf.el (recentf): Add :version to defgroup.
11246         * quickurl.el (quickurl): Add :version to defgroup.
11248         * elide-head.el (elide-head): Use point-marker more.
11250         * bs.el (bs): Add :version to defgroup.
11252         * autorevert.el (global-auto-revert-mode): Add autoload cookie.
11254         * progmodes/delphi.el (delphi): Add :version to defgroup.
11256 2000-02-02  Gerd Moellmann  <gerd@gnu.org>
11258         * ange-ftp.el (ange-ftp-write-region): Handle case that
11259         succeeding process operation sets a different coding system.
11261         * calculator.el: New file.
11263 2000-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
11265         * frame.el (frames-on-display-list, framep-on-display): New
11266         functions.
11267         (display-mouse-p, display-popup-menus-p, display-graphic-p)
11268         (display-selections-p, display-screens, display-pixel-width)
11269         (display-pixel-height, display-mm-width, display-mm-height)
11270         (display-backing-store, display-save-under, display-planes)
11271         (display-color-cells, display-visual-class): New functions.
11273         * term/tty-colors.el (tty-color-gray-shades): New function.
11275         * faces.el (display-color-p): Use framep-on-display.
11276         (display-grayscale-p): New function.
11278 2000-01-31  Dave Love  <fx@gnu.org>
11280         * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
11281         (create-fontset-from-x-resource): Don't concat integers.
11283 2000-01-31  Inge Frick  <inge@nada.kth.se>
11285         * view.el: Some changes in documentation.  Removed some trailing
11286         whitespace. Changed some parameter names to agree with
11287         documentation.
11288         (view-mode-exit): Keep entry in `view-return-to-alist' only when a
11289         window is not deleted.  Modifies change 1998-04-26.
11291 2000-01-31  Gerd Moellmann  <gerd@gnu.org>
11293         * windmove.el: New file.
11295         * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11296         progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11297         progmodes/ebnf-yac.el: Update copyright and license info.
11299         * jit-lock.el (jit-lock-function): Widen before calculating end
11300         position.
11301         (jit-lock-stealth-chunk-start): Rewritten.
11303         * info.el (Info-title-face-alist): Removed.
11304         (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
11305         faces.
11306         (Info-fontify-node): Use these faces.
11308 2000-01-30  Gerd Moellmann  <gerd@gnu.org>
11310         * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
11311         (cl-macro-list1): Recognize `&allow-other-keys' instead of
11312         `&allow-other-keywords'.
11314         * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
11315         the list of directories scanned heuristically.
11317         * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
11318         exist.
11320 2000-01-30  Jason Rumney  <jasonr@gnu.org>
11322         * w32-fns.el: Define w32-tty-standard-colors.
11324         * startup.el (command-line): Use w32-tty-standard-colors when in
11325         w32 console mode.
11327 2000-01-30  Dave Love  <fx@gnu.org>
11329         * jka-compr.el (jka-compr-load): Fix up load-history.
11331         * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
11333         * emacs-lisp/cl-macs.el: Revert previous change.
11335 2000-01-29  Dave Love  <fx@gnu.org>
11337         * facemenu.el: Purecopy various strings.
11339         * timezone.el (timezone-fix-time): Window against 69 for two-digit
11340         years.  Deal with three-digit years.
11342         * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
11343         defconst, purecopy.
11344         (help-back-label): Purecopy it.
11346 2000-01-18  Gerd Moellmann  <gerd@gnu.org>
11348         * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
11349         variable. If non-nil, order the buffer list according to the
11350         currently selected frame.
11351         (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
11352         non-nil, pass the selected frame to function buffer-list.
11354 2000-01-29  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
11356         * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
11358 2000-01-28  Dave Love  <fx@gnu.org>
11360         * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
11362         * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
11363         Don't use lisp-indent-hook property.
11364         (cl-abs): Remove.
11366         * subr.el: Move out indent and edebug specs for when and unless.
11368         * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
11369         when, unless.
11371         * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
11372         unless, when.
11374 2000-01-28  Gerd Moellmann  <gerd@gnu.org>
11376         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
11377         `collecting' as synonym for `collect'.
11379         * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
11380         for the case it contains spaces.
11382         * simple.el (what-cursor-position): Change formatting of
11383         messages.
11385         * frame.el (delete-other-frames): New function.
11386         (toplevel): Bind it to C-x 5 1.
11388         * sort.el (sort-numeric-base): New option.
11389         (sort-numeric-fields): If number starts with `0' or `0[xX[',
11390         interpret it as octal or hexadecimal.  Use sort-numeric-base
11391         as default base.
11393         * progmodes/glasses.el: New file.
11395 2000-01-27  Gerd Moellmann  <gerd@gnu.org>
11397         * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
11398         userids differently.
11400         * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11401         progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11402         progmodes/ebnf-yac.el: New files.
11404 2000-01-26  Dave Love  <fx@gnu.org>
11406         * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
11407         on a function with an empty body.  [From Eric Ludlam.]
11409 2000-01-25  Andre Spiegel  <spiegel@gnu.org>
11411         * vc.el (vc-version-diff): Make sure file name is expanded.
11413 2000-01-25  Gerd Moellmann  <gerd@gnu.org>
11415         * scroll-bar.el (scroll-bar-timer): Variable removed.
11416         (scroll-bar-toolkit-scroll): Don't use a timer.
11418 2000-01-25  Kenichi Handa  <handa@etl.go.jp>
11420         * language/thai-util.el (thai-composition-function): Delete
11421         superfluous `a'.
11423 2000-01-24  Dave Love  <fx@gnu.org>
11425         * fortran.el (fortran-mode): Use beginning-of-defun-function,
11426         end-of-defun-function.
11428         * font-lock.el (turn-on-font-lock): Don't depend on window-system
11429         &c.
11431 2000-01-22  Jason Rumney  <jasonr@gnu.org>
11433         * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
11434         conflicts with new face support.
11436 2000-01-22  Richard M. Stallman  <rms@gnu.org>
11438         * replace.el (query-replace): Rename last arg to DELIMITED.
11439         (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
11440         (query-replace-regexp): Likewise.
11442 2000-01-20  Richard M. Stallman  <rms@gnu.org>
11444         * subr.el (with-syntax-table): Use make-symbol, not gensym.
11446         * emacs-lisp/lisp.el (beginning-of-defun-function):
11447         Variable renamed from beginning-of-defun.
11448         Do not call make-variable-buffer-local.
11449         (beginning-of-defun-raw): Use new variable name; doc fix.
11450         (beginning-of-defun): Doc fix.
11451         (end-of-defun-function): Variable renamed from end-of-defun.
11452         Do not call make-variable-buffer-local.
11453         (end-of-defun): Use new variable name; doc fix.
11455         * subr.el (dolist, dotimes): Copied from cl-macs.el
11456         and made to work.
11458         * mail/undigest.el (rmail-digest-end-regexps):
11459         Variable replaces rmail-digest-end-regexp.
11460         Allows multiple regexps for detecting the end line.
11461         (undigestify-rmail-message): Corresponding changes.
11463 2000-01-19  Dave Love  <fx@gnu.org>
11465         * files.el (user-init-file): Don't declare here -- is primitive.
11467         * startup.el (command-line): Check for compiled user-init-file and
11468         set to uncompiled version if necessary.
11470 2000-01-18  Gerd Moellmann  <gerd@gnu.org>
11472         * mail/undigest.el (rmail-digest-end-regexp): New user option.
11473         (undigestify-rmail-message): Use it.
11475         * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
11477 2000-01-17  Gerd Moellmann  <gerd@gnu.org>
11479         * tmm.el (tmm-goto-completions): Adapt to prompt being part
11480         of mini-buffer.
11482 2000-01-14  Gerd Moellmann  <gerd@gnu.org>
11484         * emacs-lisp/copyright.el (copyright-update): Removed the
11485         requirement for a trailing space from `copyright-regexp', to
11486         support copyrights with owner specified on a separate line..
11488         * align.el: New file.
11490         * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
11492         * net/eudc.el (toplevel): Define EUDC menu for Emacs.
11494 2000-01-13  Dave Love  <fx@gnu.org>
11496         * ph.el: Removed.  (Obsoleted by EUDC.)
11498 2000-01-13  Gerd Moellmann  <gerd@gnu.org>
11500         * net/eudc.el (toplevel): Remove autoloaded code installing
11501         menu with easymenu, because that causes build problems.
11503         * frame.el (frame-notice-user-settings): New variable.
11504         (frame-notice-user-settings): Don't modify frame parameters
11505         if called a second time.
11507 2000-01-13  Richard M. Stallman  <rms@gnu.org>
11509         * frame.el (frame-notice-user-settings):
11510         Notice default-frame-parameters even for non-window frames.
11512 2000-01-13  Gerd Moellmann  <gerd@gnu.org>
11514         * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
11515         for Emacs.
11516         (eudc-bob-can-display-inline-images): Extend for Emacs.
11517         (eudc-bob-toggle-inline-display): Ditto.
11518         (eudc-bob-display-jpeg): Ditto.
11520 2000-01-12  Gerd Moellmann  <gerd@gnu.org>
11522         * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
11523         net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
11524         net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
11526         * add-log.el (add-change-log-entry): Fix error trying an `(insert
11527         nil)'.
11529         * subdirs.el: Add `net' directory.
11531         * net: New directory.
11533         * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
11534         eval-last-sexp.  Don't bind debug-on-error here.
11535         (eval-last-sexp): New function.  Bind debug-on-error if
11536         eval-expression-debug-on-error is non-nil.
11537         (eval-defun-2, eval-defun): Likewise.
11539         * simple.el (eval-expression): Don't bind debug-on-error if
11540         eval-expression-debug-on-error is nil.  Detect changed
11541         debug-on-error, and propagate new value to global binding, if
11542         eval-expression-debug-on-error is non-nil,
11543         (eval-expression-debug-on-error): Change doc string.
11545 2000-01-11  Richard M. Stallman  <rms@gnu.org>
11547         * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
11549         * emacs-lisp/lisp-mode.el (with-syntax-table):
11550         Set up lisp-indent-function property.
11552         * subr.el (with-syntax-table): Moved from simple.el.
11554         * simple.el (with-syntax-table): Moved to subr.el.
11556 2000-01-11  Gerd Moellmann  <gerd@gnu.org>
11558         * tmm.el (tmm-shortcut): Delete region after prompt instead
11559         of erasing buffer.
11561         * textmodes/fill.el (fill-common-string-prefix): New function.
11562         (fill-context-prefix): Use the longest common prefix of first
11563         and second line fill prefix, if there is one.
11565 2000-01-11  Richard M. Stallman  <rms@gnu.org>
11567         * array.el (array-mode): Don't use make-variable-buffer-local.
11568         Use make-local-variable for `truncate-lines'.
11570 2000-01-11  Jari Aalto  <jari.aalto@poboxes.com>
11572         * add-log.el (add-log-current-defun): Handle user-defined
11573         add-log-current-function returning nil,
11575         * add-log.el (add-change-log-entry): Insert version number
11576         if having found a current function
11578         * add-log.el (add-log-current-defun): Call
11579         `add-log-current-defun-function'.  Try matches at level 0 and
11580         level 1.  Strip whitespace from defun found.
11582 2000-01-10  John Wiegley  <johnw@gnu.org>
11584         * allout.el (isearch-done/outline-provisions): Added `edit'
11585         argument to correspond with the current definition of
11586         `isearch-done'.
11588 2000-01-10  Dave Love  <fx@gnu.org>
11590         * elide-head.el (elide-head): Use point-marker, not point.
11592 2000-01-10  Gerd Moellmann  <gerd@gnu.org>
11594         * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
11595         before and after the year 2000.
11597         * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
11598         Add ispell- prefix.
11600 2000-01-10  Ken Stevens  <k.stevens@ieee.org>
11602         * ispell.el:  Only define dictionaries in menus when they exist.
11603         (version18p): New variable.
11604         (version20p): New variable.
11605         (xemacsp): New variable.
11606         (ispell-choices-win-default-height): Fix for XEmacs visibility.
11607         (ispell-dictionary-alist1): Added Brasileiro dictionary.
11608         (ispell-dictionary-alist6): Russian command lines no longer accept
11609         run-together words.
11610         (ispell-local-dictionary-alist): Add koi8-r to customize definition.
11611         (ispell-dictionary-alist): Add koi8-r to customize definition.
11612         (check-ispell-version): Added documentation string.  Returns
11613         library path when called non-interactively.
11614         (ispell-menu-map-needed): Uses new variables.
11615         (ispell-library-path): New variable.
11616         (ispell-decode-string): XEmacs fix for bogus variable bindings.
11617         (ispell-word): Improved documentation string.  Test for valid
11618         character mappings.  Correctly check typed in word changes that can
11619         result in single words split into multiple words.  Returns
11620         replacement word.
11621         (ispell-command-loop): Fixes XEmacs display bugs.  Show word to
11622         replace in recursive query replace mode.  Help message for
11623         recursive edit mode.
11624         (ispell-show-choices): Protect against bad framepop bindings.
11625         (ispell-help): Fix to work with XEmacs.
11626         (ispell-highlight-spelling-error): Use new variables.
11627         (ispell-overlay-window): Fix to work with XEmacs.
11628         (ispell-parse-output): Passed and returns location information
11629         tracking spelling corrections.  Doesn't recheck same word on
11630         current line.
11631         (ispell-init-process): Protect against bogus XEmacs variable binding.
11632         Fix call to single argument in sleep-for.  Use new variables.
11633         (ispell-region): Passed and returns location information tracking
11634         spelling corrections.  Doesn't check same word on current line.
11635         Improved documentation string.  Doesn't resend a line already
11636         checked to the ispell process - fixes bug in LaTeX parsing.
11637         (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
11638         (ispell-skip-region): No longer skips <TT> in SGML.
11639         (ispell-process-line): Tracks location information with spelling
11640         corrections.  Added documentation string.  Accounts for words
11641         already accepted on this line.  Don't allow query-replace on line
11642         starting with math characters.  Doesn't resend a line already sent
11643         to ispell process.  Fixes alignment error bug.
11645 2000-01-10  Richard M. Stallman  <rms@gnu.org>
11647         * dired-x.el (dired-guess-shell-alist-default):
11648         Suggest xloadimage, which is free, not xv, which isn't.
11650         * ange-ftp.el (ange-ftp-file-name-nondirectory):
11651         Don't ever include the host name or user name in the value.
11653 2000-01-09  Gerd Moellmann  <gerd@gnu.org>
11655         * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
11656         of a real newline.
11658 2000-01-09  Stephen Eglen  <stephen@gnu.org>
11660         * dired-x.el (dired-guess-shell-alist-default): Suggest xv
11661         for .png files.
11663 2000-01-09  Per Abrahamsen  <abraham@dina.kvl.dk>
11665         * cus-edit.el (custom-hook-convert-widget): Fix comment.
11667 2000-01-09  Gerd Moellmann  <gerd@gnu.org>
11669         * progmodes/cperl-mode.el: Replace ^F with ^L.
11671         * sendmail.el (toplevel): Provide `sendmail' when compiling
11672         before `require'ing rmail and mailalias to prevent infinite
11673         recursion.
11675 2000-01-08  Dave Love  <fx@gnu.org>
11677         * emacs-lisp/backquote.el: Remove inappropriate customization
11678         (allowing custom.el to use backquote).
11680 2000-01-07  Dave Love  <fx@gnu.org>
11682         * add-log.el (add-log-debugging): Deleted.
11683         (add-change-log-entry): Treat a backup FILE-NAME as its parent
11684         file.  Remove debugging code.
11685         (change-log-get-method-definition, change-log-name): Add doc.
11686         (change-log-sortable-date-at): New function.
11687         (change-log-merge): New command.
11689         * time.el (display-time-string-forms): Make the Mail string active.
11690         (display-time-update): Provide help-echo for load average.
11692         * bindings.el (make-mode-line-mouse2-map): New function.
11693         (mode-line-modified): Use it and simplify.
11694         (mode-line-mule-info): Provide help-echo info.
11695         (minor-mode-alist): Activate the strings.
11696         (make-mode-line-mouse-sensitive): Simplify for
11697         mode-line-buffer-identification.
11699 2000-01-07  Gerd Moellmann  <gerd@gnu.org>
11701         * play/pong.el: New file.
11703 2000-01-06  Dave Love  <fx@gnu.org>
11705         * array.el: Assorted cleanups for compiler warnings, doc strings,
11706         `array-' prefix for symbols.
11708 2000-01-05  Dave Love  <fx@gnu.org>
11710         * textmodes/outline.el (outline-mode-menu-bar-map): Add
11711         outline-headers-as-kill.
11712         (outline-mode): Define imenu-generic-expression.
11713         (outline-headers-as-kill): New command.
11715         * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
11716         from paragraph-start.
11717         (paragraph-indent-minor-mode): New command.
11719         * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
11720         M-C-e, M-C-h, C-j, C-xnd, TAB.
11721         (fortran-mode): Set beginning-of-defun, end-of-defun.
11722         (fortran-column-ruler): Simplify.
11723         (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
11724         (fortran-with-subprogram-narrowing): Likewise.
11725         (fortran-indent-subprogram): Call mark-defun.
11726         (fortran-check-for-matching-do): Change narrowing.
11728         * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
11729         (cl-lucid-hash-tag): Delete.
11730         (cl-hash-table-p): Correct test for native table.
11731         (cl-hash-table-count): Use hash-table-count.
11733         * browse-url.el (browse-url): Fix case of
11734         browse-url-browser-function being an alist.
11736 2000-01-05  Carsten Dominik  <cd@gnu.org>
11738         * textmodes/reftex-vars.el (reftex-parse-file-extension)
11739         (reftex-index-phrase-file-extension): New options.
11741         * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
11742         Use new option `reftex-index-phrase-file-extension'.
11744         * textmodes/reftex.el (reftex-access-parse-file): Use new option
11745         `reftex-parse-file-extension'.
11747 2000-01-05  Dave Love  <fx@gnu.org>
11749         * emacs-lisp/lisp.el (beginning-of-defun): New variable.
11750         (beginning-of-defun-raw): Use it.
11751         (end-of-defun): New variable.
11752         (end-of-defun): Use it.
11753         (check-parens): New command.
11755 2000-01-05  Thien-Thi Nguyen  <ttn@delysid.gnu.org>
11757         * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
11758         (hs-show-block): Don't use `mapcar' when not accumulating.
11760         Fix buglet in local variables initialization.
11762 2000-01-05  Andreas Schwab  <schwab@suse.de>
11764         * hscroll.el (hscroll): Doc fix.
11766 2000-01-05  Carsten Dominik  <cd@gnu.org>
11768         * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
11769         idlw-toolbar.
11771         * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
11772         file idlw-rinfo.el.
11773         (idlwave-customize): load must read file idlw-shell.el.
11774         (idlwave-create-customize-menu): load must read file idlw-shell.el.
11776 2000-01-05  Carsten Dominik  <dominik@astro.uva.nl>
11778         * progmodes/idlw-shell.el: Also provide idlwave-shell
11779         * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
11780         * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
11782         * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
11783         both reftex-dcr and reftex-vcr.
11785         * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
11787 2000-01-05  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
11789         * ps-print.el: PostScript code now is in separate files, doc fix.
11790         (ps-print-version): New version number (5.0.3).
11791         (ps-header-lines, ps-left-header, ps-right-header): No more buffer
11792         local.
11793         (ps-spool-config): Initialization fix.
11794         (ps-print-prologue-1, ps-print-prologue-2)
11795         (ps-print-duplex-feature): PostScript code moved to separated file.
11796         (ps-background-image): Little code reformating.
11797         (ps-begin-file, ps-begin-job): Fix code.
11798         (ps-postscript-code-directory, ps-mark-code-directory): New vars.
11799         (ps-prologue-file): New fun.
11801 2000-01-05  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
11803         * ps-vars.el: Eliminated.
11805         * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
11806         `;;;###autoload'.
11808         * ps-print.el: ps-vars eliminated, doc fix.
11809         (ps-print-version): New version number (5.0.2).
11810         (ps-spool-config): Initialization fix.
11811         (ps-print-customize): New fun.
11813 2000-01-04  Gerd Moellmann  <gerd@gnu.org>
11815         * autorevert.el (auto-revert-mode): Return value of
11816         auto-revert-mode.
11818 2000-01-04  Dave Love  <fx@gnu.org>
11820         * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
11821         menu items.
11823 2000-01-03  Dave Love  <fx@gnu.org>
11825         * elide-head.el (elide-head) [defgroup]: Add :version.
11827         * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
11828         (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
11829         `cl-hash-table-p', not `hash-table-p'.
11830         (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
11832 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
11834         * faces.el (face-read-integer, read-face-attribute)
11835         (color-defined-p, color-values): unspecified-{f,b}g are now
11836         strings.
11838 2000-01-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
11840         * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
11841         at comment end, and re-insert them after filling.
11843 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
11845         * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
11846         * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
11847         progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
11849 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
11851         * term/x-win.el (xw-defined-colors): Call color-supported-p,
11852         the new name of face-color-supported-p.
11854         * term/w32-win.el (xw-defined-colors): Likewise.
11856 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
11858         * simple.el (completion-setup-function): Count completion-size
11859         from minibuffer-prompt-end, not from point-min.
11861 2000-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
11863         * faces.el (read-face-attribute, defined-colors, color-defined-p):
11864         Pass the frame to tty-color-* functions.
11865         (display-color-p, frame-set-background-mode): Pass the frame to
11866         tty-display-color-p.
11868         * term/tty-colors.el (tty-defined-color-alist): Renamed from
11869         tty-color-alist.
11870         (tty-color-alist, tty-modify-color-alist): New functions.
11871         (tty-color-define,  tty-color-clear, tty-color-approximate)
11872         (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
11873         an optional parameter FRAME.
11875 2000-01-01  Gerd Moellmann  <gerd@gnu.org>
11877         * image.el (create-image, defimage): Don't assume image data is a
11878         string.
11880         * image.el (defimage): Handle specifications containing :data
11881         instead of :file.
11882         (image-type-from-data): New function.
11883         (image-type-from-file-header): Use it.
11884         (create-image): Add parameter DATA-P.
11886 See ChangeLog.8 for earlier changes.
11888 ;; Local Variables:
11889 ;; coding: iso-2022-7bit
11890 ;; End: