Use hash-tables.
[emacs.git] / lisp / ChangeLog
blobf3e66eb7df3d07211fab199630298519b7228efa
1 2002-07-13  Glenn Morris  <gmorris@ast.cam.ac.uk>
3         * calendar/timeclock.el (timeclock-in): Handle the case where no
4         log file exists (ie the very first call).
6 2002-07-13  Kai Gro\e,b_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
8         * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
9         is done by Tramp.
11         * net/tramp.el (tramp-multi-file-name-structure-unified): Add
12         missing slash and move colon from start to end of each hop.
13         (tramp-multi-file-name-hop-structure-unified): Move colon from
14         start to end of each hop.
16 2002-07-13  Kim F. Storm  <storm@cua.dk>
18         * progmodes/compile.el (grep-tree): Fixed autoload.
19         Corrected use of undefined variable `match-files-aliases'.
21 2002-07-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
23         * calendar/timeclock.el (timeclock-get-workday-function):
24         `timeclock-workday' is not a valid option, rather a possible
25         return value.
27 2002-07-12  Richard M. Stallman  <rms@gnu.org>
29         * net/ange-ftp.el (ange-ftp-write-region):
30         Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
31         to ange-ftp-real-write-region.
33         * replace.el (flush-lines, keep-lines): Convert REND to a marker.
35         * help-fns.el (help-with-tutorial): Display completion list right away.
37         * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
39         * startup.el (command-line): Set memory-signal-data.
40         (fancy-splash-text, normal-splash-screen):
41         Mention "Read the Emacs Manual" or C-h r.
42         Rearrange the initial help to put the help cmds on left
43         and the actions (exit, undo) on the right.  Other small
44         text clarifications.
45         (fancy-splash-text, actions page): Add blank line to balance help page.
47         * help.el (help-map): Add binding for info-emacs-manual.
48         (print-help-return-message): Doc fix.
50         * strokes.el (strokes-help): Call print-help-return-message
51         while inside with-output-to-temp-buffer.
53         * info.el (info-emacs-manual): New function.
54         (Info-use-header-line): Doc fix.
56         * emacs-lisp/cl.el (multiple-value-call): Add alias.
58         * progmodes/compile.el (compilation-normalize-filename):
59         New subroutine, taken out of compilation-parse-errors.
60         (compilation-parse-errors): Use that, and for directories too.
61         Don't check whether a directory really exists.
63 2002-07-12  Juanma Barranquero  <lektu@terra.es>
65         * help-fns.el (describe-variable): Put `defvaralias' info before the
66         documentation (patch from John Paul Wallington
67         <jpw@shootybangbang.com>). Remove useless "Documentation:" string.
69         * timer.el (timer-set-time-with-usecs): Fix documentation. Simplify
70         extraction of time data.
72 2002-07-12  John Paul Wallington  <jpw@shootybangbang.com>
74         * help-fns.el (describe-variable): Mention if the variable is an
75         alias.
77 2002-07-12  Kenichi Handa  <handa@etl.go.jp>
79         * international/mule-cmds.el (locale-language-names): Change "mk"
80         (Macedoninan), "ru" (Russian), and "sp" (Serbian with Cyrillic
81         alphabet) to "Cyrillic-ISO".
83 2002-07-11  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
85         * net/tramp.el (tramp-default-method): New default method "sm"
86         which I guess to be good for most people.
87         (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
88         Ange-FTP) for some user/host combinations.
89         (tramp-file-name-structure, tramp-file-name-regexp) 
90         (tramp-make-tramp-file-format) 
91         (tramp-make-tramp-file-user-nil-format) 
92         (tramp-multi-file-name-structure) 
93         (tramp-multi-file-name-hop-structure) 
94         (tramp-make-multi-tramp-file-format): New default value which
95         unifies the filename syntax between Tramp and Ange-FTP.  The new
96         syntax is "/method:user@host:path".  Note the colon after the
97         method.
98         (tramp-handle-file-name-directory): Don't return "/" when
99         completing a remote root directory (where the filename looks like
100         "/method:user@host:/").
101         (tramp-handle-ange-ftp): Deleted.
102         (tramp-disable-ange-ftp): New function, called at toplevel,
103         deletes Ange-FTP from file-name-handler-alist.
104         (tramp-handle-make-symbolic-link): Implement.
106 2002-07-10  Juanma Barranquero  <lektu@terra.es>
108         * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
110         * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
111         (speedbar-vc-do-check): Likewise.
112         (speedbar-obj-do-check): Likewise.
113         (speedbar-mouse-hscroll): Likewise.
114         (speedbar-file-lists): Likewise.
116         * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
118 2002-07-09  Ole Aamot  <ole@gnu.org>
120         * compile.el (compilation-error-regexp-alist):
121         Recognize Valgrind messages.
123 2002-07-09  Juanma Barranquero  <lektu@terra.es>
125         * faces.el (face-id): Fix typo.
127         * hexl.el (hexl-mode): Likewise.
129         * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
131         * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
133         * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
134         (speedbar-desired-buffer): Likewise.
135         (speedbar-line-file): Likewise.
136         (speedbar-special-mode-key-map): Fix typo.
137         (speedbar-dynamic-tags-function-list): Likewise.
138         (speedbar-use-images): Likewise.
139         (speedbar-up-directory): Likewise.
140         (speedbar-item-info): Likewise.
141         (speedbar-set-timer): Likewise.
142         (speedbar-insert-button): Likewise.
143         (speedbar-make-button): Likewise.
144         (speedbar-make-tag-line): Likewise.
145         (speedbar-insert-files-at-point): Likewise.
146         (speedbar-update-special-contents): Likewise.
147         (speedbar-find-selected-file): Likewise.
148         (speedbar-add-indicator): Likewise.
149         (speedbar-do-function-pointer): Likewise.
150         (speedbar-goto-this-file): Likewise.
151         (speedbar-line-path): Likewise.
152         (speedbar-mouse-event-p): Likewise.
153         (speedbar-dir-follow): Likewise.
154         (speedbar-tag-find): Likewise.
155         (speedbar-fetch-etags-command): Likewise.
156         (speedbar-fetch-etags-arguments): Likewise.
157         (speedbar-toggle-etags): Likewise.
158         (speedbar-extract-one-symbol): Likewise.
159         (speedbar-parse-c-or-c++tag): Likewise.
160         (speedbar-unhighlight-one-tag-line): Likewise.
161         (speedbar-directory-face): Likewise.
162         (defimage-speedbar): Likewise.
163         (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
164         (defimage-speedbar): Likewise.
166 2002-07-09  Miles Bader  <miles@gnu.org>
168         * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
169         to nil when prompting for a filename.
171 2002-07-09  Kenichi Handa  <handa@etl.go.jp>
173         * files.el (insert-directory): Be sure to bind
174         coding-system-for-write to the just decided
175         coding-system-for-read.
177 2002-07-09  Kim F. Storm  <storm@cua.dk>
179         * ido.el (ido-make-merged-file-list): Move fully matching item to
180         head of list.
181         (ido-find-common-substring): Return substring instead of t.
183 2002-07-08  Juanma Barranquero  <lektu@terra.es>
185         * info.el (Info-directory-list): Fix docstring.
187 2002-07-08  Miles Bader  <miles@gnu.org>
189         * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
190         before first use.
192 2002-07-08  Kim F. Storm  <storm@cua.dk>
194         * files.el (after-find-file): Don't check for read-only status
195         of files just created (and not yet saved on disk).
197         * ido.el (ido-completion-help): Changed xemacs specific code to
198         avoid byte compiler warning in GNU emacs.
199         (ido-set-matches1): Use regexp-quote instead of identity.
200         (ido-complete-space): New function.
201         (ido-define-mode-map): Bind it to SPACE.
203 2002-07-07  Stefan Monnier  <monnier@cs.yale.edu>
205         * language/ind-util.el (indian-make-hash):
206         * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
207         (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
209         * subr.el (insert-string): Update the obsolete info.
210         (makehash): Move from C and mark obsolete.
212         * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
213         aliases to also work for interactive functions.
214         Use the same wrapper for subroutines.
215         (cancel-debug-on-entry): Get rid of the now-useless wrapper.
216         (debug-on-entry-1): Correctly skip docstrings and interactive forms.
218         * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
219         automatic environment name update.
220         (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
222 2002-07-07  Richard M. Stallman  <rms@gnu.org>
224         * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
226         * emacs-lisp/advice.el (ad-compile-function):
227         Disable cl-function warnings if cl is loaded.
229         * files.el (safe-local-eval-forms): New user option.
230         (hack-one-local-variable-eval-safep): Support it.
231         Also allow `safe-local-eval-function' property to be a function
232         or a list of functions.
233         (c-add-style): Delete `safe-local-eval-function' property.
235         * files.el (after-find-file): Make buffer read-only if file is
236         marked that way, even for root.
238         * files.el (save-some-buffers): Doc fix.
240         * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
242 2002-07-06  Francesco Potorti`  <pot@gnu.org>
244         * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
245         .sx[dmicw] file suffixes for Open office data files.
247         * files.el (auto-mode-alist): Likewise.
249         * international/mule.el (auto-coding-alist): Likewise.
251 2002-07-05  Kim F. Storm  <storm@cua.dk>
253         * emulation/cua-rect.el (cua--rectangle-operation): Don't call
254         FCT if current column is outside rectangle.
255         (cua--delete-rectangle): Do nothing if zero width or out of bounds.
257 2002-07-04  Stefan Monnier  <monnier@cs.yale.edu>
259         * net/ange-ftp.el: Use add-hook and find-file-hook.
260         (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
261         (ange-ftp-ls-parser): Make it into a function.
262         Ignore trailing @ in symlink targets.
263         (ange-ftp-file-entry-p): Ignore FTP errors.
264         (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
265         to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
267 2002-07-04  Per Abrahamsen  <abraham@dina.kvl.dk>
269         * simple.el (toggle-truncate-lines): New command.
271 2002-07-04  Miles Bader  <miles@gnu.org>
273         * comint.el (comint-displayed-dynamic-completions): New variable.
274         (comint-dynamic-list-completions): Be more careful about choosing
275         when to scroll an existing completions window.
277 2002-07-03  Andreas Schwab  <schwab@suse.de>
279         * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
280         after doc string.
282 2002-07-03  Juanma Barranquero  <lektu@terra.es>
284         * net/tramp.el (tramp-send-eof): Fix typo.
285         (tramp-kill-process): Likewise.
287         * play/dunnet.el (dun-physobj-desc): Likewise.
289         * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
291         * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
292         (timeclock-workday-elapsed): Likewise.
294         * allout.el (outline-goto-prefix): Likewise.
296         * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
297         (tpu-delete-to-bol): Likewise.
299         * subr.el (chars-in-region): Add obsolescence declaration for
300         `chars-in-region'.
302 2002-07-03  Miles Bader  <miles@gnu.org>
304         * faces.el (header-line): Don't use a `common' clause for
305         inheriting from the mode-line face, since we can't override it,
306         and we don't want it for ttys.
308 2002-07-02  Dave Love  <fx@gnu.org>
310         * international/characters.el: Fix general punctuation cases.
311         Remove \e$,1uf\e(B case.
313         * international/ccl.el (ccl-command-table): Add lookup-character,
314         lookup-integer.
315         (ccl-extended-code-table): Add lookup-int-const-tbl,
316         lookup-char-const-tbl.
317         (ccl-compile-lookup-integer, ccl-compile-lookup-character): New
318         function.
320         * international/mule.el (define-translation-hash-table): New
321         function.
323 2002-07-02  Richard M. Stallman  <rms@gnu.org>
325         * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
327         * files.el (hack-one-local-variable-constantp): New function.
328         (hack-one-local-variable-eval-safep): New function.
329         Check for `eval:' calling fn with `safe-local-eval-function' property.
330         (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
331         (c-add-style, c-set-style): Add safe-local-eval-function property.
333         * files.el (insert-directory): Handle --dired option to ls.
335         * files.el (file-remote-p): New function.
337         * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
339         * startup.el (fancy-splash-screens): Switch to a chosen frame.
340         (fancy-splash-frame): Choose the right frame to use.
341         (use-fancy-splash-screens-p): Check dimensions of the right frame
342         in order to decide.
344         * emacs-lisp/bytecomp.el (byte-compile-warning-types):
345         Rename cl-func to cl-functions.  Enable it by default.
346         (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
347         if the file loads cl.
348         (byte-compile-initial-macro-environment): For eval-and-compile,
349         use byte-compile-eval-before-compile to eval.
350         (byte-compile-eval-before-compile): New function to turn off
351         cl-functions when appropriate, for eval-and-compile.
352         (byte-compile-warnings): Doc fix.
354 2002-07-02  Dave Love  <fx@gnu.org>
356         * emacs-lisp/bytecomp.el (byte-compile-warnings):  Add cl-func option.
357         (byte-compile-cl-warn): New function.
358         (byte-compile-form): Use it, to warn about calling cl functions.
359         (byte-compile-warning-types): Doc fix.
361 2002-07-02  Juanma Barranquero  <lektu@terra.es>
363         * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
365         * textmodes/reftex-cite.el (reftex-citation): Fix typo.
367         * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
368         Fix typo.
370 2002-07-02  Kim F. Storm  <storm@cua.dk>
372         * emacs-lisp/bindat.el: New file.
374 2002-07-01  Sam Steingold  <sds@gnu.org>
376         * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
377         before `tex-main-file' because if the current buffer is new, its
378         file might not exist yet, and then `tex-main-file' will
379         incorrectly return "foo.tex.tex".
381 2002-07-01  Juanma Barranquero  <lektu@terra.es>
383         * ido.el (ido-minibuffer-setup-hook): Doc fix.
385 2002-07-01  Dave Love  <fx@gnu.org>
387         Make strokes a proper minor mode, and don't try to overload
388         mouse-2, which doesn't work satisfactorily.
390         * strokes.el: Doc fixes.
391         (strokes-mode): Defcustom deleted; replaced by minor mode def with
392         re-written function.
393         (strokes-while-inhibiting-garbage-collector): Comment out.
394         (define-stroke, strokes-fix-button2-command, strokes-insinuated)
395         (strokes-insinuate, global-set-stroke, describe-stroke)
396         (load-user-strokes, save-strokes, strokes-bug-address)
397         (strokes-click-command): Deleted.
398         (strokes-execute-stroke): Remove strokes-click-p case.
399         (strokes-describe-stroke): Remove strokes-click-p stuff.
400         (strokes-help): Fix.
401         (strokes-report-bug): Alias to report-emacs-bug.
402         (strokes-prompt-user-save-strokes): Modify format of the file.
403         (strokes-mode-map, strokes-unload-hook): New.
404         (strokes-buffer-name): Don't customize.
406 2002-07-01  Richard M. Stallman  <rms@gnu.org>
408         * info.el (Info-index): Get immediate error if used in `dir'.
410         * textmodes/picture.el (picture-forward-column)
411         (picture-move-down): Never deactivate the mark.
413 2002-06-30  Simon Josefsson  <jas@extundo.com>
415         * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
416         menu entry into balloon help.
418 2002-06-30  Andreas Schwab  <schwab@suse.de>
420         * files.el (directory-free-space-args): Don't use `-P' on Darwin.
421         * term/mac-win.el: Don't set it here.
423 2002-06-29  Stefan Monnier  <monnier@cs.yale.edu>
425         * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
427 2002-06-29  Andreas Schwab  <schwab@suse.de>
429         * term/mac-win.el: Use directory-free-space-program instead of
430         obsolete variable dired-free-space-program.  On Darwin, don't set
431         directory-free-space-program, shell-file-name and
432         process-connection-type; set directory-free-space-args to not
433         include `-P' and use utf-8 for file name coding system.
435         * simple.el (shell-command-on-region): Handle errors and signals
436         from shell command execution.
437         (display-message-or-buffer): Fix last change.
438         (shell-command-default-error-buffer): Doc fix.
440         * dired.el (dired-view-file): Quote file name for
441         dired-run-shell-command.
443 2002-06-29  Kim F. Storm  <storm@cua.dk>
445         * kmacro.el: New file.
447 2002-06-28  John Wiegley  <johnw@gnu.org>
449         * pcmpl-cvs.el: Added my name as the maintainer of this file.
451 2002-06-28  Andreas Schwab  <schwab@suse.de>
453         * shell.el (explicit-bash-args): New user option.
455 2002-06-28  Kim F. Storm  <storm@cua.dk>
457         * ido.el: New file.
459 2002-06-28  Stefan Monnier  <monnier@cs.yale.edu>
461         * derived.el (define-derived-mode): Preserve the `mode-class' rather
462         than the `special' symbol property.
463         (derived-mode-class): Make it obsolete.
465 2002-06-27  Andreas Schwab  <schwab@suse.de>
467         * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
469 2002-06-27  Juanma Barranquero  <lektu@terra.es>
471         * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
472         (meta-flag): Likewise.
474         * international/mule-util.el (string-to-sequence): Likewise.
476         * subr.el (char-bytes): Likewise.
477         (make-local-hook): Likewise.
478         (baud-rate): Remove redundant info from docstring.
480         * faces.el (frame-update-faces): Fix obsolescence declaration.
481         (internal-get-face): Remove redundant info from docstring and
482         fix obsolescence declaration.
484         * rect.el (move-to-column-force): Likewise.
486         * help-fns.el (describe-function-1): Use semicolon instead of dot.
487         (describe-variable): Likewise.
489 2002-06-27  Stefan Monnier  <monnier@cs.yale.edu>
491         * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
492         (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
493         (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
494         (mouse-wheel-follow-mouse): Change default to t.
495         (mwheel-event-button): Return the basic event symbol.
496         (mwheel-scroll): Work with non-mouse events.
497         (mouse-wheel-mode): Use the new vars.
498         (mwheel-install): Obey `uninstall'.
500         * term/xterm.el (function-key-map): Add some bindings.
502         * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
503         Rename from delay-uniquify-rationalize-file-buffer-names.
504         Only rationalize if the buffer is under uniquify control.
505         (uniquify-delayed-rationalize-file-buffer-names):
506         Rename from delayed-uniquify-rationalize-file-buffer-names.
508 2002-06-27  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
510         * net/tramp.el (tramp-file-name-structure)
511         (tramp-multi-file-name-hop-structure): Split for easier readability.
512         (tramp-handle-make-symbolic-link): Use user/host/method/... from
513         LINKNAME, not FILENAME.
514         (tramp-handle-verify-visited-file-modtime):
515         Call tramp-ange-ftp-file-name-p with right parameters.
516         (tramp-handle-verify-visited-file-modtime): `insert' does not
517         work for integers, convert them to strings first.
518         (tramp-handle-ange-ftp): New function to perform setup for
519         replacing Ange-FTP with Tramp.
520         (tramp-repair-jka-compr): New function to factor out some
521         previously top-level code.  Call the function at top-level.
523 2002-06-27  Juanma Barranquero  <lektu@terra.es>
525         * composite.el (decompose-composite-char): Fix docstring.
527         * faces.el (describe-face): Capitalize "not documented" message.
529         * help-fns.el (describe-variable): Likewise.
530         (describe-function-1): Likewise. Also, document the obsolescence
531         of the function, if applicable.
533 2002-06-26  Juanma Barranquero  <lektu@terra.es>
535         * info.el (info-menu-5): Fix documentation.
536         (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
538 2002-06-26  Richard M. Stallman  <rms@gnu.org>
540         * emacs-lisp/cl.el (values): Simplify definition.
542         * simple.el (shell-command): Match & only at end of whole command.
543         (display-message-or-buffer): Don't use the echo area
544         if output buffer is visible.
546         * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
548         * progmodes/cperl-mode.el: Many trivial doc fixes.
549         (cperl-non-problems): Definition deleted.
550         (cperl-menu): Don't refer to cperl-non-problems.
551         (cperl-word-at-point): Add doc string.
552         (cperl-beautify-regexp-piece): Fix error message.
553         (cperl-invert-if-unless): Fix error message.
555         * dired.el (dired-find-alternate-file): Mark as disabled.
557 2002-06-25  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
559         * net/tramp.el (tramp-ftp-method): New user option.
560         (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
561         (with-parsed-tramp-file-name): New macro for the usual big `let'
562         statement to dissect a file-name.
563         (tramp-handle-make-symbolic-link, tramp-handle-load)
564         (tramp-handle-file-name-directory)
565         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
566         (tramp-handle-file-truename, tramp-handle-file-directory-p)
567         (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
568         (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
569         Use the new macro and forward call to Ange-FTP if applicable.
570         (tramp-make-ange-ftp-file-name): New helper function to convert a
571         file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
572         (tramp-default-method-alist): New user option.
573         (tramp-find-default-method): Use it.
574         (tramp-sh-extra-args): New variable.
575         (tramp-find-shell): Use it.
576         (tramp-open-connection-rsh): Support a kludgy feature for the
577         "-p" option to ssh.  If host name is given as "host#42", uses the
578         "-p 42" option.
580 2002-06-25  Andreas Schwab  <schwab@suse.de>
582         * replace.el (occur-1): Avoid invalid message format string.
584 2002-06-24  Stefan Monnier  <monnier@cs.yale.edu>
586         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
587         Check for `noruntime' even if the function has a known sig.
588         (byte-compile-file, byte-compile-output-docform):
589         Don't hard code point-min = 1.
591         * pcvs.el (cvs-parse-process): Don't save/restore point.
592         Fix last change not to introduce spurious dir FIs.
593         (cvs-move-to-goal-column): New function extracted from
594         cvs-mode-previous-line.
595         (cvs-mode-previous-line, cvs-mode-next-line): Use it.
596         (cvs-addto-collection): Use it to preserve point.
597         (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
599         * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
600         Don't require the first element to be modifier-free.
602         * pcvs-parse.el (cvs-parse-table):
603         Handle `nothing known about' with more care.
605         * pcvs.el (cvs-fileinfo-kill): Remove.
606         (cvs-parse-process): Add `old-fis' argument.
607         (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
609         * descr-text.el (describe-property-list): Make sure there's
610         a space between the property name and its value.
611         (describe-text-properties): Don't kill a pre-existing buffer.
613         * mwheel.el: Undo last patch from Stephen Gildea for now.
615 2002-06-24  Kim F. Storm  <storm@cua.dk>
617         * emulation/keypad.el: Added :require 'keypad to defcustoms.
619 2002-06-23  Stefan Monnier  <monnier@cs.yale.edu>
621         * subr.el (event-start, event-end, event-click-count):
622         Accept non-mouse events as well.
623         (read-key): New function.
624         (read-quoted-char): Use it.  Use this-single-command-raw-keys as well.
626         * files.el: Rename (and mark as obsolete)
627         find-file-hooks to find-file-hook,
628         find-file-not-found-hooks to find-file-not-found-functions,
629         write-file-hooks to write-file-functions,
630         write-contents-hooks to write-contents-functions.
631         Mark local-write-file-hooks as obsolete.
632         (locate-file-completion): Don't cons uselessly.  Use test-completion.
633         (basic-save-buffer): Use (point-min) rather than 1.
634         (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
636         * help-fns.el (describe-variable): Only use `buffer' is still live.
637         Use `delete-region' instead of save-excursion + delete-char.
638         Document the obsolescence of the variable, if applicable.
640 2002-06-23  Glenn Morris  <gmorris@ast.cam.ac.uk>
642         * progmodes/f90.el (f90-do-auto-fill): Respect the value of
643         comment-auto-fill-only-comments.
645 2002-06-21  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
647         * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
648         This is not a handled operation.
650 2002-06-21  Kim F. Storm  <storm@cua.dk>
652         * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
653         work again.  Corrected error in check for C-u initiated prefix.
655         * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
657 2002-06-21  Richard M. Stallman  <rms@gnu.org>
659         * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
660         to browse-url-at-point.
662         * play/zone.el (zone-idle): Var deleted.
664         * international/iso-acc.el (iso-languages) <french>:
665         `~ ' now generates `~', `~,' definition deleted.
667         * format.el (format-annotate-function): Copy multibyte flag
668         and selective-display into the new temp buffer.
670         * edmacro.el (edmacro-fix-menu-commands):
671         Discard `help-echo' events.  Handle (menu-bar) events.
672         Simplify by converting key sequence to a list and then back to vector.
674 2002-06-21  Stephen Gildea  <gildea@stop.mail-abuse.org>
676         * mwheel.el: Allow arbitrary keys for scrolling, add a third
677         scrolling speed, fix an unwind-protect.
678         (mouse-wheel-scroll-amount): Now a three-element list.
679         (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
680         (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
681         (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
682         New functions.
684 2002-06-21  Andreas Schwab  <schwab@suse.de>
686         * files.el (find-file-read-args): Add new argument `mustmatch' and
687         pass it down to read-file-name.
688         (find-file, find-file-other-window, find-file-other-frame)
689         (find-file-read-only, find-file-read-only-other-window)
690         (find-file-read-only-other-frame): Use it and fix prompts.
692 2002-06-21  Stefan Monnier  <monnier@cs.yale.edu>
694         * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
696 2002-06-20  Emmanuel Briot  <briot@act-europe.fr>
698         * progmodes/ada-mode.el: Update copyright notice.
699         Synchronize with GNAT release 3.15a1.
700         Do not attempt to load ada-support, which is only for compatibility
701         with older Emacs versions, and is not needed for Emacs 21.
702         Fix various calls to count-lines, that didn't work correctly when the
703         buffer was narrowed.
704         (ada-continuation-indent): New variable.
705         (ada-contextual-menu): New entry "List local references", faster than
706         "List References".
707         (ada-mode): New alignment rules provided by S. Leake.
708         Add support for which-function-mode.
709         (ada-get-current-indent): Fix indentation of named parameter lists and
710         nested boolean expressions.
711         (ada-indent-on-previous-lines): Fix indentation of labels.
712         (ada-search-prev-end-stmt): Fix searching of the previous
713         end-statement, specially with regards to nested subprograms.
714         (comment-region advice): Initially disabled, for better compatibility
715         with other modes.
716         (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
718         * progmodes/ada-xref.el: Update copyright notice.
719         (ada-xref-create-ali): The default is now not to create automatically
720         the ALI files by compiling the unit, since this isn't always reliable
721         and requires an up-to-date project file.
722         (ada-prj-default-comp-cmd): No longer use gcc directly to compile
723         a file, but use gnatmake instead, since this gives access to the GNAT
724         project files.
725         (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
726         (ada-load-project-hook): New variable, for support of GNAT
727         project files.
728         (ada-update-project-menu): Fix the detection of the project file name.
729         (ada-add-keymap): Change key binding for ada-find-file, that conflicted
730         with another binding in ada-mode.el.
731         (ada-add-menu): New menu "List Local References", to list the reference
732         to the entity only in the current file, instead of looking in the whole
733         project.  Much faster.
734         (ada-find-references): New parameters arg and local-only.
735         (ada-find-any-references): New parameters local-only and append.
736         (ada-goto-declaration): Fix handling of predefined entities in xref.
737         (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
738         still compatible with GNAT 3.14 of course.  Fix various calls to
739         count-lines, that didn't work correctly when the buffer was narrowed.
741         * progmodes/ada-prj.el: Update copyright.
742         (ada-prj-load-directory): Make sure we do not use one of the new Emacs
743         21 dialogs to select the file, since we want a directory name only.
744         (ada-customize): Add support for the new GNAT project files.
746 2002-06-20  Francesco Potorti`  <pot@gnu.org>
748         * progmodes/etags.el (tag-implicit-name-match-p): New function.
749         (etags-recognize-tags-table): Use it for implicit tag names.
751 2002-06-20  Miles Bader  <miles@gnu.org>
753         * comint.el (comint-get-old-input-default): Strip text properties
754         for fields too.
756         * comint.el (comint-output-filter): Run output-filter functions
757         before setting up the prompt.
759         * international/characters.el: Re-enable code giving word syntax
760         to certain japanese-jisx0208 characters.
762 2002-06-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
764         * progmodes/f90.el (f90-type-def-re): Fix value.
765         (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
767 2002-06-18  Stefan Monnier  <monnier@cs.yale.edu>
769         * international/quail.el (quail-help): Don't assume the buffer
770         is displayed in the same frame.
772         * emacs-lisp/debug.el (cancel-debug-on-entry):
773         * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
775         * pcvs.el (cvs-vc-command-advice): Handle the case where args
776         are passed to `cvs' before the command name.
777         (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
779         * pcvs-info.el (cvs-add-face): Minor rewrite.
780         (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
782         * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
783         regexp when they don't match comment-foo any more.
785 2002-06-18  Juanma Barranquero  <lektu@terra.es>
787         * filesets.el (filesets-update-pre010505): Fix typo.
789         * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
791         * emulation/edt.el (edt-substitute): Fix typo.
793         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
795         * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
797         * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
799 2002-06-17  Richard M. Stallman  <rms@gnu.org>
801         * facemenu.el (facemenu-map): Rename to Describe Text
802         to Describe Properties and use describe-text-properties.
804         * simple.el (what-cursor-position): Use describe-char.
806         * descr-text.el (describe-char): Moved from mule-diag.el, renamed
807         from describe-char-after.  Now calls describe-text-properties.
808         (describe-property-list): Renamed from describe-text-properties.
809         (describe-text-properties): Renamed from describe-text-at.
810         New arg OUTPUT-BUFFER.
811         (describe-text-properties-1):
812         New subroutine, broken out from describe-text-properties.
813         Output a newline before each section of the output.
815         * international/mule-diag.el (describe-char-after):
816         Moved to descr-text.el.
818 2002-06-17  Eli Zaretskii <eliz@is.elta.co.il>
820         * international/mule.el (ctext-pre-write-conversion): Fix the values
821         of FROM and TO if we create a new buffer.
823 2002-06-17  John Paul Wallington  <jpw@shootybangbang.com>
825         * comint.el (comint-insert-clicked-input): Insert clicked-on
826         previous input without properties.
828 2002-06-16  Andrew Choi  <akochoi@shaw.ca>
830         * term/mac-win.el (scalable-fonts-allowed): Set to t.
832 2002-06-15  Colin Walters  <walters@debian.org>
834         * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
835         Delete defvars.
836         (cvs-highlight): Delete.
837         (cvs-add-face): Use `font-lock-face'.  Always add properties.
839         * ibuffer.el (ibuffer-movement-cycle): New variable.
840         (ibuffer-backward-line, ibuffer-forward-line): Use it.
842 2002-06-15  Richard M. Stallman  <rms@gnu.org>
844         * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
845         (batch-byte-recompile-directory): Undo previous change.
847         * comint.el (comint-skip-input): New function.
848         (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
849         (comint-stop-subjob): Use comint-skip-input.
851         * ielm.el (ielm-eval-input): Use error-message-string.
852         (ielm-format-error, ielm-format-errors): Functions deleted.
854 2002-06-14  Kim F. Storm  <storm@cua.dk>
856         * progmodes/compile.el (grep-tree): Doc fixes.
857         Added SUBDIRS arg for non-interactive use.
859 2002-06-14  Juanma Barranquero  <lektu@terra.es>
861         * comint.el (comint-snapshot-last-prompt):
862         Bind `inhibit-read-only' to t to support read-only prompts.
863         (comint-output-filter): Likewise.
865 2002-06-14  Miles Bader  <miles@gnu.org>
867         * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
868         (pop): Move the call to `car' outside the prog1, as the compiler
869         then generates better code.
871 2002-06-13  Richard M. Stallman  <rms@gnu.org>
873         * play/zone.el (zone-timer): New variable holds the idle timer.
874         (zone): Don't fiddle with the idle timer at all.
875         (zone-when-idle): Put the idle timer in zone-timer.
876         If one is already set up, cancel it and make a new one.
877         (zone-leave-me-alone): Likewise.
879 2002-06-13  Jason Rumney  <jasonr@gnu.org>
881         * w32-fns.el (w32-charset-info-alist): Reorder.
883 2002-06-13  Andreas Schwab  <schwab@suse.de>
885         * files.el (auto-mode-alist): Move entry for ".in" to the end.
887 2002-06-13  Miles Bader  <miles@gnu.org>
889         * comint.el (comint-mode): Don't set `font-lock-defaults'.
890         (comint-mode-hook): Turn on font-lock by default.
892 2002-06-12  Karl Fogel  <kfogel@red-bean.com>
894         * bookmark.el (bookmark-file-or-variation-thereof):
895         Restore vc-backend check, thanks to Robert Thorpe for noticing.
897 2002-06-12  Eli Zaretskii  <eliz@is.elta.co.il>
899         * textmodes/bibtex.el: Change the maintainer to "none".
901 2002-06-12  Juanma Barranquero  <lektu@terra>
903         * term/w32-win.el (x-handle-switch): Fix handling of
904         x-invocation-args for switches with arguments.
906 2002-06-12  Stefan Monnier  <monnier@cs.yale.edu>
908         * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
909         without first making sure it's bound.
911 2002-06-12  Richard M. Stallman  <rms@gnu.org>
913         * info.el (Info-fontify-node): Compute header line specially
914         if node has no next, previous or up links.
915         Hide the part of the first line that is used in the header.
916         Use Info-next-link-keymap, etc.
917         (Info-next-link-keymap, Info-prev-link-keymap)
918         (Info-up-link-keymap): New variables.
920         * international/mule-diag.el (describe-char-after): Doc fix.
922         * view.el (view-mode-enter): Clarify echo area message.
924         * info.el (Info-select-node): Turn header line on or off here.
925         (Info-setup-header-line): Function deleted.
926         (Info-mode): Make Info-header-line local.
927         (Info-fontify-node): Ignore Info-use-header-line.
928         Unconditionally compute what the header line should be, and
929         store it on the `header-line' property of the node's first char.
930         Bind [header-line down-mouse-1].
931         Use `keymap' property, not `local-map'.
932         Bind [mouse-2] for mouse clicks on the node line in the text.
934         * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
936 2002-06-12  Miles Bader  <miles@gnu.org>
938         * comint.el (comint-send-input): Properly handle empty and
939         no-newline input regions.
941 2002-06-12  Colin Walters  <walters@gnu.org>
943         * calc/calc.el: Use `when', `unless'.
944         (calc-trail-mode): Use an italic `font-lock-face'.
945         (calc-refresh): Ditto.
947 2002-06-12  Colin Walters  <walters@debian.org>
949         * font-core.el (font-lock-core-only): Variable deleted.
950         All uses removed.
951         (font-lock-set-defaults): Variable alist settings moved back into
952         font-lock-set-defaults-1.
953         (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
954         is specifically excluded by the user.
956         * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
958         * help-mode.el (help-mode): Don't set `font-lock-defaults'.
960         * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
962         * info.el (Info-mode): Don't set `font-lock-defaults'.
964         * replace.el (occur-mode): Don't set `font-lock-defaults'.
966         * help-mode.el (help-highlight-p, help-highlight-face):
967         Variable was unused; delete.
968         (help-make-xrefs): Doc fix.
970 2002-06-11  Richard M. Stallman  <rms@gnu.org>
972         * format.el (format-alist): Document new element PRESERVE.
973         (format-write-file): Implement PRESERVE elt for a format.
975         * files.el (make-auto-save-file-name): Rename local `filename' to
976         `file-name'.
978 2002-06-10  Richard M. Stallman  <rms@gnu.org>
980         * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
981         (ebrowse-copy-list): Function deleted.
983         * eshell/em-unix.el (eshell/diff): Use copy-sequence.
985         * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
987         * eshell/esh-util.el (eshell-copy-list): Function deleted.
988         (eshell-sublist): Use copy-sequence.
989         (eshell-copy-tree): Make it an alias for copy-tree.
991         * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
993         * subr.el (copy-list): Moved to cl.el.
994         (copy-tree): Don't use copy-list or cl-pop.
996 2002-06-10  Miles Bader  <miles@gnu.org>
998         Make comint use text properties for highlighting instead of overlays:
999         * comint.el (comint-last-output-overlay): Variable removed.
1000         (comint-send-input, comint-output-filter): Use text properties
1001         instead of overlays.
1002         (comint-insert-clicked-input): Rewrite to work with text
1003         properties as well as overlays
1004         (comint-snapshot-last-prompt): Snapshot using text properties.
1005         (comint-get-old-input-default, comint-extract-string): Don't copy
1006         text properties.
1008         * simple.el (line-move-finish): Inhibit field motion when
1009         computing `line-end'.
1011         * files.el (revert-buffer): Correct typo: variable name is
1012         `buffer-file-format', not `buffer-file-formats'.
1014         * comint.el (comint-send-input, comint-output-filter): Use the
1015         `font-lock-face' property instead of `face'.  Don't check the
1016         highlight-enabling variables anymore.
1017         (comint-highlight-input, comint-highlight-prompt): Variables removed.
1019         * faces.el (display-supports-face-attributes-p): New function.
1020         (face-spec-set-match-display): Support `supports' predicate.
1021         (italic): Try underlining for displays that don't support real italics.
1022         * cus-edit.el (custom-display): Add support for `supports' predicate.
1023         * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
1024         instead of 8-bit, for consistency with the rest of emacs.
1025         (tty-color-canonicalize): Only copy COLOR if we need to change it.
1026         (tty-color-approximate): Scale values from `color-name-rgb-alist'
1027         appropriately.  Return the whole color description, rather than
1028         just the RGB values.
1029         (tty-color-standard-values): New function.  Code mostly taken from
1030         `tty-color-translate'.
1031         (tty-color-translate, tty-color-values): Use `tty-color-desc' to
1032         do all the work.
1033         (tty-color-desc): Do color lookup here instead of calling
1034         `tty-color-translate' and `tty-color-by-index'; this is now the
1035         main place to do it.
1037 2002-06-09  Martin Stjernholm  <bug-cc-mode@gnu.org>
1039         * progmodes/cc-style.el (c-set-style, c-set-style-1):
1040         Add another state for the `dont-override' flag where it only keeps
1041         globally set variables.
1043 2002-06-08  Colin Walters  <walters@gnu.org>
1045         * descr-text.el (describe-text-properties): Sort the output by the
1046         size of the values.  Put `font-lock-face' property on property names.
1047         (toplevel): Provide `descr-text'.
1049         * international/mule-diag.el (describe-char-after): When there are
1050         text properties, require `descr-text', and just call
1051         `describe-text-properties'.
1053         * international/mule.el (sgml-html-meta-auto-coding-function):
1054         New function.
1055         (auto-coding-from-file-contents): Delete; merge functionality into
1056         `set-auto-coding'.
1057         (set-auto-coding): Move tests from `auto-coding-functions' so that
1058         they have a lower priority than coding: tags.
1059         Put `auto-coding-regexp-alist' tests before coding: tag tests.
1060         (sgml-xml-auto-coding-function): Simply `intern' the match, and
1061         test if it's a valid coding system.
1062         (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
1064 2002-06-08  Colin Walters  <walters@verbum.org>
1066         * subr.el (copy-list): Moved here from cl.el.
1067         (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
1069         * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
1070         subr.el.  Add a defalias with the old name.
1072         * emacs-lisp/cl.el (copy-list): Moved to subr.el.
1074         * replace.el (occur-mode): Don't set up categories.  Do set
1075         `font-lock-defaults', and be sure to set `font-lock-core-only'.
1076         (occur-1): Pass `list-matching-lines-face' and
1077         `list-matching-lines-buffer-name-face'.
1078         (occur-engine): Use `font-lock-face' instead of categories.
1080         * info.el (Info-mode): Don't set up categories.  Do set
1081         `font-lock-defaults', and be sure to set `font-lock-core-only'.
1082         (Info-fontify-menu-headers): Use `font-lock-face' instead of
1083         categories.
1084         (Info-fontify-node): Ditto.
1086         * ibuffer.el (ibuffer-category-alist): Delete.
1087         (ibuffer-get-category): Delete.
1088         (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
1089         of categories.
1090         (ibuffer-compile-format): Don't treat `name' category specially.
1091         (ibuffer-column name): Use `font-lock-face'.
1092         (filename-and-process): Ditto.
1093         (ibuffer-buffer-name-category): Renamed to
1094         `ibuffer-buffer-name-face'.  Don't use categories.
1095         (ibuffer-update-title-and-summary): Use `font-lock-face'.
1096         (ibuffer-insert-filter-group): Ditto.
1097         (ibuffer-mode): Don't set up categories.  Do set
1098         `font-lock-defaults', and be sure to set `font-lock-core-only'.
1099         (ibuffer-compile-format): Don't pass third argument
1100         to column functions.
1101         (filename-and-process): Ditto.
1103         * ibuf-macs.el (define-ibuffer-column): Don't create a third
1104         argument for the generated function.
1106         * font-core.el (font-lock-category-alist): Delete.
1107         (turn-on-font-lock-if-enabled): Don't use it.
1108         (font-lock-symbol-category-alist): Delete.
1109         (font-lock-default-function): Use new `char-property-alias-alist'
1110         to make `font-lock-face' an alias for `face' when font-lock mode
1111         is enabled.
1112         (font-lock-core-only): New variable.
1113         (font-lock-set-defaults): Use it.
1115 2002-06-08  Richard M. Stallman  <rms@gnu.org>
1117         * files.el (find-file-noselect-1): Undo previous change.
1119         * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
1121 2002-06-07  Karl Fogel  <kfogel@red-bean.com>
1123         * bookmark.el (bookmark-file-or-variation-thereof): Just use
1124         Info-suffix-list, as suggested by Stefan Monnier.
1126 2002-06-05  Eli Zaretskii  <eliz@is.elta.co.il>
1128         * select.el (xselect-convert-to-string): If VALUE is a string,
1129         return a cons of TYPE and the string.
1131 2002-06-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
1133         * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
1134         Fix the table to contain correct characters.
1136 2002-06-04  Richard M. Stallman  <rms@gnu.org>
1138         * simple.el: Don't require cl.
1140 2002-06-03  Richard M. Stallman  <rms@gnu.org>
1142         * dired.el (dired-do-shell-command): Doc fix in autoload.
1144         * info.el (Info-extract-pointer): Ignore Info-header-line.
1146         * progmodes/cc-mode.el (c-postprocess-file-styles):
1147         Do nothing except in CC modes.
1149         * international/mule-cmds.el (select-safe-coding-system):
1150         When computing auto-cs, narrow to FROM...TO.
1151         Put save-excursion outside save-restriction.
1152         New arg FILE; use that for set-auto-coding.
1154 2002-06-01  Richard M. Stallman  <rms@gnu.org>
1156         * simple.el (choose-completion-string-functions): Doc fix.
1157         (choose-completion-string): Add doc string.
1159 2002-06-01  Kim F. Storm  <storm@cua.dk>
1161         * simple.el: Reworked previous change.
1162         (choose-completion-string1): Merged back into choose-completion-string.
1163         (choose-completion-string): Run choose-completion-string-functions
1164         after checking for proper minibuffer window.  Added mini-p arg to
1165         the hook functions.  Insert choice if all hook functions return nil.
1166         (choose-completion-string-functions): Doc update.
1168 2002-06-01  Sam Steingold  <sds@gnu.org>
1170         * files.el (auto-mode-alist): Strip trailing ".in" from the file
1171         name when deciding the mode (for config.h.in, Makefile.in etc).
1173 2002-06-01  Thien-Thi Nguyen  <ttn@gnu.org>
1175         * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
1176         ?/ and ?* entries to support /* */ style comments.
1177         (prolog-font-lock-keywords): New var.
1178         (prolog-mode): Enable font-locking; set `font-lock-defaults'.
1180 2002-06-01  Kim F. Storm  <storm@cua.dk>
1182         * simple.el (choose-completion-string-functions): New special hook.
1183         (choose-completion-string1): Renamed from choose-completion-string.
1184         (choose-completion-string): Run choose-completion-string-functions
1185         until success, and only call choose-completion-string1 if it fails.
1187 2002-05-31  Stefan Monnier  <monnier@cs.yale.edu>
1189         * textmodes/ispell.el (autoloaded toplevel): Don't use
1190         ispell-library-directory without checking that it's bound.
1192 2002-05-31  Kim F. Storm  <storm@cua.dk>
1194         * emulation/cua-base.el (cua--last-deleted-region-pos)
1195         (cua--last-deleted-region-text): New aux variables.
1196         (cua-delete-region): Set them.
1197         (cua-repeat-replace-region): Use them to find the replacement text.
1199 2002-05-31  Juanma Barranquero  <lektu@terra.es>
1201         * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
1202         Fix typos.
1204 2002-05-31  Kim F. Storm  <storm@cua.dk>
1206         * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
1207         (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
1208         New custom variables.
1209         (grep-compute-defaults): Compute grep-tree-command's default value.
1210         (grep-expand-command-macros): New aux function.
1211         (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
1212         (grep-tree): New command like grep-find but extended prompting.
1214 2002-05-30  Richard M. Stallman  <rms@gnu.org>
1216         * files.el (find-file-default): Add defvar for var already used.
1218         * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
1220         * subr.el (open-network-stream, open-network-stream-nowait)
1221         (open-network-stream-server, process-kill-without-query):
1222         Moved from simple.el.
1224         * simple.el (open-network-stream, open-network-stream-nowait)
1225         (open-network-stream-server, process-kill-without-query):
1226         Moved to subr.el.
1228         * simple.el (byte-compiling-files-p): Function deleted.
1230         * textmodes/ispell.el (ispell-library-directory): Renamed from
1231         ispell-library-path.  If Ispell is not installed, init to nil.
1232         (check-ispell-version): Doc fix.
1233         (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
1234         initialize this unconditionally when ispell-menu-map-needed is t.
1235         Local `path' renamed to `dir'.
1237 2002-05-30  Miles Bader  <miles@gnu.org>
1239         * calc/calc.el (calc-show-banner): New variable.
1240         (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
1241         (calc-mode-var-list): Add `calc-show-banner'.
1242         * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
1243         (calc-toggle-banner): New function.
1244         * calc/calc-help.el (calc-d-prefix-help): Add `@'.
1246 2002-05-29  Richard M. Stallman  <rms@gnu.org>
1248         * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
1249         When recognizing a def... construct, make that indentation
1250         tentative, so that it can be overridden if the list in question
1251         is not actually an expression.
1252         (common-lisp-indent-call-method): New subroutine.
1254         * emacs-lisp/bytecomp.el (batch-byte-compile-file):
1255         Delete the output file if we get a file-error.
1257         * tooltip.el (tooltip-mouse-motions-active): New variable.
1258         (tooltip-activate-mouse-motions): Don't kill track-mouse local
1259         if it was not made by us.
1261         * mouse.el (mouse-set-font): Avoid misleading error message
1262         if user makes no selection.
1264         * info.el (Info-setup-header-line): Don't hide the links line.
1266         * files.el (find-file-noselect-1): Return the buffer we created
1267         even if it has been killed within `after-find-file'.
1269         * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
1271 2002-05-29  Kim F. Storm  <storm@cua.dk>
1273         * simple.el (open-network-stream-server): Pass on optional args
1274         sentinel and filter to make-network-process (from Luke Gorrie).
1276 2002-05-28  Colin Walters  <walters@gnu.org>
1278         * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
1280         * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
1281         (byte-compile-delete-first): New function.
1282         (byte-compile-read-position): New variable.
1283         (byte-compile-last-position): New variable.
1284         (byte-compile-current-buffer): New variable.
1285         (byte-compile-log-1): Use it.
1286         (byte-compile-set-symbol-position): New function.
1287         (byte-compile-obsolete, byte-compile-callargs-warn)
1288         (byte-compile-arglist-warn, byte-compile-arglist-warn)
1289         (byte-compile-print-syms, byte-compile-file-form-defmumble)
1290         (byte-compile-check-lambda-list, byte-compile-lambda)
1291         (byte-compile-form, byte-compile-variable-ref)
1292         (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
1293         (byte-compile-condition-case, byte-compile-defun)
1294         (byte-compile-defvar, byte-compile-autoload)
1295         (byte-compile-lambda-form): Use it.
1296         (byte-compile-from-buffer): Set it, and bind
1297         `read-with-symbol-positions' and `read-symbol-positions-list'.
1299         * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
1301 2002-05-28  Kim F. Storm  <storm@cua.dk>
1303         * files.el (read-directory-name): New function.
1304         (cd): Use it instead of read-file-name.
1306 2002-05-27  Kim F. Storm  <storm@cua.dk>
1308         * simple.el (push-mark-command): Added optional NOMSG arg.
1310         * emulation/cua-base.el (cua-set-mark): Align pop to mark
1311         behaviour with standard set-mark-command.
1312         (cua--pre-command-handler): Use push-mark-command.
1313         (cua-repeat-replace-region): Improve functionality when
1314         repeated after moving point or changing buffer.
1316 2002-05-26  Colin Walters  <walters@verbum.org>
1318         * startup.el (command-line): Use `when', `unless'.
1319         (command-line-1): New argument "--nosplash".  Handle it.
1321         * startup.el (inhibit-splash-screen): New variable alias for
1322         `inhibit-startup-message'.
1324         * replace.el (perform-replace): Document return value.  Use `pop'.
1326 2002-05-26  Glenn Morris  <gmorris@ast.cam.ac.uk>
1328         * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
1329         and slightly changed behaviour, for `f90-previous-block-start' and
1330         `f90-next-block-end'.
1331         (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
1333 2002-05-26  Simon Josefsson  <jas@extundo.com>
1335         * fringe.el (set-fringe-mode): Work when updating
1336         `default-frame-alist'.
1338 2002-05-26  Kim F. Storm  <storm@cua.dk>
1340         * emulation/cua-base.el (cua--repeat-replace-text): New variable.
1341         (cua-repeat-replace-region): New command.
1342         (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
1343         Misc improvements to the commantary.
1345 2002-05-26  Simon Josefsson  <jas@extundo.com>
1347         * fringe.el (fringe-query-style): New fringe style "minimal".
1349 2002-05-24  Simon Josefsson  <jas@extundo.com>
1351         * rot13.el (rot13-translate-table): New variable.
1352         (rot13, rot13-string, rot13-region): New functions.
1354 2002-05-25  Martin Stjernholm  <bug-cc-mode@gnu.org>
1356         * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
1357         of wrong anchoring, e.g. for else-if compounds.
1359 2002-05-25  Miles Bader  <miles@gnu.org>
1361         * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
1362         (menu-bar-showhide-fringe-menu-customize-right)
1363         (menu-bar-showhide-fringe-menu-customize-disable):
1364         Use proper calling convention for `customize-set-value'.
1365         Require `fringe' before setting variable.
1367 2002-05-25  Kim F. Storm  <storm@cua.dk>
1369         * emulation/cua-base.el (cua--self-insert-char-p): New function.
1371         * emulation/cua-gmrk.el (cua--init-global-mark):  Install default
1372         binding in cua--global-mark-keymap using cua--self-insert-char-p
1373         to handle all global self inserting characters in gmark mode.
1375         * emulation/cua-rect.el (cua--init-rectangles): Install default
1376         binding in cua--rectangle-keymap using cua--self-insert-char-p
1377         to handle all global self inserting characters in rectangle mode.
1379 2002-05-24  Stefan Monnier  <monnier@cs.yale.edu>
1381         * net/ange-ftp.el (read-file-name-internal): Remove the
1382         `ange-ftp' property.
1383         (ange-ftp-real-read-file-name-internal): Remove.
1385 2002-05-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
1387         * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
1388         `forward-line'.
1389         (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
1390         (f90-previous-block-start): New navigation commands.
1392 2002-05-20  Simon Josefsson  <jas@extundo.com>
1394         * fringe.el: New file.
1396         * menu-bar.el (menu-bar-options-save): Add fringe-mode.
1397         (menu-bar-showhide-fringe-menu): New menu.
1398         (menu-bar-showhide-menu): Add Fringe sub-menu.
1400 2002-05-23  Colin Walters  <walters@verbum.org>
1402         * replace.el (occur-engine): Include all text properties except
1403         mouse-face on the newline at the end of occurences.
1405 2002-05-23  Kim F. Storm  <storm@cua.dk>
1407         * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
1408         (apropos-false-hit-str, apropos-true-hit-doc): New functions.
1409         (apropos-command, apropos-value, apropos-documentation-internal)
1410         (apropos-documentation-check-doc-file)
1411         (apropos-documentation-check-elc-file): Use them to filter out
1412         false matches where only one keyword matches, but more than once.
1414         * apropos.el (apropos-show-scores, apropos-orig-regexp)
1415         (apropos-all-regexp, apropos-synonyms, apropos-words)
1416         (apropos-all-words): New variables.
1417         (aprpos-words-to-regexp, apropos-rewrite-regexp)
1418         (apropos-calc-scores, apropos-score-str, apropos-score-doc)
1419         (apropos-score-symbol): New functions.
1420         (apropos-command, apropos, apropos-value, apropos-documentation):
1421         Allow keywords in addition to regexp. Added scoring.
1422         (apropos-documentation-check-doc-file)
1423         (apropos-documentation-check-elc-file): Added scoring.
1424         (apropos-print): Sort according to score.
1426 2002-05-22  Colin Walters  <walters@cis.ohio-state.edu>
1428         * info.el (Info-mode-hook): Change `font-lock-mode' to
1429         `turn-on-font-lock'.
1431         * font-core.el (font-lock-function): New variable.
1432         (font-lock-default-function): New function, created from
1433         `font-lock-mode'.
1434         (font-lock-mode): Just funcall `font-lock-function'.
1435         (font-lock-symbol-category-alist): New variable.
1437 2002-05-22  Markus Rost  <rost@math.ohio-state.edu>
1439         * files.el (file-newest-backup): Use file-name-sans-versions.
1441         * diff.el (diff-latest-backup-file): Replace the main code by
1442         a call of file-newest-backup.
1444 2002-05-22  Mike Williams  <mdub@bigfoot.com>
1446         * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
1447         the buffer.
1449 2002-05-21  Stefan Monnier  <monnier@cs.yale.edu>
1451         * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
1452         the last patch works around the wu-ftpd misfeature that prompted
1453         the disabling of this optimization.
1455 2002-05-21  Colin Walters  <walters@gnu.org>
1457         * international/mule.el (make-coding-system): Doc fixes.
1459         * international/mule.el (auto-coding-functions): New variable.
1460         (auto-coding-from-file-contents): Use it.
1461         (set-auto-coding): Update docs.
1462         (sgml-xml-auto-coding-function): New function.
1464         * international/mule-util.el (truncate-string-to-width):
1465         New optional argument `ellipsis'.  Add commented-out test suite, and
1466         change coding to iso-2022-7bit.
1468 2002-05-21  Colin Walters  <walters@verbum.org>
1470         * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
1471         (font-lock-multiline, font-lock-fontified, font-lock-mode)
1472         (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
1473         (font-lock-global-modes): Moved to font-core.el.
1474         (font-lock-set-defaults-1): Partially moved to font-core.el.
1476         * font-core.el: New file, with functions taken from font-lock.el.
1477         (font-lock-category-alist): New variable.
1478         (font-lock-mode): Use it.
1479         (font-lock-set-defaults): Partially taken from font-lock.el.
1480         Only load font-lock.el when necessary.
1482         * loadup.el: Add font-core.el.
1484         * replace.el (occur-mode-hook): New variable.
1485         (occur-fontify-region-function): Deleted.
1486         (occur-mode): Don't use it.  Set up `font-lock-category-alist'
1487         instead.
1488         (occur-fontify-on-property): Deleted.
1489         (occur-engine): Use categories from `font-lock-category-alist'.
1491         * info.el (Info-fontify): Deleted.
1492         (Info-select-node): Don't use it.
1493         (Info-mode-hook): New variable.
1494         (Info-mode): Set up categories.
1495         (Info-fontify-menu-headers, Info-fontify-node): Use categories.
1497         * ibuffer.el (ibuffer-formats): Update docs.
1498         (ibuffer-category-alist): New variable.
1499         (ibuffer-get-category): New function.
1500         (ibuffer-compile-make-eliding-form): Use category property instead
1501         of face.
1502         (ibuffer-compile-format): Pass current ibuffer buffer to column
1503         functions too.
1504         (ibuffer-buffer-name-category): New function.
1505         (ibuffer-compile-format): If the current column is a `name'
1506         column, figure out the appropriate category to put on it.
1507         (filename-and-process): Use category property.
1508         (ibuffer-fontify-region-function): Deleted.
1509         (ibuffer-unfontify-region-function): Deleted.
1510         (ibuffer-update-title-and-summary): Use category properties.
1511         (ibuffer-insert-filter-group): Ditto.
1512         (ibuffer-mode): Set up category properties.
1514 2002-05-21  Colin Walters  <walters@debian.org>
1516         * replace.el (occur-engine): Increment globalcount all at once
1517         after searching a buffer.
1518         (occur-mode-map): Don't escape plain "o".
1520         * ibuf-macs.el (define-ibuffer-column): Add third argument
1521         `ibuffer-buf'.
1523         * ibuffer.el (toplevel): Require font-lock, to get the face
1524         definitions.
1525         (ibuffer-use-fontification): Deleted.
1526         (column filename-and-process): New column.
1527         (ibuffer-formats): Use it by default.
1528         (ibuffer-name-map, ibuffer-mode-name-map)
1529         (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
1530         (ibuffer-do-save, ibuffer-do-toggle-modified)
1531         (ibuffer-do-toggle-read-only, ibuffer-do-delete)
1532         (ibuffer-do-kill-on-deletion-marks): Include name in definition.
1533         (ibuffer): New optional argument `formats'.
1535 2002-05-21  Eli Zaretskii  <eliz@is.elta.co.il>
1537         * indent.el (indent-rigidly): Mention how to remove all indentation.
1539 2002-05-21  Colin Walters  <walters@gnu.org>
1541         * international/mule-diag.el (describe-char-after): Order display
1542         of text properties by the size of their value, for clarity.
1544 2002-05-20  Stefan Monnier  <monnier@cs.yale.edu>
1546         * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
1547         (ange-ftp-file-name-completion): Don't cons unnecessarily.
1548         (ange-ftp-send-cmd): Always `cd' before doing `ls'.
1550         * wid-edit.el (widget-color-complete):
1551         * progmodes/etags.el (tags-complete-tags-table-file):
1552         * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
1554         * textmodes/outline.el (outline-reveal-toggle-invisible):
1555         Reverse the meaning of the second arg.
1557         * reveal.el (reveal-post-command): Reverse the semantics of
1558         reveal-toggle-invisible and support isearch-open-invisible-temporary.
1560 2002-05-20  Markus Rost  <rost@math.ohio-state.edu>
1562         * mail/sendmail.el (mail-recover-1): Remove (debug).
1563         (mail-signature): Fix :type.
1564         (mail-default-directory): New user option.
1565         (mail, mail-recover):  Use that option.
1567 2002-05-20  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1569         * international/mule.el (auto-coding-alist): Use emacs-mule
1570         for auto-save files.
1572 2002-05-20  Miles Bader  <miles@gnu.org>
1574         * files.el (find-file-read-args): Don't trash existing value of
1575         `minibuffer-setup-hook', just add our hook to it.
1577 2002-05-19  Markus Rost  <rost@math.ohio-state.edu>
1579         * international/ucs-tables.el (unify-8859-on-encoding-mode)
1580         (unify-8859-on-decoding-mode): Change :version attributes to strings.
1582         * simple.el (yank-excluded-properties): Change :version attribute
1583         to a string.
1585         * dired.el (dired-view-command-alist): Change :version attribute
1586         to a string.
1588         * xscheme.el (xscheme-start-hook): Change :version attribute to a
1589         string.
1591         * find-dired.el (find-dired): Implement revert-buffer-function.
1593         * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
1595 2002-05-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
1597         * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
1598         (f90-get-present-comment-type): Fix earlier change.
1599         (f90-comment-indent): Doc fix.
1600         (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
1601         (f90-looking-at-if-then): Remove lets.
1602         (f90-looking-at-where-or-forall): Handle if split over lines.
1603         (f90-change-keywords): Doc fix.
1605 2002-05-19  Richard M. Stallman  <rms@gnu.org>
1607         * indent.el (indent-region): Make COLUMN arg optional.
1609         * files.el (find-file-read-args): New function.
1610         (find-file, find-file-other-window, find-file-other-frame)
1611         (find-file-read-only, find-file-read-only-other-window)
1612         (find-file-read-only-other-frame): Use it.
1614         * custom.el (custom-load-symbol): Verify that LOADED is a string.
1616         * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
1617         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1618         (archive-zip-update-case): Use locate-file to decide whether
1619         to use pkzip.
1620         (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
1622         * files.el (locate-file): Doc fix.
1624 2002-05-19  John Paul Wallington  <jpw@shootybangbang.com>
1626         * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
1627         as an option.
1629 2002-05-18  Stefan Monnier  <monnier@cs.yale.edu>
1631         * uniquify.el (uniquify-rationalize-file-buffer-names):
1632         Always strip the trailing / even if the file is not a directory.
1634 2002-05-18  Glenn Morris  <gmorris@ast.cam.ac.uk>
1636         * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
1637         initialization in the defvar.
1638         (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
1639         (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
1640         (f90-font-lock-4): Move the doc strings.
1641         (f90-menu-bar-menu): New internal variable to hold the top-level menu.
1642         (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
1643         (f90-mode-abbrev-table): Initialize in the defvar, with
1644         define-abbrev-table.
1646 2002-05-18  Eli Zaretskii  <eliz@is.elta.co.il>
1648         * tar-mode.el (tar-octal-time): Fix last change.
1650 2002-05-18  Markus Rost  <rost@math.ohio-state.edu>
1652         * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
1653         (report-emacs-bug): Store the prompt in
1654         `report-emacs-bug-text-prompt'.  Move Configuration/Important
1655         settings information after the user's report.
1656         (report-emacs-bug-hook): Unclutter by deleting the content of
1657         `report-emacs-bug-text-prompt'.
1659 2002-05-17  Thomas Morgan <tlm@pocketmail.com>
1661         * forms.el (forms-jump-record, forms-insert-record)
1662         (forms-delete-record): Calculate lines from the beginning of the
1663         accessible portion rather than from the beginning of the buffer.
1665 2002-05-16  Eli Zaretskii  <eliz@is.elta.co.il>
1667         * ps-mule.el (eval-and-compile): Add a trivial replacement for a
1668         possibly missing encode-char.
1669         (ps-mule-font-info-database-bdf): Add associations for Unicode
1670         fonts.  Doc fix.
1671         (ps-mule-font-info-database-ps-bdf): Doc fix.
1672         (ps-mule-encode-ucs2): New function for encoding Unicode characters.
1674         * tar-mode.el (tar-octal-time): Fix the last argument of logior.
1676 2002-05-16  Stefan Monnier  <monnier@cs.yale.edu>
1678         * emacs-lisp/find-func.el (find-function-search-for-symbol):
1679         Find funs defined with defun-cvs-mode.
1680         (find-function-space-re): New const.  Skips comments as well.
1681         (find-function-regexp, find-variable-regexp): Use it.
1683         * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
1684         (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
1685         (cvs-mode-set-flags): Don't cons unnecessarily.
1687 2002-05-16  Colin Walters  <walters@debian.org>
1689         * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
1690         "Simple Calculator".
1691         (menu-bar-tools-menu) <calc>: New.
1693 2002-05-16  Juanma Barranquero  <lektu@terra.es>
1695         * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
1697         * filesets.el (filesets-ormap): Fix typo.
1699         * faces.el (describe-face): Fix typo.
1701 2002-05-15  Stefan Monnier  <monnier@cs.yale.edu>
1703         * emacs-lisp/easymenu.el (easy-menu-make-symbol):
1704         Don't treat (lambda () ...) as an expression.
1706 2002-05-15  John Paul Wallington  <jpw@shootybangbang.com>
1708         * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
1710 2002-05-15  Eli Zaretskii  <eliz@is.elta.co.il>
1712         * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
1714 2002-05-14  Glenn Morris  <gmorris@ast.cam.ac.uk>
1716         * progmodes/fortran.el (fortran-directive-re): New name for
1717         fortran-preprocessor-re.  All usage updated.
1718         (fortran-calculate-indent): Give directives zero indentation.
1720 2002-05-14  Jason Rumney  <jasonr@gnu.org>
1722         * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
1723         displayed text and internal name as string.
1725 2002-05-14  Kim F. Storm  <storm@cua.dk>
1727         * emulation/cua-rect.el (cua--rectangle-operation):
1728         Don't highlight empty lines in rectangles.
1730         * emulation/keypad.el: Improved commentary.
1731         (keypad-setup, keypad-shifted-setup): Added choice to setup
1732         Numeric keypad with decimal key; value is selected character.
1733         (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
1734         (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
1735         (keypad-setup):  Arg list changed to support the new options.
1737 2002-05-14  Richard M. Stallman  <rms@gnu.org>
1739         * dabbrev.el (dabbrev-case-distinction): New option.
1740         (dabbrev--try-find): Handle dabbrev-case-distinction.
1741         (dabbrev--search): Clean up the code.
1742         (dabbrev-upcase-means-case-search): Doc fix.
1743         (dabbrev-case-replace): Fix custom tags and docs.
1745 2002-05-14  Jochen K\e,A|\e(Bpper  <jochen@jochen-kuepper.de>
1747         * calc/calc-units.el (math-standard-units): Update from CODATA.
1749 2002-05-14  Stefan Monnier  <monnier@cs.yale.edu>
1751         * skeleton.el (skeleton-transformation): Default to `identity'.
1752         (skeleton-insert): Use `move-after' markers and `insert' rather
1753         than rely on insert-before-markers.
1754         (skeleton-internal-1): Handle `> \n' specially so that the newline
1755         is inserted before the first line is indented.
1757 2002-05-14  Mike Williams  <mdub@bigfoot.com>
1759         * textmodes/sgml-mode.el (sgml-tag):
1760         Default skeleton-transformation to `identity'.
1762 2002-05-14  Francesco Potorti`  <pot@gnu.org>
1764         * shell.el (shell-mode): Make second part of initialisation
1765         depend on whether comint-input-ring is empty, rather than depend
1766         on it being nil.
1768 2002-05-14  Richard M. Stallman  <rms@gnu.org>
1770         * files.el (make-auto-save-file-name):
1771         Delete the auto-save file after make-temp-file creates it.
1773 2002-05-13  Kim F. Storm  <storm@cua.dk>
1775         * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
1776         (cua-mode): Print Enabled/Disabled messages if interactive.
1777         Disable delete-selection-mode and pc-selection-mode when cua-mode
1778         is enabled; reenable if cua-mode is turned off.
1779         Remember setting of transient-mark-mode when cua-mode is enabled;
1780         restore if cua-mode is disabled.
1782 2002-05-13  Richard M. Stallman  <rms@gnu.org>
1784         * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
1786 2002-05-13  Colin Walters  <walters@gnu.org>
1788         * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
1790         * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
1791         (ibuffer-redisplay-engine): Handle it.
1793         * add-log.el (add-log-mailing-address): Can be a list, too.
1794         (add-change-log-entry): If `add-log-mailing-address' is a list,
1795         then handle it.
1797 2002-05-12  Colin Walters  <walters@debian.org>
1799         * replace.el (occur-1): New optional argument `buf-name'.
1800         (occur-revert-function): Use it.
1802         (occur-1): Handle plurals.
1804         (occur-engine): If there are no more matches, then finish
1805         searching the current buffer.
1807 2002-05-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
1809         * net/ange-ftp.el (ange-ftp-try-passive-mode)
1810         (ange-ftp-passive-host-alist): Change :version attributes to be
1811         strings.
1813 2002-05-12  Markus Rost  <rost@math.ohio-state.edu>
1815         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
1816         define-minor-mode.
1818         * emacs-lisp/find-func.el (find-function-search-for-symbol):
1819         Handle more whitespace/newline combinations in symbol definitions.
1821 2002-05-12  Eli Zaretskii  <eliz@is.elta.co.il>
1823         * w32-vars.el (w32)
1824         * vc-cvs.el (vc-cvs-global-switches)
1825         (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
1826         * textmodes/sgml-mode.el (sgml-xml-mode)
1827         * ruler-mode.el (ruler-mode)
1828         * replace.el (query-replace-skip-read-only)
1829         * progmodes/fortran.el (fortran-preprocessor-re)
1830         * net/ange-ftp.el (ange-ftp-passive-host-alist)
1831         * mail/sendmail.el (mail-use-dsn)
1832         * faces.el (mode-line-inactive, minibuffer-prompt)
1833         * add-log.el (add-log-always-start-new-record): Change all
1834         post-21.1 :version attributes to 21.4.
1836 2002-05-12  Richard M. Stallman  <rms@gnu.org>
1838         * mail/smtpmail.el (smtpmail-mail-address): New variable.
1839         (smtpmail-send-it): Bind and use that instead of `mail-address'.
1840         (smtpmail-via-smtp): Likewise.
1842         * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
1843         (ansi-color-apply-sequence): Avoid duplicates in combined face list.
1845         * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
1847         * subr.el (functionp): Catch errors in indirect-function.
1849 2002-05-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
1851         * net/ldap.el (ldap-search-internal): Unfold folded lines before
1852         parsing.
1854         * cus-edit.el (customize-set-value): Rename `var' to `variable'
1855         and `val' to `value'.
1856         (customize-save-variable): Rename `var' to `'variable.
1858 2002-05-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
1860         * progmodes/fortran.el (fortran-preprocessor-re): New variable.
1861         Use it for font-locking and indentation.
1862         (fortran-previous-statement, fortran-next-statement): Make them
1863         skip over preprocessor lines.
1864         (fortran-calculate-indent): Use fortran-preprocessor-re.
1866 2002-05-10  Kim F. Storm  <storm@cua.dk>
1868         * emulation/cua-base.el (cua-enable-cua-keys)
1869         (cua-enable-register-prefix): Added value for `other' choice.
1871 2002-05-10  Eli Zaretskii  <eliz@is.elta.co.il>
1873         * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
1874         (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
1875         (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
1876         Run a named function.
1877         (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
1878         (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
1879         Fix help text.
1881 2002-05-10  Kim F. Storm  <storm@cua.dk>
1883         * emulation/cua-base.el (cua-mode): Misc. changes to use
1884         emulation-mode-map-alists instead of minor-mode-map-alist.
1886 2002-05-09  Richard M. Stallman  <rms@gnu.org>
1888         * mail/rmail.el (rmail-show-message):
1889         Catch error in check-coding-system.
1891         * progmodes/compile.el (compilation-error-regexp-alist):
1892         New element to recognize Python error messages.
1894         * shell.el (shell-replace-by-expanded-directory):
1895         If there's already a / at the end, don't add one.
1897 2002-05-09  Colin Walters  <walters@verbum.org>
1899         * ibuffer.el (ibuffer-mode-map): Add :enable guards for
1900         `ibuffer-filter-disable', `ibuffer-pop-filter',
1901         `ibuffer-or-filter', `ibuffer-negate-filter',
1902         `ibuffer-decompose-filter', `ibuffer-save-filters',
1903         `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
1904         `ibuffer-save-filter-groups',
1905         `ibuffer-switch-to-saved-filter-groups',
1906         `ibuffer-delete-saved-filter-groups'.
1908         * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
1910 2002-05-09  Markus Rost  <rost@math.ohio-state.edu>
1912         * woman.el (woman-menu):  Move symbol before the comment so that
1913         find-function-search-for-symbol finds it.
1915 2002-05-10  Miles Bader  <miles@gnu.org>
1917         * facemenu.el (list-colors-display): Don't use
1918         `display-color-cells' unless the display class is one for which
1919         that info is relevant.
1921 2002-05-09  Simon Josefsson  <jas@extundo.com>
1923         * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
1924         calling buffer.
1925         (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
1926         have the patch).
1928 2002-05-09  Kim F. Storm  <storm@cua.dk>
1930         * wid-edit.el (checkbox): New check-mark image.
1932 2002-05-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
1934         * filesets.el (filesets-running-xemacs): Fix last change.
1936 2002-05-08  Markus Rost  <rost@math.ohio-state.edu>
1938         * help-fns.el (describe-function-1): If the source is
1939         `loaddefs.el', look for the real source.  This is necessary only
1940         for defaliases.
1942         * emacs-lisp/find-func.el (find-function-search-for-symbol):
1943         Add autoload cookie.
1944         (find-function-regexp):  Include
1945         "\(quote " to match the defaliases in loaddefs.el.
1947         * filesets.el (filesets-conditional-sort): Use copy-sequence,
1948         not copy-list.
1949         (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
1950         Defvar them to nil if running in Emacs.
1952 2002-05-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
1954         * textmodes/flyspell.el (make-flyspell-overlay): Add help text
1955         to flyspell overlays.
1957         * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
1959 2002-05-08  Richard M. Stallman  <rms@gnu.org>
1961         * diff.el (diff-regexp-alist): Doc fix.
1963         * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
1965 2002-05-08  Simon Marshall  <simon@gnu.org>
1967         * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
1968         the frame name as the car of a menu entry, rather than the frame.
1970 2002-05-08  Juanma Barranquero  <lektu@terra.es>
1972         * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
1973         in docstring.
1975 2002-05-07  Colin Walters  <walters@verbum.org>
1977         * replace.el (occur-unfontify-region-function): Delete.
1978         (occur-mode): Don't use it.
1979         (occur-engine): Respect `keep-props'.
1980         (occur-accumulate-lines): If we're moving forward, decrement;
1981         don't increment, and vice versa.
1983 2002-05-08  Toru Tomabechi  <Toru.Tomabechi@orient.unil.ch>
1985         * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
1986         (tibetan-canonicalize-for-unicode-regexp): New variables.
1987         (tibetan-canonicalize-for-unicode-region): New function.
1988         (tibetan-strict-unicode): New variable.
1989         (tibetan-pre-write-canonicalize-for-unicode): New function.
1991 2002-05-07  Markus Rost  <rost@math.ohio-state.edu>
1993         * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
1994         the autoload-cookie.  Remove comment.
1996         * ffap.el (ffap): Don't hide it behind the autoload-cookie.
1998         * rect.el (close-rectangle): Don't hide it behind the
1999         autoload-cookie.
2001 2002-05-07  Juanma Barranquero  <lektu@terra.es>
2003         * windmove.el (windmove-default-keybindings): Add optional
2004         parameter to allow using a modifier other than 'shift.
2006 2002-05-07 Thomas Link <t.link@gmx.at>
2008         * filesets.el:
2009         (filesets-external-viewers): Fix customization problem.
2010         (filesets-some): Replaces cl's `some'.  Calls changed.
2011         (filesets-member): Replaces cl's `member*'.  Calls changed.
2012         (filesets-ormap): New function.
2014 2002-05-07  John Paul Wallington  <jpw@shootybangbang.com>
2016         * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
2017         menu items.
2019 2002-05-07  Colin Walters  <walters@gnu.org>
2021         * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
2022         (ibuffer-clear-filter-groups): Likewise.
2023         (ibuffer-kill-filter-group): Likewise.
2024         (ibuffer-kill-line): Likewise.
2025         (ibuffer-read-filter-group-name): New function.
2026         (ibuffer-jump-to-filter-group): Use it.
2027         (ibuffer-kill-filter-group): Likewise.
2028         (ibuffer-yank-filter-group): Likewise.
2029         (ibuffer-decompose-filter-group): New function.
2031         * ibuffer.el (ibuffer-mode-map): Bind it.  Add :enable guard
2032         around `ibuffer-filters-to-filter-group' menu item.  Fix :enable
2033         guards for `ibuffer-pop-filter-group' and
2034         `ibuffer-clear-filter-groups'.
2036 2002-05-06  Markus Rost  <rost@math.ohio-state.edu>
2038         * emacs-lisp/find-func.el (find-function-search-for-symbol):
2039         Use with-syntax-table.
2041 2002-05-06  Francesco Potorti`  <pot@gnu.org>
2043         * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
2045 2002-05-05  Markus Rost  <rost@math.ohio-state.edu>
2047         * time-stamp.el (time-stamp-format): Doc fix: escape open
2048         parenthesis in column 0.
2050 2002-05-04  Richard M. Stallman  <rms@gnu.org>
2052         * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
2053         Handle both cases: when the menu item has cached info
2054         and when it doesn't.
2056         * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
2057         (filesets-open-file-function, filesets-save-buffer-function): Likewise.
2058         (filesets-tree-max-level): Doc fix.
2059         (filesets-commands, filesets-external-viewers)
2060         (filesets-ingroup-patterns): Mark as risky.
2061         (filesets-cache-hostname-flag): Doc fix.
2062         (filesets-menu-cache-file): Doc fix.  Mark as risky.
2063         (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
2064         Don't defcustom them if running in Emacs.
2066 2002-05-04  Thomas Link <t.link@gmx.at>
2068         * filesets.el (filesets-ingroup-collect-files):
2069         Fix problem with inclusion groups' :scan-depth property.
2071 2002-05-04  Colin Walters  <walters@verbum.org>
2073         * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
2074         "Default" group earlier.  Push killed group on
2075         `ibuffer-filter-group-kill-ring'.
2076         (ibuffer-kill-line): Document.  Don't push killed group ourselves.
2077         (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
2078         (ibuffer-insert-filter-group-before): New function, broken out
2079         from `ibuffer-yank'.
2080         (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
2082         * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
2083         (ibuffer-mode-view-menu): Unused variables; deleted.
2084         (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
2086 2002-05-04  John Paul Wallington  <jpw@shootybangbang.com>
2088         * ibuffer.el (ibuffer-mode-groups-popup): New variable.
2089         (toplevel): Bind filter group menu entries in it.  Add :enable
2090         forms for some menu items.
2091         (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
2092         to `ibuffer-mouse-popup-menu'.
2093         (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
2094         group name, and if so, pop up a filter group menu.
2096 2002-05-04  Jason Rumney  <jasonr@gnu.org>
2098         * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
2099         (mwheel-scroll): Recognize nil scroll amount as documented.
2101         * term/w32-win.el (mouse-wheel-scroll-line)
2102         (mouse-wheel-scroll-screen): Remove.
2103         ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
2105         * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
2107 2002-05-04  Markus Rost  <rost@math.ohio-state.edu>
2109         * emacs-lisp/find-func.el (find-function-search-for-symbol):
2110         Bind case-fold-search when searching.
2112 2002-05-04  Eli Zaretskii  <eliz@is.elta.co.il>
2114         * apropos.el (apropos-print): Fix the reference to mouse-2.
2116 2002-05-04  Daniel Pfeiffer  <occitan@esperanto.org>
2118         * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
2120 2002-05-04  Kim F. Storm  <storm@cua.dk>
2122         * cus-edit.el (custom-buffer-verbose-help): New variable.
2123         (custom-buffer-create-internal): Remove verbose introduction
2124         in customization buffer when it is nil.
2126 2002-05-03  Dave Love  <fx@gnu.org>
2128         * international/mule-cmds.el (select-safe-coding-system):
2129         Don't offer coding systems that use locking shift.
2130         Ask for confirmation if chosen coding system disagrees with
2131         a `coding:' spec in the file.
2133 2002-05-03  John Wiegley  <johnw@gnu.org>
2135         * eshell/esh-var.el (eshell-modify-global-environment): Added this
2136         customization variable, which will cause any "export" commands
2137         within any eshell buffer to modify the global Emacs environment.
2138         It defaults to nil, which means that such commands will only
2139         modify that Eshell buffer's environment.
2140         (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
2142         * eshell/em-cmpl.el (eshell-command-completions-alist):
2143         Improve default completion targets for objdump, nm and readelf.
2145 2002-05-03  Colin Walters  <walters@verbum.org>
2147         * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
2148         (gamegrid-add-score-with-update-game-score):
2149         Use `shared-game-score-directory'.  Correctly handle non-setuid case.
2151 2002-05-02  Colin Walters  <walters@verbum.org>
2153         * replace.el (occur-mode-map): Bind "q" to `delete-window'.
2154         (occur-1): If one of the buffers we're searching is the *Occur*
2155         buffer itself, handle it by creating a temporary buffer.  If any
2156         of the buffers being searched are killed, note that in the search
2157         result message.  Also, set local variables before we possibly kill
2158         the buffer.
2160 2002-05-02  Kim F. Storm  <storm@cua.dk>
2162         * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
2163         (menu-bar-options-save): Added cua-mode.
2164         (menu-bar-options-menu): Added toggle for cua-mode.
2165         Disable toggle for transient-mark-mode if cua-mode is enabled.
2167         * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
2168         variable.
2170 2002-05-01  Richard M. Stallman  <rms@gnu.org>
2172         * help.el (view-todo): New function.
2173         (help-map): Bind C-h C-t to view-todo.
2174         (help-for-help): Change the text.
2176 2002-05-01  Glenn Morris  <gmorris@ast.cam.ac.uk>
2178         * progmodes/f90.el: Yet more doc string, commment and whitespace
2179         changes.
2180         (f90-imenu-flag): New name for internal variable f90-imenu.
2181         (f90-blocks-re, f90-program-block-re, f90-end-if-re)
2182         (f90-no-break-re): Use regexp-opt.
2183         (f90-end-type-re): Add closing "\\>".
2184         (f90-indent-region): Correctly indent comments embedded in
2185         continued lines.
2186         (f90-indent-new-line): Make it indent the current line, as it should.
2187         (f90-line-continued, f90-get-present-comment-type)
2188         (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
2189         (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
2190         (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
2191         (f90-change-keywords): Minor code tidying.
2193         * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
2194         typo `fortran-strip-sqeuence-nos'.
2196 2002-05-01  Eli Zaretskii  <eliz@is.elta.co.il>
2198         * simple.el (clone-indirect-buffer-other-window): Fix a typo in
2199         pop-up-window.
2201 2002-05-01  Kim F. Storm  <storm@cua.dk>
2203         * emulation/cua-base.el (cua--pre-command-handler):
2204         Only interpret delete-selection property if mark-active.
2205         (cua-mode): Fixed require in defcustom.
2207 2002-05-01  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
2209         * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
2210         error call.
2212 2002-05-01  Colin Walters  <walters@verbum.org>
2214         * textmodes/tex-mode.el (tex-validate-buffer):
2215         Use `occur-revert-arguments' instead of setting `occur-nlines' and
2216         `occur-buffer'.  Don't test for `input-pending-p' in loop.
2217         Set text property `occur-target' instead of `occur'.
2219 2002-04-30  John Wiegley  <johnw@gnu.org>
2221         * align.el (align-region): Fixed the fix to align-region, because
2222         the "name" argument was appearing twice.
2224 2002-05-01  Martin Stjernholm  <bug-cc-mode@gnu.org>
2226         * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
2227         to handle protection labels, one which doesn't get confused by
2228         inherit colons.
2230         * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
2231         functions that have "class" or "struct" in the return type as
2232         classes or structs.
2234 2002-04-30  Kim F. Storm  <storm@cua.dk>
2236         * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
2237         Options" to "New Options..."; rephrase tooltip.
2238         Rephrase tooltip for "Specific Option...".
2239         Added "Saved Options" item.  [from Simon Marshall]
2241 2002-04-30  Richard M. Stallman  <rms@gnu.org>
2243         * time.el (display-time-mail-directory)
2244         (display-time-mail-function): Doc fixes.
2246         * ediff-hook.el: Remove autoload cookies.
2248         * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
2250         * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
2252         * align.el (align-region): Fix call to `message'.
2253         Check that (car rule) is a symbol.
2255         * autoinsert.el (auto-insert-directory): Doc fix.
2257         * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
2259         * descr-text.el: New file, broken out of facemenu.el.
2261         * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
2263 2002-04-29  Markus Rost  <rost@math.ohio-state.edu>
2265         * mail/emacsbug.el (report-emacs-bug-hook):
2266         Use replace-match only if search was successful.
2268 2002-04-29  Richard M. Stallman  <rms@gnu.org>
2270         * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
2272         * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
2273         if the user edits the Emacs version number in the text.
2275         * filesets.el (filesets-running-xemacs): Make defvar unconditional.
2276         (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
2277         (filesets-error): Simplify definition and make conditional
2278         on filesets-running-xemacs.
2279         (filesets-find-file-using): Renamed from fsfind-file-using.
2281 2002-04-29  Stefan Monnier  <monnier@cs.yale.edu>
2283         * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
2284         (Info-read-node-name-1): Complete file names.
2285         (Info-complete-menu-item): Don't cons unnecessarily.
2287         * files.el (locate-file): New fun.
2288         (locate-file-completion): Rename from load-completion and generalize.
2289         (load-library): Use it.
2290         (make-auto-save-file-name): Expand caddr.
2292         * newcomment.el (comment-fill-column): New var.
2293         (comment-indent): Use it.
2294         (comment-or-uncomment-region): New fun.
2295         (comment-dwim): Use it.
2297 2002-04-29  Colin Walters  <walters@verbum.org>
2299         * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
2300         (ibuffer-kill-line): Copy the filter group data structure when killing.
2301         (ibuffer-yank): Handle case where we're yanking on the default
2302         group correctly.
2303         (ibuffer-delete-saved-filter-groups): Doc fix.
2305         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2306         Test whether or not update-game-score is setuid, and do the right
2307         thing.
2309 2002-04-29  Kim F. Storm  <storm@cua.dk>
2311         * subr.el (remove-yank-excluded-properties): New helper function.
2312         (insert-for-yank, insert-buffer-substring-as-yank): Use it.
2314         * simple.el (yank-excluded-properties): Added help-echo to list.
2316 2002-04-29  Glenn Morris  <gmorris@ast.cam.ac.uk>
2318         * autoinsert.el (auto-insert-directory): Doc fix.
2320         * progmodes/f90.el: Add/change doc strings for many inline
2321         functions.  Whitespace changes.
2322         (f90-indent-line-no, f90-update-line): Minor code changes.
2324 2002-04-29  Kim F. Storm  <storm@cua.dk>
2326         * emulation/cua-base.el: New file.
2328         * emulation/cua-rect.el: New file.
2330         * emulation/cua-gmrk.el: New file.
2332         * emulation/keypad.el: New file.
2334 2002-04-29  Triet Hoai Lai  <thlai@ee.usyd.edu.au>
2336         * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
2337         (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
2338         New Vietnamese coding system.
2340         * language/viet-util.el: Update Commentary section.
2342 2002-04-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
2344         * filesets.el (filesets-data): Doc fix.
2345         (filesets-running-xemacs): Define even when compiling.
2347         * recentf.el (recentf-cancel-dialog): Remove dot at the end of
2348         sentence.
2350 2002-04-29  Stefan Monnier  <monnier@cs.yale.edu>
2352         * textmodes/fill.el (fill-context-prefix): Fix last change with
2353         yet-another-approach.
2355 2002-04-28  Markus Rost  <rost@math.ohio-state.edu>
2357         * net/ange-ftp.el (ange-ftp-passive-host-alist)
2358         (ange-ftp-bs2000-additional-pubsets):  Fix custom type.
2360         * files.el (small-temporary-file-directory): Fix custom type.
2362 2002-04-28  Glenn Morris  <gmorris@ast.cam.ac.uk>
2364         * progmodes/f90.el (f90-xemacs-flag): New variable.
2365         (f90-mark-subprogram-overlay): New variable.
2366         (f90-mark-subprogram): Now it highlights the subprogram.
2367         (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
2368         Fix highlighting of various "type" forms.
2370 2002-04-28  Colin Walters  <walters@verbum.org>
2372         * ibuffer.el (ibuffer-mode): Additional documentation on filter
2373         groups.
2375 2002-04-28  John Paul Wallington  <jpw@shootybangbang.com>
2377         * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
2378         ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
2380 2002-04-28  Richard M. Stallman  <rms@gnu.org>
2382         * mail/sendmail.el (mail-recover-1): Decrease non-random-len
2383         by 1 for the newly-readded #.
2385         * files.el (make-auto-save-file-name): Specify # as suffix
2386         in the non-file-visiting case.
2388         * subr.el (make-temp-file): New arg SUFFIX.
2390         * filesets.el: New file.
2392         * replace.el (occur-accumulate-lines): Avoid incf and decf.
2393         (occur-engine-add-prefix): New function.
2394         (occur-engine): Avoid using macrolet, incf and decf.
2395         Use occur-engine-add-prefix instead.
2396         Rename `l' to `lines' and `c' to `matches'.
2398         * replace.el (occur-engine, occur-mode-mouse-goto)
2399         (occur-mode-find-occurrence, occur-mode-goto-occurrence)
2400         (occur-mode-goto-occurrence-other-window)
2401         (occur-mode-display-occurrence): A position is just a marker,
2402         not a list.
2404         * replace.el (occur-revert-arguments):
2405         Renamed from occur-revert-properties.  All uses changed.
2407 2002-04-28  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
2409         * recentf.el (recentf-menu-before): Use string to specify path in
2410         the menu.
2412         * international/mule-cmds.el (read-language-name): Take care of
2413         non-list values.
2415 2002-04-27  Richard M. Stallman  <rms@gnu.org>
2417         * custom.el (custom-load-symbol): Moved from cus-edit.el.
2418         (custom-load-recursion): Likewise.
2420         * cus-edit.el (custom-load-symbol): Moved to custom.el.
2421         (custom-load-recursion): Likewise.
2423         * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
2424         generated by easymenu are now lowercase.
2426 2002-04-27  Richard M. Stallman  <rms@gnu.org>
2428         * menu-bar.el (menu-bar-update-buffers): Add menu items
2429         Next Buffer and Previous Buffer.
2431         * simple.el (next-buffer, prev-buffer): New commands.
2432         Bind C-x left and C-x right to them.
2434         * info.el (Info-header-line): Mark it as risky-local-variable.
2436         * subr.el (insert-for-yank): Replace `category' property
2437         with whatever properties it stands for.
2439         * subr.el (member-ignore-case): Ignore non-strings in LIST.
2441 2002-04-27  Miles Bader  <miles@gnu.org>
2443         * faces.el (read-face-name): Format the prompt correctly when
2444         there's no default.
2446 2002-04-26  Andrew Choi  <akochoi@shaw.ca>
2448         * term/mac-win.el: Don't call ediff-toggle-multiframe.
2449         Set default directory.  Set process-connection-type to nil.
2451 2002-04-26  Richard M. Stallman  <rms@gnu.org>
2453         * loadup.el: Explicitly load cus-face and timer.
2455         * isearch.el: Don't require timer.
2457         * faces.el: Don't require cus-face.
2459         * cus-edit.el (customize-face): Use read-face-name
2460         and handle multiple faces.
2461         (customize-face-other-window): Make it work similarly.
2463         * faces.el (read-face-name): New defaulting features.
2464         New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
2465         (list-faces-display): Use the face, not its name string,
2466         as arg when running customize-face.
2467         Put a `read-face-name' prop on the entire line.
2468         (describe-face): Handle multiple faces via read-face-name.
2470         * textmodes/tex-mode.el (tex-start-options): New variable.
2471         (tex-start-commands): New variable.
2472         (tex-start-options-string): Variable deleted.
2473         (tex-start-tex): Use tex-start-options and tex-start-commands,
2474         not tex-start-options-string.
2475         (tex-command): Doc fix.
2477 2002-04-26  Sam Steingold  <sds@gnu.org>
2479         * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
2480         not in the authinfo/netrc, keep `cred' at nil.
2482 2002-04-26  Gerd Moellmann  <gerd@gnu.org>
2484         * find-file.el: Remove Ada-specific example code.
2486 2002-04-25  Michael Kifer  <kifer@cs.stonybrook.edu>
2488         * ediff-hooks.el: Put back the autoloads.
2490 2002-04-25  Colin Walters  <walters@verbum.org>
2492         * ibuffer.el (define column process): Use `ibuffer-aif'.
2494         * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
2495         defaults.
2496         (ibuffer-yank): Be sure to `setq' after we use `nconc'.
2497         (ibuffer-save-filter-groups): Correctly structure filter groups.
2498         (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
2499         groups.
2501 2002-04-25  Simon Josefsson  <jas@extundo.com>
2503         * mail/sendmail.el (mail-use-dsn): New variable to request
2504         delivery status notification from MTA.
2505         (sendmail-send-it): Use it.
2507         * mail/smtpmail.el (smtpmail-queue-counter): New variable.
2508         (smtpmail-send-it): Use it to construct new queue filenames
2509         (needed if you send more than one message per second, which is
2510         possible if you use Gnus Agent).
2512         * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
2513         files as well.
2514         (smtpmail-try-auth-methods): Support netrc data.
2515         (netrc-parse): Autoload netrc.
2517 2002-04-25  Colin Walters  <walters@verbum.org>
2519         * replace.el (multi-occur-by-filename-regexp): Doc fix.
2520         (occur-engine): Go to `point-min'.  Make nlines argument actually
2521         mean number of context lines.  Handle it.  Pad digits to the right.
2523         * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
2524         `ibuffer-filter-groups'.  All users updated.
2525         (ibuffer-show-empty-filter-groups): New variable.
2526         (ibuffer-saved-filter-groups): New variable.
2527         (ibuffer-maybe-save-stuff): Renamed from
2528         `ibuffer-maybe-save-saved-filters'.  Callers updated.
2529         Handle `ibuffer-saved-filter-groups'.
2530         (ibuffer-hidden-filtering-groups): Renamed to
2531         `ibuffer-hidden-filter-groups'.
2532         (ibuffer-filter-group-kill-ring): New variable.
2533         (ibuffer-save-with-custom): Doc fix.
2534         (ibuffer-set-filter-groups-by-mode): New function.
2535         (ibuffer-clear-filter-groups): New function.
2536         (ibuffer-current-filter-groups-with-position): Renamed from
2537         `ibuffer-current-filter-groups'.  Callers updated.
2538         (ibuffer-kill-filter-group): New function.
2539         (ibuffer-kill-line): New function.
2540         (ibuffer-yank): New function.
2541         (ibuffer-save-filter-groups): New function.
2542         (ibuffer-delete-saved-filter-groups): New function.
2543         (ibuffer-switch-to-saved-filter-groups): New function.
2544         (ibuffer-mark-on-buffer): Add optional arguments for adding a
2545         specific mark, and marking on a specific group.
2547         * ibuffer.el (ibuffer-formats): Doc fix.
2548         (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
2549         Bind new functions from ibuf-ext.el.  Add menu entries for them.
2550         Remove superfluous tooltips.
2551         (ibuffer-toggle-marks): If on a group name, then toggle marks just
2552         in that group.
2553         (ibuffer-mark-interactive): Handle filter groups.
2554         (ibuffer-mark-forward, ibuffer-unmark-forward)
2555         (ibuffer-mark-for-delete, ibuffer-unmark-backward)
2556         (ibuffer-mark-for-delete-backwards): Update docs.
2557         (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
2558         to `ibuffer-current-filter-groups-with-position'.
2559         (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
2560         (ibuffer-mode): Add some documentation about filter groups.
2562 2002-04-25  Andreas Schwab  <schwab@suse.de>
2564         * find-dired.el (find-name-dired): Don't quote pattern twice.
2566 2002-04-26  Miles Bader  <miles@gnu.org>
2568         * cus-edit.el (customize-face, customize-face-other-window):
2569         Use default instead of initial-input for suggested face.
2571 2002-04-25  Gerd Moellmann  <gerd@gnu.org>
2573         * cus-edit.el (customize-face-other-window, customize-face):
2574         Interactively, when point is on text with a face, suggest to
2575         customize that face.
2577 2002-04-25  Glenn Morris  <gmorris@ast.cam.ac.uk>
2579         * progmodes/f90.el: General tidy-up of commentary and some doc
2580         strings.
2582 2002-04-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
2584         * scroll-all.el (scroll-all-function-all) New function to do the
2585         actual work.
2586         (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
2587         scroll-all-page-down-all, scroll-all-page-up-all,
2588         scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
2589         Make them use scroll-all-function-all.
2591         * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
2592         with line-beginning-position.
2593         (f90-get-end-of-line): Removed and replaced with line-end-position.
2594         (f90-match-piece): Removed and replaced with match-string.
2595         (f90-current-indentation): Remove `current-column'.
2596         (f90-get-present-comment-type): Use match-string rather than
2597         buffer-substring.
2598         (f90-match-end): Use line-beginning-position, line-end-position
2599         rather than beginning-of-line, end-of-line.
2600         (f90-startup-message): Variable removed.
2602 2002-04-24  Colin Walters  <walters@verbum.org>
2604         * replace.el (occur-accumulate-lines): Add optional argument
2605         `no-props'.  Handle it.
2606         (occur-engine): Use it.
2608         * ibuf-ext.el (toplevel): Remove byte-compile-dynamic.  Try to set
2609         up autoloads manually.
2610         (ibuffer-split-list): New function.
2611         (ibuffer-filtering-groups): New variable.
2612         (ibuffer-hidden-filtering-groups): New variable.
2613         (ibuffer-mouse-toggle-filter-group): New function.
2614         (ibuffer-toggle-filter-group): New function.
2615         (ibuffer-toggle-filter-group-1): New function.
2616         (ibuffer-forward-filter-group): New function.
2617         (ibuffer-backward-filter-group): New funtion.
2618         (ibuffer-generate-filter-groups): New function.
2619         (ibuffer-filters-to-filter-group): New function.
2620         (ibuffer-pop-filter-group): New function.
2621         (ibuffer-jump-to-filter-group): New function.
2622         (ibuffer-do-occur): Just use `occur-read-primary-args'
2624         * ibuffer.el (ibuffer-filter-group-name-face): New.
2625         (ibuffer-mode-map): Bind and add menu entries for most new
2626         functions; also, bind the arrow keys to the movement functions.
2627         (ibuffer-mode-filter-group-map): New.
2628         (ibuffer-mouse-toggle-mark): Handle group names.
2629         (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
2630         (ibuffer-skip-properties): New function.
2631         (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
2632         group names.  Also, handle new properties.
2633         (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
2634         Move error handling to `ibuffer-current-buffer'.
2635         (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
2636         (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
2637         (ibuffer-toggle-marks): Add optional group argument.
2638         (ibuffer-mark-interactive): Skip group names.
2639         (ibuffer-current-buffer): Clean up error handling.
2640         (ibuffer-fontify-region-function): Fontify group names.
2641         (ibuffer-map-lines): Add extra group argument.  Handle it.
2642         (ibuffer-current-filter-groups): New function.
2643         (ibuffer-redisplay): Handle hidden filtering groups.
2644         (ibuffer-sort-bufferlist): New function, taken from
2645         `ibuffer-insert-buffers-and-marks'.
2646         (ibuffer-insert-filter-group): New function.
2647         (ibuffer-redisplay-engine): Renamed from
2648         `ibuffer-insert-buffers-and-marks'.  Handle new filtering groups.
2649         (ibuffer): Add filter-groups argument.  Handle it.
2650         Use `save-selected-window'.
2651         (ibuffer-mode): Make `ibuffer-filtering-groups' and
2652         `ibuffer-hidden-filtering-groups' buffer-local.
2654         * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
2656 2002-04-24  Richard M. Stallman  <rms@gnu.org>
2658         * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
2659         (easy-menu-define-key-intern): Function deleted; callers intern
2660         and then call easy-menu-define-key.
2661         (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
2662         (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
2663         (easy-menu-name-match): New function.
2664         (add-submenu): New function.
2665         (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
2667 2002-04-24  Eli Zaretskii  <eliz@is.elta.co.il>
2669         * menu-bar.el (menu-bar-adv-search-menu)
2670         (menu-bar-adv-search-menu): Improve the help text.
2672 2002-04-24  Simon Josefsson  <jas@extundo.com>
2674         * net/netrc.el: New file.
2676 2002-04-24  Thomas DeWeese <tdeweese@rochester.rr.com>
2678         * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
2679         Check if any of the available selection sources has new content
2680         and if so it will return that content.
2682 2002-04-24  Miles Bader  <miles@gnu.org>
2684         * menu-bar.el (buffers-menu-show-directories)
2685         (buffers-menu-show-status): New variables.
2686         (menu-bar-update-buffers-1): Use them.
2688 2002-04-24  Martin Stjernholm  <mast@lysator.liu.se>
2690         * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
2691         from `c-do-auto-fill' and point is at or near the limit of the
2692         comment.  Fixed bug when the prefix from `c-guess-fill-prefix'
2693         is longer than the text on the first line of the comment when
2694         it's masked.
2696 2002-04-24  Miles Bader  <miles@gnu.org>
2698         * menu-bar.el (menu-bar-update-buffers-1): Make sure
2699         `uniquify-buffer-name-style' is bound.
2701 2002-04-23  Colin Walters  <walters@verbum.org>
2703         * replace.el (toplevel): Require `cl' while compiling.
2704         (occur-buffer, occur-nlines): Delete.
2705         (occur-revert-properties): Rename to `occur-revert-properties'.
2706         (occur-mode): Handle it.  Set up font lock.
2707         (occur-revert-function): Simply apply `occur-1'.
2708         (occur-mode-find-occurence, occur-mode-mouse-goto)
2709         (occur-mode-goto-occurrence-other-window)
2710         (occur-mode-display-occurrence): Handle buffer property.
2711         (list-matching-lines-face): Use defcustom.
2712         (list-matching-lines-buffer-name-face): New variable.
2713         (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
2714         in ibuffer.el.
2715         (occur-read-primary-args): Move out of `occur'.
2716         (occur): Delete.  Now simply call `occur-1'.
2717         (multi-occur, multi-occur-by-filename-regexp): New functions.
2718         (occur-1): New function.
2719         (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
2720         previous implementation of `occur'; taken from ibuf-ext.el.
2721         (occur-fontify-on-property): New function.
2722         (occur-fontify-region-function, occur-unfontify-region-function):
2723         New functions.
2725         * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
2727         * ibuf-ext.el (ibuffer-depropertize-string): Delete.
2728         (ibuffer-occur-match-face): Delete.
2729         (ibuffer-occur-props, ibuffer-occur-mode): Delete.
2730         (ibuffer-occur-mouse-display-occurence): Delete.
2731         (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
2732         (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
2733         (ibuffer-occur-engine): Moved to replace.el.
2734         (ibuffer-do-occur): Simply call `occur-1'.
2736         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2737         Handle the case where we're already viewing the score file.
2739 2002-04-23  Andreas Schwab  <schwab@suse.de>
2741         * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
2742         next-tag-otherw.
2744 2002-04-23  Miles Bader  <miles@gnu.org>
2746         * menu-bar.el (menu-bar-update-buffers-1): Don't display a
2747         directory separator if there's no directory.  Don't display
2748         directories at all if uniquify is active.  Some code cleanup.
2749         (uniquify-buffer-name-style): Declare (but don't initialize).
2751         * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
2752         for command menu entries, since the low-level menu code modifies
2753         them.  Cache the resulting list.
2754         (menu-bar-buffers-menu-command-entries): New variable.
2756         * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
2757         Add separator line before commands
2758         Remove old crufty code that tried to line things up by adding
2759         spaces to entries (it doesn't work).
2760         Move `Frames' submenu after the normal buffers, and add a
2761         separator line before it.
2762         (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
2764 2002-04-22  Richard M. Stallman  <rms@gnu.org>
2766         * files.el (after-find-file): Use %s to output MSG.
2768         * dired.el (dired-mouse-find-file-other-window):
2769         Handle events that move out of the window.
2771 2002-04-23  Martin Stjernholm  <mast@lysator.liu.se>
2773         * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
2774         was moved to the following line when it was at the first line
2775         of a block comment where comment-start-skip matched to eol.
2777 2002-04-22  Richard M. Stallman  <rms@gnu.org>
2779         * simple.el (line-move-finish): Find beg and end of line
2780         before calling line-move-to-column.  Do consider intangible
2781         when finding the end.  Take more care in analyzing the results
2782         of intangibility after line-move-to-column.
2784 2002-04-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
2786         * international/mule-diag.el (list-input-methods-1): Doc fix
2787         (LEIM is now part of the standard distribution).
2789         * tmm.el (tmm-completion-prompt): Doc fix.
2791         * hilit-chg.el (global-highlight-changes): Capitalize status texts.
2793 2002-04-22  Edward M. Reingold  <reingold@emr.cs.iit.edu>
2795         * diary-lib.el (include-other-diary-files): Allow modifying
2796         included buffer, to turn off selective display.
2798 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2800         * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
2801         pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
2802         emacsen that doesn't support it.
2804 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2806         * progmodes/cc-align.el, progmodes/cc-engine.el,
2807         progmodes/cc-styles.el, progmodes/cc-vars.el
2808         (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
2809         Find correct anchor for statement-cont in top level constructs.
2810         Analyze variable initializations in top level constructs as
2811         topmost-intro-cont instead of statement-cont.  That is an
2812         incompatible change but it gives better consistency.  The new
2813         lineup function c-lineup-topmost-intro-cont' compensates for
2814         it and is now put on topmost-intro-cont by default.
2816         * progmodes/cc-align.el, progmodes/cc-engine.el,
2817         progmodes/cc-langs.el (c-lineup-argcont): Lineup function
2818         contributed by Kevin Ryde.
2820         (c-in-gcc-asm-p): Function to recognize asm statements.
2821         Contributed by Kevin Ryde.
2823         (c-opt-asm-stmt-key): New language variable to recognize the
2824         beginning of asm statements.
2826 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2828         * progmodes/cc-engine.el (c-guess-basic-syntax):
2829         Detect variable declarations after class and struct declarations
2830         correctly.  Fixed limit error when finding the anchor for
2831         template-args-cont and topmost-intro-cont.
2833 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2835         * progmodes/cc-cmds.el (c-beginning-of-defun)
2836         (c-declaration-limits): Find the "line oriented" declaration
2837         start too, just like the "line oriented" end is found.
2839 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2841         * progmodes/cc-vars.el (c-offsets-alist): A more sane default
2842         for `inexpr-statement'.  This is not compatible, though.
2843         I think the benefit of a good default style outweights that in
2844         this case.  Besides, `inexpr-statement' is not very common.
2846 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2848         * progmodes/cc-cmds.el (c-electric-delete-forward):
2849         Fix silly bug that caused it to delete backwards in hungry delete
2850         mode.  (It's amazing that this bug hasn't been reported.)
2852         * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
2853         Extracted the code to get the declaration limits from
2854         `c-mark-function' to a new `c-declaration-limits'.
2856         (c-indent-defun): Use the same method to get the limits of the
2857         declaration or macro as `c-mark-function'.
2859         * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
2860         list initializers correctly (but costly; it ought to be
2861         integrated into `c-beginning-of-statement-1').
2863 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2865         * progmodes/cc-cmds.el, progmodes/cc-engine.el
2866         (c-beginning-of-defun, c-end-of-defun, c-mark-function):
2867         Rewritten to detect the declaration limits better.
2868         Now handles K&R argdecls, class definitions followed by variables etc.
2870         (c-in-knr-argdecl): Broke out the K&R argdecl test in
2871         `c-beginning-of-decl-1' to this new function.
2873         (c-end-of-statement-1, c-end-of-decl-1):
2874         Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
2875         handles declarations that continue after the block.
2877         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
2878         Added an option to restrict matching to the top level of the
2879         current paren sexp.
2881         * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
2882         New regexp to recognize declarations that continue after the block.
2884         (c-syntactic-eol): New regexp to match a "syntactic" eol.
2886 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2888         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
2889         that often caused the backward limit to be lost at the top
2890         level.  This improves performance a bit.
2892         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
2893         New function that works like `re-search-forward' but only returns
2894         matches in syntactically significant text.
2896         * progmodes/cc-engine.el: Fixed a faster and more accurate way
2897         to recognize K&R argdecls.
2899         (c-beginning-of-decl-1): New function that put point at the
2900         beginning of the declaration.  It handles K&R argdecl blocks.
2902         (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
2903         code with one that doesn't depend on the current indentation.
2904         The anchor position for `knr-argdecl' has also changed, but in
2905         a way that is unlikely to cause compatibility problems.
2907 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2909         * progmodes/cc-defs.el, progmodes/cc-engine.el
2910         (c-forward-comment): `forward-comment' in XEmacs skips over
2911         line continuations in the backward direction.  Correct for
2912         that.  Also made this a defun since it has grown too large now
2913         to be a defsubst.
2915         * progmodes/cc-langs.el: More convenient and decentralized
2916         setup of the language specific variables.  The regexp-opt
2917         mangling is also done at compile time now.
2919 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2921         * progmodes/cc-cmds.el (c-indent-line-or-region):
2922         Call `c-indent-line' directly instead of through
2923         `indent-according-to-mode' so that this function always
2924         indents syntactically.
2926         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
2927         where a class beginning with a nested class could cause an
2928         infinite loop (the state outside the narrowed out class is
2929         never used now).
2931 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2933         * progmodes/cc-align.el, progmodes/cc-cmds.el,
2934         progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
2935         the context sensitive analysis inside macros is restricted to
2936         the bodies of #define's; other things, like #if expressions,
2937         never have anything in common with their surroundings.
2938         The old `cpp-macro-cont' syntax is now used in situations where
2939         the syntactic analysis isn't applicable, and a new syntactic
2940         element `cpp-define-intro' is used to add indentation in
2941         #define bodies.
2943         (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
2944         better reflect its use.
2946         * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
2947         continuation backslashes in the detection of `arglist-cont-nonempty'.
2949         * progmodes/cc-align.el: Use the vector form in the return
2950         value in all cases where lineup functions return absolute columns.
2952 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2954         * progmodes/cc-engine.el (c-add-stmt-syntax)
2955         (c-guess-basic-syntax): Anchor `brace-list-intro' and
2956         `bracec-list-close' better for brace lists nested inside expressions.
2958         * progmodes/cc-engine.el, progmodes/cc-langs.el,
2959         progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
2960         various language specific variables and their initialization.
2961         The keyword regexps are now lists that are combined with
2962         regexp-opt.  Some variables have changed names to fit better
2963         with the naming convention.
2965         * progmodes/cc-defs.el, progmodes/cc-vars.el
2966         (c-buffer-is-cc-mode): The value is the mode symbol of the
2967         original CC Mode mode.
2969         (c-major-mode-is): Compare against the buffer local variable
2970         `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
2972 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2974         * progmodes/cc-engine.el (c-forward-syntactic-ws)
2975         (c-backward-syntactic-ws, c-forward-token-1)
2976         (c-backward-token-1, c-in-literal, c-literal-limits)
2977         (c-collect-line-comments, c-literal-type, c-on-identifier)
2978         (c-guess-basic-syntax): These functions are now considered part
2979         of the "CC Mode API" and may be used by other code.
2980         That's signified by making their documentation into docstrings.
2982         (c-whack-state, c-hack-state, c-skip-case-statement-forward):
2983         Removed these internal functions since they aren't used.
2985         (c-forward-to-cpp-expression): Classified this function as internal.
2987 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2989         * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
2990         Simplified these regexps; the class keywords they contain
2991         ought to be enough to avoid false matches, so checking for
2992         following identifiers etc is just unnecessary (and might also
2993         fail for oddly formatted code).
2995 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
2997         * progmodes/cc-engine.el, progmodes/cc-cmds.el
2998         (c-forward-comment-lc): New function that behaves like
2999         `c-forward-comment', with the exception that line
3000         continuations are treated as whitespace.
3002         (c-beginning-of-statement): Use `c-forward-comment-lc', to
3003         work correctly in macros and other places where line
3004         continuations should be treated as whitespace.
3006         * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
3007         normal label in a switch block as a case label, to get
3008         consistent lineup with the case labels.
3010         * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
3011         in skipping over a macro that ends with an empty line.
3013         * progmodes/cc-styles.el: Require cc-align since styles added
3014         with `c-add-style' often contains references to functions
3015         defined there, and so the `c-valid-offset' check might
3016         otherwise complain on them.
3018 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3020         * progmodes/cc-align.el, progmodes/cc-mode.texi,
3021         progmodes/cc-vars.el: Added two new lineup functions:
3023         (c-lineup-knr-region-comment): A new lineup function to get
3024         (what most people think is) better indentation of comments in
3025         the "K&R region" between the function header and its body.
3027         (c-lineup-gcc-asm-reg): New lineup function for better
3028         indentation inside gcc asm blocks.  Contributed by Kevin Ryde.
3030         (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
3031         `c-lineup-knr-region-comment' in the default offset
3032         configuration, since these two functions have little impact
3033         outside their intended use, and they generally do the right
3034         thing when they kick in.
3036         * progmodes/cc-engine.el (c-guess-continued-construct)
3037         (c-guess-basic-syntax): Handle nested functions in all
3038         languages, not just Pike.  In C and C++ there's a gcc
3039         extension for this, and it also gives better treatment of
3040         macros that are followed by blocks.
3042         * progmodes/cc-langs.el (c-symbol-key): Made this variable
3043         mode specific, to handle Pike special symbols like `== better.
3045 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3047         * progmodes/cc-cmds.el, progmodes/cc-engine.el,
3048         progmodes/cc-vars.el (c-report-syntactic-errors): A new
3049         variable to control the syntactic error messages.  It defaults
3050         to off; since CC Mode ignores most syntactic errors it might
3051         as well ignore them all for the sake of consistency.
3053 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3055         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
3056         Optimization.  Can give a noticeable speedup if there's a
3057         large preceding function or class body.
3059 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3061         * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
3062         efficient and correct insertion functions in many places.
3063         Always inherit text properties correctly if the text is
3064         permanent.  Also do it for speed in temporary insertions,
3065         since I figure it's less work to continue the surrounding text
3066         properties than to break them.
3068         * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
3069         completion to make it easier to enter lists.
3071 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3073         * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
3074         c-state-cache was clobbered.
3076         * progmodes/cc-cmds.el, progmodes/cc-engine.el
3077         (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
3078         to dependency.
3080 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3082         * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
3083         open parens in macros (if point isn't in the same one).
3085 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3087         * progmodes/cc-cmds.el (c-context-open-line): New function
3088         that is the `open-line' equivalent to `c-context-line-break'.
3090         * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
3091         for Emacs 21 since `indent-new-comment-line' has been changed
3092         to `comment-indent-new-line' there.
3094 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3096         * progmodes/cc-engine.el, progmodes/cc-langs.el
3097         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
3098         New variables containing the character sets used to recognize
3099         statement/declaration boundaries.  These variables might help
3100         to support languages like javascript and awk, where newlines
3101         sometimes delimits statements.
3103         (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
3104         the set of statement delimiting characters, to allow it to be
3105         changed dynamically and per-mode.
3107 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3109         * progmodes/cc-engine.el (c-looking-at-bos)
3110         (c-looking-at-inexpr-block, c-add-stmt-syntax)
3111         (c-guess-basic-syntax): Treat blocks directly inside function
3112         calls like "bare" statements inside function calls, and not
3113         like in-expression statements.  This to make indentation of
3114         such blocks consistent with other statements inside macro calls.
3116         * progmodes/cc-engine.el (c-guess-basic-syntax):
3117         Made arglist-cont anchor correctly in arglists that contain statements.
3119         * progmodes/cc-engine.el (c-guess-basic-syntax):
3120         Fixed consistent anchoring of defun-block-intro in defuns in code
3121         blocks (can only occur in Pike).
3123         * progmodes/cc-engine.el (c-looking-at-inexpr-block)
3124         (c-looking-at-inexpr-block-backward): Changed the arguments to
3125         require containing sexps and paren state, for better efficiency.
3127 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3129         * progmodes/cc-cmds.el, progmodes/cc-engine.el,
3130         progmodes/cc-vars.el: Improved anchoring of statement and
3131         handling of labels in front of substatements.
3133         (c-guess-continued-construct, c-guess-basic-syntax):
3134         Improved and unified anchoring at statements.  Statements beginning
3135         with comments or labels are now avoided, by going out of
3136         blocks and containing statements if necessary.  This nesting
3137         handling also fixes the case when there's a statement after a
3138         block open brace.  Added the syntactic symbol `substatement-label'.
3140         (c-electric-colon): Map the new `substatement-label' to
3141         `label' when consulting `c-hanging-colons-alist'.
3143         (c-offsets-alist): Added substatement-label.  Updated the
3144         comments for the new anchoring positions at statements.
3146         * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
3147         anchor points for knr-argdecl-intro and access-label.
3148         They used to refer to some point on the same line, a bug which was
3149         neutralized by a kludge in `c-get-syntactic-indentation' which
3150         ignored such anchor points.
3152         (c-get-syntactic-indentation): Removed the kludge that was
3153         necessary due to buggy anchor points.
3155         * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
3156         the absence of a comma before arglist-close (case 7A) in any
3157         language, since there's nothing better to do that case anyway.
3158         Added special case to make in-expression statements be
3159         recognized as normal arglist-cont if we're directly in a macro
3160         arglist, for consistency with other "bare" statements.
3162         * progmodes/cc-engine.el (c-looking-at-bos): Added optional
3163         limit arg for backward searches.
3165         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
3166         Anchor gcc in-expression statements at the surrounding open
3167         parenthesis.  Treat a class body as an in-expression class if
3168         it's used in an object clone expression in Pike.
3170         * progmodes/cc-engine.el (c-get-offset)
3171         (c-get-syntactic-indentation): Allow several anchor positions
3172         in the list of syntactic symbols.  Only the first is used as
3173         the base for the offset calculation.
3175 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3177         * progmodes/cc-cmds.el (c-indent-defun): Indent the current
3178         macro if inside one at the top level.  Do not throw an error
3179         if used at the top level outside a macro.
3181         * progmodes/cc-cmds.el (c-backslash-region): Do tab width
3182         alignment only if the backslashes can't be aligned with
3183         surrounding backslashes.
3185         * progmodes/cc-engine.el (c-end-of-macro): New function.
3187         * progmodes/cc-engine.el (c-least-enclosing-brace):
3188         Rewritten to not be destructive.
3190 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3192         * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
3193         line break when point is inside the content of it; if it's in
3194         the cpp keyword a normal line break is done.
3196         * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
3197         cpp-macro-cont inside the argument list to a #define.
3199 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3201         * progmodes/cc-defs.el (c-forward-comment): Implemented a
3202         kludge to avoid the problem most forward-comment incarnations
3203         have with `\' together with comment parsing.
3205 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3207         * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
3208         which could cause the state returned by `c-parse-state' to
3209         lack a closed paren element.  That in turn could result in
3210         very long searches, since it's common that they start from the
3211         last preceding close brace.
3213 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3215         * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
3216         treat else-if as a single continuation, since that'd make it
3217         hard to get the right anchor point when there's a line break
3218         between the two keywords.  This change causes else-clause to
3219         be anchored on the closest preceding else-if and not always on
3220         the starting if, but that doesn't affect the indentation for
3221         any reasonably sane style.  Also introduced a noerror flag.
3223         (c-beginning-of-closest-statement): Removed;
3224         c-beginning-of-statement-1 now avoids the problem this one solved.
3226         * progmodes/cc-engine.el (c-guess-continued-construct)
3227         (c-guess-basic-syntax): Better and more uniform anchor points
3228         for 'statement-cont and 'substatement.  The effect is
3229         noticeable mostly when there's a label on the same line as the
3230         beginning of the statement, or when there are more stuff
3231         before the start of the statement.
3233         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
3234         Added flag to disable looking at the type of the surrounding paren
3235         since that confuses c-beginning-of-statement-1 and a couple of
3236         other places.
3238         * progmodes/cc-engine.el (c-guess-basic-syntax):
3239         Avoid stepping to the previous statement in case 18.
3240         Improvements in recognition of statement blocks on the top level.
3242 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3244         * progmodes/cc-engine.el (c-beginning-of-statement-1)
3245         (c-crosses-statement-barrier-p): Rewritten to get a well
3246         defined and documented behavior.  This fixes some tricky cases
3247         in recognition of do-while constructs.
3249         (c-backward-to-start-of-do, c-backward-to-start-of-if):
3250         Removed; use c-beginning-of-statement-1 instead.
3252         (c-guess-continued-construct, c-guess-basic-syntax):
3253         Various fixes to not depend on the bugs previously in
3254         c-beginning-of-statement-1.  Cleanups in cases 18 and 17 to
3255         use the new behavior of c-beginning-of-statement-1 better.
3256         Fixed recognition of catch blocks inside macros.
3258         * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
3259         in skipping over a macro.
3261         * progmodes/cc-langs.el (c-label-kwds): New variable to
3262         contain the appropriate c-*-label-kwds value.
3264         * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
3265         evaluation bug that caused the widget for
3266         c-block-comment-prefix to bug out.
3268 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3270         * progmodes/cc-engine.el (c-guess-basic-syntax):
3271         Improved recognition of statements: They are now recognized in
3272         contexts where they normally can't occur, e.g. on the top level or
3273         in function call arguments.  This is mainly useful to recognize
3274         statements in macros at the top level, and in arguments to
3275         macros.  The cases has been moved around quite a bit, and case
3276         10 has been copied to case 18.  (The cases has not been
3277         renumbered because of this.)
3279         (c-guess-continued-construct): New function which has the
3280         rules which are common between cases 10 and 18.
3282         * progmodes/cc-engine.el (c-beginning-of-statement-1)
3283         (c-backward-to-start-of-do, c-backward-to-start-of-if):
3284         Fixes so that they really obey the passed limits.
3286         (c-safe-position): Return nil if the state doesn't contain a
3287         suitable position.
3289         (c-guess-basic-syntax): Fixes some too short limits in calls
3290         to c-beginning-of-statement-1.  Some fixes for top level
3291         analysis in ObjC mode.
3293         * progmodes/cc-engine.el (c-beginning-of-statement-1):
3294         Fixed bug in do-while statements where the body is not a block.
3296         * progmodes/cc-styles.el (c-set-style):
3297         Reset c-special-indent-hook to its global value if in override mode.
3298         Fixes problem where functions on that hook remained after
3299         style switch.
3301         * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
3302         Use c-benign-error to report the c-strict-syntax-p error.
3304 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3306         * progmodes/cc-align.el, progmodes/cc-defs.el,
3307         progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
3308         Several fixes to treat macros as code and not literals and to
3309         handle line continuations transparently.
3311         (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
3312         through whitespace and line continuations, but not comments
3313         and macros.
3315         (c-in-literal): No longer recognizes macros as literals by
3316         default. An extra flag argument is required to do that.
3318         (c-macro-start, c-query-macro-start)
3319         (c-query-and-set-macro-start): Added a cache for the macro
3320         start position.
3322         (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
3323         more speed when limits are given.  Workaround for bad behavior
3324         in forward-comment in some emacsen when it hits a buffer limit
3325         with a large repeat count.
3327         (c-lineup-macro-cont): Improved behavior when
3328         c-syntactic-indentation-in-macros is nil.
3330         (c-syntactic-indentation-in-macros, c-backslash-max-column)
3331         (c-auto-align-backslashes): New customization variables to
3332         control macro handling.
3334         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
3335         Fixes to handle line continuations.
3337         * progmodes/cc-defs.el, progmodes/cc-styles.el
3338         (c-get-style-variables, c-set-offset): Report style errors
3339         with message and ding instead of error signal.  This to avoid
3340         interrupted mode init if there's some style problem.
3342         (c-benign-error): New macro to report errors that doesn't need
3343         to interrupt the operation.
3345         * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
3347 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3349         * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
3350         Removed most of the c-state-cache fiddling, since the global
3351         state cache now handles this.
3353         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
3354         when there's an open paren at the very first char of the
3355         visible buffer region.
3357         * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
3358         Cache the state globally and invalidate it below every buffer
3359         change with the new after change function
3360         `c-check-state-cache'.  This gives a considerable performance
3361         boost when editing large functions or classes.
3363         * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
3365 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3367         * progmodes/cc-engine.el, progmodes/cc-langs.el,
3368         progmodes/cc-align.el: Improvements to syntactic analysis
3369         inside macros:
3371         (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
3372         by `c-guess-basic-syntax'.
3374         (c-parse-state): Fixed bug with braces inside macros when
3375         using cached state info.
3377         (c-forward-to-cpp-expression): New function to aid in
3378         syntactic analysis inside macros.
3380         (c-beginning-of-statement-1, c-backward-syntactic-ws):
3381         Fixes to work better inside macros.
3383         (c-forward-syntactic-ws): Whitespace between the # and the
3384         command should be allowed in preprocessor directives.
3386         (c-lineup-macro-cont): New lineup function to get context
3387         sensitive indentation inside macros.
3389         (c-offsets-alist): Made `c-lineup-macro-cont' the default for
3390         cpp-macro-cont.
3392 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3394         * progmodes/cc-engine.el (c-beginning-of-statement-1)
3395         (c-forward-syntactic-ws): Fixes to handle continued lines.
3397         (c-backward-to-start-of-if, c-guess-basic-syntax):
3398         Do syntactic analysis inside macros.
3400 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3402         * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
3403         possible by the more flexible state cache.
3405         * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
3406         (c-whack-state-after, c-hack-state)
3407         (c-narrow-out-enclosing-class, c-guess-basic-syntax):
3408         Improved the state cache system.  It now can use partial info from
3409         an old cached state to calculate a new one at a different
3410         position.  Removed some kludges to avoid the state cache.
3411         The new functions `c-whack-state-before' and `c-whack-state-after'
3412         replace the now obsolete `c-whack-state'.
3414         * progmodes/cc-engine.el (c-beginning-of-statement-1):
3415         Optimized backing through a macro.  This can speed things up
3416         quite a bit when there are long macros before point.
3418         (c-beginning-of-macro): Do not ignore the limit.
3420 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3422         * progmodes/cc-cmds.el (c-electric-continued-statement):
3423         Fixed a bug where the keyword wasn't reindented correctly if
3424         followed by another keyword or identifier.
3426         * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
3427         pairs that are in macros.  Fixes some cases where e.g. the
3428         second of two "do { } while (0)" macros after each other
3429         indented differently.
3431 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3433         * progmodes/cc-engine.el (c-beginning-of-macro)
3434         (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
3435         directive when it begins a line, to allow for script
3436         interpreter lines like "#!/usr/bin/pike" at the beginning of
3437         the file.
3439 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3441         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
3442         Recognize brace blocks inside a parenthesis expression as
3443         inexpr-statement.  Useful when writing statements as macro arguments.
3445 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3447         * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
3448         (c-mask-comment): Broke out the comment masking code from
3449         `c-fill-paragraph' to a new function `c-mask-comment', to be
3450         able to do the same thing in `c-do-auto-fill'.  This should
3451         make auto-fill-mode behave better.
3453 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3455         * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
3456         Check `executing-macro' to avoid blinking parens when macros
3457         are executed.
3459         * progmodes/cc-mode.el, progmodes/cc-styles.el
3460         (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
3461         consistency with `c-setup-paragraph-variables' (which was
3462         placed there due to the dependency from `c-set-style').
3464         * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
3465         incomplete initialization from the style variable fallbacks if
3466         there already is a style called "user" defined when CC Mode
3467         starts up for the first time.
3469 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3471         * progmodes/cc-cmds.el, progmodes/cc-vars.el
3472         (c-comment-indent, c-indent-comment-alist): Added new variable
3473         `c-indent-comment-alist' to allow better control over
3474         `c-comment-indent'.
3476 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3478         * progmodes/cc-align.el (c-lineup-C-comments): Try to match
3479         both `comment-start-skip' and the comment prefix on the
3480         current line with the comment starter, so that we line up
3481         comments which matches `c-comment-prefix-regexp' on the first
3482         line (after the `/') without the need to make
3483         `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
3485         * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
3486         (c-set-style-1, c-setup-paragraph-variables): Moved the
3487         variable initialization based on `c-comment-prefix-regexp' to
3488         a new function `c-setup-paragraph-variables', which is now
3489         used both at mode init and when a style that sets
3490         `c-comment-prefix-regexp' is activated.
3492 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3494         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
3495         Better handling of C++ template args to avoid confusion with
3496         `<' and `>' used as operators in member init expressions.
3498 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3500         * progmodes/cc-engine.el (c-most-enclosing-brace)
3501         (c-least-enclosing-brace): Added optional second arg to limit
3502         the search to before a certain point.
3504         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
3505         which could cause incorrect analysis if a cached state is used
3506         (usually only happens when an electric key reindents a line).
3508 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3510         * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
3511         insulation.  This time for XEmacs 21.
3513         * progmodes/cc-engine.el, progmodes/cc-langs.el:
3514         Improved handling of inheritance lists:
3516         (c-beginning-of-inheritance-list): Rewritten to use a more
3517         syntactically correct method that doesn't get confused by
3518         badly placed linebreaks and comments.
3520         (c-guess-basic-syntax): Several fixes to the handling of
3521         inheritance lists in combination with templates.  'inher-intro
3522         is now anchored on the start of the class declaration and not
3523         the indentation of the current line.  Switched places on cases
3524         5D.3 and 5D.4 and made them use more syntactically correct methods.
3526         (c-inher-key): Removed since the code in
3527         `c-guess-basic-syntax' now uses token-based search.
3529         * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
3530         Added a submenu to access some toggles.
3532         (c-toggle-syntactic-indentation): New function to toggle the
3533         variable `c-syntactic-indentation'.
3535         * progmodes/cc-styles.el (c-set-style): Improved the error
3536         message for incorrect offsets a bit.
3538 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3540         * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
3541         sexp follows point immediately, instead find the closest
3542         following open paren that ends on another line.
3544 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3546         * progmodes/cc-align.el (c-lineup-cascaded-calls):
3547         New indentation function.
3549         * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
3550         directives with whitespace between the '#' and the name.
3552 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3554         * progmodes/cc-engine.el (c-forward-syntactic-ws)
3555         (c-backward-syntactic-ws): Handle line continuations as
3556         whitespace.  Don't move past a macro if that'd take us past
3557         the limit.
3559 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3561         * progmodes/cc-engine.el (c-beginning-of-macro)
3562         (c-forward-syntactic-ws): Multiline strings begin with `#"' in
3563         Pike, and that shouldn't be confused with a preprocessor directive.
3565 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3567         * progmodes/cc-cmds.el: Extended the kludge to interoperate
3568         with the delsel and pending-del packages wrt to the new
3569         function `c-electric-delete-forward'.
3571 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3573         * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
3574         the block itself, i.e. only indent the contents in it.
3576         * progmodes/cc-styles.el (c-set-style): Use the default
3577         argument to completing-read instead of initial-contents, if
3578         the function is recent enough to support it.
3580 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3582         * progmodes/cc-mode.el (c-mode-help-address):
3583         Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
3584         I've almost never seen a bug reported this way that should go
3585         to that list, but it's rather common that the reports concern
3586         the combination CC Mode and XEmacs instead.
3588 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3590         * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
3591         brace-elseif-brace and brace-catch-brace are active and
3592         there's a "else if"-block before the catch block.
3594         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
3595         Detect function headers that span lines.
3597 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3599         * progmodes/cc-cmds.el (c-electric-brace)
3600         (c-electric-semi&comma, c-electric-colon, c-electric-paren):
3601         Check for last on line only for doing the auto-newline-mode
3602         stuff, not for the reindentation.
3604         * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
3605         handling of c-syntactic-indentation: When it's nil, indent the
3606         new lines but don't reindent the current one.  Reindent the
3607         line only when the inserted brace comes first on it, instead
3608         of last.
3610         * progmodes/cc-cmds.el (c-electric-brace)
3611         (c-electric-semi&comma): Fixed two places where
3612         c-syntactic-indentation wasn't heeded.
3614         * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
3615         inside a macro.
3617         * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
3618         little harder to find a fallback position when an orphan else
3619         is found.  Fixed case where an else following a do-while
3620         statement could be associated with an if inside the do-while.
3622 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3624         * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
3625         for the fallback to add a single space after the comment prefix.
3627         * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
3628         behavior in some special cases, especially for single-line comments.
3629         Avoid breaking up a comment starter or ender.
3631 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3633         * progmodes/cc-cmds.el (c-outline-level): Applied patch from
3634         the Emacs sources to make this work in invisible text.
3636         * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
3637         not be confused by a later ':' on the same line as the label.
3639 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3641         * progmodes/cc-cmds.el, progmodes/cc-mode.el
3642         (c-electric-delete, c-electric-delete-forward):
3643         Split `c-electric-delete' into two functions where
3644         `c-electric-delete-forward' always deletes forward and
3645         `c-electric-delete' only contains the code necessary for
3646         XEmacs to choose between backward and forward deletion.
3647         `c-electric-delete-forward' is now bound to C-d to get the
3648         electric behavior on that key too.
3650 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3652         * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
3653         use of c-comment-prefix-regexp, which caused an error when
3654         it's a list.
3656 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3658         * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
3659         (c-default-style): Removed the hardcoded switch to "java" style
3660         in Java mode.  It's instead taken care of by the default value
3661         for c-default-style.
3663 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
3665         * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
3666         was triggered by equal signs in string literals.
3668 2002-04-21  Kim F. Storm  <storm@cua.dk>
3670         * subr.el (insert-buffer-substring-no-properties): New function.
3671         (insert-buffer-substring-as-yank): New function.
3673 2002-04-21  Glenn Morris  <gmorris@ast.cam.ac.uk>
3675         * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
3676         (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
3677         prefix from scroll commands.  Ignore end-of-buffer errors from
3678         other windows.
3679         (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
3680         commands.
3681         (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
3682         New functions.
3684         * files.el: (auto-mode-alist): .f95 files in f90-mode.
3686         * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
3687         a DO statement irrespective of numeric label.
3689 2002-04-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
3691         * files.el (auto-save-file-name-transforms): Doc fix.
3692         Add third element to "uniquify" filenames.
3693         (make-auto-save-file-name): Use new element of
3694         auto-save-file-name-transforms.
3695         * startup.el (command-line): Add third element to
3696         auto-save-file-name-transforms.
3698 2002-04-19  Stefan Monnier  <monnier@cs.yale.edu>
3700         * files.el (file-name-non-special): Don't mangle the 0'th arg and the
3701         return value of file-name-completion and file-name-all-completions.
3703 2002-04-19  Glenn Morris <gmorris@ast.cam.ac.uk>
3705         * progmodes/f90.el: Update maintainer.
3706         (f90-line-continued): Recognize blank/comment lines embedded in
3707         continuation lines.
3708         (f90-looking-at-program-block-start): No extra indentation after
3709         function or subroutine keyword appears in single quotes.
3711 2002-04-19  Miles Bader  <miles@gnu.org>
3713         * custom.el (customize-mark-to-save, customize-mark-as-set)
3714         (custom-quote): Moved here from `cus-edit.el'.
3715         * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
3716         (custom-quote): Moved to `custom.el'.
3718 2002-04-18  Richard M. Stallman  <rms@gnu.org>
3720         * facemenu.el (list-text-properties-at): Command deleted.
3722         * rect.el (insert-rectangle): Use insert-for-yank.
3724         * register.el (insert-register): Use insert-for-yank.
3725         (describe-register-1): Discard text props in yank-excluded-properties.
3727         * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
3728         Fix parts in construction of `menu-item' item at end.
3730         * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
3732         * subr.el (insert-for-yank): New function.
3734         * simple.el (yank-excluded-properties): New user option.
3735         (yank-pop, yank): Use insert-for-yank.
3737 2002-04-19  Kim F. Storm  <storm@cua.dk>
3739         * simple.el (pop-to-mark-command): Do not set this-command.
3740         (set-mark-command): Always jump to mark when called with arg.
3742 2002-04-18  Francesco Potorti`  <pot@gnu.org>
3744         * comint.el (comint-watch-for-password-prompt): Remove whitespace
3745         at the beginning of password prompts.
3747 2002-04-18  Andrew Innes  <andrewi@gnu.org>
3749         * facemenu.el: Remove require of wid-edit.
3751 2002-04-17  Colin Walters  <walters@verbum.org>
3753         * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
3754         one window.
3755         (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
3756         (ibuffer-current-state-list): Reinstate optional argument; now
3757         just call `point' inside the mapping function.
3759 2002-04-17  Francesco Potorti`  <pot@gnu.org>
3761         * dired-aux.el (dired-star-subst-regexp)
3762         (dired-quark-subst-regexp): New constants.
3763         (dired-do-shell-command, dired-shell-stuff-it): Use them.
3764         (dired-do-shell-command): Raise an error if both `*' and `?'
3765         substitution marks are used in the same command.
3766         (dired-shell-stuff-it): Substitute all instances of `*' and `?'
3767         in a command given via dired-do-shell-command.
3769         * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
3771 2002-04-16  Jason Rumney  <jasonr@gnu.org>
3773         * international/mule-cmds.el (locale-preferred-coding-systems):
3774         Add "jpn".
3776 2002-04-16  Eli Zaretskii  <eliz@is.elta.co.il>
3778         * term.el (term-emulate-terminal): Fix last change.
3780 2002-04-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
3782         * bindings.el (mode-line-mode-menu): Update names to reflect
3783         latest changes.
3785 2002-04-16  Mike Williams  <mdub@bigfoot.com>
3787         * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
3788         compilation error.
3790 2002-04-16  Michael Kifer  <kifer@cs.stonybrook.edu>
3792         * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
3793         (viper-ex-print-buf-name): New variable.
3794         (viper-ex-print-buf): New variable.
3795         (ex-token-alist): Invoke ex-print on ":print" Ex commands.
3796         (ex-g-marks): New variable.
3797         (ex-print): New function.
3798         (ex-print-display-lines): New function.
3800         * viper.el (viper-set-hooks): Add window-setup-hook, which sets
3801         the cursor color.
3803         * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
3804         when the window is not in its own frame.
3805         (ediff-clone-buffer-for-region-comparison): More robust window
3806         arrangement while prompting for regions to compare.
3807         (ediff-make-cloned-buffer): Use generate-new-buffer-name.
3808         (ediff-inferior-compare-regions): Deleted unused vars
3809         ctl-buf and quit-now.
3811 2002-04-15  Richard M. Stallman  <rms@gnu.org>
3813         * facemenu.el (facemenu-add-new-face): Use this only for faces.
3814         Delete arg MENU.
3815         (facemenu-add-new-color): New function.
3816         (facemenu-set-foreground, facemenu-set-background):
3817         Use facemenu-add-new-color.
3819 2002-04-15  Eli Zaretskii  <eliz@is.elta.co.il>
3821         * ediff-init.el (ediff-current-diff-face-A)
3822         (ediff-current-diff-face-B, ediff-current-diff-face-C)
3823         (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
3824         (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
3825         (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
3826         (ediff-even-diff-face-B, ediff-even-diff-face-C)
3827         (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
3828         (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
3829         (ediff-odd-diff-face-Ancestor): Add special color definitions for
3830         tty and MS-DOS displays.
3832 2002-04-15  Andrew Innes  <andrewi@gnu.org>
3834         * facemenu.el: Require wid-edit.
3836 2002-04-15  Miles Bader  <miles@gnu.org>
3838         * faces.el (highlight): Force foreground to be black on a tty, so
3839         this face is readable on a dark-background tty.
3840         * wid-edit.el (widget-field-face, widget-single-line-field-face):
3841         Likewise.
3843 2002-04-14  Kim F. Storm  <storm@cua.dk>
3845         * simple.el (pop-to-mark-command, push-mark-command): New commands.
3846         (set-mark-command): Use them.
3847         Enhanced functionality when command is repeated:
3848         - If first command set the mark (no prefix arg), repeat temporarily
3849         enables transient-mark-mode.
3850         - If first command jumped to mark off ring (with argument),
3851         repeat (with or without arg) jump to next mark off ring.
3852         - Use C-u C-u prefix to set mark after jump.
3853         (exchange-point-and-mark): Temporarily enable transient-mark-mode
3854         if prefix arg.
3856 2002-04-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
3858         * speedbar.el (speedbar-tag-hierarchy-method)
3859         (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
3861 2002-04-14  Mike Williams  <mdub@bigfoot.com>
3863         * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
3864         beginning of buffer.
3866 2002-04-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
3868         * speedbar.el (speedbar-generic-item-info)
3869         (speedbar-sort-tags): Doc fix.
3870         (speedbar-add-supported-extension): Fix typo in interactive spec.
3872 2002-04-13  Colin Walters  <walters@verbum.org>
3874         * ibuffer.el (ibuffer-forward-line): Just skip header if we're
3875         only moving one line forward.
3876         (ibuffer-map-lines): Preserve point position even if we delete
3877         lines.  Only call mapping functions with buffer and mark
3878         arguments; the other two were unused.
3879         (ibuffer-redisplay, ibuffer-update): Always skip special areas.
3881         * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
3883         * calc/calc-bin.el (math-format-radix-float): Use `when'.
3885         * calc/calc.el (math-format-number): Load `calc-ext' before we
3886         call `math-group-float'.
3888         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3889         Renamed from `gamegrid-add-score'.
3890         (gamegrid-add-score-insecure): Restored from the old
3891         `gamegrid-add-score'.
3892         (gamegrid-add-score): Just dispatch on `system-type' to one of the
3893         previous two functions.
3895 2002-04-13  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
3897         * iswitchb.el: Update commentary to include new function
3898         iswitchb-exclude-nonmatching.
3900 2002-04-12  John Wiegley  <johnw@gnu.org>
3902         * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
3903         operating systems to the regexp used to detect a script's interpreter.
3905 2002-04-12  Eli Zaretskii  <eliz@is.elta.co.il>
3907         * frame.el (frames-on-display-list): Use `equal' to compare the
3908         `display' frame parameter to the argument DISPLAY.
3910 2002-04-12  Dave Love  <fx@gnu.org>
3912         * help.el (string-key-binding): Deal with margin events.
3914 2002-04-12  Francesco Potorti`  <pot@gnu.org>
3916         * comint.el (comint-password-prompt-regexp): Match " SMB password".
3918 2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>
3920         * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
3922         * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
3924         * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
3925         (buffer-syntactic-context-depth): New funs.
3927         * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
3928         on variables.
3930         * emacs-lisp/debug.el (debug-on-entry): Use push.
3931         (debugger-make-xrefs): Don't assume point-min == 1.
3933         * progmodes/cc-engine.el (c-backward-to-start-of-if):
3934         Don't assume point-min == 1.
3936         * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
3937         (etags-list-tags, etags-tags-apropos, select-tags-table):
3938         Don't assume point-min == 1.
3940 2002-04-12  Mike Williams  <mdub@bigfoot.com>
3942         * textmodes/sgml-mode.el (sgml-guess-indent): New function.
3944 2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>
3946         * textmodes/fill.el (fill-context-prefix): Fix up last change.
3948         * simple.el (line-move): Use memq rather than or.
3949         (transpose-sexps): Don't presume as much of forward-sexp's behavior.
3950         (do-auto-fill): Use fill-move-to-break-point.
3951         (syntax-code-table): Remove.
3953         * textmodes/fill.el (canonically-space-region): Obey sentence-end.
3954         Don't add spaces at end of sentences at end of line.
3955         (fill-move-to-break-point): Make sure the result is always greater
3956         than linebeg, so we ensure forward progress.
3957         (fill-region-as-paragraph): Compare to `to' rather than eobp.
3958         (fill-paragraph): Don't rebind fill-paragraph-function.
3960 2002-04-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
3962         * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
3964 2002-04-11  Andreas Schwab  <schwab@suse.de>
3966         * files.el (file-name-non-special): Handle return value of t from
3967         `file-name-completion'.
3969 2002-04-10  Stefan Monnier  <monnier@cs.yale.edu>
3971         * textmodes/fill.el (fill-context-prefix): Match the two prefixes
3972         differently to avoid pathological exponential-time case.
3973         (adaptive-fill-regexp): Add ! and %.
3974         (fill-delete-prefix): Remove indentation while removing prefix.
3975         (fill-delete-newlines): Obey sentence-end.
3976         (fill-move-to-break-point, fill-newline): New functions extracted
3977         from fill-region-as-paragraph.
3978         (fill-region-as-paragraph): Use them.
3979         Don't fiddle with fill-indent-according-to-mode.
3981 2002-04-10  Colin Walters  <walters@verbum.org>
3983         * play/snake.el (snake-score-file): Default to just "snake-scores".
3985         * play/tetris.el (tetris-score-file): Likewise.
3987         * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
3988         use `update-game-score'.
3990         * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
3991         (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
3992         ourselves; take it as an argument.  Caller updated.
3993         (ibuffer-mode): Make mode-class special.
3995 2002-04-10  Richard M. Stallman  <rms@gnu.org>
3997         * dired.el (dired-view-command-alist): New variable.
3998         (dired-view-file): Use external viewers for some files names.
4000         * mouse.el (mouse-drag-region-1): Display region highlight
4001         only in the selected window.
4003         * subr.el (remove-hook): When there are no more local hooks,
4004         kill the buffer-local value.
4006         * isearch.el (isearch-mode): Don't call make-frame-visible
4007         if frame is already visible.
4009         * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
4011 2002-04-09  Emmanuel Briot  <briot@act-europe.fr>
4013         * progmodes/ada-prj.el: Add support for the new project file
4014         fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
4015         Fix widget handling for Emacs 21.  ada-mode now only supports a single
4016         active project file, instead of one per buffer.  This is far less
4017         confusing.
4019         * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
4020         (ada-func-or-proc-name): Get real subprogram name, after change in
4021         ada-mode.el.
4023         * progmodes/ada-xref.el: Ada-mode no longer supports a different
4024         project file per buffer.  This was too complex.  Instead, there is
4025         now a single active project file at any given time, and the user
4026         can switch the active one through the Ada menu.  This revision
4027         also provides better handling of the Windows command line, and the
4028         various available shells on that platform.  ada-mode is now fully
4029         integrated with the GNU visual debugger gvd, see
4030         http://libre.act-europe.fr.
4031         (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
4032         This is only available with GNAT 3.14.
4033         (ada-prj-gnatfind-switches, ada-cd-command): New variable.
4034         (ada-quote-cmd): New function.
4035         (ada-initialize-runtime-library): Get the location of the actual
4036         runtime the compiler will be using, including support for
4037         cross-platform environments.
4038         (ada-treat-cmd-string): Add support for the new variable
4039         ${full_current} add support for debug-pre-cmd and debug-post-cmd,
4040         two commands to run just prior to running the debugger, and just
4041         after starting it.  This provide better support for cross-platform
4042         and remote debugging.
4043         (ada-get-absolute-dir): Remove, replace with expand-file-name.
4044         (ada-gdb-application): New parameter executable-name.
4045         (ada-get-ali-file-name): Better handling of separate packages.
4046         Checkin on behalf of the ada-mode maintainer.
4048         * progmodes/ada-mode.el (ada-case-exception-file)
4049         (ada-indent-handle-comment-special): New variables.
4050         (ada-case-exception-substring): New variable.  Casing exceptions
4051         can now also be defined for substrings, in addition to full
4052         identifier names.  This provides more flexibility.
4053         (ada-align-list): New fun, provide support for align.el in ada-mode.
4054         (ada-procedure-start-regexp): Add support for operators and
4055         generic formal subprograms and packages.
4056         (ada-imenu-comment-re): New variable.
4057         (ada-imenu-generic-expression): Add support for protected types.
4058         (ada-mode): Set comment-start only after running ada-mode-hook, so
4059         that the user can change ada-comment-start in the hook.
4060         Add support for ispell in comments.  Add support for align.el.
4061         (ada-save-exception-file, ada-create-case-exception-substring)
4062         (ada-adjust-case-substring): New functions.
4063         (ada-get-current-indent): Properly handles keywords with uppercases.
4064         (ada-goto-matching-end): Rewritten, fixes problems in the handling
4065         of nested blocks.
4066         (ada-untab-hard): Do not touch the contents of comments and strings.
4068 2002-04-09  Mike Williams  <mdub@bigfoot.com>
4070         * textmodes/sgml-mode.el (sgml-lexical-context):
4071         Use sgml-parse-tag-backward to find start point.
4072         (sgml-looking-back-at): Doc fix.
4074 2002-04-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
4076         * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
4077         for prompt.
4079 2002-04-08  Stefan Monnier  <monnier@cs.yale.edu>
4081         * autorevert.el (auto-revert-mode, global-auto-revert-mode):
4082         Use define-minor-mode.
4083         (auto-revert-buffers): Use with-current-buffer.
4084         Avoid changing the minor modes.
4086         * international/iso-acc.el (iso-accents-accent-key): Use `vector'
4087         rather than char-to-string since last-input-char can be any event.
4089         * international/titdic-cnv.el (tit-dictionary):
4090         Use defvar for non-constants.
4092         * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
4093         (global-cwarn-mode): Use easy-mmode-define-global-mode.
4094         (cwarn-font-lock-keywords): New function.
4095         Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
4096         (cwarn-font-lock-match): New macro.
4097         (cwarn-font-lock-match-assignment-in-expression)
4098         (cwarn-font-lock-match-dangerous-semicolon)
4099         (cwarn-font-lock-match-reference): Use it.
4101         * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
4102         Use defvar rather than defconst since it's meant to be settable.
4103         (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
4104         (cperl-fix-line-spacing): Add missing \ in [ t].
4106         * loadup.el: Call ucs-unify-8859 directly rather than
4107         unify-8859-on-encoding-mode.
4108         (fns-*.el): Don't use it anymore.  Keep the load-history in purespace.
4110         * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
4111         (sgml-mode): Use it for comment-line-break-function.
4113 2002-04-08  Jason Rumney  <jasonr@gnu.org>
4115         * international/mule-cmds.el (reset-language-environment):
4116         Handle coding-systems not being defined yet.
4118 2002-04-08  Sam Steingold  <sds@gnu.org>
4120         * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
4121         (vc-cvs-checkin): Use it.
4123 2002-04-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
4125         * files.el (display-time-string): Fix last change.
4127 2002-04-07  Sam Steingold  <sds@gnu.org>
4129         * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
4131 2002-04-07  Jason Rumney  <jasonr@gnu.org>
4133         * international/mule-cmds.el (set-default-coding-systems)
4134         (reset-language-environment): Preserve eols on
4135         default-process-coding-system.
4136         (coding-system-change-text-conversion): Fix case where CODING is nil.
4138 2002-04-07  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
4140         * subr.el (play-sound): Move here from simple.el.
4142         * simple.el (play-sound): Move to subr.el.
4144 2002-04-06  Richard M. Stallman  <rms@gnu.org>
4146         * files.el (display-time-string-forms): Mark as risky.
4148         * enriched.el (enriched-decode-foreground, enriched-decode-background):
4149         Use proper format for desired elts of `face' property.
4150         Don't test display-color-p; make the properties unconditionally.
4152         * progmodes/compile.el (compilation-error-regexp-alist):
4153         New alternatives for FILE:LINE.COL and for ranges of columns and lines.
4155 2002-04-06  Per Abrahamsen  <abraham@dina.kvl.dk>
4157         * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
4158         for customization type.
4159         Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
4161 2002-04-06  Mike Williams  <mdub@bigfoot.com>
4163         * textmodes/xml-lite.el: Remove.
4165 2002-04-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
4167         * simple.el (play-sound): New function (uses play-sound-internal).
4169 2002-04-04  Richard M. Stallman  <rms@gnu.org>
4171         * files.el (mode-line-format, mode-line-modified)
4172         (mode-line-mule-info, mode-line-buffer-identification)
4173         (mode-line-modes, mode-line-position): Explicitly mark as risky.
4174         (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
4176         * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
4178         * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
4179         Use (syntax-table), not old-syntax-table.
4181         * enriched.el (enriched-decode-foreground)
4182         (enriched-decode-background): Don't call facemenu-get-face.
4184 2002-04-04  Mike Williams  <mdub@bigfoot.com>
4186         * textmodes/sgml-mode.el: Add missing require.
4187         (sgml-lexical-context): Fix up CDATA detection for boundary cases.
4189 2002-04-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
4191         * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
4192         spot indicated by text property `cvs-goal-column', if present.
4194         * pcvs-info.el (cvs-fileinfo-pp): Use text property
4195         `cvs-goal-column' to indicate position of file name (if present).
4197 2002-04-03  Richard M. Stallman  <rms@gnu.org>
4199         * mail/mailabbrev.el (mail-abbrev-complete-alias):
4200         Call mail-abbrev-make-syntax-table.
4202         * format.el (format-deannotate-region): Doc fix.
4204         * enriched.el (enriched-face-ans): Delete special treatment
4205         for fg:... and bg:... faces.
4206         (enriched-decode-foreground): Return a list that specifies
4207         the foreground color, rather than creating a face.
4208         (enriched-decode-background): Likewise.
4210         * shell.el (shell-mode): Don't reinit comint-input-ring
4211         if that was already done.
4213 2002-04-03  Edward M. Reingold  <reingold@emr.cs.iit.edu>
4215         * solar.el (solar-spring-or-summer-season): Delete.
4216         (solar-northern-spring-or-summer-season): New variable.
4217         (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
4218         Rewrite.
4220         * solar.el (diary-sabbath-candles-minutes): New variable.
4221         (diary-sabbath-candles): Use it instead of fixed 18 minutes.
4223         * calendar.el (update-calendar-mode-line): Force mode-line update.
4224         Make date under the cursor available as `date' in
4225         calendar-mode-line-format.
4226         Eval items in calendar-mode-line-format list.
4228         * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
4229         (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
4231         * cal-tex.el (cal-tex-latexify-list): Fix doc string.
4233         * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
4234         (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
4235         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4236         (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
4238         * cal-tex.el: Change all instances (interactive "P") to
4239         (interactive "p").
4240         (cal-tex-cursor-month): Add hfill and newline at end of month that
4241         ended on Saturday.
4242         (cal-tex-preamble): Change to LaTeX2e.
4243         (cal-tex-cursor-filofax-year): Don't use default month names in
4244         LaTeX macros in case user changes them.
4245         (cal-tex-month-name): New function.  Used throughout in case user
4246         has done something funny with month names.
4248         * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
4249         (diary-rosh-hodesh): Spelling correction.
4251 2002-04-03  Mike Williams  <mdub@bigfoot.com>
4253         * textmodes/sgml-mode.el (sgml-lexical-context)
4254         (sgml-parse-tag-backward): Extend support for CDATA to include
4255         conditional sections.
4257 2002-04-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
4259         * cus-start.el: Rename `autoselect-window' to
4260         `mouse-autoselect-window'.
4262 2002-04-02  Richard M. Stallman  <rms@gnu.org>
4264         * files.el (hack-one-local-variable):
4265         Clear text props from string value.
4267 2002-04-02  Stefan Monnier  <monnier@cs.yale.edu>
4269         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4270         (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
4271         Use regexp-opt.
4272         (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
4273         from F95.
4274         (f90-procedures-re): Add `null' and `cpu_time' from F95.
4275         (f90-font-lock-keywords-1): Minor reorganization so we don't need
4276         `override' any more.
4277         (f90-font-lock-keywords-3): Use `keep' rather than `override'.
4278         (f90-indent-subprogram): Use indent-region.
4279         (f90-break-line): Use indent-according-to-mode.
4281 2002-04-02  Mike Williams  <mdub@bigfoot.com>
4283         * textmodes/sgml-mode.el (sgml-close-tag): Rename from
4284         sgml-insert-end-tag. Simplify by using sgml-lexical-context.
4285         (sgml-get-context): Remove use of sgml-inside-tag-p.
4286         (sgml-inside-tag-p): Remove.
4287         (sgml-looking-back-at): Short-circuit at beg of buffer.
4288         (sgml-lexical-context, sgml-calculate-indent): Add support for
4289         CDATA sections.
4291 2002-04-01  Stefan Monnier  <monnier@cs.yale.edu>
4293         * help.el (help-key-description): New fun.
4294         (describe-key-briefly, describe-key): Use it and
4295         this-single-command-raw-keys plus new arg `untranslated'.
4297         * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
4298         (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
4299         (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
4300         (sgml-insert-end-tag): New funs taken from xml-lite.el.
4301         (sgml-calculate-indent): Use them.
4302         (sgml-slash-matching): Rename from sgml-slash.
4303         (sgml-slash): Copied from xml-lite and changed to use
4304         sgml-slash-matching and sgml-quick-keys.
4306         * international/mule-cmds.el (standard-keyboard-coding-systems):
4307         Add koi8-u and koi8-r.
4309         * eshell/.cvsignore: New file.
4311         * eshell/esh-groups.el: Remove.
4313         * progmodes/tcl.el: Change maintainer.
4314         (tcl-electric-hash-style): Change default to nil.
4315         (tcl-imenu-generic-expression): Use tcl-proc-regexp.
4316         (tcl-do-auto-fill): Remove.
4317         (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
4319 2002-04-01  Mike Williams  <mdub@bigfoot.com>
4321         * textmodes/sgml-mode.el: Doc fixes.
4322         (sgml-mode): Set indent-line-function to sgml-indent-line.
4323         (sgml-calculate-indent): Add an explicit check for 'text syntax,
4324         to protect against future enhancements to sgml-lexical-context.
4325         (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
4327         * textmodes/xml-lite.el: Removed much redundant stuff.
4328         (xml-lite-parse-tag-backward): Simplify parsing by assuming we
4329         always start within text. Make use of sgml-unclosed-tag-p.
4331 2002-04-01  Ville Skytt\e,Ad\e(B  <ville.skytta@xemacs.org>
4333         * tcl.el (tcl-imenu-generic-expression): New value.
4334         (tcl-imenu-create-index-function): Function deleted.
4335         (tcl-mode): Check for filladapt-mode.
4336         Use tcl-imenu-generic-expression instead of
4337         tcl-imenu-create-index-function.
4338         (inferior-tcl-mode): Doc fix.
4339         Change not legally significant.
4341 2002-04-01  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
4343         * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
4345         * window.el (handle-select-window): New function.
4346         Update copyright.
4348 2002-04-01  Richard M. Stallman  <rms@gnu.org>
4350         * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
4352         * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
4353         tool-bar-add-item, and new arg MAP.
4354         (tool-bar-add-item): Now calls tool-bar-local-item.
4355         (tool-bar-local-item-from-menu): Renamed from
4356         tool-bar-add-item-from-menu, and new arg IN-MAP.
4357         (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
4359         * help-fns.el (help-with-tutorial): Allow various ways
4360         to specify the text in the [...] line, in handling the <...> line.
4362         * progmodes/idlw-rinfo.el (idlwave-system-routines):
4363         WOLRDTITLE => WORLDTITLE.  SUPRESS_VALUE => SUPPRESS_VALUE.
4365         * subr.el (redraw-modeline): Define alias.
4367 2002-03-31  Richard M. Stallman  <rms@gnu.org>
4369         * files.el (file-expand-wildcards): Use save-match-data.
4371         * files.el (format-alist): Mark as risky.
4373         * simple.el (kill-new): Doc fix.
4375         * emacs-lisp/byte-opt.el (side-effect-free-fns)
4376         (side-effect-and-error-free-fns): Add many functions, remove some.
4378 2002-03-30  Richard M. Stallman  <rms@gnu.org>
4380         * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
4382 2002-03-30  Eli Zaretskii  <eliz@gnu.org>
4384         * font-lock.el (save-buffer-state): Fix last change.
4386         * files.el (auto-save-file-name-transforms): Fix last change.
4388         * startup.el (command-line): Fix last change.
4390 2002-03-29  Richard M. Stallman  <rms@gnu.org>
4392         * subr.el (play-sound-file): Moved to simple.el.
4394         * simple.el (play-sound-file): Moved from subr.el, made unconditional.
4396 2002-03-29  Colin Walters  <walters@verbum.org>
4398         * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
4399         instead of `forward-line'.
4400         (ibuffer-forward-line): Be sure to skip over special properties
4401         before moving, too.
4403         * calc/calc.el (calc-was-split): Var deleted.
4404         (calc): Remove reference to it.
4405         (calc): Ditto.
4406         (calc-quit): Ditto.
4407         (calc-init-base): Ditto.
4409         * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
4411 2002-03-29  Stefan Monnier  <monnier@cs.yale.edu>
4413         * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
4414         instead of nil when point is outside of any tag.
4415         (sgml-beginning-of-tag): Adjust to the change.
4416         (sgml-calculate-indent): Use the new info returned by
4417         sgml-lexical-context.  Try to handle unclosed tags.
4419         * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
4420         at unclosed tags unless it is at indentation.
4421         Kill nested unclosed tags.
4422         (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
4423         (xml-lite-mode): Use sgml-indent-line instead.
4425 2002-03-29  Eli Zaretskii  <eliz@is.elta.co.il>
4427         * files.el (auto-save-file-name-transforms): Don't run "\\2" via
4428         expand-file-name.
4430         * startup.el (command-line): Recompute auto-save-file-name-transforms
4431         using the updated value of temporary-file-directory.
4433 2002-03-29  Stefan Monnier  <monnier@cs.yale.edu>
4435         * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
4436         even with an empty context.  Don't save excursion any more.
4437         Don't complain about unmatched start-tags in sgml-unclosed-tags.
4438         Ignore end-tags in sgml-empty-tags.
4439         (xml-lite-get-context, xml-lite-calculate-indent)
4440         (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
4441         (xml-lite-indent-line): Use back-to-indentation.
4443         * textmodes/sgml-mode.el (sgml-basic-offset): New var.
4444         (sgml-name-re, sgml-attrs-re): New consts.
4445         (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
4446         (sgml-mode): Use them.
4447         (sgml-lexical-context): Default to (point-min) if nothing else works.
4448         (sgml-calculate-indent): Indent slightly differently.
4449         (sgml-indent-line): Use back-to-indentation.
4450         (sgml-parse-dtd): New function.
4451         (sgml-unclosed-tags): New var.
4452         (html-mode): Set it.
4454 2002-03-29  Simon Marshall  <simon.marshall@misys.com>
4456         * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
4458 2002-03-29  Richard M. Stallman  <rms@gnu.org>
4460         * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
4461         Use FILTER arg in dired-get-marked-files to exclude directories.
4462         (dired-nondirectory-p): New function.
4464         * dired.el (dired-get-marked-files): New arg FILTER
4465         allows selection of some files.
4467         * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
4469 2002-03-29  Eric M. Ludlam  <eric@siege-engine.com>
4471         * speedbar.el (speedbar-default-directory-list): Made robust
4472         against deleted directories.
4474 2002-03-28  Richard M. Stallman  <rms@gnu.org>
4476         * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
4477         Bindings changed.
4479         * progmodes/compile.el (compilation-handle-exit):
4480         If compilation-window-height is 0, display status in echo area.
4482         * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
4484         * rect.el (replace-rectangle): Add autoload.
4486         * files.el: Mark many more variables as risky.
4487         (hack-one-local-variable): Recognize several additional
4488         patterns as risky.
4490         * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
4492 2002-03-28  Stefan Monnier  <monnier@cs.yale.edu>
4494         * textmodes/xml-lite.el (xml-lite-in-string-p):
4495         Use sgml-lexical-context.
4496         (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
4497         (xml-lite-get-context): Check that open/close tags match.
4498         Don't stop scanning while we're ignoring matching tags.
4500         * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
4501         (sgml-mode-syntax-table): Use it.
4502         (sgml-tag-syntax-table, sgml-tag-name-re): New const.
4503         (sgml-tags-invisible): Use it.
4504         (sgml-lexical-context): New fun.
4505         (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
4506         (sgml-quote): Accept \n as entity reference terminator.
4507         (sgml-calculate-indent, sgml-indent-line): New funs.
4509 2002-03-28  Andre Spiegel  <spiegel@gnu.org>
4511         * vc-cvs.el (vc-cvs-global-switches): New user option.
4512         (vc-cvs-command): New function.  Update all callers of
4513         `vc-do-command' in vc-cvs.el to use this instead.
4515 2002-03-27  Andrew Innes  <andrewi@gnu.org>
4517         * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
4518         relying on shell globbing.
4520 2002-03-27  Colin Walters  <walters@debian.org>
4522         * ibuffer.el (ibuffer-help-buffer-modes): New variable.
4523         (ibuffer-fontification-alist): Use it.
4524         (ibuffer-backward-line): Handle `ibuffer-summary' area.
4525         (ibuffer-forward-line): Ditto.
4527         * ibuf-ext.el (sorter mode-name): Doc fix.
4528         (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
4529         (operation query-replace): Use new `noerror' arg for
4530         `query-replace-read-args'.
4531         (operation query-replace-regexp): Ditto.
4533 2002-03-27  Stefan Monnier  <monnier@cs.yale.edu>
4535         * textmodes/xml-lite.el: Fix copyright notice.
4536         (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
4537         (xml-lite-indent-comment-offset): Remove.
4538         (xml-lite-calculate-indent): Use new name.  Use natural alignment
4539         for comments.
4540         (xml-lite-in-string-p): Simplify.
4542 2002-03-27  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
4544         * allout.el (outline-layout): Doc fix.
4546 2002-03-27  Stefan Monnier  <monnier@cs.yale.edu>
4548         * textmodes/xml-lite.el: Don't require `custom'.
4549         (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
4550         (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
4551         (xml-lite-get-context): Drop nested tags not just for comments.
4552         (xml-lite-indent-line): Be more careful about moving point.
4553         (xml-lite-insert-end-tag, xml-lite-slash):
4554         Use indent-according-to-mode instead of xml-lite-indent-line.
4555         (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
4556         Set sgml-xml-mode.  Don't call force-mode-line-update.
4557         (xml-lite-mode-map): Don't bind TAB.
4559 2002-03-27  Zoltan Kemenczy  <zoltan@ieee.org>
4561         * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
4562         parameter value.
4563         (gud-jdb-build-source-files-list): Comment clarification.
4564         (gud-jdb-massage-args): Reworked into loop-based argument list
4565         processing in order to support -classpath and -sourcepath argument
4566         processing.
4567         (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
4568         to gud-jdb-classpath to obtain search list.
4569         (gud-jdb-parse-classpath-string): Remove any trailing slashes from
4570         directory names in classpath/sourcepath lists, update comment.
4571         (jdb): Add setting of gud-jdb-sourcepath, update comment.
4572         (gud-find-class): Add gud-jdb-sourcepath use, and correct
4573         behaviour for the case when classpath is not used--backward
4574         compatibility fix.
4576 2002-03-27  Eli Zaretskii  <eliz@is.elta.co.il>
4578         * Makefile.in (compile, compile-always): Don't try to compile
4579         non-existent files or files in empty directories.
4581 2002-03-26  Michael Ernst  <mernst@alum.mit.edu>
4583         * compare-w.el (compare-windows-whitespace): Match all whitespace.
4585         * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
4586         copy of standard Lisp directories.
4588         * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
4589         Support "next has longname" link type.
4591 2002-03-26  Stefan Monnier  <monnier@cs.yale.edu>
4593         * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
4594         (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
4595         New functions.
4596         (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
4597         (end-of-xml-tag): Remove.
4598         (xml-lite-get-context): Better handling of comments.
4599         (xml-lite-calculate-indent): Use xml-lite-in-string-p.
4600         (xml-lite-parse-tag-backward): Rewrite.
4602 2002-03-26  Juanma Barranquero  <lektu@terra.es>
4604         * makefile.w32-in (WINS): Add the toolbar directory.
4606 2002-03-26  Richard M. Stallman  <rms@gnu.org>
4608         * subr.el (substring-no-properties): Function deleted (now in C).
4610 2002-03-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
4612         * mwheel.el (mouse-wheel-mode): Use global-set-key and
4613         global-unset-key.
4615 2002-03-24  Richard M. Stallman  <rms@gnu.org>
4617         * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
4619         * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
4620         to query-replace-read-args.
4622         * progmodes/compile.el (compilation-forget-errors):
4623         Don't adjust compilation-parsing-end if it's nil.
4625         * replace.el (query-replace-read-args): New optional arg NOERROR.
4626         (perform-replace): Use save-window-excursion around recursive edit.
4628 2002-03-24  Colin Walters  <walters@verbum.org>
4630         * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
4631         non-nil, then always use another window.
4633 2002-03-24  Gerd Moellmann  <gerd@gnu.org>
4635         * subr.el (macro-declaration-function): New function.  Set the
4636         variable macro-declaration-function to it.
4638         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
4639         Handle declarations in macro definitions.
4641 2002-03-24  Eli Zaretskii  <eliz@is.elta.co.il>
4643         * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
4645         * enriched.el (enriched-face-ans): Support FACE of the form
4646         (:foreground COLOR) and (:background COLOR).
4647         (enriched-decode-foreground, enriched-decode-background): Set the
4648         fore- and background colors of the faces we create, since facemenu
4649         doesn't.
4651 2002-03-24  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
4653         * mwheel.el (mouse-wheel-mode): Use the result of
4654         current-global-map instead of the variable `global-map'.
4656 2002-03-23  Richard M. Stallman  <rms@gnu.org>
4658         * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
4659         broken out of sendmail-pre-abbrev-expand-hook.
4660         (sendmail-pre-abbrev-expand-hook): Use it.
4662 2002-03-22  Stefan Monnier  <monnier@cs.yale.edu>
4664         * Makefile.in (finder-inf.el): Remove.
4665         (finder-data): Don't depend on finder-inf.el any more.
4666         (compile, compile-always): Handle the case where some files
4667         from DONTCOMPILE are missing (it tried to compile them).
4668         (bootstrap-clean): Use src/emacs only if executable.
4669         (bootstrap): Update subdirs.el and finder-inf.el.
4671         * finder.el: Don't load finder-inf.el during byte-compilation.
4673         * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
4674         Don't consider cvs-removed files as under VC control.
4675         VC wouldn't handle them properly anyway and it confuses
4676         vc-file-not-found-hook.
4678         * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
4679         Add autoload cookie.
4681 2002-03-22  Eli Zaretskii  <eliz@is.elta.co.il>
4683         * calendar/calendar.el (calendar): Doc fix.
4685 2002-03-22  Juanma Barranquero  <lektu@terra.es>
4687         * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
4688         (gomoku-font-lock-X-face): Likewise.
4689         (gomoku-font-lock-keywords): Use faces instead of variables.
4691 2002-03-21  Stefan Monnier  <monnier@cs.yale.edu>
4693         * Makefile.in (bootstrap): Make sure subdirs.el is ready.
4695 2002-03-21  Kim F. Storm  <storm@cua.dk>
4697         * simple.el (open-network-stream, open-network-stream-nowait)
4698         (open-network-stream-server): Use featurep to test for
4699         supported networking features.
4701 2002-03-21  Thien-Thi Nguyen  <ttn@gnu.org>
4703         * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
4704         directions as the last action.
4706 2002-03-21  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
4708         * startup.el (fancy-splash-tail, normal-splash-screen):
4709         Update copyright.
4711         * novice.el (disabled-command-hook): Clarify output text to match
4712         prompt.
4714 2002-03-20  Jason Rumney  <jasonr@gnu.org>
4716         * frame.el (display-images-p): Do not explicitly check display type.
4718 2002-03-20  pmr-sav  <pmr-sav@hamm.pajato.com>
4720         * mail-utils.el:
4721         Eliminate compilation warnings due to `rfc822-addresses'.
4722         (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
4723         warning free compile.
4725 2002-03-20  Michael Kifer  <kifer@cs.stonybrook.edu>
4727         * ediff-diff.el (ediff-install-fine-diff-if-necessary):
4728         Take the current highlighting style into account.
4729         (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
4730         (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
4732         * ediff-init.el (ediff-patch-job): New macro.
4734         * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
4735         (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
4737         * ediff-ptch.el (ediff-map-patch-buffer):
4738         Use ediff-make-new-meta-list-header.
4739         (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
4741         * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
4742         (ediff-select-difference): Take highlighting style into account.
4743         (ediff-clone-buffer-for-region-comparison): New function.
4744         (ediff-inferior-compare-regions): Added comparison of current diff
4745         regions.
4747         * ediff.el (ediff-clone-buffer-for-region-comparison)
4748         (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
4750 2002-03-19  pmr-sav  <pmr-sav@hamm.pajato.com>
4752         * mail-utils.el (rmail-dont-reply-to):
4753         Overhaul to correctly apply the regular
4754         expressions in the variable `rmail-dont-reply-to-names' to the list of
4755         destination addresses.  Contributed by lorentey@elte.hu.
4757         * rmail.el (rmail-dont-reply-to-names):
4758         Modify the documentation to make it email
4759         address centric rather than login name centric.  Contributed by
4760         lorentey@elte.hu.
4762 2002-03-18  Colin Walters  <walters@verbum.org>
4764         * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
4765         we don't require `cl' at runtime.
4766         (sorting mode mode-name): Don't take the symbol-name of a string.
4768         * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
4769         line after setting the mark.
4770         (ibuffer-insert-buffers-and-marks): Invert the test for
4771         `ibuffer-sorting-reversep'.
4773 2002-03-18  Stefan Monnier  <monnier@cs.yale.edu>
4775         * international/ucs-tables.el (unify-8859-on-decoding-mode)
4776         (unify-8859-on-encoding-mode): Remove autoload cookie.
4778 2002-03-18  Andre Spiegel  <spiegel@gnu.org>
4780         * vc-rcs.el (vc-rcs-register): Fix handling of
4781         vc-[rcs-]register-switches.
4782         (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
4783         Variables removed, since they weren't used yet.
4785         * vc-cvs.el (vc-cvs-register): Fix handling of
4786         vc-[cvs-]register-switches.
4788         * vc-sccs.el (vc-sccs-register): Fix handling of
4789         vc-[sccs-]register-switches.
4791 2002-03-18  Stefan Monnier  <monnier@cs.yale.edu>
4793         * loadup.el ("emacs-lisp/backquote"): Load earlier.
4794         ("international/ucs-tables"): Load and turn on
4795         unify-8859-on-encoding-mode unconditionally.
4796         (emacs-version): Use `defconst' rather than `setq'.
4798         * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
4800 2002-03-18  Richard M. Stallman  <rms@gnu.org>
4802         * menu-bar.el (menu-bar-options-menu): Cope if
4803         text-mode-hook is not a list.
4805 2002-03-17  Richard M. Stallman  <rms@gnu.org>
4807         * emulation/pc-select.el (pc-selection-mode):
4808         Alter the existing global map, don't replace it.
4810         * files.el (list-directory): Set default-directory at the end.
4812         * dabbrev.el (dabbrev--goto-start-of-abbrev):
4813         Put a limit on field-beginning search.
4815 2002-03-17  Simon Josefsson  <jas@extundo.com>
4817         * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
4818         (browse-url-mosaic): Use it.
4820         * net/browse-url.el (browse-url-filename-alist): Don't begin
4821         docstring with *, you don't want to set this one with M-x set-variable.
4823         * net/browse-url.el: Put * in user option doc strings.
4825 2002-03-17  Stefan Monnier  <monnier@cs.yale.edu>
4827         * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
4828         (sgml-xml-guess): Simplify.
4829         (sgml-mode-common): Remove (move into sgml-mode).
4830         (sgml-mode): Add code from sgml-mode-common.
4831         Remove redundant setting of indent-line-function.
4832         Don't set skeleton-transformation when in XML mode.
4834         * international/mule-diag.el (describe-char-after):
4835         Use `internal-describe-syntax-value' again (got lost somewhere).
4837         * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
4838         Use unify-8859-on-decoding-mode.
4839         (unify-8859-on-decoding-mode): Also set translation-table-for-input.
4840         (ucs-insert): Give an error if the unicode char can't be created.
4842         * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
4843         (cvs-parse-status): Handle the "used to have a conflict" marker.
4845 2002-03-17  Kim F. Storm  <storm@cua.dk>
4847         The following changes are related to the enhanced network process
4848         support.
4850         * simple.el: Update copyright.
4851         (clone-process): Use make-network-process to clone network
4852         processes.  Get command list via (process-contact ... t).
4853         Use set-process-query-on-exit-flag and process-query-on-exit-flag
4854         instead of process-kill-without-query.
4855         (open-network-stream): Replaces C-version from process.c.
4856         (open-network-stream-nowait, open-network-stream-server): New funs.
4857         (process-kill-without-query): Replaces C-version from process.c.
4859         * files.el: Update copyright.
4860         (save-buffers-kill-emacs): Also check for active server
4861         processes.  Use process-query-on-exit-flag.  Only list processes
4862         which has the query-on-exit flag set in connection with user query.
4864         * shadowfile.el: Update copyright.
4865         (shadow-save-buffers-kill-emacs): Also check for active server
4866         processes.  Use process-query-on-exit-flag.
4868 2002-03-16  Simon Marshall  <simon.marshall@misys.com>
4870         * imenu.el (imenu-menubar-modified-tick): Renamed from
4871         imenu-update-menubar-modified-tick.
4872         (imenu-update-menubar): Update imenu-menubar-modified-tick
4873         whenever outer condition succeeds.
4875         * lazy-lock.el (save-buffer-state):
4876         Bind inhibit-modification-hooks and buffer-file-truename
4877         instead of before-change-functions and after-change-functions.
4879 2002-03-16  Eli Zaretskii  <eliz@is.elta.co.il>
4881         * international/codepage.el (codepage-setup): Don't define a
4882         codepage if it is already defined.
4884         * textmodes/po.el (po-content-type-charset-alist): Convert the
4885         car of each association to a string.
4886         (po-find-file-coding-system-guts): If the charset matches a name
4887         of a codepage, set up that codepage and return it as a coding
4888         system to decode the file.
4889         (po-find-charset): Search for the Charset= header even if we've
4890         read less than 4KB.
4891         <top-level>: Remove the setup for all known codepages: it seems
4892         to cause crashes in the CCL driver.
4894 2002-03-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
4896         * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
4897         (bibtex-entry-field-alist): Doc fix.
4899 2002-03-16  Richard M. Stallman  <rms@gnu.org>
4901         * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
4902         Move definition above cperl-outline-regexp.
4904         * bindings.el (mode-line-mule-info): In computing help-echo prop,
4905         avoid using save-window-excursion.  And compile the function.
4907 2002-03-15  Stefan Monnier  <monnier@cs.yale.edu>
4909         * files.el (load-completion): New function.
4910         (load-library): Use it.
4912 2002-03-15  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
4914         * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
4915         to match the actual code.
4917 2002-03-15  Eli Zaretskii  <eliz@is.elta.co.il>
4919         * textmodes/po.el (po-find-file-coding-system-guts):
4920         Use with-temp-buffer instead of po-with-temp-buffer.
4922         * international/mule-conf.el (file-coding-system-alist): Add an
4923         association for PO files.
4925         * textmodes/po.el: New file.
4927 2002-03-15  Gerd Moellmann  <gerd@gnu.org>
4929         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4930         Fix simple loop indentation.
4932 2002-03-14  Miles Bader  <miles@gnu.org>
4934         * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
4936 2002-03-14  Richard M. Stallman  <rms@gnu.org>
4938         * textmodes/picture.el (picture-insert)
4939         (picture-clear-column, picture-draw-rectangle):
4940         Use move-to-column, not move-to-column-force.
4942         * dired.el (dired-readin): Clear out undo list.
4943         (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
4944         (dired-delete-entry): New function.
4945         (dired-internal-do-deletions): Use dired-fun-in-all-buffers
4946         and dired-delete-entry, to update this buffer (and others).
4948         * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
4950         * facemenu.el (facemenu-add-new-face):
4951         Pass region args to facemenu-set-face, when there is a region.
4952         (facemenu-set-foreground, facemenu-set-background)
4953         (facemenu-add-face): Doc fixes.
4955         * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
4957 2002-03-14  Miles Bader  <miles@gnu.org>
4959         * emacs-lisp/debug.el: Require `button'.
4960         (debugger-mode-map): Set the parent keymap to `button-buffer-map',
4961         to get TAB and <backtab> bindings.
4963         * net/rlogin.el (rlogin-carriage-filter): Function removed.
4964         (rlogin): Don't install the `rlogin-carriage-filter' filter, as
4965         comint removes carriage returns itself now.
4967         * rfn-eshadow.el (rfn-eshadow-update-overlay):
4968         Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
4969         getting hosed by our own intangible property.
4971 2002-03-13  Stefan Monnier  <monnier@cs.yale.edu>
4973         * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
4974         Add fortran-comment-line-start-skip to comment-start-skip.
4975         (fortran-comment-indent): Keep whole-line comments in column 0.
4976         (fortran-find-comment-start-skip): New arg `all'.
4977         If ALL is nil, make sure we only match comment-start-skip if we
4978         can't match fortran-comment-line-start-skip.
4979         Fix bug that made it return t but without moving point when
4980         matching '!'! (a false-comment followed by a real comment).
4981         (fortran-indent-comment): Use new `all' argument above.
4982         Be careful not to add an incorrect comment-starter like "C"
4983         in comment-column.
4984         (fortran-split-line): When splitting a comment, reuse the comment
4985         starter from the current line rather than fortran-comment-line-start.
4986         (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
4987         cleaner behavior of fortran-find-comment-start-skip.
4988         (fortran-fill): Don't be confused by ! inside a comment.
4989         (fortran-break-line): Minor cleanup and simplification.
4991 2002-03-13  Francesco Potorti`  <pot@gnu.org>
4993         * progmodes/etags.el (tag-exact-file-name-match-p)
4994         (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
4995         simpler regexp.
4997 2002-03-12  Colin Walters  <walters@debian.org>
4999         * ibuffer.el (ibuffer-redisplay-current): Don't move point when
5000         redisplaying a line.
5002 2002-03-12  Jan D.  <Jan.Djarv@mbox200.swipnet.se>
5004         * term/x-win.el (emacs-session-restore): Take previous id as
5005         an argument.
5006         (emacs-session-save): Add comment that return t means cancel shutdown
5008         * startup.el (command-line): Must check that x-session-previous-id
5009         is bound also, for non-X platforms.
5011 2002-03-12  Gerd Moellmann  <gerd@gnu.org>
5013         * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
5014         (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
5015         New user options.
5016         (extended-loop-p, common-lisp-loop-part-indentation): New functions.
5017         (common-lisp-indent-function-1): Renamed from
5018         common-lisp-indent-function.
5019         (common-lisp-indent-function): Handle loop forms specially.
5020         (lisp-indent-defmethod): Use car/cdr instead of first/rest.
5021         (lisp-backquote-indentation): New user option.
5023 2002-03-12  Francesco Potorti`  <pot@gnu.org>
5025         * progmodes/etags.el (tag-exact-file-name-match-p)
5026         (tag-file-name-match-p, tag-partial-file-name-match-p):
5027         Assume that the header of a tags section has either a number
5028         or nothing after the last comma.
5030 2002-03-11  Richard M. Stallman  <rms@gnu.org>
5032         * imenu.el (imenu-update-menubar-modified-tick): New variable.
5033         (imenu-update-menubar): Don't call imenu--make-index-alist
5034         if buffer has not changed since last time.
5036         * desktop.el (desktop-buffer-handlers): Doc fix.
5037         (desktop-buffer-file): Explicitly return BUF.
5039         * paren.el (show-paren-function): Move back in other direction
5040         to verify the match is correct.
5042         * mail/supercite.el (sc-select-attribution): Accept whatever value
5043         we get in CHOICE; there is no value meaning "try again".
5045 2002-03-11  Colin Walters  <walters@verbum.org>
5047         * shell.el (toplevel): Revert previous change to use pcomplete.
5048         (shell-mode): Ditto.
5049         (shell-pcomplete-setup-done): Remove.
5050         (shell-pcomplete): Ditto.
5051         (shell-pcomplete-reverse): Ditto.
5053         * comint.el: Remove documentation on setting up pcomplete.
5055 2002-03-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5057         * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
5058         item.  Doc fix.
5060         * image.el (image-type-from-file-header): Make temporary buffer
5061         unibyte.
5063         * subr.el (add-to-list): Doc fix.
5065 2002-03-11  Miles Bader  <miles@gnu.org>
5067         * pcomplete.el (pcomplete-entries): Expand environment variables
5068         in filename.
5070 2002-03-10  Daniel Pfeiffer  <occitan@esperanto.org>
5072         * play/mpuz.el: Use defface instead of facemenu-get-face.
5074 2002-03-10  Jan D.  <Jan.Djarv@mbox200.swipnet.se>
5076         * startup.el (command-line): Add call to emacs-session-restore if
5077         both x-session-id and x-session-previous-id are strings.
5079         * term/x-win.el (x-handle-smid): New function.
5080         (emacs-session-filename): New function.
5081         (emacs-session-save): New function.
5082         (emacs-save-session-functions): New variable.
5083         (emacs-session-restore): New function.
5085 2002-03-09  Eli Zaretskii  <eliz@is.elta.co.il>
5087         * simple.el (shell-command-on-region): Call push-mark with
5088         non-nil second arg, to suppress the "Mark set" message.
5090 2002-03-08  Richard M. Stallman  <rms@gnu.org>
5092         * textmodes/picture.el (picture-forward-column): New arg `interactive'
5093         is non-nil for an interactive call.  Use instead of interactive-p.
5094         (picture-backward-column): Likewise.
5096         * tar-mode.el (tar-untar-buffer): New function.
5098         * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
5099         Put the mouse-face on the entire xref, like the local keymap.
5101         * find-dired.el (find-name-dired): Use shell-quote-argument.
5103 2002-03-08  Daniel Pfeiffer  <occitan@esperanto.org>
5105         * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
5106         (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
5107         (mpuz-allow-double-multiplicator): New options for nicer look and
5108         new features.
5109         (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
5110         (mpuz-check-all-solved, mpuz-random-puzzle)
5111         (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
5112         (mpuz-show-solution): Functions streamlined and removed french
5113         style space before punctuation, added face support and optional
5114         solving of trivial results.
5116 2002-03-07  Colin Walters  <walters@verbum.org>
5118         * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
5120         * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
5121         instead of "recency" for clarity.
5122         (ibuffer-compile-format): Document more.  Handle new "summarizer"
5123         columns.
5124         (ibuffer-fontify-region-function): Ditto.
5125         (ibuffer-insert-buffer-line): Ditto.
5126         (ibuffer-map-lines): Ditto.
5127         (ibuffer-insert-buffers-and-marks): Ditto.
5128         (ibuffer-update-title-and-summary): Renamed from
5129         `ibuffer-update-title'.  Handle "summarizer" columns.
5130         (ibuffer-clear-summary-columns): New function.
5132         * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
5134 2002-03-07  Gerd Moellmann  <gerd@gnu.org>
5136         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5137         Use the other-window instead of the other-frame functions when
5138         the window is dedicated.
5140 2002-03-06  ShengHuo ZHU  <zsh@cs.rochester.edu>
5142         * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
5143         with SILENT so that a new field can be added.
5145 2002-03-06  Eli Zaretskii  <eliz@is.elta.co.il>
5147         * files.el (make-auto-save-file-name): Make sure the produced file
5148         name does not contain characters that are invalid for DOS/Windows
5149         filesystems.
5151         * dos-fns.el, w32-fns.el (make-auto-save-file-name):
5152         Remove replacement functions.
5154 2002-03-06  Gerd Moellmann  <gerd@gnu.org>
5156         * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
5157         the form `:x'.
5159         * vc.el (vc-branch-part): Add autoload cookie.  This function can
5160         be called from vc-rcs-find-most-recent-rev when visiting a file
5161         checked into RCS in a CVS sandbox.
5163 2002-03-06  Andreas Schwab  <schwab@suse.de>
5165         * progmodes/hideif.el: Augment expression parser to handle
5166         conditional expressions.
5167         (hif-token-regexp): Also match `?' and `:'.
5168         (hif-tokenize): Handle `?' and ':' as tokens.
5169         (hif-expr): Parse conditional expressions.
5170         (hif-or-expr): Parse `||' expressions.
5171         (hif-and-expr): Renamed from hif-term.
5172         (hif-conditional): New function to evaluate a conditional
5173         expression.
5175 2002-03-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5177         * language/czech.el ("Czech"): Fix the documentation.
5179         * language/slovak.el ("Slovak"): Likewise.
5181 2002-03-05  ShengHuo ZHU  <zsh@cs.rochester.edu>
5183         * xml.el (xml-parse-attlist): Accept empty strings.
5185 2002-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
5187         * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
5188         all terminals now support highlighting of some kind.
5190         * language/european.el (mac-roman): Fix the safe-chars property.
5192 2002-03-05  Andre Spiegel  <spiegel@gnu.org>
5194         * vc.el (vc-transfer-file): Use `make-temp-file'.
5195         (vc-default-update-changelog): Remove conditional use of
5196         `make-temp-name'.
5198         * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
5200 2002-03-05  Michael Kifer  <kifer@cs.stonybrook.edu>
5202         * ediff-init.el: Comments.
5204         * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
5205         is loaded.
5207         * ediff-mult.el (ediff-intersect-directories)
5208         (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
5209         Cleanup.
5210         (ediff-draw-dir-diffs): Now supports the "C" command in directory
5211         difference buffer.
5212         (ediff-dir-diff-copy-file): New function that implements copying
5213         of files from one Ediff dir to another
5214         (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
5215         (ediff-append-custom-diff): Better error msgs.
5217         * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
5218         (ediff-inferior-compare-regions): Use
5219         ediff-clone-buffer-for-region-comparison. Better and simpler interface.
5221         * ediff.el (ediff-directories-internal): Cleanup.
5222         (ediff-clone-buffer-for-region-comparison): Better interface.
5224 2002-03-04  Richard M. Stallman  <rms@gnu.org>
5226         * emacs-lisp/easy-mmode.el (define-minor-mode):
5227         Use "P" in interactive spec of minor mode commands.
5229 2002-03-04  Stefan Monnier  <monnier@cs.yale.edu>
5231         * faces.el (face-spec-choose): Allow `t' to appear before the end.
5232         (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
5233         (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
5234         (variable-pitch, trailing-whitespace): Don't use the old-style entries.
5235         (mode-line-inactive, header-line): Move the `t' section to the
5236         beginning so the `:inherit' setting can be shared.
5238 2002-03-04  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5240         * net/snmp-mode.el: Require tempo when compiling to prevent
5241         warnings.  Update copyright notice.
5243         * help.el (describe-key-briefly, describe-key): Interpret `undefined'
5244         like not defined at all.
5246 2002-03-03  Stefan Monnier  <monnier@cs.yale.edu>
5248         * textmodes/sgml-mode.el: Change maintainer to FSF.
5249         (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
5250         (sgml-tags-invisible, sgml-beginning-of-tag):
5251         Allow _ : and non-ASCII in tag names, as required for XML.
5252         (sgml-name-char): Don't assume anything about charsets handled by
5253         encode-char.
5255         * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
5256         where one of the buffers is narrowed.
5258         * hexl.el (hexlify-command, dehexlify-command): Remove.
5259         (hexlify-buffer, dehexlify-buffer): Use call-process-region
5260         rather than shell-command-on-region.
5262         * newcomment.el (comment-forward): Use forward-comment to skip
5263         over whitespace (or comments) even when comment-use-syntax is nil.
5265         * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
5267         * textmodes/xml-lite.el: New file.
5269 2002-03-03  Richard M. Stallman  <rms@gnu.org>
5271         * textmodes/artist.el (artist-system): Use make-temp-file.
5273         * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
5275         * mail/sendmail.el (mail-recover-1): Increase non-random-len
5276         by 1 since we changed make-auto-save-file-name to add one
5277         fewer character to the buffer name.
5278         (mail-recover): Really show point at the right place
5279         in the *Directory* buffer.
5281         * files.el (make-auto-save-file-name): Use make-temp-file.
5283         * terminal.el (te-create-terminfo): Use make-temp-file
5284         to create the source file in a safe way.
5286 2002-03-03  Eli Zaretskii  <eliz@is.elta.co.il>
5288         * cus-start.el: Rename automatic-hscroll-step and
5289         automatic-hscroll-margin into hscroll-step and hscroll-margin.
5291         * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
5292         (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
5294         * mouse.el (mouse-region-delete-keys): Add deletechar.
5296 2002-03-03  Sam Steingold  <sds@gnu.org>
5298         * play/snake.el (snake-score-file): Fixed parens (broken by the
5299         last patch).
5300         * play/tetris.el (tetris-score-file): Ditto.
5302 2002-03-03  Richard M. Stallman  <rms@gnu.org>
5304         * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
5306         * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
5308         * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
5309         (gamegrid-make-mono-tty-face): Fix usage of condition-case.
5311 2002-03-03  Thien-Thi Nguyen  <ttn@gnu.org>
5313         * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
5314         instead of `buffer-substring-no-properties' to support enriched mode.
5316 2002-03-02  Richard M. Stallman  <rms@gnu.org>
5318         * find-dired.el (find-grep-dired): Call shell-quote-argument.
5319         Specify the -e option.
5320         Rename arg to `regexp'.
5322 2002-03-02  Milan Zamazal  <pdm@zamazal.org>
5324         * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
5326 2002-03-02  Miles Bader  <miles@gnu.org>
5328         * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
5329         event-modifiers before looking up in `mouse-wheel-scroll-amount'.
5330         If there's no applicable modifiers entry in the alist in
5331         `mouse-wheel-scroll-amount', fall back to the default, not to
5332         nil (which causes full screen scrolls).
5334 2002-03-01  Andreas Schwab  <schwab@suse.de>
5336         * textmodes/texnfo-upd.el (texinfo-start-menu-description):
5337         Remove extra paren in regexp.
5339 2002-03-01  Eli Zaretskii  <eliz@is.elta.co.il>
5341         * mouse.el (mouse-show-mark): Use display-mouse-p, not
5342         display-graphic-p, to decide whether to move point or use the
5343         highlighting.
5345 2002-02-28  Colin Walters  <walters@verbum.org>
5347         * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
5349         * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
5350         `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
5351         (calc-temp-file-name): Use `make-temp-file'.
5353 2002-02-28  Richard M. Stallman  <rms@gnu.org>
5355         * font-lock.el (java-font-lock-extra-types):
5356         Match java.net.URL, etc.
5358 2002-02-28  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5360         * hexl.el (hexl-options): Doc fix.
5361         Update Commentary section.
5363         * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
5364         Doc fixes.
5366 2002-02-28  Andre Spiegel  <spiegel@gnu.org>
5368         * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
5369         the user to do that first.
5370         (vc-update): New function.
5372         * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
5373         which calls vc-update.  Use the term "Base Version" instead of
5374         "Last Version" for the entries "Revert" and "Compare".
5376 2002-02-28  Kim F. Storm  <storm@cua.dk>
5378         * simple.el (shell-command-on-region): Report non-zero exit
5379         status in mode line instead of buffer.
5381 2002-02-27  Richard M. Stallman  <rms@gnu.org>
5383         * comint.el (comint-preoutput-filter-functions): Doc fix.
5384         (comint-output-filter-functions, comint-input-filter-functions)
5385         (comint-redirect-filter-functions): Likewise.
5387         (comint-redirect-preoutput-filter): Do the local-hook
5388         handling of t when running comint-redirect-filter-functions.
5389         (comint-output-filter): Likewise for comint-preoutput-filter-functions.
5391 2002-02-26  Richard M. Stallman  <rms@gnu.org>
5393         * paths.el (remote-shell-program): Add doc string.
5395 2002-02-26  Colin Walters  <walters@debian.org>
5397         * ibuf-ext.el (sorter mode-name): New.
5398         (ibuffer-do-occur): Don't quote ibuffer-marked-char.
5400         * calc/calc-ext.el (calc-scroll-left): Call scroll-left
5401         interactively, so they do something.
5402         (calc-scroll-right): Ditto.
5404 2002-02-26  Eli Zaretskii  <eliz@is.elta.co.il>
5406         * international/mule.el (ctext-pre-write-conversion): Handle the
5407         case when FROM is a string, and when we are called from
5408         build_annotations_2.
5410 2002-02-26  Richard M. Stallman  <rms@gnu.org>
5412         * rect.el (clear-rectangle-line): Reindent to the same column
5413         that move-to-column reached when it tried to go to endcol.
5415         * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
5417 2002-02-26  Ivar Rummelhoff  <ivarru@math.uio.no>
5419         * winner.el (winner-boring-buffers, winner-set): A window which
5420         displays a buffer whose name is in the list
5421         `winner-boring-buffers', will no longer be restored by `winner-undo'.
5422         (winner-sorted-window-list): Used to improve comparison between
5423         window configurations.
5424         (winner-win-data): Simplified and moved.
5425         (winner-conf): Simplified (now uses `winner-win-data').
5426         (winner-change-fun, winner-save-old-configurations)
5427         (winner-save-(un)conditionally, winner-redo): Changes made while in
5428         the minibuffer will be ignored.  (Such changes are undone upon
5429         exit for the minibuffer, anyway.)
5430         (winner-set-conf): Preserve selected window whenever possible.
5431         (winner-make-point-alist): Simplified.
5432         (winner-mode, winner-save-unconditionally): Save current window
5433         configuration on entering minibuffer.
5434         (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
5435         since it does not change the overall behavior of Emacs.
5437 2002-02-26  Eli Zaretskii  <eliz@is.elta.co.il>
5439         * international/mule-conf.el (compound-text): Renamed back from
5440         compound-text-no-extensions.
5441         (ctext-no-compositions): Remove the mime-charset property.
5442         (compound-text-with-extensions): Renamed from compound-text.
5443         (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
5445 2002-02-26  Juanma Barranquero  <lektu@terra.es>
5447         * faces.el (list-faces-display): Fix typo.
5449 2002-02-25  Richard M. Stallman  <rms@gnu.org>
5451         * frame.el (focus-follows-mouse): Doc fix.
5453 2002-02-26  Miles Bader  <miles@gnu.org>
5455         * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
5456         to `define-key', since it no longer accepts the latter.
5458 2002-02-25  Jason Rumney  <jasonr@gnu.org>
5460         * term/w32-win.el (mouse-wheel-scroll-line): Use car of
5461         mouse-wheel-scroll-amount.
5463         * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
5464         mwheel.el.
5466         * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
5468 2002-02-25  Andre Spiegel  <spiegel@gnu.org>
5470         * vc.el (vc-diff-switches-list): Fix prev change, making the macro
5471         consistent with the others that take a backend name as a symbol.
5473         * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
5475 2002-02-25  Kim F. Storm  <no-spam@cua.dk>
5477         * comint.el (comint-replace-by-expanded-filename): Do nothing if
5478         comint-match-partial-filename returns nil.
5480         * shell.el (shell-pcomplete-setup-done): New variable.
5481         (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
5482         (shell-pcomplete-reverse): Ditto.
5484 2002-02-25  Per Abrahamsen  <abraham@dina.kvl.dk>
5486         * ps-print.el (ps-print-printer): Added `lpr' customize group member.
5488 2002-02-25  Juanma Barranquero  <lektu@terra.es>
5490         * subr.el (save-match-data): Doc fix.
5492         * ielm.el (ielm-prompt): Allow customization; make it read-only.
5494 2002-02-25  Kim F. Storm  <storm@cua.dk>
5496         * shell.el (shell-mode-map): Add "Complete" header so completion
5497         menu is shown on the menu bar in shell mode.
5499 2002-02-25  Stefan Monnier  <monnier@cs.yale.edu>
5501         * ielm.el (ielm-match-data): New var.
5502         (inferior-emacs-lisp-mode): Make it buffer-local.
5503         (ielm-eval-input): Use it to preserve match-data between inputs.
5505 2002-02-24  Juanma Barranquero  <lektu@terra.es>
5507         * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
5509 2002-02-24  Per Abrahamsen  <abraham@dina.kvl.dk>
5511         * cus-edit.el (custom-unlispify-remove-prefixes): Add to
5512         `custom-buffer' customize group.
5514 2002-02-23  Kim F. Storm  <storm@cua.dk>
5516         * help.el (where-is): Use remap-command.
5518         * help-fns.el (describe-function-1): Use remap-command.
5520         * subr.el (global-set-key, local-set-key): Undo 2002-02-06
5521         change (no longer accept a symbol for the KEY argument).
5523 2002-02-23  Colin Walters  <walters@debian.org>
5525         * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
5526         * calc/calcalg2.el (math-solve-get-sign): Ditto.
5528         * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
5529         in generated function.
5531         * ibuf-ext.el (ibuffer-old-time): Change to hours.
5532         (ibuffer-mark-old-buffers): Handle it.
5534         * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
5535         (toplevel): Bind them.
5536         (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
5537         not necessary now that we use pcomplete.
5539         * comint.el: Document how use new pcomplete completion facility.
5541 2002-02-23  Richard M. Stallman  <rms@gnu.org>
5543         * mail/rmailsum.el (rmail-summary-output): Properly advance
5544         to next message, by calling rmail-summary-goto-msg.
5546         * net/browse-url.el (browse-url-galeon): Specify --existing
5547         for an existing window.  Use --noraise rather than --no-raise.
5548         Don't use -x.
5550 2002-02-22  Eli Zaretskii  <eliz@is.elta.co.il>
5552         * progmodes/etags.el (find-tag-noselect, find-tag)
5553         (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
5554         Fix a typo in doc strings.
5556 2002-02-20  Deepak Goel  <deego@glue.umd.edu>
5558         * play/snake.el (snake-velocity-queue, snake-update-velocity)
5559         (snake-final-x-velocity, snake-final-y-velocity):
5560         New variable and functions.  Store user's keypresses
5561         into a queue and pop from the queue each subsequent turn.
5562         (snake-update-game, snake-move-left)
5563         (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
5564         (snake-start-game): Use that queue.
5565         (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
5566         (snake-use-color-flag): Likewise.
5567         (snake-mode): Rename uses of those variables.
5569 2002-02-22  Eli Zaretskii  <eliz@is.elta.co.il>
5571         Support for ICCCM  Extended Segments in X selections:
5573         * international/mule-conf.el (ctext-no-compositions): New coding
5574         system.
5575         (compount-text-no-extensions): Renamed from compound-text.
5576         (x-ctext-no-extensions, ctext-no-extensions): Aliases for
5577         compound-text-no-extensions.
5578         (compound-text): Redefined using post-read and pre-write conversions.
5580         * international/mule.el (non-standard-icccm-encodings-alist)
5581         (non-standard-designations-alist): New variables.
5582         (ctext-post-read-conversion, ctext-pre-write-conversion):
5583         New functions.
5585 2002-02-21  Jonathan Kamens  <jik@kamens.brookline.ma.us>
5587         * vc.el (vc-default-init-version): Update documentation to
5588         indicate that the backend can override the default init version.
5589         (vc-register): Use the backend init-version function, if it
5590         exists, to determine the initial version of a file.
5591         (vc-diff-switches-list): Don't symbol-quote backend, since it's
5592         already a symbol.  Don't fail if vc-BACKEND-diff-switches isn't bound.
5594         * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
5595         not version-controlled.  This is necessary, e.g., if the file has
5596         just been reverted, and thus was previously under version control
5597         but isn't any longer.
5598         (vc-find-file-hook): Likewise.
5600 2002-02-21  Martin Lorentzson  <Martin.Lorentzson@telia.com>
5602         * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
5603         (vc-cvs-sticky-tag-display): New variable.
5604         (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
5605         (vc-cvs-checkin): If the input revision is a valid symbolic tag
5606         name, we create it as a branch, commit and switch to it.
5607         (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
5608         (vc-cvs-valid-symbolic-tag-name-p): New function.
5609         (vc-cvs-parse-sticky-tag): New function.
5610         (vc-cvs-parse-entry): Added parsing of sticky tags.
5612 2002-02-21  Per Abrahamsen  <abraham@dina.kvl.dk>
5614         * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
5615         nil, and then explicitly set the standard-value to t.
5617 2002-02-20  Sam Steingold  <sds@gnu.org>
5619         * textmodes/flyspell.el (flyspell-mode): Autoload the variable
5620         since it is used in the menu bar.
5622 2002-02-20  Richard M. Stallman  <rms@gnu.org>
5624         * simple.el (shell-command-on-region): Display the exit status
5625         when a command fails.
5627         * subr.el (add-hook): Doc fix.
5629         * frame.el (other-frame): Doc fix.
5631         * simple.el (yank): Clear `field' property.
5633 2002-02-20  Tom Tromey  <tromey@cachet>
5635         * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
5636         natural paragraph boundaries.  Don't fail at beginning of buffer.
5638 2002-02-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5640         * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
5641         call the argument "arg" to match plain next-line and
5642         previous-line.  From Kevin Ryde <user42@zip.com.au>.
5644 2002-02-19  Sam Steingold  <sds@gnu.org>
5646         * mwheel.el (mouse-wheel-scroll-amount): Can specify different
5647         scroll amounts for different modifiers now.
5648         (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
5649         format properly.
5650         (mouse-wheel-mode): Ditto.
5652 2002-02-19  Eli Zaretskii  <eliz@is.elta.co.il>
5654         * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
5655         around function body.
5657         * net/browse-url.el (browse-url-maybe-new-window): Reverse the
5658         sense of the comparison, to match the doc strings of functions
5659         that use this macro.
5661 2002-02-19  Per Abrahamsen  <abraham@dina.kvl.dk>
5663         * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
5665         * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
5666         * menu-bar.el (menu-bar-mode): Ditto.
5668 2002-02-18  Andreas Schwab  <schwab@suse.de>
5670         * replace.el (query-replace-regexp-eval): Doc fix.
5672 2002-02-18  Colin Walters  <walters@verbum.org>
5674         * calc/calcalg2.el (math-solve-get-int): Convert return value from
5675         `math-get-from-counter' to a string before calling `concat' on it.
5677         * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
5678         (calc-public-autoloads): Obsolete; remove.
5679         (calc-private-autoloads): Ditto.
5680         (calc-add-autoloads): Ditto.
5682         * calc/calc-macs.el (calc-with-default-simplification): Use &rest
5683         for body.
5685 2002-02-17  Jason Rumney  <jasonr@gnu.org>
5687         * w32-win.el (x-option-alist, x-long-option-alist)
5688         (x-switch-definitions): Remove, use command-line-x-option-alist
5689         instead to be consistent with X.
5690         (x-handle-initial-switch): New function.
5692 2002-02-17  Eli Zaretskii  <eliz@is.elta.co.il>
5694         * faces.el (mode-line-inactive, header-line): Add the :inherit
5695         attribute for the tty case.
5697 2002-02-17  stanislav shalunov  <shalunov@internet2.edu>
5699         * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
5700         invoked from Rmail with full headers displayed.
5702 2002-02-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
5704         * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
5705         when repeated.
5706         * textmodes/paragraphs.el (mark-paragraph): Ditto.
5708 2002-02-17  Per Abrahamsen  <abraham@dina.kvl.dk>
5710         * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
5711         (menu-bar-tools-menu): Removed speedbar.
5713         * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
5714         and `flyspell-mode' entries.
5716         * textmodes/flyspell.el (flyspell): Add to ispell group.
5718 2002-02-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
5720         * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
5721         repeated.
5722         (mark-defun): Mark more if repeated.
5724 2002-02-17  Colin Walters  <walters@verbum.org>
5726         * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
5728         * ibuffer.el (ibuffer-truncate-lines): New option.
5729           (ibuffer-mode):  Use it.
5731 2002-02-17  Kim F. Storm  <storm@cua.dk>
5733         * cus-start.el: Add mouse-highlight.
5735 2002-02-16  Eli Zaretskii  <eliz@is.elta.co.il>
5737         * Makefile.in (DONTCOMPILE): Remove cus-start.el.
5739         * cus-start.el: Add automatic-hscroll-margin and
5740         automatic-hscroll-step.
5742 2002-02-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5744         * cus-start.el (x-autoselect-window): Allow customization.
5746         * eshell/em-alias.el (eshell-alias-initialize): Do not use
5747         make-local-hook.
5749         * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
5751         * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
5753         * eshell/em-glob.el (eshell-glob-initialize): Likewise.
5755         * eshell/em-hist.el (eshell-hist-initialize): Likewise.
5757         * eshell/em-pred.el (eshell-pred-initialize): Likewise.
5759         * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
5761         * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
5763         * eshell/em-smart.el (eshell-smart-initialize): Likewise.
5765         * eshell/em-unix.el (eshell-unix-initialize): Likewise.
5767         * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
5769         * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
5771         * eshell/esh-io.el (eshell-io-initialize): Likewise.
5773         * eshell/esh-mode.el (eshell-mode): Likewise.
5775         * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
5777         * eshell/esh-var.el (eshell-var-initialize): Likewise.
5779         * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
5781         * progmodes/idlwave.el (idlwave-mode): Likewise.
5783         * textmodes/reftex-sel.el (reftex-select-label-mode)
5784         (reftex-select-bib-mode): Likewise.
5786 2002-02-16  John Wiegley  <johnw@gnu.org>
5788         * eshell/em-hist.el (eshell-hist-initialize): When in the
5789         minibuffer, use the global value of `eshell-history-ring', and
5790         never save it to disk, or ask to save it to disk.  This allows
5791         users of session.el to control whether its global state should be
5792         persisted or not.
5793         (eshell-add-command-to-history): Don't write Eshell's history out
5794         to disk, let the governing mode control that upon exit.
5796 2002-02-16  Eli Zaretskii  <eliz@is.elta.co.il>
5798         * eshell/eshell.el (eshell-command): Before reading from the
5799         minibuffer, add eshell-add-command-to-history to
5800         minibuffer-exit-hook, and remove it after read-from-minibuffer
5801         returns.
5803         * eshell/em-hist.el (eshell-add-input-to-history): New function,
5804         with most of the code from eshell-add-to-history.
5805         (eshell-add-command-to-history): New function, to record in
5806         eshell-history the commands run via eshell-command.
5807         (eshell-add-to-history): Call eshell-add-command-to-history to do
5808         most of the work.
5810 2002-02-16  John Wiegley  <johnw@gnu.org>
5812         * eshell/esh-ext.el (eshell-external-command): Added a fix for
5813         XEmacs' new dired.el, which adds a global entry in the
5814         `file-name-handler-alist'.
5816 2002-02-16  John Wiegley  <johnw@gnu.org>
5818         * align.el (align-region): Added a missing name argument.
5820 2002-02-16  John Wiegley  <johnw@gnu.org>
5822         * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
5823         after the #! of a shell interpretor specification.
5825 2002-02-15  Richard M. Stallman  <rms@gnu.org>
5827         * help.el (describe-key-briefly): Make output in INSERT case
5828         look just like what is displayed in the normal case.
5830 2002-02-15  Andreas Schwab  <schwab@suse.de>
5832         * textmodes/tex-mode.el (tex-font-lock-keywords-2):
5833         Require non-letter after specials.
5835 2002-02-15  Eli Zaretskii  <eliz@is.elta.co.il>
5837         * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
5839 2002-02-15  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
5841         * simple.el (mark-word): Mark more if repeated.
5842         * textmodes/paragraphs.el (mark-paragraph): Ditto.
5843         (mark-end-of-sentence): Ditto.
5845 2002-02-15  Per Abrahamsen  <abraham@dina.kvl.dk>
5847         * wid-edit.el (widgetp): Made it more robust.
5849 2002-02-14  Per Abrahamsen  <abraham@dina.kvl.dk>
5851         * facemenu.el (describe-text-done): New function.
5852         (describe-text-mode-map): New variable.
5853         (describe-text-mode-hook): New option.
5854         (describe-text-mode): New function.
5855         (describe-text-widget): New function.
5856         (describe-text-sexp): New function.
5857         (describe-text-properties): New function.
5858         (describe-text-category): New command.
5859         (describe-text-at): New command.
5860         (facemenu-menu): Replace `list-text-properties-at' with
5861         `describe-text-at' in the menu.
5863         * wid-edit.el (widgetp): New function.
5864         * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
5866         * emacs-lisp/pp.el (pp-to-string): Autoloaded.
5868         * wid-browse.el: Removed version and x-url keywords.
5870 2002-02-13  Kim F. Storm  <storm@cua.dk>
5872         * cus-start.el (mode-line-in-non-selected-windows):
5873         Allow customization.
5875 2002-02-13  Richard M. Stallman  <rms@gnu.org>
5877         * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
5878         Tell bibtex-parse-keys to output no progress messages.
5880 2002-02-12  Eli Zaretskii  <eliz@is.elta.co.il>
5882         * progmodes/pascal.el (pascal-imenu-generic-expression):
5883         Add menu-title and fix parentheses.
5885 2002-02-12  Per Abrahamsen  <abraham@dina.kvl.dk>
5887         * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
5888         (menu-bar-options-menu): Don't set default value for `truncate-lines'.
5890 2002-02-12  Per Abrahamsen  <abraham@dina.kvl.dk>
5892         * menu-bar.el (menu-bar-options-save): Only save
5893         `current-language-environment' and `default-input-method' when
5894         marked as customized.
5896         * international/mule-cmds.el
5897         (setup-specified-language-environment):
5898         Mark `current-language-environment' as customized.
5899         (set-input-method): Mark `default-input-method' as customized when
5900         called interactively.
5901         (toggle-input-method): Ditto.
5903 2002-02-11  Colin Walters  <walters@verbum.org>
5905         * ibuffer.el (ibuffer-switch-format): Supply required argument for
5906         `ibuffer-current-formats'.
5908 2002-02-11  Miles Bader  <miles@gnu.org>
5910         * faces.el (mode-line-inactive): Add dark-background variant.
5912 2002-02-11  Per Abrahamsen  <abraham@dina.kvl.dk>
5914         * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
5915         * menu-bar.el (menu-bar-mode): Ditto.
5916         * cus-edit.el (customize-mark-to-save): Always save variables
5917         without a standard value.
5919         * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
5920         (menu-bar-options-save): Ditto.
5921         (menu-bar-showhide-menu): Ditto.
5922         (menu-bar-options-menu): Ditto.
5923         (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
5924         (menu-bar-scroll-bar-none): Remove.
5925         (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
5926         expressions instead.
5928         * cus-edit.el (customize-set-value): Return value.
5929         (customize-set-variable): Ditto.
5930         (customize-save-variable): Ditto.
5931         (customize-set-variable): Load dependencies before setting value.
5932         (custom-load-symbol): Autoload it.
5933         (customize-mark-as-set): New function.
5935 2002-02-11  Eli Zaretskii  <eliz@is.elta.co.il>
5937         * cus-start.el: Don't warn about "x-*" symbols when building a
5938         non-GUI version.
5940 2002-02-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5942         * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
5943         Doc fix.
5944         (strokes-help): Do not use doubled with-output-to-temp-buffer.
5945         Fix the help string.
5946         (strokes-prompt-user-save-strokes): Fix typo.
5947         (strokes-list-strokes): Use proper exit-action argument for
5948         view-buffer.  Update copyright notice.
5950         * international/mule-diag.el: Various doc and message fixes.
5951         (non-iso-charset-alist): Add mac-roman.  Don't add entries for
5952         codepages already present.
5953         (list-block-of-chars): Display space for null entries in
5954         translation table.  Display tab specially.
5955         (list-non-iso-charset-chars): Check for null charsets.  Use pop
5956         for clarity.  Don't break 8-bit sets into sections between ranges.
5957         (list-charset-chars): Avoid indent-tabs-mode.
5958         (describe-char-after): Maybe use the text property for syntax
5959         table information.  Maybe report char-code-property-table info.
5960         Maybe report character's unicode.  Tweak printing of list info.
5961         (list-input-methods): Add xref buttons.
5962         (dump-charsets, dump-codings): Deleted (obsolete).
5963         From Dave Love <fx@gnu.org>.
5965 2002-02-10  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5967         * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
5969 2002-02-10  Michael Kifer  <kifer@cs.stonybrook.edu>
5971         * viper-util.el (viper-read-key-sequence): Fix so it'll read
5972         fast key sequences in emacs native mode
5973         (viper-events-to-keys): Delete.
5975         * viper.el (describe-key, describe-key-briefly): Get rid of
5976         viper-events-to-keys.
5978         * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
5980         * ediff-wind.el (ediff-setup-control-frame):
5981         Use ediff-has-gutter-support.
5983         * ediff-util.el (ediff-dispose-of-variant-according-to-user):
5984         check if buff is alive.
5986         * ediff.el: Typo in comment.
5988 2002-02-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
5990         * menu-bar.el (menu-bar-options-save): Take care of
5991         line-number-mode and column-number-mode variables.
5992         (menu-bar-showhide-menu): New menu-items "Show Line Number" and
5993         "Show Column Number" in "Show/Hide" menu.
5995 2002-02-09  Richard M. Stallman  <rms@gnu.org>
5997         * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
5999 2002-02-09  Kim F. Storm  <storm@cua.dk>
6001         * faces.el (mode-line-inactive): New face for mode-line for
6002         non-selected windows.
6003         (mode-line): Doc fix: Only used for selected window.
6005 2002-02-08  Eli Zaretskii  <eliz@is.elta.co.il>
6007         * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
6008         name to "Insert Diary Entry".
6010 2002-02-08  Stefan Monnier  <monnier@cs.yale.edu>
6012         * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
6013         (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
6015 2002-02-08  Richard M. Stallman  <rms@gnu.org>
6017         * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
6019 2002-02-08  Andreas Schwab  <schwab@suse.de>
6021         * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
6022         of point-min.
6024 2002-02-08  Eli Zaretskii  <eliz@is.elta.co.il>
6026         * net/ange-ftp.el (ange-ftp-process-handle-line)
6027         (ange-ftp-set-xfer-size): If the file's size is a float, divide
6028         by 1024 instead of using ash.
6030         * international/mule-cmds.el (select-safe-coding-system):
6031         State the buffer's name in the message popped in the *Warning* buffer,
6032         and make sure the offending buffer is displayed.
6034 2002-02-07  Markus Rost  <rost@math.ohio-state.edu>
6036         * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
6038 2002-02-07  Richard M. Stallman  <rms@gnu.org>
6040         * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
6042         * register.el (list-registers): New command.
6043         (describe-register-1): New subroutine, taken out of view-register.
6045         * emacs-lisp/copyright.el (copyright-regexp):
6046         Delete the unibyte copyright symbol; it's redundant.
6047         Fix a spazz in the multibyte encoding here.
6049 2002-02-07  Dave Love  <fx@gnu.org>
6051         * language/cyril-util.el (cyrillic-encode-koi8-r-char)
6052         (cyrillic-encode-alternativnyj-char): Get translation tables from
6053         symbol properties, not as variables.
6054         (standard-display-cyrillic-translit): Include unicodes.
6056 2002-02-06  Kim F. Storm  <storm@cua.dk>
6058         * help.el (where-is): Report remapped commands.
6060         * help-fns.el (describe-function-1): Ditto.
6062         * subr.el (global-set-key, local-set-key): Accept a symbol for the
6063         KEY argument (like define-key).
6065 2002-02-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6067         * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
6069 2002-02-06  Richard M. Stallman  <rms@gnu.org>
6071         * mail/mailabbrev.el: Require sendmail only at compile time.
6072         (mail-mode-header-syntax-table): Var deleted.
6073         (mail-abbrev-syntax-table): Init to nil, will compute when needed.
6074         (sendmail-pre-abbrev-expand-hook): Only temporarily change
6075         local-abbrev-table and the syntax table.
6076         Compute mail-abbrev-syntax-table if that has not been done.
6078         * progmodes/compile.el (grep-compute-defaults): Definition moved up.
6080         * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
6081         (debugger-frame-number): Figure out the offset directly.
6082         (debugger-setup-buffer): Don't use debugger-frame-offset.
6083         (debugger-frame, debugger-frame-clear): Likewise.
6084         (debugger-jump): Don't alter debugger-frame-offset.
6086         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
6087         Replace foo-p as var name with foo-flag, not foo-p-flag.
6089         * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
6090         (highlight-changes-passive-string): Default to -Chg.
6091         (highlight-changes-global-modes): Doc fix.
6093         * dired.el (dired-get-filename): Add /: when appropriate
6094         to avoid taking a local name as remote.
6096         * files.el (file-name-non-special): Add special handling for
6097         file-name-sans-versions, file-name-completion, and
6098         file-name-all-completions.
6100         * isearch.el (isearch-update): Don't update display in kbd macro.
6101         (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
6103         * subr.el (force-mode-line-update): Doc fix.
6105         * subr.el (atomic-change-group, prepare-change-group)
6106         (activate-change-group, accept-change-group, cancel-change-group):
6107         New functions.
6109         * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
6110         (transpose-subr-1): Use atomic-change-group.
6112         * subr.el (add-minor-mode): Include the mode's lighter string
6113         in the minor mode menu item name.
6115         * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
6116         rmail-count-screen-lines starting from (point-min).
6118         * startup.el (use-fancy-splash-screens-p): Need 19 lines,
6119         beyond the image height, to use the fancy splash screen.
6121         * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
6122         (text-mode): Set text-mode-variant here.
6124 2002-02-06  Eli Zaretskii  <eliz@is.elta.co.il>
6126         * play/pong.el (pong-height): Don't use height that exceeds the
6127         frame height.
6128         (pong-border-options): Make the border colors slightly more bright.
6130         * play/gamegrid.el (gamegrid-display-type): Treat any
6131         color-capable display as color-x, if display-color-p is fboundp.
6132         (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
6133         (gamegrid-make-color-tty-face): Use the value of color, not the
6134         symbol itself.  Don't call gamegrid-color.
6136 2002-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
6138         * gud.el (gud-refresh): Call recenter only after we are sure we
6139         are in the right window.
6141 2002-02-05  Per Abrahamsen  <abraham@dina.kvl.dk>
6143         * cus-edit.el (customize-mark-to-save): New function.
6144         * menu-bar.el (menu-bar-options-save): Rewrote.
6146 2002-02-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6148         * cus-start.el (x-use-underline-position-properties):
6149         Allow customization.
6151 2002-02-04  Simon Josefsson  <jas@extundo.com>
6153         * dired.el (dired-load-hook, dired-mode-hook)
6154         (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
6156 2002-02-03  Colin Walters  <walters@verbum.org>
6158         * ibuf-ext.el (ibuffer-filter-format-alist)
6159         (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
6160         New variables.
6161         * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
6162         is now the Emacs CVS tree.
6163         (ibuffer-formats): Doc fix.
6164         (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
6165         (ibuffer-current-format): Use them.
6166         (ibuffer-recompile-formats, ibuffer-check-formats)
6167         (ibuffer-switch-format, ibuffer-update-title):
6168         Add support for ibuffer-filter-format-alist.
6169         (define-ibuffer-column process): Remove unncessary consing.
6171         * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
6172         for a summary column.
6174 2002-02-03  Andreas Schwab  <schwab@suse.de>
6176         * window.el (save-selected-window): Move macro before first use.
6177         (balance-windows): Fix misplaced parenthesis.
6179 2002-02-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6181         * calculator.el (calculator-displayers): Doc fixes.
6183 2002-02-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6185         * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
6186         (menu-bar-options-save): Save also the value of `display-time-mode'.
6187         (showhide-date-time): New function.
6188         (menu-bar-showhide-menu): New menu-item "Date and time".
6190 2002-02-03  Eli Zaretskii  <eliz@is.elta.co.il>
6192         * mail/rmail.el (rmail): Use find-buffer-visiting instead of
6193         get-file-buffer to check for rmail buffer existence.
6195         * term.el (term-emulate-terminal): Extract proper command string
6196         which is supplied to term-command-hook.
6198 2002-02-03  Richard M. Stallman  <rms@gnu.org>
6200         * international/quail.el (quail-help): Don't call help-setup-xref.
6202         * international/mule-cmds.el (describe-input-method):
6203         Call help-setup-xref here.
6204         (describe-current-input-method): Doc fix.
6206         * novice.el (disabled-command-hook): Clarify output text.
6207         Indent the paragraph from the command's doc string.
6209         * dabbrev.el (dabbrev--goto-start-of-abbrev):
6210         Exit loop on beginning of field rather than bobp.
6212 2002-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
6214         * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
6215         the message text into the *mail* buffer, and restore the pruned
6216         state after that.
6218         * mail/rmail.el (rmail-redecode-body): Prune the headers before
6219         looking for X-Coding-System header, and restore the pruned state
6220         before returning.
6222 2002-02-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6224         * cus-edit.el (customize-save-variable): Fix typo in prompt.
6226         These changes integrate new version of flyspell.el from its
6227         maintainer, Manuel Serrano:
6229         * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
6230         (flyspell-mode-on, flyspell-notify-misspell)
6231         (flyspell-small-region, flyspell-external-point-words)
6232         (flyspell-large-region): Use it
6233         (flyspell-before-incorrect-word-string)
6234         (flyspell-after-incorrect-word-string): New user options.
6235         (make-flyspell-overlay): Use them.
6236         (flyspell-version): New function.
6237         (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
6238         definitions to use :weight.
6239         (flyspell-insert-function): New user option.
6240         (flyspell-auto-correct-word, flyspell-correct-word)
6241         (flyspell-xemacs-correct): Use it.
6242         (flyspell-define-abbrev): New function.
6243         (flyspell-auto-correct-word, flyspell-correct-word)
6244         (flyspell-xemacs-correct): Use it.
6245         (make-flyspell-overlay): Use `evaporate' property.
6246         (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
6247         (flyspell-emacs-popup): Use `session' instead of `accept'.
6248         (flyspell-auto-correct-previous-pos): New variable.
6249         (flyspell-auto-correct-previous-hook)
6250         (flyspell-auto-correct-previous-word): New functions.
6252 2002-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
6254         * novice.el (enable-command): If Emacs was invoked as "emacs -q",
6255         don't alter the user's ~/.emacs.
6256         (disable-command): If user-init-file is nil or does not exist,
6257         default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
6258         But don't alter the init file if Emacs was invoked as "emacs -q"
6260 2002-02-01  Stefan Monnier  <monnier@cs.yale.edu>
6262         * mail/sendmail.el (mail-mode): Undo half of last change.
6264         * indent.el (indent-for-tab-command): Remove spurious code.
6266         * hi-lock.el (hi-lock-find-patterns): Save restriction.
6268 2002-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
6270         * calendar/time-date.el: Moved from lisp/gnus.
6272         * calendar/parse-time.el: Ditto.
6274 2002-01-31  Richard M. Stallman  <rms@gnu.org>
6276         * international/iso-acc.el (iso-languages): Fix ", " in French.
6278         * cus-start.el (history-length): Specify customization for it.
6280         * emacs-lisp/debug.el (debugger-setup-buffer):
6281         When an eval-buffer frame was reading from a buffer,
6282         insert indication of the buffer position.
6283         (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
6284         (debugger-frame-clear, debugger-frame): Error on non-frame line.
6286         * simple.el (shell-command-on-region): Err if no mark
6287         before reading the command string.
6289         * hl-line.el (hl-line-highlight, hl-line-unhighlight):
6290         Definitions moved down after hl-line-mode var's definition.
6292         * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
6293         (hilit-chg-set-face-on-change): Rename arg.
6294         (hilit-chg-make-ov): Detect error earlier.
6296         * ediff-hook.el: Delete autoload cookies.
6298         * comint.el (comint-scroll-show-maximum-output): Default is t.
6300         * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
6301         (batch-byte-compile-if-not-done): New function.
6303         * Makefile.in (compile): New target.
6304         (compile-always): Renamed from compile-files.
6305         (compile-after-backup): Renamed from compile.
6306         (bootstrap): Depend on compile-always, not compile-files.
6308         * emulation/pc-select.el (pc-select-save-and-set-mode):
6309         Properly use MODE-VAR.
6311 2002-01-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6313         * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
6314         Version" to "About Emacs".
6315         (menu-bar-options-save): Add `default-frame-alist'
6316         to saved variables.
6317         (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
6318         of the variable `scroll-bar-mode'.
6320         * startup.el (normal-splash-screen, display-splash-screen):
6321         New functions (separated from command-line-1).
6322         (command-line-1): Use them.
6324 2002-01-28  Eli Zaretskii  <eliz@is.elta.co.il>
6326         * calendar/calendar.el (generate-calendar-month): Doc fix.
6328 2002-01-27  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6330         * time.el (display-time-mail-directory): New option.
6331         (display-time-mail-function): Update doc-string.
6332         (display-time-mail-icon): Use XPM image when available.
6333         (display-time-string-forms): Use more descriptive text as
6334         help-echo property.
6335         (display-time-mail-check-directory): New function.
6336         (display-time-update): Use it.
6338         * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
6339         Quote `window-system'.
6341         * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
6342         Add Keywords header.  Update Commentary section.
6343         Update copyright notice.
6345         * menu-bar.el (menu-bar-scroll-bar-right)
6346         (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
6347         (showhide-menu-bar): New functions.
6348         (menu-bar-showhide-menu): New submenu "Show/Hide".
6349         (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
6350         "Show/Hide".
6351         Update copyright notice.
6353 2002-01-27  Eli Zaretskii  <eliz@is.elta.co.il>
6355         * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
6357 2002-01-26  Evgeny Roubinchtein  <evgenyr@cs.washington.edu>
6359         * pc-select.el (pc-selection-mode-hook)
6360         (pc-select-saved-settings-alist, pc-select-map)
6361         (pc-select-saved-global-map, pc-select-key-bindings-alist)
6362         (pc-select-default-key-bindings, pc-select-extra-key-bindings)
6363         (pc-select-meta-moves-sexps-key-bindings)
6364         (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
6365         New variables.
6366         (pc-select-define-keys, pc-select-restore-keys): New functions.
6367         (pc-select-add-to-alist, pc-select-save-and-set-var)
6368         (pc-select-save-and-set-mode, pc-select-restore-var)
6369         (pc-select-restore-mode): New macros.
6370         (pc-selection-mode): Completely rewrote the body of the function;
6371         the main goal was to make pc-selection-mode "turn-off"-able, like
6372         other minor modes.  Use define-minore-mode instead of just a
6373         defun.  Store the key bindings into four alists:
6374         pc-select-default-key-bindings, pc-select-extra-key-bindings,
6375         pc-select-meta-moves-sexps-key-bindings, and
6376         pc-select-tty-key-bindings; then have the pc-select-define-keys
6377         function walk those alists instead of calling define-key
6378         repeatedly.  When the mode is turned on, set the
6379         keybindings in global-map and remember the old keybindings; when
6380         the mode is turned off, restore the previously-saved keybindings.
6381         (pc-selection-mode defcustom): Reflect the fact that the mode is
6382         now "turn-off"-able.
6384 2002-01-26  Eli Zaretskii  <eliz@is.elta.co.il>
6386         * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
6387         returns t, don't treat that as an error.
6389 2002-01-25  Jason Rumney  <jasonr@gnu.org>
6391         * faces.el (face-font-registry-alternatives) [windows-nt]:
6392         Add ms-oemlatin as an alternative for iso8859-1.
6394 2002-01-25  Stefan Monnier  <monnier@cs.yale.edu>
6396         * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
6397         args and the absence of an entry.  Don't add -f each time.
6399 2002-01-25  Eli Zaretskii  <eliz@is.elta.co.il>
6401         * emacs-lisp/cl-seq.el (mismatch): Doc fix.
6403         Support for more than 8 colors on character terminals:
6405         * term/rxvt.el: New file.
6407         * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
6409         * term/xterm.el (xterm-standard-colors): New variable.
6410         (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
6411         (xterm-rxvt-set-background-mode): New functions.
6412         (toplevel): Call xterm-register-default-colors,
6413         xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
6414         Add support for more keys from xterm's terminfo entry.
6416         * facemenu.el (list-colors-display): If the argument is nil, don't
6417         show more colors that the number returned by display-color-cells.
6419         * term/pc-win.el (msdos-color-values): Reverse the order of the
6420         colors, since tty-color-define now preserves the registration order.
6422         * w32-fns.el (w32-tty-standard-colors): Reverse the order.
6424         * term/tty-colors.el (tty-standard-colors): Reverse the order.
6425         (tty-register-default-colors): New function; code moved from
6426         startup.el's command-line.
6427         (tty-modify-color-alist): Use nconc instead of cons, to preserve
6428         the order the colors where registered.
6430         * frame.el (display-color-cells): Use tty-display-color-cells.
6432         * startup.el (command-line): Call tty-register-default-colors.
6434 2002-01-25  Richard M. Stallman  <rms@gnu.org>
6436         * subr.el (remove): Doc fix.
6438 2002-01-24  Richard M. Stallman  <rms@gnu.org>
6440         * progmodes/compile.el (compilation-handle-exit):
6441         Add a compilation-handle-exit property to the "finished" message.
6442         (compilation-parse-errors): Stop parsing when that property is seen.
6444         * subr.el (substring-no-properties): New function.
6445         (copy-without-properties): Function deleted.
6447         * term/x-win.el (x-handle-geometry): Put sizes on both
6448         initial-frame-alist and default-frame-alist.
6450         * cus-edit.el (custom-save-all): Bind file-precious-flag to t
6451         for saving .emacs.
6453         * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
6455         * calendar/calendar.el (generate-calendar-month): Doc fix.
6457 2002-01-23  Richard M. Stallman  <rms@gnu.org>
6459         * play/tetris.el (tetris): New defgroup.
6460         (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
6461         (tetris-default-tick-period): Convert to defcustom.
6462         Added * in docstring to indicate user variable.
6463         (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
6464         (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
6465         (tetris-buffer-height, tetris-width, tetris-height)
6466         (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
6468 2002-01-22  Stefan Monnier  <monnier@cs.yale.edu>
6470         * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
6471         and is already matched by adaptive-fill-regexp.
6473 2002-01-22  Richard M. Stallman  <rms@gnu.org>
6475         * bindings.el (mode-line-copied-mode-name): New variable.
6476         (mode-line-mode-name): Don't modify mode-name itself!
6477         Instead, make a copy and reuse it.
6479         * subr.el (copy-without-properties): New function.
6481         * progmodes/sh-script.el (sh-set-shell): Doc fix.
6483         * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
6484         slash if DIR is just slash.
6486         * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
6488 2002-01-21  Richard M. Stallman  <rms@gnu.org>
6490         * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
6492         * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
6493         Move defvar up.
6495         * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
6497         * ibuffer.el: Don't require ibuf-ext at load time.
6498         (ibuffer): Require ibuf-ext here.
6500 2002-01-21  Francesco Potorti`  <pot@gnu.org>
6502         * generic-x.el (apache-conf-generic-mode): Highlight the first
6503         word in a line even if preceded by blanks.
6505 2002-01-21  Richard M. Stallman  <rms@gnu.org>
6507         * window.el (window-body-height): Handle minibuffer window specially.
6508         Otherwise, don't return less than 1.
6510 2002-01-20  Thomas Dorner  <Thomas.Dorner@start.de>
6512         * ange-ftp.el: Added support for BS2000, and for raw ftp
6513         login commands (needed in some circumstances).
6514         (ange-ftp-raw-login): New custom var.
6515         (ange-ftp-normal-login): Perform login with raw ftp commands, if
6516         ange-ftp-raw-login is set and account password is needed.
6517         (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
6518         (ange-ftp-bs2000-filename-pubset-regexp)
6519         (ange-ftp-bs2000-filename-username-regexp)
6520         (ange-ftp-bs2000-filename-prefix-regexp)
6521         (ange-ftp-bs2000-name-template): New consts.
6522         (ange-ftp-bs2000-short-filename-regexp)
6523         (ange-ftp-bs2000-fix-name-regexp-reverse)
6524         (ange-ftp-bs2000-fix-name-regexp): New consts.
6525         (ange-ftp-bs2000-special-prefix): New custom var.
6526         (ange-ftp-fix-name-for-bs2000)
6527         (ange-ftp-fix-dir-name-for-bs2000): New funs.
6528         (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
6529         (ange-ftp-bs2000-posix-hook-installed): New vars.
6530         (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
6531         (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
6532         (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
6533         (ange-ftp-bs2000-filename-regexp): New const.
6534         (ange-ftp-bs2000-additional-pubsets): New custom var.
6535         (ange-ftp-bs2000-cd-to-posix): New fun.
6537 2002-01-20  Colin Walters  <walters@verbum.org>
6539         * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
6540         with `byte-compile-dynamic'.
6541         (ibuffer-default-directory, toplevel): Doc files.
6543 2002-01-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6545         * tempo.el (tempo-define-template): Doc fix.
6547         * scroll-bar.el (scroll-bar-mode): Make argument optional.
6549 2002-01-20  Jason Rumney  <jasonr@gnu.org>
6551         * w32-vars.el: New file.
6553         * loadup.el [windows-nt]: Load it.
6555         * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
6556         and make them defcustoms.
6558         * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
6560 2002-01-19  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6562         * language/tibet-util.el (tibetan-decompose-region)
6563         (tibetan-decompose-string): Fix typo in docstring.
6565         * ruler-mode.el (ruler-mode): New keyword.  Fix :version.
6567 2002-01-18  Richard M. Stallman  <rms@gnu.org>
6569         * comint.el (comint-redirect-send-command-to-process):
6570         Restore previous current buffer.
6572         * window.el (window-body-height): New function.
6574 2002-01-18  Zoltan Kemenczy  <kemenczy@rogers.com>
6576         * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
6577         "Finish Function" menu map entries for jdb mode.
6578         (gud-jdb-use-classpath): New customization variable.
6579         (gud-jdb-command-name): Add customization.
6580         (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
6581         (gud-jdb-classpath-string): New variable.
6582         (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
6583         (gud-jdb-build-source-files-list): Likewise.
6584         (gud-jdb-massage-args): Record any command argument classpath
6585         string in `gud-jdb-classpath-string'.
6586         (gud-jdb-lowest-stack-level): New function, finds bottom of current
6587         java call stack in jdb output.
6588         (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
6589         (gud-jdb-parse-classpath-string): New functions.
6590         (gud-jdb-marker-filter): Search/detect classpath information in
6591         jdb's output.  marker regexp updated to match oldjdb and jdb output
6592         formats.  Expand search for source files to include new/old methods
6593         using new functions above.  Do not allow `gud-marker-acc' to grow
6594         without bound.
6595         (jdb): Set classpath information (if available) as jdb is started.
6596         Change `gud-break' and `gud-remove'
6597         to use new %c ("class") escape in format strings.
6598         Add `gud-finish', `gud-up', `gud-down' command string functions, and
6599         add them to the local menu map.  Update `comint-prompt-regexp' for
6600         jdb and oldjdb.  If attaching to an already running java VM and
6601         configured to use classpath, send command to query for classpath,
6602         else use previous method for finding and parsing java
6603         sources.  Set `gud-jdb-find-source' function accordingly.
6604         (gud-mode): Doc fix.
6605         (gud-format-command): Add support for new %c ("class") escape.
6606         (gud-find-class): New function in support of %c escape.
6608 2002-01-17  Richard M. Stallman  <rms@gnu.org>
6610         * ibuf-ext.el: Enable byte-compile-dynamic.
6612 2002-01-17  Jason Rumney  <jasonr@gnu.org>
6614         * term/w32-win.el: Restore conditional require of fontset.
6616 2002-01-16  Richard M. Stallman  <rms@gnu.org>
6618         * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
6619         more or less.
6620         (mouse-drag-region): New function.  For a click in the echo area,
6621         show *Messages*.
6623         * ibuf-ext.el: Delete the autoloads for functions defined with
6624         ibuffer-specific commands.
6626         * help.el (describe-distribution): Really call view-file.
6628         * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
6629         (ange-ftp-get-process): Pass that arg.
6631         * comint.el (comint-simple-send): Fix previous change.
6633         * net/telnet.el (telnet-simple-send): Fix previous change.
6635         * progmodes/sql.el (sql-escape-newlines-and-send)
6636         (sql-query-placeholders-and-send): Fix previous change.
6638 2002-01-16  Colin Walters  <walters@verbum.org>
6640         * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
6641         URL, Compatibility headers.  Update copyright notice.
6642         * ibuf-macs.el (toplevel): Require `cl' when compiling.
6644 2002-01-16  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
6646         * startup.el (command-line): Set EOL mnemonics for the Mac.
6648 2002-01-16  Andreas Schwab  <schwab@suse.de>
6650         * mail/feedmail.el (feedmail): Fix :link spec.
6652 2002-01-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6654         * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
6655         2 ldapsearch.
6657         * net/eudc.el: New maintainer.  Change author's address.
6658         (eudc-pre-select-window-configuration, eudc-insertion-marker):
6659         Variables removed.
6660         (eudc-insert-selected): Function removed.
6661         (eudc-select): Reimplemented.
6662         (eudc-expand-inline): Delete the strings only after its expansion
6663         is chosen not before.
6665         * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
6666         Minor coding style fixes.
6668         * net/eudcb-ldap.el: New maintainer.  Change author's address.
6669         (eudc-attribute-display-method-alist): Display mail with
6670         eudc-display-mail.
6672         * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
6673         * net/eudc-vars.el: New maintainer.  Change author's address.
6675         * net/eudc-bob.el: New maintainer.  Change author's address.
6676         (eudc-bob-mail-keymap): New keymap for e-mail addresses.
6677         (eudc-display-mail): New function.
6678         (eudc-bob-play-sound-at-point): Remove XEmacs case.
6680 2002-01-15  Richard M. Stallman  <rms@gnu.org>
6682         * emacs-lisp/autoload.el (make-autoload):
6683         Don't handle define-ibuffer-column, define-ibuffer-filter,
6684         define-ibuffer-sorter, and define-ibuffer-op.
6686 2002-01-14  Richard M. Stallman  <rms@gnu.org>
6688         * calendar/calendar.el (diary-date-forms): Doc fix.
6690 2002-01-14  Eli Zaretskii  <eliz@is.elta.co.il>
6692         * startup.el (command-line): Register the default tty colors even
6693         if the terminal doesn't seem to support colors.
6694         <tty-long-option-alist>: New option --color.
6695         (tty-handle-args): Parse the --color arg.
6697         * term/tty-colors.el (tty-color-mode-alist): New variable.
6699 2002-01-14  Stefan Monnier  <monnier@cs.yale.edu>
6701         * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
6702         (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
6703         Use it.
6704         (ange-ftp-hook-function): Preserve match-data.
6705         (ange-ftp-insert-directory): Typo.
6706         (ange-ftp-shell-command): Check if regexp matched.
6708 2002-01-13  Richard M. Stallman  <rms@gnu.org>
6710         * international/mule-cmds.el: help-map bindings moved to help.el.
6712         * help.el (view-echo-area-messages): New function.
6713         (help-map): Add `e' binding.  Delete obsolete `d' binding.
6714         Change old Info bindings C-f, C-k and C-i to F, K, S.
6715         Move view-emacs-FAQ from F to C-f.
6716         Move view-emacs-problems from P to C-e.
6717         Bindings moved here from mule-cmds.el.
6718         C-l binding for describe-language-environment deleted
6719         (help-for-help): Update for all these changes.
6721         * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
6723 2002-01-13  Dave Love  <fx@gnu.org>
6725         * emacs-lisp/copyright.el: Doc fixes.
6726         (copyright-regexp): Add Latin-9 copyright sign.
6727         Match comment delimiters in year lists.
6728         (copyright-current-year): Initialize to load-time year.
6730 2002-01-13  Andreas Schwab  <schwab@suse.de>
6732         * dired-aux.el (dired-do-shell-command): Doc fix.
6734 2002-01-13  Jan Djarv  <Jan.Djarv@mbox200.swipnet.se>
6736         * startup.el (command-line-x-option-alist): New options "-fs",
6737         "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
6739         * term/x-win.el (x-handle-initial-switch): New function.
6741 2002-01-13  Colin Walters  <walters@debian.org>
6743         * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
6744         define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
6746         * emacs-lisp/lisp-mode.el (toplevel): Ditto.
6748         * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
6750 2002-01-12  Richard M. Stallman  <rms@gnu.org>
6752         * net/browse-url.el (browse-url-grail):
6753         Use browse-url-maybe-new-window.
6755         * net/telnet.el (telnet-simple-send):
6756         Handle comint-input-sender-no-newline like comint-simple-send.
6758         * progmodes/sql.el (sql-query-placeholders-and-send):
6759         Handle comint-input-sender-no-newline like comint-simple-send.
6760         (sql-escape-newlines-and-send): Likewise.
6762         * comint.el (comint-input-sender): Doc fix.
6763         (comint-input-sender-no-newline): New variable.
6764         (comint-simple-send): If comint-input-sender-no-newline,
6765         don't output newline, but maybe send eof.
6766         (comint-send-input): New arg NO-NEWLINE.
6767         (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
6769 2002-01-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6771         * textmodes/flyspell.el (flyspell-check-pre-word-p):
6772         Prevent delaying when executing keyboard macros.
6774 2002-01-12  Richard M. Stallman  <rms@gnu.org>
6776         * simple.el (line-move): If we can't move enough lines,
6777         go to beginning or end of line.
6779         * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
6780         and proper window.
6782         * help.el (describe-mode): Call help-setup-xref in the help buffer.
6783         Switch buffers only after calling `help-buffer'.
6785         * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
6786         only when they are surrounded by whitespace.
6787         Use dired-mark-separator when adding one file name to a command.
6788         (dired-do-shell-command): Verify that * is surrounded by whitespace.
6789         Ask for confirmation if * or ? is not surrounded by whitespace.
6790         (dired-bunch-files): Re-reverse the partial file list when it is used.
6792 2002-01-12  Richard M. Stallman  <rms@gnu.org>
6794         * comint.el (comint-dynamic-list-completions): Repeating the command
6795         after displaying a completion list scrolls the list.
6797 2002-01-12  Eli Zaretskii  <eliz@is.elta.co.il>
6799         * files.el (find-file-noselect): Don't consider a buffer as
6800         visiting a file literally if it is in hexl-mode.
6802         * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
6804 2002-01-11  Richard M. Stallman  <rms@gnu.org>
6806         * startup.el (initial-scratch-message): Fix custom type, add group.
6808         * mail/rmail.el (rmail-decode-babyl-format): Disable undo
6809         around the decode-coding-region call.
6811         * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
6812         after displaying a completion list scrolls the list.
6814 2002-01-11  Eli Zaretskii  <eliz@is.elta.co.il>
6816         * version.el (emacs-version): Bump to 21.2.50.
6818 2002-01-10  Thien-Thi Nguyen  <ttn@giblet.glug.org>
6820         * play/zone.el (zone-timeout): New var.
6821         (zone-hiding-modeline): New macro.
6822         (zone-call): New func.
6824         (zone): Init `modeline-hidden-level' symbol property.
6825         Use `zone-call' instead of `funcall'.
6827         (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
6829         (zone-pgm-stress): Use `zone-hiding-modeline'.
6831         (zone-pgm-stress-destress): New zone program.
6833 2002-01-10  Eli Zaretskii  <eliz@is.elta.co.il>
6835         * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
6837 2002-01-09  Richard M. Stallman  <rms@gnu.org>
6839         * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
6841 2002-01-09  Michael Kifer  <kifer@cs.stonybrook.edu>
6843         * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
6844         flyspell-mouse-map.
6846 2002-01-08  Richard M. Stallman  <rms@gnu.org>
6848         * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
6850         * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
6852         * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
6854 2002-01-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6856         * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
6857         Do not use make-local-hook.
6859 2002-01-08  Eli Zaretskii  <eliz@is.elta.co.il>
6861         * international/quail.el (quail-start-translation)
6862         (quail-start-conversion): Bind last-command-event, last-command,
6863         and this-command in the first let.  This fixes the change from
6864         2000-08-30.
6866 2002-01-08  Michael Kifer  <kifer@cs.stonybrook.edu>
6868         * ediff-hook.el: Add an autoload cookie.
6870 2002-01-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6872         * net/eudcb-ph.el, net/ldap.el: New maintainer.  New e-mail
6873         address of the author.
6875 2002-01-08  Richard M. Stallman  <rms@gnu.org>
6877         * replace.el (occur-mode-goto-occurrence-other-window): New command.
6878         (occur-mode-map): Bind `o' to that.
6880 2002-01-07  Michael Kifer  <kifer@cs.stonybrook.edu>
6882         * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
6883         new macro that replaces viper-emacs-p and viper-xemacs-p in many
6884         cases. Used to reduce the number of warnings.
6886         * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
6887         (viper-standard-value): Move here from viper.el.
6888         (viper-set-unread-command-events): Move to viper-util.el
6889         (viper-check-minibuffer-overlay): Make sure
6890         viper-minibuffer-overlay is moved to cover the entire input field.
6892         * viper-util.el:  use viper-cond-compile-for-xemacs-or-emacs.
6893         (viper-read-key-sequence, viper-set-unread-command-events)
6894         (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
6896         * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
6898         * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
6900         * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
6902         * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
6903         (viper-event-vector-p): Move to viper-util.el
6905         * viper.el (viper-standard-value): Move to viper-cmd.el.
6906         Use viper-cond-compile-for-xemacs-or-emacs.
6908         * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
6910         * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
6912         * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
6913         New macro designed to be used in many places where ediff-emacs-p or
6914         ediff-xemacs-p was previously used.  Reduces the number of warnings.
6915         Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
6916         of ediff-xemacs-p.
6917         (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
6918         (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
6919         (ediff-whitespace-diff-region-p, ediff-get-region-contents):
6920         Move to ediff-util.el.
6921         (ediff-event-key): Moved here.
6923         * ediff-merge.el: Got rid of unreferenced variables.
6925         * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
6927         * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
6928         (ediff-cleanup-mess): Improve the way windows are set up after
6929         quitting ediff.
6930         (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
6931         (ediff-dispose-of-variant-according-to-user): New function
6932         designed to be smarter and also understands indirect buffers.
6933         (ediff-highlight-diff-in-one-buffer)
6934         (ediff-unhighlight-diff-in-one-buffer)
6935         (ediff-unhighlight-diffs-totally-in-one-buffer)
6936         (ediff-highlight-diff, ediff-highlight-diff)
6937         (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
6938         (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
6939         (ediff-get-region-contents, ediff-make-current-diff-overlay):
6940         Moved here.
6941         (ediff-format-bindings-of): New function by Hannu Koivisto
6942         <azure@iki.fi>.
6943         (ediff-setup): Make sure the merge buffer is always widened and
6944         modifiable.
6945         (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
6946         result of a merge into a file visited by another buffer.
6947         (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
6948         is visited by another buffer and ask to save/delete that buffer.
6949         (ediff-verify-file-merge-buffer): New function to do the above.
6951         * ediff-vers.el: Load ediff-init.el at compile time.
6953         * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
6955         * ediff.el (ediff-windows, ediff-regions-wordwise)
6956         (ediff-regions-linewise): Use indirect buffers to improve
6957         robustness and make it possible to compare regions of the same
6958         buffer (even overlapping regions).
6959         (ediff-clone-buffer-for-region-comparison)
6960         (ediff-clone-buffer-for-window-comparison): New functions.
6961         (ediff-files-internal): Refuse to compare identical files.
6962         (ediff-regions-internal): Get rid of the warning about comparing
6963         regions of the same buffer.
6965         * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
6966         Plus the following fixes courtesy of Dave Love: Doc fixes.
6967         (ediff-word-1): Use word class and move - to the
6968         front per regexp documentation.
6969         (ediff-wordify): Bind forward-word-function outside loop.
6970         (ediff-copy-to-buffer): Use insert-buffer-substring rather than
6971         consing buffer contents.
6972         (ediff-goto-word): Move syntax table setting outside loop.
6974 2002-01-07  Richard M. Stallman  <rms@gnu.org>
6976         * dired.el (dired-copy-filename-as-kill): Call kill-append
6977         if following a kill command.
6979         * help-fns.el (describe-variable, describe-function):
6980         Do save-excursion.
6982 2002-01-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
6984         * net/ldap.el (ldap-search-internal): Skip error message from
6985         ldapsearch.  Allow listing attribute names only.  Do not open
6986         non-existent files.
6988         * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
6989         call non-existent function.
6991         * net/eudc.el (top-level): Revert previous change.
6993         * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
6994         variables to prevent warning from byte-compiler.
6996         * net/eudc.el (top-level): Use eudc-xemacs-p instead of
6997         string-match on emacs-version again.
6999         * enriched.el (enriched-make-annotation): Fix the change from
7000         2002-01-05.
7001         (enriched-handle-display-prop): Return proper values.
7003         * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
7004         Use proper attribute name labeledUri instead of deprecated labeledUrl.
7006 2002-01-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7008         * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
7009         editing an empty hotlist.
7011         * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
7012         Use buffer-string instead of buffer-substring for the whole buffer.
7014         * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
7015         not free.
7017         * net/eudc-bob.el (eudc-bob-can-display-inline-images)
7018         (eudc-bob-display-jpeg): Use fboundp instead of boundp.
7019         (eudc-bob-save-object): Make the buffer unibyte.
7020         (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
7021         object to external program.
7023 2002-01-05  Andre Spiegel  <spiegel@gnu.org>
7025         * vc.el (vc-branch-part): Return nil if there's no `.'
7026         (vc-default-previous-version): Renamed from vc-previous-version.
7027         New args BACKEND and FILE.  Return nil for revision numbers
7028         without a `.'
7029         (vc-version-diff): Call vc-BACKEND-previous-version.
7030         (vc-steal-lock): Steal lock before composing mail, so that no mail
7031         is sent when the stealing goes wrong.  And we'll actually see the
7032         error in that case now.
7033         (vc-finish-steal): Removed.
7035         * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
7036         the lock, so that we see expanded headers.
7037         (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
7038         (vc-rcs-minor-part, vc-rcs-previous-version): Removed.  These are
7039         available from vc.el.  Updated all callers.
7041 2002-01-05  Richard M. Stallman  <rms@gnu.org>
7043         * enriched.el (enriched-make-annotation): Doc fix.
7045         * format.el (format-replace-strings, format-subtract-regions)
7046         (format-annotate-region, format-annotate-location)
7047         (format-annotate-atomic-property-change)
7048         (format-annotate-single-property-change): Doc fixes.
7050 2002-01-05  Jason Rumney  <jasonr@gnu.org>
7052         * term/w32-win.el: Require fontset unconditionally.
7053         (w32-handle-scroll-bar-event): Remove.
7055 2002-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7057         * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
7058         copyrights to be updated.
7060 2002-01-04  Eli Zaretskii  <eliz@is.elta.co.il>
7062         * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
7063         2001-10-24.
7065         * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
7067 2002-01-04  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7069         * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
7070         (ldap-ignore-attribute-codings): Change the default value to allow
7071         encoding/decoding of attributes.
7072         (ldap-coding-system): Use UTF-8 as the coding-system.  Doc fix.
7074 2002-01-03  Richard M. Stallman  <rms@gnu.org>
7076         * files.el (basic-save-buffer): Undo previous change.
7078         * calendar/diary-lib.el (diary-block): Doc fix.
7080         * custom.el (defcustom): Fix syntax of previous change.
7082 2002-01-03  Per Abrahamsen  <abraham@dina.kvl.dk>
7084         * custom.el (defcustom): Documented :tag, :link and :load.
7086 2002-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
7088         * mail/sendmail.el (mail-recover-1): New function.
7089         (mail-recover): Switch to the *mail* buffer right away.
7090         Use buffer-auto-save-file-name instead of calling
7091         make-auto-save-file-name.  Call dired-noselect instead of invoking
7092         `ls' directly.  Bind coding-system-for-read to emacs-mule-unix
7093         before reading the auto-save file.  If the buffer's auto-save file
7094         does not exist, call mail-recover-1 to allow recovery from past
7095         auto-saved drafts.
7097 2002-01-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7099         * time.el (display-time-load-average-threshold): Fix defcustom
7100         (add type and group).
7102         * net/ange-ftp.el (ange-ftp-shell-command): Remove port
7103         specification from the hostname.
7105 2002-01-02  Richard M. Stallman  <rms@gnu.org>
7107         * facemenu.el (facemenu-active-faces):
7108         Use face-attributes-as-vector, not face-attributes-vector.
7110 2002-01-02  Chris Hanson  <cph@aarau.ai.mit.edu>
7112         * xscheme.el: Eleven years of updates on a private copy.
7114         Extensive changes to support multiple xscheme buffers:
7115         (run-scheme): Break up into new functions to facilitate starting
7116         processes in other buffers.
7117         (xscheme-start, xscheme-read-command-line): New functions.
7118         (start-scheme, select-scheme)
7119         (default-xscheme-runlight)
7120         (global-set-scheme-interaction-buffer)
7121         (local-set-scheme-interaction-buffer)
7122         (local-clear-scheme-interaction-buffer)
7123         (exit-scheme-interaction-mode)
7124         (verify-xscheme-buffer): New functions.
7125         (xscheme-process-name, xscheme-buffer-name)
7126         (xscheme-runlight): New internal vars.
7127         (default-xscheme-runlight): New const.
7128         (xscheme-start-process): Add args for the process/buffer names.
7129         (reset-scheme): Pass process/buffer names.
7130         (scheme-interaction-mode): Initialize new local vars.
7131         (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
7132         (xscheme-select-process-buffer, xscheme-process-buffer)
7133         (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
7134         (xscheme-goto-output-point, xscheme-write-message-1): Use new
7135         var xscheme-process-name.
7136         (xscheme-start-process): Initialize xscheme-process-name and
7137         xscheme-buffer-name in the process buffer.  Pass buffer name to
7138         xscheme-modeline-initialize.
7139         (xscheme-modeline-initialize): Add argument to specify buffer name
7140         for mode-line vars.
7141         (xscheme-process-sentinel): Make sure sentinel is run in the
7142         process buffer so it sees its local vars.
7143         (xscheme-process-filter-initialize, xscheme-set-runlight):
7144         More elaborate logic to handle multiple-buffer mode lines.
7146         (xscheme-enter-input-wait): Re-enable control-G handler upon
7147         entering input wait.
7149         (scheme-interaction-mode): Add arg to preserve local vars.
7150         (xscheme-enter-interaction-mode)
7151         (xscheme-enter-debugger-mode): Preserve local vars.
7152         (xscheme-start-process): Clobber local vars.
7154         (scheme-interaction-mode-commands): Allow end user to add commands
7155         to scheme-interaction-mode keymap.
7156         (scheme-interaction-mode-commands-alist): New variable.
7158         (xscheme-send-string): Don't use insert-before-markers.
7160         Implement a per-buffer kill ring:
7161         (xscheme-insert-expression)
7162         (xscheme-rotate-yank-pointer, xscheme-yank)
7163         (xscheme-yank-pop, xscheme-yank-push): New functions.
7164         (xscheme-expressions-ring)
7165         (xscheme-expressions-ring-yank-pointer)
7166         (xscheme-expressions-ring-max): New variables.
7167         (xscheme-send-string-1): Call xscheme-insert-expression to save
7168         expression in ring.
7169         (xscheme-yank-previous-send): Now an alias for xscheme-yank.
7170         (xscheme-previous-send): Deleted variable.
7172         (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
7173         (xscheme-send-control-g-interrupt): Use process-send-string rather
7174         than send-string.
7176         (xscheme-send-region): Insert a newline after an expression that
7177         is submitted in the interaction buffer, for consistency with
7178         recent changes to Edwin.
7180         (xscheme-delete-output): New function mimics comint-delete-output.
7181         (xscheme-last-input-end): New internal variable.
7182         (xscheme-process-filter-output): Update xscheme-last-input-end.
7184         (xscheme-send-control-g-interrupt): Make sure that
7185         xscheme-control-g-disabled-p is looked up in the right buffer.
7187         (xscheme-enable-control-g): Clear C-g message if visible.
7188         (xscheme-control-g-message-string): New internal var.
7189         (xscheme-send-control-g-interrupt): Use new var.
7191         (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
7192         Delay after sending interrupt in order to work around race condition.
7194         (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
7195         (xscheme-send-char): Use xscheme-send-char rather than send-string
7196         to send single char.
7198         (xscheme-process-filter, xscheme-process-filter-alist):
7199         Add support for evaluating expressions outside of the call-excursion.
7200         (xscheme-process-filter:string-action-noexcursion): New func.
7202         (xscheme-write-value): Change output string to match that used by
7203         Edwin.
7205         (xscheme-coerce-prompt): Don't write a space after a command
7206         prompt.  The PROMPT-FOR-COMMAND- procedures will take care of this
7207         for us.
7209         (reset-scheme): Delete process after killing it.
7211 2002-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
7213         * bindings.el (function-key-map): Don't bind shifted keypad
7214         numeric keys.
7216 2002-01-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7218         * enriched.el (enriched-handle-display-prop): Remove unused variables.
7219         (enriched-mode): Doc fix.
7221 2002-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
7223         * international/ucs-tables.el (ucs-8859-8-alist): Comment away
7224         Hebrew points.
7226 2002-01-01  Richard M. Stallman  <rms@gnu.org>
7228         * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
7230 2001-12-31  Richard M. Stallman  <rms@gnu.org>
7232         * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
7233         * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
7234         * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
7235         * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
7236         * progmodes/cperl-mode.el, progmodes/idlwave.el:
7237         * progmodes/sh-script.el, progmodes/vhdl-mode.el:
7238         Adapt face definitions to use :weight and :slant.
7240         * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
7242         * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
7244         * font-lock.el (initializing from font-lock-face-attributes):
7245         Use :weight and :slant, not :bold and :italic.
7247 2001-12-31  Per Abrahamsen  <abraham@dina.kvl.dk>
7249         * cus-edit.el (custom-face-edit-fix-value): New function.
7250         (custom-face-edit): Use it, to convert :italic and :bold to new forms.
7252 2001-12-30  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7254         * progmodes/octave-mod.el (octave-abbrev-table):
7255         * progmodes/idlwave.el (idlwave-mode-abbrev-table):
7256         * progmodes/fortran.el (fortran-mode-abbrev-table):
7257         * progmodes/f90.el (f90-mode-abbrev-table):
7258         * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
7259         * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
7260         predefined abbrevs as "system" abbrevs.
7262 2001-12-30  Richard M. Stallman  <rms@gnu.org>
7264         * info.el (Info-fontify-node): For a **** underline line, put the
7265         invisible and intangible props on the following newline, but not
7266         on the previous newline or the last char of the previous line.
7268         * faces.el (face-set-after-frame-default): Don't change `default' face.
7270         * faces.el (minibuffer-prompt): Adopt some default colors.
7272         * replace.el (query-replace-read-args): Immediate error if read-only.
7274         * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
7275         Display the output buffer in a more intelligent way.
7277 2001-12-30  Eli Zaretskii  <eliz@is.elta.co.il>
7279         * ls-lisp.el (insert-directory): Modify the "total" line wording,
7280         in accordance with files.el's insert-directory.
7282 2001-12-29  Richard M. Stallman  <rms@gnu.org>
7284         * files.el (basic-save-buffer): If a before-write hook displays
7285         an echo area message, pause before calling basic-save-buffer-1.
7287 2001-12-29  Markus Rost  <rost@math.ohio-state.edu>
7289         * textmodes/reftex-global.el (reftex-query-replace-document)
7290         (reftex-change-label): Doc fix.
7292         * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
7294         * progmodes/etags.el (tags-query-replace): Doc fix.
7296 2001-12-29  Richard M. Stallman  <rms@gnu.org>
7298         * progmodes/compile.el (compile-internal): Fix previous change.
7300 2001-12-28  Richard M. Stallman  <rms@gnu.org>
7302         * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
7303         shrink the windows above as necessary to get space.
7304         (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
7306         * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
7307         This fixes a bug that treated all files as directories.
7308         (ange-ftp-insert-directory): Explicitly follow symlinks.
7310         * international/iso-transl.el (iso-transl-char-map) Eliminate the
7311         alias symbols--put the translated sequences here directly.
7313         * progmodes/cc-mode.el (c-mode-abbrev-table)
7314         (c++-mode-abbrev-table, objc-mode-abbrev-table)
7315         (java-mode-abbrev-table, pike-mode-abbrev-table):
7316         Mark all the predefined abbrevs as "system" abbrevs.
7318         * mail/sendmail.el (mail-envelope-from): Fix custom type.
7319         (sendmail-send-it): Check mail-specify-envelope-from
7320         and mail-envelope-from in the mail buffer at start.
7322 2001-12-28  Simon Josefsson  <jas@extundo.com>
7324         * mail/sendmail.el (mail-envelope-from): Fix :type.
7325         (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
7327 2001-12-28  Richard M. Stallman  <rms@gnu.org>
7329         * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
7331         * simple.el (line-move-invisible): New subroutine.
7332         (line-move-to-column): New subroutine--smarter about advancing over
7333         invisible parts of a line, or lines, but only as long as hpos grows.
7334         (line-move-finish): New subroutine: repeatedly processes desired
7335         column, intangibility, and fields.
7336         (line-move): Use those subroutines.
7337         When moving lines downward, skip invisible text first rather than last.
7339 2001-12-27  Richard M. Stallman  <rms@gnu.org>
7341         * international/mule-diag.el (describe-char-after):
7342         Describe the text properties of the char after point.
7344         * help.el (describe-key): Doc fix.
7346 2001-12-26  Markus Rost  <rost@math.ohio-state.edu>
7348         * find-dired.el (find-dired-sentinel): Precede exit message by
7349         two spaces, to match the regexp in dired-between-files.
7351 2001-12-28  Miles Bader  <miles@gnu.org>
7353         * wid-edit.el (widget-toggle-value-create): Don't eval actual
7354         images (which are lists too).
7356 2001-12-27  Eli Zaretskii  <eliz@is.elta.co.il>
7358         * language/european.el: Fix the doc string of "Latin-5" language
7359         environment.
7361 2001-12-26  Richard M. Stallman  <rms@gnu.org>
7363         * textmodes/flyspell.el (flyspell-mode-map): New keymap,
7364         defined as before 2001-11-09.
7365         (add-minor-mode call): Specify the keymap.
7367         * progmodes/compile.el (compile-internal):
7368         Set TERM variable in process-environment.
7370 2001-12-25  Richard M. Stallman  <rms@gnu.org>
7372         * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
7373         the buffer.
7375         * startup.el (command-line): Convert command line args
7376         to Emacs internal representation using locale-coding-system.
7378 2001-12-25  Eli Zaretskii  <eliz@is.elta.co.il>
7380         * international/fontset.el: Don't require ind-util when compiling.
7382 2001-12-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7384         * emulation/tpu-edt.el (tpu-reset-screen-size):
7385         Use set-frame-height and set-frame-width instead of set-screen-height
7386         and set-screen-width.
7388         * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
7389         of obsolete set-screen-width.
7391         * locate.el (locate): Remove dot at the end of error argument.
7393         * emerge.el (emerge-show-file-name): Use frame-height instead of
7394         obsolete screen-height.
7396         * mail/mh-utils.el (mh-show-msg): Likewise.
7397         (mh-handle-process-error): Use frame-width instead of obsolete
7398         screen-width.
7400 2001-12-25  Richard M. Stallman  <rms@gnu.org>
7402         * window.el (balance-windows): Use new PRESERVE-BEFORE arg
7403         to enlarge-window.  Use save-selected-window.  Don't try
7404         to resize windows that end at the bottom "level".
7405         Retry changing the sizes until the windows get the desired sizes.
7406         Discount the minibuffer when computing total height available.
7408         * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
7409         (debugger-make-xrefs): Only make a button for the first symbol
7410         on any line.
7412 2001-12-24  Eli Zaretskii  <eliz@is.elta.co.il>
7414         * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
7415         Call IT-setup-unicode-display here instead of adding it to
7416         dos-codepage-setup-hook, so that Unicode display tables are set
7417         before dos-codepage-setup-hook runs.
7419 2001-12-24  Richard M. Stallman  <rms@gnu.org>
7421         * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
7422         (nslookup-mode-abbrev-table): Don't define it.
7423         (smbclient-mode-abbrev-table): Don't define it.
7424         (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
7425         (nslookup-mode, smbclient-mode): Likewise.
7426         (network-connection-service-abbrev-alist): Variable deleted.
7427         (network-connection-mode-setup): Don't set up abbrev table.
7429         * faces.el (minibuffer-prompt): New face.
7430         (minibuffer-prompt-properties): Add `face' property.
7432         * replace.el (occur-mode-display-occurrence): New function.
7433         (occur-mode-map): Bind C-o to it.
7435 2001-12-24  Michael Kifer  <kifer@cs.sunysb.edu>
7437         * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
7438         (viper-special-read-and-insert-char): Make C-m work right in the r
7439         comand.
7440         (viper-buffer-search-enable): Fixed format string.
7442         * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
7443         instead of viper-info-on-file.
7444         (ex-set-visited-file-name): New function.
7446         * viper.el (viper-emacs-state-mode-list): Added mail-mode.
7448         * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
7449         action argument.
7451         * ediff-init.el: Fixed some doc strings.
7453         * ediff-util.el (ediff-after-quit-hook-internal): New variable.
7454         Got rid of make-local-hook.
7456         * ediff-wind.el (ediff-setup-control-frame): Got rid of
7457         make-local-hook.
7459 2001-12-23  Richard M. Stallman  <rms@gnu.org>
7461         * term/x-win.el (x-handle-geometry): Put height and width
7462         on default-frame-alist, left and top on initial-frame-alist.
7463         * term/w32-win.el (x-handle-geometry): Likewise.
7465         * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
7467         * play/yow.el (yow): Use an arg to distinguish interactive calls,
7468         not interactive-p.
7470 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7472         * emacs-lisp/elint.el (elint-unknown-builtin-args):
7473         Remove mocklisp entries.
7475         * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
7476         Lisp.  Obsoleted.
7478         * emulation/mlconvert.el: File removed.
7480         * emulation/mlsupport.el: Moved to obsolete.
7482         * obsolete/mlsupport.el: Moved there from lisp/emulation.
7484         * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
7486         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7487         Remove mocklisp case.
7489         * help-fns.el (describe-function-1): Remove mocklisp function case.
7491 2001-12-22  Miles Bader  <miles@gnu.org>
7493         * textmodes/refill.el (refill-mode): Don't barf when redundantly
7494         turning refill-mode off.
7496 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7498         * time.el (display-time-load-average-threshold): New variable.
7499         (display-time-update): Use it.
7501         These changes allow cycling through past 1, 5 and 15 minutes
7502         load-average displayed in the mode-line.
7504         * time.el (display-time-default-load-average): New customizable option.
7505         (display-time-load-average): New variable.
7506         (display-time-cycle-load-average): New function.
7507         (display-time-update): Use them.
7509 2001-12-21  Richard M. Stallman  <rms@gnu.org>
7511         * apropos.el (apropos-print): SPACING is now nil or a separator string.
7512         (apropos-documentation, apropos-value): Pass a suitable string.
7514 2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>
7516         * dired.el (dired-free-space-program, dired-free-space-args):
7517         Aliases for back-compatibility.
7519         * info.el (Info-select-node): If Info-use-header-line is nil, set
7520         header-line-format to nil.
7521         (Info-fontify-node): Don't put a keymap text property on the
7522         heading if we are not going to display the header line.  Remove
7523         any such text properties left over from past visits to this node.
7525         * ls-lisp.el (insert-directory): Insert the amount of free disk
7526         space, like files.el's insert-directory does.
7528         * files.el (directory-free-space-program):
7529         Mention file-system-info in the doc string.
7530         (get-free-disk-space): New function; code moved from insert-directory.
7531         (insert-directory): Call get-free-disk-space to get the amount of
7532         free space.
7534 2001-12-21  Richard M. Stallman  <rms@gnu.org>
7536         * help.el (view-order-manuals, view-emacs-news, describe-copying)
7537         (describe-distribution, describe-project): Use view-file.
7539         * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
7541         * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
7543         * emacs-lisp/easy-mmode.el (define-minor-mode):
7544         Make no arg by default in an interactive call,
7545         so that repeating the command toggles again.
7547         * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
7549 2001-12-21  Christoph Wedler  <Christoph.Wedler@sap.com>
7551         * antlr-mode.el: More sophisticated indentation of cpp directive.
7552         (antlr-indent-at-bol-alist): New user option.
7553         (antlr-indent-line): Use it.
7554         (antlr-indent-style): New user option.
7555         (antlr-mode): Use it.
7556         (antlr-indent-item-regexp): Customize.
7558         * antlr-mode.el: Syntax highlighting changes.
7559         (antlr-font-lock-literal-regexp): New user option.
7560         (antlr-font-lock-syntax-face): New face used for :, |, ....
7561         (antlr-font-lock-default-face): New face.
7562         (antlr-font-lock-additional-keywords): Use them.
7564         * antlr-mode.el: New command to insert options -- variables.
7565         (antlr-mode-map): New binding [C-c C-o].
7566         (antlr-mode-menu): New submenus.
7567         (antlr-options-use-submenus): New user option.
7568         (antlr-tool-version): New user option.
7569         (antlr-options-auto-colon): New user option.
7570         (antlr-options-style): New user option.
7571         (antlr-options-push-mark): New user option.
7572         (antlr-options-assign-string): New user option.
7573         (antlr-options-headings): New variable.
7575         * antlr-mode.el: New command to insert options -- specific.
7576         (antlr-options-alists): New variable.
7577         (antlr-read-value): New function.
7578         (antlr-read-boolean): New function.
7579         (antlr-language-option-extra): New function.
7580         (antlr-language-limit-n-regexp): Change default to higher LIMIT.
7581         (antlr-c++-mode-extra): New function.
7582         (antlr-grammar-tokens): New function.
7583         (antlr-imenu-create-index-function): New optional argument.
7585         * antlr-mode.el: New command to insert options -- functions.
7586         (antlr-insert-option): New command.
7587         (antlr-insert-option-interactive): New function.
7588         (antlr-options-menu-filter): New function.
7589         (antlr-option-kind): New function.
7590         (antlr-scan-lists): New alias.
7591         (antlr-scan-lists-internal): New function.
7592         (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
7593         (antlr-option-level): New function.
7594         (antlr-syntactic-grammar-depth): New function.
7595         (antlr-option-location): New function.
7596         (antlr-insert-option-do): New function.
7597         (antlr-option-spec): New function.
7598         (antlr-version-string): New function.
7599         (antlr-insert-option-existing): New function.
7600         (antlr-insert-option-space): New function.
7601         (antlr-insert-option-area): New function.
7603         * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
7604         with narrowing.  Menu change.  Miscellaneous.
7605         (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
7606         (antlr-mode-map): New bindings for characters in ":;|&(){}".
7607         (antlr-electric-character): New command.
7608         (antlr-class-header-regexp): New variable.
7609         (antlr-font-lock-additional-keywords): Use it.
7610         (antlr-imenu-create-index-function): Use it.
7611         (antlr-file-dependencies): Use it.
7612         (antlr-indent-line): Also works with restrictions.
7613         (antlr-indent-command): Interactive spec - changes the buffer.
7614         (antlr-language-for-option): Deletia.
7615         (antlr-language-option): New function, defined instead.
7616         (antlr-mode): Use it.
7618 2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>
7620         * jka-compr.el (jka-compr-partial-uncompress): Use null-device
7621         instead of a literal /dev/null.
7623         * Makefile.in (distclean): Remove Makefile in the build
7624         directory, not in the source directory.
7626 2001-12-21  Simon Josefsson  <jas@extundo.com>.
7628         * mail/smtpmail.el (smtpmail-send-queued-mail):
7629         Use with-temp-buffer instead of find-file-noselect, and bind
7630         coding-system-for-read to no-conversion when reading the queued
7631         messages.  (Simon's code modified slightly by Eli Zaretskii.)
7633 2001-12-20  Werner Lemberg  <wl@gnu.org>
7635         * international/mule-diag.el (describe-coding-system)
7636         (print-coding-system-briefly): Make printed output have a similar
7637         format as describe-character-set.
7639 2001-12-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7641         * play/blackbox.el (bb-member): Remove, use member instead.
7642         (bb-delete): Remove, use delete instead.
7643         Update copyright notice.  Defvar for bb-board, bb-x, bb-y,
7644         bb-score, bb-detour-count and bb-balls-placed.
7645         Propertize results of rays.
7647 2001-12-19  Karl Fogel  <kfogel@red-bean.com>
7649         * isearch.el (isearch-forward, isearch-edit-string): Make doc
7650         strings mention keybinding for `isearch-yank-word-or-char',
7651         rather than `isearch-yank-word', since the former is bound now
7652         and the latter is not.
7653         (isearch-yank-word-or-char): Fix formatting.
7655 2001-12-19  Werner Lemberg  <wl@gnu.org>
7657         * language/czech.el, language/european.el, language/slovak.el:
7658         More fixes for language info doc strings.
7660 2001-12-19  Eli Zaretskii  <eliz@is.elta.co.il>
7662         * loadup.el: Add "language" to the load-path.
7664 2001-12-19  Richard M. Stallman  <rms@gnu.org>
7666         * international/mule-cmds.el (describe-language-environment):
7667         Fix calls to help-xref-button.
7669 2001-12-19  Miles Bader  <miles@gnu.org>
7671         * international/fontset.el: Require `ind-util' when compiling.
7673 2001-12-18  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7675         * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
7676         instead of decompose-composite-char.
7678 2001-12-18  Richard M. Stallman  <rms@gnu.org>
7680         * simple.el (eval-expression-print-level)
7681         (eval-expression-print-length): Doc fixes.
7683         * international/mule-diag.el (describe-character-set):
7684         Fix the arg to help-xref-button.
7686         * files.el (directory-free-space-program): New variable.
7687         (directory-free-space-args): New variable.
7688         (insert-directory): Use those two variables for getting free space.
7689         Use file-system-info instead, if that is defined.
7691         * dired.el (dired-free-space-program): Variable deleted.
7692         (dired-free-space-args): Variable deleted.
7693         (dired-insert-directory): Don't try to determine free space.
7695         * files.el (font-lock-defaults): Add risky-local-variables prop.
7696         (hack-one-local-variable): Treat various font-lock variables as risky.
7698 2001-12-18  Werner Lemberg  <wl@gnu.org>
7700         * language/chinese.el, language/cyrillic.el:
7701         * language/czech.el, language/european.el, language/greek.el:
7702         * language/hebrew.el, language/indian.el, language/japanese.el:
7703         * language/korean.el, language/lao.el, language/slovak.el:
7704         * language/thai.el, language/tibetan.el, language/vietnamese.el:
7705         Improve documentation strings of coding systems and language infos.
7707 2001-12-18  Werner LEMBERG  <wl@gnu.org>
7709         Add support for EUC-TW decoding/encoding.
7711         * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
7712         (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
7713         New auxiliary functions to build `big5-to-cns'.
7714         (big5-to-cns): New translation alist.
7716         * language/chinese.el: Added new coding system `euc-tw' and its
7717         alias `euc-taiwan'.
7718         Updated language `Chinese-CNS' to include euc-tw encoding also.
7719         (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
7720         euc-tw.
7722 2001-12-18  Dave Love  <fx@gnu.org>
7724         * loadup.el: Add language/utf-8-lang, language/georgian.
7726         * image-file.el (image-file-name-extensions): Add pnm.  Doc fix.
7727         (image-file-name-regexps): Doc fix.
7729         * server.el (server-unload-hook): New function.
7731         * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
7732         (lm-crack-copyright): Cope with multi-line copyright `lines'.
7734         * simple.el (newline): Doc fix.
7735         (eval-expression-print-level, eval-expression-print-length): Doc
7736         fix.  Amend :type.
7737         (next-line, previous-line): Make arg optional.
7738         (newline): Doc fix.
7740         * Makefile.in (DONTCOMPILE): Add various language files.
7742         * international/quail.el (quail-input-string-to-events): Don't use
7743         string-to-list.
7745         * progmodes/f90.el (f90-break-line): Avoid infinite recursion
7746         calling `newline'.
7748 2001-12-17  Richard M. Stallman  <rms@gnu.org>
7750         * comint.el (comint-dynamic-list-input-ring-select): New function.
7751         Switches back to the old window configuration.
7752         (comint-dynamic-list-input-ring): Bind RET to that function.
7753         (comint-dynamic-list-input-ring-window-conf): New variable.
7755 2001-12-17  Werner Lemberg  <wl@gnu.org>
7757         * international/mule-conf.el: Improve documentation strings of
7758         character sets.
7760 2001-12-16  Richard M. Stallman  <rms@gnu.org>
7762         * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
7763         (dired-mode-map): Bind w to dired-copy-filename-as-kill.
7765         * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
7767         * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
7768         Add a DESCRIPTION for the makefile item.
7770         * find-file.el (ff-other-file-name): New function.
7772 2001-12-16  Eli Zaretskii  <eliz@is.elta.co.il>
7774         * international/quail.el (quail-input-string-to-events): Fix last
7775         change.
7777 2001-12-16  Richard M. Stallman  <rms@gnu.org>
7779         * isearch.el (isearch-edit-string): When we set isearch-string
7780         to the default, also set isearch-message.
7782         * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
7784         * startup.el (command-line-1): Display startup screen
7785         even if there are command line args.
7786         Add a note about how to go to editing your files.
7787         (fancy-splash-head): Add a note about how to go to your files.
7788         (fancy-splash-outer-buffer): New variable.
7789         (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
7791         * subr.el (with-temp-message): At the end, always discard
7792         the temp message, even by clearing the echo area.
7794         * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
7796 2001-12-16  Stefan Monnier  <monnier@cs.yale.edu>
7798         * log-view.el (log-view-message-re, log-view-current-tag):
7799         Recognize Subversion's log output format.
7801         * international/fontset.el: Build the list L at compile time.
7803         * language/ind-util.el (mapthread): Make a closure.
7805 2001-12-15  Richard M. Stallman  <rms@gnu.org>
7807         * isearch.el (isearch-start-hscroll): New variable.
7808         (isearch-mode): Set isearch-start-hscroll.
7809         (isearch-update): Restore original hscrolling if possible.
7811         * isearch.el (isearch-edit-string):
7812         Treat isearch-yank-word-or-char specially, like isearch-yank-word.
7814         * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
7815         (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
7816         rather than regexp search and (2) copying text properties
7817         already set up on text unchanged from the previous backtrace.
7819         * case-table.el (set-case-syntax-pair):
7820         Detect invalid calls and signal an error.
7822 2001-12-15  Richard M. Stallman  <rms@gnu.org>
7824         * language/ind-util.el (range): Function deleted.
7825         (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
7826         All calls changed.
7828         * language/devan-util.el (devanagari-range): Renamed from `range'.
7829         All calls changed.
7830         (devanagari-regexp-of-hashtbl-keys):
7831         Renamed from `regexp-of-hashtbl-keys'.  All calls changed.
7833 2001-12-15  Dave Love  <fx@gnu.org>
7835         * language/ind-util.el: Don't require cl.
7836         (indian-glyph-char, indian-glyph-max-char)
7837         (indian-char-glyph): Moved from indian.el
7838         (indian--puthash-char, mapthread): Don't quote lambda.
7839         (indian--map): New function.
7840         (indian--puthash-v, indian--puthash-c, indian--puthash-m)
7841         (indian--puthash-cv): Use it.
7843         * language/indian.el (indian-glyph-char, indian-glyph-max-char)
7844         (indian-char-glyph): Moved to ind-util.el
7846         * language/devan-util.el (devanagari-post-read-conversion):
7847         New function.
7849         * language/georgian.el: New file.
7851         * international/mule-cmds.el (locale-language-names): Add various
7852         entries.  Remove utf-8 special case.
7853         (locale-charset-language-names, locale-preferred-coding-systems):
7854         Add utf-8 case.
7855         (set-language-environment): Process required-features earlier.
7857         * international/quail.el (quail-keyboard-layout-alist):
7858         Add pc105-uk.
7859         (quail-keyboard-layout-type): Fix :type.
7860         (quail-choose-completion-string): Simplify.
7861         (quail-update-leim-list-file): Don't get fooled by commented-out code.
7862         (quail-input-string-to-events): Run events through
7863         translation-table-for-input.
7865         * international/mule-conf.el (translation-table-for-input):
7866         New variable.
7867         (latin-iso8859-14): Amend description.
7868         (file-coding-system-alist): Add entry for utf-8.
7870         * language/utf-8-lang.el: New file.
7872         * international/code-pages.el: New file.
7874         * language/hebrew.el ("Windows-1255"): New language.
7876         * language/european.el ("Welsh", "Latin-7", "Lithuanian")
7877         ("Latvian"): New languages.
7879 2001-12-14  Stefan Monnier  <monnier@cs.yale.edu>
7881         * xml.el: Use setq rather than (set 'foo bar).
7882         Use push+nreverse rather than append.
7883         (xml-node-name, xml-node-attributes, xml-node-children):
7884         Use defsubst rather than macros.
7885         (xml-parse-region): Handle a nil return value from xml-parse-tag.
7886         (xml-parse-tag): Don't skip white space.  Return nil for a comment.
7887         Concat the two strings surrounding a comment into a single string.
7889         * newcomment.el (comment-indent): Jump to the middle of empty comments.
7891 2001-12-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7893         * select.el (xselect-convert-to-class, xselect-convert-to-name):
7894         Document.
7896 2001-12-14  Andre Spiegel  <spiegel@gnu.org>
7898         * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
7899         Return nil if FILE is not registered.
7900         (vc-check-master-templates, vc-default-make-version-backups-p):
7901         Doc fix.
7903 2001-12-13  David Ponce  <david@dponce.com>
7905         * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
7906         (ruler-mode-left-fringe-cols): New macro.
7907         (ruler-mode-right-fringe-cols): New macro.
7908         (ruler-mode-left-scroll-bar-cols): New macro.
7909         (ruler-mode-right-scroll-bar-cols): New macro.
7910         (ruler-mode-ruler): Use above new macros.
7912 2001-12-13  Richard M. Stallman  <rms@gnu.org>
7914         * files.el (set-auto-mode): Fix previous change.
7916 2001-12-13  Stefan Monnier  <monnier@cs.yale.edu>
7918         * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
7919         (easy-menu-do-define, easy-menu-convert-item-1)
7920         (easy-menu-define-key-intern, easy-menu-get-map): Use it.
7921         (easy-menu-return-item): Only return nil if there is no binding.
7923 2001-12-13  Rajesh Vaidheeswarran  <rv@gnu.org>
7925         * whitespace.el (whitespace-version): 3.2
7926         * whitespace.el (whitespace-force-mode-line-update): Replace with
7927         `whitespace-mode-line-update', which is an alias to the correct
7928         function in various emacsen.
7929         * whitespace.el (whitespace-{un,}highlight-the-space):
7930         Add colorized highlighting of the bogus whitespaces in a buffer/file,
7931         using the `whitespace-highlight-face' if
7932         `whitespace-display-spaces-in-color' is set.
7934 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
7936         * international/mule.el (set-auto-coding): Don't search for
7937         "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
7939 2001-12-13  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7941         * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
7943         * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
7945         * mail/rmailsum.el (rmail-summary-mode): Likewise.
7947 2001-12-13  Richard M. Stallman  <rms@gnu.org>
7949         * simple.el (undo): Always set this-command to `undo',
7950         so that the next undo after an error will not begin redoing.
7952         * simple.el (shell-command): Doc fix.
7953         (shell-command-on-region): If there is output an an error,
7954         add "...Shell command failed" to the output.
7956 2001-12-13  David Ponce  <david@dponce.com>
7958         * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
7959         (ruler-mode-left-fringe-cols): Function replaced by more efficient
7960         implementation `ruler-mode-extra-left-cols'.
7961         (ruler-mode-ruler): Use above new function.  Take into account
7962         that the fringe areas can now be resized.
7964 2001-12-12  Richard M. Stallman  <rms@gnu.org>
7966         * international/characters.el (Unicode): Comment out
7967         the specifications for kelvin and angstrom signs.
7969         * international/mule.el (make-translation-table-from-vector):
7970         Allow null elements in VEC.
7972         * international/ucs-tables.el (unify-8859-on-encoding-mode)
7973         (unify-8859-on-decoding-mode): Swap the code in their bodies.
7974         Add :version.
7976 2001-12-11  Richard M. Stallman  <rms@gnu.org>
7978         * derived.el (derived-mode-p): Function moved to subr.el.
7980         * subr.el (derived-mode-p): Moved here from derived.el.
7982         * international/mule.el (set-auto-coding): Use set-auto-mode-1.
7984         * files.el (set-auto-mode-1): New subroutine, broken out of
7985         set-auto-mode.
7986         (set-auto-mode, hack-local-variables-prop-line): Use that.
7988 2001-12-11  Dave Love  <fx@gnu.org>
7990         * language/thai-util.el, language/thai.el: Add Unicode equivalents.
7992         * language/european.el: Remove autoload cookies.  Fix registration
7993         of diacritic composition function.
7995 2001-12-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
7997         * calendar/todo-mode.el: Require time-stamp.
7999         * net/zone-mode.el (zone-mode): Don't use make-local-hook.
8001 2001-12-11  Richard M. Stallman  <rms@gnu.org>
8003         * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
8005         * textmodes/ispell.el (ispell-buffer-local-parsing):
8006         Match xml like sgml.
8008         * emacs-lisp/advice.el (ad-compile-function):
8009         Byte compile the function under another (uninterned) name.
8011         * gud.el (gdb): Define and bind gud-jump.
8013         * font-lock.el (font-lock-mode):
8014         Put our function at the end of after-change-functions.
8016         * ediff-diff.el (ediff-cmp-options): Doc fix.
8018         * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
8020 2001-12-10  Richard M. Stallman  <rms@gnu.org>
8022         * isearch.el (isearch-yank-word-or-char): New function.
8023         (isearch-mode-map): Bind C-w to that.
8025         * menu-bar.el (menu-bar-mode): Make arg optional.
8027         * simple.el (line-move): Cope if next-single-property-change
8028         or previous-single-property-change returns nil.
8030         * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
8031         Don't use interactive-p; instead, pass the proper args
8032         in (interactive...).  Clean up most of the trouble-report strings.
8034 2001-12-10  Eli Zaretskii  <eliz@is.elta.co.il>
8036         * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
8037         enqueued messages literally.
8039 2001-12-10  Noah Friedman  <friedman@splode.com>
8041         * battery.el (battery-insert-file-contents): Obsolete function
8042         removed.
8043         (battery-read-function): Obsolete function removed.
8044         (battery-linux-proc-apm): Use insert-file-contents.
8046 2001-12-07  Stephen Eglen  <stephen@gnu.org>
8048         * iswitchb.el (iswitchb-visit-buffer):
8049         Use `select-frame-set-input-focus'--needed when window manager
8050         uses "click to focus" policy.
8052 2001-12-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8054         * COPYING: Moved back.
8056 2001-12-07  Eli Zaretskii  <eliz@is.elta.co.il>
8058         * term/internal.el (IT-character-translations): Add entries for
8059         more points.
8061         * international/characters.el: Resurrect the Hebrew category
8062         settings for all Hebrew characters removed by the last change.
8063         Add code for setting the Hebrew category of the Unicode Hebrew
8064         characters.  Set syntax entries for Hebrew punctuation characters.
8066         * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
8067         points and directional formatting control characters.
8069 2001-12-07  Dave Love  <fx@gnu.org>
8071         * language/lao-util.el: Add Unicode equivalents for rules.
8072         (lao-post-read-conversion): New function.
8074         * language/lao.el: Add Unicode equivalents.
8075         (lao): Add post-read conversion.
8077         * international/latin1-disp.el: Fix some 8-bit-graphic characters.
8078         Use iso2022 encoding.
8079         (latin1-char-displayable-p): Doc fix.
8080         (latin1-display-ucs-per-lynx): New option.
8081         (latin1-display-ucs-per-lynx): New command.
8082         (latin1-display-reset): Special-case arabic.
8083         (ucs-tables): Require.
8084         (latin1-display-sets, latin1-display-setup): Add arabic.
8085         (latin1-display) <variable>: Use function latin1-display.
8086         (latin1-display) <function>: Add mule-unicode stuff.
8087         (latin1-display-check-font): Don't lose if `info' is nil.
8089         * international/iso-transl.el: Insert Latin-1 characters, not
8090         unibyte codes.
8092         * language/european.el (diacritic-composition-pattern): New constant.
8093         (diacritic-compose-region, diacritic-compose-string)
8094         (diacritic-compose-buffer, diacritic-post-read-conversion)
8095         (diacritic-composition-function): New functions.
8097         * international/utf-8.el (ucs-mule-to-mule-unicode):
8098         New translation table.
8099         (ccl-encode-mule-utf-8): Use it.
8100         (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
8101         (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
8102         (utf-8-subst-table): New variable.
8103         (utf-8-compose-scripts): New option.
8104         (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
8106         * international/ucs-tables.el, international/utf-8-subst.el:
8107         New files.
8109         * international/characters.el: Don't set word syntax (the default)
8110         explicitly.  Add a diacritic category.  Add info for Unicode
8111         equivalents of characters in various Mule charsets and for extra
8112         Unicode characters.  Don't define specific categories for
8113         Indian/Devanagari, since they aren't used.
8115 2001-12-06  Richard M. Stallman  <rms@gnu.org>
8117         * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
8118         (set-justification-left, set-justification-right): Doc fix.
8120         * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
8121         (bug-f90-mode): Variable deleted.
8123 2001-12-06  Stefan Monnier  <monnier@cs.yale.edu>
8125         * indent.el (indent-line-function): Default is indent-relative again.
8127 2001-12-07  Miles Bader  <miles@gnu.org>
8129         * progmodes/compile.el (compilation-error-regexp-alist):
8130         Added regexps for RXP.
8132 2001-12-05  Eli Zaretskii  <eliz@is.elta.co.il>
8134         * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
8135         Add shift-assignment operators to those highlighted, and highlight
8136         the whole operator rather than just the "=".
8138 2001-12-04  Juanma Barranquero  <lektu@terra.es>
8140         * files.el (save-abbrevs, save-some-buffers): Don't ask the user
8141         before saving abbrevs if `save-abbrevs' has the value `silently'.
8143 2001-12-04  Andreas Schwab  <schwab@suse.de>
8145         * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
8147 2001-12-04  Colin Walters  <walters@debian.org>
8149         * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
8150         for `defmacro*' forms.
8152         * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
8153         `defmacro*'.
8155 2001-12-03  Stefan Monnier  <monnier@cs.yale.edu>
8157         * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
8159 2001-12-02  Richard M. Stallman  <rms@gnu.org>
8161         * files.el (insert-directory): If the df output does not look right,
8162         don't try to use it.  Other cleanups in overall code structure.
8164 2001-12-02  Stefan Monnier  <monnier@cs.yale.edu>
8166         * textmodes/outline.el (outline-mode-prefix-map):
8167         Add bindings for outline-promote and outline-demote.
8168         (outline-minor-mode-menu-bar-map): New var.
8169         (outline-minor-mode): Use it.
8170         (outline-heading-alist): New var (renamed from outline-level-heading).
8171         (outline-level): Use it.
8172         (outline-insert-heading, outline-promote, outline-demote):
8173         Update to use outline-heading-alist.
8175         * disp-table.el (standard-display-european):
8176         Simplify since the function is not interactive any more.
8177         Don't set the existing buffers to unibyte.
8179         * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
8181         * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
8183         * reveal.el (reveal-mode): Fix reveal-mode's lighter.
8185         * shell.el (shell): Use shell-file-name.
8186         Pop to buffer before calling comint to set COLUMNS properly.
8188         * emacs-lisp/cl.el (svref): New alias.
8190         * progmodes/antlr-mode.el (antlr-c-common-init):
8191         Don't inhibit adaptive-fill-mode any more.
8193         * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
8195         * progmodes/etags.el (tags-with-face): Use make-symbol.
8196         (tags-search, tags-query-replace): Use backquotes.
8198         * textmodes/picture.el (picture-mode-map): Don't use defconst
8199         for a variable.
8201 2001-12-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8203         * textmodes/reftex-index.el (reftex-index-mode):
8204         Remove make-local-hook.
8206         * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
8208 2001-12-02  Kim F. Storm  <storm@cua.dk>
8210         * isearch.el (isearch-resume-enabled): New variable.
8211         (isearch-done): Use that variable.
8213 2001-12-01  Richard M. Stallman  <rms@gnu.org>
8215         * wid-edit.el (widget-button-click): Don't move point permanently:
8216         Avoid mouse-set-point--instead select the window,
8217         then do save-excursion, then move point.
8218         Specify the buffer for get-char-property.
8219         Don't use `@' in interactive.
8221         * indent.el (indent-line-function):
8222         Default is indent-to-left-margin again.
8224         * replace.el (query-replace-read-args): Display message
8225         if FROM contains `\n' or `\t'.
8227 2001-12-01  Stefan Monnier  <monnier@cs.yale.edu>
8229         * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
8231         * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
8233         * emacs-lisp/regexp-opt.el (regexp-opt):
8234         Bind completion-regexp-list to nil.
8236         * progmodes/hideif.el (hif-nexttoken): Move to before first def.
8238 2001-12-01  Eli Zaretskii  <eliz@is.elta.co.il>
8240         * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
8241         * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
8242         Update maintainer.
8244 2001-11-30  Stefan Monnier  <monnier@cs.yale.edu>
8246         * mail/smtpmail.el: Use with-current-buffer.
8247         (message-make-date, message-make-message-id): Autoload when needed.
8248         (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
8249         headers when missing.
8251         * international/encoded-kb.el (encoded-kbd-mode):
8252         Use define-minor-mode.
8254         * enriched.el (enriched-mode): Use define-minor-mode.
8255         Use dolist and pop and push.
8257         * info.el (Info-find-node-2): Don't call info-insert-file-contents
8258         with the `visit' argument.
8259         (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
8261         * progmodes/hideif.el (hide-ifdef-mode): Only modify
8262         `change-major-mode-hook' locally.  Reset invisibility spec.
8264         * man.el (Man-build-section-alist): Remove last Man-match-substring.
8266 2001-11-30  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
8268         * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
8269         Clarify error message.
8271 2001-11-29  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
8273         * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
8275 2001-11-30  Andre Spiegel  <spiegel@gnu.org>
8277         * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
8278         don't just return it.
8280 2001-11-30  Eli Zaretskii  <eliz@is.elta.co.il>
8282         * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
8283         (menu-bar-read-emacs-man, search-emacs-glossary)
8284         (emacs-index-search, elisp-index-search): New functions.
8285         (apropso-documentation, apropos, apropos-value, apropos-variable)
8286         (apropos-commands): Modify menu item names and help text.
8287         (elisp-index-search, emacs-index-search, emacs-glossary):
8288         New menu items.
8289         (menu-bar-manuals-menu): Move the Ordering Manuals item to a
8290         submenu.
8291         (info-elisp, info-elintro): New menu items.
8292         (apropos): Modify the menu item name.
8294 2001-11-30  Stefan Monnier  <monnier@cs.yale.edu>
8296         * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
8298         * textmodes/outline.el (outline-promote, outline-demote): Typo.
8300         * man.el (man-follow-mouse): New function.
8301         (Man-mode-map): Bind mouse-2 to it.
8302         (Man-match-substring): Remove.  Replace with `match-string'.
8303         (man): Use the `default-value' argument to `read-string'.
8304         (Man-fontify-manpage): Add mouse-face to cross references.
8306         * emacs-lisp/cl-macs.el (shiftf): Fix more.  Simplify.
8308 2001-11-29  Stefan Monnier  <monnier@cs.yale.edu>
8310         * emacs-lisp/crm.el (completing-read-multiple): Better preserve
8311         the value of require-match in minibuffer-completion-confirm.
8312         Use crm-local-completion-map.
8314         * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
8315         (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
8316         (cl-make-type-test): Use char-valid-p for `character'.
8318         * info.el (Info-complete-next-re, Info-complete-cache): New vars.
8319         (Info-complete-menu-item): Rewrite.  Add the ability to search
8320         several sequential nodes.  Add a simple caching mechanism.
8321         (Info-goto-index): New function extracted from Info-index.
8322         (Info-index): Use it.  Add completion to the interactive spec.
8323         (Info-menu-update): Simplify call to `Info-complete-menu-item'.
8325 2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8327         * COPYING: Removed.
8329 2001-11-29  Dave Love  <fx@gnu.org>
8331         * progmodes/fortran.el: Fontify rewind, backspace.  Doc fixes.
8332         (fortran-window-create, fortran-window-create-momentarily):
8333         Rewrite, moving error condition.
8334         (fortran-beginning-do, fortran-beginning-if): Fix regexps.
8335         (fortran-mode-syntax-table): Revert last change.
8337         * international/mule.el: Doc fixes.
8338         (map-charset-chars): New function.
8339         (register-char-codings): Use it to cope with generic chars in
8340         safe-chars.
8342 2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8344         * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
8346         * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
8348         * play/studly.el (studlify-word, studlify-region)
8349         (studlify-buffer): Fix doc-string.
8350         (studlify-buffer): Add autoload cookie.
8352 2001-11-28  Stefan Monnier  <monnier@cs.yale.edu>
8354         * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
8355         (outline-up-heading-all): Remove.
8356         (hide-sublevels): Move to end-of-heading before calling flag-region.
8357         (outline-copy-overlay, outline-discard-overlays): Remove.
8358         (outline-flag-region): Use `remove-overlays'.
8359         Don't move to end-of-heading.
8360         (outline-next-visible-heading, outline-back-to-heading)
8361         (outline-on-heading-p): Use outline-invisible-p.
8362         (outline-font-lock-level): Use outline-up-heading's new arg.
8363         (outline-minor-mode): Simplify.
8364         (outline-map-tree, outline-reveal-toggle-invisible): New funs.
8365         (outline): Put a `reveal-toggle-invisible' property.
8366         (outline-level-heading): New var.
8367         (outline-insert-heading, outline-promote, outline-demote)
8368         (outline-toggle-children): New commands.
8370         * progmodes/hideif.el (hif-end-of-line): New function.
8371         (hide-ifdef-mode): Set line-move-ignore-invisible.
8372         (hide-ifdef-region-internal): New function.
8373         (hide-ifdef-region): Use it.
8374         (hif-defined): Return an integer.
8375         (hif-infix-to-prefix): Remove.
8376         (hif-tokenize): Parse from the buffer rather than from a string.
8377         Correctly tokenize integers.  Use forward-comment.
8378         (hif-expr): Use hif-or.
8379         (hif-term): Use hif-and.
8380         (hif-factor): Use hif-not.  Handle numbers properly.
8381         Don't require parenthesis around `defined's argument.
8382         (hif-and, hif-or, hif-not): New funs.
8383         (hif-canonicalize): Pass a region to hif-tokenize.  Use hif-not.
8384         (hif-hide-line): Don't hide the \n before the line.
8385         (hif-possibly-hide): Correctly handle numeric evaluation results.
8387         * progmodes/make-mode.el: Use line-(end|beginning)-position.
8388         (makefile-mode): Set indent-line-function.
8389         (makefile-browser-insert-continuation): Use with-current-buffer.
8390         (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
8392 2001-11-28  Karl Fogel  <kfogel@red-bean.com>
8394         * isearch.el (isearch-yank-internal): New helper function.
8395         (isearch-yank-char): New function.
8396         (isearch-yank-word, isearch-yank-line): Rewrite to use
8397         isearch-yank-internal.
8399 2001-11-28  Eli Zaretskii  <eliz@is.elta.co.il>
8401         * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
8402         aren't supported.  Print a message to that effect if invoked.
8404 2001-11-27  Stephen Eglen  <stephen@gnu.org>
8406         * locate.el (locate): Put point at first matching file rather
8407         than top of buffer.
8409 2001-11-27  Stefan Monnier  <monnier@cs.yale.edu>
8411         * reveal.el: New file.
8413         * progmodes/hideif.el: Misc cleanup.
8414         (hide-ifdef-mode-submap): Put the def in the defvar.
8415         Use substitute-key-definition.
8416         (hide-ifdef-mode): Use define-minor-mode.
8417         (hif-outline-flag-region): Remove.
8418         (hif-show-all): Define in terms of hif-show-ifdef-region.
8419         (hif-after-revert-function): Rename from hif-before-revert-function.
8420         (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
8421         (hif-tokenize): Use with-syntax-table.
8422         (hif-make-range): Use `else' also for `else-p'.
8423         (hif-range-else-p): Remove.
8424         (hif-find-range): Simplify.
8425         (hif-hide-line): Don't bother preserving buffer-modified-p.
8426         (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
8427         Don't use selective-display and inhibit-read-only.
8429         * subr.el (copy-overlay, remove-overlays): New funs.
8431         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
8433 2001-11-27  Sam Steingold  <sds@gnu.org>
8435         * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
8436         * lazy-lock.el, mouse-sel.el, mail/feedmail.el
8437         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
8438         * obsolete/c-mode.el, obsolete/cplus-md.el
8439         * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
8440         * term/sun-mouse.el, textmodes/artist.el:
8441         Converted backquote to the new style.
8442         * mouse.el, reposition.el: Likewise (in comments).
8443         * expand.el: Likewise (in a string).
8445 2001-11-27  Richard M. Stallman  <rms@gnu.org>
8447         * cus-edit.el (custom-load-symbol): Don't always load locate-library.
8449 2001-11-26  Richard M. Stallman  <rms@gnu.org>
8451         * wid-edit.el (widget-toggle-value-create): On graphic terminal,
8452         if :on-glyph or :off-glyph is a list, eval it and store it back.
8453         (checkbox): Quote the values for :on-glyph and :off-glyph.
8455         * cus-start.el (recursive-load-depth-limit): Delete item.
8457 2001-11-26  Stefan Monnier  <monnier@cs.yale.edu>
8459         * help-fns.el (describe-categories, help-describe-category-set): New.
8460         describe-categories moved here from src/category.c.
8462 2001-11-26  Sam Steingold  <sds@gnu.org>
8464         * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
8465         arguments to `insert' are strings.
8467 2001-11-26  Richard M. Stallman  <rms@gnu.org>
8469         * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
8471 2001-11-26  Eli Zaretskii  <eliz@is.elta.co.il>
8473         * international/mule-diag.el: Require help-fns instead of
8474         help-funs.
8476         * help-fns.el: Renamed from help-funs.el.
8478         * startup.el (command-line-1): Don't try to call process-list if
8479         it is not fboundp.
8481 2001-11-26  Sam Steingold  <sds@gnu.org>
8483         * frame.el (show-trailing-whitespace): Remove :set argument (the
8484         value was essentially identical to the defalt).
8486 2001-11-26  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8488         * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
8490         * icomplete.el (icomplete-minibuffer-setup): Likewise.
8492         * hilit-chg.el (hilit-chg-set): Likewise.
8494         * speedbar.el (speedbar-mode): Likewise.
8496         * calendar/calendar.el (calendar-mode): Likewise.
8498         * play/yow.el (psychoanalyze-pinhead): Use insert instead of
8499         insert-string.
8501         * play/gamegrid.el (gamegrid-init-buffer): Likewise.
8503         * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
8505         * term/sun-mouse.el (sun-yank-selection): Likewise.
8507         * textmodes/bib-mode.el (return-key-bib): Likewise.
8509         * calendar/appt.el (appt-disp-window): Likewise.
8511         * calendar/diary-lib.el (list-diary-entries): Likewise.
8513         * array.el (array-reconfigure-rows): Likewise.
8515         * filecache.el (file-cache-minibuffer-complete): Likewise.
8517         * obsolete/cplus-md.el (fill-c++-comment): Likewise.
8519         * strokes.el (strokes-prompt-user-save-strokes): Likewise.
8521         * allout.el (outline-version, outline-open-topic)
8522         (outline-rebullet-heading, outline-insert-listified)
8523         (outline-latex-verbatim-quote-curr-line)
8524         (outline-latexify-one-item, outlineify-sticky): Likewise.
8526         * vc.el (vc-next-action-on-file): Likewise.
8527         (vc-dired-mode): Remove make-local-hook.
8529 2001-11-26  Andre Spiegel  <spiegel@gnu.org>
8531         * vc.el (vc-find-version): New function.
8532         (vc-version-other-window): Redefined in terms of the above.
8534         * log-view.el (log-view-find-version): New function.
8535         (log-view-mode-map): Bind it to `f'.
8537 2001-11-26  Gerd Moellmann  <gerd@gnu.org>
8539         * language/devan-util.el (dev-char-glyph): Escape `"' in
8540         string literals.
8541         (dev-glyph-glyph, dev-glyph-glyph-2)
8542         (devanagari-compose-syllable-region): Likewise.
8544 2001-11-26  Richard M. Stallman  <rms@gnu.org>
8546         * window.el (save-selected-window): No error if saved window is dead.
8548         * help-funs.el (describe-syntax): Put (interactive) after doc string.
8550 2001-11-26  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8552         * international/quail.el (quail-help): Require help-mode in
8553         top-level instead.
8555         * iswitchb.el (iswitchb-exhibit): Use insert instead of
8556         insert-string.
8558         * icomplete.el (icomplete-exhibit): Likewise.
8560 2001-11-25  Stefan Monnier  <monnier@cs.yale.edu>
8562         * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
8563         (diff-hunk-kill): Simplify.
8564         (diff-post-command-hook): Only apply to a single hunk.
8565         (diff-hunk-text): Make `char-offset' non-optional.
8566         (diff-find-text): Return a cons cell.
8567         (diff-find-approx-text): New fun.
8568         (diff-find-source-location): Use it.
8569         (diff-apply-hunk, diff-test-hunk, diff-goto-source):
8570         Adapt to new retval of diff-find-text.
8572         * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
8573         rather than integer- representation of dates.
8575         * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
8577         * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
8578         (syntax-after): New fun.
8580         * help-funs.el (describe-syntax): New fun.
8582         * font-lock.el (font-lock-cache-state, font-lock-cache-position)
8583         (font-lock-ppss-stats, font-lock-ppss): Remove.
8584         (font-lock-fontify-syntactically-region): Remove tuning code.
8585         (font-lock-compile-keywords): Fix off-by-one bug.
8586         (font-lock-set-defaults): Don't set removed vars.
8587         (c-keywords): Add `inline'.
8588         (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
8590         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8591         Set syntax-begin-function.
8592         (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
8593         (lisp-interaction-mode): Don't set local-abbrev-table any more.
8594         (lisp-mode-auto-fill): Use syntax-ppss and obey
8595         comment-auto-fill-only-comments.
8596         (lisp-fill-paragraph): Use syntax-ppss.
8598 2001-11-25  ShengHuo ZHU  <zsh@cs.rochester.edu>
8600         * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
8601         version of rmail-enable-mime.
8602         (rmail-forward): Use it.
8604 2001-11-25  Richard M. Stallman  <rms@gnu.org>
8606         * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
8608         * international/quail.el (quail-keyboard-layout-button):
8609         Define button type.
8610         (quail-keyboard-customize-button): Likewise.
8611         (quail-help): Use those button types.  Require `help-mode'.
8612         Avoid altering the argument `package'.
8614         * help-mode.el (help-function, help-variable, help-face)
8615         (help-coding-system, help-input-method, help-character-set):
8616         Define each button type with its own explicit define-button-type.
8618         * language/devan-util.el: Comment out parts of the file
8619         which apparently are garbled.
8621 2001-11-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8623         * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
8624         insert-string.
8626 2001-11-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8628         * play/snake.el (snake-mode): Remove make-local-hook.
8630         * play/tetris.el (tetris-mode): Likewise.
8632         * play/decipher.el (decipher-mode): Likewise.
8634         * tmm.el (tmm-add-prompt): Likewise.
8636 2001-11-25  Sam Steingold  <sds@gnu.org>
8638         * menu-bar.el (menu-bar-apropos-menu): New variable.
8639         Moved all `apropos' bindings to this menu.
8640         (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
8642 2001-11-24  KAWABATA, Taichi <batta@beige.ocn.ne.jp>
8644         The following changes are for new indian languages support based
8645         on Unicode charset and CDAC fonts.
8647         * international/mule-conf.el: Change indian-1-column charset to
8648         indian-glyph charset.
8650         * international/characters.el: Adjusted for the change of
8651         indian-1-column -> indian-glyph.
8653         * international/fontset.el: Delete the setting for indian-1-column
8654         and add the setting for indian-glyph in the default fontset.
8656         * language/indian.el: Completely re-written.
8658         * language/devanagari.el: Completely re-written.
8660         * language/devan-util.el: Completely re-written.
8662         * language/ind-util.el: New file.
8664 2001-11-24  Richard M. Stallman  <rms@gnu.org>
8666         * startup.el (command-line-1): Don't do startup screen
8667         if a subprocess is running.  Call the startup screen buffer
8668         "GNU Emacs".  Make a special mode-line-format for it.
8670         * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
8671         (browse-url-galeon): Use that variable.
8673         * mail/supercite.el (sc-toggle-var): Don't use set-variable or
8674         eval-expression.  Eval and set the variable simply.
8676         * files.el (temporary-file-directory): Use defcustom.
8677         (small-temporary-file-directory): Likewise.
8678         (normal-backup-enable-predicate): Move down in file
8679         after definition of temporary-file-directory.
8681         * bindings.el (last-buffer, unbury-buffer): Doc fixes.
8683 2001-11-24  Colin Walters  <walters@debian.org>
8685         * calc/calc-ext.el (calc-init-extensions): Update the rest of the
8686         autoload names to match files renamed on initial calc import.
8688         * calc/calc.el (Commentary): Cleanup, and add logistic curve
8689         fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
8691 2001-11-23  Colin Walters  <walters@debian.org>
8693         * Makefile.in (finder_setwins, setwins): Include Calc again.
8695         * calc/calc-rules.el: Add header comment.
8697 2001-11-23  Andre Spiegel  <spiegel@gnu.org>
8699         * vc.el (with-vc-properties): Don't bind `filename' locally.
8700         (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
8701         to avoid name clashes.  Fix `lisp-indent-function' property for
8702         both.
8704 2001-11-23  Francesco Potorti`  <pot@gnu.org>
8706         * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
8708 2001-11-22  Colin Walters  <walters@debian.org>
8710         * calc/calc-misc.el (report-calc-bug):
8711         Use `reporter-prompt-for-summary-p'.
8713         * calc/INSTALL, calc/Makefile: Remove.
8715 2001-11-22  Miles Bader  <miles@gnu.org>
8717         * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
8718         (reb-match-2, reb-match-3): Add dark-background variants.
8720 2001-11-22  Colin Walters  <walters@debian.org>
8722         * calc/calc-misc.el (calc-info): Don't perform voodoo, just
8723         (info "Calc").
8724         (report-calc-bug): Use reporter.el.
8726         * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
8728 2001-11-21  Richard M. Stallman  <rms@gnu.org>
8730         * which-func.el (which-function): Call imenu--make-index-alist
8731         if necessary to get a list of functions.
8732         (which-function-imenu-failed): New variable.
8733         (which-func-update): Handle all visible windows.
8734         (which-func-update-1): New subroutine broken out of which-func-update.
8736         * files.el (temporary-file-directory, null-device)
8737         (small-temporary-file-directory): Definitions moved up.
8739         * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
8740         (cperl-non-problems, cperl-praise): Doc fixes.
8742         * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
8743         (sh-mode-syntax-table): Function restored.
8744         Variable set up for use by function sh-mode-syntax-table.
8745         (sh-set-shell): Set the syntax table.
8747         * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
8749         * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
8751         * international/encoded-kb.el: Don't alter minor-map-alist.
8753 2001-11-20  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
8755         * files.el (auto-save-file-name-transforms): Put remote files in
8756         temporary-file-directory rather than /tmp.
8758 2001-11-21  Colin Walters  <walters@debian.org>
8760         * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
8761         of (function ...) wrapper.
8763 2001-11-20  Stefan Monnier  <monnier@cs.yale.edu>
8765         * derived.el (define-derived-mode): Create the abbrev-table
8766         from inside the `defvar'.
8768         * jit-lock.el (jit-lock-defer-time): New var.
8769         (jit-lock-defer-timer, jit-lock-buffers): New vars.
8770         (jit-lock-mode): Initialize them.  Cancel the timers more carefully.
8771         (jit-lock-function): Defer fontification if requested.
8772         (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
8773         (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
8774         text property.
8775         (jit-lock-deferred-fontify): New fun.
8777 2001-11-20  Richard M. Stallman  <rms@gnu.org>
8779         * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
8780         Set local-abbrev-table to lisp-mode-abbrev-table.
8782         * emacs-lisp/re-builder.el (reb-mode):
8783         Don't use define-derived-mode.  Call kill-all-local-variables.
8785         * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
8786         Don't use define-derived-mode.
8788         * help-mode.el (help-mode): Undo 2001-10-07 change.
8790         * replace.el (occur-mode): Undo 2001-5-20 change.
8792 2001-11-20  Jason Rumney  <jasonr@gnu.org>
8794         * w32-fns.el (w32-system-coding-system): Change to an alias for
8795         locale-coding-system.
8796         (set-w32-system-coding-system): Document the above change.
8797         Set locale-coding-system instead.
8799 2001-11-20  Richard M. Stallman  <rms@gnu.org>
8801         * ruler-mode.el: Add pagination.
8802         (ruler-mode-toggle-show-tab-stops): No need to
8803         test `ruler-mode' variable.
8805 2001-11-20  Eli Zaretskii  <eliz@is.elta.co.il>
8807         * play/landmark.el: Mark lm-mode as special.
8809         * play/gomoku.el: Mark gomoku-mode as special.
8811 2001-11-20  Juanma Barranquero  <lektu@terra.es>
8813         * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
8814         (top-level): Bind it to C-c C-b.
8815         (re-builder): Don't re-enter RE Builder Mode.
8817         * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
8819 2001-11-20  Stefan Monnier  <monnier@cs.yale.edu>
8821         * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
8822         `manual-program'.
8824         * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
8825         to a line without a comment.
8827 2001-11-20  Eli Zaretskii  <eliz@is.elta.co.il>
8829         * dired.el (dired-listing-switches): Mention in the doc string
8830         that some switches are not supported by ls-lisp.el
8832 2001-11-19  Stefan Monnier  <monnier@cs.yale.edu>
8834         * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
8835         (imenu--create-keymap-2): Remove.
8836         (imenu--create-keymap-1): Simplify, remove third argument.
8837         (imenu--generic-function): Use dolist.
8838         (imenu-find-default): New function.
8839         (imenu--completion-buffer): Use it.
8840         (imenu--mouse-menu): Use popup-menu.
8841         (imenu--menubar-select): Return t rather than calling imenu.
8843         * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
8844         New functions, extracted from fill-region-as-paragraph.
8845         (fill-region-as-paragraph): Use them.
8846         Use an end marker instead of eob.
8847         Ignore whitespace-only fill-prefixes when indenting according to mode.
8848         Simplify the loop that searches for spaces backwards.
8850         * textmodes/picture.el (picture-vertical-step)
8851         (picture-horizontal-step): Don't use defconst for variables.
8853         * mail/mail-extr.el: Use backquote/dolist/mapc/when.  Docstring fixes.
8854         (mail-extract-address-components): Downcase domain names.
8855         (mail-extr-delete-char): Remove.  Use delete-char instead.
8857         * emulation/pc-select.el: Doc string fixes.
8858         (pc-selection-mode): Don't treat macos as a tty.
8860         * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
8862         * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
8864         * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
8865         (mouse-wheel-progessive-speed): New var.
8866         (mwheel-scroll): Use it and handle float values.
8868         * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
8870         * iswitchb.el (iswitchb-mode): Use define-minor-mode.
8871         (iswitchb): Fix the case where the result was selected with the mouse.
8872         (iswitchb-completion-help): Use the normal *Completions* now that
8873         mouse selection works.
8874         (iswitchb-minibuffer-setup): Simplify.
8876         * newcomment.el (comment-column, comment-style, comment-multi-line)
8877         (comment-auto-fill-only-comments): Remove :group arg.
8878         (comment-padding): Add :type.
8879         (comment-indent-new-line): Ignore comment-auto-fill-only-comments
8880         if called interactively.
8882 2001-11-19  Colin Walters  <walters@verbum.org>
8884         * calc/calc.el (toplevel): Add comment and version header.
8885         (calc-init-base): Bump version to 2.02f, update date.
8887 2001-11-19  Richard M. Stallman  <rms@gnu.org>
8889         * net/browse-url.el: Support Mozilla and Galeon.
8890         By default, find the installed browser whichever it is.
8891         (browse-url-mozilla): New function.
8892         (browse-url-mozilla-sentinel): New function.
8893         (browse-url-galeon, browse-url-galeon-sentinel): New functions.
8894         (browse-url-default-browser): New function.
8895         (browse-url-process-environment): Use browse-url-browser-display.
8896         (browse-url-browser-display): Renamed from browse-url-netscape-display.
8897         (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
8898         (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
8899         (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
8900         (browse-url-browser-function): New default, new options.
8902 2001-11-19  Sam Steingold  <sds@gnu.org>
8904         * bindings.el (last-buffer, unbury-buffer): New function.
8905         (mode-line-unbury-buffer): Use `unbury-buffer'.
8907 2001-11-18  Stephen Eglen  <stephen@gnu.org>
8909         * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
8910         control behaviour when no further completion is possible.
8912 2001-11-19  Colin Walters  <walters@verbum.org>
8914         * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
8915         (math-showing-full-precision, math-with-extra-prec, math-working)
8916         (calc-with-default-simplification)
8917         (calc-with-trail-buffer): Use backtick.
8918         (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
8919         (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
8920         (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
8921         (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
8922         (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
8923         (Math-num-integerp, Math-bignum-test, Math-equal-int)
8924         (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
8925         (calc-record-compilation-date-macro): Deleted.  Callers updated.
8926         (math-format-radix-digit): Move to calc-bin.el.
8928         * calc/calc.el (calc-record-compilation-date): Remove.
8929         (calc-bug-address): Update.
8930         (calc-settings-file): Use `user-init-file'.
8932         * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
8933         Handle null `calc-settings-file'.
8935         * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
8936         * calc/calc-keypd.el (calc-keypad-mode): New.
8937         (calc-do-keypad): Use it.
8938         (calc-keypad-map): Move into `calc-keypad-mode'.
8940         * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
8941         to defalias argument.
8943         * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
8944         (calcFunc-floor): Ditto.
8946         * calc-units.el (calcFunc-usimplify): Ditto.
8948         * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
8949         * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
8950         * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
8951         * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
8952         * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
8953         * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
8954         * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
8955         * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
8956         * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
8957         * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
8958         * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
8959         and move them before their first use.  Use `when', `unless'.
8960         Remove trailing periods from error forms.  Add description and
8961         headers suggested by Emacs Lisp coding conventions.
8963 2001-11-19  Stefan Monnier  <monnier@cs.yale.edu>
8965         * newcomment.el (comment-indent):
8966         Fix misindentation for comment-only lines.
8967         (comment-indent-new-line): Only obey comment-multi-line if the
8968         comment-ender is not the end-of-line.
8970 2001-11-19  Richard M. Stallman  <rms@gnu.org>
8972         * net/net-utils.el (network-connection-service-abbrev-alist):
8973         New variable.
8975         * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
8976         Advance to start of 3rd sexp by moving fwd and backing over it.
8977         At first three elements, act like defun.
8979         * delsel.el (delete-selection-pre-hook): Handle and resignal
8980         file-supersession errors to interact properly with userlock.el.
8982 2001-11-18  Richard M. Stallman  <rms@gnu.org>
8984         * progmodes/fortran.el (fortran-mode-syntax-table):
8985         Specify punctuation syntax for backslash.
8987         * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
8988         All calls deleted.
8990         * international/mule-util.el (string-to-sequence): Make it obsolete.
8991         (string-to-list, string-to-vector): Implement them directly
8992         using append and vconcat, not with string-to-sequence.
8994         * startup.el (command-line): Set abbrevs-changed to nil after
8995         reading the init file and the abbrevs file.
8997         * isearch.el (isearch): Use magenta2 as bg for (background light)
8999 2001-11-17  Richard M. Stallman  <rms@gnu.org>
9001         * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
9003         * simple.el (minibuffer-history-sexp-flag): Doc fix.
9005 2001-11-17  Stefan Monnier  <monnier@cs.yale.edu>
9007         * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
9008         If set and if applicable, add a regexp to highlight defun-like
9009         text inside comments and strings.
9010         (font-lock-fontify-keywords-region): Pass that new arg.
9011         (font-lock-set-defaults): Move the code to set `font-lock-keywords'
9012         to the end and pass that new arg.
9013         (c-font-lock-keywords-2): Fix regex for labels.
9014         (font-lock-match-c++-style-declaration-item-and-skip-to-next):
9015         Make it work when LIMIT is several lines further.
9016         (c-font-lock-keywords-3, c++-font-lock-keywords-3)
9017         (objc-font-lock-keywords-3, java-font-lock-keywords-3):
9018         Use backquote and make the regexes for `int a, b, c;' work on
9019         multiple lines.
9021         * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
9022         (font-lock-defaults-alist): Don't change it any more.
9023         (reb-subexp-mode-map): Cleanup.
9025         * custom.el (custom-current-group-alist): New var.
9026         (custom-declare-group): Set it.
9027         (custom-current-group): New fun.
9028         (custom-declare-variable, custom-handle-all-keywords):
9029         Use it as a default if no :group argument is specified.
9031         * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
9032         (standard-keyboard-coding-systems): New var.
9033         (set-locale-environment): Use it to decide whether or not to call
9034         set-keyboard-coding-system.
9035         (locale-language-names): Use \"French\" for "fr".
9037 2001-11-17  Richard M. Stallman  <rms@gnu.org>
9039         * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
9040         (add-to-list): Delete compatibility code.
9041         (checkdoc-next-message-error): Doc fix.
9043 2001-11-17  Stephen Eglen  <stephen@gnu.org>
9045         * locate.el (locate): Show default locate pattern within the
9046         prompt, but don't insert it into the minibuffer contents.
9047         Catch the case when pattern is the empty string.
9049 2001-11-17  Eli Zaretskii  <eliz@is.elta.co.il>
9051         * language/european.el ("French"): New language environment.
9053 2001-11-16  Richard M. Stallman  <rms@gnu.org>
9055         * calendar/todo-mode.el (todo-save): Fix previous change.
9057         * subr.el (functionp): Do use cdr-safe on object.
9059 2001-11-16  Stefan Monnier  <monnier@cs.yale.edu>
9061         * bindings.el (mode-line-mode-name): Only put the help-echo property
9062         if the local-map property was put as well.
9063         (global-map): Bind switch-frame, delete-frame, iconify-frame
9064         and make-frame-visible events.
9066         * emacs-lisp/elp.el (elp-not-profilable): New var.
9067         (elp-not-profilable-p): New function.
9068         (elp-instrument-function): Use it.  Use backquotes and push.
9070         * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
9071         (byte-stack+-info, byte-compile-last-warned-form)
9072         (byte-compile-last-logged-file): Don't defconst a variable.
9073         (no-byte-compile): Declare.
9074         (byte-compile-file): Don't boundp-check no-byte-compile any more.
9075         (byte-compile-defvar): Leave defconst as is.
9077         * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
9078         (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
9079         (edebug-current-offset, edebug-old-def-name, edebug-error-point)
9080         (edebug-best-error): Don't defconst a variable.
9081         (edebug-read-syntax-table): Use a char-table.
9082         (edebug-lemacs-specific): Remove.
9083         Toplevel: Eliminate check for Lucid Emacs.
9085         * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
9087         * rect.el (move-to-column-force): Mark obsolete.
9088         (operate-on-rectangle, delete-extract-rectangle-line)
9089         (insert-rectangle, delete-whitespace-rectangle-line)
9090         (open-rectangle-line, clear-rectangle-line): Use move-to-column.
9091         (string-rectangle-history): New var.
9092         (string-rectangle, string-insert-rectangle): Use it.
9093         (delete-rectangle-line): Fix pos/column mixup and simplify.
9095         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
9096         (normal-top-level, command-line, command-line-1): Simplify.
9098         * tar-mode.el (tar-mode): Use define-derived-mode.
9100         * view.el (view-mode-enable): Don't use make-local-hook.
9102         * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
9104 2001-11-16  Richard M. Stallman  <rms@gnu.org>
9106         * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
9107         if it doesn't make sense as anything else.
9108         Don't recognize a "telephone number" at the beginning of the name.
9109         (mail-extr-leading-garbage): Match non-word characters only.
9111 2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9113         * startup.el (command-line-processed): Doc fix.
9115         * apropos.el (apropos-next-label-button): Doc fix.
9117 2001-11-16  Stefan Monnier  <monnier@cs.yale.edu>
9119         * comint.el (comint-mode): Simplify.
9120         (make-comint-in-buffer): Run `comint-mode' only if necessary.
9122         * subr.el (eval-after-load): Make it work with features as well.
9124         * log-view.el (log-view-mode): Don't mark the buffer unmodified.
9126         * international/mule-cmds.el (describe-input-method): Setup xref.
9127         (set-language-environment): Use functionp.
9128         (locale-language-names, locale-charset-language-names)
9129         (locale-preferred-coding-systems): Defconst and purecopy.
9131         * language/european.el (mac-roman): Add mime-charset property.
9133 2001-11-15  Richard M. Stallman  <rms@gnu.org>
9135         * emacs-lisp/cl.el (values, values-list, multiple-value-list)
9136         (multiple-value-apply, nth-value): Use defsubst rather than defalias
9137         to get better doc strings.
9139 2001-11-15  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9141         * derived.el: Fix autoload cookie.
9143 2001-11-15  Richard M. Stallman  <rms@gnu.org>
9145         * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
9147 2001-11-15  Stefan Monnier  <monnier@cs.yale.edu>
9149         * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
9151 2001-11-15  Richard M. Stallman  <rms@gnu.org>
9153         * dired.el (dired-undo): Display a message to explain
9154         that this does not undo file system changes.
9156 2001-11-15  David Kastrup  <David.Kastrup@t-online.de>
9158         * mouse-drag.el (mouse-drag-throw): Push back non-drag events
9159         into `unread-command-events' instead of trying keymap
9160         lookups ourselves.  This makes mouse-clicks do the right
9161         thing even when keymaps of overlays are involved.
9162         (mouse-drag-drag): Likewise.
9164 2001-11-15  Andreas Schwab  <schwab@suse.de>
9166         * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
9167         characters and append anchor to pattern added to auto-mode-alist.
9169 2001-11-15  Stefan Monnier  <monnier@cs.yale.edu>
9171         * server.el (server-process-filter): Run pore/post-comment-hook
9172         before/after visiting the file.
9174         * info-look.el (makefile-mode): Add info for automake.
9175         (autoconf-mode): Fix the name of the index for automake.
9177         * international/latin-9.el: Give pilcrow punctuation syntax.
9179 2001-11-15  Andre Spiegel  <spiegel@gnu.org>
9181         * vc.el: Documentation fixes.
9183 2001-11-14  Stefan Monnier  <monnier@cs.yale.edu>
9185         * smerge-mode.el (smerge-match-conflict): Fix typo.
9186         (smerge-diff): Be careful to read match-data early enough.
9188 2001-11-14  Colin Walters  <walters@verbum.org>
9190         * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
9191         (calcFunc-subst): Use `defalias' instead of `fset' and
9192         `symbol-function'.
9194         * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
9195         (calcFunc-ceil, calcFunc-round): Ditto.
9197         * calc/calc-bin.el (calcFunc-clip): Ditto.
9199         * calc/calc-ext.el (calcFunc-evalv): Ditto.
9201         * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
9203         * calc/calc-misc.el (math-fixnump, math-fixnatnump)
9204         (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
9206         * calc/calc-units.el (calcFunc-unsimplify): Ditto.
9208         * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
9209         * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
9210         * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
9211         * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
9212         * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
9213         * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
9214         * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
9215         * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
9216         * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
9217         * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
9218         * calcsel2.el: Style cleanup; don't put closing parens on their
9219         own line, add "foo.el ends here" to each file, and update
9220         copyright date.
9222         * README: Update maintainer.
9224 2001-11-13  Richard M. Stallman  <rms@gnu.org>
9226         * progmodes/compile.el (recompile): Use compilation-arguments if
9227         set, so as to be able to M-x recompile the exact command which
9228         created a compilation-mode buffer.
9230         * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
9232 2001-11-13  Gerd Moellmann  <gerd@gnu.org>
9234         * mouse.el (mouse-drag-region): Don't run the up-event
9235         handler if window start changed due to the down-mouse event.
9237 2001-11-13  Richard M. Stallman  <rms@gnu.org>
9239         * mouse.el (mouse-show-mark): Either move point to the mark
9240         or use highlighting, never both.
9241         (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
9243 2001-11-13  Simon Josefsson  <jas@extundo.com>
9245         * mail/smtpmail.el (top-level): Change maintainer to Simon
9246         Josefsson, cleanup the smtpmail.el header.
9248         * mail/smtpmail.el (top-level): Don't require cl or base64.
9249         (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
9250         (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
9251         Defsubst instead of defmacro.
9252         (smtpmail-intersection): Return value in reverse order.
9253         (smtpmail-open-stream): Use stringp instead of string-to-list.
9254         (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
9255         separated from smtpmail-via-smtp.
9257         * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
9258         rfc2104.  Require base64 and cl.
9259         (smtpmail-smtp-service): Doc fix.  :type fix.
9260         (smtpmail-debug-info): Doc fix.
9261         (smtpmail-debug-verb, smtpmail-auth-credentials)
9262         (smtpmail-starttls-credentials, smtpmail-auth-supported):
9263         New variables.
9264         (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
9265         mail-utils (it is autoloaded).
9266         (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
9267         (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
9268         (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
9269         (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
9270         (smtpmail-via-smtp): Support AUTH.
9271         (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
9273 2001-11-13  Richard M. Stallman  <rms@gnu.org>
9275         * ebuff-menu.el (electric-buffer-update-highlight): New function.
9276         (electric-buffer-overlay): New variable.
9277         (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
9278         (electric-buffer-list): Likewise.
9280         * isearch.el (isearch-whitespace-chars): Doc fix.
9281         (isearch-mode): Handle negative search-slow-window-lines correctly.
9283 2001-11-13  Stefan Monnier  <monnier@cs.yale.edu>
9285         * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
9287         * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
9288         From Emmanuel Briot <briot@act-europe.fr>.
9290 2001-11-13  Colin Walters  <walters@debian.org>
9292         * calc/calc.el (calc-unread-command): Use `unread-command-events'.
9294         * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
9295         "~/.emacs"; use `read-file-name'.
9297         * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
9298         * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
9299         * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
9300         * calc/calc.el: Use `frame-width' instead of `screen-width',
9301         `frame-height' instead of `screen-height', and,
9302         `executing-kbd-macro' instead of `executing-macro'.
9304         * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
9305         correct number of arguments.
9307         * calc/calc-aent.el (calc-do-alg-entry):
9308         Use `blink-paren-function' instead of `blink-paren-hook'.
9310 2001-11-12  Richard M. Stallman  <rms@gnu.org>
9312         * calendar/todo-mode.el (todo-save): Add save-excursion
9313         and save-restriction.
9315         * server.el (server-edit, server-done): Doc fix.
9317         * simple.el (clone-indirect-buffer): Error if major mode symbol
9318         has a no-clone-indirect property.
9319         (clone-buffer): Check for obvious errors before reading clone name.
9321         * info.el (Info-mode): Add a no-clone-indirect property.
9323 2001-11-12  Sam Steingold  <sds@gnu.org>
9325         * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
9326         set-buffer-modified-p to nil after `vc-exec-after'.
9327         * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
9328         (log-view-mode): Make read-only.
9329         (log-view-current-file): Do final `expand-file-name' in the
9330         current `default-directory'.
9331         (log-view-current-tag): Take an optional `where' arg.
9332         (log-view-diff): New user command.
9334 2001-11-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9336         * progmodes/cpp.el (cpp-choose-face): Fix typo.
9338 2001-11-12  Sam Steingold  <sds@gnu.org>
9340         * emacs-lisp/cl-indent.el (toplevel): Indent properly
9341         `generic-flet', `generic-labels', `with-accessors',
9342         `with-condition-restarts'.
9344 2001-11-12  Richard M. Stallman  <rms@gnu.org>
9346         * dired.el: Many trivial doc fixes.
9347         (dired-get-file-for-visit): New function.
9348         (dired-find-alternate-file, dired-mouse-find-file-other-window):
9349         (dired-view-file, dired-find-file-other-window, dired-display-file):
9350         (dired-find-file): Use dired-get-file-for-visit.
9352 2001-11-12  Alex Schroeder  <kensanata@yahoo.com>
9354         * sql.el (sql-mode): Doc change.
9356         * sql.el (sql-mode-syntax-table): The backslash is no longer an
9357         escape character.
9359 2001-11-12  Colin Walters  <walters@debian.org>
9361         * calc/calc-keypd.el (toplevel): Bind mouse buttons.
9362         (calc-do-keypad): Don't attempt to use nonexistent global
9363         mouse-map, use calc-keypad-map.
9364         (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
9365         (calc-keypad-left-click): Don't use mouse-map; update to new event
9366         interface.
9367         (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
9368         (calc-keypad-press): Use `unread-command-events' instead of
9369         `unread-command-char'.
9371         * calc/calc-ext.el (calc-init-extensions): Update autoload names
9372         to match files renamed on initial calc import.
9374 2001-11-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9376         * textmodes/flyspell.el (flyspell-default-dictionary):
9377         Fix previous change.
9379 2001-11-12  Richard M. Stallman  <rms@gnu.org>
9381         * textmodes/flyspell.el (flyspell-default-dictionary):
9382         Fix custom type.
9384 2001-11-11  Richard M. Stallman  <rms@gnu.org>
9386         * calendar/solar.el (solar-sunrise-and-sunset):
9387         Exchange the two extreme values of day-length.
9389         * progmodes/sh-script.el (sh-must-be-shell-mode):
9390         Allow modes derived from sh-mode.
9392         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
9393         Turn off error in some re-search-forward calls.
9395         * replace.el (query-replace-skip-read-only): New variable.
9396         (perform-replace): If that variable is non-nil, ignore matches
9397         that have a read-only property.
9399         * derived.el (define-derived-mode): Doc fix.
9401         * server.el (server-buffer-done): Test of server-existing-buffer
9402         was backwards.
9403         (server-existing-buffer): Doc fix.
9405         * textmodes/flyspell.el (flyspell-default-dictionary):
9406         Allow nil as value, and make nil the default.
9408 2001-11-11  Eli Zaretskii  <eliz@is.elta.co.il>
9410         * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
9411         it is not fboundp.
9412         (clipboard-yank): Ditto.
9414 2001-11-11  Colin Walters  <walters@verbum.org>
9416         The following changes are based on patches from
9417         Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro\e,A_\e(Bjohann
9418         <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
9420         * calc/calc.el (toplevel): Require calc-macs.
9421         (calc-minibuffer-size): New.
9422         (calcDigit-nondigit): Use it instead of `buffer-size'.
9423         (calcDigit-backspace): Likewise.
9424         (calcDigit-nondigit): Use `minibuffer-contents' instead of
9425         `buffer-string'.
9426         (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
9427         `point-min'.
9428         (calcDigit-key): Use `calc-minibuffer-contains' instead of a
9429         `save-excursion'.
9431         * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
9432         simple `setq' form.
9434         * calc/calc-ext.el: (toplevel): Require calc.
9435         (calc-fancy-prefix-map): New.
9436         (calc-fancy-prefix): Use it.
9437         (calc-fancy-prefix-other-key): New.
9439         * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
9440         (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
9441         (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
9442         (calcAlg-enter): Likewise.
9443         (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
9445 2001-11-10  Richard M. Stallman  <rms@gnu.org>
9447         * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
9448         (quietly-read-abbrev-file): Doc fix.
9450         * startup.el (command-line): Read standard abbrev
9451         file (abbrev-file-name), if it exists.
9453         * files.el (save-abbrevs): Default value is t.
9455         * progmodes/compile.el (compile-goto-error): Fix previous change
9456         in the case where subsequent errors have not been parsed yet
9457         because they are in a different source file.
9459 2001-11-10  Peter Kleiweg  <kleiweg@let.rug.nl>
9461         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
9462         Merge two regular expressions into one.
9463         (ps-mode): Make local bindings for `comment-start' and
9464         `comment-start-skip'.
9465         (ps-mode-looking-at-nested): Simplify an if-else construct;
9466         use `set-match-data' to set the result.
9468 2001-11-10  Richard M. Stallman  <rms@gnu.org>
9470         * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
9471         Function deleted.
9472         (flyspell-correct-word): Old definition deleted.
9473         (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
9474         All references renamed too.
9476 2001-11-10  Gerd Moellmann  <gerd@gnu.org>
9478         * Makefile.in (finder_setwins, setwins): Exclude Calc.
9480 2001-11-09  Per Abrahamsen  <abraham@dina.kvl.dk>
9482         * wid-edit.el (checklist): Removed `:menu-tag'.
9483         (radio-button-choice): Ditto.
9484         (editable-list): Ditto.
9486 2001-11-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9488         * play/gomoku.el: Move definitions of constants to the beginning
9489         of file, before their use.
9491 2001-11-09  Richard M. Stallman  <rms@gnu.org>
9493         * textmodes/flyspell.el: Use the keymap property
9494         instead of local-map, and don't use a minor-mode map.
9495         (flyspell-mode-map): Variable deleted.
9496         Don't mess with minor-mode-map-alist.
9497         (calling add-minor-mode): Specify nil for keymap.
9498         And always use add-minor-mode, now that it exists.
9499         (flyspell-overlay-keymap-property-name): Set it to `keymap'.
9500         (flyspell-mode-on): Don't locally bind flyspell-mouse-map
9501         or flyspell-local-mouse-map.
9502         (make-flyspell-overlay): Use flyspell-mouse-map directly.
9503         (flyspell-mode): Doc fix.
9504         (flyspell-mode-on): Don't call make-local-hook.
9506 2001-11-09  Sam Steingold  <sds@gnu.org>
9508         * emacs-lisp/debug.el (debugger-make-xrefs):
9509         Add buttons to all symbols.
9511 2001-11-09  Andre Spiegel  <spiegel@gnu.org>
9513         * vc.el: Add John David Smith to credits.
9515         Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
9517         * vc-hooks.el (vc-error-occured): Backquotified.
9518         (vc-file-prop-obarray): Use prime length for better efficiency.
9520         * vc.el (vc-clear-context): Fill obarray with 0, not nil.
9522 2001-11-09  Eli Zaretskii  <eliz@is.elta.co.il>
9524         * info.el (Info-file-list-for-emacs): Add entries for Calc.
9526 2001-11-09  Miles Bader  <miles@gnu.org>
9528         * subr.el (functionp): Don't consider macros as functions.
9530 2001-11-08  Miles Bader  <miles@gnu.org>
9532         * subr.el (functionp): Make work correctly for macros and unbound
9533         symbols.
9535         * comint.el (comint-send-input): Fix description of
9536         `comint-process-echoes' in the doc-string.
9538 2001-11-08  Eli Zaretskii  <eliz@is.elta.co.il>
9540         * international/mule.el (make-translation-table): Doc fix.
9541         Suggested by Alex Schroeder <alex@gnu.org>.
9543 2001-11-07  Richard M. Stallman  <rms@gnu.org>
9545         * info.el (Info-fontify-node): Highlight every third menu item.
9547 2001-11-07  Per Abrahamsen  <abraham@dina.kvl.dk>
9549         * cus-edit.el (custom-face-value-create): Don't ignore the
9550         `customized-face' attribute when finding the current face spec.
9552 2001-11-07  Stefan Monnier  <monnier@cs.yale.edu>
9554         * subr.el (with-local-quit): New macro.
9555         (make-syntax-table): Always inherit.
9556         (functionp): Be more careful when `object' is a symbol.
9558         * dabbrev.el (dabbrev-completion): Use "*Completions*".
9560 2001-11-07  Paul Eggert  <eggert@twinsun.com>
9562         * dired.el (dired-move-to-filename-regexp):
9563         Do not distinguish between ASCII letters and non-ASCII characters.
9564         Don't allow comma except in the form "month day, year".
9565         Don't allow space between month name and comma.
9566         Clean up the code that checks for trailing period, comma, and space.
9567         Remove now-obsolete comments, and add more commentary about
9568         Japanese dates.
9569         Always gobble up trailing spaces, instead of doing it only sometimes.
9571 2001-11-07  Miles Bader  <miles@gnu.org>
9573         * paren.el (show-paren-match-face): Add dark-background variant.
9575 2001-11-06  Stefan Monnier  <monnier@cs.yale.edu>
9577         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
9578         (lisp-mode-variables): Don't set paragraph-{start,separate}.
9579         Don't disable adaptive-fill-mode.
9580         (lisp-fill-paragraph): Use tab-width rather than 8.
9581         Prevent filling the first line of docstrings.
9583 2001-11-06  Richard M. Stallman  <rms@gnu.org>
9585         * play/gomoku.el (gomoku): Doc fix.
9587         * jka-compr.el (jka-compr-partial-uncompress):
9588         Support an alternative of not using dd.
9589         (jka-compr-dd-program): Use defcustom to define this.
9590         (jka-compr-load-suffixes): Use defcustom.
9591         (jka-compr-mode-alist-additions): Use defcustom.
9593 2001-11-06  Stefan Monnier  <monnier@cs.yale.edu>
9595         * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
9596         Also work when LIMIT is further than the end of line.
9598 2001-11-06  Eli Zaretskii  <eliz@is.elta.co.il>
9600         * international/quail.el (quail-update-leim-list-file): Print the
9601         offending file name if some of its quail-define-package forms is broken.
9603 2001-11-05  Richard M. Stallman  <rms@gnu.org>
9605         * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
9606         of the evaluated form.
9608 2001-11-05  Paul Eggert  <eggert@twinsun.com>
9610         * ls-lisp.el (ls-lisp-time-to-seconds): New function.
9611         (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
9612         stamps always line up by default.  Also, it uses a slightly
9613         different window to determine whether files are "recent".
9615 2001-11-05  Andrew Innes  <andrewi@gnu.org>
9617         * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
9618         Don't attempt to remake autoloads before nuking .elc files.
9620 2001-11-04  Richard M. Stallman  <rms@gnu.org>
9622         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
9623         previous-single-property-change or next-single-char-property-change
9624         returns nil.
9626         * international/mule-cmds.el (set-locale-environment):
9627         Make it interactive; make arg optional.
9629         * international/mule-diag.el (help-funs): Require help-funs.
9631 2001-11-04  Eli Zaretskii  <eliz@is.elta.co.il>
9633         * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
9635 2001-11-04  Miles Bader  <miles@gnu.org>
9637         * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
9638         shadow of the splash image grey on a dark background instead of black.
9640 2001-11-03  Stefan Monnier  <monnier@cs.yale.edu>
9642         * term.el (all faces): Don't (copy-face 'default <foo>).
9644         * term/xterm.el (function-key-map):
9645         Add entry for `ESC [ 3 ~' -> <delete>
9646         Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
9647         Use inheritance so that .emacs and terminfo take precedence.
9649 2001-11-03  Eli Zaretskii  <eliz@is.elta.co.il>
9651         * tooltip.el (tooltip-delay): Decrease to 0.7.
9652         (tooltip-hide-delay): Enlarge to 10.
9654 2001-11-03  Richard M. Stallman  <rms@gnu.org>
9656         * startup.el (fancy-splash-tail): Explain how to recover
9657         from a crash, if there was a crash.
9658         (command-line-1): Reorganize display of startup screen,
9659         to simplify the logic.  Use a temp buffer for it.
9661 2001-11-03  Eli Zaretskii  <eliz@is.elta.co.il>
9663         * frame.el (set-background-color, set-foreground-color):
9664         Call face-set-after-frame-default, to propagate the new colors to
9665         the frame's parameters alist.
9667         * calendar/timeclock.el (timeclock-out): Signal an error if
9668         timeclock-last-event is nil.
9670 2001-11-02  Stefan Monnier  <monnier@cs.yale.edu>
9672         * textmodes/fill.el (fill-context-prefix): Fix braino.
9674         * international/quail.el (quail-help):
9675         Use `help-buffer' and move `help-setup-xref' to beginning.
9677         * international/mule-cmds.el (describe-language-environment):
9678         Use `help-buffer' and move `help-setup-xref' to beginning.
9680         * international/mule-diag.el (list-character-sets)
9681         (sort-listed-character-sets, describe-character-set)
9682         (describe-coding-system, describe-fontset, list-fontsets):
9683         Use `help-buffer' and move `help-setup-xref' to beginning.
9684         (describe-char-after): Use `internal-describe-syntax-value'.
9686 2001-11-02  Richard M. Stallman  <rms@gnu.org>
9688         * mouse.el (popup-menu): If the user refuses to select
9689         from a menu, don't try to invoke the menu.
9691 2001-11-02  Miles Bader  <miles@gnu.org>
9693         * help-mode.el (help-xref): New button type.
9694         (help-function, help-variable, help-face, help-coding-system)
9695         (help-input-method, help-character-set, help-type, help-symbol)
9696         (help-back, help-info, help-customize-variable, help-customize-face)
9697         (help-function-def, help-variable-def): Use it as a supertype.
9698         Remove `action' property.
9700         * international/mule-diag.el (describe-character-set)
9701         (describe-coding-system): Pass correct args to `help-xref-button'.
9702         (sort-listed-character-sets): New button type.
9703         (list-character-sets): Use it.
9704         (list-charset-chars): New button type.
9705         (list-character-sets-1): Use it.
9707 2001-11-01  Stefan Monnier  <monnier@rum.cs.yale.edu>
9709         * indent.el (tab-always-indent, indent-for-tab-command):
9710         Remove redundant `never' setting.
9712         * fill.el (fill-region-as-paragraph): Don't forget to skip
9713         over current whitespace before looking for a preceding space.
9715 2001-11-01  Richard M. Stallman  <rms@gnu.org>
9717         * files.el (file-newest-backup): Don't pass backup file name
9718         thru file-name-sans-versions, because it never has version numbers.
9720         * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
9721         to avoid ambiguous nested loops.
9723         * files.el (find-file-noselect): Offer to change buffer-read-only
9724         only when the file's read-only status has changed from before
9725         as well as disagreeing with the buffer's current status.
9726         (buffer-file-read-only): New var, local in all buffers.
9728         * buff-menu.el (buffer-menu): Doc fix.
9729         (buffer-menu-other-window): Doc fix.
9730         (list-buffers, list-buffers-noselect): Doc fix.
9732 2001-11-01  Gerd Moellmann  <gerd@gnu.org>
9734         * startup.el (command-line): If the terminal Emacs is running on
9735         has erase char set to ^H, use the Backspace key for deleting
9736         backward, and the Delete key for deleting forward.
9738 2001-11-01  Miles Bader  <miles@gnu.org>
9740         * button.el (define-button-type): Make sure every user-defined
9741         button type has a supertype.
9743 2001-10-31  Jason Rumney  <jasonr@gnu.org>
9745         * international/mule-cmds.el (locale-language-names): Add chs and
9746         cht as aliases for Chinese-GB and Chinese-BIG5.
9748 2001-10-31  Richard M. Stallman  <rms@gnu.org>
9750         * bindings.el (mode-line-frame-identification): Add doc string.
9751         (mode-line-position, mode-line-modes): New variables.
9752         (mode-line-format): Use mode-line-position for the part
9753         that displays the position-in-buffer info.
9754         Use mode-line-modes for the part that displays major and minor modes.
9756 2001-10-31  Sam Steingold  <sds@gnu.org>
9758         * emacs-lisp/debug.el (debugger-make-xrefs): New function.
9759         (debugger-setup-buffer): Call it.
9760         (debugger-mode-map): Bind RET and mouse-2.
9762 2001-10-31  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9764         * startup.el: Document command line option --no-window-system
9765         instead of --no-windows.
9767 2001-10-30  Stefan Monnier  <monnier@cs.yale.edu>
9769         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
9771         * font-lock.el (java-font-lock-syntactic-face-function): New fun.
9772         (font-lock-defaults-alist): Use it.
9773         From David Ponce <david.ponce@wanadoo.fr>
9775         * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
9776         output of `char-after'.
9778         * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
9780         * simple.el (reindent-then-newline-and-indent): Insert the newline
9781         before indenting the first line.
9782         (undo-get-state, undo-revert-to-state): New funs.
9783         (shell-command): Don't kill the buffer even if empty.
9784         (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
9785         (transpose-subr-end2): Remove.
9786         (transpose-subr): Add `special' arg and simplify.
9787         (transpose-subr-1): Rewrite.
9788         (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
9789         (rfc822-goto-eoh): Simplify.
9791 2001-10-30  Richard M. Stallman  <rms@gnu.org>
9793         * enriched.el (enriched-face-ans): Fix previous change.
9795 2001-10-30  Gerd Moellmann  <gerd@gnu.org>
9797         * international/iso-acc.el (iso-accents-compose): Remove a
9798         superfluous setq.
9800 2001-10-30  Eli Zaretskii  <eliz@is.elta.co.il>
9802         * buff-menu.el (list-buffers-noselect): If the buffer's name
9803         starts with a blank, but it visits a file, do show it (for files
9804         whose names start with a blank).
9806 2001-10-30  Stefan Monnier  <monnier@cs.yale.edu>
9808         * textmodes/fill.el (sentence-end-double-space)
9809         (sentence-end-without-period): Move to paragraphs.el.
9810         (fill-indent-according-to-mode): Change default to t.
9811         (fill-context-prefix): Simplify control-flow and use a more
9812         sophisticated merge that unifies both previous checks.
9813         (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
9814         (fill-nobreak-predicate): Make it into a defcustom'd hook.
9815         (fill-nobreak-p): New fun.
9816         (fill-region-as-paragraph): Use it.
9817         Handle `fill-indent-according-to-mode' slightly differently.
9818         (fill-individual-paragraphs-prefix): Simplify the control-flow.
9819         (fill-individual-paragraphs-citation): Fix.
9821         * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
9822         (paragraph-start): Change default to the `text-mode' value.
9823         (sentence-end-double-space, sentence-end-without-period):
9824         Move from fill.el.
9825         (forward-paragraph): Use `parstart' and `parsep' for temp variables
9826         rather than rebinding `paragraph-start' and `paragraph-separate'.
9828         * indent.el (indent-line-function): Change default to indent-relative.
9829         (tab-always-indent): Add an `never' setting.
9830         (indent-according-to-mode): Handle `indent-relative' and
9831         `indent-relative-maybe' specially.
9832         (indent-for-tab-command): Rename `prefix-arg' to `arg'.
9833         Handle the `never' case for `tab-always-indent'.
9834         Don't call indent-according-to-mode for indent-relative' and
9835         `indent-relative-maybe'.
9836         (insert-tab): Rename `prefix-arg' to `arg'.
9837         (indent-region): Indent the first line as well.
9838         (indent-relative): Don't mark the buffer modified if the indentation
9839         is unchanged.
9841         * textmodes/text-mode.el (paragraph-indent-minor-mode):
9842         Don't set paragraph-separate.  Set paragraph-start more carefully.
9843         Set indent-line-function.
9844         (paragraph-indent-text-mode): Use it and define-derived-mode.
9845         (text-mode-map): Remove the \t binding.
9846         (text-mode): Simplify now that the default is more favorable.
9848 2001-10-29  Stefan Monnier  <monnier@cs.yale.edu>
9850         * emacs-lisp/find-func.el (find-function-search-for-symbol):
9851         If the regexp doesn't match, use a looser one.
9852         (find-variable-noselect): Add `file' argument.
9854         * pcvs.el (cvs-mode-commit-hook): New hook.
9855         (cvs-mode-commit): Run it.
9857         * log-edit.el (log-edit): Run hook after `log-edit-files'.
9859         * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
9860         (edebug-instrument-function): Use `find-function-noselect'.
9862 2001-10-29  Richard M. Stallman  <rms@gnu.org>
9864         * term.el (term-if-emacs19): Macro deleted.
9865         Callers changed to use progn instead.
9867         * frame.el (blink-cursor-mode): Doc fix.
9869         * files.el (find-backup-file-name): Use make-backup-file-name.
9871         * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
9872         window-live-p.
9873         (edebug-set-conditional-breakpoint): Unconditionally use
9874         the former Emacs >=19 definition.
9875         (edebug-mark): Define unconditionally.
9876         (edebug-eval-expression): Always call read-from-minibuffer
9877         and specify history list.
9878         (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
9879         edebug-set-conditional-breakpoint.
9880         (edebug-emacs-version-specific): Function deleted;
9881         do the job at top level.
9882         (edebug-emacs-19-specific): Function deleted, this is the default.
9884 2001-10-29  Sam Steingold  <sds@gnu.org>
9886         * w32-fns.el (convert-standard-filename): Handle cygwin-specific
9887         "/cygdrive/LETTER/" pathnames.
9889 2001-10-29  Eli Zaretskii  <eliz@is.elta.co.il>
9891         * faces.el (invert-face): Check for 'unspecified, not for nil,
9892         when testing whether face colors are not specified.
9893         From David.Kastrup@t-online.de (David Kastrup).
9894         (read-face-name): Doc fix.
9895         (make-face-bold, make-face-unbold, make-face-italic)
9896         (make-face-unitalic, make-face-bold-italic, invert-face):
9897         Remove trailing blank from the prompt passed to read-face-name.
9899 2001-10-29  Sam Steingold  <sds@gnu.org>
9901         * emacs-lisp/bytecomp.el (byte-recompile-directory):
9902         Report numbers of files skipped and failed too.
9903         (byte-compile-file): Return 'no-byte-compile for skipped files.
9905 2001-10-29  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9907         * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
9908         and `M p'.
9910 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
9912         * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
9913         as is on unread-command-events instead of `(SECOND-CHAR)'.
9915 2001-10-29  Andre Spiegel  <spiegel@gnu.org>
9917         * vc.el: Mention vc-*-switches in backend API documentation.
9918         (vc-annotate): Adapt doc string to recent change.
9920 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
9922         * enriched.el (enriched-face-ans): Handle face attributes
9923         of the form `(FACE1 FACE2 ...)'.
9925         * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
9927 2001-10-29  Alex Schroeder  <kensanata@yahoo.com>
9929         * progmodes/sql.el (sql-mysql): Doc change by RMS.
9931         * progmodes/sql.el (sql-db2): Doc change.
9932         (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
9933         (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
9935 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
9937         * env.el (substitute-env-vars): Don't quote argument to `rx';
9938         it's a macro.
9940 2001-10-28  Per Abrahamsen  <abraham@dina.kvl.dk>
9942         * cus-start.el (recursive-load-depth-limit): Added.
9944 2001-10-28  Richard M. Stallman  <rms@gnu.org>
9946         * textmodes/ispell.el (version18p, version20p): Vars deleted.
9947         All uses removed--assume Emacs version is >= 20.
9949         * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
9950         by really checking that it is not version 18.
9952         * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
9954 2001-10-28  Miles Bader  <miles@gnu.org>
9956         * faces.el (face-attribute): Add INHERIT argument, consider face
9957         inheritance if it's non-nil.
9958         (face-attribute-merged-with): New function.
9959         (face-attribute-specified-or): New macro.
9960         (face-foreground, face-background, face-stipple): Add INHERIT
9961         argument.  Use `face-attribute-specified-or'.
9963 2001-10-28  Stefan Monnier  <monnier@cs.yale.edu>
9965         * font-lock.el: Require `syntax'.
9966         (font-lock-defaults-alist): Don't define keywords for lisp languages.
9967         Use `c-font-lock-syntactic-face-function' for c languages.
9968         (font-lock-mode): Don't unset vars when turning the mode off.
9969         (font-lock-default-fontify-buffer): Don't unset vars at the end.
9970         (font-lock-extra-managed-props): New var.
9971         (font-lock-default-unfontify-region): Use it.
9972         (font-lock-apply-syntactic-highlight): Flush the syntax cache.
9973         Don't eval the value when there's no match.
9974         (font-lock-ppss-stats): New var.
9975         (font-lock-ppss): New fun.
9976         (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
9977         (font-lock-apply-highlight): Allow `highlight' to set several props.
9978         (font-lock-set-defaults): Use dolist.
9979         (font-lock-unset-defaults): Remove.
9980         (font-lock-match-c-style-declaration-item-and-skip-to-next):
9981         Try to recognize prototypes using `foo P_ ((args))'.
9982         ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
9983         (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
9984         (c-font-lock-syntactic-face-function): New function.
9985         (font-lock-match-c++-style-declaration-item-and-skip-to-next)
9986         (c++-keywords): Use a more sophisticated regexp to handle
9987         shallowly nested templates.
9989 2001-10-27  Stefan Monnier  <monnier@cs.yale.edu>
9991         * textmodes/sgml-mode.el (sgml-empty-tags): New var.
9992         (sgml-tag): Use it.  Cleanup with `cond'.
9993         (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
9994         Mark the overlays and only delete those that are marked.
9995         (sgml-skip-close-p): Remove.
9996         (sgml-value): Replace sgml-skip-close-p with its definition.
9997         (html-tag-alist): Use sgml-xml a bit more.
9998         (html-mode): Set sgml-empty-tags.
10000         * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
10001         (texinfo-update-node, texinfo-sequential-node-update):
10002         Don't bind the obsolete `auto-fill-hook'.
10003         (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
10004         Use `set-buffer' rather than `switch-to-buffer'.
10005         (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
10006         Use `set-buffer' rather than `switch-to-buffer'.
10008         * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
10009         text-mode-syntax-table.
10010         (mail-mode): Use define-derived-mode.
10011         Fix ordering of alternatives in adaptive-fill-regexp.
10012         (mail-mode-map): Don't rely on keymap's internal representation.
10014 2001-10-27  Sam Steingold  <sds@gnu.org>
10016         * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
10017         (sgml-xml-guess): Extracted from `html-mode' and generalized.
10018         (sgml-mode-common): Call it.
10019         (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
10020         (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
10021         (html-horizontal-rule, html-image, html-ordered-list):
10022         (html-unordered-list, html-list-item, html-paragraph):
10023         (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
10024         `html-xhtml'.
10026 2001-10-26  Masayuki Ataka  <ataka@milk.freemail.ne.jp>
10028         * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
10029         (ifnothtml): New alias.
10031 2001-10-27  Stefan Monnier  <monnier@cs.yale.edu>
10033         * textmodes/text-mode.el (text-mode): Use define-derived-mode.
10034         (toggle-text-mode-auto-fill): Use derived-mode-p.
10036 2001-10-27  Gerd Moellmann  <gerd.moellmann@t-online.de>
10038         * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
10039         `mdtm'.  From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
10041 2001-10-26  Eli Zaretskii  <eliz@is.elta.co.il>
10043         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
10044         Add make-obsolete cookies, to follow faces.el.
10046         These changes avoid warnings from the byte compiler in faces.el:
10048         * faces.el (internal-get-face): Use facep instead of the obsolete
10049         internal-find-face.
10050         (internal-frob-font-weight, internal-frob-font-slant):
10051         New defaliases for obsolete functions.
10052         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
10053         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
10054         (x-make-font-bold-italic): Use internal-frob-font-weight and
10055         internal-frob-font-slant aliases instead of the obsolete
10056         x-frob-... functions.
10058 2001-10-26  Sam Steingold  <sds@gnu.org>
10060         * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
10061         DOCTYPE; set `mode-name' based on it.
10062         (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
10063         (sgml-tag): Close empty tags in XHTML.
10065 2001-10-26  Jason Rumney  <jasonr@gnu.org>
10067         * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
10068         when UNICODE is not defined.
10070 2001-10-26  Sam Steingold  <sds@gnu.org>
10072         * font-lock.el (c-font-lock-keywords-2): Do not require labels to
10073         be alone on the line.
10075 2001-10-26  Eli Zaretskii  <eliz@is.elta.co.il>
10077         * button.el (button): Special face definition for MS-DOS terminals.
10079 2001-10-26  Sam Steingold  <sds@gnu.org>
10081         * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
10082         Protect the /= test by checking that the args are non-nil.
10083         (sh-font-lock-close-heredoc): Check eof for being non-nil.
10085 2001-10-26  Tomas Abrahamsson  <tab@lysator.liu.se>
10087         * textmodes/artist.el (artist-version): 1.2.4.
10088         (artist-butlast-fn): New variable.
10089         (artist-butlast): New function.
10090         (artist-ellipse-mirror-quadrant): Use it.
10091         (artist-mouse-draw-poly): Use nil for `point-list'.
10092         (artist-mouse-draw-poly): Check for point-list being nil.
10094 2001-10-26  Peter Kleiweg  <kleiweg@let.rug.nl>
10096         * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
10097         lambda expression.
10098         (ps-mode-menu-main): Submenu with options on/off was replaced with
10099         a toggle button.
10100         (ps-mode, ps-run-mode): Define with `define-derived-mode'
10101         (ps-mode): Autoload cookie added on same line as comment
10102         (ps-mode-tabkey, ps-mode-backward-delete-char):
10103         (ps-mode-r-balance): Replace `delete-horizontal-space' and
10104         `indent-to' with `indent-line-to'
10105         (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
10106         instead of `eval'.
10107         (ps-mode-print-region): Use `with-temp-buffer'.
10108         (ps-run-start): Use of `mapconcat'.  Use `apply' instead of `eval'.
10109         (numerous places): Add back-tick and tick around names in
10110         docstrings, fix punctuation in docstrings, remove trailing spaces.
10112 2001-10-25  Stefan Monnier  <monnier@cs.yale.edu>
10114         * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
10115         (sgml-font-lock-keywords-2): Use `eval'.  Moved from sgml-mode-common.
10116         (sgml-font-lock-syntactic-keywords): New var.
10117         (sgml-mode-common): Drop the two args.
10118         Don't make buffer-local variables that aren't used.
10119         Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
10120         Don't set `before-string' props from sgml-display-text.
10121         (sgml-mode): Use define-derived-mode.
10122         (sgml-tags-invisible): Use sgml-display-text.
10123         (sgml-quote): New command.
10124         (html-tag-alist): Add args for `span'.
10125         (html-mode): Use define-derived-mode.
10126         Set sgml-display-text and sgml-tag-face-alist.
10128 2001-10-25  Sam Steingold  <sds@gnu.org>
10130         * add-log.el (add-log-always-start-new-record): New user option.
10131         (add-change-log-entry): Use it.
10133 2001-10-25  Richard M. Stallman  <rms@gnu.org>
10135         * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
10136         bind case-fold-search if FROM is not all lower case.
10138 2001-10-25  Gerd Moellmann  <gerd@gnu.org>
10140         * startup.el (normal-top-level): Check for frame-initial-frame
10141         only if it's really used.
10143         * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
10145         * progmodes/compile.el (compilation-parse-errors-filename-function):
10146         New variable.
10147         (compilation-parse-errors): Use it.
10149 2001-10-25  Stefan Monnier  <monnier@cs.yale.edu>
10151         * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
10152         interactively so that C-u M-C-x still does edebug.
10153         (checkdoc-sentencespace-region-engine): Don't force a double-space
10154         after `.' if it doesn't look like an end-of-sentence.
10155         (debug-ignored-errors): Add `disambiguate ...'.
10157 2001-10-24  Stefan Monnier  <monnier@cs.yale.edu>
10159         * textmodes/texinfo.el (texinfo-environments)
10160         (texinfo-environment-regexp): Hoist.
10161         (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
10162         Only highlight the menu name in menu items.
10163         Setup `@foo ... @end foo' as text clones.
10164         (texinfo-clone-environment): New function.
10165         (texinfo-mode): Simplify auto-fill-inhibit-regexp.
10166         (texinfo-insert-block): Simplify.
10167         (texinfo-insert-quote): Insert a plain " if preceded by \ or if
10168         the command is repeated.
10169         (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
10170         (texinfo-insert-@end): Simplify.
10172         * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
10173         (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
10174         (texinfo-subsubsection-level-regexp)
10175         (texinfo-update-menu-same-level-regexps)
10176         (texinfo-update-menu-higher-regexps)
10177         (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
10179         * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
10180         (derived-mode-p): Autoload.
10182         * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
10183         New vars and functions.
10184         (text-clone-maintain, text-clone-create): New functions.
10186 2001-10-25  Miles Bader  <miles@gnu.org>
10188         * facemenu.el (facemenu-add-new-face): Fix variable names.
10190 2001-10-24  Richard M. Stallman  <rms@gnu.org>
10192         * facemenu.el (facemenu-unlisted-faces): Improve doc strings
10193         of t and nil values.
10194         (facemenu-set-face): Handle START and END interactively.
10195         (facemenu-set-foreground): Don't use a face; specify color directly.
10196         (facemenu-set-background): Likewise.
10197         (facemenu-set-face-from-menu): Doc fix.
10198         (facemenu-active-faces): Use face-attribute-vector
10199         to handle bare attributes not in faces.
10200         (facemenu-get-face): Don't handle face names fg:... and bg:...
10201         specially.
10202         (facemenu-add-new-face): New argument MENU.
10203         New way to handle adding colors to the color menus.
10205         * env.el (substitute-env-vars): Quote the arg to rx.
10207 2001-10-24  Sam Steingold  <sds@gnu.org>
10209         * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
10210         Control" and "SGML" groups.
10212 2001-10-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
10214         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
10215         Better handling of C++ template args to avoid confusion with `<'
10216         and `>' used as operators in member init expressions.
10218 2001-10-24  Gerd Moellmann  <gerd@gnu.org>
10220         * replace.el (perform-replace): Move START and END parameters
10221         to the end of the argument list and make them optional.
10223         * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
10224         perform-replace.
10226         * international/fontset.el (x-must-resolve-font-name): New function.
10227         (x-complement-fontset-spec): Use it.
10229 2001-10-23  Stefan Monnier  <monnier@cs.yale.edu>
10231         * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
10233         * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
10234         Turn caadr into caar of cdr.
10236 2001-10-23  Gerd Moellmann  <gerd@gnu.org>
10238         * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
10239         of mouse-{1,2} since dragging is on the down event.
10241         * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
10243         * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
10244         if ARG is nil.
10246         * desktop.el (desktop-last-buffer): New variable.
10247         (desktop-create-buffer): Set it.
10248         (desktop-read): Bind it and switch to that buffer.
10250 2001-10-22  Gerd Moellmann  <gerd@gnu.org>
10252         * progmodes/compile.el (compilation-set-window-height):
10253         Select old window only if it's still live.
10255 2001-10-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
10257         * help-mode.el (help-buffer): Remove debugging code.
10258         From Stefan Monnier <monnier@cs.yale.edu>.
10260 2001-10-22  Eli Zaretskii  <eliz@is.elta.co.il>
10262         * files.el (file-name-sans-extension, file-name-extension):
10263         Don't count the leading dots in file names as signaling an extension.
10265 2001-10-22  Andre Spiegel  <spiegel@gnu.org>
10267         * vc.el (vc-diff-switches): Doc rewritten.
10269 2001-10-22  Eli Zaretskii  <eliz@is.elta.co.il>
10271         * tooltip.el (tooltip-set-param): Doc fix.
10273         * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
10274         127 to sgml-maybe-name-self.
10275         (sgml-name-8bit-mode): Doc fix.
10276         (sgml-char-names-table): New variable.
10277         (sgml-name-char): Support non-ASCII and mule-unicode-*
10278         characters.  Doc fix.
10279         (sgml-maybe-name-self): Convert unibyte characters to multibyte.
10281         * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
10282         doc string the effect of `left' and `top' parameters in
10283         tooltip-frame-parameters, the default values, and the units.
10284         (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
10285         (tooltip-show): Mention in the doc string the `top' and `left'
10286         parameters in tooltip-frame-parameters, and x-max-tooltip-size.
10288 2001-10-22  Andre Spiegel  <spiegel@gnu.org>
10290         Add autoscaling support for vc-annotate.
10291         From J.D. Smith <jdsmith@alum.mit.edu>.
10293         * vc.el (vc-annotate-display-default): Accept colormap scaling
10294         ratio (now deprecated).
10295         (vc-annotate-display-autoscale): Added.
10296         (vc-annotate-add-menu): New autoscaling menu options "Span to
10297         Oldest" and "Span Oldest->Newest".  Easymenu support added for
10298         toggle menus driven by customize variable `vc-annotate-display-mode'.
10299         (vc-annotate-display-select): Added.
10300         (vc-annotate): Changed temp-buffer-show-function to
10301         `vc-annotate-display-select'.
10302         (vc-annotate-display): Removed arguments BUFFER and BACKEND.
10303         Added argument OFFSET.  Instead of backend function, calls now
10304         generic `vc-annotate-difference'.
10305         (vc-annotate-difference): Added as generic function instead of
10306         backend-specific function.  No longer takes argument POINT, but
10307         instead accepts a time OFFSET.
10308         (vc-default-annotate-current-time): Added.
10310         * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
10311         version in vc.el, with
10312         (vc-cvs-annotate-current-time): Added, as override of default.
10313         (vc-cvs-annotate-time): Added.  Taken mostly from the (now removed)
10314         `vc-cvs-annotate-difference'.
10316 2001-10-22  Gerd Moellmann  <gerd@gnu.org>
10318         * saveplace.el (save-place): Require `saveplace'.
10320         * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
10321         Use `sexp' for :value-type instead of `face'.
10323 2001-10-21  Eli Zaretskii  <eliz@is.elta.co.il>
10325         * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
10326         regexps due to 5-digit message IDs.
10328 2001-10-21  Jason Rumney  <jasonr@gnu.org>
10330         * term/w32-win.el (redisplay-dont-pause): Don't set.
10332 2001-10-21  Miles Bader  <miles@gnu.org>
10334         * help-funs.el (help-manyarg-func-alist): Variable removed.
10336 2001-10-21  Miles Bader  <miles@gnu.org>
10338         * help-funs.el (help-manyarg-func-alist): Remove entries for
10339         `insert', `insert-and-inherit', `insert-before-markers',
10340         `insert-before-markers-and-inherit', `message', `message-box',
10341         `message-or-box', `propertize', `format', `encode-time', `append',
10342         `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
10343         `insert-string', `ml-if', `ml-provide-prefix-argument', and
10344         `ml-prefix-argument-loop'.
10346 2001-10-21  Andre Spiegel  <spiegel@gnu.org>
10348         * vc.el (vc-diff-internal, vc-coding-system-for-diff)
10349         (vc-default-diff-tree): New functions.
10350         (vc-version-diff): Use them.  As a result, coding systems are now
10351         set up properly for all sorts of diffs, and tree diffs can now
10352         also be done locally.
10353         (vc-diff): With a prefix argument, don't require that it's called
10354         from a buffer under version control.
10355         (diff-switches): Remove duplicate definition.
10357         * vc-cvs.el (vc-cvs-diff-tree): New function.
10359 2001-10-21  Miles Bader  <miles@gnu.org>
10361         * help-funs.el (help-manyarg-func-alist): Remove entries for
10362         `list', `vector', `make-byte-code', `call-process',
10363         `call-process-region', `string', `+', `-', `*', `/', `max', `min',
10364         `logand', `logior', and `logxor'.
10366         * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
10367         image bits to compensate.  Use `make-string' instead of
10368         `make-bool-vector' (XBM apparently wants byte-aligned rows).
10370 2001-10-20  Kim F. Storm  <storm@cua.dk>
10372         * simple.el (kill-ring-save): Don't show extent of copied region
10373         if using transient-mark-mode and region is fully visible.
10375 See ChangeLog.9 for earlier changes.
10377 ;; Local Variables:
10378 ;; coding: iso-2022-7bit
10379 ;; End:
10381     Copyright (C) 2001, 2002 Free Software Foundation, Inc.
10382   Copying and distribution of this file, with or without modification,
10383   are permitted provided the copyright notice and this notice are preserved.