*** empty log message ***
[emacs/old-mirror.git] / lisp / ChangeLog
blob7269aeb1c31699d9186988d15fd45b3bb9ce9908
1 2000-11-06  Stefan Monnier  <monnier@cs.yale.edu>
3         * textmodes/texnfo-upd.el: Require texinfo.
4         (defmacro, defgroup): Remove.
5         (texinfo-section-to-generic-alist): Remove.
6         Use texinfo-section-list instead (i.e. level is changed string->int).
7         (texinfo-filter): New function.
8         (texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp)
9         (texinfo-subsection-level-regexp, texinfo-section-level-regexp):
10         Use it.  And use regexp-opt.
11         (texinfo-find-higher-level-node, texinfo-hierarchic-level)
12         (texinfo-update-menu-region-beginning)
13         (texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps)
14         (texinfo-update-the-node, texinfo-sequentially-update-the-node)
15         (texinfo-update-menu-same-level-regexps): Update.
16         (texinfo-update-node, texinfo-every-node-update) 
17         (texinfo-sequential-node-update): Remove autoload cookie.
19         * textmodes/texinfo.el (texinfo-section-list): Change majorheading.
20         (texinfo-font-lock-syntactic-keywords): Use syntax-strings.
21         (texinfo-chapter-level-regexp): Remove.
22         (texinfo-mode): Hard code texinfo-chapter-level-regexp.
24 2000-11-06  Dave Love  <fx@gnu.org>
26         * autoinsert.el (auto-insert-alist) <latex-mode>: Use \documentclass.
28         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
29         Match defun*.
31 2000-11-06  Kenichi Handa  <handa@etl.go.jp>
33         * composite.el (composition-function-table): Variable declaration
34         moved to src/composite.c.
35         (compose-chars-after): New optional arg object.
37 2000-11-06  Gerd Moellmann  <gerd@gnu.org>
39         * bindings.el (mode-line-toggle-read-only)
40         (mode-line-toggle-modified, mode-line-widen)
41         (mode-line-abbrev-mode, mode-line-auto-fill-mode): New functions.
42         (make-mode-line-mouse2-map): Rewritten.
43         (mode-line-modified, mode-line-format, minor-mode-alist): Use new
44         functions so that C-h k can show something with a doc string.
45         
46         * startup.el (fancy-splash-delay): Set to 10 seconds.
47         (fancy-splash-max-time): New user-option.
48         (fancy-splash-stop-time): New variable.
49         (fancy-splash-screens): Set it.  Catch `stop-splashing'.
50         (fancy-splash-screens-1): Throw `stop-splashing' when current
51         time is greater than fancy-splash-stop-time.
53 2000-11-06  Stefan Monnier  <monnier@cs.yale.edu>
55         * vc-hooks.el (vc-insert-file): Don't assume byte==char.
57         * pcvs.el (cvs-mode-marked): New arg `noquery'.
58         Prompt user for a file rather than raising an error.
59         (cvs-enabledp): Fix call to cvs-mode-marked.
60         (cvs-insert-file): New function (extracted from cvs-mode-insert).
61         (cvs-mode-insert): Use it.  Change the init prompt' value.
62         (cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
64         * emacs-lisp/ewoc.el (ewoc-goto-prev, ewoc-goto-next):
65         Don't pass default arg to ewoc-locate.
66         (ewoc-collect): Return result in the right order.
68         * log-edit.el (log-edit-show-files): Use cvs-insert-strings.
70         * cvs-status.el (cvs-tree-merge): Use cvs-butlast (avoid CL).
71         (cvs-status-get-tags): Fix regexp.
72         (cvs-status-trees, cvs-status-cvstrees):
73         Combine after change hooks and don't sit-for.
74         (cvs-tree-use-jisx0208): Rename from cvs-tree-dstr-2byte-ready.
75         (cvs-tree-char-*): Rename from cvs-tree-dstr-char-*.
76         Use make-char rather than hard-coded cryptic data.
77         (cvs-status-cvstrees): Convert the buffer to multibyte if necessary.
79         * pcvs-defs.el (cvs-menu): Add entries for tree and insert.
81         * pcvs-util.el (cvs-butlast, cvs-nbutlast): New (copied from CL).
82         (cvs-insert-strings): New function.
84 2000-11-06  Miles Bader  <miles@lsi.nec.co.jp>
86         * mwheel.el (mouse-wheel-scroll-amount): Renamed from
87         `mwheel-scroll-amount'.
88         (mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
89         (mouse-wheel-mode): Use (featurep 'xemacs) instead of
90         string-matching against the version string.
92 2000-11-06  Kenichi Handa  <handa@etl.go.jp>
94         * language/thai.el ("Thai"): Set a lisp form that produces
95         composed string in `sample-text' language info.
97         * language/tibetan.el ("Tibetan"): Set a lisp form that produces
98         composed string in `sample-text' language info.
100         * international/mule-cmds.el (describe-language-environment): Eval
101         `sample-text' data and insert the result.
103         * international/mule-conf.el (compound-text): Define this coding
104         system here.  Make x-ctext and ctext aliases of it.
106         * language/european.el (compound-text, ctext): Moved to
107         international/mule-conf.el.
109 2000-11-05  Andrew Innes  <andrewi@gnu.org>
111         * w32-fns.el (w32-version): New function.
113 2000-11-05  Stefan Monnier  <monnier@cs.yale.edu>
115         * progmodes/awk-mode.el: Update copyright.
116         (awk-mode-abbrev-table): Remove.
117         (awk-font-lock-keywords): Use regexp-opt.
118         (awk-mode): Use define-derived-mode.
120         * emacs-lisp/regexp-opt.el (regexp-opt-group): Sort the strings
121         when extracting a suffix.
123 2000-11-04  Andre Spiegel  <spiegel@gnu.org>
125         * vc-hooks.el (vc-insert-file): Rewritten.  Don't bother about
126         auto-save-mode.
128 2000-11-04  Jason Rumney  <jasonr@gnu.org>
130         * language/european.el (decode-mac-roman): Test against r1 not r0.
132 2000-11-03  Stefan Monnier  <monnier@cs.yale.edu>
134         * progmodes/icon.el (icon-mode-map): Don't rebind \t.
135         (icon-mode): Define indent-line-function.
136         (icon-comment-indent): Simplify.
137         (icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
139         * emacs-lisp/find-func.el (find-function-do-it): Quote the hook.
141         * pcvs.el (cvs-mode-add-change-log-entry-other-window):
142         Bind change-log-default-mode to defeat the caching done on it.
143         Don't bother saving excursion any more.
145         * menu-bar.el (minibuffer maps): Use dolist rather than mapcar.
147         * frame.el (after-setting-font-hook): Rename hooks -> hook.
148         (set-frame-font): Use the new name (and the old for compatibility).
150         * toolbar/tool-bar.el (tool-bar-mode): 
151         * time.el (display-time-mode): 
152         * recentf.el (recentf-mode): 
153         * paren.el (show-paren-mode): 
154         * mwheel.el (mouse-wheel-mode): 
155         * msb.el (msb-mode): 
156         * jka-compr.el (auto-compression-mode): 
157         * image-file.el (auto-image-file-mode): 
158         * hl-line.el (hl-line-mode): 
159         * delsel.el (delete-selection-mode): 
160         * autoinsert.el (auto-insert-mode): 
161         * complete.el (partial-completion-mode): Drop unneeded positional args.
163         * info.el (Info-mode): 
164         * comint.el (comint-mode): Don't both with make-local-hook.
166         * log-edit.el (log-edit-menu): New menu.
168 2000-11-03  Miles Bader  <miles@gnu.org>
170         * wid-edit.el (widget-end-of-line): Reinstate, with a new
171         definition, so that trailing spaces are handled properly.
172         (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
174 2000-11-03  Gerd Moellmann  <gerd@gnu.org>
176         * startup.el (fancy-splash-text, fancy-splash-text): Use a single
177         tab character.
178         (fancy-splash-screens): Set tab-width to 20.
180 2000-11-03  Dave Love  <fx@gnu.org>
182         * comint.el (comint-completion-addsuffix): Fix custom type.
184 2000-11-02  Stefan Monnier  <monnier@cs.yale.edu>
186         * font-lock.el (font-lock-buffers): Remove.
187         (font-lock-global-modes): Define with easy-mmode-define-global-mode.
188         (font-lock-change-major-mode): Remove.
189         (turn-on-font-lock-if-enabled): Only apply to the current buffer.
190         (font-lock-default-fontify-region): Extend the multiline
191         fontification to whole lines.
192         (font-lock-fontify-anchored-keywords)
193         (font-lock-fontify-keywords-region): If matching just one
194         line (with \n) only mark the \n as multiline.
196         * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
197         Correctly handle the case where several :group args are supplied.
198         Allow :extra-args.
199         (easy-mmode-define-global-mode): Allow :extra-args.
200         Correctly handle the case where several :group args are supplied.
202 2000-11-02  Miles Bader  <miles@gnu.org>
204         * calendar/calendar.el (diary-face, calendar-today-face) 
205         (holiday-face): Remove dependency on `window-system'.
207 2000-11-02  Ken Raeburn  <raeburn@gnu.org>
209         * Makefile.in (emacs): Set EMACSLOADPATH always.
210         (update-authors, .el.elc, compile-files): Don't do it explicitly
211         here.
212         (compile-files): Bomb out if compilation of a file fails.
214 2000-11-02  Dave Love  <fx@gnu.org>
216         * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
218 2000-11-02  Eli Zaretskii  <eliz@is.elta.co.il>
220         * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
221         punctuation in the warning inserted into the *mail* buffer.
223 2000-11-02  Gerd Moellmann  <gerd@gnu.org>
225         * emacs-lisp/authors.el (authors-public-domain-files): New variable.
226         (authors-public-domain-p): New function.
227         (authors-print): Use it.
229         * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
231         * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
233 2000-11-02  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
235         * ps-print.el: Extension for even/odd printing.  Doc fix.
236         (ps-print-version): New version number (6.3.1).
237         (ps-even-or-odd-pages): Customization fix.
238         (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
239         (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
240         (ps-page-count): Var replaced by `ps-page-column'.
241         (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
242         (ps-print-sheet-p): New fun.
244 2000-11-02  Miles Bader  <miles@lsi.nec.co.jp>
246         * tooltip.el (tooltip-gud-tips-setup): New function.
247         (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
248         (tooltip-mode): Call tooltip-gud-tips-setup.
249         (tooltip-gud-tips): Use `gud-basic-call' instead of
250         process-send-string, so the prompt gets frobbed appropriately.
251         Handle nil return value from `tooltip-gud-print-command'.
253 2000-11-01  Eric M. Ludlam  <zappo@ultranet.com>
255         * comint.el (comint-add-to-input-history): New function.
256         (comint-send-input): Use `comint-add-to-input-history'.
258 2000-11-02  Miles Bader  <miles@lsi.nec.co.jp>
260         * info.el (info-menu-header): New face.
261         (Info-fontify-menu-headers): New function.
262         (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
264         * info.el (Info-insert-dir): Don't include blank lines at
265         beginning of additional dir files (one is added automatically).
267 2000-11-01  Stefan Monnier  <monnier@cs.yale.edu>
269         * emacs-lisp/easy-mmode.el (define-minor-mode):
270         Revert the latest changes.
271         Allow the three positional arguments to be skipped and replaced
272         by keyword arguments.
273         Add a :toggle argument to determine whether a nil arg means toggle
274         or means turn-on.  The default is unchanged.
275         Add a call to force-mode-line-update.
277 2000-11-01  Dave Love  <fx@gnu.org>
279         * emacs-lisp/elp.el (elp-restore-function): Remove autoload
280         cookie.
282 2000-11-01  Miles Bader  <miles@lsi.nec.co.jp>
284         * calendar/calendar.el (diary-face, holiday-face): Add
285         dark-background variants.
287 2000-10-31  Sam Steingold  <sds@gnu.org>
289         * textmodes/tex-mode.el (tex-file): Use `default-directory' when
290         `tex-main-file' does not have directory in it.
292 2000-10-31  Stefan Monnier  <monnier@cs.yale.edu>
294         * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
296 2000-10-31  Thien-Thi Nguyen  <ttn@gnu.org>
298         * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
299         functional change.
301 2000-10-31  Gerd Moellmann  <gerd@gnu.org>
303         * files.el (find-file-noselect): When we expand a wildcard, return
304         a list of buffers, as we should do according to the doc string.
306 2000-10-31  Ken Raeburn  <raeburn@gnu.org>
308         * loadup.el (top level): Adjust load path if program name is
309         "../src/bootstrap-emacs", in case it's not dumped and thus the
310         load path adjustment hasn't already been done.
312 2000-10-31  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
314         * ps-print.el: Fix bug on selected pages for printing.  Use
315         `color-values' for Emacs 21.  Ensure fontification when jit-lock
316         is on.  Try to avoid warning messages when compiling.  Doc Fix.
317         (ps-print-version): New version number (6.3).
318         (ps-color-device): Use `color-values' to determine if device
319         supports color.
320         (ps-color-values): Try to use `x-color-values' when using XEmacs.
321         (ps-print-page-p): Changed from defsubst to defun.
322         (ps-page-number): Changed from defmacro to defun.
323         (ps-header-sheet, ps-header-page): Fix bug on selected pages for
324         printing.
325         (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
326         (ps-end-file, ps-dummy-page): Funs eliminated.
327         (ps-print-color-scale): Changed default value.
328         (ps-page-n-up, ps-print-page-p): New internal vars.
329         (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
330         (ps-plot-region, ps-generate, ps-end-job): Code fix.
332         * delim-col.el: Little programming improvement.
333         (delimit-columns-str): New macro.
334         (delimit-columns-region, delimit-columns-rectangle): Code fix.
336 2000-10-31  Kenichi Handa  <handa@etl.go.jp>
338         * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
339         Moved to european.el.
340         (ccl-encode-mac-roman-font, fontset-mac): Modified for
341         mule-unicode-2500-33ff and mule-unicode-e000-ffff.
342         (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
343         (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
345 2000-10-30  Dave Love  <fx@gnu.org>
347         * progmodes/cc-menus.el (imenu-generic-expression)
348         (imenu-progress-message): Only defvar when compiling.
350         * emacs-lisp/elp.el (elp-unload-hook): New function.
352         * loadhist.el (unload-feature): Call elp-restore-function,
353         checking for symbols; don't use elp-restore-all.
354         (loadhist-hook-functions): Doc fix.
356 2000-10-30  Stefan Monnier  <monnier@cs.yale.edu>
358         * log-edit.el (log-edit-confirm): Fix the default.
360 2000-10-30  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
362         * delim-col.el: Little fix: replace delimit-columns-align-columns by
363         delimit-columns-format.
364         (delimit-columns-region, delimit-columns-rectangle): Code fix.
366 2000-10-30  Miles Bader  <miles@lsi.nec.co.jp>
368         * comint.el (comint-replace-by-expanded-history): Don't use
369         comint-get-old-input (we're not looking at *old* input).
370         (comint-get-old-input-default): If using fields, signal an error
371         when the point is not in an input field.
373 2000-10-30  Kenichi Handa  <handa@etl.go.jp>
375         * international/mule-conf.el: New charsets mule-unicode-2500-33ff
376         and mule-unicode-e000-ffff.
378         * international/mule.el (decode-char, encode-char): New functions.
379         (make-coding-system): Accept a symbol of translation table as a
380         value of property `safe-chars'.
382         * international/mule-cmds.el (encode-coding-char): Check property
383         safe-chars instead of safe-charsets.
385         * international/fontset.el (fontset-default): Modified for
386         mule-unicode-2500-33ff and mule-unicode-e000-ffff.
387         (x-font-name-charset-alist): Likewise.
388         (ccl-encode-unicode-font): New CCL program.  Record it in
389         font-ccl-encoder-alist to be used for fonts "ISO10646-1".
391         * language/european.el (mac-roman-decoder, mac-roman-encoder):
392         New translation tables.
393         (decode-mac-roman, encode-mac-roman): Definition of these CCL
394         programs are modified and moved from mac-win.el.
395         (mac-roman): Definition of this coding system is modified and
396         moved from mac-win.el.
398 2000-10-29  Michael Kifer  <kifer@cs.sunysb.edu>
400         * ediff-wind.el (ediff-setup-control-frame): Enclose
401         face-attribute in condition-case to avoid errors in older emacsen.
403 2000-10-29  Miles Bader  <miles@gnu.org>
405         * custom.el (custom-add-to-group): Allow multiple entries for a
406         given value OPTION, as long as their widget types are different.
407         * cus-edit.el (custom-face-value-create): If face name doesn't end
408         with "face", add such here (similar to custom group widgets).
410         * comint.el (comint-highlight-prompt): Add :type.
412 2000-10-28  John Wiegley  <johnw@gnu.org>
414         * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
415         Changed this function to operate on a temporary buffer instead of
416         the main buffer.  This not only keeps flyspell from marking a
417         buffer as changed that wasn't, but it solves the jumpy cursor
418         problem when attempts are made to edit incorrect words.
419         (flyspell-maybe-correct-doubling): Same change as for
420         `flyspell-maybe-correct-transposition'.
422         * calendar/timeclock.el (timeclock-log): Doc fix.
423         (timeclock-last-event): Doc fix.
424         (timeclock-log): Kill the timelog buffer after appending a new
425         event.
426         (timeclock-find-discrep): Use a temp buffer to read in the
427         timelog, instead of visiting the file.
428         (timeclock-log-data): A new function, along with a host of helper
429         functions, for the purpose of making timelog data accessible to
430         programmers.
432         * eshell/esh-mode.el (window-height test): Make certain that
433         `eshell-stringify-t' is non-nil.
434         (eshell-password-prompt-regexp): Changed to a much simpler
435         password regexp.
436         (eshell-send-input): If `eshell-invoke-directly' returns t,
437         directly invoke the parsed command using `eval'.  This improves
438         turn-around time on simple commands by a factor of three or
439         greater, such as cd, ls, pwd, etc. -- which get used very often.
440         It also conserves thousands of cons cells per call (since
441         `eshell-do-eval' consumes memory like a Cookie Monster set loose
442         in the Pacific Cookie Company).
444         * eshell/esh-test.el (eshell-test): Whitespace fix.
446         * eshell/em-ls.el (eshell-ls-insert-directory): Make
447         `eshell-ls-initial-args' nil when inserting directory contents.
449         * eshell/em-script.el (eshell-script-initialize): Add names to
450         `eshell-complex-commands, since `source' and `.' are complex.
452         * eshell/esh-cmd.el (eshell-rewrite-for-command)
453         (eshell-rewrite-while-command): Use `eshell-protect' instead of
454         `eshell-copy-handles'.
455         (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
456         bodies.
457         (eshell-separate-commands): Whitespace fix.
458         (eshell-complex-commands): Added a new list of names, for
459         determining whether a given command is as simple as it looks.
460         (eshell-invoke-directly): New function.  Returns t if a command
461         should be invoked directly (using `eval'), rather than indirectly
462         using `eshell-do-eval'.
463         (eshell-do-eval): Whitespace fix.
465         * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
466         which provides an emulation of the DOS shell behavior of assuming
467         that cp/mv/ln should copy/move/link to the current directory.
468         (eshell-remove-entries): Added a doc string.
469         (eshell-shuffle-files): Removed the check for `target' being null.
470         (eshell-mvcp-template, eshell-mvcpln-template): Renamed
471         `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
472         it to do a smarter check of whether a destination was provided.
473         (eshell/mv, eshell/cp): Enable `:preserve-args'.
474         (eshell/ln): Enable `:preserve-args', and use
475         `eshell-mvcpln-template' to implement the body of the function.
476         (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
477         (eshell/du, eshell/diff, eshell/locate): Stringify the argument
478         list after flattening it.  This makes it possible to cat files
479         with numerical names.
480         (eshell-unix-initialize): Added several names to
481         `eshell-complex-commands.
482         (eshell-unix-command-complex-p): Return t if a given command name
483         may result in external processes being invoked.
485         * eshell/em-glob.el (eshell-glob-show-progress): Make this
486         variable nil by default, since it slows down glob processing by a
487         factor of two or more, and increases memory consumption.
489         * eshell/em-smart.el: Added a note about how memory consumptive
490         smart display mode can be (at least this is true in Emacs 21).
491         (eshell-smart-initialize): Whitespace fix.
492         (eshell-refresh-windows): Use `if' instead of `when'.
493         (eshell-smart-scroll-window): Calling `save-current-buffer' was
494         not necessary.
495         (eshell-currently-handling-window): Added a missing global
496         variable.
498         * eshell/em-ls.el (eshell-do-ls): Code simplification.
499         (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
500         Whitespace fix.
501         (eshell-ls-exclude-hidden): Added this variable in addition to
502         `eshell-ls-exclude-regexp'.  This one prevents files beginning
503         with . from even being read, which can improve memory consumption
504         quite a bit.
505         (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
506         read file entries beginning with a dot.  In home directories with
507         lots of hidden files, fully two-thirds of the time spent in ls is
508         used to read directory entries that are immediately thrown away.
509         (eshell-ls-initial-args): Added back this configuration variable,
510         for specifying default initial arguments to every call to ls.
511         Much faster than using an alias to do the same thing.
512         (eshell-do-ls): Use `eshell-ls-initial-args', if set.
513         (eshell-ls-dir): Whitespace change.
515         * eshell/em-dirs.el (eshell/pwd): Small code simplification.
517         * eshell/esh-util.el: Don't require `ange-ftp' if it's not
518         available.
519         (eshell-stringify-t): Added a customization variable, to indicate
520         whether `t' should be rendered as a string at all.  If not, one
521         can still determine if the result of an expression is true using
522         "file-exists-p FILE && echo true".
523         (eshell-stringify): If `eshell-stringify-t' is nil, don't
524         stringify t!
526         * eshell/esh-module.el: Whitespace fix.
528         * eshell/em-alias.el (eshell-alias-initialize): Added
529         `eshell-command-aliased-p' to `eshell-complex-commands'.
530         (eshell-command-aliased-p): New function that returns t if a
531         command name names an aliased.
533 2000-10-29  Michael Kifer  <kifer@cs.sunysb.edu>
535         * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
536         redrawing the screen when changing cursor color.
537         (viper-insert-state-pre-command-sentinel)
538         (viper-replace-state-pre-command-sentinel)
539         (viper-replace-state-post-command-sentinel):
540         Use viper-preserve-cursor-color.
541         Many functions changed to use viper= instead of = when comparing
542         characters.
543         * viper-util.el (viper-memq-char,viper=): New functions for
544         working with characters.
545         (viper-change-cursor-color): Fixed buglet.
546         Many functions changed to use viper= instead of = when comparing
547         characters.
548         * viper.el (viper-insert-state-mode-list): Added eshell.
550         * ediff-init.el (ediff-before-setup-hook): New hook.
551         Several typos fixed in various docstrings.
552         * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
553         * ediff-nult.el (ediff-before-session-group-setup-hooks): New
554         hook.
555         (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
556         * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
557         (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
558         (ediff-get-selected-buffers): New function.
559         * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
560         (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
561         save-window-excursion.
562         * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
563         termination check in while loop.
564         * ediff.el (ediff-get-default-file-name): Better defaults when in
565         dired buffer.
566         (ediff-files,ediff-merge-files,ediff-files3)
567         (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
569 2000-10-28  Dave Love  <fx@gnu.org>
571         * info.el (Info-fontify-node): Add help-echo for menu items.
573 2000-10-28  Eli Zaretskii  <eliz@is.elta.co.il>
575         * startup.el (normal-top-level): If the value of $TERM indicates
576         we are running from xterm or one of its work-alikes, default to a
577         light background mode.
579         Support for -fg, -bg, and -rv command-line arguments for TTYs:
580         * faces.el (tty-handle-reverse-video): New function.
581         (tty-create-frame-with-faces): Call it.
583         * frame.el (frame-notice-user-settings): Don't apply
584         default-frame-alist and initial-frame-alist to MS-DOS frames.
585         Call tty-handle-reverse-video, frame-set-background-mode, and
586         face-set-after-frame-default for non-MS-DOS frames.
588         * startup.el (tty-long-option-alist): New variable.
589         (tty-handle-args): New function.
590         (command-line): Call tty-handle-args.
592         * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
593         startup.el now does that for all character-terminal frames.
595 2000-10-28  Miles Bader  <miles@gnu.org>
597         * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
598         `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
599         global.  If :global is followed by a non-nil but non-t value,
600         make the mode buffer-local, but also generate a `global-MODE'
601         version using `easy-mmode-define-global-mode'.  Add
602         :conditional-turn-on keyword argument.
604 2000-10-28  Dave Love  <fx@gnu.org>
606         * international/latin1-disp.el (latin1-char-displayable-p): Don't
607         use window-system.
609 2000-10-27  Eli Zaretskii  <eliz@is.elta.co.il>
611         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
612         Don't call find-buffer-file-type-coding-system.  Instead, just
613         set eol-type to -unix if inhibit-eol-conversion is in effect, or
614         if the file is on an untranslated filesystem.
615         (add-untranslated-filesystem): Use "D" instead of "f" inside
616         interactive.
618 2000-10-27  Dave Love  <fx@gnu.org>
620         * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
621         (refill-mode): Use it.
623 2000-10-27  Stefan Monnier  <monnier@cs.yale.edu>
625         * international/quail.el (quail-activate): Don't make-local-hook.
627 2000-10-27  Andre Spiegel  <spiegel@gnu.org>
629         * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
630         manual backups and file.~<rev>.~ for automatic ones.
631         (vc-make-version-backup): Don't do it on MS-DOS without long file
632         names.
634         * vc.el (vc-version-other-window): If an automatic backup of the
635         desired version exists, rename it instead of copying it.
637         * vc-cvs.el (vc-cvs-checkin): Check both status and error message
638         after command.  If there's an unexpected error, signal it instead
639         of being silent.
640         (vc-cvs-merge-news): Be prepared for no news at all.
642 2000-10-27  Miles Bader  <miles@lsi.nec.co.jp>
644         * shell.el (shell): Add BUFFER argument.
645         * comint.el (make-comint-in-buffer): New function.
646         (make-comint): Use it.
648         * faces.el (face-spec-choose): Change syntax so that the list of
649         attribute-value pairs is now the cdr of each clause, not the cadr.
650         Detect old-style entries, and handle them.  Use pop.
652 2000-10-26  Stefan Monnier  <monnier@cs.yale.edu>
654         * cus-edit.el (custom-mode-map): Use a sparse map.
655         (custom-mode): Don't bother with make-local-hook.
657         * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
659         * vc.el (vc-start-entry): Only erase the buffer if comment is set.
661 2000-10-26  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
663         * ps-print.el: Avoid compilation gripes.
664         (ps-print-version): New version number (6.2.1).
666 2000-10-26  Dave Love  <fx@gnu.org>
668         * menu-bar.el: Modify some menu item help strings.
669         (menu-bar-help-menu): Add link to MORE.STUFF.
671         * cus-edit.el (custom-mode): Add `special' mode-class property.
673         * wid-browse.el (widget-browse-mode): Likewise.
675         * wid-edit.el (widget-specify-field): Revert to using local-map
676         property, not keymap.
678 2000-10-26  Miles Bader  <miles@lsi.nec.co.jp>
680         * wid-edit.el (widget-field-end): When checking for a `boundary'
681         field, do so in the correct buffer.
683         * simple.el (undo): Correctly distinguish between numeric and
684         non-numeric prefix args in non-transient-mark-mode, as per the doc
685         string.  When in transient-mark-mode, treat all prefix-args as
686         numeric.
688         * simple.el (previous-matching-history-element): Miscellaneous cleanup.
689         Position point on match.  Handle N == 0 correctly.
691         * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
692         (comint-mode-map): Reverse order of `comint-write-output' and
693         `comint-append-output-to-file'.
694         (comint-append-output-to-file): Reinstate this function, for the
695         benefit of the menu.
697 2000-10-25  Stefan Monnier  <monnier@cs.yale.edu>
699         * vc.el (vc-version-other-window): Bind `file'.
701 2000-10-25  Gerd Moellmann  <gerd@gnu.org>
703         * Makefile.in (update-authors): New target for maintenance purposes.
705         * emacs-lisp/authors.el (batch-update-authors): New function.
706         (authors-fixed-entries): New defconst.
707         (authors-add-fixed-entries): New function.
708         (authors): Call it.: Don't process lispref/.
710 2000-10-25  Jason Rumney  <jasonr@gnu.org>
712         * cus-edit.el (custom-button-face, custom-button-pressed-face):
713         Merge x w32 and mac definitions.
715 2000-10-25  Gerd Moellmann  <gerd@gnu.org>
717         * menu-bar.el (menu-bar-options-menu): Add a help string for
718         `uniquify'.
720 2000-10-25  Stephen Gildea  <gildea@alum.mit.edu>
722         * time-stamp.el (time-stamp-string-preprocess):
723         Fix a wrong type argument error.
725 2000-10-25  Miles Bader  <miles@gnu.org>
727         * recentf.el (recentf-mode): Variable removed.
728         (recentf-mode): Use `define-minor-mode'.
730         * mwheel.el (mouse-wheel-mode): New global minor mode.
731         (mwheel-install): Use `mouse-wheel-mode'.
733 2000-10-25  Dave Love  <fx@gnu.org>
735         * progmodes/cperl-mode.el (cperl-mode):
736         Set normal-auto-fill-function correctly.
738         * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
739         inherit from global-map and don't nullify menu-bar and tool-bar
740         bindings.
742 2000-10-25  Miles Bader  <miles@lsi.nec.co.jp>
744         * wid-edit.el (widget-field-at): New function.
745         (widget-at, widget-field-activate): Use it.
746         (widget-tabable-at): Use `widget-at'.
747         (widget-specify-field): If the terminating character of the widget
748         field (which is read-only) is a newline, put it into a special
749         `boundary' field so that C-n/C-p act more naturally.
750         (widget-field-end): Also don't subtract one if a special
751         `boundary' field has been added after the widget field.
753         * comint.el (comint-output-filter, comint-send-input): Don't
754         bother adding stickiness fields to overlays to fool the field
755         code, since it should notice the overlay insertion-types now.
757         * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
758         Replace with aliases of the normal emacs b-o-l/e-o-l functions.
759         (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
761 2000-10-24  Gerd Moellmann  <gerd@gnu.org>
763         * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
764         (authors): Set file coding system to iso-2022-7bit.  Add
765         file-local variables to output buffer.
767         * files.el (after-find-file): Don't print any warnings if
768         WARN is nil.
770 2000-10-24  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
772         * ps-print.el (ps-generate): Fix odd/even pages printing bug.
774         * delim-col.el: Now there is a column formatting mechanism.
775         Modified to customization mechanisms convention.  Doc fix.
776         (columns): New group for delim-col.
777         (delimit-columns-before, delimit-columns-after)
778         (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
779         (delimit-columns-end): New vars.
780         (delimit-columns-customize, delimit-columns-format): New funs.
781         (delimit-columns-region, delimit-columns-rectangle)
782         (delimit-columns-rectangle-line): Modified to support column
783         formatting.
785 2000-10-24  Dave Love  <fx@gnu.org>
787         * log-edit.el (log-edit): Add :version and a :group for vc.
789 2000-10-24  Gerd Moellmann  <gerd@gnu.org>
791         * files.el (after-find-file): Don't print a message ``New file''
792         if WARN is nil.
794         * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
795         the tool-bar map as nil, as for the menu-bar.  Otherwise, we'll
796         get duplicate tool-bar entries because we'll see the global ones
797         on more than one path through keymaps.
799         * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
801         * progmodes/cmacexp.el: Change Francesco's email address.
803 2000-10-24  Kenichi Handa  <handa@etl.go.jp>
805         * window.el (fit-window-to-buffer): Adjust point of the window
806         buffer, not that of the current buffer.
808 2000-10-24  Eli Zaretskii  <eliz@is.elta.co.il>
810         * progmodes/cmacexp.el: Update the euthor's email address.
812 2000-10-24  Miles Bader  <miles@lsi.nec.co.jp>
814         * faces.el (face-spec-set-match-display): Add `graphic' display
815         type (the inverse of `tty').  Use `display-graphic-p' instead of
816         the window-system variable.
818 2000-10-24  Kenichi Handa  <handa@etl.go.jp>
820         * international/isearch-x.el (isearch-with-input-method): Call
821         input-method-function with the first event in
822         unread-command-events.
824 2000-10-24  Miles Bader  <miles@lsi.nec.co.jp>
826         * faces.el (face-default-spec, face-user-default-spec): Make
827         defsubsts.
829 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
831         * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
832         New charsets.
834         * term/mac-win.el: Remove definitions of mac-roman-lower and
835         mac-roman-upper, require dired, and define instead of set
836         mac-ready-for-drag-n-drop to avoid compilation error.
838 2000-10-23  Andrew Innes  <andrewi@gnu.org>
840         * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
841         superfluous calls to subst-char-in-string; instead apply
842         expand-file-name after convert-standard-filename to ensure
843         expected directory separators are used.
845 2000-10-23  Eli Zaretskii  <eliz@is.elta.co.il>
847         * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
849 2000-10-23  Dave Love  <fx@gnu.org>
851         * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
852         (tool-bar-add-item): Set foreground and background for XBM icons.
854         * international/latin1-disp.el (latin1-char-displayable-p): New
855         function (from Handa).
856         (latin1-display-check-font): Use it.
858         * imenu.el (imenu--create-keymap-2): Build menu with menu-item
859         using :key-sequence, making it much more usable.  Use nconc, not
860         append.
861         (imenu--create-keymap-1): Avoid append.
863         * textmodes/refill.el: Remove bits redundant with define-minor-mode.
865 2000-10-23  Miles Bader  <miles@lsi.nec.co.jp>
867         [the following changes fix a bug where `define-minor-mode' didn't
868         correctly generate :require clauses for defcustoms in compiled files]
869         * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
870         (byte-compile-log-file, byte-compile-log-1): Don't set
871         `byte-compile-current-file' to nil.  Instead set
872         `byte-compile-last-logged-file' to it.  Test whether
873         byte-compile-current-file equals byte-compile-last-logged-file
874         instead of whether its nil.
875         (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
877 2000-10-23  Stefan Monnier  <monnier@cs.yale.edu>
879         * textmodes/refill.el: Fix var names in doc.
880         (refill-mode): Don't bother with make-local-hook anymore.
882 2000-10-23  Miles Bader  <miles@lsi.nec.co.jp>
884         * faces.el (face-user-default-spec, face-default-spec): New functions.
885         (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
886         (frame-set-background-mode, face-set-after-frame-default):
887         Use `face-user-default-spec'.  Simplify code slightly.
889         * woman.el (woman-italic-face, woman-bold-face)
890         (woman-unknown-face): Add dark-background variants.
891         (woman-default-faces): Renamed from `woman-colour-faces'.
892         Set using the stored defaults, rather than using hard-wired colors.
893         (woman-monochrome-faces): Renamed from `woman-black-faces'.
894         Just make the foreground `unspecified' rather than "black".
895         (woman-menu): Rename menu entries accordingly.
897         * faces.el (header-line): Make more reasonable on mono/grayscale
898         displays.
900 2000-10-23  Andrew Choi  <akochoi@i-cable.com>
902         * cus-edit.el (custom-button-face): Use 3D look for mac.
903         (custom-button-pressed-face): Likewise.
905         * faces.el (set-face-attributes-from-resources): Handle mac frames
906         in the same way as x and w32 frames.
907         (face-valid-attribute-values): Likewise.
908         (read-face-attribute): Likewise.
909         (defined-colors): Likewise.
910         (color-defined-p): Likewise.
911         (color-values): Likewise.
912         (display-grayscale-p): Likewise.
913         (face-set-after-frame-default): Likewise.
914         (mode-line): Same default face as for x and w32.
915         (tool-bar): Likewise.
917         * frame.el: Remove call to frame-notice-user-settings at end of
918         the file.
920         * info.el (Info-fontify-node): make underlines invisible for mac
921         as for x, pc, and w32 frame types.
923         * term/mac-win.el: New file.
925 2000-10-22  Dave Love  <fx@gnu.org>
927         * textmodes/refill.el: New file.
929 2000-10-22  Andre Spiegel  <spiegel@gnu.org>
931         * vc-hooks.el (vc-version-backup-file-name): New optional args
932         MANUAL and REGEXP.
933         (vc-delete-automatic-version-backups, vc-make-version-backup):
934         New functions.
935         (vc-before-save): Use the latter.
936         (vc-default-make-version-backups-p): Added `-p' suffix to avoid
937         confusion.
939         * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
940         expected by vc[-hooks].el.
942         * vc.el (vc-checkout): Added `-p' suffix in call to
943         vc-make-version-backups-p; use vc-make-version-backup to actually
944         make the backup.
945         (vc-version-other-window, vc-version-backup-file): Handle both
946         automatic and manual backups.
947         (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
948         of all of them.
950 2000-10-22  Miles Bader  <miles@gnu.org>
952         * comint.el (comint-highlight-input, comint-highlight-prompt):
953         Renamed, `-face' at end removed.
954         (comint-send-input, comint-output-filter): Use renamed faces.
956         * window.el (fit-window-to-buffer): Change defaulting of
957         MAX-HEIGHT slightly.
959         * faces.el (color-values, color-defined-p): Use `member', not
960         `memq', because it works correctly for strings.
961         (frame-set-background-mode): Actually, "unspecified-fg" and
962         "unspecified-bg" *are* strings.  Use `member', not `memq', and
963         `equal', not `eq', when a string value is possible.
965 2000-10-21  Eli Zaretskii  <eliz@is.elta.co.il>
967         * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
969 2000-10-21  Stefan Monnier  <monnier@cs.yale.edu>
971         * progmodes/sh-script.el (sh-mode-map): Remove bindings for
972         sh-electric-rparen, sh-electric-less and sh-electric-hash.
973         (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
974         (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
975         (sh-font-lock-syntactic-keywords): Use them.
976         (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
977         (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
978         (sh-mode): Don't override font-lock-unfontify-region-function.
979         Use a copy of sh-font-lock-syntactic-keywords.
980         (sh-set-shell): Don't set sh-electric-rparen-needed-here.
981         Don't call sh-scan-buffer since font-lock does it on the fly.
982         (sh-get-indent-info): Use `face' rather than `syntax-table'
983         text-property to detect here-documents.
984         Replace sh-special-syntax with sh-st-punc.
985         (sh-prev-line): Use `face' rather than `syntax-table'
986         text-property to skip over here-documents.
987         (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
988         (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
989         (sh-electric-less, sh-set-here-doc-region)
990         (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
991         (sh-scan-buffer, sh-rescan-buffer): Remove.
993 2000-10-21  Andrew Innes  <andrewi@gnu.org>
995         * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
996         remote (ange-ftp) file names.
998 2000-10-21  Miles Bader  <miles@gnu.org>
1000         * window.el (fit-window-to-buffer): New function.
1001         (shrink-window-if-larger-than-buffer): Use it.
1002         (window-text-height): Don't expect minibuffers to have mode-lines.
1004         * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
1005         * international/quail.el (quail-update-guidance): Use
1006         `fit-window-to-buffer' instead of `set-window-text-height'.
1008         * international/quail.el (quail-show-guidance-buf): Make sure
1009         guidance window really has enough room.
1010         (quail-update-guidance): If quail-guidance-win is already shown,
1011         make sure its height is OK.
1013         * window.el (window-text-height, set-window-text-height):
1014         New functions.
1015         (shrink-window-if-larger-than-buffer): Use `window-text-height'
1016         instead of `window-height' & `mode-line-window-height-fudge'.
1017         (mode-line-window-height-fudge): Add FACE parameter.
1018         * help.el (resize-temp-buffer-window): Use `set-window-text-height'
1019         instead of `enlarge-window' & `mode-line-window-height-fudge'.
1021 2000-10-20  Miles Bader  <miles@gnu.org>
1023         * window.el (height-affecting-face-attributes): Use `defconst'.
1025         * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
1026         New function, conditionally aliased to `mode-line-window-height-fudge'.
1027         (ispell-help): Use it.
1028         (ispell-choices-win-default-height): Don't include mode-line fudge.
1029         (ispell-choices-win-default-height): New function.
1030         (ispell-show-choices, ispell-command-loop): Use function
1031         `ispell-choices-win-default-height' instead of variable.
1033 2000-10-20  Miles Bader  <miles@lsi.nec.co.jp>
1035         * window.el (mode-line-window-height-fudge): New variable.
1036         (height-affecting-face-attributes): New variable.
1037         (mode-line-window-height-fudge): New function.
1038         (shrink-window-if-larger-than-buffer): Use it.
1039         * help.el (resize-temp-buffer-window): Likewise.
1041         * info.el (Info-fontify-node): Add support for @subsubsection
1042         titles, which use `Info-title-4-face'.
1043         (Info-title-4-face): New face.
1044         (Info-title-3-face): Inherit from Info-title-4-face instead of
1045         variable-pitch.
1047 2000-10-19  Jason Rumney  <jasonr@gnu.org>
1049         * dired.el (dired-insert-directory): Do not let errors signalled by
1050         attempt to run dired-free-space-program prevent dired from working.
1052 2000-10-19  Stefan Monnier  <monnier@cs.yale.edu>
1054         * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
1056 2000-10-19  Gerd Moellmann  <gerd@gnu.org>
1058         * dirtrack.el (dirtrack): Fix call to run-hooks.
1060         * cmuscheme.el (cmuscheme-program-name): Renamed from
1061         scheme-program-name because xscheme.el contains a defcustom with
1062         the same name.  As a consequence, customizing group `cmuscheme'
1063         loaded `xscheme' which redefined run-scheme.
1064         (run-scheme): Use cmuscheme-program-name.
1066         * ps-print.el (ps-print-emacs-type): Move into the
1067         eval-and-compile.
1069         * play/doctor.el (doctor-death): Update the Samaritans'
1070         anonymous address, and add a website for Befrienders International.
1072 2000-10-19  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
1074         * ps-print.el: Even/odd pages fix.  Fix little bug on XEmacs.
1075         Avoid compilation gripes.  Doc fix.
1076         (ps-print-version): New version number (6.2).
1077         (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
1078         (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
1079         (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
1080         (ps-x-extent-priority, ps-x-extent-start-position)
1081         (ps-x-face-font-instance, ps-x-find-coding-system)
1082         (ps-x-font-instance-properties, ps-x-make-color-instance)
1083         (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
1084         avoid compilation gripes without defining functions.
1085         (ps-e-find-composition): Alias for function find-composition, to have a
1086         suitable function depending on Emacs version.
1087         (ps-color-device, ps-color-values, ps-face-foreground-name)
1088         (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
1089         (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
1090         (ps-print-ensure-fontified): Function definitions surrounded by
1091         `eval-and-compile' to avoid compilation gripes.
1092         (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
1093         by symbol-value to avoid compilation gripes.
1094         (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
1095         (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
1097 2000-10-19  Miles Bader  <miles@lsi.nec.co.jp>
1099         * startup.el (normal-top-level): Call `frame-set-background-mode'
1100         after `frame-notice-user-settings' because the latter doesn't call
1101         the former on a tty.
1103         * faces.el (frame-set-background-mode): `unspecified' &c are
1104         symbols, not strings.
1106 2000-10-19  Eli Zaretskii  <eliz@is.elta.co.il>
1108         * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
1109         why some "light*" colors are deliberately absent from the alist.
1111         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
1112         Change colors for tty's, as suggested by Miles Bader.
1114 2000-10-19  Kenichi Handa  <handa@etl.go.jp>
1116         * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
1117         (ccl-encode-mule-unicode-0100-24ff): New CCL program.  Register it
1118         for ISO10646-1 fonts.
1119         (x-font-name-charset-alist): Add an entry for "iso10646-1".
1121 2000-10-19  Eli Zaretskii  <eliz@is.elta.co.il>
1123         * faces.el (frame-set-background-mode): If a tty frame defines a
1124         background color, use that to compute the background mode, instead
1125         of always defaulting to "dark".
1127 2000-10-19  Miles Bader  <miles@lsi.nec.co.jp>
1129         * comint.el (comint-write-output): New function.
1130         (comint-mode-map): Add it to the menu.
1131         Bind `C-c C-s' to comint-write-output.
1133 2000-10-18  Gerd Moellmann  <gerd@gnu.org>
1135         * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
1136         Use fancy-splash-delay.
1138 2000-10-18  Alex Schroeder  <alex@gnu.org>
1140         * progmodes/sql.el (sql-sybase-options): New option.
1141         (sql-sybase): Use it.  Add sql-database to the list of parameters
1142         provided for login.  The options -w 2048 -n are not used any more.
1144         * comint.el (comint-read-input-ring): Bugfix such that the first
1145         and the last entry of the input ring file are not lost.
1147 2000-10-18  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
1149         * ps-print.el: Internal variable changes to defcustom,
1150         make-local-hook changes to defvar.  Doc fix.
1151         (ps-print-version): New version number (6.1).
1152         (ps-setup, ps-do-despool): Code fix.
1153         (ps-printer-name): Customization fix.
1154         (ps-printer-name-option): Now is a defcustom instead of an
1155         internal variable.
1156         (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
1157         (ps-print-begin-column-hook): Now are defvar instead of
1158         make-local-hook.
1160 2000-10-18  Miles Bader  <miles@gnu.org>
1162         * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
1163         (comint-kill-output): Changed into an alias for `comint-delete-output',
1164         and made obsolete.
1165         (comint-mode-map): Rename references to comint-kill-output.
1167 2000-10-18  Eli Zaretskii  <eliz@is.elta.co.il>
1169         * diff-mode.el (diff-header-face, diff-file-header-face)
1170         (diff-changed-face): Add bold and italic attributes to tty faces.
1171         (diff-function-face): New face.
1172         (diff-font-lock-keywords): Use it.
1174 2000-10-18  Miles Bader  <miles@lsi.nec.co.jp>
1176         * comint.el (comint-output-filter): Fixup comint-last-input-end too.
1177         Remove commented-out call to force-mode-line-update.
1178         (comint-kill-output): Use `forward-line 0' instead of
1179         beginning-of-line to make sure we get past the prompt.
1181 2000-10-17  Stefan Monnier  <monnier@cs.yale.edu>
1183         * diff-mode.el (diff-header-face, diff-file-header-face):
1184         Add specific setting for dark background.
1185         (diff-context-face): Renamed from diff-comment-face.
1186         Set explicitly rather than inheriting from font-lock-comment-face.
1188 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1190         * startup.el (command-line): Move the code which sets the default
1191         TTY colors to before before-init-hook.
1193 2000-10-17  Gerd Moellmann  <gerd@gnu.org>
1195         * jit-lock.el (jit-lock-stealth-time): Doc fix.
1197 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1199         * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
1200         extensions, for MS-DOS.
1202         * diff-mode.el (diff-header-face, diff-file-header-face)
1203         (diff-changed-face): Define tty-specific colors.
1205 2000-10-17  Gerd Moellmann  <gerd@gnu.org>
1207         * startup.el (fancy-splash-text): Realign the text.
1209 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1211         * font-lock.el (font-lock-comment-face): Define a separate default
1212         for dark-background tty's.
1214 2000-10-17  Miles Bader  <miles@gnu.org>
1216         * help.el (resize-temp-buffer-window): Add hack to avoid last line
1217         being obscured by whizzy mode-lines on graphics displays.
1219 2000-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1221         * info.el (Info-title-1-face, Info-title-2-face)
1222         (Info-title-3-face): Define colors for tty's.
1223         (info-header-node): Remove unneeded tty-specific definition.
1225 2000-10-16  Eli Zaretskii  <eliz@is.elta.co.il>
1227         * term/pc-win.el (msdos-handle-reverse-video): Don't remove
1228         reverse from the frame parameters, and don't invert foreground and
1229         background colors.
1231 2000-10-16  Miles Bader  <miles@gnu.org>
1233         * info.el (Info-set-mode-line): Use `%b' instead of hardwired
1234         string "*Info*".  Call propertized-buffer-identification to spruce
1235         up the result.
1237 2000-10-16  Gerd Moellmann  <gerd@gnu.org>
1239         * help.el: Provide `help' for the sake of define-minor-mode
1240         which generates defcustoms with requires.
1242         * jit-lock.el (jit-lock-after-change): If we're in text that
1243         matches a multi-line font-lock pattern, make sure the whole text
1244         will be redisplayed.
1246         * emacs-lisp/authors.el (authors-add): Don't add an entry if
1247         author's name is unknown.
1249         * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
1250         * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
1251         * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
1252         * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
1253         * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
1254         * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
1255         * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
1256         * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
1257         * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
1258         Add author information.
1260 2000-10-16  Miles Bader  <miles@lsi.nec.co.jp>
1262         * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
1263         * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
1264         full-color version (using the Gimp) to eliminate dithering artifacts.
1266 2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>
1268         * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
1270         * simple.el (syntax-flag-table, string-to-syntax): Remove.
1272 2000-10-15  Dave Love  <fx@gnu.org>
1274         * progmodes/sh-script.el: Require skeleton and comint when
1275         compiling.
1277         * pcomplete.el (pcomplete) <defgroup>: Add :version.
1279         * whitespace.el: Doc fixes.
1280         (top-level): Don't add hooks here.
1281         (whitespace-running-emacs): Deleted.
1282         (timer): Don't require.
1283         (whitespace): Add back :version conditional on xemacs test.
1284         (whitespace-spacetab-regexp, whitespace-indent-regexp)
1285         (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
1286         (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
1287         (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
1288         Avoid specific xemacs test.
1289         (whitespace-global-mode): New option.
1290         (whitespace-global-mode): New command.
1291         (whitespace-unload-hook): New function.
1293         * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
1294         (Info-fontify-node, Info-goto-node, Info-mode-menu)
1295         (Info-fontify-node): `Goto' goes to `Go to'.
1296         (Info-fontify-node): Add help-echo to xref links.
1298 2000-10-15  Eli Zaretskii  <eliz@is.elta.co.il>
1300         * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
1302 2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>
1304         * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1305         Use plist-get and allow :inherit.
1307         * emacs-lisp/cl-macs.el (cl-do-arglist):
1308         Use plist-get and plist-member instead of memq.
1310         * emacs-lisp/ewoc.el (ewoc-location): New function.
1311         (ewoc-enter-after, ewoc-enter-before): Document return value.
1312         * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
1313         Don't need make-local-hook any more.
1314         (cvs-addto-collection): Return the new tin.
1315         (cvs-mode-insert): Jump to the new line.
1317         * jit-lock.el (jit-lock-fontify-buffer): Remove.
1319         * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
1321         * font-lock.el (font-lock-syntactically-fontified): New var.
1322         (font-lock-fontify-syntactic-keywords-region): Use it.
1323         (font-lock-mode): Fix docstring.  Don't need make-local-hook anymore.
1325         * diff-mode.el (diff-find-file-name): Fix regexp.
1327         * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
1328         (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
1330         * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
1331         (sh-mode-syntax-table): Add punctuation syntax for < and >.
1332         (sh-mode): Don't make all vars local here.
1333         (sh-kw): Reformat.
1334         (sh-set-shell): Use dolist.  Don't set indent-region-function.
1335         (sh-mode-syntax-table): Use pop.
1336         (sh-remember-variable): Use push.
1337         (sh-help-string-for-variable): Use memq.
1338         (sh-safe-backward-sexp): Remove.
1339         (sh-safe-forward-sexp): Add ARG.
1340         (sh-get-indent-info, sh-prev-stmt): Use it.
1341         (sh-prev-line): Simplify by using forward-comment.
1342         (sh-this-is-a-continuation): Simplify.
1343         (sh-learn-buffer-indent): Use dolist.
1344         (sh-do-nothing): Remove.
1345         (sh-set-char-syntax, sh-set-here-doc-region):
1346         Use inhibit-modification-hooks.
1347         (sh-name-style): Use mapcar and push.
1348         (sh-load-style): Use dolist.
1349         (sh-save-styles-to-buffer): Use with-current-buffer and pp.
1350         (sh-case, sh-while-getopts): Use propertize directly rather
1351         than sh-electric-rparen.
1353 2000-10-14  Stefan Monnier  <monnier@cs.yale.edu>
1355         * textmodes/tex-mode.el: Require CL when compiling.
1356         (tex-mode-syntax-table): Init immediately.
1357         (tex-mode-map): Bind M-RET to latex-insert-item.
1358         (latex-mode): Set indent-line-function to latex-indent.
1359         (tex-common-initialization): Don't setup the syntax-table any more.
1360         (latex-insert-item): New skeleton.
1361         (tex-next-unmatched-end): Fix copy/paste braino.
1362         (latex-syntax-after, latex-skip-close-parens, latex-down-list)
1363         (latex-indent, latex-find-indent): New functions.
1364         (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
1365         (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
1366         (tex-compilation-parse-errors): Use with-syntax-table.
1368 2000-10-15  Miles Bader  <miles@gnu.org>
1370         * font-lock.el (font-lock-comment-face): Change dark-background,
1371         color, non-tty, default to `chocolate1'.
1373 2000-10-13  John Wiegley  <johnw@gnu.org>
1375         * eshell/esh-util.el (require): Added a missing `require' form,
1376         needed when compiling (for an ange-ftp macro definition).
1378 2000-10-13  Dave Love  <fx@gnu.org>
1380         * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
1382 2000-10-13  Gerd Moellmann  <gerd@gnu.org>
1384         * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
1385         fix.
1387         * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
1388         transparent -colors 8).
1390 2000-10-13  Stephen Gildea  <gildea@alum.mit.edu>
1392         * time-stamp.el (time-stamp): Fixed bug in new multi-line code
1393         that breaks with old list format timestamps.
1394         (time-stamp-warn-inactive, time-stamp-old-format-warn)
1395         (time-stamp-count, time-stamp-conversion-warn): Improved doc
1396         strings.
1398 2000-10-13  John Wiegley  <johnw@gnu.org>
1400         * align.el, pcomplete.el, calendar/timeclock.el,
1401         eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
1403         * calendar/timeclock.el (timeclock-find-discrep): A fix to some
1404         faulty math, where holiday hours were being computing as seconds.
1406 2000-10-13  John Wiegley  <johnw@gnu.org>
1408         * desktop.el (desktop-buffer-modes-to-save): Added a global for
1409         specifying what "other" kinds of buffers should be saved.  This
1410         used to be hard-coded.
1411         (desktop-buffer-misc-functions): A global for specifying how
1412         auxiliary data should be determined for special buffer types.
1413         (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
1414         instead of hard-coding the special buffer types.
1415         (desktop-save): Run `desktop-buffer-misc-functions' to gather
1416         auxiliary data, instead of hard-coding for Info buffers and dired.
1417         (desktop-buffer-info-misc-data): Aux function for determining Info
1418         buffer auxiliary info.
1419         (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
1420         (desktop-buffer-info): Changed this function to use the info
1421         gathered above.
1422         (desktop-create-buffer): Be a little more careful about what
1423         `minor-mode' means before calling it.  This is important for some
1424         buffer types.
1426 2000-10-13  John Wiegley  <johnw@gnu.org>
1428         * eshell/esh-util.el: Added a global form which declares an
1429         autoload for `parse-time-string', if that function is not already
1430         defined, and if parse-time.el is available on the user's system.
1432         * eshell/em-ls.el (eshell-ls-applicable): Extended this function
1433         to be aware of ange-ftp user info.
1434         (eshell-do-ls): Bind `ange-cache'.  Also, use
1435         `eshell-file-attributes'.
1436         (eshell-ls-annotate): Use `eshell-file-attributes'.
1437         (eshell-ls-file): Made the user-id printing code a bit smarter.
1439         * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
1440         allow identification of alias user ids in remote directories.
1441         It's manual, but there's no other way to know when the current
1442         user on the local machine, is also the owning user on the remote
1443         machine.
1444         (fboundp): Bind `ange-cache'.
1445         (eshell-directory-files-and-attributes): Re-organized the logic a
1446         bit to use `eshell-file-attributes' instead of `file-attributes'.
1447         The former is more sensitive to directories that are read via FTP,
1448         and knows how to use ange-ftp to determine full attribute
1449         information, instead of just the name and last modtime.
1450         (eshell-current-ange-uids): Return the current user id when in a
1451         remote directory.
1452         (eshell-parse-ange-ls): Parse a full directory listing that has
1453         been returned by ange-ftp.
1454         (eshell-file-attributes): This beefed up version of
1455         `file-attributes' is only special if the user is currently in a
1456         remote directory, in which case it does a lot of work to find out
1457         what the real attributes of a file are, as they appear on the
1458         remote machine.  This makes usage of remote directories (i.e.,
1459         ange-ftp pathnames) much more useful.  You can now use Eshell as a
1460         full-fledged FTP client, with much more manipulation ability than
1461         most other clients.
1463         * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
1464         variable, which means that Eshell's du should always be preferred
1465         in remote directories.
1466         (eshell-shuffle-files): Use `eshell-file-attributes', rather than
1467         just `file-attributes'.
1468         (eshell-mvcp-template): Bind `ange-cache', to improve performance
1469         when reading remote directories.  This is an Eshell-specific
1470         variable (not part of ange-ftp).
1471         (eshell/ln): Bind `ange-cache'.
1472         (eshell/du): Added some extra logic for determining when to use
1473         Eshell's du (which is slow), and when to use the external version
1474         (which may or may not exist).
1476         * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
1477         `eshell-interactive-process', rather than using
1478         `get-buffer-process', since backgrounded processes don't count in
1479         the context of this function's logic.
1481         * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
1482         `forward-char', so that null strings are parsed correctly.
1484 2000-09-13  John Wiegley  <johnw@gnu.org>
1486         * eshell/em-pred.el (eshell-pred-file-type,
1487         eshell-pred-file-links, eshell-pred-file-size): Use
1488         `eshell-file-attributes'.  This is more correct over ange-ftp.
1490         * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
1491         that remote file globbing is more efficient.
1493         * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
1494         gathering the files and attributes within a directory.
1496         * eshell/em-unix.el (eshell/cat): If any of the files passed on
1497         the command line is a special file (not a regular file, directory
1498         or symlink), always attempt to call the external version of cat.
1500 2000-09-13  John Wiegley  <johnw@gnu.org>
1502         * eshell/esh-mode.el (eshell-find-tag): Corrections to the
1503         Eshell-friendly version of find-tag.
1505 2000-10-13  Miles Bader  <miles@lsi.nec.co.jp>
1507         * image-file.el (image-file-name-extensions)
1508         (image-file-name-regexps): Add autoload cookies.
1510 2000-10-13  Kenichi Handa  <handa@etl.go.jp>
1512         * international/mule-cmds.el (select-safe-coding-system): If FROM
1513         is string, show it in *Warning* buffer.
1515 2000-10-13  Eli Zaretskii  <eliz@is.elta.co.il>
1517         * startup.el (normal-top-level): Use display-popup-menus-p instead
1518         of window-system.
1519         (command-line): Use display-graphic-p instead of window-system.
1520         (command-line-1): Use display-popup-menus-p and display-mouse-p
1521         instead of window-system.
1523 2000-10-12  Sam Steingold  <sds@gnu.org>
1525         * tooltip.el (tooltip-use-echo-area): New user variable.
1526         (tooltip-show): Use it to choose between `x-show-tip' and `message'.
1528 2000-10-12  Dave Love  <fx@gnu.org>
1530         * recentf.el: Maintainer's checkdoc fixes.
1532         * startup.el (normal-top-level-add-subdirs-to-load-path): Use
1533         character class, not ASCII when matching file names.
1534         (fancy-splash-head): Add trailing slash to URL.
1535         (command-line): Don't require XPM support for toolbar.
1537         * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
1538         (cperl-invalid-face): Revert last change.
1539         (cperl-init-faces): Quote cperl-invalid-face.
1541 2000-10-12  Kenichi Handa  <handa@etl.go.jp>
1543         * startup.el (fancy-splash-text): Remove superfluous quote.
1545 2000-10-12  Gerd Moellmann  <gerd@gnu.org>
1547         * startup.el (fancy-splash-screens): Don't add a pre-command hook.
1548         (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
1549         (command-line-1): Don't use fancy-splash-pending-command.
1550         (fancy-splash-screens-1): Goto point-min after inserting text.
1552         * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
1554         * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
1555         instead of shared-lisp-mode-map.
1557 2000-10-12  Miles Bader  <miles@lsi.nec.co.jp>
1559         * faces.el (header-line): Change tty-variant to use underlining.
1561         * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
1562         (isearch-highlight): Restore lazy-isearch face properties at old
1563         position, and suppress them at new position.
1564         (isearch-dehighlight): Restore lazy-isearch face properties.
1565         (isearch-lazy-highlight-update): Add lazy-isearch overlays even
1566         over the real isearch overlay, but in that case, don't give it a
1567         face property.  Use `push'.
1569 2000-10-12  Kenichi Handa  <handa@etl.go.jp>
1571         * man.el (Man-getpage-in-background): Fix previous change.
1572         Decode the process output only when we are in multibyte mode.
1574 2000-10-11  Dave Love  <fx@gnu.org>
1576         * info.el (Info-mode-menu): Fix some help.
1577         (info-tool-bar-map): Add entry for Info-last.
1579         * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
1580         * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
1581         * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
1582         * toolbar/cut.xpm, toolbar/mail_compose.xpm:
1583         * toolbar/search-replace.xpm, toolbar/exit.xpm:
1584         * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
1585         * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
1586         * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
1587         * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
1588         * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
1589         Reduce colour requirements to 25 overall.  (Probably wants
1590         revisiting from the originals to reduce further.)
1592 2000-10-11  Eli Zaretskii  <eliz@is.elta.co.il>
1594         * hexl.el (hexlify-buffer): Bind coding-system-for-write to
1595         buffer-file-coding-system, instead of raw-text.
1596         (dehexlify-buffer): Bind coding-system-for-read to
1597         buffer-file-coding-system, instead of raw-text.
1599 2000-10-11  Sam Steingold  <sds@gnu.org>
1601         * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
1602         `underline' - fixes the bug introduced on 2000-09-21.
1604 2000-10-11  Dave Love  <fx@gnu.org>
1606         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
1607         compiler warnings.
1608         (scheme-mode): Doc fix.
1609         (scheme-font-lock-keywords-1): Match `define-syntax'.
1611 2000-10-11  Miles Bader  <miles@lsi.nec.co.jp>
1613         * faces.el (frame-set-background-mode): Pay attention to saved
1614         face specs as well as default ones.  Only do anything if the
1615         bg-mode or display-type has actually changed.  Use `dolist'.
1616         (region): Make dark-background `region' face less in-your-face.
1618 2000-10-10  Sam Steingold  <sds@gnu.org>
1620         * chistory.el, ielm.el, ledit.el:
1621         * progmodes/inf-lisp.el, progmodes/scheme.el:
1622         Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
1624 2000-10-10  Stefan Monnier  <monnier@cs.yale.edu>
1626         * textmodes/texinfo.el: Update copyright and fix typo.
1628         * desktop.el (desktop-modes-not-to-save): New var.
1629         (desktop-save-buffer-p): Use it.
1630         Also, obey desktop-buffers-not-to-save even for non-file buffers.
1631         (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
1633 2000-10-10  Dave Love  <fx@gnu.org>
1635         * toolbar/tool-bar.el (tool-bar-add-item)
1636         (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
1637         display.
1639         * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
1640         * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
1641         * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
1642         * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
1643         * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
1644         * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
1645         * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
1646         * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
1647         * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
1648         * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
1649         the .xpms; probably need retouching.
1651 2000-10-10  Miles Bader  <miles@lsi.nec.co.jp>
1653         * subr.el (add-to-list): Add optional argument APPEND.
1654         * battery.el (display-battery): Use `add-to-list'.
1656 2000-10-09  Thien-Thi Nguyen  <ttn@gnu.org>
1658         * play/zone.el (zone-timer, zone-wc-tbl): Rework
1659         these vars as symbol properties.
1660         (zone, zone-when-idle, zone-leave-me-alone)
1661         (zone-pgm-whack-chars): Use new symbol properties.
1663         * battery.el (display-battery): Doc spelling fix.
1665         * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
1666         property.
1668 2000-10-09  Dave Love  <fx@gnu.org>
1670         * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
1671         has been initialized before calling tool-bar-setup.
1672         (tool-bar-add-item-from-menu): Add autoload cookie.
1674 2000-10-09  Eli Zaretskii  <eliz@is.elta.co.il>
1676         * menu-bar.el (send-mail-item-name): New function.
1677         (menu-bar-tools-menu) <compose-mail>: Use it to display the value
1678         of mail-user-agent in the menu.  Don't display the "Send Mail"
1679         item if mail-user-agent is nil or its value is ignore.
1680         (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
1681         if read-mail-command is nil or its value is ignore.
1683         * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
1685 2000-10-09  Miles Bader  <miles@gnu.org>
1687         * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
1688         Correct image size.
1689         * toolbar/left_arrow.xpm: Correct image size.
1691         * jka-compr.el: Don't call `jka-compr-install' when loading (it
1692         will be done by the definition of `auto-compression-mode' if
1693         necessary.  Move code to uninstall existing file-name handler
1694         before definition of `auto-compression-mode'.
1696         * image-file.el (auto-image-file-mode): Move to the end of the
1697         file, because `define-minor-mode' actually calls the mode-function
1698         if the associated variable is non-nil, which requires that all
1699         needed functions be already defined.
1701         * mouse.el (popup-menu): Balance parens.
1703 2000-10-08  Stefan Monnier  <monnier@cs.yale.edu>
1705         * mouse.el (popup-menu): Move the command call outside the loop
1706         so that popup-menu returns whatever the command returns.
1708         * progmodes/etags.el: Docstring fixes.  Maintainer line updated.
1709         (initialize-new-tags-table): Use run-hook-with-args-until-success.
1710         (find-tag): Use pop-to-buffer if switch-to-buffer failed.
1711         (tags-table-format-functions): Renamed from tags-table-format-hooks.
1713         * vc.el (vc-version-diff): diff-switches can be a list.
1714         Use relative filenames for prettier output.
1716         * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
1717         (vc-post-command-functions): Remove old-VC compatibility code.
1719         * newcomment.el (comment-indent-default): Autoload.
1721         * font-lock.el (font-lock-defaults): Make buffer-local.
1722         (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
1723         (font-lock-choose-keywords):
1724         Ignore LEVEL unless KEYWORDS is a list of syms.
1725         (c-keywords, c++-keywords, objc-keywords, java-keywords):
1726         Don't wrap regexp-opt things in \(...\) unnecessarily.
1728         * jit-lock.el: Don't require font-lock any more.
1729         (jit-lock-functions): Make buffer-local.
1730         (jit-lock-saved-fontify-buffer-function): Remove.
1731         (jit-lock-mode): Remove autoload cookie.
1732         Remove font-lock specific code.
1733         (jit-lock-unregister): Don't bother handling complex hooks any more.
1734         (jit-lock-refontify): New function.
1735         (jit-lock-fontify-buffer): Use it.
1736         (jit-lock-function-1): Replaced by jit-lock-fontify-now.
1737         (jit-lock-fontify-now): Renamed from jit-lock-function-1.
1738         Add optional args START and END.
1739         Never call font-lock-fontify-region directly.
1740         (jit-lock-function, jit-lock-stealth-fontify): Use it.
1742         * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
1744 2000-10-08  Dave Love  <fx@gnu.org>
1746         * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
1748         * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
1750         * play/studly.el (studlify-region, studlify-word): Add autoload
1751         cookie.
1753         * play/morse.el (morse-region, unmorse-region): Add autoload
1754         cookie.
1756         * play/spook.el (spook-phrases-file): Use expand-file-name, not
1757         concat.
1759         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
1760         insist on symbols starting with word syntax.
1761         (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
1762         (eval-defun-1): Doc fix.
1763         (indent-sexp): Use nconc to build up indent-stack.
1765         * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
1766         Gnus with little use.
1767         (mail-setup-hook): Add mail-abbrevs-setup to options.
1769         * recentf.el: Doc fixes.
1771         * vcursor.el (vcursor-cs-binding): Remove compatibility code.
1772         Clean up remainder.
1774         * timezone.el (timezone-parse-date): Doc fix.  Fix regexps for (5)
1775         without timezone and (8) with timezone to enforce some whitespace.
1776         Simplify code somewhat.
1778         * options.el (list-options): Doc that you should use customize.
1780         * iswitchb.el (iswitchb-mode): Add :require.
1782         * info.el (Info-goto-node, Info-menu): Doc fix.
1783         (Info-mode-menu): Bind beginning-of-buffer, Info-edit
1784         (info-tool-bar-map): New variable.
1785         (Info-mode): Use it.
1786         (Info-edit-map): Define all in defvar.
1787         (speedbar-attached-frame): Avoid compiler warning.
1789         * toolbar/tool-bar.el (tool-bar-map): Define it empty.
1790         (global-map): Bind [tool-bar] to a filtered map.
1791         (tool-bar-add-item): Remove MAP arg.  Allow PBM icons.
1792         (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
1793         Allow PBM icons.
1794         (tool-bar-setup): Adjust calls of tool-bar-add-item.
1796         * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
1797         * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
1798         * toolbar/right_arrow.xpm: New files.  Renamed from tigert's
1799         icons, except up_arrow, which is left-arrow rotated.
1801         * imenu.el (imenu-add-to-menubar): Fix last change.
1803 2000-10-08  Peter Breton  <pbreton@ne.mediaone.net>
1805         * generic-x.el (rul-generic-mode): Remove eval-when-compile
1806         statements. Suggested by Stefan Monnier  <monnier@cs.yale.edu>.
1808 2000-10-08  Eli Zaretskii  <eliz@is.elta.co.il>
1810         * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
1811         typos in doc strings.
1813         * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
1814         the doc strings how to customize Font Lock faces.
1816         * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
1817         computing growth when dragging the header line.
1819 2000-10-08  Eli Zaretskii  <eliz@is.elta.co.il>
1821         * simple.el (kill-line): Doc fix.
1823 2000-10-08  Miles Bader  <miles@gnu.org>
1825         * faces.el (secondary-selection): Make foreground visible on tty.
1827         * jka-compr.el (auto-compression-mode): Move to the end of the
1828         file, because `define-minor-mode' actually calls the mode-function
1829         if the associated variable is non-nil, which requires that all
1830         needed functions be already defined.
1831         (with-auto-compression-mode): Add autoload cookie.
1833 2000-10-07  Eli Zaretskii  <eliz@is.elta.co.il>
1835         * files.el (find-backup-file-name) [ms-dos]: If support for long
1836         file names is not available, behave as if version-control were set
1837         to never.
1839 2000-10-07  Dave Love  <fx@gnu.org>
1841         * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
1842         (browse-url-gnome-moz): New function.
1843         (browse-url-browser-function): Use it.
1844         Suggested by Colin Walters <walters@cis.ohio-state.edu>.
1846 2000-10-07  Stefan Monnier  <monnier@cs.yale.edu>
1848         * indent.el (tab-always-indent): New var.
1849         (indent-for-tab-command): Use it.
1851         * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
1852         raise an error.  This way it can still default to a sane value.
1854 2000-10-06  Stefan Monnier  <monnier@cs.yale.edu>
1856         * startup.el (fancy-splash-screens): Use local rather than global map.
1857         Don't use `update-menu-bindings' any more.
1858         Get rid of assumptions about keymap representation.
1860 2000-10-06  Dave Love  <fx@gnu.org>
1862         * textmodes/fill.el (sentence-end-double-space)
1863         (sentence-end-without-period):  Doc fix.
1864         (adaptive-fill-regexp): Purecopy.
1865         (unjustify-current-line): Use line-end-position.
1866         (fill-individual-paragraphs-prefix): Use line-beginning-position.
1868         * net/eudc-vars.el (eudc): Add :version, :link.
1870         * international/mule-conf.el (file-coding-system-alist): Use \', not $.
1872         * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
1873         Fix for define-minor-mode.
1874         (function-at-point): Alias to function-called-at-point.
1876         * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
1878         * simple.el (backward-word): Doc fix.
1880         * image-file.el (image-file-name-regexp): image-file-regexps ->
1881         image-file-name-regexps.
1882         (image-file-name-extensions): Add pbm.
1884 2000-10-06  Stefan Monnier  <monnier@cs.yale.edu>
1886         * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
1887         and add filename to the names so that diff-mode can jump to source.
1889         * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
1890         (tex-font-lock-keywords, tex-font-lock-keywords-2)
1891         (tex-font-lock-keywords-1): Remove.
1892         (font-lock-turn-on-thing-lock): Use jit-lock-register.
1893         (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
1894         (font-lock-default-fontify-region):
1895         Expand beg..end correctly when just following a multiline region.
1896         (font-lock-fontify-anchored-keywords):
1897         Include the anchor text as part of the multiline.
1899 2000-10-06  Gerd Moellmann  <gerd@gnu.org>
1901         * loadup.el (toplevel): Load `loaddefs' before `help' because the
1902         latter needs the autoloaded define-minor-mode macro during the
1903         bootstrap.
1905         * startup.el (command-line): For now, activate tool-bar-mode only
1906         if XPM images are supported.
1908         * mouse.el (mouse-drag-header-line): Don't allow resizing a
1909         window by dragging a header-line at the top of the frame; that's
1910         confusing because the header-line doesn't move.
1911         (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
1912         of treating the event as a list.  Some cleanup.
1914 2000-10-06  Miles Bader  <miles@gnu.org>
1916         * simple.el (display-message-or-buffer): New function.
1917         (shell-command-on-region): Use `display-message-or-buffer'.
1919         * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
1920         docstring parts.
1922         * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
1923         (smbclient-prompt-regexp): Add usage note to doc string.
1924         (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
1925         (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
1926         Use add-hook for adding the comint filter function, and only do so
1927         if it's not already in the global hook list.
1928         (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
1929         to `make-local-variable'.
1930         (nslookup-font-lock-keywords): Remove prompt entry.
1931         (nslookup): Don't set the process-filter.
1932         (finger): Exit the loop correctly when the regexps list runs out.
1933         (ftp, smbclient, smbclient-list-shares):
1934         Set the real major mode immediately, not after execing.
1935         Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
1937         * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
1939 2000-10-05  Stefan Monnier  <monnier@cs.yale.edu>
1941         * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
1943         * which-func.el (which-func-format): Remove spurious space.
1944         (which-func-mode): Don't make it permanent-local.
1945         (which-func-ff-hook): Allow which-func-maxout to be nil.
1946         (which-func-update): Simplify a bit.  Only run if which-func-mode is t.
1947         (which-func-mode): Simplify.
1948         Use post-command-idle-hook rather than post-command-hook.
1949         Go through all buffers and update their state.
1950         (which-function): Also try add-log-current-defun-function.
1952         * vc.el (with-vc-properties): Use conses rather than length-2 lists.
1953         (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
1954         Update call to with-vc-properties accordingly.
1955         (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
1956         (vc-revert-buffer): More careful about window selection and deletion.
1957         (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
1959         * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
1960         (cvs-retrieve-revision): Reuse a pre-existing buffer.
1961         (cvs-dired-action): Change the default to quickdir.
1963         * newcomment.el (comment-indent): Delegate to indent-according-to-mode
1964         if comment-indent-function returns nil.
1965         (comment-indent-default): New function.
1966         (comment-indent-function): Use it and document the new semantics.
1968         * image-file.el: Docstring fixes.
1970         * help.el (help-xref-on-pp): Use match-string.
1971         (describe-variable): New arg BUFFER.
1972         Store the current buffer in the help-xref-stack.
1973         (temp-buffer-resize-mode): Use define-minor-mode.
1975         * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
1976         consistently with its docstring.
1977         Set jit-lock-first-unfontify-pos in an idempotent way.
1978         (jit-lock-register): Autoload and add arg CONTEXTUAL.
1980 2000-10-05  Alex Schroeder  <alex@gnu.org>
1982         * sql.el (sql-mysql-options): New variable.
1983         (sql-mysql): Use it.
1985 2000-10-05  Miles Bader  <miles@lsi.nec.co.jp>
1987         * image.el (image): New group.
1989         * smerge-mode.el (smerge-mine-face, smerge-other-face)
1990         (smerge-base-face, smerge-markers-face): Add dark-background variants.
1992 2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>
1994         * net/net-utils.el (nslookup-font-lock-keywords)
1995         (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1996         Ignore the value of wqindow-system; always define keywords
1998 2000-10-05  Kenichi Handa  <handa@etl.go.jp>
2000         * startup.el (fancy-splash-screens): Remove the code for
2001         debugging; `(trace-to-stderr "EXITTT\n")'.
2003 2000-10-05  Miles Bader  <miles@gnu.org>
2005         * diff-mode.el (diff-goto-source): Update call to
2006         `diff-hunk-status-msg' to reflect new REV variable.
2008 2000-10-04  Stefan Monnier  <monnier@cs.yale.edu>
2010         * progmodes/icon.el (icon-mode):
2011         Don't gratuitously override the default for comment-column.
2013         * vc-hooks.el (vc-mode-line): Fix interactive spec.
2015         * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
2016         (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
2017         (jit-lock-functions): New var.
2018         (jit-lock-function-1): Use it if non-nil.
2019         Don't switch the syntax-table.  Don't set parse-sexp-lookup-properties.
2020         Set the `fontified' property before doing the fontification to avoid
2021         repeatedly going through the same error.
2022         Don't turn errors into messages.
2023         (jit-lock-register, jit-lock-unregister): New functions.
2025         * dired.el (dired-mark-pop-up): Turn comment into docstring.
2026         Use with-current-buffer.
2028         * dired-aux.el (dired-do-create-files, dired-kill-tree):
2029         Turn comment into docstring.
2031         * apropos.el (apropos-mode): Use define-derived-mode.
2033 2000-10-04  Gerd Moellmann  <gerd@gnu.org>
2035         * startup.el (fancy-splash-pending-command): New variable.
2036         (fancy-splash-pre-command): New function.
2037         (fancy-splash-screens): Rewritten.
2038         (command-line-1): If fancy-splash-pending-command is set, call it
2039         interactively.
2041 2000-10-04  Dave Love  <fx@gnu.org>
2043         * toolbar/tool-bar.el (tool-bar-setup): New function.
2044         (tool-bar-mode): Use it.
2046         * subr.el (substitute-key-definition): Doc fix.
2047         (play-sound-file): New command.
2049 2000-10-04  Andre Spiegel  <spiegel@gnu.org>
2051         * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
2052         vc-version-backup-file-name): New functions.
2054         * files.el (basic-save-buffer): Call vc-before-save before saving.
2056         * vc-cvs.el (vc-cvs-make-version-backups): Return t if
2057         vc-cvs-stay-local-p.
2059         * vc.el (vc-revert-buffer): Handle empty diff properly.
2060         (vc-version-backup-file): New function.
2061         (vc-checkout): Create a version backup if necessary.
2062         (vc-checkin): If a version backup file exists, delete it.
2063         (vc-version-diff): Diff locally using version backups, if available.
2064         (vc-revert-file): If there's a version backup, revert locally.
2065         (vc-transfer-file): Use version backup for base version, if
2066         available.  If not, ask for confirmation whether to get it from the
2067         server.  Update mode line before check-in.
2069 2000-10-04  Dave Love  <fx@gnu.org>
2071         * toolbar/tool-bar.el (tool-bar-setup): New function.
2072         (tool-bar-mode): Use it.
2074 2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>
2076         * net/net-utils.el (nslookup-font-lock-keywords)
2077         (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2078         Only set if window-system is non-nil
2079         (net-utils-run-program): Returns buffer.
2080         (network-connection-reconnect): Added this function.
2082         * generic.el:
2083         Incorporates extensive cleanup and docfixes by
2084         Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
2085         Uses cl compile-time macros.
2086         (generic-mode-name, generic-comment-list)
2087         (generic-keywords-list, generic-font-lock-expressions)
2088         (generic-mode-function-list, generic-mode-syntax-table):
2089         Removed variables.
2090         (generic-mode-alist): Renamed to generic-mode-list.
2091         (generic-find-file-regexp): Default changed to "^#".
2092         (generic-read-type): Uses completing read on generic-mode-list.
2093         (generic-mode-sanity-check): removed this function.
2094         (generic-add-to-auto-mode): Removed this function
2095         (generic-mode-internal): Bind mode-specific definitions
2096         into function instead of putting them in alist.
2097         (generic-mode-set-comments): Reworked extensively.
2098         (generic-mode-find-file-hook): Simplified regexp searching
2099         (generic-make-keywords-list): Omit extra pair of parens
2101         * find-lisp.el (find-lisp-find-files-internal):
2102         Make sure directory name ends with "/".
2104         * generic-x.el (apache-conf-generic-mode):
2105         Regexp now allows leading whitespace.
2106         (rc-generic-mode): Added eval-when-compile
2107         around generic-make-keywords-list.
2108         Deleted duplicate regexp
2109         (rul-generic-mode): Added eval-when-compile
2110         around generic-make-keywords-list.
2111         (etc-fstab-generic-mode): New generic mode.
2112         (rul-generic-mode): Removed one eval-when-compile
2113         which caused a max-specpdl-size exceeded error.
2115 2000-10-04  Miles Bader  <miles@gnu.org>
2117         * simple.el (minibuffer-temporary-goal-position): New variable.
2118         (next-history-element): Try to keep the position of point in the
2119         input string constant.
2121         * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
2122         (dired-do-create-files): If there's only one file, pass it in as
2123         the DEFAULT arg to dired-mark-read-file-name.
2125 2000-10-03  Stefan Monnier  <monnier@cs.yale.edu>
2127         * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
2128         (diff-goto-source): Be smarter when choosing REVERSE or not.
2130         * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
2131         (texinfo-mode-menu): Add an explicit shortcut for update all.
2133 2000-10-03  Andre Spiegel  <spiegel@gnu.org>
2135         * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
2136         factorize backend-specific code cleanly (this was essentially
2137         conceived by Stefan Monnier).
2138         (vc-unregister): Function removed.
2139         (vc-revert-file): New function.
2140         (vc-revert-buffer): Delegate some of the work to it.
2142         * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
2143         default branch unconditionally.
2144         (vc-rcs-set-default-branch): New function.
2145         (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
2146         (vc-rcs-checkin): If an appropriate default branch has been set,
2147         force creation of that branch.
2148         (vc-rcs-receive-file): Rewritten to contain only backend-specific
2149         code (as suggested by Stefan Monnier).
2151 2000-10-02  Gerd Moellmann  <gerd@gnu.org>
2153         * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
2154         highlighting overlay with a different face over the overlay
2155         isearch uses to highlight the current match because that can lead
2156         to bad face combinations.
2158         * loadup.el (toplevel): Load faces before isearch.
2160         * isearch.el (isearch-faces): New custom group.
2161         (isearch): New defface; was already tested for in the code.
2162         (isearch-lazy-highlight-face): Changed to defface from defcustom.
2163         (isearch-highlight): Always use face `isearch'.
2165 2000-10-02  Dave Love  <fx@gnu.org>
2167         * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
2168         unused vars.  Treat byte-constant2 like byte-constant.  Fix bogus
2169         comparison of opcode with operand.
2171 2000-10-03  Miles Bader  <miles@gnu.org>
2173         * play/yow.el (yow): Don't display multi-line quotations in a *Help*
2174         buffer, since the echo area will now grow to accommodate them.
2176 2000-10-02  Andre Spiegel  <spiegel@gnu.org>
2178         * vc-hooks.el (vc-registered): If FILE used to be registered under
2179         a certain backend, try that one first.
2181         * vc.el (vc-responsible-backend): Undo the previous change in the
2182         argument list.  Handle multiple backends correctly.
2183         (vc-find-new-backend): Function removed.
2184         (vc-register): Use vc-responsible-backend, as before.
2185         (vc-next-action-on-file): Do use vc-registered, not vc-backend.
2187 2000-10-02  Gerd Moellmann  <gerd@gnu.org>
2189         * startup.el (fancy-splash-head): Change message below the
2190         logo.
2192 2000-10-02  Miles Bader  <miles@lsi.nec.co.jp>
2194         * diff-mode.el (diff-goto-source): Emit a status message.
2195         (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
2196         (diff-test-hunk): Fix doc string.
2197         (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
2198         (diff-advance-after-apply-hunk): New variable.
2199         (diff-apply-hunk): Don't return a value.
2201 2000-10-01  Stefan Monnier  <monnier@cs.yale.edu>
2203         * vc.el (vc-editable-p): Minor optimization.
2204         (edit-vc-file, vc-next-action-on-file): Don't use find-file.
2205         (vc-find-new-backend): New function split from vc-responsible-backend.
2206         (vc-register): Use it.
2207         (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
2208         (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
2209         (vc-default-unregister, vc-revert-buffer): Docstring fix.
2210         (vc-clear-headers): Don't use find-file.
2211         (vc-revert-buffer): Use `and' again (must have been a braino).
2212         (vc-switch-backend): Only prompt if requested.
2213         Short circuit if nothing is to be done.
2214         Don't use vc-resynch-buffer which could lose unsaved editing.
2215         (vc-default-receive-file): Update call to vc-unregister.
2216         (with-vc-file, vc-next-action-on-file):
2217         Use vc-backend rather than vc-registered.
2218         (vc-next-action-on-file): Use intern-soft.
2219         Deal with read-only *vc-diff* buffer.
2220         (vc-transfer-file): Docstring fix.
2222         * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
2223         (vc-rcs-receive-file): Avoid with-vc-properties.
2224         Update call to vc-unregister.
2225         Use constant `RCS' rather than (dynamically bound) var `backend'.
2227 2000-10-01  Andre Spiegel  <spiegel@gnu.org>
2229         * vc.el (vc-next-action-on-file): Update mode line only if file
2230         is visited.
2231         (vc-start-entry): New argument initial-contents.  Don't visit the file
2232         if it isn't already visited.  Brought documentation up-to-date.
2233         (vc-next-action, vc-register): Updated calls to vc-start-entry.
2234         (vc-checkin): New optional arg initial-contents, which is passed to
2235         vc-start-entry.
2236         (vc-finish-logentry): Make sure to bury log buffer only if there
2237         really is one.  Call `vc-resynch-buffer' on log-file, not
2238         buffer-file-name.
2239         (vc-default-comment-history, vc-default-wash-log): New functions.
2240         (vc-index-of): Removed.
2241         (vc-transfer-file): Make do without the above.
2242         (vc-default-receive-file): Call comment-history unconditionally.  Pass
2243         the resulting string to vc-checkin, instead of inserting it into the
2244         comment ring.
2246         * vc-rcs.el (vc-rcs-receive-file): Call comment-history
2247         unconditionally.  Use the comments as initial contents of the log
2248         entry buffer.  Document the trick to force branch creation with no
2249         changes.
2251 2000-10-01  Miles Bader  <miles@gnu.org>
2253         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
2254         `recenter' with an arg to prevent redrawing the display.
2256 2000-09-30  Stefan Monnier  <monnier@cs.yale.edu>
2258         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
2260         * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
2262         * progmodes/c-mode.el (c-mode):
2263         Don't gratuitously override the default for comment-column.
2265         * textmodes/tex-mode.el (latex-metasection-list): New var.
2266         (latex-imenu-create-index): Use it.
2267         Move the regexp construction outside loops (and use push).
2268         (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
2269         (tex-font-lock-keywords): Moved from font-lock.el.
2270         (tex-comment-indent): Remove.
2271         (tex-common-initialization): Don't set comment-indent-function.
2272         (latex-block-default): New var.
2273         (tex-latex-block): Use it to provide a default choice.
2274         Add any unknown choice to latex-block-names.
2275         Insert [...] after {...}.
2276         (tex-last-unended-begin): Simplify regexp.
2277         (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
2278         (latex-forward-sexp-1, latex-forward-sexp): New functions.
2279         (latex-mode): Set forward-sexp-function.
2281         * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
2282         Add regexp for @ignore ... @end ignore.
2283         (texinfo-heading-face): New face.
2284         (texinfo-font-lock-keywords): Use it.
2285         (texinfo-mode-menu): New menu.
2286         (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
2287         New functions.
2288         (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
2289         (texinfo-section-types-regexp, texinfo-section-level-regexp)
2290         (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
2291         Remove declaration.
2292         (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
2294         * delsel.el (delete-selection-mode): Use define-minor-mode.
2296         * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
2298 2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>
2300         * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
2302 2000-09-30  Gerd Moellmann  <gerd@gnu.org>
2304         * replace.el (keep-lines-read-args): New function.
2305         (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
2306         read arguments interactively.  Add parameters RSTART and REND.
2307         Operate on the active region in Transient Mark mode.
2309         * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
2311         * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
2312         (authors-obsolete-files-regexps): New variable.
2313         (authors-add): Don't record changes in obsolete files.
2315 2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>
2317         * autoinsert.el (auto-insert-mode): Use define-minor-mode.
2319         * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
2320         (comment-indent): Make sure there's a space between code and comment.
2321         Shift comments left to avoid going past fill-column.
2323 2000-09-29  Gerd Moellmann  <gerd@gnu.org>
2325         * startup.el (startup-echo-area-message): New function.
2326         (display-startup-echo-area-message): Use it.
2327         (fancy-splash-screens): Rewritten to use keymaps and a timer.
2328         (fancy-splash-default-action): New function.
2329         (fancy-splash-screens-1): New function.
2330         (fancy-splash-head): Put a help-echo and a keymap under the image.
2332 2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>
2334         * diff-mode.el (diff-add-log-file-name): Remove.
2335         (diff-mode): Use add-log-buffer-file-name-function.
2337         * add-log.el (find-change-log): New arg BUFFER-FILE.
2338         (add-log-file-name): Obey add-log-file-name-function.
2339         (add-log-buffer-file-name-function): New var.
2340         (add-change-log-entry): Use it.
2342 2000-09-29  Miles Bader  <miles@gnu.org>
2344         * image-file.el (image-file-name-extensions): New variable.
2345         (image-file-name-regexps): Renamed from `image-file-regexps'.
2346         New default value is nil.  Call `auto-image-file-mode'.
2347         (image-file-name-regexp): New function.
2348         (auto-image-file-mode): New minor mode.
2349         (insert-image-file): Don't make conditional on the image-file
2350         handler being enabled.
2351         (image-file-handler): Make the call here conditional instead.
2352         (set-image-file-handler-enabled, enable-image-file-handler)
2353         (disable-image-file-handler): Functions removed.
2355         * emacs-lisp/authors.el (authors-print): Rephrase many-files
2356         string.
2358 2000-09-29  Gerd Moellmann  <gerd@gnu.org>
2360         * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
2361         it's a function from CL.
2362         (latex-imenu-create-index): Replace eval-when-compile with progn
2363         because latex-section-alist is not bound while compiling.
2365 2000-09-28  Stefan Monnier  <monnier@cs.yale.edu>
2367         * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
2368         (outline-mode): Use define-derived-mode.
2370         * progmodes/perl-mode.el (perl-mode):
2371         * progmodes/awk-mode.el (awk-mode):
2372         * progmodes/asm-mode.el (asm-mode):
2373         Don't gratuitously override the default for comment-column.
2375         * emacs-lisp/lisp.el (lisp-complete-symbol):
2376         Distinguish the let-binding case from the funcall case.
2377         (forward-sexp-function): New variable.
2378         (forward-sexp): Use it.
2380         * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
2381         (easy-mmode-defmap): Remove the now useless autoload.
2383         * time.el (display-time-mode): Use define-minor-mode.
2385         * subr.el (add-minor-mode): Don't eval NAME.
2386         Don't depend on the presence of TOGGLE-FUN for any special behavior.
2387         Use if rather than cond.
2389         * simple.el (read-expression-map): Define more properly.
2390         (comment-indent-hook): Remove.
2391         (string-to-syntax): Bug fix.
2393         * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
2394         (cvs-ediff-diff): Fix typo.
2395         (cvs-revert-if-needed): Don't bother preserving read-only.
2397         * paren.el (show-paren-mode): Use define-minor-mode.
2399         * jka-compr.el (auto-compression-mode): Use define-minor-mode.
2400         (toggle-auto-compression): Remove.
2401         (jka-compr-build-file-regexp): Remove useless grouping.
2403         * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
2404         Avoid user-reserved bindings.
2405         (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
2406         (diff-header-face): Revert to grey85.
2408         * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
2410         * complete.el (partial-completion-mode) <defcustom>: Remove.
2411         (partial-completion-mode): Use define-minor-mode.
2412         (PC-do-completion): Understand `completion-auto-help = delay'
2413         to mean to popup the completion buffer only the second time.
2414         (PC-include-file-all-completions, PC-include-file-all-completions)
2415         (PC-include-file-all-completions): Don't quote lambda.
2417         * comint.el (comint-mode-hook): Docstring fix.
2418         (comint-mode): Use define-derived-mode.
2419         (comint-mode-map): Remove obsolete comment.
2420         (make-comint): Minor stylistic change.
2421         (comint-insert-clicked-input): Be more careful to find the overlay.
2422         Use this-command-keys rather than hardcoding mouse-2.
2424         * font-lock.el: Replace confusing (,@ with ,
2425         (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
2426         Don't use regexp-opt-depth.  Spice up the regexp for args.
2427         Don't distinguish between cmds that can take an opt arg or not.
2428         Use `append' and `prepend' rather than `keep'.
2430         * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
2431         (latex-outline-regexp): New var.
2432         (latex-outline-level): New fun.
2433         (latex-section-alist): New var.
2434         (latex-imenu-create-index): Use it.  Use `push' as well.
2435         (tex-shell-map): Initialize it properly.
2436         (tex-mode): Minor stylistic change.
2437         (plain-tex-mode): Use define-derived-mode.
2438         (latex-mode): Use define-derived-mode.
2439         Construct the paragraph regexps in a more readable way.
2440         Set the buffer-local outline-{level,regexp} vars.
2441         (slitex-mode): Derive from latex-mode.
2442         (tex-common-initialization): Don't kill-all-vars anymore.
2443         Add setting for comment-add and font-lock-defaults.
2444         (tex-start-shell): Use with-current-buffer and don't re-init keymap.
2445         (tex-main-file): New fun.  Obey TeX-master as well and remove `.tex'.
2446         (tex-start-tex): New arg DIR (and send a chdir command for it).
2447         Also display the shell buffer and save it in tex-last-buffer-texed.
2448         (tex-region): Use expand-file-name rather than concat.
2449         Remove code made useless by changes in tex-start-tex.
2450         (tex-file): Use tex-main-file and adapt to new tex-start-tex.
2452         * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
2454 2000-09-28  Dave Love  <fx@gnu.org>
2456         * eshell/eshell.el (eshell) <defgroup>: Add :version.
2458 2000-09-28  Gerd Moellmann  <gerd@gnu.org>
2460         * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
2461         `append'.
2463 2000-09-28  Stefan Monnier  <monnier@cs.yale.edu>
2465         * info.el (Info-extract-pointer): Undo last change.
2466         Instead, fix the position of the `bound' arg to re-search-backward.
2468 2000-09-27  Stefan Monnier  <monnier@cs.yale.edu>
2470         * info.el (Info-extract-pointer):
2471         Widen more carefully, to avoid finding pointers in other nodes.
2472         (Info-index): Use push.
2474 2000-09-27  Gerd Moellmann  <gerd@gnu.org>
2476         * frame.el (set-frame-font): Remove call to obsolete function
2477         frame-update-faces.
2478         (set-foreground-color, set-background-color): Likewise for
2479         frame-update-face-colors.
2481 2000-09-27  Miles Bader  <miles@gnu.org>
2483         * image-file.el: New file.
2485 2000-09-27  Gerd Moellmann  <gerd@gnu.org>
2487         * frame.el (frame-notice-user-settings): Don't call
2488         frame-update-faces, which is a no-op now.
2490         * ediff-wind.el (ediff-control-frame-parameters): Add zero
2491         tool-bar-lines.
2493 2000-09-27  Dave Love  <fx@gnu.org>
2495         * mouse.el: Fix last change.
2497 2000-09-27  Miles Bader  <miles@lsi.nec.co.jp>
2499         * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
2501 2000-09-22  Kenichi Handa  <handa@etl.go.jp>
2503         * international/quail.el (quail-help): The output message is
2504         improved.
2506 2000-09-26  Dave Love  <fx@gnu.org>
2508         * mouse.el (popup-menu): If POSITION is nil, set it using
2509         mouse-position.
2511 2000-09-25  Sam Steingold  <sds@gnu.org>
2513         * net/browse-url.el (browse-url-file-url): Check for null maps.
2515 2000-09-26  Gerd Moellmann  <gerd@gnu.org>
2517         * frame.el (frame-notice-user-settings): Don't add a
2518         tool-bar-lines frame parameter to default-frame-alist in batch mode.
2520         * frame.el (frame-notice-user-settings):
2521         Make tool-bar-mode and default-frame-alist consistent.
2523         * toolbar/tool-bar.el (tool-bar-help): New function.
2525 2000-09-25  Gerd Moellmann  <gerd@gnu.org>
2527         * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
2528         current-load-list in top-level forms.  Else this leaks a cons cell
2529         every time a defun is called.
2531         * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
2533 2000-09-25  Dave Love  <fx@gnu.org>
2535         * startup.el (fancy-splash-head): Check XPM is available.
2537         * autoinsert.el (auto-insert): Doc fix.
2538         (auto-insert-alist): Following GNU notices, don't say `copyright
2539         _by_'.  Use line-beginning-position.
2540         (auto-insert): Check buffer-file-name is non-nil before use.
2542 2000-09-25  Gerd Moellmann  <gerd@gnu.org>
2544         * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
2545         starting with `@def' or `@multitable', in addition to ones
2546         specified by the user in auto-fill-inhibit-regexp.
2548 2000-09-25  Markus Rost  <rost@math.ohio-state.edu>
2550         * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
2551         rmail-dont-reply-to-names matches the empty string.
2553 2000-09-25  Gerd Moellmann  <gerd@gnu.org>
2555         * startup.el (command-line-1, fancy-splash-text): Change the
2556         text to sound more friendly.
2558 2000-09-23  Thien-Thi Nguyen  <ttn@gnu.org>
2560         * progmodes/hideshow.el: Update author email address.
2561         Generally, sync w/ maintainer version 5.22.
2562         (hs-hide-all-non-comment-function): New var.
2563         (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
2564         (hs-hide-all): Use `hs-hide-all-non-comment-function'.
2565         (hs-show-region): Delete this command.
2566         (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
2568 2000-09-22  Dave Love  <fx@gnu.org>
2570         * hl-line.el (hl-line-overlay): Don't make it buffer-local.
2571         (hl-line-highlight): Specify buffer when moving overlay.
2573         * progmodes/fortran.el (fortran-mode): Locally set
2574         normal-auto-fill-function.
2575         (fortran-auto-fill-mode): Just alias to auto-fill-mode.
2576         (fortran-mode-map): Adjust auto-fill menu entry.
2578 2000-09-22  Gerd Moellmann  <gerd@gnu.org>
2580         * vc-rcs.el (toplevel): Require `vc' when compiling.
2582         * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
2584 2000-09-22  Andre Spiegel  <spiegel@gnu.org>
2586         * vc.el (vc-switch-backend): Signal an error if the file is not
2587         registered under the new backend.
2589         * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
2590         without explicit revision number.
2592 2000-09-21  Stefan Monnier  <monnier@cs.yale.edu>
2594         * diff-mode.el (diff-file-header-face): Reset to its previous value.
2595         (diff-hunk-text): Correctly use offsets rather than buffer-positions.
2596         (diff-xor): New function.
2597         (diff-find-source-location): Use it.  Fix a stupid name clash.
2598         (diff-hunk-status-msg): New function.
2599         (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
2600         (diff-test-hunk): Use diff-find-source-location.
2601         (diff-goto-source): Favor the `reverse'.
2602         (diff-hunk-text): Properly handle one-sided context diffs.
2603         (diff-apply-hunk): When done, advance to the next hunk.
2605 2000-09-21  Gerd Moellmann  <gerd@gnu.org>
2607         * startup.el (command-line): If frame was created with a non-zero
2608         tool-bar-lines parameter, switch tool-bar-mode on.
2610         * add-log.el (change-log-date-face, change-log-name-face)
2611         (change-log-email-face, change-log-file-face)
2612         (change-log-list-face, change-log-conditionals-face)
2613         (change-log-function-face, change-log-acknowledgement-face):
2614         New faces, inheriting from font-lock faces.
2615         (change-log-font-lock-keywords): Use them.
2617 2000-09-21  Dave Love  <fx@gnu.org>
2619         * progmodes/cperl-mode.el (top-level): Clean up
2620         `eval-when-compile's and assorted defvars.
2621         (cperl-invalid-face): Don't double-quote value.  Change custom
2622         type.
2623         (cperl-mode): Set normal-auto-fill-function and don't zap
2624         auto-fill-function.
2625         (cperl-imenu--function-name-regexp-perl): Renamed from
2626         imenu-example--function-name-regexp-perl.
2627         (cperl-imenu--create-perl-index): Renamed from
2628         imenu-example--create-perl-index.
2629         (cperl-xsub-scan): Don't require cl.
2631         * msb.el (msb-mode-map): Use substitute-key-definition.
2632         (msb-mode): Use msb-mode-map.
2634 2000-09-21  Andre Spiegel  <spiegel@gnu.org>
2636         * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
2637         New functions.
2638         (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
2639         (vc-switch-backend): New function.
2640         (vc-prefix-map): Bind `vc-switch-backend' to `b'.
2641         (vc-register): Fix prompt.
2642         (vc-unregister, vc-default-unregister): New functions.
2643         (vc-version-diff): Handle empty buffer in sentinel.
2645         * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
2646         (vc-rcs-state-heuristic): Use it to guess the state of files with
2647         non-strict locking.
2648         (vc-rcs-find-most-recent-rev): Handle the case when a branch has
2649         been set with -b, but not created yet.
2650         (vc-rcs-fetch-master-state): With non-strict locking, compare file
2651         contents in order to find the state.
2652         (vc-rcs-checkin): Allow creation of branches with no changes.
2653         (vc-rcs-unregister, vc-rcs-receive-file)
2654         (vc-rcs-set-non-strict-locking): New functions.
2656         * vc-hooks.el (vc-name): Force correct computation of the value
2657         in case it is missing.
2659 2000-09-21  Gerd Moellmann  <gerd@gnu.org>
2661         * startup.el (fancy-splash-tail): Use a different foreground
2662         color on a dark frame background.
2664 2000-09-21  Miles Bader  <miles@lsi.nec.co.jp>
2666         * info.el: Use the correct capitalization when making Info-mode
2667         and Info-edit-mode `special' modes.
2669 2000-09-20  Stefan Monnier  <monnier@cs.yale.edu>
2671         * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
2672         (diff-mode): Add support for add-log.el.
2673         (diff-hunk-text): Use char offsets rather than line offsets.
2674         (diff-find-source-location): Replace LINE with line-offset (nil
2675         if not found) and always set POS to a meaningful position.
2676         Adapt to the new char-offsets.
2677         (diff-apply-hunk): Drop support for the unused `select' POPUP.
2678         Adapt to the new diff-find-source-location.
2679         (diff-goto-source): Adapt to the new diff-find-source-location.
2681         * add-log.el (add-log-file-name): New function (split out of
2682         add-change-log-entry).
2683         (add-change-log-entry): Use it.
2684         Call add-log-file-name-function with the changelog file name if
2685         the current buffer is not associated with any file.
2686         Avoid find-file if the selected window is dedicated.
2688         * diff-mode.el (diff-find-source-location):
2689         Move code from diff-apply-hunk.  Return buffer rather than file.
2690         (diff-apply-hunk): Use the new result from  diff-find-source-location.
2691         (diff-goto-source): Use the new diff-find-source-location.
2693 2000-09-20  Dave Love  <fx@gnu.org>
2695         * iswitchb.el: Some doc fixes.
2696         (iswitchb-mode-map): Define completely initially.  Inherit
2697         minibuffer-local-map.
2698         (iswitchb-completion-help) <!iswitchb-xemacs>: Use
2699         fundamental-mode.
2700         (iswitchb-global-map): New variable.
2701         (iswitchb-summaries-to-end): Amalgamate regexps.
2702         (iswitchb-mode): New.
2703         (iswitchb-mode-hook): New variable.
2704         (iswitchb) <defgroup>: Add URL link.  Use group `completion', not
2705         `extensions'.
2707 2000-09-20  Gerd Moellmann  <gerd@gnu.org>
2709         * ehelp.el (electric-help): New defgroup.
2710         (electric-help-shrink-window): New user-option.
2711         (with-electric-help): Use it.
2713         * window.el (shrink-window-if-larger-than-buffer): If face
2714         `mode-line' has a :box, and we're on a graphical frame, add 1
2715         to the needed window height.
2717         * frame.el (frame-notice-user-settings): Add a last parameter nil
2718         to a call to `append', because the last list passed to `append' is
2719         not copied, and so subsequent calls to assq-delete-all will modify
2720         default-frame-alist.
2722         * startup.el (fancy-splash-image): Change :type.
2723         (fancy-splash-head): Use an XBM image if appropriate.
2724         (command-line-1): Show splash screens in more cases.
2726         * startup.el (fancy-splash-text): Don't quote faces.
2728         * dired.el (dired-font-lock-keywords): Undo last change.
2729         (dired-readin): Bind indent-tabs-mode to nil.
2731         * startup.el (fancy-splash-head): If frame's background mode
2732         is `dark', change the black background of the image to gray.
2733         (fancy-splash-screens): Display startup echo area message.
2734         (display-startup-echo-area-message): New function.
2736 2000-09-20  Miles Bader  <miles@lsi.nec.co.jp>
2738         * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
2740         * info.el (info-header-node): Tweak for color ttys.
2742         * faces.el (face-valid-attribute-values): Make sure directories we
2743         search for stipples both exist and are readable before trying to
2744         search them.
2746         * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
2747         in the dry-run case.
2749         * jka-compr.el (with-auto-compression-mode): New macro.
2751         * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
2752         (custom-group-tag-face, custom-variable-tag-face): Use relative
2753         :height and inherit from `variable-pitch' face instead of
2754         hardwiring :family.
2755         * hi-lock.el (hi-black-hb): Likewise.
2757         Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
2758         * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
2759         toolbar-add-item, if image doesn't have a mask add a `:mask
2760         heuristic'.
2762 2000-09-19  Stefan Monnier  <monnier@cs.yale.edu>
2764         * diff-mode.el: Docstring fixes.
2765         (diff-header-face, diff-comment-face): New faces.
2766         (diff-font-lock-keywords): Highlight a bit differently.
2767         (diff-find-source-location): Don't return SPAN any more.
2768         (diff-hunk-text): Don't bother erasing the temp buffer.
2769         (diff-find-text): Drop argument LINE.
2770         (diff-apply-hunk): Update calls to diff-find-text.
2771         (diff-goto-source): Use pop-to-buffer again and don't raise an error.
2773         * calendar/calendar.el: Docstring fixes.
2774         (calendar-make-alist): Don't quote lambda.
2775         (calendar-star-date): Use make-local-variable.
2777 2000-09-19  Dave Love  <fx@gnu.org>
2779         * toolbar/tool-bar.el: Renamed from toolbar.el.
2780         Change `toolbar' to `tool-bar' generally in symbols.
2781         Make some items invisible in `special' major modes.
2782         (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
2783         Add arg PROPS.
2785         * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
2786         Add :version here.
2787         (fancy-splash-delay, fancy-splash-image): Remove :version here.
2789 2000-09-19  Gerd Moellmann  <gerd@gnu.org>
2791         * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
2793         * files.el (find-file-suppress-same-file-warnings): New user-option.
2794         (find-file-noselect): Use it.
2796         * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
2797         (fancy-splash-screen): Defgroup.
2799         * add-log.el (change-log-font-lock-keywords): Match names
2800         more exactly for the case that font-lock-constant-face is
2801         underlined.
2803 2000-09-19  Richard M. Stallman  <rms@gnu.org>
2805         * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
2807 2000-09-19  Andre Spiegel  <spiegel@gnu.org>
2809         * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
2811 2000-09-19  Gerd Moellmann  <gerd@gnu.org>
2813         * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
2814         * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
2815         * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
2816         * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
2817         * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
2818         * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
2819         * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
2820         * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
2821         * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
2822         * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
2823         * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
2824         * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
2826         * startup.el (fancy-splash-text): New variable.
2827         (fancy-splash-delay, fancy-splash-image): New user-options.
2828         (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
2829         (fancy-splash-screens): New functions.
2830         (command-line-1): If display has a `display' frame parameter, has
2831         colors, and we have XPM support, show more fancy splash screens.
2833 2000-09-19  Dave Love  <fx@gnu.org>
2835         * map-ynp.el (map-y-or-n-p): Check use-dialog-box.  Don't lose
2836         with null `help'.  Use modern backquote syntax.
2838 2000-09-19  Gerd Moellmann  <gerd@gnu.org>
2840         * font-lock.el (font-lock-mode): Change message telling the user
2841         that ``the buffer is too big''.
2843         * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
2844         for instance for the case that tab-width is 2.
2846 2000-09-18  Gerd Moellmann  <gerd@gnu.org>
2848         * toolbar/toolbar.el (toolbar-like-menu-item): Like in
2849         toolbar-add-item, if image doesn't have a mask add a `:mask
2850         heuristic'.
2852 2000-09-18  Miles Bader  <miles@lsi.nec.co.jp>
2854         * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
2855         and return a cons if it's non-nil.
2856         (diff-apply-hunk): Try to jump to the line in the source text
2857         corresponding to the position of point in the in the hunk.
2859         * info.el (Info-title-3-face, Info-title-2-face)
2860         (Info-title-1-face): Use face inheritance and relative sizes
2861         instead of hard-wiring things.
2863         * faces.el (secondary-selection): Make dark-background variant sane.
2865 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2867         * makefile.w32-in (compile-files-CMD): No need to make .elc files
2868         read-only, since they aren't under VC now.
2870 2000-09-17  Dave Love  <fx@gnu.org>
2872         * tmm.el: Replace mapcar with mapc in several places.
2874         * loadhist.el (unload-feature): Maybe call elp-restore-list and
2875         ad-unadvise.
2877         * international/latin1-disp.el: New file.
2879         * calendar/cal-move.el (scroll-calendar-left)
2880         (scroll-calendar-right): Make arg optional (for active mode line).
2882         * calendar/calendar.el (calendar-mode-line-format): Make fields
2883         mouse-sensitive.
2884         (calendar-read-date, calendar-read-date, calendar-window-list):
2885         Unquote lambda.
2886         (calendar-month-name): Use aref, not sref.
2888         * view.el (minor-mode-alist): Propertize the string.
2890         * international/characters.el (standard-case-table): Add entries
2891         for Greek.
2893 2000-09-18  Miles Bader  <miles@gnu.org>
2895         * info.el (info-node, info-xref): Add dark-background variants.
2897         * faces.el (header-line): Change defaults to be less confusing
2898         when mixed with mode-lines.
2900         * info.el (Info-fontify-node): Make a few cleanups.
2901         Add extra `help-echo' and `local-map' props to node xrefs.
2902         Use header-specific faces for node-names & xrefs.
2903         (Info-use-header-line): New variable.
2904         (info-header-xref, info-header-node): New faces.
2905         (Info-setup-header-line): New function.
2906         (Info-select-node): Call Info-setup-header-line when enabled.
2907         (Info-extract-pointer): Work even if the header line is hidden.
2908         (Info-header-line): New variable.
2910 2000-09-16  Stefan Monnier  <monnier@cs.yale.edu>
2912         * vms-patch.el (print-region-function): Don't quote lambda.
2914         * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
2916         * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
2917         (lm-get-header-re): Allow spaces between the header and the colon.
2918         (lm-header): Allow $ in non-RCS headers.
2919         (lm-header-multiline): Put the strings back into order.
2920         Stop at an empty line.  Don't require two space chars if the
2921         line is clearly not another header line.
2923         * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
2924         (popup-menu-popup): Remove.
2926 2000-09-15  Gerd Moellmann  <gerd@gnu.org>
2928         * toolbar/toolbar.el (toolbar-add-item): Use the same image
2929         specification if or if not tool-bar item contains an `:enabled'
2930         property.
2932         * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
2933         current buffer has no file name.
2935 2000-09-15  Dave Love  <fx@gnu.org>
2937         * strokes.el: Sync with maintainer's current version with changes
2938         for Emacs, but avoid runtime cl and levents.
2939         (toplevel):  Change autoloads and compilation requires.
2940         (strokes-version, strokes-bug-address, strokes-lift): Values
2941         changed.
2942         (strokes-xpm-header, strokes-insinuated): New variable.
2943         (strokes): Add :link.
2944         (strokes-mode): Customized.
2945         (strokes-while-inhibiting-garbage-collector): New macro.
2946         (strokes-remassoc): Avoid remove-if.
2947         (strokes-fix-button2-command): Don't use ad-do-it.
2948         (strokes-insinuate): New function.
2949         (strokes-button-press-event-p, strokes-button-release-event-p):
2950         New functions, used instead of non-`strokes-' versions..
2951         (strokes-mouse-event-p): Rewritten.
2952         (strokes-event-closest-point): Avoid event-point.
2953         (strokes-get-grid-position): Avoid cdadr, caadr
2954         (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
2955         functions.
2956         (strokes-help): Use with-output-to-temp-buffer.
2957         (strokes-window-configuration-changed-p): New function.
2958         (strokes-update-window-configuration): Use buffer-live-p,
2959         strokes-window-configuration-changed-p.
2960         (strokes-mode): Use strokes-insinuate.  Alter mouse bindings.
2961         (strokes-char-face): New face.
2962         (strokes-char-table, strokes-base64-chars): New variable.
2963         (strokes-xpm-for-stroke, strokes-list-strokes)
2964         (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
2965         (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
2966         (strokes-xpm-to-compressed-string, strokes-decode-buffer)
2967         (strokes-encode-buffer, strokes-xpm-for-compressed-string)
2968         (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
2969         functions.
2971 2000-09-15  Gerd Moellmann  <gerd@gnu.org>
2973         * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
2975         * image.el (create-image): Doc fix.
2977         * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
2978         instead of `:heuristic-mask t'.
2980 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2982         * makefile.w32-in: Revert to Unix line endings.
2984 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2986         * makefile.w32-in: Add bootstrap support.  Also copy lisp source
2987         when installing.
2989         * makefile.nt (DONTCOMPILE): Fix typo.
2991         * shell.el (shell-write-history-on-exit): New function.
2992         (shell-dumb-shell-regexp): New custom variable.
2993         (shell-mode): Make shell-write-history-on-exit the process
2994         sentinel if shell name matches shell-dumb-shell-regexp.
2996         * w32-fns.el: Comment out before-init-hook function which resets
2997         source-directory based; this breaks bootstrap.
2999 2000-09-14  Dave Love  <fx@gnu.org>
3001         * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
3002         toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
3003         toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
3004         toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
3005         toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
3006         toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
3007         toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm:  New.
3008         From Tuomas Kuosmanen <tigert@gimp.org>.  (Gnome icons fetched
3009         from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
3011         * toolbar/toolbar.el: New.
3013         * subdirs.el: Add toolbar.
3015 2000-09-14  Gerd Moellmann  <gerd@gnu.org>
3017         * indent.el (indent-for-tab-command): Doc fix.
3019 2000-09-14  Alex Schroeder  <alex@gnu.org>
3021         * ansi-color.el (ansi-colors): Doc change.
3022         (ansi-color-get-face): Simplified regexp.
3023         (ansi-color-faces-vector): Added more faces, doc change.
3024         (ansi-color-names-vector): Doc change.
3025         (ansi-color-regexp): Simplified regexp.
3026         (ansi-color-parameter-regexp): New regexp.
3027         (ansi-color-filter-apply): Doc change.
3028         (ansi-color-filter-region): Doc change.
3029         (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
3030         deal with zero length parameters.
3031         (ansi-color-apply-on-region): Doc change.
3032         (ansi-color-map): Doc change.
3033         (ansi-color-map-update): Removed debugging message.
3034         (ansi-color-get-face-1): Added condition-case to trap
3035         args-out-of-range errors.
3036         (ansi-color-get-face): Doc change.
3037         (ansi-color-make-face): Removed.
3038         (ansi-color-for-shell-mode): New option.
3040 2000-09-13  Kenichi Handa  <handa@etl.go.jp>
3042         * international/quail.el (quail-start-translation): Translate KEY
3043         if necessary even if it doesn't have any mapping in the current
3044         input method.
3045         (quail-start-conversion): Likewise.
3046         (quail-help): The output message is improved.
3048 2000-09-13  Miles Bader  <miles@gnu.org>
3050         * comint.el (comint-output-filter): Revert to using
3051         `insert-before-markers'.  Add bletcherous hack to undo damage
3052         caused by `insert-before-markers'.  Put `front-sticky' property on
3053         overlays created here so that the field code understands how the
3054         overlay works.  Use a let when making comint-last-prompt-overlay,
3055         so that the code is easier to read.
3057 2000-09-13  Dave Love  <fx@gnu.org>
3059         * wid-edit.el (widget-default-format-handler): DTRT when
3060         doc-property is a function.
3062 2000-09-12  Francesco Potorti`  <pot@gnu.org>
3064         * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
3065         filed name if it's not there.
3067 2000-09-12  Dave Love  <fx@gnu.org>
3069         * simple.el (read-mail-command): Doc fix.
3070         (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
3072         * vc.el (vc-dired-listing-switches): Fix :version.
3074         * vc-hooks.el: Doc fixes.
3076         * subr.el (add-minor-mode): Use toggle-fun arg.
3078         * speedbar.el: Add :version to several defcustoms.
3080         * imenu.el (imenu--truncate-items, imenu--cleanup)
3081         (imenu--generic-function): Avoid mapcar.
3082         (imenu--replace-spaces): Function removed.
3083         (imenu--completion-buffer): Use subst-char-in-string.
3084         (imenu-add-to-menubar): Use keymap inheritance.
3086 2000-09-12  Miles Bader  <miles@gnu.org>
3088         * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
3089         (diff-mode-map): Bind `diff-test-hunk'.
3090         (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
3092 2000-09-11  Gerd Moellmann  <gerd@gnu.org>
3094         * bytecomp.el (byte-compile-defvar): Undo last change
3095         because it breaks '(make-variable-buffer-local (defvar ...)'
3096         which is used at least in dired.
3098 2000-09-12  Kenichi Handa  <handa@etl.go.jp>
3100         * international/quail.el (quail-define-package): Docstring
3101         modified.
3103 2000-09-12  Kenichi Handa  <handa@etl.go.jp>
3105         * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
3106         extra docstrings for "chinese-ccdospy", "chinese-ecdict",
3107         "chinese-etzy", "chinese-sw", and "chinese-ziranma".  Modify the
3108         docstring of "chinese-py".
3110         * international/quail.el (quail-translation-docstring): New
3111         variable.
3112         (quail-show-keyboard-layout): Docstring modified.
3113         (quail-select-current): Likewise.
3114         (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
3115         infinite recursive call.
3116         (quail-help): Check quail-translation-docstring.  Format of the
3117         output changed.
3118         (quail-help-insert-keymap-description): Adjusted for the above
3119         change.
3121 2000-09-11  Gerd Moellmann  <gerd@gnu.org>
3123         * bytecomp.el (byte-compile-defvar): Only cons onto
3124         current-load-list in top-level forms.  Else this leaks a cons cell
3125         every time a defun is called.
3127 2000-09-11  Miles Bader  <miles@lsi.nec.co.jp>
3129         * diff-mode.el (diff-apply-hunk): Function basically rewritten.
3130         Now understands non-unified diffs.  Some functionality moved into
3131         `diff-hunk-text' and `diff-find-text'.  Add OTHER-FILE, DRY-RUN,
3132         POPUP, and NOERROR arguments.  If DRY-RUN is true, don't actually
3133         modify anything.  Only reposition point in the patched file if the
3134         patch succeeds.  Only pop up another window if POPUP is true.
3135         Emit a message describing what happened if successful, and at what
3136         line-offset.  Automatically detect reversed hunks and do something
3137         appropriate.
3138         (diff-hunk-text, diff-find-text): New functions.
3139         (diff-filter-lines): Function removed.
3140         (diff-test-hunk): New function.
3141         (diff-goto-source): Rewritten in terms of diff-apply-hunk.
3143 2000-09-10  Dave Love  <fx@gnu.org>
3145         * textmodes/tildify.el: Minor doc/commentary fixes.
3146         (tildify) <defgroup>: Add :version.
3148         * faces.el (face-x-resources): Make custom type more specific.
3149         (frame-background-mode): Use mapc.
3150         (region) <defcustom>: Add :version.
3152 2000-09-08  Stefan Monnier  <monnier@cs.yale.edu>
3154         * vc-sccs.el (vc-sccs-register):
3155         * vc-rcs.el (vc-rcs-register):
3156         * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
3157         * vc.el (vc-register): Clear file's properties.
3159 2000-09-08  Gerd Moellmann  <gerd@gnu.org>
3161         * faces.el (face-spec-set): Only face-spec-reset-face when
3162         ATTRS is non-nil.
3164 2000-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
3166         * help.el (help-insert-xref-button): Fix a typo in doc string.
3168 2000-09-07  Eli Zaretskii  <eliz@is.elta.co.il>
3170         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3171         Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
3172         methods.
3174         * menu-bar.el (read-mail-item-name): New function.
3175         (menu-bar-tools-menu): Use it to compute and display the package
3176         used to read email.
3177         (menu-bar-tools-menu): Fix typo in GUD's help string.
3179 2000-09-07  Dave Love  <fx@gnu.org>
3181         * diff-mode.el (diff-mouse-goto-source): New function.
3183         * vc-sccs.el: Doc fixes.
3184         (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
3186         * vc-rcs.el: Doc fixes.
3187         (vc-rcs-register-switches, vc-rcs-checkin-switches)
3188         (vc-rcs-checkout-switches, vc-rcs-header)
3189         (vc-rcs-master-templates): Add or change :version.
3191         * vc-cvs.el: Doc fixes.
3192         (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
3193         (vc-cvs-stay-local): Add :version.
3195         * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
3197 2000-09-07  Kenichi Handa  <handa@etl.go.jp>
3199         * international/quail.el (quail-help): Fix previous change.
3201 2000-09-07  Gerd Moellmann  <gerd@gnu.org>
3203         * faces.el (color-values): Doc fix.
3205         * faces.el (frame-set-background-mode): Use frame-parameter
3206         instead of frame-parameters.
3208         * frame.el (filtered-frame-list): Reduce consing.
3209         (frames-on-display-list): Call frame-parameter instead of
3210         frame-parameters.
3212 2000-09-07  Kenichi Handa  <handa@etl.go.jp>
3214         * language/devan-util.el (devanagari-to-indian-region): In the
3215         loop, change the following char, not preceding char.
3217 2000-09-07  Gerd Moellmann  <gerd@gnu.org>
3219         * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
3220         instead of frame-parameters.
3222         * faces.el (set-face-attribute): Simplify by calling
3223         internal-set-lisp-face-attribute with FRAME being 0.
3225         * vc.el: Remove `Id' version control keyword.
3227 2000-09-07  Kenichi Handa  <handa@etl.go.jp>
3229         * help.el (help-make-xrefs): Adjusted for the change of
3230         help-xref-mule-regexp.
3231         (help-insert-xref-button): New function.
3233         * international/mule-cmds.el (help-xref-mule-regexp-template):
3234         Include the pattern for character set.
3235         (leim): New group.
3237         * international/quail.el: Don't require face.
3238         (quail): New group.
3239         (quail-other-command): Dummy command to make quail-help work better.
3240         (quail-keyboard-layout-alist): Add Keyboard type "jp106".
3241         (quail-keyboard-layout-substitution): New variable.
3242         (quail-update-keyboard-layout): New function.
3243         (quail-keyboard-layout-type): New customizable variable.
3244         (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
3245         (quail-keyboard-translate): Pay attention to
3246         quail-keyboard-layout-substitution.
3247         (quail-insert-kbd-layout): New function.
3248         (quail-show-keyboard-layout): New function.
3249         (quail-get-translation): If the definition is a vector of length
3250         1, and the element is a string of length 1, return the character
3251         in that string.
3252         (quail-update-current-translations): Fix the case of
3253         relative-index out of range.
3254         (quail-build-decode-map, quail-insert-decode-map): New Functions.
3255         (quail-help): Show keyboard layout by quail-insert-kbd-layout.
3256         Show key sequences for all available characters.
3257         (quail-help-insert-keymap-description): Don't show such verbose
3258         key bindings as quail-self-insert-command.
3260         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3261         Format changed, and each element now have extra documentations.
3262         (tit-process-header): Delete invalid characters from TIT-PROMPT.
3263         Adjusted for the change of quail-cxterm-package-ext-info.
3265 2000-09-06  Gerd Moellmann  <gerd@gnu.org>
3267         * vc-hooks.el (toplevel): Don't require `vc' during compilation;
3268         requiring it leads to a recursive loading of vc.el and vc-hooks.el
3269         during bootstrap.
3271 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3273         * vc.el: (toplevel): Don't require `dired' at run-time.
3274         (vc-dired-resynch-file): Remove autoload cookie.
3276 2000-09-05  Andre Spiegel  <spiegel@gnu.org>
3278         * vc.el: Made several backend functions optional.
3279         (vc-default-responsible-p): New function.
3280         (vc-merge): Use RET for first version to trigger merge-news, not
3281         prefix arg.
3282         (vc-annotate): Handle backends that do not support annotation.
3283         (vc-default-merge-news): Removed.  The existence of a merge-news
3284         implementation is now checked on caller sites.
3286         * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
3287         case.
3289         * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
3290         special case that has been removed from the default in vc-hooks.el.
3292 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3294         * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
3296 2000-09-05  Andre Spiegel  <spiegel@gnu.org>
3298         * vc-hooks.el: Require vc during compilation.
3299         (vc-file-setprop): Use `vc-touched-properties' if bound by the new
3300         macro `with-vc-properties' in vc.el.
3301         (vc-file-getprop): Doc fix.
3302         (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
3304         * vc.el: Require dired-aux during compilation.
3305         (vc-name-assoc-file): Moved to vc-sccs.el.
3306         (with-vc-properties): New macro.
3307         (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
3308         vc-finish-steal): Use it.
3309         (vc-cancel-version): Moved RCS-specific code to vc-rcs.el.  The call
3310         to the backend-specific function is now supposed to do the checkout,
3311         too.
3312         (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
3314         * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
3315         set file properties; that gets done in the generic code now.
3317         * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
3318         Changed parameter list, added code from vc.el that does the
3319         checkout, possibly with a double-take.
3321         * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
3322         (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
3323         the above under the new name.
3324         (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'.  Changed
3325         parameter list, added checkout command.
3326         (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
3327         properties; that gets done in the generic code now.
3329 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3331         * vc.el: Docstring fixes (courtesy of checkdoc).
3333 2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
3335         * vc.el (vc-checkout-writable-buffer-hook)
3336         (vc-checkout-writable-buffer): Remove.
3337         (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
3338         (vc-log-mode): Make it into a clean derived major mode.
3339         (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
3340         vc-log-mode if log-edit is not available.
3341         (vc-dired-mode-map): Don't set-keymap-parent yet.
3342         (vc-dired-mode): Do set-keymap-parent here.
3343         (vc-dired-buffers-for-dir): Nop if dired is not loaded.
3345 2000-09-05  Gerd Moellmann  <gerd@gnu.org>
3347         * faces.el (set-face-attribute, face-spec-reset-face)
3348         (face-spec-set): Avoid consing by removing calls to `apply'.
3350         * frame.el (frame-parameter): Move to C code.
3352 2000-09-05  Dave Love  <fx@gnu.org>
3354         * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
3355         insert-before-markers-and-inherit.  Now checked systematically!
3357 2000-09-05  Alex Schroeder  <alex@gnu.org>
3359         * sql.el (sql-postgres): Use sql-postgres-options.
3360         (sql-postgres-options): New variable.
3362 2000-09-05  Alex Schroeder  <alex@gnu.org>
3364         * sql.el (sql-mode-menu): Work around missing variable mark-active
3365         in XEmacs.
3366         (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
3367         (sql-interactive-mode): Added call to easy-menu-add for XEmacs
3368         compatibility.
3370 2000-09-04  Gerd Moellmann  <gerd@gnu.org>
3372         * vc.el (vc-dired-resynch-file): Add autoload cookie.
3374         * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
3376         * Makefile.in (DONTCOMPILE): Fix typo in file name.
3378 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3380         * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
3381         don't support anything else under SCCS yet.
3383         * vc-hooks.el: Minor doc fixes.
3385 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3387         * vc.el (vc-next-action-on-file): Do not visit the file if it's
3388         not necessary.  If verbose in state `needs-patch', do the same as
3389         under `up-to-date'.  When NOT verbose and `needs-patch', check out
3390         latest version instead of `merge-news'.
3391         (vc-next-action-dired): Don't mess with default-directory here; it
3392         breaks other parts of dired.  It is the job of the
3393         backend-specific functions to adjust it temporarily if they need it.
3394         (vc-next-action): Remove a special CVS case.
3395         (vc-clear-headers): New optional arg FILE.
3396         (vc-checkin, vc-checkout): Set properties vc-state and
3397         vc-checkout-time properly.
3398         (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
3399         (vc-print-log): Use new backend function `show-log-entry'.
3400         (vc-cancel-version): Do the checks in a different order.  Added a
3401         FIXME concerning RCS-only code.
3403         * vc-rcs.el (vc-rcs-show-log-entry): New function.
3404         (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
3406         * vc-cvs.el (vc-cvs-show-log-entry): New function.
3408         * vc-hooks.el (vc-default-mode-line-string): Show state
3409         `needs-patch' as a `-' too.
3411 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3413         * vc.el (vc-responsible-backend): New optional arg REGISTER.
3414         (vc-default-could-register): New function.
3415         (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
3416         (vc-resynch-buffer): Call vc-dired-resynch-file.
3417         (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
3418         vc-resynch-buffer instead of vc-resynch-window.
3419         (vc-next-action-dired): Don't redisplay here, that gets done as a
3420         result of the individual file operations.
3421         (vc-retrieve-snapshot): Corrected prompt order.
3423         * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
3425         * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
3426         as well.
3427         (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p.  Handle
3428         hostname regexps.  Updated all callers.
3429         (vc-cvs-responsible-p): Handle directories as well.
3430         (vc-cvs-could-register): New function.
3431         (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
3432         properties up-to-date.
3434         * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
3435         user whether to create one.
3437 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3439         * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
3440         check out a non-existing file.
3442         * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
3443         workfile does not exist.
3445         * vc.el (vc-version-diff): Use `require' to check for existence of
3446         diff-mode.
3448 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3450         * vc-cvs.el (vc-cvs-registered): Use new function
3451         vc-cvs-parse-entry to do the actual work.
3453 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3455         * vc-hooks.el (vc-find-backend-function): If function doesn't
3456         exist, return nil instead of error.
3457         (vc-call-backend): Doc fix.
3459         * vc.el (vc-do-command): Doc fix.
3460         (vc-finish-logentry): When checking in from vc-dired, choose the
3461         right backend for logentry check.
3462         (vc-dired-mode-map): Inherit from dired-mode-map.
3463         (vc-dired-mode): Local value of dired-move-to-filename-regexp
3464         simplified.
3465         (vc-dired-state-info): Removed, updated caller.
3466         (vc-default-dired-state-info): Use parentheses instead of hyphens.
3467         (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
3468         (vc-dired-listing-switches): New variable.
3469         (vc-directory): Use it, instead of dired-listing-switches.
3471         * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
3472         (vc-cvs-dir-state): New function.
3473         (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
3474         (vc-cvs-parse-entry): New function, also to be used in
3475         vc-cvs-registered.
3477 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3479         * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
3480         *or* single-window-frames.
3482 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3484         * vc.el (vc-update-changelog): Split into generic part and default
3485         implementation.  Doc string adapted.
3486         (vc-default-update-changelog): New function.  Call the `rcs2log'
3487         script in exec-directory, to fix a long-standing nuisance.
3489         * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
3490         simply signals an error.
3492 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3494         * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
3495         control-flow more clear and to avoid running `cvs' twice.
3497         * vc.el (vc-next-action-on-file): Doc fix.
3498         (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
3499         (vc-print-log): Eval `file' before constructing the continuation.
3501 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3503         * vc.el (vc-next-action-on-file): Corrected several messages.
3504         (vc-merge): Add prefix arg `merge-news'; handle it.
3506         * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
3507         is not reached.  It is.
3508         (vc-cvs-merge): Set state to 'edited after merge.
3509         (vc-cvs-merge-news): Set workfile version to nil if not known.
3510         (vc-cvs-latest-on-branch-p): Recommented.  Candidate for removal.
3512         * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
3513         via stdout. (Merge from main line.)
3515 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3517         * vc.el (vc-finish-logentry): Thinko in the "same comment"
3518         detection.
3520 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3522         * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
3523         against kill-all-local-variables.
3524         (vc-log-edit): Don't save vc-parent-buffer any more.
3525         (vc-last-comment-match): Initialize to an empty string.
3526         (vc-post-command-functions): New hook.
3527         (vc-do-command): Run it.
3528         (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
3529         (vc-finish-logentry): Only add the comment to the ring if it's
3530         different from the last comment entered.
3531         (vc-new-comment-index): New function.
3532         (vc-previous-comment): Use it.  Make the minibuffer message
3533         slightly less terse.
3534         (vc-comment-search-reverse): Make it work forward as well.  Don't
3535         set vc-comment-ring-index if no match is found.  Use
3536         vc-new-comment-index.
3537         (vc-comment-search-forward): Use vc-comment-search-reverse.
3538         (vc-dired-mode-map): Don't inherit from dired-mode-map since
3539         define-derived-mode will do it for us.  Bind `v' to a keymap that
3540         inherits from vc-prefix-map so that we can bind `vt' without
3541         binding C-x v t.
3542         (vc-retrieve-snapshot): Parenthesis typo.
3544         * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
3545         to 1.  Make sure to switch to *vc* before looking for an error
3546         message.  Use vc-parse-buffer.
3548 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3550         * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
3551         and NAME.
3552         (vc-retrieve-snapshot): Split into two parts.
3553         (vc-default-retrieve-snapshot): New function.
3555         * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
3556         (vc-cvs-retrieve-snapshot): New function (untested).
3557         (vc-cvs-stay-local): Default to t.
3558         (vc-cvs-remote-p): New function and property.
3559         (vc-cvs-state): Stay local only if the above is t.
3560         (vc-handle-cvs): Removed.
3561         (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
3562         done via vc-handled-backends now.
3563         (vc-cvs-header): Escape Id.
3565 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3567         * vc.el (vc-do-command): Remove unused commands.
3568         (vc-version-diff): Make sure default-directory ends with a slash.
3569         Move the window commands into a vc-exec-after.
3570         (vc-print-log): Move more of the code into the `vc-exec-after'.
3572 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3574         * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
3575         (vc-print-log): Search current revision from beginning of buffer.
3576         (vc-revert-buffer): Clear echo area after the diff is finished.
3577         (vc-prefix-map): Removed definition of "t" for terse display in vc
3578         dired.
3579         (vc-dired-mode-map): Inherit from dired-mode-map.  Added
3580         definition of "vt" for terse display.
3581         (vc-dired-mode): Fix dired-move-to-filename-regexp.
3583 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3585         * vc.el (vc-exec-after): Avoid caddr.
3587 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3589         * vc.el (vc-exec-after): New function.
3590         (vc-do-command): Use it to add a termination message for async
3591         procs.
3592         (vc-checkout): Try to handle a missing-backend situation.
3593         (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
3594         of a directory with a backend using async diffs.
3595         (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
3596         present.
3598         * vc-sccs.el (vc-sccs-state-heuristic): Use
3599         file-ownership-preserved-p.
3601         * vc-rcs.el (vc-rcs-state-heuristic): Use
3602         file-ownership-preserved-p.
3603         (vc-rcs-checkout): Remove the error-handling for missing-rcs.
3605 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3607         * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
3608         vc-do-command.
3610         * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
3611         when there are no changes.
3613 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3615         * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
3617         * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
3619 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3621         * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
3623         * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
3624         the `fset' outside of the defvar so that it works even if
3625         vc-prefix-map was already defined.
3626         (vc-setup-buffer): New function, split out of vc-do-command.
3627         (vc-do-command): Allow BUFFER to be t to mean `just use the
3628         current buffer without any fuss'.
3629         (vc-version-diff): Change the `diff' backend operation to just put
3630         the diff in the current buffer without erasing it.  Always use
3631         *vc-diff* even for directory-diffs.  Use vc-setup-buffer.  Protect
3632         shrink-window-if-larger-than-buffer.
3633         (vc-print-log): Change the `print-log' backend operation to just
3634         put the log in the current buffer without erasing it.  Protect
3635         shrink-window-if-larger-than-buffer.
3636         (vc-update-change-log): Fix setd typo.
3638         * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
3639         (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
3641         * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
3642         (vc-rcs-diff): Insert in the current buffer and remove unused arg
3643         CMP.
3645         * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
3646         with-temp-file.  Use the new BUFFER=t argument to vc-do-command.
3647         (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
3649 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3651         * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
3652         not possible, use vc-BACKEND-workfile-unchanged-p.
3653         (vc-default-workfile-unchanged-p): New function.  Delegates to a
3654         full vc-BACKEND-diff.
3656         * vc-hooks.el (vc-simple-command): Removed.
3658         * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
3659         instead of vc-simple-command.
3660         (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
3661         avoid doing a diff when opening a file.
3662         (vc-rcs-state): Added check for unlocked-changes.
3663         (vc-rcs-header): Escape Id.
3664         (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
3665         (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
3666         version.
3668         * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
3669         (vc-sccs-diff): Remove optional arg CMP.
3670         (vc-sccs-state): Call vc-workfile-unchanged-p, not the
3671         SCCS-specific function.
3673         * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
3674         vc-simple-command.
3676 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3678         * vc.el (vc-editable-p): Renamed from vc-writable-p.
3679         (with-vc-file, vc-merge): Use vc-editable-p.
3680         (vc-do-command): Remove unused var vc-file and fix the
3681         doubly-defined `status' var.  Add a user message when starting an
3682         async command.
3683         (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
3684         (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
3685         Use with-current-buffer.
3686         (vc-buffer-sync): Use unless.
3687         (vc-next-action-on-file): If the file is 'edited by read-only,
3688         make it read-write instead of trying to commit.
3689         (vc-version-diff, vc-update-change-log): Use `setq
3690         default-directory' rather than `cd'.
3691         (vc-log-edit): Don't forget to set default-directory in the
3692         buffer.
3694         * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
3695         (vc-sccs-state-heuristic): Use file-writable-p instead of
3696         comparing userids.
3697         (vc-sccs-checkout): Use `unless'.
3699         * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
3700         of comparing userids.
3701         (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
3702         Simplify the logic by eliminating unreachable code.
3703         (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
3704         just do a recursive call if we need to retry.
3705         (vc-rcs-checkout): Handle the case where rcs is missing by making
3706         the buffer read-write if requested and re-signalling the error.
3708         * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
3710 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3712         * vc-hooks.el (vc-handled-backends): Docstring change.
3713         (vc-ignore-vc-files): Mark obsolete.
3714         (vc-registered): Check vc-ignore-vc-files.
3715         (vc-find-file-hook, vc-file-not-found-hook): Don't check
3716         vc-ignore-vc-files.
3718         * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
3720 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3722         * vc.el (vc-checkout): Don't do anything special for ange-ftp
3723         files since ange-ftp already has vc-registered return nil.
3725         * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
3726         (vc-sccs-workfile-version): Use with-temp-buffer and new
3727         vc-parse-buffer and don't bother setting the property.
3728         (vc-sccs-add-triple): Use with-current-buffer and
3729         find-file-noselect.
3730         (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
3732         * vc-rcs.el (vc-rcs-find-most-recent-rev): New function.  The code
3733         derives from the old vc-parse-buffer but uses the revision number
3734         rather than the date (much easier to compare robustly).
3735         (vc-rcs-fetch-master-state): Use `with-temp-buffer'.  Adapt to the
3736         new vc-parse-buffer (and vc-rcs-find-most-recent-rev).  Find the
3737         locking-user more directly.  Check strict locking and set
3738         checkout-model appropriately.
3739         (vc-rcs-parse-locks): Remove.
3740         (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
3741         new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
3742         (vc-rcs-system-release): Use with-current-buffer and
3743         vc-parse-buffer.
3744         (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
3746         * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
3747         (vc-simple-command): Docstring fix.
3748         (vc-registered): Align the way the file-handler is called with the
3749         way the function itself works.
3750         (vc-file-owner): Remove.
3752         * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer.  Reorder
3753         extraction of fields and call to file-attributes because of a
3754         temporary bug in rcp.el.
3755         (vc-cvs-fetch-status): Use with-current-buffer.
3757 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3759         * vc.el (vc-do-command): Use file-relative-name.
3760         (vc-responsible-backend): Use vc-backend if possible.
3761         (vc-create-snapshot): Improve the `interactive' spec. Add support
3762         for branches and dispatch to backend-specific `create-snapshot'.
3763         (vc-default-create-snapshot): New function, containing the bulk of
3764         the old vc-create-snapshot.
3765         (vc-retrieve-snapshot): Improve the interactive spec.
3767         * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
3768         (vc-backend-hook-functions): Remove.
3769         (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
3770         (vc-backend): Reintroduce the test for `file = nil' now that I
3771         know why it was there (and added a comment to better remember).
3773         * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
3774         code from vc-sccs-hooks.el.
3775         (vc-sccs-release, vc-sccs-system-release): Remove.  Don't require
3776         'vc anymore.
3777         (vc-sccs-responsible-p): Use expand-file-name instead of concat
3778         and file-directory-p instead of file-exists-p.
3779         (vc-sccs-check-headers): Simplify the regexp.
3781         * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
3782         from vc-rcs-hooks.el.  Don't require 'vc anymore.
3783         (vc-rcs-responsible-p): Use expand-file-name instead of concat and
3784         file-directory-p instead of file-exists-p.
3786         * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
3787         from vc-cvs-hooks.el.
3788         (proto vc-cvs-registered): Require 'vc-cvs instead of
3789         'vc-cvs-hooks.  Don't require 'vc anymore.
3790         (vc-cvs-responsible-p): Use expand-file-name instead of concat and
3791         file-directory-p instead of file-exists-p.
3792         (vc-cvs-create-snapshot): New function, replacing
3793         vc-cvs-assign-name.
3794         (vc-cvs-assign-name): Remove.
3796 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3798         * vc-cvs.el (vc-cvs-header): New var.
3800         * vc-rcs.el (vc-rcs-exists): Remove.
3801         (vc-rcs-header): New var.
3803         * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
3804         `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
3805         (vc-sccs-header): New var.
3807         * vc.el (vc-do-command): Get rid of the `last' argument.
3808         (vc-header-alist): Remove, replaced by vc-X-header.
3809         (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
3810         (vc-dired-hook): Use expand-file-name instead of concat.
3811         (vc-directory): Use file-name-as-directory.
3812         (vc-snapshot-precondition, vc-create-snapshot)
3813         (vc-retrieve-snapshot): Allow the command to operate on any
3814         directory.
3816         * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
3817         just removing the 'WORKFILE argument or by removing the 'MASTER
3818         argument and replacing `file' with (vc-name file).
3820 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3822         * vc.el: Update Copyright and add a crude list of backend funs.
3823         (vc-writable-p): New function.
3824         (with-vc-file): Use vc-writable-p.
3825         (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
3826         (vc-register): Avoid vc-name.
3827         (vc-locking-user): Remove.
3828         (vc-steal-lock): Make the `owner' arg non-optional.
3829         (vc-merge): Use vc-writable-p instead of vc-locking-user and
3830         vc-checkout-model.
3831         (vc-default-dired-state-info): Use vc-state instead of
3832         vc-locking-user and return special strings for special states.
3833         (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
3834         and get rid of one of the special CVS cases.
3835         (vc-cancel-version): prettify error message with \\[...].
3836         (vc-rename-master): New function.
3837         (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
3838         use vc-rename-master) instead of vc-BACKEND-record-rename.  Make
3839         the CVS special case generic.
3840         (vc-default-record-rename): Remove.
3841         (vc-file-tree-walk-internal): Only call FUNC for files that are
3842         under control of some VC backend and replace `concat' with
3843         expand-file-name.
3844         (vc-file-tree-walk): Update docstring.
3845         (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
3846         (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
3848         * vc-sccs.el (vc-sccs-rename-file): Renamed from
3849         vc-sccs-record-rename.  Use `find-file-noselect' rather than
3850         `find-file' and call `vc-rename-master' to do the actual move.
3851         (vc-sccs-diff): Remove unused `backend' variable.
3853         * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
3854         to delay loading of vc-sccs until it is really used.
3855         (vc-sccs-master-templates): Preload.
3856         (vc-sccs-state): Update call to vc-sccs-parse-locks.
3857         (vc-sccs-project-dir): Remove (merged into
3858         vc-sccs-search-project-dir).
3859         (vc-sccs-search-project-dir): Rewrite using file name handling ops
3860         rather than `concat', make sure it is preloaded and don't bother
3861         to check that the file actually exists.
3862         (vc-sccs-parse-locks): Remove unused `file' argument, remove
3863         `locks' argument (use buffer's content instead) and eliminate n^2
3864         behavior.
3866         * vc-rcs.el: Update Copyright.
3867         (vc-rcs-rename-file): New function.
3868         (vc-rcs-diff): Remove unused `backend' variable.
3870         * vc-hooks.el: Update Copyright.
3871         (vc-backend): Don't accept a nil argument any more.
3872         (vc-up-to-date-p): Turn into a defsubst.
3873         (vc-possible-master): New function.
3874         (vc-check-master-templates): Use `vc-possible-master' and allow
3875         funs in vc-X-master-templates to return a non-existent file.
3877         * vc-cvs.el: Update Copyright.
3878         (vc-cvs-diff): Remove unused `backend' variable.
3879         (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
3881         * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
3883 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3885         * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
3886         since it can be called from vc-rcs.el.
3887         (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
3889 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
3891         * vc.el (vc-version-diff): Expand file name read from the
3892         minibuffer.  Handle the case when a previous version number can't
3893         be guessed.  Give suitable messages when there were no differences
3894         found.
3895         (vc-clear-headers): Call backend-specific implementation, if one
3896         exists.
3897         (vc-cancel-version): Made error checks generic.  When done, clear
3898         headers generically, too.
3900         * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
3901         from vc-clear-headers in vc.el.
3903         * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
3904         correctly.
3905         (vc-rcs-latest-on-branch-p): Made second argument VERSION
3906         optional.  Handle the case when it's not there.
3908 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3910         * vc.el (vc-locking-user): Moved from vc-hooks.el.
3912 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3914         * vc-hooks.el (vc-loadup): Remove.
3915         (vc-find-backend-function): Use `require'.  Also, handle the case
3916         where vc-BACKEND-hooks.el doesn't exist.
3917         (vc-call-backend): Cleanup.
3919 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3921         * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
3922         vc-rcs-grab-templates)
3923         (vc-rcs-registered): Remove.  The default function works as well.
3924         * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
3925         vc-sccs-grab-templates)
3926         (vc-sccs-registered): Remove.  The default function works as well.
3928         * vc.el (vc-version-diff): Left out a vc- in call to
3929         vc-call-backend.
3930         (vc-default-dired-state-info, vc-default-record-rename)
3931         (vc-default-merge-news): Update for the new backend argument.
3933         * vc-hooks.el (vc-find-backend-function): Return a cons cell if
3934         using the default function.
3935         (vc-call-backend): If calling the default function, pass it the
3936         backend as first argument.  Update the docstring accordingly.
3937         (vc-default-state-heuristic, vc-default-mode-line-string): Update
3938         for the new backend argument.
3939         (vc-make-backend-sym): Renamed from vc-make-backend-function.
3940         (vc-find-backend-function): Use the new name.
3941         (vc-default-registered): New function.
3943 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3945         * vc.el (vc-merge): Use vc-find-backend-function.
3947         * vc-hooks.el (vc-backend-functions): Remove.
3948         (vc-loadup): Don't setup 'vc-functions.
3949         (vc-find-backend-function): New function.
3950         (vc-call-backend): Use above fun and populate 'vc-functions
3951         lazily.
3952         (vc-backend-defines): Remove.
3954 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3956         * vc.el (vc-register): Put a FIXME note for a newly found bug.
3957         Call vc-call-backend without the leading vc-.
3958         (vc-responsible-backend, vc-finish-logentry, vc-annotate)
3959         (vc-check-headers): Call vc-call-backend without the leading vc-.
3960         (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
3961         (vc-annotate-display): Replace confusing use of `cond' with `or'.
3962         Call vc-call-backend without the leading vc-.
3964         * vc-cvs.el (tail): Provide vc-cvs.
3965         * vc-sccs.el (tail): Provide vc-sccs.
3966         * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
3968         * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
3969         (vc-make-backend-function, vc-call): Pass names without leading
3970         `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
3971         (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
3972         (vc-call-backend): Always try to load vc-X-hooks.
3973         (vc-registered): Remove vc- in call to vc-call-backend.
3975 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3977         * vc.el (vc-process-filter): New function.
3978         (vc-do-command): Setup `vc-process-filter' for the async process.
3979         (vc-maybe-resolve-conflicts): New function to reduce
3980         code-duplication.  Additionally, it puts the buffer in
3981         `smerge-mode' if applicable.
3982         (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
3983         calling `merge-news'.
3984         (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
3985         (vc-log-edit): New function.  Replacement for `vc-log-mode' by
3986         interfacing to log-edit.el.
3987         (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
3988         log-edit is available.
3989         (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
3991 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
3993         * vc.el (vc-register): Remove `vc-buffer-backend' setup.
3994         (vc-log-mode-map): New name for vc-log-entry-mode and merge the
3995         defvar and the initialization.
3996         (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
3998         * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
3999         (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
4001         * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
4003 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4005         * vc.el (vc-file-clear-masterprops): Removed.
4006         (vc-checkin, vc-revert-buffer): Removed calls to the above.
4007         (vc-version-diff): Use buffer-size without argument.
4008         (vc-register): Heed vc-initial-comment.
4010         * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
4011         default branch.
4013         * vc-rcs.el (vc-rcs-register): Parse command output to find master
4014         file name and workfile version.
4015         (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
4017         * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
4018         vc-file-clear-masterprops.
4020         * vc-sccs.el (vc-sccs-checkout): Removed call to
4021         vc-file-clear-masterprops.  If writable, set vc-state to 'edited
4022         rather than user login name.
4025 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4027         * vc.el (vc-workfile-unchanged-p): Remove unused argument
4028         `want-differences-if-changed' and simplify.
4029         (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
4030         (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
4031         output (which is invalid for async vc-diff) to decide whether to
4032         do the revert silently or not.
4034 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4036         * vc-hooks.el (vc-loadup): Load files quietly.
4037         (vc-call-backend): Oops, brain fart.
4039 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4041         * vc-cvs.el (vc-cvs-state): Typo.
4042         (vc-cvs-merge-news): Return the status code rather than the error msg.
4044 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4046         * vc.el (with-vc-file, vc-next-action, vc-version-diff)
4047         (vc-dired-mark-locked): Replaced usage of vc-locking-user with
4048         vc-state or vc-up-to-date-p.
4049         (vc-merge): Use vc-backend-defines to check whether merging is
4050         possible.  Set state to 'edited after successful merge.
4052         * vc-hooks.el (vc-locking-user): If locked by the calling user,
4053         return that name.  Redocumented.
4055 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4057         * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
4058         new `vc-state' semantics.
4059         (vc-finish-steal): Set 'vc-state to 'edited rather than setting
4060         'vc-locking-user to the current user.
4061         (vc-merge): Inline vc-backend-merge.  Comment out code that I
4062         don't understand and hence can't adapt to the new `vc-state' and
4063         `vc-locking-user' semantics.
4064         (vc-backend-merge): Remove.
4066         * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
4067         rather than 'vc-locking-user.
4069         * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
4071         * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
4072         (vc-state): Don't use 'reserved any more.  Just use the same
4073         convention as the one used for vc-<backend>-state where the
4074         locking user (as a string) is returned.
4075         (vc-locking-user): Update, based on the above convention. The
4076         'vc-locking-user property has disappeared.
4077         (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
4079         * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
4080         with a heuristic one.
4081         (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
4082         (vc-cvs-checkin): Do a trivial parse to set the state in case of
4083         error.  That allows us to get to 'needs-merge even in the
4084         stay-local case.  There's still no way to detect 'needs-patch in
4085         such a setup (or to force an update for that matter).
4086         (vc-cvs-logentry-check): Remove, the default works as well.
4088 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4090         * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
4092         * vc.el (vc-do-command): kill-all-local-variables, to reset any
4093         major-mode in which the buffer might have been put earlier.  Use
4094         `remove' and `when'.  Allow `okstatus' to be `async' and use
4095         `start-process' in this case.
4096         (vc-version-diff): Handle the case where the diff looks empty
4097         because of the use of an async process.
4099 2000-09-04  Andre Spiegel  <spiegel@gnu.org>
4101         * vc.el (vc-next-action-on-file): Removed optional parameter
4102         `simple'.  Recompute state unconditionally.
4103         (vc-default-toggle-read-only): Removed.
4105         * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
4106         (vc-toggle-read-only): Undid prev change.
4108         * vc-cvs.el (vc-cvs-stay-local): Renamed from
4109         vc-cvs-simple-toggle.  Redocumented.
4110         (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
4111         (vc-cvs-toggle-read-only): Removed.
4113 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4115         * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
4116         (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
4117         (vc-release-greater-or-equal-p): Move to vc-rcs.el.
4118         (vc-file-clear-masterprops): Braindead "fix".  It was a nop and
4119         still is. So maybe it should be removed.
4120         (vc-head-version, vc-find-binary): Remove.
4121         (vc-recompute-state): Move from vc-hooks.el.
4122         (vc-next-action-on-file): Add a `simple' argument to allow
4123         avoiding the `recompute' step (use for vc-cvs-simple-toggle).
4124         (vc-default-toggle-read-only, vc-default-record-rename): New funs.
4125         (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
4126         (vc-dired-mode-map): Properly defvar it.
4127         (vc-print-log): Call log-view-mode if available.
4128         (small-temporary-file-directory): defvar instead of use boundp.
4129         (vc-merge-news): Moved to vc-cvs.el.
4130         (vc-default-merge-news): New function.
4132         * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
4133         (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
4134         (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
4135         unknown `vc-latest-version' function.  It should probably refer to
4136         vc-workfile-version or somesuch, but it's very unclear to me and I
4137         don't have SCCS to test things.
4139         * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
4140         (vc-sccs-state-heuristic): Fix typo.
4141         (vc-sccs-workfile-unchanged-p): Add missing argument.
4143         * vc-rcs.el: Require vc and vc-rcs-hooks.
4144         (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
4145         (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
4146         (vc-release-greater-or-equal-p): Move from vc.
4147         (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
4148         vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
4149         (vc-rcs-checkout): Add a missing `new-version' argument in the
4150         call to vc-rcs-latest-on-branch-p.  Hopefully that was the right one.
4152         * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
4153         (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
4154         (vc-rcs-latest-on-branch-p): Use the `version' argument rather
4155         than the apparently unbound `workfile-version'.
4157         * vc-hooks.el (vc-master-templates): Def the obsolete var.
4158         (vc-file-prop-obarray): Use `make-vector'.
4159         (vc-backend-functions): Add new hookable functions
4160         vc-toggle-read-only, vc-record-rename and vc-merge-news.
4161         (vc-loadup): If neither backend nor default functions exist, use
4162         the backend function rather than nil.
4163         (vc-call-backend): If the function if not bound yet, try to load
4164         the non-hook file to see if it provides it.
4165         (vc-call): New macro plus use it wherever possible.
4166         (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
4167         nor `vc-find-binary' since it's only called from
4168         vc-mistrust-permission which is only used once the backend is known.
4169         (vc-checkout-model): Fix parenthesis.
4170         (vc-recompute-state, vc-prefix-map): Move to vc.el.
4172         * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
4173         (vc-cvs-release, vc-cvs-system-release): Remove.
4174         (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
4175         (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
4176         status symbols.
4177         (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
4178         (vc-cvs-toggle-read-only): First cut at a function to allow a
4179         cvs-status-free vc-toggle-read-only.
4180         (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
4181         (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
4182         vc-cvs-status.  Also set vc-state rather than vc-locking-user.
4183         (vc-cvs-checkout): Modify access rights directly if the user
4184         requested not to use `cvs edit'.  And refresh the mode line.
4186         * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
4187         (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
4189 2000-09-04  Stefan Monnier  <monnier@cs.yale.edu>
4191         * vc-cvs.el (vc-cvs-checkout): Docstring fix.  Added a `(if
4192         workfile' that got lost when the code was extracted from vc.el.
4193         And merged the tail with the rest of the code (not possible in the
4194         old vc.el where the tail was shared among all backends).  And
4195         explicitly set the state to 'edited if `writable' is set.
4197         * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
4198         (vc-cvs-state): Be careful to return the value from
4199         vc-cvs-parse-state.
4200         (vc-cvs-parse-status): Use expand-file-name.  Don't set 'vc-state
4201         property but return it instead.  Also be careful to handle a nil
4202         or "" `rev' when workfile is non-nil (it was handled properly when
4203         workfile was nil).
4205         * vc.el: Removed those pesky unnecessary `(function' quotes.
4206         (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
4207         directly in the defvar.
4208         (vc-do-command): Bind inhibit-read-only so as to properly handle
4209         the case where the destination buffer has been made read-only.
4210         (vc-diff): Delegate to vc-version-diff in all cases.
4211         (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
4212         (vc-annotate-mode-variables): Removed (code moved partly to
4213         defvars and partly to vc-annotate-add-menu).
4214         (vc-annotate-mode): Turned into a derived-mode.
4215         (vc-annotate-add-menu): Moved in code in
4216         vc-annotate-mode-variables.
4217         (vc-update-change-log): Use make-temp-file if available.
4219 2000-09-04  Martin Lorentzson  <martinl@delysid.gnu.org>
4221         * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
4222         `vc-checkout-model' updated to `vc-cvs-update-model'.
4224 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4226         * vc.el (vc-next-action-on-file): Added handling of state
4227         `unlocked-changes'.
4228         (vc-checkout-carefully): Is now practically obsolete, unless the
4229         above is too slow to be enabled unconditionally.
4230         (vc-update-change-log): Fixed typo.
4232         * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
4234         * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
4235         Now handles state `unlocked-changes'.
4236         (vc-sccs-workfile-unchanged-p): New function, to support the above.
4238         * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
4240         * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
4241         (vc-rcs-fetch-master-state): Bug fixes.  Recognize state
4242         `unlocked-changes'.
4243         (vc-rcs-workfile-unchanged-p): Renamed from
4244         `vc-rcs-workfile-unchanged'.  This is not a real backend-specific
4245         function yet, but supposed to become one soon.
4247         * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
4248         `vc-steal-lock'.
4249         (vc-call-backend): Changed error message.
4250         (vc-state): Added description of state `unlocked-changes'.
4252 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4254         * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
4255         always return t in CVS-controlled directories.
4257         * vc.el (vc-responsible-backend): New function.
4258         (vc-register): Largely rewritten.
4259         (vc-admin): Removed (implementation moved into vc-register).
4260         (vc-checkin): Redocumented.
4261         (vc-finish-logentry): If no backend defined yet (because we are in
4262         the process of registering), use the responsible backend.
4264         * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4265         Updated function lists.
4266         (vc-call-backend): Fixed typo.
4268         * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
4269         New functions.
4270         (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
4271         Removed query option.  Redocumented.
4273 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4275         * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
4277         * vc.el: Updated callers of `vc-checkout-required' to use
4278         `vc-checkout-model'.
4280 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4282         * vc-rcs.el (vc-rcs-backend-release-p): function added.  other
4283         stuff updated to reference this function instead of the old
4284         `vc-backend-release-p'.
4286 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4288         * vc-sccs-hooks.el (vc-uses-locking): Renamed to
4289         vc-checkout-model.  Return appropriate values.  Updated callers.
4291 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4293         * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
4294         (vc-backend-revert): Function moved into `vc-revert';
4295         `vc-next-action' must be updated to accomodate this change.
4296         (vc-backend-steal): Function moved into `vc-finish-steal'.
4297         (vc-backend-logentry-check): Function moved into
4298         `vc-finish-logentry'.
4299         (vc-backend-printlog): Function moved into `vc-print-log'.
4300         (vc-backend-uncheck): Function moved into `vc-cancel-version'.
4301         (vc-backend-assign-name): Function moved into
4302         `vc-create-snapshot'.
4304 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4306         * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
4307         Rename to vc-checkout-model.  Return appropriate values.
4308         Update callers.
4310         * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
4311         to vc-checkout-model.
4312         (vc-checkout-required): Rename to vc-checkout-model.
4313         Re-implement and re-comment.
4314         (vc-after-save): Use vc-checkout-model.
4316 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4318         * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
4319         Update to use the vc-BACKEND-diff functions instead.
4320         `vc-diff' is now working.
4322         * vc-rcs.el (vc-rcs-logentry-check): New function.
4324         * vc-cvs.el (vc-cvs-logentry-check): New function.
4326         * vc-sccs.el (vc-sccs-diff): Function changed name from
4327         `vc-backend-diff'.  This makes `vc-diff' work.
4329         * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
4330         of functions possibly implemented in a vc-BACKEND library.
4331         (vc-checkout-required): Fix bug that caused an error to be
4332         signaled during `vc-after-save'.
4334         * vc.el: Fix typo.
4335         This checkin is made with our new VC code base for the very first time.
4336         A simple `(vc-checkin (buffer-file-name))' was used to perform it.
4338         * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
4339         `vc-checkout-required' updated to `vc-cvs-uses-locking'.
4341         * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
4342         updated to `vc-uses-locking'.
4343         (vc-checkout-required): Call to backend function.
4344         `vc-checkout-required' updated to `vc-uses-locking' instead.
4346         * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
4347         `vc-checkout-required' updated to `vc-rcs-uses-locking'.
4349         * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
4350         to match the split into various backends.
4351         (vc-backend-checkin): Remove.  Merge with `vc-checkin'.
4352         (vc-retrieve-snapshot): Bug fix.
4354 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4356         * vc-sccs.el (vc-sccs-release): Doc fix.
4358 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4360         * vc.el (vc-next-action-on-file): Bug found and fixed.
4361         (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
4362         (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
4364         * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
4365         (vc-rcs-checkout): Name space cleaned up.  No more revision number
4366         crunching function names that are not prefixed with vc-rcs.
4367         (vc-rcs-checkout-model): Function added.  References to
4368         `vc-checkout-model' replaced.
4370 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4372         * vc.el (vc-next-action-on-file): Rewritten for the new state model.
4373         (vc-backend-merge-news): Renamed to `vc-merge-news'.  (Specific parts
4374         still need to be split, and implemented for RCS).
4376 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4378         * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
4380         * vc-sccs.el (vc-sccs-admin): Added the query-only option as
4381         required by the vc.el file.
4383         * vc-rcs.el (vc-rcs-admin): Added the query-only option as
4384         required by the vc.el file.
4385         (vc-rcs-exists): Function added.
4387         * vc-cvs.el (vc-cvs-admin): Added the query-only option as
4388         required by the vc.el file.
4390         * vc.el (vc-admin): Updated to handle selection of appropriate
4391         backend.  Current implementation is crufty and need re-thinking.
4393         * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
4395 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4397         * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
4398         beginning of annotate buffers correctly.
4400         * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
4401         (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
4402         functionality updated quite a lot to support multiple backends.
4403         Variables `vc-annotate-mode', `vc-annotate-buffers',
4404         `vc-annotate-backend' added.
4406         * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
4407         `vc-annotate-difference' added to supported backend functions.
4409 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4411         * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
4412         Use with-temp-file instead of /bin/sh.  Merged from mainline
4414 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4416         * vc-sccs-hooks.el (vc-sccs-registered): Updated.
4418         * vc-rcs-hooks.el (vc-rcs-registered): Updated.
4420         * vc-cvs-hooks.el (vc-cvs-registered): Updated.
4422 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4424         * vc-hooks.el: vc-state-heuristic added to
4425         vc-backend-hook-functions.
4427         * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
4429         * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
4431         * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
4432         `vc-uses-locking' to `vc-checkout-required'.  Rename the `locked'
4433         state to `reserved'.
4435         * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
4436         `vc-checkout-required'.  Rename the `locked' state to `reserved'.
4438 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4440         * vc-rcs-hooks.el: Implement new state model.  Hardly anything
4441         untouched.
4443         * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
4445         * vc.el (vc-update-change-log): Use small-temporary-file-directory,
4446         if defined.  (Merged from main line, slightly adapted.)
4448         * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
4449         millenium problem (merged from mainline).
4451 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4453         * vc-cvs.el: Split the annotate feature into a BACKEND-specific
4454         part and moved the non-BACKEND stuff to vc.el.
4456         * vc.el: Split the annotate feature into a BACKEND specific part
4457         and moved it from the vc-cvs.el file to this one.
4459 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4461         * vc-hooks.el: Implement new state model.
4462         (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
4463         (vc-locking-user): Simplify.  Now only needed if the file is
4464         locked by somebody else.
4465         (vc-lock-from-permissions): Remove.  Functionality is in
4466         vc-sccs-hooks.el and vc-rcs-hooks.el now.
4467         (vc-mode-line-string): New name for former vc-status.  Adapted.
4468         (vc-mode-line): Adapt to use the above.  Remove optional parameter.
4470         * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
4471         Various simplifications and adaptations all over the place.
4473         * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
4474         Simplify and adapt the rest.
4476         * vc.el (vc-resynch-window): Add TODO comment: check for
4477         interaction with view mode according to recent RCS change.
4478         (vc-backend-merge-news): Merge "CMUP" patch from mainline.
4480 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4482         * vc.el: Convert the remaining function comments to docstrings.
4484 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4486         * vc.el (vc-backend-release, vc-release-greater-or-equal)
4487         (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
4488         (vc-minor-part, vc-previous-version): Functions that operate and
4489         compare revision numbers got proper documentation.  Comments added
4490         about their possible removal.
4492 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4494         * vc.el (vc-latest-on-branch-p): Function removed and replaced in
4495         the vc-backend.el files.
4497         * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
4499         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
4500         (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
4501         (vc-rcs-previous-version): Functions added.
4503         * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
4505         * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
4507 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4509         * vc-hooks.el (vc-master-templates): Is really obsolete.
4510         Comment out the definition for now.  What is the right procedure
4511         to get rid of it?
4512         (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
4513         rewritten.
4514         (vc-default-registered): Remove.
4515         (vc-check-master-templates): New function; does mostly what the
4516         above did before.
4517         (vc-locking-user): Don't rely on the backend to set the property.
4519         * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
4520         Rewrite documentation.
4521         (vc-rcs-templates-grabbed): New variable.
4522         (vc-rcs-grab-templates): New function.
4523         (vc-rcs-registered): Rewrite to use above mechanism.
4525         * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
4526         Rewrite documentation.
4527         (vc-sccs-templates-grabbed): New variable.
4528         (vc-sccs-grab-templates): New function.
4529         (vc-sccs-registered): Rewrite to use above mechanism.
4530         (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
4531         Don't throw the result, simply return it.
4533         * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
4534         (vc-cvs-find-master): Remove.  Code is now in vc-cvs-registered.
4535         (vc-cvs-registered): Does the check itself now.  Simplify.
4537         * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
4538         from main line.
4540 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4542         * vc-cvs.el (vc-cvs-diff): New function.
4544         * vc-sccs.el (vc-sccs-diff): New function.
4546         * vc-rcs.el (vc-rcs-diff): New function.
4547         (vc-rcs-checkout): Bug (typo) found and fixed.
4548         (vc-rcs-register-switches): New variable.
4550         * vc.el (vc-backend-diff): Function removed and placed in the
4551         backend files.
4553 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4555         * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
4557         * vc.el (vc-backend-checkout): Function removed and replaced in
4558         the vc-backend.el files.
4560         * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
4562         * vc.el (vc-backend-admin): Removed and replaced in the
4563         vc-backend.el files.
4565         * vc.el (Martin): Removed all the annotate functionality since it
4566         is CVS backend specific.
4568 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4570         * spec.txt: Added specification of vc-state.
4572         * vc-sccs-hooks.el (vc-sccs-master-properties):
4573         Remove handling of vc-latest-version and
4574         vc-your-latest-version.  What used to be vc-latest-version, is now
4575         returned as vc-workfile-version.
4576         (vc-sccs-workfile-version): Adapt.
4578 2000-09-04  Dave Love  <fx@gnu.org>
4580         * vc.el: [Merged from mainline.]
4581         (vc-dired-mode): Make the dired-move-to-filename-regexp
4582         regexp match the date, to avoid treating date as file size.
4583         Add YYYY S option to WESTERN/
4585 2000-09-04  Dave Love  <fx@gnu.org>
4587         * vc.el: Require `compile' when compiling.
4588         (vc-logentry-check-hook): New option.
4589         (vc-steal-lock): Use compose-mail.
4590         (vc-dired-mode-map): Defvar when compiling.
4591         (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
4592         vc-sccs.el and renamed.  Callers changed.
4593         (vc-backend-checkout, vc-backend-logentry-check)
4594         (vc-backend-merge-news): Doc fix.
4595         (vc-default-logentry-check): New function.
4596         (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
4597         (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
4598         (vc-backend-merge): Doc fix.  Use backend functions.
4599         (vc-check-headers): Use backend functions.
4601         * vc-cvs.el: Require vc when compiling.
4602         (vc-cvs-register-switches): Doc fix.
4603         (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
4604         (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
4605         (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
4606         New functions (code from vc.el).
4607         (vc-annotate-display-default): Fix interactive spec.
4608         (vc-annotate-time-span): Doc fix.
4610         * vc-rcs.el: Require vc when compiling.
4611         (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
4612         (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
4613         (vc-rcs-checkin): New functions (code from vc.el).
4614         (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
4615         Doc fix.
4616         (vc-rcs-release): Deleted.  (Duplicated vc-rcs-system-release).
4618         * vc-sccs.el: Require vc when compiling.
4619         (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
4620         (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
4621         (vc-sccs-revert)
4622         (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
4623         from vc.el).
4624         (vc-sccs-add-triple, vc-sccs-record-rename)
4625         (vc-sccs-lookup-triple): Moved from vc.el and renamed.
4626         (vc-sccs-admin): Doc fix.
4628 2000-09-04  Martin Lorentzson  <martinl@gnu.org>
4630         * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
4631         (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
4632         (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
4633         from vc.el.
4635         * vc-sccs.el (vc-admin-sccs): Added from vc.el
4637         * vc-cvs.el: Moved the annotate functionality from vc.el.
4638         (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
4640 2000-09-04  Dave Love  <fx@gnu.org>
4642         * vc.el (vc-backend-release): Call vc-system-release.
4644         * vc-sccs.el (vc-sccs-system-release):
4645         Renamed from vc-sccs-backend-release.
4647         * vc-rcs.el (vc-rcs-system-release):
4648         Renamed from vc-rcs-backend-release.
4650         * vc-cvs.el (vc-cvs-system-release):
4651         Renamed from vc-cvs-backend-release.
4653 2000-09-04  Dave Love  <fx@gnu.org>
4655         * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
4656         backend files.
4657         (vc-backend-release): Dispatch to backend functions.
4658         (vc-backend-release-p): Don't mention CVS, RCS.  [The SCCS case
4659         probably needs attention.]
4661         * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
4662         (vc-sccs-backend-release): New function.
4664         * vc-cvs.el (vc-cvs-release): Moved from vc.el.
4665         (vc-cvs-backend-release): New function.
4667         * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
4668         Doc fix.
4669         (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
4670         (vc-default-dired-state-info): New function.
4671         (vc-dired-state-info): Dispatch to backends.
4672         (vc-dired-hook): Doc fix.  Simplify, pending removal of CVS specifics.
4674         * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
4675         from vc.el and renamed.
4677 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4679         * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
4680         (vc-version-other-window, vc-backend-assign-name): Removed
4681         references to vc-latest-version; sometimes changed into
4682         vc-workfile-version.
4684         * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
4685         vc-rcs-master-workfile-version.
4686         (vc-rcs-workfile-version): Use the above.  Don't call
4687         vc-latest-version (that was unreachable code, anyway).
4688         (vc-rcs-fetch-master-properties): Doc fix.
4690         * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
4691         (vc-backend-hook-functions): Removed them from this list, too.
4692         (vc-fetch-properties): Removed.
4693         (vc-workfile-version): Doc fix.
4695         * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
4696         (vc-rcs-workfile-version, vc-rcs-locking-user)
4697         (vc-rcs-uses-locking): Use it.
4699         * vc-hooks.el (vc-consult-rcs-headers):
4700         Moved into vc-rcs-hooks.el, under the name
4701         vc-rcs-consult-headers.
4703         * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
4704         headers.
4705         (vc-cvs-find-master): Use this name only; correct different
4706         versions of the name.
4708         * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
4709         New functions.
4710         (vc-sccs-locking-user): Use the latter.
4712         * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
4713         New functions.
4715         * vc-hooks.el (vc-master-locks, vc-master-locking-user):
4716         Moved into both
4717         vc-rcs-hooks.el and vc-sccs-hooks.el.  These properties and access
4718         functions are implementation details of those two backends.
4720 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4722         * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
4723         (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
4725         * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
4726         (vc-sccs-parse-locks): SCCS-specific code moved here from
4727         vc-hooks.
4729         * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
4730         code moved here from vc-hooks.
4732         * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
4733         into back-end specific parts and removed.  Callers not updated
4734         yet; because I guess these callers will disappear into back-end
4735         specific files anyway.
4737 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4739         * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
4740         (vc-backend-checkout): Changed calls to `vc-checkout-model' to
4741         `vc-uses-locking'.
4743         * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
4744         Store yes/no in the property, and return t/nil.  Updated all
4745         callers.
4747         * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
4748         vc-sccs-uses-locking.  Don't set property.
4749         (vc-sccs-locking-user): Don't set property.
4751         * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
4752         vc-cvs-uses-locking.  Don't set property here; leave that to
4753         vc-hooks.
4754         (vc-cvs-locking-user): Reflect above change.  Streamlined.
4756         * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
4757         vc-rcs-uses-locking.
4758         (vc-rcs-locking-user): Reflect above change.
4760 2000-09-04  Dave Love  <fx@gnu.org>
4762         * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
4764         * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
4766         * vc-hooks.el (vc-checkout-model): Punt to backends.
4768         * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
4770         * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
4772         * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
4773         New functions.
4775         * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
4776         New functions.
4778         * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
4779         (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
4781         * vc-hooks.el (vc-default-locking-user): New function.
4782         (vc-locking-user, vc-workfile-version): Punt to backends.
4784 2000-09-04  Dave Love  <fx@gnu.org>
4786         * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
4787         (vc-master-workfile-version): Moved from vc-hooks.
4789         * vc-rcs-hooks.el: Fix duplicate code in last change.
4791         * vc-rcs-hooks.el: Require vc-hooks when compiling.
4792         (vc-rcs-master-templates): Improve :type.
4793         (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
4794         vc-master-workfile-version): Moved from vc-hooks.
4796         * vc-sccs-hooks.el: Require vc-hooks when compiling.
4797         (vc-sccs-master-templates): Improve :type.
4798         (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
4800         * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
4802         * vc-cvs-hooks.el: Require vc-hooks when compiling.
4803         (vc-cvs-master-templates): Improve :type.  Use
4804         vc-cvs-find-cvs-master.
4805         (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
4806         from vc-hooks.
4807         (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
4809         * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
4810         Moved to vc-cvs-hooks.
4812         * vc-hooks.el: Add doc strings in various places.  Simplify the
4813         minor mode setup.
4814         (vc-handled-backends): New user variable.
4815         (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
4816         simplification.
4818 2000-09-04  Dave Love  <fx@gnu.org>
4820         * vc.el: Some doc fixes for autoloaded and interactive functions.
4821         Fix compilation warnings from ediff stuff.
4822         (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
4824         * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
4826         * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
4828         * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
4830 2000-09-04  Dave Love  <fx@gnu.org>
4832         * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4833         New variable.
4834         (vc-make-backend-function, vc-loadup, vc-call-backend)
4835         (vc-backend-defines): New functions.
4837         * vc-hooks.el: Various doc fixes.
4838         (vc-default-back-end, vc-follow-symlinks): Custom fix.
4839         (vc-match-substring): Function removed.  Callers changed to use
4840         match-string.
4841         (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
4842         Simplify.
4844 2000-09-04  Dave Love  <fx@gnu.org>
4846         * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
4847         type.
4848         (vc-sccs-project-dir, vc-search-sccs-project-dir)
4849         (vc-sccs-registered): Doc fix.
4851         * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
4852         (vc-cvs-registered): Doc fix.
4854         * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
4855         (vc-rcs-registered): Doc fix.
4857 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4859         * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
4861         * vc-hooks.el: vc-registered has been renamed
4862         vc-default-registered.  Some functions have been moved to the
4863         backend specific files.  they all support the
4864         vc-BACKEND-registered functions.
4866 2000-09-04  Andre Spiegel  <spiegel@inf.fu-berlin.de>
4868         * vc-hooks.el: This is 1.113 from the emacs sources
4870         * vc.el: This is 1.244 from the emacs sources
4872 2000-09-04  Dave Love  <fx@gnu.org>
4874         * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
4875         menu-bar-update-hook.
4877         * help.el (help-manyarg-func-alist): Add
4878         find-operation-coding-system.
4880         * wid-edit.el (widget-sexp-validate): Fix garbled code.
4882         * custom.el (custom-set-variables): Print message about errors in
4883         setting.
4885 2000-09-03  Andrew Innes  <andrewi@gnu.org>
4887         * makefile.w32-in: Change to DOS line endings.
4889 2000-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
4891         * mouse.el (mouse-popup-menubar): Supply the prompt string for
4892         minor-mode keymaps, if they don't have one.
4894 2000-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
4896         * eshell/esh-module.el (eval-when-compile): Don't lose if
4897         esh-module.el's file name is truncated to DOS 8+3 limits.
4899 2000-09-01  John Wiegley  <johnw@gnu.org>
4901         * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
4902         predicate, which caused entries in the completion list to be
4903         doubled.
4905 2000-08-30  John Wiegley  <johnw@gnu.org>
4907         * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
4908         sending to subprocesses.  Also, hook pre-command-hook if
4909         `eshell-send-direct-to-subprocesses' is non-nil.
4910         (eshell-send-direct-to-subprocesses): New config variable.  If t,
4911         subprocess input is send immediately.
4912         (eshell-toggle-direct-send): New function.
4913         (eshell-self-insert-command): New function.
4914         (eshell-intercept-commands): New function.
4915         (eshell-send-input): If direct subprocess sending is enabled,
4916         don't echo any input to the Eshell buffer.  Let the subprocess
4917         handle that.  This requires "stty echo" in bash, for example.
4919 2000-08-28  John Wiegley  <johnw@gnu.org>
4921         * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
4922         completion function for Eshell's implementation of `unset'.
4924 2000-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
4926         * info.el (Info-directory-list): Doc fix.
4928 2000-08-31  Peter Breton  <pbreton@ne.mediaone.net>
4930         * filecache.el (file-cache-add-directory-using-find): Don't quote
4931         wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
4933 2000-08-31  Kenichi Handa  <handa@etl.go.jp>
4935         * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
4936         coding systems.
4938 2000-08-30  Andrew Innes  <andrewi@gnu.org>
4940         * timer.el (run-with-idle-timer): Undo last change, so that timer
4941         is not activated immediately if Emacs is already idle.  Some
4942         existing code relies on this behaviour.
4944 2000-08-30  Miles Bader  <miles@gnu.org>
4946         * frame.el (set-frame-font): Do completion of font-name for
4947         interactive use.
4949 2000-08-30  Kenichi Handa  <handa@etl.go.jp>
4951         * international/quail.el (quail-start-translation): Bind locally
4952         last-command-event, last-command, and this-command.
4953         (quail-start-conversion): Likewise.
4954         (quail-self-insert-command): Fix docstring.
4956 2000-08-29  Gerd Moellmann  <gerd@gnu.org>
4958         * progmodes/executable.el
4959         (executable-make-buffer-file-executable-if-script-p): Check that
4960         buffer contains at least 2 characters.
4962 2000-08-29  Eli Zaretskii  <eliz@is.elta.co.il>
4964         * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
4966 2000-08-29  Dave Love  <fx@gnu.org>
4968         * diff-mode.el (diff-mode) <defgroup>: Add :version.
4969         (diff-mode-shared-map): Bind mouse-2.
4970         (diff-imenu-generic-expression): New variable.
4971         (diff-mode): Use it.
4973         * mouse.el (mouse-major-mode-menu): Use local-key-binding.
4974         (mouse-popup-menubar): Add minor mode menus.
4975         (popup-menu): Check for lookup-key returning number.
4977 2000-08-29  Miles Bader  <miles@gnu.org>
4979         * comint.el (comint-send-input): Create overlays using the proper
4980         front/read-advance arguments.
4982 2000-08-29  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
4984         * ps-print.el: Even/odd pages printing.  Doc fix.
4985         (ps-print-version): New version number (6.0).
4986         (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
4987         (ps-background, ps-begin-file, ps-begin-job): Code fix.
4988         (ps-print-duplex-feature): Variable eliminated.
4989         (ps-even-or-odd-pages): New variable.
4991         * progmodes/ebnf2ps.el: Doc fix.
4992         (ebnf-version): New version (3.3).
4993         (ebnf-user-arrow): Change variable customization to sexp.
4994         (ebnf-user-arrow): Function eliminated.
4995         (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
4997 2000-08-29  Kenichi Handa  <handa@etl.go.jp>
4999         * help.el (help-xref-mule-regexp): New variable.
5000         (help-make-xrefs): Handle help-xref-mule-regexp.
5002         * international/mule-cmds.el (help-xref-mule-regexp-template): New
5003         variable.
5004         (describe-input-method): Temporarily activate the specfied input
5005         method to display the information.
5006         (describe-language-environment): Hyperlinks to mule related items.
5008         * international/mule-diag.el (charset-multibyte-form-string): New
5009         function.
5010         (list-character-sets-1): Use charset-multibyte-form-string.
5011         (describe-character-set): New function.
5012         (describe-coding-system): Hyperlinks to safe character sets.
5014         * international/quail.el (quail-help): New arg PACKAGE.
5015         Hyperlinks to mule related items.
5016         (quail-help-insert-keymap-description): Use
5017         substitute-command-keys instead of describe-bindings.
5018         (quail-translation-help): Hyperlinks to mule related items.
5020 2000-08-28  John Wiegley  <johnw@gnu.org>
5022         * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
5023         have a defsubst call itself.  Made `eshell-flatten-list' back into
5024         a function again.
5026         * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
5027         catch, in case re-centering point at bottom messes up the display.
5028         This happens frequently in Emacs 21, due I believe to variable
5029         line heights.
5031         * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
5032         to call `find-tag-interactive'.
5034         * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
5035         the list of remember directories.
5037 2000-08-28  John Wiegley  <johnw@gnu.org>
5039         * align.el: Test align-region-separate to see if it's a symbol.
5041 2000-08-28  John Wiegley  <johnw@gnu.org>
5043         * eshell/esh-util.el (eshell-flatten-list): Made this function
5044         into a defsubst form.  It gets used very frequently, although
5045         calls don't occur all that often.
5047         * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
5048         examining it.
5050         * eshell/esh-cmd.el (eshell-rewrite-while-command):
5051         (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
5052         `eshell-protect'.
5053         (eshell-copy-handles): Created a new macro for duplicating the
5054         current set of open handles.  This is needed by the looping
5055         functions.
5056         (eshell-do-eval): Fixed while and if, so that the eshell-test-body
5057         is not incorrectly stomped on.
5059         * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
5060         declaration for pcomplete-use-paring.
5061         (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
5062         value of eshell-cmpl-use-paring.
5063         * pcomplete.el (pcomplete-use-paring): New config variable, to
5064         indicate whether paring should be used.
5065         (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
5066         completion alternatives that have already been used.
5068         * eshell/esh-mode.el (eshell-repeat-argument): Added function,
5069         bound to C-c C-y, which will repeat the previous N arguments
5070         (based on prefix argument).
5071         (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
5073         * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
5074         if there is no *Help* buffer.  This is for XEmacs, which renames
5075         its help buffers uniquely.  TODO: Find out what the current buffer
5076         name to delete is.
5078         * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
5079         first entry that correlates to a passwd/group number.  Later
5080         entries (used for group/user name aliasing to multiple IDs) are
5081         ignored.
5083         * eshell/em-xtra.el (eshell/expr):
5084         * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
5085         (eshell-grep, eshell/diff, eshell/locate):
5086         * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
5087         argument list, before passing it to the system command.
5089         * eshell/esh-mode.el (eshell-find-tag): Added a special version of
5090         `find-tag' for use at final position in Eshell buffers (which
5091         otherwise triggers an error on Emacs 21).
5092         (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
5093         buffer, if it is currently bound to `find-tag'.
5095         * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
5096         in the list of matched Makefile names.
5097         (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
5098         directory, prefer its contents to Makefile.
5100         * eshell/em-dirs.el (eshell/cd): cd commands that look up
5101         directory parts (like "cd old new", or "cd =regexp"), are now case
5102         sensitive on non-Windows/DOS platforms.
5104         * eshell/esh-mode.el (eshell-parse-command-input): When a user
5105         types RET after an open delimiter (like "), display a message
5106         indicating that Eshell is waiting for the closing delimiter.
5108         * eshell/esh-var.el (eshell/unset): Added a command for unsetting
5109         environment variables.
5111         * eshell/em-unix.el (eshell/diff): Added logic to fail more
5112         gracefully if the user enters incorrect arguments.
5114         * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
5115         Eshell buffers.
5117         * eshell/esh-var.el (eshell-interpolate-variable):
5118         * eshell/esh-mode.el (eshell-move-argument):
5119         * eshell/em-unix.el (eshell-du-sum-directory):
5120         * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
5121         * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
5122         (not (= ...)).
5124         * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
5125         to ensure the `preserve' flag gets propagated when doing recursive
5126         directory copies.
5128 2000-08-28  Stefan Monnier  <monnier@cs.yale.edu>
5130         * eshell/em-hist.el (eshell-put-history, eshell-get-history):
5131         Don't convert \n into \0177 in memory.
5132         (eshell-read-history, eshell-write-history): Convert \n to \0177,
5133         and back again, when reading and writing.
5135 2000-08-28  Eli Zaretskii  <eliz@is.elta.co.il>
5137         * eshell/esh-util.el (eshell-processp): Added to relieve constant
5138         testing of `fboundp' on `processp'.
5140         * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
5141         (eshell/jobs): Don't call process-list if it is not bound.
5142         (eshell-gather-process-output): Support systems where async
5143         subprocesses aren't supported.
5144         (eshell-scratch-buffer, eshell-last-sync-output-start): New
5145         variables.
5147         * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
5148         eshell-do-eval returns t.
5149         (eshell-do-pipelines-synchronously): New defmacro.
5150         (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
5151         when async subprocesses aren't supported.
5152         (eshell-do-eval): Use eshell-processp.  Don't throw eshell-defer
5153         if async subprocesses aren't supported.
5154         (eshell-resume-command): Don't assume STATUS is a string.
5156         * eshell/em-unix.el (eshell/rm): Use eshell-processp.
5158         * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
5159         (eshell-close-target, eshell-get-target): Use eshell-processp.
5160         (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
5161         fix.
5162         (eshell-get-target, eshell-create-handles): Doc fix.
5164 2000-08-28  Miles Bader  <miles@lsi.nec.co.jp>
5166         * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
5167         criterion to include commands that output something, as long as it
5168         leaves both the command and the end-of-buffer visible when the
5169         command has exited.
5170         (eshell-review-quick-commands): Adjust the help doc string
5171         accordingly.
5173 2000-08-28  Peter Breton  <pbreton@ne.mediaone.net>
5175         * locate.el (locate): Cleaned up locate command's interactive prompting
5176         Thanks to Fran\e,Ag\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
5178         * filecache.el (file-cache-case-fold-search): New variable
5179         (file-cache-assoc-function): New variable
5180         (file-cache-minibuffer-complete): Use file-cache-assoc-function.
5181         Use file-cache-case-fold-search variable
5182         (file-cache-add-file): Use file-cache-assoc-function
5183         (file-cache-delete-file): likewise
5184         (file-cache-directory-name): likewise
5185         (file-cache-debug-read-from-minibuffer): likewise
5187 2000-08-28  Gerd Moellmann  <gerd@gnu.org>
5189         * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
5190         (abbrev-table-name): New function.
5191         (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
5192         If non-nil list local abbrev, only.
5194 2000-08-28  Stanislav Shalunov  <shalunov@internet2.edu>
5196         * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
5197         from Gnus support code, and use special article copy buffer
5198         `(gnus-original-article-buffer)' instead.  This allows to get rid
5199         of article-hide-headers usage (which breaks in the latest Gnus
5200         version).  Thanks to Detlev Zundel.
5202 2000-08-28  Kenichi Handa  <handa@etl.go.jp>
5204         * international/quail.el (quail-use-package): Hide "... loaded"
5205         message.
5206         (quail-start-translation, quail-start-conversion): Likewise.
5208         * international/kkc.el (kkc-region): Hide "... loaded" message.
5210 2000-08-27  Dave Love  <fx@gnu.org>
5212         * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
5214 2000-08-27  Miles Bader  <miles@gnu.org>
5216         * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
5218 2000-08-27  Kenichi Handa  <handa@etl.go.jp>
5220         * international/ja-dic-cnv.el (skkdic-convert): Insert (require
5221         'ja-dic-cnv), not (require 'skkdic-cnv).
5223 2000-08-26  Miles Bader  <miles@gnu.org>
5225         * faces.el (face-x-resources): Add entry for :inherit.
5226         * cus-face.el (custom-face-attributes): Add support for :inherit
5227         attribute.  Add support for relative face heights.
5228         (custom-face-attributes-get): Treat `nil' as being a default value
5229         for :inherit (as well as `unspecified').
5231         * faces.el (set-face-attribute): Update doc string.
5232         (face-attribute-name-alist): Add :inherit.
5233         (face-valid-attribute-values): Handle :inherit.
5234         (face-read-string): Rephrase prompt to be less confusing.
5235         Assume that DEFAULT is a string, since we must return a string.
5236         (face-read-integer): Use `format' to turn DEFAULT into an
5237         acceptable default for face-read-string.  Match NEW-VALUE against
5238         the string "unspecified", not the symbol `unspecified', since
5239         that's what face-read-string returns.
5240         (read-face-attribute): Lookup a name for old-value in valid, and
5241         use it as a default if we find one.  Treat all values from
5242         face-read-string as strings.  If the default is used, don't do any
5243         more processing on the value, just use the old value directly.
5244         (read-face-and-attribute, modify-face): Tweak prompt.
5245         (read-face-name): Don't assume prompt ends with a space.
5247         * faces.el (describe-face): Add support for :inherit attribute.
5249 2000-08-25  Kenichi Handa  <handa@etl.go.jp>
5251         * terminal.el (terminal-emulator): Fix args to `concat'.  Now
5252         concat doesn't accept interger.
5254         * international/kkc.el: Remove SKK from Keywords.  Require
5255         ja-dic-utl instead of skkdic-utl.
5257         * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
5258         Provide ja-dic-cnv instead of skkdic-cnv.
5259         (ja-dic-filename): Renamed from skkdic-filename.  Referers changed
5260         (iso-2022-7bit-short): Add safe-charsets property.
5261         (skkdic-convert-postfix): Search Japanese chou-on character in
5262         addition to Hiragana character.
5263         (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
5264         (skkdic-convert): Change file names from skkdic.el to ja-dic.el
5265         (batch-skkdic-convert): Likewise.
5267         * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
5268         Provide ja-dic-utl instead of skkdic-utl.
5269         (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
5271 2000-08-24  Dave Love  <fx@gnu.org>
5273         * disp-table.el (standard-display-default): Make the test of `l'
5274         useful.
5276         * language/european.el ("Latin-8", "Latin-9"): Add input methods,
5277         mod sample text.
5279         * international/iso-ascii.el: Make pilcrow convenient string
5280         consistent with section.
5281         (iso-ascii-display): Set up multibyte characters as well as
5282         unibyte.
5284 2000-08-24  Kenichi Handa  <handa@etl.go.jp>
5286         * international/mule-cmds.el (reset-language-environment): Set
5287         default-process-coding-system to '(undecided . iso-latin-1), which
5288         makes process I/O almost consistent with file I/O.   Call this
5289         function when mule-cmds.el[c] is loaded.
5291 2000-08-22  Andrew Innes  <andrewi@gnu.org>
5293         * makefile.w32-in: New file.
5295 2000-08-22  Miles Bader  <miles@lsi.nec.co.jp>
5297         * comint.el (comint-output-filter): Compare end of
5298         comint-last-output-overlay with the start of the newly inserted
5299         text, not the end, when deciding whether to extend it.
5300         Set saved-point's insertion type to advance after insertion.
5302         * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
5303         since this is now done independently of font-lock mode.
5305 2000-08-21  Gerd Moellmann  <gerd@gnu.org>
5307         * server.el (server-kill-new-buffers): New user option.
5308         (server-existing-buffer): New buffer-local variable.
5309         (server-visit-files): When using an existing buffer, set
5310         server-existing-buffer to t.
5311         (server-buffer-done): If server-kill-new-buffers is t, kill the
5312         buffer, unless it was already present before visiting it with
5313         Emacs server.
5315 2000-08-21  Eli Zaretskii  <eliz@is.elta.co.il>
5317         * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
5318         even if the display doesn't support colors: some displays will
5319         support bold/underline faces.
5321 2000-08-21  Gerd Moellmann  <gerd@gnu.org>
5323         * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
5325         * startup.el (command-line): If user's init file had an error,
5326         add explanatory text to *Messages*.
5328 2000-08-21  Kenichi Handa  <handa@etl.go.jp>
5330         * man.el (Man-getpage-in-background): Decode the process output by
5331         the system locale coding system.
5333 2000-08-20  Dave Love  <fx@gnu.org>
5335         * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
5336         Don't test x-popup-menu.
5337         (function) <complete-function>: Complete only fbound symbols.
5338         <validate, value>: New.
5339         (variable) <complete-function>: Complete only bound symbols.
5340         (coding-system): Add :base-only, :complete-function, :validate,
5341         :value, :prompt-match.
5342         (widget-coding-system-prompt-value): Use read-coding-system and
5343         act on :base-only.
5344         (editable-field): Add :help-echo.
5345         (widget-push-button-gui, widget-push-button-cache)
5346         (widget-gui-action, widget-editable-list-gui): COmment out, along
5347         with uses.
5348         (widget-at): Make arg optional.
5349         (widget-echo-help): Adjust for current help-echo calling sequence.
5350         (widget-specify-field, widget-specify-button)
5351         (widget-specify-insert, widget-get-sibling, widget-image-find)
5352         (widget-convert, widget-insert, widget-leave-text)
5353         (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
5354         (widget-setup, widget-field-find, widget-before-change)
5355         (widget-after-change, widget-default-complete)
5356         (widget-default-create, widget-default-delete)
5357         (widget-push-button-value-create, editable-field)
5358         (widget-field-prompt-value, widget-field-validate)
5359         (widget-choice-value-create, widget-choice-action)
5360         (widget-choice-validate, widget-checklist-add-item)
5361         (widget-radio-add-item, widget-radio-chosen)
5362         (widget-radio-value-inline, widget-editable-list-value-create)
5363         (widget-editable-list-entry-create)
5364         (widget-documentation-link-add)
5365         (widget-documentation-string-value-create)
5366         (widget-regexp-validate, widget-file-complete)
5367         (widget-sexp-validate, widget-plist-convert-widget)
5368         (widget-plist-convert-widget, widget-alist-convert-widget)
5369         (widget-alist-convert-widget, widget-color-complete): Simplify,
5370         particularly to avoid bindings which aren't optimized out.
5372         * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
5373         Doc fix.
5374         (down-list, backward-up-list, up-list, kill-sexp)
5375         (backward-kill-sexp, mark-sexp): Make arg optional.
5376         (lisp-complete-symbol): Add optional arg PREDICATE.
5378         * cus-start.el: Add display-buffer-reuse-frames,
5379         file-coding-system-alist.
5381 2000-08-20  Gerd Moellmann  <gerd@gnu.org>
5383         * startup.el (command-line): Clear realized faces after
5384         modifying TTY color mappings.
5386 2000-08-20  Miles Bader  <miles@gnu.org>
5388         * faces.el (face-attr-match-p): Don't return true if ATTRS are
5389         merely a subset of FACE's attributes.
5391 2000-08-19  Miles Bader  <miles@gnu.org>
5393         * comint.el (comint-output-filter): Save the point with a marker,
5394         not just a buffer position.
5396         * international/mule.el (set-buffer-process-coding-system): Make
5397         interactive prompt less confusing.
5399 2000-08-19  Gerd Moellmann  <gerd@gnu.org>
5401         * hilit-chg.el: General cleanup of doc strings, comments and
5402         code formatting.
5404 2000-08-19  Miles Bader  <miles@gnu.org>
5406         * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
5407         Compiler macro removed; beginning-of-line is no longer always
5408         equivalent to forward-line, in the presence of fields.
5410         * comint.el (comint-output-filter): Remove ad-hoc saving of
5411         restriction, and just use save-restriction, now that it works
5412         correctly.  Don't adjust comint-last-input-start to account for
5413         our insertion; it shouldn't have moved because we don't use
5414         insert-before-markers anymore.  Comment out call to
5415         `force-mode-line-update'; why is it here?
5417         * gud.el (gud-basic-call): Temporarily widen gud comint buffer
5418         while checking for prompt to delete.  Use `forward-line 0'
5419         instead of beginning-of-line.
5420         (gud-filter): Temporarily widen gud comint buffer while
5421         examining output.
5423 2000-08-18  Stefan Monnier  <monnier@cs.yale.edu>
5425         * progmodes/sh-script.el: Big bag of typos.
5427         * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
5428         check since ispell-process is not bound when ispell is not yet loaded.
5430 2000-08-18  Dave Love  <fx@gnu.org>
5432         * image.el (find-image): Copy `spec' before using plist-put.
5434 2000-08-18  Gerd Moellmann  <gerd@gnu.org>
5436         * textmodes/ispell.el (ispell-dictionary-alist-6): Add
5437         `portugues'.
5439         * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
5440         backward-kill-sexp, analogous to kill-sexp.
5442         * progmodes/icon.el (icon-indent-line)
5443         (icon-is-continuation-line): Handle comments specially.
5445 2000-08-17  Ken Stevens <k.stevens@ieee.org>
5447         * ispell.el: Set to standard author/maintainer/keyword fields.
5448         Fine tuning to menu map appearance and operation, and added help.
5449         Remove `start' and `end' error messages when compiling.
5450         (ispell-choices-win-default-height): Fixed comment string.
5451         (ispell-dictionary-alist-1): Fixed regexp in castellano and
5452         castellano8 dictionaries.
5453         (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
5454         (ispell-dictionary-alist-4): Fixed regexp in francais-tex
5455         dictionary, added italiano dictionary.
5456         (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
5457         word character
5458         (ispell-tex-skip-alists): Added psfig support.
5459         (ispell-skip-html): Renamed from ispell-skip-sgml.
5460         (ispell-begin-skip-region-regexp, ispell-skip-region)
5461         (ispell-minor-check): Improved html skipping support to skip across
5462         code, and recognize `&' commands without propper `;' syntax;
5463         (ispell-process-line): Fix alignment error when manually
5464         correcting spelling.
5465         (ispell): Fix comment string.
5466         (ispell-add-per-file-word-list): Always put word list on new line.
5468 2000-08-17  Gerd Moellmann  <gerd@gnu.org>
5470         * format.el (format-encode-run-method): Fix error message to say
5471         `encode' instead of `decode'.  Use save-window-excursion around
5472         shell-command-on-region as in format-decode-run-method because
5473         shell-command-on-region can display a buffer with error output.
5474         (format-decode): Don't record undo information for the decoding.
5475         (format-annotate-function): Add parameter FORMAT-COUNT.  Make
5476         that number part of the temporary buffer name so that more than
5477         one decoding using a temporary buffer can happen safely.
5479         * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
5480         of `A-z' in the regexp.
5482         * hilit-chg.el: Fix typos in commentary.
5484         * help.el (view-emacs-news): Rewritten for new naming scheme
5485         for old NEWS files.
5487         * startup.el (command-line): Pop to *Messages* in case an error
5488         is signaled while loading user-init-file.
5490 2000-08-17  Andreas Schwab  <schwab@suse.de>
5492         * files.el (insert-directory): Don't lose original file name,
5493         undoing an undocumented change.
5495 2000-08-17  Alex Schroeder  <alex@gnu.org>
5497         * sql.el (sql-magic-go): Use comint-bol.
5498         (sql-copy-column): Use comint-line-beginning-position.
5499         (comint-line-beginning-position): Define a replacement for
5500         comint-line-beginning-position if it is not fboundp.
5502 2000-08-17  Alex Schroeder  <alex@gnu.org>
5504         * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
5505         it didn't have any effect anyway.
5507 2000-08-17  Alex Schroeder  <alex@gnu.org>
5509         * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
5510         --pset and pager=off instead of sending \\o|cat at the beginning
5511         of the session.
5513 2000-08-17  Miles Bader  <miles@gnu.org>
5515         * progmodes/octave-inf.el: Add compatibility definition of
5516         comint-line-beginning-position.
5518 2000-08-17  Kenichi Handa  <handa@etl.go.jp>
5520         * startup.el (normal-top-level): Look in each dir in load-path for
5521         a leim-list.el file too.  This assures of loading leim-list.el
5522         that is created at Emacs installation time even if a user have his
5523         own leim-list.el.
5525 2000-08-17  Miles Bader  <miles@gnu.org>
5527         * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
5528         foreground color to black if the background is dark.
5530 2000-08-16  Stefan Monnier  <monnier@cs.yale.edu>
5532         * loadhist.el (unload-feature): Typo.
5534         * finder.el (finder-compile-keywords):
5535         * cus-dep.el (custom-make-dependencies): Add local-variable settings
5536         to the generated file.
5538         * mail/mh-e.el (mh-make-local-vars):
5539         Replace make-variable-buffer-local with make-local-variable.
5541         * play/landmark.el:
5542         * options.el (Edit-options-{set,toggle,t,nil}):
5543         * mail/mailabbrev.el (mail-abbrevs-mode):
5544         * textmodes/tex-mode.el (tex-expand-files):
5545         * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
5547         * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
5549         * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
5550         (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
5551         Allow going past the last element.
5552         * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
5553         (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
5554         (cvs-mouse-toggle-mark): Don't move point.
5555         (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
5557         * progmodes/compile.el (grep): Provide a default set of files.
5558         (next-error): Docstring fix.
5559         (compilation-find-file): Avoid find-file (fails in a dedicated window).
5561         * emacs-lisp/easy-mmode.el (define-minor-mode):
5562         Use `symbol-value' to keep the byte-compiler quiet.
5564         * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
5565         (diff-find-source-location): New fun, extracted from diff-goto-source.
5566         (diff-goto-source): Use it.
5567         (diff-next-complex-hunk, diff-filter-lines): New function.
5568         (diff-apply-hunk): New command.
5570         * smerge-mode.el (smerge-mode-menu): Doc fix.
5572         * msb.el (msb-mode): Define it in terms of define-minor-mode.
5574 2000-08-16  Dave Love  <fx@gnu.org>
5576         * windmove.el (windmove) <defgroup>: Add :version.
5578         * net/goto-addr.el: Don't require browse-url.  Require thingatpt.
5579         (goto-address-fontify-p, goto-address-highlight-p)
5580         (goto-address-url-face, goto-address-url-mouse-face)
5581         (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
5582         (goto-address-url-regexp): Use thing-at-point-url-regexp.
5583         (goto-address-fontify, goto-address-at-mouse): Simplify,
5584         (goto-address-at-point): browse-url-url-at-point,
5585         goto-address-find-address-at-point can return nil.
5586         (goto-address-find-address-at-point): Return nil on failure.
5588         * align.el (align) <defgroup>: Add :version.
5590         * calculator.el (calculator): Add :version.
5591         (calculator): Use two lines for calculator window if `modeline'
5592         face is boxed.
5594         * play/5x5.el: Doc fixes.
5595         (5x5) <defgroup>: Add :version.
5597         * play/fortune.el (fortune) <defgroup>: Add :version.
5598         (fortune-append): Fix error message.
5599         (fortune-from-region): Doc fix.
5601         * play/pong.el (pong): Doc fix.
5603         * play/morse.el: Keywords, commentary, autoloads.
5605 2000-08-16  Eli Zaretskii  <eliz@is.elta.co.il>
5607         * desktop.el (desktop-save): Don't look at symbol-value of a
5608         member of minor-mode-alist, unless it is boundp.
5610 2000-08-16  Sam Steingold  <sds@gnu.org>
5612         * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
5613         `while'; use `with-current-buffer' instead of `save-excursion'.
5614         Removed unnecessary kludges now that "*Buffer List*" is excluded.
5616 2000-08-16  Kenichi Handa  <handa@etl.go.jp>
5618         * international/ccl.el (declare-ccl-program): Docstring modified.
5619         (ccl-execute-with-args): Likewise.
5621 2000-08-16  Miles Bader  <miles@gnu.org>
5623         * progmodes/sql.el: Add compatibility definition of
5624         comint-line-beginning-position.
5626 2000-08-15  Gerd Moellmann  <gerd@gnu.org>
5628         * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
5629         'buffer-menu' property.
5630         (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
5631         fails.
5632         (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
5633         buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
5634         wasn't killed.
5636         * buff-menu.el (list-buffers-noselect): Don't display the
5637         *Buffer List* buffer.
5639         * font-lock.el: Require jit-lock to prevent a very late
5640         `Loading jit-lock' message.
5642         * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
5643         * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
5644         mail address.
5646 2000-08-15  Miles Bader  <miles@gnu.org>
5648         * textmodes/ispell.el (ispell-graphic-p): New constant.
5649         (ispell-choices-win-default-height, ispell-help): Use
5650         `ispell-graphic-p' instead of `xemacsp'.
5652 2000-08-15  Dave Love  <fx@gnu.org>
5654         * simple.el: Autoload widget-convert when compiling.
5655         (mail-user-agent): Doc fix.
5657         * help.el (function-called-at-point, variable-at-point): Use
5658         with-syntax-table.
5659         (help-manyarg-func-alist): Add insert-and-inherit.
5661         * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
5663         * delsel.el (delsel-unload-hook): New function.
5665         * find-file.el: Doc fixes.  Move provide to end.
5666         (ff) <defgroup>: Add :link.
5667         (ff-goto-click): Deleted.
5668         (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
5669         Use mouse-set-point.
5671         * textmodes/tildify.el: Doc fixes.
5672         (tildify) <defgroup>: Add:version.
5674         * progmodes/glasses.el (glasses) <defgroup>: Add :version.
5675         (glasses-custom-set): Use set-default, not set.
5676         (minor-mode-alist): Propertize the lighter.
5677         (glasses-mode): Provide optional arg.
5679         * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
5680         (global-cwarn-mode): Don't make it a user option.  Unquote lambda.
5681         (cwarn-font-lock-feature-keywords-alist): Don't make it a user
5682         option.  Provide :type.
5683         (cwarn-configuration): Provide :type.
5684         (cwarn-mode): Doc fix.
5686         * add-log.el (change-log-merge): Doc fix.
5687         (change-log-redate): New command.
5689         * net/browse-url.el (browse-url-filename-alist): Add a clause for
5690         Doze and Dog.
5691         (browse-url): Use dolist, not mapcar.
5692         (browse-url-at-point): Check for null url.
5693         (browse-url-event-buffer, browse-url-event-point): Functions
5694         deleted.
5695         (browse-url-at-mouse, browse-url-netscape): Simplify.
5697         * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
5698         modes.
5699         (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
5700         Fix previous change to mapcan.
5701         (msb--init-file-alist, msb--add-separators)
5702         (msb--make-keymap-menu): Simplify.
5703         (msb--choose-file-menu): Use copy-sequence.
5704         (msb-mode-map): Add title to keymap.
5705         (msb-unload-hook): New function.
5707         * bs.el: Fix indentation.
5708         (bs) <defgroup>: Add :links.
5709         (bs-show): Doc fix.
5710         (bs-apply-sort-faces): Don't use window-system.
5711         (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
5713 2000-08-15  Eli Zaretskii  <eliz@is.elta.co.il>
5715         * calendar/timeclock.el (timeclock-file): Run .timelog through
5716         convert-standard-filename.
5718 2000-08-14  Gerd Moellmann  <gerd@gnu.org>
5720         * emacs-lisp/authors.el: New file.
5722         * paren.el (show-paren-priority): New user option.
5723         (show-paren-function): Set overlay priorities to
5724         show-paren-priority.
5726 2000-08-14  Miles Bader  <miles@gnu.org>
5728         * comint.el (comint-bol): Use `forward-line 0' instead of calling
5729         beginning-of-line with inhibit-field-text-motion bound.
5731 2000-08-14  Gerd Moellmann  <gerd@gnu.org>
5733         * calendar/timeclock.el: New file.
5735 2000-08-14  David Ponce  <david@dponce.com>
5737         * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
5738         `widget-button-click'. so that one can use left mouse button to
5739         click on dialog buttons.
5741 2000-08-14  Emmanuel Briot  <briot@gnat.com>
5743         * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
5744         identifiers, since XML is case sensitive
5746 2000-08-12  Miles Bader  <miles@gnu.org>
5748         * comint.el (comint-output-filter): Don't bother frobbing
5749         window-start, it doesn't seem to be necessary.
5751         * comint.el (comint-send-string, comint-send-region): Make into
5752         real functions.  Snapshot the prompt before sending.
5754 2000-08-11  Eli Zaretskii  <eliz@is.elta.co.il>
5756         * info.el (Info-find-emacs-command-nodes): Rewrite to use
5757         technique similar to Info-index, instead of relying on specific
5758         names of relevant Index nodes.
5759         (Info-goto-emacs-command-node): Bind Info-history to nil when
5760         going to the first node found by Info-find-emacs-command-nodes.
5762 2000-08-11  Eli Zaretskii  <eliz@is.elta.co.il>
5764         * menu-bar.el (menu-bar-help-menu): Add a :help string.
5766 2000-08-10  Miles Bader  <miles@gnu.org>
5768         * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
5770 2000-08-10  Eli Zaretskii  <eliz@is.elta.co.il>
5772         * info.el (Info-file-list-for-emacs): More elements for the
5773         autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
5774         and woman manuals.
5776 2000-08-10  Miles Bader  <miles@lsi.nec.co.jp>
5778         * comint.el (comint-send-input): Make the newline boundary overlay
5779         rear-nonsticky.  Use `insert' instead of `insert-before-markers'.
5780         (comint-output-filter): Use `insert' instead of
5781         `insert-before-markers'.  Extend comint-last-output-overlay when
5782         necessary since we can't rely on insert-before-markers to do it.
5783         * gud.el (gud-filter): Use `with-current-buffer' instead of
5784         save-excursion when inserting the output, so that point gets
5785         updated correctly; the old method relied on a rather dodgy
5786         side-effect of comint-output-filter to avoid the effect of
5787         save-excursion.
5789 2000-08-10  Eli Zaretskii  <eliz@is.elta.co.il>
5791         * files.el (recover-file): Call insert-directory instead of
5792         invoking `ls' directly.
5794 2000-08-10  Miles Bader  <miles@gnu.org>
5796         * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
5797         (comint-last-prompt-overlay): New variables.
5798         (comint-output-filter): Implement prompt highlighting.
5799         (comint-snapshot-last-prompt): New function.
5800         (comint-send-input): Snapshot the last prompt.
5801         Use comint-highlight-input-face.
5802         (comint-highlight-input-face): Renamed from `comint-highlight-face'.
5803         Use defface instead of defcustom.
5804         (send-invisible, comint-send-eof): Snapshot the last prompt.
5805         (comint-delchar-or-maybe-eof): Use comint-send-eof.
5806         (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
5808 2000-08-09  Stefan Monnier  <monnier@cs.yale.edu>
5810         * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
5811         (regexp-opt-group): Use a list of chars for `letters'.
5812         (regexp-opt-charset): `chars' is now a list of chars.
5813         Use a char-table rather than a vector so it works for multibyte chars.
5815         * pcvs.el (cvs-menu): Don't move point.  Use popup-menu.
5816         Set cvs-minor-current-files to the selected fileinfo.
5817         (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
5818         (cvs-mode-insert): Manually macroexpand `ignore-errors'.
5820 2000-08-09  Eli Zaretskii  <eliz@is.elta.co.il>
5822         * files.el (insert-directory): Don't call access-file on
5823         directories on DOS and Windows.
5825 2000-08-09  Kenichi Handa  <handa@etl.go.jp>
5827         * international/ccl.el (ccl-embed-data): Make ccl-program-vector
5828         longer if necessary.
5829         (ccl-embed-code): Call ccl-embed-data to store CODE in
5830         ccl-program-vector.
5832 2000-08-09  Miles Bader  <miles@gnu.org>
5834         * comint.el (comint-output-filter): Properly handle the case where
5835         the text surrounded by comint-last-output-overlay was deleted.
5837 2000-08-08  Gerd Moellmann  <gerd@gnu.org>
5839         * info.el (Info-insert-dir): Use Info-additional-directory-list if
5840         non-nil.
5841         (Info-file-list-for-emacs): Remove "info" from the list because
5842         that leads to trying to use the documentation from file `info'
5843         in various situations where it isn't appropriate, for instance
5844         C-h C-k C-h i.
5846         * ffap.el (ffap-read-file-or-url-internal): Handle case that
5847         DIR and/or STRING are nil.
5849         * progmodes/compile.el (compilation-setup): Make variable
5850         compilation-error-screen-columns buffer-local, as some comment
5851         in the code suggests it should be.
5853         * files.el (auto-mode-interpreter-regexp): New variable.
5854         (set-auto-mode): Use it.
5856         * indent.el (indent-for-tab-command): Doc fix.
5858         * mouse-sel.el (mouse-sel-mode): Doc fix.
5860         * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
5861         labels.
5863         * help.el (print-help-return-message): When
5864         display-buffer-reuse-frames is set, let the help window been quit,
5865         instead of deleting it, which might delete a reused frame.
5867 2000-08-08  Eli Zaretskii  <eliz@is.elta.co.il>
5869         * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
5870         rename a directory to a name that differs only by its letter case.
5872 2000-08-08  Kenichi Handa  <handa@etl.go.jp>
5874         * international/quail.el (quail-define-rules): Handle Quail decode
5875         map correctly.  Add code for supporting annotations.
5876         (quail-install-decode-map): New function.
5877         (quail-defrule-internal): New optional arguments decode-map and
5878         props.
5879         (quail-advice): New function.
5881 2000-08-07  Sam Steingold  <sds@gnu.org>
5883         * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
5884         `defconst', `define-condition', `with-slots'.
5885         * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
5887 2000-08-03  Miles Bader  <miles@gnu.org>
5889         * comint.el (comint-use-prompt-regexp-instead-of-fields):
5890         New variable.
5891         (comint-prompt-regexp, comint-get-old-input): Document dependence on
5892         comint-use-prompt-regexp-instead-of-fields.
5893         (comint-send-input): Add `input' field property to stuff we send to
5894         the process, if comint-use-prompt-regexp-instead-of-fields is nil.
5895         (comint-output-filter): Add `output' field property to process
5896         output, if comint-use-prompt-regexp-instead-of-fields is nil.
5897         (comint-replace-by-expanded-history)
5898         (comint-get-old-input-default, comint-show-output)
5899         (comint-backward-matching-input, comint-forward-matching-input)
5900         (comint-next-prompt, comint-previous-prompt):  Use field
5901         properties if comint-use-prompt-regexp-instead-of-fields is nil.
5902         (comint-line-beginning-position): New function.
5903         (comint-bol): Use comint-line-beginning-position.  Make ARG optional.
5904         (comint-replace-by-expanded-history-before-point): Use
5905         comint-line-beginning-position and line-end-position.
5906         (comint-last-output-overlay): New variable.
5907         (comint-mode): Make `comint-last-output-overlay' buffer-local.
5909         * shell.el (shell-prompt-pattern): Doc change.
5910         (shell-backward-command): Use line-beginning-position.
5912         * gud.el (gud-gdb-complete-command): Use
5913         comint-line-beginning-position.
5915         * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
5916         comint-bol doesn't actually go to the beginning of the line.
5918         * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
5919         if comint-use-prompt-regexp-instead-of-fields is non-nil.
5920         (try-expand-line-all-buffers): Likewise.
5922         * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
5923         explicitly matching comint-prompt-regexp.
5924         (sql-copy-column): Use comint-line-beginning-position instead of
5925         explicitly matching comint-prompt-regexp.
5927         * progmodes/octave-inf.el (inferior-octave-complete): Use
5928         comint-line-beginning-position.
5930         * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
5932         * progmodes/idlw-shell.el (idlwave-shell-send-command): When
5933         looking for a prompt, use `forward-line 0' instead of
5934         `beginning-of-line', to avoid getting caught by an input field.
5936 2000-08-07  Gerd Moellmann  <gerd@gnu.org>
5938         * files.el (shell-quote-wildcard-pattern): Make sure to return
5939         PATTERN, in the Unix case.
5941 2000-08-07  Eli Zaretskii  <eliz@is.elta.co.il>
5943         * play/zone.el (zone): Discard any pending input before running
5944         the randomly-chosen pgm.
5946 2000-08-07  Kenichi Handa  <handa@etl.go.jp>
5948         * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
5949         checking the existence of any multibyte characters.
5951 2000-08-06  Gerd Moellmann  <gerd@gnu.org>
5953         * help.el (describe-mode): Test minor-mode symbol for being
5954         bound before testing its value for being nil.
5956         * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
5957         `first', `second', and `third'.
5959         * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
5960         (second): Make it an alias for `cadr'.
5962 2000-08-06  Eli Zaretskii  <eliz@is.elta.co.il>
5964         * bs.el (bs-apply-sort-faces): Don't use window-system, since all
5965         types of display support faces now.
5967 2000-08-05  Gerd Moellmann  <gerd@gnu.org>
5969         * pcvs.el (require): Require `cl' during compilation, only.
5971         * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
5972         (toplevel): Remove `remq' and `remove' from autoloads.
5973         (cl-fake-autoloads): New variable.  If set, arrange for an error
5974         when CL functions etc. are autoloaded.
5976 2000-08-04  Eli Zaretskii  <eliz@is.elta.co.il>
5978         * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
5980         * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
5981         popped up, but the user clicks outside the menu, return an empty
5982         regexp (that causes unhighlight-regexp to have no effect).
5984         * menu-bar.el (menu-bar-games-menu): Add Zone.
5986         * hi-lock.el (toplevel): Require font-lock.
5988 2000-08-03  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
5990         * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
5991         (ebnf-8-bit-chars): New var for bug fix.
5992         (ebnf-string): Bug fix.
5994 2000-08-03  Sam Steingold  <sds@gnu.org>
5996         * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
5997         instead of `buffer-string'.
5998         (require 'cl): Always, not just when compiling.
5999         `ignore-errors' in `interactive', `list*', `defun*' &c make this
6000         necessary.
6002 2000-08-03  Eli Zaretskii  <eliz@is.elta.co.il>
6004         * international/mule-cmds.el (select-safe-coding-system): Make
6005         the message text about selecting a safe coding system more clear.
6007 2000-08-02  Gerd Moellmann  <gerd@gnu.org>
6009         * hi-lock.el: New file.
6011         * play/zone.el: New file.
6013         * replace.el (occur): Set tab-width in the *Occur* buffer to the
6014         value of tab-width in the original buffer.  Choose a line number
6015         format that's a multiple of the original buffer's tab width, so
6016         that lines appear right.
6018         * textmodes/ispell.el (ispell): New function, replacing an alias.
6019         Spell-check active region if in transient-mark-mode and mark
6020         is active; otherwise spell-check buffer.
6022 2000-08-02  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6024         * ps-mule.el: Fix a customization problem on
6025         ps-mule-font-info-database-default.
6027 2000-08-02  Eli Zaretskii  <eliz@is.elta.co.il>
6029         * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
6030         display-mouse-p instead of window-system.
6031         (ebrowse-member-mode-map): Ditto.
6033 2000-08-01  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6035         * progmodes/ebnf2ps.el: Update ps-print functions call.
6036         Indentation fix.  Doc fix.
6037         (ebnf-version): New version number (3.2).
6038         (ebnf-format-color, ebnf-begin-job): Code fix.
6040 2000-08-01  Eli Zaretskii  <eliz@is.elta.co.il>
6042         * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
6043         font lock support on window-system.
6044         (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
6046         * textmodes/ispell.el (ispell-highlight-spelling-error): Use
6047         display-color-p, if fboundp, instead of window-system.
6049 2000-07-31  Eli Zaretskii  <eliz@is.elta.co.il>
6051         * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
6052         instead of window-system.
6054         * wid-edit.el (widget-choose): Use display-mouse-p instead of
6055         window-system.
6056         (widget-choice-mouse-down-action): Use display-popup-menus-p
6057         instead of window-system.
6059         * strokes.el (strokes-file): Run the file name through
6060         convert-standard-filename.
6061         (strokes-mode): Call display-mouse-p instead of looking at
6062         window-system.  Change the error message accordingly.
6064         * progmodes/cpp.el (toplevel): Support faces on tty's.
6066         * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
6067         (lm-plot-square, lm-init-display): Don't use window-system.
6069         * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
6070         (gomoku-plot-square, gomoku-init-display): Don't use window-system.
6072         * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
6073         instead of looking at window-system.
6075 2000-07-30  Gerd Moellmann  <gerd@gnu.org>
6077         * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
6078         of testing if iswitchb-prepost-hooks is bound, because the
6079         latter will always be true when invoking a recursive minibuffer
6080         from an active Iswitchb buffer.
6082 2000-07-30  Eli Zaretskii  <eliz@is.elta.co.il>
6084         * files.el (shell-quote-wildcard-pattern): New function.
6085         (insert-directory): Call it.  Only prepend "\" to command on Unix
6086         and GNU/Linux systems.
6088 2000-07-30  Gerd Moellmann  <gerd@gnu.org>
6090         * eshell/esh-groups.el: Change custom :link file names
6091         from `eshell.info' to `eshell'.
6093 2000-07-30  Francis Wright  <fjw@maths.qmw.ac.uk>
6095         * dired.el (dired-build-subdir-alist): Expand subdirectory names
6096         correctly in recursive ange-ftp listings.
6098 2000-07-30  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6100         * ps-print.el: Fix bug 1: if ps-font-size-internal,
6101         ps-header-font-size-internal and
6102         ps-header-title-font-size-internal variables are not set,
6103         ps-nb-pages and ps-line-lengths-internal crashes.  Fix bug 2: if
6104         face text property is (foreground-color . COLOR) or
6105         `(background-color . COLOR)', ps-print crashes.  Doc fix.
6106         (ps-print-version): New version number (5.2.4).
6107         (ps-plot-region): Code fix.
6108         (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
6109         (ps-face-attribute-list, ps-face-attributes, ps-face-background):
6110         Bug fix 2.
6112 2000-07-30  Milan Zamazal  <pdm@freesoft.cz>
6114         * glasses.el (glasses-make-readable): Fix uncapitalization of
6115         identifiers like `myXMLDocument'.
6117 2000-07-28  Karl Fogel  <kfogel@red-bean.com>
6119         * mail/mail-hist.el (mail-hist-previous-input)
6120         (mail-hist-next-input): Do the obvious code factorization.
6121         (mail-hist-retrieve-and-insert): New func, contains common
6122         code of above two.
6123         If inserting a message body, leave point at top.
6125 2000-07-28  Sam Steingold  <sds@gnu.org>
6127         * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
6128         Use `<=', not `<' to compare times!
6129         (ange-ftp-ls): Remove.
6131 2000-07-27  Gerd Moellmann  <gerd@gnu.org>
6133         * play/cookie1.el: Add explanation of how to make cookie.el
6134         compatible with strfile(1) to comment.
6136         * subr.el (remove, remq): New functions.
6138         * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
6139         escape `*' in regexps.
6140         (midnight-find): Reverse order of arguments in the funcall of
6141         TEST.
6143         * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
6144         and `.class'.
6146         * play/meese.el: Add Commentary section.
6148 2000-07-27  Alex Schroeder  <alex@gnu.org>
6150         * sql.el (sql-ms): Added autoload cookie.
6151         (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
6152         (sql-oracle): Ditto.
6153         (sql-help): Doc change.
6155         (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
6156         types and exceptions.
6158 2000-07-27  Alex Schroeder  <alex@gnu.org>
6160         * sql.el (sql-placeholder-history): New variable.
6161         (sql-query-placeholders-and-send): New function that will query
6162         the user and replace placeholders with user input.
6163         (sql-oracle): If running on NT, set comint-input-sender to
6164         sql-query-placeholders-and-send.
6166         (sql-stop): If in the SQLi buffer, insert stop notification, else
6167         present it as a message.
6169 2000-07-27  Alex Schroeder  <alex@gnu.org>
6171         * sql.el (sql-input-ring-separator): Doc change.
6172         (sql-input-ring-file-name): Doc change.
6173         (sql-interactive-mode): Use `sql-input-ring-separator' and
6174         `sql-input-ring-file-name' to set the comint-mode equivalents
6175         without making them local variables.
6176         (sql-stop): Don't bind `sql-input-ring-separator' and
6177         `sql-input-ring-file-name' dynamically to their comint-mode
6178         equivalents.
6180 2000-07-27  Kenichi Handa  <handa@etl.go.jp>
6182         * international/mule.el (register-char-codings): New function.
6183         (make-coding-system): Handle `safe-chars' specification in the arg
6184         PROPERTY.
6186         * international/mule-cmds.el
6187         (find-coding-systems-region-subset-p): This function deleted.
6188         (sort-coding-systems-predicate): New variable.
6189         (sort-coding-systems): New function.
6190         (find-coding-systems-region): Use
6191         find-coding-systems-region-internal.
6192         (find-coding-systems-string): Use find-coding-systems-region.
6193         (find-coding-systems-for-charsets): Check
6194         char-coding-system-table.
6195         (select-safe-coding-system-accept-default-p): New variable.
6196         (select-safe-coding-system): Mostly rewritten.  New argument
6197         ACCEPT-DEFAULT-P.
6198         (select-message-coding-system): Call select-safe-coding-system
6199         with ACCEPT-DEFAULT-P arg.
6200         (reset-language-environment): Reset default-sendmail-coding-system
6201         to the default value iso-latin-1.
6202         (set-language-environment): Don't set the obsolete variable
6203         charset-origin-alist.
6205         * international/codepage.el (cp-coding-system-for-codepage-1):
6206         Give `safe-chars' property to make-coding-system.
6208         * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
6209         calling select-message-coding-system twice.
6211         * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
6212         instead of `safe-charsets'.
6213         (cyrillic-alternativnyj): Likewise.
6214         (ccl-encode-alternativnyj): Don't check the charset
6215         cyrillic-iso8859-5.
6217 2000-07-27  Kenichi Handa  <handa@etl.go.jp>
6219         * composite.el (compose-chars-after): Preserve match data.
6221 2000-07-26  Sam Steingold  <sds@gnu.org>
6223         * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
6224         (ange-ftp-real-file-newer-than-file-p): New function.
6225         (ange-ftp-verify-visited-file-modtime): Use `float-time'.
6226         (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
6228         * tooltip.el (tooltip-float-time): Removed (use `float-time').
6229         * midnight.el (midnight-float-time): Ditto.
6231 2000-07-26  Andreas Schwab  <schwab@suse.de>
6233         * files.el (normal-backup-enable-predicate): Correct
6234         interpretation of the return value of compare-strings.
6236 2000-07-26  Gerd Moellmann  <gerd@gnu.org>
6238         * isearch.el (isearch-resume): New function.
6239         (isearch-done): Add something to command-history to resume
6240         the search.
6241         (isearch-yank-line, isearch-yank-word): Use
6242         buffer-substring-no-properties instead of buffer-substring.
6244         * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
6245         of flyspell-mouse-map.
6247         * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
6248         duplicate definition.
6249         (makefile-mode): Remove duplicate setting of local-abbrev-table.
6251         * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
6252         (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
6254 2000-07-25  Sam Steingold  <sds@gnu.org>
6256         * net/ange-ftp.el: Get modtime over the net.
6257         (ange-ftp-file-modtime): New function.
6258         (ange-ftp-write-region, ange-ftp-insert-file-contents)
6259         (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
6260         Use it.
6261         (ange-ftp-dot-to-slash): New function.
6262         (ange-ftp-fix-name-for-vms): Use it.
6264         * midnight.el (midnight-buffer-display-time): Use
6265         `with-current-buffer'.
6267 2000-07-25  Gerd Moellmann  <gerd@gnu.org>
6269         * find-dired.el: Update copyright notice.
6270         (find-dired): Offer to kill a running `find'.
6272         * enriched.el (enriched-face-ans): For a `foreground-color'
6273         property, return '(("x-color" COLOR))' so that COLOR will be
6274         output as a parameter of the x-color annotation.  Likewise for the
6275         `background-color' property.  In the case of normal face
6276         properties, don't return annotations for unspecified foreground
6277         and background face attributes.
6279 2000-07-25  Kenichi Handa  <handa@etl.go.jp>
6281         * language/japan-util.el (japanese-katakana-region): Fix handling
6282         HANKAKU argument.
6284 2000-07-25  Miles Bader  <miles@gnu.org>
6286         * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
6287         constrain-to-field.  Pass nil ESCAPE-FROM-EDGE argument to
6288         constrain-to-field.
6290 2000-07-24  Andrew Innes  <andrewi@gnu.org>
6292         * timer.el (timer-activate-when-idle): Add optional parameter
6293         DONT-WAIT.  Update docstring.
6294         (run-with-idle-timer): Specify extra parameter to
6295         timer-activate-when-idle, so that timer will be activated
6296         immediately if Emacs is already idle.
6298         * w32-fns.el (w32-using-nt): Fix docstring.
6300 2000-07-24  Dave Love  <fx@gnu.org>
6302         * mouse.el (popup-menu): Set last-command-event.
6303         (mouse-major-mode-menu-prefix): Declare.
6305 2000-07-24  Gerd Moellmann  <gerd@gnu.org>
6307         * textmodes/flyspell.el: Update to author's version 1.5d.
6309         * progmodes/hideshow.el: Update copyright notice.
6311         * vcursor.el: Set maintainer to FSF, since author cannot
6312         be reached.
6314 2000-07-24  Eli Zaretskii  <eliz@is.elta.co.il>
6316         * info.el (Info-goto-emacs-key-command-node): Leave a space after
6317         the prompt.
6319         * mouse.el (popup-menu): Run the keymap through indirect-function,
6320         in case it was defined with define-prefix-key.  If the menu is a
6321         list of keymaps, look up the binding of user's choice in each one
6322         of the keymaps.
6323         (mouse-popup-menubar): If the global and local menu-bar keymaps
6324         don't have a prompt string, create one and insert it into the
6325         keymap.  Don't barf if current-local-map returns nil.
6327 2000-07-24  Francis Wright  <fjw@maths.qmw.ac.uk>
6329         * dired.el (dired-sort-R-check): Added to allow recursive listing
6330         to be undone.
6331         (dired-sort-other): Use it.
6333 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6335         * Release of cc-mode 5.27
6337 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6339         * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
6340         c-beginning-of-statement-1 that caused a bad case of recursion
6341         which could consume a lot of CPU in large classes in languages
6342         that have in-expression classes (i.e. Java and Pike).
6344         * cc-engine.el (c-guess-basic-syntax): Check for in-expression
6345         statements before top level constructs (i.e. case 6 is moved
6346         before case 5 and is now case 4) to catch in-expression
6347         classes in top level expressions correctly.
6349 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6351         * cc-engine.el (c-guess-basic-syntax): Less naive handling of
6352         objc-method-intro. Case 4 removed and case 5I added.
6354         * cc-langs.el (c-append-paragraph-start): New variable used by
6355         c-common-init to get paragraph-start correct.
6356         * cc-langs.el (c-common-init): Use c-append-paragraph-start to
6357         initialize paragraph-start to make it correct both with and
6358         without the javadoc special case.
6360         * cc-mode.el (java-mode): Use c-append-paragraph-start to
6361         initialize paragraph-start for javadoc markup.
6363         * cc-vars.el (c-style-variables-are-local-p): Incompatible
6364         change by defaulting this to t.  It's motivated by the
6365         confusing behavior that otherwise arise from the style system
6366         when editing both java and non-java files at the same time
6367         (see the comments about style setting in c-common-init).
6369 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6371         * cc-cmds.el (c-indent-new-comment-line): Added a kludge
6372         similar to the one in c-fill-paragraph to check the fill
6373         prefix from the adaptive fill function for sanity.
6375 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6377         * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
6378         defun block.
6380 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6382         * cc-mode.texi Documented the change of cpp-macro.
6384 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6386         * cc-align.el (c-lineup-multi-inher): Handle lines with
6387         leading comma nicely. Extended to handle member initializers
6388         too.
6390         * cc-engine.el: (c-beginning-of-inheritance-list,
6391         c-guess-basic-syntax): Fixed recognition of inheritance lists
6392         when the lines begins with a comma.
6394         * cc-mode.texi: Updated doc for c-lineup-multi-inher.
6396         * cc-vars.el (c-offsets-alist): Changed default for
6397         member-init-cont to c-lineup-multi-inher since it now handles
6398         member initializers and indents better for leading commas.
6400 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6402         * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
6403         handling that caused class open lines to be recognized as
6404         statement-conts in some cases.
6406         * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
6407         guessed by the adaptive fill function unless point is on the
6408         first line of a block comment.
6410         * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
6411         when the buffer ends with a macro continuation char.
6413         * cc-engine.el (c-guess-basic-syntax): Added support for
6414         function definitions as statements in Pike.  The first
6415         statement in a lambda block is now labeled defun-block-intro
6416         instead of statement-block-intro.
6418         * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
6419         so that the class surrounding point is selected, not the one
6420         innermost in the state.
6422         * cc-engine.el (c-guess-basic-syntax): Fixed bug in
6423         recognition of switch labels having hanging multiline
6424         statements.
6426         * cc-engine.el (c-beginning-of-member-init-list): Broke out
6427         some code in c-guess-basic-syntax to a separate function.
6428         * cc-engine.el (c-just-after-func-arglist-p): Fixed
6429         recognition of member inits with multiple line arglists.
6430         * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
6431         member-init-cont when the commas are in funny places.
6433 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6435         * cc-defs.el (c-auto-newline): Removed this macro since it's
6436         not used anymore.
6438         * cc-engine.el (c-looking-at-bos): New helper function.
6439         * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
6440         inexpr and toplevel classes apart in Pike.
6442         * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
6443         of case 9A.
6445         * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
6446         constant, since "class" can introduce an in-expression class
6447         in Pike nowadays.
6449 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6451         * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
6452         indentation on cpp-macro lines.
6454         * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
6455         a syntax modifier like comment-intro, to make it possible to
6456         get syntactic indentation for preprocessor directives.  It's
6457         incompatible wrt to lineup functions on cpp-macro, but it has
6458         no observable effect in the 99.9% common case where cpp-macro
6459         is set to -1000.
6461 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6463         * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
6464         member-init-cont when the preceding arglist is several lines.
6466 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6468         * cc-styles.el (c-style-alist): The basic offset for the BSD
6469         style corrected to 8.
6471 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6473         * cc-styles.el (c-style-alist): Adjusted the indentation of
6474         brace list openers in the gnu style.
6476 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6478         * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
6480         * cc-cmds.el (c-electric-brace, c-electric-slash,
6481         c-electric-star, c-electric-semi&comma, c-electric-colon,
6482         c-electric-lt-gt, c-electric-paren): Don't reindent old lines
6483         when c-syntactic-indentation is nil.
6485         * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
6486         we were left at comments preceding the first statement when
6487         reaching the beginning of the buffer.
6489         * cc-vars.el (c-syntactic-indentation): New variable to turn
6490         off all syntactic indentation.
6492 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6494         * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
6495         between the text and the block comment ender when it hangs,
6496         depending on how many there are before the fill.
6498 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6500         * cc-engine.el (c-beginning-of-closest-statement): New helper
6501         function to go back to the closest preceding statement start,
6502         which could be inside a conditional statement.
6503         * cc-engine.el (c-guess-basic-syntax): Use
6504         c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
6506         * cc-engine.el (c-guess-basic-syntax): Better handling of
6507         arglist-intro, arglist-cont-nonempty and arglist-close when
6508         the arglist is nested inside parens.  Cases 7A, 7C and 7F
6509         changed.
6511         * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
6512         up-to-date with javadoc 1.2.
6514 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6516         * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
6517         multiline Pike type decls.
6519 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6521         * cc-cmds.el (c-indent-new-comment-line): Always break
6522         multiline comments in multiline mode, regardless of
6523         comment-multi-line.
6525 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6527         * cc-engine.el (c-guess-basic-syntax): Fixed bug with
6528         fully::qualified::names in C++ member init lists.  Preamble in
6529         case 5D changed.
6531 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6533         * cc-langs.el (c-common-init): Handling of obsolete variables
6534         moved to c-initialize-cc-mode.  More compatible style override
6535         when using global style variables.
6536         * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
6537         variables moved here.
6539         * cc-mode.texi: Documented the special behavior of
6540         c-special-indent-hook as a style variable.  Don't talk about
6541         doing (c-make-styles-buffer-local t) in a mode hook, since
6542         that's already too late to work right.
6544         * cc-styles.el (c-make-styles-buffer-local): Flag style
6545         variable localness in c-style-variables-are-local-p to make
6546         the compatibility measure in c-common-init work well.
6548         * cc-styles.el (c-set-style-1): c-special-indent-hook can no
6549         longer contain set-from-style.
6550         * cc-styles.el (c-initialize-builtin-style): Don't check for
6551         set-from-style on c-special-indent-hook.
6552         * cc-styles.el (c-copy-tree): Obsolete.  The standard function
6553         copy-alist is sufficient now.
6555         * cc-styles.el (c-set-style, c-set-style-1,
6556         c-get-style-variables): Fixes to variable initialization so
6557         that duplicate entries in styles have the same effect
6558         regardless of DONT-OVERRIDE.
6560         * cc-styles.el (c-set-style-2): Fixed bug where the
6561         initialization of inheriting styles failed when the
6562         dont-override flag is set.
6564         * cc-vars.el (c-special-indent-hook): Don't use set-from-style
6565         on this.
6567 2000-07-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
6569         * cc-defs.el (c-forward-comment): Removed the workaround
6570         introduced in 5.38 since it had worse side-effects.  If a line
6571         contains the string "//\"", it regarded the // as a comment
6572         start since the \ temporarily doesn't have escape syntax.
6574 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
6576         * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
6577         ada-xref.el before ada-prj.el, so that the Project menu is created
6578         when ada-prj tries to add to it.
6579         (ada-activate-keys-for-case): Suppress the characters that are not
6580         part of the Ada syntax. Better compatibility with else-mode
6581         (ada-adjust-case-interactive): When auto-casing is not active,
6582         correctly insert newlines (used to insert only ^M).  Prevent the
6583         syntax table from being changed in case of an error
6584         (or '_' becomes part of a word and some commands are confused).
6585         Do nothing if ada-auto-case is nil.
6586         (ada-after-keyword-p): Ignore keywords that are also attributes
6587         (ada-batch-reformat): Update usage comment
6588         (ada-call-from-contextual-menu): New function
6589         (ada-case-read-exceptions): Reinitialize the casing exception list
6590         first to nil first, so that the casing exception file can be
6591         shared.
6592         (ada-check-defun-name): Handles "configure" keyword for gnatdist
6593         files.
6594         (ada-compile-goto-error): Fix regexp used to detect a file:line
6595         anywhere in the error message
6596         (ada-contextual-menu-last-point): New variable
6597         (ada-create-keymap): If the variable delete-key-deletes-forward is
6598         t on XEmacs, it means that DEL should delete one character
6599         forward.
6600         (ada-create-menu): Use :included instead of :visible for XEmacs.
6601         New submenu "Options".
6602         (ada-end-stmt-re): Correctly indent "select ... then abort"
6603         statements.
6604         (ada-fill-comment-paragraph): Correctly delete all leading '--'
6605         even if they don't match ada-fill-comment-prefix Fix handling of
6606         paragraphs on the first or last line of a file.
6607         (ada-format-paramlist): Fix handling of default parameter values.
6608         (ada-get-body-name): New function.
6609         (ada-get-current-indent): Optimized by searchling directly for an
6610         existing generic part or a statement outside of it.  Handle
6611         ada-indent-align-comments when indenting comments Replaced some
6612         regexps by testing directly the next character. This results in a
6613         huge speedup on some files.  New indentation scheme for renames
6614         statements.  Stop looking for the 'while' or 'for' associated with
6615         a 'loop' at the first semicolon encountered.  A "return" can also
6616         match an anonymous access subprogram declaration.
6617         (ada-get-indent-noindent): Ignore strings and comments when
6618         looking for the keywords "record" and "private".
6619         (ada-goto-matching-decl-start): When matching "if", make sure we
6620         are not in fact seeing "end if".  Ignore "when" statements except
6621         when initial keyword was "begin".  Fix handling of nested
6622         procedures.  Add a recursive call to this function to skip over
6623         other 'end' statmts.  Fix indentation for "when .. => begin"
6624         (ada-in-open-paren-p): Fix indentation for complex boolean
6625         expressions, where 'and then', 'or else' and parenthesis
6626         statements are mixed up.
6627         (ada-in-paramlist-p): Skip comments while searching for the
6628         beginning Fix handling of operator declarations.
6629         (ada-indent-align-comments): New variable
6630         (ada-indent-current): Change the syntax table only in the
6631         protected section, so that we are sure it is restored correctly.
6632         (ada-indent-on-previous-lines): Use ada-use-indent and
6633         ada-with-indent Correctly indent "select ... then"
6634         (ada-indent-region): Slight speedup.
6635         (ada-indent-renames): New variable.
6636         (ada-last-which-function-subprog, ada-last-which-function-line):
6637         New variables
6638         (ada-looking-at-semi-private): Correctly indent the 'private'
6639         keyword when it is the first word in a package declaration.
6640         (ada-loose-case-word): Stop searching if at the end of the buffer.
6641         (ada-loose-case-word, ada-capitalize-word): Recase the whole word
6642         even if point is not initially at the end of the word.
6643         (ada-matching-decl-start-re): Add "when".
6644         (ada-mode): Add support for abbrev-mode, outline-mode and
6645         which-func-mode Override the old find-file.el entry in
6646         ff-special-constructs since it is using the obsolete
6647         ada-spec-suffix variable
6648         (ada-no-auto-case): New function
6649         (ada-scan-paramlist): When parsing the argument type, accept
6650         spaces (as in "X 'Class", generated by Rational Rose).
6651         (ada-other-file-name): No longer loads the other file.
6652         (ada-popup-menu): Save and restore the current buffer and cursor
6653         position before and after displaying the menu.
6654         (ada-search-ignore-complex-boolean): New function.
6655         (ada-uncomment-region): Emacs21 already knows how to delete
6656         comments not starting in the first column.
6657         (ada-use-indent): New variable
6658         (ada-which-function): New function.
6659         (ada-with-indent): New variable
6660         (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
6661         can be batch-compiled from the command line.
6663         * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
6664         Add to the menu when the file is loaded, not in ada-mode-hook.
6665         Add -toolbar to the default ddd command Switches moved from
6666         ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
6667         ada-prj-default-comp-opt
6668         (ada-add-ada-menu): Remove the map and name parameters Add the Ada
6669         Reference Manual to the menu
6670         (ada-check-current): rewritten as a call to ada-compile-current
6671         (ada-compile): Removed.
6672         (ada-compile-application, ada-compile-current, ada-check-current):
6673         Set the compilation-search-path so that compile.el automatically
6674         finds the sources in src_dir.  Automatic scrollong of the
6675         compilation buffer.  C-uC-cC-c asks for confirmation before
6676         compiling
6677         (ada-compile-current): New parameter, prj-field
6678         (ada-complete-identifier): Load the .ali file before doing
6679         processing
6680         (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
6681         conform to gnatmake's behavior.
6682         (ada-find-file-in-dir): New function
6683         (ada-find-references): Set the environment variables for gnatfind
6684         (ada-find-src-file-in-dir): New function.
6685         (ada-first-non-nil): Removed
6686         (ada-gdb-application): Add support for jdb, the java debugger.
6687         (ada-get-ada-file-name): Load the original-file first if not done
6688         yet.
6689         (ada-get-all-references): Handles the new ali syntax (parent types
6690         are found between <>).
6691         (ada-initialize-runtime-library): New function
6692         (ada-mode-hook): Always load a project file when a file is opened,
6693         so that the casing exceptions are correctly read.
6694         (ada-operator-re): Add all missing operators ("abs", "rem", "**").
6695         (ada-parse-prj-file): Use find-file-noselect instead of find-file
6696         to open the project file, since the latter does not work with
6697         speedbar Get default values before loading the prj file, or the
6698         default executable file name is wrong.  Use the absolute value of
6699         src_dir to initialize ada-search-directories and
6700         compilation-search-path,...  Add the standard runtime library to
6701         the search path for find-file.
6702         (ada-prj-default-debugger): Was missing an opening '{'
6703         (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
6704         variables.
6705         (ada-prj-default-gnatmake-opt): New variable
6706         (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
6707         buffers, the project file is the default one Save the windows
6708         configuration before displaying the menu.
6709         (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
6710         (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
6711         ...)  regexp-quote identifiers names to support operators +,
6712         -,... in regexps.
6713         (ada-remote): New function.
6714         (ada-run-application): Erase the output buffer before starting the
6715         run Support remote execution of the application.  Use
6716         call-process, or the arguments are incorrectly parsed
6717         (ada-set-default-project-file): Reread the content of the active
6718         project file, not the one from the current buffer When a project
6719         file is set as the default project, all directories are
6720         automatically associated with it.
6721         (ada-set-environment): New function
6722         (ada-treat-cmd-string): New special variable ${current}
6723         (ada-treat-cmd-string): Revised.  The substitution is now done for
6724         any ${...} substring
6725         (ada-xref-current): If no body was found, compiles the spec
6726         instead.  Setup ADA_{SOURCE,OBJECTS}_PATH before running the
6727         compiler to get rid of command line length limitations.
6728         (ada-xref-get-project-field): New function
6729         (ada-xref-project-files): New variable
6730         (ada-xref-runtime-library-specs-path)
6731         (ada-xref-runtime-library-ali-path): New variables
6732         (ada-xref-set-default-prj-values): Default run command now does a
6733         cd to the build directory.  New field: main_unit Provide a default
6734         file name even if the current buffer has no prj file.
6736         * ada-prj.el:
6737         Rewritten to show a tabbed-dialog.
6738         (ada-prj-add-ada-menu): Remove the map and name parameters.
6739         (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
6740         New function
6741         (ada-prj-load-directory, ada-prj-subdirs-of): New functions
6742         (ada-prj-load-from-file): New function
6743         (ada-prj-save): Always save fields that depend on the current buffer
6744         (ada-prj-show-value): New function
6746         * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
6747         Ada mode. This will allow us to display the Ada menu in any buffer
6748         we want (for project items).
6749         (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
6750         number of spaces in the header.
6752 2000-07-24  Dave Love  <fx@gnu.org>
6754         * ediff-init.el (ediff-region-help-echo): Bind face-help.
6756 2000-07-23  Noah Friedman  <friedman@splode.com>
6758         * type-break.el (type-break): perform autosave.
6759         Suggested by Stephen Gildea <gildea@intouchsys.com>.
6760         (type-break-do-query): Cancel query schedule while performing
6761         actual query, to avoid possibility of a second query being made
6762         while first one is already in progress.
6763         (type-break-time-stamp-format): New variable.
6764         (type-break-time-stamp): New function.
6765         (type-break-time-warning): Use it.
6766         (type-break-keystroke-warning): Use it.
6767         (type-break-noninteractive-query): Use it.
6769         * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
6770         cookie.
6771         Use add-minor-mode to set minor-mode-alist, if available.
6772         (eldoc-echo-area-use-multiline-p): New user option.
6773         (eldoc-echo-area-multiline-supported-p): New variable.
6774         (eldoc-docstring-format-sym-doc): Use them.
6775         (eldoc-mode): If not using idle timers, append to local post and
6776         pre command hooks.  Suggested by David Byers <davby@ida.liu.se>.
6777         (eldoc-display-message-no-interference-p): Don't interfere with
6778         edebug.
6779         Add autoload cookie for eldoc-mode minor-mode-alist initialization.
6780         (eldoc-function-arglist): New function.
6781         (eldoc-function-argstring): Use it.
6783         * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
6784         auto save directory exists before calling directory-files.
6786 2000-07-23  Dave Love  <fx@gnu.org>
6788         * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
6789         ^o, ^u.
6791 2000-07-21  Dave Love  <fx@gnu.org>
6793         * ediff-init.el (ediff-region-help-echo): Modify to use overlay
6794         now passed to the function.  It now works properly.
6796         * smerge-mode.el (smerge-mode-menu): Fill it out.
6798 2000-07-20  Gerd Moellmann  <gerd@gnu.org>
6800         * info-look.el (info-lookup): If *info* is shown in another frame
6801         on the same display, select that frame, instead of switching to
6802         the Info buffer in another window of the selected frame.
6804         * simple.el (universal-argument-map): Bind numeric keypad keys
6805         kp-0 to kp-9 and kp-subtract.
6806         (digit-argument): Handle these keys.
6808 2000-07-20  Dave Love  <fx@gnu.org>
6810         * net/goto-addr.el (goto-address-fontify): Don't bother with
6811         buffer-modified and read-only stuff -- irrelevant with overlays.
6812         Put an extra property on the overlays and use it to clean up in
6813         case goto-address is re-run.
6815 2000-07-19  Richard M. Stallman  <rms@gnu.org>
6817         * timer.el (run-with-idle-timer): Doc fix.
6819         * mail/mail-utils.el (mail-strip-quoted-names):
6820         Handle case where <...> appears inside "...".
6821         Use replace-match to edit the string more simply.
6822         (rmail-dont-reply-to): Cope with an unmatched ".
6824 2000-07-19  Dave Love  <fx@gnu.org>
6826         * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
6827         implementation.
6829         * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
6830         (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
6831         (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
6833 2000-07-19  Gerd Moellmann  <gerd@gnu.org>
6835         * textmodes/refer.el: Correct maintainer's email address.
6837         * progmodes/hideif.el: Correct author's email address.
6838         Fix typo in comment.
6840         * xml.el: New file.
6842         * mail/mailheader.el: Correct author's mail address.
6844         * gnus/parse-time.el: Correct author's mail address.
6846 2000-07-19  Colin Walters <walters@cis.ohio-state.edu>
6848         * comint.el (comint-highlight-input, comint-highlight-face):
6849         New user options.
6850         (comint-input-ring-file-name): Change custom type.
6851         (comint-mode-map): Bind mouse-2.
6852         (comint-insert-clicked-input): New function.
6853         (comint-send-input): Handle input highlighting.
6855 2000-07-18  Stefan Monnier  <monnier@cs.yale.edu>
6857         * mouse.el (popup-menu): New function.
6858         (mouse-major-mode-menu): Use it.
6860 2000-07-18  Dave Love  <fx@gnu.org>
6862         * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
6863         improvements.
6865 2000-07-18  Gerd Moellmann  <gerd@gnu.org>
6867         * faces.el (face-font-selection-order)
6868         (face-font-family-alternatives): Add custom type.
6870 2000-07-18  Dave Love  <fx@gnu.org>
6872         * cus-edit.el (custom-variable-reset-saved)
6873         (custom-variable-reset-standard): Remove unused bindings.
6875         * rect.el (open-rectangle-line): Remove unused let.
6877         * hl-line.el (hl-line-highlight): Check hl-line-mode.
6879 2000-07-18  Gerd Moellmann  <gerd@gnu.org>
6881         * cdl.el: Fix `Maintainer' keyword.
6883         * play/pong.el: Add author's email address.
6885 2000-07-17  Sam Steingold  <sds@gnu.org>
6887         * files.el (insert-directory): Call `split-string' instead of
6888         re-implementing it.
6890 2000-07-18  Gerd Moellmann  <gerd@gnu.org>
6892         * mail/vms-pmail.el: Change maintainer to FSF.
6894         * net/goto-addr.el: Change maintainer to FSF.
6896         * recentf.el: Update from author.
6898         * info.el (Info-title-face-alist): Removed.
6900 2000-07-18  Eli Zaretskii  <eliz@is.elta.co.il>
6902         * eshell/eshell.el (eshell): Replace links to eshell.info with
6903         links to eshell, to avoid problems on systems where the manual is
6904         installed as `eshell'.
6905         * eshell/esh-cmd.el (eshell-cmd): Ditto.
6906         * eshell/em-smart.el (eshell-smart): Ditto.
6907         * eshell/em-banner.el (eshell-banner): Ditto.
6908         * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
6910         * eshell/em-unix.el (eshell-shuffle-files): Don't disable
6911         same-file check in the MS-DOS version (it does support inodes).
6913         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
6915         * eshell/eshell.el (eshell-directory-name):
6916         Run default directory name through convert-standard-filename.
6918 2000-07-18  Kenichi Handa  <handa@etl.go.jp>
6920         * international/mule-cmds.el (select-safe-coding-system):
6921         Fix typo in the comment.
6923         * language/european.el (compound-text):
6924         Force katakana-jisx0201 to be designated to G1.
6926         * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
6927         Don't translate some national variant characters of latin-jisx0201.
6928         (x-ctext): Force katakana-jisx0201 to be designated to G1.
6930         * international/kkc.el (kkc-after-update-conversion-functions):
6931         New variable.
6932         (kkc-update-conversion): Run functions in it at the tail.
6934 2000-07-16  John Wiegley  <johnw@gnu.org>
6936         * lisp/align.el (align-newline-and-indent):
6937         Adding new function.  for auto-aligning blocks of code on RET.
6938         (align-region): Fixed badly formatted minibuffer message.
6940 2000-07-17  Kenichi Handa  <handa@etl.go.jp>
6942         * international/kkc.el (kkc-show-conversion-list-count): Customize it.
6943         (kkc-region): Update kkc-next-count and kkc-prev-count here.  Show
6944         the conversion list at first if appropriate.
6945         (kkc-next): Don't update kkc-next-count here.
6946         (kkc-prev): Don't update kkc-prev-count here.
6947         (kkc-show-conversion-list-update): Fix setting up of conversion
6948         list message.
6950 2000-07-16  Stefan Monnier  <monnier@cs.yale.edu>
6952         * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
6954 2000-07-16  Dave Love  <fx@gnu.org>
6956         * cus-edit.el (custom-buffer-create-internal): Use a help-echo
6957         function to be more specific.
6959         * wid-edit.el (widget-specify-field, widget-specify-button): Allow
6960         non-string help-echo.
6961         (widget-types-convert-widget): Defsubst it.
6962         (widget-echo-help): Try to cope with a help-echo function of two
6963         possible sorts.
6965 2000-07-15  Jason Rumney  <jasonr@gnu.org>
6967         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
6968         Declare as obsolete.
6970         * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
6972 2000-07-14  Gerd Moellmann  <gerd@gnu.org>
6974         * hilit-chg.el: Fix typo.
6976 2000-07-14  Dave Love  <fx@gnu.org>
6978         * info.el (Info-mode-menu): Fix use of :help, :enable.
6980 2000-07-14  Stefan Monnier  <monnier@cs.yale.edu>
6982         * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
6984 2000-07-13  Dave Love  <fx@gnu.org>
6986         * emacs-lisp/easymenu.el: Doc fixes.
6987         (easy-menu-remove): Defalias to ignore.
6989         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
6990         Call throw correctly.
6992 2000-07-13  Gerd Moellmann  <gerd@gnu.org>
6994         * faces.el (frame-background-mode): Doc fix.
6996         * simple.el (eval-expression-print-length): Change custom type to
6997         allow entering nil as value.
6999 2000-07-13  Dave Love  <fx@gnu.org>
7001         * progmodes/fortran.el (fortran-imenu-generic-expression):
7002         Change definition layout.
7003         (fortran-mode-menu): Reinstate customize entries.
7005         * cus-edit.el (custom-group-menu-create, customize-menu-create):
7006         Use :filter, per old XEmacs code.
7008 2000-07-12  Gerd Moellmann  <gerd@gnu.org>
7010         * term.el (term-send-raw-meta): Strip modifiers from the keyboard
7011         event when deciding what to send to the terminal.
7013 2000-07-12  Dave Love  <fx@gnu.org>
7015         * cus-start.el: Add optional version as 4th element of specs and
7016         use it for several things new in v21.  Remove load-path.  Fix type
7017         of line-number-display-limit.
7019 2000-07-11  Dave Love  <fx@gnu.org>
7021         * progmodes/fortran.el: Don't require easymenu.
7022         Use repeat counts in various regexps.
7023         (fortran-mode-syntax-table): Defvar directly.
7024         (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
7025         (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
7026         Use defvar, not defconst.
7027         (fortran-mode-map): Change locals in `let'.  Use `fortran-auto-fill'.
7028         (fortran-mode): Set fortran-comment-line-start-skip,
7029         fortran-comment-line-start-skip, dabbrev-case-fold-search.
7030         (fortran-comment-indent): Use defsubst.
7031         (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
7032         Use fortran-comment-indent, not fortran-comment-indent-function.
7033         (fortran-comment-region, fortran-electric-line-number): Simplify.
7034         (fortran-auto-fill): New function.
7035         (fortran-do-auto-fill): Deleted.
7036         (fortran-find-comment-start-skip):
7037         Check for non-null comment-start-skip.
7038         (fortran-auto-fill-mode, fortran-fill-statement):
7039         Use fortran-auto-fill.
7040         (fortran-fill): Use fortran-auto-fill.  Check for null
7041         comment-start-skip.  Simplify final clause and use end-of-line finally.
7043         * widget.el (widget-plist-member): New alias.
7045 2000-07-11  Eli Zaretskii  <eliz@is.elta.co.il>
7047         * eshell/esh-module.el (toplevel): Reference
7048         byte-compile-current-file only if it is bound.
7050 2000-07-10  Gerd Moellmann  <gerd@gnu.org>
7052         * dired.el: Don't require `dired-aux'.
7054 2000-07-10  Miles Bader  <miles@lsi.nec.co.jp>
7056         * dired-aux.el (dired-show-file-type): New function.
7057         * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
7058         (dired-show-file-type): Add autoload.
7060 2000-07-10  Kenichi Handa  <handa@etl.go.jp>
7062         * international/mule-diag.el (describe-font): Adjusted for the
7063         change of fontset-info.
7064         (print-fontset): Likewise.
7066 2000-07-09  Stefan Monnier  <monnier@cs.yale.edu>
7068         * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
7070 2000-07-07  Gerd Moellmann  <gerd@gnu.org>
7072         * bindings.el: Bind `[delete]' to delete-char.
7074         * dired.el (dired-find-alternate-file): New function.
7075         (dired-mode-map): Bind `a' to dired-find-alternate-file.
7076         (toplevel): Require dired-aux when compiling.
7077         (dired-buffers): Move defvar within file to avoid compiler warning.
7079         * info.el (Info-last-search): Variable removed.
7080         (Info-search-history): New variable.
7081         (Info-search): New Info-search-history.
7083         * battery.el, info-look.el: Change author's mail address.
7085 2000-07-07  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
7087         * mail/rmail.el (rmail-clear-headers): Don't throw an error
7088         if rmail-ignored-headers is nil.
7089         (rmail-retry-failure): Bind rmail-ignored-headers and
7090         rmail-displayed-headers to nil.
7092 2000-07-06  Gerd Moellmann  <gerd@gnu.org>
7094         * lpr.el (lpr-page-header-switches): Add `-h' switch.
7095         (print-region-1): Don't hard code `-h' here.
7097         * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
7099 2000-07-01  Francesco Potorti`  <pot@gnu.org>
7101         * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
7102         exim can use "your message" instead of "the message".
7104 2000-07-06  Stefan Monnier  <monnier@cs.yale.edu>
7106         * facemenu.el: Docstrings fixes.
7107         (facemenu-get-face): Don't use internal-find-face.
7108         (facemenu-iterate): Rename arg to match the docstring.
7110         * newcomment.el (uncomment-region): Be more careful when skipping
7111         backwards over `=' not to bump into BOBP.
7113 2000-07-05  Michael Kifer  <kifer@cs.sunysb.edu>
7115         * ediff-diff.el (ediff-wordify): Use syntax table.
7116         * ediff-init.el (ediff-has-face-support-p): Use
7117         ediff-color-display-p.
7118         (ediff-color-display-p): Use display-color-p, changed to defun
7119         from defsubst.
7120         Got rid of special cases for NeXT and OS/2.
7121         * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
7122         face.
7124 2000-07-05  Stefan Monnier  <monnier@cs.yale.edu>
7126         * emacs-lisp/lucid.el: Require CL.
7127         (copy-tree, remprop): Remove, it's provided by CL.
7128         (map-keymap): Define in terms of cl-map-keymap.
7129         (extent-property, set-extent-end-glyph): New functions.
7131         * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
7133 2000-07-05  Gerd Moellmann  <gerd@gnu.org>
7135         * Makefile.in (DONTCOMPILE): Add comment that the name may
7136         not be changed without changing the make-dist script.
7138         * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
7139         (cl-mapc): Use mapc instead of cl-old-mapc.
7141 2000-07-05  Andrew Innes  <andrewi@gnu.org>
7143         * makefile.nt: Add support for `bootstrap' and related targets.
7145 2000-07-05  Stefan Monnier  <monnier@cs.yale.edu>
7147         * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
7148         (easy-menu-do-define): Use `menu-item' format.
7149         Handle case where easy-menu-create-menu returns a symbol.
7150         Manually call the potential top-level filter in the function binding.
7151         (easy-menu-filter-return): New arg NAME.
7152         Convert to a keymap if MENU is an XEmacs menu.
7153         (easy-menu-convert-item-1): New.  Extracted from easy-menu-do-add-item.
7154         (easy-menu-converted-items-table, easy-menu-convert-item):
7155         New var and fun to memoize easy-menu-convert-item-1.
7156         (easy-menu-do-add-item): Use it.
7157         (easy-menu-create-menu): Use easy-menu-convert-item.
7158         Wrap easy-menu-filter-return around any :filter specification.
7159         Don't convert the menu if a filter was specified.
7160         Tell easy-menu-make-symbol not to check for MENU being an expression.
7161         (easy-menu-make-symbol): New arg NOEXP.
7163 2000-07-05  Gerd Moellmann  <gerd@gnu.org>
7165         * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
7166         EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
7167         (eval-defun): If called with prefix arg, instrument code for
7168         Edebug.
7170         * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
7171         similar to that of eval-defun.
7173 2000-07-04  Dave Love  <fx@gnu.org>
7175         * hl-line.el (hl-line-overlay): Make it permanent-local.
7177         * calendar/todo-mode.el: Replaced with a working version, based on
7178         revision 1.34 tidied up.
7180 2000-07-03  Miles Bader  <miles@lsi.nec.co.jp>
7182         * paths.el (prune-directory-list): New function.
7183         (Info-default-directory-list): Rewritten to more methodically
7184         enumerate a big list of possible info directories (based on the
7185         list used by the standalone info reader).
7187         * info.el (info-initialize): Use prune-directory-list to remove
7188         non-existent directories from Info-directory-list.
7190         * paths.el (Info-default-directory-list): Try a list of possible
7191         info-directories instead of a single one.  Add the possible
7192         info directory "/usr/share/info".
7194         * woman.el (woman-man.conf-path): Explicitly include the debian
7195         man-db config file "/etc/manpath.config".
7196         (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
7197         are present in `manpath.config'.
7198         (woman-manpath): Include "/usr/share/man".
7200 2000-07-03  Gerd Moellmann  <gerd@gnu.org>
7202         * frame.el (blink-cursor-mode): Don't hide cursor initially.
7204         * startup.el (command-line): Initialize blink-cursor based
7205         on window-system.
7207         * frame.el (blink-cursor): Default to nil if not running under
7208         a window-system.
7210         * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
7211         (face-x-resources): Remove duplicate entry for :font.
7213         * textmodes/refer.el (refer-find-entry-internal): Use some-window
7214         instead of cycling through windows with next-window.
7216         * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
7217         of cycling through windows with next-window.
7219         * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
7220         of cycling through windows with next-window.
7222         * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
7223         (edebug-get-displayed-buffer-points): Use walk-windows/some-window
7224         instead of cycling through windows with next-window.
7226         * calendar/appt.el (appt-select-lowest-window): Use walk-windows
7227         instead of cycling through windows with next-window.
7229         * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
7230         of cycling through windows with next-window.
7232         * terminal.el (te-process-output): Use walk-windows instead of
7233         cycling through windows with next-window.
7235         * server.el (server-switch-buffer): Use some-window instead of
7236         cycling through windows with next-window.
7238         * window.el (some-window): New function.
7239         (walk-windows): Remove reference to walk-windows-start.
7241         * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
7243 2000-07-03  Richard Stallman  <rms@gnu.org>
7245         * window.el (walk-windows): Guarantee termination by keeping a list
7246         of all the windows already handled.
7248 2000-06-28  Eli Zaretskii  <eliz@is.elta.co.il>
7250         * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
7251         window-system.
7253         * man.el (Man-notify-when-ready): Don't use window-system.  If
7254         Man-notify-method is newframe, and the display is not
7255         multi-frame, select the frame created for the man page.
7256         (Man-init-defvars): Doc fix.
7258 2000-06-28  Gerd Moellmann  <gerd@gnu.org>
7260         * faces.el (region): Change background color for light background.
7262         * ediff-wind.el (ediff-setup-control-frame): Remove :box
7263         attribute from mode-line face of Ediff control frame.
7265         * replace.el (query-replace-map): Bind `e' like `E'.
7267 2000-06-28  Eli Zaretskii  <eliz@is.elta.co.il>
7269         * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
7270         Change name to "Select All".
7272         * dos-fns.el (convert-standard-filename): Fix last change.
7274 2000-06-27  Gerd Moellmann  <gerd@gnu.org>
7276         * help.el (describe-variable): Don't insert a second `'s' in front
7277         of the string `value is shown below'.  Since the syntax-table is
7278         set to emacs-lisp-mode-syntax-table, forward-sexp skips over
7279         an existing `'s', so that this won't be deleted.
7281         * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
7282         * pcmpl-unix.el: New files.
7284 2000-06-26  Stefan Monnier  <monnier@cs.yale.edu>
7286         * wid-edit.el (widget-member): Use the new plist-member.
7288 2000-06-26  Gerd Moellmann  <gerd@gnu.org>
7290         * replace.el (perform-replace): Undo change of 2000-04-04.
7291         Instead, move backward 1 character at the end of the loop when
7292         necessary.
7294         * faces.el (fringe): Change face for different backgrounds.
7296         * eshell/esh-module.el (toplevel): Load defgroup's differently;
7297         patch from John.
7299         * eshell/*.el: Change spelling of the Free Software Foundation.
7301         * eshell/esh-toggle.el: Removed.
7303         * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
7305         * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
7306         interactively.
7308 2000-06-26  Alex Schroeder  <alex@gnu.org>
7310         * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
7311         `define-key'; instead of checking `(emacs-version)' check for
7312         `set-keymap-parent' and `set-keymap-name' directly.  Add entries
7313         for `;' and `o' which might be electric.
7315         (sql-electric-stuff): New user option.
7316         (sql-magic-go): New function which uses `sql-electric-stuff'.
7317         (sql-magic-semicolon): New function which uses
7318         `sql-electric-stuff'.
7320         (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
7321         is not fboundp.
7323         (sql-oracle-options): New variable.
7324         (sql-oracle): Use it.
7326         (sql-imenu-generic-expression): Doc change.
7327         (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
7328         is used.
7330         (sql-informix): Added command line parameter "-" to force
7331         sql-informix-program to use stdout.
7333 2000-06-25  Eli Zaretskii  <eliz@is.elta.co.il>
7335         * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
7336         (cp864-decode-table): Doc fix.
7337         (cp720-decode-table): New variable, supports the Arabic OEM
7338         codepage used by Windows.
7339         (cp737-decode-table): New, Greek OEM codepage used by Windows.
7341 2000-06-23  Dave Love  <fx@gnu.org>
7343         * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
7344         (font-lock-fontify-anchored-keywords): Use
7345         line-beginning-position.
7346         (global-font-lock-mode): Use mapc.
7348 2000-06-23  Stefan Monnier  <monnier@cs.yale.edu>
7350         * eshell/esh-module.el: Require CL when compiling.
7352 2000-06-23  Gerd Moellmann  <gerd@gnu.org>
7354         * comint.el (comint-substitute-in-file-name): Call replace-match
7355         with second and third arg t.
7357         * cus-edit.el (custom-button-face, custom-button-pressed-face):
7358         Specify foreground color.
7360         * faces.el (tool-bar, mode-line, header-line): Specify foreground
7361         color.
7363         * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
7365         * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
7366         cddr instead of cdddr.
7368         * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
7369         instead of copy-list.
7371         * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
7372         of copy-list.
7374         * subdirs.el: Add eshell subdirectory.
7376         * eshell: New subdirectory containing the Eshell package.
7378         * pcomplete.el: New file.
7380 2000-06-23  Paul Eggert  <eggert@twinsun.com>
7382         * mail/mailpost.el (post-mail-send-it): Make sure file has
7383         proper permissions from birth.
7385         * files.el (basic-save-buffer-2): When temporarily setting
7386         file modes, set them to current modes plus 0200, not to 0777.
7388         * emerge.el (emerge-make-temp-file): Make sure file has proper
7389         permissions from birth.
7391 2000-06-22  Eli Zaretskii  <eliz@is.elta.co.il>
7393         * files.el (make-backup-file-name-1): On DOS/Windows, run the
7394         backup file name through convert-standard-filename.
7396         * dos-fns.el (convert-standard-filename): Convert leading
7397         directories as well.  When long file names are supported, convert
7398         characters that are invalid in Windows file names.
7400 2000-06-22  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
7402         * ps-print.el: Fix bug: if ^L is the very first buffer character,
7403         ps-print crashes.  New feature: page selection for printing.  Create
7404         raw-text-unix coding system for XEmacs.  Doc fix.
7405         (ps-print-version): New version number (5.2.3).
7406         (ps-plot-region): Bug fix.
7407         (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
7408         (ps-header-sheet, ps-generate, ps-end-job): Code fix.
7409         (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
7410         funs.
7411         (ps-selected-pages, ps-last-selected-pages, ps-first-page)
7412         (ps-last-page): New vars.
7414 2000-06-21  Gerd Moellmann  <gerd@gnu.org>
7416         * progmodes/sh-script.el (sh-while-getopts): Fix handling of
7417         empty option string.
7419 2000-06-21  Eli Zaretskii  <eliz@is.elta.co.il>
7421         * man.el (man): Doc fix.
7423 2000-06-21  Kenichi Handa  <handa@etl.go.jp>
7425         * international/mule-cmds.el (set-language-info-alist): Docstring
7426         fixed.
7428 2000-06-20  Gerd Moellmann  <gerd@gnu.org>
7430         * version.el (emacs-version): Use ISO date format.
7432         * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
7433         instead of `M-backspace'.
7435         * simple.el (turn-off-auto-fill): New function.
7437 2000-06-20  Stefan Monnier  <monnier@cs.yale.edu>
7439         * jit-lock.el (with-buffer-prepared-for-jit-lock):
7440         Renamed from with-buffer-prepared-for-font-lock and use
7441         inhibit-modification-hooks rather than setting *-change-functions.
7442         Update all functions to use the new name.
7443         (jit-lock-first-unfontify-pos): New semantics (and doc).
7444         (jit-lock-mode): Make non-interactive.
7445         Don't automatically turn on font-lock.
7446         Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
7447         Always use jit-lock-after-change.
7448         Remove and restore font-lock-after-change-function.
7449         (turn-on-jit-lock, jit-lock-after-fontify-buffer)
7450         (jit-lock-after-unfontify-buffer): Remove.
7451         (jit-lock-stealth-fontify):
7452         Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
7453         (jit-lock-after-change): Set the `fontified' text-prop to nil.
7455 2000-06-20  Sam Steingold  <sds@gnu.org>
7457         * emacs-lisp/cl-indent.el (toplevel): Indent
7458         `print-unreadable-object' properly.  Untabify.
7460 2000-06-14  Carsten Dominik  <dominik@strw.leidenuniv.nl>
7462         * textmodes/reftex.el (reftex-find-citation-regexp-format):
7463         Support for bibentry.
7464         (reftex-compile-variables): Fixed problem with end of section-re.
7466         * texmodes/reftex-dcr.el (reftex-view-crossref,
7467         reftex-view-crossref-from-bibtex):
7468         Deal with changed `reftex-find-citation-regexp-format'.
7469         (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
7470         Replaced `remprop' with `put'.
7471         (reftex-view-crossref, reftex-view-crossref-when-idle):
7472         Support for bibentry.
7474         * textmodes/reftex-vars.el (reftex-cite-format-builtin):
7475         New entry for bibentry package.
7477         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
7478         Regexp also matches "\nobibliography".
7480         * textmodes/reftex-global.el (reftex-renumber-simple-labels):
7481         Call `reftex-ensure-write-access' before doing anything.
7482         (reftex-ensure-write-access): New function.
7484 2000-06-14  Carsten Dominik  <dominik@strw.leidenuniv.nl>
7486         * progmodes/idlwave.el: File re-installed (update to version 4.2)
7488         * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
7490         * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
7492         * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
7495 2000-06-20  Dave Love  <fx@gnu.org>
7497         * faces.el (frame-background-mode): Use set-default, not set, in
7498         setter.
7499         (frame-update-faces, frame-update-face-colors): Define with
7500         defalias.
7502         * enriched.el (enriched-decode-foreground)
7503         (enriched-decode-background): Don't use internal-find-face.
7505         * apropos.el: Doc fixes.
7507         * cus-edit.el (customize-changed-options): Check arg.
7508         (customize-version-lessp): Don't require decimal point.
7510         * custom.el (defcustom, defgroup): Doc fix.
7512         * newcomment.el (comment) <defgroup>: Add :version.
7513         (comment-multi-line): Doc fix.
7515         * emulation/mlsupport.el (define-hooked-local-abbrev,
7516         define-hooked-global-abbrev): Fix, using define-abbrev.
7518 2000-06-19  Gerd Moellmann  <gerd@gnu.org>
7520         * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
7521         the whole buffer.
7523 2000-06-19  Dave Love  <fx@gnu.org>
7525         * menu-bar.el (menu-bar-options-save): New function.
7526         (menu-bar-options-menu): Use it.
7527         (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
7528         Simplify.
7530 2000-06-19  Andreas Schwab  <schwab@suse.de>
7532         * progmodes/etags.el (tags-query-replace): Put new parameters
7533         START and END at the end, for backward compatibility.
7535 2000-06-19  Kenichi Handa  <handa@etl.go.jp>
7537         * international/codepage.el:
7538         (cp-coding-system-for-codepage-1): Delete special codes for
7539         generating xxx-dos coding system because now a CCL based coding
7540         system can handle EOL conversion by default.
7542         * international/mule.el (make-coding-system): Generate subsidiary
7543         coding systems for EOL handling variants even for a CCL based
7544         coding system.
7546 2000-06-19  Kenichi Handa  <handa@etl.go.jp>
7548         * international/isearch-x.el (isearch-minibuffer-input-method)
7549         (isearch-minibuffer-input-method-function): These variables
7550         deleted.
7551         (isearch-with-input-method): Don't use the above variables.
7552         (isearch-process-search-multibyte-characters): Likewise.  Call
7553         read-string with the arg INHERIT-INPUT-METHOD t.
7555 2000-06-17  Stefan Monnier  <monnier@cs.yale.edu>
7557         * font-lock.el (font-lock-after-fontify-buffer)
7558         (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
7560         * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
7561         Use consistent make-local-variable style for font-lock-fontified.
7562         (jit-lock-fontify-buffer):
7563         Don't bother checking for font-lock-mode and jit-lock-mode.
7565         * time.el: Remove trailing ^M that prevent CVS-merging.
7567 2000-06-16  Gerd Moellmann  <gerd@gnu.org>
7569         * Makefile.in (distclean): New target.
7571 2000-06-16  Stefan Monnier  <monnier@cs.yale.edu>
7573         * Makefile.in (srcdir): Define for update-subdirs.
7575 2000-06-16  Gerd Moellmann  <gerd@gnu.org>
7577         * find-lisp.el: New file.
7579 2000-06-16  Andrew Innes  <andrewi@gnu.org>
7581         * time.el (display-time-mail-function): New variable, to allow
7582         external packages to indicate when new mail is available.
7583         (display-time-update): Use it.
7585 2000-06-16  Kenichi Handa  <handa@etl.go.jp>
7587         * international/mule.el (mule-version): Change version name to
7588         SAKAKI.  AOI has already been used by Meadow.
7590         * international/quail.el (quail-show-guidance-buf): To find the
7591         bottom window (but minibuffer), pay attention to the height of
7592         minibuffer.
7594 2000-06-15  Eli Zaretskii  <eliz@is.elta.co.il>
7596         * arc-mode.el (archive-mode-map): Use the new menu-item format for
7597         menu-bar menus.  Add help strings.  Don't remove the Edit menu
7598         from the menu bar, as the menu bar has enough space now.
7600         * Makefile.in (SHELL): Make sure /bin/sh is used.
7602         * woman.el (woman-man-buffer): Fix bold and underlined CJK
7603         characters, which use series of two ^H characters instead of one.
7605 2000-06-15  Gerd Moellmann  <gerd@gnu.org>
7607         * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
7608         (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
7609         functions.
7610         (Info-find-node-2): Try a case-sensitive search first, then
7611         do a case-insensitive search.
7613         * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
7614         tutorials.
7616         * complete.el (PC-env-vars-alist): New variable.
7617         (PC-complete-as-file-name): New function.
7618         (partial-completion-mode): Initialize PC-env-vars-alist from
7619         process-environment.
7620         (PC-do-completion): Handle completion of env vars.
7622         * info.el (Info-set-mode-line): Show file name in mode line,
7623         use `*Info*' instead of `Info:'.
7625         * startup.el (command-line-1): Change copyright messages to year
7626         2000.
7628 2000-06-15  Dave Love  <fx@gnu.org>
7630         * net/goto-addr.el (goto-address-fontify): Use keymap property,
7631         not local-map.
7633 2000-06-15  Kenichi Handa  <handa@etl.go.jp>
7635         * international/mule.el (set-buffer-file-coding-system): Almost
7636         rewritten to handle `undecided' as no-op.
7638 2000-06-14  Gerd Moellmann  <gerd@gnu.org>
7640         * Makefile.in: New file.
7642         * Makefile: Removed.
7644         * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
7645         (goto-address-highlight-keymap): Bind C-c RET.
7647 2000-06-14  Kenichi Handa  <handa@etl.go.jp>
7649         * mail/sendmail.el (sendmail-send-it): The temporary buffer
7650         inherits buffer-file-coding-system of the current buffer.
7652         * tar-mode.el (tar-extract): For goto-char, use (point-min), not
7653         0.  Give correct argument to set-auto-coding-function.
7654         (tar-expunge): For goto-char, use (point-min), not 0.
7655         (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
7656         (tar-subfile-save-buffer): Likewize.
7658         * international/mule.el
7659         (after-insert-file-set-buffer-file-coding-system): Call
7660         set-buffer-file-coding-system with the arg FORCE t.
7662 2000-06-13  Gerd Moellmann  <gerd@gnu.org>
7664         * mail/sendmail.el (mail-specify-envelope-from): Initialize to
7665         nil.  Contemporary sendmails issue an X-Authentication-Warning if
7666         the sender is set with `-f'.
7668 2000-06-13  Dave Love  <fx@gnu.org>
7670         * help.el (describe-function-1): Kluge around cases of functions
7671         fset to subrs whose doc doesn't match their symbol-name.
7673         * image.el (insert-image): Default STRING to a space.
7675         * info.el Doc fixes.
7676         (Info-build-node-completions): Match Ref tags.
7678 2000-06-13  Eli Zaretskii <eliz@is.elta.co.il>
7680         * frame.el (display-multi-frame-p, display-multi-font-p): New
7681         defaliases for display-graphic-p.
7683         * hl-line.el: Fixed a typo in commentary.
7685 2000-06-13  Kenichi Handa  <handa@etl.go.jp>
7687         * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
7688         fixed.
7690 2000-06-12  Dave Love  <fx@gnu.org>
7692         * image.el (insert-image): Save a little consing.
7694 2000-06-12  Kenichi Handa  <handa@etl.go.jp>
7696         * language/tibet-util.el: Convert all tibetan-1-column characters
7697         to the corresponding tibetan characters.
7698         (tibetan-add-components): Delete code for the special treatment of
7699         'a chung.
7701         * language/tibetan.el (tibetan-composable-pattern): Fix previous
7702         change.
7703         (tibetan-vowel-transcription-alist): More rules added.
7704         (tibetan-composite-vowel-alist): New variable.
7705         (tibetan-precomposition-rule-alist): More rules added.
7707 2000-06-12  Stefan Monnier  <monnier@cs.yale.edu>
7709         * startup.el (command-line): Only call menu-bar-mode if interactive.
7711         * thingatpt.el (toplevel symbol-properties):
7712         * textmodes/makeinfo.el (makeinfo-compile):
7713         * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
7714         * progmodes/hideif.el (hif-compress-define-list)
7715         (hide-ifdef-use-define-alist):
7716         * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
7717         (ange-ftp-vms-add-file-entry):
7718         * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
7719         * man.el (Man-build-man-command):
7720         * mail/rnewspost.el (news-reply-header-hook):
7721         * info.el (Info-insert-dir):
7722         * emulation/mlconvert.el (backward-word, forward-word, setq):
7723         * emacs-lisp/gulp.el (gulp-send-requests):
7724         * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
7725         (byte-optimize-inline-handler, byte-optimize-form-code-walker)
7726         (byte-optimize-apply, end of file):
7727         * emacs-lisp/advice.el (ad-advice-class-completion-table)
7728         (ad-make-freeze-definition):
7729         * startup.el (command-line, command-line-1): Don't quote lambdas.
7731         * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
7732         (cvs-cleanup-removed): New function.
7733         (cvs-cleanup-functions): New var.
7734         (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
7735         some flexibility in specifying additional entries to auto-cleanup.
7736         (cvs-quickdir): New function.
7737         (cvs-mode-insert): Use cvs-fileinfo-from-entries.
7738         (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
7739         (cvs-mode-find-file): Check that we are on a filename or dirname
7740         when invoked through a mouse-click.
7741         (cvs-full-path): Remove.
7742         (cvs-dired-action): Re-introduced.
7743         (cvs-dired-noselect): Use it.
7744         (vc-post-command-functions): use this new hook if available.
7746         * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
7747         (cvs-status-map): Don't inherit from cvs-mode-map anymore.
7748         (cvs-filename-map, cvs-dirname-map): Remove.
7749         (cvs-default-action): Remove.
7750         (cvs-add-face): Use `keymap' rather than `local-map' property, and only
7751         if the arg is really a keymap.
7752         (cvs-fileinfo-pp): Don't use any special map for file and dir names.
7753         Don't hardcode the mapping from state (aka type) to face, but check
7754         the var cvs-fi-<type>-face instead.
7755         (cvs-fileinfo-from-entries): New function.
7757         * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
7758         Docstring fix.
7759         (cvs-find-file-and-jump): Change default to be safer.
7760         (cvs-mode-diff-map): Define it as a function as well.
7761         (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
7762         Bind mouse-2 in this global map rather than with text-properties.
7764         * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
7765         file to resolve the ambiguity between C(conflict) and C(need-merge).
7767 2000-06-12  Kenichi Handa  <handa@etl.go.jp>
7769         * international/mule.el (set-buffer-file-coding-system): If
7770         CODING-SYSTEM is nil, set buffer-file-coding-system to nil
7771         unconditionally.
7773 2000-06-12  Dave Love  <fx@gnu.org>
7775         * wid-edit.el (widget-specify-button): Really suppress the face if
7776         required.
7778 2000-06-11  Gerd Moellmann  <gerd@gnu.org>
7780         * term/x-win.el (x-colors): Add colors from recent rgb.txt.
7782 2000-06-11  Stefan Monnier  <monnier@cs.yale.edu>
7784         * imenu.el (imenu-generic-expression): Docstring fix.
7786         * composite.el (composition-function-table): Move the `put'
7787         below the autoload cookie so we can load the file before loaddefs.
7789         * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
7791         * emacs-lisp/autoload.el (make-autoload): Use `cond'.
7792         Handle easy-mmode-define-global-mode.
7793         For complex macros like define-minor-mode that can generate
7794         several autoload entries, try to autoload entries in the
7795         macroexpanded code.
7797         * emacs-lisp/easy-mmode.el (define-minor-mode):
7798         If KEYMAP is a symbol, just use it.
7799         Use byte-compile-current-file and load-file-name to infer the
7800         proper :require to pass to defcustom.
7801         Wrap the hook var into `progn' so as not to autoload it.
7802         Add a :autoload-end cookie.
7803         Be more careful about the evaluation of KEYMAP.
7804         (easy-mmode-define-global-mode): Add a :autoload-end cookie.
7805         (define-derived-mode): Move define-abbrev-table outside of defvar.
7807 2000-06-10  Stefan Monnier  <monnier@cs.yale.edu>
7809         * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
7810         (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
7811         (backup-compiled-files): Ignore errors during `tar'.
7812         (bootstrap): Make autoloads before elc files.
7814 2000-06-10  Kenichi Handa  <handa@etl.go.jp>
7816         * international/mule.el (set-buffer-file-coding-system): If one of
7817         undecided-XXX is specified, change only EOL conversion.
7819         * international/mule-conf.el (unix): New alias for the coding
7820         system undecided-unix.
7822 2000-06-09  Dave Love  <fx@gnu.org>
7824         * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
7826         * progmodes/executable.el: Byte compile dynamic.
7827         (executable-insert): Change custom type.
7828         (executable-find): Add autoload cookie.
7829         (executable-make-buffer-file-executable-if-script-p): New
7830         function.  After Noah Friedman.
7832         * files.el (after-save-hook): Customize, with
7833         executable-make-buffer-file-executable-if-script-p as an option.
7835 2000-06-09  Kenichi Handa  <handa@etl.go.jp>
7837         * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
7838         "tib24p-mule.bdf" for Tibetan.
7840         * composite.el (decompose-composite-char): Declare it as obsolete.
7842         * man.el (Man-fontify-manpage): Pay attention to underline and
7843         overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
7845 2000-06-08  Gerd Moellmann  <gerd@gnu.org>
7847         * thingatpt.el (forward-thing): Use functionp instead of fboundp.
7848         Set maintainer to FSF since author isn't reachable.
7850 2000-06-08  Dave Love  <fx@gnu.org>
7852         * international/mule-cmds.el (select-safe-coding-system): If
7853         DEFAULT-CODING-SYSTEM is not specified, also check the most
7854         preferred coding-system if buffer-file-coding-system is
7855         `undecided'.  From Handa.
7857 2000-06-08  Kenichi Handa  <handa@etl.go.jp>
7859         * international/mule.el
7860         (after-insert-file-set-buffer-file-coding-system): If the buffer
7861         size is greater than INSERTED, judget that we are not visiting.
7863 2000-06-07  Rajesh Vaidheeswarran  <rv@gnu.org>
7865         * whitespace.el (defgroup whitespace): Comment out `:version'.
7866         XEmacs 20.4 has problems defining the group with this present.
7867         We'll have this commented out till get resolve the problem.
7869 2000-06-07  Gerd Moellmann  <gerd@gnu.org>
7871         * align.el: Update from author.
7873 2000-06-07  Jari Aalto  <jari.aalto@poboxes.com>
7875         * apropos.el (apropos-mode-hook): New user variable.
7876         (apropos-mode): Run apropos-mode-hook.
7878 2000-06-07  David Ponce  <david@dponce.com>
7880         * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
7881         commands.  Require `wid-edit' at run-time.
7883 2000-06-07  David Ponce  <david@dponce.com>
7885         * recentf.el: Added some "Commentary".
7886         (recentf-open-more-files, recentf-edit-list): Minor changes to
7887         move the point at the top of the file list.  This behaviour is
7888         consistent with the menu one when the list contains a lot of
7889         files.
7890         (recentf-cleanup): Now displays the number of items removed from
7891         the list.
7892         (recentf-relative-filter) New menu filter to show filenames
7893         relative to `default-directory'.
7895 2000-06-07  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
7897         * ps-print.el: XEmacs compatibility.  Doc fix.  Can select page size
7898         with/without giving an error if PostScript printer doesn't have this
7899         kind of page size.  Zebra Stripe continues or restarts on next page.
7900         Manual/automatic paper feeding.  Switch or not the header.
7901         (ps-print-version): New version number (5.2.2).
7902         (ps-windows-system): Include emx as a Windows system.
7903         (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
7904         (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
7905         (ps-background-text): Code fix.
7906         (ps-error-handler-message, ps-user-defined-prologue)
7907         (ps-print-prologue-header, ps-printer-name)
7908         (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
7909         (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
7910         (ps-use-face-background): Customization fix.
7911         (ps-n-up-database): Data fix.
7912         (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
7913         (ps-switch-header): New vars.
7914         (ps-xemacs-color-name, ps-face-foreground-name)
7915         (ps-face-background-name, ps-boolean-constant): New funs.
7917 2000-06-07  Dave Love  <fx@gnu.org>
7919         * allout.el: New version from Manheimer.
7921 2000-06-07  Kenichi Handa  <handa@etl.go.jp>
7923         * textmodes/fill.el (fill-find-break-point): Check the validity of
7924         charset.
7926 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
7928         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
7929         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
7930         Call display-color-p and display-mouse-p instead of looking at
7931         window-system.
7933 2000-06-06  Dave Love  <fx@gnu.org>
7935         * image.el (find-image): Doc fix.  Return nil if image not found.
7936         (put-image, insert-image): Make STRING arg optional.
7938 2000-06-06  Kenichi Handa  <handa@etl.go.jp>
7940         * language/vietnamese.el: Remove eval-when-compile.
7941         (viet-viscii-nonascii-translation-table): Define it as a
7942         translation table made from viet-viscii-decode-table.
7943         (viet-viscii-encode-table): Define it as a translation table made
7944         from the reverse map of above.
7945         (viet-vscii-nonascii-translation-table): Define it as a
7946         translation table made from viet-vscii-decode-table.
7947         (viet-vscii-encode-table): Define it as a translation table made
7948         from the reverse map of above.
7949         (ccl-decode-viscii): Use translate-character.
7950         (ccl-encode-viscii, ccl-encode-viscii-font)
7951         (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
7952         Likewize.
7954         * language/cyrillic.el: Remove eval-when-compile.
7955         (cyrillic-koi8-r-nonascii-translation-table): Define it as a
7956         translation table made from cyrillic-koi8-r-decode-table.
7957         (cyrillic-koi8-r-encode-table): Define it as a translation table
7958         made from the reverse map of above.
7959         (ccl-decode-koi8): Use translate-character.
7960         (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
7961         (cyrillic-alternativnyj-nonascii-translation-table): Define it as
7962         a translation table made from cyrillic-alternativnyj-decode-table.
7963         (cyrillic-alternativnyj-encode-table): Define it as a translation
7964         table made from the reverse map of above.
7965         (ccl-decode-alternativnyj): Use translate-character.
7966         (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
7967         Likewize
7969         * international/mule-diag.el (non-iso-charset-alist): Specify
7970         translation table symbol instead of translation table itself.
7971         (list-block-of-chars): CHARSET may be a translation table symbol.
7973         * international/mule.el (make-coding-system): If CODING-SYSTEM
7974         already exists, override it.
7976         * international/fontset.el: Use family `proportional' for Tibetan
7977         fonts.
7979         * international/ccl.el (ccl-compile-translate-character): Don't
7980         check if Rrr has property translation-table.
7981         (ccl-compile-map-multiple): Modified to avoid compiler warning.
7983 2000-06-05  Gerd Moellmann  <gerd@gnu.org>
7985         * info.el: Bind case-fold-search to t when searching in case
7986         a user sets it to nil in a hook.
7988 2000-06-05  Stefan Monnier  <monnier@cs.yale.edu>
7990         * autoarg.el (autoarg-mode, autoarg-kp-mode):
7991         * hl-line.el (hl-line-mode): Use the new :global key argument.
7993         * tar-mode.el (tar-header-block-recompute-checksum): Remove.
7994         (tar-clip-time-string): Prepend a space.
7995         (tar-grind-file-mode): Construct a string rather than modifying one.
7996         (tar-header-block-summarize): Fix docstring.
7997         Use `format' rather than an error-prone set of copy-loops.
7999         * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
8000         (diff-goto-source, diff-unified->context, diff-context->unified)
8001         (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
8002         understand the format output by the `-p' argument to diff.
8004         * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
8005         (sh-re-done): Use defconst.
8006         (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
8007         (sh-help-string-for-variable, sh-guess-basic-offset):
8008         Don't quote lambdas.
8009         (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
8010         (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
8012         * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
8013         (mh-letter-mode): Derive from text-mode.
8014         This implicitly means that it now calls kill-all-local-variables.
8015         Also remove the Emacs-18 compatibility code.
8017         * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
8018         Make use of symbol-property doc-string-elt.
8019         Use memq rather than a sequence of eq.
8020         (doc-string-elt): Fix the wrong or missing previously unused values.
8021         (autoload-print-form): New function extracted from
8022         generate-file-autoloads to allow recursion when handling progn
8023         so that defvar's and defun's docstrings are properly printed.
8024         (generate-file-autoloads): Use it.
8026         * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
8027         Use find-file-hooks in the minor-mode function.
8028         Be careful not to loop indefinitely in the post-command-hook function.
8030 2000-06-05  Michael Kifer  <kifer@cs.sunysb.edu>
8032         * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
8033         tty's.
8034         * ediff-diff.el (ediff-exec-process): Use --binary for fine
8035         differences whenever appropriate.
8036         * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
8037         * viper.el (find-file, find-file-other-window): Get viper to do
8038         wildcards.
8040 2000-06-04  Stefan Monnier  <monnier@cs.yale.edu>
8042         * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
8043         (jit-lock-fontify-buffer): New function for JIT refontification.
8044         (jit-lock-mode): Fix docstring.
8045         Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
8046         Remove jit-lock-after-change from the _local_ hook.
8047         (jit-lock-function-1): Fix docstring.
8049         * info.el (Info-on-current-buffer): Initialize info.
8051         * newcomment.el (comment-indent): Ignore comment-indent-hook.
8053         * progmodes/tcl.el (tcl-indent-for-comment):
8054         Ignore comment-indent-hook.
8056         * emacs-lisp/easy-mmode.el: Require CL during compilation.
8057         (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
8058         (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
8059         and improve to use the lighter to guess the capitalization.
8060         (define-minor-mode): Inline code from easy-mmode-define-toggle.
8061         Add keyword arguments to specify global-ness or the custom group.
8062         Add local-map and help-echo properties to the lighter.
8063         (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
8064         (easy-mmode-define-global-mode): New macro.
8066 2000-06-02  Dave Love  <fx@gnu.org>
8068         * wid-edit.el: byte-compile-dynamic since we typically don't use
8069         all the widgets.  Don't require cl or widget.  Remove
8070         eval-and-compile.  Don't autoload finder-commentary.  Doc fixes.
8071         (widget-read-event): Removed.  Callers changed to use read-event.
8072         (widget-button-release-event-p): Renamed from
8073         button-release-event-p.
8074         (widget-field-add-space, widget-field-use-before-change):
8075         Uncustomize.
8076         (widget-specify-field): Use keymap property, not local-map.
8077         (widget-specify-button): Obey :suppress-face.
8078         (widget-specify-insert): Use modern backquote syntax.
8079         (widget-image-directory): Renamed from widget-glyph-directory.
8080         (widget-image-enable): Renamed from widget-glyph-enable.
8081         (widget-image-find): Replaces widget-glyph-find.
8082         (widget-button-pressed-face): Move defvar.
8083         (widget-image-insert): Replaces widget-glyph-insert.
8084         (widget-convert): Use keywordp.
8085         (widget-leave-text, widget-children-value-delete): Use mapc.
8086         (widget-keymap): Remove XEmacs stuff.
8087         (widget-field-keymap, widget-text-keymap): Define all inside defvar.
8088         (widget-button-click): Don't set point at the click, but re-centre
8089         if we scroll out of window.  Rewritten for images v. glyphs &c.
8090         (widget-tabable-at): Use POS arg, not point.
8091         (widget-beginning-of-line, widget-end-of-line)
8092         (widget-item-value-create, widget-sublist, widget-princ-to-string)
8093         (widget-sexp-prompt-value, widget-echo-help): Simplify.
8094         (widget-default-create): Use widget-image-insert; some rewriting.
8095         (widget-visibility-value-create)
8096         (widget-push-button-value-create, widget-toggle-value-create): Use
8097         widget-image-insert.
8098         (checkbox): Create on and off images dynamically.
8099         (documentation-link): Change :help-echo.
8100         (widget-documentation-link-echo-help): Remove.
8102 2000-06-02  Stefan Monnier  <monnier@cs.yale.edu>
8104         * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
8106         * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
8107         (easy-mmode-define-toggle, define-minor-mode): Use it.
8108         (easy-mmode-define-keymap): Docstring fix.
8109         (define-derived-mode): Default PARENT to fundamental-mode.
8110         Add the derived-mode-parent symbol-property.
8111         (easy-mmode-derived-mode-p): New function.
8113 2000-06-02  Dave Love  <fx@gnu.org>
8115         * files.el (convert-standard-filename): Doc fix.
8116         (normal-backup-enable-predicate): New function.
8117         (backup-enable-predicate): Use it to replace the lambda form.
8119         * calendar/todo-mode.el: [This needs more work on the outline
8120         stuff.]  Doc fixes.
8121         (todo) <defgroup>: Add :version.
8122         (todo-add-category): Don't use pushnew.
8123         (todo-cmd-raise): Fix typo.
8124         (todo-top-priorities): Change temp buffer name.
8125         (todo-category-alist): Avoid redundant lambda.
8126         (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
8127         Use outline-next-heading.
8129         * autoarg.el: Rewritten to use define-minor-mode.
8130         (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
8131         (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
8133 2000-06-02  Kenichi Handa  <handa@etl.go.jp>
8135         * isearch.el (isearch-other-meta-char): Fix previous change.
8137 2000-06-01  Stefan Monnier  <monnier@cs.yale.edu>
8139         * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
8140         (log-edit-done): Only add the comment to the ring if it's different
8141         from the last comment entered.
8143         * isearch.el (isearch-highlight): Turn internal-find-face into facep.
8145 2000-06-01  Dave Love  <fx@gnu.org>
8147         * hl-line.el: Rewritten using define-minor-mode.
8149         * help.el (describe-function-1): Distinguish special form from
8150         builtin function.  Sanity-check presence of arglist for builtins.
8152 2000-06-01  Kenichi Handa  <handa@etl.go.jp>
8154         * international/characters.el: Fix syntax/category setting of
8155         Tibetan characters.
8157         * language/tibet-util.el (tibetan-add-components): Fixes for new
8158         encoding of Tibetan characters.
8159         (tibetan-decompose-precomposition-alist): New variable.
8160         (tibetan-decompose-region): Convert precomposed characters to
8161         non-precomposed characters.
8162         (tibetan-decompose-string): Likewise.
8163         (tibetan-composition-function): Fix args to
8164         thibetan-compose-string.
8166         * language/tibetan.el (tibetan-composable-pattern): More
8167         characters included.
8168         (tibetan-consonant-transcription-alist): Rule for "R" added.
8169         (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
8170         "+R" added.
8171         (tibetan-base-to-subjoined-alist): Rule for "RA" added.
8173         * language/lao-util.el (lao-composition-function): Fix args to
8174         compose-string.
8176         * language/thai-util.el (thai-composition-function): Fix args to
8177         compose-string.
8179         * isearch.el (isearch-update): Set disable-point-adjustment to t
8180         to prevent the point moving to the end of a composition when a
8181         part of a composition is searched.
8182         (isearch-other-meta-char): If the key invoking this command can be
8183         mapped by function-key-map to a printing char, call
8184         isearch-process-search-char directly.
8186 2000-06-01  Stefan Monnier  <monnier@cs.yale.edu>
8188         * emacs-lisp/bytecomp.el:
8189         * frame.el:
8190         * international/mule-cmds.el:
8191         * international/mule-util.el:
8192         * international/mule.el:
8193         * mouse.el:
8194         * subr.el:
8195         * faces.el: Update calls to make-obsolete with a WHEN argument.
8197         * byte-run.el (make-obsolete, make-obsolete-variable):
8198         Add an optional WHEN argument and change the format of the
8199         symbol-property information.
8200         * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
8201         (byte-compile-obsolete, byte-compile-variable-ref): Understand the
8202         new obsolete-symbol-property format and print WHEN if it is provided.
8204 2000-05-31  Dave Love  <fx@gnu.org>
8206         * loadhist.el (loadhist-hook-functions): Remove
8207         before-change-function, after-change-function.
8208         (unload-feature): Deal with symbols which are both bound and
8209         fbound.
8211         * mouse.el (mouse-save-then-kill-delete-region): Don't bind
8212         before-change-function, after-change-function.
8214         * simple.el (newline): Don't bind before-change-function,
8215         after-change-function.
8217 2000-05-31  Rajesh Vaidheeswarran <rv@gnu.org>
8219         * whitespace.el (whitespace-rescan-timer-time): Update interval
8220         set to 600 seconds (10 minutes) instead of 60 seconds since
8221         a large number of whitespace buffers causes emacs to `freeze'
8222         for a considerable amount of time.
8224         * whitespace.el: Updated email address
8226 2000-05-31  Dave Love  <fx@gnu.org>
8228         * add-log.el (change-log-font-lock-keywords) <function>: Add
8229         pattern for function of change.
8230         (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
8231         acknowledgements patterns.
8233 2000-05-31  Kenichi Handa  <handa@etl.go.jp>
8235         * isearch.el (isearch-printing-char): If keyboard coding system is
8236         being used, call isearch-process-search-multibyte-characters.
8238         * international/isearch-x.el: Mostly rewritten.
8240         * international/quail.el (quail-start-conversion): Don't include
8241         unhandled events in the returned events, but set them in
8242         unread-command-events.  Exit if all inputs are deleted.
8244 2000-05-30  Jason Rumney  <jasonr@gnu.org>
8246         * w32-fns.el (w32-charset-info-alist): Add each charset separately.
8248         * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
8249         Reenable code to create initial fontsets.
8250         Use set-fontset-font in place of put-charset-property.
8252 2000-05-30  Gerd Moellmann  <gerd@gnu.org>
8254         * progmodes/perl-mode.el (perl-indent-line): When looking for a
8255         label, ensure that the first colon isn't followed by another.
8257         * paths.el (Info-default-directory-list): Doc fix.
8259         * net/net-utils.el (finger-X.500-host-regexps): New user-option.
8260         (finger): If HOST matches a regexp from finger-X.500-host-regexps,
8261         send a query containing USER only, not USER@HOST.
8263         * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
8264         and rmail-msgend to compute the restriction at the end, instead of
8265         computing it.
8267 2000-05-29  Gerd Moellmann  <gerd@gnu.org>
8269         * dabbrev.el (dabbrev-expand): Don't display messages in the
8270         echo area if the minibuffer window is active.
8272         * jit-lock.el (jit-lock-mode): Add after change function to
8273         local hook.
8275 2000-05-29  Christoph Wedler  <Christoph.Wedler@sap.com>
8277         * antlr-mode.el: New commands: hide/unhide actions,
8278         upcase/downcase literals.
8279         (antlr-tiny-action-length): New user option.
8280         (antlr-hide-actions): New command.  Suggested by
8281         Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
8282         (antlr-mode-map): New binding [C-c C-v].
8283         (antlr-mode-menu): New entries.
8284         (antlr-downcase-literals): New command.
8285         (antlr-upcase-literals): Ditto.
8287         * antlr-mode.el: Minor changes: indendation, mode-name.
8288         (antlr-indent-line): Indent cpp directive at column 0.
8289         (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
8291         * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
8292         (antlr-font-lock-additional-keywords): Workaround for intentional
8293         bug in XEmacs version of font-lock.
8294         (antlr-mode): Set symbol property `mode-name' to "Antlr".  Could
8295         be used by a smarter version of `buffers-menu-grouping-function'.
8297 2000-05-29  Gerd Moellmann  <gerd@gnu.org>
8299         * tmm.el (tmm-prompt): Recognize menu item definitions of the for
8300         `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
8302 2000-05-29  Kenichi Handa  <handa@etl.go.jp>
8304         * international/encoded-kb.el
8305         (encoded-kbd-iso2022-designation-map): Pay attention to that
8306         charset-iso-final-char return -1 for eight-bit-control and
8307         eight-bit-graphic.
8309 2000-05-28  Eli Zaretskii  <eliz@is.elta.co.il>
8311         * speedbar.el (speedbar-use-images, speedbar-update-flag)
8312         (speedbar-easymenu-definition-base): Use display-graphic-p where
8313         available, instead of window-system.
8315 2000-05-28  Eli Zaretskii  <eliz@is.elta.co.il>
8317         * international/codepage.el (cp-coding-system-for-codepage-1): Add
8318         eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
8319         coding systems.
8321 2000-05-26  Dave Love  <fx@gnu.org>
8323         * disp-table.el (standard-display-underline): Don't use
8324         internal-find-face.
8326         * mail/reporter.el: Maintainer change.  Doc fixes.
8327         (reporter-version): Deleted.
8329         * emacs-lisp/elp.el: Maintainer change.
8330         (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
8332 2000-05-26  Stefan Monnier  <monnier@cs.yale.edu>
8334         * add-log.el (add-change-log-entry): Merge the current entry with the
8335         previous one if the previous one is empty.
8337 2000-05-26  Dave Love  <fx@gnu.org>
8339         * loadhist.el (unload-feature): Fix interactive spec [from
8340         lijnzaad@ebi.ac.uk].
8342         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
8343         subr-arity to check primitives.
8344         (byte-compile-flush-pending, byte-compile-file-form-progn)
8345         (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
8346         (byte-compile-insert, byte-compile-funcall): Use mapc instead of
8347         mapcar.
8349 2000-05-26  Kenichi Handa  <handa@etl.go.jp>
8351         * international/fontset.el: Set family names of non-latin charsets
8352         in default fontset to "*".
8354         * international/mule-diag.el (print-fontset): Combine family part
8355         and registry part of the fontname by "-*-" instead of "-".
8357         * international/mule-cmds.el (encode-coding-char): Make strings
8358         multibyte before calling encode-coding-string.
8360 2000-05-25  Stefan Monnier  <monnier@cs.yale.edu>
8362         * derived.el: Fix keywords.
8363         (define-derived-mode): Only define if needed.
8365         * simple.el (fill-comment, comment-column, comment-start)
8366         (comment-start-skip, comment-end, comment-indent-function)
8367         (block-comment-start, block-comment-end, indent-for-comment)
8368         (set-comment-column, kill-comment, comment-padding, comment-region)
8369         (comment-multi-line, indent-new-comment-line): Remove.
8371         * bindings.el (esc-map): Change ; to comment-dwim and use the new
8372         function names for comment operations.
8374         * newcomment.el: Add abundant autoload cookies.
8375         (comment-style): Don't depend on runtime data at compile-time.
8376         (comment-indent-hook): Remove.
8377         (comment-indent): Check if comment-indent-hook is bound.
8378         (comment-region): Docstring fix.
8380 2000-05-25  Dave Love  <fx@gnu.org>
8382         * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
8383         byte-code-function-p.
8385         * mail/rmailsum.el: Add provide.
8387         * net/goto-addr.el (goto-address-fontify): Add help-echo property.
8389         * smerge-mode.el (smerge-diff-switches): Don't use list* in
8390         defcustom.
8392 2000-05-25  Michael Kifer  <kifer@cs.sunysb.edu>
8394         * ediff-diff.el (ediff-exec-process): delete --binary option from
8395         non-buffer ediff jobs.
8397 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
8399         * hilit-chg.el (highlight-changes-mode): Ask about color or
8400         grayscale support, not about window-system.
8402         * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
8403         window-system.
8404         (ffap-highlight): Always default to t.
8406         * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
8407         display-popup-menus-p instead of looking at window-system.
8409         * disp-table.el (standard-display-g1, standard-display-graphic):
8410         Only refuse to use string glyphs on X and MS-Windows.
8412         * avoid.el: Remove window-system from commentary, suggest to use
8413         display-*-p instead.
8415         * apropos.el (apropos-print): Use display-mouse-p instead of
8416         window-system.
8418 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
8420         * international/codepage.el (cp-decoding-vector-for-codepage):
8421         Fill up unsupported characters with their own codes.  From Kenichi
8422         Handa.
8424 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
8426         * international/mule-diag.el (describe-char-after): Use
8427         display-graphic-p instead of window-system, so that this function
8428         works on MS-DOS.
8430 2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>
8432         * international/codepage.el (cp-make-coding-systems-for-codepage):
8433         Remove the eight-bit-graphic and eight-bit-control charsets from
8434         the list of charsets which we convert into `?'.
8436 2000-05-25  Kenichi Handa  <handa@etl.go.jp>
8438         * international/mule-conf.el: Specify CHARSET-ID explicitely for
8439         private charsets.
8440         (mule-unicode-0100-24ff, japanese-jisx0213-1,
8441         japanese-jisx0213-2): New charsets.
8443         * international/fontset.el: Setup default fontset for new charsets.
8445 2000-05-24  Dave Love  <fx@gnu.org>
8447         * info.el (Info-find-node-2): Restructure [following "Vadim
8448         S. Solomin" <sovs@uic.nnov.ru>].
8450         * icomplete.el: Fix header for Finder.
8452 2000-05-24  Eric M. Ludlam  <zappo@ultranet.com>
8454         * rmailout.el (rmail-output-to-rmail-file): Added optional param
8455         STAY.
8457         * rmail.el (rmail-automatic-folder-directives): New user variable.
8458         (rmail-show-message): Add call to `rmail-auto-file' during
8459         display.
8460         (rmail-auto-file): New function.
8462 2000-05-24  Michael Kifer  <kifer@cs.sunysb.edu>
8464         * ediff-diff.el (ediff-forward-word): Take syntactic word class into
8465         account.
8466         (ediff-test-utility,ediff-diff-mandatory-option)
8467         (ediff-reset-diff-options): Utilities for proper initialization of
8468         ediff-diff-options and ediff-diff3-options on Windows.
8470         * ediff-init.el (ediff-merge-filename-prefix): New customizable
8471         variable.
8473         * ediff-mult.el (ediff-filegroup-action): Use
8474         ediff-merge-filename-prefix.
8476 2000-05-24  Michael Kifer  <kifer@cs.sunysb.edu>
8478         * viper-ex.el (ex-write): Set selective display to nil.
8480 2000-05-24  Eli Zaretskii  <eliz@is.elta.co.il>
8482         * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
8483         aliases for hebrew-iso-8bit.
8485 2000-05-24  Eli Zaretskii  <eliz@is.elta.co.il>
8487         * woman.el: New version from Francis J. Wright
8488         <F.J.Wright@Maths.QMW.ac.uk>.
8489         (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
8490         names in environment variables regardless of the path separator.
8491         (woman-topic-all-completions-1): Don't call file-name-directory-p
8492         on all files, since woman-file-regexp already filters out any
8493         directories.
8495 2000-05-24  Kenichi Handa  <handa@etl.go.jp>
8497         * international/quail.el (quail-start-translation): Don't change
8498         modified-p of the current buffer.
8499         (quail-start-conversion): Likewise.
8501         * international/kkc.el (kkc-region): Don't change modified-p of
8502         the current buffer.
8504         * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
8505         conform to RFC1468.
8506         (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
8508 2000-05-23  Eric M. Ludlam  <zappo@ballista.ultranet.com>
8510         * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
8511         (speedbar-insert-button): Invisible text property fix.
8512         (speedbar-directory-plus): Renamed from speedbar-directory-+
8513         (speedbar-directory-minus): Renamed from speedbar-directory--
8514         (speedbar-page-plus): Renamed from speedbar-file-+
8515         (speedbar-page-minus): Renamed from speedbar-file--
8516         (speedbar-page): Renamed from speedbar-file-
8517         (speedbar-tag): Renamed from speedbar-tag-
8518         (speedbar-tag-plus): Renamed from speedbar-tag-+
8519         (speedbar-tag-minus): Renamed from speedbar-tag--
8520         (speedbar-expand-image-button-alist): Use above renames.
8522         * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
8523         * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
8524         * sb-pg-plus.xpm: Renamed from sb-file+.xpm
8525         * sb-pg-minus.xpm: Renamed from sb-file-.xpm
8526         * sb-pg.xpm: Renamed from sb-file.xpm
8527         * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
8528         * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
8530 2000-05-24  Kenichi Handa  <handa@etl.go.jp>
8532         * international/quail.el (quail-show-guidance-buf): Set
8533         current-input-method of the guidance buffer to the name of the
8534         curren input method.
8536 2000-05-23  Stefan Monnier  <monnier@cs.yale.edu>
8538         * progmodes/compile.el (compile-internal): Style typo.
8540         * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
8541         quote vars and functions in the docstring.
8543         * newcomment.el (comment-make-extra-lines): Don't use `assert'.
8545         * completion.el (dynamic-completion-mode, dynamic-completion-mode):
8546         Don't quote lambdas.
8548         * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
8550 2000-05-23  Gerd Moellmann  <gerd@gnu.org>
8552         * startup.el (command-line): Determine source file of compiled
8553         user init file differently.  Warn if compiled user init file
8554         is older than its source file.
8556         * ffap.el (ffap-url-regexp): Add `https'.
8558 2000-05-23  Eli Zaretskii  <eliz@is.elta.co.il>
8560         * files.el (make-backup-file-name-1): Replace slashes with `!'
8561         rather than `|' (which is not allowed on Windows).  Replace the
8562         drive letters with a string "drive_X".
8564 2000-05-23  Gerd Moellmann  <gerd@gnu.org>
8566         * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
8568         * files.el (interpreter-mode-alist): Add `bash2'.
8570 2000-05-22  Dave Love  <fx@gnu.org>
8572         * loadhist.el (feature-symbols, file-provides, file-requires): Use
8573         mapc.
8574         (feature-file): Avoid calling symbol-name.  Doc fix.
8575         (file-set-intersect, file-dependents): Use dolist, not mapcar.
8576         (loadhist-hook-functions): Add mouse-position-function.
8577         (unload-feature): Change uses of mapcar.
8579         * files.el (parse-colon-path): Doc fix.
8580         (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
8581         (set-auto-mode): Use mapc.
8583         * complete.el (PC-look-for-include-file): Use :alnum: character
8584         class.
8585         (partial-completion-mode): Add autoload cookie.
8587 2000-05-22  Sam Steingold  <sds@gnu.org>
8589         * info.el (Info-fontify-node): Fixed the call to
8590         `add-text-properties' (bug introduced on 2000-05-18).
8592 2000-05-22  Dave Love  <fx@gnu.org>
8594         * bindings.el: Remove debug-ignored-errors set in other files.
8596         * progmodes/etags.el: Add to debug-ignored-errors.
8597         (visit-tags-table-buffer): Clear out buffers holding old tables
8598         when making a new list.
8599         (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
8600         mapc.
8602         * completion.el: Doc fixes.  Add to debug-ignored-errors.  Don't
8603         quote keywords.
8604         (cmpl-string-case-type): Use character classes.
8606         * comint.el:
8607         * textmodes/ispell.el:
8608         * imenu.el:
8609         * mail/mh-e.el:
8610         * progmodes/compile.el: Add to debug-ignored-errors.
8612         * dabbrev.el: Add to debug-ignored-errors.
8613         (dabbrev-completion): Use mapc.
8615 2000-05-22  Eli Zaretskii  <eliz@is.elta.co.il>
8617         * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
8618         (woman-mapcan, woman-parse-man.conf)
8619         (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
8620         (woman-reset-emulation, woman-select-symbol-fonts): New functions.
8621         (woman-parse-colon-path): Call woman-mapcan.  Recognize Cygwin
8622         path syntax better.
8623         (woman-man.conf-path, woman-use-own-frame): New defcustoms.
8624         (woman-manpath): Call woman-parse-man.conf.
8625         (woman-emulation): New defcustom, defaults to nroff.
8626         (woman-font-support): New defconst.
8627         (woman-use-symbol-font): New defcustom.
8628         (woman-menu): Add new menu items: "Colored/BW", "Advanced",
8629         "Emulation".
8630         Many functions: Doc fix.
8632 2000-05-22  Kenichi Handa  <handa@etl.go.jp>
8634         * international/quail.el (quail-simple-translation-keymap): Map
8635         128..255 to quail-self-insert-command.
8636         (quail-keyboard-layout-alist): Add definition for "pc102-de".
8638 2000-05-22  Stefan Monnier  <monnier@cs.yale.edu>
8640         * help.el (help-manyarg-func-alist): Typo.
8642         * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
8643         intervals which makes it heaps simpler.
8645         * newcomment.el (comment-region-internal): Go back to BEG after quoting
8646         the nested comment markers.
8648         * subr.el (remove-hook): Don't turn the hook's value into a list.
8650 2000-05-21  Dave Love  <fx@gnu.org>
8652         * edmacro.el (edmacro-parse-keys): Return vector if any elements
8653         are invalid characters.
8655         * international/mule-util.el (detect-coding-with-priority): Use
8656         mapc.  Remove redundant lambda.
8658         * international/mule-diag.el (list-non-iso-charset-chars)
8659         (describe-fontset): Remove redundant lambda.
8661         * emulation/crisp.el (brief-mode): New alias.
8663         * emacs-lisp/ring.el (ring-elements): New function.
8665         * emacs-lisp/easymenu.el (easy-menu-create-menu)
8666         (easy-menu-do-add-item): Use keywordp.
8668         * emacs-lisp/byte-opt.el: Update side-effect free function lists.
8670         * replace.el: Doc and error message fixes.
8671         (replace-highlight): Use facep, not internal-find-face.
8673 2000-05-20  Stefan Monnier  <monnier@cs.yale.edu>
8675         * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
8677         * log-edit.el (log-edit-done): Cleanup trailing empty lines.
8678         (log-edit-insert-changelog): Drop `:' as well.
8680         * log-view.el: Fix file description.
8681         (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
8682         available.
8683         (log-view-font-lock-keywords): Only use cvs-filename-face if present.
8684         (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
8686         * emacs-lisp/easy-mmode.el: Update copyright and commentary.
8687         (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
8688         Print a status message if the toggle is called interactively.
8689         (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
8690         for global minor modes and use `defcustom' for them.
8691         Use add-minor-mode.
8692         (easy-mmode-define-derived-mode): Remove.
8693         (define-derived-mode): Fancier default docstring.
8694         (easy-mmode-define-navigation): Signal an error rather than (ding).
8696         * newcomment.el (comment-styles): New `box-multi'.
8697         (comment-normalize-vars): Better default for comment-continue to
8698         avoid whitespace-only continuations.
8699         (comment-search-forward): Always move even in the no-syntax case.
8700         (comment-padright): Only obey N if it's only obeyed for padleft.
8701         (comment-make-extra-lines): Better handling of empty continuations.
8702         Use `=' for the filler if comment-start has only one character.
8703         (uncomment-region): Try handling the special `=' filler.
8704         (comment-region): Allow LINES even if MULTI is nil.
8705         (comment-box): Choose box style based on comment-style.
8707 2000-05-20  Kenichi Handa  <handa@etl.go.jp>
8709         * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
8710         (ccl-compile-write-repeat): If ARG is string, make it unibyte.
8712 2000-05-20  Kenichi HANDA  <handa@etl.go.jp>
8714         * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
8715         and insert, not subst-char-in-region.
8717         * international/mule-diag.el (list-character-sets-1): Handle
8718         charsets eight-bit-control and eight-bit-graphic.
8719         (list-iso-charset-chars): Likewise.
8720         (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
8721         charactes as is.  Use indent-to to align characters.
8723         * international/mule-cmds.el (find-multibyte-characters): Never
8724         exclude charsets eight-bit-control and eight-bit-graphic.
8726 2000-05-19  Stefan Monnier  <monnier@cs.yale.edu>
8728         * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
8729         Don't quote lambdas.
8731         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
8733 2000-05-19  Gerd Moellmann  <gerd@gnu.org>
8735         * gud.el (gud-jdb-directories): Doc fix.
8737 2000-05-19  Stefan Monnier  <monnier@cs.yale.edu>
8739         * newcomment.el: New file.
8741 2000-05-19  Gerd Moellmann  <gerd@gnu.org>
8743         * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
8745 2000-05-18  Andreas Schwab  <schwab@suse.de>
8747         * dired.el (dired-between-files): Also skip lines beginning with
8748         `used'.
8750 2000-05-18  Gerd Moellmann  <gerd@gnu.org>
8752         * msb.el (msb-menu-cond): Add choice `user'.
8754 2000-05-18  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
8756         * ps-print.el: Compatibility, customization and doc fix.
8757         (ps-printer-name-option): Replace defconst by defvar.
8758         (ps-postscript-code-directory): XEmacs compatibility.
8759         (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
8760         fix.
8761         (ps-user-defined-prologue, ps-print-prologue-header)
8762         (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
8763         compatibility and code fix.
8764         (ps-print-background-image, ps-print-background-text):
8765         Customization fix.
8766         (ps-line-number-start, ps-n-up-on): New vars.
8768 2000-05-18  Espen Skoglund  <esk@ira.uka.de>
8770         * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
8771         the indent-comment function to just return the appropriate indent.
8773 2000-05-18  Eric M. Ludlam  <zappo@ultranet.com>
8775         * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
8776         sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
8777         sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
8779 2000-05-18  Dave Love  <fx@gnu.org>
8781         * info.el (Info-fontify-node): Add intangible property as well as
8782         invisible.
8784         * calendar/appt.el (appt-make-list): Match all lines of entry.
8785         From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
8787 2000-05-18  Kenichi Handa  <handa@etl.go.jp>
8789         * international/mule-diag.el (describe-char-after): Call
8790         internal-char-font, not char-font.  If internal-char-font returns
8791         nil, display "-- none --".
8793 2000-05-17  Eli Zaretskii  <eliz@is.elta.co.il>
8795         * image.el (image-type-available-p): Don't reference image-types
8796         if it isn't bound.
8798 2000-05-17  Stefan Monnier  <monnier@cs.yale.edu>
8800         * autoarg.el (autoarg-mode): Typo in the :set argument.
8802 2000-05-17  Eli Zaretskii  <eliz@is.elta.co.il>
8804         * startup.el (command-line-1): Don't signal an error if the
8805         directory for auto-save-list files does not yet exist.
8807 2000-05-17  Kenichi Handa  <handa@etl.go.jp>
8809         * international/mule-conf.el (arabic-iso8859-6): Fix typo.
8811 2000-05-16  Stefan Monnier  <monnier@cs.yale.edu>
8813         * subr.el (remove-hook): `setq' hook-value, not `set'.
8815 2000-05-16  Sam Steingold  <sds@gnu.org>
8817         * info.el (debug-ignored-errors): More errors to ignore.
8819 2000-05-16  Dave Love  <fx@gnu.org>
8821         * cus-edit.el: Don't require cl or easymenu.
8822         (custom-variable-prompt): Test standard-value property, not
8823         user-variable-p.
8825 2000-05-16  Sam Steingold  <sds@gnu.org>
8827         * subr.el (add-hook): `setq' hook-value, not `set'.
8829 2000-05-16  Gerd Moellmann  <gerd@gnu.org>
8831         * startup.el (command-line-1): Mention the FAQ in the startup
8832         message.
8834         * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
8836         * progmodes/compile.el (compilation-parse-errors): Collect
8837         `nomessage' regexps last.
8839         * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
8841         * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
8842         to the function name.
8844 2000-05-15  Dave Love  <fx@gnu.org>
8846         * speedbar.el (speedbar-recenter): Typo.
8847         (speedbar-expand-line): Make arg optional.
8848         (speedbar-mode): Avoid a compiler warning.
8850 2000-05-15  Gerd Moellmann  <gerd@gnu.org>
8852         * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
8853         user-specified option string is empty.
8855         * mouse.el (mouse-yank-at-click): Doc fix.
8857 2000-05-15  Eli Zaretskii  <eliz@is.elta.co.il>
8859         * term/internal.el (IT-character-translations): More updates of
8860         latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
8861         documents.
8863 2000-05-15  Gerd Moellmann  <gerd@gnu.org>
8865         * env.el (getenv): New function, interactively callable.
8866         (setenv, getenv): Remove autoload cookies.
8868         * loadup.el: Load `env'.
8870         * progmodes/f90.el: Change author's mail address.
8872 2000-05-14  Dave Love  <fx@gnu.org>
8874         * mail/rmail.el (rmail-show-message-hook): Customize and offer
8875         goto-addr as an option.
8877         * help.el (help-xref-stack): Doc fix.
8878         (help-xref-following): New variable.
8879         (help-make-xrefs): Use it.
8880         (help-xref-go-back): Use position information from stack element.
8881         (help-follow): Make position in stack element a pair.  Use
8882         help-xref-following.
8884         * autoarg.el: New file.
8886         * faces.el: Declare more functions obsolete.
8888         * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
8889         * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
8890         * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
8891         * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
8892         Remove all the setup-...-environment functions.
8894 2000-05-13  Eric M. Ludlam  <zappo@ultranet.com>
8896         * speedbar.el: Updated the commentary section.  xemacs20p now uses
8897         >= when detecting.  Require `defimage' safely.
8898         (speedbar-easymenu-definition-base): Add toggle for images.
8899         (speedbar-easymenu-definition-special): Add flush cache & expand.
8900         (speedbar-visiting-tag-hook): Set new defaults.  Added options.
8901         (speedbar-reconfigure-keymaps-hook): New variable.
8902         (speedbar-frame-parameters): Updated documentation.
8903         (speedbar-use-imenu-flag): Updated custom tag
8904         (speedbar-dynamic-tags-function-list): New variable.
8905         (speedbar-tag-hierarchy-method): Updated doc & custom.
8906         (speedbar-indentation-width, speedbar-indentation-width) New
8907         variables.
8908         (speedbar-hide-button-brackets-flag): Customizable.
8909         (speedbar-vc-indicator): Doc update.
8910         (speedbar-ignored-path-expressions): Updated default value.
8911         (speedbar-supported-extension-expressions): Updated default value.
8912         (speedbar-syntax-table): Remove {} paren status.
8913         (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
8914         as "+".  Added overlay aliases.
8915         (speedbar-mode): Use `speedbar-mode-line-update' instead of
8916         `force-mode-line-update'.
8917         (speedbar-mode, speedbar-quick-mouse, speedbar-click)
8918         (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
8919         `mouse-set-point'
8920         (speedbar-reconfigure-keymaps): Run configure keymap hooks.
8921         (speedbar-item-info-tag-helper): Revamped to handle a wider range
8922         of arbitrary text, and new helper functions.
8923         (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
8924         filename finder.
8925         (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
8926         (speedbar-directory-buttons): Update path search/expansion.
8927         (speedbar-make-tag-line): Pay attention to
8928         `speedbar-indentation-width'.  Use more care w/ invisible
8929         properties.
8930         (speedbar-change-expand-button-char): Call
8931         `speedbar-insert-image-button-maybe'.
8932         (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
8933         (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
8934         (speedbar-trim-words-tag-hierarchy)
8935         (speedbar-simple-group-tag-hierarchy): New functions
8936         (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
8937         (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
8938         functions.
8939         (speedbar-mouse-set-point): New function
8940         (speedbar-power-click): Updated documentation.
8941         (speedbar-line-token, speedbar-goto-this-file): Handle more types
8942         of tag prefix text.
8943         (speedbar-expand-line, speedbar-contract-line): Make more robust
8944         to strange text.
8945         (speedbar-expand-line): Takes universal argument to flush the
8946         cache.
8947         (speedbar-flush-expand-line): New function.
8948         (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
8949         Use new generator insertion method.
8950         (speedbar-fetch-dynamic-tags): New function.
8951         (speedbar-fetch-dynamic-imenu): Removed code now handled in
8952         `speedbar-fetch-dynamic-imenu'.
8953         (speedbar-fetch-dynamic-etags): Fix current buffer problem.
8954         (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
8955         "Revert Buffer" menu items.
8956         (speedbar-buffer-buttons-engine): Be smarter when creating a
8957         filename tag (for expansion purposes.).
8958         (speedbar-highlight-one-tag-line,
8959         (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
8960         (speedbar-recenter): New functions.
8961         (defimage-speedbar): Image loading abstraction.
8962         (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
8963         (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
8964         (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
8965         (speedbar-tag-type, speedbar-tag-mail): New images.
8966         (speedbar-expand-image-button-alist): New variable.
8967         (speedbar-insert-image-button-maybe): Insert an image over some
8968         buttons.
8970 2000-05-13  Kenichi Handa  <handa@etl.go.jp>
8972         * international/mule-cmds.el (encode-coding-char): An ASCII
8973         character is always encodable.
8975         * international/mule-conf.el: Add more information in descriptions
8976         of character sets.
8978         * international/mule-diag.el (describe-char-after): New function.
8979         (describe-font-internal): Adjusted for the change of font-info.
8980         (describe-font): Likewise.
8981         (print-fontset): Rewritten for the new fontset implementation.
8982         (describe-fontset): Include fontset alias names in completion.
8983         (list-fontsets): Adjusted for the change of print-fontset.
8985         * simple.el (what-cursor-position): If DETAIL is non-nil, call
8986         describe-char-after instead of displaying the detail in the echo
8987         area.
8988         (syntax-code-table): Format changed.
8989         (string-to-syntax): Adjusted for the above change.
8991 2000-05-12  Stefan Monnier  <monnier@cs.yale.edu>
8993         * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
8995 2000-05-12  Dave Love  <fx@gnu.org>
8997         * calendar/todo-mode.el: Remove some compatibility stuff and CL
8998         dependence.  Use line-{beginning,end}-position, not
8999         point-at{b,e}ol.  Some doc fixes.
9000         (todo-position): New function.  Fix callers of position to use it.
9001         (todo-save-top-priorities, todo-print): Use with-temp-buffer.
9003 2000-05-12  Gerd Moellmann  <gerd@gnu.org>
9005         * time.el (display-time-mail-icon): Use `:ascent center'.
9007         * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
9008         handling FTP security extensions.
9010 2000-05-11  Dave Love  <fx@gnu.org>
9012         * calendar/todo-mode.el: New file.
9014 2000-05-11  Gerd Moellmann  <gerd@gnu.org>
9016         * comint.el (comint-read-input-ring): Move reference to
9017         comint-input-ring-size outside of the save-excursion.  It was
9018         causing the default value to be the only one ever seen.
9020         * font-lock.el: Update copyright.  Remove Simon Marshall's email
9021         address on request from him.
9023         * subr.el (substitute-key-definition): Add comment describing
9024         the meaning of PREFIX.
9026 2000-05-10  Stefan Monnier  <monnier@cs.yale.edu>
9028         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
9030         * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
9031         (add-minor-mode): Don't make the variable buffer-local and add a
9032         reference to define-minor-mode in the docstring.
9034         * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
9035         HEADER/FOOTER and fix bug with trailing empty directory.
9036         (cvs-append-to-ignore): Use vc-editable-p if available.
9037         (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
9038         (vc-do-command): Tweak advice to handle the new VC.
9040         * log-view.el (log-view-goto-rev): New function for the new VC.
9041         (log-view-minor-wrap): Use mark-active.
9043         * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
9044         (log-edit-changelog-full-paragraphs): New var.
9045         (log-edit-insert-changelog): Remove a lonely leading `* file'.
9046         (log-edit-narrow-changelog, log-edit-changelog-paragraph)
9047         (log-edit-changelog-subparagraph, log-edit-changelog-entry)
9048         (log-edit-changelog-ours-p, log-edit-changelog-entries)
9049         (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
9050         Replace the `cvs' prefix with `log-edit'.
9052         * iswitchb.el (iswitchb-completion-help): Unquote lambda.
9054         * diff-mode.el (diff-font-lock-keywords): Recognize comments.
9055         (diff-font-lock-defaults): Explicitly turn off multiline.
9056         (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
9057         (diff-ediff-patch): Fix call to ediff-patch-file.
9058         (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
9059         Handle comments.
9061         * frame.el (automatic-hscrolling): Typo.
9063         * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
9065 2000-05-09  Sam Steingold  <sds@goems.com>
9067         * apropos.el (apropos-print): use `describe-face' instead of
9068         `customize-face-other-window'.
9070 2000-05-09  Dave Love  <fx@gnu.org>
9072         Changes mostly following Richard Sharman <rsharman@wave.home.com>.
9074         * help.el (describe-variable): Have customize button pop the
9075         help-xref stack when invoked.
9076         (help-xref-symbol-regexp): Add `face'.
9077         (help-make-xrefs): Check for quoted face names and adapt regexp
9078         submatch numbers to cope.
9079         (help-xref-interned): Maybe insert face doc too.  Separate
9080         sections with a line of hyphens.
9082         * faces.el:  Some doc fixes.  Declare some functions obsolete.
9083         (describe-face): Add customize button.  Return the help
9084         text.  Fix prompt.
9086 2000-05-09  Eli Zaretskii  <eliz@is.elta.co.il>
9088         * term/internal.el (IT-character-translations): Fix last change.
9090 2000-05-08  Eli Zaretskii  <eliz@is.elta.co.il>
9092         * woman.el: New file
9093         (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
9095 2000-05-08  Eli Zaretskii  <eliz@is.elta.co.il>
9097         * term/internal.el (IT-character-translations): Update ASCII
9098         simulations for greek-iso8859-7, add latin-iso8859-14 and
9099         latin-iso8859-15.
9101         * international/mule-cmds.el (set-language-info-alist): Call
9102         define-prefix-command with 3 arguments, to make the map suitable
9103         for a menu.
9105 2000-05-07  Dave Love  <fx@gnu.org>
9107         * time.el: Small doc fixes from Pavel Jan\e,Am\e(Bk ml.
9109 2000-05-05  Dave Love  <fx@gnu.org>
9111         * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
9112         list in doc string.  Don't quote keyword symbols.
9113         * emacs-lisp/cl.el: Likewise
9114         * emacs-lisp/cl-seq.el: Likewise
9116 2000-05-05  Gerd Moellmann  <gerd@gnu.org>
9118         * abbrev.el (abbrev-mode): Make ARG optional.
9120 2000-05-04  Gerd Moellmann  <gerd@gnu.org>
9122         * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
9124         * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
9126         * subr.el (substitute-key-definition): Clarify documentation.
9128 2000-05-04  Milan Zamazal  <pdm@freesoft.cz>
9130         * glasses.el (glasses-convert-to-unreadable): Use
9131         `glasses-separator' instead of the hard-wired "_".
9132         (glasses-mode): Call `glasses-make-unreadable' only in a single
9133         place.
9135 2000-05-04  Eli Zaretskii  <eliz@is.elta.co.il>
9137         * term/internal.el (cjk-codepages-alist): Add associations for
9138         Chinese and Korean codepages.  Remove FIXME comment.
9140 2000-05-03  Dave Love  <fx@gnu.org>
9142         * time.el (display-time-mail-face, display-time-use-mail-icon):
9143         New option.
9144         (display-time-mail-icon): New variable.
9145         (display-time-string-forms): Use the above.  Fix the local-map.
9147 2000-05-03  Gerd Moellmann  <gerd@gnu.org>
9149         * replace.el (query-replace-map): Add binding for `E'.
9150         (query-replace-help): Extend help text.
9151         (perform-replace): Allow editing the replacement string.
9153         * make-mode.el (makefile-mode-abbrev-table): New variable.
9154         (makefile-mode): Set local abbrev table to
9155         makefile-mode-abbrev-table.
9156         (makefile-font-lock-keywords): Fontify includes and conditionals.
9158         * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
9159         set TOGGLE's value.
9161         * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
9162         mail-interactive-insert-alias.
9163         (mail-abbrev-complete-alias): New command.
9164         (mail-mode-map): Bind it to `M-TAB'.
9166 2000-05-03  Kenichi Handa  <handa@etl.go.jp>
9168         * language/lao-util.el (lao-compose-region): New function.
9170 2000-05-02  Gerd Moellmann  <gerd@gnu.org>
9172         * files.el (recover-session): Make directories as necessary
9173         if they don't exist yet.
9175         * calendar/cal-french.el
9176         (french-calendar-multibyte-special-days-array)
9177         (french-calendar-special-days-array): Change French text.
9178         (calendar-french-date-string): Change output.
9179         (calendar-goto-french-date): Likewise.
9181 2000-05-02  Per Abrahamsen  <abraham@dina.kvl.dk>
9183         * wid-edit.el (widget-default-active): Obey `:always-active'.
9184         (widget-documentation-string-value-create): Set `:always-active'.
9186 2000-05-02  Eli Zaretskii  <eliz@is.elta.co.il>
9188         * startup.el (auto-save-list-file-prefix): For ms-dos, set the
9189         default prefix to `~/_emacs.d/auto-save.list/_s'.
9190         (normal-top-level): Create the directory for auto-save files, if
9191         it doesn't already exist (in the ms-dos case only).
9193 2000-05-02  Eli Zaretskii  <eliz@is.elta.co.il>
9195         * international/mule-cmds.el (set-language-environment): Don't
9196         concat an integer (dos-codepage), use format instead.
9198 2000-05-02  Dave Love  <fx@gnu.org>
9200         * help.el (help-xref-on-pp): Check for constant symbols.
9202 2000-04-29  Gerd Moellmann  <gerd@gnu.org>
9204         * startup.el (normal-top-level): Put a condition-case around
9205         the code loading subdirs.el.
9207 2000-04-29  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9209         * ps-print.el: Upside-down and face background color printing,
9210         line number step, doc fix.
9211         (ps-print-version): New version number (5.2).
9212         (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
9213         (ps-face-attribute-list, ps-plot-with-face): Code fix.
9214         (ps-spool-config): Var fix.
9215         (ps-printer-name-option): Const fix.
9216         (ps-print-upside-down, ps-use-face-background)
9217         (ps-line-number-step): New vars.
9218         (ps-window-system, ps-lp-system): New consts.
9219         (ps-face-background): New fun.
9221 2000-04-28  Richard Stallman  <rms@gnu.org>
9223         * files.el (make-auto-save-file-name):
9224         Apply auto-save-file-name-transforms to visited file name
9225         before generating auto save file name.
9226         (auto-save-file-name-transforms): New variable.
9228         * files.el (backup-enable-predicate):
9229         Correctly test for a file under a temporary directory.
9231 2000-04-28  Gerd Moellmann  <gerd@gnu.org>
9233         * subr.el (add-minor-mode): Rewritten.
9235 2000-04-28  Kenichi Handa  <handa@etl.go.jp>
9237         * mail/sendmail.el (sendmail-send-it): Set
9238         buffer-file-coding-system to the selected coding system for MIME
9239         header.
9241 2000-04-27  Gerd Moellmann  <gerd@gnu.org>
9243         * dired.el (dired-move-to-filename-regexp): Allow format where
9244         YYYY is followed by two spaces.
9246         * progmodes/etags.el (etags-tags-completion-table): Add a `:'
9247         in the second character class of the regexp.
9249         * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
9250         mh-etc, too.
9252         * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
9253         nil.
9255         * subr.el (add-minor-mode): Use `set' instead of `setq'.
9257         * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
9258         argument.
9260 2000-04-27  Sen Nagata <sen@eccosys.com>
9262         * emacs-lisp/crm.el (crm-completion-table): New variable.
9263         (crm-collection-fn, crm-test-completion)
9264         (completing-read-multiple): Use it.
9266 2000-04-27  Dave Love  <fx@gnu.org>
9268         * help.el (locate-library): Use mapc.
9269         (help-manyarg-func-alist): Add call-process-region.
9271 2000-04-26  Gerd Moellmann  <gerd@gnu.org>
9273         * subr.el (add-minor-mode): Make argument MAP optional.
9275         * desktop.el (desktop-save): Save list of minor modes.
9276         (desktop-create-buffer): Restore minor modes.
9277         (desktop-minor-mode-table): New user-option.
9279         * subr.el (add-minor-mode): New function.
9281         * image.el (find-image): New function.
9282         (defimage): Rewritten to find image at load time.
9284         * startup.el (normal-top-level-add-to-load-path): Handle
9285         case that the default directory is not in load-path.
9287         * help.el: Old patch from Stefan Monnier.
9288         (help-xref-on-pp): New function.
9289         (describe-variable): Use it to display xrefs in a symbol's value.
9291 2000-04-26  Stefan Monnier  <monnier@cs.yale.edu>
9293         * cus-edit.el (custom-face): Fix parenthesis.
9295 2000-04-26  Kenichi Handa  <handa@etl.go.jp>
9297         * mail/rmail.el (rmail-expunge): When there are no deleted
9298         messages, do nothing.
9300 2000-04-26  Dave Love  <fx@gnu.org>
9302         * international/mule-cmds.el (locale-translation-file-name):
9303         Defvar to nil.
9304         (set-locale-environment): Set it here (at runtime).
9306 2000-04-25  Gerd Moellmann  <gerd@gnu.org>
9308         * replace.el (perform-replace): Add parameters START and END.  Use
9309         them instead of the check for a region in Transient Mark mode.
9310         (query-replace-read-args): Return two more list elements for the
9311         start and end of the region in Transient Mark mode.
9312         (query-replace, query-replace-regexp, query-replace-regexp-eval)
9313         (map-query-replace-regexp, replace-string, replace-regexp): Add
9314         optional last arguments START and END and pass them to
9315         perform-replace.
9317         * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
9318         form with additional arguments for perform-replace.
9320         * progmodes/etags.el (tags-query-replace): Add parameters START
9321         and END.  Construct a form with additional arguments for
9322         perform-replace.
9324         * simple.el (shell-command): Set default directory for "*Shell
9325         Command Output" buffer.
9327         * language/european.el (iso-latin-4): Fix typo.
9329         * emacs-lisp/crm.el: New file.
9331 2000-04-24  Dave Love  <fx@gnu.org>
9333         * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
9334         (Custom-reset-saved, Custom-reset-standard)
9335         (custom-group-value-create, custom-group-set, custom-group-save)
9336         (custom-group-reset-current, custom-group-reset-saved)
9337         (custom-group-reset-standard): Use mapc.
9338         (custom-buffer-create-internal): Disable undo when creating items.
9339         Use mapc.
9340         (custom-face): Avoid redundant lambda.
9342 2000-04-24  Gerd Moellmann  <gerd@gnu.org>
9344         * startup.el (auto-save-list-file-prefix): Set default to
9345         `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
9347 2000-04-24  Sam Steingold  <sds@gnu.org>
9349         * time-stamp.el (time-stamp-string-preprocess): Always convert
9350         `field-result' to a string.
9352 2000-04-24  Gerd Moellmann  <gerd@gnu.org>
9354         * frame.el (scrolling): New group.
9355         (automatic-hscrolling): New user-option.
9357         * startup.el (command-line-x-option-alist): Add `-lsp' and
9358         `--line-spacing'.
9360 2000-04-19  Dave Love  <fx@gnu.org>
9362         * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
9363         (cl-mapc): Rename from mapc.  Fix the funcall.
9365 2000-04-19  Gerd Moellmann  <gerd@gnu.org>
9367         * simple.el (clone-indirect-buffer-other-window): New command.
9368         (clone-indirect-buffer): Add optional arg NORECROD.
9369         (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
9371         * help.el (resize-temp-buffer-window): Use count-screen-lines.
9373         * window.el (count-screen-lines): New function.
9374         (shrink-window-if-larger-than-buffer): Use count-screen-lines
9375         instead of window-buffer-height.
9377         * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
9378         non-existing variable comint-input-sentinel.
9379         (inferior-lisp-args-to-list): Removed.
9380         (inferior-lisp): Use split-string instead of
9381         inferior-lisp-args-to-list.
9383         * hexl.el (hexl-insert-hex-string): New command.
9385         * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
9386         instead of concat.
9388 2000-04-18  Gerd Moellmann  <gerd@gnu.org>
9390         * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
9391         at the start of an existing but empty folder.
9393 2000-04-18  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9395         * ps-mule.el: Customization fix, doc fix.
9396         (ps-multibyte-buffer): Customization fix.
9398 2000-04-17  Richard M. Stallman  <rms@gnu.org>
9400         * subr.el (read-passwd): Use read-char-exclusive.
9402 2000-04-17  Gerd Moellmann  <gerd@gnu.org>
9404         * textmodes/texinfo.el (texinfo-insert-@email)
9405         (texinfo-insert-@emph, texinfo-insert-@quotation)
9406         (texinfo-insert-@strong, texinfo-insert-@url): New functions.
9407         (texinfo-mode-map): Add key bindings for them.
9409         * files.el (basic-save-buffer-2): Use a template with `$'
9410         instead of `#' for VMS.
9412         * simple.el (clone-indirect-buffer): New function.
9414 2000-04-16  Stephen Eglen  <stephen@gnu.org>
9416         * iswitchb.el (iswitchb-case): New function.  If the user input
9417         contains any upper-case characters, the search is made
9418         case-sensitive.
9420 2000-04-17  Stefan Monnier  <monnier@cs.yale.edu>
9422         * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
9423         comment-end.
9424         (texinfo-font-lock-syntactic-keywords): New var.
9425         (texinfo-font-lock-keywords): Remove comment regexp.
9426         (texinfo-insert-block): New function.
9427         (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
9428         (texinfo-mode): Use define-derived-mode.  Tweak comment-start-skip
9429         and font-lock-defaults.  Use regexp-opt for outline-regexp.
9430         (texinfo-environments): New var.
9431         (texinfo-environment-regexp): Use regexp-opt and
9432         texinfo-environments.
9434         * textmodes/ispell.el (ispell-menu-map-needed): Check that
9435         ispell-process is bound since this might be eval'd before ispell
9436         is loaded.
9437         (ispell-message): Use a tiny bit less magic and a bit more hard
9438         data to figure out what kind of sc-cite-regexp to use.
9440         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
9442         * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
9443         (insert-cyclic-diary-entry): Unquote the lambda.
9445         * gud.el (gud-jdb-build-source-files-list): Fix typo.
9447         * files.el (backup-enable-predicate): Unquote the lambda.
9449         * cus-edit.el (custom-face, face): Unquote the lambda.
9451 2000-04-15  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9453         * ps-print.el: Check for line-beginning-position definition.
9455         * ps-print.el: Fix counting lines in a region.
9456         (ps-print-version): New version number (5.1.5).
9457         (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
9458         (ps-printing-region): Fun code fix.
9460 2000-04-15  Gerd Moellmann  <gerd@gnu.org>
9462         * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
9463         to file-directory-p.
9465 2000-04-14  Gerd Moellmann  <gerd@gnu.org>
9467         * gud.el (gud-jdb-build-source-files-list): Check that directory
9468         exists before calling directory-files.
9470 2000-04-13  Dave Love  <fx@gnu.org>
9472         * emacs-lisp/trace.el: Change maintainer.  Use new backquote
9473         syntax.
9475         * emacs-lisp/cl-specs.el: Remove when, unless.
9477         * emacs-lisp/cl-extra.el: Don't quote keywords.
9478         (cl-old-mapc): New variable.
9479         (mapc): Use it.
9480         (cl-map-intervals): Use with-current-buffer.  Don't check for
9481         next-property-change.
9482         (cl-map-overlays): Use with-current-buffer.
9483         (cl-expt): Remove.
9484         (copy-tree, remprop): Define unconditionally.
9486         * emacs-lisp/cl-compat.el (keywordp): Remove.
9488         * emacs-lisp/edebug.el (edebug-keywordp): Remove.  Change callers
9489         to use keywordp.
9490         (edebug-spec): Enable keywordp.
9492         * cus-edit.el (custom-sort-items): Avoid symbol-name with new
9493         string-lessp.
9495         * cus-start.el: Use keywordp.
9497 2000-04-13  Edward M. Reingold  <reingold@emr.cs.uiuc.edu>
9499         * diary-lib.el (include-other-diary-files): Fix the fix of
9500         2000-02-18 by doing a save-excursion.
9502 2000-04-13  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9504         * ps-print.el: Customization fix, doc fix.
9505         (ps-print-version): New version number (5.1.4).
9506         (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
9507         (ps-print-preprint): Adjust code.
9508         (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
9509         (ps-print-prologue-header, ps-print-control-characters)
9510         (ps-spool-config): Customization fix.
9512 2000-04-13  Eli Zaretskii  <eliz@is.elta.co.il>
9514         * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
9515         converted to the new menu-item format, names silightly changed,
9516         help strings added.
9518         Support for spelling without async subprocesses:
9520         * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
9521         (ispell-session-buffer): New variables.
9522         (ispell-start-process, ispell-process-status,
9523         ispell-accept-output, ispell-send-string): New functions, for
9524         Ispell invocation when async subprocesses aren't supported.
9525         (ispell-word, ispell-pdict-save, ispell-command-loop,
9526         ispell-process-line, ispell-buffer-local-parsing): Replace calls
9527         to process-send-string with calls to ispell-send-string, and
9528         accept-process-output with ispell-accept-output.
9529         (ispell-init-process): Call ispell-process-status instead of
9530         process-status with.
9531         (ispell-init-process): Call ispell-start-process.  Call
9532         ispell-accept-output and ispell-send-string.  Don't call
9533         process-kill-without-query and kill-process if they are unbound.
9534         (ispell-async-processp): New function.
9536 2000-04-12  Dave Love  <fx@gnu.org>
9538         * info.el: Add debug-ignored-errors.
9539         (Info-mode-menu): Add some items.
9540         (Info-directory): Add autoload cookie.
9542         * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
9543         Modify `truncate-lines'.  Make `describe-language-environment'
9544         always visible and add help.  Modify `describe-key' help.  Invoke
9545         Info-directory from `info'.  New entry `emacs-manual'.
9547 2000-04-10  Gerd Moellmann  <gerd@gnu.org>
9549         * progmodes/ebrowse.el (ebrowse-tree-mode): Use
9550         propertized-buffer-identification.
9551         (ebrowse-update-member-buffer-mode-line): Likewise.
9552         (ebrowse--mode-strings): Removed.
9553         (ebrowse--mode-line-props): Removed.
9555         * files.el (auto-mode-alist): Add `EBROWSE'.
9557         * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
9558         space before testing for end of buffer.
9559         (ebrowse-load): Removed.
9560         (ebrowse-revert-tree-buffer-from-file): Rewritten.
9561         (ebrowse-create-tree-buffer): Rewritten.
9562         (ebrowse-tree-mode): Read tree from buffer.
9564         * progmodes/ebrowse-ffh.el: Removed.
9566 2000-04-10  Kenichi Handa  <handa@etl.go.jp>
9568         * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
9570 2000-04-10  Gerd Moellmann  <gerd@gnu.org>
9572         * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
9573         at the wrong place.
9575 2000-04-09  Dave Love  <fx@gnu.org>
9577         * files.el (backup-enable-predicate): Use
9578         temporary-file-directory, small-temporary-file-directory.
9579         (make-backup-file-name-function, backup-directory-alist): New
9580         variables.
9581         (make-backup-file-name-1): New function.
9582         (make-backup-file-name): Use it.
9583         (find-backup-file-name): Likewise.  Use format for clarity, not
9584         concat.
9585         (file-newest-backup): Use make-backup-file-name.
9587 2000-04-09  Gerd Moellmann  <gerd@gnu.org>
9589         * progmodes/ebrowse-ffh.el: New file.
9591         * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
9592         to ebrowse-ffh.el.
9593         (ebrowse-load): Add autoload.
9595         * finder.el (finder-commentary): Add autoload cookie.
9597         * mail/rfc2368.el: Correct author's email address.
9599         * progmodes/ebrowse.el: New file.
9601         * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
9602         item help string.
9603         (easy-menu-do-add-item): Ditto.
9604         (easy-menu-define): Extend doc string.
9606         * jit-lock.el (with-buffer-unmodified): Use
9607         restore-buffer-modified-p.
9608         (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
9609         (jit-lock-function, jit-lock-stealth-fontify): Don't use
9610         with-buffer-unmodified.
9612 2000-04-08  Dave Love  <fx@gnu.org>
9614         * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
9615         unless, when.
9617 2000-04-07  Mikio Nakajima  <minakaji@osaka.email.ne.jp>
9619         * viper-util.el (viper-put-on-search-overlay): New subroutine.
9620         (viper-flash-search-pattern): No operation when using Emacs
9621         doesn't support face.
9622         Use `viper-put-on-search-overlay'.
9624 2000-04-04  Gerd Moellmann  <gerd@gnu.org>
9626         * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
9627         like C-r.
9629         * progmodes/make-mode.el: Some doc fixes.
9630         (makefile-mode-abbrev-table): New variable.
9631         (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
9632         (makefile-font-lock-keywords): Fontify includes and conditionals.
9633         (toplevel): Require `dabbrev' and `add-log' when compiling.
9635         * replace.el (perform-replace): Don't move forward one char
9636         when MATCH-AGAIN is nil, and REGEXP-FLAG is t.  We don't want
9637         to do that because it leaves point 1 position after the last
9638         replacement, after everything has been replaced.
9640         * jit-lock.el (with-buffer-unmodified): New macro.
9641         (with-buffer-prepared-for-font-lock): Don't preserve buffer's
9642         modified state.
9643         (jit-lock-function-1): Extracted from jit-lock-function; not
9644         preserving buffer's modified state.
9645         (jit-lock-function, jit-lock-stealth-fontify): Call
9646         jit-lock-function-1.
9648         * mail/rfc2368.el: Remove supernumerary copyright line.
9650 2000-04-04  Milan Zamazal  <pdm@freesoft.cz>
9652         * glasses.el: Provide facilities for inserting space before left
9653         parentheses and uncapitalization of identifiers.
9654         (glasses-mode): Try to remove old overlays in all cases.
9656 2000-04-03  Gerd Moellmann  <gerd@gnu.org>
9658         * progmodes/compile.el (compile-internal): Display the compilation
9659         buffer in a different frame, if it's already displayed there.
9661         * mail/rfc2368.el: New file.
9663         * simple.el (sendmail-user-agent-compose): Recognize a `body'
9664         header and insert its value as mail body.
9666         * subr.el (member-ignore-case): New function.
9668         * dabbrev.el (dabbrev-ignored-regexps): New user-option.
9669         (dabbrev--find-expansion): Ignore buffers matching a regexp
9670         from dabbrev-ignored-regexps.
9672         * jka-compr.el (jka-compr-compression-info-list): Add `.z'
9673         to extensions handled by gzip.
9675 2000-04-03  Richard M. Stallman  <rms@gnu.org>
9677         * files.el (insert-directory): List the total free space
9678         along with the used space.
9680         * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
9681         line is followed by one that matches CITATION-REGEXP, end the
9682         paragraph.
9684 2000-04-03  Markus Rost  <rost@delysid.gnu.org>
9686         * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
9687         (rmail-make-basic-summary-line): Use that option.
9689 2000-04-03  Kenichi Handa  <handa@etl.go.jp>
9691         * international/mule-cmds.el (encoded-string-description):
9692         Rewritten.   Try pretty description for ISO 2022 escape sequences
9693         only if CODING-SYSTEM is based on ISO 2022.  Use uppercase letters
9694         for hexadecimal format.
9696 2000-04-01  Dave Love  <fx@gnu.org>
9698         * cpp.el: Change customization group to `c' from `C'.
9700         * vcursor.el (vcursor-move): Use display-color-p.
9702         * international/mule-util.el: Provide mule-utils.
9703         (string-to-sequence): Simplify and speed up.
9705         * international/mule.el (make-coding-system): Purecopy doc-string.
9707         * international/mule-cmds.el: Various menu changes.
9708         (describe-specified-language-support): Handle `Default'.
9709         (set-language-info): Purecopy `info'.
9711 2000-03-31  Andrew Innes  <andrewi@gnu.org>
9713         * vc.el (vc-backend-diff): Return the correct status if we had to
9714         retry the rcsdiff command without the --brief option.
9716 2000-03-31  Dave Love  <fx@gnu.org>
9718         * help.el (help-manyarg-func-alist): Correct several omissions.
9720         * add-log.el: Don't require cl, fortran.
9721         (add-log-current-defun-function): Doc fix.
9722         (change-log-version-number-regexp-list): Remove SCCS part.  Doc
9723         fix.
9724         (change-log-version-rcs): Function deleted.
9725         (change-log-version-number-search): Doc fix.  Use
9726         vc-workfile-version.  Avoid CL dolist.
9727         (add-change-log-entry): Just call add-log-current-defun to get
9728         defun.  Simplify somewhat.
9729         (change-log-get-method-definition-1): Likewise.
9730         (add-log-current-defun): Return nil if calling
9731         add-log-current-defun-function does so.  Move Fortran stuff to
9732         fortran.el.  Return string without properties.
9734         * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
9735         and :alpha: char classes.
9737         * mail/supercite.el: Defvar curline when compiling.
9738         (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
9739         (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
9740         rather than a-zA-Z0-9 to allow non-ASCII characters.
9742 2000-03-31  Gerd Moellmann  <gerd@gnu.org>
9744         * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
9746         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9747         Re-enable new code.
9749         * lpr.el (print-region-1): Use -d to specify printer name for
9750         systems `usg-unix-v*, `dgux', `hpux', `irix'.
9752 2000-03-31  Dave Love  <fx@gnu.org>
9754         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
9755         for function definition in symbol's function value slot first
9756         instead of first consulting byte-compile-function-environment.
9758 2000-03-31  Kenichi Handa  <handa@etl.go.jp>
9760         * language/european.el ("Polish"): New language environment.
9761         (setup-polish-environment): New function.
9763 2000-03-30  Gerd Moellmann  <gerd@gnu.org>
9765         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9766         Disable new code.
9768         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
9769         trying to `load' the symbol of an autoload instead of the file
9770         recorded in the autoload.  Fix error messages.
9772 2000-03-30  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9774         * ps-print.el: PostScript programming fix for ghostview, doc fix.
9775         (ps-print-version): New version number (5.1.3).
9776         (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
9777         (ps-insert-file, ps-output-boolean, ps-plot-with-face)
9778         (ps-generate-postscript-with-faces): Code fix.
9779         (ps-color-values): XEmacs compatibility.
9780         (ps-print-background-image, ps-print-background-text, ps-printer-name)
9781         (ps-default-fg, ps-default-bg): Adjust customization.
9782         (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
9783         (ps-color-scale): Renaming old ps-color-value fun.
9784         (ps-print-headers): Replace ps-print-header group to avoid conflict
9785         with ps-print-header variable.
9786         (ps-print-miscellany): New group.
9787         (ps-format-color, ps-rgb-color): New funs.
9788         (ps-default-foreground): New var.
9789         (ps-printer-name-option): New const.
9791 2000-03-30  Peter Breton  <pbreton@ne.mediaone.net>
9793         * net/net-utils.el:
9794         (network-connection-host, network-connection-service): New variables
9795         (network-connection-mode): New mode, derived from comint-mode
9796         (network-connection-mode-setup): New function, saves host and
9797         service information in local variables.
9799         * lisp/locate.el:
9800         (locate-word-at-point): Added this function
9801         (locate): Default to using locate-word-at-point as input
9802         Run dired-mode-hook
9804 2000-03-29  Dave Love  <fx@gnu.org>
9806         * calendar/appt.el: Doc fixes.
9807         (appt-check): Convert min-to-app to a string before passing to
9808         appt-disp-window-function or concat.
9809         (appt-delete-window): Remove test for frame-root-window.
9810         (appt-select-lowest-window, appt-convert-time): Simplify.
9812         * emacs-lisp/bytecomp.el: Doc fixes.
9813         (byte-compile-file-form-autoload): Update
9814         byte-compile-function-environment.
9816 2000-03-29  Andreas Schwab  <schwab@suse.de>
9818         * emacs-lisp/autoload.el: Also print defsubst doc string
9819         specially.
9821         * dired.el (dired-insert-directory): If dired-free-space-program
9822         failed just delete its output.
9824 2000-03-29  Dave Love  <fx@gnu.org>
9826         * international/iso-cvt.el: Move provide to end.  Doc fixes.
9827         (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
9828         (iso-iso2sgml, iso-sgml2iso): New functions.
9829         (iso-cvt-define-menu): Fix some entries and use backquote for
9830         clarity.
9832         * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
9834 2000-03-28  Gerd Moellmann  <gerd@gnu.org>
9836         * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
9837         ISO-DATE.  If non-nil, return date in ISO 8601 format.
9839 2000-03-26  Stefan Monnier  <monnier@cs.yale.edu>
9841         * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
9842         if it ever becomes used.
9843         (log-edit-mode-hook): Default to vc-log-mode-hook.
9844         (log-edit-mode): Fix the docstring.
9846         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
9847         the code.
9849 2000-03-26  Dave Love  <fx@gnu.org>
9851         * net/browse-url.el (browse-url): Re-fix case of
9852         browse-url-browser-function being an alist.
9853         (browse-url): Add :link to defgroup.
9855         * files.el: Doc fixes.
9856         (file-truename): Include `[' in wildcard characters.
9857         (automount-dir-prefix): Customize.
9858         (find-file-wildcards): Add :version.
9859         (find-file-noselect): Simplify a mapcar call.
9861         * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
9862         compatible with inf-lisp version.
9863         (eval-defun-1): Fix custom-declare-variable case.
9865 2000-03-25  Stefan Monnier  <monnier@cs.yale.edu>
9867         * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
9869 2000-03-24  Gerd Moellmann  <gerd@gnu.org>
9871         * Makefile (COMPILE_FIRST): New macro.
9872         (compile-files): Compile files from COMPILE_FIRST first.
9874         * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
9875         code.
9877         * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
9878         matching open parenthesis in column 0 to defun-prompt-regexp
9879         only if open-paren-in-column-0-is-defun-start is set.
9881         * sun-curs.el: Require CL at compile-time only.
9883         * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
9884         instead of copy-list which is a function from CL.
9885         (msb--choose-menu, msb--mode-menu-cond)
9886         (msb--create-buffer-menu-2): Use dolist instead of mapc.
9887         (msb--init-file-alist): Use mapcar instead of mapcan.
9888         (msb--aggregate-alist): Use mapcar instead of mapcan.  Fix
9889         `(' in column 0 in doc string.
9890         (msb--add-separators): Use mapcar instead of mapcan.
9892         * cus-dep.el: Require CL at compile-time only.
9894 2000-03-24  Stefan Monnier  <monnier@cs.yale.edu>
9896         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
9897         (byte-compile-warnings): New warning `noruntime'.
9898         (byte-compile-constants, byte-compile-variables): Fix docstring.
9899         (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
9900         execute `eval-whenc-compile's body.
9901         (byte-compile-unresolved-functions): Fix docstring.
9902         (byte-compile-eval): New function.
9903         (byte-compile-callargs-warn): Check if the function will be available
9904         at runtime (via property `byte-compile-noruntime').
9905         (byte-compile-print-syms): New function.
9906         (byte-compile-warn-about-unresolved-functions): Also warn about
9907         `noruntime' functions (and use `byte-compile-print-syms').
9908         (byte-compile-file): Capitalize the message.
9910 2000-03-24  Gerd Moellmann  <gerd@gnu.org>
9912         * mail/rmail.el (rmail-confirm-expunge): New user-option.
9913         (rmail-expunge): Ask for confirmation depending on the setting
9914         of rmail-confirm-expunge.
9916 2000-03-23  Gerd Moellmann  <gerd@gnu.org>
9918         * Makefile (bootstrap-clean): If $(emacs) exists, build
9919         loaddefs.el first.  A loaddefs.el that's not up-to-date might
9920         cause a bootstrap failure because things don't autoload as
9921         expected.
9923 2000-03-23  Dave Love  <fx@gnu.org>
9925         * net/browse-url.el: Restore previous use of
9926         browse-url-maybe-new-window.
9928 2000-03-23  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9930         * ps-print.el: Skip banner page fix.
9931         (ps-print-version): New version number (5.1.2).
9932         (ps-begin-file, ps-end-file, ps-generate): Code fix.
9934 2000-03-23  Dave Pearson  <davep@davep.org>
9936         * net/quickurl.el Changed the type of parameter passed to the
9937         function defined by `quickurl-format-function'. Before only the
9938         text of the URL was passed. Now the whole URL structure is passed
9939         and the function is responsible for extracting the parts it
9940         requires.  Changed the default of `quickurl-format-function'
9941         accordingly.
9942         (quickurl-insert): Changed the `funcall' of
9943         `quickurl-format-function' to match the above change.
9944         (quickurl-list-insert): Changed the `url' case so that it makes
9945         use of `quickurl-format-function', previous to this the format was
9946         hard wired.
9948 2000-03-22  Gerd Moellmann  <gerd@gnu.org>
9950         * startup.el: Change some spellings for the X Window System.
9952 2000-03-22  Stefan Monnier  <monnier@cs.yale.edu>
9954         * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
9955         up the code and the regexp and make sure the cursor is temporarily
9956         moved to the suspicious line while querying the user.
9958 2000-03-22  Jason Rumney  <jasonr@gnu.org>
9960         * w32-fns.el (w32-charset-info-alist): Initialize.
9962 2000-03-22  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
9964         * ps-print.el: N-up last page fix.
9965         (ps-print-version): New version number (5.1.1).
9966         (ps-end-file, ps-end-job, ps-generate): Code fix.
9968 2000-03-21  Stefan Monnier  <monnier@cs.yale.edu>
9970         * files.el (find-file-run-dired): Update docstring.
9971         (find-directory-functions): New hook.
9972         (find-file-noselect): Run find-directory-functions rather than
9973         calling dired directly.
9975         * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
9977         * pcvs.el: Add a minimal leading commentary.
9978         (cvs-make-cvs-buffer): Change the header part by removing the startup
9979         message and adding a `Module' entry.  Also replace the FOOTER and
9980         HEADER special fileinfos with the new support in ewoc for updating
9981         its own footer and header.
9982         (cvs-update-header): Update to use the header/footer of the ewoc.
9983         (cvs-mode): Use define-derived-mode and set truncate-lines to t.
9984         (cvs-is-within-p): New function.
9985         (cvs-mode-run): Take advantage of `save-some-buffers's new ability
9986         to only examine some subset of the buffers.
9988         * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
9989         `format' instead of our own ad-hoc functions.
9990         Remove HEADER and FOOTER cases, now handled in the EWOC.
9991         (cvs-fileinfo<): Remove HEADER and FOOTER cases.
9993         * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
9994         output to avoid scaring the user.
9995         (cvs-parse-table): Catch message for non-up-to-date commits.
9997         * pcvs-defs.el (cvs-startup-message): Remove.
9998         (cvs-global-menu): New autoloaded menu.
10000         * pcvs-util.el (cvs-string-fill): Remove.
10002         * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
10003         (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
10004         PP part of it and also make it work for footers and headers.
10005         (ewoc-create): Drop POS and BUFFER arguments.
10006         Use the DLL's dummy node to store the end-of-footer position.
10007         (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
10008         (ewoc-refresh): Remove unused `header' variable.
10009         (ewoc-(get|set)-hf): New functions.
10011         * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
10012         log-view-*-(message|file) and use easy-mmode-define-navigation.
10013         (log-view-message-re): Match SCCS format as well.
10014         And match the revision line rather than the dashed separator line.
10015         (log-view-mode): Use the new define-derived-mode.
10016         (log-view-current-tag): Fill in with an actual implementation.
10018         * cvs-status.el (cvs-status-(prev|next)): Rename from
10019         cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
10020         (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
10021         to let the output "breathe" a little more (more readable).
10022         (cvs-status-mode): Use the new define-derived-mode.
10024         * smerge-mode.el (smerge-auto-leave): New function and variable.
10025         (smerge-basic-map): Rename from smerge-basic-keymap.
10026         Change the bindings for smerge-diff-*.
10027         (smerge-*-map): Use easy-mmode-defmap.
10028         (smerge-(next|prev)): Use easy-mmode-define-navigation.
10029         (smerge-keep-*): Use smerge-auto-leave.
10031 2000-03-21  Jason Rumney  <jasonr@gnu.org>
10033         * cus-edit.el (custom-button-face): Use 3D look for w32.
10034         (custom-button-pressed-face): Likewise.
10036 2000-03-21  Gerd Moellmann  <gerd@gnu.org>
10038         * progmodes/etags.el (tags-case-fold-search): New user-option.
10039         (tags-loop-eval): New function.  Bind case-fold-search around eval
10040         depending on the value of tags-case-fold-search.
10041         (tags-loop-continue): Use tags-loop-eval.
10042         (find-tag-in-order): Bind case-fold-search depending on the value
10043         of tags-case-fold-search.
10045 2000-03-21  Stefan Monnier  <monnier@cs.yale.edu>
10047         * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
10048         (diff-end-of-hunk): Return the end position for use in
10049         `easy-mmode-define-navigation'.
10050         (diff-recenter): Remove.
10051         (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
10052         of `easy-mmode-define-navigation'.
10053         (diff-kill-*): Rename `diff-*-kill' (for consistency with the
10054         previous renaming) and fix to use new names.
10055         (diff-merge-strings): Use \n as separator: simpler, faster.
10056         (diff-mode): Use `define-derived-mode'.
10058         * derived.el (define-derived-mode): Don't autoload anymore.
10059         Prefer the macro-only version provided by easy-mmode.el.
10061         * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
10062         `easy-mmode-define-derived-mode'.
10063         Use `combine-run-hooks'.
10064         (easy-mmode-define-navigation): New macro.
10066         * subr.el (combine-run-hooks): New function.
10068 2000-03-21  Kenichi HANDA  <handa@etl.go.jp>
10070         * term/x-win.el: Fontsets related initialization is simplified.
10072         * international/mule-diag.el (describe-font): Don't refer to
10073         global-fontset-alist, instead call font-list.
10074         (describe-fontset, list-fontsets, mule-diag): Likewise.
10075         (print-fontset): Adjusted for the change of fontset
10076         implementation.
10078         * international/fontset.el (x-charset-registries): Variable
10079         removed, instead the corresponding data is stored in the default
10080         fontset.
10081         (register-alternate-fontnames): Function removed.
10082         (resolved-ascii-font): Variable removed.
10083         (x-compose-font-name): Ignore the second argument REDOCE.
10084         (x-complement-fontset-spec): Complement only an ASCII font and
10085         element for those charsets than can use that ASCII font.
10086         (generate-fontset-menu): Don't refer to global-fontset-alist,
10087         instead call fontset-list.
10088         (uninstantiated-fontset-alist): Variable removed.
10089         (x-style-funcs-alist): Likewise.
10090         (fontset-default-styles): Likewise.
10091         (x-modify-font-name): Function removed.
10092         (create-fontset-from-fontset-spec): Ignore the argument
10093         STYLE-VARIANT.
10094         (create-fontset-from-ascii-font): Docsting adjusted for the above
10095         change.
10096         (instantiate-fontset, resolve-fontset-name): Functions removed.
10097         (fontset-list): Now implemented by C code.
10099         * faces.el (read-face-font): Fix TABLE arg to completing-read.
10100         (describe-face): Include `font' attribute in the description.
10102 2000-03-21  Kenichi Handa  <handa@etl.go.jp>
10104         * international/quail.el (quail-set-keyboard-layout): Typo fixed.
10106 2000-03-20  Gerd Moellmann  <gerd@gnu.org>
10108         * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
10109         ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
10110         zone-mode.el, snmp-mode.el: Moved to net subdirectory.
10112         * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
10113         about behavior of set-buffer-modified-p wrt redisplay.
10115 2000-03-19  Richard M. Stallman  <rms@gnu.org>
10117         * view.el (view-mode-disable): Kill local binding of view-read-only.
10119 2000-03-18  Gerd Moellmann  <gerd@gnu.org>
10121         * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
10122         is a string, convert it to a syntax cell using string-to-syntax.
10124         * simple.el (syntax-code-table, syntax-flag-table): New variables.
10125         (string-to-syntax): New function.
10127         * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
10128         (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
10129         try to use passive ftp mode.
10131 2000-03-17  Gerd Moellmann  <gerd@gnu.org>
10133         * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
10135         * simple.el (append-to-buffer): Update point of windows after
10136         insertion.
10138         * abbrev.el (inverse-add-abbrev): Identify word by first moving
10139         forward then moving backward.  Reindent.
10141         * frame.el (other-frame): Call x-focus-frame only if
10142         focus-follows-mouse is off.
10144 2000-03-17  Dave Love  <fx@gnu.org>
10146         * pcvs-util.el (cvs-strings->string): Rename
10147         replace-regexps-in-string.
10149 2000-03-17  Stefan Monnier  <monnier@cs.yale.edu>
10151         * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
10152         regexp for labels cannot span several lines.
10154         * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
10155         `(setq :<key> ':<key>)' to the macro expansion.
10157 2000-03-16  Dave Love  <fx@gnu.org>
10159         * progmodes/f90.el (f90): Put custom group under `languages', not
10160         `fortran'.
10161         (f90-mode-hook): Customize.
10162         (f90-mode): Set add-log-current-defun-function.
10163         (f90-current-defun): New function.
10165 2000-03-16  Gerd Moellmann  <gerd@gnu.org>
10167         * cus-edit.el (custom-variable-tag-face): Handle case that
10168         default face's height is not a number.
10169         (custom-face-tag-face, custom-group-tag-face-1)
10170         (custom-group-tag-face): Ditto.
10171         (custom-group-tag-face-1): Add :group.
10173         * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
10175 2000-03-15  Gerd Moellmann  <gerd@gnu.org>
10177         * pcvs-defs.el (toplevel): Remove autoload cookie for form
10178         requiring easymenu.
10180 2000-03-15  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
10182         * ps-print.el: PostScript user-defined prologue, PostScript error
10183         handler, doc fix.
10184         (ps-print-version): New version number (5.1).
10185         (ps-user-defined-prologue, ps-error-handler-message)
10186         (ps-print-prologue-0, ps-error-handler-alist): New vars.
10187         (ps-setup, ps-begin-file, ps-begin-job): Code fix.
10188         (ps-insert-string): New function.
10190 2000-03-15  Kenichi Handa  <handa@etl.go.jp>
10192         * international/ccl.el (ccl-compile-expression): Don't generate
10193         invalid self-assignment code.
10195 2000-03-14  Dave Love  <fx@gnu.org>
10197         * subr.el (replace-regexp-in-string): Renamed from
10198         replace-regexps-in-string.  Doc fix.
10200 2000-03-12  Dave Love  <fx@gnu.org>
10202         * cus-edit.el: Doc fixes.
10203         (customize-set-variable, customize-save-variable): Rename args for
10204         doc.
10205         (custom-variable-tag-face, custom-face-tag-face)
10206         (custom-group-tag-face-1, custom-group-tag-face): Modify from
10207         style which user identify as hyperlink.
10208         (hook): Don't add undefined functions to the hook.
10209         (debug-ignored-errors): Transfer message from bindings.el.
10211 2000-03-12  Gerd Moellmann  <gerd@gnu.org>
10213         * recentf.el (recentf-keep-non-readable-files-p): Remove
10214         double/nested definition.
10216 2000-03-12  Dave Love  <fx@gnu.org>
10218         * facemenu.el (facemenu-get-face): Use display-color-p.
10219         * enriched.el (enriched-decode-foreground): Likewise.
10220         (enriched-decode-background): Likewise.
10221         * isearch.el (isearch-highlight): Likewise.
10222         * info-look.el (info-lookup): Likewise.
10223         * simple.el (completion-setup-function): Likewise.
10225         * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
10226         :options.
10228         * bindings.el (mode-line-format): Fix line-number and
10229         column-number items.  Add help-echo for the background.
10230         (mode-line-mule-info): Modify help-echo.
10232         * avoid.el (mouse-avoidance-mode): Add autoload cookie to
10233         defcustom.
10235         * files.el (load-file): Allow completion to .elc.
10237         * man.el: Doc fixes.
10238         (Man-init-defvars): Use display-color-p to set fontification.
10240         * play/hanoi.el (hanoi-internal): Don't use oddp.
10242 2000-03-12  Gerd Moellmann  <gerd@gnu.org>
10244         * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
10246         * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
10248 2000-03-12  Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
10250         * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
10251         Fix comment.
10253 2000-03-10  Stefan Monnier  <monnier@cs.yale.edu>
10255         * font-lock.el (font-lock-keywords): Fix the doc now that
10256         regexp-opt-depth is unnecessary.
10257         (save-buffer-state): Set an edebug spec.
10258         (font-lock-fontify-anchored-keywords): Properly handle the case when
10259         the matcher goes past the limit.
10261         * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
10262         pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
10264         * emacs-lisp/ewoc.el: New file.  This is a merge of elib-node.el,
10265         dll.el and cookie.el (from Elib) with heavy renaming and other
10266         massaging.
10268         * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
10269         Autoload the functions used.
10270         (easy-mmode-define-syntax): Fix CL typo.
10271         (easy-mmode-define-derived-mode): Improve the docstring generation.
10273 2000-03-10  Gerd Moellmann  <gerd@gnu.org>
10275         * textmodes/texinfo.el (texinfo-version): Variable and function
10276         removed.
10278 2000-03-09  Stefan Monnier  <monnier@cs.yale.edu>
10280         * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
10281         allow more flexibility.
10282         (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
10283         fns.
10284         (easy-mmode-defmap, easy-mmode-defsyntax)
10285         (easy-mmode-define-derived-mode): New macros.
10287 2000-03-09  Didier Verna  <didier@xemacs.org>
10289         * rect.el (replace-rectangle): New function.
10291 2000-03-09  Dave Love  <fx@gnu.org>
10293         * progmodes/fortran.el (fortran-comment-line-start): Define as
10294         "C".
10295         (fortran-comment-line-start-skip): Don't match cpp stuff.
10296         (font-lock-keywords): Add * to comment-chars.  Grok cpp stuff.
10297         (fortran-mode-map): Remove over-eager custom-menu-create for now.
10298         (fortran-mode): Don't set fortran-comment-line-start-skip,
10299         fortran-comment-line-start here.  Set comment-start,
10300         add-log-current-defun.
10301         (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
10302         (fortran-current-defun): New function.
10304 2000-03-09  Gerd Moellmann  <gerd@gnu.org>
10306         * emacs-lisp/re-builder.el: New file.
10308         * mouse.el (mouse-drag-region): Don't run up-event handler
10309         if hscroll has changed.
10311         * octave-mod.el (octave-font-lock-keywords): To font-lock the
10312         builtin operators, use `font-lock-builtin-face' for Emacs and
10313         `font-lock-preprocessor-face' otherwise.
10315         * font-lock.el (lisp-font-lock-keywords-1): Highlight
10316         `(defun (setf foo)' differently.
10318 2000-03-08  Stefan Monnier  <monnier@cs.yale.edu>
10320         * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
10321         (regexp-opt): Update comment and adapt the code the new meaning of
10322         the `paren' argument of regex-opt-group for shy-groups.
10323         (regexp-opt-depth): Handle shy groups as well as backslashed
10324         backslashes.
10325         (regexp-opt-group): Turn the leading comment into a docstring.
10326         Allow `paren' to be a string (the string to use to open a group).
10327         Remove open-presuf and close-presuf.  Instead of checking for `all
10328         one-char' and then later on check for `several one-char', handle
10329         both cases close together.  Also apply a more generic algorithm
10330         for suffixes (the mirror image of the algorithm used for
10331         prefixes).  Use shy-groups.  Use nreverse rather than reverse.
10332         (regexp-opt-try-suffix): Removed.
10334         * cmuscheme.el (inferior-scheme-mode-map): Define it independently
10335         from comint-mode-map, so we can just inherit from it.  Also, move
10336         the initialization into the `defvar' since there's no docstring
10337         anyway and it's fairly short.
10338         (inferior-scheme-mode): Define it as derived-mode: the code is
10339         shorter and this way we inherit from comint-mode-map rather than
10340         copying it.
10342         * subr.el (replace-regexps-in-string): Properly handle the case
10343         where we match an empty string.
10345         * comint.el (comint-exec-1): Add the current-dir to the exec-path
10346         when the command has a directory component (such as "./testml").
10347         Also fix a typo in the comment.
10349 2000-03-08  Gerd Moellmann  <gerd@gnu.org>
10351         * Makefile (compile-files): Compile files one by one because
10352         that's the only way to ensure a clean compilation environment for
10353         each individual file.
10355         * frame.el (other-frame): Call x-focus-frame.
10357 2000-03-07  Dave Love  <fx@gnu.org>
10359         * recentf.el (recentf-keep-non-readable-files-p): Add :set,
10360         :require to defcustom.
10362         * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
10363         lists.
10365         * files.el (auto-mode-alist): Add configure.in.
10367         * progmodes/autoconf.el: New file.
10369 2000-03-07  Gerd Moellmann  <gerd@gnu.org>
10371         * mail/mh-e.el: Change maintainer to `none'.
10373         * recentf.el (recentf-keep-non-readable-files-p): Quote args
10374         to remove-hook and add-hook.
10376 2000-03-07  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
10378         * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
10379         it as the default.
10380         (mail-send): Test mail-send-nonascii also for the new `mime' value.
10381         (sendmail-send-it): Conditionally add MIME headers specifying the
10382         used character set.
10384 2000-03-07  Dave Love  <fx@gnu.org>
10386         * winner.el: Fix keywords, autoload cookies.  Split
10387         eval-when-compile form to avoid compilation failure.
10389 2000-03-07  Miyashita Hisashi  <himi@bird.scphys.kyoto-u.ac.jp>
10391         * international/mule.el: Modify comment about coding system
10392         property `coding-category'.
10393         (make-coding-system): New argument EOL-TYPE.  Pay attention to
10394         coding-category property of PROPERTIES.
10396         * international/mule-conf.el (coding-category-utf-8,
10397         coding-category-utf-16-be, coding-category-utf-16-le): New coding
10398         categories.  Include them in the argument for set-coding-priority.
10400         * international/mule-cmds.el (reset-language-environment): Include
10401         coding-category-utf-8, coding-category-utf-16-be, and
10402         coding-category-utf-16-le in the argument for set-coding-priority.
10403         (reset-language-environment): Initialize coding-category-utf-8,
10404         coding-category-utf-16-be, and coding-category-utf-16-le to nil.
10406 2000-03-06  Karl Fogel  <kfogel@red-bean.com>
10408         * bookmark.el (bookmark-file-or-variation-thereof): New func, for
10409         code abstracted out of `bookmark-jump-noselect'.  Now tries info
10410         extensions as well as compression extensions.
10411         (bookmark-jump-noselect): Use above new func.
10413 2000-03-03  Gerd Moellmann  <gerd@gnu.org>
10415         * strokes.el: Change maintainer's mail address.
10417 2000-03-03  Kenichi Handa  <handa@etl.go.jp>
10419         * international/mule-diag.el (list-character-sets): Make help-echo
10420         string by substitute-command-keys.
10421         (list-character-sets): Likewise.
10422         (sort-listed-character-sets): Call help-setup-xref.
10424 2000-03-02  Gerd Moellmann  <gerd@gnu.org>
10426         * time.el (display-time-mail-file): Add `none' to the list of
10427         choices.
10429 2000-03-01  Dave Love  <fx@gnu.org>
10431         * help.el (help-xref-go-back): Don't try to set position.
10433         * international/mule-diag.el (list-character-sets): Call
10434         help-setup-xref.  Add help-echo to xrefs.
10435         (list-character-sets-1): Add help-echo to xrefs.
10437 2000-03-02  Gerd Moellmann  <gerd@gnu.org>
10439         * frame.el (blink-cursor-mode): Switch cursor on when turning
10440         the mode off.
10442         * add-log.el (add-log-current-defun): Add support for
10443         Autoconf mode.
10445         * mail/rmail.el (rmail-quit-hook): New variable.
10447 2000-03-01  Dave Love  <fx@gnu.org>
10449         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
10451         * help.el (help-xref-button): Add help-echo arg.
10452         (describe-function-1, describe-variable, help-make-xrefs): Use it.
10454         * faces.el (list-faces-display): Supply help-echo with
10455         help-make-xrefs.
10457         * facemenu.el (list-text-properties-at): Set help-xref-stack to
10458         nil.
10460 2000-03-01  Gerd Moellmann  <gerd@gnu.org>
10462         * image.el (defimage): Look for image files in load-path.
10464         * frame.el (busy-cursor-delay-seconds): Change type to
10465         `number'.
10467 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
10469         * recentf.el (recentf): Added version tag to the defgroup of
10470         recentf.
10472 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
10474         * recentf.el (recentf-cleanup): Changed to remove excluded file
10475         too.
10476         (recentf-edit-list-action): `recentf-edit-list' checkbox widget
10477         action to select/unselect a file.
10478         (recentf-edit-list): Code cleanup and improvement.
10479         (recentf-open-more-files-action): `recentf-open-more-files' button
10480         widget action to open a file.
10481         (recentf-open-more-files): No more use standard completion but
10482         widgets.
10483         (recentf-more-collection): Deleted.
10484         (recentf-more-history): Deleted.
10485         (recentf-setup-more-completion): Deleted.
10487 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
10489         * recentf.el (recentf-mode): No more needs that Emacs is running
10490         under a window-system.
10492 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
10494         * recentf.el (recentf-edit-list): New command to edit the recent
10495         list which allow the user to remove files.
10496         (recentf-edit-selected-items): New global variable, used by
10497         `recentf-edit-list' to hold the list of files to be removed from
10498         the recent list.
10499         (recentf-make-menu-items): Updated to display a "Edit list..."
10500         menu item.  Minor code cleanup.
10502 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
10504         * recentf.el (recentf-open-more-files): New command to open files
10505         that are not displayed in the menu.
10506         (recentf-more-collection): New global variable holding the set of
10507         permissible completions used by `recentf-open-more-files'.
10508         (recentf-more-history): New global variable holding the history list
10509         used by `recentf-open-more-files' completion.
10510         (recentf-setup-more-completion): New function to setup completion for
10511         `recentf-open-more-files'.
10512         (recentf-make-menu-items): Updated to display a "More..." menu item.
10514 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
10516         * recentf.el (recentf-menu-action): Doc fixed.
10518 1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
10520         * recentf.el (recentf-menu-filter): Doc updated.
10521         (recentf-update-menu-hook): Allow menu filters to force menu update.
10522         (recentf-make-menu-items): New menu filter handling.
10523         (recentf-make-menu-item): New helper function.
10524         (recentf-menu-elements): New menu handling function.
10525         (recentf-sort-ascending): Updated to new menu filter handling.
10526         (recentf-sort-descending): Updated to new menu filter handling.
10527         (recentf-sort-basenames-ascending): New menu filter function.
10528         (recentf-sort-basenames-descending): New menu filter function.
10529         (recentf-show-basenames): New menu filter function.
10530         (recentf-show-basenames-ascending): New menu filter function.
10531         (recentf-show-basenames-descending): New menu filter function.
10533 2000-02-29  Edward M. Reingold  <reingold@emr.cs.uiuc.edu>
10535         * diary-lib.el (list-diary-entries): Don't try to go forward at
10536         the end of the buffer.
10538 2000-02-29  Kenichi Handa  <handa@etl.go.jp>
10540         * international/mule-diag.el (list-character-sets): Completely
10541         rewritten.
10542         (sort-listed-character-sets): New function.
10543         (list-character-sets-1): Completely rewritten.
10544         (list-character-sets-2): New function.
10545         (non-iso-charset-alist): New variable.
10546         (decode-codepage-char): New function.
10547         (charset-history): New variable.
10548         (read-charset) (list-block-of-chars)
10549         (list-iso-charset-chars)
10550         (list-non-iso-charset-chars)
10551         (list-charset-chars): New functions.
10552         (mule-diag): Call list-character-sets-2, not
10553         list-character-sets-2.
10554         (dump-charsets): Likewise.
10556 2000-02-29  Gerd Moellmann  <gerd@gnu.org>
10558         * dired-x.el (dired-filename-at-point): Add `@' to valid
10559         file name characters.
10560         (dired-filename-at-point): Handle ange-ftp file names.
10562         * frame.el (frame-notice-user-settings): Use assq-delete-all
10563         instead of assoc-delete-all.
10564         (frame-notice-user-settings): Ditto.
10566         * subr.el (assq-delete-all): Renamed from assoc-delete-all.
10567         Don't copy alist.
10569 2000-02-28  Eli Barzilay  <eli@cs.cornell.edu>
10571         * calculator.el (calculator-use-menu): New option.
10572         (calculator-initial-bindings): Changed some bindings to work as
10573         macros.
10574         (calculator-forced-input): Removed.
10575         (calculator-restart-other-mode): New variable.
10576         (calculator-mode-map): Set up menu.
10578 2000-02-28  Jari Aalto  <jari.aalto@poboxes.com>
10580         * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
10581         tags.
10583 2000-02-28  Michael Kifer  <kifer@cs.sunysb.edu>
10585         * viper-cmd.el (viper-envelop-ESC-key): added the option to
10586         translate all ESC key sequences.
10587         (viper-goto-mark-subr): restore markers for files for which
10588         they were saved.
10589         * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
10590         * viper-util.el (viper-set-replace-overlay-glyphs,
10591         viper-set-replace-overlay): always check if the replacement
10592         overlay is live.
10593         * viper.el (viper-vi-state-mode-list): added major modes.
10594         * ediff-wind.el: minor comment changes.
10595         * ediff.el: copyright notice date fix.
10597 2000-02-27  Jason Rumney  <jasonr@gnu.org>
10599         * faces.el (face-font-family-alternatives): Add arial to helv.
10600         (mode-line, header-line, tool-bar): Same default as x for w32.
10601         (fixed-pitch, variable-pitch): Remove wildcard as it prevents
10602         face-font-family-alternatives from working.
10603         * term/w32-win.el (mouse-set-font): Do not build fontset from
10604         chosen font.
10606 2000-02-25  Sam Steingold  <sds@goems.com>
10608         * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
10609         properly.
10611 2000-02-25  Richard M. Stallman  <rms@gnu.org>
10613         * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
10615 2000-02-25  Gerd Moellmann  <gerd@gnu.org>
10617         * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
10618         writable.
10620         * frame.el (busy-cursor-delay-seconds): New option.
10622 2000-02-24  Gerd Moellmann  <gerd@gnu.org>
10624         * frame.el (show-cursor-in-non-selected-windows): New option.
10626 2000-02-24  Edward M. Reingold  <reingold@emr.cs.uiuc.edu>
10628         * diary-lib.el (include-other-diary-files): Undo the selective
10629         display in any included file and don't kill it.
10631 2000-02-24  Eli Zaretskii  <eliz@is.elta.co.il>
10633         * dired.el (dired-mode-map): Don't remove "Edit" from the menu
10634         bar.  Menu items converted to (menu-item format, help strings
10635         added.
10636         [downcase, upcase]: Don't enable on MS-DOS.
10637         [symlink, symlinks]: Don't show if make-symbolic-link is not
10638         bound.
10639         [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
10641 2000-02-23  Dave Love  <fx@gnu.org>
10643         * simple.el (zap-to-char, kill-line, kill-region, kill-word)
10644         (backward-kill-word): Revert addition of * to interactive spec --
10645         it's a feature.
10647         * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
10648         (backward-kill-sentence, kill-sentence): Likewise.
10650         * gud.el (gud-jdb-build-class-source-alist): Prepend space to
10651         scratch buffer name.
10652         (gud-format-command): Use int-to-string in ?l case.  Simplify
10653         slightly.
10655         * term/w32-win.el (internal-face-interactive): Update prompt for
10656         new read-face-name.
10658         * mail/footnote.el (footnote): Add :version to defgroup.
10659         (footnote-section-tag-regexp): Customize.
10660         (footnote-start-tag, footnote-end-tag): New option.
10661         (footnote-latin-regexp): New variable.
10662         (Footnote-latin): New function.
10663         (footnote-style-alist): Add element for latin style.
10664         (footnote-style): Moved.
10665         (Footnote-goto-footnote): Use eq to test arg.
10667         * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
10669         * emacs-lisp/byte-opt.el: Change old backquote syntax.
10670         (byte-compile-trueconstp): Include keywords.
10671         (byte-optimize-quote, byte-optimize-lapcode): Use
10672         byte-compile-const-symbol-p.
10673         (byte-optimize-char-before): New optimization.
10675         * emacs-lisp/bytecomp.el: Change old backquote syntax.
10676         (byte-compile-const-symbol-p): New function.
10677         (byte-compile-constp, byte-compile-out-toplevel)
10678         (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
10679         Use it.
10681         * subr.el (define-key-after): Default AFTER to t.  Doc fix.
10683 2000-02-23  Kenichi Handa  <handa@etl.go.jp>
10685         * international/encoded-kb.el: Be sure to update minor-mode-alist
10686         and minor-mode-map-alist.
10687         (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
10688         codes SS2 and SS3 correctly.
10689         (encoded-kbd-self-insert-ccl): New function.
10690         (encoded-kbd-setup-keymap): New function.
10691         (encoded-kbd-mode): Handle CCL based coding system.  Setup keymap
10692         by calling encoded-kbd-setup-keymap.
10694         * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
10695         characters.
10696         (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
10697         locally.
10699 2000-02-22  Dave Love  <fx@gnu.org>
10701         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
10702         (lisp-mode-map, lisp-interaction-mode-map): Define all inside
10703         defvar.
10704         (lisp-mode-syntax-table): Set up for #|...|# comments.
10705         (lisp-imenu-generic-expression): Purecopy strings.  Use syntax
10706         classes.  Match `defface'.
10707         (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
10708         (eval-defun-1): Fix for defcustom.
10709         (lisp-indent-region): Doc fix.
10711         * subr.el (when, unless, split-string): Doc fix.
10712         (read-passwd): Move call of clear-this-command-keys to the right
10713         place.
10714         (replace-regexps-in-string): New function.
10716 2000-02-22  Gerd Moellmann  <gerd@gnu.org>
10718         * help.el (describe-variable): Set syntax table to
10719         emacs-lisp-mode-syntax-table when moving forward over the
10720         symbol's name.
10722 2000-02-22  Dave Love  <fx@gnu.org>
10724         * xt-mouse.el: Doc fixes.
10725         (xterm-mouse-position-function): New function, replacing advice of
10726         mouse-position.
10727         (xterm-mouse-mode): Use it.  Don't turn on under a window system.
10729         * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
10731 2000-02-21  Gerd Moellmann  <gerd@gnu.org>
10733         * format.el (format-annotate-single-property-change): Handle
10734         properties.with dotted-list values.
10735         (format-proper-list-p): New function.
10737         * enriched.el (enriched-face-ans): Handle '(foreground-color
10738         . COLOR) and (background-color . COLOR).
10740 2000-02-20  Dave Love  <fx@gnu.org>
10742         * textmodes/flyspell.el (flyspell-mouse-map): Change definition
10743         and assignments to it.
10744         (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
10745         current local map.
10746         (make-flyspell-overlay): Use it.
10747         (flyspell-correct-word/mouse-keymap): Change XEmacs test.
10749         * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
10750         (lm-get-header-re): Defun, not defsubst.
10751         (lm-get-package-name): Defun, not defsubst.  Simplify.
10752         (lm-version): Doc fix.  Simplify.
10753         (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
10754         (lm-crack-address, lm-last-modified-date, lm-commentary)
10755         (lm-verify, lm-synopsis): Simplify.
10756         (lm-report-bug): Require emacsbug.  Use compose-mail.
10758 2000-02-20  Gerd Moellmann  <gerd@gnu.org>
10760         * dired.el (dired-mode): Call propertized-buffer-identification
10761         to set mode-line-buffer-identification to something having
10762         the right text properties.
10764         * bindings.el (propertized-buffer-identification): New function.
10766 2000-02-20  Dave Love  <fx@gnu.org>
10768         * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
10769         check for t-mouse too.
10771         * cus-start.el: Make echo-keystrokes `number'.
10773 2000-02-20  Eli Zaretskii  <eliz@is.elta.co.il>
10775         * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
10776         Don't call ring-empty-p unless tags-location-ring is bound.
10777         From Noah Friedman <friedman@splode.com>.
10779 2000-02-18  Thien-Thi Nguyen  <ttn@gnu.org>
10781         * progmodes/hideshow.el (hs-flag-region): No longer use
10782         `intangible' overlay property.
10784         (hs-toggle-hiding): New command.
10785         (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
10787         (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
10788         Fix omission bug: Run `hs-minor-mode-hook' for both activation
10789         and deactivation.
10791 2000-02-18  Gerd Moellmann  <gerd@gnu.org>
10793         * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
10795 2000-02-17  Gerd Moellmann  <gerd@gnu.org>
10797         * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
10799         * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
10800         of `*' to handle `(* ... *)' comments.
10802 2000-02-17  Eli Zaretskii  <eliz@is.elta.co.il>
10804         * faces.el (list-faces-display): Use display-mouse-p instead of
10805         window-system.
10807         * menu-bar.el (global-map): Menu-bar items converted to the new
10808         format (menu-item..., rearranged for better CUA compliance, and
10809         their names changed for better clarity.  Help strings added.
10811         * international/mule-cmds.el (mule-menu-keymap)
10812         (describe-language-environment-map, set-coding-system-map)
10813         (setup-language-environment-map): Convert to new (menu-item...
10814         form, add help strings.  Change names of menu items for better
10815         clarity.  "Mule" menu-bar item removed (it's now in the "Options"
10816         submenu).
10818 2000-02-17  Gerd Moellmann  <gerd@gnu.org>
10820         * dired-aux.el (dired-do-copy): Remove spurious character.`n'
10821         within the code.
10823 2000-02-16  Dave Love  <fx@gnu.org>
10825         * faces.el: Don't require custom.  Add more specific :groups to
10826         various deffaces.
10827         (set-face-attribute): Purecopy args.
10828         (read-face-name): Default to name at point and use it in prompt.
10829         Remove colon from arg in all callers.
10830         (list-faces-display): Hyperlink to face descriptions and customize
10831         buffers.
10833 2000-02-16  Per Abrahamsen  <abraham@dina.kvl.dk>
10835         * wid-edit.el (widget-match-inline): An atom never matches a
10836         list.
10838 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10840         * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10841         at ':' characters by call to split-string.
10843 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10845         * textmodes/bibtex.el: Added RCS version identification.
10847 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10849         * textmodes/bibtex.el: Some temporary comments removed.
10850         (bibtex-field-name, bibtex-entry-type): Made the relationship
10851         explicit.
10852         (bibtex-field-const): Allow capital letters.
10853         (bibtex-start-of-string): Deleted because unused.
10855         * textmodes/bibtex.el: Unified some nomenclature.  We no longer
10856         use the term 'reference' to describe a bibtex entry as a whole.
10857         Further, reference keys are no longer called 'labels'.
10858         (bibtex-keys): Renamed to bibtex-reference-keys.
10859         (bibtex-reformat-previous-labels): Renamed to
10860         bibtex-reformat-previous-reference-keys.
10861         (bibtex-reference-type): Renamed to bibtex-entry-type.
10862         (bibtex-reference-head): Renamed to bibtex-entry-head.
10863         (bibtex-reference-maybe-empty-head): Renamed to
10864         bibtex-entry-maybe-empty-head.
10865         (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10866         (bibtex-search-reference): Renamed to bibtex-search-entry.
10867         (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10868         bibtex-enclosing-entry-maybe-empty-head.
10869         (bibtex-entry-field-alist, bibtex-entry-head,
10870         bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10871         bibtex-map-entries, bibtex-search-entry,
10872         bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10873         bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10874         bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10875         bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10876         bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10877         bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10878         bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10880 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10882         * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10883         comment.
10884         (bibtex-format-field-delimiters): New function, functionality
10885         extracted from bibtex-format-entry.
10886         (bibtex-autokey-get-yearfield-digits): New function, functionality
10887         extracted from bibtex-autokey-get-yearfield.
10889         * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10890         entries in order to avoid stack overflow in the regexp matcher if
10891         field contents become large.
10892         (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10893         bibtex-field-string-part-not-braced,
10894         bibtex-field-string-part-no-inner-braces,
10895         bibtex-field-string-part-1-inner-brace,
10896         bibtex-field-string-part-2-inner-braces,
10897         bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10898         bibtex-field-string-quoted, bibtex-field-string,
10899         bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10900         bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10901         bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10902         as parsing is now performed by the following functions.
10903         (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10904         bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10905         bibtex-parse-field-string, bibtex-search-forward-field-string,
10906         bibtex-parse-association, bibtex-field-name-for-parsing,
10907         bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10908         bibtex-search-forward-field, bibtex-search-backward-field,
10909         bibtex-start-of-field, bibtex-end-of-field,
10910         bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10911         bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10912         bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10913         bibtex-parse-string, bibtex-search-forward-string,
10914         bibtex-search-backward-string, bibtex-start-of-string,
10915         bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10916         bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10917         bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10918         entries.  Instead of reporting the results of the parsing by
10919         match-beginning or match-end, these functions return data structures
10920         that hold the corresponding positions.
10921         (bibtex-enclosing-field): Changed to also report field boundaries by
10922         return values rather than by match-beginning or match-end.  The
10923         following functions have been adapted to use the new parsing
10924         functions.
10925         (bibtex-skip-to-valid-entry, bibtex-search-reference,
10926         bibtex-enclosing-field, bibtex-format-entry,
10927         bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10928         bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10929         bibtex-print-help-message, bibtex-end-of-entry,
10930         bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10931         bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10932         bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10933         method for parsing.
10934         (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10935         bibtex-map-entries, bibtex-flash-head,
10936         bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10937         bibtex-autokey-change, bibtex-autokey-get-namefield,
10938         bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10939         bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10940         bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10941         bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10942         bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10943         order to make the new binding of case-fold-search immediately
10944         visible.
10946 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10948         * textmodes/bibtex.el: Copyright notice is up to date.
10949         Added constant 'bibtex-maintainer-salutation.
10951         * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10952         than make-temp-name, use match-string-no-properties and eliminate
10953         a quadratic behavior when building bibtex-strings.
10955         * bibtex.el (bibtex-reference-key): Accept string entries whose
10956         reference key contains upper case letters.
10958 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10960         * bibtex.el (bibtex-reference-head): Allow entries to start with
10961         a new line.
10963 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10965         * bibtex.el: Hiding of entry bodies is not longer provided by
10966         bibtex.el directly.  Instead the hideshow package can be used.
10967         Added a special bibtex entry to hs-special-modes-alist.
10968         (bibtex-hs-forward-sexp): Added for hideshow.el.
10970 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10972         * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10973         at ':' characters by call to split-string.
10975 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10977         * textmodes/bibtex.el: Added RCS version identification.
10979 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
10981         * textmodes/bibtex.el: Some temporary comments removed.
10982         (bibtex-field-name, bibtex-entry-type): Made the relationship
10983         explicit.
10984         (bibtex-field-const): Allow capital letters.
10985         (bibtex-start-of-string): Deleted because unused.
10987         * textmodes/bibtex.el: Unified some nomenclature.  We no longer
10988         use the term 'reference' to describe a bibtex entry as a whole.
10989         Further, reference keys are no longer called 'labels'.
10990         (bibtex-keys): Renamed to bibtex-reference-keys.
10991         (bibtex-reformat-previous-labels): Renamed to
10992         bibtex-reformat-previous-reference-keys.
10993         (bibtex-reference-type): Renamed to bibtex-entry-type.
10994         (bibtex-reference-head): Renamed to bibtex-entry-head.
10995         (bibtex-reference-maybe-empty-head): Renamed to
10996         bibtex-entry-maybe-empty-head.
10997         (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10998         (bibtex-search-reference): Renamed to bibtex-search-entry.
10999         (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11000         bibtex-enclosing-entry-maybe-empty-head.
11001         (bibtex-entry-field-alist, bibtex-entry-head,
11002         bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11003         bibtex-map-entries, bibtex-search-entry,
11004         bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11005         bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11006         bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11007         bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11008         bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11009         bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11010         bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11012 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11014         * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11015         comment.
11016         (bibtex-format-field-delimiters): New function, functionality
11017         extracted from bibtex-format-entry.
11018         (bibtex-autokey-get-yearfield-digits): New function, functionality
11019         extracted from bibtex-autokey-get-yearfield.
11021         * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11022         entries in order to avoid stack overflow in the regexp matcher if
11023         field contents become large.
11024         (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11025         bibtex-field-string-part-not-braced,
11026         bibtex-field-string-part-no-inner-braces,
11027         bibtex-field-string-part-1-inner-brace,
11028         bibtex-field-string-part-2-inner-braces,
11029         bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11030         bibtex-field-string-quoted, bibtex-field-string,
11031         bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11032         bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11033         bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11034         as parsing is now performed by the following functions.
11035         (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11036         bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11037         bibtex-parse-field-string, bibtex-search-forward-field-string,
11038         bibtex-parse-association, bibtex-field-name-for-parsing,
11039         bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11040         bibtex-search-forward-field, bibtex-search-backward-field,
11041         bibtex-start-of-field, bibtex-end-of-field,
11042         bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11043         bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11044         bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11045         bibtex-parse-string, bibtex-search-forward-string,
11046         bibtex-search-backward-string, bibtex-start-of-string,
11047         bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11048         bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11049         bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11050         entries.  Instead of reporting the results of the parsing by
11051         match-beginning or match-end, these functions return data structures
11052         that hold the corresponding positions.
11053         (bibtex-enclosing-field): Changed to also report field boundaries by
11054         return values rather than by match-beginning or match-end.  The
11055         following functions have been adapted to use the new parsing
11056         functions.
11057         (bibtex-skip-to-valid-entry, bibtex-search-reference,
11058         bibtex-enclosing-field, bibtex-format-entry,
11059         bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11060         bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11061         bibtex-print-help-message, bibtex-end-of-entry,
11062         bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11063         bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11064         bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11065         method for parsing.
11066         (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11067         bibtex-map-entries, bibtex-flash-head,
11068         bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11069         bibtex-autokey-change, bibtex-autokey-get-namefield,
11070         bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11071         bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11072         bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11073         bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11074         bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11075         order to make the new binding of case-fold-search immediately
11076         visible.
11078 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11080         * textmodes/bibtex.el: Copyright notice is up to date.
11081         Added constant 'bibtex-maintainer-salutation.
11083         * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11084         than make-temp-name, use match-string-no-properties and eliminate
11085         a quadratic behavior when building bibtex-strings.
11087         * bibtex.el (bibtex-reference-key): Accept string entries whose
11088         reference key contains upper case letters.
11090 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11092         * bibtex.el (bibtex-reference-head): Allow entries to start with
11093         a new line.
11095 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11097         * bibtex.el: Hiding of entry bodies is not longer provided by
11098         bibtex.el directly.  Instead the hideshow package can be used.
11099         Added a special bibtex entry to hs-special-modes-alist.
11100         (bibtex-hs-forward-sexp): Added for hideshow.el.
11102 2000-02-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
11104         * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
11105         proceedings entry type (for cross referencing). Thanks to Wagner
11106         Toledo Correa for the suggestion.
11108         * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
11110 2000-02-14  Kenichi Handa  <handa@etl.go.jp>
11112         * international/characters.el: Setup case table for Vietnamese.
11114 2000-02-12  Gerd Moellmann  <gerd@gnu.org>
11116         * uniquify.el (toplevel): Require CL at compile time.
11117         (uniquify-push): Removed.
11119         * shadowfile.el (shadow-when): Removed.
11121         * tempo.el (tempo-dolist, tempo-mapc): Removed.
11122         (tempo-process-and-insert-string): Use dolist instead of
11123         tempo-dolist.
11125         * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
11126         regexp for paragraph-start.
11128         * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
11129         commas as well.
11131 2000-02-10  Dave Love  <fx@gnu.org>
11133         * wid-edit.el: (widgets) [defgroup]: Remove url link.
11134         (widget-color-choice-list, widget-color-history, widget-mouse-help):
11135         Deleted.
11136         (widget-specify-field, widget-specify-button): Don't use
11137         widget-mouse-help as help-echo property.
11138         (default): Use #'ignore for :validate and :mouse-down-action.
11139         (checkbox): Add help-echo.
11140         (widget-sexp-validate): Rewritten to clarify error messages.
11141         (character): Use char-valid-p in :match function.
11142         (widget-color-complete): Use facemenu-color-alist.
11143         (widget-color-action): Use facemenu-read-color.
11145         * emacs-lisp/cl-macs.el: Don't bother testing for defalias.  Don't
11146         set up `caar' &c that we now have.
11148 2000-02-09  Ray Blaak  <blaak@gnu.org>
11150         * delphi.el: Make resourcestring a declaration region, like const
11151         and var.
11153 2000-02-09  Dave Love  <fx@gnu.org>
11155         * bindings.el (mode-line-input-method-map): New variable.
11156         (mode-line-mule-info): Use it; fix last change.
11157         (mode-line-mode-menu): Move definition.
11158         (mode-line-mouse-sensitive-p): Deleted.
11159         (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
11160         (make-mode-line-mouse-sensitive): Deleted.  Body moved to top
11161         level.
11163         * startup.el (command-line-1): Don't call
11164         make-mode-line-mouse-sensitive.
11166 2000-02-07  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
11168         * mail/rmail.el (rmail-retry-failure): Use
11169         rmail-beginning-of-message before rmail-toggle-header, because the
11170         former toggles headers.
11172 2000-02-06  Stefan Monnier  <monnier@cs.yale.edu>
11174         * diff-mode.el (diff-kill-junk): New interactive function.
11175         (diff-reverse-direction): Use delete-and-extract-region.
11176         (diff-post-command-hook): Restrict the area so that the hook also works
11177         outside of any diff hunk.  This is necessary for the minor-mode.
11178         (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
11179         (diff-minor-mode): Setup the hooks for header-hunk rewriting.
11181         * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
11182         (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
11183         so that it can be used more easily in <foo>-mode-hook.  Also make sure
11184         to avoid duplicate entries.
11185         (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
11186         (font-lock-remove-keywords): Just as was done for `add', allow it to
11187         work even if font-lock-mode is nil.  Also make sure we don't modify
11188         any pre-existing list by forcing a copy-sequence.  Finally rename
11189         `major-mode' to `mode'.
11190         (font-lock-fontify-syntactic-anchored-keywords)
11191         (font-lock-fontify-anchored-keywords)
11192         (font-lock-fontify-keywords-region): Use line-end-position.
11193         Don't make `font-lock-multiline' local (it's now done in
11194         font-lock-set-defaults).
11195         (font-lock-set-defaults): Make `font-lock-multiline' local.  Also
11196         move the `font-lock-fontified' creation to inside the `unless'.
11198 2000-02-06  Andrew Innes  <andrewi@gnu.org>
11200         * term/w32-win.el (x-handle-args): Comment out call to message,
11201         which occurs before window system is initialized.
11203         * makefile.nt: Add support for recompiling lisp code.
11205 2000-02-04  Dave Love  <fx@gnu.org>
11207         * bindings.el (mode-line-mule-info): Fix/extend last change.
11209         * completion.el: Replace completion-dolist with dolist.
11211         * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
11212         dotimes.
11214 2000-02-04  Carsten Dominik  <dominik@strw.leidenuniv.nl>
11216         * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
11217         environment names before they go into the section regexp.
11219         * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
11220         char class in regexp.
11222         * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
11223         `case-fold-search' to nil.
11225         * progmodes/idlwave.el (idlwave-template): Respect
11226         `idlwave-abbrev-change-case'.
11227         (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
11228         idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
11229         idlwave-while): respect `idlwave-reserved-word-upcase'.
11230         (idlwave-rw-case): New function.
11231         (idlwave-statement-match): Fixed problem with assignment regexp.
11232         (idlwave-font-lock-keywords): Improved regexp for keyword
11233         parameters.
11234         (idlwave-surround): New argument LENGTH to support padding of
11235         operators longer than 1 char.
11237         * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
11238         idlwave-shell-expression-overlay.  Implemented printing of
11239         expressions on higher levels of the calling stack.
11240         (idlwave-shell-display-level-in-calling-stack): Restore stack
11241         level.
11242         (idlwave-retrieve-expression-from-level): New function.
11243         (idlwave-shell-last-calling-stack): Variable removed.
11244         (idlwave-shell-reset): Argument action reversed (`visible' to
11245         `hidden').  Also remove stop-line overlay.
11246         (idlwave-shell-calling-stack-routine): New variable.
11247         (idlwave-shell-parse-stack-and-display): Messages now display
11248         negative level numbers.
11249         (idlwave-shell-mode): Set `modeline-format'.
11250         (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
11251         (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
11252         21.
11253         (idlwave-shell-print-expression-function): New option.
11255         * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
11256         idlwave-toolbar-remove-everywhere): Keybindings prefix is now
11257         `tool-bar' instead of `toolbar'.
11259 2000-02-02  Dave Love  <fx@gnu.org>
11261         * emacs-lisp/cl.el: Use bytecomp-load-hook, not
11262         emacs-lisp-mode-hook.  Don't check for defalias being defined.
11264         * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
11265         (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions.  Use
11266         the new builtins directly.
11268         * whitespace.el (whitespace): Add :version to defgroup.
11270         * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
11271         Doc fix.
11273         * thingatpt.el (sexp-at-point, symbol-at-point)
11274         (number-at-point, list-at-point): Add autoload cookie.
11276         * recentf.el (recentf): Add :version to defgroup.
11278         * quickurl.el (quickurl): Add :version to defgroup.
11280         * elide-head.el (elide-head): Use point-marker more.
11282         * bs.el (bs): Add :version to defgroup.
11284         * autorevert.el (global-auto-revert-mode): Add autoload cookie.
11286         * progmodes/delphi.el (delphi): Add :version to defgroup.
11288 2000-02-02  Gerd Moellmann  <gerd@gnu.org>
11290         * ange-ftp.el (ange-ftp-write-region): Handle case that
11291         succeeding process operation sets a different coding system.
11293         * calculator.el: New file.
11295 2000-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
11297         * frame.el (frames-on-display-list, framep-on-display): New
11298         functions.
11299         (display-mouse-p, display-popup-menus-p, display-graphic-p)
11300         (display-selections-p, display-screens, display-pixel-width)
11301         (display-pixel-height, display-mm-width, display-mm-height)
11302         (display-backing-store, display-save-under, display-planes)
11303         (display-color-cells, display-visual-class): New functions.
11305         * term/tty-colors.el (tty-color-gray-shades): New function.
11307         * faces.el (display-color-p): Use framep-on-display.
11308         (display-grayscale-p): New function.
11310 2000-01-31  Dave Love  <fx@gnu.org>
11312         * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
11313         (create-fontset-from-x-resource): Don't concat integers.
11315 2000-01-31  Inge Frick  <inge@nada.kth.se>
11317         * view.el: Some changes in documentation.  Removed some trailing
11318         whitespace. Changed some parameter names to agree with
11319         documentation.
11320         (view-mode-exit): Keep entry in `view-return-to-alist' only when a
11321         window is not deleted.  Modifies change 1998-04-26.
11323 2000-01-31  Gerd Moellmann  <gerd@gnu.org>
11325         * windmove.el: New file.
11327         * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11328         progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11329         progmodes/ebnf-yac.el: Update copyright and license info.
11331         * jit-lock.el (jit-lock-function): Widen before calculating end
11332         position.
11333         (jit-lock-stealth-chunk-start): Rewritten.
11335         * info.el (Info-title-face-alist): Removed.
11336         (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
11337         faces.
11338         (Info-fontify-node): Use these faces.
11340 2000-01-30  Gerd Moellmann  <gerd@gnu.org>
11342         * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
11343         (cl-macro-list1): Recognize `&allow-other-keys' instead of
11344         `&allow-other-keywords'.
11346         * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
11347         the list of directories scanned heuristically.
11349         * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
11350         exist.
11352 2000-01-30  Jason Rumney  <jasonr@gnu.org>
11354         * w32-fns.el: Define w32-tty-standard-colors.
11356         * startup.el (command-line): Use w32-tty-standard-colors when in
11357         w32 console mode.
11359 2000-01-30  Dave Love  <fx@gnu.org>
11361         * jka-compr.el (jka-compr-load): Fix up load-history.
11363         * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
11365         * emacs-lisp/cl-macs.el: Revert previous change.
11367 2000-01-29  Dave Love  <fx@gnu.org>
11369         * facemenu.el: Purecopy various strings.
11371         * timezone.el (timezone-fix-time): Window against 69 for two-digit
11372         years.  Deal with three-digit years.
11374         * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
11375         defconst, purecopy.
11376         (help-back-label): Purecopy it.
11378 2000-01-18  Gerd Moellmann  <gerd@gnu.org>
11380         * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
11381         variable. If non-nil, order the buffer list according to the
11382         currently selected frame.
11383         (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
11384         non-nil, pass the selected frame to function buffer-list.
11386 2000-01-29  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
11388         * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
11390 2000-01-28  Dave Love  <fx@gnu.org>
11392         * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
11394         * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
11395         Don't use lisp-indent-hook property.
11396         (cl-abs): Remove.
11398         * subr.el: Move out indent and edebug specs for when and unless.
11400         * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
11401         when, unless.
11403         * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
11404         unless, when.
11406 2000-01-28  Gerd Moellmann  <gerd@gnu.org>
11408         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
11409         `collecting' as synonym for `collect'.
11411         * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
11412         for the case it contains spaces.
11414         * simple.el (what-cursor-position): Change formatting of
11415         messages.
11417         * frame.el (delete-other-frames): New function.
11418         (toplevel): Bind it to C-x 5 1.
11420         * sort.el (sort-numeric-base): New option.
11421         (sort-numeric-fields): If number starts with `0' or `0[xX[',
11422         interpret it as octal or hexadecimal.  Use sort-numeric-base
11423         as default base.
11425         * progmodes/glasses.el: New file.
11427 2000-01-27  Gerd Moellmann  <gerd@gnu.org>
11429         * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
11430         userids differently.
11432         * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11433         progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11434         progmodes/ebnf-yac.el: New files.
11436 2000-01-26  Dave Love  <fx@gnu.org>
11438         * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
11439         on a function with an empty body.  [From Eric Ludlam.]
11441 2000-01-25  Andre Spiegel  <spiegel@gnu.org>
11443         * vc.el (vc-version-diff): Make sure file name is expanded.
11445 2000-01-25  Gerd Moellmann  <gerd@gnu.org>
11447         * scroll-bar.el (scroll-bar-timer): Variable removed.
11448         (scroll-bar-toolkit-scroll): Don't use a timer.
11450 2000-01-25  Kenichi Handa  <handa@etl.go.jp>
11452         * language/thai-util.el (thai-composition-function): Delete
11453         superfluous `a'.
11455 2000-01-24  Dave Love  <fx@gnu.org>
11457         * fortran.el (fortran-mode): Use beginning-of-defun-function,
11458         end-of-defun-function.
11460         * font-lock.el (turn-on-font-lock): Don't depend on window-system
11461         &c.
11463 2000-01-22  Jason Rumney  <jasonr@gnu.org>
11465         * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
11466         conflicts with new face support.
11468 2000-01-22  Richard M. Stallman  <rms@gnu.org>
11470         * replace.el (query-replace): Rename last arg to DELIMITED.
11471         (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
11472         (query-replace-regexp): Likewise.
11474 2000-01-20  Richard M. Stallman  <rms@gnu.org>
11476         * subr.el (with-syntax-table): Use make-symbol, not gensym.
11478         * emacs-lisp/lisp.el (beginning-of-defun-function):
11479         Variable renamed from beginning-of-defun.
11480         Do not call make-variable-buffer-local.
11481         (beginning-of-defun-raw): Use new variable name; doc fix.
11482         (beginning-of-defun): Doc fix.
11483         (end-of-defun-function): Variable renamed from end-of-defun.
11484         Do not call make-variable-buffer-local.
11485         (end-of-defun): Use new variable name; doc fix.
11487         * subr.el (dolist, dotimes): Copied from cl-macs.el
11488         and made to work.
11490         * mail/undigest.el (rmail-digest-end-regexps):
11491         Variable replaces rmail-digest-end-regexp.
11492         Allows multiple regexps for detecting the end line.
11493         (undigestify-rmail-message): Corresponding changes.
11495 2000-01-19  Dave Love  <fx@gnu.org>
11497         * files.el (user-init-file): Don't declare here -- is primitive.
11499         * startup.el (command-line): Check for compiled user-init-file and
11500         set to uncompiled version if necessary.
11502 2000-01-18  Gerd Moellmann  <gerd@gnu.org>
11504         * mail/undigest.el (rmail-digest-end-regexp): New user option.
11505         (undigestify-rmail-message): Use it.
11507         * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
11509 2000-01-17  Gerd Moellmann  <gerd@gnu.org>
11511         * tmm.el (tmm-goto-completions): Adapt to prompt being part
11512         of mini-buffer.
11514 2000-01-14  Gerd Moellmann  <gerd@gnu.org>
11516         * emacs-lisp/copyright.el (copyright-update): Removed the
11517         requirement for a trailing space from `copyright-regexp', to
11518         support copyrights with owner specified on a separate line..
11520         * align.el: New file.
11522         * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
11524         * net/eudc.el (toplevel): Define EUDC menu for Emacs.
11526 2000-01-13  Dave Love  <fx@gnu.org>
11528         * ph.el: Removed.  (Obsoleted by EUDC.)
11530 2000-01-13  Gerd Moellmann  <gerd@gnu.org>
11532         * net/eudc.el (toplevel): Remove autoloaded code installing
11533         menu with easymenu, because that causes build problems.
11535         * frame.el (frame-notice-user-settings): New variable.
11536         (frame-notice-user-settings): Don't modify frame parameters
11537         if called a second time.
11539 2000-01-13  Richard M. Stallman  <rms@gnu.org>
11541         * frame.el (frame-notice-user-settings):
11542         Notice default-frame-parameters even for non-window frames.
11544 2000-01-13  Gerd Moellmann  <gerd@gnu.org>
11546         * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
11547         for Emacs.
11548         (eudc-bob-can-display-inline-images): Extend for Emacs.
11549         (eudc-bob-toggle-inline-display): Ditto.
11550         (eudc-bob-display-jpeg): Ditto.
11552 2000-01-12  Gerd Moellmann  <gerd@gnu.org>
11554         * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
11555         net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
11556         net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
11558         * add-log.el (add-change-log-entry): Fix error trying an `(insert
11559         nil)'.
11561         * subdirs.el: Add `net' directory.
11563         * net: New directory.
11565         * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
11566         eval-last-sexp.  Don't bind debug-on-error here.
11567         (eval-last-sexp): New function.  Bind debug-on-error if
11568         eval-expression-debug-on-error is non-nil.
11569         (eval-defun-2, eval-defun): Likewise.
11571         * simple.el (eval-expression): Don't bind debug-on-error if
11572         eval-expression-debug-on-error is nil.  Detect changed
11573         debug-on-error, and propagate new value to global binding, if
11574         eval-expression-debug-on-error is non-nil,
11575         (eval-expression-debug-on-error): Change doc string.
11577 2000-01-11  Richard M. Stallman  <rms@gnu.org>
11579         * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
11581         * emacs-lisp/lisp-mode.el (with-syntax-table):
11582         Set up lisp-indent-function property.
11584         * subr.el (with-syntax-table): Moved from simple.el.
11586         * simple.el (with-syntax-table): Moved to subr.el.
11588 2000-01-11  Gerd Moellmann  <gerd@gnu.org>
11590         * tmm.el (tmm-shortcut): Delete region after prompt instead
11591         of erasing buffer.
11593         * textmodes/fill.el (fill-common-string-prefix): New function.
11594         (fill-context-prefix): Use the longest common prefix of first
11595         and second line fill prefix, if there is one.
11597 2000-01-11  Richard M. Stallman  <rms@gnu.org>
11599         * array.el (array-mode): Don't use make-variable-buffer-local.
11600         Use make-local-variable for `truncate-lines'.
11602 2000-01-11  Jari Aalto  <jari.aalto@poboxes.com>
11604         * add-log.el (add-log-current-defun): Handle user-defined
11605         add-log-current-function returning nil,
11607         * add-log.el (add-change-log-entry): Insert version number
11608         if having found a current function
11610         * add-log.el (add-log-current-defun): Call
11611         `add-log-current-defun-function'.  Try matches at level 0 and
11612         level 1.  Strip whitespace from defun found.
11614 2000-01-10  John Wiegley  <johnw@gnu.org>
11616         * allout.el (isearch-done/outline-provisions): Added `edit'
11617         argument to correspond with the current definition of
11618         `isearch-done'.
11620 2000-01-10  Dave Love  <fx@gnu.org>
11622         * elide-head.el (elide-head): Use point-marker, not point.
11624 2000-01-10  Gerd Moellmann  <gerd@gnu.org>
11626         * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
11627         before and after the year 2000.
11629         * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
11630         Add ispell- prefix.
11632 2000-01-10  Ken Stevens  <k.stevens@ieee.org>
11634         * ispell.el:  Only define dictionaries in menus when they exist.
11635         (version18p): New variable.
11636         (version20p): New variable.
11637         (xemacsp): New variable.
11638         (ispell-choices-win-default-height): Fix for XEmacs visibility.
11639         (ispell-dictionary-alist1): Added Brasileiro dictionary.
11640         (ispell-dictionary-alist6): Russian command lines no longer accept
11641         run-together words.
11642         (ispell-local-dictionary-alist): Add koi8-r to customize definition.
11643         (ispell-dictionary-alist): Add koi8-r to customize definition.
11644         (check-ispell-version): Added documentation string.  Returns
11645         library path when called non-interactively.
11646         (ispell-menu-map-needed): Uses new variables.
11647         (ispell-library-path): New variable.
11648         (ispell-decode-string): XEmacs fix for bogus variable bindings.
11649         (ispell-word): Improved documentation string.  Test for valid
11650         character mappings.  Correctly check typed in word changes that can
11651         result in single words split into multiple words.  Returns
11652         replacement word.
11653         (ispell-command-loop): Fixes XEmacs display bugs.  Show word to
11654         replace in recursive query replace mode.  Help message for
11655         recursive edit mode.
11656         (ispell-show-choices): Protect against bad framepop bindings.
11657         (ispell-help): Fix to work with XEmacs.
11658         (ispell-highlight-spelling-error): Use new variables.
11659         (ispell-overlay-window): Fix to work with XEmacs.
11660         (ispell-parse-output): Passed and returns location information
11661         tracking spelling corrections.  Doesn't recheck same word on
11662         current line.
11663         (ispell-init-process): Protect against bogus XEmacs variable binding.
11664         Fix call to single argument in sleep-for.  Use new variables.
11665         (ispell-region): Passed and returns location information tracking
11666         spelling corrections.  Doesn't check same word on current line.
11667         Improved documentation string.  Doesn't resend a line already
11668         checked to the ispell process - fixes bug in LaTeX parsing.
11669         (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
11670         (ispell-skip-region): No longer skips <TT> in SGML.
11671         (ispell-process-line): Tracks location information with spelling
11672         corrections.  Added documentation string.  Accounts for words
11673         already accepted on this line.  Don't allow query-replace on line
11674         starting with math characters.  Doesn't resend a line already sent
11675         to ispell process.  Fixes alignment error bug.
11677 2000-01-10  Richard M. Stallman  <rms@gnu.org>
11679         * dired-x.el (dired-guess-shell-alist-default):
11680         Suggest xloadimage, which is free, not xv, which isn't.
11682         * ange-ftp.el (ange-ftp-file-name-nondirectory):
11683         Don't ever include the host name or user name in the value.
11685 2000-01-09  Gerd Moellmann  <gerd@gnu.org>
11687         * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
11688         of a real newline.
11690 2000-01-09  Stephen Eglen  <stephen@gnu.org>
11692         * dired-x.el (dired-guess-shell-alist-default): Suggest xv
11693         for .png files.
11695 2000-01-09  Per Abrahamsen  <abraham@dina.kvl.dk>
11697         * cus-edit.el (custom-hook-convert-widget): Fix comment.
11699 2000-01-09  Gerd Moellmann  <gerd@gnu.org>
11701         * progmodes/cperl-mode.el: Replace ^F with ^L.
11703         * sendmail.el (toplevel): Provide `sendmail' when compiling
11704         before `require'ing rmail and mailalias to prevent infinite
11705         recursion.
11707 2000-01-08  Dave Love  <fx@gnu.org>
11709         * emacs-lisp/backquote.el: Remove inappropriate customization
11710         (allowing custom.el to use backquote).
11712 2000-01-07  Dave Love  <fx@gnu.org>
11714         * add-log.el (add-log-debugging): Deleted.
11715         (add-change-log-entry): Treat a backup FILE-NAME as its parent
11716         file.  Remove debugging code.
11717         (change-log-get-method-definition, change-log-name): Add doc.
11718         (change-log-sortable-date-at): New function.
11719         (change-log-merge): New command.
11721         * time.el (display-time-string-forms): Make the Mail string active.
11722         (display-time-update): Provide help-echo for load average.
11724         * bindings.el (make-mode-line-mouse2-map): New function.
11725         (mode-line-modified): Use it and simplify.
11726         (mode-line-mule-info): Provide help-echo info.
11727         (minor-mode-alist): Activate the strings.
11728         (make-mode-line-mouse-sensitive): Simplify for
11729         mode-line-buffer-identification.
11731 2000-01-07  Gerd Moellmann  <gerd@gnu.org>
11733         * play/pong.el: New file.
11735 2000-01-06  Dave Love  <fx@gnu.org>
11737         * array.el: Assorted cleanups for compiler warnings, doc strings,
11738         `array-' prefix for symbols.
11740 2000-01-05  Dave Love  <fx@gnu.org>
11742         * textmodes/outline.el (outline-mode-menu-bar-map): Add
11743         outline-headers-as-kill.
11744         (outline-mode): Define imenu-generic-expression.
11745         (outline-headers-as-kill): New command.
11747         * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
11748         from paragraph-start.
11749         (paragraph-indent-minor-mode): New command.
11751         * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
11752         M-C-e, M-C-h, C-j, C-xnd, TAB.
11753         (fortran-mode): Set beginning-of-defun, end-of-defun.
11754         (fortran-column-ruler): Simplify.
11755         (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
11756         (fortran-with-subprogram-narrowing): Likewise.
11757         (fortran-indent-subprogram): Call mark-defun.
11758         (fortran-check-for-matching-do): Change narrowing.
11760         * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
11761         (cl-lucid-hash-tag): Delete.
11762         (cl-hash-table-p): Correct test for native table.
11763         (cl-hash-table-count): Use hash-table-count.
11765         * browse-url.el (browse-url): Fix case of
11766         browse-url-browser-function being an alist.
11768 2000-01-05  Carsten Dominik  <cd@gnu.org>
11770         * textmodes/reftex-vars.el (reftex-parse-file-extension)
11771         (reftex-index-phrase-file-extension): New options.
11773         * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
11774         Use new option `reftex-index-phrase-file-extension'.
11776         * textmodes/reftex.el (reftex-access-parse-file): Use new option
11777         `reftex-parse-file-extension'.
11779 2000-01-05  Dave Love  <fx@gnu.org>
11781         * emacs-lisp/lisp.el (beginning-of-defun): New variable.
11782         (beginning-of-defun-raw): Use it.
11783         (end-of-defun): New variable.
11784         (end-of-defun): Use it.
11785         (check-parens): New command.
11787 2000-01-05  Thien-Thi Nguyen  <ttn@delysid.gnu.org>
11789         * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
11790         (hs-show-block): Don't use `mapcar' when not accumulating.
11792         Fix buglet in local variables initialization.
11794 2000-01-05  Andreas Schwab  <schwab@suse.de>
11796         * hscroll.el (hscroll): Doc fix.
11798 2000-01-05  Carsten Dominik  <cd@gnu.org>
11800         * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
11801         idlw-toolbar.
11803         * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
11804         file idlw-rinfo.el.
11805         (idlwave-customize): load must read file idlw-shell.el.
11806         (idlwave-create-customize-menu): load must read file idlw-shell.el.
11808 2000-01-05  Carsten Dominik  <dominik@astro.uva.nl>
11810         * progmodes/idlw-shell.el: Also provide idlwave-shell
11811         * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
11812         * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
11814         * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
11815         both reftex-dcr and reftex-vcr.
11817         * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
11819 2000-01-05  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
11821         * ps-print.el: PostScript code now is in separate files, doc fix.
11822         (ps-print-version): New version number (5.0.3).
11823         (ps-header-lines, ps-left-header, ps-right-header): No more buffer
11824         local.
11825         (ps-spool-config): Initialization fix.
11826         (ps-print-prologue-1, ps-print-prologue-2)
11827         (ps-print-duplex-feature): PostScript code moved to separated file.
11828         (ps-background-image): Little code reformating.
11829         (ps-begin-file, ps-begin-job): Fix code.
11830         (ps-postscript-code-directory, ps-mark-code-directory): New vars.
11831         (ps-prologue-file): New fun.
11833 2000-01-05  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
11835         * ps-vars.el: Eliminated.
11837         * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
11838         `;;;###autoload'.
11840         * ps-print.el: ps-vars eliminated, doc fix.
11841         (ps-print-version): New version number (5.0.2).
11842         (ps-spool-config): Initialization fix.
11843         (ps-print-customize): New fun.
11845 2000-01-04  Gerd Moellmann  <gerd@gnu.org>
11847         * autorevert.el (auto-revert-mode): Return value of
11848         auto-revert-mode.
11850 2000-01-04  Dave Love  <fx@gnu.org>
11852         * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
11853         menu items.
11855 2000-01-03  Dave Love  <fx@gnu.org>
11857         * elide-head.el (elide-head) [defgroup]: Add :version.
11859         * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
11860         (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
11861         `cl-hash-table-p', not `hash-table-p'.
11862         (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
11864 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
11866         * faces.el (face-read-integer, read-face-attribute)
11867         (color-defined-p, color-values): unspecified-{f,b}g are now
11868         strings.
11870 2000-01-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
11872         * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
11873         at comment end, and re-insert them after filling.
11875 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
11877         * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
11878         * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
11879         progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
11881 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
11883         * term/x-win.el (xw-defined-colors): Call color-supported-p,
11884         the new name of face-color-supported-p.
11886         * term/w32-win.el (xw-defined-colors): Likewise.
11888 2000-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
11890         * simple.el (completion-setup-function): Count completion-size
11891         from minibuffer-prompt-end, not from point-min.
11893 2000-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
11895         * faces.el (read-face-attribute, defined-colors, color-defined-p):
11896         Pass the frame to tty-color-* functions.
11897         (display-color-p, frame-set-background-mode): Pass the frame to
11898         tty-display-color-p.
11900         * term/tty-colors.el (tty-defined-color-alist): Renamed from
11901         tty-color-alist.
11902         (tty-color-alist, tty-modify-color-alist): New functions.
11903         (tty-color-define,  tty-color-clear, tty-color-approximate)
11904         (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
11905         an optional parameter FRAME.
11907 2000-01-01  Gerd Moellmann  <gerd@gnu.org>
11909         * image.el (create-image, defimage): Don't assume image data is a
11910         string.
11912         * image.el (defimage): Handle specifications containing :data
11913         instead of :file.
11914         (image-type-from-data): New function.
11915         (image-type-from-file-header): Use it.
11916         (create-image): Add parameter DATA-P.
11918 See ChangeLog.8 for earlier changes.
11920 ;; Local Variables:
11921 ;; coding: iso-2022-7bit
11922 ;; End: