(f90-xemacs-flag, f90-xemacs-menu, f90-menu-bar-menu, f90-change-case-menu)
[emacs.git] / lisp / ChangeLog
blob295785f871d2f1060b324b513610e550e71a296f
1 2002-08-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
3         * progmodes/f90.el (f90-xemacs-flag, f90-xemacs-menu)
4         (f90-menu-bar-menu, f90-change-case-menu, f90-font-lock-on)
5         (f90-font-lock-off, f90-font-lock-menu):  Deleted.  Use
6         easy-menu-define instead.
7         (f90-mode): Use easy-menu-add.
8         No longer (require 'imenu) when compiling.
9         (f90-mark-subprogram, f90-indent-region, f90-fill-region)
10         (f90-abbrev-start): Use fboundp.
12 2002-08-23  Andre Spiegel  <spiegel@gnu.org>
14         * vc-hooks.el (vc-kill-buffer-hook): Add it to kill-buffer-hook again.
16 2002-08-22  Kai Gro\e,b_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
18         * net/tramp.el: Version 2.0.14 released.
19         (tramp-shell-prompt-pattern): New variable.
20         (tramp-actions-before-shell, tramp-multi-actions)
21         (tramp-find-shell, tramp-open-connection-multi)
22         (tramp-open-connection-setup-interactive-shell): Use it.
23         (tramp-open-connection-telnet, tramp-open-connection-rsh)
24         (tramp-open-connection-su): Mention `tramp-shell-prompt-pattern'
25         in the docstring.
26         (tramp-bug): Report `tramp-shell-prompt-pattern'.
27         (tramp-process-one-multi-action, tramp-process-one-action): Make
28         message clearer so people don't confuse it with Emacs asking them
29         a question if the regexp happens to end with "?".
30         (tramp-verbose): Change default value from 10 to 9.  Also change
31         some logging levels so that 10 is reserved for stuff which is
32         needed for debugging only, but 9 catches everything that people
33         might like to see in order to see that Tramp is actually working.
35 2002-08-22  Kim F. Storm  <storm@cua.dk>
37         * emacs-lisp/authors.el (authors-aliases, authors-fixed-entries):
38         Corrected spelling mistakes (for Joseph Arceneaux).
40 2002-08-21  Glenn Morris  <gmorris@ast.cam.ac.uk>
42         * progmodes/f90.el: eval-when-compile a few defvars.
43         (f90-xemacs-flag): Wrap in eval-and-compile.
44         (f90-font-lock-keywords): Doc fix.
45         (f90-mode-abbrev-table): Work with or without 6th arg of
46         define-abbrev.
47         (f90-mark-subprogram-overlay): Variable deleted.
48         (f90-mark-subprogram): Remove overlay bit.  Don't be silent about
49         pushing mark.
50         (f90-abbrev-start): unread-command-event is obsolete in XEmacs.
52 2002-08-21  Kai Gro\e,b_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
54         * tramp.el: Version 2.0.13 released.
55         (tramp-handle-write-region): Don't check to see if remote end is
56         awake after sending data to remote host: we want to send "EOF" not
57         "echo are you awake"...
58         (tramp-maybe-open-connection): Swap args for tramp-time-diff.
59         (tramp-yn-prompt-regexp): New variable.
60         (tramp-action-yn): New function, using it.
61         (tramp-feature-write-region-fix): New internal variable.  Not yet
62         used.  Should be used in `tramp-handle-write-region'.
64 2002-08-21  Kim F. Storm  <storm@cua.dk>
66         * bindings.el (mode-line-format): Moved global-mode-string last.
67         (mode-line-position): Moved %p first.  Added padding to %l/%c to
68         eliminate jumpyness in modeline.  Use (%l,%c) format if both
69         line-number-mode and column-number-mode are enabled.
71 2002-08-20  Martin Stjernholm  <bug-cc-mode@gnu.org>
73         * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed a bug
74         that could cause an infinite loop if something that looks like
75         a macro begins in the middle of a line.
77         * progmodes/cc-engine.el (c-parse-state): Fixed a bug that
78         could cause `c-state-cache' to contain two conses in sequence
79         when there's an unbalanced open paren in a macro.
81 2002-08-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
83         * progmodes/fortran.el (fortran-current-defun): Use save-excursion.
85         * imenu.el (imenu--generic-function): Use mapc.
86         (imenu-syntax-alist): Doc fix.
88 2002-08-20  Richard M. Stallman  <rms@gnu.org>
90         * font-core.el (font-lock-change-mode): New function.
91         (font-lock-mode): Use font-lock-change-mode instead of
92         font-lock-unfontify-buffer.
93         (font-lock-maximum-size, font-lock-verbose): Add defvars.
95 2002-08-20  Carsten Dominik  <dominik@astro.uva.nl>
97         * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
98         which determines on a per-file-basis if BibTeX is being used
99         locally for citations.
100         (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
101         cooperation with chapterbib.
102         (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
103         better cooperation with chapterbib.
105         * textfiles/reftex-dcr.el (reftex-view-cr-cite): Use
106         `reftex-bib-or-thebib' for better cooperation with chapterbib.
108 2002-08-20  Kim F. Storm  <storm@cua.dk>
110         * kmacro.el: Major rework based on discussions with RMS.
111         Most important change is that C-x C-k is now bound to a keymap
112         with keyboard macro related commands.  The original binding on
113         C-x C-k is moved to C-x C-k e.
115         * binding.el: Remove macro related bindings (now in kmacro.el).
117         * edmacro.el: Remove C-x C-k binding (now in kmacro.el).
119 2002-08-19  Kenichi Handa  <handa@etl.go.jp>
121         * international/mule.el (sgml-xml-auto-coding-function): Call
122         re-search-forward with NOERROR t.
124 2002-08-19  Miles Bader  <miles@gnu.org>
126         [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
127         * comint.el (comint-inhibit-carriage-motion): New variable.
128         (comint-carriage-motion): Argument STRING removed.  New arguments
129         START and END; interpret characters between START and END rather
130         than using special comint state.
131         (comint-output-filter): Call `comint-carriage-motion'.
132         (comint-output-filter-functions): Don't add `comint-carriage-motion'.
133         * ielm.el (inferior-emacs-lisp-mode): Give
134         `comint-inhibit-carriage-motion' a local value of t.
136 2002-08-18  Richard M. Stallman  <rms@gnu.org>
138         * table.el: New file.
140         * font-core.el (font-lock-mode): Set change-major-mode-hook locally.
142 2002-08-18  Andreas Schwab  <schwab@suse.de>
144         * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
146 2002-08-17  Carsten Dominik  <dominik@astro.uva.nl>
148         * textmodes/reftex.el (reftex-mode): Create special syntax tables.
149         (reftex-syntax-table): Set a default in case this is being used
150         outside a LaTeX file.
151         (reftex-syntax-table-for-bib): Set a default in case this is being
152         used outside a LaTeX file.
154 2002-08-17  Richard M. Stallman  <rms@gnu.org>
156         * tar-mode.el (tar-subfile-mode): Use add-hook and
157         remove-hook, and use write-file-functions instead of
158         local-write-file-hooks.
159         (tar-untar-buffer): Don't try to extract directories.
161         * menu-bar.el (fringe-mode): Set to nil.
163         * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
165 2002-08-15  Richard M. Stallman  <rms@gnu.org>
167         * calendar/appt.el (appt-delete): Use substring-no-properties.
168         (appt-make-list): Don't use prin1-to-string; use the string unchanged.
170 2002-08-15  Jan Nieuwenhuizen  <janneke@gnu.org>  (tiny change)
172         * server.el (server-process-filter): Simplify code.
173         (server-goto-line-column): New function.
174         (server-visit-files): Use server-goto-line-column.
175         Offer to revert only if file has changed.
176         
177 2002-08-15  Richard M. Stallman  <rms@gnu.org>
179         * files.el (recover-this-file): New function.
180         (after-find-file): Recommend recover-this-file.
182         * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
183         to change-major-mode-hook when font lock is enabled.
185         * simple.el (toggle-truncate-lines): Force redisplay.
186         Display status message.
188 2002-08-15  Carsten Dominik  <dominik@sand.science.uva.nl>
190         * textmodes/reftex.el (reftex-mode): Moved the creation of special
191         syntax tables to top-level.
193 2002-08-14  Stefan Monnier  <monnier@cs.yale.edu>
195         * help-fns.el (locate-library): Use locate-file(-completion).
196         (help-split-fundoc): Tighten the regexp and recognize a usage-info
197         where the function name is `fn'.
198         (help-function-arglist): Follow aliases and macros.
199         (describe-function-1): Use keymapp.
200         If the docstring contains a usage info, use it even if the function is
201         not a subroutine.  Find usage info in aliases' docstring if necessary.
202         (describe-variable): Get the value before setting up the *Help* buffer.
204         * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
205         Use find-file-hook instead of find-file-hooks.
206         (define-minor-mode): Get rid of this silly `togglep'.
207         Add an explicit `toggle' argument (used for interactive calls).
208         Emit a warning when a nil argument turns the mode off.
210         * language/ethio-util.el (setup-ethiopic-environment-internal)
211         (exit-ethiopic-environment): Use find-file-hook and
212         write-file-functions instead of find-file-hooks and write-file-hooks.
214         * window.el (handle-select-window): Don't do anything if the window
215         has disappeared since the event was generated.
216         (split-window-save-restore-data): Use push and with-current-buffer.
218         * saveplace.el:
219         * play/meese.el:
220         * obsolete/hilit19.el:
221         * completion.el (dynamic-completion-mode):
222         * emacs-lisp/find-func.el (find-function-search-for-symbol):
223         Use find-file-hook instead of find-file-hooks.
225         * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
226         (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
227         (imenu-space-replacement): Allow nil value.
228         (imenu--completion-buffer): Use new vars and simplify.
229         Fix handling of minibuffer-setup-hook.
230         Use minibuffer-completion-help instead of rolling our own.
231         (imenu-choose-buffer-index): Use the new var.
233         * startup.el (command-line): Load custom-file if not done yet.
235 2002-08-15  David Kastrup  <David.Kastrup@t-online.de>
237         * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
238         use `hash-table-size' instead of `length'.
240 2002-08-14  Kenichi Handa  <handa@etl.go.jp>
242         * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
243         the selection data string.  Always return cons of type and string.
244         (selection-converter-alist): Add (UTF8_STRING .
245         xselect-convert-to-string).
247 2002-08-12  Stefan Monnier  <monnier@cs.yale.edu>
249         * newcomment.el (comment-region): Force `lines' when `block' is set.
251 2002-08-12  Richard M. Stallman  <rms@gnu.org>
253         * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag) 
254         (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar) 
255         (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression) 
256         (menu-bar-toggle-cua-mode, menu-bar-read-mail) 
257         (menu-bar-help-extra-packages, help-with-tutorial-spec-language) 
258         (menu-bar-text-mode-auto-fill): New commands, used
259         in menu bar menus instead of lambda expressions.
261         (menu-bar-showhide-fringe-menu-customize-left) 
262         (menu-bar-showhide-fringe-menu-customize-right) 
263         (menu-bar-showhide-fringe-menu-customize-disable)
264         (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
266         (menu-bar-options-menu): Use toggle-truncate-lines.
267         (showhide-date-time): Call customize-mark-as-set.
269         * emacs-lisp/find-func.el (find-function-search-for-symbol):
270         Obey `definition-name' properties.
272         * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
273         Put `definition-name' properties on the functions whose
274         names are constructed.
276         * textmodes/page-ext.el (pages-target-buffer): Add defvar.
277         Renamed from target-buffer.
278         (pages-directory, pages-copy-header-and-position): Uses changed.
280         * calendar/appt.el (appt-make-list): Correct the parsing of
281         each appointment from time-string.
283 2002-08-12  Stefan Monnier  <monnier@cs.yale.edu>
285         * scroll-all.el (scroll-all-mode): Use define-minor-mode.
286         (scroll-all-mode) <defcustom>: Delete.
287         (running-xemacs): Delete.
288         (minor-mode-alist): Don't manipulate it directly.
290 2002-08-10  Kenichi Handa  <handa@etl.go.jp>
292         * international/mule-cmds.el (search-unencodable-char): New function.
293         (select-safe-coding-system): Show unencodable characters.
294         (unencodable-char-position): Deleted, and implemented in C in coding.c.
296 2002-04-09  John Wiegley  <johnw@gnu.org>
298         * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it.
299         * em-cmpl.el (eshell-cmpl-ignore-case): Ditto.
300         * em-dirs.el (eshell/cd): Ditto.
301         * em-glob.el (eshell-glob-case-insensitive): Ditto.
302         * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
303         * esh-ext.el (eshell-binary-suffixes): Ditto.
305 2002-08-09  Richard M. Stallman  <rms@gnu.org>
307         * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
309         * simple.el (set-variable): Give locality status in prompt.
311 2002-08-09  Benjamin Rutt  <rutt@cis.ohio-state.edu>
313         * simple.el (set-variable): If given a prefix argument, set
314         variable buffer-locally.
316 2002-08-09  John Paul Wallington  <jpw@shootybangbang.com>
318         * font-core.el (font-lock-function): Make it buffer-local.
320 2002-08-08  Richard M. Stallman  <rms@gnu.org>
322         * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
323         (checkdoc-message-interactive, checkdoc-interactive-loop)
324         (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
325         (checkdoc-defun):
326         Update checkdoc-spellcheck-documentation-flag correctly.
327         (checkdoc-ispell-docstring-engine): Don't test for
328         checkdoc-autofix-flag = nil.
330 2002-08-07  John Paul Wallington  <jpw@shootybangbang.com>
332         * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
334         * wid-browse.el (widget-minor-mode): Fix doc typo.
336 2002-08-07  Kai Gro\e,b_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
338         * net/tramp.el: Version 2.0.12 released.
339         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
340         Comment out possibly obsolete "echo hello" commands.
341         (tramp-run-real-handler): If operation is
342         `ange-ftp-hook-function', use first arg as the real operation.
343         (tramp-check-ls-commands): Use / instead of \ as directory
344         separator.  (Relevant for XEmacs on Windows.)
345         (tramp-maybe-open-connection): Use tramp-wait-for-output when
346         waiting for the "are you awake" command.  Use a different string
347         for the "are you awake" command.
348         (tramp-send-command): New optional arg NEVEROPEN means to never
349         invoke tramp-maybe-open-connection.
350         (tramp-maybe-open-connection): Use it
352 2002-08-07  Richard M. Stallman  <rms@gnu.org>
354         * warnings.el (warning-prefix-function, warning-series)
355         (warning-fill-prefix, warning-group-format): Add autoload cookies.
357 2002-08-07  Kenichi Handa  <handa@etl.go.jp>
359         * international/mule-cmds.el (select-safe-coding-system):
360         Call pop-to-buffer inside save-window-excursion and save-excursion.
362 2002-08-06  John Paul Wallington  <jpw@shootybangbang.com>
364         * help-fns.el (describe-function-1): Skip arglist note if
365         function's definition is a keymap.
367 2002-08-06  Sam Steingold  <sds@gnu.org>
369         * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
370         and `mail-user-agent' instead of straight sendmail.
371         (diary-modified, diary-entries-list, displayed-year)
372         (displayed-month, entry, date, number, date-string, d-file)
373         (original-date): Defvar without binding to avoid compiler warnings.
375 2002-08-05  Alan Shutko  <ats@acm.org>
377         * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
378         (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
379         (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
381         * ibuf-ext.el (ibuffer-list-buffer-modes): New.
382         (ibuffer-filter-by-used-mode): New.
384 2002-08-05  John Paul Wallington  <jpw@shootybangbang.com>
386         * ediff-util.el (ediff-copy-list): Use `defalias' instead of
387         `fset' and `symbol-function'.
389 2002-08-05  John Wiegley  <johnw@gnu.org>
391         * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
392         value unless pcomplete-cycle-cutoff-length is non-nil.
394 2002-04-09  John Paul Wallington  <jpw@shootybangbang.com>
396         * esh-util.el (eshell-under-cygwin-p): New function.
397         * em-cmpl.el (eshell-cmpl-ignore-case): Use it.
398         * em-dirs.el (eshell/cd): Ditto.
399         * em-glob.el (eshell-glob-case-insensitive): Ditto.
400         * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
401         * esh-ext.el (eshell-binary-suffixes): Ditto.
403 2002-08-05  Richard M. Stallman  <rms@gnu.org>
405         * international/mule-cmds.el (select-safe-coding-system): Check for
406         non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
408         * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
410 2002-08-05  Gerd Moellmann  <gerd@gnu.org>
412         * image.el (image-jpeg-p): Accept "Exif" marker.
414 2002-08-05  Kai Gro\e,b_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
416         * net/tramp.el: Version 2.0.11 released.
417         (tramp-perl-file-attributes): Print uid and gid as signed integers.
418         (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
419         Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
420         calling Tramp again.
421         (tramp-find-file-exists-command): Check for `ls -d' last, after
422         all the variants on `test -e'.
423         (tramp-post-connection): Erase buffer before finding a command to
424         check if file exists.
426 2002-08-05  David Kastrup  <David.Kastrup@t-online.de>
428         * calc/calc.el (math-format-stack-value): Revert a broken
429         if->when replacement and reformat so that this does not happen
430         again.  Fixes a pretty lethal line formatting/yanking bug.
432 2002-08-04  John Paul Wallington  <jpw@shootybangbang.com>
434         * startup.el (fancy-splash-frame): Check selected frame last.
436 2002-08-04  Kai Gro\e,b_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
438         * net/tramp.el: Version 2.0.10 released.
439         (tramp-uudecode): New shell function `tramp_uudecode' to decode to
440         standard output even if `uudecode -p' and `uudecode -o -' don't work.
441         (tramp-post-connection): After finding the right shell, wait a
442         bit.  This is a kludge to avoid a race condition, even though I
443         don't understand why there is a race condition in the first place.
444         (tramp-post-connection): Install the `tramp_uudecode' shell
445         function on the remote host.
446         (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
447         (tramp-bug): Include more variables in the report.
449 2002-08-04  Kai Gro\e,b_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
451         * net/tramp.el: Version 2.0.9 released.
452         (tramp-bug): Add wording about additional info to include in bug
453         report.
454         (tramp-find-shell): Set $PS1 for invocation of second shell (for
455         tilde expansion).
456         (tramp-find-shell): Shell prompt must match at end of buffer.
457         Do this also for fallback shell prompt.
458         (tramp-find-shell): More debugging output.
459         (tramp-find-inline-encoding): When checking the decoding command,
460         some commands fail when reading from /dev/null.  So we pass a
461         known string through the encoding command and pass that through
462         the decoding command.  So we know whether the decoding command can
463         deal with some real input.
465 2002-08-04  Andreas Schwab  <schwab@suse.de>
467         * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
469 2002-08-03  Andrew Choi  <akochoi@shaw.ca>
471         * term/mac-win.el: Set keys to enable mouse wheel support.
473 2002-08-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
475         * net/tramp.el: Version 2.0.8.
476         (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
478 2002-08-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
480         * net/tramp.el: Version 2.0.7.
481         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
482         (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
483         because of `format' and say so in the docstring.
485 2002-08-03  Glenn Morris  <gmorris@ast.cam.ac.uk>
487         * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
488         `type' forms.
489         (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
490         (f90-type-def-re): Fix value.
492 2002-08-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
494         * net/tramp.el: Version 2.0.6.
495         (tramp-default-method): Change to "ssh" from "sm".
496         (tramp-wrong-passwd-regexp): Restructure.  Add additional alternative.
497         (tramp-su-program): New internal variable for method parameter.
498         (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
499         New variables.  Very short Perl one-liner, but requires Perl
500         module MIME::Base64 to be installed on the remote site.
501         (tramp-perl-encode, tramp-perl-decode): New base64
502         encoder/decoder.  From Juanma Barranquero <lektu@terra.es>.
503         (tramp-handle-file-truename): Invoke Ange-FTP properly (even
504         though Ange-FTP doesn't do anything for this operation).
505         (tramp-handle-set-visited-file-modtime): Comment change.
506         (tramp-handle-make-directory): Save-excursion.
507         (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
508         twice, once is enough.
509         (tramp-action-permission-denied): Show *tramp/foo* buffer so the
510         user knows what's wrong.
511         (tramp-post-connection): Support the two Perl encoders and decoders.
512         (tramp-coding-commands): Ditto.  Add some todo items.
514 2002-08-02  Richard M. Stallman  <rms@gnu.org>
516         * international/mule.el (merge-coding-systems): New function.
517         (set-buffer-file-coding-system): Use merge-coding-systems.
518         Change prompt for args.
519         (revert-buffer-with-coding-system): New command.
521         * international/mule-cmds.el (mule-keymap, set-coding-system-map):
522         Add bindings for revert-buffer-with-coding-system.
523         (set-coding-system-map): Clarify menu item info for
524         set-buffer-file-coding-system.
525         (set-coding-system-map): Reorder and add separators.
527         * emacs-lisp/edebug.el (edebug-eval-top-level-form):
528         Use eval-expression.
530         * subr.el (atomic-change-group): Doc fix.
532 2002-07-31  Colin Walters  <walters@debian.org>
534         * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
535         defvaralias for compatibility.
536         (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
537         defvaralias for compatibility.
539 2002-07-31  John Paul Wallington  <jpw@shootybangbang.com>
541         * ibuffer.el (ibuffer-fontification-alist):
542         Use `font-lock-constant-face' instead of `font-lock-reference-face'.
544 2002-07-31  John Wiegley  <johnw@gnu.org>
546         * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
547         prevent adding the symbol `pcomplete' to
548         shell-dynamic-complete-functions to many times.
550 2002-07-31  Markus Rost  <rost@math.ohio-state.edu>
552         * help-fns.el (describe-function-1): Test function for
553         obsolescence only if it is a symbol.
555         * ediff.el (ediff-backup): New autoloaded command.
557 2002-07-31  Richard M. Stallman  <rms@gnu.org>
559         * makefile.w32-in (compile-after-backup): Renamed from `compile'.
560         Use `compile-always'.
561         (bootstrap): Use `compile', not `compile-files'.  Use `update-subdirs'.
562         (compile): Renamed from `compile-files'.
563         (compile-CMD, compile-SH): Renamed from `compile-files-*'.
565         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
566         Check that (car elt) is a string.
568         * pcomplete.el (pcomplete-entries): Doc fix.
570         * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
572 2002-07-31  Andreas Schwab  <schwab@suse.de>
574         * dired.el: Hide disabling of dired-find-alternate-file behind
575         autoload-cookie.
577 2002-07-31  Juanma Barranquero  <lektu@terra.es>
579         * makefile.w32-in: Revert some changes from 2002-07-23 because they
580         don't work on MSVC/nmake builds.
581         (update-subdirs-CMD): Generate the right list of subdirectories.
582         From Tak Ota <Takaaki.Ota@am.sony.com>.
584 2002-07-30  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
586         * net/tramp.el: New version 2.0.5.
587         (tramp-methods): Remove inline encoding method parameters.
588         The encoding is now autodetected.  Also shorten the list of
589         methods (u/m distinction gone) and rename the remaining methods to
590         have longer, but more mnemonic, names.
591         (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
592         (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
593         matched at end of buffer anyway.
594         (tramp-yesno-prompt-regexp): New variable, for questions where the
595         user should say "yes" or "no".
596         (tramp-file-name-structure-unified)
597         (tramp-file-name-structure-separate): Allow dash in method names.
598         (tramp-actions-before-shell): New variable, contains list of
599         pattern/action pairs.  Output sent by remote end is scanned for
600         the patterns, then the actions are executed.
601         (tramp-multi-actions): Like `tramp-actions-before-shell', but
602         executed for each hop in a multi-hop connection.
603         (tramp-last-cmd-time): New variable.  If nothing has been sent to
604         remote end for 60 seconds, look to see if the remote end is still
605         alive.
606         (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
607         It didn't work.
608         (tramp-perl-encode, tramp-perl-decode): New variables, these
609         require the MIME::Base64 module on the remote end.
610         (tramp-handle-file-attributes): Restructure logic.
611         (tramp-handle-file-attributes-with-ls)
612         (tramp-handle-file-attributes-with-perl): More debugging.
613         (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
614         (tramp-handle-make-directory, tramp-handle-delete-directory)
615         (tramp-handle-delete-file, tramp-handle-insert-directory):
616         Expand file name.
617         (tramp-handle-shell-command): Use `when', not `if'.
618         (tramp-handle-file-local-copy, tramp-handle-write-region):
619         Adapt to autodetection of inline encoding.
620         (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
621         variable ange-ftp-name-format is defined before binding it.
622         (tramp-action-login, tramp-action-password, tramp-action-succeed)
623         (tramp-action-permission-denied, tramp-action-yesno):
624         Functions called from `tramp-actions-before-shell'.
625         (tramp-multi-action-login, tramp-multi-action-password)
626         (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
627         Functions called from `tramp-multi-actions'.
628         (tramp-process-one-action, tramp-process-actions):
629         Pattern matching and action invocation code for
630         `tramp-actions-before-shell'.
631         (tramp-process-one-multi-action, tramp-process-multi-actions):
632         Same for `tramp-multi-actions'.
633         (tramp-open-connection-telnet, tramp-open-connection-rsh)
634         (tramp-open-connection-su): Process actions instead of hardwired logic.
635         (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
636         (tramp-multi-connect-su): Ditto.
637         (tramp-post-connection): New method for tramp_encode and
638         tramp_decode scripts.
639         (tramp-post-connection): Invoke inline autodetection code.
640         (tramp-coding-commands): List of inline codings.
641         (tramp-find-inline-encoding): This is the inline autodetection code.
642         (tramp-maybe-open-connection): If nothing was sent to connection
643         for 60 seconds, look if it connection is still alive.
644         (tramp-send-command): Remember that something was sent to the
645         connection.
646         (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
647         Use backticks for constructing alist.
648         (tramp-get-encoding-command, tramp-set-encoding-command)
649         (tramp-get-decoding-command, tramp-set-decoding-command)
650         (tramp-get-encoding-function, tramp-set-encoding-function)
651         (tramp-get-decoding-function, tramp-set-decoding-function):
652         Use for results of inline autodetection.
653         (tramp-get-encoding-command, tramp-get-decoding-command)
654         (tramp-get-encoding-function, tramp-get-decoding-function):
655         Remove these old functions.
657 2002-07-30  Kenichi Handa  <handa@etl.go.jp>
659         * language/indian.el (in-is13194): Give correct `safe-chars' property.
660         (devanagari): Define it as an alias of in-is13194.
662         * international/mule.el (safe-chars):
663         Put `char-table-extra-slots' property with value 0.
665         * files.el (revert-buffer): Fix previous change.
667 2002-07-29  Richard M. Stallman  <rms@gnu.org>
669         * bindings.el (help-echo): If global-mode-string is non-nil,
670         display some spaces after it.
672         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
673         Don't call string-match on non-string.
674         (displaying-byte-compile-warnings):
676         * textmodes/ispell.el (check-ispell-version): Bind default-directory
677         to avoid errors.  Kill the old temp buffer at the beginning.
679 2002-07-29  Glenn Morris  <gmorris@ast.cam.ac.uk>
681         * scroll-all.el (scroll-all-mode): Make argument optional.  Doc fix.
683 2002-07-29  John Paul Wallington  <jpw@shootybangbang.com>
685         * scroll-all.el (scroll-all-mode): Handle numeric arg.  Use `if'
686         instead of `cond'.
688 2002-07-29  Kenichi Handa  <handa@etl.go.jp>
690         * international/mule.el (ctext-post-read-conversion): Add support
691         for embedded utf-8 encoding (ESC % G ... ESC % @).
693 2002-07-28  Kenichi Handa  <handa@etl.go.jp>
695         * files.el (revert-buffer): Before calling insert-file-contents,
696         kill the local variable buffer-file-coding-system.
698 2002-07-28  Richard M. Stallman  <rms@gnu.org>
700         * bindings.el (mode-line-format): Handle vc-mode specially.
701         Move mode-line-position to after global-mode-string.
702         (mode-line-modes): Move the starting 3 spaces out of here.
703         (mode-line-position): Separate with a space, not dashes.
705         * vc-hooks.el: Don't add to minor-mode-alist.
707         * emacs-lisp/edebug.el (edebug-debugger):
708         If inside redisplay, just return.
710         * emacs-lisp/debug.el (debug): If inside redisplay, just return.
712         * info.el (Info-find-index-name): Improve last change.
714 2002-07-27  Richard M. Stallman  <rms@gnu.org>
716         * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
718         * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
719         in the third case.
721 2002-07-27  Markus Rost  <rost@math.ohio-state.edu>
723         * ps-print.el: Update copyright year.
724         (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
726 2002-07-26  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
728         * eshell/eshell.el (eshell): Numeric prefix arg means to switch
729         to the session with that number.  Old behavior still available
730         with nonumeric prefix args.
732 2002-07-08  Simon Josefsson  <jas@extundo.com>
734         * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
736 2002-07-26  Juanma Barranquero  <lektu@terra.es>
738         * warnings.el (lwarn, warn, warning-levels): Doc fix.
739         (warning-suppress-log-types): Fix typo.
740         (display-warning): Fix typo. Remove useless asignment to free variable
741         `group-string'.
743 2002-07-25  Markus Rost  <rost@math.ohio-state.edu>
745         * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
747 2002-07-25  Sam Steingold  <sds@gnu.org>
749         * replace.el (occur-rename-buffer): New command.
750         (occur-mode-map): Bind "r" to it.  Added keybindings for
751         `kill-this-buffer', `clone-buffer' and `quit-window'.
753 2002-07-25  Kevin Ryde  <user42@zip.com.au>
755         * info.el (Info-find-index-name): Search for a function definition
756         with a return type.
758 2002-07-25  David Ponce  <david@dponce.com>
760         * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
761         Don't recompute `entry' on each iteration.
762         (byte-compile-delete-first): Make it defsubst.
764 2002-07-25  Sam Steingold  <sds@gnu.org>
766         * progmodes/cc-engine.el (c-search-uplist-for-classkey):
767         When `search-end' is a cons, use its car.
769 2002-07-25  Dave Love  <fx@gnu.org>
771         * obsolete/c-mode.el: Deleted.
773 2002-07-25  Carsten Dominik  <dominik@astro.uva.nl>
775         * textmodes/reftex.el (reftex-compile-variables):
776         Simplified regular expression.
778         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
779         Simplified the regexp.
781         * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
782         (reftex-extract-bib-entries-from-thebibliography):
783         Use `reftex-get-bibkey-default' to get a default regex.
784         (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
785         get a default regex.
787         * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
788         XEmacs compatibility (got OK from RMS).
790         * textmodes/reftex-index.el (reftex-index-mode): Likewise.
792         * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
793         (reftex-select-bib-mode): Likewise.
795 2002-07-25  Colin Walters  <walters@debian.org>
797         * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
798         by menu functions.
800 2002-07-24  Dave Love  <fx@gnu.org>
802         * international/mule.el (set-auto-coding): Doc fix.
804         * international/utf-16.el: New file.
806         * language/european.el ("German", "French", "Spanish", "Turkish"):
807         Add alternative coding systems.
808         ("Dutch"): Likewise.  Add input method.
809         ("Welsh", "Latin-7"): Add nonascii-translation.
811         * language/georgian.el ("Georgian"): Add nonascii-translation.
813         * international/titdic-cnv.el: Doc fixes.
814         (tit-process-header): Add coding cookie.
815         (titdic-convert): Force writing as iso-2022-7bit.
817         * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
819         * international/mule-cmds.el: Doc fixes.
820         (unencodable-char-position): New.
821         (select-safe-coding-system): Use it to indicate problematic
822         characters and add extra explanation.  Avoid checking auto-coding
823         for compressed files.
824         (leim-list-header): Add coding cookie.
825         (input-method-verbose-flag): Modify :type.
826         (locale-language-names): Add bs, wa.  Modify cy.
828 2002-07-24  Richard M. Stallman  <rms@gnu.org>
830         * emacs-lisp/bytecomp.el (byte-compile-log-warning):
831         Bind warning-group-format.
833         * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
834         (byte-compile-cl-warn): Use that variable.
835         (byte-compile-find-cl-functions): New function.
836         (displaying-byte-compile-warnings):
837         Call byte-compile-find-cl-functions.
839         * warnings.el (warning-levels): Add %s to the strings.
840         (warning-group-format): New variable.
841         (warning-suppress-log-types): Renamed from warning-suppress-log.
842         (warning-suppress-types): Renamed from warning-suppress.
843         (display-warning): Implement those changes.
845 2002-07-23  Richard M. Stallman  <rms@gnu.org>
847         * warnings.el: Add `provide' call.
849         * files.el (basic-save-buffer-2): If there's an error writing the file,
850         unrename the backup file if it was just made.
851         (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
852         (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
853         when a backup was just made by renaming.  Otherwise it's nil.
855         * wid-edit.el (widget-convert): Handle an argument that's a keyword.
856         Recognize explicit :args specification.
858         * international/mule-cmds.el (select-safe-coding-system):
859         Don't ask for confirmation of mismatch if find-file-literally was used.
861 2002-07-23  Markus Rost  <rost@math.ohio-state.edu>
863         * add-log.el (add-log-current-defun):  Fix typo in documentation.
865 2002-07-22  Markus Rost  <rost@math.ohio-state.edu>
867         * add-log.el (add-log-mailing-address): Fix type.  Can be a string.
869         * ido.el (ido-separator): Fix type.
871 2002-07-23  Andrew Innes  <andrewi@gnu.org>
873         * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
874         (DONTCOMPILE): Add various language files.
875         (DONTCOMPILE): Remove term/xterm.el.
876         (finder-inf.el): Remove.
877         (update-authors): New target.
878         (TAGS-LISP): Remove $(lispsource).
879         (compile-always): Renamed from `compile-files'.
880         (compile): New target, adapted from `compile-files'.
881         (compile-calc): New target.
882         (recompile): Change `.' to $(lisp).
883         (bootstrap): Add update-subdirs and finder-data
884         to dependencies; change compile-files to compile.
886 2002-07-22  Andre Spiegel  <spiegel@gnu.org>
888         * vc.el (vc-next-action-on-file): Preserve find-file-literally.
890 2002-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
892         * simple.el (undo, undo-more): Adjust messages when undoing in a
893         region.
895 2002-07-22  John Paul Wallington  <jpw@shootybangbang.com>
897         * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
898         (browse-url-lynx-input-delay): Add custom type and group.
900         * cus-start.el (double-click-fuzz): Added.
902 2002-07-22  Alan Shutko  <ats@acm.org>
904         * calendar/solar.el (diary-sabbath-candles): Add optional MARK
905         parameter, specifying what face or character to use in the
906         calendar display.  These will now return (MARK . ENTRY).
908         * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
909         parameter, specifying what face or character to use in the
910         calendar display.  These will now return (MARK . ENTRY).
912         * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
913         (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
914         MARK parameter, specifying what face or character to use in the
915         calendar display.  These will now return (MARK . ENTRY).
917         * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
918         from diary-sexp-entry and pass it to mark-visible-calendar-date.
919         (list-sexp-diary-entries): Update doc string for new docs for ....
920         If diary-sexp-entry returns a cons, only add the text to the diary
921         list.
922         (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
923         . STRING) to specify what face or character mark should be used in
924         the calendar display.
925         (diary-date, diary-block, diary-float, diary-anniversary)
926         (diary-cyclic): Add optional MARK parameter, specifying what face
927         or character to use in the calendar display.  These will now
928         return (MARK . ENTRY).
930         * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
931         (calendar-holiday-list, diary-french-date, diary-mayan-date)
932         (diary-julian-date, diary-astro-day-number, diary-chinese-date)
933         (diary-islamic-date, list-islamic-diary-entries)
934         (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
935         (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
936         (diary-rosh-hodesh, list-hebrew-diary-entries)
937         (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
938         (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
939         (diary-sunrise-sunset, diary-sabbath-candles):
940         Remove interactive flag from autoloads.
942 2002-07-22  Carsten Dominik  <dominik@astro.uva.nl>
944         * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
945         (reftex-bibliography-commands): New option.
946         (reftex-toc-split-windows-horizontally): New option
947         (reftex-toc-split-windows-horizontally-fraction): New option
948         (reftex-include-file-commands): New option.
949         (reftex-cite-format-builtin): Added ?n for nocite.
951         * textmodes/reftex-index.el (reftex-query-index-phrase):
952         Use `reftex-index-verify-function'.
954         * textmodes/reftex-toc.el (reftex-re-enlarge):
955         Handle horizontal splitting.
956         (reftex-toc): Handle horizontal splitting
957         (reftex-last-window-width): New variable.
959         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
960         Use `reftex-bibliography-commands'.
961         (reftex-locate-bibliography-files): Regexp relaxed to allow for
962         cases where \bibliography is not the first thing on the line.
964         * textmodes/reftex.el (reftex-compile-variables):
965         Use `reftex-include-file-commands'.
966         (reftex-type-query-prompt): Changed defconst to defvar.
967         (reftex-type-query-help, reftex-typekey-to-format-alist)
968         (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
969         (reftex-special-env-parsers, reftex-label-mac-list)
970         (reftex-label-env-list, reftex-typekey-list)
971         (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
972         (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
973         (reftex-no-follow-message, reftex-no-info-message): Likewise.
974         (reftex-mode): Define systax table for bibtex parsing.
975         (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
977         * textmodes/reftex-cite.el (reftex-format-names): %a as name
978         format lists all names.
979         (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
980         (reftex-with-special-syntax-for-bib): New macro.
982 2002-07-21  Richard M. Stallman  <rms@gnu.org>
984         * international/ucs-tables.el (ucs-quail-activate):
985         Cope if buffer-file-coding-system is nil.
987         * bindings.el (last-buffer): Use buffer-list with frame arg.
988         Create *scratch* if no other choice exists.  Fix bugs.
990 2002-07-21  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
992         * net/tramp.el: Bump version to 2.0.2.
993         (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
994         longer names.  Use old names "sm1", "sm2" and so on for methods
995         invoking "ssh -1" or "ssh -2".
996         (tramp-multi-file-name-structure-separate): Typo, its name was set
997         to "tramp-file-name-structure-separate".  Trivial patch.
998         From Steve Youngs <youngs@xemacs.org>.
999         (tramp-multi-sh-program): New variable.
1000         (tramp-open-connection-multi): Use it.  Now you can use multi
1001         methods from Windows (at least in principle).
1002         (tramp-do-copy-or-rename-via-buffer): New function.
1003         (tramp-do-copy-or-rename-file): Use it.  Change and simplify
1004         logic.  Omit special case of invoking rcp directly to copy the files.
1005         (tramp-open-connection-su, tramp-multi-connect-telnet)
1006         (tramp-multi-connect-rlogin, tramp-multi-connect-su)
1007         (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
1008         Use backticks in format-spec for brevity and to avoid
1009         character/number confusion in XEmacs.
1011 2002-07-20  Richard M. Stallman  <rms@gnu.org>
1013         * wid-edit.el (widget-documentation-string-value-create):
1014         Say "Hide Rest", not just "Hide".
1016         * cus-edit.el (custom-variable-value-create):
1017         Say "Show Value", not just "Show".  Also "Hide Value".
1018         Output a newline before the doc string.
1019         (custom-face-value-create): Say "Show Face" and "Hide Face".
1021         * files.el (toggle-read-only): Clean up the hint message.
1023         * emacs-lisp/bytecomp.el: Use warnings.el.
1024         (byte-compile-warning-prefix): New function.
1025         (byte-compile-log-file): Return page start position.
1026         (byte-compile-log-warning): New function.
1027         (byte-compile-warn): Use byte-compile-log-warning.
1028         (byte-compile-report-error): Likewise.  Also use error-message-string.
1029         (displaying-byte-compile-warnings): Bind warning-series.
1030         Don't bind or use byte-compile-warnings-point-max.
1031         Don't display the log buffer at the end.
1032         (byte-compile-warnings-point-max): Variable deleted.
1033         (byte-compile-log-1): Rewrite for trace info, not used for warnings.
1034         (byte-compile-last-warned-form, byte-compile-last-logged-file):
1035         Defvars moved.
1037         * warnings.el: New file.
1039 2002-07-19  Richard M. Stallman  <rms@gnu.org>
1041         * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
1042         and `values-list' from list of CL functions.
1044 2002-07-19  John Paul Wallington  <jpw@shootybangbang.com>
1046         * emacs-lisp/bytecomp.el (compile-defun):
1047         Bind `read-with-symbol-positions' to current buffer.
1049 2002-07-19  Andre Spiegel  <spiegel@gnu.org>
1051         * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
1052         delete anything that comes after LIMIT from the buffer.
1054         * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
1055         if this is really an RCS master file.
1057         * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
1059 2002-07-19  Juanma Barranquero  <lektu@terra.es>
1061         * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
1062         (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
1063         (unread-command-char, executing-macro, post-command-idle-hook)
1064         (post-command-idle-delay): Move obsolescence declarations to subr.el.
1066         * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
1067         (baud-rate, compiled-function-p, define-function, unread-command-char)
1068         (executing-macro, post-command-idle-hook, post-command-idle-delay):
1069         Move obsolescence declarations from emacs-lisp/bytecomp.el.
1070         (directory-sep-char, mode-line-inverse-video):
1071         Add obsolescence declaration.
1073 2002-07-18  J.D. Smith  <jdsmith@as.arizona.edu>
1075         * progmodes/idlwave.el: Updated to IDLWAVE version 4.14.  Too many
1076         changes to list them here.
1078         * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
1079         Too many changes to list them here.
1081         * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
1082         Too many changes to list them here.
1084         * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
1085         only minor documentation changes.
1087 2002-07-18  Dave Love  <fx@gnu.org>
1089         * info-look.el: Support current auto{conf,make} manuals.
1091 2002-07-18  Juanma Barranquero  <lektu@terra.es>
1093         * bindings.el (last-buffer): Add missing frame argument.
1095 2002-07-18  Richard M. Stallman  <rms@gnu.org>
1097         * timer.el (timer-inc-time): Doc fix.
1099         * replace.el (keep-lines, flush-lines): Interactively report
1100         read-only error before reading regexp argument.
1102         * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
1104         * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
1105         frame parameters like bury-buffer.
1107         * simple.el (choose-completion-delete-max-match):
1108         Handle minibuffer prompts explicitly.
1110 2002-07-18  Juanma Barranquero  <lektu@terra.es>
1112         * international/mule-util.el (string-to-sequence, truncate-string):
1113         Add autoload cookie to obsolescence declaration.
1115         * rect.el (move-to-column-force): Likewise.
1117         * composite.el (decompose-composite-char): Likewise; also remove
1118         redundant info.
1120 2002-07-18  Kim F. Storm  <storm@cua.dk>
1122         * loadup.el: Load international/utf-8 before international/characters.
1124 2002-07-17  Dave Love  <fx@gnu.org>
1126         * international/ucs-tables.el: Optimize tables.  Deal with some
1127         non-8859 charsets.
1128         (ucs-mule-to-mule-unicode): New.
1129         (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
1130         translation.
1131         (ucs-fragment-8859): Modified consistent with ucs-unify-8859.
1132         (unify-8859-on-encoding-mode): Doc mod.  Fix custom version.
1133         (unify-8859-on-decoding-mode): Doc mod.  Change code.  Fix custom
1134         version.  Add custom dependencies.
1135         (ucs-insert): Check for null from decode-char.
1136         (translation-table-for-input, ucs-quail-activate)
1137         (ucs-minibuffer-setup, ccl-encode-unicode-font)
1138         (ucs-tables-unload-hook): New.
1140         * international/mule.el (define-translation-hash-table): New.
1141         (decode-char): Use utf-8-translation-table-for-decode.
1142         (encode-char): Use ucs-mule-to-mule-unicode.
1144         * international/characters.el: Fix settings of U+2000-U+2027.
1145         Remove \e$,1uf\e(B.
1147         * international/mule-cmds.el (locale-language-names): Fix be, add
1148         sr_YU@cyrillic, modify tg.
1149         (locale-charset-language-names): Put @euro last.
1151         * language/cyrillic.el (cyrillic-koi8-r-decode-table)
1152         (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
1153         (cyrillic-koi8-r-decode-table): Make unbound after use.
1154         (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
1155         factor.  Use utf-8-translation-table-for-decode.
1156         (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
1157         (cyrillic-unify-encoding): New function.
1158         (cyrillic-koi8): Modify safe-chars, valid-codes.
1159         Remove charset-origin-alist.
1160         (Cp878, cp866): New alias.
1161         (ccl-encode-8859-5-font): New.
1162         (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
1163         (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
1164         Remove redundant parens.
1165         ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
1166         (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
1167         (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
1168         (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
1169         ("Cyrillic-ALT"): Change input method.
1170         ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
1172         * international/utf-8.el (utf-8-subst-table)
1173         (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
1174         (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
1175         (utf-8-ccl-regs, utf-8-translate-cjk): New.
1176         (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
1177         (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
1178         (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
1179         (mule-utf-8): Remove pre-write-conversion.
1180         (utf-8-post-read-conversion): Comment out.
1182         * international/ccl.el (ccl-command-table): Add lookup-integer,
1183         lookup-character.
1184         (ccl-extended-code-table): Add lookup-int-const-tbl,
1185         lookup-char-const-tbl.
1186         (ccl-compile-lookup-integer, ccl-compile-lookup-character)
1187         (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
1188         New functions.
1189         (define-ccl-program): Doc update.
1191         * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
1192         (utf-8-subst-table): Don't set.
1194 2002-07-17  Kenichi Handa  <handa@etl.go.jp>
1196         * international/mule.el (define-coding-system-alias):
1197         Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
1198         eol-type is not auto-detection.
1200         * international/mule-diag.el (print-coding-system-briefly):
1201         Fix the handling of an alias of which eol-type is not auto-detection.
1203         * international/mule-conf.el (us-ascii): Define it as an alias of
1204         iso-safe.
1206 2002-07-17  Juanma Barranquero  <lektu@terra.es>
1208         * help-fns.el (describe-function-1): Put empty line before "Not
1209         documented" text.
1211         * timer.el (timer-set-time-with-usecs): Mark obsolete.
1213 2002-07-16  Stefan Monnier  <monnier@cs.yale.edu>
1215         * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
1216         Make sure to change the global tool-bar-map.
1218         * vc.el (vc-default-comment-history): Hard code *vc*.
1219         This is because print-log always prints there now.
1220         (vc-annotate-font-lock-keywords): New var.
1221         (vc-annotate-mode): Use it.  Set truncate-lines as well.
1222         (vc-annotate-display-select): Unify the two error reports.
1223         (vc-annotate-offset): New var.
1224         (vc-annotate-lines): New fun extracted from vc-annotate-display.
1225         (vc-annotate-display): Use it, via font-lock.
1227         * help-fns.el (help-split-fundoc, help-function-arglist)
1228         (help-make-usage): New funs, extracted from describe-function-1.
1229         (describe-function-1): Use them.
1231         * help.el (help-key-description): Show the untranslated keys
1232         when they start with ESC and the ESC was not translated.
1234         * help-mode.el (view): Always require.
1235         (help-xref-mule-regexp): Don't use defconst for variables.
1236         (help-setup-xref): Keep the last 10 elements of the stack.
1237         (help-xref-override-view-map): New var.
1238         (help-make-xrefs): Use it instead of building a new map each time.
1239         (help-function-def): Allow help-fun to take a buffer as arg.
1241         * diff-mode.el (diff-reverse-direction): Simplify.
1242         (diff-after-change-function): Fix typo.
1243         (diff-post-command-hook): Take care of edge cases.
1244         (diff-current-defun): Do `goto-char' after setting the mode.
1246         * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
1247         Fold mouse-sel-bindings into it.
1248         (mouse-sel-bound-events): Turn it into an alist.
1249         (mouse-insert-selection): Delegate to mouse-yank-at-click if
1250         mouse-sel-default-bindings asks for it.
1252 2002-07-16  Andre Spiegel  <spiegel@gnu.org>
1254         * files.el: Bind toggle-read-only to C-x C-q.
1255         (toggle-read-only): Display a warning message if the file is under
1256         version control.
1258         * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
1259         (vc-toggle-read-only): Explain in the doc string that users can bind
1260         this to C-x C-q.
1261         (vc-checkout-model): Change doc string to refer to vc-next-action,
1262         not vc-toggle-read-only.
1264         * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
1265         comparing to file on disk.  Fix the case when claiming the lock
1266         on a file that has unlocked changes.
1267         (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
1269 2002-07-16  Richard M. Stallman  <rms@gnu.org>
1271         * simple.el (choose-completion-string): Doc fix.
1273         * cus-edit.el: New operation :custom-standard-value.
1274         (Custom-reset-standard): Use it.
1275         (custom-variable, custom-face): Define it.
1276         (custom-variable-standard-value, custom-face-standard-value): New fns.
1277         (custom-face-save): Don't save a face whose value is standard.
1278         (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
1280         * cus-edit.el (custom-face-edit-fix-value):
1281         If VALUE is not a list, pass it thru.
1283         * compare-w.el (compare-windows-whitespace): Always allow newline
1284         even if it does not have whitespace syntax.
1286 2002-07-16  Juanma Barranquero  <lektu@terra.es>
1288         * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
1290 2002-07-15  Juanma Barranquero  <lektu@terra.es>
1292         * help-fns.el (describe-variable): Show documentation for aliased
1293         variable if alias does not have its own.
1295 2002-07-15  Mike Williams  <mdub@bigfoot.com>
1297         * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
1298         cut/paste functions.
1300 2002-07-14  Richard M. Stallman  <rms@gnu.org>
1302         * files.el (find-alternate-file): Offer to save a modified buffer.
1303         Handle kill-buffer-query-functions better.
1305         * startup.el (normal-splash-screen, fancy-splash-text):
1306         Update name of help menu item for ordering printed manuals.
1308         * emacs-lisp/checkdoc.el: Fix doc typos.
1310 2002-07-14  Stefan Monnier  <monnier@cs.yale.edu>
1312         * textmodes/tex-mode.el: Set encoding to utf-8.
1313         (tex-start-options): Make it into always-a-string.
1314         Remove silly custom options that are covered by the other var.
1315         (tex-start-commands): Fix docstring.
1316         (tex-open-quote, tex-close-quote): Add options.
1317         (tex-command): Provide default.
1318         (tex-font-lock-keywords-1): Highlight $$...$$.
1319         (tex-font-lock-keywords-2): Fix latin-1 chars.
1320         (tex-mode-map): Remove redundant \t binding.
1321         (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
1322         (latex-mode): Use add-hook for fill-nobreak-predicate.
1323         (tex-common-initialization): Set indent-tabs-mode to nil.
1324         (tex-insert-quote): Undo magic if invoked twice in a row.
1325         (latex-fill-nobreak-predicate): Don't use narrowing.
1326         (tex-latex-block): Don't cons uselessly.
1327         (tex-last-unended-begin): Signal user-friendlier error.
1328         (tex-goto-last-unclosed-latex-block): Don't catch signal.
1329         (tex-start-tex): Switch order of tex-start-options and
1330         tex-start-commands to make it obey docstrings.
1332 2002-07-14  Mike Williams  <mdub@bigfoot.com>
1334         * mouse-sel.el (mouse-sel-bound-events): New constant.
1335         (mouse-sel-bindings): Save/restore original mouse-bindings.
1337 2002-07-13  Stefan Monnier  <monnier@cs.yale.edu>
1339         * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
1340         (cl-hack-byte-compiler): Avoid infinite require loop.
1342         * net/ange-ftp.el: Use hash-tables.
1343         (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
1344         (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
1345         (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
1346         Replace with make-hash-table, maphash, gethash, puthash and remhash.
1347         (ange-ftp-hash-entry-exists-p): Rewrite.
1348         (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
1349         Change mapatom -> maphash.
1350         (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
1351         Update to new calling mode.
1353         * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
1354         (ebrowse-hash-table-to-alist): Delete.
1355         (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
1356         (ebrowse-tags-complete-symbol): Use the hashtable for completion.
1358         * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
1359         Improve the regexp used when unquoting.
1360         (sgml-pretty-print): New function.
1361         (sgml-get-context): Better handling of improperly nested tags.
1362         (sgml-show-context): Don't use the FULL arg of sgml-get-context.
1364 2002-07-13  Andreas Schwab  <schwab@suse.de>
1366         * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
1367         inherited table entry.
1369 2002-07-13  Glenn Morris  <gmorris@ast.cam.ac.uk>
1371         * calendar/timeclock.el (timeclock-in): Handle the case where no
1372         log file exists (ie the very first call).
1374 2002-07-13  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1376         * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
1377         is done by Tramp.
1379         * net/tramp.el (tramp-multi-file-name-structure-unified):
1380         Add missing slash and move colon from start to end of each hop.
1381         (tramp-multi-file-name-hop-structure-unified): Move colon from
1382         start to end of each hop.
1384 2002-07-13  Kim F. Storm  <storm@cua.dk>
1386         * progmodes/compile.el (grep-tree): Fixed autoload.
1387         Corrected use of undefined variable `match-files-aliases'.
1389 2002-07-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
1391         * calendar/timeclock.el (timeclock-get-workday-function):
1392         `timeclock-workday' is not a valid option, rather a possible
1393         return value.
1395 2002-07-12  Richard M. Stallman  <rms@gnu.org>
1397         * net/ange-ftp.el (ange-ftp-write-region):
1398         Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
1399         to ange-ftp-real-write-region.
1401         * replace.el (flush-lines, keep-lines): Convert REND to a marker.
1403         * help-fns.el (help-with-tutorial): Display completion list right away.
1405         * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
1407         * startup.el (command-line): Set memory-signal-data.
1408         (fancy-splash-text, normal-splash-screen):
1409         Mention "Read the Emacs Manual" or C-h r.
1410         Rearrange the initial help to put the help cmds on left
1411         and the actions (exit, undo) on the right.  Other small
1412         text clarifications.
1413         (fancy-splash-text, actions page): Add blank line to balance help page.
1415         * help.el (help-map): Add binding for info-emacs-manual.
1416         (print-help-return-message): Doc fix.
1418         * strokes.el (strokes-help): Call print-help-return-message
1419         while inside with-output-to-temp-buffer.
1421         * info.el (info-emacs-manual): New function.
1422         (Info-use-header-line): Doc fix.
1424         * emacs-lisp/cl.el (multiple-value-call): Add alias.
1426         * progmodes/compile.el (compilation-normalize-filename):
1427         New subroutine, taken out of compilation-parse-errors.
1428         (compilation-parse-errors): Use that, and for directories too.
1429         Don't check whether a directory really exists.
1431 2002-07-12  Juanma Barranquero  <lektu@terra.es>
1433         * help-fns.el (describe-variable): Put `defvaralias' info before the
1434         documentation (patch from John Paul Wallington
1435         <jpw@shootybangbang.com>).  Remove useless "Documentation:" string.
1437         * timer.el (timer-set-time-with-usecs): Fix documentation.
1438         Simplify extraction of time data.
1440 2002-07-12  John Paul Wallington  <jpw@shootybangbang.com>
1442         * help-fns.el (describe-variable): Mention if the variable is an alias.
1444 2002-07-12  Kenichi Handa  <handa@etl.go.jp>
1446         * international/mule-cmds.el (locale-language-names): Change "mk"
1447         (Macedoninan), "ru" (Russian), and "sp" (Serbian with Cyrillic
1448         alphabet) to "Cyrillic-ISO".
1450 2002-07-11  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1452         * net/tramp.el (tramp-default-method): New default method "sm"
1453         which I guess to be good for most people.
1454         (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
1455         Ange-FTP) for some user/host combinations.
1456         (tramp-file-name-structure, tramp-file-name-regexp)
1457         (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
1458         (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
1459         (tramp-make-multi-tramp-file-format): New default value which
1460         unifies the filename syntax between Tramp and Ange-FTP.  The new
1461         syntax is "/method:user@host:path".  Note the colon after the method.
1462         (tramp-handle-file-name-directory): Don't return "/" when
1463         completing a remote root directory (where the filename looks like
1464         "/method:user@host:/").
1465         (tramp-handle-ange-ftp): Deleted.
1466         (tramp-disable-ange-ftp): New function, called at toplevel,
1467         deletes Ange-FTP from file-name-handler-alist.
1468         (tramp-handle-make-symbolic-link): Implement.
1470 2002-07-10  Juanma Barranquero  <lektu@terra.es>
1472         * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
1474         * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
1475         (speedbar-vc-do-check): Likewise.
1476         (speedbar-obj-do-check): Likewise.
1477         (speedbar-mouse-hscroll): Likewise.
1478         (speedbar-file-lists): Likewise.
1480         * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
1482 2002-07-09  Ole Aamot  <ole@gnu.org>
1484         * compile.el (compilation-error-regexp-alist):
1485         Recognize Valgrind messages.
1487 2002-07-09  Juanma Barranquero  <lektu@terra.es>
1489         * faces.el (face-id): Fix typo.
1491         * hexl.el (hexl-mode): Likewise.
1493         * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
1495         * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
1497         * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
1498         (speedbar-desired-buffer): Likewise.
1499         (speedbar-line-file): Likewise.
1500         (speedbar-special-mode-key-map): Fix typo.
1501         (speedbar-dynamic-tags-function-list): Likewise.
1502         (speedbar-use-images): Likewise.
1503         (speedbar-up-directory): Likewise.
1504         (speedbar-item-info): Likewise.
1505         (speedbar-set-timer): Likewise.
1506         (speedbar-insert-button): Likewise.
1507         (speedbar-make-button): Likewise.
1508         (speedbar-make-tag-line): Likewise.
1509         (speedbar-insert-files-at-point): Likewise.
1510         (speedbar-update-special-contents): Likewise.
1511         (speedbar-find-selected-file): Likewise.
1512         (speedbar-add-indicator): Likewise.
1513         (speedbar-do-function-pointer): Likewise.
1514         (speedbar-goto-this-file): Likewise.
1515         (speedbar-line-path): Likewise.
1516         (speedbar-mouse-event-p): Likewise.
1517         (speedbar-dir-follow): Likewise.
1518         (speedbar-tag-find): Likewise.
1519         (speedbar-fetch-etags-command): Likewise.
1520         (speedbar-fetch-etags-arguments): Likewise.
1521         (speedbar-toggle-etags): Likewise.
1522         (speedbar-extract-one-symbol): Likewise.
1523         (speedbar-parse-c-or-c++tag): Likewise.
1524         (speedbar-unhighlight-one-tag-line): Likewise.
1525         (speedbar-directory-face): Likewise.
1526         (defimage-speedbar): Likewise.
1527         (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
1528         (defimage-speedbar): Likewise.
1530 2002-07-09  Miles Bader  <miles@gnu.org>
1532         * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
1533         to nil when prompting for a filename.
1535 2002-07-09  Kenichi Handa  <handa@etl.go.jp>
1537         * files.el (insert-directory): Be sure to bind
1538         coding-system-for-write to the just decided coding-system-for-read.
1540 2002-07-09  Kim F. Storm  <storm@cua.dk>
1542         * ido.el (ido-make-merged-file-list): Move fully matching item to
1543         head of list.
1544         (ido-find-common-substring): Return substring instead of t.
1546 2002-07-08  Juanma Barranquero  <lektu@terra.es>
1548         * info.el (Info-directory-list): Fix docstring.
1550 2002-07-08  Miles Bader  <miles@gnu.org>
1552         * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
1553         before first use.
1555 2002-07-08  Kim F. Storm  <storm@cua.dk>
1557         * files.el (after-find-file): Don't check for read-only status
1558         of files just created (and not yet saved on disk).
1560         * ido.el (ido-completion-help): Changed xemacs specific code to
1561         avoid byte compiler warning in GNU emacs.
1562         (ido-set-matches1): Use regexp-quote instead of identity.
1563         (ido-complete-space): New function.
1564         (ido-define-mode-map): Bind it to SPACE.
1566 2002-07-07  Stefan Monnier  <monnier@cs.yale.edu>
1568         * font-lock.el (font-lock-default-unfontify-region):
1569         Use remove-list-of-text-properties.
1570         (font-lock-extra-managed-props): Doc fix.
1572         * facemenu.el: Move `provide' to the end.
1573         (facemenu-read-color): Don't cons unnecessarily.
1575         * language/ind-util.el (indian-make-hash):
1576         * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
1577         (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
1579         * subr.el (insert-string): Update the obsolete info.
1580         (makehash): Move from C and mark obsolete.
1582         * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
1583         aliases to also work for interactive functions.
1584         Use the same wrapper for subroutines.
1585         (cancel-debug-on-entry): Get rid of the now-useless wrapper.
1586         (debug-on-entry-1): Correctly skip docstrings and interactive forms.
1588         * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
1589         automatic environment name update.
1590         (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
1592 2002-07-07  Richard M. Stallman  <rms@gnu.org>
1594         * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
1596         * emacs-lisp/advice.el (ad-compile-function):
1597         Disable cl-function warnings if cl is loaded.
1599         * files.el (safe-local-eval-forms): New user option.
1600         (hack-one-local-variable-eval-safep): Support it.
1601         Also allow `safe-local-eval-function' property to be a function
1602         or a list of functions.
1603         (c-add-style): Delete `safe-local-eval-function' property.
1605         * files.el (after-find-file): Make buffer read-only if file is
1606         marked that way, even for root.
1608         * files.el (save-some-buffers): Doc fix.
1610         * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
1612 2002-07-06  Francesco Potorti`  <pot@gnu.org>
1614         * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
1615         .sx[dmicw] file suffixes for Open office data files.
1617         * files.el (auto-mode-alist): Likewise.
1619         * international/mule.el (auto-coding-alist): Likewise.
1621 2002-07-05  Kim F. Storm  <storm@cua.dk>
1623         * emulation/cua-rect.el (cua--rectangle-operation): Don't call
1624         FCT if current column is outside rectangle.
1625         (cua--delete-rectangle): Do nothing if zero width or out of bounds.
1627 2002-07-04  Stefan Monnier  <monnier@cs.yale.edu>
1629         * net/ange-ftp.el: Use add-hook and find-file-hook.
1630         (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
1631         (ange-ftp-ls-parser): Make it into a function.
1632         Ignore trailing @ in symlink targets.
1633         (ange-ftp-file-entry-p): Ignore FTP errors.
1634         (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
1635         to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
1637 2002-07-04  Per Abrahamsen  <abraham@dina.kvl.dk>
1639         * simple.el (toggle-truncate-lines): New command.
1641 2002-07-04  Miles Bader  <miles@gnu.org>
1643         * comint.el (comint-displayed-dynamic-completions): New variable.
1644         (comint-dynamic-list-completions): Be more careful about choosing
1645         when to scroll an existing completions window.
1647 2002-07-03  Andreas Schwab  <schwab@suse.de>
1649         * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
1650         after doc string.
1652 2002-07-03  Juanma Barranquero  <lektu@terra.es>
1654         * net/tramp.el (tramp-send-eof): Fix typo.
1655         (tramp-kill-process): Likewise.
1657         * play/dunnet.el (dun-physobj-desc): Likewise.
1659         * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
1661         * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
1662         (timeclock-workday-elapsed): Likewise.
1664         * allout.el (outline-goto-prefix): Likewise.
1666         * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
1667         (tpu-delete-to-bol): Likewise.
1669         * subr.el (chars-in-region): Add obsolescence declaration for
1670         `chars-in-region'.
1672 2002-07-03  Miles Bader  <miles@gnu.org>
1674         * faces.el (header-line): Don't use a `common' clause for
1675         inheriting from the mode-line face, since we can't override it,
1676         and we don't want it for ttys.
1678 2002-07-02  Richard M. Stallman  <rms@gnu.org>
1680         * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
1682         * files.el (hack-one-local-variable-constantp): New function.
1683         (hack-one-local-variable-eval-safep): New function.
1684         Check for `eval:' calling fn with `safe-local-eval-function' property.
1685         (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
1686         (c-add-style, c-set-style): Add safe-local-eval-function property.
1688         * files.el (insert-directory): Handle --dired option to ls.
1690         * files.el (file-remote-p): New function.
1692         * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
1694         * startup.el (fancy-splash-screens): Switch to a chosen frame.
1695         (fancy-splash-frame): Choose the right frame to use.
1696         (use-fancy-splash-screens-p): Check dimensions of the right frame
1697         in order to decide.
1699         * emacs-lisp/bytecomp.el (byte-compile-warning-types):
1700         Rename cl-func to cl-functions.  Enable it by default.
1701         (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
1702         if the file loads cl.
1703         (byte-compile-initial-macro-environment): For eval-and-compile,
1704         use byte-compile-eval-before-compile to eval.
1705         (byte-compile-eval-before-compile): New function to turn off
1706         cl-functions when appropriate, for eval-and-compile.
1707         (byte-compile-warnings): Doc fix.
1709 2002-07-02  Dave Love  <fx@gnu.org>
1711         * emacs-lisp/bytecomp.el (byte-compile-warnings):  Add cl-func option.
1712         (byte-compile-cl-warn): New function.
1713         (byte-compile-form): Use it, to warn about calling cl functions.
1714         (byte-compile-warning-types): Doc fix.
1716 2002-07-02  Juanma Barranquero  <lektu@terra.es>
1718         * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
1720         * textmodes/reftex-cite.el (reftex-citation): Fix typo.
1722         * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
1723         Fix typo.
1725 2002-07-02  Kim F. Storm  <storm@cua.dk>
1727         * emacs-lisp/bindat.el: New file.
1729 2002-07-01  Sam Steingold  <sds@gnu.org>
1731         * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
1732         before `tex-main-file' because if the current buffer is new, its
1733         file might not exist yet, and then `tex-main-file' will
1734         incorrectly return "foo.tex.tex".
1736 2002-07-01  Juanma Barranquero  <lektu@terra.es>
1738         * ido.el (ido-minibuffer-setup-hook): Doc fix.
1740 2002-07-01  Dave Love  <fx@gnu.org>
1742         Make strokes a proper minor mode, and don't try to overload
1743         mouse-2, which doesn't work satisfactorily.
1745         * strokes.el: Doc fixes.
1746         (strokes-mode): Defcustom deleted; replaced by minor mode def with
1747         re-written function.
1748         (strokes-while-inhibiting-garbage-collector): Comment out.
1749         (define-stroke, strokes-fix-button2-command, strokes-insinuated)
1750         (strokes-insinuate, global-set-stroke, describe-stroke)
1751         (load-user-strokes, save-strokes, strokes-bug-address)
1752         (strokes-click-command): Deleted.
1753         (strokes-execute-stroke): Remove strokes-click-p case.
1754         (strokes-describe-stroke): Remove strokes-click-p stuff.
1755         (strokes-help): Fix.
1756         (strokes-report-bug): Alias to report-emacs-bug.
1757         (strokes-prompt-user-save-strokes): Modify format of the file.
1758         (strokes-mode-map, strokes-unload-hook): New.
1759         (strokes-buffer-name): Don't customize.
1761 2002-07-01  Richard M. Stallman  <rms@gnu.org>
1763         * info.el (Info-index): Get immediate error if used in `dir'.
1765         * textmodes/picture.el (picture-forward-column)
1766         (picture-move-down): Never deactivate the mark.
1768 2002-06-30  Simon Josefsson  <jas@extundo.com>
1770         * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
1771         menu entry into balloon help.
1773 2002-06-30  Andreas Schwab  <schwab@suse.de>
1775         * files.el (directory-free-space-args): Don't use `-P' on Darwin.
1776         * term/mac-win.el: Don't set it here.
1778 2002-06-29  Stefan Monnier  <monnier@cs.yale.edu>
1780         * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
1782 2002-06-29  Andreas Schwab  <schwab@suse.de>
1784         * term/mac-win.el: Use directory-free-space-program instead of
1785         obsolete variable dired-free-space-program.  On Darwin, don't set
1786         directory-free-space-program, shell-file-name and
1787         process-connection-type; set directory-free-space-args to not
1788         include `-P' and use utf-8 for file name coding system.
1790         * simple.el (shell-command-on-region): Handle errors and signals
1791         from shell command execution.
1792         (display-message-or-buffer): Fix last change.
1793         (shell-command-default-error-buffer): Doc fix.
1795         * dired.el (dired-view-file): Quote file name for
1796         dired-run-shell-command.
1798 2002-06-29  Kim F. Storm  <storm@cua.dk>
1800         * kmacro.el: New file.
1802 2002-06-28  John Wiegley  <johnw@gnu.org>
1804         * pcmpl-cvs.el: Added my name as the maintainer of this file.
1806 2002-06-28  Andreas Schwab  <schwab@suse.de>
1808         * shell.el (explicit-bash-args): New user option.
1810 2002-06-28  Kim F. Storm  <storm@cua.dk>
1812         * ido.el: New file.
1814 2002-06-28  Stefan Monnier  <monnier@cs.yale.edu>
1816         * derived.el (define-derived-mode): Preserve the `mode-class' rather
1817         than the `special' symbol property.
1818         (derived-mode-class): Make it obsolete.
1820 2002-06-27  Andreas Schwab  <schwab@suse.de>
1822         * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
1824 2002-06-27  Juanma Barranquero  <lektu@terra.es>
1826         * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
1827         (meta-flag): Likewise.
1829         * international/mule-util.el (string-to-sequence): Likewise.
1831         * subr.el (char-bytes): Likewise.
1832         (make-local-hook): Likewise.
1833         (baud-rate): Remove redundant info from docstring.
1835         * faces.el (frame-update-faces): Fix obsolescence declaration.
1836         (internal-get-face): Remove redundant info from docstring and
1837         fix obsolescence declaration.
1839         * rect.el (move-to-column-force): Likewise.
1841         * help-fns.el (describe-function-1): Use semicolon instead of dot.
1842         (describe-variable): Likewise.
1844 2002-06-27  Stefan Monnier  <monnier@cs.yale.edu>
1846         * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
1847         (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
1848         (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
1849         (mouse-wheel-follow-mouse): Change default to t.
1850         (mwheel-event-button): Return the basic event symbol.
1851         (mwheel-scroll): Work with non-mouse events.
1852         (mouse-wheel-mode): Use the new vars.
1853         (mwheel-install): Obey `uninstall'.
1855         * term/xterm.el (function-key-map): Add some bindings.
1857         * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
1858         Rename from delay-uniquify-rationalize-file-buffer-names.
1859         Only rationalize if the buffer is under uniquify control.
1860         (uniquify-delayed-rationalize-file-buffer-names):
1861         Rename from delayed-uniquify-rationalize-file-buffer-names.
1863 2002-06-27  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1865         * net/tramp.el (tramp-file-name-structure)
1866         (tramp-multi-file-name-hop-structure): Split for easier readability.
1867         (tramp-handle-make-symbolic-link): Use user/host/method/... from
1868         LINKNAME, not FILENAME.
1869         (tramp-handle-verify-visited-file-modtime):
1870         Call tramp-ange-ftp-file-name-p with right parameters.
1871         (tramp-handle-verify-visited-file-modtime): `insert' does not
1872         work for integers, convert them to strings first.
1873         (tramp-handle-ange-ftp): New function to perform setup for
1874         replacing Ange-FTP with Tramp.
1875         (tramp-repair-jka-compr): New function to factor out some
1876         previously top-level code.  Call the function at top-level.
1878 2002-06-27  Juanma Barranquero  <lektu@terra.es>
1880         * composite.el (decompose-composite-char): Fix docstring.
1882         * faces.el (describe-face): Capitalize "not documented" message.
1884         * help-fns.el (describe-variable): Likewise.
1885         (describe-function-1): Likewise. Also, document the obsolescence
1886         of the function, if applicable.
1888 2002-06-26  Juanma Barranquero  <lektu@terra.es>
1890         * info.el (info-menu-5): Fix documentation.
1891         (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
1893 2002-06-26  Richard M. Stallman  <rms@gnu.org>
1895         * emacs-lisp/cl.el (values): Simplify definition.
1897         * simple.el (shell-command): Match & only at end of whole command.
1898         (display-message-or-buffer): Don't use the echo area
1899         if output buffer is visible.
1901         * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
1903         * progmodes/cperl-mode.el: Many trivial doc fixes.
1904         (cperl-non-problems): Definition deleted.
1905         (cperl-menu): Don't refer to cperl-non-problems.
1906         (cperl-word-at-point): Add doc string.
1907         (cperl-beautify-regexp-piece): Fix error message.
1908         (cperl-invert-if-unless): Fix error message.
1910         * dired.el (dired-find-alternate-file): Mark as disabled.
1912 2002-06-25  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1914         * net/tramp.el (tramp-ftp-method): New user option.
1915         (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
1916         (with-parsed-tramp-file-name): New macro for the usual big `let'
1917         statement to dissect a file-name.
1918         (tramp-handle-make-symbolic-link, tramp-handle-load)
1919         (tramp-handle-file-name-directory)
1920         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1921         (tramp-handle-file-truename, tramp-handle-file-directory-p)
1922         (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
1923         (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
1924         Use the new macro and forward call to Ange-FTP if applicable.
1925         (tramp-make-ange-ftp-file-name): New helper function to convert a
1926         file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
1927         (tramp-default-method-alist): New user option.
1928         (tramp-find-default-method): Use it.
1929         (tramp-sh-extra-args): New variable.
1930         (tramp-find-shell): Use it.
1931         (tramp-open-connection-rsh): Support a kludgy feature for the
1932         "-p" option to ssh.  If host name is given as "host#42", uses the
1933         "-p 42" option.
1935 2002-06-25  Andreas Schwab  <schwab@suse.de>
1937         * replace.el (occur-1): Avoid invalid message format string.
1939 2002-06-24  Stefan Monnier  <monnier@cs.yale.edu>
1941         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
1942         Check for `noruntime' even if the function has a known sig.
1943         (byte-compile-file, byte-compile-output-docform):
1944         Don't hard code point-min = 1.
1946         * pcvs.el (cvs-parse-process): Don't save/restore point.
1947         Fix last change not to introduce spurious dir FIs.
1948         (cvs-move-to-goal-column): New function extracted from
1949         cvs-mode-previous-line.
1950         (cvs-mode-previous-line, cvs-mode-next-line): Use it.
1951         (cvs-addto-collection): Use it to preserve point.
1952         (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
1954         * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
1955         Don't require the first element to be modifier-free.
1957         * pcvs-parse.el (cvs-parse-table):
1958         Handle `nothing known about' with more care.
1960         * pcvs.el (cvs-fileinfo-kill): Remove.
1961         (cvs-parse-process): Add `old-fis' argument.
1962         (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
1964         * descr-text.el (describe-property-list): Make sure there's
1965         a space between the property name and its value.
1966         (describe-text-properties): Don't kill a pre-existing buffer.
1968         * mwheel.el: Undo last patch from Stephen Gildea for now.
1970 2002-06-24  Kim F. Storm  <storm@cua.dk>
1972         * emulation/keypad.el: Added :require 'keypad to defcustoms.
1974 2002-06-23  Stefan Monnier  <monnier@cs.yale.edu>
1976         * subr.el (event-start, event-end, event-click-count):
1977         Accept non-mouse events as well.
1978         (read-key): New function.
1979         (read-quoted-char): Use it.  Use this-single-command-raw-keys as well.
1981         * files.el: Rename (and mark as obsolete)
1982         find-file-hooks to find-file-hook,
1983         find-file-not-found-hooks to find-file-not-found-functions,
1984         write-file-hooks to write-file-functions,
1985         write-contents-hooks to write-contents-functions.
1986         Mark local-write-file-hooks as obsolete.
1987         (locate-file-completion): Don't cons uselessly.  Use test-completion.
1988         (basic-save-buffer): Use (point-min) rather than 1.
1989         (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
1991         * help-fns.el (describe-variable): Only use `buffer' is still live.
1992         Use `delete-region' instead of save-excursion + delete-char.
1993         Document the obsolescence of the variable, if applicable.
1995 2002-06-23  Glenn Morris  <gmorris@ast.cam.ac.uk>
1997         * progmodes/f90.el (f90-do-auto-fill): Respect the value of
1998         comment-auto-fill-only-comments.
2000 2002-06-21  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2002         * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
2003         This is not a handled operation.
2005 2002-06-21  Kim F. Storm  <storm@cua.dk>
2007         * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
2008         work again.  Corrected error in check for C-u initiated prefix.
2010         * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
2012 2002-06-21  Richard M. Stallman  <rms@gnu.org>
2014         * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
2015         to browse-url-at-point.
2017         * play/zone.el (zone-idle): Var deleted.
2019         * international/iso-acc.el (iso-languages) <french>:
2020         `~ ' now generates `~', `~,' definition deleted.
2022         * format.el (format-annotate-function): Copy multibyte flag
2023         and selective-display into the new temp buffer.
2025         * edmacro.el (edmacro-fix-menu-commands):
2026         Discard `help-echo' events.  Handle (menu-bar) events.
2027         Simplify by converting key sequence to a list and then back to vector.
2029 2002-06-21  Stephen Gildea  <gildea@stop.mail-abuse.org>
2031         * mwheel.el: Allow arbitrary keys for scrolling, add a third
2032         scrolling speed, fix an unwind-protect.
2033         (mouse-wheel-scroll-amount): Now a three-element list.
2034         (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
2035         (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
2036         (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
2037         New functions.
2039 2002-06-21  Andreas Schwab  <schwab@suse.de>
2041         * files.el (find-file-read-args): Add new argument `mustmatch' and
2042         pass it down to read-file-name.
2043         (find-file, find-file-other-window, find-file-other-frame)
2044         (find-file-read-only, find-file-read-only-other-window)
2045         (find-file-read-only-other-frame): Use it and fix prompts.
2047 2002-06-21  Stefan Monnier  <monnier@cs.yale.edu>
2049         * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
2051 2002-06-20  Emmanuel Briot  <briot@act-europe.fr>
2053         * progmodes/ada-mode.el: Update copyright notice.
2054         Synchronize with GNAT release 3.15a1.
2055         Do not attempt to load ada-support, which is only for compatibility
2056         with older Emacs versions, and is not needed for Emacs 21.
2057         Fix various calls to count-lines, that didn't work correctly when the
2058         buffer was narrowed.
2059         (ada-continuation-indent): New variable.
2060         (ada-contextual-menu): New entry "List local references", faster than
2061         "List References".
2062         (ada-mode): New alignment rules provided by S. Leake.
2063         Add support for which-function-mode.
2064         (ada-get-current-indent): Fix indentation of named parameter lists and
2065         nested boolean expressions.
2066         (ada-indent-on-previous-lines): Fix indentation of labels.
2067         (ada-search-prev-end-stmt): Fix searching of the previous
2068         end-statement, specially with regards to nested subprograms.
2069         (comment-region advice): Initially disabled, for better compatibility
2070         with other modes.
2071         (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
2073         * progmodes/ada-xref.el: Update copyright notice.
2074         (ada-xref-create-ali): The default is now not to create automatically
2075         the ALI files by compiling the unit, since this isn't always reliable
2076         and requires an up-to-date project file.
2077         (ada-prj-default-comp-cmd): No longer use gcc directly to compile
2078         a file, but use gnatmake instead, since this gives access to the GNAT
2079         project files.
2080         (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
2081         (ada-load-project-hook): New variable, for support of GNAT
2082         project files.
2083         (ada-update-project-menu): Fix the detection of the project file name.
2084         (ada-add-keymap): Change key binding for ada-find-file, that conflicted
2085         with another binding in ada-mode.el.
2086         (ada-add-menu): New menu "List Local References", to list the reference
2087         to the entity only in the current file, instead of looking in the whole
2088         project.  Much faster.
2089         (ada-find-references): New parameters arg and local-only.
2090         (ada-find-any-references): New parameters local-only and append.
2091         (ada-goto-declaration): Fix handling of predefined entities in xref.
2092         (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
2093         still compatible with GNAT 3.14 of course.  Fix various calls to
2094         count-lines, that didn't work correctly when the buffer was narrowed.
2096         * progmodes/ada-prj.el: Update copyright.
2097         (ada-prj-load-directory): Make sure we do not use one of the new Emacs
2098         21 dialogs to select the file, since we want a directory name only.
2099         (ada-customize): Add support for the new GNAT project files.
2101 2002-06-20  Francesco Potorti`  <pot@gnu.org>
2103         * progmodes/etags.el (tag-implicit-name-match-p): New function.
2104         (etags-recognize-tags-table): Use it for implicit tag names.
2106 2002-06-20  Miles Bader  <miles@gnu.org>
2108         * comint.el (comint-get-old-input-default): Strip text properties
2109         for fields too.
2111         * comint.el (comint-output-filter): Run output-filter functions
2112         before setting up the prompt.
2114         * international/characters.el: Re-enable code giving word syntax
2115         to certain japanese-jisx0208 characters.
2117 2002-06-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
2119         * progmodes/f90.el (f90-type-def-re): Fix value.
2120         (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
2122 2002-06-18  Stefan Monnier  <monnier@cs.yale.edu>
2124         * international/quail.el (quail-help): Don't assume the buffer
2125         is displayed in the same frame.
2127         * emacs-lisp/debug.el (cancel-debug-on-entry):
2128         * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
2130         * pcvs.el (cvs-vc-command-advice): Handle the case where args
2131         are passed to `cvs' before the command name.
2132         (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
2134         * pcvs-info.el (cvs-add-face): Minor rewrite.
2135         (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
2137         * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
2138         regexp when they don't match comment-foo any more.
2140 2002-06-18  Juanma Barranquero  <lektu@terra.es>
2142         * filesets.el (filesets-update-pre010505): Fix typo.
2144         * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
2146         * emulation/edt.el (edt-substitute): Fix typo.
2148         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
2150         * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
2152         * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
2154 2002-06-17  Richard M. Stallman  <rms@gnu.org>
2156         * facemenu.el (facemenu-map): Rename to Describe Text
2157         to Describe Properties and use describe-text-properties.
2159         * simple.el (what-cursor-position): Use describe-char.
2161         * descr-text.el (describe-char): Moved from mule-diag.el, renamed
2162         from describe-char-after.  Now calls describe-text-properties.
2163         (describe-property-list): Renamed from describe-text-properties.
2164         (describe-text-properties): Renamed from describe-text-at.
2165         New arg OUTPUT-BUFFER.
2166         (describe-text-properties-1):
2167         New subroutine, broken out from describe-text-properties.
2168         Output a newline before each section of the output.
2170         * international/mule-diag.el (describe-char-after):
2171         Moved to descr-text.el.
2173 2002-06-17  Eli Zaretskii <eliz@is.elta.co.il>
2175         * international/mule.el (ctext-pre-write-conversion): Fix the values
2176         of FROM and TO if we create a new buffer.
2178 2002-06-17  John Paul Wallington  <jpw@shootybangbang.com>
2180         * comint.el (comint-insert-clicked-input): Insert clicked-on
2181         previous input without properties.
2183 2002-06-16  Andrew Choi  <akochoi@shaw.ca>
2185         * term/mac-win.el (scalable-fonts-allowed): Set to t.
2187 2002-06-15  Colin Walters  <walters@debian.org>
2189         * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
2190         Delete defvars.
2191         (cvs-highlight): Delete.
2192         (cvs-add-face): Use `font-lock-face'.  Always add properties.
2194         * ibuffer.el (ibuffer-movement-cycle): New variable.
2195         (ibuffer-backward-line, ibuffer-forward-line): Use it.
2197 2002-06-15  Richard M. Stallman  <rms@gnu.org>
2199         * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
2200         (batch-byte-recompile-directory): Undo previous change.
2202         * comint.el (comint-skip-input): New function.
2203         (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
2204         (comint-stop-subjob): Use comint-skip-input.
2206         * ielm.el (ielm-eval-input): Use error-message-string.
2207         (ielm-format-error, ielm-format-errors): Functions deleted.
2209 2002-06-14  Kim F. Storm  <storm@cua.dk>
2211         * progmodes/compile.el (grep-tree): Doc fixes.
2212         Added SUBDIRS arg for non-interactive use.
2214 2002-06-14  Juanma Barranquero  <lektu@terra.es>
2216         * comint.el (comint-snapshot-last-prompt):
2217         Bind `inhibit-read-only' to t to support read-only prompts.
2218         (comint-output-filter): Likewise.
2220 2002-06-14  Miles Bader  <miles@gnu.org>
2222         * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
2223         (pop): Move the call to `car' outside the prog1, as the compiler
2224         then generates better code.
2226 2002-06-13  Richard M. Stallman  <rms@gnu.org>
2228         * play/zone.el (zone-timer): New variable holds the idle timer.
2229         (zone): Don't fiddle with the idle timer at all.
2230         (zone-when-idle): Put the idle timer in zone-timer.
2231         If one is already set up, cancel it and make a new one.
2232         (zone-leave-me-alone): Likewise.
2234 2002-06-13  Jason Rumney  <jasonr@gnu.org>
2236         * w32-fns.el (w32-charset-info-alist): Reorder.
2238 2002-06-13  Andreas Schwab  <schwab@suse.de>
2240         * files.el (auto-mode-alist): Move entry for ".in" to the end.
2242 2002-06-13  Miles Bader  <miles@gnu.org>
2244         * comint.el (comint-mode): Don't set `font-lock-defaults'.
2245         (comint-mode-hook): Turn on font-lock by default.
2247 2002-06-12  Karl Fogel  <kfogel@red-bean.com>
2249         * bookmark.el (bookmark-file-or-variation-thereof):
2250         Restore vc-backend check, thanks to Robert Thorpe for noticing.
2252 2002-06-12  Eli Zaretskii  <eliz@is.elta.co.il>
2254         * textmodes/bibtex.el: Change the maintainer to "none".
2256 2002-06-12  Juanma Barranquero  <lektu@terra>
2258         * term/w32-win.el (x-handle-switch): Fix handling of
2259         x-invocation-args for switches with arguments.
2261 2002-06-12  Stefan Monnier  <monnier@cs.yale.edu>
2263         * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
2264         without first making sure it's bound.
2266 2002-06-12  Richard M. Stallman  <rms@gnu.org>
2268         * info.el (Info-fontify-node): Compute header line specially
2269         if node has no next, previous or up links.
2270         Hide the part of the first line that is used in the header.
2271         Use Info-next-link-keymap, etc.
2272         (Info-next-link-keymap, Info-prev-link-keymap)
2273         (Info-up-link-keymap): New variables.
2275         * international/mule-diag.el (describe-char-after): Doc fix.
2277         * view.el (view-mode-enter): Clarify echo area message.
2279         * info.el (Info-select-node): Turn header line on or off here.
2280         (Info-setup-header-line): Function deleted.
2281         (Info-mode): Make Info-header-line local.
2282         (Info-fontify-node): Ignore Info-use-header-line.
2283         Unconditionally compute what the header line should be, and
2284         store it on the `header-line' property of the node's first char.
2285         Bind [header-line down-mouse-1].
2286         Use `keymap' property, not `local-map'.
2287         Bind [mouse-2] for mouse clicks on the node line in the text.
2289         * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
2291 2002-06-12  Miles Bader  <miles@gnu.org>
2293         * comint.el (comint-send-input): Properly handle empty and
2294         no-newline input regions.
2296 2002-06-12  Colin Walters  <walters@gnu.org>
2298         * calc/calc.el: Use `when', `unless'.
2299         (calc-trail-mode): Use an italic `font-lock-face'.
2300         (calc-refresh): Ditto.
2302 2002-06-12  Colin Walters  <walters@debian.org>
2304         * font-core.el (font-lock-core-only): Variable deleted.
2305         All uses removed.
2306         (font-lock-set-defaults): Variable alist settings moved back into
2307         font-lock-set-defaults-1.
2308         (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
2309         is specifically excluded by the user.
2311         * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
2313         * help-mode.el (help-mode): Don't set `font-lock-defaults'.
2315         * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
2317         * info.el (Info-mode): Don't set `font-lock-defaults'.
2319         * replace.el (occur-mode): Don't set `font-lock-defaults'.
2321         * help-mode.el (help-highlight-p, help-highlight-face):
2322         Variable was unused; delete.
2323         (help-make-xrefs): Doc fix.
2325 2002-06-11  Richard M. Stallman  <rms@gnu.org>
2327         * format.el (format-alist): Document new element PRESERVE.
2328         (format-write-file): Implement PRESERVE elt for a format.
2330         * files.el (make-auto-save-file-name): Rename local `filename' to
2331         `file-name'.
2333 2002-06-10  Richard M. Stallman  <rms@gnu.org>
2335         * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
2336         (ebrowse-copy-list): Function deleted.
2338         * eshell/em-unix.el (eshell/diff): Use copy-sequence.
2340         * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
2342         * eshell/esh-util.el (eshell-copy-list): Function deleted.
2343         (eshell-sublist): Use copy-sequence.
2344         (eshell-copy-tree): Make it an alias for copy-tree.
2346         * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
2348         * subr.el (copy-list): Moved to cl.el.
2349         (copy-tree): Don't use copy-list or cl-pop.
2351 2002-06-10  Miles Bader  <miles@gnu.org>
2353         Make comint use text properties for highlighting instead of overlays:
2354         * comint.el (comint-last-output-overlay): Variable removed.
2355         (comint-send-input, comint-output-filter): Use text properties
2356         instead of overlays.
2357         (comint-insert-clicked-input): Rewrite to work with text
2358         properties as well as overlays
2359         (comint-snapshot-last-prompt): Snapshot using text properties.
2360         (comint-get-old-input-default, comint-extract-string): Don't copy
2361         text properties.
2363         * simple.el (line-move-finish): Inhibit field motion when
2364         computing `line-end'.
2366         * files.el (revert-buffer): Correct typo: variable name is
2367         `buffer-file-format', not `buffer-file-formats'.
2369         * comint.el (comint-send-input, comint-output-filter): Use the
2370         `font-lock-face' property instead of `face'.  Don't check the
2371         highlight-enabling variables anymore.
2372         (comint-highlight-input, comint-highlight-prompt): Variables removed.
2374         * faces.el (display-supports-face-attributes-p): New function.
2375         (face-spec-set-match-display): Support `supports' predicate.
2376         (italic): Try underlining for displays that don't support real italics.
2377         * cus-edit.el (custom-display): Add support for `supports' predicate.
2378         * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
2379         instead of 8-bit, for consistency with the rest of emacs.
2380         (tty-color-canonicalize): Only copy COLOR if we need to change it.
2381         (tty-color-approximate): Scale values from `color-name-rgb-alist'
2382         appropriately.  Return the whole color description, rather than
2383         just the RGB values.
2384         (tty-color-standard-values): New function.  Code mostly taken from
2385         `tty-color-translate'.
2386         (tty-color-translate, tty-color-values): Use `tty-color-desc' to
2387         do all the work.
2388         (tty-color-desc): Do color lookup here instead of calling
2389         `tty-color-translate' and `tty-color-by-index'; this is now the
2390         main place to do it.
2392 2002-06-09  Martin Stjernholm  <bug-cc-mode@gnu.org>
2394         * progmodes/cc-style.el (c-set-style, c-set-style-1):
2395         Add another state for the `dont-override' flag where it only keeps
2396         globally set variables.
2398 2002-06-08  Colin Walters  <walters@gnu.org>
2400         * descr-text.el (describe-text-properties): Sort the output by the
2401         size of the values.  Put `font-lock-face' property on property names.
2402         (toplevel): Provide `descr-text'.
2404         * international/mule-diag.el (describe-char-after): When there are
2405         text properties, require `descr-text', and just call
2406         `describe-text-properties'.
2408         * international/mule.el (sgml-html-meta-auto-coding-function):
2409         New function.
2410         (auto-coding-from-file-contents): Delete; merge functionality into
2411         `set-auto-coding'.
2412         (set-auto-coding): Move tests from `auto-coding-functions' so that
2413         they have a lower priority than coding: tags.
2414         Put `auto-coding-regexp-alist' tests before coding: tag tests.
2415         (sgml-xml-auto-coding-function): Simply `intern' the match, and
2416         test if it's a valid coding system.
2417         (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
2419 2002-06-08  Colin Walters  <walters@verbum.org>
2421         * subr.el (copy-list): Moved here from cl.el.
2422         (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
2424         * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
2425         subr.el.  Add a defalias with the old name.
2427         * emacs-lisp/cl.el (copy-list): Moved to subr.el.
2429         * replace.el (occur-mode): Don't set up categories.  Do set
2430         `font-lock-defaults', and be sure to set `font-lock-core-only'.
2431         (occur-1): Pass `list-matching-lines-face' and
2432         `list-matching-lines-buffer-name-face'.
2433         (occur-engine): Use `font-lock-face' instead of categories.
2435         * info.el (Info-mode): Don't set up categories.  Do set
2436         `font-lock-defaults', and be sure to set `font-lock-core-only'.
2437         (Info-fontify-menu-headers): Use `font-lock-face' instead of
2438         categories.
2439         (Info-fontify-node): Ditto.
2441         * ibuffer.el (ibuffer-category-alist): Delete.
2442         (ibuffer-get-category): Delete.
2443         (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
2444         of categories.
2445         (ibuffer-compile-format): Don't treat `name' category specially.
2446         (ibuffer-column name): Use `font-lock-face'.
2447         (filename-and-process): Ditto.
2448         (ibuffer-buffer-name-category): Renamed to
2449         `ibuffer-buffer-name-face'.  Don't use categories.
2450         (ibuffer-update-title-and-summary): Use `font-lock-face'.
2451         (ibuffer-insert-filter-group): Ditto.
2452         (ibuffer-mode): Don't set up categories.  Do set
2453         `font-lock-defaults', and be sure to set `font-lock-core-only'.
2454         (ibuffer-compile-format): Don't pass third argument
2455         to column functions.
2456         (filename-and-process): Ditto.
2458         * ibuf-macs.el (define-ibuffer-column): Don't create a third
2459         argument for the generated function.
2461         * font-core.el (font-lock-category-alist): Delete.
2462         (turn-on-font-lock-if-enabled): Don't use it.
2463         (font-lock-symbol-category-alist): Delete.
2464         (font-lock-default-function): Use new `char-property-alias-alist'
2465         to make `font-lock-face' an alias for `face' when font-lock mode
2466         is enabled.
2467         (font-lock-core-only): New variable.
2468         (font-lock-set-defaults): Use it.
2470 2002-06-08  Richard M. Stallman  <rms@gnu.org>
2472         * files.el (find-file-noselect-1): Undo previous change.
2474         * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
2476 2002-06-07  Karl Fogel  <kfogel@red-bean.com>
2478         * bookmark.el (bookmark-file-or-variation-thereof): Just use
2479         Info-suffix-list, as suggested by Stefan Monnier.
2481 2002-06-05  Eli Zaretskii  <eliz@is.elta.co.il>
2483         * select.el (xselect-convert-to-string): If VALUE is a string,
2484         return a cons of TYPE and the string.
2486 2002-06-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
2488         * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
2489         Fix the table to contain correct characters.
2491 2002-06-04  Richard M. Stallman  <rms@gnu.org>
2493         * simple.el: Don't require cl.
2495 2002-06-03  Richard M. Stallman  <rms@gnu.org>
2497         * dired.el (dired-do-shell-command): Doc fix in autoload.
2499         * info.el (Info-extract-pointer): Ignore Info-header-line.
2501         * progmodes/cc-mode.el (c-postprocess-file-styles):
2502         Do nothing except in CC modes.
2504         * international/mule-cmds.el (select-safe-coding-system):
2505         When computing auto-cs, narrow to FROM...TO.
2506         Put save-excursion outside save-restriction.
2507         New arg FILE; use that for set-auto-coding.
2509 2002-06-01  Richard M. Stallman  <rms@gnu.org>
2511         * simple.el (choose-completion-string-functions): Doc fix.
2512         (choose-completion-string): Add doc string.
2514 2002-06-01  Kim F. Storm  <storm@cua.dk>
2516         * simple.el: Reworked previous change.
2517         (choose-completion-string1): Merged back into choose-completion-string.
2518         (choose-completion-string): Run choose-completion-string-functions
2519         after checking for proper minibuffer window.  Added mini-p arg to
2520         the hook functions.  Insert choice if all hook functions return nil.
2521         (choose-completion-string-functions): Doc update.
2523 2002-06-01  Sam Steingold  <sds@gnu.org>
2525         * files.el (auto-mode-alist): Strip trailing ".in" from the file
2526         name when deciding the mode (for config.h.in, Makefile.in etc).
2528 2002-06-01  Thien-Thi Nguyen  <ttn@gnu.org>
2530         * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
2531         ?/ and ?* entries to support /* */ style comments.
2532         (prolog-font-lock-keywords): New var.
2533         (prolog-mode): Enable font-locking; set `font-lock-defaults'.
2535 2002-06-01  Kim F. Storm  <storm@cua.dk>
2537         * simple.el (choose-completion-string-functions): New special hook.
2538         (choose-completion-string1): Renamed from choose-completion-string.
2539         (choose-completion-string): Run choose-completion-string-functions
2540         until success, and only call choose-completion-string1 if it fails.
2542 2002-05-31  Stefan Monnier  <monnier@cs.yale.edu>
2544         * textmodes/ispell.el (autoloaded toplevel): Don't use
2545         ispell-library-directory without checking that it's bound.
2547 2002-05-31  Kim F. Storm  <storm@cua.dk>
2549         * emulation/cua-base.el (cua--last-deleted-region-pos)
2550         (cua--last-deleted-region-text): New aux variables.
2551         (cua-delete-region): Set them.
2552         (cua-repeat-replace-region): Use them to find the replacement text.
2554 2002-05-31  Juanma Barranquero  <lektu@terra.es>
2556         * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
2557         Fix typos.
2559 2002-05-31  Kim F. Storm  <storm@cua.dk>
2561         * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
2562         (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
2563         New custom variables.
2564         (grep-compute-defaults): Compute grep-tree-command's default value.
2565         (grep-expand-command-macros): New aux function.
2566         (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
2567         (grep-tree): New command like grep-find but extended prompting.
2569 2002-05-30  Richard M. Stallman  <rms@gnu.org>
2571         * files.el (find-file-default): Add defvar for var already used.
2573         * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
2575         * subr.el (open-network-stream, open-network-stream-nowait)
2576         (open-network-stream-server, process-kill-without-query):
2577         Moved from simple.el.
2579         * simple.el (open-network-stream, open-network-stream-nowait)
2580         (open-network-stream-server, process-kill-without-query):
2581         Moved to subr.el.
2583         * simple.el (byte-compiling-files-p): Function deleted.
2585         * textmodes/ispell.el (ispell-library-directory): Renamed from
2586         ispell-library-path.  If Ispell is not installed, init to nil.
2587         (check-ispell-version): Doc fix.
2588         (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
2589         initialize this unconditionally when ispell-menu-map-needed is t.
2590         Local `path' renamed to `dir'.
2592 2002-05-30  Miles Bader  <miles@gnu.org>
2594         * calc/calc.el (calc-show-banner): New variable.
2595         (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
2596         (calc-mode-var-list): Add `calc-show-banner'.
2597         * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
2598         (calc-toggle-banner): New function.
2599         * calc/calc-help.el (calc-d-prefix-help): Add `@'.
2601 2002-05-29  Richard M. Stallman  <rms@gnu.org>
2603         * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
2604         When recognizing a def... construct, make that indentation
2605         tentative, so that it can be overridden if the list in question
2606         is not actually an expression.
2607         (common-lisp-indent-call-method): New subroutine.
2609         * emacs-lisp/bytecomp.el (batch-byte-compile-file):
2610         Delete the output file if we get a file-error.
2612         * tooltip.el (tooltip-mouse-motions-active): New variable.
2613         (tooltip-activate-mouse-motions): Don't kill track-mouse local
2614         if it was not made by us.
2616         * mouse.el (mouse-set-font): Avoid misleading error message
2617         if user makes no selection.
2619         * info.el (Info-setup-header-line): Don't hide the links line.
2621         * files.el (find-file-noselect-1): Return the buffer we created
2622         even if it has been killed within `after-find-file'.
2624         * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
2626 2002-05-29  Kim F. Storm  <storm@cua.dk>
2628         * simple.el (open-network-stream-server): Pass on optional args
2629         sentinel and filter to make-network-process (from Luke Gorrie).
2631 2002-05-28  Colin Walters  <walters@gnu.org>
2633         * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
2635         * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
2636         (byte-compile-delete-first): New function.
2637         (byte-compile-read-position): New variable.
2638         (byte-compile-last-position): New variable.
2639         (byte-compile-current-buffer): New variable.
2640         (byte-compile-log-1): Use it.
2641         (byte-compile-set-symbol-position): New function.
2642         (byte-compile-obsolete, byte-compile-callargs-warn)
2643         (byte-compile-arglist-warn, byte-compile-arglist-warn)
2644         (byte-compile-print-syms, byte-compile-file-form-defmumble)
2645         (byte-compile-check-lambda-list, byte-compile-lambda)
2646         (byte-compile-form, byte-compile-variable-ref)
2647         (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
2648         (byte-compile-condition-case, byte-compile-defun)
2649         (byte-compile-defvar, byte-compile-autoload)
2650         (byte-compile-lambda-form): Use it.
2651         (byte-compile-from-buffer): Set it, and bind
2652         `read-with-symbol-positions' and `read-symbol-positions-list'.
2654         * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
2656 2002-05-28  Kim F. Storm  <storm@cua.dk>
2658         * files.el (read-directory-name): New function.
2659         (cd): Use it instead of read-file-name.
2661 2002-05-27  Kim F. Storm  <storm@cua.dk>
2663         * simple.el (push-mark-command): Added optional NOMSG arg.
2665         * emulation/cua-base.el (cua-set-mark): Align pop to mark
2666         behaviour with standard set-mark-command.
2667         (cua--pre-command-handler): Use push-mark-command.
2668         (cua-repeat-replace-region): Improve functionality when
2669         repeated after moving point or changing buffer.
2671 2002-05-26  Colin Walters  <walters@verbum.org>
2673         * startup.el (command-line): Use `when', `unless'.
2674         (command-line-1): New argument "--nosplash".  Handle it.
2676         * startup.el (inhibit-splash-screen): New variable alias for
2677         `inhibit-startup-message'.
2679         * replace.el (perform-replace): Document return value.  Use `pop'.
2681 2002-05-26  Glenn Morris  <gmorris@ast.cam.ac.uk>
2683         * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
2684         and slightly changed behaviour, for `f90-previous-block-start' and
2685         `f90-next-block-end'.
2686         (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
2688 2002-05-26  Simon Josefsson  <jas@extundo.com>
2690         * fringe.el (set-fringe-mode): Work when updating
2691         `default-frame-alist'.
2693 2002-05-26  Kim F. Storm  <storm@cua.dk>
2695         * emulation/cua-base.el (cua--repeat-replace-text): New variable.
2696         (cua-repeat-replace-region): New command.
2697         (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
2698         Misc improvements to the commantary.
2700 2002-05-26  Simon Josefsson  <jas@extundo.com>
2702         * fringe.el (fringe-query-style): New fringe style "minimal".
2704 2002-05-24  Simon Josefsson  <jas@extundo.com>
2706         * rot13.el (rot13-translate-table): New variable.
2707         (rot13, rot13-string, rot13-region): New functions.
2709 2002-05-25  Martin Stjernholm  <bug-cc-mode@gnu.org>
2711         * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
2712         of wrong anchoring, e.g. for else-if compounds.
2714 2002-05-25  Miles Bader  <miles@gnu.org>
2716         * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
2717         (menu-bar-showhide-fringe-menu-customize-right)
2718         (menu-bar-showhide-fringe-menu-customize-disable):
2719         Use proper calling convention for `customize-set-value'.
2720         Require `fringe' before setting variable.
2722 2002-05-25  Kim F. Storm  <storm@cua.dk>
2724         * emulation/cua-base.el (cua--self-insert-char-p): New function.
2726         * emulation/cua-gmrk.el (cua--init-global-mark):  Install default
2727         binding in cua--global-mark-keymap using cua--self-insert-char-p
2728         to handle all global self inserting characters in gmark mode.
2730         * emulation/cua-rect.el (cua--init-rectangles): Install default
2731         binding in cua--rectangle-keymap using cua--self-insert-char-p
2732         to handle all global self inserting characters in rectangle mode.
2734 2002-05-24  Stefan Monnier  <monnier@cs.yale.edu>
2736         * net/ange-ftp.el (read-file-name-internal): Remove the
2737         `ange-ftp' property.
2738         (ange-ftp-real-read-file-name-internal): Remove.
2740 2002-05-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
2742         * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
2743         `forward-line'.
2744         (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
2745         (f90-previous-block-start): New navigation commands.
2747 2002-05-20  Simon Josefsson  <jas@extundo.com>
2749         * fringe.el: New file.
2751         * menu-bar.el (menu-bar-options-save): Add fringe-mode.
2752         (menu-bar-showhide-fringe-menu): New menu.
2753         (menu-bar-showhide-menu): Add Fringe sub-menu.
2755 2002-05-23  Colin Walters  <walters@verbum.org>
2757         * replace.el (occur-engine): Include all text properties except
2758         mouse-face on the newline at the end of occurences.
2760 2002-05-23  Kim F. Storm  <storm@cua.dk>
2762         * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
2763         (apropos-false-hit-str, apropos-true-hit-doc): New functions.
2764         (apropos-command, apropos-value, apropos-documentation-internal)
2765         (apropos-documentation-check-doc-file)
2766         (apropos-documentation-check-elc-file): Use them to filter out
2767         false matches where only one keyword matches, but more than once.
2769         * apropos.el (apropos-show-scores, apropos-orig-regexp)
2770         (apropos-all-regexp, apropos-synonyms, apropos-words)
2771         (apropos-all-words): New variables.
2772         (aprpos-words-to-regexp, apropos-rewrite-regexp)
2773         (apropos-calc-scores, apropos-score-str, apropos-score-doc)
2774         (apropos-score-symbol): New functions.
2775         (apropos-command, apropos, apropos-value, apropos-documentation):
2776         Allow keywords in addition to regexp. Added scoring.
2777         (apropos-documentation-check-doc-file)
2778         (apropos-documentation-check-elc-file): Added scoring.
2779         (apropos-print): Sort according to score.
2781 2002-05-22  Colin Walters  <walters@cis.ohio-state.edu>
2783         * info.el (Info-mode-hook): Change `font-lock-mode' to
2784         `turn-on-font-lock'.
2786         * font-core.el (font-lock-function): New variable.
2787         (font-lock-default-function): New function, created from
2788         `font-lock-mode'.
2789         (font-lock-mode): Just funcall `font-lock-function'.
2790         (font-lock-symbol-category-alist): New variable.
2792 2002-05-22  Markus Rost  <rost@math.ohio-state.edu>
2794         * files.el (file-newest-backup): Use file-name-sans-versions.
2796         * diff.el (diff-latest-backup-file): Replace the main code by
2797         a call of file-newest-backup.
2799 2002-05-22  Mike Williams  <mdub@bigfoot.com>
2801         * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
2802         the buffer.
2804 2002-05-21  Stefan Monnier  <monnier@cs.yale.edu>
2806         * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
2807         the last patch works around the wu-ftpd misfeature that prompted
2808         the disabling of this optimization.
2810 2002-05-21  Colin Walters  <walters@gnu.org>
2812         * international/mule.el (make-coding-system): Doc fixes.
2814         * international/mule.el (auto-coding-functions): New variable.
2815         (auto-coding-from-file-contents): Use it.
2816         (set-auto-coding): Update docs.
2817         (sgml-xml-auto-coding-function): New function.
2819         * international/mule-util.el (truncate-string-to-width):
2820         New optional argument `ellipsis'.  Add commented-out test suite, and
2821         change coding to iso-2022-7bit.
2823 2002-05-21  Colin Walters  <walters@verbum.org>
2825         * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
2826         (font-lock-multiline, font-lock-fontified, font-lock-mode)
2827         (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
2828         (font-lock-global-modes): Moved to font-core.el.
2829         (font-lock-set-defaults-1): Partially moved to font-core.el.
2831         * font-core.el: New file, with functions taken from font-lock.el.
2832         (font-lock-category-alist): New variable.
2833         (font-lock-mode): Use it.
2834         (font-lock-set-defaults): Partially taken from font-lock.el.
2835         Only load font-lock.el when necessary.
2837         * loadup.el: Add font-core.el.
2839         * replace.el (occur-mode-hook): New variable.
2840         (occur-fontify-region-function): Deleted.
2841         (occur-mode): Don't use it.  Set up `font-lock-category-alist'
2842         instead.
2843         (occur-fontify-on-property): Deleted.
2844         (occur-engine): Use categories from `font-lock-category-alist'.
2846         * info.el (Info-fontify): Deleted.
2847         (Info-select-node): Don't use it.
2848         (Info-mode-hook): New variable.
2849         (Info-mode): Set up categories.
2850         (Info-fontify-menu-headers, Info-fontify-node): Use categories.
2852         * ibuffer.el (ibuffer-formats): Update docs.
2853         (ibuffer-category-alist): New variable.
2854         (ibuffer-get-category): New function.
2855         (ibuffer-compile-make-eliding-form): Use category property instead
2856         of face.
2857         (ibuffer-compile-format): Pass current ibuffer buffer to column
2858         functions too.
2859         (ibuffer-buffer-name-category): New function.
2860         (ibuffer-compile-format): If the current column is a `name'
2861         column, figure out the appropriate category to put on it.
2862         (filename-and-process): Use category property.
2863         (ibuffer-fontify-region-function): Deleted.
2864         (ibuffer-unfontify-region-function): Deleted.
2865         (ibuffer-update-title-and-summary): Use category properties.
2866         (ibuffer-insert-filter-group): Ditto.
2867         (ibuffer-mode): Set up category properties.
2869 2002-05-21  Colin Walters  <walters@debian.org>
2871         * replace.el (occur-engine): Increment globalcount all at once
2872         after searching a buffer.
2873         (occur-mode-map): Don't escape plain "o".
2875         * ibuf-macs.el (define-ibuffer-column): Add third argument
2876         `ibuffer-buf'.
2878         * ibuffer.el (toplevel): Require font-lock, to get the face
2879         definitions.
2880         (ibuffer-use-fontification): Deleted.
2881         (column filename-and-process): New column.
2882         (ibuffer-formats): Use it by default.
2883         (ibuffer-name-map, ibuffer-mode-name-map)
2884         (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
2885         (ibuffer-do-save, ibuffer-do-toggle-modified)
2886         (ibuffer-do-toggle-read-only, ibuffer-do-delete)
2887         (ibuffer-do-kill-on-deletion-marks): Include name in definition.
2888         (ibuffer): New optional argument `formats'.
2890 2002-05-21  Eli Zaretskii  <eliz@is.elta.co.il>
2892         * indent.el (indent-rigidly): Mention how to remove all indentation.
2894 2002-05-21  Colin Walters  <walters@gnu.org>
2896         * international/mule-diag.el (describe-char-after): Order display
2897         of text properties by the size of their value, for clarity.
2899 2002-05-20  Stefan Monnier  <monnier@cs.yale.edu>
2901         * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
2902         (ange-ftp-file-name-completion): Don't cons unnecessarily.
2903         (ange-ftp-send-cmd): Always `cd' before doing `ls'.
2905         * wid-edit.el (widget-color-complete):
2906         * progmodes/etags.el (tags-complete-tags-table-file):
2907         * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
2909         * textmodes/outline.el (outline-reveal-toggle-invisible):
2910         Reverse the meaning of the second arg.
2912         * reveal.el (reveal-post-command): Reverse the semantics of
2913         reveal-toggle-invisible and support isearch-open-invisible-temporary.
2915 2002-05-20  Markus Rost  <rost@math.ohio-state.edu>
2917         * mail/sendmail.el (mail-recover-1): Remove (debug).
2918         (mail-signature): Fix :type.
2919         (mail-default-directory): New user option.
2920         (mail, mail-recover):  Use that option.
2922 2002-05-20  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2924         * international/mule.el (auto-coding-alist): Use emacs-mule
2925         for auto-save files.
2927 2002-05-20  Miles Bader  <miles@gnu.org>
2929         * files.el (find-file-read-args): Don't trash existing value of
2930         `minibuffer-setup-hook', just add our hook to it.
2932 2002-05-19  Markus Rost  <rost@math.ohio-state.edu>
2934         * international/ucs-tables.el (unify-8859-on-encoding-mode)
2935         (unify-8859-on-decoding-mode): Change :version attributes to strings.
2937         * simple.el (yank-excluded-properties): Change :version attribute
2938         to a string.
2940         * dired.el (dired-view-command-alist): Change :version attribute
2941         to a string.
2943         * xscheme.el (xscheme-start-hook): Change :version attribute to a
2944         string.
2946         * find-dired.el (find-dired): Implement revert-buffer-function.
2948         * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
2950 2002-05-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
2952         * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
2953         (f90-get-present-comment-type): Fix earlier change.
2954         (f90-comment-indent): Doc fix.
2955         (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
2956         (f90-looking-at-if-then): Remove lets.
2957         (f90-looking-at-where-or-forall): Handle if split over lines.
2958         (f90-change-keywords): Doc fix.
2960 2002-05-19  Richard M. Stallman  <rms@gnu.org>
2962         * indent.el (indent-region): Make COLUMN arg optional.
2964         * files.el (find-file-read-args): New function.
2965         (find-file, find-file-other-window, find-file-other-frame)
2966         (find-file-read-only, find-file-read-only-other-window)
2967         (find-file-read-only-other-frame): Use it.
2969         * custom.el (custom-load-symbol): Verify that LOADED is a string.
2971         * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
2972         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2973         (archive-zip-update-case): Use locate-file to decide whether
2974         to use pkzip.
2975         (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
2977         * files.el (locate-file): Doc fix.
2979 2002-05-19  John Paul Wallington  <jpw@shootybangbang.com>
2981         * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
2982         as an option.
2984 2002-05-18  Stefan Monnier  <monnier@cs.yale.edu>
2986         * uniquify.el (uniquify-rationalize-file-buffer-names):
2987         Always strip the trailing / even if the file is not a directory.
2989 2002-05-18  Glenn Morris  <gmorris@ast.cam.ac.uk>
2991         * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
2992         initialization in the defvar.
2993         (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
2994         (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
2995         (f90-font-lock-4): Move the doc strings.
2996         (f90-menu-bar-menu): New internal variable to hold the top-level menu.
2997         (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
2998         (f90-mode-abbrev-table): Initialize in the defvar, with
2999         define-abbrev-table.
3001 2002-05-18  Eli Zaretskii  <eliz@is.elta.co.il>
3003         * tar-mode.el (tar-octal-time): Fix last change.
3005 2002-05-18  Markus Rost  <rost@math.ohio-state.edu>
3007         * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
3008         (report-emacs-bug): Store the prompt in
3009         `report-emacs-bug-text-prompt'.  Move Configuration/Important
3010         settings information after the user's report.
3011         (report-emacs-bug-hook): Unclutter by deleting the content of
3012         `report-emacs-bug-text-prompt'.
3014 2002-05-17  Thomas Morgan <tlm@pocketmail.com>
3016         * forms.el (forms-jump-record, forms-insert-record)
3017         (forms-delete-record): Calculate lines from the beginning of the
3018         accessible portion rather than from the beginning of the buffer.
3020 2002-05-16  Eli Zaretskii  <eliz@is.elta.co.il>
3022         * ps-mule.el (eval-and-compile): Add a trivial replacement for a
3023         possibly missing encode-char.
3024         (ps-mule-font-info-database-bdf): Add associations for Unicode
3025         fonts.  Doc fix.
3026         (ps-mule-font-info-database-ps-bdf): Doc fix.
3027         (ps-mule-encode-ucs2): New function for encoding Unicode characters.
3029         * tar-mode.el (tar-octal-time): Fix the last argument of logior.
3031 2002-05-16  Stefan Monnier  <monnier@cs.yale.edu>
3033         * emacs-lisp/find-func.el (find-function-search-for-symbol):
3034         Find funs defined with defun-cvs-mode.
3035         (find-function-space-re): New const.  Skips comments as well.
3036         (find-function-regexp, find-variable-regexp): Use it.
3038         * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
3039         (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
3040         (cvs-mode-set-flags): Don't cons unnecessarily.
3042 2002-05-16  Colin Walters  <walters@debian.org>
3044         * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
3045         "Simple Calculator".
3046         (menu-bar-tools-menu) <calc>: New.
3048 2002-05-16  Juanma Barranquero  <lektu@terra.es>
3050         * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
3052         * filesets.el (filesets-ormap): Fix typo.
3054         * faces.el (describe-face): Fix typo.
3056 2002-05-15  Stefan Monnier  <monnier@cs.yale.edu>
3058         * emacs-lisp/easymenu.el (easy-menu-make-symbol):
3059         Don't treat (lambda () ...) as an expression.
3061 2002-05-15  John Paul Wallington  <jpw@shootybangbang.com>
3063         * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
3065 2002-05-15  Eli Zaretskii  <eliz@is.elta.co.il>
3067         * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
3069 2002-05-14  Glenn Morris  <gmorris@ast.cam.ac.uk>
3071         * progmodes/fortran.el (fortran-directive-re): New name for
3072         fortran-preprocessor-re.  All usage updated.
3073         (fortran-calculate-indent): Give directives zero indentation.
3075 2002-05-14  Jason Rumney  <jasonr@gnu.org>
3077         * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
3078         displayed text and internal name as string.
3080 2002-05-14  Kim F. Storm  <storm@cua.dk>
3082         * emulation/cua-rect.el (cua--rectangle-operation):
3083         Don't highlight empty lines in rectangles.
3085         * emulation/keypad.el: Improved commentary.
3086         (keypad-setup, keypad-shifted-setup): Added choice to setup
3087         Numeric keypad with decimal key; value is selected character.
3088         (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
3089         (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
3090         (keypad-setup):  Arg list changed to support the new options.
3092 2002-05-14  Richard M. Stallman  <rms@gnu.org>
3094         * dabbrev.el (dabbrev-case-distinction): New option.
3095         (dabbrev--try-find): Handle dabbrev-case-distinction.
3096         (dabbrev--search): Clean up the code.
3097         (dabbrev-upcase-means-case-search): Doc fix.
3098         (dabbrev-case-replace): Fix custom tags and docs.
3100 2002-05-14  Jochen K\e,A|\e(Bpper  <jochen@jochen-kuepper.de>
3102         * calc/calc-units.el (math-standard-units): Update from CODATA.
3104 2002-05-14  Stefan Monnier  <monnier@cs.yale.edu>
3106         * skeleton.el (skeleton-transformation): Default to `identity'.
3107         (skeleton-insert): Use `move-after' markers and `insert' rather
3108         than rely on insert-before-markers.
3109         (skeleton-internal-1): Handle `> \n' specially so that the newline
3110         is inserted before the first line is indented.
3112 2002-05-14  Mike Williams  <mdub@bigfoot.com>
3114         * textmodes/sgml-mode.el (sgml-tag):
3115         Default skeleton-transformation to `identity'.
3117 2002-05-14  Francesco Potorti`  <pot@gnu.org>
3119         * shell.el (shell-mode): Make second part of initialisation
3120         depend on whether comint-input-ring is empty, rather than depend
3121         on it being nil.
3123 2002-05-14  Richard M. Stallman  <rms@gnu.org>
3125         * files.el (make-auto-save-file-name):
3126         Delete the auto-save file after make-temp-file creates it.
3128 2002-05-13  Kim F. Storm  <storm@cua.dk>
3130         * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
3131         (cua-mode): Print Enabled/Disabled messages if interactive.
3132         Disable delete-selection-mode and pc-selection-mode when cua-mode
3133         is enabled; reenable if cua-mode is turned off.
3134         Remember setting of transient-mark-mode when cua-mode is enabled;
3135         restore if cua-mode is disabled.
3137 2002-05-13  Richard M. Stallman  <rms@gnu.org>
3139         * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
3141 2002-05-13  Colin Walters  <walters@gnu.org>
3143         * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
3145         * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
3146         (ibuffer-redisplay-engine): Handle it.
3148         * add-log.el (add-log-mailing-address): Can be a list, too.
3149         (add-change-log-entry): If `add-log-mailing-address' is a list,
3150         then handle it.
3152 2002-05-12  Colin Walters  <walters@debian.org>
3154         * replace.el (occur-1): New optional argument `buf-name'.
3155         (occur-revert-function): Use it.
3157         (occur-1): Handle plurals.
3159         (occur-engine): If there are no more matches, then finish
3160         searching the current buffer.
3162 2002-05-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
3164         * net/ange-ftp.el (ange-ftp-try-passive-mode)
3165         (ange-ftp-passive-host-alist): Change :version attributes to be
3166         strings.
3168 2002-05-12  Markus Rost  <rost@math.ohio-state.edu>
3170         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
3171         define-minor-mode.
3173         * emacs-lisp/find-func.el (find-function-search-for-symbol):
3174         Handle more whitespace/newline combinations in symbol definitions.
3176 2002-05-12  Eli Zaretskii  <eliz@is.elta.co.il>
3178         * w32-vars.el (w32)
3179         * vc-cvs.el (vc-cvs-global-switches)
3180         (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
3181         * textmodes/sgml-mode.el (sgml-xml-mode)
3182         * ruler-mode.el (ruler-mode)
3183         * replace.el (query-replace-skip-read-only)
3184         * progmodes/fortran.el (fortran-preprocessor-re)
3185         * net/ange-ftp.el (ange-ftp-passive-host-alist)
3186         * mail/sendmail.el (mail-use-dsn)
3187         * faces.el (mode-line-inactive, minibuffer-prompt)
3188         * add-log.el (add-log-always-start-new-record): Change all
3189         post-21.1 :version attributes to 21.4.
3191 2002-05-12  Richard M. Stallman  <rms@gnu.org>
3193         * mail/smtpmail.el (smtpmail-mail-address): New variable.
3194         (smtpmail-send-it): Bind and use that instead of `mail-address'.
3195         (smtpmail-via-smtp): Likewise.
3197         * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
3198         (ansi-color-apply-sequence): Avoid duplicates in combined face list.
3200         * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
3202         * subr.el (functionp): Catch errors in indirect-function.
3204 2002-05-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
3206         * net/ldap.el (ldap-search-internal): Unfold folded lines before
3207         parsing.
3209         * cus-edit.el (customize-set-value): Rename `var' to `variable'
3210         and `val' to `value'.
3211         (customize-save-variable): Rename `var' to `'variable.
3213 2002-05-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
3215         * progmodes/fortran.el (fortran-preprocessor-re): New variable.
3216         Use it for font-locking and indentation.
3217         (fortran-previous-statement, fortran-next-statement): Make them
3218         skip over preprocessor lines.
3219         (fortran-calculate-indent): Use fortran-preprocessor-re.
3221 2002-05-10  Kim F. Storm  <storm@cua.dk>
3223         * emulation/cua-base.el (cua-enable-cua-keys)
3224         (cua-enable-register-prefix): Added value for `other' choice.
3226 2002-05-10  Eli Zaretskii  <eliz@is.elta.co.il>
3228         * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
3229         (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
3230         (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
3231         Run a named function.
3232         (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
3233         (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
3234         Fix help text.
3236 2002-05-10  Kim F. Storm  <storm@cua.dk>
3238         * emulation/cua-base.el (cua-mode): Misc. changes to use
3239         emulation-mode-map-alists instead of minor-mode-map-alist.
3241 2002-05-09  Richard M. Stallman  <rms@gnu.org>
3243         * mail/rmail.el (rmail-show-message):
3244         Catch error in check-coding-system.
3246         * progmodes/compile.el (compilation-error-regexp-alist):
3247         New element to recognize Python error messages.
3249         * shell.el (shell-replace-by-expanded-directory):
3250         If there's already a / at the end, don't add one.
3252 2002-05-09  Colin Walters  <walters@verbum.org>
3254         * ibuffer.el (ibuffer-mode-map): Add :enable guards for
3255         `ibuffer-filter-disable', `ibuffer-pop-filter',
3256         `ibuffer-or-filter', `ibuffer-negate-filter',
3257         `ibuffer-decompose-filter', `ibuffer-save-filters',
3258         `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
3259         `ibuffer-save-filter-groups',
3260         `ibuffer-switch-to-saved-filter-groups',
3261         `ibuffer-delete-saved-filter-groups'.
3263         * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
3265 2002-05-09  Markus Rost  <rost@math.ohio-state.edu>
3267         * woman.el (woman-menu):  Move symbol before the comment so that
3268         find-function-search-for-symbol finds it.
3270 2002-05-10  Miles Bader  <miles@gnu.org>
3272         * facemenu.el (list-colors-display): Don't use
3273         `display-color-cells' unless the display class is one for which
3274         that info is relevant.
3276 2002-05-09  Simon Josefsson  <jas@extundo.com>
3278         * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
3279         calling buffer.
3280         (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
3281         have the patch).
3283 2002-05-09  Kim F. Storm  <storm@cua.dk>
3285         * wid-edit.el (checkbox): New check-mark image.
3287 2002-05-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
3289         * filesets.el (filesets-running-xemacs): Fix last change.
3291 2002-05-08  Markus Rost  <rost@math.ohio-state.edu>
3293         * help-fns.el (describe-function-1): If the source is
3294         `loaddefs.el', look for the real source.  This is necessary only
3295         for defaliases.
3297         * emacs-lisp/find-func.el (find-function-search-for-symbol):
3298         Add autoload cookie.
3299         (find-function-regexp):  Include
3300         "\(quote " to match the defaliases in loaddefs.el.
3302         * filesets.el (filesets-conditional-sort): Use copy-sequence,
3303         not copy-list.
3304         (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
3305         Defvar them to nil if running in Emacs.
3307 2002-05-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
3309         * textmodes/flyspell.el (make-flyspell-overlay): Add help text
3310         to flyspell overlays.
3312         * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
3314 2002-05-08  Richard M. Stallman  <rms@gnu.org>
3316         * diff.el (diff-regexp-alist): Doc fix.
3318         * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
3320 2002-05-08  Simon Marshall  <simon@gnu.org>
3322         * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
3323         the frame name as the car of a menu entry, rather than the frame.
3325 2002-05-08  Juanma Barranquero  <lektu@terra.es>
3327         * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
3328         in docstring.
3330 2002-05-07  Colin Walters  <walters@verbum.org>
3332         * replace.el (occur-unfontify-region-function): Delete.
3333         (occur-mode): Don't use it.
3334         (occur-engine): Respect `keep-props'.
3335         (occur-accumulate-lines): If we're moving forward, decrement;
3336         don't increment, and vice versa.
3338 2002-05-08  Toru Tomabechi  <Toru.Tomabechi@orient.unil.ch>
3340         * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
3341         (tibetan-canonicalize-for-unicode-regexp): New variables.
3342         (tibetan-canonicalize-for-unicode-region): New function.
3343         (tibetan-strict-unicode): New variable.
3344         (tibetan-pre-write-canonicalize-for-unicode): New function.
3346 2002-05-07  Markus Rost  <rost@math.ohio-state.edu>
3348         * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
3349         the autoload-cookie.  Remove comment.
3351         * ffap.el (ffap): Don't hide it behind the autoload-cookie.
3353         * rect.el (close-rectangle): Don't hide it behind the
3354         autoload-cookie.
3356 2002-05-07  Juanma Barranquero  <lektu@terra.es>
3358         * windmove.el (windmove-default-keybindings): Add optional
3359         parameter to allow using a modifier other than 'shift.
3361 2002-05-07 Thomas Link <t.link@gmx.at>
3363         * filesets.el:
3364         (filesets-external-viewers): Fix customization problem.
3365         (filesets-some): Replaces cl's `some'.  Calls changed.
3366         (filesets-member): Replaces cl's `member*'.  Calls changed.
3367         (filesets-ormap): New function.
3369 2002-05-07  John Paul Wallington  <jpw@shootybangbang.com>
3371         * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
3372         menu items.
3374 2002-05-07  Colin Walters  <walters@gnu.org>
3376         * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
3377         (ibuffer-clear-filter-groups): Likewise.
3378         (ibuffer-kill-filter-group): Likewise.
3379         (ibuffer-kill-line): Likewise.
3380         (ibuffer-read-filter-group-name): New function.
3381         (ibuffer-jump-to-filter-group): Use it.
3382         (ibuffer-kill-filter-group): Likewise.
3383         (ibuffer-yank-filter-group): Likewise.
3384         (ibuffer-decompose-filter-group): New function.
3386         * ibuffer.el (ibuffer-mode-map): Bind it.  Add :enable guard
3387         around `ibuffer-filters-to-filter-group' menu item.  Fix :enable
3388         guards for `ibuffer-pop-filter-group' and
3389         `ibuffer-clear-filter-groups'.
3391 2002-05-06  Markus Rost  <rost@math.ohio-state.edu>
3393         * emacs-lisp/find-func.el (find-function-search-for-symbol):
3394         Use with-syntax-table.
3396 2002-05-06  Francesco Potorti`  <pot@gnu.org>
3398         * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
3400 2002-05-05  Markus Rost  <rost@math.ohio-state.edu>
3402         * time-stamp.el (time-stamp-format): Doc fix: escape open
3403         parenthesis in column 0.
3405 2002-05-04  Richard M. Stallman  <rms@gnu.org>
3407         * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
3408         Handle both cases: when the menu item has cached info
3409         and when it doesn't.
3411         * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
3412         (filesets-open-file-function, filesets-save-buffer-function): Likewise.
3413         (filesets-tree-max-level): Doc fix.
3414         (filesets-commands, filesets-external-viewers)
3415         (filesets-ingroup-patterns): Mark as risky.
3416         (filesets-cache-hostname-flag): Doc fix.
3417         (filesets-menu-cache-file): Doc fix.  Mark as risky.
3418         (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
3419         Don't defcustom them if running in Emacs.
3421 2002-05-04  Thomas Link <t.link@gmx.at>
3423         * filesets.el (filesets-ingroup-collect-files):
3424         Fix problem with inclusion groups' :scan-depth property.
3426 2002-05-04  Colin Walters  <walters@verbum.org>
3428         * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
3429         "Default" group earlier.  Push killed group on
3430         `ibuffer-filter-group-kill-ring'.
3431         (ibuffer-kill-line): Document.  Don't push killed group ourselves.
3432         (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
3433         (ibuffer-insert-filter-group-before): New function, broken out
3434         from `ibuffer-yank'.
3435         (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
3437         * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
3438         (ibuffer-mode-view-menu): Unused variables; deleted.
3439         (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
3441 2002-05-04  John Paul Wallington  <jpw@shootybangbang.com>
3443         * ibuffer.el (ibuffer-mode-groups-popup): New variable.
3444         (toplevel): Bind filter group menu entries in it.  Add :enable
3445         forms for some menu items.
3446         (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
3447         to `ibuffer-mouse-popup-menu'.
3448         (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
3449         group name, and if so, pop up a filter group menu.
3451 2002-05-04  Jason Rumney  <jasonr@gnu.org>
3453         * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
3454         (mwheel-scroll): Recognize nil scroll amount as documented.
3456         * term/w32-win.el (mouse-wheel-scroll-line)
3457         (mouse-wheel-scroll-screen): Remove.
3458         ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
3460         * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
3462 2002-05-04  Markus Rost  <rost@math.ohio-state.edu>
3464         * emacs-lisp/find-func.el (find-function-search-for-symbol):
3465         Bind case-fold-search when searching.
3467 2002-05-04  Eli Zaretskii  <eliz@is.elta.co.il>
3469         * apropos.el (apropos-print): Fix the reference to mouse-2.
3471 2002-05-04  Daniel Pfeiffer  <occitan@esperanto.org>
3473         * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
3475 2002-05-04  Kim F. Storm  <storm@cua.dk>
3477         * cus-edit.el (custom-buffer-verbose-help): New variable.
3478         (custom-buffer-create-internal): Remove verbose introduction
3479         in customization buffer when it is nil.
3481 2002-05-03  Dave Love  <fx@gnu.org>
3483         * international/mule-cmds.el (select-safe-coding-system):
3484         Don't offer coding systems that use locking shift.
3485         Ask for confirmation if chosen coding system disagrees with
3486         a `coding:' spec in the file.
3488 2002-05-03  John Wiegley  <johnw@gnu.org>
3490         * eshell/esh-var.el (eshell-modify-global-environment): Added this
3491         customization variable, which will cause any "export" commands
3492         within any eshell buffer to modify the global Emacs environment.
3493         It defaults to nil, which means that such commands will only
3494         modify that Eshell buffer's environment.
3495         (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
3497         * eshell/em-cmpl.el (eshell-command-completions-alist):
3498         Improve default completion targets for objdump, nm and readelf.
3500 2002-05-03  Colin Walters  <walters@verbum.org>
3502         * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
3503         (gamegrid-add-score-with-update-game-score):
3504         Use `shared-game-score-directory'.  Correctly handle non-setuid case.
3506 2002-05-02  Colin Walters  <walters@verbum.org>
3508         * replace.el (occur-mode-map): Bind "q" to `delete-window'.
3509         (occur-1): If one of the buffers we're searching is the *Occur*
3510         buffer itself, handle it by creating a temporary buffer.  If any
3511         of the buffers being searched are killed, note that in the search
3512         result message.  Also, set local variables before we possibly kill
3513         the buffer.
3515 2002-05-02  Kim F. Storm  <storm@cua.dk>
3517         * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
3518         (menu-bar-options-save): Added cua-mode.
3519         (menu-bar-options-menu): Added toggle for cua-mode.
3520         Disable toggle for transient-mark-mode if cua-mode is enabled.
3522         * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
3523         variable.
3525 2002-05-01  Richard M. Stallman  <rms@gnu.org>
3527         * help.el (view-todo): New function.
3528         (help-map): Bind C-h C-t to view-todo.
3529         (help-for-help): Change the text.
3531 2002-05-01  Glenn Morris  <gmorris@ast.cam.ac.uk>
3533         * progmodes/f90.el: Yet more doc string, commment and whitespace
3534         changes.
3535         (f90-imenu-flag): New name for internal variable f90-imenu.
3536         (f90-blocks-re, f90-program-block-re, f90-end-if-re)
3537         (f90-no-break-re): Use regexp-opt.
3538         (f90-end-type-re): Add closing "\\>".
3539         (f90-indent-region): Correctly indent comments embedded in
3540         continued lines.
3541         (f90-indent-new-line): Make it indent the current line, as it should.
3542         (f90-line-continued, f90-get-present-comment-type)
3543         (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
3544         (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
3545         (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
3546         (f90-change-keywords): Minor code tidying.
3548         * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
3549         typo `fortran-strip-sqeuence-nos'.
3551 2002-05-01  Eli Zaretskii  <eliz@is.elta.co.il>
3553         * simple.el (clone-indirect-buffer-other-window): Fix a typo in
3554         pop-up-window.
3556 2002-05-01  Kim F. Storm  <storm@cua.dk>
3558         * emulation/cua-base.el (cua--pre-command-handler):
3559         Only interpret delete-selection property if mark-active.
3560         (cua-mode): Fixed require in defcustom.
3562 2002-05-01  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
3564         * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
3565         error call.
3567 2002-05-01  Colin Walters  <walters@verbum.org>
3569         * textmodes/tex-mode.el (tex-validate-buffer):
3570         Use `occur-revert-arguments' instead of setting `occur-nlines' and
3571         `occur-buffer'.  Don't test for `input-pending-p' in loop.
3572         Set text property `occur-target' instead of `occur'.
3574 2002-04-30  John Wiegley  <johnw@gnu.org>
3576         * align.el (align-region): Fixed the fix to align-region, because
3577         the "name" argument was appearing twice.
3579 2002-05-01  Martin Stjernholm  <bug-cc-mode@gnu.org>
3581         * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
3582         to handle protection labels, one which doesn't get confused by
3583         inherit colons.
3585         * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
3586         functions that have "class" or "struct" in the return type as
3587         classes or structs.
3589 2002-04-30  Kim F. Storm  <storm@cua.dk>
3591         * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
3592         Options" to "New Options..."; rephrase tooltip.
3593         Rephrase tooltip for "Specific Option...".
3594         Added "Saved Options" item.  [from Simon Marshall]
3596 2002-04-30  Richard M. Stallman  <rms@gnu.org>
3598         * time.el (display-time-mail-directory)
3599         (display-time-mail-function): Doc fixes.
3601         * ediff-hook.el: Remove autoload cookies.
3603         * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
3605         * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
3607         * align.el (align-region): Fix call to `message'.
3608         Check that (car rule) is a symbol.
3610         * autoinsert.el (auto-insert-directory): Doc fix.
3612         * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
3614         * descr-text.el: New file, broken out of facemenu.el.
3616         * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
3618 2002-04-29  Markus Rost  <rost@math.ohio-state.edu>
3620         * mail/emacsbug.el (report-emacs-bug-hook):
3621         Use replace-match only if search was successful.
3623 2002-04-29  Richard M. Stallman  <rms@gnu.org>
3625         * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
3627         * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
3628         if the user edits the Emacs version number in the text.
3630         * filesets.el (filesets-running-xemacs): Make defvar unconditional.
3631         (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
3632         (filesets-error): Simplify definition and make conditional
3633         on filesets-running-xemacs.
3634         (filesets-find-file-using): Renamed from fsfind-file-using.
3636 2002-04-29  Stefan Monnier  <monnier@cs.yale.edu>
3638         * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
3639         (Info-read-node-name-1): Complete file names.
3640         (Info-complete-menu-item): Don't cons unnecessarily.
3642         * files.el (locate-file): New fun.
3643         (locate-file-completion): Rename from load-completion and generalize.
3644         (load-library): Use it.
3645         (make-auto-save-file-name): Expand caddr.
3647         * newcomment.el (comment-fill-column): New var.
3648         (comment-indent): Use it.
3649         (comment-or-uncomment-region): New fun.
3650         (comment-dwim): Use it.
3652 2002-04-29  Colin Walters  <walters@verbum.org>
3654         * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
3655         (ibuffer-kill-line): Copy the filter group data structure when killing.
3656         (ibuffer-yank): Handle case where we're yanking on the default
3657         group correctly.
3658         (ibuffer-delete-saved-filter-groups): Doc fix.
3660         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3661         Test whether or not update-game-score is setuid, and do the right
3662         thing.
3664 2002-04-29  Kim F. Storm  <storm@cua.dk>
3666         * subr.el (remove-yank-excluded-properties): New helper function.
3667         (insert-for-yank, insert-buffer-substring-as-yank): Use it.
3669         * simple.el (yank-excluded-properties): Added help-echo to list.
3671 2002-04-29  Glenn Morris  <gmorris@ast.cam.ac.uk>
3673         * autoinsert.el (auto-insert-directory): Doc fix.
3675         * progmodes/f90.el: Add/change doc strings for many inline
3676         functions.  Whitespace changes.
3677         (f90-indent-line-no, f90-update-line): Minor code changes.
3679 2002-04-29  Kim F. Storm  <storm@cua.dk>
3681         * emulation/cua-base.el: New file.
3683         * emulation/cua-rect.el: New file.
3685         * emulation/cua-gmrk.el: New file.
3687         * emulation/keypad.el: New file.
3689 2002-04-29  Triet Hoai Lai  <thlai@ee.usyd.edu.au>
3691         * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
3692         (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
3693         New Vietnamese coding system.
3695         * language/viet-util.el: Update Commentary section.
3697 2002-04-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
3699         * filesets.el (filesets-data): Doc fix.
3700         (filesets-running-xemacs): Define even when compiling.
3702         * recentf.el (recentf-cancel-dialog): Remove dot at the end of
3703         sentence.
3705 2002-04-29  Stefan Monnier  <monnier@cs.yale.edu>
3707         * textmodes/fill.el (fill-context-prefix): Fix last change with
3708         yet-another-approach.
3710 2002-04-28  Markus Rost  <rost@math.ohio-state.edu>
3712         * net/ange-ftp.el (ange-ftp-passive-host-alist)
3713         (ange-ftp-bs2000-additional-pubsets):  Fix custom type.
3715         * files.el (small-temporary-file-directory): Fix custom type.
3717 2002-04-28  Glenn Morris  <gmorris@ast.cam.ac.uk>
3719         * progmodes/f90.el (f90-xemacs-flag): New variable.
3720         (f90-mark-subprogram-overlay): New variable.
3721         (f90-mark-subprogram): Now it highlights the subprogram.
3722         (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
3723         Fix highlighting of various "type" forms.
3725 2002-04-28  Colin Walters  <walters@verbum.org>
3727         * ibuffer.el (ibuffer-mode): Additional documentation on filter
3728         groups.
3730 2002-04-28  John Paul Wallington  <jpw@shootybangbang.com>
3732         * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
3733         ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
3735 2002-04-28  Richard M. Stallman  <rms@gnu.org>
3737         * mail/sendmail.el (mail-recover-1): Decrease non-random-len
3738         by 1 for the newly-readded #.
3740         * files.el (make-auto-save-file-name): Specify # as suffix
3741         in the non-file-visiting case.
3743         * subr.el (make-temp-file): New arg SUFFIX.
3745         * filesets.el: New file.
3747         * replace.el (occur-accumulate-lines): Avoid incf and decf.
3748         (occur-engine-add-prefix): New function.
3749         (occur-engine): Avoid using macrolet, incf and decf.
3750         Use occur-engine-add-prefix instead.
3751         Rename `l' to `lines' and `c' to `matches'.
3753         * replace.el (occur-engine, occur-mode-mouse-goto)
3754         (occur-mode-find-occurrence, occur-mode-goto-occurrence)
3755         (occur-mode-goto-occurrence-other-window)
3756         (occur-mode-display-occurrence): A position is just a marker,
3757         not a list.
3759         * replace.el (occur-revert-arguments):
3760         Renamed from occur-revert-properties.  All uses changed.
3762 2002-04-28  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
3764         * recentf.el (recentf-menu-before): Use string to specify path in
3765         the menu.
3767         * international/mule-cmds.el (read-language-name): Take care of
3768         non-list values.
3770 2002-04-27  Richard M. Stallman  <rms@gnu.org>
3772         * custom.el (custom-load-symbol): Moved from cus-edit.el.
3773         (custom-load-recursion): Likewise.
3775         * cus-edit.el (custom-load-symbol): Moved to custom.el.
3776         (custom-load-recursion): Likewise.
3778         * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
3779         generated by easymenu are now lowercase.
3781 2002-04-27  Richard M. Stallman  <rms@gnu.org>
3783         * menu-bar.el (menu-bar-update-buffers): Add menu items
3784         Next Buffer and Previous Buffer.
3786         * simple.el (next-buffer, prev-buffer): New commands.
3787         Bind C-x left and C-x right to them.
3789         * info.el (Info-header-line): Mark it as risky-local-variable.
3791         * subr.el (insert-for-yank): Replace `category' property
3792         with whatever properties it stands for.
3794         * subr.el (member-ignore-case): Ignore non-strings in LIST.
3796 2002-04-27  Miles Bader  <miles@gnu.org>
3798         * faces.el (read-face-name): Format the prompt correctly when
3799         there's no default.
3801 2002-04-26  Andrew Choi  <akochoi@shaw.ca>
3803         * term/mac-win.el: Don't call ediff-toggle-multiframe.
3804         Set default directory.  Set process-connection-type to nil.
3806 2002-04-26  Richard M. Stallman  <rms@gnu.org>
3808         * loadup.el: Explicitly load cus-face and timer.
3810         * isearch.el: Don't require timer.
3812         * faces.el: Don't require cus-face.
3814         * cus-edit.el (customize-face): Use read-face-name
3815         and handle multiple faces.
3816         (customize-face-other-window): Make it work similarly.
3818         * faces.el (read-face-name): New defaulting features.
3819         New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
3820         (list-faces-display): Use the face, not its name string,
3821         as arg when running customize-face.
3822         Put a `read-face-name' prop on the entire line.
3823         (describe-face): Handle multiple faces via read-face-name.
3825         * textmodes/tex-mode.el (tex-start-options): New variable.
3826         (tex-start-commands): New variable.
3827         (tex-start-options-string): Variable deleted.
3828         (tex-start-tex): Use tex-start-options and tex-start-commands,
3829         not tex-start-options-string.
3830         (tex-command): Doc fix.
3832 2002-04-26  Sam Steingold  <sds@gnu.org>
3834         * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
3835         not in the authinfo/netrc, keep `cred' at nil.
3837 2002-04-26  Gerd Moellmann  <gerd@gnu.org>
3839         * find-file.el: Remove Ada-specific example code.
3841 2002-04-25  Michael Kifer  <kifer@cs.stonybrook.edu>
3843         * ediff-hooks.el: Put back the autoloads.
3845 2002-04-25  Colin Walters  <walters@verbum.org>
3847         * ibuffer.el (define column process): Use `ibuffer-aif'.
3849         * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
3850         defaults.
3851         (ibuffer-yank): Be sure to `setq' after we use `nconc'.
3852         (ibuffer-save-filter-groups): Correctly structure filter groups.
3853         (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
3854         groups.
3856 2002-04-25  Simon Josefsson  <jas@extundo.com>
3858         * mail/sendmail.el (mail-use-dsn): New variable to request
3859         delivery status notification from MTA.
3860         (sendmail-send-it): Use it.
3862         * mail/smtpmail.el (smtpmail-queue-counter): New variable.
3863         (smtpmail-send-it): Use it to construct new queue filenames
3864         (needed if you send more than one message per second, which is
3865         possible if you use Gnus Agent).
3867         * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
3868         files as well.
3869         (smtpmail-try-auth-methods): Support netrc data.
3870         (netrc-parse): Autoload netrc.
3872 2002-04-25  Colin Walters  <walters@verbum.org>
3874         * replace.el (multi-occur-by-filename-regexp): Doc fix.
3875         (occur-engine): Go to `point-min'.  Make nlines argument actually
3876         mean number of context lines.  Handle it.  Pad digits to the right.
3878         * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
3879         `ibuffer-filter-groups'.  All users updated.
3880         (ibuffer-show-empty-filter-groups): New variable.
3881         (ibuffer-saved-filter-groups): New variable.
3882         (ibuffer-maybe-save-stuff): Renamed from
3883         `ibuffer-maybe-save-saved-filters'.  Callers updated.
3884         Handle `ibuffer-saved-filter-groups'.
3885         (ibuffer-hidden-filtering-groups): Renamed to
3886         `ibuffer-hidden-filter-groups'.
3887         (ibuffer-filter-group-kill-ring): New variable.
3888         (ibuffer-save-with-custom): Doc fix.
3889         (ibuffer-set-filter-groups-by-mode): New function.
3890         (ibuffer-clear-filter-groups): New function.
3891         (ibuffer-current-filter-groups-with-position): Renamed from
3892         `ibuffer-current-filter-groups'.  Callers updated.
3893         (ibuffer-kill-filter-group): New function.
3894         (ibuffer-kill-line): New function.
3895         (ibuffer-yank): New function.
3896         (ibuffer-save-filter-groups): New function.
3897         (ibuffer-delete-saved-filter-groups): New function.
3898         (ibuffer-switch-to-saved-filter-groups): New function.
3899         (ibuffer-mark-on-buffer): Add optional arguments for adding a
3900         specific mark, and marking on a specific group.
3902         * ibuffer.el (ibuffer-formats): Doc fix.
3903         (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
3904         Bind new functions from ibuf-ext.el.  Add menu entries for them.
3905         Remove superfluous tooltips.
3906         (ibuffer-toggle-marks): If on a group name, then toggle marks just
3907         in that group.
3908         (ibuffer-mark-interactive): Handle filter groups.
3909         (ibuffer-mark-forward, ibuffer-unmark-forward)
3910         (ibuffer-mark-for-delete, ibuffer-unmark-backward)
3911         (ibuffer-mark-for-delete-backwards): Update docs.
3912         (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
3913         to `ibuffer-current-filter-groups-with-position'.
3914         (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
3915         (ibuffer-mode): Add some documentation about filter groups.
3917 2002-04-25  Andreas Schwab  <schwab@suse.de>
3919         * find-dired.el (find-name-dired): Don't quote pattern twice.
3921 2002-04-26  Miles Bader  <miles@gnu.org>
3923         * cus-edit.el (customize-face, customize-face-other-window):
3924         Use default instead of initial-input for suggested face.
3926 2002-04-25  Gerd Moellmann  <gerd@gnu.org>
3928         * cus-edit.el (customize-face-other-window, customize-face):
3929         Interactively, when point is on text with a face, suggest to
3930         customize that face.
3932 2002-04-25  Glenn Morris  <gmorris@ast.cam.ac.uk>
3934         * progmodes/f90.el: General tidy-up of commentary and some doc
3935         strings.
3937 2002-04-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
3939         * scroll-all.el (scroll-all-function-all) New function to do the
3940         actual work.
3941         (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
3942         scroll-all-page-down-all, scroll-all-page-up-all,
3943         scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
3944         Make them use scroll-all-function-all.
3946         * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
3947         with line-beginning-position.
3948         (f90-get-end-of-line): Removed and replaced with line-end-position.
3949         (f90-match-piece): Removed and replaced with match-string.
3950         (f90-current-indentation): Remove `current-column'.
3951         (f90-get-present-comment-type): Use match-string rather than
3952         buffer-substring.
3953         (f90-match-end): Use line-beginning-position, line-end-position
3954         rather than beginning-of-line, end-of-line.
3955         (f90-startup-message): Variable removed.
3957 2002-04-24  Colin Walters  <walters@verbum.org>
3959         * replace.el (occur-accumulate-lines): Add optional argument
3960         `no-props'.  Handle it.
3961         (occur-engine): Use it.
3963         * ibuf-ext.el (toplevel): Remove byte-compile-dynamic.  Try to set
3964         up autoloads manually.
3965         (ibuffer-split-list): New function.
3966         (ibuffer-filtering-groups): New variable.
3967         (ibuffer-hidden-filtering-groups): New variable.
3968         (ibuffer-mouse-toggle-filter-group): New function.
3969         (ibuffer-toggle-filter-group): New function.
3970         (ibuffer-toggle-filter-group-1): New function.
3971         (ibuffer-forward-filter-group): New function.
3972         (ibuffer-backward-filter-group): New funtion.
3973         (ibuffer-generate-filter-groups): New function.
3974         (ibuffer-filters-to-filter-group): New function.
3975         (ibuffer-pop-filter-group): New function.
3976         (ibuffer-jump-to-filter-group): New function.
3977         (ibuffer-do-occur): Just use `occur-read-primary-args'
3979         * ibuffer.el (ibuffer-filter-group-name-face): New.
3980         (ibuffer-mode-map): Bind and add menu entries for most new
3981         functions; also, bind the arrow keys to the movement functions.
3982         (ibuffer-mode-filter-group-map): New.
3983         (ibuffer-mouse-toggle-mark): Handle group names.
3984         (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
3985         (ibuffer-skip-properties): New function.
3986         (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
3987         group names.  Also, handle new properties.
3988         (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
3989         Move error handling to `ibuffer-current-buffer'.
3990         (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
3991         (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
3992         (ibuffer-toggle-marks): Add optional group argument.
3993         (ibuffer-mark-interactive): Skip group names.
3994         (ibuffer-current-buffer): Clean up error handling.
3995         (ibuffer-fontify-region-function): Fontify group names.
3996         (ibuffer-map-lines): Add extra group argument.  Handle it.
3997         (ibuffer-current-filter-groups): New function.
3998         (ibuffer-redisplay): Handle hidden filtering groups.
3999         (ibuffer-sort-bufferlist): New function, taken from
4000         `ibuffer-insert-buffers-and-marks'.
4001         (ibuffer-insert-filter-group): New function.
4002         (ibuffer-redisplay-engine): Renamed from
4003         `ibuffer-insert-buffers-and-marks'.  Handle new filtering groups.
4004         (ibuffer): Add filter-groups argument.  Handle it.
4005         Use `save-selected-window'.
4006         (ibuffer-mode): Make `ibuffer-filtering-groups' and
4007         `ibuffer-hidden-filtering-groups' buffer-local.
4009         * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
4011 2002-04-24  Richard M. Stallman  <rms@gnu.org>
4013         * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
4014         (easy-menu-define-key-intern): Function deleted; callers intern
4015         and then call easy-menu-define-key.
4016         (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
4017         (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
4018         (easy-menu-name-match): New function.
4019         (add-submenu): New function.
4020         (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
4022 2002-04-24  Eli Zaretskii  <eliz@is.elta.co.il>
4024         * menu-bar.el (menu-bar-adv-search-menu)
4025         (menu-bar-adv-search-menu): Improve the help text.
4027 2002-04-24  Simon Josefsson  <jas@extundo.com>
4029         * net/netrc.el: New file.
4031 2002-04-24  Thomas DeWeese <tdeweese@rochester.rr.com>
4033         * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
4034         Check if any of the available selection sources has new content
4035         and if so it will return that content.
4037 2002-04-24  Miles Bader  <miles@gnu.org>
4039         * menu-bar.el (buffers-menu-show-directories)
4040         (buffers-menu-show-status): New variables.
4041         (menu-bar-update-buffers-1): Use them.
4043 2002-04-24  Martin Stjernholm  <mast@lysator.liu.se>
4045         * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
4046         from `c-do-auto-fill' and point is at or near the limit of the
4047         comment.  Fixed bug when the prefix from `c-guess-fill-prefix'
4048         is longer than the text on the first line of the comment when
4049         it's masked.
4051 2002-04-24  Miles Bader  <miles@gnu.org>
4053         * menu-bar.el (menu-bar-update-buffers-1): Make sure
4054         `uniquify-buffer-name-style' is bound.
4056 2002-04-23  Colin Walters  <walters@verbum.org>
4058         * replace.el (toplevel): Require `cl' while compiling.
4059         (occur-buffer, occur-nlines): Delete.
4060         (occur-revert-properties): Rename to `occur-revert-properties'.
4061         (occur-mode): Handle it.  Set up font lock.
4062         (occur-revert-function): Simply apply `occur-1'.
4063         (occur-mode-find-occurence, occur-mode-mouse-goto)
4064         (occur-mode-goto-occurrence-other-window)
4065         (occur-mode-display-occurrence): Handle buffer property.
4066         (list-matching-lines-face): Use defcustom.
4067         (list-matching-lines-buffer-name-face): New variable.
4068         (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
4069         in ibuffer.el.
4070         (occur-read-primary-args): Move out of `occur'.
4071         (occur): Delete.  Now simply call `occur-1'.
4072         (multi-occur, multi-occur-by-filename-regexp): New functions.
4073         (occur-1): New function.
4074         (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
4075         previous implementation of `occur'; taken from ibuf-ext.el.
4076         (occur-fontify-on-property): New function.
4077         (occur-fontify-region-function, occur-unfontify-region-function):
4078         New functions.
4080         * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
4082         * ibuf-ext.el (ibuffer-depropertize-string): Delete.
4083         (ibuffer-occur-match-face): Delete.
4084         (ibuffer-occur-props, ibuffer-occur-mode): Delete.
4085         (ibuffer-occur-mouse-display-occurence): Delete.
4086         (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
4087         (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
4088         (ibuffer-occur-engine): Moved to replace.el.
4089         (ibuffer-do-occur): Simply call `occur-1'.
4091         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4092         Handle the case where we're already viewing the score file.
4094 2002-04-23  Andreas Schwab  <schwab@suse.de>
4096         * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
4097         next-tag-otherw.
4099 2002-04-23  Miles Bader  <miles@gnu.org>
4101         * menu-bar.el (menu-bar-update-buffers-1): Don't display a
4102         directory separator if there's no directory.  Don't display
4103         directories at all if uniquify is active.  Some code cleanup.
4104         (uniquify-buffer-name-style): Declare (but don't initialize).
4106         * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
4107         for command menu entries, since the low-level menu code modifies
4108         them.  Cache the resulting list.
4109         (menu-bar-buffers-menu-command-entries): New variable.
4111         * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
4112         Add separator line before commands
4113         Remove old crufty code that tried to line things up by adding
4114         spaces to entries (it doesn't work).
4115         Move `Frames' submenu after the normal buffers, and add a
4116         separator line before it.
4117         (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
4119 2002-04-22  Richard M. Stallman  <rms@gnu.org>
4121         * files.el (after-find-file): Use %s to output MSG.
4123         * dired.el (dired-mouse-find-file-other-window):
4124         Handle events that move out of the window.
4126 2002-04-23  Martin Stjernholm  <mast@lysator.liu.se>
4128         * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
4129         was moved to the following line when it was at the first line
4130         of a block comment where comment-start-skip matched to eol.
4132 2002-04-22  Richard M. Stallman  <rms@gnu.org>
4134         * simple.el (line-move-finish): Find beg and end of line
4135         before calling line-move-to-column.  Do consider intangible
4136         when finding the end.  Take more care in analyzing the results
4137         of intangibility after line-move-to-column.
4139 2002-04-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
4141         * international/mule-diag.el (list-input-methods-1): Doc fix
4142         (LEIM is now part of the standard distribution).
4144         * tmm.el (tmm-completion-prompt): Doc fix.
4146         * hilit-chg.el (global-highlight-changes): Capitalize status texts.
4148 2002-04-22  Edward M. Reingold  <reingold@emr.cs.iit.edu>
4150         * diary-lib.el (include-other-diary-files): Allow modifying
4151         included buffer, to turn off selective display.
4153 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4155         * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
4156         pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
4157         emacsen that doesn't support it.
4159 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4161         * progmodes/cc-align.el, progmodes/cc-engine.el,
4162         progmodes/cc-styles.el, progmodes/cc-vars.el
4163         (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
4164         Find correct anchor for statement-cont in top level constructs.
4165         Analyze variable initializations in top level constructs as
4166         topmost-intro-cont instead of statement-cont.  That is an
4167         incompatible change but it gives better consistency.  The new
4168         lineup function c-lineup-topmost-intro-cont' compensates for
4169         it and is now put on topmost-intro-cont by default.
4171         * progmodes/cc-align.el, progmodes/cc-engine.el,
4172         progmodes/cc-langs.el (c-lineup-argcont): Lineup function
4173         contributed by Kevin Ryde.
4175         (c-in-gcc-asm-p): Function to recognize asm statements.
4176         Contributed by Kevin Ryde.
4178         (c-opt-asm-stmt-key): New language variable to recognize the
4179         beginning of asm statements.
4181 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4183         * progmodes/cc-engine.el (c-guess-basic-syntax):
4184         Detect variable declarations after class and struct declarations
4185         correctly.  Fixed limit error when finding the anchor for
4186         template-args-cont and topmost-intro-cont.
4188 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4190         * progmodes/cc-cmds.el (c-beginning-of-defun)
4191         (c-declaration-limits): Find the "line oriented" declaration
4192         start too, just like the "line oriented" end is found.
4194 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4196         * progmodes/cc-vars.el (c-offsets-alist): A more sane default
4197         for `inexpr-statement'.  This is not compatible, though.
4198         I think the benefit of a good default style outweights that in
4199         this case.  Besides, `inexpr-statement' is not very common.
4201 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4203         * progmodes/cc-cmds.el (c-electric-delete-forward):
4204         Fix silly bug that caused it to delete backwards in hungry delete
4205         mode.  (It's amazing that this bug hasn't been reported.)
4207         * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
4208         Extracted the code to get the declaration limits from
4209         `c-mark-function' to a new `c-declaration-limits'.
4211         (c-indent-defun): Use the same method to get the limits of the
4212         declaration or macro as `c-mark-function'.
4214         * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
4215         list initializers correctly (but costly; it ought to be
4216         integrated into `c-beginning-of-statement-1').
4218 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4220         * progmodes/cc-cmds.el, progmodes/cc-engine.el
4221         (c-beginning-of-defun, c-end-of-defun, c-mark-function):
4222         Rewritten to detect the declaration limits better.
4223         Now handles K&R argdecls, class definitions followed by variables etc.
4225         (c-in-knr-argdecl): Broke out the K&R argdecl test in
4226         `c-beginning-of-decl-1' to this new function.
4228         (c-end-of-statement-1, c-end-of-decl-1):
4229         Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
4230         handles declarations that continue after the block.
4232         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
4233         Added an option to restrict matching to the top level of the
4234         current paren sexp.
4236         * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
4237         New regexp to recognize declarations that continue after the block.
4239         (c-syntactic-eol): New regexp to match a "syntactic" eol.
4241 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4243         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
4244         that often caused the backward limit to be lost at the top
4245         level.  This improves performance a bit.
4247         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
4248         New function that works like `re-search-forward' but only returns
4249         matches in syntactically significant text.
4251         * progmodes/cc-engine.el: Fixed a faster and more accurate way
4252         to recognize K&R argdecls.
4254         (c-beginning-of-decl-1): New function that put point at the
4255         beginning of the declaration.  It handles K&R argdecl blocks.
4257         (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
4258         code with one that doesn't depend on the current indentation.
4259         The anchor position for `knr-argdecl' has also changed, but in
4260         a way that is unlikely to cause compatibility problems.
4262 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4264         * progmodes/cc-defs.el, progmodes/cc-engine.el
4265         (c-forward-comment): `forward-comment' in XEmacs skips over
4266         line continuations in the backward direction.  Correct for
4267         that.  Also made this a defun since it has grown too large now
4268         to be a defsubst.
4270         * progmodes/cc-langs.el: More convenient and decentralized
4271         setup of the language specific variables.  The regexp-opt
4272         mangling is also done at compile time now.
4274 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4276         * progmodes/cc-cmds.el (c-indent-line-or-region):
4277         Call `c-indent-line' directly instead of through
4278         `indent-according-to-mode' so that this function always
4279         indents syntactically.
4281         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
4282         where a class beginning with a nested class could cause an
4283         infinite loop (the state outside the narrowed out class is
4284         never used now).
4286 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4288         * progmodes/cc-align.el, progmodes/cc-cmds.el,
4289         progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
4290         the context sensitive analysis inside macros is restricted to
4291         the bodies of #define's; other things, like #if expressions,
4292         never have anything in common with their surroundings.
4293         The old `cpp-macro-cont' syntax is now used in situations where
4294         the syntactic analysis isn't applicable, and a new syntactic
4295         element `cpp-define-intro' is used to add indentation in
4296         #define bodies.
4298         (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
4299         better reflect its use.
4301         * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
4302         continuation backslashes in the detection of `arglist-cont-nonempty'.
4304         * progmodes/cc-align.el: Use the vector form in the return
4305         value in all cases where lineup functions return absolute columns.
4307 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4309         * progmodes/cc-engine.el (c-add-stmt-syntax)
4310         (c-guess-basic-syntax): Anchor `brace-list-intro' and
4311         `bracec-list-close' better for brace lists nested inside expressions.
4313         * progmodes/cc-engine.el, progmodes/cc-langs.el,
4314         progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
4315         various language specific variables and their initialization.
4316         The keyword regexps are now lists that are combined with
4317         regexp-opt.  Some variables have changed names to fit better
4318         with the naming convention.
4320         * progmodes/cc-defs.el, progmodes/cc-vars.el
4321         (c-buffer-is-cc-mode): The value is the mode symbol of the
4322         original CC Mode mode.
4324         (c-major-mode-is): Compare against the buffer local variable
4325         `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
4327 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4329         * progmodes/cc-engine.el (c-forward-syntactic-ws)
4330         (c-backward-syntactic-ws, c-forward-token-1)
4331         (c-backward-token-1, c-in-literal, c-literal-limits)
4332         (c-collect-line-comments, c-literal-type, c-on-identifier)
4333         (c-guess-basic-syntax): These functions are now considered part
4334         of the "CC Mode API" and may be used by other code.
4335         That's signified by making their documentation into docstrings.
4337         (c-whack-state, c-hack-state, c-skip-case-statement-forward):
4338         Removed these internal functions since they aren't used.
4340         (c-forward-to-cpp-expression): Classified this function as internal.
4342 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4344         * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
4345         Simplified these regexps; the class keywords they contain
4346         ought to be enough to avoid false matches, so checking for
4347         following identifiers etc is just unnecessary (and might also
4348         fail for oddly formatted code).
4350 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4352         * progmodes/cc-engine.el, progmodes/cc-cmds.el
4353         (c-forward-comment-lc): New function that behaves like
4354         `c-forward-comment', with the exception that line
4355         continuations are treated as whitespace.
4357         (c-beginning-of-statement): Use `c-forward-comment-lc', to
4358         work correctly in macros and other places where line
4359         continuations should be treated as whitespace.
4361         * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
4362         normal label in a switch block as a case label, to get
4363         consistent lineup with the case labels.
4365         * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
4366         in skipping over a macro that ends with an empty line.
4368         * progmodes/cc-styles.el: Require cc-align since styles added
4369         with `c-add-style' often contains references to functions
4370         defined there, and so the `c-valid-offset' check might
4371         otherwise complain on them.
4373 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4375         * progmodes/cc-align.el, progmodes/cc-mode.texi,
4376         progmodes/cc-vars.el: Added two new lineup functions:
4378         (c-lineup-knr-region-comment): A new lineup function to get
4379         (what most people think is) better indentation of comments in
4380         the "K&R region" between the function header and its body.
4382         (c-lineup-gcc-asm-reg): New lineup function for better
4383         indentation inside gcc asm blocks.  Contributed by Kevin Ryde.
4385         (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
4386         `c-lineup-knr-region-comment' in the default offset
4387         configuration, since these two functions have little impact
4388         outside their intended use, and they generally do the right
4389         thing when they kick in.
4391         * progmodes/cc-engine.el (c-guess-continued-construct)
4392         (c-guess-basic-syntax): Handle nested functions in all
4393         languages, not just Pike.  In C and C++ there's a gcc
4394         extension for this, and it also gives better treatment of
4395         macros that are followed by blocks.
4397         * progmodes/cc-langs.el (c-symbol-key): Made this variable
4398         mode specific, to handle Pike special symbols like `== better.
4400 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4402         * progmodes/cc-cmds.el, progmodes/cc-engine.el,
4403         progmodes/cc-vars.el (c-report-syntactic-errors): A new
4404         variable to control the syntactic error messages.  It defaults
4405         to off; since CC Mode ignores most syntactic errors it might
4406         as well ignore them all for the sake of consistency.
4408 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4410         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4411         Optimization.  Can give a noticeable speedup if there's a
4412         large preceding function or class body.
4414 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4416         * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
4417         efficient and correct insertion functions in many places.
4418         Always inherit text properties correctly if the text is
4419         permanent.  Also do it for speed in temporary insertions,
4420         since I figure it's less work to continue the surrounding text
4421         properties than to break them.
4423         * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
4424         completion to make it easier to enter lists.
4426 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4428         * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
4429         c-state-cache was clobbered.
4431         * progmodes/cc-cmds.el, progmodes/cc-engine.el
4432         (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
4433         to dependency.
4435 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4437         * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
4438         open parens in macros (if point isn't in the same one).
4440 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4442         * progmodes/cc-cmds.el (c-context-open-line): New function
4443         that is the `open-line' equivalent to `c-context-line-break'.
4445         * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
4446         for Emacs 21 since `indent-new-comment-line' has been changed
4447         to `comment-indent-new-line' there.
4449 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4451         * progmodes/cc-engine.el, progmodes/cc-langs.el
4452         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
4453         New variables containing the character sets used to recognize
4454         statement/declaration boundaries.  These variables might help
4455         to support languages like javascript and awk, where newlines
4456         sometimes delimits statements.
4458         (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
4459         the set of statement delimiting characters, to allow it to be
4460         changed dynamically and per-mode.
4462 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4464         * progmodes/cc-engine.el (c-looking-at-bos)
4465         (c-looking-at-inexpr-block, c-add-stmt-syntax)
4466         (c-guess-basic-syntax): Treat blocks directly inside function
4467         calls like "bare" statements inside function calls, and not
4468         like in-expression statements.  This to make indentation of
4469         such blocks consistent with other statements inside macro calls.
4471         * progmodes/cc-engine.el (c-guess-basic-syntax):
4472         Made arglist-cont anchor correctly in arglists that contain statements.
4474         * progmodes/cc-engine.el (c-guess-basic-syntax):
4475         Fixed consistent anchoring of defun-block-intro in defuns in code
4476         blocks (can only occur in Pike).
4478         * progmodes/cc-engine.el (c-looking-at-inexpr-block)
4479         (c-looking-at-inexpr-block-backward): Changed the arguments to
4480         require containing sexps and paren state, for better efficiency.
4482 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4484         * progmodes/cc-cmds.el, progmodes/cc-engine.el,
4485         progmodes/cc-vars.el: Improved anchoring of statement and
4486         handling of labels in front of substatements.
4488         (c-guess-continued-construct, c-guess-basic-syntax):
4489         Improved and unified anchoring at statements.  Statements beginning
4490         with comments or labels are now avoided, by going out of
4491         blocks and containing statements if necessary.  This nesting
4492         handling also fixes the case when there's a statement after a
4493         block open brace.  Added the syntactic symbol `substatement-label'.
4495         (c-electric-colon): Map the new `substatement-label' to
4496         `label' when consulting `c-hanging-colons-alist'.
4498         (c-offsets-alist): Added substatement-label.  Updated the
4499         comments for the new anchoring positions at statements.
4501         * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
4502         anchor points for knr-argdecl-intro and access-label.
4503         They used to refer to some point on the same line, a bug which was
4504         neutralized by a kludge in `c-get-syntactic-indentation' which
4505         ignored such anchor points.
4507         (c-get-syntactic-indentation): Removed the kludge that was
4508         necessary due to buggy anchor points.
4510         * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
4511         the absence of a comma before arglist-close (case 7A) in any
4512         language, since there's nothing better to do that case anyway.
4513         Added special case to make in-expression statements be
4514         recognized as normal arglist-cont if we're directly in a macro
4515         arglist, for consistency with other "bare" statements.
4517         * progmodes/cc-engine.el (c-looking-at-bos): Added optional
4518         limit arg for backward searches.
4520         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4521         Anchor gcc in-expression statements at the surrounding open
4522         parenthesis.  Treat a class body as an in-expression class if
4523         it's used in an object clone expression in Pike.
4525         * progmodes/cc-engine.el (c-get-offset)
4526         (c-get-syntactic-indentation): Allow several anchor positions
4527         in the list of syntactic symbols.  Only the first is used as
4528         the base for the offset calculation.
4530 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4532         * progmodes/cc-cmds.el (c-indent-defun): Indent the current
4533         macro if inside one at the top level.  Do not throw an error
4534         if used at the top level outside a macro.
4536         * progmodes/cc-cmds.el (c-backslash-region): Do tab width
4537         alignment only if the backslashes can't be aligned with
4538         surrounding backslashes.
4540         * progmodes/cc-engine.el (c-end-of-macro): New function.
4542         * progmodes/cc-engine.el (c-least-enclosing-brace):
4543         Rewritten to not be destructive.
4545 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4547         * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
4548         line break when point is inside the content of it; if it's in
4549         the cpp keyword a normal line break is done.
4551         * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
4552         cpp-macro-cont inside the argument list to a #define.
4554 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4556         * progmodes/cc-defs.el (c-forward-comment): Implemented a
4557         kludge to avoid the problem most forward-comment incarnations
4558         have with `\' together with comment parsing.
4560 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4562         * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
4563         which could cause the state returned by `c-parse-state' to
4564         lack a closed paren element.  That in turn could result in
4565         very long searches, since it's common that they start from the
4566         last preceding close brace.
4568 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4570         * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
4571         treat else-if as a single continuation, since that'd make it
4572         hard to get the right anchor point when there's a line break
4573         between the two keywords.  This change causes else-clause to
4574         be anchored on the closest preceding else-if and not always on
4575         the starting if, but that doesn't affect the indentation for
4576         any reasonably sane style.  Also introduced a noerror flag.
4578         (c-beginning-of-closest-statement): Removed;
4579         c-beginning-of-statement-1 now avoids the problem this one solved.
4581         * progmodes/cc-engine.el (c-guess-continued-construct)
4582         (c-guess-basic-syntax): Better and more uniform anchor points
4583         for 'statement-cont and 'substatement.  The effect is
4584         noticeable mostly when there's a label on the same line as the
4585         beginning of the statement, or when there are more stuff
4586         before the start of the statement.
4588         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4589         Added flag to disable looking at the type of the surrounding paren
4590         since that confuses c-beginning-of-statement-1 and a couple of
4591         other places.
4593         * progmodes/cc-engine.el (c-guess-basic-syntax):
4594         Avoid stepping to the previous statement in case 18.
4595         Improvements in recognition of statement blocks on the top level.
4597 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4599         * progmodes/cc-engine.el (c-beginning-of-statement-1)
4600         (c-crosses-statement-barrier-p): Rewritten to get a well
4601         defined and documented behavior.  This fixes some tricky cases
4602         in recognition of do-while constructs.
4604         (c-backward-to-start-of-do, c-backward-to-start-of-if):
4605         Removed; use c-beginning-of-statement-1 instead.
4607         (c-guess-continued-construct, c-guess-basic-syntax):
4608         Various fixes to not depend on the bugs previously in
4609         c-beginning-of-statement-1.  Cleanups in cases 18 and 17 to
4610         use the new behavior of c-beginning-of-statement-1 better.
4611         Fixed recognition of catch blocks inside macros.
4613         * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
4614         in skipping over a macro.
4616         * progmodes/cc-langs.el (c-label-kwds): New variable to
4617         contain the appropriate c-*-label-kwds value.
4619         * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
4620         evaluation bug that caused the widget for
4621         c-block-comment-prefix to bug out.
4623 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4625         * progmodes/cc-engine.el (c-guess-basic-syntax):
4626         Improved recognition of statements: They are now recognized in
4627         contexts where they normally can't occur, e.g. on the top level or
4628         in function call arguments.  This is mainly useful to recognize
4629         statements in macros at the top level, and in arguments to
4630         macros.  The cases has been moved around quite a bit, and case
4631         10 has been copied to case 18.  (The cases has not been
4632         renumbered because of this.)
4634         (c-guess-continued-construct): New function which has the
4635         rules which are common between cases 10 and 18.
4637         * progmodes/cc-engine.el (c-beginning-of-statement-1)
4638         (c-backward-to-start-of-do, c-backward-to-start-of-if):
4639         Fixes so that they really obey the passed limits.
4641         (c-safe-position): Return nil if the state doesn't contain a
4642         suitable position.
4644         (c-guess-basic-syntax): Fixes some too short limits in calls
4645         to c-beginning-of-statement-1.  Some fixes for top level
4646         analysis in ObjC mode.
4648         * progmodes/cc-engine.el (c-beginning-of-statement-1):
4649         Fixed bug in do-while statements where the body is not a block.
4651         * progmodes/cc-styles.el (c-set-style):
4652         Reset c-special-indent-hook to its global value if in override mode.
4653         Fixes problem where functions on that hook remained after
4654         style switch.
4656         * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
4657         Use c-benign-error to report the c-strict-syntax-p error.
4659 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4661         * progmodes/cc-align.el, progmodes/cc-defs.el,
4662         progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
4663         Several fixes to treat macros as code and not literals and to
4664         handle line continuations transparently.
4666         (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
4667         through whitespace and line continuations, but not comments
4668         and macros.
4670         (c-in-literal): No longer recognizes macros as literals by
4671         default. An extra flag argument is required to do that.
4673         (c-macro-start, c-query-macro-start)
4674         (c-query-and-set-macro-start): Added a cache for the macro
4675         start position.
4677         (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
4678         more speed when limits are given.  Workaround for bad behavior
4679         in forward-comment in some emacsen when it hits a buffer limit
4680         with a large repeat count.
4682         (c-lineup-macro-cont): Improved behavior when
4683         c-syntactic-indentation-in-macros is nil.
4685         (c-syntactic-indentation-in-macros, c-backslash-max-column)
4686         (c-auto-align-backslashes): New customization variables to
4687         control macro handling.
4689         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
4690         Fixes to handle line continuations.
4692         * progmodes/cc-defs.el, progmodes/cc-styles.el
4693         (c-get-style-variables, c-set-offset): Report style errors
4694         with message and ding instead of error signal.  This to avoid
4695         interrupted mode init if there's some style problem.
4697         (c-benign-error): New macro to report errors that doesn't need
4698         to interrupt the operation.
4700         * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
4702 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4704         * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
4705         Removed most of the c-state-cache fiddling, since the global
4706         state cache now handles this.
4708         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
4709         when there's an open paren at the very first char of the
4710         visible buffer region.
4712         * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
4713         Cache the state globally and invalidate it below every buffer
4714         change with the new after change function
4715         `c-check-state-cache'.  This gives a considerable performance
4716         boost when editing large functions or classes.
4718         * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
4720 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4722         * progmodes/cc-engine.el, progmodes/cc-langs.el,
4723         progmodes/cc-align.el: Improvements to syntactic analysis
4724         inside macros:
4726         (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
4727         by `c-guess-basic-syntax'.
4729         (c-parse-state): Fixed bug with braces inside macros when
4730         using cached state info.
4732         (c-forward-to-cpp-expression): New function to aid in
4733         syntactic analysis inside macros.
4735         (c-beginning-of-statement-1, c-backward-syntactic-ws):
4736         Fixes to work better inside macros.
4738         (c-forward-syntactic-ws): Whitespace between the # and the
4739         command should be allowed in preprocessor directives.
4741         (c-lineup-macro-cont): New lineup function to get context
4742         sensitive indentation inside macros.
4744         (c-offsets-alist): Made `c-lineup-macro-cont' the default for
4745         cpp-macro-cont.
4747 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4749         * progmodes/cc-engine.el (c-beginning-of-statement-1)
4750         (c-forward-syntactic-ws): Fixes to handle continued lines.
4752         (c-backward-to-start-of-if, c-guess-basic-syntax):
4753         Do syntactic analysis inside macros.
4755 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4757         * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
4758         possible by the more flexible state cache.
4760         * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
4761         (c-whack-state-after, c-hack-state)
4762         (c-narrow-out-enclosing-class, c-guess-basic-syntax):
4763         Improved the state cache system.  It now can use partial info from
4764         an old cached state to calculate a new one at a different
4765         position.  Removed some kludges to avoid the state cache.
4766         The new functions `c-whack-state-before' and `c-whack-state-after'
4767         replace the now obsolete `c-whack-state'.
4769         * progmodes/cc-engine.el (c-beginning-of-statement-1):
4770         Optimized backing through a macro.  This can speed things up
4771         quite a bit when there are long macros before point.
4773         (c-beginning-of-macro): Do not ignore the limit.
4775 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4777         * progmodes/cc-cmds.el (c-electric-continued-statement):
4778         Fixed a bug where the keyword wasn't reindented correctly if
4779         followed by another keyword or identifier.
4781         * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
4782         pairs that are in macros.  Fixes some cases where e.g. the
4783         second of two "do { } while (0)" macros after each other
4784         indented differently.
4786 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4788         * progmodes/cc-engine.el (c-beginning-of-macro)
4789         (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
4790         directive when it begins a line, to allow for script
4791         interpreter lines like "#!/usr/bin/pike" at the beginning of
4792         the file.
4794 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4796         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4797         Recognize brace blocks inside a parenthesis expression as
4798         inexpr-statement.  Useful when writing statements as macro arguments.
4800 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4802         * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
4803         (c-mask-comment): Broke out the comment masking code from
4804         `c-fill-paragraph' to a new function `c-mask-comment', to be
4805         able to do the same thing in `c-do-auto-fill'.  This should
4806         make auto-fill-mode behave better.
4808 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4810         * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
4811         Check `executing-macro' to avoid blinking parens when macros
4812         are executed.
4814         * progmodes/cc-mode.el, progmodes/cc-styles.el
4815         (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
4816         consistency with `c-setup-paragraph-variables' (which was
4817         placed there due to the dependency from `c-set-style').
4819         * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
4820         incomplete initialization from the style variable fallbacks if
4821         there already is a style called "user" defined when CC Mode
4822         starts up for the first time.
4824 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4826         * progmodes/cc-cmds.el, progmodes/cc-vars.el
4827         (c-comment-indent, c-indent-comment-alist): Added new variable
4828         `c-indent-comment-alist' to allow better control over
4829         `c-comment-indent'.
4831 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4833         * progmodes/cc-align.el (c-lineup-C-comments): Try to match
4834         both `comment-start-skip' and the comment prefix on the
4835         current line with the comment starter, so that we line up
4836         comments which matches `c-comment-prefix-regexp' on the first
4837         line (after the `/') without the need to make
4838         `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
4840         * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
4841         (c-set-style-1, c-setup-paragraph-variables): Moved the
4842         variable initialization based on `c-comment-prefix-regexp' to
4843         a new function `c-setup-paragraph-variables', which is now
4844         used both at mode init and when a style that sets
4845         `c-comment-prefix-regexp' is activated.
4847 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4849         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
4850         Better handling of C++ template args to avoid confusion with
4851         `<' and `>' used as operators in member init expressions.
4853 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4855         * progmodes/cc-engine.el (c-most-enclosing-brace)
4856         (c-least-enclosing-brace): Added optional second arg to limit
4857         the search to before a certain point.
4859         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
4860         which could cause incorrect analysis if a cached state is used
4861         (usually only happens when an electric key reindents a line).
4863 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4865         * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
4866         insulation.  This time for XEmacs 21.
4868         * progmodes/cc-engine.el, progmodes/cc-langs.el:
4869         Improved handling of inheritance lists:
4871         (c-beginning-of-inheritance-list): Rewritten to use a more
4872         syntactically correct method that doesn't get confused by
4873         badly placed linebreaks and comments.
4875         (c-guess-basic-syntax): Several fixes to the handling of
4876         inheritance lists in combination with templates.  'inher-intro
4877         is now anchored on the start of the class declaration and not
4878         the indentation of the current line.  Switched places on cases
4879         5D.3 and 5D.4 and made them use more syntactically correct methods.
4881         (c-inher-key): Removed since the code in
4882         `c-guess-basic-syntax' now uses token-based search.
4884         * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
4885         Added a submenu to access some toggles.
4887         (c-toggle-syntactic-indentation): New function to toggle the
4888         variable `c-syntactic-indentation'.
4890         * progmodes/cc-styles.el (c-set-style): Improved the error
4891         message for incorrect offsets a bit.
4893 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4895         * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
4896         sexp follows point immediately, instead find the closest
4897         following open paren that ends on another line.
4899 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4901         * progmodes/cc-align.el (c-lineup-cascaded-calls):
4902         New indentation function.
4904         * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
4905         directives with whitespace between the '#' and the name.
4907 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4909         * progmodes/cc-engine.el (c-forward-syntactic-ws)
4910         (c-backward-syntactic-ws): Handle line continuations as
4911         whitespace.  Don't move past a macro if that'd take us past
4912         the limit.
4914 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4916         * progmodes/cc-engine.el (c-beginning-of-macro)
4917         (c-forward-syntactic-ws): Multiline strings begin with `#"' in
4918         Pike, and that shouldn't be confused with a preprocessor directive.
4920 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4922         * progmodes/cc-cmds.el: Extended the kludge to interoperate
4923         with the delsel and pending-del packages wrt to the new
4924         function `c-electric-delete-forward'.
4926 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4928         * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
4929         the block itself, i.e. only indent the contents in it.
4931         * progmodes/cc-styles.el (c-set-style): Use the default
4932         argument to completing-read instead of initial-contents, if
4933         the function is recent enough to support it.
4935 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4937         * progmodes/cc-mode.el (c-mode-help-address):
4938         Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
4939         I've almost never seen a bug reported this way that should go
4940         to that list, but it's rather common that the reports concern
4941         the combination CC Mode and XEmacs instead.
4943 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4945         * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
4946         brace-elseif-brace and brace-catch-brace are active and
4947         there's a "else if"-block before the catch block.
4949         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
4950         Detect function headers that span lines.
4952 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4954         * progmodes/cc-cmds.el (c-electric-brace)
4955         (c-electric-semi&comma, c-electric-colon, c-electric-paren):
4956         Check for last on line only for doing the auto-newline-mode
4957         stuff, not for the reindentation.
4959         * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
4960         handling of c-syntactic-indentation: When it's nil, indent the
4961         new lines but don't reindent the current one.  Reindent the
4962         line only when the inserted brace comes first on it, instead
4963         of last.
4965         * progmodes/cc-cmds.el (c-electric-brace)
4966         (c-electric-semi&comma): Fixed two places where
4967         c-syntactic-indentation wasn't heeded.
4969         * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
4970         inside a macro.
4972         * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
4973         little harder to find a fallback position when an orphan else
4974         is found.  Fixed case where an else following a do-while
4975         statement could be associated with an if inside the do-while.
4977 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4979         * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
4980         for the fallback to add a single space after the comment prefix.
4982         * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
4983         behavior in some special cases, especially for single-line comments.
4984         Avoid breaking up a comment starter or ender.
4986 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4988         * progmodes/cc-cmds.el (c-outline-level): Applied patch from
4989         the Emacs sources to make this work in invisible text.
4991         * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
4992         not be confused by a later ':' on the same line as the label.
4994 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
4996         * progmodes/cc-cmds.el, progmodes/cc-mode.el
4997         (c-electric-delete, c-electric-delete-forward):
4998         Split `c-electric-delete' into two functions where
4999         `c-electric-delete-forward' always deletes forward and
5000         `c-electric-delete' only contains the code necessary for
5001         XEmacs to choose between backward and forward deletion.
5002         `c-electric-delete-forward' is now bound to C-d to get the
5003         electric behavior on that key too.
5005 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
5007         * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
5008         use of c-comment-prefix-regexp, which caused an error when
5009         it's a list.
5011 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
5013         * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
5014         (c-default-style): Removed the hardcoded switch to "java" style
5015         in Java mode.  It's instead taken care of by the default value
5016         for c-default-style.
5018 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
5020         * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
5021         was triggered by equal signs in string literals.
5023 2002-04-21  Kim F. Storm  <storm@cua.dk>
5025         * subr.el (insert-buffer-substring-no-properties): New function.
5026         (insert-buffer-substring-as-yank): New function.
5028 2002-04-21  Glenn Morris  <gmorris@ast.cam.ac.uk>
5030         * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
5031         (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
5032         prefix from scroll commands.  Ignore end-of-buffer errors from
5033         other windows.
5034         (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
5035         commands.
5036         (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
5037         New functions.
5039         * files.el: (auto-mode-alist): .f95 files in f90-mode.
5041         * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
5042         a DO statement irrespective of numeric label.
5044 2002-04-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
5046         * files.el (auto-save-file-name-transforms): Doc fix.
5047         Add third element to "uniquify" filenames.
5048         (make-auto-save-file-name): Use new element of
5049         auto-save-file-name-transforms.
5050         * startup.el (command-line): Add third element to
5051         auto-save-file-name-transforms.
5053 2002-04-19  Stefan Monnier  <monnier@cs.yale.edu>
5055         * files.el (file-name-non-special): Don't mangle the 0'th arg and the
5056         return value of file-name-completion and file-name-all-completions.
5058 2002-04-19  Glenn Morris <gmorris@ast.cam.ac.uk>
5060         * progmodes/f90.el: Update maintainer.
5061         (f90-line-continued): Recognize blank/comment lines embedded in
5062         continuation lines.
5063         (f90-looking-at-program-block-start): No extra indentation after
5064         function or subroutine keyword appears in single quotes.
5066 2002-04-19  Miles Bader  <miles@gnu.org>
5068         * custom.el (customize-mark-to-save, customize-mark-as-set)
5069         (custom-quote): Moved here from `cus-edit.el'.
5070         * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
5071         (custom-quote): Moved to `custom.el'.
5073 2002-04-18  Richard M. Stallman  <rms@gnu.org>
5075         * facemenu.el (list-text-properties-at): Command deleted.
5077         * rect.el (insert-rectangle): Use insert-for-yank.
5079         * register.el (insert-register): Use insert-for-yank.
5080         (describe-register-1): Discard text props in yank-excluded-properties.
5082         * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
5083         Fix parts in construction of `menu-item' item at end.
5085         * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
5087         * subr.el (insert-for-yank): New function.
5089         * simple.el (yank-excluded-properties): New user option.
5090         (yank-pop, yank): Use insert-for-yank.
5092 2002-04-19  Kim F. Storm  <storm@cua.dk>
5094         * simple.el (pop-to-mark-command): Do not set this-command.
5095         (set-mark-command): Always jump to mark when called with arg.
5097 2002-04-18  Francesco Potorti`  <pot@gnu.org>
5099         * comint.el (comint-watch-for-password-prompt): Remove whitespace
5100         at the beginning of password prompts.
5102 2002-04-18  Andrew Innes  <andrewi@gnu.org>
5104         * facemenu.el: Remove require of wid-edit.
5106 2002-04-17  Colin Walters  <walters@verbum.org>
5108         * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
5109         one window.
5110         (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
5111         (ibuffer-current-state-list): Reinstate optional argument; now
5112         just call `point' inside the mapping function.
5114 2002-04-17  Francesco Potorti`  <pot@gnu.org>
5116         * dired-aux.el (dired-star-subst-regexp)
5117         (dired-quark-subst-regexp): New constants.
5118         (dired-do-shell-command, dired-shell-stuff-it): Use them.
5119         (dired-do-shell-command): Raise an error if both `*' and `?'
5120         substitution marks are used in the same command.
5121         (dired-shell-stuff-it): Substitute all instances of `*' and `?'
5122         in a command given via dired-do-shell-command.
5124         * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
5126 2002-04-16  Jason Rumney  <jasonr@gnu.org>
5128         * international/mule-cmds.el (locale-preferred-coding-systems):
5129         Add "jpn".
5131 2002-04-16  Eli Zaretskii  <eliz@is.elta.co.il>
5133         * term.el (term-emulate-terminal): Fix last change.
5135 2002-04-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5137         * bindings.el (mode-line-mode-menu): Update names to reflect
5138         latest changes.
5140 2002-04-16  Mike Williams  <mdub@bigfoot.com>
5142         * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
5143         compilation error.
5145 2002-04-16  Michael Kifer  <kifer@cs.stonybrook.edu>
5147         * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
5148         (viper-ex-print-buf-name): New variable.
5149         (viper-ex-print-buf): New variable.
5150         (ex-token-alist): Invoke ex-print on ":print" Ex commands.
5151         (ex-g-marks): New variable.
5152         (ex-print): New function.
5153         (ex-print-display-lines): New function.
5155         * viper.el (viper-set-hooks): Add window-setup-hook, which sets
5156         the cursor color.
5158         * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
5159         when the window is not in its own frame.
5160         (ediff-clone-buffer-for-region-comparison): More robust window
5161         arrangement while prompting for regions to compare.
5162         (ediff-make-cloned-buffer): Use generate-new-buffer-name.
5163         (ediff-inferior-compare-regions): Deleted unused vars
5164         ctl-buf and quit-now.
5166 2002-04-15  Richard M. Stallman  <rms@gnu.org>
5168         * facemenu.el (facemenu-add-new-face): Use this only for faces.
5169         Delete arg MENU.
5170         (facemenu-add-new-color): New function.
5171         (facemenu-set-foreground, facemenu-set-background):
5172         Use facemenu-add-new-color.
5174 2002-04-15  Eli Zaretskii  <eliz@is.elta.co.il>
5176         * ediff-init.el (ediff-current-diff-face-A)
5177         (ediff-current-diff-face-B, ediff-current-diff-face-C)
5178         (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
5179         (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
5180         (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
5181         (ediff-even-diff-face-B, ediff-even-diff-face-C)
5182         (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
5183         (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
5184         (ediff-odd-diff-face-Ancestor): Add special color definitions for
5185         tty and MS-DOS displays.
5187 2002-04-15  Andrew Innes  <andrewi@gnu.org>
5189         * facemenu.el: Require wid-edit.
5191 2002-04-15  Miles Bader  <miles@gnu.org>
5193         * faces.el (highlight): Force foreground to be black on a tty, so
5194         this face is readable on a dark-background tty.
5195         * wid-edit.el (widget-field-face, widget-single-line-field-face):
5196         Likewise.
5198 2002-04-14  Kim F. Storm  <storm@cua.dk>
5200         * simple.el (pop-to-mark-command, push-mark-command): New commands.
5201         (set-mark-command): Use them.
5202         Enhanced functionality when command is repeated:
5203         - If first command set the mark (no prefix arg), repeat temporarily
5204         enables transient-mark-mode.
5205         - If first command jumped to mark off ring (with argument),
5206         repeat (with or without arg) jump to next mark off ring.
5207         - Use C-u C-u prefix to set mark after jump.
5208         (exchange-point-and-mark): Temporarily enable transient-mark-mode
5209         if prefix arg.
5211 2002-04-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5213         * speedbar.el (speedbar-tag-hierarchy-method)
5214         (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
5216 2002-04-14  Mike Williams  <mdub@bigfoot.com>
5218         * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
5219         beginning of buffer.
5221 2002-04-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5223         * speedbar.el (speedbar-generic-item-info)
5224         (speedbar-sort-tags): Doc fix.
5225         (speedbar-add-supported-extension): Fix typo in interactive spec.
5227 2002-04-13  Colin Walters  <walters@verbum.org>
5229         * ibuffer.el (ibuffer-forward-line): Just skip header if we're
5230         only moving one line forward.
5231         (ibuffer-map-lines): Preserve point position even if we delete
5232         lines.  Only call mapping functions with buffer and mark
5233         arguments; the other two were unused.
5234         (ibuffer-redisplay, ibuffer-update): Always skip special areas.
5236         * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
5238         * calc/calc-bin.el (math-format-radix-float): Use `when'.
5240         * calc/calc.el (math-format-number): Load `calc-ext' before we
5241         call `math-group-float'.
5243         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
5244         Renamed from `gamegrid-add-score'.
5245         (gamegrid-add-score-insecure): Restored from the old
5246         `gamegrid-add-score'.
5247         (gamegrid-add-score): Just dispatch on `system-type' to one of the
5248         previous two functions.
5250 2002-04-13  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5252         * iswitchb.el: Update commentary to include new function
5253         iswitchb-exclude-nonmatching.
5255 2002-04-12  John Wiegley  <johnw@gnu.org>
5257         * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
5258         operating systems to the regexp used to detect a script's interpreter.
5260 2002-04-12  Eli Zaretskii  <eliz@is.elta.co.il>
5262         * frame.el (frames-on-display-list): Use `equal' to compare the
5263         `display' frame parameter to the argument DISPLAY.
5265 2002-04-12  Dave Love  <fx@gnu.org>
5267         * help.el (string-key-binding): Deal with margin events.
5269 2002-04-12  Francesco Potorti`  <pot@gnu.org>
5271         * comint.el (comint-password-prompt-regexp): Match " SMB password".
5273 2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>
5275         * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
5277         * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
5279         * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
5280         (buffer-syntactic-context-depth): New funs.
5282         * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
5283         on variables.
5285         * emacs-lisp/debug.el (debug-on-entry): Use push.
5286         (debugger-make-xrefs): Don't assume point-min == 1.
5288         * progmodes/cc-engine.el (c-backward-to-start-of-if):
5289         Don't assume point-min == 1.
5291         * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
5292         (etags-list-tags, etags-tags-apropos, select-tags-table):
5293         Don't assume point-min == 1.
5295 2002-04-12  Mike Williams  <mdub@bigfoot.com>
5297         * textmodes/sgml-mode.el (sgml-guess-indent): New function.
5299 2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>
5301         * textmodes/fill.el (fill-context-prefix): Fix up last change.
5303         * simple.el (line-move): Use memq rather than or.
5304         (transpose-sexps): Don't presume as much of forward-sexp's behavior.
5305         (do-auto-fill): Use fill-move-to-break-point.
5306         (syntax-code-table): Remove.
5308         * textmodes/fill.el (canonically-space-region): Obey sentence-end.
5309         Don't add spaces at end of sentences at end of line.
5310         (fill-move-to-break-point): Make sure the result is always greater
5311         than linebeg, so we ensure forward progress.
5312         (fill-region-as-paragraph): Compare to `to' rather than eobp.
5313         (fill-paragraph): Don't rebind fill-paragraph-function.
5315 2002-04-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5317         * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
5319 2002-04-11  Andreas Schwab  <schwab@suse.de>
5321         * files.el (file-name-non-special): Handle return value of t from
5322         `file-name-completion'.
5324 2002-04-10  Stefan Monnier  <monnier@cs.yale.edu>
5326         * textmodes/fill.el (fill-context-prefix): Match the two prefixes
5327         differently to avoid pathological exponential-time case.
5328         (adaptive-fill-regexp): Add ! and %.
5329         (fill-delete-prefix): Remove indentation while removing prefix.
5330         (fill-delete-newlines): Obey sentence-end.
5331         (fill-move-to-break-point, fill-newline): New functions extracted
5332         from fill-region-as-paragraph.
5333         (fill-region-as-paragraph): Use them.
5334         Don't fiddle with fill-indent-according-to-mode.
5336 2002-04-10  Colin Walters  <walters@verbum.org>
5338         * play/snake.el (snake-score-file): Default to just "snake-scores".
5340         * play/tetris.el (tetris-score-file): Likewise.
5342         * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
5343         use `update-game-score'.
5345         * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
5346         (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
5347         ourselves; take it as an argument.  Caller updated.
5348         (ibuffer-mode): Make mode-class special.
5350 2002-04-10  Richard M. Stallman  <rms@gnu.org>
5352         * dired.el (dired-view-command-alist): New variable.
5353         (dired-view-file): Use external viewers for some files names.
5355         * mouse.el (mouse-drag-region-1): Display region highlight
5356         only in the selected window.
5358         * subr.el (remove-hook): When there are no more local hooks,
5359         kill the buffer-local value.
5361         * isearch.el (isearch-mode): Don't call make-frame-visible
5362         if frame is already visible.
5364         * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
5366 2002-04-09  Emmanuel Briot  <briot@act-europe.fr>
5368         * progmodes/ada-prj.el: Add support for the new project file
5369         fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
5370         Fix widget handling for Emacs 21.  ada-mode now only supports a single
5371         active project file, instead of one per buffer.  This is far less
5372         confusing.
5374         * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
5375         (ada-func-or-proc-name): Get real subprogram name, after change in
5376         ada-mode.el.
5378         * progmodes/ada-xref.el: Ada-mode no longer supports a different
5379         project file per buffer.  This was too complex.  Instead, there is
5380         now a single active project file at any given time, and the user
5381         can switch the active one through the Ada menu.  This revision
5382         also provides better handling of the Windows command line, and the
5383         various available shells on that platform.  ada-mode is now fully
5384         integrated with the GNU visual debugger gvd, see
5385         http://libre.act-europe.fr.
5386         (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
5387         This is only available with GNAT 3.14.
5388         (ada-prj-gnatfind-switches, ada-cd-command): New variable.
5389         (ada-quote-cmd): New function.
5390         (ada-initialize-runtime-library): Get the location of the actual
5391         runtime the compiler will be using, including support for
5392         cross-platform environments.
5393         (ada-treat-cmd-string): Add support for the new variable
5394         ${full_current} add support for debug-pre-cmd and debug-post-cmd,
5395         two commands to run just prior to running the debugger, and just
5396         after starting it.  This provide better support for cross-platform
5397         and remote debugging.
5398         (ada-get-absolute-dir): Remove, replace with expand-file-name.
5399         (ada-gdb-application): New parameter executable-name.
5400         (ada-get-ali-file-name): Better handling of separate packages.
5401         Checkin on behalf of the ada-mode maintainer.
5403         * progmodes/ada-mode.el (ada-case-exception-file)
5404         (ada-indent-handle-comment-special): New variables.
5405         (ada-case-exception-substring): New variable.  Casing exceptions
5406         can now also be defined for substrings, in addition to full
5407         identifier names.  This provides more flexibility.
5408         (ada-align-list): New fun, provide support for align.el in ada-mode.
5409         (ada-procedure-start-regexp): Add support for operators and
5410         generic formal subprograms and packages.
5411         (ada-imenu-comment-re): New variable.
5412         (ada-imenu-generic-expression): Add support for protected types.
5413         (ada-mode): Set comment-start only after running ada-mode-hook, so
5414         that the user can change ada-comment-start in the hook.
5415         Add support for ispell in comments.  Add support for align.el.
5416         (ada-save-exception-file, ada-create-case-exception-substring)
5417         (ada-adjust-case-substring): New functions.
5418         (ada-get-current-indent): Properly handles keywords with uppercases.
5419         (ada-goto-matching-end): Rewritten, fixes problems in the handling
5420         of nested blocks.
5421         (ada-untab-hard): Do not touch the contents of comments and strings.
5423 2002-04-09  Mike Williams  <mdub@bigfoot.com>
5425         * textmodes/sgml-mode.el (sgml-lexical-context):
5426         Use sgml-parse-tag-backward to find start point.
5427         (sgml-looking-back-at): Doc fix.
5429 2002-04-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5431         * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
5432         for prompt.
5434 2002-04-08  Stefan Monnier  <monnier@cs.yale.edu>
5436         * autorevert.el (auto-revert-mode, global-auto-revert-mode):
5437         Use define-minor-mode.
5438         (auto-revert-buffers): Use with-current-buffer.
5439         Avoid changing the minor modes.
5441         * international/iso-acc.el (iso-accents-accent-key): Use `vector'
5442         rather than char-to-string since last-input-char can be any event.
5444         * international/titdic-cnv.el (tit-dictionary):
5445         Use defvar for non-constants.
5447         * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
5448         (global-cwarn-mode): Use easy-mmode-define-global-mode.
5449         (cwarn-font-lock-keywords): New function.
5450         Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
5451         (cwarn-font-lock-match): New macro.
5452         (cwarn-font-lock-match-assignment-in-expression)
5453         (cwarn-font-lock-match-dangerous-semicolon)
5454         (cwarn-font-lock-match-reference): Use it.
5456         * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
5457         Use defvar rather than defconst since it's meant to be settable.
5458         (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
5459         (cperl-fix-line-spacing): Add missing \ in [ t].
5461         * loadup.el: Call ucs-unify-8859 directly rather than
5462         unify-8859-on-encoding-mode.
5463         (fns-*.el): Don't use it anymore.  Keep the load-history in purespace.
5465         * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
5466         (sgml-mode): Use it for comment-line-break-function.
5468 2002-04-08  Jason Rumney  <jasonr@gnu.org>
5470         * international/mule-cmds.el (reset-language-environment):
5471         Handle coding-systems not being defined yet.
5473 2002-04-08  Sam Steingold  <sds@gnu.org>
5475         * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
5476         (vc-cvs-checkin): Use it.
5478 2002-04-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5480         * files.el (display-time-string): Fix last change.
5482 2002-04-07  Sam Steingold  <sds@gnu.org>
5484         * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
5486 2002-04-07  Jason Rumney  <jasonr@gnu.org>
5488         * international/mule-cmds.el (set-default-coding-systems)
5489         (reset-language-environment): Preserve eols on
5490         default-process-coding-system.
5491         (coding-system-change-text-conversion): Fix case where CODING is nil.
5493 2002-04-07  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5495         * subr.el (play-sound): Move here from simple.el.
5497         * simple.el (play-sound): Move to subr.el.
5499 2002-04-06  Richard M. Stallman  <rms@gnu.org>
5501         * files.el (display-time-string-forms): Mark as risky.
5503         * enriched.el (enriched-decode-foreground, enriched-decode-background):
5504         Use proper format for desired elts of `face' property.
5505         Don't test display-color-p; make the properties unconditionally.
5507         * progmodes/compile.el (compilation-error-regexp-alist):
5508         New alternatives for FILE:LINE.COL and for ranges of columns and lines.
5510 2002-04-06  Per Abrahamsen  <abraham@dina.kvl.dk>
5512         * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
5513         for customization type.
5514         Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
5516 2002-04-06  Mike Williams  <mdub@bigfoot.com>
5518         * textmodes/xml-lite.el: Remove.
5520 2002-04-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5522         * simple.el (play-sound): New function (uses play-sound-internal).
5524 2002-04-04  Richard M. Stallman  <rms@gnu.org>
5526         * files.el (mode-line-format, mode-line-modified)
5527         (mode-line-mule-info, mode-line-buffer-identification)
5528         (mode-line-modes, mode-line-position): Explicitly mark as risky.
5529         (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
5531         * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
5533         * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
5534         Use (syntax-table), not old-syntax-table.
5536         * enriched.el (enriched-decode-foreground)
5537         (enriched-decode-background): Don't call facemenu-get-face.
5539 2002-04-04  Mike Williams  <mdub@bigfoot.com>
5541         * textmodes/sgml-mode.el: Add missing require.
5542         (sgml-lexical-context): Fix up CDATA detection for boundary cases.
5544 2002-04-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
5546         * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
5547         spot indicated by text property `cvs-goal-column', if present.
5549         * pcvs-info.el (cvs-fileinfo-pp): Use text property
5550         `cvs-goal-column' to indicate position of file name (if present).
5552 2002-04-03  Richard M. Stallman  <rms@gnu.org>
5554         * mail/mailabbrev.el (mail-abbrev-complete-alias):
5555         Call mail-abbrev-make-syntax-table.
5557         * format.el (format-deannotate-region): Doc fix.
5559         * enriched.el (enriched-face-ans): Delete special treatment
5560         for fg:... and bg:... faces.
5561         (enriched-decode-foreground): Return a list that specifies
5562         the foreground color, rather than creating a face.
5563         (enriched-decode-background): Likewise.
5565         * shell.el (shell-mode): Don't reinit comint-input-ring
5566         if that was already done.
5568 2002-04-03  Edward M. Reingold  <reingold@emr.cs.iit.edu>
5570         * solar.el (solar-spring-or-summer-season): Delete.
5571         (solar-northern-spring-or-summer-season): New variable.
5572         (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
5573         Rewrite.
5575         * solar.el (diary-sabbath-candles-minutes): New variable.
5576         (diary-sabbath-candles): Use it instead of fixed 18 minutes.
5578         * calendar.el (update-calendar-mode-line): Force mode-line update.
5579         Make date under the cursor available as `date' in
5580         calendar-mode-line-format.
5581         Eval items in calendar-mode-line-format list.
5583         * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
5584         (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
5586         * cal-tex.el (cal-tex-latexify-list): Fix doc string.
5588         * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
5589         (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
5590         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5591         (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
5593         * cal-tex.el: Change all instances (interactive "P") to
5594         (interactive "p").
5595         (cal-tex-cursor-month): Add hfill and newline at end of month that
5596         ended on Saturday.
5597         (cal-tex-preamble): Change to LaTeX2e.
5598         (cal-tex-cursor-filofax-year): Don't use default month names in
5599         LaTeX macros in case user changes them.
5600         (cal-tex-month-name): New function.  Used throughout in case user
5601         has done something funny with month names.
5603         * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
5604         (diary-rosh-hodesh): Spelling correction.
5606 2002-04-03  Mike Williams  <mdub@bigfoot.com>
5608         * textmodes/sgml-mode.el (sgml-lexical-context)
5609         (sgml-parse-tag-backward): Extend support for CDATA to include
5610         conditional sections.
5612 2002-04-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5614         * cus-start.el: Rename `autoselect-window' to
5615         `mouse-autoselect-window'.
5617 2002-04-02  Richard M. Stallman  <rms@gnu.org>
5619         * files.el (hack-one-local-variable):
5620         Clear text props from string value.
5622 2002-04-02  Stefan Monnier  <monnier@cs.yale.edu>
5624         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5625         (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
5626         Use regexp-opt.
5627         (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
5628         from F95.
5629         (f90-procedures-re): Add `null' and `cpu_time' from F95.
5630         (f90-font-lock-keywords-1): Minor reorganization so we don't need
5631         `override' any more.
5632         (f90-font-lock-keywords-3): Use `keep' rather than `override'.
5633         (f90-indent-subprogram): Use indent-region.
5634         (f90-break-line): Use indent-according-to-mode.
5636 2002-04-02  Mike Williams  <mdub@bigfoot.com>
5638         * textmodes/sgml-mode.el (sgml-close-tag): Rename from
5639         sgml-insert-end-tag. Simplify by using sgml-lexical-context.
5640         (sgml-get-context): Remove use of sgml-inside-tag-p.
5641         (sgml-inside-tag-p): Remove.
5642         (sgml-looking-back-at): Short-circuit at beg of buffer.
5643         (sgml-lexical-context, sgml-calculate-indent): Add support for
5644         CDATA sections.
5646 2002-04-01  Stefan Monnier  <monnier@cs.yale.edu>
5648         * help.el (help-key-description): New fun.
5649         (describe-key-briefly, describe-key): Use it and
5650         this-single-command-raw-keys plus new arg `untranslated'.
5652         * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
5653         (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
5654         (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
5655         (sgml-insert-end-tag): New funs taken from xml-lite.el.
5656         (sgml-calculate-indent): Use them.
5657         (sgml-slash-matching): Rename from sgml-slash.
5658         (sgml-slash): Copied from xml-lite and changed to use
5659         sgml-slash-matching and sgml-quick-keys.
5661         * international/mule-cmds.el (standard-keyboard-coding-systems):
5662         Add koi8-u and koi8-r.
5664         * eshell/.cvsignore: New file.
5666         * eshell/esh-groups.el: Remove.
5668         * progmodes/tcl.el: Change maintainer.
5669         (tcl-electric-hash-style): Change default to nil.
5670         (tcl-imenu-generic-expression): Use tcl-proc-regexp.
5671         (tcl-do-auto-fill): Remove.
5672         (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
5674 2002-04-01  Mike Williams  <mdub@bigfoot.com>
5676         * textmodes/sgml-mode.el: Doc fixes.
5677         (sgml-mode): Set indent-line-function to sgml-indent-line.
5678         (sgml-calculate-indent): Add an explicit check for 'text syntax,
5679         to protect against future enhancements to sgml-lexical-context.
5680         (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
5682         * textmodes/xml-lite.el: Removed much redundant stuff.
5683         (xml-lite-parse-tag-backward): Simplify parsing by assuming we
5684         always start within text. Make use of sgml-unclosed-tag-p.
5686 2002-04-01  Ville Skytt\e,Ad\e(B  <ville.skytta@xemacs.org>
5688         * tcl.el (tcl-imenu-generic-expression): New value.
5689         (tcl-imenu-create-index-function): Function deleted.
5690         (tcl-mode): Check for filladapt-mode.
5691         Use tcl-imenu-generic-expression instead of
5692         tcl-imenu-create-index-function.
5693         (inferior-tcl-mode): Doc fix.
5694         Change not legally significant.
5696 2002-04-01  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5698         * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
5700         * window.el (handle-select-window): New function.
5701         Update copyright.
5703 2002-04-01  Richard M. Stallman  <rms@gnu.org>
5705         * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
5707         * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
5708         tool-bar-add-item, and new arg MAP.
5709         (tool-bar-add-item): Now calls tool-bar-local-item.
5710         (tool-bar-local-item-from-menu): Renamed from
5711         tool-bar-add-item-from-menu, and new arg IN-MAP.
5712         (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
5714         * help-fns.el (help-with-tutorial): Allow various ways
5715         to specify the text in the [...] line, in handling the <...> line.
5717         * progmodes/idlw-rinfo.el (idlwave-system-routines):
5718         WOLRDTITLE => WORLDTITLE.  SUPRESS_VALUE => SUPPRESS_VALUE.
5720         * subr.el (redraw-modeline): Define alias.
5722 2002-03-31  Richard M. Stallman  <rms@gnu.org>
5724         * files.el (file-expand-wildcards): Use save-match-data.
5726         * files.el (format-alist): Mark as risky.
5728         * simple.el (kill-new): Doc fix.
5730         * emacs-lisp/byte-opt.el (side-effect-free-fns)
5731         (side-effect-and-error-free-fns): Add many functions, remove some.
5733 2002-03-30  Richard M. Stallman  <rms@gnu.org>
5735         * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
5737 2002-03-30  Eli Zaretskii  <eliz@gnu.org>
5739         * font-lock.el (save-buffer-state): Fix last change.
5741         * files.el (auto-save-file-name-transforms): Fix last change.
5743         * startup.el (command-line): Fix last change.
5745 2002-03-29  Richard M. Stallman  <rms@gnu.org>
5747         * subr.el (play-sound-file): Moved to simple.el.
5749         * simple.el (play-sound-file): Moved from subr.el, made unconditional.
5751 2002-03-29  Colin Walters  <walters@verbum.org>
5753         * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
5754         instead of `forward-line'.
5755         (ibuffer-forward-line): Be sure to skip over special properties
5756         before moving, too.
5758         * calc/calc.el (calc-was-split): Var deleted.
5759         (calc): Remove reference to it.
5760         (calc): Ditto.
5761         (calc-quit): Ditto.
5762         (calc-init-base): Ditto.
5764         * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
5766 2002-03-29  Stefan Monnier  <monnier@cs.yale.edu>
5768         * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
5769         instead of nil when point is outside of any tag.
5770         (sgml-beginning-of-tag): Adjust to the change.
5771         (sgml-calculate-indent): Use the new info returned by
5772         sgml-lexical-context.  Try to handle unclosed tags.
5774         * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
5775         at unclosed tags unless it is at indentation.
5776         Kill nested unclosed tags.
5777         (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
5778         (xml-lite-mode): Use sgml-indent-line instead.
5780 2002-03-29  Eli Zaretskii  <eliz@is.elta.co.il>
5782         * files.el (auto-save-file-name-transforms): Don't run "\\2" via
5783         expand-file-name.
5785         * startup.el (command-line): Recompute auto-save-file-name-transforms
5786         using the updated value of temporary-file-directory.
5788 2002-03-29  Stefan Monnier  <monnier@cs.yale.edu>
5790         * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
5791         even with an empty context.  Don't save excursion any more.
5792         Don't complain about unmatched start-tags in sgml-unclosed-tags.
5793         Ignore end-tags in sgml-empty-tags.
5794         (xml-lite-get-context, xml-lite-calculate-indent)
5795         (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
5796         (xml-lite-indent-line): Use back-to-indentation.
5798         * textmodes/sgml-mode.el (sgml-basic-offset): New var.
5799         (sgml-name-re, sgml-attrs-re): New consts.
5800         (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
5801         (sgml-mode): Use them.
5802         (sgml-lexical-context): Default to (point-min) if nothing else works.
5803         (sgml-calculate-indent): Indent slightly differently.
5804         (sgml-indent-line): Use back-to-indentation.
5805         (sgml-parse-dtd): New function.
5806         (sgml-unclosed-tags): New var.
5807         (html-mode): Set it.
5809 2002-03-29  Simon Marshall  <simon.marshall@misys.com>
5811         * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
5813 2002-03-29  Richard M. Stallman  <rms@gnu.org>
5815         * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
5816         Use FILTER arg in dired-get-marked-files to exclude directories.
5817         (dired-nondirectory-p): New function.
5819         * dired.el (dired-get-marked-files): New arg FILTER
5820         allows selection of some files.
5822         * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
5824 2002-03-29  Eric M. Ludlam  <eric@siege-engine.com>
5826         * speedbar.el (speedbar-default-directory-list): Made robust
5827         against deleted directories.
5829 2002-03-28  Richard M. Stallman  <rms@gnu.org>
5831         * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
5832         Bindings changed.
5834         * progmodes/compile.el (compilation-handle-exit):
5835         If compilation-window-height is 0, display status in echo area.
5837         * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
5839         * rect.el (replace-rectangle): Add autoload.
5841         * files.el: Mark many more variables as risky.
5842         (hack-one-local-variable): Recognize several additional
5843         patterns as risky.
5845         * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
5847 2002-03-28  Stefan Monnier  <monnier@cs.yale.edu>
5849         * textmodes/xml-lite.el (xml-lite-in-string-p):
5850         Use sgml-lexical-context.
5851         (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
5852         (xml-lite-get-context): Check that open/close tags match.
5853         Don't stop scanning while we're ignoring matching tags.
5855         * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
5856         (sgml-mode-syntax-table): Use it.
5857         (sgml-tag-syntax-table, sgml-tag-name-re): New const.
5858         (sgml-tags-invisible): Use it.
5859         (sgml-lexical-context): New fun.
5860         (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
5861         (sgml-quote): Accept \n as entity reference terminator.
5862         (sgml-calculate-indent, sgml-indent-line): New funs.
5864 2002-03-28  Andre Spiegel  <spiegel@gnu.org>
5866         * vc-cvs.el (vc-cvs-global-switches): New user option.
5867         (vc-cvs-command): New function.  Update all callers of
5868         `vc-do-command' in vc-cvs.el to use this instead.
5870 2002-03-27  Andrew Innes  <andrewi@gnu.org>
5872         * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
5873         relying on shell globbing.
5875 2002-03-27  Colin Walters  <walters@debian.org>
5877         * ibuffer.el (ibuffer-help-buffer-modes): New variable.
5878         (ibuffer-fontification-alist): Use it.
5879         (ibuffer-backward-line): Handle `ibuffer-summary' area.
5880         (ibuffer-forward-line): Ditto.
5882         * ibuf-ext.el (sorter mode-name): Doc fix.
5883         (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
5884         (operation query-replace): Use new `noerror' arg for
5885         `query-replace-read-args'.
5886         (operation query-replace-regexp): Ditto.
5888 2002-03-27  Stefan Monnier  <monnier@cs.yale.edu>
5890         * textmodes/xml-lite.el: Fix copyright notice.
5891         (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
5892         (xml-lite-indent-comment-offset): Remove.
5893         (xml-lite-calculate-indent): Use new name.  Use natural alignment
5894         for comments.
5895         (xml-lite-in-string-p): Simplify.
5897 2002-03-27  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5899         * allout.el (outline-layout): Doc fix.
5901 2002-03-27  Stefan Monnier  <monnier@cs.yale.edu>
5903         * textmodes/xml-lite.el: Don't require `custom'.
5904         (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
5905         (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
5906         (xml-lite-get-context): Drop nested tags not just for comments.
5907         (xml-lite-indent-line): Be more careful about moving point.
5908         (xml-lite-insert-end-tag, xml-lite-slash):
5909         Use indent-according-to-mode instead of xml-lite-indent-line.
5910         (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
5911         Set sgml-xml-mode.  Don't call force-mode-line-update.
5912         (xml-lite-mode-map): Don't bind TAB.
5914 2002-03-27  Zoltan Kemenczy  <zoltan@ieee.org>
5916         * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
5917         parameter value.
5918         (gud-jdb-build-source-files-list): Comment clarification.
5919         (gud-jdb-massage-args): Reworked into loop-based argument list
5920         processing in order to support -classpath and -sourcepath argument
5921         processing.
5922         (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
5923         to gud-jdb-classpath to obtain search list.
5924         (gud-jdb-parse-classpath-string): Remove any trailing slashes from
5925         directory names in classpath/sourcepath lists, update comment.
5926         (jdb): Add setting of gud-jdb-sourcepath, update comment.
5927         (gud-find-class): Add gud-jdb-sourcepath use, and correct
5928         behaviour for the case when classpath is not used--backward
5929         compatibility fix.
5931 2002-03-27  Eli Zaretskii  <eliz@is.elta.co.il>
5933         * Makefile.in (compile, compile-always): Don't try to compile
5934         non-existent files or files in empty directories.
5936 2002-03-26  Michael Ernst  <mernst@alum.mit.edu>
5938         * compare-w.el (compare-windows-whitespace): Match all whitespace.
5940         * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
5941         copy of standard Lisp directories.
5943         * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
5944         Support "next has longname" link type.
5946 2002-03-26  Stefan Monnier  <monnier@cs.yale.edu>
5948         * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
5949         (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
5950         New functions.
5951         (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
5952         (end-of-xml-tag): Remove.
5953         (xml-lite-get-context): Better handling of comments.
5954         (xml-lite-calculate-indent): Use xml-lite-in-string-p.
5955         (xml-lite-parse-tag-backward): Rewrite.
5957 2002-03-26  Juanma Barranquero  <lektu@terra.es>
5959         * makefile.w32-in (WINS): Add the toolbar directory.
5961 2002-03-26  Richard M. Stallman  <rms@gnu.org>
5963         * subr.el (substring-no-properties): Function deleted (now in C).
5965 2002-03-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5967         * mwheel.el (mouse-wheel-mode): Use global-set-key and
5968         global-unset-key.
5970 2002-03-24  Richard M. Stallman  <rms@gnu.org>
5972         * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
5974         * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
5975         to query-replace-read-args.
5977         * progmodes/compile.el (compilation-forget-errors):
5978         Don't adjust compilation-parsing-end if it's nil.
5980         * replace.el (query-replace-read-args): New optional arg NOERROR.
5981         (perform-replace): Use save-window-excursion around recursive edit.
5983 2002-03-24  Colin Walters  <walters@verbum.org>
5985         * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
5986         non-nil, then always use another window.
5988 2002-03-24  Gerd Moellmann  <gerd@gnu.org>
5990         * subr.el (macro-declaration-function): New function.  Set the
5991         variable macro-declaration-function to it.
5993         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5994         Handle declarations in macro definitions.
5996 2002-03-24  Eli Zaretskii  <eliz@is.elta.co.il>
5998         * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
6000         * enriched.el (enriched-face-ans): Support FACE of the form
6001         (:foreground COLOR) and (:background COLOR).
6002         (enriched-decode-foreground, enriched-decode-background): Set the
6003         fore- and background colors of the faces we create, since facemenu
6004         doesn't.
6006 2002-03-24  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6008         * mwheel.el (mouse-wheel-mode): Use the result of
6009         current-global-map instead of the variable `global-map'.
6011 2002-03-23  Richard M. Stallman  <rms@gnu.org>
6013         * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
6014         broken out of sendmail-pre-abbrev-expand-hook.
6015         (sendmail-pre-abbrev-expand-hook): Use it.
6017 2002-03-22  Stefan Monnier  <monnier@cs.yale.edu>
6019         * Makefile.in (finder-inf.el): Remove.
6020         (finder-data): Don't depend on finder-inf.el any more.
6021         (compile, compile-always): Handle the case where some files
6022         from DONTCOMPILE are missing (it tried to compile them).
6023         (bootstrap-clean): Use src/emacs only if executable.
6024         (bootstrap): Update subdirs.el and finder-inf.el.
6026         * finder.el: Don't load finder-inf.el during byte-compilation.
6028         * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
6029         Don't consider cvs-removed files as under VC control.
6030         VC wouldn't handle them properly anyway and it confuses
6031         vc-file-not-found-hook.
6033         * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
6034         Add autoload cookie.
6036 2002-03-22  Eli Zaretskii  <eliz@is.elta.co.il>
6038         * calendar/calendar.el (calendar): Doc fix.
6040 2002-03-22  Juanma Barranquero  <lektu@terra.es>
6042         * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
6043         (gomoku-font-lock-X-face): Likewise.
6044         (gomoku-font-lock-keywords): Use faces instead of variables.
6046 2002-03-21  Stefan Monnier  <monnier@cs.yale.edu>
6048         * Makefile.in (bootstrap): Make sure subdirs.el is ready.
6050 2002-03-21  Kim F. Storm  <storm@cua.dk>
6052         * simple.el (open-network-stream, open-network-stream-nowait)
6053         (open-network-stream-server): Use featurep to test for
6054         supported networking features.
6056 2002-03-21  Thien-Thi Nguyen  <ttn@gnu.org>
6058         * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
6059         directions as the last action.
6061 2002-03-21  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6063         * startup.el (fancy-splash-tail, normal-splash-screen):
6064         Update copyright.
6066         * novice.el (disabled-command-hook): Clarify output text to match
6067         prompt.
6069 2002-03-20  Jason Rumney  <jasonr@gnu.org>
6071         * frame.el (display-images-p): Do not explicitly check display type.
6073 2002-03-20  pmr-sav  <pmr-sav@hamm.pajato.com>
6075         * mail-utils.el:
6076         Eliminate compilation warnings due to `rfc822-addresses'.
6077         (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
6078         warning free compile.
6080 2002-03-20  Michael Kifer  <kifer@cs.stonybrook.edu>
6082         * ediff-diff.el (ediff-install-fine-diff-if-necessary):
6083         Take the current highlighting style into account.
6084         (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
6085         (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
6087         * ediff-init.el (ediff-patch-job): New macro.
6089         * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
6090         (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
6092         * ediff-ptch.el (ediff-map-patch-buffer):
6093         Use ediff-make-new-meta-list-header.
6094         (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
6096         * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
6097         (ediff-select-difference): Take highlighting style into account.
6098         (ediff-clone-buffer-for-region-comparison): New function.
6099         (ediff-inferior-compare-regions): Added comparison of current diff
6100         regions.
6102         * ediff.el (ediff-clone-buffer-for-region-comparison)
6103         (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
6105 2002-03-19  pmr-sav  <pmr-sav@hamm.pajato.com>
6107         * mail-utils.el (rmail-dont-reply-to):
6108         Overhaul to correctly apply the regular
6109         expressions in the variable `rmail-dont-reply-to-names' to the list of
6110         destination addresses.  Contributed by lorentey@elte.hu.
6112         * rmail.el (rmail-dont-reply-to-names):
6113         Modify the documentation to make it email
6114         address centric rather than login name centric.  Contributed by
6115         lorentey@elte.hu.
6117 2002-03-18  Colin Walters  <walters@verbum.org>
6119         * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
6120         we don't require `cl' at runtime.
6121         (sorting mode mode-name): Don't take the symbol-name of a string.
6123         * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
6124         line after setting the mark.
6125         (ibuffer-insert-buffers-and-marks): Invert the test for
6126         `ibuffer-sorting-reversep'.
6128 2002-03-18  Stefan Monnier  <monnier@cs.yale.edu>
6130         * international/ucs-tables.el (unify-8859-on-decoding-mode)
6131         (unify-8859-on-encoding-mode): Remove autoload cookie.
6133 2002-03-18  Andre Spiegel  <spiegel@gnu.org>
6135         * vc-rcs.el (vc-rcs-register): Fix handling of
6136         vc-[rcs-]register-switches.
6137         (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
6138         Variables removed, since they weren't used yet.
6140         * vc-cvs.el (vc-cvs-register): Fix handling of
6141         vc-[cvs-]register-switches.
6143         * vc-sccs.el (vc-sccs-register): Fix handling of
6144         vc-[sccs-]register-switches.
6146 2002-03-18  Stefan Monnier  <monnier@cs.yale.edu>
6148         * loadup.el ("emacs-lisp/backquote"): Load earlier.
6149         ("international/ucs-tables"): Load and turn on
6150         unify-8859-on-encoding-mode unconditionally.
6151         (emacs-version): Use `defconst' rather than `setq'.
6153         * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
6155 2002-03-18  Richard M. Stallman  <rms@gnu.org>
6157         * menu-bar.el (menu-bar-options-menu): Cope if
6158         text-mode-hook is not a list.
6160 2002-03-17  Richard M. Stallman  <rms@gnu.org>
6162         * emulation/pc-select.el (pc-selection-mode):
6163         Alter the existing global map, don't replace it.
6165         * files.el (list-directory): Set default-directory at the end.
6167         * dabbrev.el (dabbrev--goto-start-of-abbrev):
6168         Put a limit on field-beginning search.
6170 2002-03-17  Simon Josefsson  <jas@extundo.com>
6172         * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
6173         (browse-url-mosaic): Use it.
6175         * net/browse-url.el (browse-url-filename-alist): Don't begin
6176         docstring with *, you don't want to set this one with M-x set-variable.
6178         * net/browse-url.el: Put * in user option doc strings.
6180 2002-03-17  Stefan Monnier  <monnier@cs.yale.edu>
6182         * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
6183         (sgml-xml-guess): Simplify.
6184         (sgml-mode-common): Remove (move into sgml-mode).
6185         (sgml-mode): Add code from sgml-mode-common.
6186         Remove redundant setting of indent-line-function.
6187         Don't set skeleton-transformation when in XML mode.
6189         * international/mule-diag.el (describe-char-after):
6190         Use `internal-describe-syntax-value' again (got lost somewhere).
6192         * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
6193         Use unify-8859-on-decoding-mode.
6194         (unify-8859-on-decoding-mode): Also set translation-table-for-input.
6195         (ucs-insert): Give an error if the unicode char can't be created.
6197         * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
6198         (cvs-parse-status): Handle the "used to have a conflict" marker.
6200 2002-03-17  Kim F. Storm  <storm@cua.dk>
6202         The following changes are related to the enhanced network process
6203         support.
6205         * simple.el: Update copyright.
6206         (clone-process): Use make-network-process to clone network
6207         processes.  Get command list via (process-contact ... t).
6208         Use set-process-query-on-exit-flag and process-query-on-exit-flag
6209         instead of process-kill-without-query.
6210         (open-network-stream): Replaces C-version from process.c.
6211         (open-network-stream-nowait, open-network-stream-server): New funs.
6212         (process-kill-without-query): Replaces C-version from process.c.
6214         * files.el: Update copyright.
6215         (save-buffers-kill-emacs): Also check for active server
6216         processes.  Use process-query-on-exit-flag.  Only list processes
6217         which has the query-on-exit flag set in connection with user query.
6219         * shadowfile.el: Update copyright.
6220         (shadow-save-buffers-kill-emacs): Also check for active server
6221         processes.  Use process-query-on-exit-flag.
6223 2002-03-16  Simon Marshall  <simon.marshall@misys.com>
6225         * imenu.el (imenu-menubar-modified-tick): Renamed from
6226         imenu-update-menubar-modified-tick.
6227         (imenu-update-menubar): Update imenu-menubar-modified-tick
6228         whenever outer condition succeeds.
6230         * lazy-lock.el (save-buffer-state):
6231         Bind inhibit-modification-hooks and buffer-file-truename
6232         instead of before-change-functions and after-change-functions.
6234 2002-03-16  Eli Zaretskii  <eliz@is.elta.co.il>
6236         * international/codepage.el (codepage-setup): Don't define a
6237         codepage if it is already defined.
6239         * textmodes/po.el (po-content-type-charset-alist): Convert the
6240         car of each association to a string.
6241         (po-find-file-coding-system-guts): If the charset matches a name
6242         of a codepage, set up that codepage and return it as a coding
6243         system to decode the file.
6244         (po-find-charset): Search for the Charset= header even if we've
6245         read less than 4KB.
6246         <top-level>: Remove the setup for all known codepages: it seems
6247         to cause crashes in the CCL driver.
6249 2002-03-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6251         * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
6252         (bibtex-entry-field-alist): Doc fix.
6254 2002-03-16  Richard M. Stallman  <rms@gnu.org>
6256         * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
6257         Move definition above cperl-outline-regexp.
6259         * bindings.el (mode-line-mule-info): In computing help-echo prop,
6260         avoid using save-window-excursion.  And compile the function.
6262 2002-03-15  Stefan Monnier  <monnier@cs.yale.edu>
6264         * files.el (load-completion): New function.
6265         (load-library): Use it.
6267 2002-03-15  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6269         * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
6270         to match the actual code.
6272 2002-03-15  Eli Zaretskii  <eliz@is.elta.co.il>
6274         * textmodes/po.el (po-find-file-coding-system-guts):
6275         Use with-temp-buffer instead of po-with-temp-buffer.
6277         * international/mule-conf.el (file-coding-system-alist): Add an
6278         association for PO files.
6280         * textmodes/po.el: New file.
6282 2002-03-15  Gerd Moellmann  <gerd@gnu.org>
6284         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6285         Fix simple loop indentation.
6287 2002-03-14  Miles Bader  <miles@gnu.org>
6289         * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
6291 2002-03-14  Richard M. Stallman  <rms@gnu.org>
6293         * textmodes/picture.el (picture-insert)
6294         (picture-clear-column, picture-draw-rectangle):
6295         Use move-to-column, not move-to-column-force.
6297         * dired.el (dired-readin): Clear out undo list.
6298         (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
6299         (dired-delete-entry): New function.
6300         (dired-internal-do-deletions): Use dired-fun-in-all-buffers
6301         and dired-delete-entry, to update this buffer (and others).
6303         * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
6305         * facemenu.el (facemenu-add-new-face):
6306         Pass region args to facemenu-set-face, when there is a region.
6307         (facemenu-set-foreground, facemenu-set-background)
6308         (facemenu-add-face): Doc fixes.
6310         * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
6312 2002-03-14  Miles Bader  <miles@gnu.org>
6314         * emacs-lisp/debug.el: Require `button'.
6315         (debugger-mode-map): Set the parent keymap to `button-buffer-map',
6316         to get TAB and <backtab> bindings.
6318         * net/rlogin.el (rlogin-carriage-filter): Function removed.
6319         (rlogin): Don't install the `rlogin-carriage-filter' filter, as
6320         comint removes carriage returns itself now.
6322         * rfn-eshadow.el (rfn-eshadow-update-overlay):
6323         Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
6324         getting hosed by our own intangible property.
6326 2002-03-13  Stefan Monnier  <monnier@cs.yale.edu>
6328         * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
6329         Add fortran-comment-line-start-skip to comment-start-skip.
6330         (fortran-comment-indent): Keep whole-line comments in column 0.
6331         (fortran-find-comment-start-skip): New arg `all'.
6332         If ALL is nil, make sure we only match comment-start-skip if we
6333         can't match fortran-comment-line-start-skip.
6334         Fix bug that made it return t but without moving point when
6335         matching '!'! (a false-comment followed by a real comment).
6336         (fortran-indent-comment): Use new `all' argument above.
6337         Be careful not to add an incorrect comment-starter like "C"
6338         in comment-column.
6339         (fortran-split-line): When splitting a comment, reuse the comment
6340         starter from the current line rather than fortran-comment-line-start.
6341         (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
6342         cleaner behavior of fortran-find-comment-start-skip.
6343         (fortran-fill): Don't be confused by ! inside a comment.
6344         (fortran-break-line): Minor cleanup and simplification.
6346 2002-03-13  Francesco Potorti`  <pot@gnu.org>
6348         * progmodes/etags.el (tag-exact-file-name-match-p)
6349         (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
6350         simpler regexp.
6352 2002-03-12  Colin Walters  <walters@debian.org>
6354         * ibuffer.el (ibuffer-redisplay-current): Don't move point when
6355         redisplaying a line.
6357 2002-03-12  Jan D.  <Jan.Djarv@mbox200.swipnet.se>
6359         * term/x-win.el (emacs-session-restore): Take previous id as
6360         an argument.
6361         (emacs-session-save): Add comment that return t means cancel shutdown
6363         * startup.el (command-line): Must check that x-session-previous-id
6364         is bound also, for non-X platforms.
6366 2002-03-12  Gerd Moellmann  <gerd@gnu.org>
6368         * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
6369         (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
6370         New user options.
6371         (extended-loop-p, common-lisp-loop-part-indentation): New functions.
6372         (common-lisp-indent-function-1): Renamed from
6373         common-lisp-indent-function.
6374         (common-lisp-indent-function): Handle loop forms specially.
6375         (lisp-indent-defmethod): Use car/cdr instead of first/rest.
6376         (lisp-backquote-indentation): New user option.
6378 2002-03-12  Francesco Potorti`  <pot@gnu.org>
6380         * progmodes/etags.el (tag-exact-file-name-match-p)
6381         (tag-file-name-match-p, tag-partial-file-name-match-p):
6382         Assume that the header of a tags section has either a number
6383         or nothing after the last comma.
6385 2002-03-11  Richard M. Stallman  <rms@gnu.org>
6387         * imenu.el (imenu-update-menubar-modified-tick): New variable.
6388         (imenu-update-menubar): Don't call imenu--make-index-alist
6389         if buffer has not changed since last time.
6391         * desktop.el (desktop-buffer-handlers): Doc fix.
6392         (desktop-buffer-file): Explicitly return BUF.
6394         * paren.el (show-paren-function): Move back in other direction
6395         to verify the match is correct.
6397         * mail/supercite.el (sc-select-attribution): Accept whatever value
6398         we get in CHOICE; there is no value meaning "try again".
6400 2002-03-11  Colin Walters  <walters@verbum.org>
6402         * shell.el (toplevel): Revert previous change to use pcomplete.
6403         (shell-mode): Ditto.
6404         (shell-pcomplete-setup-done): Remove.
6405         (shell-pcomplete): Ditto.
6406         (shell-pcomplete-reverse): Ditto.
6408         * comint.el: Remove documentation on setting up pcomplete.
6410 2002-03-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6412         * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
6413         item.  Doc fix.
6415         * image.el (image-type-from-file-header): Make temporary buffer
6416         unibyte.
6418         * subr.el (add-to-list): Doc fix.
6420 2002-03-11  Miles Bader  <miles@gnu.org>
6422         * pcomplete.el (pcomplete-entries): Expand environment variables
6423         in filename.
6425 2002-03-10  Daniel Pfeiffer  <occitan@esperanto.org>
6427         * play/mpuz.el: Use defface instead of facemenu-get-face.
6429 2002-03-10  Jan D.  <Jan.Djarv@mbox200.swipnet.se>
6431         * startup.el (command-line): Add call to emacs-session-restore if
6432         both x-session-id and x-session-previous-id are strings.
6434         * term/x-win.el (x-handle-smid): New function.
6435         (emacs-session-filename): New function.
6436         (emacs-session-save): New function.
6437         (emacs-save-session-functions): New variable.
6438         (emacs-session-restore): New function.
6440 2002-03-09  Eli Zaretskii  <eliz@is.elta.co.il>
6442         * simple.el (shell-command-on-region): Call push-mark with
6443         non-nil second arg, to suppress the "Mark set" message.
6445 2002-03-08  Richard M. Stallman  <rms@gnu.org>
6447         * textmodes/picture.el (picture-forward-column): New arg `interactive'
6448         is non-nil for an interactive call.  Use instead of interactive-p.
6449         (picture-backward-column): Likewise.
6451         * tar-mode.el (tar-untar-buffer): New function.
6453         * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
6454         Put the mouse-face on the entire xref, like the local keymap.
6456         * find-dired.el (find-name-dired): Use shell-quote-argument.
6458 2002-03-08  Daniel Pfeiffer  <occitan@esperanto.org>
6460         * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
6461         (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
6462         (mpuz-allow-double-multiplicator): New options for nicer look and
6463         new features.
6464         (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
6465         (mpuz-check-all-solved, mpuz-random-puzzle)
6466         (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
6467         (mpuz-show-solution): Functions streamlined and removed french
6468         style space before punctuation, added face support and optional
6469         solving of trivial results.
6471 2002-03-07  Colin Walters  <walters@verbum.org>
6473         * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
6475         * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
6476         instead of "recency" for clarity.
6477         (ibuffer-compile-format): Document more.  Handle new "summarizer"
6478         columns.
6479         (ibuffer-fontify-region-function): Ditto.
6480         (ibuffer-insert-buffer-line): Ditto.
6481         (ibuffer-map-lines): Ditto.
6482         (ibuffer-insert-buffers-and-marks): Ditto.
6483         (ibuffer-update-title-and-summary): Renamed from
6484         `ibuffer-update-title'.  Handle "summarizer" columns.
6485         (ibuffer-clear-summary-columns): New function.
6487         * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
6489 2002-03-07  Gerd Moellmann  <gerd@gnu.org>
6491         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6492         Use the other-window instead of the other-frame functions when
6493         the window is dedicated.
6495 2002-03-06  ShengHuo ZHU  <zsh@cs.rochester.edu>
6497         * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
6498         with SILENT so that a new field can be added.
6500 2002-03-06  Eli Zaretskii  <eliz@is.elta.co.il>
6502         * files.el (make-auto-save-file-name): Make sure the produced file
6503         name does not contain characters that are invalid for DOS/Windows
6504         filesystems.
6506         * dos-fns.el, w32-fns.el (make-auto-save-file-name):
6507         Remove replacement functions.
6509 2002-03-06  Gerd Moellmann  <gerd@gnu.org>
6511         * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
6512         the form `:x'.
6514         * vc.el (vc-branch-part): Add autoload cookie.  This function can
6515         be called from vc-rcs-find-most-recent-rev when visiting a file
6516         checked into RCS in a CVS sandbox.
6518 2002-03-06  Andreas Schwab  <schwab@suse.de>
6520         * progmodes/hideif.el: Augment expression parser to handle
6521         conditional expressions.
6522         (hif-token-regexp): Also match `?' and `:'.
6523         (hif-tokenize): Handle `?' and ':' as tokens.
6524         (hif-expr): Parse conditional expressions.
6525         (hif-or-expr): Parse `||' expressions.
6526         (hif-and-expr): Renamed from hif-term.
6527         (hif-conditional): New function to evaluate a conditional
6528         expression.
6530 2002-03-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6532         * language/czech.el ("Czech"): Fix the documentation.
6534         * language/slovak.el ("Slovak"): Likewise.
6536 2002-03-05  ShengHuo ZHU  <zsh@cs.rochester.edu>
6538         * xml.el (xml-parse-attlist): Accept empty strings.
6540 2002-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
6542         * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
6543         all terminals now support highlighting of some kind.
6545         * language/european.el (mac-roman): Fix the safe-chars property.
6547 2002-03-05  Andre Spiegel  <spiegel@gnu.org>
6549         * vc.el (vc-transfer-file): Use `make-temp-file'.
6550         (vc-default-update-changelog): Remove conditional use of
6551         `make-temp-name'.
6553         * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
6555 2002-03-05  Michael Kifer  <kifer@cs.stonybrook.edu>
6557         * ediff-init.el: Comments.
6559         * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
6560         is loaded.
6562         * ediff-mult.el (ediff-intersect-directories)
6563         (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
6564         Cleanup.
6565         (ediff-draw-dir-diffs): Now supports the "C" command in directory
6566         difference buffer.
6567         (ediff-dir-diff-copy-file): New function that implements copying
6568         of files from one Ediff dir to another
6569         (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
6570         (ediff-append-custom-diff): Better error msgs.
6572         * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
6573         (ediff-inferior-compare-regions): Use
6574         ediff-clone-buffer-for-region-comparison. Better and simpler interface.
6576         * ediff.el (ediff-directories-internal): Cleanup.
6577         (ediff-clone-buffer-for-region-comparison): Better interface.
6579 2002-03-04  Richard M. Stallman  <rms@gnu.org>
6581         * emacs-lisp/easy-mmode.el (define-minor-mode):
6582         Use "P" in interactive spec of minor mode commands.
6584 2002-03-04  Stefan Monnier  <monnier@cs.yale.edu>
6586         * faces.el (face-spec-choose): Allow `t' to appear before the end.
6587         (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
6588         (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
6589         (variable-pitch, trailing-whitespace): Don't use the old-style entries.
6590         (mode-line-inactive, header-line): Move the `t' section to the
6591         beginning so the `:inherit' setting can be shared.
6593 2002-03-04  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6595         * net/snmp-mode.el: Require tempo when compiling to prevent
6596         warnings.  Update copyright notice.
6598         * help.el (describe-key-briefly, describe-key): Interpret `undefined'
6599         like not defined at all.
6601 2002-03-03  Stefan Monnier  <monnier@cs.yale.edu>
6603         * textmodes/sgml-mode.el: Change maintainer to FSF.
6604         (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
6605         (sgml-tags-invisible, sgml-beginning-of-tag):
6606         Allow _ : and non-ASCII in tag names, as required for XML.
6607         (sgml-name-char): Don't assume anything about charsets handled by
6608         encode-char.
6610         * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
6611         where one of the buffers is narrowed.
6613         * hexl.el (hexlify-command, dehexlify-command): Remove.
6614         (hexlify-buffer, dehexlify-buffer): Use call-process-region
6615         rather than shell-command-on-region.
6617         * newcomment.el (comment-forward): Use forward-comment to skip
6618         over whitespace (or comments) even when comment-use-syntax is nil.
6620         * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
6622         * textmodes/xml-lite.el: New file.
6624 2002-03-03  Richard M. Stallman  <rms@gnu.org>
6626         * textmodes/artist.el (artist-system): Use make-temp-file.
6628         * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
6630         * mail/sendmail.el (mail-recover-1): Increase non-random-len
6631         by 1 since we changed make-auto-save-file-name to add one
6632         fewer character to the buffer name.
6633         (mail-recover): Really show point at the right place
6634         in the *Directory* buffer.
6636         * files.el (make-auto-save-file-name): Use make-temp-file.
6638         * terminal.el (te-create-terminfo): Use make-temp-file
6639         to create the source file in a safe way.
6641 2002-03-03  Eli Zaretskii  <eliz@is.elta.co.il>
6643         * cus-start.el: Rename automatic-hscroll-step and
6644         automatic-hscroll-margin into hscroll-step and hscroll-margin.
6646         * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
6647         (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
6649         * mouse.el (mouse-region-delete-keys): Add deletechar.
6651 2002-03-03  Sam Steingold  <sds@gnu.org>
6653         * play/snake.el (snake-score-file): Fixed parens (broken by the
6654         last patch).
6655         * play/tetris.el (tetris-score-file): Ditto.
6657 2002-03-03  Richard M. Stallman  <rms@gnu.org>
6659         * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
6661         * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
6663         * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
6664         (gamegrid-make-mono-tty-face): Fix usage of condition-case.
6666 2002-03-03  Thien-Thi Nguyen  <ttn@gnu.org>
6668         * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
6669         instead of `buffer-substring-no-properties' to support enriched mode.
6671 2002-03-02  Richard M. Stallman  <rms@gnu.org>
6673         * find-dired.el (find-grep-dired): Call shell-quote-argument.
6674         Specify the -e option.
6675         Rename arg to `regexp'.
6677 2002-03-02  Milan Zamazal  <pdm@zamazal.org>
6679         * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
6681 2002-03-02  Miles Bader  <miles@gnu.org>
6683         * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
6684         event-modifiers before looking up in `mouse-wheel-scroll-amount'.
6685         If there's no applicable modifiers entry in the alist in
6686         `mouse-wheel-scroll-amount', fall back to the default, not to
6687         nil (which causes full screen scrolls).
6689 2002-03-01  Andreas Schwab  <schwab@suse.de>
6691         * textmodes/texnfo-upd.el (texinfo-start-menu-description):
6692         Remove extra paren in regexp.
6694 2002-03-01  Eli Zaretskii  <eliz@is.elta.co.il>
6696         * mouse.el (mouse-show-mark): Use display-mouse-p, not
6697         display-graphic-p, to decide whether to move point or use the
6698         highlighting.
6700 2002-02-28  Colin Walters  <walters@verbum.org>
6702         * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
6704         * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
6705         `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
6706         (calc-temp-file-name): Use `make-temp-file'.
6708 2002-02-28  Richard M. Stallman  <rms@gnu.org>
6710         * font-lock.el (java-font-lock-extra-types):
6711         Match java.net.URL, etc.
6713 2002-02-28  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6715         * hexl.el (hexl-options): Doc fix.
6716         Update Commentary section.
6718         * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
6719         Doc fixes.
6721 2002-02-28  Andre Spiegel  <spiegel@gnu.org>
6723         * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
6724         the user to do that first.
6725         (vc-update): New function.
6727         * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
6728         which calls vc-update.  Use the term "Base Version" instead of
6729         "Last Version" for the entries "Revert" and "Compare".
6731 2002-02-28  Kim F. Storm  <storm@cua.dk>
6733         * simple.el (shell-command-on-region): Report non-zero exit
6734         status in mode line instead of buffer.
6736 2002-02-27  Richard M. Stallman  <rms@gnu.org>
6738         * comint.el (comint-preoutput-filter-functions): Doc fix.
6739         (comint-output-filter-functions, comint-input-filter-functions)
6740         (comint-redirect-filter-functions): Likewise.
6742         (comint-redirect-preoutput-filter): Do the local-hook
6743         handling of t when running comint-redirect-filter-functions.
6744         (comint-output-filter): Likewise for comint-preoutput-filter-functions.
6746 2002-02-26  Richard M. Stallman  <rms@gnu.org>
6748         * paths.el (remote-shell-program): Add doc string.
6750 2002-02-26  Colin Walters  <walters@debian.org>
6752         * ibuf-ext.el (sorter mode-name): New.
6753         (ibuffer-do-occur): Don't quote ibuffer-marked-char.
6755         * calc/calc-ext.el (calc-scroll-left): Call scroll-left
6756         interactively, so they do something.
6757         (calc-scroll-right): Ditto.
6759 2002-02-26  Eli Zaretskii  <eliz@is.elta.co.il>
6761         * international/mule.el (ctext-pre-write-conversion): Handle the
6762         case when FROM is a string, and when we are called from
6763         build_annotations_2.
6765 2002-02-26  Richard M. Stallman  <rms@gnu.org>
6767         * rect.el (clear-rectangle-line): Reindent to the same column
6768         that move-to-column reached when it tried to go to endcol.
6770         * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
6772 2002-02-26  Ivar Rummelhoff  <ivarru@math.uio.no>
6774         * winner.el (winner-boring-buffers, winner-set): A window which
6775         displays a buffer whose name is in the list
6776         `winner-boring-buffers', will no longer be restored by `winner-undo'.
6777         (winner-sorted-window-list): Used to improve comparison between
6778         window configurations.
6779         (winner-win-data): Simplified and moved.
6780         (winner-conf): Simplified (now uses `winner-win-data').
6781         (winner-change-fun, winner-save-old-configurations)
6782         (winner-save-(un)conditionally, winner-redo): Changes made while in
6783         the minibuffer will be ignored.  (Such changes are undone upon
6784         exit for the minibuffer, anyway.)
6785         (winner-set-conf): Preserve selected window whenever possible.
6786         (winner-make-point-alist): Simplified.
6787         (winner-mode, winner-save-unconditionally): Save current window
6788         configuration on entering minibuffer.
6789         (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
6790         since it does not change the overall behavior of Emacs.
6792 2002-02-26  Eli Zaretskii  <eliz@is.elta.co.il>
6794         * international/mule-conf.el (compound-text): Renamed back from
6795         compound-text-no-extensions.
6796         (ctext-no-compositions): Remove the mime-charset property.
6797         (compound-text-with-extensions): Renamed from compound-text.
6798         (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
6800 2002-02-26  Juanma Barranquero  <lektu@terra.es>
6802         * faces.el (list-faces-display): Fix typo.
6804 2002-02-25  Richard M. Stallman  <rms@gnu.org>
6806         * frame.el (focus-follows-mouse): Doc fix.
6808 2002-02-26  Miles Bader  <miles@gnu.org>
6810         * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
6811         to `define-key', since it no longer accepts the latter.
6813 2002-02-25  Jason Rumney  <jasonr@gnu.org>
6815         * term/w32-win.el (mouse-wheel-scroll-line): Use car of
6816         mouse-wheel-scroll-amount.
6818         * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
6819         mwheel.el.
6821         * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
6823 2002-02-25  Andre Spiegel  <spiegel@gnu.org>
6825         * vc.el (vc-diff-switches-list): Fix prev change, making the macro
6826         consistent with the others that take a backend name as a symbol.
6828         * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
6830 2002-02-25  Kim F. Storm  <no-spam@cua.dk>
6832         * comint.el (comint-replace-by-expanded-filename): Do nothing if
6833         comint-match-partial-filename returns nil.
6835         * shell.el (shell-pcomplete-setup-done): New variable.
6836         (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
6837         (shell-pcomplete-reverse): Ditto.
6839 2002-02-25  Per Abrahamsen  <abraham@dina.kvl.dk>
6841         * ps-print.el (ps-print-printer): Added `lpr' customize group member.
6843 2002-02-25  Juanma Barranquero  <lektu@terra.es>
6845         * subr.el (save-match-data): Doc fix.
6847         * ielm.el (ielm-prompt): Allow customization; make it read-only.
6849 2002-02-25  Kim F. Storm  <storm@cua.dk>
6851         * shell.el (shell-mode-map): Add "Complete" header so completion
6852         menu is shown on the menu bar in shell mode.
6854 2002-02-25  Stefan Monnier  <monnier@cs.yale.edu>
6856         * ielm.el (ielm-match-data): New var.
6857         (inferior-emacs-lisp-mode): Make it buffer-local.
6858         (ielm-eval-input): Use it to preserve match-data between inputs.
6860 2002-02-24  Juanma Barranquero  <lektu@terra.es>
6862         * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
6864 2002-02-24  Per Abrahamsen  <abraham@dina.kvl.dk>
6866         * cus-edit.el (custom-unlispify-remove-prefixes): Add to
6867         `custom-buffer' customize group.
6869 2002-02-23  Kim F. Storm  <storm@cua.dk>
6871         * help.el (where-is): Use remap-command.
6873         * help-fns.el (describe-function-1): Use remap-command.
6875         * subr.el (global-set-key, local-set-key): Undo 2002-02-06
6876         change (no longer accept a symbol for the KEY argument).
6878 2002-02-23  Colin Walters  <walters@debian.org>
6880         * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
6881         * calc/calcalg2.el (math-solve-get-sign): Ditto.
6883         * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
6884         in generated function.
6886         * ibuf-ext.el (ibuffer-old-time): Change to hours.
6887         (ibuffer-mark-old-buffers): Handle it.
6889         * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
6890         (toplevel): Bind them.
6891         (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
6892         not necessary now that we use pcomplete.
6894         * comint.el: Document how use new pcomplete completion facility.
6896 2002-02-23  Richard M. Stallman  <rms@gnu.org>
6898         * mail/rmailsum.el (rmail-summary-output): Properly advance
6899         to next message, by calling rmail-summary-goto-msg.
6901         * net/browse-url.el (browse-url-galeon): Specify --existing
6902         for an existing window.  Use --noraise rather than --no-raise.
6903         Don't use -x.
6905 2002-02-22  Eli Zaretskii  <eliz@is.elta.co.il>
6907         * progmodes/etags.el (find-tag-noselect, find-tag)
6908         (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
6909         Fix a typo in doc strings.
6911 2002-02-20  Deepak Goel  <deego@glue.umd.edu>
6913         * play/snake.el (snake-velocity-queue, snake-update-velocity)
6914         (snake-final-x-velocity, snake-final-y-velocity):
6915         New variable and functions.  Store user's keypresses
6916         into a queue and pop from the queue each subsequent turn.
6917         (snake-update-game, snake-move-left)
6918         (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
6919         (snake-start-game): Use that queue.
6920         (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
6921         (snake-use-color-flag): Likewise.
6922         (snake-mode): Rename uses of those variables.
6924 2002-02-22  Eli Zaretskii  <eliz@is.elta.co.il>
6926         Support for ICCCM  Extended Segments in X selections:
6928         * international/mule-conf.el (ctext-no-compositions): New coding
6929         system.
6930         (compount-text-no-extensions): Renamed from compound-text.
6931         (x-ctext-no-extensions, ctext-no-extensions): Aliases for
6932         compound-text-no-extensions.
6933         (compound-text): Redefined using post-read and pre-write conversions.
6935         * international/mule.el (non-standard-icccm-encodings-alist)
6936         (non-standard-designations-alist): New variables.
6937         (ctext-post-read-conversion, ctext-pre-write-conversion):
6938         New functions.
6940 2002-02-21  Jonathan Kamens  <jik@kamens.brookline.ma.us>
6942         * vc.el (vc-default-init-version): Update documentation to
6943         indicate that the backend can override the default init version.
6944         (vc-register): Use the backend init-version function, if it
6945         exists, to determine the initial version of a file.
6946         (vc-diff-switches-list): Don't symbol-quote backend, since it's
6947         already a symbol.  Don't fail if vc-BACKEND-diff-switches isn't bound.
6949         * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
6950         not version-controlled.  This is necessary, e.g., if the file has
6951         just been reverted, and thus was previously under version control
6952         but isn't any longer.
6953         (vc-find-file-hook): Likewise.
6955 2002-02-21  Martin Lorentzson  <Martin.Lorentzson@telia.com>
6957         * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
6958         (vc-cvs-sticky-tag-display): New variable.
6959         (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
6960         (vc-cvs-checkin): If the input revision is a valid symbolic tag
6961         name, we create it as a branch, commit and switch to it.
6962         (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
6963         (vc-cvs-valid-symbolic-tag-name-p): New function.
6964         (vc-cvs-parse-sticky-tag): New function.
6965         (vc-cvs-parse-entry): Added parsing of sticky tags.
6967 2002-02-21  Per Abrahamsen  <abraham@dina.kvl.dk>
6969         * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
6970         nil, and then explicitly set the standard-value to t.
6972 2002-02-20  Sam Steingold  <sds@gnu.org>
6974         * textmodes/flyspell.el (flyspell-mode): Autoload the variable
6975         since it is used in the menu bar.
6977 2002-02-20  Richard M. Stallman  <rms@gnu.org>
6979         * simple.el (shell-command-on-region): Display the exit status
6980         when a command fails.
6982         * subr.el (add-hook): Doc fix.
6984         * frame.el (other-frame): Doc fix.
6986         * simple.el (yank): Clear `field' property.
6988 2002-02-20  Tom Tromey  <tromey@cachet>
6990         * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
6991         natural paragraph boundaries.  Don't fail at beginning of buffer.
6993 2002-02-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6995         * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
6996         call the argument "arg" to match plain next-line and
6997         previous-line.  From Kevin Ryde <user42@zip.com.au>.
6999 2002-02-19  Sam Steingold  <sds@gnu.org>
7001         * mwheel.el (mouse-wheel-scroll-amount): Can specify different
7002         scroll amounts for different modifiers now.
7003         (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
7004         format properly.
7005         (mouse-wheel-mode): Ditto.
7007 2002-02-19  Eli Zaretskii  <eliz@is.elta.co.il>
7009         * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
7010         around function body.
7012         * net/browse-url.el (browse-url-maybe-new-window): Reverse the
7013         sense of the comparison, to match the doc strings of functions
7014         that use this macro.
7016 2002-02-19  Per Abrahamsen  <abraham@dina.kvl.dk>
7018         * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
7020         * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
7021         * menu-bar.el (menu-bar-mode): Ditto.
7023 2002-02-18  Andreas Schwab  <schwab@suse.de>
7025         * replace.el (query-replace-regexp-eval): Doc fix.
7027 2002-02-18  Colin Walters  <walters@verbum.org>
7029         * calc/calcalg2.el (math-solve-get-int): Convert return value from
7030         `math-get-from-counter' to a string before calling `concat' on it.
7032         * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
7033         (calc-public-autoloads): Obsolete; remove.
7034         (calc-private-autoloads): Ditto.
7035         (calc-add-autoloads): Ditto.
7037         * calc/calc-macs.el (calc-with-default-simplification): Use &rest
7038         for body.
7040 2002-02-17  Jason Rumney  <jasonr@gnu.org>
7042         * w32-win.el (x-option-alist, x-long-option-alist)
7043         (x-switch-definitions): Remove, use command-line-x-option-alist
7044         instead to be consistent with X.
7045         (x-handle-initial-switch): New function.
7047 2002-02-17  Eli Zaretskii  <eliz@is.elta.co.il>
7049         * faces.el (mode-line-inactive, header-line): Add the :inherit
7050         attribute for the tty case.
7052 2002-02-17  stanislav shalunov  <shalunov@internet2.edu>
7054         * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
7055         invoked from Rmail with full headers displayed.
7057 2002-02-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7059         * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
7060         when repeated.
7061         * textmodes/paragraphs.el (mark-paragraph): Ditto.
7063 2002-02-17  Per Abrahamsen  <abraham@dina.kvl.dk>
7065         * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
7066         (menu-bar-tools-menu): Removed speedbar.
7068         * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
7069         and `flyspell-mode' entries.
7071         * textmodes/flyspell.el (flyspell): Add to ispell group.
7073 2002-02-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7075         * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
7076         repeated.
7077         (mark-defun): Mark more if repeated.
7079 2002-02-17  Colin Walters  <walters@verbum.org>
7081         * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
7083         * ibuffer.el (ibuffer-truncate-lines): New option.
7084           (ibuffer-mode):  Use it.
7086 2002-02-17  Kim F. Storm  <storm@cua.dk>
7088         * cus-start.el: Add mouse-highlight.
7090 2002-02-16  Eli Zaretskii  <eliz@is.elta.co.il>
7092         * Makefile.in (DONTCOMPILE): Remove cus-start.el.
7094         * cus-start.el: Add automatic-hscroll-margin and
7095         automatic-hscroll-step.
7097 2002-02-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7099         * cus-start.el (x-autoselect-window): Allow customization.
7101         * eshell/em-alias.el (eshell-alias-initialize): Do not use
7102         make-local-hook.
7104         * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
7106         * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
7108         * eshell/em-glob.el (eshell-glob-initialize): Likewise.
7110         * eshell/em-hist.el (eshell-hist-initialize): Likewise.
7112         * eshell/em-pred.el (eshell-pred-initialize): Likewise.
7114         * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
7116         * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
7118         * eshell/em-smart.el (eshell-smart-initialize): Likewise.
7120         * eshell/em-unix.el (eshell-unix-initialize): Likewise.
7122         * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
7124         * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
7126         * eshell/esh-io.el (eshell-io-initialize): Likewise.
7128         * eshell/esh-mode.el (eshell-mode): Likewise.
7130         * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
7132         * eshell/esh-var.el (eshell-var-initialize): Likewise.
7134         * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
7136         * progmodes/idlwave.el (idlwave-mode): Likewise.
7138         * textmodes/reftex-sel.el (reftex-select-label-mode)
7139         (reftex-select-bib-mode): Likewise.
7141 2002-02-16  John Wiegley  <johnw@gnu.org>
7143         * eshell/em-hist.el (eshell-hist-initialize): When in the
7144         minibuffer, use the global value of `eshell-history-ring', and
7145         never save it to disk, or ask to save it to disk.  This allows
7146         users of session.el to control whether its global state should be
7147         persisted or not.
7148         (eshell-add-command-to-history): Don't write Eshell's history out
7149         to disk, let the governing mode control that upon exit.
7151 2002-02-16  Eli Zaretskii  <eliz@is.elta.co.il>
7153         * eshell/eshell.el (eshell-command): Before reading from the
7154         minibuffer, add eshell-add-command-to-history to
7155         minibuffer-exit-hook, and remove it after read-from-minibuffer
7156         returns.
7158         * eshell/em-hist.el (eshell-add-input-to-history): New function,
7159         with most of the code from eshell-add-to-history.
7160         (eshell-add-command-to-history): New function, to record in
7161         eshell-history the commands run via eshell-command.
7162         (eshell-add-to-history): Call eshell-add-command-to-history to do
7163         most of the work.
7165 2002-02-16  John Wiegley  <johnw@gnu.org>
7167         * eshell/esh-ext.el (eshell-external-command): Added a fix for
7168         XEmacs' new dired.el, which adds a global entry in the
7169         `file-name-handler-alist'.
7171 2002-02-16  John Wiegley  <johnw@gnu.org>
7173         * align.el (align-region): Added a missing name argument.
7175 2002-02-16  John Wiegley  <johnw@gnu.org>
7177         * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
7178         after the #! of a shell interpretor specification.
7180 2002-02-15  Richard M. Stallman  <rms@gnu.org>
7182         * help.el (describe-key-briefly): Make output in INSERT case
7183         look just like what is displayed in the normal case.
7185 2002-02-15  Andreas Schwab  <schwab@suse.de>
7187         * textmodes/tex-mode.el (tex-font-lock-keywords-2):
7188         Require non-letter after specials.
7190 2002-02-15  Eli Zaretskii  <eliz@is.elta.co.il>
7192         * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
7194 2002-02-15  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7196         * simple.el (mark-word): Mark more if repeated.
7197         * textmodes/paragraphs.el (mark-paragraph): Ditto.
7198         (mark-end-of-sentence): Ditto.
7200 2002-02-15  Per Abrahamsen  <abraham@dina.kvl.dk>
7202         * wid-edit.el (widgetp): Made it more robust.
7204 2002-02-14  Per Abrahamsen  <abraham@dina.kvl.dk>
7206         * facemenu.el (describe-text-done): New function.
7207         (describe-text-mode-map): New variable.
7208         (describe-text-mode-hook): New option.
7209         (describe-text-mode): New function.
7210         (describe-text-widget): New function.
7211         (describe-text-sexp): New function.
7212         (describe-text-properties): New function.
7213         (describe-text-category): New command.
7214         (describe-text-at): New command.
7215         (facemenu-menu): Replace `list-text-properties-at' with
7216         `describe-text-at' in the menu.
7218         * wid-edit.el (widgetp): New function.
7219         * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
7221         * emacs-lisp/pp.el (pp-to-string): Autoloaded.
7223         * wid-browse.el: Removed version and x-url keywords.
7225 2002-02-13  Kim F. Storm  <storm@cua.dk>
7227         * cus-start.el (mode-line-in-non-selected-windows):
7228         Allow customization.
7230 2002-02-13  Richard M. Stallman  <rms@gnu.org>
7232         * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
7233         Tell bibtex-parse-keys to output no progress messages.
7235 2002-02-12  Eli Zaretskii  <eliz@is.elta.co.il>
7237         * progmodes/pascal.el (pascal-imenu-generic-expression):
7238         Add menu-title and fix parentheses.
7240 2002-02-12  Per Abrahamsen  <abraham@dina.kvl.dk>
7242         * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
7243         (menu-bar-options-menu): Don't set default value for `truncate-lines'.
7245 2002-02-12  Per Abrahamsen  <abraham@dina.kvl.dk>
7247         * menu-bar.el (menu-bar-options-save): Only save
7248         `current-language-environment' and `default-input-method' when
7249         marked as customized.
7251         * international/mule-cmds.el
7252         (setup-specified-language-environment):
7253         Mark `current-language-environment' as customized.
7254         (set-input-method): Mark `default-input-method' as customized when
7255         called interactively.
7256         (toggle-input-method): Ditto.
7258 2002-02-11  Colin Walters  <walters@verbum.org>
7260         * ibuffer.el (ibuffer-switch-format): Supply required argument for
7261         `ibuffer-current-formats'.
7263 2002-02-11  Miles Bader  <miles@gnu.org>
7265         * faces.el (mode-line-inactive): Add dark-background variant.
7267 2002-02-11  Per Abrahamsen  <abraham@dina.kvl.dk>
7269         * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
7270         * menu-bar.el (menu-bar-mode): Ditto.
7271         * cus-edit.el (customize-mark-to-save): Always save variables
7272         without a standard value.
7274         * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
7275         (menu-bar-options-save): Ditto.
7276         (menu-bar-showhide-menu): Ditto.
7277         (menu-bar-options-menu): Ditto.
7278         (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
7279         (menu-bar-scroll-bar-none): Remove.
7280         (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
7281         expressions instead.
7283         * cus-edit.el (customize-set-value): Return value.
7284         (customize-set-variable): Ditto.
7285         (customize-save-variable): Ditto.
7286         (customize-set-variable): Load dependencies before setting value.
7287         (custom-load-symbol): Autoload it.
7288         (customize-mark-as-set): New function.
7290 2002-02-11  Eli Zaretskii  <eliz@is.elta.co.il>
7292         * cus-start.el: Don't warn about "x-*" symbols when building a
7293         non-GUI version.
7295 2002-02-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7297         * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
7298         Doc fix.
7299         (strokes-help): Do not use doubled with-output-to-temp-buffer.
7300         Fix the help string.
7301         (strokes-prompt-user-save-strokes): Fix typo.
7302         (strokes-list-strokes): Use proper exit-action argument for
7303         view-buffer.  Update copyright notice.
7305         * international/mule-diag.el: Various doc and message fixes.
7306         (non-iso-charset-alist): Add mac-roman.  Don't add entries for
7307         codepages already present.
7308         (list-block-of-chars): Display space for null entries in
7309         translation table.  Display tab specially.
7310         (list-non-iso-charset-chars): Check for null charsets.  Use pop
7311         for clarity.  Don't break 8-bit sets into sections between ranges.
7312         (list-charset-chars): Avoid indent-tabs-mode.
7313         (describe-char-after): Maybe use the text property for syntax
7314         table information.  Maybe report char-code-property-table info.
7315         Maybe report character's unicode.  Tweak printing of list info.
7316         (list-input-methods): Add xref buttons.
7317         (dump-charsets, dump-codings): Deleted (obsolete).
7318         From Dave Love <fx@gnu.org>.
7320 2002-02-10  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7322         * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
7324 2002-02-10  Michael Kifer  <kifer@cs.stonybrook.edu>
7326         * viper-util.el (viper-read-key-sequence): Fix so it'll read
7327         fast key sequences in emacs native mode
7328         (viper-events-to-keys): Delete.
7330         * viper.el (describe-key, describe-key-briefly): Get rid of
7331         viper-events-to-keys.
7333         * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
7335         * ediff-wind.el (ediff-setup-control-frame):
7336         Use ediff-has-gutter-support.
7338         * ediff-util.el (ediff-dispose-of-variant-according-to-user):
7339         check if buff is alive.
7341         * ediff.el: Typo in comment.
7343 2002-02-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7345         * menu-bar.el (menu-bar-options-save): Take care of
7346         line-number-mode and column-number-mode variables.
7347         (menu-bar-showhide-menu): New menu-items "Show Line Number" and
7348         "Show Column Number" in "Show/Hide" menu.
7350 2002-02-09  Richard M. Stallman  <rms@gnu.org>
7352         * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
7354 2002-02-09  Kim F. Storm  <storm@cua.dk>
7356         * faces.el (mode-line-inactive): New face for mode-line for
7357         non-selected windows.
7358         (mode-line): Doc fix: Only used for selected window.
7360 2002-02-08  Eli Zaretskii  <eliz@is.elta.co.il>
7362         * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
7363         name to "Insert Diary Entry".
7365 2002-02-08  Stefan Monnier  <monnier@cs.yale.edu>
7367         * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
7368         (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
7370 2002-02-08  Richard M. Stallman  <rms@gnu.org>
7372         * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
7374 2002-02-08  Andreas Schwab  <schwab@suse.de>
7376         * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
7377         of point-min.
7379 2002-02-08  Eli Zaretskii  <eliz@is.elta.co.il>
7381         * net/ange-ftp.el (ange-ftp-process-handle-line)
7382         (ange-ftp-set-xfer-size): If the file's size is a float, divide
7383         by 1024 instead of using ash.
7385         * international/mule-cmds.el (select-safe-coding-system):
7386         State the buffer's name in the message popped in the *Warning* buffer,
7387         and make sure the offending buffer is displayed.
7389 2002-02-07  Markus Rost  <rost@math.ohio-state.edu>
7391         * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
7393 2002-02-07  Richard M. Stallman  <rms@gnu.org>
7395         * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
7397         * register.el (list-registers): New command.
7398         (describe-register-1): New subroutine, taken out of view-register.
7400         * emacs-lisp/copyright.el (copyright-regexp):
7401         Delete the unibyte copyright symbol; it's redundant.
7402         Fix a spazz in the multibyte encoding here.
7404 2002-02-07  Dave Love  <fx@gnu.org>
7406         * language/cyril-util.el (cyrillic-encode-koi8-r-char)
7407         (cyrillic-encode-alternativnyj-char): Get translation tables from
7408         symbol properties, not as variables.
7409         (standard-display-cyrillic-translit): Include unicodes.
7411 2002-02-06  Kim F. Storm  <storm@cua.dk>
7413         * help.el (where-is): Report remapped commands.
7415         * help-fns.el (describe-function-1): Ditto.
7417         * subr.el (global-set-key, local-set-key): Accept a symbol for the
7418         KEY argument (like define-key).
7420 2002-02-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7422         * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
7424 2002-02-06  Richard M. Stallman  <rms@gnu.org>
7426         * mail/mailabbrev.el: Require sendmail only at compile time.
7427         (mail-mode-header-syntax-table): Var deleted.
7428         (mail-abbrev-syntax-table): Init to nil, will compute when needed.
7429         (sendmail-pre-abbrev-expand-hook): Only temporarily change
7430         local-abbrev-table and the syntax table.
7431         Compute mail-abbrev-syntax-table if that has not been done.
7433         * progmodes/compile.el (grep-compute-defaults): Definition moved up.
7435         * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
7436         (debugger-frame-number): Figure out the offset directly.
7437         (debugger-setup-buffer): Don't use debugger-frame-offset.
7438         (debugger-frame, debugger-frame-clear): Likewise.
7439         (debugger-jump): Don't alter debugger-frame-offset.
7441         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
7442         Replace foo-p as var name with foo-flag, not foo-p-flag.
7444         * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
7445         (highlight-changes-passive-string): Default to -Chg.
7446         (highlight-changes-global-modes): Doc fix.
7448         * dired.el (dired-get-filename): Add /: when appropriate
7449         to avoid taking a local name as remote.
7451         * files.el (file-name-non-special): Add special handling for
7452         file-name-sans-versions, file-name-completion, and
7453         file-name-all-completions.
7455         * isearch.el (isearch-update): Don't update display in kbd macro.
7456         (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
7458         * subr.el (force-mode-line-update): Doc fix.
7460         * subr.el (atomic-change-group, prepare-change-group)
7461         (activate-change-group, accept-change-group, cancel-change-group):
7462         New functions.
7464         * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
7465         (transpose-subr-1): Use atomic-change-group.
7467         * subr.el (add-minor-mode): Include the mode's lighter string
7468         in the minor mode menu item name.
7470         * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
7471         rmail-count-screen-lines starting from (point-min).
7473         * startup.el (use-fancy-splash-screens-p): Need 19 lines,
7474         beyond the image height, to use the fancy splash screen.
7476         * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
7477         (text-mode): Set text-mode-variant here.
7479 2002-02-06  Eli Zaretskii  <eliz@is.elta.co.il>
7481         * play/pong.el (pong-height): Don't use height that exceeds the
7482         frame height.
7483         (pong-border-options): Make the border colors slightly more bright.
7485         * play/gamegrid.el (gamegrid-display-type): Treat any
7486         color-capable display as color-x, if display-color-p is fboundp.
7487         (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
7488         (gamegrid-make-color-tty-face): Use the value of color, not the
7489         symbol itself.  Don't call gamegrid-color.
7491 2002-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
7493         * gud.el (gud-refresh): Call recenter only after we are sure we
7494         are in the right window.
7496 2002-02-05  Per Abrahamsen  <abraham@dina.kvl.dk>
7498         * cus-edit.el (customize-mark-to-save): New function.
7499         * menu-bar.el (menu-bar-options-save): Rewrote.
7501 2002-02-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7503         * cus-start.el (x-use-underline-position-properties):
7504         Allow customization.
7506 2002-02-04  Simon Josefsson  <jas@extundo.com>
7508         * dired.el (dired-load-hook, dired-mode-hook)
7509         (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
7511 2002-02-03  Colin Walters  <walters@verbum.org>
7513         * ibuf-ext.el (ibuffer-filter-format-alist)
7514         (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
7515         New variables.
7516         * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
7517         is now the Emacs CVS tree.
7518         (ibuffer-formats): Doc fix.
7519         (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
7520         (ibuffer-current-format): Use them.
7521         (ibuffer-recompile-formats, ibuffer-check-formats)
7522         (ibuffer-switch-format, ibuffer-update-title):
7523         Add support for ibuffer-filter-format-alist.
7524         (define-ibuffer-column process): Remove unncessary consing.
7526         * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
7527         for a summary column.
7529 2002-02-03  Andreas Schwab  <schwab@suse.de>
7531         * window.el (save-selected-window): Move macro before first use.
7532         (balance-windows): Fix misplaced parenthesis.
7534 2002-02-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7536         * calculator.el (calculator-displayers): Doc fixes.
7538 2002-02-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7540         * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
7541         (menu-bar-options-save): Save also the value of `display-time-mode'.
7542         (showhide-date-time): New function.
7543         (menu-bar-showhide-menu): New menu-item "Date and time".
7545 2002-02-03  Eli Zaretskii  <eliz@is.elta.co.il>
7547         * mail/rmail.el (rmail): Use find-buffer-visiting instead of
7548         get-file-buffer to check for rmail buffer existence.
7550         * term.el (term-emulate-terminal): Extract proper command string
7551         which is supplied to term-command-hook.
7553 2002-02-03  Richard M. Stallman  <rms@gnu.org>
7555         * international/quail.el (quail-help): Don't call help-setup-xref.
7557         * international/mule-cmds.el (describe-input-method):
7558         Call help-setup-xref here.
7559         (describe-current-input-method): Doc fix.
7561         * novice.el (disabled-command-hook): Clarify output text.
7562         Indent the paragraph from the command's doc string.
7564         * dabbrev.el (dabbrev--goto-start-of-abbrev):
7565         Exit loop on beginning of field rather than bobp.
7567 2002-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
7569         * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
7570         the message text into the *mail* buffer, and restore the pruned
7571         state after that.
7573         * mail/rmail.el (rmail-redecode-body): Prune the headers before
7574         looking for X-Coding-System header, and restore the pruned state
7575         before returning.
7577 2002-02-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7579         * cus-edit.el (customize-save-variable): Fix typo in prompt.
7581         These changes integrate new version of flyspell.el from its
7582         maintainer, Manuel Serrano:
7584         * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
7585         (flyspell-mode-on, flyspell-notify-misspell)
7586         (flyspell-small-region, flyspell-external-point-words)
7587         (flyspell-large-region): Use it
7588         (flyspell-before-incorrect-word-string)
7589         (flyspell-after-incorrect-word-string): New user options.
7590         (make-flyspell-overlay): Use them.
7591         (flyspell-version): New function.
7592         (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
7593         definitions to use :weight.
7594         (flyspell-insert-function): New user option.
7595         (flyspell-auto-correct-word, flyspell-correct-word)
7596         (flyspell-xemacs-correct): Use it.
7597         (flyspell-define-abbrev): New function.
7598         (flyspell-auto-correct-word, flyspell-correct-word)
7599         (flyspell-xemacs-correct): Use it.
7600         (make-flyspell-overlay): Use `evaporate' property.
7601         (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
7602         (flyspell-emacs-popup): Use `session' instead of `accept'.
7603         (flyspell-auto-correct-previous-pos): New variable.
7604         (flyspell-auto-correct-previous-hook)
7605         (flyspell-auto-correct-previous-word): New functions.
7607 2002-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
7609         * novice.el (enable-command): If Emacs was invoked as "emacs -q",
7610         don't alter the user's ~/.emacs.
7611         (disable-command): If user-init-file is nil or does not exist,
7612         default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
7613         But don't alter the init file if Emacs was invoked as "emacs -q"
7615 2002-02-01  Stefan Monnier  <monnier@cs.yale.edu>
7617         * mail/sendmail.el (mail-mode): Undo half of last change.
7619         * indent.el (indent-for-tab-command): Remove spurious code.
7621         * hi-lock.el (hi-lock-find-patterns): Save restriction.
7623 2002-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
7625         * calendar/time-date.el: Moved from lisp/gnus.
7627         * calendar/parse-time.el: Ditto.
7629 2002-01-31  Richard M. Stallman  <rms@gnu.org>
7631         * international/iso-acc.el (iso-languages): Fix ", " in French.
7633         * cus-start.el (history-length): Specify customization for it.
7635         * emacs-lisp/debug.el (debugger-setup-buffer):
7636         When an eval-buffer frame was reading from a buffer,
7637         insert indication of the buffer position.
7638         (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
7639         (debugger-frame-clear, debugger-frame): Error on non-frame line.
7641         * simple.el (shell-command-on-region): Err if no mark
7642         before reading the command string.
7644         * hl-line.el (hl-line-highlight, hl-line-unhighlight):
7645         Definitions moved down after hl-line-mode var's definition.
7647         * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
7648         (hilit-chg-set-face-on-change): Rename arg.
7649         (hilit-chg-make-ov): Detect error earlier.
7651         * ediff-hook.el: Delete autoload cookies.
7653         * comint.el (comint-scroll-show-maximum-output): Default is t.
7655         * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
7656         (batch-byte-compile-if-not-done): New function.
7658         * Makefile.in (compile): New target.
7659         (compile-always): Renamed from compile-files.
7660         (compile-after-backup): Renamed from compile.
7661         (bootstrap): Depend on compile-always, not compile-files.
7663         * emulation/pc-select.el (pc-select-save-and-set-mode):
7664         Properly use MODE-VAR.
7666 2002-01-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7668         * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
7669         Version" to "About Emacs".
7670         (menu-bar-options-save): Add `default-frame-alist'
7671         to saved variables.
7672         (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
7673         of the variable `scroll-bar-mode'.
7675         * startup.el (normal-splash-screen, display-splash-screen):
7676         New functions (separated from command-line-1).
7677         (command-line-1): Use them.
7679 2002-01-28  Eli Zaretskii  <eliz@is.elta.co.il>
7681         * calendar/calendar.el (generate-calendar-month): Doc fix.
7683 2002-01-27  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7685         * time.el (display-time-mail-directory): New option.
7686         (display-time-mail-function): Update doc-string.
7687         (display-time-mail-icon): Use XPM image when available.
7688         (display-time-string-forms): Use more descriptive text as
7689         help-echo property.
7690         (display-time-mail-check-directory): New function.
7691         (display-time-update): Use it.
7693         * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
7694         Quote `window-system'.
7696         * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
7697         Add Keywords header.  Update Commentary section.
7698         Update copyright notice.
7700         * menu-bar.el (menu-bar-scroll-bar-right)
7701         (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
7702         (showhide-menu-bar): New functions.
7703         (menu-bar-showhide-menu): New submenu "Show/Hide".
7704         (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
7705         "Show/Hide".
7706         Update copyright notice.
7708 2002-01-27  Eli Zaretskii  <eliz@is.elta.co.il>
7710         * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
7712 2002-01-26  Evgeny Roubinchtein  <evgenyr@cs.washington.edu>
7714         * pc-select.el (pc-selection-mode-hook)
7715         (pc-select-saved-settings-alist, pc-select-map)
7716         (pc-select-saved-global-map, pc-select-key-bindings-alist)
7717         (pc-select-default-key-bindings, pc-select-extra-key-bindings)
7718         (pc-select-meta-moves-sexps-key-bindings)
7719         (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
7720         New variables.
7721         (pc-select-define-keys, pc-select-restore-keys): New functions.
7722         (pc-select-add-to-alist, pc-select-save-and-set-var)
7723         (pc-select-save-and-set-mode, pc-select-restore-var)
7724         (pc-select-restore-mode): New macros.
7725         (pc-selection-mode): Completely rewrote the body of the function;
7726         the main goal was to make pc-selection-mode "turn-off"-able, like
7727         other minor modes.  Use define-minore-mode instead of just a
7728         defun.  Store the key bindings into four alists:
7729         pc-select-default-key-bindings, pc-select-extra-key-bindings,
7730         pc-select-meta-moves-sexps-key-bindings, and
7731         pc-select-tty-key-bindings; then have the pc-select-define-keys
7732         function walk those alists instead of calling define-key
7733         repeatedly.  When the mode is turned on, set the
7734         keybindings in global-map and remember the old keybindings; when
7735         the mode is turned off, restore the previously-saved keybindings.
7736         (pc-selection-mode defcustom): Reflect the fact that the mode is
7737         now "turn-off"-able.
7739 2002-01-26  Eli Zaretskii  <eliz@is.elta.co.il>
7741         * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
7742         returns t, don't treat that as an error.
7744 2002-01-25  Jason Rumney  <jasonr@gnu.org>
7746         * faces.el (face-font-registry-alternatives) [windows-nt]:
7747         Add ms-oemlatin as an alternative for iso8859-1.
7749 2002-01-25  Stefan Monnier  <monnier@cs.yale.edu>
7751         * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
7752         args and the absence of an entry.  Don't add -f each time.
7754 2002-01-25  Eli Zaretskii  <eliz@is.elta.co.il>
7756         * emacs-lisp/cl-seq.el (mismatch): Doc fix.
7758         Support for more than 8 colors on character terminals:
7760         * term/rxvt.el: New file.
7762         * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
7764         * term/xterm.el (xterm-standard-colors): New variable.
7765         (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
7766         (xterm-rxvt-set-background-mode): New functions.
7767         (toplevel): Call xterm-register-default-colors,
7768         xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
7769         Add support for more keys from xterm's terminfo entry.
7771         * facemenu.el (list-colors-display): If the argument is nil, don't
7772         show more colors that the number returned by display-color-cells.
7774         * term/pc-win.el (msdos-color-values): Reverse the order of the
7775         colors, since tty-color-define now preserves the registration order.
7777         * w32-fns.el (w32-tty-standard-colors): Reverse the order.
7779         * term/tty-colors.el (tty-standard-colors): Reverse the order.
7780         (tty-register-default-colors): New function; code moved from
7781         startup.el's command-line.
7782         (tty-modify-color-alist): Use nconc instead of cons, to preserve
7783         the order the colors where registered.
7785         * frame.el (display-color-cells): Use tty-display-color-cells.
7787         * startup.el (command-line): Call tty-register-default-colors.
7789 2002-01-25  Richard M. Stallman  <rms@gnu.org>
7791         * subr.el (remove): Doc fix.
7793 2002-01-24  Richard M. Stallman  <rms@gnu.org>
7795         * progmodes/compile.el (compilation-handle-exit):
7796         Add a compilation-handle-exit property to the "finished" message.
7797         (compilation-parse-errors): Stop parsing when that property is seen.
7799         * subr.el (substring-no-properties): New function.
7800         (copy-without-properties): Function deleted.
7802         * term/x-win.el (x-handle-geometry): Put sizes on both
7803         initial-frame-alist and default-frame-alist.
7805         * cus-edit.el (custom-save-all): Bind file-precious-flag to t
7806         for saving .emacs.
7808         * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
7810         * calendar/calendar.el (generate-calendar-month): Doc fix.
7812 2002-01-23  Richard M. Stallman  <rms@gnu.org>
7814         * play/tetris.el (tetris): New defgroup.
7815         (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
7816         (tetris-default-tick-period): Convert to defcustom.
7817         Added * in docstring to indicate user variable.
7818         (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
7819         (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
7820         (tetris-buffer-height, tetris-width, tetris-height)
7821         (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
7823 2002-01-22  Stefan Monnier  <monnier@cs.yale.edu>
7825         * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
7826         and is already matched by adaptive-fill-regexp.
7828 2002-01-22  Richard M. Stallman  <rms@gnu.org>
7830         * bindings.el (mode-line-copied-mode-name): New variable.
7831         (mode-line-mode-name): Don't modify mode-name itself!
7832         Instead, make a copy and reuse it.
7834         * subr.el (copy-without-properties): New function.
7836         * progmodes/sh-script.el (sh-set-shell): Doc fix.
7838         * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
7839         slash if DIR is just slash.
7841         * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
7843 2002-01-21  Richard M. Stallman  <rms@gnu.org>
7845         * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
7847         * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
7848         Move defvar up.
7850         * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
7852         * ibuffer.el: Don't require ibuf-ext at load time.
7853         (ibuffer): Require ibuf-ext here.
7855 2002-01-21  Francesco Potorti`  <pot@gnu.org>
7857         * generic-x.el (apache-conf-generic-mode): Highlight the first
7858         word in a line even if preceded by blanks.
7860 2002-01-21  Richard M. Stallman  <rms@gnu.org>
7862         * window.el (window-body-height): Handle minibuffer window specially.
7863         Otherwise, don't return less than 1.
7865 2002-01-20  Thomas Dorner  <Thomas.Dorner@start.de>
7867         * ange-ftp.el: Added support for BS2000, and for raw ftp
7868         login commands (needed in some circumstances).
7869         (ange-ftp-raw-login): New custom var.
7870         (ange-ftp-normal-login): Perform login with raw ftp commands, if
7871         ange-ftp-raw-login is set and account password is needed.
7872         (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
7873         (ange-ftp-bs2000-filename-pubset-regexp)
7874         (ange-ftp-bs2000-filename-username-regexp)
7875         (ange-ftp-bs2000-filename-prefix-regexp)
7876         (ange-ftp-bs2000-name-template): New consts.
7877         (ange-ftp-bs2000-short-filename-regexp)
7878         (ange-ftp-bs2000-fix-name-regexp-reverse)
7879         (ange-ftp-bs2000-fix-name-regexp): New consts.
7880         (ange-ftp-bs2000-special-prefix): New custom var.
7881         (ange-ftp-fix-name-for-bs2000)
7882         (ange-ftp-fix-dir-name-for-bs2000): New funs.
7883         (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
7884         (ange-ftp-bs2000-posix-hook-installed): New vars.
7885         (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
7886         (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
7887         (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
7888         (ange-ftp-bs2000-filename-regexp): New const.
7889         (ange-ftp-bs2000-additional-pubsets): New custom var.
7890         (ange-ftp-bs2000-cd-to-posix): New fun.
7892 2002-01-20  Colin Walters  <walters@verbum.org>
7894         * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
7895         with `byte-compile-dynamic'.
7896         (ibuffer-default-directory, toplevel): Doc files.
7898 2002-01-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7900         * tempo.el (tempo-define-template): Doc fix.
7902         * scroll-bar.el (scroll-bar-mode): Make argument optional.
7904 2002-01-20  Jason Rumney  <jasonr@gnu.org>
7906         * w32-vars.el: New file.
7908         * loadup.el [windows-nt]: Load it.
7910         * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
7911         and make them defcustoms.
7913         * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
7915 2002-01-19  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7917         * language/tibet-util.el (tibetan-decompose-region)
7918         (tibetan-decompose-string): Fix typo in docstring.
7920         * ruler-mode.el (ruler-mode): New keyword.  Fix :version.
7922 2002-01-18  Richard M. Stallman  <rms@gnu.org>
7924         * comint.el (comint-redirect-send-command-to-process):
7925         Restore previous current buffer.
7927         * window.el (window-body-height): New function.
7929 2002-01-18  Zoltan Kemenczy  <kemenczy@rogers.com>
7931         * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
7932         "Finish Function" menu map entries for jdb mode.
7933         (gud-jdb-use-classpath): New customization variable.
7934         (gud-jdb-command-name): Add customization.
7935         (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
7936         (gud-jdb-classpath-string): New variable.
7937         (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
7938         (gud-jdb-build-source-files-list): Likewise.
7939         (gud-jdb-massage-args): Record any command argument classpath
7940         string in `gud-jdb-classpath-string'.
7941         (gud-jdb-lowest-stack-level): New function, finds bottom of current
7942         java call stack in jdb output.
7943         (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
7944         (gud-jdb-parse-classpath-string): New functions.
7945         (gud-jdb-marker-filter): Search/detect classpath information in
7946         jdb's output.  marker regexp updated to match oldjdb and jdb output
7947         formats.  Expand search for source files to include new/old methods
7948         using new functions above.  Do not allow `gud-marker-acc' to grow
7949         without bound.
7950         (jdb): Set classpath information (if available) as jdb is started.
7951         Change `gud-break' and `gud-remove'
7952         to use new %c ("class") escape in format strings.
7953         Add `gud-finish', `gud-up', `gud-down' command string functions, and
7954         add them to the local menu map.  Update `comint-prompt-regexp' for
7955         jdb and oldjdb.  If attaching to an already running java VM and
7956         configured to use classpath, send command to query for classpath,
7957         else use previous method for finding and parsing java
7958         sources.  Set `gud-jdb-find-source' function accordingly.
7959         (gud-mode): Doc fix.
7960         (gud-format-command): Add support for new %c ("class") escape.
7961         (gud-find-class): New function in support of %c escape.
7963 2002-01-17  Richard M. Stallman  <rms@gnu.org>
7965         * ibuf-ext.el: Enable byte-compile-dynamic.
7967 2002-01-17  Jason Rumney  <jasonr@gnu.org>
7969         * term/w32-win.el: Restore conditional require of fontset.
7971 2002-01-16  Richard M. Stallman  <rms@gnu.org>
7973         * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
7974         more or less.
7975         (mouse-drag-region): New function.  For a click in the echo area,
7976         show *Messages*.
7978         * ibuf-ext.el: Delete the autoloads for functions defined with
7979         ibuffer-specific commands.
7981         * help.el (describe-distribution): Really call view-file.
7983         * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
7984         (ange-ftp-get-process): Pass that arg.
7986         * comint.el (comint-simple-send): Fix previous change.
7988         * net/telnet.el (telnet-simple-send): Fix previous change.
7990         * progmodes/sql.el (sql-escape-newlines-and-send)
7991         (sql-query-placeholders-and-send): Fix previous change.
7993 2002-01-16  Colin Walters  <walters@verbum.org>
7995         * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
7996         URL, Compatibility headers.  Update copyright notice.
7997         * ibuf-macs.el (toplevel): Require `cl' when compiling.
7999 2002-01-16  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
8001         * startup.el (command-line): Set EOL mnemonics for the Mac.
8003 2002-01-16  Andreas Schwab  <schwab@suse.de>
8005         * mail/feedmail.el (feedmail): Fix :link spec.
8007 2002-01-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8009         * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
8010         2 ldapsearch.
8012         * net/eudc.el: New maintainer.  Change author's address.
8013         (eudc-pre-select-window-configuration, eudc-insertion-marker):
8014         Variables removed.
8015         (eudc-insert-selected): Function removed.
8016         (eudc-select): Reimplemented.
8017         (eudc-expand-inline): Delete the strings only after its expansion
8018         is chosen not before.
8020         * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
8021         Minor coding style fixes.
8023         * net/eudcb-ldap.el: New maintainer.  Change author's address.
8024         (eudc-attribute-display-method-alist): Display mail with
8025         eudc-display-mail.
8027         * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
8028         * net/eudc-vars.el: New maintainer.  Change author's address.
8030         * net/eudc-bob.el: New maintainer.  Change author's address.
8031         (eudc-bob-mail-keymap): New keymap for e-mail addresses.
8032         (eudc-display-mail): New function.
8033         (eudc-bob-play-sound-at-point): Remove XEmacs case.
8035 2002-01-15  Richard M. Stallman  <rms@gnu.org>
8037         * emacs-lisp/autoload.el (make-autoload):
8038         Don't handle define-ibuffer-column, define-ibuffer-filter,
8039         define-ibuffer-sorter, and define-ibuffer-op.
8041 2002-01-14  Richard M. Stallman  <rms@gnu.org>
8043         * calendar/calendar.el (diary-date-forms): Doc fix.
8045 2002-01-14  Eli Zaretskii  <eliz@is.elta.co.il>
8047         * startup.el (command-line): Register the default tty colors even
8048         if the terminal doesn't seem to support colors.
8049         <tty-long-option-alist>: New option --color.
8050         (tty-handle-args): Parse the --color arg.
8052         * term/tty-colors.el (tty-color-mode-alist): New variable.
8054 2002-01-14  Stefan Monnier  <monnier@cs.yale.edu>
8056         * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
8057         (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
8058         Use it.
8059         (ange-ftp-hook-function): Preserve match-data.
8060         (ange-ftp-insert-directory): Typo.
8061         (ange-ftp-shell-command): Check if regexp matched.
8063 2002-01-13  Richard M. Stallman  <rms@gnu.org>
8065         * international/mule-cmds.el: help-map bindings moved to help.el.
8067         * help.el (view-echo-area-messages): New function.
8068         (help-map): Add `e' binding.  Delete obsolete `d' binding.
8069         Change old Info bindings C-f, C-k and C-i to F, K, S.
8070         Move view-emacs-FAQ from F to C-f.
8071         Move view-emacs-problems from P to C-e.
8072         Bindings moved here from mule-cmds.el.
8073         C-l binding for describe-language-environment deleted
8074         (help-for-help): Update for all these changes.
8076         * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
8078 2002-01-13  Dave Love  <fx@gnu.org>
8080         * emacs-lisp/copyright.el: Doc fixes.
8081         (copyright-regexp): Add Latin-9 copyright sign.
8082         Match comment delimiters in year lists.
8083         (copyright-current-year): Initialize to load-time year.
8085 2002-01-13  Andreas Schwab  <schwab@suse.de>
8087         * dired-aux.el (dired-do-shell-command): Doc fix.
8089 2002-01-13  Jan Djarv  <Jan.Djarv@mbox200.swipnet.se>
8091         * startup.el (command-line-x-option-alist): New options "-fs",
8092         "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
8094         * term/x-win.el (x-handle-initial-switch): New function.
8096 2002-01-13  Colin Walters  <walters@debian.org>
8098         * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
8099         define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
8101         * emacs-lisp/lisp-mode.el (toplevel): Ditto.
8103         * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
8105 2002-01-12  Richard M. Stallman  <rms@gnu.org>
8107         * net/browse-url.el (browse-url-grail):
8108         Use browse-url-maybe-new-window.
8110         * net/telnet.el (telnet-simple-send):
8111         Handle comint-input-sender-no-newline like comint-simple-send.
8113         * progmodes/sql.el (sql-query-placeholders-and-send):
8114         Handle comint-input-sender-no-newline like comint-simple-send.
8115         (sql-escape-newlines-and-send): Likewise.
8117         * comint.el (comint-input-sender): Doc fix.
8118         (comint-input-sender-no-newline): New variable.
8119         (comint-simple-send): If comint-input-sender-no-newline,
8120         don't output newline, but maybe send eof.
8121         (comint-send-input): New arg NO-NEWLINE.
8122         (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
8124 2002-01-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8126         * textmodes/flyspell.el (flyspell-check-pre-word-p):
8127         Prevent delaying when executing keyboard macros.
8129 2002-01-12  Richard M. Stallman  <rms@gnu.org>
8131         * simple.el (line-move): If we can't move enough lines,
8132         go to beginning or end of line.
8134         * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
8135         and proper window.
8137         * help.el (describe-mode): Call help-setup-xref in the help buffer.
8138         Switch buffers only after calling `help-buffer'.
8140         * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
8141         only when they are surrounded by whitespace.
8142         Use dired-mark-separator when adding one file name to a command.
8143         (dired-do-shell-command): Verify that * is surrounded by whitespace.
8144         Ask for confirmation if * or ? is not surrounded by whitespace.
8145         (dired-bunch-files): Re-reverse the partial file list when it is used.
8147 2002-01-12  Richard M. Stallman  <rms@gnu.org>
8149         * comint.el (comint-dynamic-list-completions): Repeating the command
8150         after displaying a completion list scrolls the list.
8152 2002-01-12  Eli Zaretskii  <eliz@is.elta.co.il>
8154         * files.el (find-file-noselect): Don't consider a buffer as
8155         visiting a file literally if it is in hexl-mode.
8157         * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
8159 2002-01-11  Richard M. Stallman  <rms@gnu.org>
8161         * startup.el (initial-scratch-message): Fix custom type, add group.
8163         * mail/rmail.el (rmail-decode-babyl-format): Disable undo
8164         around the decode-coding-region call.
8166         * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
8167         after displaying a completion list scrolls the list.
8169 2002-01-11  Eli Zaretskii  <eliz@is.elta.co.il>
8171         * version.el (emacs-version): Bump to 21.2.50.
8173 2002-01-10  Thien-Thi Nguyen  <ttn@giblet.glug.org>
8175         * play/zone.el (zone-timeout): New var.
8176         (zone-hiding-modeline): New macro.
8177         (zone-call): New func.
8179         (zone): Init `modeline-hidden-level' symbol property.
8180         Use `zone-call' instead of `funcall'.
8182         (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
8184         (zone-pgm-stress): Use `zone-hiding-modeline'.
8186         (zone-pgm-stress-destress): New zone program.
8188 2002-01-10  Eli Zaretskii  <eliz@is.elta.co.il>
8190         * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
8192 2002-01-09  Richard M. Stallman  <rms@gnu.org>
8194         * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
8196 2002-01-09  Michael Kifer  <kifer@cs.stonybrook.edu>
8198         * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
8199         flyspell-mouse-map.
8201 2002-01-08  Richard M. Stallman  <rms@gnu.org>
8203         * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
8205         * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
8207         * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
8209 2002-01-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8211         * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
8212         Do not use make-local-hook.
8214 2002-01-08  Eli Zaretskii  <eliz@is.elta.co.il>
8216         * international/quail.el (quail-start-translation)
8217         (quail-start-conversion): Bind last-command-event, last-command,
8218         and this-command in the first let.  This fixes the change from
8219         2000-08-30.
8221 2002-01-08  Michael Kifer  <kifer@cs.stonybrook.edu>
8223         * ediff-hook.el: Add an autoload cookie.
8225 2002-01-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8227         * net/eudcb-ph.el, net/ldap.el: New maintainer.  New e-mail
8228         address of the author.
8230 2002-01-08  Richard M. Stallman  <rms@gnu.org>
8232         * replace.el (occur-mode-goto-occurrence-other-window): New command.
8233         (occur-mode-map): Bind `o' to that.
8235 2002-01-07  Michael Kifer  <kifer@cs.stonybrook.edu>
8237         * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
8238         new macro that replaces viper-emacs-p and viper-xemacs-p in many
8239         cases. Used to reduce the number of warnings.
8241         * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
8242         (viper-standard-value): Move here from viper.el.
8243         (viper-set-unread-command-events): Move to viper-util.el
8244         (viper-check-minibuffer-overlay): Make sure
8245         viper-minibuffer-overlay is moved to cover the entire input field.
8247         * viper-util.el:  use viper-cond-compile-for-xemacs-or-emacs.
8248         (viper-read-key-sequence, viper-set-unread-command-events)
8249         (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
8251         * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
8253         * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
8255         * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
8257         * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
8258         (viper-event-vector-p): Move to viper-util.el
8260         * viper.el (viper-standard-value): Move to viper-cmd.el.
8261         Use viper-cond-compile-for-xemacs-or-emacs.
8263         * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8265         * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8267         * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
8268         New macro designed to be used in many places where ediff-emacs-p or
8269         ediff-xemacs-p was previously used.  Reduces the number of warnings.
8270         Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
8271         of ediff-xemacs-p.
8272         (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
8273         (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
8274         (ediff-whitespace-diff-region-p, ediff-get-region-contents):
8275         Move to ediff-util.el.
8276         (ediff-event-key): Moved here.
8278         * ediff-merge.el: Got rid of unreferenced variables.
8280         * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8282         * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8283         (ediff-cleanup-mess): Improve the way windows are set up after
8284         quitting ediff.
8285         (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
8286         (ediff-dispose-of-variant-according-to-user): New function
8287         designed to be smarter and also understands indirect buffers.
8288         (ediff-highlight-diff-in-one-buffer)
8289         (ediff-unhighlight-diff-in-one-buffer)
8290         (ediff-unhighlight-diffs-totally-in-one-buffer)
8291         (ediff-highlight-diff, ediff-highlight-diff)
8292         (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
8293         (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
8294         (ediff-get-region-contents, ediff-make-current-diff-overlay):
8295         Moved here.
8296         (ediff-format-bindings-of): New function by Hannu Koivisto
8297         <azure@iki.fi>.
8298         (ediff-setup): Make sure the merge buffer is always widened and
8299         modifiable.
8300         (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
8301         result of a merge into a file visited by another buffer.
8302         (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
8303         is visited by another buffer and ask to save/delete that buffer.
8304         (ediff-verify-file-merge-buffer): New function to do the above.
8306         * ediff-vers.el: Load ediff-init.el at compile time.
8308         * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8310         * ediff.el (ediff-windows, ediff-regions-wordwise)
8311         (ediff-regions-linewise): Use indirect buffers to improve
8312         robustness and make it possible to compare regions of the same
8313         buffer (even overlapping regions).
8314         (ediff-clone-buffer-for-region-comparison)
8315         (ediff-clone-buffer-for-window-comparison): New functions.
8316         (ediff-files-internal): Refuse to compare identical files.
8317         (ediff-regions-internal): Get rid of the warning about comparing
8318         regions of the same buffer.
8320         * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
8321         Plus the following fixes courtesy of Dave Love: Doc fixes.
8322         (ediff-word-1): Use word class and move - to the
8323         front per regexp documentation.
8324         (ediff-wordify): Bind forward-word-function outside loop.
8325         (ediff-copy-to-buffer): Use insert-buffer-substring rather than
8326         consing buffer contents.
8327         (ediff-goto-word): Move syntax table setting outside loop.
8329 2002-01-07  Richard M. Stallman  <rms@gnu.org>
8331         * dired.el (dired-copy-filename-as-kill): Call kill-append
8332         if following a kill command.
8334         * help-fns.el (describe-variable, describe-function):
8335         Do save-excursion.
8337 2002-01-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8339         * net/ldap.el (ldap-search-internal): Skip error message from
8340         ldapsearch.  Allow listing attribute names only.  Do not open
8341         non-existent files.
8343         * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
8344         call non-existent function.
8346         * net/eudc.el (top-level): Revert previous change.
8348         * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
8349         variables to prevent warning from byte-compiler.
8351         * net/eudc.el (top-level): Use eudc-xemacs-p instead of
8352         string-match on emacs-version again.
8354         * enriched.el (enriched-make-annotation): Fix the change from
8355         2002-01-05.
8356         (enriched-handle-display-prop): Return proper values.
8358         * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
8359         Use proper attribute name labeledUri instead of deprecated labeledUrl.
8361 2002-01-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8363         * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
8364         editing an empty hotlist.
8366         * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
8367         Use buffer-string instead of buffer-substring for the whole buffer.
8369         * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
8370         not free.
8372         * net/eudc-bob.el (eudc-bob-can-display-inline-images)
8373         (eudc-bob-display-jpeg): Use fboundp instead of boundp.
8374         (eudc-bob-save-object): Make the buffer unibyte.
8375         (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
8376         object to external program.
8378 2002-01-05  Andre Spiegel  <spiegel@gnu.org>
8380         * vc.el (vc-branch-part): Return nil if there's no `.'
8381         (vc-default-previous-version): Renamed from vc-previous-version.
8382         New args BACKEND and FILE.  Return nil for revision numbers
8383         without a `.'
8384         (vc-version-diff): Call vc-BACKEND-previous-version.
8385         (vc-steal-lock): Steal lock before composing mail, so that no mail
8386         is sent when the stealing goes wrong.  And we'll actually see the
8387         error in that case now.
8388         (vc-finish-steal): Removed.
8390         * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
8391         the lock, so that we see expanded headers.
8392         (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
8393         (vc-rcs-minor-part, vc-rcs-previous-version): Removed.  These are
8394         available from vc.el.  Updated all callers.
8396 2002-01-05  Richard M. Stallman  <rms@gnu.org>
8398         * enriched.el (enriched-make-annotation): Doc fix.
8400         * format.el (format-replace-strings, format-subtract-regions)
8401         (format-annotate-region, format-annotate-location)
8402         (format-annotate-atomic-property-change)
8403         (format-annotate-single-property-change): Doc fixes.
8405 2002-01-05  Jason Rumney  <jasonr@gnu.org>
8407         * term/w32-win.el: Require fontset unconditionally.
8408         (w32-handle-scroll-bar-event): Remove.
8410 2002-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8412         * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
8413         copyrights to be updated.
8415 2002-01-04  Eli Zaretskii  <eliz@is.elta.co.il>
8417         * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
8418         2001-10-24.
8420         * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
8422 2002-01-04  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8424         * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
8425         (ldap-ignore-attribute-codings): Change the default value to allow
8426         encoding/decoding of attributes.
8427         (ldap-coding-system): Use UTF-8 as the coding-system.  Doc fix.
8429 2002-01-03  Richard M. Stallman  <rms@gnu.org>
8431         * files.el (basic-save-buffer): Undo previous change.
8433         * calendar/diary-lib.el (diary-block): Doc fix.
8435         * custom.el (defcustom): Fix syntax of previous change.
8437 2002-01-03  Per Abrahamsen  <abraham@dina.kvl.dk>
8439         * custom.el (defcustom): Documented :tag, :link and :load.
8441 2002-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
8443         * mail/sendmail.el (mail-recover-1): New function.
8444         (mail-recover): Switch to the *mail* buffer right away.
8445         Use buffer-auto-save-file-name instead of calling
8446         make-auto-save-file-name.  Call dired-noselect instead of invoking
8447         `ls' directly.  Bind coding-system-for-read to emacs-mule-unix
8448         before reading the auto-save file.  If the buffer's auto-save file
8449         does not exist, call mail-recover-1 to allow recovery from past
8450         auto-saved drafts.
8452 2002-01-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8454         * time.el (display-time-load-average-threshold): Fix defcustom
8455         (add type and group).
8457         * net/ange-ftp.el (ange-ftp-shell-command): Remove port
8458         specification from the hostname.
8460 2002-01-02  Richard M. Stallman  <rms@gnu.org>
8462         * facemenu.el (facemenu-active-faces):
8463         Use face-attributes-as-vector, not face-attributes-vector.
8465 2002-01-02  Chris Hanson  <cph@aarau.ai.mit.edu>
8467         * xscheme.el: Eleven years of updates on a private copy.
8469         Extensive changes to support multiple xscheme buffers:
8470         (run-scheme): Break up into new functions to facilitate starting
8471         processes in other buffers.
8472         (xscheme-start, xscheme-read-command-line): New functions.
8473         (start-scheme, select-scheme)
8474         (default-xscheme-runlight)
8475         (global-set-scheme-interaction-buffer)
8476         (local-set-scheme-interaction-buffer)
8477         (local-clear-scheme-interaction-buffer)
8478         (exit-scheme-interaction-mode)
8479         (verify-xscheme-buffer): New functions.
8480         (xscheme-process-name, xscheme-buffer-name)
8481         (xscheme-runlight): New internal vars.
8482         (default-xscheme-runlight): New const.
8483         (xscheme-start-process): Add args for the process/buffer names.
8484         (reset-scheme): Pass process/buffer names.
8485         (scheme-interaction-mode): Initialize new local vars.
8486         (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
8487         (xscheme-select-process-buffer, xscheme-process-buffer)
8488         (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
8489         (xscheme-goto-output-point, xscheme-write-message-1): Use new
8490         var xscheme-process-name.
8491         (xscheme-start-process): Initialize xscheme-process-name and
8492         xscheme-buffer-name in the process buffer.  Pass buffer name to
8493         xscheme-modeline-initialize.
8494         (xscheme-modeline-initialize): Add argument to specify buffer name
8495         for mode-line vars.
8496         (xscheme-process-sentinel): Make sure sentinel is run in the
8497         process buffer so it sees its local vars.
8498         (xscheme-process-filter-initialize, xscheme-set-runlight):
8499         More elaborate logic to handle multiple-buffer mode lines.
8501         (xscheme-enter-input-wait): Re-enable control-G handler upon
8502         entering input wait.
8504         (scheme-interaction-mode): Add arg to preserve local vars.
8505         (xscheme-enter-interaction-mode)
8506         (xscheme-enter-debugger-mode): Preserve local vars.
8507         (xscheme-start-process): Clobber local vars.
8509         (scheme-interaction-mode-commands): Allow end user to add commands
8510         to scheme-interaction-mode keymap.
8511         (scheme-interaction-mode-commands-alist): New variable.
8513         (xscheme-send-string): Don't use insert-before-markers.
8515         Implement a per-buffer kill ring:
8516         (xscheme-insert-expression)
8517         (xscheme-rotate-yank-pointer, xscheme-yank)
8518         (xscheme-yank-pop, xscheme-yank-push): New functions.
8519         (xscheme-expressions-ring)
8520         (xscheme-expressions-ring-yank-pointer)
8521         (xscheme-expressions-ring-max): New variables.
8522         (xscheme-send-string-1): Call xscheme-insert-expression to save
8523         expression in ring.
8524         (xscheme-yank-previous-send): Now an alias for xscheme-yank.
8525         (xscheme-previous-send): Deleted variable.
8527         (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
8528         (xscheme-send-control-g-interrupt): Use process-send-string rather
8529         than send-string.
8531         (xscheme-send-region): Insert a newline after an expression that
8532         is submitted in the interaction buffer, for consistency with
8533         recent changes to Edwin.
8535         (xscheme-delete-output): New function mimics comint-delete-output.
8536         (xscheme-last-input-end): New internal variable.
8537         (xscheme-process-filter-output): Update xscheme-last-input-end.
8539         (xscheme-send-control-g-interrupt): Make sure that
8540         xscheme-control-g-disabled-p is looked up in the right buffer.
8542         (xscheme-enable-control-g): Clear C-g message if visible.
8543         (xscheme-control-g-message-string): New internal var.
8544         (xscheme-send-control-g-interrupt): Use new var.
8546         (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
8547         Delay after sending interrupt in order to work around race condition.
8549         (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
8550         (xscheme-send-char): Use xscheme-send-char rather than send-string
8551         to send single char.
8553         (xscheme-process-filter, xscheme-process-filter-alist):
8554         Add support for evaluating expressions outside of the call-excursion.
8555         (xscheme-process-filter:string-action-noexcursion): New func.
8557         (xscheme-write-value): Change output string to match that used by
8558         Edwin.
8560         (xscheme-coerce-prompt): Don't write a space after a command
8561         prompt.  The PROMPT-FOR-COMMAND- procedures will take care of this
8562         for us.
8564         (reset-scheme): Delete process after killing it.
8566 2002-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
8568         * bindings.el (function-key-map): Don't bind shifted keypad
8569         numeric keys.
8571 2002-01-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8573         * enriched.el (enriched-handle-display-prop): Remove unused variables.
8574         (enriched-mode): Doc fix.
8576 2002-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
8578         * international/ucs-tables.el (ucs-8859-8-alist): Comment away
8579         Hebrew points.
8581 2002-01-01  Richard M. Stallman  <rms@gnu.org>
8583         * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
8585 2001-12-31  Richard M. Stallman  <rms@gnu.org>
8587         * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
8588         * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
8589         * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
8590         * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
8591         * progmodes/cperl-mode.el, progmodes/idlwave.el:
8592         * progmodes/sh-script.el, progmodes/vhdl-mode.el:
8593         Adapt face definitions to use :weight and :slant.
8595         * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
8597         * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
8599         * font-lock.el (initializing from font-lock-face-attributes):
8600         Use :weight and :slant, not :bold and :italic.
8602 2001-12-31  Per Abrahamsen  <abraham@dina.kvl.dk>
8604         * cus-edit.el (custom-face-edit-fix-value): New function.
8605         (custom-face-edit): Use it, to convert :italic and :bold to new forms.
8607 2001-12-30  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8609         * progmodes/octave-mod.el (octave-abbrev-table):
8610         * progmodes/idlwave.el (idlwave-mode-abbrev-table):
8611         * progmodes/fortran.el (fortran-mode-abbrev-table):
8612         * progmodes/f90.el (f90-mode-abbrev-table):
8613         * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
8614         * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
8615         predefined abbrevs as "system" abbrevs.
8617 2001-12-30  Richard M. Stallman  <rms@gnu.org>
8619         * info.el (Info-fontify-node): For a **** underline line, put the
8620         invisible and intangible props on the following newline, but not
8621         on the previous newline or the last char of the previous line.
8623         * faces.el (face-set-after-frame-default): Don't change `default' face.
8625         * faces.el (minibuffer-prompt): Adopt some default colors.
8627         * replace.el (query-replace-read-args): Immediate error if read-only.
8629         * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
8630         Display the output buffer in a more intelligent way.
8632 2001-12-30  Eli Zaretskii  <eliz@is.elta.co.il>
8634         * ls-lisp.el (insert-directory): Modify the "total" line wording,
8635         in accordance with files.el's insert-directory.
8637 2001-12-29  Richard M. Stallman  <rms@gnu.org>
8639         * files.el (basic-save-buffer): If a before-write hook displays
8640         an echo area message, pause before calling basic-save-buffer-1.
8642 2001-12-29  Markus Rost  <rost@math.ohio-state.edu>
8644         * textmodes/reftex-global.el (reftex-query-replace-document)
8645         (reftex-change-label): Doc fix.
8647         * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
8649         * progmodes/etags.el (tags-query-replace): Doc fix.
8651 2001-12-29  Richard M. Stallman  <rms@gnu.org>
8653         * progmodes/compile.el (compile-internal): Fix previous change.
8655 2001-12-28  Richard M. Stallman  <rms@gnu.org>
8657         * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
8658         shrink the windows above as necessary to get space.
8659         (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
8661         * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
8662         This fixes a bug that treated all files as directories.
8663         (ange-ftp-insert-directory): Explicitly follow symlinks.
8665         * international/iso-transl.el (iso-transl-char-map) Eliminate the
8666         alias symbols--put the translated sequences here directly.
8668         * progmodes/cc-mode.el (c-mode-abbrev-table)
8669         (c++-mode-abbrev-table, objc-mode-abbrev-table)
8670         (java-mode-abbrev-table, pike-mode-abbrev-table):
8671         Mark all the predefined abbrevs as "system" abbrevs.
8673         * mail/sendmail.el (mail-envelope-from): Fix custom type.
8674         (sendmail-send-it): Check mail-specify-envelope-from
8675         and mail-envelope-from in the mail buffer at start.
8677 2001-12-28  Simon Josefsson  <jas@extundo.com>
8679         * mail/sendmail.el (mail-envelope-from): Fix :type.
8680         (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
8682 2001-12-28  Richard M. Stallman  <rms@gnu.org>
8684         * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
8686         * simple.el (line-move-invisible): New subroutine.
8687         (line-move-to-column): New subroutine--smarter about advancing over
8688         invisible parts of a line, or lines, but only as long as hpos grows.
8689         (line-move-finish): New subroutine: repeatedly processes desired
8690         column, intangibility, and fields.
8691         (line-move): Use those subroutines.
8692         When moving lines downward, skip invisible text first rather than last.
8694 2001-12-27  Richard M. Stallman  <rms@gnu.org>
8696         * international/mule-diag.el (describe-char-after):
8697         Describe the text properties of the char after point.
8699         * help.el (describe-key): Doc fix.
8701 2001-12-26  Markus Rost  <rost@math.ohio-state.edu>
8703         * find-dired.el (find-dired-sentinel): Precede exit message by
8704         two spaces, to match the regexp in dired-between-files.
8706 2001-12-28  Miles Bader  <miles@gnu.org>
8708         * wid-edit.el (widget-toggle-value-create): Don't eval actual
8709         images (which are lists too).
8711 2001-12-27  Eli Zaretskii  <eliz@is.elta.co.il>
8713         * language/european.el: Fix the doc string of "Latin-5" language
8714         environment.
8716 2001-12-26  Richard M. Stallman  <rms@gnu.org>
8718         * textmodes/flyspell.el (flyspell-mode-map): New keymap,
8719         defined as before 2001-11-09.
8720         (add-minor-mode call): Specify the keymap.
8722         * progmodes/compile.el (compile-internal):
8723         Set TERM variable in process-environment.
8725 2001-12-25  Richard M. Stallman  <rms@gnu.org>
8727         * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
8728         the buffer.
8730         * startup.el (command-line): Convert command line args
8731         to Emacs internal representation using locale-coding-system.
8733 2001-12-25  Eli Zaretskii  <eliz@is.elta.co.il>
8735         * international/fontset.el: Don't require ind-util when compiling.
8737 2001-12-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8739         * emulation/tpu-edt.el (tpu-reset-screen-size):
8740         Use set-frame-height and set-frame-width instead of set-screen-height
8741         and set-screen-width.
8743         * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
8744         of obsolete set-screen-width.
8746         * locate.el (locate): Remove dot at the end of error argument.
8748         * emerge.el (emerge-show-file-name): Use frame-height instead of
8749         obsolete screen-height.
8751         * mail/mh-utils.el (mh-show-msg): Likewise.
8752         (mh-handle-process-error): Use frame-width instead of obsolete
8753         screen-width.
8755 2001-12-25  Richard M. Stallman  <rms@gnu.org>
8757         * window.el (balance-windows): Use new PRESERVE-BEFORE arg
8758         to enlarge-window.  Use save-selected-window.  Don't try
8759         to resize windows that end at the bottom "level".
8760         Retry changing the sizes until the windows get the desired sizes.
8761         Discount the minibuffer when computing total height available.
8763         * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
8764         (debugger-make-xrefs): Only make a button for the first symbol
8765         on any line.
8767 2001-12-24  Eli Zaretskii  <eliz@is.elta.co.il>
8769         * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
8770         Call IT-setup-unicode-display here instead of adding it to
8771         dos-codepage-setup-hook, so that Unicode display tables are set
8772         before dos-codepage-setup-hook runs.
8774 2001-12-24  Richard M. Stallman  <rms@gnu.org>
8776         * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
8777         (nslookup-mode-abbrev-table): Don't define it.
8778         (smbclient-mode-abbrev-table): Don't define it.
8779         (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
8780         (nslookup-mode, smbclient-mode): Likewise.
8781         (network-connection-service-abbrev-alist): Variable deleted.
8782         (network-connection-mode-setup): Don't set up abbrev table.
8784         * faces.el (minibuffer-prompt): New face.
8785         (minibuffer-prompt-properties): Add `face' property.
8787         * replace.el (occur-mode-display-occurrence): New function.
8788         (occur-mode-map): Bind C-o to it.
8790 2001-12-24  Michael Kifer  <kifer@cs.sunysb.edu>
8792         * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
8793         (viper-special-read-and-insert-char): Make C-m work right in the r
8794         comand.
8795         (viper-buffer-search-enable): Fixed format string.
8797         * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
8798         instead of viper-info-on-file.
8799         (ex-set-visited-file-name): New function.
8801         * viper.el (viper-emacs-state-mode-list): Added mail-mode.
8803         * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
8804         action argument.
8806         * ediff-init.el: Fixed some doc strings.
8808         * ediff-util.el (ediff-after-quit-hook-internal): New variable.
8809         Got rid of make-local-hook.
8811         * ediff-wind.el (ediff-setup-control-frame): Got rid of
8812         make-local-hook.
8814 2001-12-23  Richard M. Stallman  <rms@gnu.org>
8816         * term/x-win.el (x-handle-geometry): Put height and width
8817         on default-frame-alist, left and top on initial-frame-alist.
8818         * term/w32-win.el (x-handle-geometry): Likewise.
8820         * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
8822         * play/yow.el (yow): Use an arg to distinguish interactive calls,
8823         not interactive-p.
8825 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8827         * emacs-lisp/elint.el (elint-unknown-builtin-args):
8828         Remove mocklisp entries.
8830         * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
8831         Lisp.  Obsoleted.
8833         * emulation/mlconvert.el: File removed.
8835         * emulation/mlsupport.el: Moved to obsolete.
8837         * obsolete/mlsupport.el: Moved there from lisp/emulation.
8839         * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
8841         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8842         Remove mocklisp case.
8844         * help-fns.el (describe-function-1): Remove mocklisp function case.
8846 2001-12-22  Miles Bader  <miles@gnu.org>
8848         * textmodes/refill.el (refill-mode): Don't barf when redundantly
8849         turning refill-mode off.
8851 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8853         * time.el (display-time-load-average-threshold): New variable.
8854         (display-time-update): Use it.
8856         These changes allow cycling through past 1, 5 and 15 minutes
8857         load-average displayed in the mode-line.
8859         * time.el (display-time-default-load-average): New customizable option.
8860         (display-time-load-average): New variable.
8861         (display-time-cycle-load-average): New function.
8862         (display-time-update): Use them.
8864 2001-12-21  Richard M. Stallman  <rms@gnu.org>
8866         * apropos.el (apropos-print): SPACING is now nil or a separator string.
8867         (apropos-documentation, apropos-value): Pass a suitable string.
8869 2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>
8871         * dired.el (dired-free-space-program, dired-free-space-args):
8872         Aliases for back-compatibility.
8874         * info.el (Info-select-node): If Info-use-header-line is nil, set
8875         header-line-format to nil.
8876         (Info-fontify-node): Don't put a keymap text property on the
8877         heading if we are not going to display the header line.  Remove
8878         any such text properties left over from past visits to this node.
8880         * ls-lisp.el (insert-directory): Insert the amount of free disk
8881         space, like files.el's insert-directory does.
8883         * files.el (directory-free-space-program):
8884         Mention file-system-info in the doc string.
8885         (get-free-disk-space): New function; code moved from insert-directory.
8886         (insert-directory): Call get-free-disk-space to get the amount of
8887         free space.
8889 2001-12-21  Richard M. Stallman  <rms@gnu.org>
8891         * help.el (view-order-manuals, view-emacs-news, describe-copying)
8892         (describe-distribution, describe-project): Use view-file.
8894         * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
8896         * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
8898         * emacs-lisp/easy-mmode.el (define-minor-mode):
8899         Make no arg by default in an interactive call,
8900         so that repeating the command toggles again.
8902         * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
8904 2001-12-21  Christoph Wedler  <Christoph.Wedler@sap.com>
8906         * antlr-mode.el: More sophisticated indentation of cpp directive.
8907         (antlr-indent-at-bol-alist): New user option.
8908         (antlr-indent-line): Use it.
8909         (antlr-indent-style): New user option.
8910         (antlr-mode): Use it.
8911         (antlr-indent-item-regexp): Customize.
8913         * antlr-mode.el: Syntax highlighting changes.
8914         (antlr-font-lock-literal-regexp): New user option.
8915         (antlr-font-lock-syntax-face): New face used for :, |, ....
8916         (antlr-font-lock-default-face): New face.
8917         (antlr-font-lock-additional-keywords): Use them.
8919         * antlr-mode.el: New command to insert options -- variables.
8920         (antlr-mode-map): New binding [C-c C-o].
8921         (antlr-mode-menu): New submenus.
8922         (antlr-options-use-submenus): New user option.
8923         (antlr-tool-version): New user option.
8924         (antlr-options-auto-colon): New user option.
8925         (antlr-options-style): New user option.
8926         (antlr-options-push-mark): New user option.
8927         (antlr-options-assign-string): New user option.
8928         (antlr-options-headings): New variable.
8930         * antlr-mode.el: New command to insert options -- specific.
8931         (antlr-options-alists): New variable.
8932         (antlr-read-value): New function.
8933         (antlr-read-boolean): New function.
8934         (antlr-language-option-extra): New function.
8935         (antlr-language-limit-n-regexp): Change default to higher LIMIT.
8936         (antlr-c++-mode-extra): New function.
8937         (antlr-grammar-tokens): New function.
8938         (antlr-imenu-create-index-function): New optional argument.
8940         * antlr-mode.el: New command to insert options -- functions.
8941         (antlr-insert-option): New command.
8942         (antlr-insert-option-interactive): New function.
8943         (antlr-options-menu-filter): New function.
8944         (antlr-option-kind): New function.
8945         (antlr-scan-lists): New alias.
8946         (antlr-scan-lists-internal): New function.
8947         (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
8948         (antlr-option-level): New function.
8949         (antlr-syntactic-grammar-depth): New function.
8950         (antlr-option-location): New function.
8951         (antlr-insert-option-do): New function.
8952         (antlr-option-spec): New function.
8953         (antlr-version-string): New function.
8954         (antlr-insert-option-existing): New function.
8955         (antlr-insert-option-space): New function.
8956         (antlr-insert-option-area): New function.
8958         * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
8959         with narrowing.  Menu change.  Miscellaneous.
8960         (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
8961         (antlr-mode-map): New bindings for characters in ":;|&(){}".
8962         (antlr-electric-character): New command.
8963         (antlr-class-header-regexp): New variable.
8964         (antlr-font-lock-additional-keywords): Use it.
8965         (antlr-imenu-create-index-function): Use it.
8966         (antlr-file-dependencies): Use it.
8967         (antlr-indent-line): Also works with restrictions.
8968         (antlr-indent-command): Interactive spec - changes the buffer.
8969         (antlr-language-for-option): Deletia.
8970         (antlr-language-option): New function, defined instead.
8971         (antlr-mode): Use it.
8973 2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>
8975         * jka-compr.el (jka-compr-partial-uncompress): Use null-device
8976         instead of a literal /dev/null.
8978         * Makefile.in (distclean): Remove Makefile in the build
8979         directory, not in the source directory.
8981 2001-12-21  Simon Josefsson  <jas@extundo.com>.
8983         * mail/smtpmail.el (smtpmail-send-queued-mail):
8984         Use with-temp-buffer instead of find-file-noselect, and bind
8985         coding-system-for-read to no-conversion when reading the queued
8986         messages.  (Simon's code modified slightly by Eli Zaretskii.)
8988 2001-12-20  Werner Lemberg  <wl@gnu.org>
8990         * international/mule-diag.el (describe-coding-system)
8991         (print-coding-system-briefly): Make printed output have a similar
8992         format as describe-character-set.
8994 2001-12-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8996         * play/blackbox.el (bb-member): Remove, use member instead.
8997         (bb-delete): Remove, use delete instead.
8998         Update copyright notice.  Defvar for bb-board, bb-x, bb-y,
8999         bb-score, bb-detour-count and bb-balls-placed.
9000         Propertize results of rays.
9002 2001-12-19  Karl Fogel  <kfogel@red-bean.com>
9004         * isearch.el (isearch-forward, isearch-edit-string): Make doc
9005         strings mention keybinding for `isearch-yank-word-or-char',
9006         rather than `isearch-yank-word', since the former is bound now
9007         and the latter is not.
9008         (isearch-yank-word-or-char): Fix formatting.
9010 2001-12-19  Werner Lemberg  <wl@gnu.org>
9012         * language/czech.el, language/european.el, language/slovak.el:
9013         More fixes for language info doc strings.
9015 2001-12-19  Eli Zaretskii  <eliz@is.elta.co.il>
9017         * loadup.el: Add "language" to the load-path.
9019 2001-12-19  Richard M. Stallman  <rms@gnu.org>
9021         * international/mule-cmds.el (describe-language-environment):
9022         Fix calls to help-xref-button.
9024 2001-12-19  Miles Bader  <miles@gnu.org>
9026         * international/fontset.el: Require `ind-util' when compiling.
9028 2001-12-18  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9030         * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
9031         instead of decompose-composite-char.
9033 2001-12-18  Richard M. Stallman  <rms@gnu.org>
9035         * simple.el (eval-expression-print-level)
9036         (eval-expression-print-length): Doc fixes.
9038         * international/mule-diag.el (describe-character-set):
9039         Fix the arg to help-xref-button.
9041         * files.el (directory-free-space-program): New variable.
9042         (directory-free-space-args): New variable.
9043         (insert-directory): Use those two variables for getting free space.
9044         Use file-system-info instead, if that is defined.
9046         * dired.el (dired-free-space-program): Variable deleted.
9047         (dired-free-space-args): Variable deleted.
9048         (dired-insert-directory): Don't try to determine free space.
9050         * files.el (font-lock-defaults): Add risky-local-variables prop.
9051         (hack-one-local-variable): Treat various font-lock variables as risky.
9053 2001-12-18  Werner Lemberg  <wl@gnu.org>
9055         * language/chinese.el, language/cyrillic.el:
9056         * language/czech.el, language/european.el, language/greek.el:
9057         * language/hebrew.el, language/indian.el, language/japanese.el:
9058         * language/korean.el, language/lao.el, language/slovak.el:
9059         * language/thai.el, language/tibetan.el, language/vietnamese.el:
9060         Improve documentation strings of coding systems and language infos.
9062 2001-12-18  Werner LEMBERG  <wl@gnu.org>
9064         Add support for EUC-TW decoding/encoding.
9066         * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
9067         (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
9068         New auxiliary functions to build `big5-to-cns'.
9069         (big5-to-cns): New translation alist.
9071         * language/chinese.el: Added new coding system `euc-tw' and its
9072         alias `euc-taiwan'.
9073         Updated language `Chinese-CNS' to include euc-tw encoding also.
9074         (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
9075         euc-tw.
9077 2001-12-18  Dave Love  <fx@gnu.org>
9079         * loadup.el: Add language/utf-8-lang, language/georgian.
9081         * image-file.el (image-file-name-extensions): Add pnm.  Doc fix.
9082         (image-file-name-regexps): Doc fix.
9084         * server.el (server-unload-hook): New function.
9086         * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
9087         (lm-crack-copyright): Cope with multi-line copyright `lines'.
9089         * simple.el (newline): Doc fix.
9090         (eval-expression-print-level, eval-expression-print-length): Doc
9091         fix.  Amend :type.
9092         (next-line, previous-line): Make arg optional.
9093         (newline): Doc fix.
9095         * Makefile.in (DONTCOMPILE): Add various language files.
9097         * international/quail.el (quail-input-string-to-events): Don't use
9098         string-to-list.
9100         * progmodes/f90.el (f90-break-line): Avoid infinite recursion
9101         calling `newline'.
9103 2001-12-17  Richard M. Stallman  <rms@gnu.org>
9105         * comint.el (comint-dynamic-list-input-ring-select): New function.
9106         Switches back to the old window configuration.
9107         (comint-dynamic-list-input-ring): Bind RET to that function.
9108         (comint-dynamic-list-input-ring-window-conf): New variable.
9110 2001-12-17  Werner Lemberg  <wl@gnu.org>
9112         * international/mule-conf.el: Improve documentation strings of
9113         character sets.
9115 2001-12-16  Richard M. Stallman  <rms@gnu.org>
9117         * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
9118         (dired-mode-map): Bind w to dired-copy-filename-as-kill.
9120         * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
9122         * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
9123         Add a DESCRIPTION for the makefile item.
9125         * find-file.el (ff-other-file-name): New function.
9127 2001-12-16  Eli Zaretskii  <eliz@is.elta.co.il>
9129         * international/quail.el (quail-input-string-to-events): Fix last
9130         change.
9132 2001-12-16  Richard M. Stallman  <rms@gnu.org>
9134         * isearch.el (isearch-edit-string): When we set isearch-string
9135         to the default, also set isearch-message.
9137         * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
9139         * startup.el (command-line-1): Display startup screen
9140         even if there are command line args.
9141         Add a note about how to go to editing your files.
9142         (fancy-splash-head): Add a note about how to go to your files.
9143         (fancy-splash-outer-buffer): New variable.
9144         (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
9146         * subr.el (with-temp-message): At the end, always discard
9147         the temp message, even by clearing the echo area.
9149         * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
9151 2001-12-16  Stefan Monnier  <monnier@cs.yale.edu>
9153         * log-view.el (log-view-message-re, log-view-current-tag):
9154         Recognize Subversion's log output format.
9156         * international/fontset.el: Build the list L at compile time.
9158         * language/ind-util.el (mapthread): Make a closure.
9160 2001-12-15  Richard M. Stallman  <rms@gnu.org>
9162         * isearch.el (isearch-start-hscroll): New variable.
9163         (isearch-mode): Set isearch-start-hscroll.
9164         (isearch-update): Restore original hscrolling if possible.
9166         * isearch.el (isearch-edit-string):
9167         Treat isearch-yank-word-or-char specially, like isearch-yank-word.
9169         * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
9170         (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
9171         rather than regexp search and (2) copying text properties
9172         already set up on text unchanged from the previous backtrace.
9174         * case-table.el (set-case-syntax-pair):
9175         Detect invalid calls and signal an error.
9177 2001-12-15  Richard M. Stallman  <rms@gnu.org>
9179         * language/ind-util.el (range): Function deleted.
9180         (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
9181         All calls changed.
9183         * language/devan-util.el (devanagari-range): Renamed from `range'.
9184         All calls changed.
9185         (devanagari-regexp-of-hashtbl-keys):
9186         Renamed from `regexp-of-hashtbl-keys'.  All calls changed.
9188 2001-12-15  Dave Love  <fx@gnu.org>
9190         * language/ind-util.el: Don't require cl.
9191         (indian-glyph-char, indian-glyph-max-char)
9192         (indian-char-glyph): Moved from indian.el
9193         (indian--puthash-char, mapthread): Don't quote lambda.
9194         (indian--map): New function.
9195         (indian--puthash-v, indian--puthash-c, indian--puthash-m)
9196         (indian--puthash-cv): Use it.
9198         * language/indian.el (indian-glyph-char, indian-glyph-max-char)
9199         (indian-char-glyph): Moved to ind-util.el
9201         * language/devan-util.el (devanagari-post-read-conversion):
9202         New function.
9204         * language/georgian.el: New file.
9206         * international/mule-cmds.el (locale-language-names): Add various
9207         entries.  Remove utf-8 special case.
9208         (locale-charset-language-names, locale-preferred-coding-systems):
9209         Add utf-8 case.
9210         (set-language-environment): Process required-features earlier.
9212         * international/quail.el (quail-keyboard-layout-alist):
9213         Add pc105-uk.
9214         (quail-keyboard-layout-type): Fix :type.
9215         (quail-choose-completion-string): Simplify.
9216         (quail-update-leim-list-file): Don't get fooled by commented-out code.
9217         (quail-input-string-to-events): Run events through
9218         translation-table-for-input.
9220         * international/mule-conf.el (translation-table-for-input):
9221         New variable.
9222         (latin-iso8859-14): Amend description.
9223         (file-coding-system-alist): Add entry for utf-8.
9225         * language/utf-8-lang.el: New file.
9227         * international/code-pages.el: New file.
9229         * language/hebrew.el ("Windows-1255"): New language.
9231         * language/european.el ("Welsh", "Latin-7", "Lithuanian")
9232         ("Latvian"): New languages.
9234 2001-12-14  Stefan Monnier  <monnier@cs.yale.edu>
9236         * xml.el: Use setq rather than (set 'foo bar).
9237         Use push+nreverse rather than append.
9238         (xml-node-name, xml-node-attributes, xml-node-children):
9239         Use defsubst rather than macros.
9240         (xml-parse-region): Handle a nil return value from xml-parse-tag.
9241         (xml-parse-tag): Don't skip white space.  Return nil for a comment.
9242         Concat the two strings surrounding a comment into a single string.
9244         * newcomment.el (comment-indent): Jump to the middle of empty comments.
9246 2001-12-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9248         * select.el (xselect-convert-to-class, xselect-convert-to-name):
9249         Document.
9251 2001-12-14  Andre Spiegel  <spiegel@gnu.org>
9253         * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
9254         Return nil if FILE is not registered.
9255         (vc-check-master-templates, vc-default-make-version-backups-p):
9256         Doc fix.
9258 2001-12-13  David Ponce  <david@dponce.com>
9260         * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
9261         (ruler-mode-left-fringe-cols): New macro.
9262         (ruler-mode-right-fringe-cols): New macro.
9263         (ruler-mode-left-scroll-bar-cols): New macro.
9264         (ruler-mode-right-scroll-bar-cols): New macro.
9265         (ruler-mode-ruler): Use above new macros.
9267 2001-12-13  Richard M. Stallman  <rms@gnu.org>
9269         * files.el (set-auto-mode): Fix previous change.
9271 2001-12-13  Stefan Monnier  <monnier@cs.yale.edu>
9273         * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
9274         (easy-menu-do-define, easy-menu-convert-item-1)
9275         (easy-menu-define-key-intern, easy-menu-get-map): Use it.
9276         (easy-menu-return-item): Only return nil if there is no binding.
9278 2001-12-13  Rajesh Vaidheeswarran  <rv@gnu.org>
9280         * whitespace.el (whitespace-version): 3.2
9281         * whitespace.el (whitespace-force-mode-line-update): Replace with
9282         `whitespace-mode-line-update', which is an alias to the correct
9283         function in various emacsen.
9284         * whitespace.el (whitespace-{un,}highlight-the-space):
9285         Add colorized highlighting of the bogus whitespaces in a buffer/file,
9286         using the `whitespace-highlight-face' if
9287         `whitespace-display-spaces-in-color' is set.
9289 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
9291         * international/mule.el (set-auto-coding): Don't search for
9292         "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
9294 2001-12-13  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9296         * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
9298         * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
9300         * mail/rmailsum.el (rmail-summary-mode): Likewise.
9302 2001-12-13  Richard M. Stallman  <rms@gnu.org>
9304         * simple.el (undo): Always set this-command to `undo',
9305         so that the next undo after an error will not begin redoing.
9307         * simple.el (shell-command): Doc fix.
9308         (shell-command-on-region): If there is output an an error,
9309         add "...Shell command failed" to the output.
9311 2001-12-13  David Ponce  <david@dponce.com>
9313         * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
9314         (ruler-mode-left-fringe-cols): Function replaced by more efficient
9315         implementation `ruler-mode-extra-left-cols'.
9316         (ruler-mode-ruler): Use above new function.  Take into account
9317         that the fringe areas can now be resized.
9319 2001-12-12  Richard M. Stallman  <rms@gnu.org>
9321         * international/characters.el (Unicode): Comment out
9322         the specifications for kelvin and angstrom signs.
9324         * international/mule.el (make-translation-table-from-vector):
9325         Allow null elements in VEC.
9327         * international/ucs-tables.el (unify-8859-on-encoding-mode)
9328         (unify-8859-on-decoding-mode): Swap the code in their bodies.
9329         Add :version.
9331 2001-12-11  Richard M. Stallman  <rms@gnu.org>
9333         * derived.el (derived-mode-p): Function moved to subr.el.
9335         * subr.el (derived-mode-p): Moved here from derived.el.
9337         * international/mule.el (set-auto-coding): Use set-auto-mode-1.
9339         * files.el (set-auto-mode-1): New subroutine, broken out of
9340         set-auto-mode.
9341         (set-auto-mode, hack-local-variables-prop-line): Use that.
9343 2001-12-11  Dave Love  <fx@gnu.org>
9345         * language/thai-util.el, language/thai.el: Add Unicode equivalents.
9347         * language/european.el: Remove autoload cookies.  Fix registration
9348         of diacritic composition function.
9350 2001-12-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9352         * calendar/todo-mode.el: Require time-stamp.
9354         * net/zone-mode.el (zone-mode): Don't use make-local-hook.
9356 2001-12-11  Richard M. Stallman  <rms@gnu.org>
9358         * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
9360         * textmodes/ispell.el (ispell-buffer-local-parsing):
9361         Match xml like sgml.
9363         * emacs-lisp/advice.el (ad-compile-function):
9364         Byte compile the function under another (uninterned) name.
9366         * gud.el (gdb): Define and bind gud-jump.
9368         * font-lock.el (font-lock-mode):
9369         Put our function at the end of after-change-functions.
9371         * ediff-diff.el (ediff-cmp-options): Doc fix.
9373         * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
9375 2001-12-10  Richard M. Stallman  <rms@gnu.org>
9377         * isearch.el (isearch-yank-word-or-char): New function.
9378         (isearch-mode-map): Bind C-w to that.
9380         * menu-bar.el (menu-bar-mode): Make arg optional.
9382         * simple.el (line-move): Cope if next-single-property-change
9383         or previous-single-property-change returns nil.
9385         * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
9386         Don't use interactive-p; instead, pass the proper args
9387         in (interactive...).  Clean up most of the trouble-report strings.
9389 2001-12-10  Eli Zaretskii  <eliz@is.elta.co.il>
9391         * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
9392         enqueued messages literally.
9394 2001-12-10  Noah Friedman  <friedman@splode.com>
9396         * battery.el (battery-insert-file-contents): Obsolete function
9397         removed.
9398         (battery-read-function): Obsolete function removed.
9399         (battery-linux-proc-apm): Use insert-file-contents.
9401 2001-12-07  Stephen Eglen  <stephen@gnu.org>
9403         * iswitchb.el (iswitchb-visit-buffer):
9404         Use `select-frame-set-input-focus'--needed when window manager
9405         uses "click to focus" policy.
9407 2001-12-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9409         * COPYING: Moved back.
9411 2001-12-07  Eli Zaretskii  <eliz@is.elta.co.il>
9413         * term/internal.el (IT-character-translations): Add entries for
9414         more points.
9416         * international/characters.el: Resurrect the Hebrew category
9417         settings for all Hebrew characters removed by the last change.
9418         Add code for setting the Hebrew category of the Unicode Hebrew
9419         characters.  Set syntax entries for Hebrew punctuation characters.
9421         * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
9422         points and directional formatting control characters.
9424 2001-12-07  Dave Love  <fx@gnu.org>
9426         * language/lao-util.el: Add Unicode equivalents for rules.
9427         (lao-post-read-conversion): New function.
9429         * language/lao.el: Add Unicode equivalents.
9430         (lao): Add post-read conversion.
9432         * international/latin1-disp.el: Fix some 8-bit-graphic characters.
9433         Use iso2022 encoding.
9434         (latin1-char-displayable-p): Doc fix.
9435         (latin1-display-ucs-per-lynx): New option.
9436         (latin1-display-ucs-per-lynx): New command.
9437         (latin1-display-reset): Special-case arabic.
9438         (ucs-tables): Require.
9439         (latin1-display-sets, latin1-display-setup): Add arabic.
9440         (latin1-display) <variable>: Use function latin1-display.
9441         (latin1-display) <function>: Add mule-unicode stuff.
9442         (latin1-display-check-font): Don't lose if `info' is nil.
9444         * international/iso-transl.el: Insert Latin-1 characters, not
9445         unibyte codes.
9447         * language/european.el (diacritic-composition-pattern): New constant.
9448         (diacritic-compose-region, diacritic-compose-string)
9449         (diacritic-compose-buffer, diacritic-post-read-conversion)
9450         (diacritic-composition-function): New functions.
9452         * international/utf-8.el (ucs-mule-to-mule-unicode):
9453         New translation table.
9454         (ccl-encode-mule-utf-8): Use it.
9455         (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
9456         (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
9457         (utf-8-subst-table): New variable.
9458         (utf-8-compose-scripts): New option.
9459         (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
9461         * international/ucs-tables.el, international/utf-8-subst.el:
9462         New files.
9464         * international/characters.el: Don't set word syntax (the default)
9465         explicitly.  Add a diacritic category.  Add info for Unicode
9466         equivalents of characters in various Mule charsets and for extra
9467         Unicode characters.  Don't define specific categories for
9468         Indian/Devanagari, since they aren't used.
9470 2001-12-06  Richard M. Stallman  <rms@gnu.org>
9472         * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
9473         (set-justification-left, set-justification-right): Doc fix.
9475         * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
9476         (bug-f90-mode): Variable deleted.
9478 2001-12-06  Stefan Monnier  <monnier@cs.yale.edu>
9480         * indent.el (indent-line-function): Default is indent-relative again.
9482 2001-12-07  Miles Bader  <miles@gnu.org>
9484         * progmodes/compile.el (compilation-error-regexp-alist):
9485         Added regexps for RXP.
9487 2001-12-05  Eli Zaretskii  <eliz@is.elta.co.il>
9489         * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
9490         Add shift-assignment operators to those highlighted, and highlight
9491         the whole operator rather than just the "=".
9493 2001-12-04  Juanma Barranquero  <lektu@terra.es>
9495         * files.el (save-abbrevs, save-some-buffers): Don't ask the user
9496         before saving abbrevs if `save-abbrevs' has the value `silently'.
9498 2001-12-04  Andreas Schwab  <schwab@suse.de>
9500         * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
9502 2001-12-04  Colin Walters  <walters@debian.org>
9504         * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
9505         for `defmacro*' forms.
9507         * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
9508         `defmacro*'.
9510 2001-12-03  Stefan Monnier  <monnier@cs.yale.edu>
9512         * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
9514 2001-12-02  Richard M. Stallman  <rms@gnu.org>
9516         * files.el (insert-directory): If the df output does not look right,
9517         don't try to use it.  Other cleanups in overall code structure.
9519 2001-12-02  Stefan Monnier  <monnier@cs.yale.edu>
9521         * textmodes/outline.el (outline-mode-prefix-map):
9522         Add bindings for outline-promote and outline-demote.
9523         (outline-minor-mode-menu-bar-map): New var.
9524         (outline-minor-mode): Use it.
9525         (outline-heading-alist): New var (renamed from outline-level-heading).
9526         (outline-level): Use it.
9527         (outline-insert-heading, outline-promote, outline-demote):
9528         Update to use outline-heading-alist.
9530         * disp-table.el (standard-display-european):
9531         Simplify since the function is not interactive any more.
9532         Don't set the existing buffers to unibyte.
9534         * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
9536         * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
9538         * reveal.el (reveal-mode): Fix reveal-mode's lighter.
9540         * shell.el (shell): Use shell-file-name.
9541         Pop to buffer before calling comint to set COLUMNS properly.
9543         * emacs-lisp/cl.el (svref): New alias.
9545         * progmodes/antlr-mode.el (antlr-c-common-init):
9546         Don't inhibit adaptive-fill-mode any more.
9548         * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
9550         * progmodes/etags.el (tags-with-face): Use make-symbol.
9551         (tags-search, tags-query-replace): Use backquotes.
9553         * textmodes/picture.el (picture-mode-map): Don't use defconst
9554         for a variable.
9556 2001-12-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9558         * textmodes/reftex-index.el (reftex-index-mode):
9559         Remove make-local-hook.
9561         * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
9563 2001-12-02  Kim F. Storm  <storm@cua.dk>
9565         * isearch.el (isearch-resume-enabled): New variable.
9566         (isearch-done): Use that variable.
9568 2001-12-01  Richard M. Stallman  <rms@gnu.org>
9570         * wid-edit.el (widget-button-click): Don't move point permanently:
9571         Avoid mouse-set-point--instead select the window,
9572         then do save-excursion, then move point.
9573         Specify the buffer for get-char-property.
9574         Don't use `@' in interactive.
9576         * indent.el (indent-line-function):
9577         Default is indent-to-left-margin again.
9579         * replace.el (query-replace-read-args): Display message
9580         if FROM contains `\n' or `\t'.
9582 2001-12-01  Stefan Monnier  <monnier@cs.yale.edu>
9584         * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
9586         * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
9588         * emacs-lisp/regexp-opt.el (regexp-opt):
9589         Bind completion-regexp-list to nil.
9591         * progmodes/hideif.el (hif-nexttoken): Move to before first def.
9593 2001-12-01  Eli Zaretskii  <eliz@is.elta.co.il>
9595         * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
9596         * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
9597         Update maintainer.
9599 2001-11-30  Stefan Monnier  <monnier@cs.yale.edu>
9601         * mail/smtpmail.el: Use with-current-buffer.
9602         (message-make-date, message-make-message-id): Autoload when needed.
9603         (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
9604         headers when missing.
9606         * international/encoded-kb.el (encoded-kbd-mode):
9607         Use define-minor-mode.
9609         * enriched.el (enriched-mode): Use define-minor-mode.
9610         Use dolist and pop and push.
9612         * info.el (Info-find-node-2): Don't call info-insert-file-contents
9613         with the `visit' argument.
9614         (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
9616         * progmodes/hideif.el (hide-ifdef-mode): Only modify
9617         `change-major-mode-hook' locally.  Reset invisibility spec.
9619         * man.el (Man-build-section-alist): Remove last Man-match-substring.
9621 2001-11-30  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9623         * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
9624         Clarify error message.
9626 2001-11-29  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9628         * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
9630 2001-11-30  Andre Spiegel  <spiegel@gnu.org>
9632         * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
9633         don't just return it.
9635 2001-11-30  Eli Zaretskii  <eliz@is.elta.co.il>
9637         * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
9638         (menu-bar-read-emacs-man, search-emacs-glossary)
9639         (emacs-index-search, elisp-index-search): New functions.
9640         (apropso-documentation, apropos, apropos-value, apropos-variable)
9641         (apropos-commands): Modify menu item names and help text.
9642         (elisp-index-search, emacs-index-search, emacs-glossary):
9643         New menu items.
9644         (menu-bar-manuals-menu): Move the Ordering Manuals item to a
9645         submenu.
9646         (info-elisp, info-elintro): New menu items.
9647         (apropos): Modify the menu item name.
9649 2001-11-30  Stefan Monnier  <monnier@cs.yale.edu>
9651         * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
9653         * textmodes/outline.el (outline-promote, outline-demote): Typo.
9655         * man.el (man-follow-mouse): New function.
9656         (Man-mode-map): Bind mouse-2 to it.
9657         (Man-match-substring): Remove.  Replace with `match-string'.
9658         (man): Use the `default-value' argument to `read-string'.
9659         (Man-fontify-manpage): Add mouse-face to cross references.
9661         * emacs-lisp/cl-macs.el (shiftf): Fix more.  Simplify.
9663 2001-11-29  Stefan Monnier  <monnier@cs.yale.edu>
9665         * emacs-lisp/crm.el (completing-read-multiple): Better preserve
9666         the value of require-match in minibuffer-completion-confirm.
9667         Use crm-local-completion-map.
9669         * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
9670         (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
9671         (cl-make-type-test): Use char-valid-p for `character'.
9673         * info.el (Info-complete-next-re, Info-complete-cache): New vars.
9674         (Info-complete-menu-item): Rewrite.  Add the ability to search
9675         several sequential nodes.  Add a simple caching mechanism.
9676         (Info-goto-index): New function extracted from Info-index.
9677         (Info-index): Use it.  Add completion to the interactive spec.
9678         (Info-menu-update): Simplify call to `Info-complete-menu-item'.
9680 2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9682         * COPYING: Removed.
9684 2001-11-29  Dave Love  <fx@gnu.org>
9686         * progmodes/fortran.el: Fontify rewind, backspace.  Doc fixes.
9687         (fortran-window-create, fortran-window-create-momentarily):
9688         Rewrite, moving error condition.
9689         (fortran-beginning-do, fortran-beginning-if): Fix regexps.
9690         (fortran-mode-syntax-table): Revert last change.
9692         * international/mule.el: Doc fixes.
9693         (map-charset-chars): New function.
9694         (register-char-codings): Use it to cope with generic chars in
9695         safe-chars.
9697 2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9699         * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
9701         * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
9703         * play/studly.el (studlify-word, studlify-region)
9704         (studlify-buffer): Fix doc-string.
9705         (studlify-buffer): Add autoload cookie.
9707 2001-11-28  Stefan Monnier  <monnier@cs.yale.edu>
9709         * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
9710         (outline-up-heading-all): Remove.
9711         (hide-sublevels): Move to end-of-heading before calling flag-region.
9712         (outline-copy-overlay, outline-discard-overlays): Remove.
9713         (outline-flag-region): Use `remove-overlays'.
9714         Don't move to end-of-heading.
9715         (outline-next-visible-heading, outline-back-to-heading)
9716         (outline-on-heading-p): Use outline-invisible-p.
9717         (outline-font-lock-level): Use outline-up-heading's new arg.
9718         (outline-minor-mode): Simplify.
9719         (outline-map-tree, outline-reveal-toggle-invisible): New funs.
9720         (outline): Put a `reveal-toggle-invisible' property.
9721         (outline-level-heading): New var.
9722         (outline-insert-heading, outline-promote, outline-demote)
9723         (outline-toggle-children): New commands.
9725         * progmodes/hideif.el (hif-end-of-line): New function.
9726         (hide-ifdef-mode): Set line-move-ignore-invisible.
9727         (hide-ifdef-region-internal): New function.
9728         (hide-ifdef-region): Use it.
9729         (hif-defined): Return an integer.
9730         (hif-infix-to-prefix): Remove.
9731         (hif-tokenize): Parse from the buffer rather than from a string.
9732         Correctly tokenize integers.  Use forward-comment.
9733         (hif-expr): Use hif-or.
9734         (hif-term): Use hif-and.
9735         (hif-factor): Use hif-not.  Handle numbers properly.
9736         Don't require parenthesis around `defined's argument.
9737         (hif-and, hif-or, hif-not): New funs.
9738         (hif-canonicalize): Pass a region to hif-tokenize.  Use hif-not.
9739         (hif-hide-line): Don't hide the \n before the line.
9740         (hif-possibly-hide): Correctly handle numeric evaluation results.
9742         * progmodes/make-mode.el: Use line-(end|beginning)-position.
9743         (makefile-mode): Set indent-line-function.
9744         (makefile-browser-insert-continuation): Use with-current-buffer.
9745         (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
9747 2001-11-28  Karl Fogel  <kfogel@red-bean.com>
9749         * isearch.el (isearch-yank-internal): New helper function.
9750         (isearch-yank-char): New function.
9751         (isearch-yank-word, isearch-yank-line): Rewrite to use
9752         isearch-yank-internal.
9754 2001-11-28  Eli Zaretskii  <eliz@is.elta.co.il>
9756         * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
9757         aren't supported.  Print a message to that effect if invoked.
9759 2001-11-27  Stephen Eglen  <stephen@gnu.org>
9761         * locate.el (locate): Put point at first matching file rather
9762         than top of buffer.
9764 2001-11-27  Stefan Monnier  <monnier@cs.yale.edu>
9766         * reveal.el: New file.
9768         * progmodes/hideif.el: Misc cleanup.
9769         (hide-ifdef-mode-submap): Put the def in the defvar.
9770         Use substitute-key-definition.
9771         (hide-ifdef-mode): Use define-minor-mode.
9772         (hif-outline-flag-region): Remove.
9773         (hif-show-all): Define in terms of hif-show-ifdef-region.
9774         (hif-after-revert-function): Rename from hif-before-revert-function.
9775         (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
9776         (hif-tokenize): Use with-syntax-table.
9777         (hif-make-range): Use `else' also for `else-p'.
9778         (hif-range-else-p): Remove.
9779         (hif-find-range): Simplify.
9780         (hif-hide-line): Don't bother preserving buffer-modified-p.
9781         (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
9782         Don't use selective-display and inhibit-read-only.
9784         * subr.el (copy-overlay, remove-overlays): New funs.
9786         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
9788 2001-11-27  Sam Steingold  <sds@gnu.org>
9790         * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
9791         * lazy-lock.el, mouse-sel.el, mail/feedmail.el
9792         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
9793         * obsolete/c-mode.el, obsolete/cplus-md.el
9794         * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
9795         * term/sun-mouse.el, textmodes/artist.el:
9796         Converted backquote to the new style.
9797         * mouse.el, reposition.el: Likewise (in comments).
9798         * expand.el: Likewise (in a string).
9800 2001-11-27  Richard M. Stallman  <rms@gnu.org>
9802         * cus-edit.el (custom-load-symbol): Don't always load locate-library.
9804 2001-11-26  Richard M. Stallman  <rms@gnu.org>
9806         * wid-edit.el (widget-toggle-value-create): On graphic terminal,
9807         if :on-glyph or :off-glyph is a list, eval it and store it back.
9808         (checkbox): Quote the values for :on-glyph and :off-glyph.
9810         * cus-start.el (recursive-load-depth-limit): Delete item.
9812 2001-11-26  Stefan Monnier  <monnier@cs.yale.edu>
9814         * help-fns.el (describe-categories, help-describe-category-set): New.
9815         describe-categories moved here from src/category.c.
9817 2001-11-26  Sam Steingold  <sds@gnu.org>
9819         * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
9820         arguments to `insert' are strings.
9822 2001-11-26  Richard M. Stallman  <rms@gnu.org>
9824         * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
9826 2001-11-26  Eli Zaretskii  <eliz@is.elta.co.il>
9828         * international/mule-diag.el: Require help-fns instead of
9829         help-funs.
9831         * help-fns.el: Renamed from help-funs.el.
9833         * startup.el (command-line-1): Don't try to call process-list if
9834         it is not fboundp.
9836 2001-11-26  Sam Steingold  <sds@gnu.org>
9838         * frame.el (show-trailing-whitespace): Remove :set argument (the
9839         value was essentially identical to the defalt).
9841 2001-11-26  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9843         * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
9845         * icomplete.el (icomplete-minibuffer-setup): Likewise.
9847         * hilit-chg.el (hilit-chg-set): Likewise.
9849         * speedbar.el (speedbar-mode): Likewise.
9851         * calendar/calendar.el (calendar-mode): Likewise.
9853         * play/yow.el (psychoanalyze-pinhead): Use insert instead of
9854         insert-string.
9856         * play/gamegrid.el (gamegrid-init-buffer): Likewise.
9858         * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
9860         * term/sun-mouse.el (sun-yank-selection): Likewise.
9862         * textmodes/bib-mode.el (return-key-bib): Likewise.
9864         * calendar/appt.el (appt-disp-window): Likewise.
9866         * calendar/diary-lib.el (list-diary-entries): Likewise.
9868         * array.el (array-reconfigure-rows): Likewise.
9870         * filecache.el (file-cache-minibuffer-complete): Likewise.
9872         * obsolete/cplus-md.el (fill-c++-comment): Likewise.
9874         * strokes.el (strokes-prompt-user-save-strokes): Likewise.
9876         * allout.el (outline-version, outline-open-topic)
9877         (outline-rebullet-heading, outline-insert-listified)
9878         (outline-latex-verbatim-quote-curr-line)
9879         (outline-latexify-one-item, outlineify-sticky): Likewise.
9881         * vc.el (vc-next-action-on-file): Likewise.
9882         (vc-dired-mode): Remove make-local-hook.
9884 2001-11-26  Andre Spiegel  <spiegel@gnu.org>
9886         * vc.el (vc-find-version): New function.
9887         (vc-version-other-window): Redefined in terms of the above.
9889         * log-view.el (log-view-find-version): New function.
9890         (log-view-mode-map): Bind it to `f'.
9892 2001-11-26  Gerd Moellmann  <gerd@gnu.org>
9894         * language/devan-util.el (dev-char-glyph): Escape `"' in
9895         string literals.
9896         (dev-glyph-glyph, dev-glyph-glyph-2)
9897         (devanagari-compose-syllable-region): Likewise.
9899 2001-11-26  Richard M. Stallman  <rms@gnu.org>
9901         * window.el (save-selected-window): No error if saved window is dead.
9903         * help-funs.el (describe-syntax): Put (interactive) after doc string.
9905 2001-11-26  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9907         * international/quail.el (quail-help): Require help-mode in
9908         top-level instead.
9910         * iswitchb.el (iswitchb-exhibit): Use insert instead of
9911         insert-string.
9913         * icomplete.el (icomplete-exhibit): Likewise.
9915 2001-11-25  Stefan Monnier  <monnier@cs.yale.edu>
9917         * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
9918         (diff-hunk-kill): Simplify.
9919         (diff-post-command-hook): Only apply to a single hunk.
9920         (diff-hunk-text): Make `char-offset' non-optional.
9921         (diff-find-text): Return a cons cell.
9922         (diff-find-approx-text): New fun.
9923         (diff-find-source-location): Use it.
9924         (diff-apply-hunk, diff-test-hunk, diff-goto-source):
9925         Adapt to new retval of diff-find-text.
9927         * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
9928         rather than integer- representation of dates.
9930         * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
9932         * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
9933         (syntax-after): New fun.
9935         * help-funs.el (describe-syntax): New fun.
9937         * font-lock.el (font-lock-cache-state, font-lock-cache-position)
9938         (font-lock-ppss-stats, font-lock-ppss): Remove.
9939         (font-lock-fontify-syntactically-region): Remove tuning code.
9940         (font-lock-compile-keywords): Fix off-by-one bug.
9941         (font-lock-set-defaults): Don't set removed vars.
9942         (c-keywords): Add `inline'.
9943         (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
9945         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9946         Set syntax-begin-function.
9947         (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
9948         (lisp-interaction-mode): Don't set local-abbrev-table any more.
9949         (lisp-mode-auto-fill): Use syntax-ppss and obey
9950         comment-auto-fill-only-comments.
9951         (lisp-fill-paragraph): Use syntax-ppss.
9953 2001-11-25  ShengHuo ZHU  <zsh@cs.rochester.edu>
9955         * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
9956         version of rmail-enable-mime.
9957         (rmail-forward): Use it.
9959 2001-11-25  Richard M. Stallman  <rms@gnu.org>
9961         * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
9963         * international/quail.el (quail-keyboard-layout-button):
9964         Define button type.
9965         (quail-keyboard-customize-button): Likewise.
9966         (quail-help): Use those button types.  Require `help-mode'.
9967         Avoid altering the argument `package'.
9969         * help-mode.el (help-function, help-variable, help-face)
9970         (help-coding-system, help-input-method, help-character-set):
9971         Define each button type with its own explicit define-button-type.
9973         * language/devan-util.el: Comment out parts of the file
9974         which apparently are garbled.
9976 2001-11-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9978         * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
9979         insert-string.
9981 2001-11-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9983         * play/snake.el (snake-mode): Remove make-local-hook.
9985         * play/tetris.el (tetris-mode): Likewise.
9987         * play/decipher.el (decipher-mode): Likewise.
9989         * tmm.el (tmm-add-prompt): Likewise.
9991 2001-11-25  Sam Steingold  <sds@gnu.org>
9993         * menu-bar.el (menu-bar-apropos-menu): New variable.
9994         Moved all `apropos' bindings to this menu.
9995         (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
9997 2001-11-24  KAWABATA, Taichi <batta@beige.ocn.ne.jp>
9999         The following changes are for new indian languages support based
10000         on Unicode charset and CDAC fonts.
10002         * international/mule-conf.el: Change indian-1-column charset to
10003         indian-glyph charset.
10005         * international/characters.el: Adjusted for the change of
10006         indian-1-column -> indian-glyph.
10008         * international/fontset.el: Delete the setting for indian-1-column
10009         and add the setting for indian-glyph in the default fontset.
10011         * language/indian.el: Completely re-written.
10013         * language/devanagari.el: Completely re-written.
10015         * language/devan-util.el: Completely re-written.
10017         * language/ind-util.el: New file.
10019 2001-11-24  Richard M. Stallman  <rms@gnu.org>
10021         * startup.el (command-line-1): Don't do startup screen
10022         if a subprocess is running.  Call the startup screen buffer
10023         "GNU Emacs".  Make a special mode-line-format for it.
10025         * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
10026         (browse-url-galeon): Use that variable.
10028         * mail/supercite.el (sc-toggle-var): Don't use set-variable or
10029         eval-expression.  Eval and set the variable simply.
10031         * files.el (temporary-file-directory): Use defcustom.
10032         (small-temporary-file-directory): Likewise.
10033         (normal-backup-enable-predicate): Move down in file
10034         after definition of temporary-file-directory.
10036         * bindings.el (last-buffer, unbury-buffer): Doc fixes.
10038 2001-11-24  Colin Walters  <walters@debian.org>
10040         * calc/calc-ext.el (calc-init-extensions): Update the rest of the
10041         autoload names to match files renamed on initial calc import.
10043         * calc/calc.el (Commentary): Cleanup, and add logistic curve
10044         fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
10046 2001-11-23  Colin Walters  <walters@debian.org>
10048         * Makefile.in (finder_setwins, setwins): Include Calc again.
10050         * calc/calc-rules.el: Add header comment.
10052 2001-11-23  Andre Spiegel  <spiegel@gnu.org>
10054         * vc.el (with-vc-properties): Don't bind `filename' locally.
10055         (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
10056         to avoid name clashes.  Fix `lisp-indent-function' property for
10057         both.
10059 2001-11-23  Francesco Potorti`  <pot@gnu.org>
10061         * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
10063 2001-11-22  Colin Walters  <walters@debian.org>
10065         * calc/calc-misc.el (report-calc-bug):
10066         Use `reporter-prompt-for-summary-p'.
10068         * calc/INSTALL, calc/Makefile: Remove.
10070 2001-11-22  Miles Bader  <miles@gnu.org>
10072         * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
10073         (reb-match-2, reb-match-3): Add dark-background variants.
10075 2001-11-22  Colin Walters  <walters@debian.org>
10077         * calc/calc-misc.el (calc-info): Don't perform voodoo, just
10078         (info "Calc").
10079         (report-calc-bug): Use reporter.el.
10081         * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
10083 2001-11-21  Richard M. Stallman  <rms@gnu.org>
10085         * which-func.el (which-function): Call imenu--make-index-alist
10086         if necessary to get a list of functions.
10087         (which-function-imenu-failed): New variable.
10088         (which-func-update): Handle all visible windows.
10089         (which-func-update-1): New subroutine broken out of which-func-update.
10091         * files.el (temporary-file-directory, null-device)
10092         (small-temporary-file-directory): Definitions moved up.
10094         * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
10095         (cperl-non-problems, cperl-praise): Doc fixes.
10097         * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
10098         (sh-mode-syntax-table): Function restored.
10099         Variable set up for use by function sh-mode-syntax-table.
10100         (sh-set-shell): Set the syntax table.
10102         * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
10104         * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
10106         * international/encoded-kb.el: Don't alter minor-map-alist.
10108 2001-11-20  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10110         * files.el (auto-save-file-name-transforms): Put remote files in
10111         temporary-file-directory rather than /tmp.
10113 2001-11-21  Colin Walters  <walters@debian.org>
10115         * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
10116         of (function ...) wrapper.
10118 2001-11-20  Stefan Monnier  <monnier@cs.yale.edu>
10120         * derived.el (define-derived-mode): Create the abbrev-table
10121         from inside the `defvar'.
10123         * jit-lock.el (jit-lock-defer-time): New var.
10124         (jit-lock-defer-timer, jit-lock-buffers): New vars.
10125         (jit-lock-mode): Initialize them.  Cancel the timers more carefully.
10126         (jit-lock-function): Defer fontification if requested.
10127         (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
10128         (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
10129         text property.
10130         (jit-lock-deferred-fontify): New fun.
10132 2001-11-20  Richard M. Stallman  <rms@gnu.org>
10134         * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
10135         Set local-abbrev-table to lisp-mode-abbrev-table.
10137         * emacs-lisp/re-builder.el (reb-mode):
10138         Don't use define-derived-mode.  Call kill-all-local-variables.
10140         * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
10141         Don't use define-derived-mode.
10143         * help-mode.el (help-mode): Undo 2001-10-07 change.
10145         * replace.el (occur-mode): Undo 2001-5-20 change.
10147 2001-11-20  Jason Rumney  <jasonr@gnu.org>
10149         * w32-fns.el (w32-system-coding-system): Change to an alias for
10150         locale-coding-system.
10151         (set-w32-system-coding-system): Document the above change.
10152         Set locale-coding-system instead.
10154 2001-11-20  Richard M. Stallman  <rms@gnu.org>
10156         * ruler-mode.el: Add pagination.
10157         (ruler-mode-toggle-show-tab-stops): No need to
10158         test `ruler-mode' variable.
10160 2001-11-20  Eli Zaretskii  <eliz@is.elta.co.il>
10162         * play/landmark.el: Mark lm-mode as special.
10164         * play/gomoku.el: Mark gomoku-mode as special.
10166 2001-11-20  Juanma Barranquero  <lektu@terra.es>
10168         * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
10169         (top-level): Bind it to C-c C-b.
10170         (re-builder): Don't re-enter RE Builder Mode.
10172         * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
10174 2001-11-20  Stefan Monnier  <monnier@cs.yale.edu>
10176         * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
10177         `manual-program'.
10179         * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
10180         to a line without a comment.
10182 2001-11-20  Eli Zaretskii  <eliz@is.elta.co.il>
10184         * dired.el (dired-listing-switches): Mention in the doc string
10185         that some switches are not supported by ls-lisp.el
10187 2001-11-19  Stefan Monnier  <monnier@cs.yale.edu>
10189         * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
10190         (imenu--create-keymap-2): Remove.
10191         (imenu--create-keymap-1): Simplify, remove third argument.
10192         (imenu--generic-function): Use dolist.
10193         (imenu-find-default): New function.
10194         (imenu--completion-buffer): Use it.
10195         (imenu--mouse-menu): Use popup-menu.
10196         (imenu--menubar-select): Return t rather than calling imenu.
10198         * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
10199         New functions, extracted from fill-region-as-paragraph.
10200         (fill-region-as-paragraph): Use them.
10201         Use an end marker instead of eob.
10202         Ignore whitespace-only fill-prefixes when indenting according to mode.
10203         Simplify the loop that searches for spaces backwards.
10205         * textmodes/picture.el (picture-vertical-step)
10206         (picture-horizontal-step): Don't use defconst for variables.
10208         * mail/mail-extr.el: Use backquote/dolist/mapc/when.  Docstring fixes.
10209         (mail-extract-address-components): Downcase domain names.
10210         (mail-extr-delete-char): Remove.  Use delete-char instead.
10212         * emulation/pc-select.el: Doc string fixes.
10213         (pc-selection-mode): Don't treat macos as a tty.
10215         * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
10217         * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
10219         * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
10220         (mouse-wheel-progessive-speed): New var.
10221         (mwheel-scroll): Use it and handle float values.
10223         * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
10225         * iswitchb.el (iswitchb-mode): Use define-minor-mode.
10226         (iswitchb): Fix the case where the result was selected with the mouse.
10227         (iswitchb-completion-help): Use the normal *Completions* now that
10228         mouse selection works.
10229         (iswitchb-minibuffer-setup): Simplify.
10231         * newcomment.el (comment-column, comment-style, comment-multi-line)
10232         (comment-auto-fill-only-comments): Remove :group arg.
10233         (comment-padding): Add :type.
10234         (comment-indent-new-line): Ignore comment-auto-fill-only-comments
10235         if called interactively.
10237 2001-11-19  Colin Walters  <walters@verbum.org>
10239         * calc/calc.el (toplevel): Add comment and version header.
10240         (calc-init-base): Bump version to 2.02f, update date.
10242 2001-11-19  Richard M. Stallman  <rms@gnu.org>
10244         * net/browse-url.el: Support Mozilla and Galeon.
10245         By default, find the installed browser whichever it is.
10246         (browse-url-mozilla): New function.
10247         (browse-url-mozilla-sentinel): New function.
10248         (browse-url-galeon, browse-url-galeon-sentinel): New functions.
10249         (browse-url-default-browser): New function.
10250         (browse-url-process-environment): Use browse-url-browser-display.
10251         (browse-url-browser-display): Renamed from browse-url-netscape-display.
10252         (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
10253         (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
10254         (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
10255         (browse-url-browser-function): New default, new options.
10257 2001-11-19  Sam Steingold  <sds@gnu.org>
10259         * bindings.el (last-buffer, unbury-buffer): New function.
10260         (mode-line-unbury-buffer): Use `unbury-buffer'.
10262 2001-11-18  Stephen Eglen  <stephen@gnu.org>
10264         * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
10265         control behaviour when no further completion is possible.
10267 2001-11-19  Colin Walters  <walters@verbum.org>
10269         * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
10270         (math-showing-full-precision, math-with-extra-prec, math-working)
10271         (calc-with-default-simplification)
10272         (calc-with-trail-buffer): Use backtick.
10273         (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
10274         (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
10275         (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
10276         (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
10277         (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
10278         (Math-num-integerp, Math-bignum-test, Math-equal-int)
10279         (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
10280         (calc-record-compilation-date-macro): Deleted.  Callers updated.
10281         (math-format-radix-digit): Move to calc-bin.el.
10283         * calc/calc.el (calc-record-compilation-date): Remove.
10284         (calc-bug-address): Update.
10285         (calc-settings-file): Use `user-init-file'.
10287         * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
10288         Handle null `calc-settings-file'.
10290         * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
10291         * calc/calc-keypd.el (calc-keypad-mode): New.
10292         (calc-do-keypad): Use it.
10293         (calc-keypad-map): Move into `calc-keypad-mode'.
10295         * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
10296         to defalias argument.
10298         * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
10299         (calcFunc-floor): Ditto.
10301         * calc-units.el (calcFunc-usimplify): Ditto.
10303         * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
10304         * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
10305         * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
10306         * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
10307         * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
10308         * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
10309         * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
10310         * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
10311         * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
10312         * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
10313         * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
10314         and move them before their first use.  Use `when', `unless'.
10315         Remove trailing periods from error forms.  Add description and
10316         headers suggested by Emacs Lisp coding conventions.
10318 2001-11-19  Stefan Monnier  <monnier@cs.yale.edu>
10320         * newcomment.el (comment-indent):
10321         Fix misindentation for comment-only lines.
10322         (comment-indent-new-line): Only obey comment-multi-line if the
10323         comment-ender is not the end-of-line.
10325 2001-11-19  Richard M. Stallman  <rms@gnu.org>
10327         * net/net-utils.el (network-connection-service-abbrev-alist):
10328         New variable.
10330         * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
10331         Advance to start of 3rd sexp by moving fwd and backing over it.
10332         At first three elements, act like defun.
10334         * delsel.el (delete-selection-pre-hook): Handle and resignal
10335         file-supersession errors to interact properly with userlock.el.
10337 2001-11-18  Richard M. Stallman  <rms@gnu.org>
10339         * progmodes/fortran.el (fortran-mode-syntax-table):
10340         Specify punctuation syntax for backslash.
10342         * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
10343         All calls deleted.
10345         * international/mule-util.el (string-to-sequence): Make it obsolete.
10346         (string-to-list, string-to-vector): Implement them directly
10347         using append and vconcat, not with string-to-sequence.
10349         * startup.el (command-line): Set abbrevs-changed to nil after
10350         reading the init file and the abbrevs file.
10352         * isearch.el (isearch): Use magenta2 as bg for (background light)
10354 2001-11-17  Richard M. Stallman  <rms@gnu.org>
10356         * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
10358         * simple.el (minibuffer-history-sexp-flag): Doc fix.
10360 2001-11-17  Stefan Monnier  <monnier@cs.yale.edu>
10362         * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
10363         If set and if applicable, add a regexp to highlight defun-like
10364         text inside comments and strings.
10365         (font-lock-fontify-keywords-region): Pass that new arg.
10366         (font-lock-set-defaults): Move the code to set `font-lock-keywords'
10367         to the end and pass that new arg.
10368         (c-font-lock-keywords-2): Fix regex for labels.
10369         (font-lock-match-c++-style-declaration-item-and-skip-to-next):
10370         Make it work when LIMIT is several lines further.
10371         (c-font-lock-keywords-3, c++-font-lock-keywords-3)
10372         (objc-font-lock-keywords-3, java-font-lock-keywords-3):
10373         Use backquote and make the regexes for `int a, b, c;' work on
10374         multiple lines.
10376         * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
10377         (font-lock-defaults-alist): Don't change it any more.
10378         (reb-subexp-mode-map): Cleanup.
10380         * custom.el (custom-current-group-alist): New var.
10381         (custom-declare-group): Set it.
10382         (custom-current-group): New fun.
10383         (custom-declare-variable, custom-handle-all-keywords):
10384         Use it as a default if no :group argument is specified.
10386         * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
10387         (standard-keyboard-coding-systems): New var.
10388         (set-locale-environment): Use it to decide whether or not to call
10389         set-keyboard-coding-system.
10390         (locale-language-names): Use \"French\" for "fr".
10392 2001-11-17  Richard M. Stallman  <rms@gnu.org>
10394         * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
10395         (add-to-list): Delete compatibility code.
10396         (checkdoc-next-message-error): Doc fix.
10398 2001-11-17  Stephen Eglen  <stephen@gnu.org>
10400         * locate.el (locate): Show default locate pattern within the
10401         prompt, but don't insert it into the minibuffer contents.
10402         Catch the case when pattern is the empty string.
10404 2001-11-17  Eli Zaretskii  <eliz@is.elta.co.il>
10406         * language/european.el ("French"): New language environment.
10408 2001-11-16  Richard M. Stallman  <rms@gnu.org>
10410         * calendar/todo-mode.el (todo-save): Fix previous change.
10412         * subr.el (functionp): Do use cdr-safe on object.
10414 2001-11-16  Stefan Monnier  <monnier@cs.yale.edu>
10416         * bindings.el (mode-line-mode-name): Only put the help-echo property
10417         if the local-map property was put as well.
10418         (global-map): Bind switch-frame, delete-frame, iconify-frame
10419         and make-frame-visible events.
10421         * emacs-lisp/elp.el (elp-not-profilable): New var.
10422         (elp-not-profilable-p): New function.
10423         (elp-instrument-function): Use it.  Use backquotes and push.
10425         * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
10426         (byte-stack+-info, byte-compile-last-warned-form)
10427         (byte-compile-last-logged-file): Don't defconst a variable.
10428         (no-byte-compile): Declare.
10429         (byte-compile-file): Don't boundp-check no-byte-compile any more.
10430         (byte-compile-defvar): Leave defconst as is.
10432         * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
10433         (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
10434         (edebug-current-offset, edebug-old-def-name, edebug-error-point)
10435         (edebug-best-error): Don't defconst a variable.
10436         (edebug-read-syntax-table): Use a char-table.
10437         (edebug-lemacs-specific): Remove.
10438         Toplevel: Eliminate check for Lucid Emacs.
10440         * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
10442         * rect.el (move-to-column-force): Mark obsolete.
10443         (operate-on-rectangle, delete-extract-rectangle-line)
10444         (insert-rectangle, delete-whitespace-rectangle-line)
10445         (open-rectangle-line, clear-rectangle-line): Use move-to-column.
10446         (string-rectangle-history): New var.
10447         (string-rectangle, string-insert-rectangle): Use it.
10448         (delete-rectangle-line): Fix pos/column mixup and simplify.
10450         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
10451         (normal-top-level, command-line, command-line-1): Simplify.
10453         * tar-mode.el (tar-mode): Use define-derived-mode.
10455         * view.el (view-mode-enable): Don't use make-local-hook.
10457         * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
10459 2001-11-16  Richard M. Stallman  <rms@gnu.org>
10461         * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
10462         if it doesn't make sense as anything else.
10463         Don't recognize a "telephone number" at the beginning of the name.
10464         (mail-extr-leading-garbage): Match non-word characters only.
10466 2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
10468         * startup.el (command-line-processed): Doc fix.
10470         * apropos.el (apropos-next-label-button): Doc fix.
10472 2001-11-16  Stefan Monnier  <monnier@cs.yale.edu>
10474         * comint.el (comint-mode): Simplify.
10475         (make-comint-in-buffer): Run `comint-mode' only if necessary.
10477         * subr.el (eval-after-load): Make it work with features as well.
10479         * log-view.el (log-view-mode): Don't mark the buffer unmodified.
10481         * international/mule-cmds.el (describe-input-method): Setup xref.
10482         (set-language-environment): Use functionp.
10483         (locale-language-names, locale-charset-language-names)
10484         (locale-preferred-coding-systems): Defconst and purecopy.
10486         * language/european.el (mac-roman): Add mime-charset property.
10488 2001-11-15  Richard M. Stallman  <rms@gnu.org>
10490         * emacs-lisp/cl.el (values, values-list, multiple-value-list)
10491         (multiple-value-apply, nth-value): Use defsubst rather than defalias
10492         to get better doc strings.
10494 2001-11-15  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
10496         * derived.el: Fix autoload cookie.
10498 2001-11-15  Richard M. Stallman  <rms@gnu.org>
10500         * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
10502 2001-11-15  Stefan Monnier  <monnier@cs.yale.edu>
10504         * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
10506 2001-11-15  Richard M. Stallman  <rms@gnu.org>
10508         * dired.el (dired-undo): Display a message to explain
10509         that this does not undo file system changes.
10511 2001-11-15  David Kastrup  <David.Kastrup@t-online.de>
10513         * mouse-drag.el (mouse-drag-throw): Push back non-drag events
10514         into `unread-command-events' instead of trying keymap
10515         lookups ourselves.  This makes mouse-clicks do the right
10516         thing even when keymaps of overlays are involved.
10517         (mouse-drag-drag): Likewise.
10519 2001-11-15  Andreas Schwab  <schwab@suse.de>
10521         * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
10522         characters and append anchor to pattern added to auto-mode-alist.
10524 2001-11-15  Stefan Monnier  <monnier@cs.yale.edu>
10526         * server.el (server-process-filter): Run pre/post-comment-hook
10527         before/after visiting the file.
10529         * info-look.el (makefile-mode): Add info for automake.
10530         (autoconf-mode): Fix the name of the index for automake.
10532         * international/latin-9.el: Give pilcrow punctuation syntax.
10534 2001-11-15  Andre Spiegel  <spiegel@gnu.org>
10536         * vc.el: Documentation fixes.
10538 2001-11-14  Stefan Monnier  <monnier@cs.yale.edu>
10540         * smerge-mode.el (smerge-match-conflict): Fix typo.
10541         (smerge-diff): Be careful to read match-data early enough.
10543 2001-11-14  Colin Walters  <walters@verbum.org>
10545         * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
10546         (calcFunc-subst): Use `defalias' instead of `fset' and
10547         `symbol-function'.
10549         * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
10550         (calcFunc-ceil, calcFunc-round): Ditto.
10552         * calc/calc-bin.el (calcFunc-clip): Ditto.
10554         * calc/calc-ext.el (calcFunc-evalv): Ditto.
10556         * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
10558         * calc/calc-misc.el (math-fixnump, math-fixnatnump)
10559         (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
10561         * calc/calc-units.el (calcFunc-unsimplify): Ditto.
10563         * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
10564         * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
10565         * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
10566         * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
10567         * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
10568         * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
10569         * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
10570         * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
10571         * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
10572         * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
10573         * calcsel2.el: Style cleanup; don't put closing parens on their
10574         own line, add "foo.el ends here" to each file, and update
10575         copyright date.
10577         * README: Update maintainer.
10579 2001-11-13  Richard M. Stallman  <rms@gnu.org>
10581         * progmodes/compile.el (recompile): Use compilation-arguments if
10582         set, so as to be able to M-x recompile the exact command which
10583         created a compilation-mode buffer.
10585         * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
10587 2001-11-13  Gerd Moellmann  <gerd@gnu.org>
10589         * mouse.el (mouse-drag-region): Don't run the up-event
10590         handler if window start changed due to the down-mouse event.
10592 2001-11-13  Richard M. Stallman  <rms@gnu.org>
10594         * mouse.el (mouse-show-mark): Either move point to the mark
10595         or use highlighting, never both.
10596         (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
10598 2001-11-13  Simon Josefsson  <jas@extundo.com>
10600         * mail/smtpmail.el (top-level): Change maintainer to Simon
10601         Josefsson, cleanup the smtpmail.el header.
10603         * mail/smtpmail.el (top-level): Don't require cl or base64.
10604         (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
10605         (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
10606         Defsubst instead of defmacro.
10607         (smtpmail-intersection): Return value in reverse order.
10608         (smtpmail-open-stream): Use stringp instead of string-to-list.
10609         (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
10610         separated from smtpmail-via-smtp.
10612         * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
10613         rfc2104.  Require base64 and cl.
10614         (smtpmail-smtp-service): Doc fix.  :type fix.
10615         (smtpmail-debug-info): Doc fix.
10616         (smtpmail-debug-verb, smtpmail-auth-credentials)
10617         (smtpmail-starttls-credentials, smtpmail-auth-supported):
10618         New variables.
10619         (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
10620         mail-utils (it is autoloaded).
10621         (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
10622         (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
10623         (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
10624         (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
10625         (smtpmail-via-smtp): Support AUTH.
10626         (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
10628 2001-11-13  Richard M. Stallman  <rms@gnu.org>
10630         * ebuff-menu.el (electric-buffer-update-highlight): New function.
10631         (electric-buffer-overlay): New variable.
10632         (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
10633         (electric-buffer-list): Likewise.
10635         * isearch.el (isearch-whitespace-chars): Doc fix.
10636         (isearch-mode): Handle negative search-slow-window-lines correctly.
10638 2001-11-13  Stefan Monnier  <monnier@cs.yale.edu>
10640         * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
10642         * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
10643         From Emmanuel Briot <briot@act-europe.fr>.
10645 2001-11-13  Colin Walters  <walters@debian.org>
10647         * calc/calc.el (calc-unread-command): Use `unread-command-events'.
10649         * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
10650         "~/.emacs"; use `read-file-name'.
10652         * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
10653         * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
10654         * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
10655         * calc/calc.el: Use `frame-width' instead of `screen-width',
10656         `frame-height' instead of `screen-height', and,
10657         `executing-kbd-macro' instead of `executing-macro'.
10659         * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
10660         correct number of arguments.
10662         * calc/calc-aent.el (calc-do-alg-entry):
10663         Use `blink-paren-function' instead of `blink-paren-hook'.
10665 2001-11-12  Richard M. Stallman  <rms@gnu.org>
10667         * calendar/todo-mode.el (todo-save): Add save-excursion
10668         and save-restriction.
10670         * server.el (server-edit, server-done): Doc fix.
10672         * simple.el (clone-indirect-buffer): Error if major mode symbol
10673         has a no-clone-indirect property.
10674         (clone-buffer): Check for obvious errors before reading clone name.
10676         * info.el (Info-mode): Add a no-clone-indirect property.
10678 2001-11-12  Sam Steingold  <sds@gnu.org>
10680         * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
10681         set-buffer-modified-p to nil after `vc-exec-after'.
10682         * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
10683         (log-view-mode): Make read-only.
10684         (log-view-current-file): Do final `expand-file-name' in the
10685         current `default-directory'.
10686         (log-view-current-tag): Take an optional `where' arg.
10687         (log-view-diff): New user command.
10689 2001-11-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
10691         * progmodes/cpp.el (cpp-choose-face): Fix typo.
10693 2001-11-12  Sam Steingold  <sds@gnu.org>
10695         * emacs-lisp/cl-indent.el (toplevel): Indent properly
10696         `generic-flet', `generic-labels', `with-accessors',
10697         `with-condition-restarts'.
10699 2001-11-12  Richard M. Stallman  <rms@gnu.org>
10701         * dired.el: Many trivial doc fixes.
10702         (dired-get-file-for-visit): New function.
10703         (dired-find-alternate-file, dired-mouse-find-file-other-window)
10704         (dired-view-file, dired-find-file-other-window, dired-display-file)
10705         (dired-find-file): Use dired-get-file-for-visit.
10707 2001-11-12  Alex Schroeder  <kensanata@yahoo.com>
10709         * sql.el (sql-mode): Doc change.
10711         * sql.el (sql-mode-syntax-table): The backslash is no longer an
10712         escape character.
10714 2001-11-12  Colin Walters  <walters@debian.org>
10716         * calc/calc-keypd.el (toplevel): Bind mouse buttons.
10717         (calc-do-keypad): Don't attempt to use nonexistent global
10718         mouse-map, use calc-keypad-map.
10719         (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
10720         (calc-keypad-left-click): Don't use mouse-map; update to new event
10721         interface.
10722         (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
10723         (calc-keypad-press): Use `unread-command-events' instead of
10724         `unread-command-char'.
10726         * calc/calc-ext.el (calc-init-extensions): Update autoload names
10727         to match files renamed on initial calc import.
10729 2001-11-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
10731         * textmodes/flyspell.el (flyspell-default-dictionary):
10732         Fix previous change.
10734 2001-11-12  Richard M. Stallman  <rms@gnu.org>
10736         * textmodes/flyspell.el (flyspell-default-dictionary):
10737         Fix custom type.
10739 2001-11-11  Richard M. Stallman  <rms@gnu.org>
10741         * calendar/solar.el (solar-sunrise-and-sunset):
10742         Exchange the two extreme values of day-length.
10744         * progmodes/sh-script.el (sh-must-be-shell-mode):
10745         Allow modes derived from sh-mode.
10747         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
10748         Turn off error in some re-search-forward calls.
10750         * replace.el (query-replace-skip-read-only): New variable.
10751         (perform-replace): If that variable is non-nil, ignore matches
10752         that have a read-only property.
10754         * derived.el (define-derived-mode): Doc fix.
10756         * server.el (server-buffer-done): Test of server-existing-buffer
10757         was backwards.
10758         (server-existing-buffer): Doc fix.
10760         * textmodes/flyspell.el (flyspell-default-dictionary):
10761         Allow nil as value, and make nil the default.
10763 2001-11-11  Eli Zaretskii  <eliz@is.elta.co.il>
10765         * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
10766         it is not fboundp.
10767         (clipboard-yank): Ditto.
10769 2001-11-11  Colin Walters  <walters@verbum.org>
10771         The following changes are based on patches from
10772         Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro\e,A_\e(Bjohann
10773         <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
10775         * calc/calc.el (toplevel): Require calc-macs.
10776         (calc-minibuffer-size): New.
10777         (calcDigit-nondigit): Use it instead of `buffer-size'.
10778         (calcDigit-backspace): Likewise.
10779         (calcDigit-nondigit): Use `minibuffer-contents' instead of
10780         `buffer-string'.
10781         (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
10782         `point-min'.
10783         (calcDigit-key): Use `calc-minibuffer-contains' instead of a
10784         `save-excursion'.
10786         * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
10787         simple `setq' form.
10789         * calc/calc-ext.el: (toplevel): Require calc.
10790         (calc-fancy-prefix-map): New.
10791         (calc-fancy-prefix): Use it.
10792         (calc-fancy-prefix-other-key): New.
10794         * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
10795         (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
10796         (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
10797         (calcAlg-enter): Likewise.
10798         (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
10800 2001-11-10  Richard M. Stallman  <rms@gnu.org>
10802         * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
10803         (quietly-read-abbrev-file): Doc fix.
10805         * startup.el (command-line): Read standard abbrev
10806         file (abbrev-file-name), if it exists.
10808         * files.el (save-abbrevs): Default value is t.
10810         * progmodes/compile.el (compile-goto-error): Fix previous change
10811         in the case where subsequent errors have not been parsed yet
10812         because they are in a different source file.
10814 2001-11-10  Peter Kleiweg  <kleiweg@let.rug.nl>
10816         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
10817         Merge two regular expressions into one.
10818         (ps-mode): Make local bindings for `comment-start' and
10819         `comment-start-skip'.
10820         (ps-mode-looking-at-nested): Simplify an if-else construct;
10821         use `set-match-data' to set the result.
10823 2001-11-10  Richard M. Stallman  <rms@gnu.org>
10825         * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
10826         Function deleted.
10827         (flyspell-correct-word): Old definition deleted.
10828         (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
10829         All references renamed too.
10831 2001-11-10  Gerd Moellmann  <gerd@gnu.org>
10833         * Makefile.in (finder_setwins, setwins): Exclude Calc.
10835 2001-11-09  Per Abrahamsen  <abraham@dina.kvl.dk>
10837         * wid-edit.el (checklist): Removed `:menu-tag'.
10838         (radio-button-choice): Ditto.
10839         (editable-list): Ditto.
10841 2001-11-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
10843         * play/gomoku.el: Move definitions of constants to the beginning
10844         of file, before their use.
10846 2001-11-09  Richard M. Stallman  <rms@gnu.org>
10848         * textmodes/flyspell.el: Use the keymap property
10849         instead of local-map, and don't use a minor-mode map.
10850         (flyspell-mode-map): Variable deleted.
10851         Don't mess with minor-mode-map-alist.
10852         (calling add-minor-mode): Specify nil for keymap.
10853         And always use add-minor-mode, now that it exists.
10854         (flyspell-overlay-keymap-property-name): Set it to `keymap'.
10855         (flyspell-mode-on): Don't locally bind flyspell-mouse-map
10856         or flyspell-local-mouse-map.
10857         (make-flyspell-overlay): Use flyspell-mouse-map directly.
10858         (flyspell-mode): Doc fix.
10859         (flyspell-mode-on): Don't call make-local-hook.
10861 2001-11-09  Sam Steingold  <sds@gnu.org>
10863         * emacs-lisp/debug.el (debugger-make-xrefs):
10864         Add buttons to all symbols.
10866 2001-11-09  Andre Spiegel  <spiegel@gnu.org>
10868         * vc.el: Add John David Smith to credits.
10870         Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
10872         * vc-hooks.el (vc-error-occured): Backquotified.
10873         (vc-file-prop-obarray): Use prime length for better efficiency.
10875         * vc.el (vc-clear-context): Fill obarray with 0, not nil.
10877 2001-11-09  Eli Zaretskii  <eliz@is.elta.co.il>
10879         * info.el (Info-file-list-for-emacs): Add entries for Calc.
10881 2001-11-09  Miles Bader  <miles@gnu.org>
10883         * subr.el (functionp): Don't consider macros as functions.
10885 2001-11-08  Miles Bader  <miles@gnu.org>
10887         * subr.el (functionp): Make work correctly for macros and unbound
10888         symbols.
10890         * comint.el (comint-send-input): Fix description of
10891         `comint-process-echoes' in the doc-string.
10893 2001-11-08  Eli Zaretskii  <eliz@is.elta.co.il>
10895         * international/mule.el (make-translation-table): Doc fix.
10896         Suggested by Alex Schroeder <alex@gnu.org>.
10898 2001-11-07  Richard M. Stallman  <rms@gnu.org>
10900         * info.el (Info-fontify-node): Highlight every third menu item.
10902 2001-11-07  Per Abrahamsen  <abraham@dina.kvl.dk>
10904         * cus-edit.el (custom-face-value-create): Don't ignore the
10905         `customized-face' attribute when finding the current face spec.
10907 2001-11-07  Stefan Monnier  <monnier@cs.yale.edu>
10909         * subr.el (with-local-quit): New macro.
10910         (make-syntax-table): Always inherit.
10911         (functionp): Be more careful when `object' is a symbol.
10913         * dabbrev.el (dabbrev-completion): Use "*Completions*".
10915 2001-11-07  Paul Eggert  <eggert@twinsun.com>
10917         * dired.el (dired-move-to-filename-regexp):
10918         Do not distinguish between ASCII letters and non-ASCII characters.
10919         Don't allow comma except in the form "month day, year".
10920         Don't allow space between month name and comma.
10921         Clean up the code that checks for trailing period, comma, and space.
10922         Remove now-obsolete comments, and add more commentary about
10923         Japanese dates.
10924         Always gobble up trailing spaces, instead of doing it only sometimes.
10926 2001-11-07  Miles Bader  <miles@gnu.org>
10928         * paren.el (show-paren-match-face): Add dark-background variant.
10930 2001-11-06  Stefan Monnier  <monnier@cs.yale.edu>
10932         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
10933         (lisp-mode-variables): Don't set paragraph-{start,separate}.
10934         Don't disable adaptive-fill-mode.
10935         (lisp-fill-paragraph): Use tab-width rather than 8.
10936         Prevent filling the first line of docstrings.
10938 2001-11-06  Richard M. Stallman  <rms@gnu.org>
10940         * play/gomoku.el (gomoku): Doc fix.
10942         * jka-compr.el (jka-compr-partial-uncompress):
10943         Support an alternative of not using dd.
10944         (jka-compr-dd-program): Use defcustom to define this.
10945         (jka-compr-load-suffixes): Use defcustom.
10946         (jka-compr-mode-alist-additions): Use defcustom.
10948 2001-11-06  Stefan Monnier  <monnier@cs.yale.edu>
10950         * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
10951         Also work when LIMIT is further than the end of line.
10953 2001-11-06  Eli Zaretskii  <eliz@is.elta.co.il>
10955         * international/quail.el (quail-update-leim-list-file): Print the
10956         offending file name if some of its quail-define-package forms is broken.
10958 2001-11-05  Richard M. Stallman  <rms@gnu.org>
10960         * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
10961         of the evaluated form.
10963 2001-11-05  Paul Eggert  <eggert@twinsun.com>
10965         * ls-lisp.el (ls-lisp-time-to-seconds): New function.
10966         (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
10967         stamps always line up by default.  Also, it uses a slightly
10968         different window to determine whether files are "recent".
10970 2001-11-05  Andrew Innes  <andrewi@gnu.org>
10972         * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
10973         Don't attempt to remake autoloads before nuking .elc files.
10975 2001-11-04  Richard M. Stallman  <rms@gnu.org>
10977         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
10978         previous-single-property-change or next-single-char-property-change
10979         returns nil.
10981         * international/mule-cmds.el (set-locale-environment):
10982         Make it interactive; make arg optional.
10984         * international/mule-diag.el (help-funs): Require help-funs.
10986 2001-11-04  Eli Zaretskii  <eliz@is.elta.co.il>
10988         * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
10990 2001-11-04  Miles Bader  <miles@gnu.org>
10992         * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
10993         shadow of the splash image grey on a dark background instead of black.
10995 2001-11-03  Stefan Monnier  <monnier@cs.yale.edu>
10997         * term.el (all faces): Don't (copy-face 'default <foo>).
10999         * term/xterm.el (function-key-map):
11000         Add entry for `ESC [ 3 ~' -> <delete>
11001         Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
11002         Use inheritance so that .emacs and terminfo take precedence.
11004 2001-11-03  Eli Zaretskii  <eliz@is.elta.co.il>
11006         * tooltip.el (tooltip-delay): Decrease to 0.7.
11007         (tooltip-hide-delay): Enlarge to 10.
11009 2001-11-03  Richard M. Stallman  <rms@gnu.org>
11011         * startup.el (fancy-splash-tail): Explain how to recover
11012         from a crash, if there was a crash.
11013         (command-line-1): Reorganize display of startup screen,
11014         to simplify the logic.  Use a temp buffer for it.
11016 2001-11-03  Eli Zaretskii  <eliz@is.elta.co.il>
11018         * frame.el (set-background-color, set-foreground-color):
11019         Call face-set-after-frame-default, to propagate the new colors to
11020         the frame's parameters alist.
11022         * calendar/timeclock.el (timeclock-out): Signal an error if
11023         timeclock-last-event is nil.
11025 2001-11-02  Stefan Monnier  <monnier@cs.yale.edu>
11027         * textmodes/fill.el (fill-context-prefix): Fix braino.
11029         * international/quail.el (quail-help):
11030         Use `help-buffer' and move `help-setup-xref' to beginning.
11032         * international/mule-cmds.el (describe-language-environment):
11033         Use `help-buffer' and move `help-setup-xref' to beginning.
11035         * international/mule-diag.el (list-character-sets)
11036         (sort-listed-character-sets, describe-character-set)
11037         (describe-coding-system, describe-fontset, list-fontsets):
11038         Use `help-buffer' and move `help-setup-xref' to beginning.
11039         (describe-char-after): Use `internal-describe-syntax-value'.
11041 2001-11-02  Richard M. Stallman  <rms@gnu.org>
11043         * mouse.el (popup-menu): If the user refuses to select
11044         from a menu, don't try to invoke the menu.
11046 2001-11-02  Miles Bader  <miles@gnu.org>
11048         * help-mode.el (help-xref): New button type.
11049         (help-function, help-variable, help-face, help-coding-system)
11050         (help-input-method, help-character-set, help-type, help-symbol)
11051         (help-back, help-info, help-customize-variable, help-customize-face)
11052         (help-function-def, help-variable-def): Use it as a supertype.
11053         Remove `action' property.
11055         * international/mule-diag.el (describe-character-set)
11056         (describe-coding-system): Pass correct args to `help-xref-button'.
11057         (sort-listed-character-sets): New button type.
11058         (list-character-sets): Use it.
11059         (list-charset-chars): New button type.
11060         (list-character-sets-1): Use it.
11062 2001-11-01  Stefan Monnier  <monnier@rum.cs.yale.edu>
11064         * indent.el (tab-always-indent, indent-for-tab-command):
11065         Remove redundant `never' setting.
11067         * fill.el (fill-region-as-paragraph): Don't forget to skip
11068         over current whitespace before looking for a preceding space.
11070 2001-11-01  Richard M. Stallman  <rms@gnu.org>
11072         * files.el (file-newest-backup): Don't pass backup file name
11073         thru file-name-sans-versions, because it never has version numbers.
11075         * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
11076         to avoid ambiguous nested loops.
11078         * files.el (find-file-noselect): Offer to change buffer-read-only
11079         only when the file's read-only status has changed from before
11080         as well as disagreeing with the buffer's current status.
11081         (buffer-file-read-only): New var, local in all buffers.
11083         * buff-menu.el (buffer-menu): Doc fix.
11084         (buffer-menu-other-window): Doc fix.
11085         (list-buffers, list-buffers-noselect): Doc fix.
11087 2001-11-01  Gerd Moellmann  <gerd@gnu.org>
11089         * startup.el (command-line): If the terminal Emacs is running on
11090         has erase char set to ^H, use the Backspace key for deleting
11091         backward, and the Delete key for deleting forward.
11093 2001-11-01  Miles Bader  <miles@gnu.org>
11095         * button.el (define-button-type): Make sure every user-defined
11096         button type has a supertype.
11098 2001-10-31  Jason Rumney  <jasonr@gnu.org>
11100         * international/mule-cmds.el (locale-language-names): Add chs and
11101         cht as aliases for Chinese-GB and Chinese-BIG5.
11103 2001-10-31  Richard M. Stallman  <rms@gnu.org>
11105         * bindings.el (mode-line-frame-identification): Add doc string.
11106         (mode-line-position, mode-line-modes): New variables.
11107         (mode-line-format): Use mode-line-position for the part
11108         that displays the position-in-buffer info.
11109         Use mode-line-modes for the part that displays major and minor modes.
11111 2001-10-31  Sam Steingold  <sds@gnu.org>
11113         * emacs-lisp/debug.el (debugger-make-xrefs): New function.
11114         (debugger-setup-buffer): Call it.
11115         (debugger-mode-map): Bind RET and mouse-2.
11117 2001-10-31  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
11119         * startup.el: Document command line option --no-window-system
11120         instead of --no-windows.
11122 2001-10-30  Stefan Monnier  <monnier@cs.yale.edu>
11124         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
11126         * font-lock.el (java-font-lock-syntactic-face-function): New fun.
11127         (font-lock-defaults-alist): Use it.
11128         From David Ponce <david.ponce@wanadoo.fr>
11130         * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
11131         output of `char-after'.
11133         * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
11135         * simple.el (reindent-then-newline-and-indent): Insert the newline
11136         before indenting the first line.
11137         (undo-get-state, undo-revert-to-state): New funs.
11138         (shell-command): Don't kill the buffer even if empty.
11139         (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
11140         (transpose-subr-end2): Remove.
11141         (transpose-subr): Add `special' arg and simplify.
11142         (transpose-subr-1): Rewrite.
11143         (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
11144         (rfc822-goto-eoh): Simplify.
11146 2001-10-30  Richard M. Stallman  <rms@gnu.org>
11148         * enriched.el (enriched-face-ans): Fix previous change.
11150 2001-10-30  Gerd Moellmann  <gerd@gnu.org>
11152         * international/iso-acc.el (iso-accents-compose): Remove a
11153         superfluous setq.
11155 2001-10-30  Eli Zaretskii  <eliz@is.elta.co.il>
11157         * buff-menu.el (list-buffers-noselect): If the buffer's name
11158         starts with a blank, but it visits a file, do show it (for files
11159         whose names start with a blank).
11161 2001-10-30  Stefan Monnier  <monnier@cs.yale.edu>
11163         * textmodes/fill.el (sentence-end-double-space)
11164         (sentence-end-without-period): Move to paragraphs.el.
11165         (fill-indent-according-to-mode): Change default to t.
11166         (fill-context-prefix): Simplify control-flow and use a more
11167         sophisticated merge that unifies both previous checks.
11168         (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
11169         (fill-nobreak-predicate): Make it into a defcustom'd hook.
11170         (fill-nobreak-p): New fun.
11171         (fill-region-as-paragraph): Use it.
11172         Handle `fill-indent-according-to-mode' slightly differently.
11173         (fill-individual-paragraphs-prefix): Simplify the control-flow.
11174         (fill-individual-paragraphs-citation): Fix.
11176         * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
11177         (paragraph-start): Change default to the `text-mode' value.
11178         (sentence-end-double-space, sentence-end-without-period):
11179         Move from fill.el.
11180         (forward-paragraph): Use `parstart' and `parsep' for temp variables
11181         rather than rebinding `paragraph-start' and `paragraph-separate'.
11183         * indent.el (indent-line-function): Change default to indent-relative.
11184         (tab-always-indent): Add an `never' setting.
11185         (indent-according-to-mode): Handle `indent-relative' and
11186         `indent-relative-maybe' specially.
11187         (indent-for-tab-command): Rename `prefix-arg' to `arg'.
11188         Handle the `never' case for `tab-always-indent'.
11189         Don't call indent-according-to-mode for indent-relative' and
11190         `indent-relative-maybe'.
11191         (insert-tab): Rename `prefix-arg' to `arg'.
11192         (indent-region): Indent the first line as well.
11193         (indent-relative): Don't mark the buffer modified if the indentation
11194         is unchanged.
11196         * textmodes/text-mode.el (paragraph-indent-minor-mode):
11197         Don't set paragraph-separate.  Set paragraph-start more carefully.
11198         Set indent-line-function.
11199         (paragraph-indent-text-mode): Use it and define-derived-mode.
11200         (text-mode-map): Remove the \t binding.
11201         (text-mode): Simplify now that the default is more favorable.
11203 2001-10-29  Stefan Monnier  <monnier@cs.yale.edu>
11205         * emacs-lisp/find-func.el (find-function-search-for-symbol):
11206         If the regexp doesn't match, use a looser one.
11207         (find-variable-noselect): Add `file' argument.
11209         * pcvs.el (cvs-mode-commit-hook): New hook.
11210         (cvs-mode-commit): Run it.
11212         * log-edit.el (log-edit): Run hook after `log-edit-files'.
11214         * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
11215         (edebug-instrument-function): Use `find-function-noselect'.
11217 2001-10-29  Richard M. Stallman  <rms@gnu.org>
11219         * term.el (term-if-emacs19): Macro deleted.
11220         Callers changed to use progn instead.
11222         * frame.el (blink-cursor-mode): Doc fix.
11224         * files.el (find-backup-file-name): Use make-backup-file-name.
11226         * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
11227         window-live-p.
11228         (edebug-set-conditional-breakpoint): Unconditionally use
11229         the former Emacs >=19 definition.
11230         (edebug-mark): Define unconditionally.
11231         (edebug-eval-expression): Always call read-from-minibuffer
11232         and specify history list.
11233         (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
11234         edebug-set-conditional-breakpoint.
11235         (edebug-emacs-version-specific): Function deleted;
11236         do the job at top level.
11237         (edebug-emacs-19-specific): Function deleted, this is the default.
11239 2001-10-29  Sam Steingold  <sds@gnu.org>
11241         * w32-fns.el (convert-standard-filename): Handle cygwin-specific
11242         "/cygdrive/LETTER/" pathnames.
11244 2001-10-29  Eli Zaretskii  <eliz@is.elta.co.il>
11246         * faces.el (invert-face): Check for 'unspecified, not for nil,
11247         when testing whether face colors are not specified.
11248         From David.Kastrup@t-online.de (David Kastrup).
11249         (read-face-name): Doc fix.
11250         (make-face-bold, make-face-unbold, make-face-italic)
11251         (make-face-unitalic, make-face-bold-italic, invert-face):
11252         Remove trailing blank from the prompt passed to read-face-name.
11254 2001-10-29  Sam Steingold  <sds@gnu.org>
11256         * emacs-lisp/bytecomp.el (byte-recompile-directory):
11257         Report numbers of files skipped and failed too.
11258         (byte-compile-file): Return 'no-byte-compile for skipped files.
11260 2001-10-29  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11262         * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
11263         and `M p'.
11265 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
11267         * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
11268         as is on unread-command-events instead of `(SECOND-CHAR)'.
11270 2001-10-29  Andre Spiegel  <spiegel@gnu.org>
11272         * vc.el: Mention vc-*-switches in backend API documentation.
11273         (vc-annotate): Adapt doc string to recent change.
11275 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
11277         * enriched.el (enriched-face-ans): Handle face attributes
11278         of the form `(FACE1 FACE2 ...)'.
11280         * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
11282 2001-10-29  Alex Schroeder  <kensanata@yahoo.com>
11284         * progmodes/sql.el (sql-mysql): Doc change by RMS.
11286         * progmodes/sql.el (sql-db2): Doc change.
11287         (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
11288         (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
11290 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
11292         * env.el (substitute-env-vars): Don't quote argument to `rx';
11293         it's a macro.
11295 2001-10-28  Per Abrahamsen  <abraham@dina.kvl.dk>
11297         * cus-start.el (recursive-load-depth-limit): Added.
11299 2001-10-28  Richard M. Stallman  <rms@gnu.org>
11301         * textmodes/ispell.el (version18p, version20p): Vars deleted.
11302         All uses removed--assume Emacs version is >= 20.
11304         * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
11305         by really checking that it is not version 18.
11307         * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
11309 2001-10-28  Miles Bader  <miles@gnu.org>
11311         * faces.el (face-attribute): Add INHERIT argument, consider face
11312         inheritance if it's non-nil.
11313         (face-attribute-merged-with): New function.
11314         (face-attribute-specified-or): New macro.
11315         (face-foreground, face-background, face-stipple): Add INHERIT
11316         argument.  Use `face-attribute-specified-or'.
11318 2001-10-28  Stefan Monnier  <monnier@cs.yale.edu>
11320         * font-lock.el: Require `syntax'.
11321         (font-lock-defaults-alist): Don't define keywords for lisp languages.
11322         Use `c-font-lock-syntactic-face-function' for c languages.
11323         (font-lock-mode): Don't unset vars when turning the mode off.
11324         (font-lock-default-fontify-buffer): Don't unset vars at the end.
11325         (font-lock-extra-managed-props): New var.
11326         (font-lock-default-unfontify-region): Use it.
11327         (font-lock-apply-syntactic-highlight): Flush the syntax cache.
11328         Don't eval the value when there's no match.
11329         (font-lock-ppss-stats): New var.
11330         (font-lock-ppss): New fun.
11331         (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
11332         (font-lock-apply-highlight): Allow `highlight' to set several props.
11333         (font-lock-set-defaults): Use dolist.
11334         (font-lock-unset-defaults): Remove.
11335         (font-lock-match-c-style-declaration-item-and-skip-to-next):
11336         Try to recognize prototypes using `foo P_ ((args))'.
11337         ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
11338         (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
11339         (c-font-lock-syntactic-face-function): New function.
11340         (font-lock-match-c++-style-declaration-item-and-skip-to-next)
11341         (c++-keywords): Use a more sophisticated regexp to handle
11342         shallowly nested templates.
11344 2001-10-27  Stefan Monnier  <monnier@cs.yale.edu>
11346         * textmodes/sgml-mode.el (sgml-empty-tags): New var.
11347         (sgml-tag): Use it.  Cleanup with `cond'.
11348         (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
11349         Mark the overlays and only delete those that are marked.
11350         (sgml-skip-close-p): Remove.
11351         (sgml-value): Replace sgml-skip-close-p with its definition.
11352         (html-tag-alist): Use sgml-xml a bit more.
11353         (html-mode): Set sgml-empty-tags.
11355         * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
11356         (texinfo-update-node, texinfo-sequential-node-update):
11357         Don't bind the obsolete `auto-fill-hook'.
11358         (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
11359         Use `set-buffer' rather than `switch-to-buffer'.
11360         (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
11361         Use `set-buffer' rather than `switch-to-buffer'.
11363         * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
11364         text-mode-syntax-table.
11365         (mail-mode): Use define-derived-mode.
11366         Fix ordering of alternatives in adaptive-fill-regexp.
11367         (mail-mode-map): Don't rely on keymap's internal representation.
11369 2001-10-27  Sam Steingold  <sds@gnu.org>
11371         * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
11372         (sgml-xml-guess): Extracted from `html-mode' and generalized.
11373         (sgml-mode-common): Call it.
11374         (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
11375         (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
11376         (html-horizontal-rule, html-image, html-ordered-list):
11377         (html-unordered-list, html-list-item, html-paragraph):
11378         (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
11379         `html-xhtml'.
11381 2001-10-26  Masayuki Ataka  <ataka@milk.freemail.ne.jp>
11383         * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
11384         (ifnothtml): New alias.
11386 2001-10-27  Stefan Monnier  <monnier@cs.yale.edu>
11388         * textmodes/text-mode.el (text-mode): Use define-derived-mode.
11389         (toggle-text-mode-auto-fill): Use derived-mode-p.
11391 2001-10-27  Gerd Moellmann  <gerd.moellmann@t-online.de>
11393         * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
11394         `mdtm'.  From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
11396 2001-10-26  Eli Zaretskii  <eliz@is.elta.co.il>
11398         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
11399         Add make-obsolete cookies, to follow faces.el.
11401         These changes avoid warnings from the byte compiler in faces.el:
11403         * faces.el (internal-get-face): Use facep instead of the obsolete
11404         internal-find-face.
11405         (internal-frob-font-weight, internal-frob-font-slant):
11406         New defaliases for obsolete functions.
11407         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
11408         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
11409         (x-make-font-bold-italic): Use internal-frob-font-weight and
11410         internal-frob-font-slant aliases instead of the obsolete
11411         x-frob-... functions.
11413 2001-10-26  Sam Steingold  <sds@gnu.org>
11415         * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
11416         DOCTYPE; set `mode-name' based on it.
11417         (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
11418         (sgml-tag): Close empty tags in XHTML.
11420 2001-10-26  Jason Rumney  <jasonr@gnu.org>
11422         * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
11423         when UNICODE is not defined.
11425 2001-10-26  Sam Steingold  <sds@gnu.org>
11427         * font-lock.el (c-font-lock-keywords-2): Do not require labels to
11428         be alone on the line.
11430 2001-10-26  Eli Zaretskii  <eliz@is.elta.co.il>
11432         * button.el (button): Special face definition for MS-DOS terminals.
11434 2001-10-26  Sam Steingold  <sds@gnu.org>
11436         * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
11437         Protect the /= test by checking that the args are non-nil.
11438         (sh-font-lock-close-heredoc): Check eof for being non-nil.
11440 2001-10-26  Tomas Abrahamsson  <tab@lysator.liu.se>
11442         * textmodes/artist.el (artist-version): 1.2.4.
11443         (artist-butlast-fn): New variable.
11444         (artist-butlast): New function.
11445         (artist-ellipse-mirror-quadrant): Use it.
11446         (artist-mouse-draw-poly): Use nil for `point-list'.
11447         (artist-mouse-draw-poly): Check for point-list being nil.
11449 2001-10-26  Peter Kleiweg  <kleiweg@let.rug.nl>
11451         * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
11452         lambda expression.
11453         (ps-mode-menu-main): Submenu with options on/off was replaced with
11454         a toggle button.
11455         (ps-mode, ps-run-mode): Define with `define-derived-mode'
11456         (ps-mode): Autoload cookie added on same line as comment
11457         (ps-mode-tabkey, ps-mode-backward-delete-char):
11458         (ps-mode-r-balance): Replace `delete-horizontal-space' and
11459         `indent-to' with `indent-line-to'
11460         (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
11461         instead of `eval'.
11462         (ps-mode-print-region): Use `with-temp-buffer'.
11463         (ps-run-start): Use of `mapconcat'.  Use `apply' instead of `eval'.
11464         (numerous places): Add back-tick and tick around names in
11465         docstrings, fix punctuation in docstrings, remove trailing spaces.
11467 2001-10-25  Stefan Monnier  <monnier@cs.yale.edu>
11469         * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
11470         (sgml-font-lock-keywords-2): Use `eval'.  Moved from sgml-mode-common.
11471         (sgml-font-lock-syntactic-keywords): New var.
11472         (sgml-mode-common): Drop the two args.
11473         Don't make buffer-local variables that aren't used.
11474         Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
11475         Don't set `before-string' props from sgml-display-text.
11476         (sgml-mode): Use define-derived-mode.
11477         (sgml-tags-invisible): Use sgml-display-text.
11478         (sgml-quote): New command.
11479         (html-tag-alist): Add args for `span'.
11480         (html-mode): Use define-derived-mode.
11481         Set sgml-display-text and sgml-tag-face-alist.
11483 2001-10-25  Sam Steingold  <sds@gnu.org>
11485         * add-log.el (add-log-always-start-new-record): New user option.
11486         (add-change-log-entry): Use it.
11488 2001-10-25  Richard M. Stallman  <rms@gnu.org>
11490         * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
11491         bind case-fold-search if FROM is not all lower case.
11493 2001-10-25  Gerd Moellmann  <gerd@gnu.org>
11495         * startup.el (normal-top-level): Check for frame-initial-frame
11496         only if it's really used.
11498         * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
11500         * progmodes/compile.el (compilation-parse-errors-filename-function):
11501         New variable.
11502         (compilation-parse-errors): Use it.
11504 2001-10-25  Stefan Monnier  <monnier@cs.yale.edu>
11506         * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
11507         interactively so that C-u M-C-x still does edebug.
11508         (checkdoc-sentencespace-region-engine): Don't force a double-space
11509         after `.' if it doesn't look like an end-of-sentence.
11510         (debug-ignored-errors): Add `disambiguate ...'.
11512 2001-10-24  Stefan Monnier  <monnier@cs.yale.edu>
11514         * textmodes/texinfo.el (texinfo-environments)
11515         (texinfo-environment-regexp): Hoist.
11516         (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
11517         Only highlight the menu name in menu items.
11518         Setup `@foo ... @end foo' as text clones.
11519         (texinfo-clone-environment): New function.
11520         (texinfo-mode): Simplify auto-fill-inhibit-regexp.
11521         (texinfo-insert-block): Simplify.
11522         (texinfo-insert-quote): Insert a plain " if preceded by \ or if
11523         the command is repeated.
11524         (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
11525         (texinfo-insert-@end): Simplify.
11527         * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
11528         (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
11529         (texinfo-subsubsection-level-regexp)
11530         (texinfo-update-menu-same-level-regexps)
11531         (texinfo-update-menu-higher-regexps)
11532         (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
11534         * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
11535         (derived-mode-p): Autoload.
11537         * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
11538         New vars and functions.
11539         (text-clone-maintain, text-clone-create): New functions.
11541 2001-10-25  Miles Bader  <miles@gnu.org>
11543         * facemenu.el (facemenu-add-new-face): Fix variable names.
11545 2001-10-24  Richard M. Stallman  <rms@gnu.org>
11547         * facemenu.el (facemenu-unlisted-faces): Improve doc strings
11548         of t and nil values.
11549         (facemenu-set-face): Handle START and END interactively.
11550         (facemenu-set-foreground): Don't use a face; specify color directly.
11551         (facemenu-set-background): Likewise.
11552         (facemenu-set-face-from-menu): Doc fix.
11553         (facemenu-active-faces): Use face-attribute-vector
11554         to handle bare attributes not in faces.
11555         (facemenu-get-face): Don't handle face names fg:... and bg:...
11556         specially.
11557         (facemenu-add-new-face): New argument MENU.
11558         New way to handle adding colors to the color menus.
11560         * env.el (substitute-env-vars): Quote the arg to rx.
11562 2001-10-24  Sam Steingold  <sds@gnu.org>
11564         * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
11565         Control" and "SGML" groups.
11567 2001-10-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
11569         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
11570         Better handling of C++ template args to avoid confusion with `<'
11571         and `>' used as operators in member init expressions.
11573 2001-10-24  Gerd Moellmann  <gerd@gnu.org>
11575         * replace.el (perform-replace): Move START and END parameters
11576         to the end of the argument list and make them optional.
11578         * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
11579         perform-replace.
11581         * international/fontset.el (x-must-resolve-font-name): New function.
11582         (x-complement-fontset-spec): Use it.
11584 2001-10-23  Stefan Monnier  <monnier@cs.yale.edu>
11586         * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
11588         * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
11589         Turn caadr into caar of cdr.
11591 2001-10-23  Gerd Moellmann  <gerd@gnu.org>
11593         * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
11594         of mouse-{1,2} since dragging is on the down event.
11596         * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
11598         * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
11599         if ARG is nil.
11601         * desktop.el (desktop-last-buffer): New variable.
11602         (desktop-create-buffer): Set it.
11603         (desktop-read): Bind it and switch to that buffer.
11605 2001-10-22  Gerd Moellmann  <gerd@gnu.org>
11607         * progmodes/compile.el (compilation-set-window-height):
11608         Select old window only if it's still live.
11610 2001-10-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
11612         * help-mode.el (help-buffer): Remove debugging code.
11613         From Stefan Monnier <monnier@cs.yale.edu>.
11615 2001-10-22  Eli Zaretskii  <eliz@is.elta.co.il>
11617         * files.el (file-name-sans-extension, file-name-extension):
11618         Don't count the leading dots in file names as signaling an extension.
11620 2001-10-22  Andre Spiegel  <spiegel@gnu.org>
11622         * vc.el (vc-diff-switches): Doc rewritten.
11624 2001-10-22  Eli Zaretskii  <eliz@is.elta.co.il>
11626         * tooltip.el (tooltip-set-param): Doc fix.
11628         * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
11629         127 to sgml-maybe-name-self.
11630         (sgml-name-8bit-mode): Doc fix.
11631         (sgml-char-names-table): New variable.
11632         (sgml-name-char): Support non-ASCII and mule-unicode-*
11633         characters.  Doc fix.
11634         (sgml-maybe-name-self): Convert unibyte characters to multibyte.
11636         * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
11637         doc string the effect of `left' and `top' parameters in
11638         tooltip-frame-parameters, the default values, and the units.
11639         (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
11640         (tooltip-show): Mention in the doc string the `top' and `left'
11641         parameters in tooltip-frame-parameters, and x-max-tooltip-size.
11643 2001-10-22  Andre Spiegel  <spiegel@gnu.org>
11645         Add autoscaling support for vc-annotate.
11646         From J.D. Smith <jdsmith@alum.mit.edu>.
11648         * vc.el (vc-annotate-display-default): Accept colormap scaling
11649         ratio (now deprecated).
11650         (vc-annotate-display-autoscale): Added.
11651         (vc-annotate-add-menu): New autoscaling menu options "Span to
11652         Oldest" and "Span Oldest->Newest".  Easymenu support added for
11653         toggle menus driven by customize variable `vc-annotate-display-mode'.
11654         (vc-annotate-display-select): Added.
11655         (vc-annotate): Changed temp-buffer-show-function to
11656         `vc-annotate-display-select'.
11657         (vc-annotate-display): Removed arguments BUFFER and BACKEND.
11658         Added argument OFFSET.  Instead of backend function, calls now
11659         generic `vc-annotate-difference'.
11660         (vc-annotate-difference): Added as generic function instead of
11661         backend-specific function.  No longer takes argument POINT, but
11662         instead accepts a time OFFSET.
11663         (vc-default-annotate-current-time): Added.
11665         * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
11666         version in vc.el, with
11667         (vc-cvs-annotate-current-time): Added, as override of default.
11668         (vc-cvs-annotate-time): Added.  Taken mostly from the (now removed)
11669         `vc-cvs-annotate-difference'.
11671 2001-10-22  Gerd Moellmann  <gerd@gnu.org>
11673         * saveplace.el (save-place): Require `saveplace'.
11675         * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
11676         Use `sexp' for :value-type instead of `face'.
11678 2001-10-21  Eli Zaretskii  <eliz@is.elta.co.il>
11680         * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
11681         regexps due to 5-digit message IDs.
11683 2001-10-21  Jason Rumney  <jasonr@gnu.org>
11685         * term/w32-win.el (redisplay-dont-pause): Don't set.
11687 2001-10-21  Miles Bader  <miles@gnu.org>
11689         * help-funs.el (help-manyarg-func-alist): Variable removed.
11691 2001-10-21  Miles Bader  <miles@gnu.org>
11693         * help-funs.el (help-manyarg-func-alist): Remove entries for
11694         `insert', `insert-and-inherit', `insert-before-markers',
11695         `insert-before-markers-and-inherit', `message', `message-box',
11696         `message-or-box', `propertize', `format', `encode-time', `append',
11697         `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
11698         `insert-string', `ml-if', `ml-provide-prefix-argument', and
11699         `ml-prefix-argument-loop'.
11701 2001-10-21  Andre Spiegel  <spiegel@gnu.org>
11703         * vc.el (vc-diff-internal, vc-coding-system-for-diff)
11704         (vc-default-diff-tree): New functions.
11705         (vc-version-diff): Use them.  As a result, coding systems are now
11706         set up properly for all sorts of diffs, and tree diffs can now
11707         also be done locally.
11708         (vc-diff): With a prefix argument, don't require that it's called
11709         from a buffer under version control.
11710         (diff-switches): Remove duplicate definition.
11712         * vc-cvs.el (vc-cvs-diff-tree): New function.
11714 2001-10-21  Miles Bader  <miles@gnu.org>
11716         * help-funs.el (help-manyarg-func-alist): Remove entries for
11717         `list', `vector', `make-byte-code', `call-process',
11718         `call-process-region', `string', `+', `-', `*', `/', `max', `min',
11719         `logand', `logior', and `logxor'.
11721         * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
11722         image bits to compensate.  Use `make-string' instead of
11723         `make-bool-vector' (XBM apparently wants byte-aligned rows).
11725 2001-10-20  Kim F. Storm  <storm@cua.dk>
11727         * simple.el (kill-ring-save): Don't show extent of copied region
11728         if using transient-mark-mode and region is fully visible.
11730 See ChangeLog.9 for earlier changes.
11732 ;; Local Variables:
11733 ;; coding: iso-2022-7bit
11734 ;; End:
11736     Copyright (C) 2001, 2002 Free Software Foundation, Inc.
11737   Copying and distribution of this file, with or without modification,
11738   are permitted provided the copyright notice and this notice are preserved.