1 2002-09-02 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3 * net/tramp.el: Version 2.0.15 released.
4 (require 'base64): Most modern Emacsen have the base64
5 encode/decode functions built in, so test to see if they are bound
6 before we go blindly requiring base64.el. From Steve Youngs
8 (tramp-feature-write-region-fix): XEmacs doesn't have a
9 'find-operation-coding-system' and this variable doesn't seem to
10 be used anywhere so wrap it in (unless (featurep 'xemacs)). From
11 Steve Youngs <youngs@xemacs.org>.
12 (tramp-methods): Remove duplicate definition of ssh1-old and
14 (tramp-open-connection-su): Use user name "root" if no user name
17 From Michael Albinus <Michael.Albinus@alcatel.de>:
18 * net/tramp.el (tramp-invoke-ange-ftp):
19 (tramp-ange-ftp-file-name-p): Check for Xemacs.
20 (tramp-do-copy-or-rename-file): Don't pass KEEP-DATE to
21 tramp-invoke-ange-ftp 'rename.
22 (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
23 tramp-invoke-ange-ftp 'write-region.
24 (tramp-handle-set-file-modes): Change order of FILENAME and MODE
25 passing to tramp-invoke-ange-ftp 'set-file-modes.
26 (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called
27 again after activating `ange-ftp'.
29 2002-09-02 Kim F. Storm <storm@cua.dk>
31 * ido.el (ido-ignore-item-temp-list): New variable.
32 (ido-read-internal): Don't set ido-default-item if the default is
33 member of ido-ignore-item-temp-list.
34 Don't return first match for C-j if no text is entered.
35 (ido-buffer-internal): Check for empty string return.
36 (ido-make-buffer-list1): Use member instead of memq.
37 (ido-window-buffer-p): Likewise.
38 (ido-get-bufname): Ignore buffers on ido-ignore-item-temp-list.
39 (ido-ignore-item-p): Ignore items on ido-ignore-item-temp-list.
41 * replace.el (multi-occur): Made "ido-aware":
42 Changed prompt to use C-j instead of RET to end.
43 Set ido-ignore-item-temp-list to the selected buffers so far, so
44 they are automatically excluded from the list of choices.
45 Use add-to-list instead of push.
47 2002-09-01 Richard M. Stallman <rms@gnu.org>
49 * term/x-win.el (function-key-map): Define S-iso-lefttab.
51 2002-09-01 Kim F. Storm <storm@cua.dk>
53 * edmacro.el (edit-kbd-macro): Recognize new default binding for
54 C-x e in addition to old binding.
56 2002-09-01 Mario Lang <mlang@debian.org>
58 * files.el (save-some-buffers-action-alist): New variable.
59 (save-some-buffers): Use that.
60 (diff-buffer-with-file): New function.
62 2002-09-01 Richard M. Stallman <rms@gnu.org>
64 * ruler-mode.el (defgroup ruler-mode): Use `convenience' as parent.
66 * dired.el (defgroup dired): Use `files' as parent.
67 (dired-get-filename): Ignore handler if it has safe-magic prop.
69 * jka-compr.el (jka-compr-handler): Add safe-magic property.
71 2002-08-31 Richard M. Stallman <rms@gnu.org>
73 * simple.el (kill-line): Use end-of-visible-line to determine
74 if rest of line is blank.
75 (end-of-visible-line): Cope if end-of-line moved back over
76 invisible intangible chars at end of line.
78 * simple.el (completion-setup-function): Don't use directory-sep-char.
80 2002-09-01 Glenn Morris <gmorris@ast.cam.ac.uk>
82 * progmodes/f90.el (f90-menu): Remove ":active" keyword where not
84 (f90-menu, f90-add-imenu-menu): Use lookup-key.
85 Remove (eval-when-compile) for free variables.
87 2002-08-31 Andreas Schwab <schwab@suse.de>
89 * font-core.el (font-lock-change-mode): Avoid changing buffer
92 2002-08-30 Edward M. Reingold <reingold@emr.cs.iit.edu>
94 * calendar/diary-lib.el (diary-mail-entries): Don't overwrite
95 user's value of diary-list-include-blanks, but generate message
96 instead if there are no entries.
98 2002-08-30 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
100 * ps-print.el (ps-lp-system): Fixed typo in `usg-unix-v'.
102 2002-08-30 Markus Rost <rost@math.ohio-state.edu>
104 * menu-bar.el (menu-bar-read-mail): Doc fix.
106 2002-08-30 John Paul Wallington <jpw@shootybangbang.com>
108 * ibuffer.el (ibuffer-update): Revert expansion of `caddr'.
109 (ibuffer-fontification-alist): Check hidden buffer case isn't
110 visiting a file and change its face to italic.
112 2002-08-30 Juanma Barranquero <lektu@terra.es>
114 * replace.el (occur-mode): Add interactive declaration.
116 * bs.el (bs-message-without-log): Fix typo.
118 * font-core.el (font-lock-defaults): Likewise.
120 * font-lock.el (font-lock-add-keywords): Likewise.
122 * mouse-copy.el (mouse-copy-work-around-drag-bug): Likewise.
124 * textmodes/bibtex.el (bibtex-mode): Likewise.
126 * emulation/viper-ex.el (ex-compile-command): Likewise.
128 * progmodes/idlwave.el (idlwave-max-extra-continuation-indent):
131 * progmodes/dcl-mode.el (dcl-calc-cont-indent-relative): Likewise.
133 * allout.el (my-mark-marker): Likewise.
135 2002-08-30 Simon Josefsson <jas@extundo.com>
137 * mail/smtpmail.el (smtpmail-via-smtp): Delete process buffer
138 unless s-debug-info is enabled.
140 2002-08-29 John Paul Wallington <jpw@shootybangbang.com>
142 * ibuffer.el (ibuffer-update): Use `minibufferp'. Expand `caddr'.
144 * mwheel.el (mouse-wheel-up-button): Doc fix.
146 2002-08-29 Juanma Barranquero <lektu@terra.es>
148 * replace.el (occur-mode-hook): New hook.
149 (occur-mode): Use it.
150 (occur-hook): Set default to nil.
152 2002-08-29 Richard M. Stallman <rms@gnu.org>
154 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
155 Decide here whether to print which form we're compiling.
156 If we do that, still print file and line. Make file name
157 relative to default-directory. Print fewer newlines.
158 (byte-compile-log-file): Print something even if no file.
159 Print messages for entering and leaving directories,
160 and set default-directory.
161 (displaying-byte-compile-warnings): Only sometimes bind warning-series.
162 (byte-compile-warning-series): New function.
163 (byte-compile-file): Set byte-compile-last-logged-file, don't bind it.
164 (byte-compile-display-log-head-p): Function deleted.
166 * warnings.el (warning-series): Now can be a marker, not an integer.
167 (display-warning): Handle new value for warning-series.
169 * emacs-lisp/bytecomp.el (byte-compile-log-file): Use \f.
170 (byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file
173 2002-08-29 Kim F. Storm <storm@cua.dk>
175 * kmacro.el: Changed default bindings from F7/F8 to F3/F4.
176 Changed default binding of C-x e to kmacro-end-or-call-macro.
177 (kmacro-call-repeat-key, kmacro-call-repeat-with-arg): New custom
179 (kmacro-get-prefix-arg): New function.
180 (kmacro-repeat-on-last-key): Renamed from kmacro-repeat-loop and improved.
182 (kmacro-call-macro): Repeat macro by repeating last key or
183 key defined in kmacro-call-repeat-key. New third arg non-nil
184 means to end current macro.
185 (kmacro-end-or-call-macro): Call kmacro-call-macro appropriately
186 to get repeat last key functionality.
187 (kmacro-start-macro-or-insert-counter): Improve doc string.
189 2002-08-28 Luc Teirlinck <teirllm@mail.auburn.edu>
191 * files.el (find-buffer-visiting): Compare file attributes
192 using buffer-file-truename.
194 2002-08-28 Richard M. Stallman <rms@gnu.org>
196 * files.el (make-auto-save-file-name, make-backup-file-name-1):
197 Don't use directory-sep-char.
199 2002-08-28 Juanma Barranquero <lektu@terra.es>
201 * replace.el (occur-hook): Renamed from `occur-mode-hook'.
202 (occur-mode): Remove call to `occur-mode-hook'.
203 (occur-rename-buffer): Fix reference to `occur-mode-hook' in docstring.
204 (occur-1): Add call to `occur-hook'.
206 * subr.el (make-variable-frame-localizable): Alias for
207 `make-variable-frame-local'.
209 2002-08-28 Miles Bader <miles@gnu.org>
211 * rfn-eshadow.el (read-file-name-electric-shadow-properties)
212 (read-file-name-electric-shadow-tty-properties)
213 (read-file-name-electric-shadow-mode): Remove compatibility defs.
215 * comint.el (comint-carriage-motion): Start at START.
217 2002-08-27 Francesco Potorti` <pot@gnu.org>
219 * net/ange-ftp.el (ange-ftp-skip-msgs): Skip the 530 response
220 given by vsFTPd when accessed with a kerberised FTP client.
222 2002-08-27 Richard M. Stallman <rms@gnu.org>
224 * files.el (find-alternate-file):
225 Bind kill-buffer-query-functions locally, don't set it.
227 2002-08-27 Andreas Schwab <schwab@suse.de>
229 * kmacro.el (kmacro-start-macro): Doc fix.
231 2002-08-27 Carsten Dominik <dominik@sand.science.uva.nl>
233 * textfile/reftex-ref.el (reftex-goto-label): New command.
235 * textfile/reftex-vars.el (reftex-part-resets-chapter): New option.
237 * textfile/reftex-parse.el (reftex-roman-number): New function.
238 (reftex-section-number): Better handling of parts: No chapter
241 * textfile/reftex.el (reftex-highlight-overlays): Added a third
243 (reftex-mode-menu): Added entry for `reftex-toc-recenter.
244 Also moved `reftex-reset-mode' to top level.
246 * textfile/reftex-toc.el (reftex-toc-recenter): New command.
247 (reftex-toc-pre-command-hook): Don't remove highlight overlay.
248 (reftex-toc-post-command-hook): Use overlay no 2 for highlighting.
250 * textfile/reftex-sel.el (reftex-get-offset): Get offset of
251 document pointer *before* position, not after.
252 (reftex-insert-docstruct): Get offset of document pointer *before*
255 * textfiles/reftex-parse.el (reftex-where-am-I): Prefer marker
256 match over section title match.
258 * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
259 which determines on a per-file-basis if BibTeX is being used
260 locally for citations.
261 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
262 cooperation with chapterbib.
263 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
264 better cooperation with chapterbib.
266 * textfiles/reftex-dcr.el (reftex-view-cr-cite):
267 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
269 2002-08-26 Kim F. Storm <storm@cua.dk>
271 * subr.el (suppress-keymap): Use command remapping instead of
272 substitute-key-definition to undefine self-inserting keys.
274 2002-08-26 Juanma Barranquero <lektu@terra.es>
276 * makefile.w32-in (WINS): Add calc and obsolete.
278 2002-08-26 Stefan Monnier <monnier@cs.yale.edu>
280 * emacs-lisp/easy-mmode.el (define-minor-mode):
281 Use customize-mark-as-set for global minor modes.
283 2002-08-25 Miles Bader <miles@gnu.org>
285 * rfn-eshadow.el (file-name-shadow-properties-custom-type):
286 Renamed from `read-file-name-electric-shadow-properties-custom-type'.
288 (file-name-shadow-properties): Renamed from
289 `read-file-name-electric-shadow-properties'.
290 (file-name-shadow-tty-properties): Renamed from
291 `read-file-name-electric-shadow-tty-properties'.
292 (file-name-shadow): Renamed from `read-file-name-electric-shadow'.
293 (rfn-eshadow-setup-minibuffer): Update references to renamed variables.
294 (file-name-shadow-mode): Renamed from
295 `read-file-name-electric-shadow-mode'. Update references to
298 2002-08-24 Sam Steingold <sds@gnu.org>
300 * subr.el (eval-after-load): Do not call
301 load-symbol-file-load-history (deleted yesterday).
303 2002-08-24 John Paul Wallington <jpw@shootybangbang.com>
305 * startup.el (normal-splash-screen): Ensure splash buffer is
306 killed. Use tabs in output. Fix test whether previous buffer was
309 * progmodes/simula.el (simula-abbrev-keyword-default)
310 (simula-abbrev-keyword, simula-abbrev-stdproc-default)
311 (simula-abbrev-stdproc): Doc fix - escape open parens in column 0.
313 * apropos.el (command-apropos): Use `defalias' instead of `fset'.
315 * mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix.
317 2002-08-24 Glenn Morris <gmorris@ast.cam.ac.uk>
319 * progmodes/f90.el (f90-xemacs-flag, f90-xemacs-menu)
320 (f90-menu-bar-menu, f90-change-case-menu, f90-font-lock-on)
321 (f90-font-lock-off, f90-font-lock-menu): Delete.
322 Use easy-menu-define instead.
323 (f90-mode): Use easy-menu-add.
324 No longer (require 'imenu) when compiling.
325 (f90-mark-subprogram, f90-indent-region, f90-fill-region)
326 (f90-abbrev-start): Use fboundp.
327 (f90-imenu-flag): Delete - use imenu--index-alist instead.
329 2002-08-23 Richard M. Stallman <rms@gnu.org>
331 * loadhist.el (unload-feature): Distinguish functions from
332 variables in load-history.
333 (feature-symbols): Doc fix.
335 * files.el (ange-ftp-completion-hook-function): Add safe-magic prop.
337 * subr.el (symbol-file-load-history-loaded)
338 (load-symbol-file-load-history): Deleted.
339 (symbol-file): Don't call load-symbol-file-load-history.
341 2002-08-23 Andre Spiegel <spiegel@gnu.org>
343 * vc-hooks.el (vc-kill-buffer-hook): Add it to kill-buffer-hook again.
345 2002-08-22 Katsumi Yamaoka <yamaoka@jpl.org> (tiny change)
347 * frame.el (select-frame-by-name, select-frame-set-input-focus):
348 Always call x-focus-frame, if using x.
349 Use set-mouse-position on all systems, if focus-follows-mouse.
351 2002-08-22 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
353 * net/tramp.el: Version 2.0.14 released.
354 (tramp-shell-prompt-pattern): New variable.
355 (tramp-actions-before-shell, tramp-multi-actions)
356 (tramp-find-shell, tramp-open-connection-multi)
357 (tramp-open-connection-setup-interactive-shell): Use it.
358 (tramp-open-connection-telnet, tramp-open-connection-rsh)
359 (tramp-open-connection-su): Mention `tramp-shell-prompt-pattern'
361 (tramp-bug): Report `tramp-shell-prompt-pattern'.
362 (tramp-process-one-multi-action, tramp-process-one-action):
363 Make message clearer so people don't confuse it with Emacs asking
364 them a question if the regexp happens to end with "?".
365 (tramp-verbose): Change default value from 10 to 9. Also change
366 some logging levels so that 10 is reserved for stuff which is
367 needed for debugging only, but 9 catches everything that people
368 might like to see in order to see that Tramp is actually working.
370 2002-08-22 Kim F. Storm <storm@cua.dk>
372 * emacs-lisp/authors.el (authors-aliases, authors-fixed-entries):
373 Corrected spelling mistakes (for Joseph Arceneaux).
375 2002-08-21 Glenn Morris <gmorris@ast.cam.ac.uk>
377 * progmodes/f90.el: eval-when-compile a few defvars.
378 (f90-xemacs-flag): Wrap in eval-and-compile.
379 (f90-font-lock-keywords): Doc fix.
380 (f90-mode-abbrev-table): Work with or without 6th arg of define-abbrev.
381 (f90-mark-subprogram-overlay): Variable deleted.
382 (f90-mark-subprogram): Remove overlay bit. Don't be silent about
384 (f90-abbrev-start): unread-command-event is obsolete in XEmacs.
386 2002-08-21 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
388 * tramp.el: Version 2.0.13 released.
389 (tramp-handle-write-region): Don't check to see if remote end is
390 awake after sending data to remote host: we want to send "EOF" not
391 "echo are you awake"...
392 (tramp-maybe-open-connection): Swap args for tramp-time-diff.
393 (tramp-yn-prompt-regexp): New variable.
394 (tramp-action-yn): New function, using it.
395 (tramp-feature-write-region-fix): New internal variable. Not yet
396 used. Should be used in `tramp-handle-write-region'.
398 2002-08-21 Kim F. Storm <storm@cua.dk>
400 * bindings.el (mode-line-format): Moved global-mode-string last.
401 (mode-line-position): Moved %p first. Added padding to %l/%c to
402 eliminate jumpyness in modeline. Use (%l,%c) format if both
403 line-number-mode and column-number-mode are enabled.
405 2002-08-20 Martin Stjernholm <bug-cc-mode@gnu.org>
407 * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed a bug
408 that could cause an infinite loop if something that looks like
409 a macro begins in the middle of a line.
411 * progmodes/cc-engine.el (c-parse-state): Fixed a bug that
412 could cause `c-state-cache' to contain two conses in sequence
413 when there's an unbalanced open paren in a macro.
415 2002-08-20 Glenn Morris <gmorris@ast.cam.ac.uk>
417 * progmodes/fortran.el (fortran-current-defun): Use save-excursion.
419 * imenu.el (imenu--generic-function): Use mapc.
420 (imenu-syntax-alist): Doc fix.
422 2002-08-20 Richard M. Stallman <rms@gnu.org>
424 * font-core.el (font-lock-change-mode): New function.
425 (font-lock-mode): Use font-lock-change-mode instead of
426 font-lock-unfontify-buffer.
427 (font-lock-maximum-size, font-lock-verbose): Add defvars.
429 2002-08-20 Carsten Dominik <dominik@astro.uva.nl>
431 * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
432 which determines on a per-file-basis if BibTeX is being used
433 locally for citations.
434 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
435 cooperation with chapterbib.
436 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
437 better cooperation with chapterbib.
439 * textfiles/reftex-dcr.el (reftex-view-cr-cite):
440 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
442 2002-08-20 Kim F. Storm <storm@cua.dk>
444 * kmacro.el: Major rework based on discussions with RMS.
445 Most important change is that C-x C-k is now bound to a keymap
446 with keyboard macro related commands. The original binding on
447 C-x C-k is moved to C-x C-k e.
449 * binding.el: Remove macro related bindings (now in kmacro.el).
451 * edmacro.el: Remove C-x C-k binding (now in kmacro.el).
453 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
455 * help-fns.el (help-split-fundoc): Replace the function name
456 from the docstring with the one that should be displayed.
457 (help-make-usage): Understand CL style arglists.
458 (describe-function-1): Adapt to the new behavior of help-split-fundoc.
459 (describe-variable): Use delete-region.
461 2002-08-19 Kenichi Handa <handa@etl.go.jp>
463 * international/mule.el (sgml-xml-auto-coding-function):
464 Call re-search-forward with NOERROR t.
466 2002-08-19 Miles Bader <miles@gnu.org>
468 [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
469 * comint.el (comint-inhibit-carriage-motion): New variable.
470 (comint-carriage-motion): Argument STRING removed. New arguments
471 START and END; interpret characters between START and END rather
472 than using special comint state.
473 (comint-output-filter): Call `comint-carriage-motion'.
474 (comint-output-filter-functions): Don't add `comint-carriage-motion'.
475 * ielm.el (inferior-emacs-lisp-mode):
476 Give `comint-inhibit-carriage-motion' a local value of t.
478 2002-08-18 Richard M. Stallman <rms@gnu.org>
480 * table.el: New file.
482 * font-core.el (font-lock-mode): Set change-major-mode-hook locally.
484 2002-08-18 Andreas Schwab <schwab@suse.de>
486 * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
488 2002-08-17 Carsten Dominik <dominik@astro.uva.nl>
490 * textmodes/reftex.el (reftex-mode): Create special syntax tables.
491 (reftex-syntax-table): Set a default in case this is being used
492 outside a LaTeX file.
493 (reftex-syntax-table-for-bib): Set a default in case this is being
494 used outside a LaTeX file.
496 2002-08-17 Richard M. Stallman <rms@gnu.org>
498 * tar-mode.el (tar-subfile-mode): Use add-hook and remove-hook,
499 and use write-file-functions instead of local-write-file-hooks.
500 (tar-untar-buffer): Don't try to extract directories.
502 * menu-bar.el (fringe-mode): Set to nil.
504 * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
506 2002-08-15 Richard M. Stallman <rms@gnu.org>
508 * calendar/appt.el (appt-delete): Use substring-no-properties.
509 (appt-make-list): Don't use prin1-to-string; use the string unchanged.
511 2002-08-15 Jan Nieuwenhuizen <janneke@gnu.org> (tiny change)
513 * server.el (server-process-filter): Simplify code.
514 (server-goto-line-column): New function.
515 (server-visit-files): Use server-goto-line-column.
516 Offer to revert only if file has changed.
518 2002-08-15 Richard M. Stallman <rms@gnu.org>
520 * files.el (recover-this-file): New function.
521 (after-find-file): Recommend recover-this-file.
523 * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
524 to change-major-mode-hook when font lock is enabled.
526 * simple.el (toggle-truncate-lines): Force redisplay.
527 Display status message.
529 2002-08-15 Carsten Dominik <dominik@sand.science.uva.nl>
531 * textmodes/reftex.el (reftex-mode): Moved the creation of special
532 syntax tables to top-level.
534 2002-08-15 David Kastrup <David.Kastrup@t-online.de>
536 * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
537 use `hash-table-size' instead of `length'.
539 2002-08-14 Stefan Monnier <monnier@cs.yale.edu>
541 * help-fns.el (locate-library): Use locate-file(-completion).
542 (help-split-fundoc): Tighten the regexp and recognize a usage-info
543 where the function name is `fn'.
544 (help-function-arglist): Follow aliases and macros.
545 (describe-function-1): Use keymapp.
546 If the docstring contains a usage info, use it even if the function is
547 not a subroutine. Find usage info in aliases' docstring if necessary.
548 (describe-variable): Get the value before setting up the *Help* buffer.
550 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
551 Use find-file-hook instead of find-file-hooks.
552 (define-minor-mode): Get rid of this silly `togglep'.
553 Add an explicit `toggle' argument (used for interactive calls).
554 Emit a warning when a nil argument turns the mode off.
556 * language/ethio-util.el (setup-ethiopic-environment-internal)
557 (exit-ethiopic-environment): Use find-file-hook and
558 write-file-functions instead of find-file-hooks and write-file-hooks.
560 * window.el (handle-select-window): Don't do anything if the window
561 has disappeared since the event was generated.
562 (split-window-save-restore-data): Use push and with-current-buffer.
566 * obsolete/hilit19.el:
567 * completion.el (dynamic-completion-mode):
568 * emacs-lisp/find-func.el (find-function-search-for-symbol):
569 Use find-file-hook instead of find-file-hooks.
571 * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
572 (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
573 (imenu-space-replacement): Allow nil value.
574 (imenu--completion-buffer): Use new vars and simplify.
575 Fix handling of minibuffer-setup-hook.
576 Use minibuffer-completion-help instead of rolling our own.
577 (imenu-choose-buffer-index): Use the new var.
579 * startup.el (command-line): Load custom-file if not done yet.
581 2002-08-14 Kenichi Handa <handa@etl.go.jp>
583 * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
584 the selection data string. Always return cons of type and string.
585 (selection-converter-alist): Add (UTF8_STRING .
586 xselect-convert-to-string).
588 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
590 * newcomment.el (comment-region): Force `lines' when `block' is set.
592 2002-08-12 Richard M. Stallman <rms@gnu.org>
594 * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag)
595 (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
596 (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
597 (menu-bar-toggle-cua-mode, menu-bar-read-mail)
598 (menu-bar-help-extra-packages, help-with-tutorial-spec-language)
599 (menu-bar-text-mode-auto-fill): New commands, used
600 in menu bar menus instead of lambda expressions.
602 (menu-bar-showhide-fringe-menu-customize-left)
603 (menu-bar-showhide-fringe-menu-customize-right)
604 (menu-bar-showhide-fringe-menu-customize-disable)
605 (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
607 (menu-bar-options-menu): Use toggle-truncate-lines.
608 (showhide-date-time): Call customize-mark-as-set.
610 * emacs-lisp/find-func.el (find-function-search-for-symbol):
611 Obey `definition-name' properties.
613 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
614 Put `definition-name' properties on the functions whose
615 names are constructed.
617 * textmodes/page-ext.el (pages-target-buffer): Add defvar.
618 Renamed from target-buffer.
619 (pages-directory, pages-copy-header-and-position): Uses changed.
621 * calendar/appt.el (appt-make-list): Correct the parsing of
622 each appointment from time-string.
624 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
626 * scroll-all.el (scroll-all-mode): Use define-minor-mode.
627 (scroll-all-mode) <defcustom>: Delete.
628 (running-xemacs): Delete.
629 (minor-mode-alist): Don't manipulate it directly.
631 2002-08-10 Kenichi Handa <handa@etl.go.jp>
633 * international/mule-cmds.el (search-unencodable-char): New function.
634 (select-safe-coding-system): Show unencodable characters.
635 (unencodable-char-position): Deleted, and implemented in C in coding.c.
637 2002-04-09 John Wiegley <johnw@gnu.org>
639 * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it.
640 * em-cmpl.el (eshell-cmpl-ignore-case): Ditto.
641 * em-dirs.el (eshell/cd): Ditto.
642 * em-glob.el (eshell-glob-case-insensitive): Ditto.
643 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
644 * esh-ext.el (eshell-binary-suffixes): Ditto.
646 2002-08-09 Richard M. Stallman <rms@gnu.org>
648 * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
650 * simple.el (set-variable): Give locality status in prompt.
652 2002-08-09 Benjamin Rutt <rutt@cis.ohio-state.edu>
654 * simple.el (set-variable): If given a prefix argument, set
655 variable buffer-locally.
657 2002-08-09 John Paul Wallington <jpw@shootybangbang.com>
659 * font-core.el (font-lock-function): Make it buffer-local.
661 2002-08-08 Richard M. Stallman <rms@gnu.org>
663 * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
664 (checkdoc-message-interactive, checkdoc-interactive-loop)
665 (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
667 Update checkdoc-spellcheck-documentation-flag correctly.
668 (checkdoc-ispell-docstring-engine): Don't test for
669 checkdoc-autofix-flag = nil.
671 2002-08-07 John Paul Wallington <jpw@shootybangbang.com>
673 * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
675 * wid-browse.el (widget-minor-mode): Fix doc typo.
677 2002-08-07 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
679 * net/tramp.el: Version 2.0.12 released.
680 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
681 Comment out possibly obsolete "echo hello" commands.
682 (tramp-run-real-handler): If operation is
683 `ange-ftp-hook-function', use first arg as the real operation.
684 (tramp-check-ls-commands): Use / instead of \ as directory
685 separator. (Relevant for XEmacs on Windows.)
686 (tramp-maybe-open-connection): Use tramp-wait-for-output when
687 waiting for the "are you awake" command. Use a different string
688 for the "are you awake" command.
689 (tramp-send-command): New optional arg NEVEROPEN means to never
690 invoke tramp-maybe-open-connection.
691 (tramp-maybe-open-connection): Use it
693 2002-08-07 Richard M. Stallman <rms@gnu.org>
695 * warnings.el (warning-prefix-function, warning-series)
696 (warning-fill-prefix, warning-group-format): Add autoload cookies.
698 2002-08-07 Kenichi Handa <handa@etl.go.jp>
700 * international/mule-cmds.el (select-safe-coding-system):
701 Call pop-to-buffer inside save-window-excursion and save-excursion.
703 2002-08-06 John Paul Wallington <jpw@shootybangbang.com>
705 * help-fns.el (describe-function-1): Skip arglist note if
706 function's definition is a keymap.
708 2002-08-06 Sam Steingold <sds@gnu.org>
710 * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
711 and `mail-user-agent' instead of straight sendmail.
712 (diary-modified, diary-entries-list, displayed-year)
713 (displayed-month, entry, date, number, date-string, d-file)
714 (original-date): Defvar without binding to avoid compiler warnings.
716 2002-08-05 Alan Shutko <ats@acm.org>
718 * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
719 (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
720 (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
722 * ibuf-ext.el (ibuffer-list-buffer-modes): New.
723 (ibuffer-filter-by-used-mode): New.
725 2002-08-05 John Paul Wallington <jpw@shootybangbang.com>
727 * ediff-util.el (ediff-copy-list): Use `defalias' instead of
728 `fset' and `symbol-function'.
730 2002-08-05 John Wiegley <johnw@gnu.org>
732 * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
733 value unless pcomplete-cycle-cutoff-length is non-nil.
735 2002-04-09 John Paul Wallington <jpw@shootybangbang.com>
737 * esh-util.el (eshell-under-cygwin-p): New function.
738 * em-cmpl.el (eshell-cmpl-ignore-case): Use it.
739 * em-dirs.el (eshell/cd): Ditto.
740 * em-glob.el (eshell-glob-case-insensitive): Ditto.
741 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
742 * esh-ext.el (eshell-binary-suffixes): Ditto.
744 2002-08-05 Richard M. Stallman <rms@gnu.org>
746 * international/mule-cmds.el (select-safe-coding-system): Check for
747 non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
749 * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
751 2002-08-05 Gerd Moellmann <gerd@gnu.org>
753 * image.el (image-jpeg-p): Accept "Exif" marker.
755 2002-08-05 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
757 * net/tramp.el: Version 2.0.11 released.
758 (tramp-perl-file-attributes): Print uid and gid as signed integers.
759 (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
760 Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
762 (tramp-find-file-exists-command): Check for `ls -d' last, after
763 all the variants on `test -e'.
764 (tramp-post-connection): Erase buffer before finding a command to
765 check if file exists.
767 2002-08-05 David Kastrup <David.Kastrup@t-online.de>
769 * calc/calc.el (math-format-stack-value): Revert a broken
770 if->when replacement and reformat so that this does not happen
771 again. Fixes a pretty lethal line formatting/yanking bug.
773 2002-08-04 John Paul Wallington <jpw@shootybangbang.com>
775 * startup.el (fancy-splash-frame): Check selected frame last.
777 2002-08-04 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
779 * net/tramp.el: Version 2.0.10 released.
780 (tramp-uudecode): New shell function `tramp_uudecode' to decode to
781 standard output even if `uudecode -p' and `uudecode -o -' don't work.
782 (tramp-post-connection): After finding the right shell, wait a
783 bit. This is a kludge to avoid a race condition, even though I
784 don't understand why there is a race condition in the first place.
785 (tramp-post-connection): Install the `tramp_uudecode' shell
786 function on the remote host.
787 (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
788 (tramp-bug): Include more variables in the report.
790 2002-08-04 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
792 * net/tramp.el: Version 2.0.9 released.
793 (tramp-bug): Add wording about additional info to include in bug
795 (tramp-find-shell): Set $PS1 for invocation of second shell (for
797 (tramp-find-shell): Shell prompt must match at end of buffer.
798 Do this also for fallback shell prompt.
799 (tramp-find-shell): More debugging output.
800 (tramp-find-inline-encoding): When checking the decoding command,
801 some commands fail when reading from /dev/null. So we pass a
802 known string through the encoding command and pass that through
803 the decoding command. So we know whether the decoding command can
804 deal with some real input.
806 2002-08-04 Andreas Schwab <schwab@suse.de>
808 * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
810 2002-08-03 Andrew Choi <akochoi@shaw.ca>
812 * term/mac-win.el: Set keys to enable mouse wheel support.
814 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
816 * net/tramp.el: Version 2.0.8.
817 (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
819 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
821 * net/tramp.el: Version 2.0.7.
822 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
823 (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
824 because of `format' and say so in the docstring.
826 2002-08-03 Glenn Morris <gmorris@ast.cam.ac.uk>
828 * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
830 (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
831 (f90-type-def-re): Fix value.
833 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
835 * net/tramp.el: Version 2.0.6.
836 (tramp-default-method): Change to "ssh" from "sm".
837 (tramp-wrong-passwd-regexp): Restructure. Add additional alternative.
838 (tramp-su-program): New internal variable for method parameter.
839 (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
840 New variables. Very short Perl one-liner, but requires Perl
841 module MIME::Base64 to be installed on the remote site.
842 (tramp-perl-encode, tramp-perl-decode): New base64
843 encoder/decoder. From Juanma Barranquero <lektu@terra.es>.
844 (tramp-handle-file-truename): Invoke Ange-FTP properly (even
845 though Ange-FTP doesn't do anything for this operation).
846 (tramp-handle-set-visited-file-modtime): Comment change.
847 (tramp-handle-make-directory): Save-excursion.
848 (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
849 twice, once is enough.
850 (tramp-action-permission-denied): Show *tramp/foo* buffer so the
851 user knows what's wrong.
852 (tramp-post-connection): Support the two Perl encoders and decoders.
853 (tramp-coding-commands): Ditto. Add some todo items.
855 2002-08-02 Richard M. Stallman <rms@gnu.org>
857 * international/mule.el (merge-coding-systems): New function.
858 (set-buffer-file-coding-system): Use merge-coding-systems.
859 Change prompt for args.
860 (revert-buffer-with-coding-system): New command.
862 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
863 Add bindings for revert-buffer-with-coding-system.
864 (set-coding-system-map): Clarify menu item info for
865 set-buffer-file-coding-system.
866 (set-coding-system-map): Reorder and add separators.
868 * emacs-lisp/edebug.el (edebug-eval-top-level-form):
871 * subr.el (atomic-change-group): Doc fix.
873 2002-07-31 Colin Walters <walters@debian.org>
875 * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
876 defvaralias for compatibility.
877 (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
878 defvaralias for compatibility.
880 2002-07-31 John Paul Wallington <jpw@shootybangbang.com>
882 * ibuffer.el (ibuffer-fontification-alist):
883 Use `font-lock-constant-face' instead of `font-lock-reference-face'.
885 2002-07-31 John Wiegley <johnw@gnu.org>
887 * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
888 prevent adding the symbol `pcomplete' to
889 shell-dynamic-complete-functions to many times.
891 2002-07-31 Markus Rost <rost@math.ohio-state.edu>
893 * help-fns.el (describe-function-1): Test function for
894 obsolescence only if it is a symbol.
896 * ediff.el (ediff-backup): New autoloaded command.
898 2002-07-31 Richard M. Stallman <rms@gnu.org>
900 * makefile.w32-in (compile-after-backup): Renamed from `compile'.
901 Use `compile-always'.
902 (bootstrap): Use `compile', not `compile-files'. Use `update-subdirs'.
903 (compile): Renamed from `compile-files'.
904 (compile-CMD, compile-SH): Renamed from `compile-files-*'.
906 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
907 Check that (car elt) is a string.
909 * pcomplete.el (pcomplete-entries): Doc fix.
911 * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
913 2002-07-31 Andreas Schwab <schwab@suse.de>
915 * dired.el: Hide disabling of dired-find-alternate-file behind
918 2002-07-31 Juanma Barranquero <lektu@terra.es>
920 * makefile.w32-in: Revert some changes from 2002-07-23 because they
921 don't work on MSVC/nmake builds.
922 (update-subdirs-CMD): Generate the right list of subdirectories.
923 From Tak Ota <Takaaki.Ota@am.sony.com>.
925 2002-07-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
927 * net/tramp.el: New version 2.0.5.
928 (tramp-methods): Remove inline encoding method parameters.
929 The encoding is now autodetected. Also shorten the list of
930 methods (u/m distinction gone) and rename the remaining methods to
931 have longer, but more mnemonic, names.
932 (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
933 (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
934 matched at end of buffer anyway.
935 (tramp-yesno-prompt-regexp): New variable, for questions where the
936 user should say "yes" or "no".
937 (tramp-file-name-structure-unified)
938 (tramp-file-name-structure-separate): Allow dash in method names.
939 (tramp-actions-before-shell): New variable, contains list of
940 pattern/action pairs. Output sent by remote end is scanned for
941 the patterns, then the actions are executed.
942 (tramp-multi-actions): Like `tramp-actions-before-shell', but
943 executed for each hop in a multi-hop connection.
944 (tramp-last-cmd-time): New variable. If nothing has been sent to
945 remote end for 60 seconds, look to see if the remote end is still
947 (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
949 (tramp-perl-encode, tramp-perl-decode): New variables, these
950 require the MIME::Base64 module on the remote end.
951 (tramp-handle-file-attributes): Restructure logic.
952 (tramp-handle-file-attributes-with-ls)
953 (tramp-handle-file-attributes-with-perl): More debugging.
954 (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
955 (tramp-handle-make-directory, tramp-handle-delete-directory)
956 (tramp-handle-delete-file, tramp-handle-insert-directory):
958 (tramp-handle-shell-command): Use `when', not `if'.
959 (tramp-handle-file-local-copy, tramp-handle-write-region):
960 Adapt to autodetection of inline encoding.
961 (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
962 variable ange-ftp-name-format is defined before binding it.
963 (tramp-action-login, tramp-action-password, tramp-action-succeed)
964 (tramp-action-permission-denied, tramp-action-yesno):
965 Functions called from `tramp-actions-before-shell'.
966 (tramp-multi-action-login, tramp-multi-action-password)
967 (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
968 Functions called from `tramp-multi-actions'.
969 (tramp-process-one-action, tramp-process-actions):
970 Pattern matching and action invocation code for
971 `tramp-actions-before-shell'.
972 (tramp-process-one-multi-action, tramp-process-multi-actions):
973 Same for `tramp-multi-actions'.
974 (tramp-open-connection-telnet, tramp-open-connection-rsh)
975 (tramp-open-connection-su): Process actions instead of hardwired logic.
976 (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
977 (tramp-multi-connect-su): Ditto.
978 (tramp-post-connection): New method for tramp_encode and
979 tramp_decode scripts.
980 (tramp-post-connection): Invoke inline autodetection code.
981 (tramp-coding-commands): List of inline codings.
982 (tramp-find-inline-encoding): This is the inline autodetection code.
983 (tramp-maybe-open-connection): If nothing was sent to connection
984 for 60 seconds, look if it connection is still alive.
985 (tramp-send-command): Remember that something was sent to the
987 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
988 Use backticks for constructing alist.
989 (tramp-get-encoding-command, tramp-set-encoding-command)
990 (tramp-get-decoding-command, tramp-set-decoding-command)
991 (tramp-get-encoding-function, tramp-set-encoding-function)
992 (tramp-get-decoding-function, tramp-set-decoding-function):
993 Use for results of inline autodetection.
994 (tramp-get-encoding-command, tramp-get-decoding-command)
995 (tramp-get-encoding-function, tramp-get-decoding-function):
996 Remove these old functions.
998 2002-07-30 Kenichi Handa <handa@etl.go.jp>
1000 * language/indian.el (in-is13194): Give correct `safe-chars' property.
1001 (devanagari): Define it as an alias of in-is13194.
1003 * international/mule.el (safe-chars):
1004 Put `char-table-extra-slots' property with value 0.
1006 * files.el (revert-buffer): Fix previous change.
1008 2002-07-29 Richard M. Stallman <rms@gnu.org>
1010 * bindings.el (help-echo): If global-mode-string is non-nil,
1011 display some spaces after it.
1013 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
1014 Don't call string-match on non-string.
1015 (displaying-byte-compile-warnings):
1017 * textmodes/ispell.el (check-ispell-version): Bind default-directory
1018 to avoid errors. Kill the old temp buffer at the beginning.
1020 2002-07-29 Glenn Morris <gmorris@ast.cam.ac.uk>
1022 * scroll-all.el (scroll-all-mode): Make argument optional. Doc fix.
1024 2002-07-29 John Paul Wallington <jpw@shootybangbang.com>
1026 * scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if'
1029 2002-07-29 Kenichi Handa <handa@etl.go.jp>
1031 * international/mule.el (ctext-post-read-conversion): Add support
1032 for embedded utf-8 encoding (ESC % G ... ESC % @).
1034 2002-07-28 Kenichi Handa <handa@etl.go.jp>
1036 * files.el (revert-buffer): Before calling insert-file-contents,
1037 kill the local variable buffer-file-coding-system.
1039 2002-07-28 Richard M. Stallman <rms@gnu.org>
1041 * bindings.el (mode-line-format): Handle vc-mode specially.
1042 Move mode-line-position to after global-mode-string.
1043 (mode-line-modes): Move the starting 3 spaces out of here.
1044 (mode-line-position): Separate with a space, not dashes.
1046 * vc-hooks.el: Don't add to minor-mode-alist.
1048 * emacs-lisp/edebug.el (edebug-debugger):
1049 If inside redisplay, just return.
1051 * emacs-lisp/debug.el (debug): If inside redisplay, just return.
1053 * info.el (Info-find-index-name): Improve last change.
1055 2002-07-27 Richard M. Stallman <rms@gnu.org>
1057 * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
1059 * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
1062 2002-07-27 Markus Rost <rost@math.ohio-state.edu>
1064 * ps-print.el: Update copyright year.
1065 (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
1067 2002-07-26 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1069 * eshell/eshell.el (eshell): Numeric prefix arg means to switch
1070 to the session with that number. Old behavior still available
1071 with nonumeric prefix args.
1073 2002-07-08 Simon Josefsson <jas@extundo.com>
1075 * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
1077 2002-07-26 Juanma Barranquero <lektu@terra.es>
1079 * warnings.el (lwarn, warn, warning-levels): Doc fix.
1080 (warning-suppress-log-types): Fix typo.
1081 (display-warning): Fix typo. Remove useless asignment to free variable
1084 2002-07-25 Markus Rost <rost@math.ohio-state.edu>
1086 * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
1088 2002-07-25 Sam Steingold <sds@gnu.org>
1090 * replace.el (occur-rename-buffer): New command.
1091 (occur-mode-map): Bind "r" to it. Added keybindings for
1092 `kill-this-buffer', `clone-buffer' and `quit-window'.
1094 2002-07-25 Kevin Ryde <user42@zip.com.au>
1096 * info.el (Info-find-index-name): Search for a function definition
1099 2002-07-25 David Ponce <david@dponce.com>
1101 * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
1102 Don't recompute `entry' on each iteration.
1103 (byte-compile-delete-first): Make it defsubst.
1105 2002-07-25 Sam Steingold <sds@gnu.org>
1107 * progmodes/cc-engine.el (c-search-uplist-for-classkey):
1108 When `search-end' is a cons, use its car.
1110 2002-07-25 Dave Love <fx@gnu.org>
1112 * obsolete/c-mode.el: Deleted.
1114 2002-07-25 Carsten Dominik <dominik@astro.uva.nl>
1116 * textmodes/reftex.el (reftex-compile-variables):
1117 Simplified regular expression.
1119 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
1120 Simplified the regexp.
1122 * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
1123 (reftex-extract-bib-entries-from-thebibliography):
1124 Use `reftex-get-bibkey-default' to get a default regex.
1125 (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
1126 get a default regex.
1128 * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
1129 XEmacs compatibility (got OK from RMS).
1131 * textmodes/reftex-index.el (reftex-index-mode): Likewise.
1133 * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
1134 (reftex-select-bib-mode): Likewise.
1136 2002-07-25 Colin Walters <walters@debian.org>
1138 * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
1141 2002-07-24 Dave Love <fx@gnu.org>
1143 * international/mule.el (set-auto-coding): Doc fix.
1145 * international/utf-16.el: New file.
1147 * language/european.el ("German", "French", "Spanish", "Turkish"):
1148 Add alternative coding systems.
1149 ("Dutch"): Likewise. Add input method.
1150 ("Welsh", "Latin-7"): Add nonascii-translation.
1152 * language/georgian.el ("Georgian"): Add nonascii-translation.
1154 * international/titdic-cnv.el: Doc fixes.
1155 (tit-process-header): Add coding cookie.
1156 (titdic-convert): Force writing as iso-2022-7bit.
1158 * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
1160 * international/mule-cmds.el: Doc fixes.
1161 (unencodable-char-position): New.
1162 (select-safe-coding-system): Use it to indicate problematic
1163 characters and add extra explanation. Avoid checking auto-coding
1164 for compressed files.
1165 (leim-list-header): Add coding cookie.
1166 (input-method-verbose-flag): Modify :type.
1167 (locale-language-names): Add bs, wa. Modify cy.
1169 2002-07-24 Richard M. Stallman <rms@gnu.org>
1171 * emacs-lisp/bytecomp.el (byte-compile-log-warning):
1172 Bind warning-group-format.
1174 * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
1175 (byte-compile-cl-warn): Use that variable.
1176 (byte-compile-find-cl-functions): New function.
1177 (displaying-byte-compile-warnings):
1178 Call byte-compile-find-cl-functions.
1180 * warnings.el (warning-levels): Add %s to the strings.
1181 (warning-group-format): New variable.
1182 (warning-suppress-log-types): Renamed from warning-suppress-log.
1183 (warning-suppress-types): Renamed from warning-suppress.
1184 (display-warning): Implement those changes.
1186 2002-07-23 Richard M. Stallman <rms@gnu.org>
1188 * warnings.el: Add `provide' call.
1190 * files.el (basic-save-buffer-2): If there's an error writing the file,
1191 unrename the backup file if it was just made.
1192 (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
1193 (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
1194 when a backup was just made by renaming. Otherwise it's nil.
1196 * wid-edit.el (widget-convert): Handle an argument that's a keyword.
1197 Recognize explicit :args specification.
1199 * international/mule-cmds.el (select-safe-coding-system):
1200 Don't ask for confirmation of mismatch if find-file-literally was used.
1202 2002-07-23 Markus Rost <rost@math.ohio-state.edu>
1204 * add-log.el (add-log-current-defun): Fix typo in documentation.
1206 2002-07-22 Markus Rost <rost@math.ohio-state.edu>
1208 * add-log.el (add-log-mailing-address): Fix type. Can be a string.
1210 * ido.el (ido-separator): Fix type.
1212 2002-07-23 Andrew Innes <andrewi@gnu.org>
1214 * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
1215 (DONTCOMPILE): Add various language files.
1216 (DONTCOMPILE): Remove term/xterm.el.
1217 (finder-inf.el): Remove.
1218 (update-authors): New target.
1219 (TAGS-LISP): Remove $(lispsource).
1220 (compile-always): Renamed from `compile-files'.
1221 (compile): New target, adapted from `compile-files'.
1222 (compile-calc): New target.
1223 (recompile): Change `.' to $(lisp).
1224 (bootstrap): Add update-subdirs and finder-data
1225 to dependencies; change compile-files to compile.
1227 2002-07-22 Andre Spiegel <spiegel@gnu.org>
1229 * vc.el (vc-next-action-on-file): Preserve find-file-literally.
1231 2002-07-22 Dan Nicolaescu <dann@ics.uci.edu>
1233 * simple.el (undo, undo-more): Adjust messages when undoing in a
1236 2002-07-22 John Paul Wallington <jpw@shootybangbang.com>
1238 * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
1239 (browse-url-lynx-input-delay): Add custom type and group.
1241 * cus-start.el (double-click-fuzz): Added.
1243 2002-07-22 Alan Shutko <ats@acm.org>
1245 * calendar/solar.el (diary-sabbath-candles): Add optional MARK
1246 parameter, specifying what face or character to use in the
1247 calendar display. These will now return (MARK . ENTRY).
1249 * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
1250 parameter, specifying what face or character to use in the
1251 calendar display. These will now return (MARK . ENTRY).
1253 * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
1254 (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
1255 MARK parameter, specifying what face or character to use in the
1256 calendar display. These will now return (MARK . ENTRY).
1258 * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
1259 from diary-sexp-entry and pass it to mark-visible-calendar-date.
1260 (list-sexp-diary-entries): Update doc string for new docs for ....
1261 If diary-sexp-entry returns a cons, only add the text to the diary
1263 (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
1264 . STRING) to specify what face or character mark should be used in
1265 the calendar display.
1266 (diary-date, diary-block, diary-float, diary-anniversary)
1267 (diary-cyclic): Add optional MARK parameter, specifying what face
1268 or character to use in the calendar display. These will now
1269 return (MARK . ENTRY).
1271 * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
1272 (calendar-holiday-list, diary-french-date, diary-mayan-date)
1273 (diary-julian-date, diary-astro-day-number, diary-chinese-date)
1274 (diary-islamic-date, list-islamic-diary-entries)
1275 (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
1276 (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
1277 (diary-rosh-hodesh, list-hebrew-diary-entries)
1278 (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
1279 (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
1280 (diary-sunrise-sunset, diary-sabbath-candles):
1281 Remove interactive flag from autoloads.
1283 2002-07-22 Carsten Dominik <dominik@astro.uva.nl>
1285 * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
1286 (reftex-bibliography-commands): New option.
1287 (reftex-toc-split-windows-horizontally): New option
1288 (reftex-toc-split-windows-horizontally-fraction): New option
1289 (reftex-include-file-commands): New option.
1290 (reftex-cite-format-builtin): Added ?n for nocite.
1292 * textmodes/reftex-index.el (reftex-query-index-phrase):
1293 Use `reftex-index-verify-function'.
1295 * textmodes/reftex-toc.el (reftex-re-enlarge):
1296 Handle horizontal splitting.
1297 (reftex-toc): Handle horizontal splitting
1298 (reftex-last-window-width): New variable.
1300 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
1301 Use `reftex-bibliography-commands'.
1302 (reftex-locate-bibliography-files): Regexp relaxed to allow for
1303 cases where \bibliography is not the first thing on the line.
1305 * textmodes/reftex.el (reftex-compile-variables):
1306 Use `reftex-include-file-commands'.
1307 (reftex-type-query-prompt): Changed defconst to defvar.
1308 (reftex-type-query-help, reftex-typekey-to-format-alist)
1309 (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
1310 (reftex-special-env-parsers, reftex-label-mac-list)
1311 (reftex-label-env-list, reftex-typekey-list)
1312 (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
1313 (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
1314 (reftex-no-follow-message, reftex-no-info-message): Likewise.
1315 (reftex-mode): Define systax table for bibtex parsing.
1316 (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
1318 * textmodes/reftex-cite.el (reftex-format-names): %a as name
1319 format lists all names.
1320 (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
1321 (reftex-with-special-syntax-for-bib): New macro.
1323 2002-07-21 Richard M. Stallman <rms@gnu.org>
1325 * international/ucs-tables.el (ucs-quail-activate):
1326 Cope if buffer-file-coding-system is nil.
1328 * bindings.el (last-buffer): Use buffer-list with frame arg.
1329 Create *scratch* if no other choice exists. Fix bugs.
1331 2002-07-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1333 * net/tramp.el: Bump version to 2.0.2.
1334 (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
1335 longer names. Use old names "sm1", "sm2" and so on for methods
1336 invoking "ssh -1" or "ssh -2".
1337 (tramp-multi-file-name-structure-separate): Typo, its name was set
1338 to "tramp-file-name-structure-separate". Trivial patch.
1339 From Steve Youngs <youngs@xemacs.org>.
1340 (tramp-multi-sh-program): New variable.
1341 (tramp-open-connection-multi): Use it. Now you can use multi
1342 methods from Windows (at least in principle).
1343 (tramp-do-copy-or-rename-via-buffer): New function.
1344 (tramp-do-copy-or-rename-file): Use it. Change and simplify
1345 logic. Omit special case of invoking rcp directly to copy the files.
1346 (tramp-open-connection-su, tramp-multi-connect-telnet)
1347 (tramp-multi-connect-rlogin, tramp-multi-connect-su)
1348 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
1349 Use backticks in format-spec for brevity and to avoid
1350 character/number confusion in XEmacs.
1352 2002-07-20 Richard M. Stallman <rms@gnu.org>
1354 * wid-edit.el (widget-documentation-string-value-create):
1355 Say "Hide Rest", not just "Hide".
1357 * cus-edit.el (custom-variable-value-create):
1358 Say "Show Value", not just "Show". Also "Hide Value".
1359 Output a newline before the doc string.
1360 (custom-face-value-create): Say "Show Face" and "Hide Face".
1362 * files.el (toggle-read-only): Clean up the hint message.
1364 * emacs-lisp/bytecomp.el: Use warnings.el.
1365 (byte-compile-warning-prefix): New function.
1366 (byte-compile-log-file): Return page start position.
1367 (byte-compile-log-warning): New function.
1368 (byte-compile-warn): Use byte-compile-log-warning.
1369 (byte-compile-report-error): Likewise. Also use error-message-string.
1370 (displaying-byte-compile-warnings): Bind warning-series.
1371 Don't bind or use byte-compile-warnings-point-max.
1372 Don't display the log buffer at the end.
1373 (byte-compile-warnings-point-max): Variable deleted.
1374 (byte-compile-log-1): Rewrite for trace info, not used for warnings.
1375 (byte-compile-last-warned-form, byte-compile-last-logged-file):
1378 * warnings.el: New file.
1380 2002-07-19 Richard M. Stallman <rms@gnu.org>
1382 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
1383 and `values-list' from list of CL functions.
1385 2002-07-19 John Paul Wallington <jpw@shootybangbang.com>
1387 * emacs-lisp/bytecomp.el (compile-defun):
1388 Bind `read-with-symbol-positions' to current buffer.
1390 2002-07-19 Andre Spiegel <spiegel@gnu.org>
1392 * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
1393 delete anything that comes after LIMIT from the buffer.
1395 * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
1396 if this is really an RCS master file.
1398 * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
1400 2002-07-19 Juanma Barranquero <lektu@terra.es>
1402 * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
1403 (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
1404 (unread-command-char, executing-macro, post-command-idle-hook)
1405 (post-command-idle-delay): Move obsolescence declarations to subr.el.
1407 * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
1408 (baud-rate, compiled-function-p, define-function, unread-command-char)
1409 (executing-macro, post-command-idle-hook, post-command-idle-delay):
1410 Move obsolescence declarations from emacs-lisp/bytecomp.el.
1411 (directory-sep-char, mode-line-inverse-video):
1412 Add obsolescence declaration.
1414 2002-07-18 J.D. Smith <jdsmith@as.arizona.edu>
1416 * progmodes/idlwave.el: Updated to IDLWAVE version 4.14. Too many
1417 changes to list them here.
1419 * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
1420 Too many changes to list them here.
1422 * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
1423 Too many changes to list them here.
1425 * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
1426 only minor documentation changes.
1428 2002-07-18 Dave Love <fx@gnu.org>
1430 * info-look.el: Support current auto{conf,make} manuals.
1432 2002-07-18 Juanma Barranquero <lektu@terra.es>
1434 * bindings.el (last-buffer): Add missing frame argument.
1436 2002-07-18 Richard M. Stallman <rms@gnu.org>
1438 * timer.el (timer-inc-time): Doc fix.
1440 * replace.el (keep-lines, flush-lines): Interactively report
1441 read-only error before reading regexp argument.
1443 * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
1445 * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
1446 frame parameters like bury-buffer.
1448 * simple.el (choose-completion-delete-max-match):
1449 Handle minibuffer prompts explicitly.
1451 2002-07-18 Juanma Barranquero <lektu@terra.es>
1453 * international/mule-util.el (string-to-sequence, truncate-string):
1454 Add autoload cookie to obsolescence declaration.
1456 * rect.el (move-to-column-force): Likewise.
1458 * composite.el (decompose-composite-char): Likewise; also remove
1461 2002-07-18 Kim F. Storm <storm@cua.dk>
1463 * loadup.el: Load international/utf-8 before international/characters.
1465 2002-07-17 Dave Love <fx@gnu.org>
1467 * international/ucs-tables.el: Optimize tables. Deal with some
1469 (ucs-mule-to-mule-unicode): New.
1470 (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
1472 (ucs-fragment-8859): Modified consistent with ucs-unify-8859.
1473 (unify-8859-on-encoding-mode): Doc mod. Fix custom version.
1474 (unify-8859-on-decoding-mode): Doc mod. Change code. Fix custom
1475 version. Add custom dependencies.
1476 (ucs-insert): Check for null from decode-char.
1477 (translation-table-for-input, ucs-quail-activate)
1478 (ucs-minibuffer-setup, ccl-encode-unicode-font)
1479 (ucs-tables-unload-hook): New.
1481 * international/mule.el (define-translation-hash-table): New.
1482 (decode-char): Use utf-8-translation-table-for-decode.
1483 (encode-char): Use ucs-mule-to-mule-unicode.
1485 * international/characters.el: Fix settings of U+2000-U+2027.
1488 * international/mule-cmds.el (locale-language-names): Fix be, add
1489 sr_YU@cyrillic, modify tg.
1490 (locale-charset-language-names): Put @euro last.
1492 * language/cyrillic.el (cyrillic-koi8-r-decode-table)
1493 (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
1494 (cyrillic-koi8-r-decode-table): Make unbound after use.
1495 (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
1496 factor. Use utf-8-translation-table-for-decode.
1497 (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
1498 (cyrillic-unify-encoding): New function.
1499 (cyrillic-koi8): Modify safe-chars, valid-codes.
1500 Remove charset-origin-alist.
1501 (Cp878, cp866): New alias.
1502 (ccl-encode-8859-5-font): New.
1503 (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
1504 (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
1505 Remove redundant parens.
1506 ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
1507 (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
1508 (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
1509 (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
1510 ("Cyrillic-ALT"): Change input method.
1511 ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
1513 * international/utf-8.el (utf-8-subst-table)
1514 (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
1515 (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
1516 (utf-8-ccl-regs, utf-8-translate-cjk): New.
1517 (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
1518 (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
1519 (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
1520 (mule-utf-8): Remove pre-write-conversion.
1521 (utf-8-post-read-conversion): Comment out.
1523 * international/ccl.el (ccl-command-table): Add lookup-integer,
1525 (ccl-extended-code-table): Add lookup-int-const-tbl,
1526 lookup-char-const-tbl.
1527 (ccl-compile-lookup-integer, ccl-compile-lookup-character)
1528 (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
1530 (define-ccl-program): Doc update.
1532 * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
1533 (utf-8-subst-table): Don't set.
1535 2002-07-17 Kenichi Handa <handa@etl.go.jp>
1537 * international/mule.el (define-coding-system-alias):
1538 Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
1539 eol-type is not auto-detection.
1541 * international/mule-diag.el (print-coding-system-briefly):
1542 Fix the handling of an alias of which eol-type is not auto-detection.
1544 * international/mule-conf.el (us-ascii): Define it as an alias of
1547 2002-07-17 Juanma Barranquero <lektu@terra.es>
1549 * help-fns.el (describe-function-1): Put empty line before "Not
1552 * timer.el (timer-set-time-with-usecs): Mark obsolete.
1554 2002-07-16 Stefan Monnier <monnier@cs.yale.edu>
1556 * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
1557 Make sure to change the global tool-bar-map.
1559 * vc.el (vc-default-comment-history): Hard code *vc*.
1560 This is because print-log always prints there now.
1561 (vc-annotate-font-lock-keywords): New var.
1562 (vc-annotate-mode): Use it. Set truncate-lines as well.
1563 (vc-annotate-display-select): Unify the two error reports.
1564 (vc-annotate-offset): New var.
1565 (vc-annotate-lines): New fun extracted from vc-annotate-display.
1566 (vc-annotate-display): Use it, via font-lock.
1568 * help-fns.el (help-split-fundoc, help-function-arglist)
1569 (help-make-usage): New funs, extracted from describe-function-1.
1570 (describe-function-1): Use them.
1572 * help.el (help-key-description): Show the untranslated keys
1573 when they start with ESC and the ESC was not translated.
1575 * help-mode.el (view): Always require.
1576 (help-xref-mule-regexp): Don't use defconst for variables.
1577 (help-setup-xref): Keep the last 10 elements of the stack.
1578 (help-xref-override-view-map): New var.
1579 (help-make-xrefs): Use it instead of building a new map each time.
1580 (help-function-def): Allow help-fun to take a buffer as arg.
1582 * diff-mode.el (diff-reverse-direction): Simplify.
1583 (diff-after-change-function): Fix typo.
1584 (diff-post-command-hook): Take care of edge cases.
1585 (diff-current-defun): Do `goto-char' after setting the mode.
1587 * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
1588 Fold mouse-sel-bindings into it.
1589 (mouse-sel-bound-events): Turn it into an alist.
1590 (mouse-insert-selection): Delegate to mouse-yank-at-click if
1591 mouse-sel-default-bindings asks for it.
1593 2002-07-16 Andre Spiegel <spiegel@gnu.org>
1595 * files.el: Bind toggle-read-only to C-x C-q.
1596 (toggle-read-only): Display a warning message if the file is under
1599 * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
1600 (vc-toggle-read-only): Explain in the doc string that users can bind
1602 (vc-checkout-model): Change doc string to refer to vc-next-action,
1603 not vc-toggle-read-only.
1605 * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
1606 comparing to file on disk. Fix the case when claiming the lock
1607 on a file that has unlocked changes.
1608 (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
1610 2002-07-16 Richard M. Stallman <rms@gnu.org>
1612 * simple.el (choose-completion-string): Doc fix.
1614 * cus-edit.el: New operation :custom-standard-value.
1615 (Custom-reset-standard): Use it.
1616 (custom-variable, custom-face): Define it.
1617 (custom-variable-standard-value, custom-face-standard-value): New fns.
1618 (custom-face-save): Don't save a face whose value is standard.
1619 (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
1621 * cus-edit.el (custom-face-edit-fix-value):
1622 If VALUE is not a list, pass it thru.
1624 * compare-w.el (compare-windows-whitespace): Always allow newline
1625 even if it does not have whitespace syntax.
1627 2002-07-16 Juanma Barranquero <lektu@terra.es>
1629 * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
1631 2002-07-15 Juanma Barranquero <lektu@terra.es>
1633 * help-fns.el (describe-variable): Show documentation for aliased
1634 variable if alias does not have its own.
1636 2002-07-15 Mike Williams <mdub@bigfoot.com>
1638 * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
1639 cut/paste functions.
1641 2002-07-14 Richard M. Stallman <rms@gnu.org>
1643 * files.el (find-alternate-file): Offer to save a modified buffer.
1644 Handle kill-buffer-query-functions better.
1646 * startup.el (normal-splash-screen, fancy-splash-text):
1647 Update name of help menu item for ordering printed manuals.
1649 * emacs-lisp/checkdoc.el: Fix doc typos.
1651 2002-07-14 Stefan Monnier <monnier@cs.yale.edu>
1653 * textmodes/tex-mode.el: Set encoding to utf-8.
1654 (tex-start-options): Make it into always-a-string.
1655 Remove silly custom options that are covered by the other var.
1656 (tex-start-commands): Fix docstring.
1657 (tex-open-quote, tex-close-quote): Add options.
1658 (tex-command): Provide default.
1659 (tex-font-lock-keywords-1): Highlight $$...$$.
1660 (tex-font-lock-keywords-2): Fix latin-1 chars.
1661 (tex-mode-map): Remove redundant \t binding.
1662 (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
1663 (latex-mode): Use add-hook for fill-nobreak-predicate.
1664 (tex-common-initialization): Set indent-tabs-mode to nil.
1665 (tex-insert-quote): Undo magic if invoked twice in a row.
1666 (latex-fill-nobreak-predicate): Don't use narrowing.
1667 (tex-latex-block): Don't cons uselessly.
1668 (tex-last-unended-begin): Signal user-friendlier error.
1669 (tex-goto-last-unclosed-latex-block): Don't catch signal.
1670 (tex-start-tex): Switch order of tex-start-options and
1671 tex-start-commands to make it obey docstrings.
1673 2002-07-14 Mike Williams <mdub@bigfoot.com>
1675 * mouse-sel.el (mouse-sel-bound-events): New constant.
1676 (mouse-sel-bindings): Save/restore original mouse-bindings.
1678 2002-07-13 Stefan Monnier <monnier@cs.yale.edu>
1680 * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
1681 (cl-hack-byte-compiler): Avoid infinite require loop.
1683 * net/ange-ftp.el: Use hash-tables.
1684 (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
1685 (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
1686 (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
1687 Replace with make-hash-table, maphash, gethash, puthash and remhash.
1688 (ange-ftp-hash-entry-exists-p): Rewrite.
1689 (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
1690 Change mapatom -> maphash.
1691 (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
1692 Update to new calling mode.
1694 * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
1695 (ebrowse-hash-table-to-alist): Delete.
1696 (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
1697 (ebrowse-tags-complete-symbol): Use the hashtable for completion.
1699 * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
1700 Improve the regexp used when unquoting.
1701 (sgml-pretty-print): New function.
1702 (sgml-get-context): Better handling of improperly nested tags.
1703 (sgml-show-context): Don't use the FULL arg of sgml-get-context.
1705 2002-07-13 Andreas Schwab <schwab@suse.de>
1707 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
1708 inherited table entry.
1710 2002-07-13 Glenn Morris <gmorris@ast.cam.ac.uk>
1712 * calendar/timeclock.el (timeclock-in): Handle the case where no
1713 log file exists (ie the very first call).
1715 2002-07-13 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1717 * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
1720 * net/tramp.el (tramp-multi-file-name-structure-unified):
1721 Add missing slash and move colon from start to end of each hop.
1722 (tramp-multi-file-name-hop-structure-unified): Move colon from
1723 start to end of each hop.
1725 2002-07-13 Kim F. Storm <storm@cua.dk>
1727 * progmodes/compile.el (grep-tree): Fixed autoload.
1728 Corrected use of undefined variable `match-files-aliases'.
1730 2002-07-12 Glenn Morris <gmorris@ast.cam.ac.uk>
1732 * calendar/timeclock.el (timeclock-get-workday-function):
1733 `timeclock-workday' is not a valid option, rather a possible
1736 2002-07-12 Richard M. Stallman <rms@gnu.org>
1738 * net/ange-ftp.el (ange-ftp-write-region):
1739 Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
1740 to ange-ftp-real-write-region.
1742 * replace.el (flush-lines, keep-lines): Convert REND to a marker.
1744 * help-fns.el (help-with-tutorial): Display completion list right away.
1746 * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
1748 * startup.el (command-line): Set memory-signal-data.
1749 (fancy-splash-text, normal-splash-screen):
1750 Mention "Read the Emacs Manual" or C-h r.
1751 Rearrange the initial help to put the help cmds on left
1752 and the actions (exit, undo) on the right. Other small
1753 text clarifications.
1754 (fancy-splash-text, actions page): Add blank line to balance help page.
1756 * help.el (help-map): Add binding for info-emacs-manual.
1757 (print-help-return-message): Doc fix.
1759 * strokes.el (strokes-help): Call print-help-return-message
1760 while inside with-output-to-temp-buffer.
1762 * info.el (info-emacs-manual): New function.
1763 (Info-use-header-line): Doc fix.
1765 * emacs-lisp/cl.el (multiple-value-call): Add alias.
1767 * progmodes/compile.el (compilation-normalize-filename):
1768 New subroutine, taken out of compilation-parse-errors.
1769 (compilation-parse-errors): Use that, and for directories too.
1770 Don't check whether a directory really exists.
1772 2002-07-12 Juanma Barranquero <lektu@terra.es>
1774 * help-fns.el (describe-variable): Put `defvaralias' info before the
1775 documentation (patch from John Paul Wallington
1776 <jpw@shootybangbang.com>). Remove useless "Documentation:" string.
1778 * timer.el (timer-set-time-with-usecs): Fix documentation.
1779 Simplify extraction of time data.
1781 2002-07-12 John Paul Wallington <jpw@shootybangbang.com>
1783 * help-fns.el (describe-variable): Mention if the variable is an alias.
1785 2002-07-12 Kenichi Handa <handa@etl.go.jp>
1787 * international/mule-cmds.el (locale-language-names): Change "mk"
1788 (Macedoninan), "ru" (Russian), and "sp" (Serbian with Cyrillic
1789 alphabet) to "Cyrillic-ISO".
1791 2002-07-11 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1793 * net/tramp.el (tramp-default-method): New default method "sm"
1794 which I guess to be good for most people.
1795 (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
1796 Ange-FTP) for some user/host combinations.
1797 (tramp-file-name-structure, tramp-file-name-regexp)
1798 (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
1799 (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
1800 (tramp-make-multi-tramp-file-format): New default value which
1801 unifies the filename syntax between Tramp and Ange-FTP. The new
1802 syntax is "/method:user@host:path". Note the colon after the method.
1803 (tramp-handle-file-name-directory): Don't return "/" when
1804 completing a remote root directory (where the filename looks like
1805 "/method:user@host:/").
1806 (tramp-handle-ange-ftp): Deleted.
1807 (tramp-disable-ange-ftp): New function, called at toplevel,
1808 deletes Ange-FTP from file-name-handler-alist.
1809 (tramp-handle-make-symbolic-link): Implement.
1811 2002-07-10 Juanma Barranquero <lektu@terra.es>
1813 * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
1815 * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
1816 (speedbar-vc-do-check): Likewise.
1817 (speedbar-obj-do-check): Likewise.
1818 (speedbar-mouse-hscroll): Likewise.
1819 (speedbar-file-lists): Likewise.
1821 * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
1823 2002-07-09 Ole Aamot <ole@gnu.org>
1825 * compile.el (compilation-error-regexp-alist):
1826 Recognize Valgrind messages.
1828 2002-07-09 Juanma Barranquero <lektu@terra.es>
1830 * faces.el (face-id): Fix typo.
1832 * hexl.el (hexl-mode): Likewise.
1834 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
1836 * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
1838 * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
1839 (speedbar-desired-buffer): Likewise.
1840 (speedbar-line-file): Likewise.
1841 (speedbar-special-mode-key-map): Fix typo.
1842 (speedbar-dynamic-tags-function-list): Likewise.
1843 (speedbar-use-images): Likewise.
1844 (speedbar-up-directory): Likewise.
1845 (speedbar-item-info): Likewise.
1846 (speedbar-set-timer): Likewise.
1847 (speedbar-insert-button): Likewise.
1848 (speedbar-make-button): Likewise.
1849 (speedbar-make-tag-line): Likewise.
1850 (speedbar-insert-files-at-point): Likewise.
1851 (speedbar-update-special-contents): Likewise.
1852 (speedbar-find-selected-file): Likewise.
1853 (speedbar-add-indicator): Likewise.
1854 (speedbar-do-function-pointer): Likewise.
1855 (speedbar-goto-this-file): Likewise.
1856 (speedbar-line-path): Likewise.
1857 (speedbar-mouse-event-p): Likewise.
1858 (speedbar-dir-follow): Likewise.
1859 (speedbar-tag-find): Likewise.
1860 (speedbar-fetch-etags-command): Likewise.
1861 (speedbar-fetch-etags-arguments): Likewise.
1862 (speedbar-toggle-etags): Likewise.
1863 (speedbar-extract-one-symbol): Likewise.
1864 (speedbar-parse-c-or-c++tag): Likewise.
1865 (speedbar-unhighlight-one-tag-line): Likewise.
1866 (speedbar-directory-face): Likewise.
1867 (defimage-speedbar): Likewise.
1868 (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
1869 (defimage-speedbar): Likewise.
1871 2002-07-09 Miles Bader <miles@gnu.org>
1873 * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
1874 to nil when prompting for a filename.
1876 2002-07-09 Kenichi Handa <handa@etl.go.jp>
1878 * files.el (insert-directory): Be sure to bind
1879 coding-system-for-write to the just decided coding-system-for-read.
1881 2002-07-09 Kim F. Storm <storm@cua.dk>
1883 * ido.el (ido-make-merged-file-list): Move fully matching item to
1885 (ido-find-common-substring): Return substring instead of t.
1887 2002-07-08 Juanma Barranquero <lektu@terra.es>
1889 * info.el (Info-directory-list): Fix docstring.
1891 2002-07-08 Miles Bader <miles@gnu.org>
1893 * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
1896 2002-07-08 Kim F. Storm <storm@cua.dk>
1898 * files.el (after-find-file): Don't check for read-only status
1899 of files just created (and not yet saved on disk).
1901 * ido.el (ido-completion-help): Changed xemacs specific code to
1902 avoid byte compiler warning in GNU emacs.
1903 (ido-set-matches1): Use regexp-quote instead of identity.
1904 (ido-complete-space): New function.
1905 (ido-define-mode-map): Bind it to SPACE.
1907 2002-07-07 Stefan Monnier <monnier@cs.yale.edu>
1909 * font-lock.el (font-lock-default-unfontify-region):
1910 Use remove-list-of-text-properties.
1911 (font-lock-extra-managed-props): Doc fix.
1913 * facemenu.el: Move `provide' to the end.
1914 (facemenu-read-color): Don't cons unnecessarily.
1916 * language/ind-util.el (indian-make-hash):
1917 * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
1918 (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
1920 * subr.el (insert-string): Update the obsolete info.
1921 (makehash): Move from C and mark obsolete.
1923 * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
1924 aliases to also work for interactive functions.
1925 Use the same wrapper for subroutines.
1926 (cancel-debug-on-entry): Get rid of the now-useless wrapper.
1927 (debug-on-entry-1): Correctly skip docstrings and interactive forms.
1929 * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
1930 automatic environment name update.
1931 (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
1933 2002-07-07 Richard M. Stallman <rms@gnu.org>
1935 * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
1937 * emacs-lisp/advice.el (ad-compile-function):
1938 Disable cl-function warnings if cl is loaded.
1940 * files.el (safe-local-eval-forms): New user option.
1941 (hack-one-local-variable-eval-safep): Support it.
1942 Also allow `safe-local-eval-function' property to be a function
1943 or a list of functions.
1944 (c-add-style): Delete `safe-local-eval-function' property.
1946 * files.el (after-find-file): Make buffer read-only if file is
1947 marked that way, even for root.
1949 * files.el (save-some-buffers): Doc fix.
1951 * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
1953 2002-07-06 Francesco Potorti` <pot@gnu.org>
1955 * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
1956 .sx[dmicw] file suffixes for Open office data files.
1958 * files.el (auto-mode-alist): Likewise.
1960 * international/mule.el (auto-coding-alist): Likewise.
1962 2002-07-05 Kim F. Storm <storm@cua.dk>
1964 * emulation/cua-rect.el (cua--rectangle-operation): Don't call
1965 FCT if current column is outside rectangle.
1966 (cua--delete-rectangle): Do nothing if zero width or out of bounds.
1968 2002-07-04 Stefan Monnier <monnier@cs.yale.edu>
1970 * net/ange-ftp.el: Use add-hook and find-file-hook.
1971 (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
1972 (ange-ftp-ls-parser): Make it into a function.
1973 Ignore trailing @ in symlink targets.
1974 (ange-ftp-file-entry-p): Ignore FTP errors.
1975 (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
1976 to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
1978 2002-07-04 Per Abrahamsen <abraham@dina.kvl.dk>
1980 * simple.el (toggle-truncate-lines): New command.
1982 2002-07-04 Miles Bader <miles@gnu.org>
1984 * comint.el (comint-displayed-dynamic-completions): New variable.
1985 (comint-dynamic-list-completions): Be more careful about choosing
1986 when to scroll an existing completions window.
1988 2002-07-03 Andreas Schwab <schwab@suse.de>
1990 * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
1993 2002-07-03 Juanma Barranquero <lektu@terra.es>
1995 * net/tramp.el (tramp-send-eof): Fix typo.
1996 (tramp-kill-process): Likewise.
1998 * play/dunnet.el (dun-physobj-desc): Likewise.
2000 * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
2002 * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
2003 (timeclock-workday-elapsed): Likewise.
2005 * allout.el (outline-goto-prefix): Likewise.
2007 * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
2008 (tpu-delete-to-bol): Likewise.
2010 * subr.el (chars-in-region): Add obsolescence declaration for
2013 2002-07-03 Miles Bader <miles@gnu.org>
2015 * faces.el (header-line): Don't use a `common' clause for
2016 inheriting from the mode-line face, since we can't override it,
2017 and we don't want it for ttys.
2019 2002-07-02 Richard M. Stallman <rms@gnu.org>
2021 * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
2023 * files.el (hack-one-local-variable-constantp): New function.
2024 (hack-one-local-variable-eval-safep): New function.
2025 Check for `eval:' calling fn with `safe-local-eval-function' property.
2026 (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
2027 (c-add-style, c-set-style): Add safe-local-eval-function property.
2029 * files.el (insert-directory): Handle --dired option to ls.
2031 * files.el (file-remote-p): New function.
2033 * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
2035 * startup.el (fancy-splash-screens): Switch to a chosen frame.
2036 (fancy-splash-frame): Choose the right frame to use.
2037 (use-fancy-splash-screens-p): Check dimensions of the right frame
2040 * emacs-lisp/bytecomp.el (byte-compile-warning-types):
2041 Rename cl-func to cl-functions. Enable it by default.
2042 (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
2043 if the file loads cl.
2044 (byte-compile-initial-macro-environment): For eval-and-compile,
2045 use byte-compile-eval-before-compile to eval.
2046 (byte-compile-eval-before-compile): New function to turn off
2047 cl-functions when appropriate, for eval-and-compile.
2048 (byte-compile-warnings): Doc fix.
2050 2002-07-02 Dave Love <fx@gnu.org>
2052 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option.
2053 (byte-compile-cl-warn): New function.
2054 (byte-compile-form): Use it, to warn about calling cl functions.
2055 (byte-compile-warning-types): Doc fix.
2057 2002-07-02 Juanma Barranquero <lektu@terra.es>
2059 * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
2061 * textmodes/reftex-cite.el (reftex-citation): Fix typo.
2063 * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
2066 2002-07-02 Kim F. Storm <storm@cua.dk>
2068 * emacs-lisp/bindat.el: New file.
2070 2002-07-01 Sam Steingold <sds@gnu.org>
2072 * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
2073 before `tex-main-file' because if the current buffer is new, its
2074 file might not exist yet, and then `tex-main-file' will
2075 incorrectly return "foo.tex.tex".
2077 2002-07-01 Juanma Barranquero <lektu@terra.es>
2079 * ido.el (ido-minibuffer-setup-hook): Doc fix.
2081 2002-07-01 Dave Love <fx@gnu.org>
2083 Make strokes a proper minor mode, and don't try to overload
2084 mouse-2, which doesn't work satisfactorily.
2086 * strokes.el: Doc fixes.
2087 (strokes-mode): Defcustom deleted; replaced by minor mode def with
2088 re-written function.
2089 (strokes-while-inhibiting-garbage-collector): Comment out.
2090 (define-stroke, strokes-fix-button2-command, strokes-insinuated)
2091 (strokes-insinuate, global-set-stroke, describe-stroke)
2092 (load-user-strokes, save-strokes, strokes-bug-address)
2093 (strokes-click-command): Deleted.
2094 (strokes-execute-stroke): Remove strokes-click-p case.
2095 (strokes-describe-stroke): Remove strokes-click-p stuff.
2096 (strokes-help): Fix.
2097 (strokes-report-bug): Alias to report-emacs-bug.
2098 (strokes-prompt-user-save-strokes): Modify format of the file.
2099 (strokes-mode-map, strokes-unload-hook): New.
2100 (strokes-buffer-name): Don't customize.
2102 2002-07-01 Richard M. Stallman <rms@gnu.org>
2104 * info.el (Info-index): Get immediate error if used in `dir'.
2106 * textmodes/picture.el (picture-forward-column)
2107 (picture-move-down): Never deactivate the mark.
2109 2002-06-30 Simon Josefsson <jas@extundo.com>
2111 * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
2112 menu entry into balloon help.
2114 2002-06-30 Andreas Schwab <schwab@suse.de>
2116 * files.el (directory-free-space-args): Don't use `-P' on Darwin.
2117 * term/mac-win.el: Don't set it here.
2119 2002-06-29 Stefan Monnier <monnier@cs.yale.edu>
2121 * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
2123 2002-06-29 Andreas Schwab <schwab@suse.de>
2125 * term/mac-win.el: Use directory-free-space-program instead of
2126 obsolete variable dired-free-space-program. On Darwin, don't set
2127 directory-free-space-program, shell-file-name and
2128 process-connection-type; set directory-free-space-args to not
2129 include `-P' and use utf-8 for file name coding system.
2131 * simple.el (shell-command-on-region): Handle errors and signals
2132 from shell command execution.
2133 (display-message-or-buffer): Fix last change.
2134 (shell-command-default-error-buffer): Doc fix.
2136 * dired.el (dired-view-file): Quote file name for
2137 dired-run-shell-command.
2139 2002-06-29 Kim F. Storm <storm@cua.dk>
2141 * kmacro.el: New file.
2143 2002-06-28 John Wiegley <johnw@gnu.org>
2145 * pcmpl-cvs.el: Added my name as the maintainer of this file.
2147 2002-06-28 Andreas Schwab <schwab@suse.de>
2149 * shell.el (explicit-bash-args): New user option.
2151 2002-06-28 Kim F. Storm <storm@cua.dk>
2155 2002-06-28 Stefan Monnier <monnier@cs.yale.edu>
2157 * derived.el (define-derived-mode): Preserve the `mode-class' rather
2158 than the `special' symbol property.
2159 (derived-mode-class): Make it obsolete.
2161 2002-06-27 Andreas Schwab <schwab@suse.de>
2163 * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
2165 2002-06-27 Juanma Barranquero <lektu@terra.es>
2167 * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
2168 (meta-flag): Likewise.
2170 * international/mule-util.el (string-to-sequence): Likewise.
2172 * subr.el (char-bytes): Likewise.
2173 (make-local-hook): Likewise.
2174 (baud-rate): Remove redundant info from docstring.
2176 * faces.el (frame-update-faces): Fix obsolescence declaration.
2177 (internal-get-face): Remove redundant info from docstring and
2178 fix obsolescence declaration.
2180 * rect.el (move-to-column-force): Likewise.
2182 * help-fns.el (describe-function-1): Use semicolon instead of dot.
2183 (describe-variable): Likewise.
2185 2002-06-27 Stefan Monnier <monnier@cs.yale.edu>
2187 * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
2188 (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
2189 (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
2190 (mouse-wheel-follow-mouse): Change default to t.
2191 (mwheel-event-button): Return the basic event symbol.
2192 (mwheel-scroll): Work with non-mouse events.
2193 (mouse-wheel-mode): Use the new vars.
2194 (mwheel-install): Obey `uninstall'.
2196 * term/xterm.el (function-key-map): Add some bindings.
2198 * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
2199 Rename from delay-uniquify-rationalize-file-buffer-names.
2200 Only rationalize if the buffer is under uniquify control.
2201 (uniquify-delayed-rationalize-file-buffer-names):
2202 Rename from delayed-uniquify-rationalize-file-buffer-names.
2204 2002-06-27 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2206 * net/tramp.el (tramp-file-name-structure)
2207 (tramp-multi-file-name-hop-structure): Split for easier readability.
2208 (tramp-handle-make-symbolic-link): Use user/host/method/... from
2209 LINKNAME, not FILENAME.
2210 (tramp-handle-verify-visited-file-modtime):
2211 Call tramp-ange-ftp-file-name-p with right parameters.
2212 (tramp-handle-verify-visited-file-modtime): `insert' does not
2213 work for integers, convert them to strings first.
2214 (tramp-handle-ange-ftp): New function to perform setup for
2215 replacing Ange-FTP with Tramp.
2216 (tramp-repair-jka-compr): New function to factor out some
2217 previously top-level code. Call the function at top-level.
2219 2002-06-27 Juanma Barranquero <lektu@terra.es>
2221 * composite.el (decompose-composite-char): Fix docstring.
2223 * faces.el (describe-face): Capitalize "not documented" message.
2225 * help-fns.el (describe-variable): Likewise.
2226 (describe-function-1): Likewise. Also, document the obsolescence
2227 of the function, if applicable.
2229 2002-06-26 Juanma Barranquero <lektu@terra.es>
2231 * info.el (info-menu-5): Fix documentation.
2232 (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
2234 2002-06-26 Richard M. Stallman <rms@gnu.org>
2236 * emacs-lisp/cl.el (values): Simplify definition.
2238 * simple.el (shell-command): Match & only at end of whole command.
2239 (display-message-or-buffer): Don't use the echo area
2240 if output buffer is visible.
2242 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
2244 * progmodes/cperl-mode.el: Many trivial doc fixes.
2245 (cperl-non-problems): Definition deleted.
2246 (cperl-menu): Don't refer to cperl-non-problems.
2247 (cperl-word-at-point): Add doc string.
2248 (cperl-beautify-regexp-piece): Fix error message.
2249 (cperl-invert-if-unless): Fix error message.
2251 * dired.el (dired-find-alternate-file): Mark as disabled.
2253 2002-06-25 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2255 * net/tramp.el (tramp-ftp-method): New user option.
2256 (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
2257 (with-parsed-tramp-file-name): New macro for the usual big `let'
2258 statement to dissect a file-name.
2259 (tramp-handle-make-symbolic-link, tramp-handle-load)
2260 (tramp-handle-file-name-directory)
2261 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2262 (tramp-handle-file-truename, tramp-handle-file-directory-p)
2263 (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
2264 (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
2265 Use the new macro and forward call to Ange-FTP if applicable.
2266 (tramp-make-ange-ftp-file-name): New helper function to convert a
2267 file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
2268 (tramp-default-method-alist): New user option.
2269 (tramp-find-default-method): Use it.
2270 (tramp-sh-extra-args): New variable.
2271 (tramp-find-shell): Use it.
2272 (tramp-open-connection-rsh): Support a kludgy feature for the
2273 "-p" option to ssh. If host name is given as "host#42", uses the
2276 2002-06-25 Andreas Schwab <schwab@suse.de>
2278 * replace.el (occur-1): Avoid invalid message format string.
2280 2002-06-24 Stefan Monnier <monnier@cs.yale.edu>
2282 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
2283 Check for `noruntime' even if the function has a known sig.
2284 (byte-compile-file, byte-compile-output-docform):
2285 Don't hard code point-min = 1.
2287 * pcvs.el (cvs-parse-process): Don't save/restore point.
2288 Fix last change not to introduce spurious dir FIs.
2289 (cvs-move-to-goal-column): New function extracted from
2290 cvs-mode-previous-line.
2291 (cvs-mode-previous-line, cvs-mode-next-line): Use it.
2292 (cvs-addto-collection): Use it to preserve point.
2293 (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
2295 * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
2296 Don't require the first element to be modifier-free.
2298 * pcvs-parse.el (cvs-parse-table):
2299 Handle `nothing known about' with more care.
2301 * pcvs.el (cvs-fileinfo-kill): Remove.
2302 (cvs-parse-process): Add `old-fis' argument.
2303 (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
2305 * descr-text.el (describe-property-list): Make sure there's
2306 a space between the property name and its value.
2307 (describe-text-properties): Don't kill a pre-existing buffer.
2309 * mwheel.el: Undo last patch from Stephen Gildea for now.
2311 2002-06-24 Kim F. Storm <storm@cua.dk>
2313 * emulation/keypad.el: Added :require 'keypad to defcustoms.
2315 2002-06-23 Stefan Monnier <monnier@cs.yale.edu>
2317 * subr.el (event-start, event-end, event-click-count):
2318 Accept non-mouse events as well.
2319 (read-key): New function.
2320 (read-quoted-char): Use it. Use this-single-command-raw-keys as well.
2322 * files.el: Rename (and mark as obsolete)
2323 find-file-hooks to find-file-hook,
2324 find-file-not-found-hooks to find-file-not-found-functions,
2325 write-file-hooks to write-file-functions,
2326 write-contents-hooks to write-contents-functions.
2327 Mark local-write-file-hooks as obsolete.
2328 (locate-file-completion): Don't cons uselessly. Use test-completion.
2329 (basic-save-buffer): Use (point-min) rather than 1.
2330 (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
2332 * help-fns.el (describe-variable): Only use `buffer' is still live.
2333 Use `delete-region' instead of save-excursion + delete-char.
2334 Document the obsolescence of the variable, if applicable.
2336 2002-06-23 Glenn Morris <gmorris@ast.cam.ac.uk>
2338 * progmodes/f90.el (f90-do-auto-fill): Respect the value of
2339 comment-auto-fill-only-comments.
2341 2002-06-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2343 * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
2344 This is not a handled operation.
2346 2002-06-21 Kim F. Storm <storm@cua.dk>
2348 * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
2349 work again. Corrected error in check for C-u initiated prefix.
2351 * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
2353 2002-06-21 Richard M. Stallman <rms@gnu.org>
2355 * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
2356 to browse-url-at-point.
2358 * play/zone.el (zone-idle): Var deleted.
2360 * international/iso-acc.el (iso-languages) <french>:
2361 `~ ' now generates `~', `~,' definition deleted.
2363 * format.el (format-annotate-function): Copy multibyte flag
2364 and selective-display into the new temp buffer.
2366 * edmacro.el (edmacro-fix-menu-commands):
2367 Discard `help-echo' events. Handle (menu-bar) events.
2368 Simplify by converting key sequence to a list and then back to vector.
2370 2002-06-21 Stephen Gildea <gildea@stop.mail-abuse.org>
2372 * mwheel.el: Allow arbitrary keys for scrolling, add a third
2373 scrolling speed, fix an unwind-protect.
2374 (mouse-wheel-scroll-amount): Now a three-element list.
2375 (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
2376 (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
2377 (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
2380 2002-06-21 Andreas Schwab <schwab@suse.de>
2382 * files.el (find-file-read-args): Add new argument `mustmatch' and
2383 pass it down to read-file-name.
2384 (find-file, find-file-other-window, find-file-other-frame)
2385 (find-file-read-only, find-file-read-only-other-window)
2386 (find-file-read-only-other-frame): Use it and fix prompts.
2388 2002-06-21 Stefan Monnier <monnier@cs.yale.edu>
2390 * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
2392 2002-06-20 Emmanuel Briot <briot@act-europe.fr>
2394 * progmodes/ada-mode.el: Update copyright notice.
2395 Synchronize with GNAT release 3.15a1.
2396 Do not attempt to load ada-support, which is only for compatibility
2397 with older Emacs versions, and is not needed for Emacs 21.
2398 Fix various calls to count-lines, that didn't work correctly when the
2399 buffer was narrowed.
2400 (ada-continuation-indent): New variable.
2401 (ada-contextual-menu): New entry "List local references", faster than
2403 (ada-mode): New alignment rules provided by S. Leake.
2404 Add support for which-function-mode.
2405 (ada-get-current-indent): Fix indentation of named parameter lists and
2406 nested boolean expressions.
2407 (ada-indent-on-previous-lines): Fix indentation of labels.
2408 (ada-search-prev-end-stmt): Fix searching of the previous
2409 end-statement, specially with regards to nested subprograms.
2410 (comment-region advice): Initially disabled, for better compatibility
2412 (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
2414 * progmodes/ada-xref.el: Update copyright notice.
2415 (ada-xref-create-ali): The default is now not to create automatically
2416 the ALI files by compiling the unit, since this isn't always reliable
2417 and requires an up-to-date project file.
2418 (ada-prj-default-comp-cmd): No longer use gcc directly to compile
2419 a file, but use gnatmake instead, since this gives access to the GNAT
2421 (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
2422 (ada-load-project-hook): New variable, for support of GNAT
2424 (ada-update-project-menu): Fix the detection of the project file name.
2425 (ada-add-keymap): Change key binding for ada-find-file, that conflicted
2426 with another binding in ada-mode.el.
2427 (ada-add-menu): New menu "List Local References", to list the reference
2428 to the entity only in the current file, instead of looking in the whole
2429 project. Much faster.
2430 (ada-find-references): New parameters arg and local-only.
2431 (ada-find-any-references): New parameters local-only and append.
2432 (ada-goto-declaration): Fix handling of predefined entities in xref.
2433 (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
2434 still compatible with GNAT 3.14 of course. Fix various calls to
2435 count-lines, that didn't work correctly when the buffer was narrowed.
2437 * progmodes/ada-prj.el: Update copyright.
2438 (ada-prj-load-directory): Make sure we do not use one of the new Emacs
2439 21 dialogs to select the file, since we want a directory name only.
2440 (ada-customize): Add support for the new GNAT project files.
2442 2002-06-20 Francesco Potorti` <pot@gnu.org>
2444 * progmodes/etags.el (tag-implicit-name-match-p): New function.
2445 (etags-recognize-tags-table): Use it for implicit tag names.
2447 2002-06-20 Miles Bader <miles@gnu.org>
2449 * comint.el (comint-get-old-input-default): Strip text properties
2452 * comint.el (comint-output-filter): Run output-filter functions
2453 before setting up the prompt.
2455 * international/characters.el: Re-enable code giving word syntax
2456 to certain japanese-jisx0208 characters.
2458 2002-06-19 Glenn Morris <gmorris@ast.cam.ac.uk>
2460 * progmodes/f90.el (f90-type-def-re): Fix value.
2461 (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
2463 2002-06-18 Stefan Monnier <monnier@cs.yale.edu>
2465 * international/quail.el (quail-help): Don't assume the buffer
2466 is displayed in the same frame.
2468 * emacs-lisp/debug.el (cancel-debug-on-entry):
2469 * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
2471 * pcvs.el (cvs-vc-command-advice): Handle the case where args
2472 are passed to `cvs' before the command name.
2473 (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
2475 * pcvs-info.el (cvs-add-face): Minor rewrite.
2476 (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
2478 * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
2479 regexp when they don't match comment-foo any more.
2481 2002-06-18 Juanma Barranquero <lektu@terra.es>
2483 * filesets.el (filesets-update-pre010505): Fix typo.
2485 * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
2487 * emulation/edt.el (edt-substitute): Fix typo.
2489 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
2491 * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
2493 * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
2495 2002-06-17 Richard M. Stallman <rms@gnu.org>
2497 * facemenu.el (facemenu-map): Rename to Describe Text
2498 to Describe Properties and use describe-text-properties.
2500 * simple.el (what-cursor-position): Use describe-char.
2502 * descr-text.el (describe-char): Moved from mule-diag.el, renamed
2503 from describe-char-after. Now calls describe-text-properties.
2504 (describe-property-list): Renamed from describe-text-properties.
2505 (describe-text-properties): Renamed from describe-text-at.
2506 New arg OUTPUT-BUFFER.
2507 (describe-text-properties-1):
2508 New subroutine, broken out from describe-text-properties.
2509 Output a newline before each section of the output.
2511 * international/mule-diag.el (describe-char-after):
2512 Moved to descr-text.el.
2514 2002-06-17 Eli Zaretskii <eliz@is.elta.co.il>
2516 * international/mule.el (ctext-pre-write-conversion): Fix the values
2517 of FROM and TO if we create a new buffer.
2519 2002-06-17 John Paul Wallington <jpw@shootybangbang.com>
2521 * comint.el (comint-insert-clicked-input): Insert clicked-on
2522 previous input without properties.
2524 2002-06-16 Andrew Choi <akochoi@shaw.ca>
2526 * term/mac-win.el (scalable-fonts-allowed): Set to t.
2528 2002-06-15 Colin Walters <walters@debian.org>
2530 * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
2532 (cvs-highlight): Delete.
2533 (cvs-add-face): Use `font-lock-face'. Always add properties.
2535 * ibuffer.el (ibuffer-movement-cycle): New variable.
2536 (ibuffer-backward-line, ibuffer-forward-line): Use it.
2538 2002-06-15 Richard M. Stallman <rms@gnu.org>
2540 * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
2541 (batch-byte-recompile-directory): Undo previous change.
2543 * comint.el (comint-skip-input): New function.
2544 (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
2545 (comint-stop-subjob): Use comint-skip-input.
2547 * ielm.el (ielm-eval-input): Use error-message-string.
2548 (ielm-format-error, ielm-format-errors): Functions deleted.
2550 2002-06-14 Kim F. Storm <storm@cua.dk>
2552 * progmodes/compile.el (grep-tree): Doc fixes.
2553 Added SUBDIRS arg for non-interactive use.
2555 2002-06-14 Juanma Barranquero <lektu@terra.es>
2557 * comint.el (comint-snapshot-last-prompt):
2558 Bind `inhibit-read-only' to t to support read-only prompts.
2559 (comint-output-filter): Likewise.
2561 2002-06-14 Miles Bader <miles@gnu.org>
2563 * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
2564 (pop): Move the call to `car' outside the prog1, as the compiler
2565 then generates better code.
2567 2002-06-13 Richard M. Stallman <rms@gnu.org>
2569 * play/zone.el (zone-timer): New variable holds the idle timer.
2570 (zone): Don't fiddle with the idle timer at all.
2571 (zone-when-idle): Put the idle timer in zone-timer.
2572 If one is already set up, cancel it and make a new one.
2573 (zone-leave-me-alone): Likewise.
2575 2002-06-13 Jason Rumney <jasonr@gnu.org>
2577 * w32-fns.el (w32-charset-info-alist): Reorder.
2579 2002-06-13 Andreas Schwab <schwab@suse.de>
2581 * files.el (auto-mode-alist): Move entry for ".in" to the end.
2583 2002-06-13 Miles Bader <miles@gnu.org>
2585 * comint.el (comint-mode): Don't set `font-lock-defaults'.
2586 (comint-mode-hook): Turn on font-lock by default.
2588 2002-06-12 Karl Fogel <kfogel@red-bean.com>
2590 * bookmark.el (bookmark-file-or-variation-thereof):
2591 Restore vc-backend check, thanks to Robert Thorpe for noticing.
2593 2002-06-12 Eli Zaretskii <eliz@is.elta.co.il>
2595 * textmodes/bibtex.el: Change the maintainer to "none".
2597 2002-06-12 Juanma Barranquero <lektu@terra>
2599 * term/w32-win.el (x-handle-switch): Fix handling of
2600 x-invocation-args for switches with arguments.
2602 2002-06-12 Stefan Monnier <monnier@cs.yale.edu>
2604 * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
2605 without first making sure it's bound.
2607 2002-06-12 Richard M. Stallman <rms@gnu.org>
2609 * info.el (Info-fontify-node): Compute header line specially
2610 if node has no next, previous or up links.
2611 Hide the part of the first line that is used in the header.
2612 Use Info-next-link-keymap, etc.
2613 (Info-next-link-keymap, Info-prev-link-keymap)
2614 (Info-up-link-keymap): New variables.
2616 * international/mule-diag.el (describe-char-after): Doc fix.
2618 * view.el (view-mode-enter): Clarify echo area message.
2620 * info.el (Info-select-node): Turn header line on or off here.
2621 (Info-setup-header-line): Function deleted.
2622 (Info-mode): Make Info-header-line local.
2623 (Info-fontify-node): Ignore Info-use-header-line.
2624 Unconditionally compute what the header line should be, and
2625 store it on the `header-line' property of the node's first char.
2626 Bind [header-line down-mouse-1].
2627 Use `keymap' property, not `local-map'.
2628 Bind [mouse-2] for mouse clicks on the node line in the text.
2630 * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
2632 2002-06-12 Miles Bader <miles@gnu.org>
2634 * comint.el (comint-send-input): Properly handle empty and
2635 no-newline input regions.
2637 2002-06-12 Colin Walters <walters@gnu.org>
2639 * calc/calc.el: Use `when', `unless'.
2640 (calc-trail-mode): Use an italic `font-lock-face'.
2641 (calc-refresh): Ditto.
2643 2002-06-12 Colin Walters <walters@debian.org>
2645 * font-core.el (font-lock-core-only): Variable deleted.
2647 (font-lock-set-defaults): Variable alist settings moved back into
2648 font-lock-set-defaults-1.
2649 (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
2650 is specifically excluded by the user.
2652 * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
2654 * help-mode.el (help-mode): Don't set `font-lock-defaults'.
2656 * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
2658 * info.el (Info-mode): Don't set `font-lock-defaults'.
2660 * replace.el (occur-mode): Don't set `font-lock-defaults'.
2662 * help-mode.el (help-highlight-p, help-highlight-face):
2663 Variable was unused; delete.
2664 (help-make-xrefs): Doc fix.
2666 2002-06-11 Richard M. Stallman <rms@gnu.org>
2668 * format.el (format-alist): Document new element PRESERVE.
2669 (format-write-file): Implement PRESERVE elt for a format.
2671 * files.el (make-auto-save-file-name): Rename local `filename' to
2674 2002-06-10 Richard M. Stallman <rms@gnu.org>
2676 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
2677 (ebrowse-copy-list): Function deleted.
2679 * eshell/em-unix.el (eshell/diff): Use copy-sequence.
2681 * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
2683 * eshell/esh-util.el (eshell-copy-list): Function deleted.
2684 (eshell-sublist): Use copy-sequence.
2685 (eshell-copy-tree): Make it an alias for copy-tree.
2687 * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
2689 * subr.el (copy-list): Moved to cl.el.
2690 (copy-tree): Don't use copy-list or cl-pop.
2692 2002-06-10 Miles Bader <miles@gnu.org>
2694 Make comint use text properties for highlighting instead of overlays:
2695 * comint.el (comint-last-output-overlay): Variable removed.
2696 (comint-send-input, comint-output-filter): Use text properties
2697 instead of overlays.
2698 (comint-insert-clicked-input): Rewrite to work with text
2699 properties as well as overlays
2700 (comint-snapshot-last-prompt): Snapshot using text properties.
2701 (comint-get-old-input-default, comint-extract-string): Don't copy
2704 * simple.el (line-move-finish): Inhibit field motion when
2705 computing `line-end'.
2707 * files.el (revert-buffer): Correct typo: variable name is
2708 `buffer-file-format', not `buffer-file-formats'.
2710 * comint.el (comint-send-input, comint-output-filter): Use the
2711 `font-lock-face' property instead of `face'. Don't check the
2712 highlight-enabling variables anymore.
2713 (comint-highlight-input, comint-highlight-prompt): Variables removed.
2715 * faces.el (display-supports-face-attributes-p): New function.
2716 (face-spec-set-match-display): Support `supports' predicate.
2717 (italic): Try underlining for displays that don't support real italics.
2718 * cus-edit.el (custom-display): Add support for `supports' predicate.
2719 * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
2720 instead of 8-bit, for consistency with the rest of emacs.
2721 (tty-color-canonicalize): Only copy COLOR if we need to change it.
2722 (tty-color-approximate): Scale values from `color-name-rgb-alist'
2723 appropriately. Return the whole color description, rather than
2724 just the RGB values.
2725 (tty-color-standard-values): New function. Code mostly taken from
2726 `tty-color-translate'.
2727 (tty-color-translate, tty-color-values): Use `tty-color-desc' to
2729 (tty-color-desc): Do color lookup here instead of calling
2730 `tty-color-translate' and `tty-color-by-index'; this is now the
2731 main place to do it.
2733 2002-06-09 Martin Stjernholm <bug-cc-mode@gnu.org>
2735 * progmodes/cc-style.el (c-set-style, c-set-style-1):
2736 Add another state for the `dont-override' flag where it only keeps
2737 globally set variables.
2739 2002-06-08 Colin Walters <walters@gnu.org>
2741 * descr-text.el (describe-text-properties): Sort the output by the
2742 size of the values. Put `font-lock-face' property on property names.
2743 (toplevel): Provide `descr-text'.
2745 * international/mule-diag.el (describe-char-after): When there are
2746 text properties, require `descr-text', and just call
2747 `describe-text-properties'.
2749 * international/mule.el (sgml-html-meta-auto-coding-function):
2751 (auto-coding-from-file-contents): Delete; merge functionality into
2753 (set-auto-coding): Move tests from `auto-coding-functions' so that
2754 they have a lower priority than coding: tags.
2755 Put `auto-coding-regexp-alist' tests before coding: tag tests.
2756 (sgml-xml-auto-coding-function): Simply `intern' the match, and
2757 test if it's a valid coding system.
2758 (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
2760 2002-06-08 Colin Walters <walters@verbum.org>
2762 * subr.el (copy-list): Moved here from cl.el.
2763 (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
2765 * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
2766 subr.el. Add a defalias with the old name.
2768 * emacs-lisp/cl.el (copy-list): Moved to subr.el.
2770 * replace.el (occur-mode): Don't set up categories. Do set
2771 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2772 (occur-1): Pass `list-matching-lines-face' and
2773 `list-matching-lines-buffer-name-face'.
2774 (occur-engine): Use `font-lock-face' instead of categories.
2776 * info.el (Info-mode): Don't set up categories. Do set
2777 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2778 (Info-fontify-menu-headers): Use `font-lock-face' instead of
2780 (Info-fontify-node): Ditto.
2782 * ibuffer.el (ibuffer-category-alist): Delete.
2783 (ibuffer-get-category): Delete.
2784 (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
2786 (ibuffer-compile-format): Don't treat `name' category specially.
2787 (ibuffer-column name): Use `font-lock-face'.
2788 (filename-and-process): Ditto.
2789 (ibuffer-buffer-name-category): Renamed to
2790 `ibuffer-buffer-name-face'. Don't use categories.
2791 (ibuffer-update-title-and-summary): Use `font-lock-face'.
2792 (ibuffer-insert-filter-group): Ditto.
2793 (ibuffer-mode): Don't set up categories. Do set
2794 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2795 (ibuffer-compile-format): Don't pass third argument
2796 to column functions.
2797 (filename-and-process): Ditto.
2799 * ibuf-macs.el (define-ibuffer-column): Don't create a third
2800 argument for the generated function.
2802 * font-core.el (font-lock-category-alist): Delete.
2803 (turn-on-font-lock-if-enabled): Don't use it.
2804 (font-lock-symbol-category-alist): Delete.
2805 (font-lock-default-function): Use new `char-property-alias-alist'
2806 to make `font-lock-face' an alias for `face' when font-lock mode
2808 (font-lock-core-only): New variable.
2809 (font-lock-set-defaults): Use it.
2811 2002-06-08 Richard M. Stallman <rms@gnu.org>
2813 * files.el (find-file-noselect-1): Undo previous change.
2815 * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
2817 2002-06-07 Karl Fogel <kfogel@red-bean.com>
2819 * bookmark.el (bookmark-file-or-variation-thereof): Just use
2820 Info-suffix-list, as suggested by Stefan Monnier.
2822 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il>
2824 * select.el (xselect-convert-to-string): If VALUE is a string,
2825 return a cons of TYPE and the string.
2827 2002-06-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
2829 * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
2830 Fix the table to contain correct characters.
2832 2002-06-04 Richard M. Stallman <rms@gnu.org>
2834 * simple.el: Don't require cl.
2836 2002-06-03 Richard M. Stallman <rms@gnu.org>
2838 * dired.el (dired-do-shell-command): Doc fix in autoload.
2840 * info.el (Info-extract-pointer): Ignore Info-header-line.
2842 * progmodes/cc-mode.el (c-postprocess-file-styles):
2843 Do nothing except in CC modes.
2845 * international/mule-cmds.el (select-safe-coding-system):
2846 When computing auto-cs, narrow to FROM...TO.
2847 Put save-excursion outside save-restriction.
2848 New arg FILE; use that for set-auto-coding.
2850 2002-06-01 Richard M. Stallman <rms@gnu.org>
2852 * simple.el (choose-completion-string-functions): Doc fix.
2853 (choose-completion-string): Add doc string.
2855 2002-06-01 Kim F. Storm <storm@cua.dk>
2857 * simple.el: Reworked previous change.
2858 (choose-completion-string1): Merged back into choose-completion-string.
2859 (choose-completion-string): Run choose-completion-string-functions
2860 after checking for proper minibuffer window. Added mini-p arg to
2861 the hook functions. Insert choice if all hook functions return nil.
2862 (choose-completion-string-functions): Doc update.
2864 2002-06-01 Sam Steingold <sds@gnu.org>
2866 * files.el (auto-mode-alist): Strip trailing ".in" from the file
2867 name when deciding the mode (for config.h.in, Makefile.in etc).
2869 2002-06-01 Thien-Thi Nguyen <ttn@gnu.org>
2871 * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
2872 ?/ and ?* entries to support /* */ style comments.
2873 (prolog-font-lock-keywords): New var.
2874 (prolog-mode): Enable font-locking; set `font-lock-defaults'.
2876 2002-06-01 Kim F. Storm <storm@cua.dk>
2878 * simple.el (choose-completion-string-functions): New special hook.
2879 (choose-completion-string1): Renamed from choose-completion-string.
2880 (choose-completion-string): Run choose-completion-string-functions
2881 until success, and only call choose-completion-string1 if it fails.
2883 2002-05-31 Stefan Monnier <monnier@cs.yale.edu>
2885 * textmodes/ispell.el (autoloaded toplevel): Don't use
2886 ispell-library-directory without checking that it's bound.
2888 2002-05-31 Kim F. Storm <storm@cua.dk>
2890 * emulation/cua-base.el (cua--last-deleted-region-pos)
2891 (cua--last-deleted-region-text): New aux variables.
2892 (cua-delete-region): Set them.
2893 (cua-repeat-replace-region): Use them to find the replacement text.
2895 2002-05-31 Juanma Barranquero <lektu@terra.es>
2897 * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
2900 2002-05-31 Kim F. Storm <storm@cua.dk>
2902 * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
2903 (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
2904 New custom variables.
2905 (grep-compute-defaults): Compute grep-tree-command's default value.
2906 (grep-expand-command-macros): New aux function.
2907 (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
2908 (grep-tree): New command like grep-find but extended prompting.
2910 2002-05-30 Richard M. Stallman <rms@gnu.org>
2912 * files.el (find-file-default): Add defvar for var already used.
2914 * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
2916 * subr.el (open-network-stream, open-network-stream-nowait)
2917 (open-network-stream-server, process-kill-without-query):
2918 Moved from simple.el.
2920 * simple.el (open-network-stream, open-network-stream-nowait)
2921 (open-network-stream-server, process-kill-without-query):
2924 * simple.el (byte-compiling-files-p): Function deleted.
2926 * textmodes/ispell.el (ispell-library-directory): Renamed from
2927 ispell-library-path. If Ispell is not installed, init to nil.
2928 (check-ispell-version): Doc fix.
2929 (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
2930 initialize this unconditionally when ispell-menu-map-needed is t.
2931 Local `path' renamed to `dir'.
2933 2002-05-30 Miles Bader <miles@gnu.org>
2935 * calc/calc.el (calc-show-banner): New variable.
2936 (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
2937 (calc-mode-var-list): Add `calc-show-banner'.
2938 * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
2939 (calc-toggle-banner): New function.
2940 * calc/calc-help.el (calc-d-prefix-help): Add `@'.
2942 2002-05-29 Richard M. Stallman <rms@gnu.org>
2944 * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
2945 When recognizing a def... construct, make that indentation
2946 tentative, so that it can be overridden if the list in question
2947 is not actually an expression.
2948 (common-lisp-indent-call-method): New subroutine.
2950 * emacs-lisp/bytecomp.el (batch-byte-compile-file):
2951 Delete the output file if we get a file-error.
2953 * tooltip.el (tooltip-mouse-motions-active): New variable.
2954 (tooltip-activate-mouse-motions): Don't kill track-mouse local
2955 if it was not made by us.
2957 * mouse.el (mouse-set-font): Avoid misleading error message
2958 if user makes no selection.
2960 * info.el (Info-setup-header-line): Don't hide the links line.
2962 * files.el (find-file-noselect-1): Return the buffer we created
2963 even if it has been killed within `after-find-file'.
2965 * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
2967 2002-05-29 Kim F. Storm <storm@cua.dk>
2969 * simple.el (open-network-stream-server): Pass on optional args
2970 sentinel and filter to make-network-process (from Luke Gorrie).
2972 2002-05-28 Colin Walters <walters@gnu.org>
2974 * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
2976 * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
2977 (byte-compile-delete-first): New function.
2978 (byte-compile-read-position): New variable.
2979 (byte-compile-last-position): New variable.
2980 (byte-compile-current-buffer): New variable.
2981 (byte-compile-log-1): Use it.
2982 (byte-compile-set-symbol-position): New function.
2983 (byte-compile-obsolete, byte-compile-callargs-warn)
2984 (byte-compile-arglist-warn, byte-compile-arglist-warn)
2985 (byte-compile-print-syms, byte-compile-file-form-defmumble)
2986 (byte-compile-check-lambda-list, byte-compile-lambda)
2987 (byte-compile-form, byte-compile-variable-ref)
2988 (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
2989 (byte-compile-condition-case, byte-compile-defun)
2990 (byte-compile-defvar, byte-compile-autoload)
2991 (byte-compile-lambda-form): Use it.
2992 (byte-compile-from-buffer): Set it, and bind
2993 `read-with-symbol-positions' and `read-symbol-positions-list'.
2995 * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
2997 2002-05-28 Kim F. Storm <storm@cua.dk>
2999 * files.el (read-directory-name): New function.
3000 (cd): Use it instead of read-file-name.
3002 2002-05-27 Kim F. Storm <storm@cua.dk>
3004 * simple.el (push-mark-command): Added optional NOMSG arg.
3006 * emulation/cua-base.el (cua-set-mark): Align pop to mark
3007 behaviour with standard set-mark-command.
3008 (cua--pre-command-handler): Use push-mark-command.
3009 (cua-repeat-replace-region): Improve functionality when
3010 repeated after moving point or changing buffer.
3012 2002-05-26 Colin Walters <walters@verbum.org>
3014 * startup.el (command-line): Use `when', `unless'.
3015 (command-line-1): New argument "--nosplash". Handle it.
3017 * startup.el (inhibit-splash-screen): New variable alias for
3018 `inhibit-startup-message'.
3020 * replace.el (perform-replace): Document return value. Use `pop'.
3022 2002-05-26 Glenn Morris <gmorris@ast.cam.ac.uk>
3024 * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
3025 and slightly changed behaviour, for `f90-previous-block-start' and
3026 `f90-next-block-end'.
3027 (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
3029 2002-05-26 Simon Josefsson <jas@extundo.com>
3031 * fringe.el (set-fringe-mode): Work when updating
3032 `default-frame-alist'.
3034 2002-05-26 Kim F. Storm <storm@cua.dk>
3036 * emulation/cua-base.el (cua--repeat-replace-text): New variable.
3037 (cua-repeat-replace-region): New command.
3038 (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
3039 Misc improvements to the commantary.
3041 2002-05-26 Simon Josefsson <jas@extundo.com>
3043 * fringe.el (fringe-query-style): New fringe style "minimal".
3045 2002-05-24 Simon Josefsson <jas@extundo.com>
3047 * rot13.el (rot13-translate-table): New variable.
3048 (rot13, rot13-string, rot13-region): New functions.
3050 2002-05-25 Martin Stjernholm <bug-cc-mode@gnu.org>
3052 * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
3053 of wrong anchoring, e.g. for else-if compounds.
3055 2002-05-25 Miles Bader <miles@gnu.org>
3057 * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
3058 (menu-bar-showhide-fringe-menu-customize-right)
3059 (menu-bar-showhide-fringe-menu-customize-disable):
3060 Use proper calling convention for `customize-set-value'.
3061 Require `fringe' before setting variable.
3063 2002-05-25 Kim F. Storm <storm@cua.dk>
3065 * emulation/cua-base.el (cua--self-insert-char-p): New function.
3067 * emulation/cua-gmrk.el (cua--init-global-mark): Install default
3068 binding in cua--global-mark-keymap using cua--self-insert-char-p
3069 to handle all global self inserting characters in gmark mode.
3071 * emulation/cua-rect.el (cua--init-rectangles): Install default
3072 binding in cua--rectangle-keymap using cua--self-insert-char-p
3073 to handle all global self inserting characters in rectangle mode.
3075 2002-05-24 Stefan Monnier <monnier@cs.yale.edu>
3077 * net/ange-ftp.el (read-file-name-internal): Remove the
3078 `ange-ftp' property.
3079 (ange-ftp-real-read-file-name-internal): Remove.
3081 2002-05-24 Glenn Morris <gmorris@ast.cam.ac.uk>
3083 * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
3085 (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
3086 (f90-previous-block-start): New navigation commands.
3088 2002-05-20 Simon Josefsson <jas@extundo.com>
3090 * fringe.el: New file.
3092 * menu-bar.el (menu-bar-options-save): Add fringe-mode.
3093 (menu-bar-showhide-fringe-menu): New menu.
3094 (menu-bar-showhide-menu): Add Fringe sub-menu.
3096 2002-05-23 Colin Walters <walters@verbum.org>
3098 * replace.el (occur-engine): Include all text properties except
3099 mouse-face on the newline at the end of occurences.
3101 2002-05-23 Kim F. Storm <storm@cua.dk>
3103 * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
3104 (apropos-false-hit-str, apropos-true-hit-doc): New functions.
3105 (apropos-command, apropos-value, apropos-documentation-internal)
3106 (apropos-documentation-check-doc-file)
3107 (apropos-documentation-check-elc-file): Use them to filter out
3108 false matches where only one keyword matches, but more than once.
3110 * apropos.el (apropos-show-scores, apropos-orig-regexp)
3111 (apropos-all-regexp, apropos-synonyms, apropos-words)
3112 (apropos-all-words): New variables.
3113 (aprpos-words-to-regexp, apropos-rewrite-regexp)
3114 (apropos-calc-scores, apropos-score-str, apropos-score-doc)
3115 (apropos-score-symbol): New functions.
3116 (apropos-command, apropos, apropos-value, apropos-documentation):
3117 Allow keywords in addition to regexp. Added scoring.
3118 (apropos-documentation-check-doc-file)
3119 (apropos-documentation-check-elc-file): Added scoring.
3120 (apropos-print): Sort according to score.
3122 2002-05-22 Colin Walters <walters@cis.ohio-state.edu>
3124 * info.el (Info-mode-hook): Change `font-lock-mode' to
3125 `turn-on-font-lock'.
3127 * font-core.el (font-lock-function): New variable.
3128 (font-lock-default-function): New function, created from
3130 (font-lock-mode): Just funcall `font-lock-function'.
3131 (font-lock-symbol-category-alist): New variable.
3133 2002-05-22 Markus Rost <rost@math.ohio-state.edu>
3135 * files.el (file-newest-backup): Use file-name-sans-versions.
3137 * diff.el (diff-latest-backup-file): Replace the main code by
3138 a call of file-newest-backup.
3140 2002-05-22 Mike Williams <mdub@bigfoot.com>
3142 * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
3145 2002-05-21 Stefan Monnier <monnier@cs.yale.edu>
3147 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
3148 the last patch works around the wu-ftpd misfeature that prompted
3149 the disabling of this optimization.
3151 2002-05-21 Colin Walters <walters@gnu.org>
3153 * international/mule.el (make-coding-system): Doc fixes.
3155 * international/mule.el (auto-coding-functions): New variable.
3156 (auto-coding-from-file-contents): Use it.
3157 (set-auto-coding): Update docs.
3158 (sgml-xml-auto-coding-function): New function.
3160 * international/mule-util.el (truncate-string-to-width):
3161 New optional argument `ellipsis'. Add commented-out test suite, and
3162 change coding to iso-2022-7bit.
3164 2002-05-21 Colin Walters <walters@verbum.org>
3166 * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
3167 (font-lock-multiline, font-lock-fontified, font-lock-mode)
3168 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
3169 (font-lock-global-modes): Moved to font-core.el.
3170 (font-lock-set-defaults-1): Partially moved to font-core.el.
3172 * font-core.el: New file, with functions taken from font-lock.el.
3173 (font-lock-category-alist): New variable.
3174 (font-lock-mode): Use it.
3175 (font-lock-set-defaults): Partially taken from font-lock.el.
3176 Only load font-lock.el when necessary.
3178 * loadup.el: Add font-core.el.
3180 * replace.el (occur-mode-hook): New variable.
3181 (occur-fontify-region-function): Deleted.
3182 (occur-mode): Don't use it. Set up `font-lock-category-alist'
3184 (occur-fontify-on-property): Deleted.
3185 (occur-engine): Use categories from `font-lock-category-alist'.
3187 * info.el (Info-fontify): Deleted.
3188 (Info-select-node): Don't use it.
3189 (Info-mode-hook): New variable.
3190 (Info-mode): Set up categories.
3191 (Info-fontify-menu-headers, Info-fontify-node): Use categories.
3193 * ibuffer.el (ibuffer-formats): Update docs.
3194 (ibuffer-category-alist): New variable.
3195 (ibuffer-get-category): New function.
3196 (ibuffer-compile-make-eliding-form): Use category property instead
3198 (ibuffer-compile-format): Pass current ibuffer buffer to column
3200 (ibuffer-buffer-name-category): New function.
3201 (ibuffer-compile-format): If the current column is a `name'
3202 column, figure out the appropriate category to put on it.
3203 (filename-and-process): Use category property.
3204 (ibuffer-fontify-region-function): Deleted.
3205 (ibuffer-unfontify-region-function): Deleted.
3206 (ibuffer-update-title-and-summary): Use category properties.
3207 (ibuffer-insert-filter-group): Ditto.
3208 (ibuffer-mode): Set up category properties.
3210 2002-05-21 Colin Walters <walters@debian.org>
3212 * replace.el (occur-engine): Increment globalcount all at once
3213 after searching a buffer.
3214 (occur-mode-map): Don't escape plain "o".
3216 * ibuf-macs.el (define-ibuffer-column): Add third argument
3219 * ibuffer.el (toplevel): Require font-lock, to get the face
3221 (ibuffer-use-fontification): Deleted.
3222 (column filename-and-process): New column.
3223 (ibuffer-formats): Use it by default.
3224 (ibuffer-name-map, ibuffer-mode-name-map)
3225 (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
3226 (ibuffer-do-save, ibuffer-do-toggle-modified)
3227 (ibuffer-do-toggle-read-only, ibuffer-do-delete)
3228 (ibuffer-do-kill-on-deletion-marks): Include name in definition.
3229 (ibuffer): New optional argument `formats'.
3231 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il>
3233 * indent.el (indent-rigidly): Mention how to remove all indentation.
3235 2002-05-21 Colin Walters <walters@gnu.org>
3237 * international/mule-diag.el (describe-char-after): Order display
3238 of text properties by the size of their value, for clarity.
3240 2002-05-20 Stefan Monnier <monnier@cs.yale.edu>
3242 * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
3243 (ange-ftp-file-name-completion): Don't cons unnecessarily.
3244 (ange-ftp-send-cmd): Always `cd' before doing `ls'.
3246 * wid-edit.el (widget-color-complete):
3247 * progmodes/etags.el (tags-complete-tags-table-file):
3248 * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
3250 * textmodes/outline.el (outline-reveal-toggle-invisible):
3251 Reverse the meaning of the second arg.
3253 * reveal.el (reveal-post-command): Reverse the semantics of
3254 reveal-toggle-invisible and support isearch-open-invisible-temporary.
3256 2002-05-20 Markus Rost <rost@math.ohio-state.edu>
3258 * mail/sendmail.el (mail-recover-1): Remove (debug).
3259 (mail-signature): Fix :type.
3260 (mail-default-directory): New user option.
3261 (mail, mail-recover): Use that option.
3263 2002-05-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3265 * international/mule.el (auto-coding-alist): Use emacs-mule
3266 for auto-save files.
3268 2002-05-20 Miles Bader <miles@gnu.org>
3270 * files.el (find-file-read-args): Don't trash existing value of
3271 `minibuffer-setup-hook', just add our hook to it.
3273 2002-05-19 Markus Rost <rost@math.ohio-state.edu>
3275 * international/ucs-tables.el (unify-8859-on-encoding-mode)
3276 (unify-8859-on-decoding-mode): Change :version attributes to strings.
3278 * simple.el (yank-excluded-properties): Change :version attribute
3281 * dired.el (dired-view-command-alist): Change :version attribute
3284 * xscheme.el (xscheme-start-hook): Change :version attribute to a
3287 * find-dired.el (find-dired): Implement revert-buffer-function.
3289 * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
3291 2002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk>
3293 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
3294 (f90-get-present-comment-type): Fix earlier change.
3295 (f90-comment-indent): Doc fix.
3296 (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
3297 (f90-looking-at-if-then): Remove lets.
3298 (f90-looking-at-where-or-forall): Handle if split over lines.
3299 (f90-change-keywords): Doc fix.
3301 2002-05-19 Richard M. Stallman <rms@gnu.org>
3303 * indent.el (indent-region): Make COLUMN arg optional.
3305 * files.el (find-file-read-args): New function.
3306 (find-file, find-file-other-window, find-file-other-frame)
3307 (find-file-read-only, find-file-read-only-other-window)
3308 (find-file-read-only-other-frame): Use it.
3310 * custom.el (custom-load-symbol): Verify that LOADED is a string.
3312 * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
3313 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3314 (archive-zip-update-case): Use locate-file to decide whether
3316 (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
3318 * files.el (locate-file): Doc fix.
3320 2002-05-19 John Paul Wallington <jpw@shootybangbang.com>
3322 * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
3325 2002-05-18 Stefan Monnier <monnier@cs.yale.edu>
3327 * uniquify.el (uniquify-rationalize-file-buffer-names):
3328 Always strip the trailing / even if the file is not a directory.
3330 2002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk>
3332 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
3333 initialization in the defvar.
3334 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
3335 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
3336 (f90-font-lock-4): Move the doc strings.
3337 (f90-menu-bar-menu): New internal variable to hold the top-level menu.
3338 (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
3339 (f90-mode-abbrev-table): Initialize in the defvar, with
3340 define-abbrev-table.
3342 2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
3344 * tar-mode.el (tar-octal-time): Fix last change.
3346 2002-05-18 Markus Rost <rost@math.ohio-state.edu>
3348 * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
3349 (report-emacs-bug): Store the prompt in
3350 `report-emacs-bug-text-prompt'. Move Configuration/Important
3351 settings information after the user's report.
3352 (report-emacs-bug-hook): Unclutter by deleting the content of
3353 `report-emacs-bug-text-prompt'.
3355 2002-05-17 Thomas Morgan <tlm@pocketmail.com>
3357 * forms.el (forms-jump-record, forms-insert-record)
3358 (forms-delete-record): Calculate lines from the beginning of the
3359 accessible portion rather than from the beginning of the buffer.
3361 2002-05-16 Eli Zaretskii <eliz@is.elta.co.il>
3363 * ps-mule.el (eval-and-compile): Add a trivial replacement for a
3364 possibly missing encode-char.
3365 (ps-mule-font-info-database-bdf): Add associations for Unicode
3367 (ps-mule-font-info-database-ps-bdf): Doc fix.
3368 (ps-mule-encode-ucs2): New function for encoding Unicode characters.
3370 * tar-mode.el (tar-octal-time): Fix the last argument of logior.
3372 2002-05-16 Stefan Monnier <monnier@cs.yale.edu>
3374 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3375 Find funs defined with defun-cvs-mode.
3376 (find-function-space-re): New const. Skips comments as well.
3377 (find-function-regexp, find-variable-regexp): Use it.
3379 * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
3380 (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
3381 (cvs-mode-set-flags): Don't cons unnecessarily.
3383 2002-05-16 Colin Walters <walters@debian.org>
3385 * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
3386 "Simple Calculator".
3387 (menu-bar-tools-menu) <calc>: New.
3389 2002-05-16 Juanma Barranquero <lektu@terra.es>
3391 * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
3393 * filesets.el (filesets-ormap): Fix typo.
3395 * faces.el (describe-face): Fix typo.
3397 2002-05-15 Stefan Monnier <monnier@cs.yale.edu>
3399 * emacs-lisp/easymenu.el (easy-menu-make-symbol):
3400 Don't treat (lambda () ...) as an expression.
3402 2002-05-15 John Paul Wallington <jpw@shootybangbang.com>
3404 * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
3406 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
3408 * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
3410 2002-05-14 Glenn Morris <gmorris@ast.cam.ac.uk>
3412 * progmodes/fortran.el (fortran-directive-re): New name for
3413 fortran-preprocessor-re. All usage updated.
3414 (fortran-calculate-indent): Give directives zero indentation.
3416 2002-05-14 Jason Rumney <jasonr@gnu.org>
3418 * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
3419 displayed text and internal name as string.
3421 2002-05-14 Kim F. Storm <storm@cua.dk>
3423 * emulation/cua-rect.el (cua--rectangle-operation):
3424 Don't highlight empty lines in rectangles.
3426 * emulation/keypad.el: Improved commentary.
3427 (keypad-setup, keypad-shifted-setup): Added choice to setup
3428 Numeric keypad with decimal key; value is selected character.
3429 (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
3430 (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
3431 (keypad-setup): Arg list changed to support the new options.
3433 2002-05-14 Richard M. Stallman <rms@gnu.org>
3435 * dabbrev.el (dabbrev-case-distinction): New option.
3436 (dabbrev--try-find): Handle dabbrev-case-distinction.
3437 (dabbrev--search): Clean up the code.
3438 (dabbrev-upcase-means-case-search): Doc fix.
3439 (dabbrev-case-replace): Fix custom tags and docs.
3441 2002-05-14 Jochen K
\e,A|
\e(Bpper <jochen@jochen-kuepper.de>
3443 * calc/calc-units.el (math-standard-units): Update from CODATA.
3445 2002-05-14 Stefan Monnier <monnier@cs.yale.edu>
3447 * skeleton.el (skeleton-transformation): Default to `identity'.
3448 (skeleton-insert): Use `move-after' markers and `insert' rather
3449 than rely on insert-before-markers.
3450 (skeleton-internal-1): Handle `> \n' specially so that the newline
3451 is inserted before the first line is indented.
3453 2002-05-14 Mike Williams <mdub@bigfoot.com>
3455 * textmodes/sgml-mode.el (sgml-tag):
3456 Default skeleton-transformation to `identity'.
3458 2002-05-14 Francesco Potorti` <pot@gnu.org>
3460 * shell.el (shell-mode): Make second part of initialisation
3461 depend on whether comint-input-ring is empty, rather than depend
3464 2002-05-14 Richard M. Stallman <rms@gnu.org>
3466 * files.el (make-auto-save-file-name):
3467 Delete the auto-save file after make-temp-file creates it.
3469 2002-05-13 Kim F. Storm <storm@cua.dk>
3471 * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
3472 (cua-mode): Print Enabled/Disabled messages if interactive.
3473 Disable delete-selection-mode and pc-selection-mode when cua-mode
3474 is enabled; reenable if cua-mode is turned off.
3475 Remember setting of transient-mark-mode when cua-mode is enabled;
3476 restore if cua-mode is disabled.
3478 2002-05-13 Richard M. Stallman <rms@gnu.org>
3480 * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
3482 2002-05-13 Colin Walters <walters@gnu.org>
3484 * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
3486 * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
3487 (ibuffer-redisplay-engine): Handle it.
3489 * add-log.el (add-log-mailing-address): Can be a list, too.
3490 (add-change-log-entry): If `add-log-mailing-address' is a list,
3493 2002-05-12 Colin Walters <walters@debian.org>
3495 * replace.el (occur-1): New optional argument `buf-name'.
3496 (occur-revert-function): Use it.
3498 (occur-1): Handle plurals.
3500 (occur-engine): If there are no more matches, then finish
3501 searching the current buffer.
3503 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3505 * net/ange-ftp.el (ange-ftp-try-passive-mode)
3506 (ange-ftp-passive-host-alist): Change :version attributes to be
3509 2002-05-12 Markus Rost <rost@math.ohio-state.edu>
3511 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
3514 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3515 Handle more whitespace/newline combinations in symbol definitions.
3517 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il>
3520 * vc-cvs.el (vc-cvs-global-switches)
3521 (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
3522 * textmodes/sgml-mode.el (sgml-xml-mode)
3523 * ruler-mode.el (ruler-mode)
3524 * replace.el (query-replace-skip-read-only)
3525 * progmodes/fortran.el (fortran-preprocessor-re)
3526 * net/ange-ftp.el (ange-ftp-passive-host-alist)
3527 * mail/sendmail.el (mail-use-dsn)
3528 * faces.el (mode-line-inactive, minibuffer-prompt)
3529 * add-log.el (add-log-always-start-new-record): Change all
3530 post-21.1 :version attributes to 21.4.
3532 2002-05-12 Richard M. Stallman <rms@gnu.org>
3534 * mail/smtpmail.el (smtpmail-mail-address): New variable.
3535 (smtpmail-send-it): Bind and use that instead of `mail-address'.
3536 (smtpmail-via-smtp): Likewise.
3538 * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
3539 (ansi-color-apply-sequence): Avoid duplicates in combined face list.
3541 * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
3543 * subr.el (functionp): Catch errors in indirect-function.
3545 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3547 * net/ldap.el (ldap-search-internal): Unfold folded lines before
3550 * cus-edit.el (customize-set-value): Rename `var' to `variable'
3551 and `val' to `value'.
3552 (customize-save-variable): Rename `var' to `'variable.
3554 2002-05-12 Glenn Morris <gmorris@ast.cam.ac.uk>
3556 * progmodes/fortran.el (fortran-preprocessor-re): New variable.
3557 Use it for font-locking and indentation.
3558 (fortran-previous-statement, fortran-next-statement): Make them
3559 skip over preprocessor lines.
3560 (fortran-calculate-indent): Use fortran-preprocessor-re.
3562 2002-05-10 Kim F. Storm <storm@cua.dk>
3564 * emulation/cua-base.el (cua-enable-cua-keys)
3565 (cua-enable-register-prefix): Added value for `other' choice.
3567 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
3569 * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
3570 (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
3571 (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
3572 Run a named function.
3573 (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
3574 (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
3577 2002-05-10 Kim F. Storm <storm@cua.dk>
3579 * emulation/cua-base.el (cua-mode): Misc. changes to use
3580 emulation-mode-map-alists instead of minor-mode-map-alist.
3582 2002-05-09 Richard M. Stallman <rms@gnu.org>
3584 * mail/rmail.el (rmail-show-message):
3585 Catch error in check-coding-system.
3587 * progmodes/compile.el (compilation-error-regexp-alist):
3588 New element to recognize Python error messages.
3590 * shell.el (shell-replace-by-expanded-directory):
3591 If there's already a / at the end, don't add one.
3593 2002-05-09 Colin Walters <walters@verbum.org>
3595 * ibuffer.el (ibuffer-mode-map): Add :enable guards for
3596 `ibuffer-filter-disable', `ibuffer-pop-filter',
3597 `ibuffer-or-filter', `ibuffer-negate-filter',
3598 `ibuffer-decompose-filter', `ibuffer-save-filters',
3599 `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
3600 `ibuffer-save-filter-groups',
3601 `ibuffer-switch-to-saved-filter-groups',
3602 `ibuffer-delete-saved-filter-groups'.
3604 * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
3606 2002-05-09 Markus Rost <rost@math.ohio-state.edu>
3608 * woman.el (woman-menu): Move symbol before the comment so that
3609 find-function-search-for-symbol finds it.
3611 2002-05-10 Miles Bader <miles@gnu.org>
3613 * facemenu.el (list-colors-display): Don't use
3614 `display-color-cells' unless the display class is one for which
3615 that info is relevant.
3617 2002-05-09 Simon Josefsson <jas@extundo.com>
3619 * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
3621 (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
3624 2002-05-09 Kim F. Storm <storm@cua.dk>
3626 * wid-edit.el (checkbox): New check-mark image.
3628 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3630 * filesets.el (filesets-running-xemacs): Fix last change.
3632 2002-05-08 Markus Rost <rost@math.ohio-state.edu>
3634 * help-fns.el (describe-function-1): If the source is
3635 `loaddefs.el', look for the real source. This is necessary only
3638 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3639 Add autoload cookie.
3640 (find-function-regexp): Include
3641 "\(quote " to match the defaliases in loaddefs.el.
3643 * filesets.el (filesets-conditional-sort): Use copy-sequence,
3645 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
3646 Defvar them to nil if running in Emacs.
3648 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3650 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
3651 to flyspell overlays.
3653 * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
3655 2002-05-08 Richard M. Stallman <rms@gnu.org>
3657 * diff.el (diff-regexp-alist): Doc fix.
3659 * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
3661 2002-05-08 Simon Marshall <simon@gnu.org>
3663 * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
3664 the frame name as the car of a menu entry, rather than the frame.
3666 2002-05-08 Juanma Barranquero <lektu@terra.es>
3668 * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
3671 2002-05-07 Colin Walters <walters@verbum.org>
3673 * replace.el (occur-unfontify-region-function): Delete.
3674 (occur-mode): Don't use it.
3675 (occur-engine): Respect `keep-props'.
3676 (occur-accumulate-lines): If we're moving forward, decrement;
3677 don't increment, and vice versa.
3679 2002-05-08 Toru Tomabechi <Toru.Tomabechi@orient.unil.ch>
3681 * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
3682 (tibetan-canonicalize-for-unicode-regexp): New variables.
3683 (tibetan-canonicalize-for-unicode-region): New function.
3684 (tibetan-strict-unicode): New variable.
3685 (tibetan-pre-write-canonicalize-for-unicode): New function.
3687 2002-05-07 Markus Rost <rost@math.ohio-state.edu>
3689 * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
3690 the autoload-cookie. Remove comment.
3692 * ffap.el (ffap): Don't hide it behind the autoload-cookie.
3694 * rect.el (close-rectangle): Don't hide it behind the
3697 2002-05-07 Juanma Barranquero <lektu@terra.es>
3699 * windmove.el (windmove-default-keybindings): Add optional
3700 parameter to allow using a modifier other than 'shift.
3702 2002-05-07 Thomas Link <t.link@gmx.at>
3705 (filesets-external-viewers): Fix customization problem.
3706 (filesets-some): Replaces cl's `some'. Calls changed.
3707 (filesets-member): Replaces cl's `member*'. Calls changed.
3708 (filesets-ormap): New function.
3710 2002-05-07 John Paul Wallington <jpw@shootybangbang.com>
3712 * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
3715 2002-05-07 Colin Walters <walters@gnu.org>
3717 * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
3718 (ibuffer-clear-filter-groups): Likewise.
3719 (ibuffer-kill-filter-group): Likewise.
3720 (ibuffer-kill-line): Likewise.
3721 (ibuffer-read-filter-group-name): New function.
3722 (ibuffer-jump-to-filter-group): Use it.
3723 (ibuffer-kill-filter-group): Likewise.
3724 (ibuffer-yank-filter-group): Likewise.
3725 (ibuffer-decompose-filter-group): New function.
3727 * ibuffer.el (ibuffer-mode-map): Bind it. Add :enable guard
3728 around `ibuffer-filters-to-filter-group' menu item. Fix :enable
3729 guards for `ibuffer-pop-filter-group' and
3730 `ibuffer-clear-filter-groups'.
3732 2002-05-06 Markus Rost <rost@math.ohio-state.edu>
3734 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3735 Use with-syntax-table.
3737 2002-05-06 Francesco Potorti` <pot@gnu.org>
3739 * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
3741 2002-05-05 Markus Rost <rost@math.ohio-state.edu>
3743 * time-stamp.el (time-stamp-format): Doc fix: escape open
3744 parenthesis in column 0.
3746 2002-05-04 Richard M. Stallman <rms@gnu.org>
3748 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
3749 Handle both cases: when the menu item has cached info
3750 and when it doesn't.
3752 * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
3753 (filesets-open-file-function, filesets-save-buffer-function): Likewise.
3754 (filesets-tree-max-level): Doc fix.
3755 (filesets-commands, filesets-external-viewers)
3756 (filesets-ingroup-patterns): Mark as risky.
3757 (filesets-cache-hostname-flag): Doc fix.
3758 (filesets-menu-cache-file): Doc fix. Mark as risky.
3759 (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
3760 Don't defcustom them if running in Emacs.
3762 2002-05-04 Thomas Link <t.link@gmx.at>
3764 * filesets.el (filesets-ingroup-collect-files):
3765 Fix problem with inclusion groups' :scan-depth property.
3767 2002-05-04 Colin Walters <walters@verbum.org>
3769 * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
3770 "Default" group earlier. Push killed group on
3771 `ibuffer-filter-group-kill-ring'.
3772 (ibuffer-kill-line): Document. Don't push killed group ourselves.
3773 (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
3774 (ibuffer-insert-filter-group-before): New function, broken out
3775 from `ibuffer-yank'.
3776 (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
3778 * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
3779 (ibuffer-mode-view-menu): Unused variables; deleted.
3780 (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
3782 2002-05-04 John Paul Wallington <jpw@shootybangbang.com>
3784 * ibuffer.el (ibuffer-mode-groups-popup): New variable.
3785 (toplevel): Bind filter group menu entries in it. Add :enable
3786 forms for some menu items.
3787 (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
3788 to `ibuffer-mouse-popup-menu'.
3789 (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
3790 group name, and if so, pop up a filter group menu.
3792 2002-05-04 Jason Rumney <jasonr@gnu.org>
3794 * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
3795 (mwheel-scroll): Recognize nil scroll amount as documented.
3797 * term/w32-win.el (mouse-wheel-scroll-line)
3798 (mouse-wheel-scroll-screen): Remove.
3799 ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
3801 * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
3803 2002-05-04 Markus Rost <rost@math.ohio-state.edu>
3805 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3806 Bind case-fold-search when searching.
3808 2002-05-04 Eli Zaretskii <eliz@is.elta.co.il>
3810 * apropos.el (apropos-print): Fix the reference to mouse-2.
3812 2002-05-04 Daniel Pfeiffer <occitan@esperanto.org>
3814 * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
3816 2002-05-04 Kim F. Storm <storm@cua.dk>
3818 * cus-edit.el (custom-buffer-verbose-help): New variable.
3819 (custom-buffer-create-internal): Remove verbose introduction
3820 in customization buffer when it is nil.
3822 2002-05-03 Dave Love <fx@gnu.org>
3824 * international/mule-cmds.el (select-safe-coding-system):
3825 Don't offer coding systems that use locking shift.
3826 Ask for confirmation if chosen coding system disagrees with
3827 a `coding:' spec in the file.
3829 2002-05-03 John Wiegley <johnw@gnu.org>
3831 * eshell/esh-var.el (eshell-modify-global-environment): Added this
3832 customization variable, which will cause any "export" commands
3833 within any eshell buffer to modify the global Emacs environment.
3834 It defaults to nil, which means that such commands will only
3835 modify that Eshell buffer's environment.
3836 (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
3838 * eshell/em-cmpl.el (eshell-command-completions-alist):
3839 Improve default completion targets for objdump, nm and readelf.
3841 2002-05-03 Colin Walters <walters@verbum.org>
3843 * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
3844 (gamegrid-add-score-with-update-game-score):
3845 Use `shared-game-score-directory'. Correctly handle non-setuid case.
3847 2002-05-02 Colin Walters <walters@verbum.org>
3849 * replace.el (occur-mode-map): Bind "q" to `delete-window'.
3850 (occur-1): If one of the buffers we're searching is the *Occur*
3851 buffer itself, handle it by creating a temporary buffer. If any
3852 of the buffers being searched are killed, note that in the search
3853 result message. Also, set local variables before we possibly kill
3856 2002-05-02 Kim F. Storm <storm@cua.dk>
3858 * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
3859 (menu-bar-options-save): Added cua-mode.
3860 (menu-bar-options-menu): Added toggle for cua-mode.
3861 Disable toggle for transient-mark-mode if cua-mode is enabled.
3863 * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
3866 2002-05-01 Richard M. Stallman <rms@gnu.org>
3868 * help.el (view-todo): New function.
3869 (help-map): Bind C-h C-t to view-todo.
3870 (help-for-help): Change the text.
3872 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk>
3874 * progmodes/f90.el: Yet more doc string, commment and whitespace
3876 (f90-imenu-flag): New name for internal variable f90-imenu.
3877 (f90-blocks-re, f90-program-block-re, f90-end-if-re)
3878 (f90-no-break-re): Use regexp-opt.
3879 (f90-end-type-re): Add closing "\\>".
3880 (f90-indent-region): Correctly indent comments embedded in
3882 (f90-indent-new-line): Make it indent the current line, as it should.
3883 (f90-line-continued, f90-get-present-comment-type)
3884 (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
3885 (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
3886 (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
3887 (f90-change-keywords): Minor code tidying.
3889 * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
3890 typo `fortran-strip-sqeuence-nos'.
3892 2002-05-01 Eli Zaretskii <eliz@is.elta.co.il>
3894 * simple.el (clone-indirect-buffer-other-window): Fix a typo in
3897 2002-05-01 Kim F. Storm <storm@cua.dk>
3899 * emulation/cua-base.el (cua--pre-command-handler):
3900 Only interpret delete-selection property if mark-active.
3901 (cua-mode): Fixed require in defcustom.
3903 2002-05-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3905 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
3908 2002-05-01 Colin Walters <walters@verbum.org>
3910 * textmodes/tex-mode.el (tex-validate-buffer):
3911 Use `occur-revert-arguments' instead of setting `occur-nlines' and
3912 `occur-buffer'. Don't test for `input-pending-p' in loop.
3913 Set text property `occur-target' instead of `occur'.
3915 2002-04-30 John Wiegley <johnw@gnu.org>
3917 * align.el (align-region): Fixed the fix to align-region, because
3918 the "name" argument was appearing twice.
3920 2002-05-01 Martin Stjernholm <bug-cc-mode@gnu.org>
3922 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
3923 to handle protection labels, one which doesn't get confused by
3926 * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
3927 functions that have "class" or "struct" in the return type as
3930 2002-04-30 Kim F. Storm <storm@cua.dk>
3932 * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
3933 Options" to "New Options..."; rephrase tooltip.
3934 Rephrase tooltip for "Specific Option...".
3935 Added "Saved Options" item. [from Simon Marshall]
3937 2002-04-30 Richard M. Stallman <rms@gnu.org>
3939 * time.el (display-time-mail-directory)
3940 (display-time-mail-function): Doc fixes.
3942 * ediff-hook.el: Remove autoload cookies.
3944 * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
3946 * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
3948 * align.el (align-region): Fix call to `message'.
3949 Check that (car rule) is a symbol.
3951 * autoinsert.el (auto-insert-directory): Doc fix.
3953 * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
3955 * descr-text.el: New file, broken out of facemenu.el.
3957 * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
3959 2002-04-29 Markus Rost <rost@math.ohio-state.edu>
3961 * mail/emacsbug.el (report-emacs-bug-hook):
3962 Use replace-match only if search was successful.
3964 2002-04-29 Richard M. Stallman <rms@gnu.org>
3966 * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
3968 * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
3969 if the user edits the Emacs version number in the text.
3971 * filesets.el (filesets-running-xemacs): Make defvar unconditional.
3972 (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
3973 (filesets-error): Simplify definition and make conditional
3974 on filesets-running-xemacs.
3975 (filesets-find-file-using): Renamed from fsfind-file-using.
3977 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
3979 * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
3980 (Info-read-node-name-1): Complete file names.
3981 (Info-complete-menu-item): Don't cons unnecessarily.
3983 * files.el (locate-file): New fun.
3984 (locate-file-completion): Rename from load-completion and generalize.
3985 (load-library): Use it.
3986 (make-auto-save-file-name): Expand caddr.
3988 * newcomment.el (comment-fill-column): New var.
3989 (comment-indent): Use it.
3990 (comment-or-uncomment-region): New fun.
3991 (comment-dwim): Use it.
3993 2002-04-29 Colin Walters <walters@verbum.org>
3995 * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
3996 (ibuffer-kill-line): Copy the filter group data structure when killing.
3997 (ibuffer-yank): Handle case where we're yanking on the default
3999 (ibuffer-delete-saved-filter-groups): Doc fix.
4001 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4002 Test whether or not update-game-score is setuid, and do the right
4005 2002-04-29 Kim F. Storm <storm@cua.dk>
4007 * subr.el (remove-yank-excluded-properties): New helper function.
4008 (insert-for-yank, insert-buffer-substring-as-yank): Use it.
4010 * simple.el (yank-excluded-properties): Added help-echo to list.
4012 2002-04-29 Glenn Morris <gmorris@ast.cam.ac.uk>
4014 * autoinsert.el (auto-insert-directory): Doc fix.
4016 * progmodes/f90.el: Add/change doc strings for many inline
4017 functions. Whitespace changes.
4018 (f90-indent-line-no, f90-update-line): Minor code changes.
4020 2002-04-29 Kim F. Storm <storm@cua.dk>
4022 * emulation/cua-base.el: New file.
4024 * emulation/cua-rect.el: New file.
4026 * emulation/cua-gmrk.el: New file.
4028 * emulation/keypad.el: New file.
4030 2002-04-29 Triet Hoai Lai <thlai@ee.usyd.edu.au>
4032 * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
4033 (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
4034 New Vietnamese coding system.
4036 * language/viet-util.el: Update Commentary section.
4038 2002-04-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4040 * filesets.el (filesets-data): Doc fix.
4041 (filesets-running-xemacs): Define even when compiling.
4043 * recentf.el (recentf-cancel-dialog): Remove dot at the end of
4046 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
4048 * textmodes/fill.el (fill-context-prefix): Fix last change with
4049 yet-another-approach.
4051 2002-04-28 Markus Rost <rost@math.ohio-state.edu>
4053 * net/ange-ftp.el (ange-ftp-passive-host-alist)
4054 (ange-ftp-bs2000-additional-pubsets): Fix custom type.
4056 * files.el (small-temporary-file-directory): Fix custom type.
4058 2002-04-28 Glenn Morris <gmorris@ast.cam.ac.uk>
4060 * progmodes/f90.el (f90-xemacs-flag): New variable.
4061 (f90-mark-subprogram-overlay): New variable.
4062 (f90-mark-subprogram): Now it highlights the subprogram.
4063 (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
4064 Fix highlighting of various "type" forms.
4066 2002-04-28 Colin Walters <walters@verbum.org>
4068 * ibuffer.el (ibuffer-mode): Additional documentation on filter
4071 2002-04-28 John Paul Wallington <jpw@shootybangbang.com>
4073 * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
4074 ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
4076 2002-04-28 Richard M. Stallman <rms@gnu.org>
4078 * mail/sendmail.el (mail-recover-1): Decrease non-random-len
4079 by 1 for the newly-readded #.
4081 * files.el (make-auto-save-file-name): Specify # as suffix
4082 in the non-file-visiting case.
4084 * subr.el (make-temp-file): New arg SUFFIX.
4086 * filesets.el: New file.
4088 * replace.el (occur-accumulate-lines): Avoid incf and decf.
4089 (occur-engine-add-prefix): New function.
4090 (occur-engine): Avoid using macrolet, incf and decf.
4091 Use occur-engine-add-prefix instead.
4092 Rename `l' to `lines' and `c' to `matches'.
4094 * replace.el (occur-engine, occur-mode-mouse-goto)
4095 (occur-mode-find-occurrence, occur-mode-goto-occurrence)
4096 (occur-mode-goto-occurrence-other-window)
4097 (occur-mode-display-occurrence): A position is just a marker,
4100 * replace.el (occur-revert-arguments):
4101 Renamed from occur-revert-properties. All uses changed.
4103 2002-04-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4105 * recentf.el (recentf-menu-before): Use string to specify path in
4108 * international/mule-cmds.el (read-language-name): Take care of
4111 2002-04-27 Richard M. Stallman <rms@gnu.org>
4113 * custom.el (custom-load-symbol): Moved from cus-edit.el.
4114 (custom-load-recursion): Likewise.
4116 * cus-edit.el (custom-load-symbol): Moved to custom.el.
4117 (custom-load-recursion): Likewise.
4119 * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
4120 generated by easymenu are now lowercase.
4122 2002-04-27 Richard M. Stallman <rms@gnu.org>
4124 * menu-bar.el (menu-bar-update-buffers): Add menu items
4125 Next Buffer and Previous Buffer.
4127 * simple.el (next-buffer, prev-buffer): New commands.
4128 Bind C-x left and C-x right to them.
4130 * info.el (Info-header-line): Mark it as risky-local-variable.
4132 * subr.el (insert-for-yank): Replace `category' property
4133 with whatever properties it stands for.
4135 * subr.el (member-ignore-case): Ignore non-strings in LIST.
4137 2002-04-27 Miles Bader <miles@gnu.org>
4139 * faces.el (read-face-name): Format the prompt correctly when
4142 2002-04-26 Andrew Choi <akochoi@shaw.ca>
4144 * term/mac-win.el: Don't call ediff-toggle-multiframe.
4145 Set default directory. Set process-connection-type to nil.
4147 2002-04-26 Richard M. Stallman <rms@gnu.org>
4149 * loadup.el: Explicitly load cus-face and timer.
4151 * isearch.el: Don't require timer.
4153 * faces.el: Don't require cus-face.
4155 * cus-edit.el (customize-face): Use read-face-name
4156 and handle multiple faces.
4157 (customize-face-other-window): Make it work similarly.
4159 * faces.el (read-face-name): New defaulting features.
4160 New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
4161 (list-faces-display): Use the face, not its name string,
4162 as arg when running customize-face.
4163 Put a `read-face-name' prop on the entire line.
4164 (describe-face): Handle multiple faces via read-face-name.
4166 * textmodes/tex-mode.el (tex-start-options): New variable.
4167 (tex-start-commands): New variable.
4168 (tex-start-options-string): Variable deleted.
4169 (tex-start-tex): Use tex-start-options and tex-start-commands,
4170 not tex-start-options-string.
4171 (tex-command): Doc fix.
4173 2002-04-26 Sam Steingold <sds@gnu.org>
4175 * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
4176 not in the authinfo/netrc, keep `cred' at nil.
4178 2002-04-26 Gerd Moellmann <gerd@gnu.org>
4180 * find-file.el: Remove Ada-specific example code.
4182 2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
4184 * ediff-hooks.el: Put back the autoloads.
4186 2002-04-25 Colin Walters <walters@verbum.org>
4188 * ibuffer.el (define column process): Use `ibuffer-aif'.
4190 * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
4192 (ibuffer-yank): Be sure to `setq' after we use `nconc'.
4193 (ibuffer-save-filter-groups): Correctly structure filter groups.
4194 (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
4197 2002-04-25 Simon Josefsson <jas@extundo.com>
4199 * mail/sendmail.el (mail-use-dsn): New variable to request
4200 delivery status notification from MTA.
4201 (sendmail-send-it): Use it.
4203 * mail/smtpmail.el (smtpmail-queue-counter): New variable.
4204 (smtpmail-send-it): Use it to construct new queue filenames
4205 (needed if you send more than one message per second, which is
4206 possible if you use Gnus Agent).
4208 * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
4210 (smtpmail-try-auth-methods): Support netrc data.
4211 (netrc-parse): Autoload netrc.
4213 2002-04-25 Colin Walters <walters@verbum.org>
4215 * replace.el (multi-occur-by-filename-regexp): Doc fix.
4216 (occur-engine): Go to `point-min'. Make nlines argument actually
4217 mean number of context lines. Handle it. Pad digits to the right.
4219 * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
4220 `ibuffer-filter-groups'. All users updated.
4221 (ibuffer-show-empty-filter-groups): New variable.
4222 (ibuffer-saved-filter-groups): New variable.
4223 (ibuffer-maybe-save-stuff): Renamed from
4224 `ibuffer-maybe-save-saved-filters'. Callers updated.
4225 Handle `ibuffer-saved-filter-groups'.
4226 (ibuffer-hidden-filtering-groups): Renamed to
4227 `ibuffer-hidden-filter-groups'.
4228 (ibuffer-filter-group-kill-ring): New variable.
4229 (ibuffer-save-with-custom): Doc fix.
4230 (ibuffer-set-filter-groups-by-mode): New function.
4231 (ibuffer-clear-filter-groups): New function.
4232 (ibuffer-current-filter-groups-with-position): Renamed from
4233 `ibuffer-current-filter-groups'. Callers updated.
4234 (ibuffer-kill-filter-group): New function.
4235 (ibuffer-kill-line): New function.
4236 (ibuffer-yank): New function.
4237 (ibuffer-save-filter-groups): New function.
4238 (ibuffer-delete-saved-filter-groups): New function.
4239 (ibuffer-switch-to-saved-filter-groups): New function.
4240 (ibuffer-mark-on-buffer): Add optional arguments for adding a
4241 specific mark, and marking on a specific group.
4243 * ibuffer.el (ibuffer-formats): Doc fix.
4244 (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
4245 Bind new functions from ibuf-ext.el. Add menu entries for them.
4246 Remove superfluous tooltips.
4247 (ibuffer-toggle-marks): If on a group name, then toggle marks just
4249 (ibuffer-mark-interactive): Handle filter groups.
4250 (ibuffer-mark-forward, ibuffer-unmark-forward)
4251 (ibuffer-mark-for-delete, ibuffer-unmark-backward)
4252 (ibuffer-mark-for-delete-backwards): Update docs.
4253 (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
4254 to `ibuffer-current-filter-groups-with-position'.
4255 (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
4256 (ibuffer-mode): Add some documentation about filter groups.
4258 2002-04-25 Andreas Schwab <schwab@suse.de>
4260 * find-dired.el (find-name-dired): Don't quote pattern twice.
4262 2002-04-26 Miles Bader <miles@gnu.org>
4264 * cus-edit.el (customize-face, customize-face-other-window):
4265 Use default instead of initial-input for suggested face.
4267 2002-04-25 Gerd Moellmann <gerd@gnu.org>
4269 * cus-edit.el (customize-face-other-window, customize-face):
4270 Interactively, when point is on text with a face, suggest to
4271 customize that face.
4273 2002-04-25 Glenn Morris <gmorris@ast.cam.ac.uk>
4275 * progmodes/f90.el: General tidy-up of commentary and some doc
4278 2002-04-24 Glenn Morris <gmorris@ast.cam.ac.uk>
4280 * scroll-all.el (scroll-all-function-all) New function to do the
4282 (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
4283 scroll-all-page-down-all, scroll-all-page-up-all,
4284 scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
4285 Make them use scroll-all-function-all.
4287 * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
4288 with line-beginning-position.
4289 (f90-get-end-of-line): Removed and replaced with line-end-position.
4290 (f90-match-piece): Removed and replaced with match-string.
4291 (f90-current-indentation): Remove `current-column'.
4292 (f90-get-present-comment-type): Use match-string rather than
4294 (f90-match-end): Use line-beginning-position, line-end-position
4295 rather than beginning-of-line, end-of-line.
4296 (f90-startup-message): Variable removed.
4298 2002-04-24 Colin Walters <walters@verbum.org>
4300 * replace.el (occur-accumulate-lines): Add optional argument
4301 `no-props'. Handle it.
4302 (occur-engine): Use it.
4304 * ibuf-ext.el (toplevel): Remove byte-compile-dynamic. Try to set
4305 up autoloads manually.
4306 (ibuffer-split-list): New function.
4307 (ibuffer-filtering-groups): New variable.
4308 (ibuffer-hidden-filtering-groups): New variable.
4309 (ibuffer-mouse-toggle-filter-group): New function.
4310 (ibuffer-toggle-filter-group): New function.
4311 (ibuffer-toggle-filter-group-1): New function.
4312 (ibuffer-forward-filter-group): New function.
4313 (ibuffer-backward-filter-group): New funtion.
4314 (ibuffer-generate-filter-groups): New function.
4315 (ibuffer-filters-to-filter-group): New function.
4316 (ibuffer-pop-filter-group): New function.
4317 (ibuffer-jump-to-filter-group): New function.
4318 (ibuffer-do-occur): Just use `occur-read-primary-args'
4320 * ibuffer.el (ibuffer-filter-group-name-face): New.
4321 (ibuffer-mode-map): Bind and add menu entries for most new
4322 functions; also, bind the arrow keys to the movement functions.
4323 (ibuffer-mode-filter-group-map): New.
4324 (ibuffer-mouse-toggle-mark): Handle group names.
4325 (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
4326 (ibuffer-skip-properties): New function.
4327 (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
4328 group names. Also, handle new properties.
4329 (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
4330 Move error handling to `ibuffer-current-buffer'.
4331 (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
4332 (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
4333 (ibuffer-toggle-marks): Add optional group argument.
4334 (ibuffer-mark-interactive): Skip group names.
4335 (ibuffer-current-buffer): Clean up error handling.
4336 (ibuffer-fontify-region-function): Fontify group names.
4337 (ibuffer-map-lines): Add extra group argument. Handle it.
4338 (ibuffer-current-filter-groups): New function.
4339 (ibuffer-redisplay): Handle hidden filtering groups.
4340 (ibuffer-sort-bufferlist): New function, taken from
4341 `ibuffer-insert-buffers-and-marks'.
4342 (ibuffer-insert-filter-group): New function.
4343 (ibuffer-redisplay-engine): Renamed from
4344 `ibuffer-insert-buffers-and-marks'. Handle new filtering groups.
4345 (ibuffer): Add filter-groups argument. Handle it.
4346 Use `save-selected-window'.
4347 (ibuffer-mode): Make `ibuffer-filtering-groups' and
4348 `ibuffer-hidden-filtering-groups' buffer-local.
4350 * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
4352 2002-04-24 Richard M. Stallman <rms@gnu.org>
4354 * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
4355 (easy-menu-define-key-intern): Function deleted; callers intern
4356 and then call easy-menu-define-key.
4357 (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
4358 (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
4359 (easy-menu-name-match): New function.
4360 (add-submenu): New function.
4361 (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
4363 2002-04-24 Eli Zaretskii <eliz@is.elta.co.il>
4365 * menu-bar.el (menu-bar-adv-search-menu)
4366 (menu-bar-adv-search-menu): Improve the help text.
4368 2002-04-24 Simon Josefsson <jas@extundo.com>
4370 * net/netrc.el: New file.
4372 2002-04-24 Thomas DeWeese <tdeweese@rochester.rr.com>
4374 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
4375 Check if any of the available selection sources has new content
4376 and if so it will return that content.
4378 2002-04-24 Miles Bader <miles@gnu.org>
4380 * menu-bar.el (buffers-menu-show-directories)
4381 (buffers-menu-show-status): New variables.
4382 (menu-bar-update-buffers-1): Use them.
4384 2002-04-24 Martin Stjernholm <mast@lysator.liu.se>
4386 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
4387 from `c-do-auto-fill' and point is at or near the limit of the
4388 comment. Fixed bug when the prefix from `c-guess-fill-prefix'
4389 is longer than the text on the first line of the comment when
4392 2002-04-24 Miles Bader <miles@gnu.org>
4394 * menu-bar.el (menu-bar-update-buffers-1): Make sure
4395 `uniquify-buffer-name-style' is bound.
4397 2002-04-23 Colin Walters <walters@verbum.org>
4399 * replace.el (toplevel): Require `cl' while compiling.
4400 (occur-buffer, occur-nlines): Delete.
4401 (occur-revert-properties): Rename to `occur-revert-properties'.
4402 (occur-mode): Handle it. Set up font lock.
4403 (occur-revert-function): Simply apply `occur-1'.
4404 (occur-mode-find-occurence, occur-mode-mouse-goto)
4405 (occur-mode-goto-occurrence-other-window)
4406 (occur-mode-display-occurrence): Handle buffer property.
4407 (list-matching-lines-face): Use defcustom.
4408 (list-matching-lines-buffer-name-face): New variable.
4409 (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
4411 (occur-read-primary-args): Move out of `occur'.
4412 (occur): Delete. Now simply call `occur-1'.
4413 (multi-occur, multi-occur-by-filename-regexp): New functions.
4414 (occur-1): New function.
4415 (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
4416 previous implementation of `occur'; taken from ibuf-ext.el.
4417 (occur-fontify-on-property): New function.
4418 (occur-fontify-region-function, occur-unfontify-region-function):
4421 * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
4423 * ibuf-ext.el (ibuffer-depropertize-string): Delete.
4424 (ibuffer-occur-match-face): Delete.
4425 (ibuffer-occur-props, ibuffer-occur-mode): Delete.
4426 (ibuffer-occur-mouse-display-occurence): Delete.
4427 (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
4428 (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
4429 (ibuffer-occur-engine): Moved to replace.el.
4430 (ibuffer-do-occur): Simply call `occur-1'.
4432 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4433 Handle the case where we're already viewing the score file.
4435 2002-04-23 Andreas Schwab <schwab@suse.de>
4437 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
4440 2002-04-23 Miles Bader <miles@gnu.org>
4442 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
4443 directory separator if there's no directory. Don't display
4444 directories at all if uniquify is active. Some code cleanup.
4445 (uniquify-buffer-name-style): Declare (but don't initialize).
4447 * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
4448 for command menu entries, since the low-level menu code modifies
4449 them. Cache the resulting list.
4450 (menu-bar-buffers-menu-command-entries): New variable.
4452 * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
4453 Add separator line before commands
4454 Remove old crufty code that tried to line things up by adding
4455 spaces to entries (it doesn't work).
4456 Move `Frames' submenu after the normal buffers, and add a
4457 separator line before it.
4458 (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
4460 2002-04-22 Richard M. Stallman <rms@gnu.org>
4462 * files.el (after-find-file): Use %s to output MSG.
4464 * dired.el (dired-mouse-find-file-other-window):
4465 Handle events that move out of the window.
4467 2002-04-23 Martin Stjernholm <mast@lysator.liu.se>
4469 * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
4470 was moved to the following line when it was at the first line
4471 of a block comment where comment-start-skip matched to eol.
4473 2002-04-22 Richard M. Stallman <rms@gnu.org>
4475 * simple.el (line-move-finish): Find beg and end of line
4476 before calling line-move-to-column. Do consider intangible
4477 when finding the end. Take more care in analyzing the results
4478 of intangibility after line-move-to-column.
4480 2002-04-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4482 * international/mule-diag.el (list-input-methods-1): Doc fix
4483 (LEIM is now part of the standard distribution).
4485 * tmm.el (tmm-completion-prompt): Doc fix.
4487 * hilit-chg.el (global-highlight-changes): Capitalize status texts.
4489 2002-04-22 Edward M. Reingold <reingold@emr.cs.iit.edu>
4491 * diary-lib.el (include-other-diary-files): Allow modifying
4492 included buffer, to turn off selective display.
4494 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4496 * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
4497 pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
4498 emacsen that doesn't support it.
4500 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4502 * progmodes/cc-align.el, progmodes/cc-engine.el,
4503 progmodes/cc-styles.el, progmodes/cc-vars.el
4504 (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
4505 Find correct anchor for statement-cont in top level constructs.
4506 Analyze variable initializations in top level constructs as
4507 topmost-intro-cont instead of statement-cont. That is an
4508 incompatible change but it gives better consistency. The new
4509 lineup function c-lineup-topmost-intro-cont' compensates for
4510 it and is now put on topmost-intro-cont by default.
4512 * progmodes/cc-align.el, progmodes/cc-engine.el,
4513 progmodes/cc-langs.el (c-lineup-argcont): Lineup function
4514 contributed by Kevin Ryde.
4516 (c-in-gcc-asm-p): Function to recognize asm statements.
4517 Contributed by Kevin Ryde.
4519 (c-opt-asm-stmt-key): New language variable to recognize the
4520 beginning of asm statements.
4522 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4524 * progmodes/cc-engine.el (c-guess-basic-syntax):
4525 Detect variable declarations after class and struct declarations
4526 correctly. Fixed limit error when finding the anchor for
4527 template-args-cont and topmost-intro-cont.
4529 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4531 * progmodes/cc-cmds.el (c-beginning-of-defun)
4532 (c-declaration-limits): Find the "line oriented" declaration
4533 start too, just like the "line oriented" end is found.
4535 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4537 * progmodes/cc-vars.el (c-offsets-alist): A more sane default
4538 for `inexpr-statement'. This is not compatible, though.
4539 I think the benefit of a good default style outweights that in
4540 this case. Besides, `inexpr-statement' is not very common.
4542 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4544 * progmodes/cc-cmds.el (c-electric-delete-forward):
4545 Fix silly bug that caused it to delete backwards in hungry delete
4546 mode. (It's amazing that this bug hasn't been reported.)
4548 * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
4549 Extracted the code to get the declaration limits from
4550 `c-mark-function' to a new `c-declaration-limits'.
4552 (c-indent-defun): Use the same method to get the limits of the
4553 declaration or macro as `c-mark-function'.
4555 * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
4556 list initializers correctly (but costly; it ought to be
4557 integrated into `c-beginning-of-statement-1').
4559 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4561 * progmodes/cc-cmds.el, progmodes/cc-engine.el
4562 (c-beginning-of-defun, c-end-of-defun, c-mark-function):
4563 Rewritten to detect the declaration limits better.
4564 Now handles K&R argdecls, class definitions followed by variables etc.
4566 (c-in-knr-argdecl): Broke out the K&R argdecl test in
4567 `c-beginning-of-decl-1' to this new function.
4569 (c-end-of-statement-1, c-end-of-decl-1):
4570 Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
4571 handles declarations that continue after the block.
4573 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
4574 Added an option to restrict matching to the top level of the
4577 * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
4578 New regexp to recognize declarations that continue after the block.
4580 (c-syntactic-eol): New regexp to match a "syntactic" eol.
4582 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4584 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
4585 that often caused the backward limit to be lost at the top
4586 level. This improves performance a bit.
4588 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
4589 New function that works like `re-search-forward' but only returns
4590 matches in syntactically significant text.
4592 * progmodes/cc-engine.el: Fixed a faster and more accurate way
4593 to recognize K&R argdecls.
4595 (c-beginning-of-decl-1): New function that put point at the
4596 beginning of the declaration. It handles K&R argdecl blocks.
4598 (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
4599 code with one that doesn't depend on the current indentation.
4600 The anchor position for `knr-argdecl' has also changed, but in
4601 a way that is unlikely to cause compatibility problems.
4603 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4605 * progmodes/cc-defs.el, progmodes/cc-engine.el
4606 (c-forward-comment): `forward-comment' in XEmacs skips over
4607 line continuations in the backward direction. Correct for
4608 that. Also made this a defun since it has grown too large now
4611 * progmodes/cc-langs.el: More convenient and decentralized
4612 setup of the language specific variables. The regexp-opt
4613 mangling is also done at compile time now.
4615 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4617 * progmodes/cc-cmds.el (c-indent-line-or-region):
4618 Call `c-indent-line' directly instead of through
4619 `indent-according-to-mode' so that this function always
4620 indents syntactically.
4622 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
4623 where a class beginning with a nested class could cause an
4624 infinite loop (the state outside the narrowed out class is
4627 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4629 * progmodes/cc-align.el, progmodes/cc-cmds.el,
4630 progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
4631 the context sensitive analysis inside macros is restricted to
4632 the bodies of #define's; other things, like #if expressions,
4633 never have anything in common with their surroundings.
4634 The old `cpp-macro-cont' syntax is now used in situations where
4635 the syntactic analysis isn't applicable, and a new syntactic
4636 element `cpp-define-intro' is used to add indentation in
4639 (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
4640 better reflect its use.
4642 * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
4643 continuation backslashes in the detection of `arglist-cont-nonempty'.
4645 * progmodes/cc-align.el: Use the vector form in the return
4646 value in all cases where lineup functions return absolute columns.
4648 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4650 * progmodes/cc-engine.el (c-add-stmt-syntax)
4651 (c-guess-basic-syntax): Anchor `brace-list-intro' and
4652 `bracec-list-close' better for brace lists nested inside expressions.
4654 * progmodes/cc-engine.el, progmodes/cc-langs.el,
4655 progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
4656 various language specific variables and their initialization.
4657 The keyword regexps are now lists that are combined with
4658 regexp-opt. Some variables have changed names to fit better
4659 with the naming convention.
4661 * progmodes/cc-defs.el, progmodes/cc-vars.el
4662 (c-buffer-is-cc-mode): The value is the mode symbol of the
4663 original CC Mode mode.
4665 (c-major-mode-is): Compare against the buffer local variable
4666 `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
4668 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4670 * progmodes/cc-engine.el (c-forward-syntactic-ws)
4671 (c-backward-syntactic-ws, c-forward-token-1)
4672 (c-backward-token-1, c-in-literal, c-literal-limits)
4673 (c-collect-line-comments, c-literal-type, c-on-identifier)
4674 (c-guess-basic-syntax): These functions are now considered part
4675 of the "CC Mode API" and may be used by other code.
4676 That's signified by making their documentation into docstrings.
4678 (c-whack-state, c-hack-state, c-skip-case-statement-forward):
4679 Removed these internal functions since they aren't used.
4681 (c-forward-to-cpp-expression): Classified this function as internal.
4683 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4685 * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
4686 Simplified these regexps; the class keywords they contain
4687 ought to be enough to avoid false matches, so checking for
4688 following identifiers etc is just unnecessary (and might also
4689 fail for oddly formatted code).
4691 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4693 * progmodes/cc-engine.el, progmodes/cc-cmds.el
4694 (c-forward-comment-lc): New function that behaves like
4695 `c-forward-comment', with the exception that line
4696 continuations are treated as whitespace.
4698 (c-beginning-of-statement): Use `c-forward-comment-lc', to
4699 work correctly in macros and other places where line
4700 continuations should be treated as whitespace.
4702 * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
4703 normal label in a switch block as a case label, to get
4704 consistent lineup with the case labels.
4706 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
4707 in skipping over a macro that ends with an empty line.
4709 * progmodes/cc-styles.el: Require cc-align since styles added
4710 with `c-add-style' often contains references to functions
4711 defined there, and so the `c-valid-offset' check might
4712 otherwise complain on them.
4714 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4716 * progmodes/cc-align.el, progmodes/cc-mode.texi,
4717 progmodes/cc-vars.el: Added two new lineup functions:
4719 (c-lineup-knr-region-comment): A new lineup function to get
4720 (what most people think is) better indentation of comments in
4721 the "K&R region" between the function header and its body.
4723 (c-lineup-gcc-asm-reg): New lineup function for better
4724 indentation inside gcc asm blocks. Contributed by Kevin Ryde.
4726 (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
4727 `c-lineup-knr-region-comment' in the default offset
4728 configuration, since these two functions have little impact
4729 outside their intended use, and they generally do the right
4730 thing when they kick in.
4732 * progmodes/cc-engine.el (c-guess-continued-construct)
4733 (c-guess-basic-syntax): Handle nested functions in all
4734 languages, not just Pike. In C and C++ there's a gcc
4735 extension for this, and it also gives better treatment of
4736 macros that are followed by blocks.
4738 * progmodes/cc-langs.el (c-symbol-key): Made this variable
4739 mode specific, to handle Pike special symbols like `== better.
4741 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4743 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
4744 progmodes/cc-vars.el (c-report-syntactic-errors): A new
4745 variable to control the syntactic error messages. It defaults
4746 to off; since CC Mode ignores most syntactic errors it might
4747 as well ignore them all for the sake of consistency.
4749 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4751 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4752 Optimization. Can give a noticeable speedup if there's a
4753 large preceding function or class body.
4755 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4757 * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
4758 efficient and correct insertion functions in many places.
4759 Always inherit text properties correctly if the text is
4760 permanent. Also do it for speed in temporary insertions,
4761 since I figure it's less work to continue the surrounding text
4762 properties than to break them.
4764 * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
4765 completion to make it easier to enter lists.
4767 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4769 * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
4770 c-state-cache was clobbered.
4772 * progmodes/cc-cmds.el, progmodes/cc-engine.el
4773 (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
4776 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4778 * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
4779 open parens in macros (if point isn't in the same one).
4781 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4783 * progmodes/cc-cmds.el (c-context-open-line): New function
4784 that is the `open-line' equivalent to `c-context-line-break'.
4786 * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
4787 for Emacs 21 since `indent-new-comment-line' has been changed
4788 to `comment-indent-new-line' there.
4790 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4792 * progmodes/cc-engine.el, progmodes/cc-langs.el
4793 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
4794 New variables containing the character sets used to recognize
4795 statement/declaration boundaries. These variables might help
4796 to support languages like javascript and awk, where newlines
4797 sometimes delimits statements.
4799 (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
4800 the set of statement delimiting characters, to allow it to be
4801 changed dynamically and per-mode.
4803 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4805 * progmodes/cc-engine.el (c-looking-at-bos)
4806 (c-looking-at-inexpr-block, c-add-stmt-syntax)
4807 (c-guess-basic-syntax): Treat blocks directly inside function
4808 calls like "bare" statements inside function calls, and not
4809 like in-expression statements. This to make indentation of
4810 such blocks consistent with other statements inside macro calls.
4812 * progmodes/cc-engine.el (c-guess-basic-syntax):
4813 Made arglist-cont anchor correctly in arglists that contain statements.
4815 * progmodes/cc-engine.el (c-guess-basic-syntax):
4816 Fixed consistent anchoring of defun-block-intro in defuns in code
4817 blocks (can only occur in Pike).
4819 * progmodes/cc-engine.el (c-looking-at-inexpr-block)
4820 (c-looking-at-inexpr-block-backward): Changed the arguments to
4821 require containing sexps and paren state, for better efficiency.
4823 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4825 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
4826 progmodes/cc-vars.el: Improved anchoring of statement and
4827 handling of labels in front of substatements.
4829 (c-guess-continued-construct, c-guess-basic-syntax):
4830 Improved and unified anchoring at statements. Statements beginning
4831 with comments or labels are now avoided, by going out of
4832 blocks and containing statements if necessary. This nesting
4833 handling also fixes the case when there's a statement after a
4834 block open brace. Added the syntactic symbol `substatement-label'.
4836 (c-electric-colon): Map the new `substatement-label' to
4837 `label' when consulting `c-hanging-colons-alist'.
4839 (c-offsets-alist): Added substatement-label. Updated the
4840 comments for the new anchoring positions at statements.
4842 * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
4843 anchor points for knr-argdecl-intro and access-label.
4844 They used to refer to some point on the same line, a bug which was
4845 neutralized by a kludge in `c-get-syntactic-indentation' which
4846 ignored such anchor points.
4848 (c-get-syntactic-indentation): Removed the kludge that was
4849 necessary due to buggy anchor points.
4851 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
4852 the absence of a comma before arglist-close (case 7A) in any
4853 language, since there's nothing better to do that case anyway.
4854 Added special case to make in-expression statements be
4855 recognized as normal arglist-cont if we're directly in a macro
4856 arglist, for consistency with other "bare" statements.
4858 * progmodes/cc-engine.el (c-looking-at-bos): Added optional
4859 limit arg for backward searches.
4861 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4862 Anchor gcc in-expression statements at the surrounding open
4863 parenthesis. Treat a class body as an in-expression class if
4864 it's used in an object clone expression in Pike.
4866 * progmodes/cc-engine.el (c-get-offset)
4867 (c-get-syntactic-indentation): Allow several anchor positions
4868 in the list of syntactic symbols. Only the first is used as
4869 the base for the offset calculation.
4871 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4873 * progmodes/cc-cmds.el (c-indent-defun): Indent the current
4874 macro if inside one at the top level. Do not throw an error
4875 if used at the top level outside a macro.
4877 * progmodes/cc-cmds.el (c-backslash-region): Do tab width
4878 alignment only if the backslashes can't be aligned with
4879 surrounding backslashes.
4881 * progmodes/cc-engine.el (c-end-of-macro): New function.
4883 * progmodes/cc-engine.el (c-least-enclosing-brace):
4884 Rewritten to not be destructive.
4886 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4888 * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
4889 line break when point is inside the content of it; if it's in
4890 the cpp keyword a normal line break is done.
4892 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
4893 cpp-macro-cont inside the argument list to a #define.
4895 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4897 * progmodes/cc-defs.el (c-forward-comment): Implemented a
4898 kludge to avoid the problem most forward-comment incarnations
4899 have with `\' together with comment parsing.
4901 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4903 * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
4904 which could cause the state returned by `c-parse-state' to
4905 lack a closed paren element. That in turn could result in
4906 very long searches, since it's common that they start from the
4907 last preceding close brace.
4909 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4911 * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
4912 treat else-if as a single continuation, since that'd make it
4913 hard to get the right anchor point when there's a line break
4914 between the two keywords. This change causes else-clause to
4915 be anchored on the closest preceding else-if and not always on
4916 the starting if, but that doesn't affect the indentation for
4917 any reasonably sane style. Also introduced a noerror flag.
4919 (c-beginning-of-closest-statement): Removed;
4920 c-beginning-of-statement-1 now avoids the problem this one solved.
4922 * progmodes/cc-engine.el (c-guess-continued-construct)
4923 (c-guess-basic-syntax): Better and more uniform anchor points
4924 for 'statement-cont and 'substatement. The effect is
4925 noticeable mostly when there's a label on the same line as the
4926 beginning of the statement, or when there are more stuff
4927 before the start of the statement.
4929 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4930 Added flag to disable looking at the type of the surrounding paren
4931 since that confuses c-beginning-of-statement-1 and a couple of
4934 * progmodes/cc-engine.el (c-guess-basic-syntax):
4935 Avoid stepping to the previous statement in case 18.
4936 Improvements in recognition of statement blocks on the top level.
4938 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4940 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4941 (c-crosses-statement-barrier-p): Rewritten to get a well
4942 defined and documented behavior. This fixes some tricky cases
4943 in recognition of do-while constructs.
4945 (c-backward-to-start-of-do, c-backward-to-start-of-if):
4946 Removed; use c-beginning-of-statement-1 instead.
4948 (c-guess-continued-construct, c-guess-basic-syntax):
4949 Various fixes to not depend on the bugs previously in
4950 c-beginning-of-statement-1. Cleanups in cases 18 and 17 to
4951 use the new behavior of c-beginning-of-statement-1 better.
4952 Fixed recognition of catch blocks inside macros.
4954 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
4955 in skipping over a macro.
4957 * progmodes/cc-langs.el (c-label-kwds): New variable to
4958 contain the appropriate c-*-label-kwds value.
4960 * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
4961 evaluation bug that caused the widget for
4962 c-block-comment-prefix to bug out.
4964 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4966 * progmodes/cc-engine.el (c-guess-basic-syntax):
4967 Improved recognition of statements: They are now recognized in
4968 contexts where they normally can't occur, e.g. on the top level or
4969 in function call arguments. This is mainly useful to recognize
4970 statements in macros at the top level, and in arguments to
4971 macros. The cases has been moved around quite a bit, and case
4972 10 has been copied to case 18. (The cases has not been
4973 renumbered because of this.)
4975 (c-guess-continued-construct): New function which has the
4976 rules which are common between cases 10 and 18.
4978 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4979 (c-backward-to-start-of-do, c-backward-to-start-of-if):
4980 Fixes so that they really obey the passed limits.
4982 (c-safe-position): Return nil if the state doesn't contain a
4985 (c-guess-basic-syntax): Fixes some too short limits in calls
4986 to c-beginning-of-statement-1. Some fixes for top level
4987 analysis in ObjC mode.
4989 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4990 Fixed bug in do-while statements where the body is not a block.
4992 * progmodes/cc-styles.el (c-set-style):
4993 Reset c-special-indent-hook to its global value if in override mode.
4994 Fixes problem where functions on that hook remained after
4997 * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
4998 Use c-benign-error to report the c-strict-syntax-p error.
5000 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5002 * progmodes/cc-align.el, progmodes/cc-defs.el,
5003 progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
5004 Several fixes to treat macros as code and not literals and to
5005 handle line continuations transparently.
5007 (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
5008 through whitespace and line continuations, but not comments
5011 (c-in-literal): No longer recognizes macros as literals by
5012 default. An extra flag argument is required to do that.
5014 (c-macro-start, c-query-macro-start)
5015 (c-query-and-set-macro-start): Added a cache for the macro
5018 (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
5019 more speed when limits are given. Workaround for bad behavior
5020 in forward-comment in some emacsen when it hits a buffer limit
5021 with a large repeat count.
5023 (c-lineup-macro-cont): Improved behavior when
5024 c-syntactic-indentation-in-macros is nil.
5026 (c-syntactic-indentation-in-macros, c-backslash-max-column)
5027 (c-auto-align-backslashes): New customization variables to
5028 control macro handling.
5030 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
5031 Fixes to handle line continuations.
5033 * progmodes/cc-defs.el, progmodes/cc-styles.el
5034 (c-get-style-variables, c-set-offset): Report style errors
5035 with message and ding instead of error signal. This to avoid
5036 interrupted mode init if there's some style problem.
5038 (c-benign-error): New macro to report errors that doesn't need
5039 to interrupt the operation.
5041 * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
5043 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5045 * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
5046 Removed most of the c-state-cache fiddling, since the global
5047 state cache now handles this.
5049 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
5050 when there's an open paren at the very first char of the
5051 visible buffer region.
5053 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
5054 Cache the state globally and invalidate it below every buffer
5055 change with the new after change function
5056 `c-check-state-cache'. This gives a considerable performance
5057 boost when editing large functions or classes.
5059 * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
5061 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5063 * progmodes/cc-engine.el, progmodes/cc-langs.el,
5064 progmodes/cc-align.el: Improvements to syntactic analysis
5067 (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
5068 by `c-guess-basic-syntax'.
5070 (c-parse-state): Fixed bug with braces inside macros when
5071 using cached state info.
5073 (c-forward-to-cpp-expression): New function to aid in
5074 syntactic analysis inside macros.
5076 (c-beginning-of-statement-1, c-backward-syntactic-ws):
5077 Fixes to work better inside macros.
5079 (c-forward-syntactic-ws): Whitespace between the # and the
5080 command should be allowed in preprocessor directives.
5082 (c-lineup-macro-cont): New lineup function to get context
5083 sensitive indentation inside macros.
5085 (c-offsets-alist): Made `c-lineup-macro-cont' the default for
5088 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5090 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5091 (c-forward-syntactic-ws): Fixes to handle continued lines.
5093 (c-backward-to-start-of-if, c-guess-basic-syntax):
5094 Do syntactic analysis inside macros.
5096 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5098 * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
5099 possible by the more flexible state cache.
5101 * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
5102 (c-whack-state-after, c-hack-state)
5103 (c-narrow-out-enclosing-class, c-guess-basic-syntax):
5104 Improved the state cache system. It now can use partial info from
5105 an old cached state to calculate a new one at a different
5106 position. Removed some kludges to avoid the state cache.
5107 The new functions `c-whack-state-before' and `c-whack-state-after'
5108 replace the now obsolete `c-whack-state'.
5110 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5111 Optimized backing through a macro. This can speed things up
5112 quite a bit when there are long macros before point.
5114 (c-beginning-of-macro): Do not ignore the limit.
5116 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5118 * progmodes/cc-cmds.el (c-electric-continued-statement):
5119 Fixed a bug where the keyword wasn't reindented correctly if
5120 followed by another keyword or identifier.
5122 * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
5123 pairs that are in macros. Fixes some cases where e.g. the
5124 second of two "do { } while (0)" macros after each other
5125 indented differently.
5127 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5129 * progmodes/cc-engine.el (c-beginning-of-macro)
5130 (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
5131 directive when it begins a line, to allow for script
5132 interpreter lines like "#!/usr/bin/pike" at the beginning of
5135 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5137 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
5138 Recognize brace blocks inside a parenthesis expression as
5139 inexpr-statement. Useful when writing statements as macro arguments.
5141 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5143 * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
5144 (c-mask-comment): Broke out the comment masking code from
5145 `c-fill-paragraph' to a new function `c-mask-comment', to be
5146 able to do the same thing in `c-do-auto-fill'. This should
5147 make auto-fill-mode behave better.
5149 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5151 * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
5152 Check `executing-macro' to avoid blinking parens when macros
5155 * progmodes/cc-mode.el, progmodes/cc-styles.el
5156 (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
5157 consistency with `c-setup-paragraph-variables' (which was
5158 placed there due to the dependency from `c-set-style').
5160 * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
5161 incomplete initialization from the style variable fallbacks if
5162 there already is a style called "user" defined when CC Mode
5163 starts up for the first time.
5165 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5167 * progmodes/cc-cmds.el, progmodes/cc-vars.el
5168 (c-comment-indent, c-indent-comment-alist): Added new variable
5169 `c-indent-comment-alist' to allow better control over
5172 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5174 * progmodes/cc-align.el (c-lineup-C-comments): Try to match
5175 both `comment-start-skip' and the comment prefix on the
5176 current line with the comment starter, so that we line up
5177 comments which matches `c-comment-prefix-regexp' on the first
5178 line (after the `/') without the need to make
5179 `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
5181 * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
5182 (c-set-style-1, c-setup-paragraph-variables): Moved the
5183 variable initialization based on `c-comment-prefix-regexp' to
5184 a new function `c-setup-paragraph-variables', which is now
5185 used both at mode init and when a style that sets
5186 `c-comment-prefix-regexp' is activated.
5188 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5190 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
5191 Better handling of C++ template args to avoid confusion with
5192 `<' and `>' used as operators in member init expressions.
5194 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5196 * progmodes/cc-engine.el (c-most-enclosing-brace)
5197 (c-least-enclosing-brace): Added optional second arg to limit
5198 the search to before a certain point.
5200 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
5201 which could cause incorrect analysis if a cached state is used
5202 (usually only happens when an electric key reindents a line).
5204 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5206 * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
5207 insulation. This time for XEmacs 21.
5209 * progmodes/cc-engine.el, progmodes/cc-langs.el:
5210 Improved handling of inheritance lists:
5212 (c-beginning-of-inheritance-list): Rewritten to use a more
5213 syntactically correct method that doesn't get confused by
5214 badly placed linebreaks and comments.
5216 (c-guess-basic-syntax): Several fixes to the handling of
5217 inheritance lists in combination with templates. 'inher-intro
5218 is now anchored on the start of the class declaration and not
5219 the indentation of the current line. Switched places on cases
5220 5D.3 and 5D.4 and made them use more syntactically correct methods.
5222 (c-inher-key): Removed since the code in
5223 `c-guess-basic-syntax' now uses token-based search.
5225 * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
5226 Added a submenu to access some toggles.
5228 (c-toggle-syntactic-indentation): New function to toggle the
5229 variable `c-syntactic-indentation'.
5231 * progmodes/cc-styles.el (c-set-style): Improved the error
5232 message for incorrect offsets a bit.
5234 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5236 * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
5237 sexp follows point immediately, instead find the closest
5238 following open paren that ends on another line.
5240 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5242 * progmodes/cc-align.el (c-lineup-cascaded-calls):
5243 New indentation function.
5245 * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
5246 directives with whitespace between the '#' and the name.
5248 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5250 * progmodes/cc-engine.el (c-forward-syntactic-ws)
5251 (c-backward-syntactic-ws): Handle line continuations as
5252 whitespace. Don't move past a macro if that'd take us past
5255 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5257 * progmodes/cc-engine.el (c-beginning-of-macro)
5258 (c-forward-syntactic-ws): Multiline strings begin with `#"' in
5259 Pike, and that shouldn't be confused with a preprocessor directive.
5261 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5263 * progmodes/cc-cmds.el: Extended the kludge to interoperate
5264 with the delsel and pending-del packages wrt to the new
5265 function `c-electric-delete-forward'.
5267 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5269 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
5270 the block itself, i.e. only indent the contents in it.
5272 * progmodes/cc-styles.el (c-set-style): Use the default
5273 argument to completing-read instead of initial-contents, if
5274 the function is recent enough to support it.
5276 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5278 * progmodes/cc-mode.el (c-mode-help-address):
5279 Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
5280 I've almost never seen a bug reported this way that should go
5281 to that list, but it's rather common that the reports concern
5282 the combination CC Mode and XEmacs instead.
5284 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5286 * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
5287 brace-elseif-brace and brace-catch-brace are active and
5288 there's a "else if"-block before the catch block.
5290 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
5291 Detect function headers that span lines.
5293 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5295 * progmodes/cc-cmds.el (c-electric-brace)
5296 (c-electric-semi&comma, c-electric-colon, c-electric-paren):
5297 Check for last on line only for doing the auto-newline-mode
5298 stuff, not for the reindentation.
5300 * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
5301 handling of c-syntactic-indentation: When it's nil, indent the
5302 new lines but don't reindent the current one. Reindent the
5303 line only when the inserted brace comes first on it, instead
5306 * progmodes/cc-cmds.el (c-electric-brace)
5307 (c-electric-semi&comma): Fixed two places where
5308 c-syntactic-indentation wasn't heeded.
5310 * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
5313 * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
5314 little harder to find a fallback position when an orphan else
5315 is found. Fixed case where an else following a do-while
5316 statement could be associated with an if inside the do-while.
5318 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5320 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
5321 for the fallback to add a single space after the comment prefix.
5323 * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
5324 behavior in some special cases, especially for single-line comments.
5325 Avoid breaking up a comment starter or ender.
5327 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5329 * progmodes/cc-cmds.el (c-outline-level): Applied patch from
5330 the Emacs sources to make this work in invisible text.
5332 * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
5333 not be confused by a later ':' on the same line as the label.
5335 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5337 * progmodes/cc-cmds.el, progmodes/cc-mode.el
5338 (c-electric-delete, c-electric-delete-forward):
5339 Split `c-electric-delete' into two functions where
5340 `c-electric-delete-forward' always deletes forward and
5341 `c-electric-delete' only contains the code necessary for
5342 XEmacs to choose between backward and forward deletion.
5343 `c-electric-delete-forward' is now bound to C-d to get the
5344 electric behavior on that key too.
5346 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5348 * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
5349 use of c-comment-prefix-regexp, which caused an error when
5352 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5354 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
5355 (c-default-style): Removed the hardcoded switch to "java" style
5356 in Java mode. It's instead taken care of by the default value
5357 for c-default-style.
5359 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5361 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
5362 was triggered by equal signs in string literals.
5364 2002-04-21 Kim F. Storm <storm@cua.dk>
5366 * subr.el (insert-buffer-substring-no-properties): New function.
5367 (insert-buffer-substring-as-yank): New function.
5369 2002-04-21 Glenn Morris <gmorris@ast.cam.ac.uk>
5371 * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
5372 (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
5373 prefix from scroll commands. Ignore end-of-buffer errors from
5375 (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
5377 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
5380 * files.el: (auto-mode-alist): .f95 files in f90-mode.
5382 * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
5383 a DO statement irrespective of numeric label.
5385 2002-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
5387 * files.el (auto-save-file-name-transforms): Doc fix.
5388 Add third element to "uniquify" filenames.
5389 (make-auto-save-file-name): Use new element of
5390 auto-save-file-name-transforms.
5391 * startup.el (command-line): Add third element to
5392 auto-save-file-name-transforms.
5394 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
5396 * files.el (file-name-non-special): Don't mangle the 0'th arg and the
5397 return value of file-name-completion and file-name-all-completions.
5399 2002-04-19 Glenn Morris <gmorris@ast.cam.ac.uk>
5401 * progmodes/f90.el: Update maintainer.
5402 (f90-line-continued): Recognize blank/comment lines embedded in
5404 (f90-looking-at-program-block-start): No extra indentation after
5405 function or subroutine keyword appears in single quotes.
5407 2002-04-19 Miles Bader <miles@gnu.org>
5409 * custom.el (customize-mark-to-save, customize-mark-as-set)
5410 (custom-quote): Moved here from `cus-edit.el'.
5411 * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
5412 (custom-quote): Moved to `custom.el'.
5414 2002-04-18 Richard M. Stallman <rms@gnu.org>
5416 * facemenu.el (list-text-properties-at): Command deleted.
5418 * rect.el (insert-rectangle): Use insert-for-yank.
5420 * register.el (insert-register): Use insert-for-yank.
5421 (describe-register-1): Discard text props in yank-excluded-properties.
5423 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
5424 Fix parts in construction of `menu-item' item at end.
5426 * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
5428 * subr.el (insert-for-yank): New function.
5430 * simple.el (yank-excluded-properties): New user option.
5431 (yank-pop, yank): Use insert-for-yank.
5433 2002-04-19 Kim F. Storm <storm@cua.dk>
5435 * simple.el (pop-to-mark-command): Do not set this-command.
5436 (set-mark-command): Always jump to mark when called with arg.
5438 2002-04-18 Francesco Potorti` <pot@gnu.org>
5440 * comint.el (comint-watch-for-password-prompt): Remove whitespace
5441 at the beginning of password prompts.
5443 2002-04-18 Andrew Innes <andrewi@gnu.org>
5445 * facemenu.el: Remove require of wid-edit.
5447 2002-04-17 Colin Walters <walters@verbum.org>
5449 * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
5451 (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
5452 (ibuffer-current-state-list): Reinstate optional argument; now
5453 just call `point' inside the mapping function.
5455 2002-04-17 Francesco Potorti` <pot@gnu.org>
5457 * dired-aux.el (dired-star-subst-regexp)
5458 (dired-quark-subst-regexp): New constants.
5459 (dired-do-shell-command, dired-shell-stuff-it): Use them.
5460 (dired-do-shell-command): Raise an error if both `*' and `?'
5461 substitution marks are used in the same command.
5462 (dired-shell-stuff-it): Substitute all instances of `*' and `?'
5463 in a command given via dired-do-shell-command.
5465 * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
5467 2002-04-16 Jason Rumney <jasonr@gnu.org>
5469 * international/mule-cmds.el (locale-preferred-coding-systems):
5472 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
5474 * term.el (term-emulate-terminal): Fix last change.
5476 2002-04-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5478 * bindings.el (mode-line-mode-menu): Update names to reflect
5481 2002-04-16 Mike Williams <mdub@bigfoot.com>
5483 * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
5486 2002-04-16 Michael Kifer <kifer@cs.stonybrook.edu>
5488 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
5489 (viper-ex-print-buf-name): New variable.
5490 (viper-ex-print-buf): New variable.
5491 (ex-token-alist): Invoke ex-print on ":print" Ex commands.
5492 (ex-g-marks): New variable.
5493 (ex-print): New function.
5494 (ex-print-display-lines): New function.
5496 * viper.el (viper-set-hooks): Add window-setup-hook, which sets
5499 * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
5500 when the window is not in its own frame.
5501 (ediff-clone-buffer-for-region-comparison): More robust window
5502 arrangement while prompting for regions to compare.
5503 (ediff-make-cloned-buffer): Use generate-new-buffer-name.
5504 (ediff-inferior-compare-regions): Deleted unused vars
5505 ctl-buf and quit-now.
5507 2002-04-15 Richard M. Stallman <rms@gnu.org>
5509 * facemenu.el (facemenu-add-new-face): Use this only for faces.
5511 (facemenu-add-new-color): New function.
5512 (facemenu-set-foreground, facemenu-set-background):
5513 Use facemenu-add-new-color.
5515 2002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
5517 * ediff-init.el (ediff-current-diff-face-A)
5518 (ediff-current-diff-face-B, ediff-current-diff-face-C)
5519 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
5520 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
5521 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
5522 (ediff-even-diff-face-B, ediff-even-diff-face-C)
5523 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
5524 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
5525 (ediff-odd-diff-face-Ancestor): Add special color definitions for
5526 tty and MS-DOS displays.
5528 2002-04-15 Andrew Innes <andrewi@gnu.org>
5530 * facemenu.el: Require wid-edit.
5532 2002-04-15 Miles Bader <miles@gnu.org>
5534 * faces.el (highlight): Force foreground to be black on a tty, so
5535 this face is readable on a dark-background tty.
5536 * wid-edit.el (widget-field-face, widget-single-line-field-face):
5539 2002-04-14 Kim F. Storm <storm@cua.dk>
5541 * simple.el (pop-to-mark-command, push-mark-command): New commands.
5542 (set-mark-command): Use them.
5543 Enhanced functionality when command is repeated:
5544 - If first command set the mark (no prefix arg), repeat temporarily
5545 enables transient-mark-mode.
5546 - If first command jumped to mark off ring (with argument),
5547 repeat (with or without arg) jump to next mark off ring.
5548 - Use C-u C-u prefix to set mark after jump.
5549 (exchange-point-and-mark): Temporarily enable transient-mark-mode
5552 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5554 * speedbar.el (speedbar-tag-hierarchy-method)
5555 (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
5557 2002-04-14 Mike Williams <mdub@bigfoot.com>
5559 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
5560 beginning of buffer.
5562 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5564 * speedbar.el (speedbar-generic-item-info)
5565 (speedbar-sort-tags): Doc fix.
5566 (speedbar-add-supported-extension): Fix typo in interactive spec.
5568 2002-04-13 Colin Walters <walters@verbum.org>
5570 * ibuffer.el (ibuffer-forward-line): Just skip header if we're
5571 only moving one line forward.
5572 (ibuffer-map-lines): Preserve point position even if we delete
5573 lines. Only call mapping functions with buffer and mark
5574 arguments; the other two were unused.
5575 (ibuffer-redisplay, ibuffer-update): Always skip special areas.
5577 * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
5579 * calc/calc-bin.el (math-format-radix-float): Use `when'.
5581 * calc/calc.el (math-format-number): Load `calc-ext' before we
5582 call `math-group-float'.
5584 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
5585 Renamed from `gamegrid-add-score'.
5586 (gamegrid-add-score-insecure): Restored from the old
5587 `gamegrid-add-score'.
5588 (gamegrid-add-score): Just dispatch on `system-type' to one of the
5589 previous two functions.
5591 2002-04-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5593 * iswitchb.el: Update commentary to include new function
5594 iswitchb-exclude-nonmatching.
5596 2002-04-12 John Wiegley <johnw@gnu.org>
5598 * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
5599 operating systems to the regexp used to detect a script's interpreter.
5601 2002-04-12 Eli Zaretskii <eliz@is.elta.co.il>
5603 * frame.el (frames-on-display-list): Use `equal' to compare the
5604 `display' frame parameter to the argument DISPLAY.
5606 2002-04-12 Dave Love <fx@gnu.org>
5608 * help.el (string-key-binding): Deal with margin events.
5610 2002-04-12 Francesco Potorti` <pot@gnu.org>
5612 * comint.el (comint-password-prompt-regexp): Match " SMB password".
5614 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
5616 * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
5618 * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
5620 * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
5621 (buffer-syntactic-context-depth): New funs.
5623 * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
5626 * emacs-lisp/debug.el (debug-on-entry): Use push.
5627 (debugger-make-xrefs): Don't assume point-min == 1.
5629 * progmodes/cc-engine.el (c-backward-to-start-of-if):
5630 Don't assume point-min == 1.
5632 * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
5633 (etags-list-tags, etags-tags-apropos, select-tags-table):
5634 Don't assume point-min == 1.
5636 2002-04-12 Mike Williams <mdub@bigfoot.com>
5638 * textmodes/sgml-mode.el (sgml-guess-indent): New function.
5640 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
5642 * textmodes/fill.el (fill-context-prefix): Fix up last change.
5644 * simple.el (line-move): Use memq rather than or.
5645 (transpose-sexps): Don't presume as much of forward-sexp's behavior.
5646 (do-auto-fill): Use fill-move-to-break-point.
5647 (syntax-code-table): Remove.
5649 * textmodes/fill.el (canonically-space-region): Obey sentence-end.
5650 Don't add spaces at end of sentences at end of line.
5651 (fill-move-to-break-point): Make sure the result is always greater
5652 than linebeg, so we ensure forward progress.
5653 (fill-region-as-paragraph): Compare to `to' rather than eobp.
5654 (fill-paragraph): Don't rebind fill-paragraph-function.
5656 2002-04-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5658 * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
5660 2002-04-11 Andreas Schwab <schwab@suse.de>
5662 * files.el (file-name-non-special): Handle return value of t from
5663 `file-name-completion'.
5665 2002-04-10 Stefan Monnier <monnier@cs.yale.edu>
5667 * textmodes/fill.el (fill-context-prefix): Match the two prefixes
5668 differently to avoid pathological exponential-time case.
5669 (adaptive-fill-regexp): Add ! and %.
5670 (fill-delete-prefix): Remove indentation while removing prefix.
5671 (fill-delete-newlines): Obey sentence-end.
5672 (fill-move-to-break-point, fill-newline): New functions extracted
5673 from fill-region-as-paragraph.
5674 (fill-region-as-paragraph): Use them.
5675 Don't fiddle with fill-indent-according-to-mode.
5677 2002-04-10 Colin Walters <walters@verbum.org>
5679 * play/snake.el (snake-score-file): Default to just "snake-scores".
5681 * play/tetris.el (tetris-score-file): Likewise.
5683 * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
5684 use `update-game-score'.
5686 * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
5687 (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
5688 ourselves; take it as an argument. Caller updated.
5689 (ibuffer-mode): Make mode-class special.
5691 2002-04-10 Richard M. Stallman <rms@gnu.org>
5693 * dired.el (dired-view-command-alist): New variable.
5694 (dired-view-file): Use external viewers for some files names.
5696 * mouse.el (mouse-drag-region-1): Display region highlight
5697 only in the selected window.
5699 * subr.el (remove-hook): When there are no more local hooks,
5700 kill the buffer-local value.
5702 * isearch.el (isearch-mode): Don't call make-frame-visible
5703 if frame is already visible.
5705 * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
5707 2002-04-09 Emmanuel Briot <briot@act-europe.fr>
5709 * progmodes/ada-prj.el: Add support for the new project file
5710 fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
5711 Fix widget handling for Emacs 21. ada-mode now only supports a single
5712 active project file, instead of one per buffer. This is far less
5715 * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
5716 (ada-func-or-proc-name): Get real subprogram name, after change in
5719 * progmodes/ada-xref.el: Ada-mode no longer supports a different
5720 project file per buffer. This was too complex. Instead, there is
5721 now a single active project file at any given time, and the user
5722 can switch the active one through the Ada menu. This revision
5723 also provides better handling of the Windows command line, and the
5724 various available shells on that platform. ada-mode is now fully
5725 integrated with the GNU visual debugger gvd, see
5726 http://libre.act-europe.fr.
5727 (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
5728 This is only available with GNAT 3.14.
5729 (ada-prj-gnatfind-switches, ada-cd-command): New variable.
5730 (ada-quote-cmd): New function.
5731 (ada-initialize-runtime-library): Get the location of the actual
5732 runtime the compiler will be using, including support for
5733 cross-platform environments.
5734 (ada-treat-cmd-string): Add support for the new variable
5735 ${full_current} add support for debug-pre-cmd and debug-post-cmd,
5736 two commands to run just prior to running the debugger, and just
5737 after starting it. This provide better support for cross-platform
5738 and remote debugging.
5739 (ada-get-absolute-dir): Remove, replace with expand-file-name.
5740 (ada-gdb-application): New parameter executable-name.
5741 (ada-get-ali-file-name): Better handling of separate packages.
5742 Checkin on behalf of the ada-mode maintainer.
5744 * progmodes/ada-mode.el (ada-case-exception-file)
5745 (ada-indent-handle-comment-special): New variables.
5746 (ada-case-exception-substring): New variable. Casing exceptions
5747 can now also be defined for substrings, in addition to full
5748 identifier names. This provides more flexibility.
5749 (ada-align-list): New fun, provide support for align.el in ada-mode.
5750 (ada-procedure-start-regexp): Add support for operators and
5751 generic formal subprograms and packages.
5752 (ada-imenu-comment-re): New variable.
5753 (ada-imenu-generic-expression): Add support for protected types.
5754 (ada-mode): Set comment-start only after running ada-mode-hook, so
5755 that the user can change ada-comment-start in the hook.
5756 Add support for ispell in comments. Add support for align.el.
5757 (ada-save-exception-file, ada-create-case-exception-substring)
5758 (ada-adjust-case-substring): New functions.
5759 (ada-get-current-indent): Properly handles keywords with uppercases.
5760 (ada-goto-matching-end): Rewritten, fixes problems in the handling
5762 (ada-untab-hard): Do not touch the contents of comments and strings.
5764 2002-04-09 Mike Williams <mdub@bigfoot.com>
5766 * textmodes/sgml-mode.el (sgml-lexical-context):
5767 Use sgml-parse-tag-backward to find start point.
5768 (sgml-looking-back-at): Doc fix.
5770 2002-04-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5772 * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
5775 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
5777 * autorevert.el (auto-revert-mode, global-auto-revert-mode):
5778 Use define-minor-mode.
5779 (auto-revert-buffers): Use with-current-buffer.
5780 Avoid changing the minor modes.
5782 * international/iso-acc.el (iso-accents-accent-key): Use `vector'
5783 rather than char-to-string since last-input-char can be any event.
5785 * international/titdic-cnv.el (tit-dictionary):
5786 Use defvar for non-constants.
5788 * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
5789 (global-cwarn-mode): Use easy-mmode-define-global-mode.
5790 (cwarn-font-lock-keywords): New function.
5791 Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
5792 (cwarn-font-lock-match): New macro.
5793 (cwarn-font-lock-match-assignment-in-expression)
5794 (cwarn-font-lock-match-dangerous-semicolon)
5795 (cwarn-font-lock-match-reference): Use it.
5797 * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
5798 Use defvar rather than defconst since it's meant to be settable.
5799 (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
5800 (cperl-fix-line-spacing): Add missing \ in [ t].
5802 * loadup.el: Call ucs-unify-8859 directly rather than
5803 unify-8859-on-encoding-mode.
5804 (fns-*.el): Don't use it anymore. Keep the load-history in purespace.
5806 * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
5807 (sgml-mode): Use it for comment-line-break-function.
5809 2002-04-08 Jason Rumney <jasonr@gnu.org>
5811 * international/mule-cmds.el (reset-language-environment):
5812 Handle coding-systems not being defined yet.
5814 2002-04-08 Sam Steingold <sds@gnu.org>
5816 * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
5817 (vc-cvs-checkin): Use it.
5819 2002-04-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5821 * files.el (display-time-string): Fix last change.
5823 2002-04-07 Sam Steingold <sds@gnu.org>
5825 * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
5827 2002-04-07 Jason Rumney <jasonr@gnu.org>
5829 * international/mule-cmds.el (set-default-coding-systems)
5830 (reset-language-environment): Preserve eols on
5831 default-process-coding-system.
5832 (coding-system-change-text-conversion): Fix case where CODING is nil.
5834 2002-04-07 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5836 * subr.el (play-sound): Move here from simple.el.
5838 * simple.el (play-sound): Move to subr.el.
5840 2002-04-06 Richard M. Stallman <rms@gnu.org>
5842 * files.el (display-time-string-forms): Mark as risky.
5844 * enriched.el (enriched-decode-foreground, enriched-decode-background):
5845 Use proper format for desired elts of `face' property.
5846 Don't test display-color-p; make the properties unconditionally.
5848 * progmodes/compile.el (compilation-error-regexp-alist):
5849 New alternatives for FILE:LINE.COL and for ranges of columns and lines.
5851 2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
5853 * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
5854 for customization type.
5855 Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
5857 2002-04-06 Mike Williams <mdub@bigfoot.com>
5859 * textmodes/xml-lite.el: Remove.
5861 2002-04-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5863 * simple.el (play-sound): New function (uses play-sound-internal).
5865 2002-04-04 Richard M. Stallman <rms@gnu.org>
5867 * files.el (mode-line-format, mode-line-modified)
5868 (mode-line-mule-info, mode-line-buffer-identification)
5869 (mode-line-modes, mode-line-position): Explicitly mark as risky.
5870 (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
5872 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
5874 * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
5875 Use (syntax-table), not old-syntax-table.
5877 * enriched.el (enriched-decode-foreground)
5878 (enriched-decode-background): Don't call facemenu-get-face.
5880 2002-04-04 Mike Williams <mdub@bigfoot.com>
5882 * textmodes/sgml-mode.el: Add missing require.
5883 (sgml-lexical-context): Fix up CDATA detection for boundary cases.
5885 2002-04-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
5887 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
5888 spot indicated by text property `cvs-goal-column', if present.
5890 * pcvs-info.el (cvs-fileinfo-pp): Use text property
5891 `cvs-goal-column' to indicate position of file name (if present).
5893 2002-04-03 Richard M. Stallman <rms@gnu.org>
5895 * mail/mailabbrev.el (mail-abbrev-complete-alias):
5896 Call mail-abbrev-make-syntax-table.
5898 * format.el (format-deannotate-region): Doc fix.
5900 * enriched.el (enriched-face-ans): Delete special treatment
5901 for fg:... and bg:... faces.
5902 (enriched-decode-foreground): Return a list that specifies
5903 the foreground color, rather than creating a face.
5904 (enriched-decode-background): Likewise.
5906 * shell.el (shell-mode): Don't reinit comint-input-ring
5907 if that was already done.
5909 2002-04-03 Edward M. Reingold <reingold@emr.cs.iit.edu>
5911 * solar.el (solar-spring-or-summer-season): Delete.
5912 (solar-northern-spring-or-summer-season): New variable.
5913 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
5916 * solar.el (diary-sabbath-candles-minutes): New variable.
5917 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
5919 * calendar.el (update-calendar-mode-line): Force mode-line update.
5920 Make date under the cursor available as `date' in
5921 calendar-mode-line-format.
5922 Eval items in calendar-mode-line-format list.
5924 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
5925 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
5927 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
5929 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
5930 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
5931 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5932 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
5934 * cal-tex.el: Change all instances (interactive "P") to
5936 (cal-tex-cursor-month): Add hfill and newline at end of month that
5938 (cal-tex-preamble): Change to LaTeX2e.
5939 (cal-tex-cursor-filofax-year): Don't use default month names in
5940 LaTeX macros in case user changes them.
5941 (cal-tex-month-name): New function. Used throughout in case user
5942 has done something funny with month names.
5944 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
5945 (diary-rosh-hodesh): Spelling correction.
5947 2002-04-03 Mike Williams <mdub@bigfoot.com>
5949 * textmodes/sgml-mode.el (sgml-lexical-context)
5950 (sgml-parse-tag-backward): Extend support for CDATA to include
5951 conditional sections.
5953 2002-04-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5955 * cus-start.el: Rename `autoselect-window' to
5956 `mouse-autoselect-window'.
5958 2002-04-02 Richard M. Stallman <rms@gnu.org>
5960 * files.el (hack-one-local-variable):
5961 Clear text props from string value.
5963 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
5965 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5966 (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
5968 (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
5970 (f90-procedures-re): Add `null' and `cpu_time' from F95.
5971 (f90-font-lock-keywords-1): Minor reorganization so we don't need
5972 `override' any more.
5973 (f90-font-lock-keywords-3): Use `keep' rather than `override'.
5974 (f90-indent-subprogram): Use indent-region.
5975 (f90-break-line): Use indent-according-to-mode.
5977 2002-04-02 Mike Williams <mdub@bigfoot.com>
5979 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
5980 sgml-insert-end-tag. Simplify by using sgml-lexical-context.
5981 (sgml-get-context): Remove use of sgml-inside-tag-p.
5982 (sgml-inside-tag-p): Remove.
5983 (sgml-looking-back-at): Short-circuit at beg of buffer.
5984 (sgml-lexical-context, sgml-calculate-indent): Add support for
5987 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
5989 * help.el (help-key-description): New fun.
5990 (describe-key-briefly, describe-key): Use it and
5991 this-single-command-raw-keys plus new arg `untranslated'.
5993 * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
5994 (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
5995 (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
5996 (sgml-insert-end-tag): New funs taken from xml-lite.el.
5997 (sgml-calculate-indent): Use them.
5998 (sgml-slash-matching): Rename from sgml-slash.
5999 (sgml-slash): Copied from xml-lite and changed to use
6000 sgml-slash-matching and sgml-quick-keys.
6002 * international/mule-cmds.el (standard-keyboard-coding-systems):
6003 Add koi8-u and koi8-r.
6005 * eshell/.cvsignore: New file.
6007 * eshell/esh-groups.el: Remove.
6009 * progmodes/tcl.el: Change maintainer.
6010 (tcl-electric-hash-style): Change default to nil.
6011 (tcl-imenu-generic-expression): Use tcl-proc-regexp.
6012 (tcl-do-auto-fill): Remove.
6013 (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
6015 2002-04-01 Mike Williams <mdub@bigfoot.com>
6017 * textmodes/sgml-mode.el: Doc fixes.
6018 (sgml-mode): Set indent-line-function to sgml-indent-line.
6019 (sgml-calculate-indent): Add an explicit check for 'text syntax,
6020 to protect against future enhancements to sgml-lexical-context.
6021 (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
6023 * textmodes/xml-lite.el: Removed much redundant stuff.
6024 (xml-lite-parse-tag-backward): Simplify parsing by assuming we
6025 always start within text. Make use of sgml-unclosed-tag-p.
6027 2002-04-01 Ville Skytt
\e,Ad
\e(B <ville.skytta@xemacs.org>
6029 * tcl.el (tcl-imenu-generic-expression): New value.
6030 (tcl-imenu-create-index-function): Function deleted.
6031 (tcl-mode): Check for filladapt-mode.
6032 Use tcl-imenu-generic-expression instead of
6033 tcl-imenu-create-index-function.
6034 (inferior-tcl-mode): Doc fix.
6035 Change not legally significant.
6037 2002-04-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6039 * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
6041 * window.el (handle-select-window): New function.
6044 2002-04-01 Richard M. Stallman <rms@gnu.org>
6046 * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
6048 * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
6049 tool-bar-add-item, and new arg MAP.
6050 (tool-bar-add-item): Now calls tool-bar-local-item.
6051 (tool-bar-local-item-from-menu): Renamed from
6052 tool-bar-add-item-from-menu, and new arg IN-MAP.
6053 (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
6055 * help-fns.el (help-with-tutorial): Allow various ways
6056 to specify the text in the [...] line, in handling the <...> line.
6058 * progmodes/idlw-rinfo.el (idlwave-system-routines):
6059 WOLRDTITLE => WORLDTITLE. SUPRESS_VALUE => SUPPRESS_VALUE.
6061 * subr.el (redraw-modeline): Define alias.
6063 2002-03-31 Richard M. Stallman <rms@gnu.org>
6065 * files.el (file-expand-wildcards): Use save-match-data.
6067 * files.el (format-alist): Mark as risky.
6069 * simple.el (kill-new): Doc fix.
6071 * emacs-lisp/byte-opt.el (side-effect-free-fns)
6072 (side-effect-and-error-free-fns): Add many functions, remove some.
6074 2002-03-30 Richard M. Stallman <rms@gnu.org>
6076 * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
6078 2002-03-30 Eli Zaretskii <eliz@gnu.org>
6080 * font-lock.el (save-buffer-state): Fix last change.
6082 * files.el (auto-save-file-name-transforms): Fix last change.
6084 * startup.el (command-line): Fix last change.
6086 2002-03-29 Richard M. Stallman <rms@gnu.org>
6088 * subr.el (play-sound-file): Moved to simple.el.
6090 * simple.el (play-sound-file): Moved from subr.el, made unconditional.
6092 2002-03-29 Colin Walters <walters@verbum.org>
6094 * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
6095 instead of `forward-line'.
6096 (ibuffer-forward-line): Be sure to skip over special properties
6099 * calc/calc.el (calc-was-split): Var deleted.
6100 (calc): Remove reference to it.
6103 (calc-init-base): Ditto.
6105 * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
6107 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
6109 * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
6110 instead of nil when point is outside of any tag.
6111 (sgml-beginning-of-tag): Adjust to the change.
6112 (sgml-calculate-indent): Use the new info returned by
6113 sgml-lexical-context. Try to handle unclosed tags.
6115 * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
6116 at unclosed tags unless it is at indentation.
6117 Kill nested unclosed tags.
6118 (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
6119 (xml-lite-mode): Use sgml-indent-line instead.
6121 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
6123 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
6126 * startup.el (command-line): Recompute auto-save-file-name-transforms
6127 using the updated value of temporary-file-directory.
6129 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
6131 * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
6132 even with an empty context. Don't save excursion any more.
6133 Don't complain about unmatched start-tags in sgml-unclosed-tags.
6134 Ignore end-tags in sgml-empty-tags.
6135 (xml-lite-get-context, xml-lite-calculate-indent)
6136 (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
6137 (xml-lite-indent-line): Use back-to-indentation.
6139 * textmodes/sgml-mode.el (sgml-basic-offset): New var.
6140 (sgml-name-re, sgml-attrs-re): New consts.
6141 (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
6142 (sgml-mode): Use them.
6143 (sgml-lexical-context): Default to (point-min) if nothing else works.
6144 (sgml-calculate-indent): Indent slightly differently.
6145 (sgml-indent-line): Use back-to-indentation.
6146 (sgml-parse-dtd): New function.
6147 (sgml-unclosed-tags): New var.
6148 (html-mode): Set it.
6150 2002-03-29 Simon Marshall <simon.marshall@misys.com>
6152 * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
6154 2002-03-29 Richard M. Stallman <rms@gnu.org>
6156 * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
6157 Use FILTER arg in dired-get-marked-files to exclude directories.
6158 (dired-nondirectory-p): New function.
6160 * dired.el (dired-get-marked-files): New arg FILTER
6161 allows selection of some files.
6163 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
6165 2002-03-29 Eric M. Ludlam <eric@siege-engine.com>
6167 * speedbar.el (speedbar-default-directory-list): Made robust
6168 against deleted directories.
6170 2002-03-28 Richard M. Stallman <rms@gnu.org>
6172 * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
6175 * progmodes/compile.el (compilation-handle-exit):
6176 If compilation-window-height is 0, display status in echo area.
6178 * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
6180 * rect.el (replace-rectangle): Add autoload.
6182 * files.el: Mark many more variables as risky.
6183 (hack-one-local-variable): Recognize several additional
6186 * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
6188 2002-03-28 Stefan Monnier <monnier@cs.yale.edu>
6190 * textmodes/xml-lite.el (xml-lite-in-string-p):
6191 Use sgml-lexical-context.
6192 (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
6193 (xml-lite-get-context): Check that open/close tags match.
6194 Don't stop scanning while we're ignoring matching tags.
6196 * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
6197 (sgml-mode-syntax-table): Use it.
6198 (sgml-tag-syntax-table, sgml-tag-name-re): New const.
6199 (sgml-tags-invisible): Use it.
6200 (sgml-lexical-context): New fun.
6201 (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
6202 (sgml-quote): Accept \n as entity reference terminator.
6203 (sgml-calculate-indent, sgml-indent-line): New funs.
6205 2002-03-28 Andre Spiegel <spiegel@gnu.org>
6207 * vc-cvs.el (vc-cvs-global-switches): New user option.
6208 (vc-cvs-command): New function. Update all callers of
6209 `vc-do-command' in vc-cvs.el to use this instead.
6211 2002-03-27 Andrew Innes <andrewi@gnu.org>
6213 * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
6214 relying on shell globbing.
6216 2002-03-27 Colin Walters <walters@debian.org>
6218 * ibuffer.el (ibuffer-help-buffer-modes): New variable.
6219 (ibuffer-fontification-alist): Use it.
6220 (ibuffer-backward-line): Handle `ibuffer-summary' area.
6221 (ibuffer-forward-line): Ditto.
6223 * ibuf-ext.el (sorter mode-name): Doc fix.
6224 (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
6225 (operation query-replace): Use new `noerror' arg for
6226 `query-replace-read-args'.
6227 (operation query-replace-regexp): Ditto.
6229 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
6231 * textmodes/xml-lite.el: Fix copyright notice.
6232 (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
6233 (xml-lite-indent-comment-offset): Remove.
6234 (xml-lite-calculate-indent): Use new name. Use natural alignment
6236 (xml-lite-in-string-p): Simplify.
6238 2002-03-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6240 * allout.el (outline-layout): Doc fix.
6242 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
6244 * textmodes/xml-lite.el: Don't require `custom'.
6245 (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
6246 (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
6247 (xml-lite-get-context): Drop nested tags not just for comments.
6248 (xml-lite-indent-line): Be more careful about moving point.
6249 (xml-lite-insert-end-tag, xml-lite-slash):
6250 Use indent-according-to-mode instead of xml-lite-indent-line.
6251 (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
6252 Set sgml-xml-mode. Don't call force-mode-line-update.
6253 (xml-lite-mode-map): Don't bind TAB.
6255 2002-03-27 Zoltan Kemenczy <zoltan@ieee.org>
6257 * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
6259 (gud-jdb-build-source-files-list): Comment clarification.
6260 (gud-jdb-massage-args): Reworked into loop-based argument list
6261 processing in order to support -classpath and -sourcepath argument
6263 (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
6264 to gud-jdb-classpath to obtain search list.
6265 (gud-jdb-parse-classpath-string): Remove any trailing slashes from
6266 directory names in classpath/sourcepath lists, update comment.
6267 (jdb): Add setting of gud-jdb-sourcepath, update comment.
6268 (gud-find-class): Add gud-jdb-sourcepath use, and correct
6269 behaviour for the case when classpath is not used--backward
6272 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
6274 * Makefile.in (compile, compile-always): Don't try to compile
6275 non-existent files or files in empty directories.
6277 2002-03-26 Michael Ernst <mernst@alum.mit.edu>
6279 * compare-w.el (compare-windows-whitespace): Match all whitespace.
6281 * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
6282 copy of standard Lisp directories.
6284 * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
6285 Support "next has longname" link type.
6287 2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
6289 * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
6290 (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
6292 (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
6293 (end-of-xml-tag): Remove.
6294 (xml-lite-get-context): Better handling of comments.
6295 (xml-lite-calculate-indent): Use xml-lite-in-string-p.
6296 (xml-lite-parse-tag-backward): Rewrite.
6298 2002-03-26 Juanma Barranquero <lektu@terra.es>
6300 * makefile.w32-in (WINS): Add the toolbar directory.
6302 2002-03-26 Richard M. Stallman <rms@gnu.org>
6304 * subr.el (substring-no-properties): Function deleted (now in C).
6306 2002-03-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6308 * mwheel.el (mouse-wheel-mode): Use global-set-key and
6311 2002-03-24 Richard M. Stallman <rms@gnu.org>
6313 * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
6315 * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
6316 to query-replace-read-args.
6318 * progmodes/compile.el (compilation-forget-errors):
6319 Don't adjust compilation-parsing-end if it's nil.
6321 * replace.el (query-replace-read-args): New optional arg NOERROR.
6322 (perform-replace): Use save-window-excursion around recursive edit.
6324 2002-03-24 Colin Walters <walters@verbum.org>
6326 * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
6327 non-nil, then always use another window.
6329 2002-03-24 Gerd Moellmann <gerd@gnu.org>
6331 * subr.el (macro-declaration-function): New function. Set the
6332 variable macro-declaration-function to it.
6334 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6335 Handle declarations in macro definitions.
6337 2002-03-24 Eli Zaretskii <eliz@is.elta.co.il>
6339 * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
6341 * enriched.el (enriched-face-ans): Support FACE of the form
6342 (:foreground COLOR) and (:background COLOR).
6343 (enriched-decode-foreground, enriched-decode-background): Set the
6344 fore- and background colors of the faces we create, since facemenu
6347 2002-03-24 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6349 * mwheel.el (mouse-wheel-mode): Use the result of
6350 current-global-map instead of the variable `global-map'.
6352 2002-03-23 Richard M. Stallman <rms@gnu.org>
6354 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
6355 broken out of sendmail-pre-abbrev-expand-hook.
6356 (sendmail-pre-abbrev-expand-hook): Use it.
6358 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
6360 * Makefile.in (finder-inf.el): Remove.
6361 (finder-data): Don't depend on finder-inf.el any more.
6362 (compile, compile-always): Handle the case where some files
6363 from DONTCOMPILE are missing (it tried to compile them).
6364 (bootstrap-clean): Use src/emacs only if executable.
6365 (bootstrap): Update subdirs.el and finder-inf.el.
6367 * finder.el: Don't load finder-inf.el during byte-compilation.
6369 * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
6370 Don't consider cvs-removed files as under VC control.
6371 VC wouldn't handle them properly anyway and it confuses
6372 vc-file-not-found-hook.
6374 * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
6375 Add autoload cookie.
6377 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
6379 * calendar/calendar.el (calendar): Doc fix.
6381 2002-03-22 Juanma Barranquero <lektu@terra.es>
6383 * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
6384 (gomoku-font-lock-X-face): Likewise.
6385 (gomoku-font-lock-keywords): Use faces instead of variables.
6387 2002-03-21 Stefan Monnier <monnier@cs.yale.edu>
6389 * Makefile.in (bootstrap): Make sure subdirs.el is ready.
6391 2002-03-21 Kim F. Storm <storm@cua.dk>
6393 * simple.el (open-network-stream, open-network-stream-nowait)
6394 (open-network-stream-server): Use featurep to test for
6395 supported networking features.
6397 2002-03-21 Thien-Thi Nguyen <ttn@gnu.org>
6399 * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
6400 directions as the last action.
6402 2002-03-21 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6404 * startup.el (fancy-splash-tail, normal-splash-screen):
6407 * novice.el (disabled-command-hook): Clarify output text to match
6410 2002-03-20 Jason Rumney <jasonr@gnu.org>
6412 * frame.el (display-images-p): Do not explicitly check display type.
6414 2002-03-20 pmr-sav <pmr-sav@hamm.pajato.com>
6417 Eliminate compilation warnings due to `rfc822-addresses'.
6418 (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
6419 warning free compile.
6421 2002-03-20 Michael Kifer <kifer@cs.stonybrook.edu>
6423 * ediff-diff.el (ediff-install-fine-diff-if-necessary):
6424 Take the current highlighting style into account.
6425 (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
6426 (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
6428 * ediff-init.el (ediff-patch-job): New macro.
6430 * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
6431 (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
6433 * ediff-ptch.el (ediff-map-patch-buffer):
6434 Use ediff-make-new-meta-list-header.
6435 (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
6437 * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
6438 (ediff-select-difference): Take highlighting style into account.
6439 (ediff-clone-buffer-for-region-comparison): New function.
6440 (ediff-inferior-compare-regions): Added comparison of current diff
6443 * ediff.el (ediff-clone-buffer-for-region-comparison)
6444 (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
6446 2002-03-19 pmr-sav <pmr-sav@hamm.pajato.com>
6448 * mail-utils.el (rmail-dont-reply-to):
6449 Overhaul to correctly apply the regular
6450 expressions in the variable `rmail-dont-reply-to-names' to the list of
6451 destination addresses. Contributed by lorentey@elte.hu.
6453 * rmail.el (rmail-dont-reply-to-names):
6454 Modify the documentation to make it email
6455 address centric rather than login name centric. Contributed by
6458 2002-03-18 Colin Walters <walters@verbum.org>
6460 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
6461 we don't require `cl' at runtime.
6462 (sorting mode mode-name): Don't take the symbol-name of a string.
6464 * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
6465 line after setting the mark.
6466 (ibuffer-insert-buffers-and-marks): Invert the test for
6467 `ibuffer-sorting-reversep'.
6469 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
6471 * international/ucs-tables.el (unify-8859-on-decoding-mode)
6472 (unify-8859-on-encoding-mode): Remove autoload cookie.
6474 2002-03-18 Andre Spiegel <spiegel@gnu.org>
6476 * vc-rcs.el (vc-rcs-register): Fix handling of
6477 vc-[rcs-]register-switches.
6478 (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
6479 Variables removed, since they weren't used yet.
6481 * vc-cvs.el (vc-cvs-register): Fix handling of
6482 vc-[cvs-]register-switches.
6484 * vc-sccs.el (vc-sccs-register): Fix handling of
6485 vc-[sccs-]register-switches.
6487 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
6489 * loadup.el ("emacs-lisp/backquote"): Load earlier.
6490 ("international/ucs-tables"): Load and turn on
6491 unify-8859-on-encoding-mode unconditionally.
6492 (emacs-version): Use `defconst' rather than `setq'.
6494 * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
6496 2002-03-18 Richard M. Stallman <rms@gnu.org>
6498 * menu-bar.el (menu-bar-options-menu): Cope if
6499 text-mode-hook is not a list.
6501 2002-03-17 Richard M. Stallman <rms@gnu.org>
6503 * emulation/pc-select.el (pc-selection-mode):
6504 Alter the existing global map, don't replace it.
6506 * files.el (list-directory): Set default-directory at the end.
6508 * dabbrev.el (dabbrev--goto-start-of-abbrev):
6509 Put a limit on field-beginning search.
6511 2002-03-17 Simon Josefsson <jas@extundo.com>
6513 * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
6514 (browse-url-mosaic): Use it.
6516 * net/browse-url.el (browse-url-filename-alist): Don't begin
6517 docstring with *, you don't want to set this one with M-x set-variable.
6519 * net/browse-url.el: Put * in user option doc strings.
6521 2002-03-17 Stefan Monnier <monnier@cs.yale.edu>
6523 * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
6524 (sgml-xml-guess): Simplify.
6525 (sgml-mode-common): Remove (move into sgml-mode).
6526 (sgml-mode): Add code from sgml-mode-common.
6527 Remove redundant setting of indent-line-function.
6528 Don't set skeleton-transformation when in XML mode.
6530 * international/mule-diag.el (describe-char-after):
6531 Use `internal-describe-syntax-value' again (got lost somewhere).
6533 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
6534 Use unify-8859-on-decoding-mode.
6535 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
6536 (ucs-insert): Give an error if the unicode char can't be created.
6538 * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
6539 (cvs-parse-status): Handle the "used to have a conflict" marker.
6541 2002-03-17 Kim F. Storm <storm@cua.dk>
6543 The following changes are related to the enhanced network process
6546 * simple.el: Update copyright.
6547 (clone-process): Use make-network-process to clone network
6548 processes. Get command list via (process-contact ... t).
6549 Use set-process-query-on-exit-flag and process-query-on-exit-flag
6550 instead of process-kill-without-query.
6551 (open-network-stream): Replaces C-version from process.c.
6552 (open-network-stream-nowait, open-network-stream-server): New funs.
6553 (process-kill-without-query): Replaces C-version from process.c.
6555 * files.el: Update copyright.
6556 (save-buffers-kill-emacs): Also check for active server
6557 processes. Use process-query-on-exit-flag. Only list processes
6558 which has the query-on-exit flag set in connection with user query.
6560 * shadowfile.el: Update copyright.
6561 (shadow-save-buffers-kill-emacs): Also check for active server
6562 processes. Use process-query-on-exit-flag.
6564 2002-03-16 Simon Marshall <simon.marshall@misys.com>
6566 * imenu.el (imenu-menubar-modified-tick): Renamed from
6567 imenu-update-menubar-modified-tick.
6568 (imenu-update-menubar): Update imenu-menubar-modified-tick
6569 whenever outer condition succeeds.
6571 * lazy-lock.el (save-buffer-state):
6572 Bind inhibit-modification-hooks and buffer-file-truename
6573 instead of before-change-functions and after-change-functions.
6575 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
6577 * international/codepage.el (codepage-setup): Don't define a
6578 codepage if it is already defined.
6580 * textmodes/po.el (po-content-type-charset-alist): Convert the
6581 car of each association to a string.
6582 (po-find-file-coding-system-guts): If the charset matches a name
6583 of a codepage, set up that codepage and return it as a coding
6584 system to decode the file.
6585 (po-find-charset): Search for the Charset= header even if we've
6587 <top-level>: Remove the setup for all known codepages: it seems
6588 to cause crashes in the CCL driver.
6590 2002-03-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6592 * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
6593 (bibtex-entry-field-alist): Doc fix.
6595 2002-03-16 Richard M. Stallman <rms@gnu.org>
6597 * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
6598 Move definition above cperl-outline-regexp.
6600 * bindings.el (mode-line-mule-info): In computing help-echo prop,
6601 avoid using save-window-excursion. And compile the function.
6603 2002-03-15 Stefan Monnier <monnier@cs.yale.edu>
6605 * files.el (load-completion): New function.
6606 (load-library): Use it.
6608 2002-03-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6610 * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
6611 to match the actual code.
6613 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
6615 * textmodes/po.el (po-find-file-coding-system-guts):
6616 Use with-temp-buffer instead of po-with-temp-buffer.
6618 * international/mule-conf.el (file-coding-system-alist): Add an
6619 association for PO files.
6621 * textmodes/po.el: New file.
6623 2002-03-15 Gerd Moellmann <gerd@gnu.org>
6625 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6626 Fix simple loop indentation.
6628 2002-03-14 Miles Bader <miles@gnu.org>
6630 * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
6632 2002-03-14 Richard M. Stallman <rms@gnu.org>
6634 * textmodes/picture.el (picture-insert)
6635 (picture-clear-column, picture-draw-rectangle):
6636 Use move-to-column, not move-to-column-force.
6638 * dired.el (dired-readin): Clear out undo list.
6639 (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
6640 (dired-delete-entry): New function.
6641 (dired-internal-do-deletions): Use dired-fun-in-all-buffers
6642 and dired-delete-entry, to update this buffer (and others).
6644 * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
6646 * facemenu.el (facemenu-add-new-face):
6647 Pass region args to facemenu-set-face, when there is a region.
6648 (facemenu-set-foreground, facemenu-set-background)
6649 (facemenu-add-face): Doc fixes.
6651 * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
6653 2002-03-14 Miles Bader <miles@gnu.org>
6655 * emacs-lisp/debug.el: Require `button'.
6656 (debugger-mode-map): Set the parent keymap to `button-buffer-map',
6657 to get TAB and <backtab> bindings.
6659 * net/rlogin.el (rlogin-carriage-filter): Function removed.
6660 (rlogin): Don't install the `rlogin-carriage-filter' filter, as
6661 comint removes carriage returns itself now.
6663 * rfn-eshadow.el (rfn-eshadow-update-overlay):
6664 Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
6665 getting hosed by our own intangible property.
6667 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
6669 * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
6670 Add fortran-comment-line-start-skip to comment-start-skip.
6671 (fortran-comment-indent): Keep whole-line comments in column 0.
6672 (fortran-find-comment-start-skip): New arg `all'.
6673 If ALL is nil, make sure we only match comment-start-skip if we
6674 can't match fortran-comment-line-start-skip.
6675 Fix bug that made it return t but without moving point when
6676 matching '!'! (a false-comment followed by a real comment).
6677 (fortran-indent-comment): Use new `all' argument above.
6678 Be careful not to add an incorrect comment-starter like "C"
6680 (fortran-split-line): When splitting a comment, reuse the comment
6681 starter from the current line rather than fortran-comment-line-start.
6682 (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
6683 cleaner behavior of fortran-find-comment-start-skip.
6684 (fortran-fill): Don't be confused by ! inside a comment.
6685 (fortran-break-line): Minor cleanup and simplification.
6687 2002-03-13 Francesco Potorti` <pot@gnu.org>
6689 * progmodes/etags.el (tag-exact-file-name-match-p)
6690 (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
6693 2002-03-12 Colin Walters <walters@debian.org>
6695 * ibuffer.el (ibuffer-redisplay-current): Don't move point when
6696 redisplaying a line.
6698 2002-03-12 Jan D. <Jan.Djarv@mbox200.swipnet.se>
6700 * term/x-win.el (emacs-session-restore): Take previous id as
6702 (emacs-session-save): Add comment that return t means cancel shutdown
6704 * startup.el (command-line): Must check that x-session-previous-id
6705 is bound also, for non-X platforms.
6707 2002-03-12 Gerd Moellmann <gerd@gnu.org>
6709 * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
6710 (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
6712 (extended-loop-p, common-lisp-loop-part-indentation): New functions.
6713 (common-lisp-indent-function-1): Renamed from
6714 common-lisp-indent-function.
6715 (common-lisp-indent-function): Handle loop forms specially.
6716 (lisp-indent-defmethod): Use car/cdr instead of first/rest.
6717 (lisp-backquote-indentation): New user option.
6719 2002-03-12 Francesco Potorti` <pot@gnu.org>
6721 * progmodes/etags.el (tag-exact-file-name-match-p)
6722 (tag-file-name-match-p, tag-partial-file-name-match-p):
6723 Assume that the header of a tags section has either a number
6724 or nothing after the last comma.
6726 2002-03-11 Richard M. Stallman <rms@gnu.org>
6728 * imenu.el (imenu-update-menubar-modified-tick): New variable.
6729 (imenu-update-menubar): Don't call imenu--make-index-alist
6730 if buffer has not changed since last time.
6732 * desktop.el (desktop-buffer-handlers): Doc fix.
6733 (desktop-buffer-file): Explicitly return BUF.
6735 * paren.el (show-paren-function): Move back in other direction
6736 to verify the match is correct.
6738 * mail/supercite.el (sc-select-attribution): Accept whatever value
6739 we get in CHOICE; there is no value meaning "try again".
6741 2002-03-11 Colin Walters <walters@verbum.org>
6743 * shell.el (toplevel): Revert previous change to use pcomplete.
6744 (shell-mode): Ditto.
6745 (shell-pcomplete-setup-done): Remove.
6746 (shell-pcomplete): Ditto.
6747 (shell-pcomplete-reverse): Ditto.
6749 * comint.el: Remove documentation on setting up pcomplete.
6751 2002-03-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6753 * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
6756 * image.el (image-type-from-file-header): Make temporary buffer
6759 * subr.el (add-to-list): Doc fix.
6761 2002-03-11 Miles Bader <miles@gnu.org>
6763 * pcomplete.el (pcomplete-entries): Expand environment variables
6766 2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
6768 * play/mpuz.el: Use defface instead of facemenu-get-face.
6770 2002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se>
6772 * startup.el (command-line): Add call to emacs-session-restore if
6773 both x-session-id and x-session-previous-id are strings.
6775 * term/x-win.el (x-handle-smid): New function.
6776 (emacs-session-filename): New function.
6777 (emacs-session-save): New function.
6778 (emacs-save-session-functions): New variable.
6779 (emacs-session-restore): New function.
6781 2002-03-09 Eli Zaretskii <eliz@is.elta.co.il>
6783 * simple.el (shell-command-on-region): Call push-mark with
6784 non-nil second arg, to suppress the "Mark set" message.
6786 2002-03-08 Richard M. Stallman <rms@gnu.org>
6788 * textmodes/picture.el (picture-forward-column): New arg `interactive'
6789 is non-nil for an interactive call. Use instead of interactive-p.
6790 (picture-backward-column): Likewise.
6792 * tar-mode.el (tar-untar-buffer): New function.
6794 * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
6795 Put the mouse-face on the entire xref, like the local keymap.
6797 * find-dired.el (find-name-dired): Use shell-quote-argument.
6799 2002-03-08 Daniel Pfeiffer <occitan@esperanto.org>
6801 * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
6802 (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
6803 (mpuz-allow-double-multiplicator): New options for nicer look and
6805 (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
6806 (mpuz-check-all-solved, mpuz-random-puzzle)
6807 (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
6808 (mpuz-show-solution): Functions streamlined and removed french
6809 style space before punctuation, added face support and optional
6810 solving of trivial results.
6812 2002-03-07 Colin Walters <walters@verbum.org>
6814 * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
6816 * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
6817 instead of "recency" for clarity.
6818 (ibuffer-compile-format): Document more. Handle new "summarizer"
6820 (ibuffer-fontify-region-function): Ditto.
6821 (ibuffer-insert-buffer-line): Ditto.
6822 (ibuffer-map-lines): Ditto.
6823 (ibuffer-insert-buffers-and-marks): Ditto.
6824 (ibuffer-update-title-and-summary): Renamed from
6825 `ibuffer-update-title'. Handle "summarizer" columns.
6826 (ibuffer-clear-summary-columns): New function.
6828 * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
6830 2002-03-07 Gerd Moellmann <gerd@gnu.org>
6832 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6833 Use the other-window instead of the other-frame functions when
6834 the window is dedicated.
6836 2002-03-06 ShengHuo ZHU <zsh@cs.rochester.edu>
6838 * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
6839 with SILENT so that a new field can be added.
6841 2002-03-06 Eli Zaretskii <eliz@is.elta.co.il>
6843 * files.el (make-auto-save-file-name): Make sure the produced file
6844 name does not contain characters that are invalid for DOS/Windows
6847 * dos-fns.el, w32-fns.el (make-auto-save-file-name):
6848 Remove replacement functions.
6850 2002-03-06 Gerd Moellmann <gerd@gnu.org>
6852 * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
6855 * vc.el (vc-branch-part): Add autoload cookie. This function can
6856 be called from vc-rcs-find-most-recent-rev when visiting a file
6857 checked into RCS in a CVS sandbox.
6859 2002-03-06 Andreas Schwab <schwab@suse.de>
6861 * progmodes/hideif.el: Augment expression parser to handle
6862 conditional expressions.
6863 (hif-token-regexp): Also match `?' and `:'.
6864 (hif-tokenize): Handle `?' and ':' as tokens.
6865 (hif-expr): Parse conditional expressions.
6866 (hif-or-expr): Parse `||' expressions.
6867 (hif-and-expr): Renamed from hif-term.
6868 (hif-conditional): New function to evaluate a conditional
6871 2002-03-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6873 * language/czech.el ("Czech"): Fix the documentation.
6875 * language/slovak.el ("Slovak"): Likewise.
6877 2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
6879 * xml.el (xml-parse-attlist): Accept empty strings.
6881 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
6883 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
6884 all terminals now support highlighting of some kind.
6886 * language/european.el (mac-roman): Fix the safe-chars property.
6888 2002-03-05 Andre Spiegel <spiegel@gnu.org>
6890 * vc.el (vc-transfer-file): Use `make-temp-file'.
6891 (vc-default-update-changelog): Remove conditional use of
6894 * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
6896 2002-03-05 Michael Kifer <kifer@cs.stonybrook.edu>
6898 * ediff-init.el: Comments.
6900 * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
6903 * ediff-mult.el (ediff-intersect-directories)
6904 (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
6906 (ediff-draw-dir-diffs): Now supports the "C" command in directory
6908 (ediff-dir-diff-copy-file): New function that implements copying
6909 of files from one Ediff dir to another
6910 (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
6911 (ediff-append-custom-diff): Better error msgs.
6913 * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
6914 (ediff-inferior-compare-regions): Use
6915 ediff-clone-buffer-for-region-comparison. Better and simpler interface.
6917 * ediff.el (ediff-directories-internal): Cleanup.
6918 (ediff-clone-buffer-for-region-comparison): Better interface.
6920 2002-03-04 Richard M. Stallman <rms@gnu.org>
6922 * emacs-lisp/easy-mmode.el (define-minor-mode):
6923 Use "P" in interactive spec of minor mode commands.
6925 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
6927 * faces.el (face-spec-choose): Allow `t' to appear before the end.
6928 (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
6929 (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
6930 (variable-pitch, trailing-whitespace): Don't use the old-style entries.
6931 (mode-line-inactive, header-line): Move the `t' section to the
6932 beginning so the `:inherit' setting can be shared.
6934 2002-03-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6936 * net/snmp-mode.el: Require tempo when compiling to prevent
6937 warnings. Update copyright notice.
6939 * help.el (describe-key-briefly, describe-key): Interpret `undefined'
6940 like not defined at all.
6942 2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
6944 * textmodes/sgml-mode.el: Change maintainer to FSF.
6945 (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
6946 (sgml-tags-invisible, sgml-beginning-of-tag):
6947 Allow _ : and non-ASCII in tag names, as required for XML.
6948 (sgml-name-char): Don't assume anything about charsets handled by
6951 * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
6952 where one of the buffers is narrowed.
6954 * hexl.el (hexlify-command, dehexlify-command): Remove.
6955 (hexlify-buffer, dehexlify-buffer): Use call-process-region
6956 rather than shell-command-on-region.
6958 * newcomment.el (comment-forward): Use forward-comment to skip
6959 over whitespace (or comments) even when comment-use-syntax is nil.
6961 * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
6963 * textmodes/xml-lite.el: New file.
6965 2002-03-03 Richard M. Stallman <rms@gnu.org>
6967 * textmodes/artist.el (artist-system): Use make-temp-file.
6969 * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
6971 * mail/sendmail.el (mail-recover-1): Increase non-random-len
6972 by 1 since we changed make-auto-save-file-name to add one
6973 fewer character to the buffer name.
6974 (mail-recover): Really show point at the right place
6975 in the *Directory* buffer.
6977 * files.el (make-auto-save-file-name): Use make-temp-file.
6979 * terminal.el (te-create-terminfo): Use make-temp-file
6980 to create the source file in a safe way.
6982 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
6984 * cus-start.el: Rename automatic-hscroll-step and
6985 automatic-hscroll-margin into hscroll-step and hscroll-margin.
6987 * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
6988 (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
6990 * mouse.el (mouse-region-delete-keys): Add deletechar.
6992 2002-03-03 Sam Steingold <sds@gnu.org>
6994 * play/snake.el (snake-score-file): Fixed parens (broken by the
6996 * play/tetris.el (tetris-score-file): Ditto.
6998 2002-03-03 Richard M. Stallman <rms@gnu.org>
7000 * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
7002 * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
7004 * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
7005 (gamegrid-make-mono-tty-face): Fix usage of condition-case.
7007 2002-03-03 Thien-Thi Nguyen <ttn@gnu.org>
7009 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
7010 instead of `buffer-substring-no-properties' to support enriched mode.
7012 2002-03-02 Richard M. Stallman <rms@gnu.org>
7014 * find-dired.el (find-grep-dired): Call shell-quote-argument.
7015 Specify the -e option.
7016 Rename arg to `regexp'.
7018 2002-03-02 Milan Zamazal <pdm@zamazal.org>
7020 * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
7022 2002-03-02 Miles Bader <miles@gnu.org>
7024 * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
7025 event-modifiers before looking up in `mouse-wheel-scroll-amount'.
7026 If there's no applicable modifiers entry in the alist in
7027 `mouse-wheel-scroll-amount', fall back to the default, not to
7028 nil (which causes full screen scrolls).
7030 2002-03-01 Andreas Schwab <schwab@suse.de>
7032 * textmodes/texnfo-upd.el (texinfo-start-menu-description):
7033 Remove extra paren in regexp.
7035 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il>
7037 * mouse.el (mouse-show-mark): Use display-mouse-p, not
7038 display-graphic-p, to decide whether to move point or use the
7041 2002-02-28 Colin Walters <walters@verbum.org>
7043 * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
7045 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
7046 `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
7047 (calc-temp-file-name): Use `make-temp-file'.
7049 2002-02-28 Richard M. Stallman <rms@gnu.org>
7051 * font-lock.el (java-font-lock-extra-types):
7052 Match java.net.URL, etc.
7054 2002-02-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7056 * hexl.el (hexl-options): Doc fix.
7057 Update Commentary section.
7059 * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
7062 2002-02-28 Andre Spiegel <spiegel@gnu.org>
7064 * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
7065 the user to do that first.
7066 (vc-update): New function.
7068 * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
7069 which calls vc-update. Use the term "Base Version" instead of
7070 "Last Version" for the entries "Revert" and "Compare".
7072 2002-02-28 Kim F. Storm <storm@cua.dk>
7074 * simple.el (shell-command-on-region): Report non-zero exit
7075 status in mode line instead of buffer.
7077 2002-02-27 Richard M. Stallman <rms@gnu.org>
7079 * comint.el (comint-preoutput-filter-functions): Doc fix.
7080 (comint-output-filter-functions, comint-input-filter-functions)
7081 (comint-redirect-filter-functions): Likewise.
7083 (comint-redirect-preoutput-filter): Do the local-hook
7084 handling of t when running comint-redirect-filter-functions.
7085 (comint-output-filter): Likewise for comint-preoutput-filter-functions.
7087 2002-02-26 Richard M. Stallman <rms@gnu.org>
7089 * paths.el (remote-shell-program): Add doc string.
7091 2002-02-26 Colin Walters <walters@debian.org>
7093 * ibuf-ext.el (sorter mode-name): New.
7094 (ibuffer-do-occur): Don't quote ibuffer-marked-char.
7096 * calc/calc-ext.el (calc-scroll-left): Call scroll-left
7097 interactively, so they do something.
7098 (calc-scroll-right): Ditto.
7100 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
7102 * international/mule.el (ctext-pre-write-conversion): Handle the
7103 case when FROM is a string, and when we are called from
7104 build_annotations_2.
7106 2002-02-26 Richard M. Stallman <rms@gnu.org>
7108 * rect.el (clear-rectangle-line): Reindent to the same column
7109 that move-to-column reached when it tried to go to endcol.
7111 * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
7113 2002-02-26 Ivar Rummelhoff <ivarru@math.uio.no>
7115 * winner.el (winner-boring-buffers, winner-set): A window which
7116 displays a buffer whose name is in the list
7117 `winner-boring-buffers', will no longer be restored by `winner-undo'.
7118 (winner-sorted-window-list): Used to improve comparison between
7119 window configurations.
7120 (winner-win-data): Simplified and moved.
7121 (winner-conf): Simplified (now uses `winner-win-data').
7122 (winner-change-fun, winner-save-old-configurations)
7123 (winner-save-(un)conditionally, winner-redo): Changes made while in
7124 the minibuffer will be ignored. (Such changes are undone upon
7125 exit for the minibuffer, anyway.)
7126 (winner-set-conf): Preserve selected window whenever possible.
7127 (winner-make-point-alist): Simplified.
7128 (winner-mode, winner-save-unconditionally): Save current window
7129 configuration on entering minibuffer.
7130 (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
7131 since it does not change the overall behavior of Emacs.
7133 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
7135 * international/mule-conf.el (compound-text): Renamed back from
7136 compound-text-no-extensions.
7137 (ctext-no-compositions): Remove the mime-charset property.
7138 (compound-text-with-extensions): Renamed from compound-text.
7139 (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
7141 2002-02-26 Juanma Barranquero <lektu@terra.es>
7143 * faces.el (list-faces-display): Fix typo.
7145 2002-02-25 Richard M. Stallman <rms@gnu.org>
7147 * frame.el (focus-follows-mouse): Doc fix.
7149 2002-02-26 Miles Bader <miles@gnu.org>
7151 * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
7152 to `define-key', since it no longer accepts the latter.
7154 2002-02-25 Jason Rumney <jasonr@gnu.org>
7156 * term/w32-win.el (mouse-wheel-scroll-line): Use car of
7157 mouse-wheel-scroll-amount.
7159 * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
7162 * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
7164 2002-02-25 Andre Spiegel <spiegel@gnu.org>
7166 * vc.el (vc-diff-switches-list): Fix prev change, making the macro
7167 consistent with the others that take a backend name as a symbol.
7169 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
7171 2002-02-25 Kim F. Storm <no-spam@cua.dk>
7173 * comint.el (comint-replace-by-expanded-filename): Do nothing if
7174 comint-match-partial-filename returns nil.
7176 * shell.el (shell-pcomplete-setup-done): New variable.
7177 (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
7178 (shell-pcomplete-reverse): Ditto.
7180 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
7182 * ps-print.el (ps-print-printer): Added `lpr' customize group member.
7184 2002-02-25 Juanma Barranquero <lektu@terra.es>
7186 * subr.el (save-match-data): Doc fix.
7188 * ielm.el (ielm-prompt): Allow customization; make it read-only.
7190 2002-02-25 Kim F. Storm <storm@cua.dk>
7192 * shell.el (shell-mode-map): Add "Complete" header so completion
7193 menu is shown on the menu bar in shell mode.
7195 2002-02-25 Stefan Monnier <monnier@cs.yale.edu>
7197 * ielm.el (ielm-match-data): New var.
7198 (inferior-emacs-lisp-mode): Make it buffer-local.
7199 (ielm-eval-input): Use it to preserve match-data between inputs.
7201 2002-02-24 Juanma Barranquero <lektu@terra.es>
7203 * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
7205 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
7207 * cus-edit.el (custom-unlispify-remove-prefixes): Add to
7208 `custom-buffer' customize group.
7210 2002-02-23 Kim F. Storm <storm@cua.dk>
7212 * help.el (where-is): Use remap-command.
7214 * help-fns.el (describe-function-1): Use remap-command.
7216 * subr.el (global-set-key, local-set-key): Undo 2002-02-06
7217 change (no longer accept a symbol for the KEY argument).
7219 2002-02-23 Colin Walters <walters@debian.org>
7221 * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
7222 * calc/calcalg2.el (math-solve-get-sign): Ditto.
7224 * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
7225 in generated function.
7227 * ibuf-ext.el (ibuffer-old-time): Change to hours.
7228 (ibuffer-mark-old-buffers): Handle it.
7230 * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
7231 (toplevel): Bind them.
7232 (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
7233 not necessary now that we use pcomplete.
7235 * comint.el: Document how use new pcomplete completion facility.
7237 2002-02-23 Richard M. Stallman <rms@gnu.org>
7239 * mail/rmailsum.el (rmail-summary-output): Properly advance
7240 to next message, by calling rmail-summary-goto-msg.
7242 * net/browse-url.el (browse-url-galeon): Specify --existing
7243 for an existing window. Use --noraise rather than --no-raise.
7246 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
7248 * progmodes/etags.el (find-tag-noselect, find-tag)
7249 (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
7250 Fix a typo in doc strings.
7252 2002-02-20 Deepak Goel <deego@glue.umd.edu>
7254 * play/snake.el (snake-velocity-queue, snake-update-velocity)
7255 (snake-final-x-velocity, snake-final-y-velocity):
7256 New variable and functions. Store user's keypresses
7257 into a queue and pop from the queue each subsequent turn.
7258 (snake-update-game, snake-move-left)
7259 (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
7260 (snake-start-game): Use that queue.
7261 (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
7262 (snake-use-color-flag): Likewise.
7263 (snake-mode): Rename uses of those variables.
7265 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
7267 Support for ICCCM Extended Segments in X selections:
7269 * international/mule-conf.el (ctext-no-compositions): New coding
7271 (compount-text-no-extensions): Renamed from compound-text.
7272 (x-ctext-no-extensions, ctext-no-extensions): Aliases for
7273 compound-text-no-extensions.
7274 (compound-text): Redefined using post-read and pre-write conversions.
7276 * international/mule.el (non-standard-icccm-encodings-alist)
7277 (non-standard-designations-alist): New variables.
7278 (ctext-post-read-conversion, ctext-pre-write-conversion):
7281 2002-02-21 Jonathan Kamens <jik@kamens.brookline.ma.us>
7283 * vc.el (vc-default-init-version): Update documentation to
7284 indicate that the backend can override the default init version.
7285 (vc-register): Use the backend init-version function, if it
7286 exists, to determine the initial version of a file.
7287 (vc-diff-switches-list): Don't symbol-quote backend, since it's
7288 already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
7290 * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
7291 not version-controlled. This is necessary, e.g., if the file has
7292 just been reverted, and thus was previously under version control
7293 but isn't any longer.
7294 (vc-find-file-hook): Likewise.
7296 2002-02-21 Martin Lorentzson <Martin.Lorentzson@telia.com>
7298 * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
7299 (vc-cvs-sticky-tag-display): New variable.
7300 (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
7301 (vc-cvs-checkin): If the input revision is a valid symbolic tag
7302 name, we create it as a branch, commit and switch to it.
7303 (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
7304 (vc-cvs-valid-symbolic-tag-name-p): New function.
7305 (vc-cvs-parse-sticky-tag): New function.
7306 (vc-cvs-parse-entry): Added parsing of sticky tags.
7308 2002-02-21 Per Abrahamsen <abraham@dina.kvl.dk>
7310 * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
7311 nil, and then explicitly set the standard-value to t.
7313 2002-02-20 Sam Steingold <sds@gnu.org>
7315 * textmodes/flyspell.el (flyspell-mode): Autoload the variable
7316 since it is used in the menu bar.
7318 2002-02-20 Richard M. Stallman <rms@gnu.org>
7320 * simple.el (shell-command-on-region): Display the exit status
7321 when a command fails.
7323 * subr.el (add-hook): Doc fix.
7325 * frame.el (other-frame): Doc fix.
7327 * simple.el (yank): Clear `field' property.
7329 2002-02-20 Tom Tromey <tromey@cachet>
7331 * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
7332 natural paragraph boundaries. Don't fail at beginning of buffer.
7334 2002-02-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7336 * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
7337 call the argument "arg" to match plain next-line and
7338 previous-line. From Kevin Ryde <user42@zip.com.au>.
7340 2002-02-19 Sam Steingold <sds@gnu.org>
7342 * mwheel.el (mouse-wheel-scroll-amount): Can specify different
7343 scroll amounts for different modifiers now.
7344 (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
7346 (mouse-wheel-mode): Ditto.
7348 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
7350 * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
7351 around function body.
7353 * net/browse-url.el (browse-url-maybe-new-window): Reverse the
7354 sense of the comparison, to match the doc strings of functions
7355 that use this macro.
7357 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
7359 * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
7361 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
7362 * menu-bar.el (menu-bar-mode): Ditto.
7364 2002-02-18 Andreas Schwab <schwab@suse.de>
7366 * replace.el (query-replace-regexp-eval): Doc fix.
7368 2002-02-18 Colin Walters <walters@verbum.org>
7370 * calc/calcalg2.el (math-solve-get-int): Convert return value from
7371 `math-get-from-counter' to a string before calling `concat' on it.
7373 * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
7374 (calc-public-autoloads): Obsolete; remove.
7375 (calc-private-autoloads): Ditto.
7376 (calc-add-autoloads): Ditto.
7378 * calc/calc-macs.el (calc-with-default-simplification): Use &rest
7381 2002-02-17 Jason Rumney <jasonr@gnu.org>
7383 * w32-win.el (x-option-alist, x-long-option-alist)
7384 (x-switch-definitions): Remove, use command-line-x-option-alist
7385 instead to be consistent with X.
7386 (x-handle-initial-switch): New function.
7388 2002-02-17 Eli Zaretskii <eliz@is.elta.co.il>
7390 * faces.el (mode-line-inactive, header-line): Add the :inherit
7391 attribute for the tty case.
7393 2002-02-17 stanislav shalunov <shalunov@internet2.edu>
7395 * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
7396 invoked from Rmail with full headers displayed.
7398 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7400 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
7402 * textmodes/paragraphs.el (mark-paragraph): Ditto.
7404 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
7406 * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
7407 (menu-bar-tools-menu): Removed speedbar.
7409 * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
7410 and `flyspell-mode' entries.
7412 * textmodes/flyspell.el (flyspell): Add to ispell group.
7414 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7416 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
7418 (mark-defun): Mark more if repeated.
7420 2002-02-17 Colin Walters <walters@verbum.org>
7422 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
7424 * ibuffer.el (ibuffer-truncate-lines): New option.
7425 (ibuffer-mode): Use it.
7427 2002-02-17 Kim F. Storm <storm@cua.dk>
7429 * cus-start.el: Add mouse-highlight.
7431 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
7433 * Makefile.in (DONTCOMPILE): Remove cus-start.el.
7435 * cus-start.el: Add automatic-hscroll-margin and
7436 automatic-hscroll-step.
7438 2002-02-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7440 * cus-start.el (x-autoselect-window): Allow customization.
7442 * eshell/em-alias.el (eshell-alias-initialize): Do not use
7445 * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
7447 * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
7449 * eshell/em-glob.el (eshell-glob-initialize): Likewise.
7451 * eshell/em-hist.el (eshell-hist-initialize): Likewise.
7453 * eshell/em-pred.el (eshell-pred-initialize): Likewise.
7455 * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
7457 * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
7459 * eshell/em-smart.el (eshell-smart-initialize): Likewise.
7461 * eshell/em-unix.el (eshell-unix-initialize): Likewise.
7463 * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
7465 * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
7467 * eshell/esh-io.el (eshell-io-initialize): Likewise.
7469 * eshell/esh-mode.el (eshell-mode): Likewise.
7471 * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
7473 * eshell/esh-var.el (eshell-var-initialize): Likewise.
7475 * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
7477 * progmodes/idlwave.el (idlwave-mode): Likewise.
7479 * textmodes/reftex-sel.el (reftex-select-label-mode)
7480 (reftex-select-bib-mode): Likewise.
7482 2002-02-16 John Wiegley <johnw@gnu.org>
7484 * eshell/em-hist.el (eshell-hist-initialize): When in the
7485 minibuffer, use the global value of `eshell-history-ring', and
7486 never save it to disk, or ask to save it to disk. This allows
7487 users of session.el to control whether its global state should be
7489 (eshell-add-command-to-history): Don't write Eshell's history out
7490 to disk, let the governing mode control that upon exit.
7492 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
7494 * eshell/eshell.el (eshell-command): Before reading from the
7495 minibuffer, add eshell-add-command-to-history to
7496 minibuffer-exit-hook, and remove it after read-from-minibuffer
7499 * eshell/em-hist.el (eshell-add-input-to-history): New function,
7500 with most of the code from eshell-add-to-history.
7501 (eshell-add-command-to-history): New function, to record in
7502 eshell-history the commands run via eshell-command.
7503 (eshell-add-to-history): Call eshell-add-command-to-history to do
7506 2002-02-16 John Wiegley <johnw@gnu.org>
7508 * eshell/esh-ext.el (eshell-external-command): Added a fix for
7509 XEmacs' new dired.el, which adds a global entry in the
7510 `file-name-handler-alist'.
7512 2002-02-16 John Wiegley <johnw@gnu.org>
7514 * align.el (align-region): Added a missing name argument.
7516 2002-02-16 John Wiegley <johnw@gnu.org>
7518 * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
7519 after the #! of a shell interpretor specification.
7521 2002-02-15 Richard M. Stallman <rms@gnu.org>
7523 * help.el (describe-key-briefly): Make output in INSERT case
7524 look just like what is displayed in the normal case.
7526 2002-02-15 Andreas Schwab <schwab@suse.de>
7528 * textmodes/tex-mode.el (tex-font-lock-keywords-2):
7529 Require non-letter after specials.
7531 2002-02-15 Eli Zaretskii <eliz@is.elta.co.il>
7533 * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
7535 2002-02-15 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7537 * simple.el (mark-word): Mark more if repeated.
7538 * textmodes/paragraphs.el (mark-paragraph): Ditto.
7539 (mark-end-of-sentence): Ditto.
7541 2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
7543 * wid-edit.el (widgetp): Made it more robust.
7545 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
7547 * facemenu.el (describe-text-done): New function.
7548 (describe-text-mode-map): New variable.
7549 (describe-text-mode-hook): New option.
7550 (describe-text-mode): New function.
7551 (describe-text-widget): New function.
7552 (describe-text-sexp): New function.
7553 (describe-text-properties): New function.
7554 (describe-text-category): New command.
7555 (describe-text-at): New command.
7556 (facemenu-menu): Replace `list-text-properties-at' with
7557 `describe-text-at' in the menu.
7559 * wid-edit.el (widgetp): New function.
7560 * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
7562 * emacs-lisp/pp.el (pp-to-string): Autoloaded.
7564 * wid-browse.el: Removed version and x-url keywords.
7566 2002-02-13 Kim F. Storm <storm@cua.dk>
7568 * cus-start.el (mode-line-in-non-selected-windows):
7569 Allow customization.
7571 2002-02-13 Richard M. Stallman <rms@gnu.org>
7573 * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
7574 Tell bibtex-parse-keys to output no progress messages.
7576 2002-02-12 Eli Zaretskii <eliz@is.elta.co.il>
7578 * progmodes/pascal.el (pascal-imenu-generic-expression):
7579 Add menu-title and fix parentheses.
7581 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
7583 * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
7584 (menu-bar-options-menu): Don't set default value for `truncate-lines'.
7586 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
7588 * menu-bar.el (menu-bar-options-save): Only save
7589 `current-language-environment' and `default-input-method' when
7590 marked as customized.
7592 * international/mule-cmds.el
7593 (setup-specified-language-environment):
7594 Mark `current-language-environment' as customized.
7595 (set-input-method): Mark `default-input-method' as customized when
7596 called interactively.
7597 (toggle-input-method): Ditto.
7599 2002-02-11 Colin Walters <walters@verbum.org>
7601 * ibuffer.el (ibuffer-switch-format): Supply required argument for
7602 `ibuffer-current-formats'.
7604 2002-02-11 Miles Bader <miles@gnu.org>
7606 * faces.el (mode-line-inactive): Add dark-background variant.
7608 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
7610 * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
7611 * menu-bar.el (menu-bar-mode): Ditto.
7612 * cus-edit.el (customize-mark-to-save): Always save variables
7613 without a standard value.
7615 * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
7616 (menu-bar-options-save): Ditto.
7617 (menu-bar-showhide-menu): Ditto.
7618 (menu-bar-options-menu): Ditto.
7619 (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
7620 (menu-bar-scroll-bar-none): Remove.
7621 (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
7622 expressions instead.
7624 * cus-edit.el (customize-set-value): Return value.
7625 (customize-set-variable): Ditto.
7626 (customize-save-variable): Ditto.
7627 (customize-set-variable): Load dependencies before setting value.
7628 (custom-load-symbol): Autoload it.
7629 (customize-mark-as-set): New function.
7631 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
7633 * cus-start.el: Don't warn about "x-*" symbols when building a
7636 2002-02-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7638 * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
7640 (strokes-help): Do not use doubled with-output-to-temp-buffer.
7641 Fix the help string.
7642 (strokes-prompt-user-save-strokes): Fix typo.
7643 (strokes-list-strokes): Use proper exit-action argument for
7644 view-buffer. Update copyright notice.
7646 * international/mule-diag.el: Various doc and message fixes.
7647 (non-iso-charset-alist): Add mac-roman. Don't add entries for
7648 codepages already present.
7649 (list-block-of-chars): Display space for null entries in
7650 translation table. Display tab specially.
7651 (list-non-iso-charset-chars): Check for null charsets. Use pop
7652 for clarity. Don't break 8-bit sets into sections between ranges.
7653 (list-charset-chars): Avoid indent-tabs-mode.
7654 (describe-char-after): Maybe use the text property for syntax
7655 table information. Maybe report char-code-property-table info.
7656 Maybe report character's unicode. Tweak printing of list info.
7657 (list-input-methods): Add xref buttons.
7658 (dump-charsets, dump-codings): Deleted (obsolete).
7659 From Dave Love <fx@gnu.org>.
7661 2002-02-10 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7663 * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
7665 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
7667 * viper-util.el (viper-read-key-sequence): Fix so it'll read
7668 fast key sequences in emacs native mode
7669 (viper-events-to-keys): Delete.
7671 * viper.el (describe-key, describe-key-briefly): Get rid of
7672 viper-events-to-keys.
7674 * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
7676 * ediff-wind.el (ediff-setup-control-frame):
7677 Use ediff-has-gutter-support.
7679 * ediff-util.el (ediff-dispose-of-variant-according-to-user):
7680 check if buff is alive.
7682 * ediff.el: Typo in comment.
7684 2002-02-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7686 * menu-bar.el (menu-bar-options-save): Take care of
7687 line-number-mode and column-number-mode variables.
7688 (menu-bar-showhide-menu): New menu-items "Show Line Number" and
7689 "Show Column Number" in "Show/Hide" menu.
7691 2002-02-09 Richard M. Stallman <rms@gnu.org>
7693 * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
7695 2002-02-09 Kim F. Storm <storm@cua.dk>
7697 * faces.el (mode-line-inactive): New face for mode-line for
7698 non-selected windows.
7699 (mode-line): Doc fix: Only used for selected window.
7701 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7703 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
7704 name to "Insert Diary Entry".
7706 2002-02-08 Stefan Monnier <monnier@cs.yale.edu>
7708 * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
7709 (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
7711 2002-02-08 Richard M. Stallman <rms@gnu.org>
7713 * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
7715 2002-02-08 Andreas Schwab <schwab@suse.de>
7717 * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
7720 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7722 * net/ange-ftp.el (ange-ftp-process-handle-line)
7723 (ange-ftp-set-xfer-size): If the file's size is a float, divide
7724 by 1024 instead of using ash.
7726 * international/mule-cmds.el (select-safe-coding-system):
7727 State the buffer's name in the message popped in the *Warning* buffer,
7728 and make sure the offending buffer is displayed.
7730 2002-02-07 Markus Rost <rost@math.ohio-state.edu>
7732 * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
7734 2002-02-07 Richard M. Stallman <rms@gnu.org>
7736 * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
7738 * register.el (list-registers): New command.
7739 (describe-register-1): New subroutine, taken out of view-register.
7741 * emacs-lisp/copyright.el (copyright-regexp):
7742 Delete the unibyte copyright symbol; it's redundant.
7743 Fix a spazz in the multibyte encoding here.
7745 2002-02-07 Dave Love <fx@gnu.org>
7747 * language/cyril-util.el (cyrillic-encode-koi8-r-char)
7748 (cyrillic-encode-alternativnyj-char): Get translation tables from
7749 symbol properties, not as variables.
7750 (standard-display-cyrillic-translit): Include unicodes.
7752 2002-02-06 Kim F. Storm <storm@cua.dk>
7754 * help.el (where-is): Report remapped commands.
7756 * help-fns.el (describe-function-1): Ditto.
7758 * subr.el (global-set-key, local-set-key): Accept a symbol for the
7759 KEY argument (like define-key).
7761 2002-02-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7763 * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
7765 2002-02-06 Richard M. Stallman <rms@gnu.org>
7767 * mail/mailabbrev.el: Require sendmail only at compile time.
7768 (mail-mode-header-syntax-table): Var deleted.
7769 (mail-abbrev-syntax-table): Init to nil, will compute when needed.
7770 (sendmail-pre-abbrev-expand-hook): Only temporarily change
7771 local-abbrev-table and the syntax table.
7772 Compute mail-abbrev-syntax-table if that has not been done.
7774 * progmodes/compile.el (grep-compute-defaults): Definition moved up.
7776 * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
7777 (debugger-frame-number): Figure out the offset directly.
7778 (debugger-setup-buffer): Don't use debugger-frame-offset.
7779 (debugger-frame, debugger-frame-clear): Likewise.
7780 (debugger-jump): Don't alter debugger-frame-offset.
7782 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
7783 Replace foo-p as var name with foo-flag, not foo-p-flag.
7785 * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
7786 (highlight-changes-passive-string): Default to -Chg.
7787 (highlight-changes-global-modes): Doc fix.
7789 * dired.el (dired-get-filename): Add /: when appropriate
7790 to avoid taking a local name as remote.
7792 * files.el (file-name-non-special): Add special handling for
7793 file-name-sans-versions, file-name-completion, and
7794 file-name-all-completions.
7796 * isearch.el (isearch-update): Don't update display in kbd macro.
7797 (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
7799 * subr.el (force-mode-line-update): Doc fix.
7801 * subr.el (atomic-change-group, prepare-change-group)
7802 (activate-change-group, accept-change-group, cancel-change-group):
7805 * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
7806 (transpose-subr-1): Use atomic-change-group.
7808 * subr.el (add-minor-mode): Include the mode's lighter string
7809 in the minor mode menu item name.
7811 * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
7812 rmail-count-screen-lines starting from (point-min).
7814 * startup.el (use-fancy-splash-screens-p): Need 19 lines,
7815 beyond the image height, to use the fancy splash screen.
7817 * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
7818 (text-mode): Set text-mode-variant here.
7820 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
7822 * play/pong.el (pong-height): Don't use height that exceeds the
7824 (pong-border-options): Make the border colors slightly more bright.
7826 * play/gamegrid.el (gamegrid-display-type): Treat any
7827 color-capable display as color-x, if display-color-p is fboundp.
7828 (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
7829 (gamegrid-make-color-tty-face): Use the value of color, not the
7830 symbol itself. Don't call gamegrid-color.
7832 2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
7834 * gud.el (gud-refresh): Call recenter only after we are sure we
7835 are in the right window.
7837 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
7839 * cus-edit.el (customize-mark-to-save): New function.
7840 * menu-bar.el (menu-bar-options-save): Rewrote.
7842 2002-02-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7844 * cus-start.el (x-use-underline-position-properties):
7845 Allow customization.
7847 2002-02-04 Simon Josefsson <jas@extundo.com>
7849 * dired.el (dired-load-hook, dired-mode-hook)
7850 (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
7852 2002-02-03 Colin Walters <walters@verbum.org>
7854 * ibuf-ext.el (ibuffer-filter-format-alist)
7855 (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
7857 * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
7858 is now the Emacs CVS tree.
7859 (ibuffer-formats): Doc fix.
7860 (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
7861 (ibuffer-current-format): Use them.
7862 (ibuffer-recompile-formats, ibuffer-check-formats)
7863 (ibuffer-switch-format, ibuffer-update-title):
7864 Add support for ibuffer-filter-format-alist.
7865 (define-ibuffer-column process): Remove unncessary consing.
7867 * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
7868 for a summary column.
7870 2002-02-03 Andreas Schwab <schwab@suse.de>
7872 * window.el (save-selected-window): Move macro before first use.
7873 (balance-windows): Fix misplaced parenthesis.
7875 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7877 * calculator.el (calculator-displayers): Doc fixes.
7879 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7881 * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
7882 (menu-bar-options-save): Save also the value of `display-time-mode'.
7883 (showhide-date-time): New function.
7884 (menu-bar-showhide-menu): New menu-item "Date and time".
7886 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
7888 * mail/rmail.el (rmail): Use find-buffer-visiting instead of
7889 get-file-buffer to check for rmail buffer existence.
7891 * term.el (term-emulate-terminal): Extract proper command string
7892 which is supplied to term-command-hook.
7894 2002-02-03 Richard M. Stallman <rms@gnu.org>
7896 * international/quail.el (quail-help): Don't call help-setup-xref.
7898 * international/mule-cmds.el (describe-input-method):
7899 Call help-setup-xref here.
7900 (describe-current-input-method): Doc fix.
7902 * novice.el (disabled-command-hook): Clarify output text.
7903 Indent the paragraph from the command's doc string.
7905 * dabbrev.el (dabbrev--goto-start-of-abbrev):
7906 Exit loop on beginning of field rather than bobp.
7908 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
7910 * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
7911 the message text into the *mail* buffer, and restore the pruned
7914 * mail/rmail.el (rmail-redecode-body): Prune the headers before
7915 looking for X-Coding-System header, and restore the pruned state
7918 2002-02-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7920 * cus-edit.el (customize-save-variable): Fix typo in prompt.
7922 These changes integrate new version of flyspell.el from its
7923 maintainer, Manuel Serrano:
7925 * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
7926 (flyspell-mode-on, flyspell-notify-misspell)
7927 (flyspell-small-region, flyspell-external-point-words)
7928 (flyspell-large-region): Use it
7929 (flyspell-before-incorrect-word-string)
7930 (flyspell-after-incorrect-word-string): New user options.
7931 (make-flyspell-overlay): Use them.
7932 (flyspell-version): New function.
7933 (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
7934 definitions to use :weight.
7935 (flyspell-insert-function): New user option.
7936 (flyspell-auto-correct-word, flyspell-correct-word)
7937 (flyspell-xemacs-correct): Use it.
7938 (flyspell-define-abbrev): New function.
7939 (flyspell-auto-correct-word, flyspell-correct-word)
7940 (flyspell-xemacs-correct): Use it.
7941 (make-flyspell-overlay): Use `evaporate' property.
7942 (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
7943 (flyspell-emacs-popup): Use `session' instead of `accept'.
7944 (flyspell-auto-correct-previous-pos): New variable.
7945 (flyspell-auto-correct-previous-hook)
7946 (flyspell-auto-correct-previous-word): New functions.
7948 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
7950 * novice.el (enable-command): If Emacs was invoked as "emacs -q",
7951 don't alter the user's ~/.emacs.
7952 (disable-command): If user-init-file is nil or does not exist,
7953 default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
7954 But don't alter the init file if Emacs was invoked as "emacs -q"
7956 2002-02-01 Stefan Monnier <monnier@cs.yale.edu>
7958 * mail/sendmail.el (mail-mode): Undo half of last change.
7960 * indent.el (indent-for-tab-command): Remove spurious code.
7962 * hi-lock.el (hi-lock-find-patterns): Save restriction.
7964 2002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
7966 * calendar/time-date.el: Moved from lisp/gnus.
7968 * calendar/parse-time.el: Ditto.
7970 2002-01-31 Richard M. Stallman <rms@gnu.org>
7972 * international/iso-acc.el (iso-languages): Fix ", " in French.
7974 * cus-start.el (history-length): Specify customization for it.
7976 * emacs-lisp/debug.el (debugger-setup-buffer):
7977 When an eval-buffer frame was reading from a buffer,
7978 insert indication of the buffer position.
7979 (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
7980 (debugger-frame-clear, debugger-frame): Error on non-frame line.
7982 * simple.el (shell-command-on-region): Err if no mark
7983 before reading the command string.
7985 * hl-line.el (hl-line-highlight, hl-line-unhighlight):
7986 Definitions moved down after hl-line-mode var's definition.
7988 * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
7989 (hilit-chg-set-face-on-change): Rename arg.
7990 (hilit-chg-make-ov): Detect error earlier.
7992 * ediff-hook.el: Delete autoload cookies.
7994 * comint.el (comint-scroll-show-maximum-output): Default is t.
7996 * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
7997 (batch-byte-compile-if-not-done): New function.
7999 * Makefile.in (compile): New target.
8000 (compile-always): Renamed from compile-files.
8001 (compile-after-backup): Renamed from compile.
8002 (bootstrap): Depend on compile-always, not compile-files.
8004 * emulation/pc-select.el (pc-select-save-and-set-mode):
8005 Properly use MODE-VAR.
8007 2002-01-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8009 * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
8010 Version" to "About Emacs".
8011 (menu-bar-options-save): Add `default-frame-alist'
8013 (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
8014 of the variable `scroll-bar-mode'.
8016 * startup.el (normal-splash-screen, display-splash-screen):
8017 New functions (separated from command-line-1).
8018 (command-line-1): Use them.
8020 2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
8022 * calendar/calendar.el (generate-calendar-month): Doc fix.
8024 2002-01-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8026 * time.el (display-time-mail-directory): New option.
8027 (display-time-mail-function): Update doc-string.
8028 (display-time-mail-icon): Use XPM image when available.
8029 (display-time-string-forms): Use more descriptive text as
8031 (display-time-mail-check-directory): New function.
8032 (display-time-update): Use it.
8034 * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
8035 Quote `window-system'.
8037 * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
8038 Add Keywords header. Update Commentary section.
8039 Update copyright notice.
8041 * menu-bar.el (menu-bar-scroll-bar-right)
8042 (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
8043 (showhide-menu-bar): New functions.
8044 (menu-bar-showhide-menu): New submenu "Show/Hide".
8045 (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
8047 Update copyright notice.
8049 2002-01-27 Eli Zaretskii <eliz@is.elta.co.il>
8051 * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
8053 2002-01-26 Evgeny Roubinchtein <evgenyr@cs.washington.edu>
8055 * pc-select.el (pc-selection-mode-hook)
8056 (pc-select-saved-settings-alist, pc-select-map)
8057 (pc-select-saved-global-map, pc-select-key-bindings-alist)
8058 (pc-select-default-key-bindings, pc-select-extra-key-bindings)
8059 (pc-select-meta-moves-sexps-key-bindings)
8060 (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
8062 (pc-select-define-keys, pc-select-restore-keys): New functions.
8063 (pc-select-add-to-alist, pc-select-save-and-set-var)
8064 (pc-select-save-and-set-mode, pc-select-restore-var)
8065 (pc-select-restore-mode): New macros.
8066 (pc-selection-mode): Completely rewrote the body of the function;
8067 the main goal was to make pc-selection-mode "turn-off"-able, like
8068 other minor modes. Use define-minore-mode instead of just a
8069 defun. Store the key bindings into four alists:
8070 pc-select-default-key-bindings, pc-select-extra-key-bindings,
8071 pc-select-meta-moves-sexps-key-bindings, and
8072 pc-select-tty-key-bindings; then have the pc-select-define-keys
8073 function walk those alists instead of calling define-key
8074 repeatedly. When the mode is turned on, set the
8075 keybindings in global-map and remember the old keybindings; when
8076 the mode is turned off, restore the previously-saved keybindings.
8077 (pc-selection-mode defcustom): Reflect the fact that the mode is
8078 now "turn-off"-able.
8080 2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
8082 * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
8083 returns t, don't treat that as an error.
8085 2002-01-25 Jason Rumney <jasonr@gnu.org>
8087 * faces.el (face-font-registry-alternatives) [windows-nt]:
8088 Add ms-oemlatin as an alternative for iso8859-1.
8090 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
8092 * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
8093 args and the absence of an entry. Don't add -f each time.
8095 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
8097 * emacs-lisp/cl-seq.el (mismatch): Doc fix.
8099 Support for more than 8 colors on character terminals:
8101 * term/rxvt.el: New file.
8103 * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
8105 * term/xterm.el (xterm-standard-colors): New variable.
8106 (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
8107 (xterm-rxvt-set-background-mode): New functions.
8108 (toplevel): Call xterm-register-default-colors,
8109 xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
8110 Add support for more keys from xterm's terminfo entry.
8112 * facemenu.el (list-colors-display): If the argument is nil, don't
8113 show more colors that the number returned by display-color-cells.
8115 * term/pc-win.el (msdos-color-values): Reverse the order of the
8116 colors, since tty-color-define now preserves the registration order.
8118 * w32-fns.el (w32-tty-standard-colors): Reverse the order.
8120 * term/tty-colors.el (tty-standard-colors): Reverse the order.
8121 (tty-register-default-colors): New function; code moved from
8122 startup.el's command-line.
8123 (tty-modify-color-alist): Use nconc instead of cons, to preserve
8124 the order the colors where registered.
8126 * frame.el (display-color-cells): Use tty-display-color-cells.
8128 * startup.el (command-line): Call tty-register-default-colors.
8130 2002-01-25 Richard M. Stallman <rms@gnu.org>
8132 * subr.el (remove): Doc fix.
8134 2002-01-24 Richard M. Stallman <rms@gnu.org>
8136 * progmodes/compile.el (compilation-handle-exit):
8137 Add a compilation-handle-exit property to the "finished" message.
8138 (compilation-parse-errors): Stop parsing when that property is seen.
8140 * subr.el (substring-no-properties): New function.
8141 (copy-without-properties): Function deleted.
8143 * term/x-win.el (x-handle-geometry): Put sizes on both
8144 initial-frame-alist and default-frame-alist.
8146 * cus-edit.el (custom-save-all): Bind file-precious-flag to t
8149 * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
8151 * calendar/calendar.el (generate-calendar-month): Doc fix.
8153 2002-01-23 Richard M. Stallman <rms@gnu.org>
8155 * play/tetris.el (tetris): New defgroup.
8156 (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
8157 (tetris-default-tick-period): Convert to defcustom.
8158 Added * in docstring to indicate user variable.
8159 (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
8160 (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
8161 (tetris-buffer-height, tetris-width, tetris-height)
8162 (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
8164 2002-01-22 Stefan Monnier <monnier@cs.yale.edu>
8166 * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
8167 and is already matched by adaptive-fill-regexp.
8169 2002-01-22 Richard M. Stallman <rms@gnu.org>
8171 * bindings.el (mode-line-copied-mode-name): New variable.
8172 (mode-line-mode-name): Don't modify mode-name itself!
8173 Instead, make a copy and reuse it.
8175 * subr.el (copy-without-properties): New function.
8177 * progmodes/sh-script.el (sh-set-shell): Doc fix.
8179 * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
8180 slash if DIR is just slash.
8182 * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
8184 2002-01-21 Richard M. Stallman <rms@gnu.org>
8186 * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
8188 * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
8191 * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
8193 * ibuffer.el: Don't require ibuf-ext at load time.
8194 (ibuffer): Require ibuf-ext here.
8196 2002-01-21 Francesco Potorti` <pot@gnu.org>
8198 * generic-x.el (apache-conf-generic-mode): Highlight the first
8199 word in a line even if preceded by blanks.
8201 2002-01-21 Richard M. Stallman <rms@gnu.org>
8203 * window.el (window-body-height): Handle minibuffer window specially.
8204 Otherwise, don't return less than 1.
8206 2002-01-20 Thomas Dorner <Thomas.Dorner@start.de>
8208 * ange-ftp.el: Added support for BS2000, and for raw ftp
8209 login commands (needed in some circumstances).
8210 (ange-ftp-raw-login): New custom var.
8211 (ange-ftp-normal-login): Perform login with raw ftp commands, if
8212 ange-ftp-raw-login is set and account password is needed.
8213 (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
8214 (ange-ftp-bs2000-filename-pubset-regexp)
8215 (ange-ftp-bs2000-filename-username-regexp)
8216 (ange-ftp-bs2000-filename-prefix-regexp)
8217 (ange-ftp-bs2000-name-template): New consts.
8218 (ange-ftp-bs2000-short-filename-regexp)
8219 (ange-ftp-bs2000-fix-name-regexp-reverse)
8220 (ange-ftp-bs2000-fix-name-regexp): New consts.
8221 (ange-ftp-bs2000-special-prefix): New custom var.
8222 (ange-ftp-fix-name-for-bs2000)
8223 (ange-ftp-fix-dir-name-for-bs2000): New funs.
8224 (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
8225 (ange-ftp-bs2000-posix-hook-installed): New vars.
8226 (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
8227 (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
8228 (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
8229 (ange-ftp-bs2000-filename-regexp): New const.
8230 (ange-ftp-bs2000-additional-pubsets): New custom var.
8231 (ange-ftp-bs2000-cd-to-posix): New fun.
8233 2002-01-20 Colin Walters <walters@verbum.org>
8235 * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
8236 with `byte-compile-dynamic'.
8237 (ibuffer-default-directory, toplevel): Doc files.
8239 2002-01-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8241 * tempo.el (tempo-define-template): Doc fix.
8243 * scroll-bar.el (scroll-bar-mode): Make argument optional.
8245 2002-01-20 Jason Rumney <jasonr@gnu.org>
8247 * w32-vars.el: New file.
8249 * loadup.el [windows-nt]: Load it.
8251 * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
8252 and make them defcustoms.
8254 * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
8256 2002-01-19 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8258 * language/tibet-util.el (tibetan-decompose-region)
8259 (tibetan-decompose-string): Fix typo in docstring.
8261 * ruler-mode.el (ruler-mode): New keyword. Fix :version.
8263 2002-01-18 Richard M. Stallman <rms@gnu.org>
8265 * comint.el (comint-redirect-send-command-to-process):
8266 Restore previous current buffer.
8268 * window.el (window-body-height): New function.
8270 2002-01-18 Zoltan Kemenczy <kemenczy@rogers.com>
8272 * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
8273 "Finish Function" menu map entries for jdb mode.
8274 (gud-jdb-use-classpath): New customization variable.
8275 (gud-jdb-command-name): Add customization.
8276 (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
8277 (gud-jdb-classpath-string): New variable.
8278 (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
8279 (gud-jdb-build-source-files-list): Likewise.
8280 (gud-jdb-massage-args): Record any command argument classpath
8281 string in `gud-jdb-classpath-string'.
8282 (gud-jdb-lowest-stack-level): New function, finds bottom of current
8283 java call stack in jdb output.
8284 (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
8285 (gud-jdb-parse-classpath-string): New functions.
8286 (gud-jdb-marker-filter): Search/detect classpath information in
8287 jdb's output. marker regexp updated to match oldjdb and jdb output
8288 formats. Expand search for source files to include new/old methods
8289 using new functions above. Do not allow `gud-marker-acc' to grow
8291 (jdb): Set classpath information (if available) as jdb is started.
8292 Change `gud-break' and `gud-remove'
8293 to use new %c ("class") escape in format strings.
8294 Add `gud-finish', `gud-up', `gud-down' command string functions, and
8295 add them to the local menu map. Update `comint-prompt-regexp' for
8296 jdb and oldjdb. If attaching to an already running java VM and
8297 configured to use classpath, send command to query for classpath,
8298 else use previous method for finding and parsing java
8299 sources. Set `gud-jdb-find-source' function accordingly.
8300 (gud-mode): Doc fix.
8301 (gud-format-command): Add support for new %c ("class") escape.
8302 (gud-find-class): New function in support of %c escape.
8304 2002-01-17 Richard M. Stallman <rms@gnu.org>
8306 * ibuf-ext.el: Enable byte-compile-dynamic.
8308 2002-01-17 Jason Rumney <jasonr@gnu.org>
8310 * term/w32-win.el: Restore conditional require of fontset.
8312 2002-01-16 Richard M. Stallman <rms@gnu.org>
8314 * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
8316 (mouse-drag-region): New function. For a click in the echo area,
8319 * ibuf-ext.el: Delete the autoloads for functions defined with
8320 ibuffer-specific commands.
8322 * help.el (describe-distribution): Really call view-file.
8324 * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
8325 (ange-ftp-get-process): Pass that arg.
8327 * comint.el (comint-simple-send): Fix previous change.
8329 * net/telnet.el (telnet-simple-send): Fix previous change.
8331 * progmodes/sql.el (sql-escape-newlines-and-send)
8332 (sql-query-placeholders-and-send): Fix previous change.
8334 2002-01-16 Colin Walters <walters@verbum.org>
8336 * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
8337 URL, Compatibility headers. Update copyright notice.
8338 * ibuf-macs.el (toplevel): Require `cl' when compiling.
8340 2002-01-16 Andrew Choi <akochoi@cse.cuhk.edu.hk>
8342 * startup.el (command-line): Set EOL mnemonics for the Mac.
8344 2002-01-16 Andreas Schwab <schwab@suse.de>
8346 * mail/feedmail.el (feedmail): Fix :link spec.
8348 2002-01-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8350 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
8353 * net/eudc.el: New maintainer. Change author's address.
8354 (eudc-pre-select-window-configuration, eudc-insertion-marker):
8356 (eudc-insert-selected): Function removed.
8357 (eudc-select): Reimplemented.
8358 (eudc-expand-inline): Delete the strings only after its expansion
8359 is chosen not before.
8361 * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
8362 Minor coding style fixes.
8364 * net/eudcb-ldap.el: New maintainer. Change author's address.
8365 (eudc-attribute-display-method-alist): Display mail with
8368 * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
8369 * net/eudc-vars.el: New maintainer. Change author's address.
8371 * net/eudc-bob.el: New maintainer. Change author's address.
8372 (eudc-bob-mail-keymap): New keymap for e-mail addresses.
8373 (eudc-display-mail): New function.
8374 (eudc-bob-play-sound-at-point): Remove XEmacs case.
8376 2002-01-15 Richard M. Stallman <rms@gnu.org>
8378 * emacs-lisp/autoload.el (make-autoload):
8379 Don't handle define-ibuffer-column, define-ibuffer-filter,
8380 define-ibuffer-sorter, and define-ibuffer-op.
8382 2002-01-14 Richard M. Stallman <rms@gnu.org>
8384 * calendar/calendar.el (diary-date-forms): Doc fix.
8386 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
8388 * startup.el (command-line): Register the default tty colors even
8389 if the terminal doesn't seem to support colors.
8390 <tty-long-option-alist>: New option --color.
8391 (tty-handle-args): Parse the --color arg.
8393 * term/tty-colors.el (tty-color-mode-alist): New variable.
8395 2002-01-14 Stefan Monnier <monnier@cs.yale.edu>
8397 * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
8398 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
8400 (ange-ftp-hook-function): Preserve match-data.
8401 (ange-ftp-insert-directory): Typo.
8402 (ange-ftp-shell-command): Check if regexp matched.
8404 2002-01-13 Richard M. Stallman <rms@gnu.org>
8406 * international/mule-cmds.el: help-map bindings moved to help.el.
8408 * help.el (view-echo-area-messages): New function.
8409 (help-map): Add `e' binding. Delete obsolete `d' binding.
8410 Change old Info bindings C-f, C-k and C-i to F, K, S.
8411 Move view-emacs-FAQ from F to C-f.
8412 Move view-emacs-problems from P to C-e.
8413 Bindings moved here from mule-cmds.el.
8414 C-l binding for describe-language-environment deleted
8415 (help-for-help): Update for all these changes.
8417 * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
8419 2002-01-13 Dave Love <fx@gnu.org>
8421 * emacs-lisp/copyright.el: Doc fixes.
8422 (copyright-regexp): Add Latin-9 copyright sign.
8423 Match comment delimiters in year lists.
8424 (copyright-current-year): Initialize to load-time year.
8426 2002-01-13 Andreas Schwab <schwab@suse.de>
8428 * dired-aux.el (dired-do-shell-command): Doc fix.
8430 2002-01-13 Jan Djarv <Jan.Djarv@mbox200.swipnet.se>
8432 * startup.el (command-line-x-option-alist): New options "-fs",
8433 "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
8435 * term/x-win.el (x-handle-initial-switch): New function.
8437 2002-01-13 Colin Walters <walters@debian.org>
8439 * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
8440 define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
8442 * emacs-lisp/lisp-mode.el (toplevel): Ditto.
8444 * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
8446 2002-01-12 Richard M. Stallman <rms@gnu.org>
8448 * net/browse-url.el (browse-url-grail):
8449 Use browse-url-maybe-new-window.
8451 * net/telnet.el (telnet-simple-send):
8452 Handle comint-input-sender-no-newline like comint-simple-send.
8454 * progmodes/sql.el (sql-query-placeholders-and-send):
8455 Handle comint-input-sender-no-newline like comint-simple-send.
8456 (sql-escape-newlines-and-send): Likewise.
8458 * comint.el (comint-input-sender): Doc fix.
8459 (comint-input-sender-no-newline): New variable.
8460 (comint-simple-send): If comint-input-sender-no-newline,
8461 don't output newline, but maybe send eof.
8462 (comint-send-input): New arg NO-NEWLINE.
8463 (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
8465 2002-01-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8467 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8468 Prevent delaying when executing keyboard macros.
8470 2002-01-12 Richard M. Stallman <rms@gnu.org>
8472 * simple.el (line-move): If we can't move enough lines,
8473 go to beginning or end of line.
8475 * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
8478 * help.el (describe-mode): Call help-setup-xref in the help buffer.
8479 Switch buffers only after calling `help-buffer'.
8481 * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
8482 only when they are surrounded by whitespace.
8483 Use dired-mark-separator when adding one file name to a command.
8484 (dired-do-shell-command): Verify that * is surrounded by whitespace.
8485 Ask for confirmation if * or ? is not surrounded by whitespace.
8486 (dired-bunch-files): Re-reverse the partial file list when it is used.
8488 2002-01-12 Richard M. Stallman <rms@gnu.org>
8490 * comint.el (comint-dynamic-list-completions): Repeating the command
8491 after displaying a completion list scrolls the list.
8493 2002-01-12 Eli Zaretskii <eliz@is.elta.co.il>
8495 * files.el (find-file-noselect): Don't consider a buffer as
8496 visiting a file literally if it is in hexl-mode.
8498 * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
8500 2002-01-11 Richard M. Stallman <rms@gnu.org>
8502 * startup.el (initial-scratch-message): Fix custom type, add group.
8504 * mail/rmail.el (rmail-decode-babyl-format): Disable undo
8505 around the decode-coding-region call.
8507 * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
8508 after displaying a completion list scrolls the list.
8510 2002-01-11 Eli Zaretskii <eliz@is.elta.co.il>
8512 * version.el (emacs-version): Bump to 21.2.50.
8514 2002-01-10 Thien-Thi Nguyen <ttn@giblet.glug.org>
8516 * play/zone.el (zone-timeout): New var.
8517 (zone-hiding-modeline): New macro.
8518 (zone-call): New func.
8520 (zone): Init `modeline-hidden-level' symbol property.
8521 Use `zone-call' instead of `funcall'.
8523 (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
8525 (zone-pgm-stress): Use `zone-hiding-modeline'.
8527 (zone-pgm-stress-destress): New zone program.
8529 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
8531 * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
8533 2002-01-09 Richard M. Stallman <rms@gnu.org>
8535 * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
8537 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
8539 * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
8542 2002-01-08 Richard M. Stallman <rms@gnu.org>
8544 * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
8546 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
8548 * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
8550 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8552 * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
8553 Do not use make-local-hook.
8555 2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
8557 * international/quail.el (quail-start-translation)
8558 (quail-start-conversion): Bind last-command-event, last-command,
8559 and this-command in the first let. This fixes the change from
8562 2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
8564 * ediff-hook.el: Add an autoload cookie.
8566 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8568 * net/eudcb-ph.el, net/ldap.el: New maintainer. New e-mail
8569 address of the author.
8571 2002-01-08 Richard M. Stallman <rms@gnu.org>
8573 * replace.el (occur-mode-goto-occurrence-other-window): New command.
8574 (occur-mode-map): Bind `o' to that.
8576 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
8578 * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
8579 new macro that replaces viper-emacs-p and viper-xemacs-p in many
8580 cases. Used to reduce the number of warnings.
8582 * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
8583 (viper-standard-value): Move here from viper.el.
8584 (viper-set-unread-command-events): Move to viper-util.el
8585 (viper-check-minibuffer-overlay): Make sure
8586 viper-minibuffer-overlay is moved to cover the entire input field.
8588 * viper-util.el: use viper-cond-compile-for-xemacs-or-emacs.
8589 (viper-read-key-sequence, viper-set-unread-command-events)
8590 (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
8592 * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
8594 * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
8596 * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
8598 * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
8599 (viper-event-vector-p): Move to viper-util.el
8601 * viper.el (viper-standard-value): Move to viper-cmd.el.
8602 Use viper-cond-compile-for-xemacs-or-emacs.
8604 * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8606 * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8608 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
8609 New macro designed to be used in many places where ediff-emacs-p or
8610 ediff-xemacs-p was previously used. Reduces the number of warnings.
8611 Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
8613 (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
8614 (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
8615 (ediff-whitespace-diff-region-p, ediff-get-region-contents):
8616 Move to ediff-util.el.
8617 (ediff-event-key): Moved here.
8619 * ediff-merge.el: Got rid of unreferenced variables.
8621 * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8623 * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8624 (ediff-cleanup-mess): Improve the way windows are set up after
8626 (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
8627 (ediff-dispose-of-variant-according-to-user): New function
8628 designed to be smarter and also understands indirect buffers.
8629 (ediff-highlight-diff-in-one-buffer)
8630 (ediff-unhighlight-diff-in-one-buffer)
8631 (ediff-unhighlight-diffs-totally-in-one-buffer)
8632 (ediff-highlight-diff, ediff-highlight-diff)
8633 (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
8634 (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
8635 (ediff-get-region-contents, ediff-make-current-diff-overlay):
8637 (ediff-format-bindings-of): New function by Hannu Koivisto
8639 (ediff-setup): Make sure the merge buffer is always widened and
8641 (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
8642 result of a merge into a file visited by another buffer.
8643 (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
8644 is visited by another buffer and ask to save/delete that buffer.
8645 (ediff-verify-file-merge-buffer): New function to do the above.
8647 * ediff-vers.el: Load ediff-init.el at compile time.
8649 * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8651 * ediff.el (ediff-windows, ediff-regions-wordwise)
8652 (ediff-regions-linewise): Use indirect buffers to improve
8653 robustness and make it possible to compare regions of the same
8654 buffer (even overlapping regions).
8655 (ediff-clone-buffer-for-region-comparison)
8656 (ediff-clone-buffer-for-window-comparison): New functions.
8657 (ediff-files-internal): Refuse to compare identical files.
8658 (ediff-regions-internal): Get rid of the warning about comparing
8659 regions of the same buffer.
8661 * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
8662 Plus the following fixes courtesy of Dave Love: Doc fixes.
8663 (ediff-word-1): Use word class and move - to the
8664 front per regexp documentation.
8665 (ediff-wordify): Bind forward-word-function outside loop.
8666 (ediff-copy-to-buffer): Use insert-buffer-substring rather than
8667 consing buffer contents.
8668 (ediff-goto-word): Move syntax table setting outside loop.
8670 2002-01-07 Richard M. Stallman <rms@gnu.org>
8672 * dired.el (dired-copy-filename-as-kill): Call kill-append
8673 if following a kill command.
8675 * help-fns.el (describe-variable, describe-function):
8678 2002-01-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8680 * net/ldap.el (ldap-search-internal): Skip error message from
8681 ldapsearch. Allow listing attribute names only. Do not open
8684 * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
8685 call non-existent function.
8687 * net/eudc.el (top-level): Revert previous change.
8689 * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
8690 variables to prevent warning from byte-compiler.
8692 * net/eudc.el (top-level): Use eudc-xemacs-p instead of
8693 string-match on emacs-version again.
8695 * enriched.el (enriched-make-annotation): Fix the change from
8697 (enriched-handle-display-prop): Return proper values.
8699 * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
8700 Use proper attribute name labeledUri instead of deprecated labeledUrl.
8702 2002-01-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8704 * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
8705 editing an empty hotlist.
8707 * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
8708 Use buffer-string instead of buffer-substring for the whole buffer.
8710 * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
8713 * net/eudc-bob.el (eudc-bob-can-display-inline-images)
8714 (eudc-bob-display-jpeg): Use fboundp instead of boundp.
8715 (eudc-bob-save-object): Make the buffer unibyte.
8716 (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
8717 object to external program.
8719 2002-01-05 Andre Spiegel <spiegel@gnu.org>
8721 * vc.el (vc-branch-part): Return nil if there's no `.'
8722 (vc-default-previous-version): Renamed from vc-previous-version.
8723 New args BACKEND and FILE. Return nil for revision numbers
8725 (vc-version-diff): Call vc-BACKEND-previous-version.
8726 (vc-steal-lock): Steal lock before composing mail, so that no mail
8727 is sent when the stealing goes wrong. And we'll actually see the
8728 error in that case now.
8729 (vc-finish-steal): Removed.
8731 * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
8732 the lock, so that we see expanded headers.
8733 (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
8734 (vc-rcs-minor-part, vc-rcs-previous-version): Removed. These are
8735 available from vc.el. Updated all callers.
8737 2002-01-05 Richard M. Stallman <rms@gnu.org>
8739 * enriched.el (enriched-make-annotation): Doc fix.
8741 * format.el (format-replace-strings, format-subtract-regions)
8742 (format-annotate-region, format-annotate-location)
8743 (format-annotate-atomic-property-change)
8744 (format-annotate-single-property-change): Doc fixes.
8746 2002-01-05 Jason Rumney <jasonr@gnu.org>
8748 * term/w32-win.el: Require fontset unconditionally.
8749 (w32-handle-scroll-bar-event): Remove.
8751 2002-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8753 * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
8754 copyrights to be updated.
8756 2002-01-04 Eli Zaretskii <eliz@is.elta.co.il>
8758 * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
8761 * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
8763 2002-01-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8765 * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
8766 (ldap-ignore-attribute-codings): Change the default value to allow
8767 encoding/decoding of attributes.
8768 (ldap-coding-system): Use UTF-8 as the coding-system. Doc fix.
8770 2002-01-03 Richard M. Stallman <rms@gnu.org>
8772 * files.el (basic-save-buffer): Undo previous change.
8774 * calendar/diary-lib.el (diary-block): Doc fix.
8776 * custom.el (defcustom): Fix syntax of previous change.
8778 2002-01-03 Per Abrahamsen <abraham@dina.kvl.dk>
8780 * custom.el (defcustom): Documented :tag, :link and :load.
8782 2002-01-03 Eli Zaretskii <eliz@is.elta.co.il>
8784 * mail/sendmail.el (mail-recover-1): New function.
8785 (mail-recover): Switch to the *mail* buffer right away.
8786 Use buffer-auto-save-file-name instead of calling
8787 make-auto-save-file-name. Call dired-noselect instead of invoking
8788 `ls' directly. Bind coding-system-for-read to emacs-mule-unix
8789 before reading the auto-save file. If the buffer's auto-save file
8790 does not exist, call mail-recover-1 to allow recovery from past
8793 2002-01-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8795 * time.el (display-time-load-average-threshold): Fix defcustom
8796 (add type and group).
8798 * net/ange-ftp.el (ange-ftp-shell-command): Remove port
8799 specification from the hostname.
8801 2002-01-02 Richard M. Stallman <rms@gnu.org>
8803 * facemenu.el (facemenu-active-faces):
8804 Use face-attributes-as-vector, not face-attributes-vector.
8806 2002-01-02 Chris Hanson <cph@aarau.ai.mit.edu>
8808 * xscheme.el: Eleven years of updates on a private copy.
8810 Extensive changes to support multiple xscheme buffers:
8811 (run-scheme): Break up into new functions to facilitate starting
8812 processes in other buffers.
8813 (xscheme-start, xscheme-read-command-line): New functions.
8814 (start-scheme, select-scheme)
8815 (default-xscheme-runlight)
8816 (global-set-scheme-interaction-buffer)
8817 (local-set-scheme-interaction-buffer)
8818 (local-clear-scheme-interaction-buffer)
8819 (exit-scheme-interaction-mode)
8820 (verify-xscheme-buffer): New functions.
8821 (xscheme-process-name, xscheme-buffer-name)
8822 (xscheme-runlight): New internal vars.
8823 (default-xscheme-runlight): New const.
8824 (xscheme-start-process): Add args for the process/buffer names.
8825 (reset-scheme): Pass process/buffer names.
8826 (scheme-interaction-mode): Initialize new local vars.
8827 (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
8828 (xscheme-select-process-buffer, xscheme-process-buffer)
8829 (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
8830 (xscheme-goto-output-point, xscheme-write-message-1): Use new
8831 var xscheme-process-name.
8832 (xscheme-start-process): Initialize xscheme-process-name and
8833 xscheme-buffer-name in the process buffer. Pass buffer name to
8834 xscheme-modeline-initialize.
8835 (xscheme-modeline-initialize): Add argument to specify buffer name
8837 (xscheme-process-sentinel): Make sure sentinel is run in the
8838 process buffer so it sees its local vars.
8839 (xscheme-process-filter-initialize, xscheme-set-runlight):
8840 More elaborate logic to handle multiple-buffer mode lines.
8842 (xscheme-enter-input-wait): Re-enable control-G handler upon
8843 entering input wait.
8845 (scheme-interaction-mode): Add arg to preserve local vars.
8846 (xscheme-enter-interaction-mode)
8847 (xscheme-enter-debugger-mode): Preserve local vars.
8848 (xscheme-start-process): Clobber local vars.
8850 (scheme-interaction-mode-commands): Allow end user to add commands
8851 to scheme-interaction-mode keymap.
8852 (scheme-interaction-mode-commands-alist): New variable.
8854 (xscheme-send-string): Don't use insert-before-markers.
8856 Implement a per-buffer kill ring:
8857 (xscheme-insert-expression)
8858 (xscheme-rotate-yank-pointer, xscheme-yank)
8859 (xscheme-yank-pop, xscheme-yank-push): New functions.
8860 (xscheme-expressions-ring)
8861 (xscheme-expressions-ring-yank-pointer)
8862 (xscheme-expressions-ring-max): New variables.
8863 (xscheme-send-string-1): Call xscheme-insert-expression to save
8865 (xscheme-yank-previous-send): Now an alias for xscheme-yank.
8866 (xscheme-previous-send): Deleted variable.
8868 (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
8869 (xscheme-send-control-g-interrupt): Use process-send-string rather
8872 (xscheme-send-region): Insert a newline after an expression that
8873 is submitted in the interaction buffer, for consistency with
8874 recent changes to Edwin.
8876 (xscheme-delete-output): New function mimics comint-delete-output.
8877 (xscheme-last-input-end): New internal variable.
8878 (xscheme-process-filter-output): Update xscheme-last-input-end.
8880 (xscheme-send-control-g-interrupt): Make sure that
8881 xscheme-control-g-disabled-p is looked up in the right buffer.
8883 (xscheme-enable-control-g): Clear C-g message if visible.
8884 (xscheme-control-g-message-string): New internal var.
8885 (xscheme-send-control-g-interrupt): Use new var.
8887 (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
8888 Delay after sending interrupt in order to work around race condition.
8890 (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
8891 (xscheme-send-char): Use xscheme-send-char rather than send-string
8892 to send single char.
8894 (xscheme-process-filter, xscheme-process-filter-alist):
8895 Add support for evaluating expressions outside of the call-excursion.
8896 (xscheme-process-filter:string-action-noexcursion): New func.
8898 (xscheme-write-value): Change output string to match that used by
8901 (xscheme-coerce-prompt): Don't write a space after a command
8902 prompt. The PROMPT-FOR-COMMAND- procedures will take care of this
8905 (reset-scheme): Delete process after killing it.
8907 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
8909 * bindings.el (function-key-map): Don't bind shifted keypad
8912 2002-01-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8914 * enriched.el (enriched-handle-display-prop): Remove unused variables.
8915 (enriched-mode): Doc fix.
8917 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
8919 * international/ucs-tables.el (ucs-8859-8-alist): Comment away
8922 2002-01-01 Richard M. Stallman <rms@gnu.org>
8924 * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
8926 2001-12-31 Richard M. Stallman <rms@gnu.org>
8928 * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
8929 * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
8930 * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
8931 * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
8932 * progmodes/cperl-mode.el, progmodes/idlwave.el:
8933 * progmodes/sh-script.el, progmodes/vhdl-mode.el:
8934 Adapt face definitions to use :weight and :slant.
8936 * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
8938 * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
8940 * font-lock.el (initializing from font-lock-face-attributes):
8941 Use :weight and :slant, not :bold and :italic.
8943 2001-12-31 Per Abrahamsen <abraham@dina.kvl.dk>
8945 * cus-edit.el (custom-face-edit-fix-value): New function.
8946 (custom-face-edit): Use it, to convert :italic and :bold to new forms.
8948 2001-12-30 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8950 * progmodes/octave-mod.el (octave-abbrev-table):
8951 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
8952 * progmodes/fortran.el (fortran-mode-abbrev-table):
8953 * progmodes/f90.el (f90-mode-abbrev-table):
8954 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
8955 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
8956 predefined abbrevs as "system" abbrevs.
8958 2001-12-30 Richard M. Stallman <rms@gnu.org>
8960 * info.el (Info-fontify-node): For a **** underline line, put the
8961 invisible and intangible props on the following newline, but not
8962 on the previous newline or the last char of the previous line.
8964 * faces.el (face-set-after-frame-default): Don't change `default' face.
8966 * faces.el (minibuffer-prompt): Adopt some default colors.
8968 * replace.el (query-replace-read-args): Immediate error if read-only.
8970 * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
8971 Display the output buffer in a more intelligent way.
8973 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
8975 * ls-lisp.el (insert-directory): Modify the "total" line wording,
8976 in accordance with files.el's insert-directory.
8978 2001-12-29 Richard M. Stallman <rms@gnu.org>
8980 * files.el (basic-save-buffer): If a before-write hook displays
8981 an echo area message, pause before calling basic-save-buffer-1.
8983 2001-12-29 Markus Rost <rost@math.ohio-state.edu>
8985 * textmodes/reftex-global.el (reftex-query-replace-document)
8986 (reftex-change-label): Doc fix.
8988 * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
8990 * progmodes/etags.el (tags-query-replace): Doc fix.
8992 2001-12-29 Richard M. Stallman <rms@gnu.org>
8994 * progmodes/compile.el (compile-internal): Fix previous change.
8996 2001-12-28 Richard M. Stallman <rms@gnu.org>
8998 * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
8999 shrink the windows above as necessary to get space.
9000 (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
9002 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
9003 This fixes a bug that treated all files as directories.
9004 (ange-ftp-insert-directory): Explicitly follow symlinks.
9006 * international/iso-transl.el (iso-transl-char-map) Eliminate the
9007 alias symbols--put the translated sequences here directly.
9009 * progmodes/cc-mode.el (c-mode-abbrev-table)
9010 (c++-mode-abbrev-table, objc-mode-abbrev-table)
9011 (java-mode-abbrev-table, pike-mode-abbrev-table):
9012 Mark all the predefined abbrevs as "system" abbrevs.
9014 * mail/sendmail.el (mail-envelope-from): Fix custom type.
9015 (sendmail-send-it): Check mail-specify-envelope-from
9016 and mail-envelope-from in the mail buffer at start.
9018 2001-12-28 Simon Josefsson <jas@extundo.com>
9020 * mail/sendmail.el (mail-envelope-from): Fix :type.
9021 (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
9023 2001-12-28 Richard M. Stallman <rms@gnu.org>
9025 * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
9027 * simple.el (line-move-invisible): New subroutine.
9028 (line-move-to-column): New subroutine--smarter about advancing over
9029 invisible parts of a line, or lines, but only as long as hpos grows.
9030 (line-move-finish): New subroutine: repeatedly processes desired
9031 column, intangibility, and fields.
9032 (line-move): Use those subroutines.
9033 When moving lines downward, skip invisible text first rather than last.
9035 2001-12-27 Richard M. Stallman <rms@gnu.org>
9037 * international/mule-diag.el (describe-char-after):
9038 Describe the text properties of the char after point.
9040 * help.el (describe-key): Doc fix.
9042 2001-12-26 Markus Rost <rost@math.ohio-state.edu>
9044 * find-dired.el (find-dired-sentinel): Precede exit message by
9045 two spaces, to match the regexp in dired-between-files.
9047 2001-12-28 Miles Bader <miles@gnu.org>
9049 * wid-edit.el (widget-toggle-value-create): Don't eval actual
9050 images (which are lists too).
9052 2001-12-27 Eli Zaretskii <eliz@is.elta.co.il>
9054 * language/european.el: Fix the doc string of "Latin-5" language
9057 2001-12-26 Richard M. Stallman <rms@gnu.org>
9059 * textmodes/flyspell.el (flyspell-mode-map): New keymap,
9060 defined as before 2001-11-09.
9061 (add-minor-mode call): Specify the keymap.
9063 * progmodes/compile.el (compile-internal):
9064 Set TERM variable in process-environment.
9066 2001-12-25 Richard M. Stallman <rms@gnu.org>
9068 * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
9071 * startup.el (command-line): Convert command line args
9072 to Emacs internal representation using locale-coding-system.
9074 2001-12-25 Eli Zaretskii <eliz@is.elta.co.il>
9076 * international/fontset.el: Don't require ind-util when compiling.
9078 2001-12-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9080 * emulation/tpu-edt.el (tpu-reset-screen-size):
9081 Use set-frame-height and set-frame-width instead of set-screen-height
9082 and set-screen-width.
9084 * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
9085 of obsolete set-screen-width.
9087 * locate.el (locate): Remove dot at the end of error argument.
9089 * emerge.el (emerge-show-file-name): Use frame-height instead of
9090 obsolete screen-height.
9092 * mail/mh-utils.el (mh-show-msg): Likewise.
9093 (mh-handle-process-error): Use frame-width instead of obsolete
9096 2001-12-25 Richard M. Stallman <rms@gnu.org>
9098 * window.el (balance-windows): Use new PRESERVE-BEFORE arg
9099 to enlarge-window. Use save-selected-window. Don't try
9100 to resize windows that end at the bottom "level".
9101 Retry changing the sizes until the windows get the desired sizes.
9102 Discount the minibuffer when computing total height available.
9104 * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
9105 (debugger-make-xrefs): Only make a button for the first symbol
9108 2001-12-24 Eli Zaretskii <eliz@is.elta.co.il>
9110 * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
9111 Call IT-setup-unicode-display here instead of adding it to
9112 dos-codepage-setup-hook, so that Unicode display tables are set
9113 before dos-codepage-setup-hook runs.
9115 2001-12-24 Richard M. Stallman <rms@gnu.org>
9117 * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
9118 (nslookup-mode-abbrev-table): Don't define it.
9119 (smbclient-mode-abbrev-table): Don't define it.
9120 (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
9121 (nslookup-mode, smbclient-mode): Likewise.
9122 (network-connection-service-abbrev-alist): Variable deleted.
9123 (network-connection-mode-setup): Don't set up abbrev table.
9125 * faces.el (minibuffer-prompt): New face.
9126 (minibuffer-prompt-properties): Add `face' property.
9128 * replace.el (occur-mode-display-occurrence): New function.
9129 (occur-mode-map): Bind C-o to it.
9131 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
9133 * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
9134 (viper-special-read-and-insert-char): Make C-m work right in the r
9136 (viper-buffer-search-enable): Fixed format string.
9138 * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
9139 instead of viper-info-on-file.
9140 (ex-set-visited-file-name): New function.
9142 * viper.el (viper-emacs-state-mode-list): Added mail-mode.
9144 * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
9147 * ediff-init.el: Fixed some doc strings.
9149 * ediff-util.el (ediff-after-quit-hook-internal): New variable.
9150 Got rid of make-local-hook.
9152 * ediff-wind.el (ediff-setup-control-frame): Got rid of
9155 2001-12-23 Richard M. Stallman <rms@gnu.org>
9157 * term/x-win.el (x-handle-geometry): Put height and width
9158 on default-frame-alist, left and top on initial-frame-alist.
9159 * term/w32-win.el (x-handle-geometry): Likewise.
9161 * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
9163 * play/yow.el (yow): Use an arg to distinguish interactive calls,
9166 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9168 * emacs-lisp/elint.el (elint-unknown-builtin-args):
9169 Remove mocklisp entries.
9171 * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
9174 * emulation/mlconvert.el: File removed.
9176 * emulation/mlsupport.el: Moved to obsolete.
9178 * obsolete/mlsupport.el: Moved there from lisp/emulation.
9180 * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
9182 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9183 Remove mocklisp case.
9185 * help-fns.el (describe-function-1): Remove mocklisp function case.
9187 2001-12-22 Miles Bader <miles@gnu.org>
9189 * textmodes/refill.el (refill-mode): Don't barf when redundantly
9190 turning refill-mode off.
9192 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9194 * time.el (display-time-load-average-threshold): New variable.
9195 (display-time-update): Use it.
9197 These changes allow cycling through past 1, 5 and 15 minutes
9198 load-average displayed in the mode-line.
9200 * time.el (display-time-default-load-average): New customizable option.
9201 (display-time-load-average): New variable.
9202 (display-time-cycle-load-average): New function.
9203 (display-time-update): Use them.
9205 2001-12-21 Richard M. Stallman <rms@gnu.org>
9207 * apropos.el (apropos-print): SPACING is now nil or a separator string.
9208 (apropos-documentation, apropos-value): Pass a suitable string.
9210 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
9212 * dired.el (dired-free-space-program, dired-free-space-args):
9213 Aliases for back-compatibility.
9215 * info.el (Info-select-node): If Info-use-header-line is nil, set
9216 header-line-format to nil.
9217 (Info-fontify-node): Don't put a keymap text property on the
9218 heading if we are not going to display the header line. Remove
9219 any such text properties left over from past visits to this node.
9221 * ls-lisp.el (insert-directory): Insert the amount of free disk
9222 space, like files.el's insert-directory does.
9224 * files.el (directory-free-space-program):
9225 Mention file-system-info in the doc string.
9226 (get-free-disk-space): New function; code moved from insert-directory.
9227 (insert-directory): Call get-free-disk-space to get the amount of
9230 2001-12-21 Richard M. Stallman <rms@gnu.org>
9232 * help.el (view-order-manuals, view-emacs-news, describe-copying)
9233 (describe-distribution, describe-project): Use view-file.
9235 * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
9237 * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
9239 * emacs-lisp/easy-mmode.el (define-minor-mode):
9240 Make no arg by default in an interactive call,
9241 so that repeating the command toggles again.
9243 * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
9245 2001-12-21 Christoph Wedler <Christoph.Wedler@sap.com>
9247 * antlr-mode.el: More sophisticated indentation of cpp directive.
9248 (antlr-indent-at-bol-alist): New user option.
9249 (antlr-indent-line): Use it.
9250 (antlr-indent-style): New user option.
9251 (antlr-mode): Use it.
9252 (antlr-indent-item-regexp): Customize.
9254 * antlr-mode.el: Syntax highlighting changes.
9255 (antlr-font-lock-literal-regexp): New user option.
9256 (antlr-font-lock-syntax-face): New face used for :, |, ....
9257 (antlr-font-lock-default-face): New face.
9258 (antlr-font-lock-additional-keywords): Use them.
9260 * antlr-mode.el: New command to insert options -- variables.
9261 (antlr-mode-map): New binding [C-c C-o].
9262 (antlr-mode-menu): New submenus.
9263 (antlr-options-use-submenus): New user option.
9264 (antlr-tool-version): New user option.
9265 (antlr-options-auto-colon): New user option.
9266 (antlr-options-style): New user option.
9267 (antlr-options-push-mark): New user option.
9268 (antlr-options-assign-string): New user option.
9269 (antlr-options-headings): New variable.
9271 * antlr-mode.el: New command to insert options -- specific.
9272 (antlr-options-alists): New variable.
9273 (antlr-read-value): New function.
9274 (antlr-read-boolean): New function.
9275 (antlr-language-option-extra): New function.
9276 (antlr-language-limit-n-regexp): Change default to higher LIMIT.
9277 (antlr-c++-mode-extra): New function.
9278 (antlr-grammar-tokens): New function.
9279 (antlr-imenu-create-index-function): New optional argument.
9281 * antlr-mode.el: New command to insert options -- functions.
9282 (antlr-insert-option): New command.
9283 (antlr-insert-option-interactive): New function.
9284 (antlr-options-menu-filter): New function.
9285 (antlr-option-kind): New function.
9286 (antlr-scan-lists): New alias.
9287 (antlr-scan-lists-internal): New function.
9288 (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
9289 (antlr-option-level): New function.
9290 (antlr-syntactic-grammar-depth): New function.
9291 (antlr-option-location): New function.
9292 (antlr-insert-option-do): New function.
9293 (antlr-option-spec): New function.
9294 (antlr-version-string): New function.
9295 (antlr-insert-option-existing): New function.
9296 (antlr-insert-option-space): New function.
9297 (antlr-insert-option-area): New function.
9299 * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
9300 with narrowing. Menu change. Miscellaneous.
9301 (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
9302 (antlr-mode-map): New bindings for characters in ":;|&(){}".
9303 (antlr-electric-character): New command.
9304 (antlr-class-header-regexp): New variable.
9305 (antlr-font-lock-additional-keywords): Use it.
9306 (antlr-imenu-create-index-function): Use it.
9307 (antlr-file-dependencies): Use it.
9308 (antlr-indent-line): Also works with restrictions.
9309 (antlr-indent-command): Interactive spec - changes the buffer.
9310 (antlr-language-for-option): Deletia.
9311 (antlr-language-option): New function, defined instead.
9312 (antlr-mode): Use it.
9314 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
9316 * jka-compr.el (jka-compr-partial-uncompress): Use null-device
9317 instead of a literal /dev/null.
9319 * Makefile.in (distclean): Remove Makefile in the build
9320 directory, not in the source directory.
9322 2001-12-21 Simon Josefsson <jas@extundo.com>.
9324 * mail/smtpmail.el (smtpmail-send-queued-mail):
9325 Use with-temp-buffer instead of find-file-noselect, and bind
9326 coding-system-for-read to no-conversion when reading the queued
9327 messages. (Simon's code modified slightly by Eli Zaretskii.)
9329 2001-12-20 Werner Lemberg <wl@gnu.org>
9331 * international/mule-diag.el (describe-coding-system)
9332 (print-coding-system-briefly): Make printed output have a similar
9333 format as describe-character-set.
9335 2001-12-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9337 * play/blackbox.el (bb-member): Remove, use member instead.
9338 (bb-delete): Remove, use delete instead.
9339 Update copyright notice. Defvar for bb-board, bb-x, bb-y,
9340 bb-score, bb-detour-count and bb-balls-placed.
9341 Propertize results of rays.
9343 2001-12-19 Karl Fogel <kfogel@red-bean.com>
9345 * isearch.el (isearch-forward, isearch-edit-string): Make doc
9346 strings mention keybinding for `isearch-yank-word-or-char',
9347 rather than `isearch-yank-word', since the former is bound now
9348 and the latter is not.
9349 (isearch-yank-word-or-char): Fix formatting.
9351 2001-12-19 Werner Lemberg <wl@gnu.org>
9353 * language/czech.el, language/european.el, language/slovak.el:
9354 More fixes for language info doc strings.
9356 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
9358 * loadup.el: Add "language" to the load-path.
9360 2001-12-19 Richard M. Stallman <rms@gnu.org>
9362 * international/mule-cmds.el (describe-language-environment):
9363 Fix calls to help-xref-button.
9365 2001-12-19 Miles Bader <miles@gnu.org>
9367 * international/fontset.el: Require `ind-util' when compiling.
9369 2001-12-18 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9371 * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
9372 instead of decompose-composite-char.
9374 2001-12-18 Richard M. Stallman <rms@gnu.org>
9376 * simple.el (eval-expression-print-level)
9377 (eval-expression-print-length): Doc fixes.
9379 * international/mule-diag.el (describe-character-set):
9380 Fix the arg to help-xref-button.
9382 * files.el (directory-free-space-program): New variable.
9383 (directory-free-space-args): New variable.
9384 (insert-directory): Use those two variables for getting free space.
9385 Use file-system-info instead, if that is defined.
9387 * dired.el (dired-free-space-program): Variable deleted.
9388 (dired-free-space-args): Variable deleted.
9389 (dired-insert-directory): Don't try to determine free space.
9391 * files.el (font-lock-defaults): Add risky-local-variables prop.
9392 (hack-one-local-variable): Treat various font-lock variables as risky.
9394 2001-12-18 Werner Lemberg <wl@gnu.org>
9396 * language/chinese.el, language/cyrillic.el:
9397 * language/czech.el, language/european.el, language/greek.el:
9398 * language/hebrew.el, language/indian.el, language/japanese.el:
9399 * language/korean.el, language/lao.el, language/slovak.el:
9400 * language/thai.el, language/tibetan.el, language/vietnamese.el:
9401 Improve documentation strings of coding systems and language infos.
9403 2001-12-18 Werner LEMBERG <wl@gnu.org>
9405 Add support for EUC-TW decoding/encoding.
9407 * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
9408 (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
9409 New auxiliary functions to build `big5-to-cns'.
9410 (big5-to-cns): New translation alist.
9412 * language/chinese.el: Added new coding system `euc-tw' and its
9414 Updated language `Chinese-CNS' to include euc-tw encoding also.
9415 (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
9418 2001-12-18 Dave Love <fx@gnu.org>
9420 * loadup.el: Add language/utf-8-lang, language/georgian.
9422 * image-file.el (image-file-name-extensions): Add pnm. Doc fix.
9423 (image-file-name-regexps): Doc fix.
9425 * server.el (server-unload-hook): New function.
9427 * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
9428 (lm-crack-copyright): Cope with multi-line copyright `lines'.
9430 * simple.el (newline): Doc fix.
9431 (eval-expression-print-level, eval-expression-print-length): Doc
9433 (next-line, previous-line): Make arg optional.
9436 * Makefile.in (DONTCOMPILE): Add various language files.
9438 * international/quail.el (quail-input-string-to-events): Don't use
9441 * progmodes/f90.el (f90-break-line): Avoid infinite recursion
9444 2001-12-17 Richard M. Stallman <rms@gnu.org>
9446 * comint.el (comint-dynamic-list-input-ring-select): New function.
9447 Switches back to the old window configuration.
9448 (comint-dynamic-list-input-ring): Bind RET to that function.
9449 (comint-dynamic-list-input-ring-window-conf): New variable.
9451 2001-12-17 Werner Lemberg <wl@gnu.org>
9453 * international/mule-conf.el: Improve documentation strings of
9456 2001-12-16 Richard M. Stallman <rms@gnu.org>
9458 * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
9459 (dired-mode-map): Bind w to dired-copy-filename-as-kill.
9461 * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
9463 * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
9464 Add a DESCRIPTION for the makefile item.
9466 * find-file.el (ff-other-file-name): New function.
9468 2001-12-16 Eli Zaretskii <eliz@is.elta.co.il>
9470 * international/quail.el (quail-input-string-to-events): Fix last
9473 2001-12-16 Richard M. Stallman <rms@gnu.org>
9475 * isearch.el (isearch-edit-string): When we set isearch-string
9476 to the default, also set isearch-message.
9478 * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
9480 * startup.el (command-line-1): Display startup screen
9481 even if there are command line args.
9482 Add a note about how to go to editing your files.
9483 (fancy-splash-head): Add a note about how to go to your files.
9484 (fancy-splash-outer-buffer): New variable.
9485 (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
9487 * subr.el (with-temp-message): At the end, always discard
9488 the temp message, even by clearing the echo area.
9490 * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
9492 2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
9494 * log-view.el (log-view-message-re, log-view-current-tag):
9495 Recognize Subversion's log output format.
9497 * international/fontset.el: Build the list L at compile time.
9499 * language/ind-util.el (mapthread): Make a closure.
9501 2001-12-15 Richard M. Stallman <rms@gnu.org>
9503 * isearch.el (isearch-start-hscroll): New variable.
9504 (isearch-mode): Set isearch-start-hscroll.
9505 (isearch-update): Restore original hscrolling if possible.
9507 * isearch.el (isearch-edit-string):
9508 Treat isearch-yank-word-or-char specially, like isearch-yank-word.
9510 * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
9511 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
9512 rather than regexp search and (2) copying text properties
9513 already set up on text unchanged from the previous backtrace.
9515 * case-table.el (set-case-syntax-pair):
9516 Detect invalid calls and signal an error.
9518 2001-12-15 Richard M. Stallman <rms@gnu.org>
9520 * language/ind-util.el (range): Function deleted.
9521 (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
9524 * language/devan-util.el (devanagari-range): Renamed from `range'.
9526 (devanagari-regexp-of-hashtbl-keys):
9527 Renamed from `regexp-of-hashtbl-keys'. All calls changed.
9529 2001-12-15 Dave Love <fx@gnu.org>
9531 * language/ind-util.el: Don't require cl.
9532 (indian-glyph-char, indian-glyph-max-char)
9533 (indian-char-glyph): Moved from indian.el
9534 (indian--puthash-char, mapthread): Don't quote lambda.
9535 (indian--map): New function.
9536 (indian--puthash-v, indian--puthash-c, indian--puthash-m)
9537 (indian--puthash-cv): Use it.
9539 * language/indian.el (indian-glyph-char, indian-glyph-max-char)
9540 (indian-char-glyph): Moved to ind-util.el
9542 * language/devan-util.el (devanagari-post-read-conversion):
9545 * language/georgian.el: New file.
9547 * international/mule-cmds.el (locale-language-names): Add various
9548 entries. Remove utf-8 special case.
9549 (locale-charset-language-names, locale-preferred-coding-systems):
9551 (set-language-environment): Process required-features earlier.
9553 * international/quail.el (quail-keyboard-layout-alist):
9555 (quail-keyboard-layout-type): Fix :type.
9556 (quail-choose-completion-string): Simplify.
9557 (quail-update-leim-list-file): Don't get fooled by commented-out code.
9558 (quail-input-string-to-events): Run events through
9559 translation-table-for-input.
9561 * international/mule-conf.el (translation-table-for-input):
9563 (latin-iso8859-14): Amend description.
9564 (file-coding-system-alist): Add entry for utf-8.
9566 * language/utf-8-lang.el: New file.
9568 * international/code-pages.el: New file.
9570 * language/hebrew.el ("Windows-1255"): New language.
9572 * language/european.el ("Welsh", "Latin-7", "Lithuanian")
9573 ("Latvian"): New languages.
9575 2001-12-14 Stefan Monnier <monnier@cs.yale.edu>
9577 * xml.el: Use setq rather than (set 'foo bar).
9578 Use push+nreverse rather than append.
9579 (xml-node-name, xml-node-attributes, xml-node-children):
9580 Use defsubst rather than macros.
9581 (xml-parse-region): Handle a nil return value from xml-parse-tag.
9582 (xml-parse-tag): Don't skip white space. Return nil for a comment.
9583 Concat the two strings surrounding a comment into a single string.
9585 * newcomment.el (comment-indent): Jump to the middle of empty comments.
9587 2001-12-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9589 * select.el (xselect-convert-to-class, xselect-convert-to-name):
9592 2001-12-14 Andre Spiegel <spiegel@gnu.org>
9594 * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
9595 Return nil if FILE is not registered.
9596 (vc-check-master-templates, vc-default-make-version-backups-p):
9599 2001-12-13 David Ponce <david@dponce.com>
9601 * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
9602 (ruler-mode-left-fringe-cols): New macro.
9603 (ruler-mode-right-fringe-cols): New macro.
9604 (ruler-mode-left-scroll-bar-cols): New macro.
9605 (ruler-mode-right-scroll-bar-cols): New macro.
9606 (ruler-mode-ruler): Use above new macros.
9608 2001-12-13 Richard M. Stallman <rms@gnu.org>
9610 * files.el (set-auto-mode): Fix previous change.
9612 2001-12-13 Stefan Monnier <monnier@cs.yale.edu>
9614 * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
9615 (easy-menu-do-define, easy-menu-convert-item-1)
9616 (easy-menu-define-key-intern, easy-menu-get-map): Use it.
9617 (easy-menu-return-item): Only return nil if there is no binding.
9619 2001-12-13 Rajesh Vaidheeswarran <rv@gnu.org>
9621 * whitespace.el (whitespace-version): 3.2
9622 * whitespace.el (whitespace-force-mode-line-update): Replace with
9623 `whitespace-mode-line-update', which is an alias to the correct
9624 function in various emacsen.
9625 * whitespace.el (whitespace-{un,}highlight-the-space):
9626 Add colorized highlighting of the bogus whitespaces in a buffer/file,
9627 using the `whitespace-highlight-face' if
9628 `whitespace-display-spaces-in-color' is set.
9630 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
9632 * international/mule.el (set-auto-coding): Don't search for
9633 "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
9635 2001-12-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9637 * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
9639 * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
9641 * mail/rmailsum.el (rmail-summary-mode): Likewise.
9643 2001-12-13 Richard M. Stallman <rms@gnu.org>
9645 * simple.el (undo): Always set this-command to `undo',
9646 so that the next undo after an error will not begin redoing.
9648 * simple.el (shell-command): Doc fix.
9649 (shell-command-on-region): If there is output an an error,
9650 add "...Shell command failed" to the output.
9652 2001-12-13 David Ponce <david@dponce.com>
9654 * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
9655 (ruler-mode-left-fringe-cols): Function replaced by more efficient
9656 implementation `ruler-mode-extra-left-cols'.
9657 (ruler-mode-ruler): Use above new function. Take into account
9658 that the fringe areas can now be resized.
9660 2001-12-12 Richard M. Stallman <rms@gnu.org>
9662 * international/characters.el (Unicode): Comment out
9663 the specifications for kelvin and angstrom signs.
9665 * international/mule.el (make-translation-table-from-vector):
9666 Allow null elements in VEC.
9668 * international/ucs-tables.el (unify-8859-on-encoding-mode)
9669 (unify-8859-on-decoding-mode): Swap the code in their bodies.
9672 2001-12-11 Richard M. Stallman <rms@gnu.org>
9674 * derived.el (derived-mode-p): Function moved to subr.el.
9676 * subr.el (derived-mode-p): Moved here from derived.el.
9678 * international/mule.el (set-auto-coding): Use set-auto-mode-1.
9680 * files.el (set-auto-mode-1): New subroutine, broken out of
9682 (set-auto-mode, hack-local-variables-prop-line): Use that.
9684 2001-12-11 Dave Love <fx@gnu.org>
9686 * language/thai-util.el, language/thai.el: Add Unicode equivalents.
9688 * language/european.el: Remove autoload cookies. Fix registration
9689 of diacritic composition function.
9691 2001-12-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9693 * calendar/todo-mode.el: Require time-stamp.
9695 * net/zone-mode.el (zone-mode): Don't use make-local-hook.
9697 2001-12-11 Richard M. Stallman <rms@gnu.org>
9699 * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
9701 * textmodes/ispell.el (ispell-buffer-local-parsing):
9702 Match xml like sgml.
9704 * emacs-lisp/advice.el (ad-compile-function):
9705 Byte compile the function under another (uninterned) name.
9707 * gud.el (gdb): Define and bind gud-jump.
9709 * font-lock.el (font-lock-mode):
9710 Put our function at the end of after-change-functions.
9712 * ediff-diff.el (ediff-cmp-options): Doc fix.
9714 * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
9716 2001-12-10 Richard M. Stallman <rms@gnu.org>
9718 * isearch.el (isearch-yank-word-or-char): New function.
9719 (isearch-mode-map): Bind C-w to that.
9721 * menu-bar.el (menu-bar-mode): Make arg optional.
9723 * simple.el (line-move): Cope if next-single-property-change
9724 or previous-single-property-change returns nil.
9726 * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
9727 Don't use interactive-p; instead, pass the proper args
9728 in (interactive...). Clean up most of the trouble-report strings.
9730 2001-12-10 Eli Zaretskii <eliz@is.elta.co.il>
9732 * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
9733 enqueued messages literally.
9735 2001-12-10 Noah Friedman <friedman@splode.com>
9737 * battery.el (battery-insert-file-contents): Obsolete function
9739 (battery-read-function): Obsolete function removed.
9740 (battery-linux-proc-apm): Use insert-file-contents.
9742 2001-12-07 Stephen Eglen <stephen@gnu.org>
9744 * iswitchb.el (iswitchb-visit-buffer):
9745 Use `select-frame-set-input-focus'--needed when window manager
9746 uses "click to focus" policy.
9748 2001-12-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9750 * COPYING: Moved back.
9752 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il>
9754 * term/internal.el (IT-character-translations): Add entries for
9757 * international/characters.el: Resurrect the Hebrew category
9758 settings for all Hebrew characters removed by the last change.
9759 Add code for setting the Hebrew category of the Unicode Hebrew
9760 characters. Set syntax entries for Hebrew punctuation characters.
9762 * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
9763 points and directional formatting control characters.
9765 2001-12-07 Dave Love <fx@gnu.org>
9767 * language/lao-util.el: Add Unicode equivalents for rules.
9768 (lao-post-read-conversion): New function.
9770 * language/lao.el: Add Unicode equivalents.
9771 (lao): Add post-read conversion.
9773 * international/latin1-disp.el: Fix some 8-bit-graphic characters.
9774 Use iso2022 encoding.
9775 (latin1-char-displayable-p): Doc fix.
9776 (latin1-display-ucs-per-lynx): New option.
9777 (latin1-display-ucs-per-lynx): New command.
9778 (latin1-display-reset): Special-case arabic.
9779 (ucs-tables): Require.
9780 (latin1-display-sets, latin1-display-setup): Add arabic.
9781 (latin1-display) <variable>: Use function latin1-display.
9782 (latin1-display) <function>: Add mule-unicode stuff.
9783 (latin1-display-check-font): Don't lose if `info' is nil.
9785 * international/iso-transl.el: Insert Latin-1 characters, not
9788 * language/european.el (diacritic-composition-pattern): New constant.
9789 (diacritic-compose-region, diacritic-compose-string)
9790 (diacritic-compose-buffer, diacritic-post-read-conversion)
9791 (diacritic-composition-function): New functions.
9793 * international/utf-8.el (ucs-mule-to-mule-unicode):
9794 New translation table.
9795 (ccl-encode-mule-utf-8): Use it.
9796 (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
9797 (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
9798 (utf-8-subst-table): New variable.
9799 (utf-8-compose-scripts): New option.
9800 (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
9802 * international/ucs-tables.el, international/utf-8-subst.el:
9805 * international/characters.el: Don't set word syntax (the default)
9806 explicitly. Add a diacritic category. Add info for Unicode
9807 equivalents of characters in various Mule charsets and for extra
9808 Unicode characters. Don't define specific categories for
9809 Indian/Devanagari, since they aren't used.
9811 2001-12-06 Richard M. Stallman <rms@gnu.org>
9813 * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
9814 (set-justification-left, set-justification-right): Doc fix.
9816 * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
9817 (bug-f90-mode): Variable deleted.
9819 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
9821 * indent.el (indent-line-function): Default is indent-relative again.
9823 2001-12-07 Miles Bader <miles@gnu.org>
9825 * progmodes/compile.el (compilation-error-regexp-alist):
9826 Added regexps for RXP.
9828 2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
9830 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
9831 Add shift-assignment operators to those highlighted, and highlight
9832 the whole operator rather than just the "=".
9834 2001-12-04 Juanma Barranquero <lektu@terra.es>
9836 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
9837 before saving abbrevs if `save-abbrevs' has the value `silently'.
9839 2001-12-04 Andreas Schwab <schwab@suse.de>
9841 * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
9843 2001-12-04 Colin Walters <walters@debian.org>
9845 * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
9846 for `defmacro*' forms.
9848 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
9851 2001-12-03 Stefan Monnier <monnier@cs.yale.edu>
9853 * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
9855 2001-12-02 Richard M. Stallman <rms@gnu.org>
9857 * files.el (insert-directory): If the df output does not look right,
9858 don't try to use it. Other cleanups in overall code structure.
9860 2001-12-02 Stefan Monnier <monnier@cs.yale.edu>
9862 * textmodes/outline.el (outline-mode-prefix-map):
9863 Add bindings for outline-promote and outline-demote.
9864 (outline-minor-mode-menu-bar-map): New var.
9865 (outline-minor-mode): Use it.
9866 (outline-heading-alist): New var (renamed from outline-level-heading).
9867 (outline-level): Use it.
9868 (outline-insert-heading, outline-promote, outline-demote):
9869 Update to use outline-heading-alist.
9871 * disp-table.el (standard-display-european):
9872 Simplify since the function is not interactive any more.
9873 Don't set the existing buffers to unibyte.
9875 * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
9877 * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
9879 * reveal.el (reveal-mode): Fix reveal-mode's lighter.
9881 * shell.el (shell): Use shell-file-name.
9882 Pop to buffer before calling comint to set COLUMNS properly.
9884 * emacs-lisp/cl.el (svref): New alias.
9886 * progmodes/antlr-mode.el (antlr-c-common-init):
9887 Don't inhibit adaptive-fill-mode any more.
9889 * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
9891 * progmodes/etags.el (tags-with-face): Use make-symbol.
9892 (tags-search, tags-query-replace): Use backquotes.
9894 * textmodes/picture.el (picture-mode-map): Don't use defconst
9897 2001-12-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9899 * textmodes/reftex-index.el (reftex-index-mode):
9900 Remove make-local-hook.
9902 * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
9904 2001-12-02 Kim F. Storm <storm@cua.dk>
9906 * isearch.el (isearch-resume-enabled): New variable.
9907 (isearch-done): Use that variable.
9909 2001-12-01 Richard M. Stallman <rms@gnu.org>
9911 * wid-edit.el (widget-button-click): Don't move point permanently:
9912 Avoid mouse-set-point--instead select the window,
9913 then do save-excursion, then move point.
9914 Specify the buffer for get-char-property.
9915 Don't use `@' in interactive.
9917 * indent.el (indent-line-function):
9918 Default is indent-to-left-margin again.
9920 * replace.el (query-replace-read-args): Display message
9921 if FROM contains `\n' or `\t'.
9923 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
9925 * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
9927 * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
9929 * emacs-lisp/regexp-opt.el (regexp-opt):
9930 Bind completion-regexp-list to nil.
9932 * progmodes/hideif.el (hif-nexttoken): Move to before first def.
9934 2001-12-01 Eli Zaretskii <eliz@is.elta.co.il>
9936 * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
9937 * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
9940 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
9942 * mail/smtpmail.el: Use with-current-buffer.
9943 (message-make-date, message-make-message-id): Autoload when needed.
9944 (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
9945 headers when missing.
9947 * international/encoded-kb.el (encoded-kbd-mode):
9948 Use define-minor-mode.
9950 * enriched.el (enriched-mode): Use define-minor-mode.
9951 Use dolist and pop and push.
9953 * info.el (Info-find-node-2): Don't call info-insert-file-contents
9954 with the `visit' argument.
9955 (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
9957 * progmodes/hideif.el (hide-ifdef-mode): Only modify
9958 `change-major-mode-hook' locally. Reset invisibility spec.
9960 * man.el (Man-build-section-alist): Remove last Man-match-substring.
9962 2001-11-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9964 * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
9965 Clarify error message.
9967 2001-11-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9969 * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
9971 2001-11-30 Andre Spiegel <spiegel@gnu.org>
9973 * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
9974 don't just return it.
9976 2001-11-30 Eli Zaretskii <eliz@is.elta.co.il>
9978 * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
9979 (menu-bar-read-emacs-man, search-emacs-glossary)
9980 (emacs-index-search, elisp-index-search): New functions.
9981 (apropso-documentation, apropos, apropos-value, apropos-variable)
9982 (apropos-commands): Modify menu item names and help text.
9983 (elisp-index-search, emacs-index-search, emacs-glossary):
9985 (menu-bar-manuals-menu): Move the Ordering Manuals item to a
9987 (info-elisp, info-elintro): New menu items.
9988 (apropos): Modify the menu item name.
9990 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
9992 * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
9994 * textmodes/outline.el (outline-promote, outline-demote): Typo.
9996 * man.el (man-follow-mouse): New function.
9997 (Man-mode-map): Bind mouse-2 to it.
9998 (Man-match-substring): Remove. Replace with `match-string'.
9999 (man): Use the `default-value' argument to `read-string'.
10000 (Man-fontify-manpage): Add mouse-face to cross references.
10002 * emacs-lisp/cl-macs.el (shiftf): Fix more. Simplify.
10004 2001-11-29 Stefan Monnier <monnier@cs.yale.edu>
10006 * emacs-lisp/crm.el (completing-read-multiple): Better preserve
10007 the value of require-match in minibuffer-completion-confirm.
10008 Use crm-local-completion-map.
10010 * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
10011 (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
10012 (cl-make-type-test): Use char-valid-p for `character'.
10014 * info.el (Info-complete-next-re, Info-complete-cache): New vars.
10015 (Info-complete-menu-item): Rewrite. Add the ability to search
10016 several sequential nodes. Add a simple caching mechanism.
10017 (Info-goto-index): New function extracted from Info-index.
10018 (Info-index): Use it. Add completion to the interactive spec.
10019 (Info-menu-update): Simplify call to `Info-complete-menu-item'.
10021 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10023 * COPYING: Removed.
10025 2001-11-29 Dave Love <fx@gnu.org>
10027 * progmodes/fortran.el: Fontify rewind, backspace. Doc fixes.
10028 (fortran-window-create, fortran-window-create-momentarily):
10029 Rewrite, moving error condition.
10030 (fortran-beginning-do, fortran-beginning-if): Fix regexps.
10031 (fortran-mode-syntax-table): Revert last change.
10033 * international/mule.el: Doc fixes.
10034 (map-charset-chars): New function.
10035 (register-char-codings): Use it to cope with generic chars in
10038 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10040 * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
10042 * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
10044 * play/studly.el (studlify-word, studlify-region)
10045 (studlify-buffer): Fix doc-string.
10046 (studlify-buffer): Add autoload cookie.
10048 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
10050 * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
10051 (outline-up-heading-all): Remove.
10052 (hide-sublevels): Move to end-of-heading before calling flag-region.
10053 (outline-copy-overlay, outline-discard-overlays): Remove.
10054 (outline-flag-region): Use `remove-overlays'.
10055 Don't move to end-of-heading.
10056 (outline-next-visible-heading, outline-back-to-heading)
10057 (outline-on-heading-p): Use outline-invisible-p.
10058 (outline-font-lock-level): Use outline-up-heading's new arg.
10059 (outline-minor-mode): Simplify.
10060 (outline-map-tree, outline-reveal-toggle-invisible): New funs.
10061 (outline): Put a `reveal-toggle-invisible' property.
10062 (outline-level-heading): New var.
10063 (outline-insert-heading, outline-promote, outline-demote)
10064 (outline-toggle-children): New commands.
10066 * progmodes/hideif.el (hif-end-of-line): New function.
10067 (hide-ifdef-mode): Set line-move-ignore-invisible.
10068 (hide-ifdef-region-internal): New function.
10069 (hide-ifdef-region): Use it.
10070 (hif-defined): Return an integer.
10071 (hif-infix-to-prefix): Remove.
10072 (hif-tokenize): Parse from the buffer rather than from a string.
10073 Correctly tokenize integers. Use forward-comment.
10074 (hif-expr): Use hif-or.
10075 (hif-term): Use hif-and.
10076 (hif-factor): Use hif-not. Handle numbers properly.
10077 Don't require parenthesis around `defined's argument.
10078 (hif-and, hif-or, hif-not): New funs.
10079 (hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
10080 (hif-hide-line): Don't hide the \n before the line.
10081 (hif-possibly-hide): Correctly handle numeric evaluation results.
10083 * progmodes/make-mode.el: Use line-(end|beginning)-position.
10084 (makefile-mode): Set indent-line-function.
10085 (makefile-browser-insert-continuation): Use with-current-buffer.
10086 (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
10088 2001-11-28 Karl Fogel <kfogel@red-bean.com>
10090 * isearch.el (isearch-yank-internal): New helper function.
10091 (isearch-yank-char): New function.
10092 (isearch-yank-word, isearch-yank-line): Rewrite to use
10093 isearch-yank-internal.
10095 2001-11-28 Eli Zaretskii <eliz@is.elta.co.il>
10097 * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
10098 aren't supported. Print a message to that effect if invoked.
10100 2001-11-27 Stephen Eglen <stephen@gnu.org>
10102 * locate.el (locate): Put point at first matching file rather
10103 than top of buffer.
10105 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
10107 * reveal.el: New file.
10109 * progmodes/hideif.el: Misc cleanup.
10110 (hide-ifdef-mode-submap): Put the def in the defvar.
10111 Use substitute-key-definition.
10112 (hide-ifdef-mode): Use define-minor-mode.
10113 (hif-outline-flag-region): Remove.
10114 (hif-show-all): Define in terms of hif-show-ifdef-region.
10115 (hif-after-revert-function): Rename from hif-before-revert-function.
10116 (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
10117 (hif-tokenize): Use with-syntax-table.
10118 (hif-make-range): Use `else' also for `else-p'.
10119 (hif-range-else-p): Remove.
10120 (hif-find-range): Simplify.
10121 (hif-hide-line): Don't bother preserving buffer-modified-p.
10122 (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
10123 Don't use selective-display and inhibit-read-only.
10125 * subr.el (copy-overlay, remove-overlays): New funs.
10127 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
10129 2001-11-27 Sam Steingold <sds@gnu.org>
10131 * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
10132 * lazy-lock.el, mouse-sel.el, mail/feedmail.el
10133 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
10134 * obsolete/c-mode.el, obsolete/cplus-md.el
10135 * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
10136 * term/sun-mouse.el, textmodes/artist.el:
10137 Converted backquote to the new style.
10138 * mouse.el, reposition.el: Likewise (in comments).
10139 * expand.el: Likewise (in a string).
10141 2001-11-27 Richard M. Stallman <rms@gnu.org>
10143 * cus-edit.el (custom-load-symbol): Don't always load locate-library.
10145 2001-11-26 Richard M. Stallman <rms@gnu.org>
10147 * wid-edit.el (widget-toggle-value-create): On graphic terminal,
10148 if :on-glyph or :off-glyph is a list, eval it and store it back.
10149 (checkbox): Quote the values for :on-glyph and :off-glyph.
10151 * cus-start.el (recursive-load-depth-limit): Delete item.
10153 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
10155 * help-fns.el (describe-categories, help-describe-category-set): New.
10156 describe-categories moved here from src/category.c.
10158 2001-11-26 Sam Steingold <sds@gnu.org>
10160 * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
10161 arguments to `insert' are strings.
10163 2001-11-26 Richard M. Stallman <rms@gnu.org>
10165 * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
10167 2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
10169 * international/mule-diag.el: Require help-fns instead of
10172 * help-fns.el: Renamed from help-funs.el.
10174 * startup.el (command-line-1): Don't try to call process-list if
10177 2001-11-26 Sam Steingold <sds@gnu.org>
10179 * frame.el (show-trailing-whitespace): Remove :set argument (the
10180 value was essentially identical to the defalt).
10182 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10184 * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
10186 * icomplete.el (icomplete-minibuffer-setup): Likewise.
10188 * hilit-chg.el (hilit-chg-set): Likewise.
10190 * speedbar.el (speedbar-mode): Likewise.
10192 * calendar/calendar.el (calendar-mode): Likewise.
10194 * play/yow.el (psychoanalyze-pinhead): Use insert instead of
10197 * play/gamegrid.el (gamegrid-init-buffer): Likewise.
10199 * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
10201 * term/sun-mouse.el (sun-yank-selection): Likewise.
10203 * textmodes/bib-mode.el (return-key-bib): Likewise.
10205 * calendar/appt.el (appt-disp-window): Likewise.
10207 * calendar/diary-lib.el (list-diary-entries): Likewise.
10209 * array.el (array-reconfigure-rows): Likewise.
10211 * filecache.el (file-cache-minibuffer-complete): Likewise.
10213 * obsolete/cplus-md.el (fill-c++-comment): Likewise.
10215 * strokes.el (strokes-prompt-user-save-strokes): Likewise.
10217 * allout.el (outline-version, outline-open-topic)
10218 (outline-rebullet-heading, outline-insert-listified)
10219 (outline-latex-verbatim-quote-curr-line)
10220 (outline-latexify-one-item, outlineify-sticky): Likewise.
10222 * vc.el (vc-next-action-on-file): Likewise.
10223 (vc-dired-mode): Remove make-local-hook.
10225 2001-11-26 Andre Spiegel <spiegel@gnu.org>
10227 * vc.el (vc-find-version): New function.
10228 (vc-version-other-window): Redefined in terms of the above.
10230 * log-view.el (log-view-find-version): New function.
10231 (log-view-mode-map): Bind it to `f'.
10233 2001-11-26 Gerd Moellmann <gerd@gnu.org>
10235 * language/devan-util.el (dev-char-glyph): Escape `"' in
10237 (dev-glyph-glyph, dev-glyph-glyph-2)
10238 (devanagari-compose-syllable-region): Likewise.
10240 2001-11-26 Richard M. Stallman <rms@gnu.org>
10242 * window.el (save-selected-window): No error if saved window is dead.
10244 * help-funs.el (describe-syntax): Put (interactive) after doc string.
10246 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10248 * international/quail.el (quail-help): Require help-mode in
10251 * iswitchb.el (iswitchb-exhibit): Use insert instead of
10254 * icomplete.el (icomplete-exhibit): Likewise.
10256 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
10258 * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
10259 (diff-hunk-kill): Simplify.
10260 (diff-post-command-hook): Only apply to a single hunk.
10261 (diff-hunk-text): Make `char-offset' non-optional.
10262 (diff-find-text): Return a cons cell.
10263 (diff-find-approx-text): New fun.
10264 (diff-find-source-location): Use it.
10265 (diff-apply-hunk, diff-test-hunk, diff-goto-source):
10266 Adapt to new retval of diff-find-text.
10268 * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
10269 rather than integer- representation of dates.
10271 * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
10273 * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
10274 (syntax-after): New fun.
10276 * help-funs.el (describe-syntax): New fun.
10278 * font-lock.el (font-lock-cache-state, font-lock-cache-position)
10279 (font-lock-ppss-stats, font-lock-ppss): Remove.
10280 (font-lock-fontify-syntactically-region): Remove tuning code.
10281 (font-lock-compile-keywords): Fix off-by-one bug.
10282 (font-lock-set-defaults): Don't set removed vars.
10283 (c-keywords): Add `inline'.
10284 (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
10286 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10287 Set syntax-begin-function.
10288 (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
10289 (lisp-interaction-mode): Don't set local-abbrev-table any more.
10290 (lisp-mode-auto-fill): Use syntax-ppss and obey
10291 comment-auto-fill-only-comments.
10292 (lisp-fill-paragraph): Use syntax-ppss.
10294 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
10296 * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
10297 version of rmail-enable-mime.
10298 (rmail-forward): Use it.
10300 2001-11-25 Richard M. Stallman <rms@gnu.org>
10302 * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
10304 * international/quail.el (quail-keyboard-layout-button):
10305 Define button type.
10306 (quail-keyboard-customize-button): Likewise.
10307 (quail-help): Use those button types. Require `help-mode'.
10308 Avoid altering the argument `package'.
10310 * help-mode.el (help-function, help-variable, help-face)
10311 (help-coding-system, help-input-method, help-character-set):
10312 Define each button type with its own explicit define-button-type.
10314 * language/devan-util.el: Comment out parts of the file
10315 which apparently are garbled.
10317 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10319 * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
10322 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10324 * play/snake.el (snake-mode): Remove make-local-hook.
10326 * play/tetris.el (tetris-mode): Likewise.
10328 * play/decipher.el (decipher-mode): Likewise.
10330 * tmm.el (tmm-add-prompt): Likewise.
10332 2001-11-25 Sam Steingold <sds@gnu.org>
10334 * menu-bar.el (menu-bar-apropos-menu): New variable.
10335 Moved all `apropos' bindings to this menu.
10336 (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
10338 2001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
10340 The following changes are for new indian languages support based
10341 on Unicode charset and CDAC fonts.
10343 * international/mule-conf.el: Change indian-1-column charset to
10344 indian-glyph charset.
10346 * international/characters.el: Adjusted for the change of
10347 indian-1-column -> indian-glyph.
10349 * international/fontset.el: Delete the setting for indian-1-column
10350 and add the setting for indian-glyph in the default fontset.
10352 * language/indian.el: Completely re-written.
10354 * language/devanagari.el: Completely re-written.
10356 * language/devan-util.el: Completely re-written.
10358 * language/ind-util.el: New file.
10360 2001-11-24 Richard M. Stallman <rms@gnu.org>
10362 * startup.el (command-line-1): Don't do startup screen
10363 if a subprocess is running. Call the startup screen buffer
10364 "GNU Emacs". Make a special mode-line-format for it.
10366 * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
10367 (browse-url-galeon): Use that variable.
10369 * mail/supercite.el (sc-toggle-var): Don't use set-variable or
10370 eval-expression. Eval and set the variable simply.
10372 * files.el (temporary-file-directory): Use defcustom.
10373 (small-temporary-file-directory): Likewise.
10374 (normal-backup-enable-predicate): Move down in file
10375 after definition of temporary-file-directory.
10377 * bindings.el (last-buffer, unbury-buffer): Doc fixes.
10379 2001-11-24 Colin Walters <walters@debian.org>
10381 * calc/calc-ext.el (calc-init-extensions): Update the rest of the
10382 autoload names to match files renamed on initial calc import.
10384 * calc/calc.el (Commentary): Cleanup, and add logistic curve
10385 fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
10387 2001-11-23 Colin Walters <walters@debian.org>
10389 * Makefile.in (finder_setwins, setwins): Include Calc again.
10391 * calc/calc-rules.el: Add header comment.
10393 2001-11-23 Andre Spiegel <spiegel@gnu.org>
10395 * vc.el (with-vc-properties): Don't bind `filename' locally.
10396 (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
10397 to avoid name clashes. Fix `lisp-indent-function' property for
10400 2001-11-23 Francesco Potorti` <pot@gnu.org>
10402 * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
10404 2001-11-22 Colin Walters <walters@debian.org>
10406 * calc/calc-misc.el (report-calc-bug):
10407 Use `reporter-prompt-for-summary-p'.
10409 * calc/INSTALL, calc/Makefile: Remove.
10411 2001-11-22 Miles Bader <miles@gnu.org>
10413 * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
10414 (reb-match-2, reb-match-3): Add dark-background variants.
10416 2001-11-22 Colin Walters <walters@debian.org>
10418 * calc/calc-misc.el (calc-info): Don't perform voodoo, just
10420 (report-calc-bug): Use reporter.el.
10422 * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
10424 2001-11-21 Richard M. Stallman <rms@gnu.org>
10426 * which-func.el (which-function): Call imenu--make-index-alist
10427 if necessary to get a list of functions.
10428 (which-function-imenu-failed): New variable.
10429 (which-func-update): Handle all visible windows.
10430 (which-func-update-1): New subroutine broken out of which-func-update.
10432 * files.el (temporary-file-directory, null-device)
10433 (small-temporary-file-directory): Definitions moved up.
10435 * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
10436 (cperl-non-problems, cperl-praise): Doc fixes.
10438 * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
10439 (sh-mode-syntax-table): Function restored.
10440 Variable set up for use by function sh-mode-syntax-table.
10441 (sh-set-shell): Set the syntax table.
10443 * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
10445 * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
10447 * international/encoded-kb.el: Don't alter minor-map-alist.
10449 2001-11-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10451 * files.el (auto-save-file-name-transforms): Put remote files in
10452 temporary-file-directory rather than /tmp.
10454 2001-11-21 Colin Walters <walters@debian.org>
10456 * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
10457 of (function ...) wrapper.
10459 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
10461 * derived.el (define-derived-mode): Create the abbrev-table
10462 from inside the `defvar'.
10464 * jit-lock.el (jit-lock-defer-time): New var.
10465 (jit-lock-defer-timer, jit-lock-buffers): New vars.
10466 (jit-lock-mode): Initialize them. Cancel the timers more carefully.
10467 (jit-lock-function): Defer fontification if requested.
10468 (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
10469 (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
10471 (jit-lock-deferred-fontify): New fun.
10473 2001-11-20 Richard M. Stallman <rms@gnu.org>
10475 * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
10476 Set local-abbrev-table to lisp-mode-abbrev-table.
10478 * emacs-lisp/re-builder.el (reb-mode):
10479 Don't use define-derived-mode. Call kill-all-local-variables.
10481 * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
10482 Don't use define-derived-mode.
10484 * help-mode.el (help-mode): Undo 2001-10-07 change.
10486 * replace.el (occur-mode): Undo 2001-5-20 change.
10488 2001-11-20 Jason Rumney <jasonr@gnu.org>
10490 * w32-fns.el (w32-system-coding-system): Change to an alias for
10491 locale-coding-system.
10492 (set-w32-system-coding-system): Document the above change.
10493 Set locale-coding-system instead.
10495 2001-11-20 Richard M. Stallman <rms@gnu.org>
10497 * ruler-mode.el: Add pagination.
10498 (ruler-mode-toggle-show-tab-stops): No need to
10499 test `ruler-mode' variable.
10501 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
10503 * play/landmark.el: Mark lm-mode as special.
10505 * play/gomoku.el: Mark gomoku-mode as special.
10507 2001-11-20 Juanma Barranquero <lektu@terra.es>
10509 * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
10510 (top-level): Bind it to C-c C-b.
10511 (re-builder): Don't re-enter RE Builder Mode.
10513 * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
10515 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
10517 * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
10520 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
10521 to a line without a comment.
10523 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
10525 * dired.el (dired-listing-switches): Mention in the doc string
10526 that some switches are not supported by ls-lisp.el
10528 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
10530 * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
10531 (imenu--create-keymap-2): Remove.
10532 (imenu--create-keymap-1): Simplify, remove third argument.
10533 (imenu--generic-function): Use dolist.
10534 (imenu-find-default): New function.
10535 (imenu--completion-buffer): Use it.
10536 (imenu--mouse-menu): Use popup-menu.
10537 (imenu--menubar-select): Return t rather than calling imenu.
10539 * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
10540 New functions, extracted from fill-region-as-paragraph.
10541 (fill-region-as-paragraph): Use them.
10542 Use an end marker instead of eob.
10543 Ignore whitespace-only fill-prefixes when indenting according to mode.
10544 Simplify the loop that searches for spaces backwards.
10546 * textmodes/picture.el (picture-vertical-step)
10547 (picture-horizontal-step): Don't use defconst for variables.
10549 * mail/mail-extr.el: Use backquote/dolist/mapc/when. Docstring fixes.
10550 (mail-extract-address-components): Downcase domain names.
10551 (mail-extr-delete-char): Remove. Use delete-char instead.
10553 * emulation/pc-select.el: Doc string fixes.
10554 (pc-selection-mode): Don't treat macos as a tty.
10556 * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
10558 * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
10560 * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
10561 (mouse-wheel-progessive-speed): New var.
10562 (mwheel-scroll): Use it and handle float values.
10564 * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
10566 * iswitchb.el (iswitchb-mode): Use define-minor-mode.
10567 (iswitchb): Fix the case where the result was selected with the mouse.
10568 (iswitchb-completion-help): Use the normal *Completions* now that
10569 mouse selection works.
10570 (iswitchb-minibuffer-setup): Simplify.
10572 * newcomment.el (comment-column, comment-style, comment-multi-line)
10573 (comment-auto-fill-only-comments): Remove :group arg.
10574 (comment-padding): Add :type.
10575 (comment-indent-new-line): Ignore comment-auto-fill-only-comments
10576 if called interactively.
10578 2001-11-19 Colin Walters <walters@verbum.org>
10580 * calc/calc.el (toplevel): Add comment and version header.
10581 (calc-init-base): Bump version to 2.02f, update date.
10583 2001-11-19 Richard M. Stallman <rms@gnu.org>
10585 * net/browse-url.el: Support Mozilla and Galeon.
10586 By default, find the installed browser whichever it is.
10587 (browse-url-mozilla): New function.
10588 (browse-url-mozilla-sentinel): New function.
10589 (browse-url-galeon, browse-url-galeon-sentinel): New functions.
10590 (browse-url-default-browser): New function.
10591 (browse-url-process-environment): Use browse-url-browser-display.
10592 (browse-url-browser-display): Renamed from browse-url-netscape-display.
10593 (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
10594 (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
10595 (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
10596 (browse-url-browser-function): New default, new options.
10598 2001-11-19 Sam Steingold <sds@gnu.org>
10600 * bindings.el (last-buffer, unbury-buffer): New function.
10601 (mode-line-unbury-buffer): Use `unbury-buffer'.
10603 2001-11-18 Stephen Eglen <stephen@gnu.org>
10605 * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
10606 control behaviour when no further completion is possible.
10608 2001-11-19 Colin Walters <walters@verbum.org>
10610 * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
10611 (math-showing-full-precision, math-with-extra-prec, math-working)
10612 (calc-with-default-simplification)
10613 (calc-with-trail-buffer): Use backtick.
10614 (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
10615 (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
10616 (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
10617 (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
10618 (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
10619 (Math-num-integerp, Math-bignum-test, Math-equal-int)
10620 (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
10621 (calc-record-compilation-date-macro): Deleted. Callers updated.
10622 (math-format-radix-digit): Move to calc-bin.el.
10624 * calc/calc.el (calc-record-compilation-date): Remove.
10625 (calc-bug-address): Update.
10626 (calc-settings-file): Use `user-init-file'.
10628 * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
10629 Handle null `calc-settings-file'.
10631 * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
10632 * calc/calc-keypd.el (calc-keypad-mode): New.
10633 (calc-do-keypad): Use it.
10634 (calc-keypad-map): Move into `calc-keypad-mode'.
10636 * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
10637 to defalias argument.
10639 * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
10640 (calcFunc-floor): Ditto.
10642 * calc-units.el (calcFunc-usimplify): Ditto.
10644 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
10645 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
10646 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
10647 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
10648 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
10649 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
10650 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
10651 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
10652 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
10653 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
10654 * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
10655 and move them before their first use. Use `when', `unless'.
10656 Remove trailing periods from error forms. Add description and
10657 headers suggested by Emacs Lisp coding conventions.
10659 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
10661 * newcomment.el (comment-indent):
10662 Fix misindentation for comment-only lines.
10663 (comment-indent-new-line): Only obey comment-multi-line if the
10664 comment-ender is not the end-of-line.
10666 2001-11-19 Richard M. Stallman <rms@gnu.org>
10668 * net/net-utils.el (network-connection-service-abbrev-alist):
10671 * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
10672 Advance to start of 3rd sexp by moving fwd and backing over it.
10673 At first three elements, act like defun.
10675 * delsel.el (delete-selection-pre-hook): Handle and resignal
10676 file-supersession errors to interact properly with userlock.el.
10678 2001-11-18 Richard M. Stallman <rms@gnu.org>
10680 * progmodes/fortran.el (fortran-mode-syntax-table):
10681 Specify punctuation syntax for backslash.
10683 * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
10686 * international/mule-util.el (string-to-sequence): Make it obsolete.
10687 (string-to-list, string-to-vector): Implement them directly
10688 using append and vconcat, not with string-to-sequence.
10690 * startup.el (command-line): Set abbrevs-changed to nil after
10691 reading the init file and the abbrevs file.
10693 * isearch.el (isearch): Use magenta2 as bg for (background light)
10695 2001-11-17 Richard M. Stallman <rms@gnu.org>
10697 * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
10699 * simple.el (minibuffer-history-sexp-flag): Doc fix.
10701 2001-11-17 Stefan Monnier <monnier@cs.yale.edu>
10703 * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
10704 If set and if applicable, add a regexp to highlight defun-like
10705 text inside comments and strings.
10706 (font-lock-fontify-keywords-region): Pass that new arg.
10707 (font-lock-set-defaults): Move the code to set `font-lock-keywords'
10708 to the end and pass that new arg.
10709 (c-font-lock-keywords-2): Fix regex for labels.
10710 (font-lock-match-c++-style-declaration-item-and-skip-to-next):
10711 Make it work when LIMIT is several lines further.
10712 (c-font-lock-keywords-3, c++-font-lock-keywords-3)
10713 (objc-font-lock-keywords-3, java-font-lock-keywords-3):
10714 Use backquote and make the regexes for `int a, b, c;' work on
10717 * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
10718 (font-lock-defaults-alist): Don't change it any more.
10719 (reb-subexp-mode-map): Cleanup.
10721 * custom.el (custom-current-group-alist): New var.
10722 (custom-declare-group): Set it.
10723 (custom-current-group): New fun.
10724 (custom-declare-variable, custom-handle-all-keywords):
10725 Use it as a default if no :group argument is specified.
10727 * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
10728 (standard-keyboard-coding-systems): New var.
10729 (set-locale-environment): Use it to decide whether or not to call
10730 set-keyboard-coding-system.
10731 (locale-language-names): Use \"French\" for "fr".
10733 2001-11-17 Richard M. Stallman <rms@gnu.org>
10735 * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
10736 (add-to-list): Delete compatibility code.
10737 (checkdoc-next-message-error): Doc fix.
10739 2001-11-17 Stephen Eglen <stephen@gnu.org>
10741 * locate.el (locate): Show default locate pattern within the
10742 prompt, but don't insert it into the minibuffer contents.
10743 Catch the case when pattern is the empty string.
10745 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il>
10747 * language/european.el ("French"): New language environment.
10749 2001-11-16 Richard M. Stallman <rms@gnu.org>
10751 * calendar/todo-mode.el (todo-save): Fix previous change.
10753 * subr.el (functionp): Do use cdr-safe on object.
10755 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
10757 * bindings.el (mode-line-mode-name): Only put the help-echo property
10758 if the local-map property was put as well.
10759 (global-map): Bind switch-frame, delete-frame, iconify-frame
10760 and make-frame-visible events.
10762 * emacs-lisp/elp.el (elp-not-profilable): New var.
10763 (elp-not-profilable-p): New function.
10764 (elp-instrument-function): Use it. Use backquotes and push.
10766 * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
10767 (byte-stack+-info, byte-compile-last-warned-form)
10768 (byte-compile-last-logged-file): Don't defconst a variable.
10769 (no-byte-compile): Declare.
10770 (byte-compile-file): Don't boundp-check no-byte-compile any more.
10771 (byte-compile-defvar): Leave defconst as is.
10773 * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
10774 (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
10775 (edebug-current-offset, edebug-old-def-name, edebug-error-point)
10776 (edebug-best-error): Don't defconst a variable.
10777 (edebug-read-syntax-table): Use a char-table.
10778 (edebug-lemacs-specific): Remove.
10779 Toplevel: Eliminate check for Lucid Emacs.
10781 * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
10783 * rect.el (move-to-column-force): Mark obsolete.
10784 (operate-on-rectangle, delete-extract-rectangle-line)
10785 (insert-rectangle, delete-whitespace-rectangle-line)
10786 (open-rectangle-line, clear-rectangle-line): Use move-to-column.
10787 (string-rectangle-history): New var.
10788 (string-rectangle, string-insert-rectangle): Use it.
10789 (delete-rectangle-line): Fix pos/column mixup and simplify.
10791 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
10792 (normal-top-level, command-line, command-line-1): Simplify.
10794 * tar-mode.el (tar-mode): Use define-derived-mode.
10796 * view.el (view-mode-enable): Don't use make-local-hook.
10798 * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
10800 2001-11-16 Richard M. Stallman <rms@gnu.org>
10802 * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
10803 if it doesn't make sense as anything else.
10804 Don't recognize a "telephone number" at the beginning of the name.
10805 (mail-extr-leading-garbage): Match non-word characters only.
10807 2001-11-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10809 * startup.el (command-line-processed): Doc fix.
10811 * apropos.el (apropos-next-label-button): Doc fix.
10813 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
10815 * comint.el (comint-mode): Simplify.
10816 (make-comint-in-buffer): Run `comint-mode' only if necessary.
10818 * subr.el (eval-after-load): Make it work with features as well.
10820 * log-view.el (log-view-mode): Don't mark the buffer unmodified.
10822 * international/mule-cmds.el (describe-input-method): Setup xref.
10823 (set-language-environment): Use functionp.
10824 (locale-language-names, locale-charset-language-names)
10825 (locale-preferred-coding-systems): Defconst and purecopy.
10827 * language/european.el (mac-roman): Add mime-charset property.
10829 2001-11-15 Richard M. Stallman <rms@gnu.org>
10831 * emacs-lisp/cl.el (values, values-list, multiple-value-list)
10832 (multiple-value-apply, nth-value): Use defsubst rather than defalias
10833 to get better doc strings.
10835 2001-11-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10837 * derived.el: Fix autoload cookie.
10839 2001-11-15 Richard M. Stallman <rms@gnu.org>
10841 * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
10843 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
10845 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
10847 2001-11-15 Richard M. Stallman <rms@gnu.org>
10849 * dired.el (dired-undo): Display a message to explain
10850 that this does not undo file system changes.
10852 2001-11-15 David Kastrup <David.Kastrup@t-online.de>
10854 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
10855 into `unread-command-events' instead of trying keymap
10856 lookups ourselves. This makes mouse-clicks do the right
10857 thing even when keymaps of overlays are involved.
10858 (mouse-drag-drag): Likewise.
10860 2001-11-15 Andreas Schwab <schwab@suse.de>
10862 * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
10863 characters and append anchor to pattern added to auto-mode-alist.
10865 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
10867 * server.el (server-process-filter): Run pre/post-comment-hook
10868 before/after visiting the file.
10870 * info-look.el (makefile-mode): Add info for automake.
10871 (autoconf-mode): Fix the name of the index for automake.
10873 * international/latin-9.el: Give pilcrow punctuation syntax.
10875 2001-11-15 Andre Spiegel <spiegel@gnu.org>
10877 * vc.el: Documentation fixes.
10879 2001-11-14 Stefan Monnier <monnier@cs.yale.edu>
10881 * smerge-mode.el (smerge-match-conflict): Fix typo.
10882 (smerge-diff): Be careful to read match-data early enough.
10884 2001-11-14 Colin Walters <walters@verbum.org>
10886 * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
10887 (calcFunc-subst): Use `defalias' instead of `fset' and
10890 * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
10891 (calcFunc-ceil, calcFunc-round): Ditto.
10893 * calc/calc-bin.el (calcFunc-clip): Ditto.
10895 * calc/calc-ext.el (calcFunc-evalv): Ditto.
10897 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
10899 * calc/calc-misc.el (math-fixnump, math-fixnatnump)
10900 (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
10902 * calc/calc-units.el (calcFunc-unsimplify): Ditto.
10904 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
10905 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
10906 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
10907 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
10908 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
10909 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
10910 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
10911 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
10912 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
10913 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
10914 * calcsel2.el: Style cleanup; don't put closing parens on their
10915 own line, add "foo.el ends here" to each file, and update
10918 * README: Update maintainer.
10920 2001-11-13 Richard M. Stallman <rms@gnu.org>
10922 * progmodes/compile.el (recompile): Use compilation-arguments if
10923 set, so as to be able to M-x recompile the exact command which
10924 created a compilation-mode buffer.
10926 * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
10928 2001-11-13 Gerd Moellmann <gerd@gnu.org>
10930 * mouse.el (mouse-drag-region): Don't run the up-event
10931 handler if window start changed due to the down-mouse event.
10933 2001-11-13 Richard M. Stallman <rms@gnu.org>
10935 * mouse.el (mouse-show-mark): Either move point to the mark
10936 or use highlighting, never both.
10937 (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
10939 2001-11-13 Simon Josefsson <jas@extundo.com>
10941 * mail/smtpmail.el (top-level): Change maintainer to Simon
10942 Josefsson, cleanup the smtpmail.el header.
10944 * mail/smtpmail.el (top-level): Don't require cl or base64.
10945 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
10946 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
10947 Defsubst instead of defmacro.
10948 (smtpmail-intersection): Return value in reverse order.
10949 (smtpmail-open-stream): Use stringp instead of string-to-list.
10950 (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
10951 separated from smtpmail-via-smtp.
10953 * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
10954 rfc2104. Require base64 and cl.
10955 (smtpmail-smtp-service): Doc fix. :type fix.
10956 (smtpmail-debug-info): Doc fix.
10957 (smtpmail-debug-verb, smtpmail-auth-credentials)
10958 (smtpmail-starttls-credentials, smtpmail-auth-supported):
10960 (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
10961 mail-utils (it is autoloaded).
10962 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
10963 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
10964 (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
10965 (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
10966 (smtpmail-via-smtp): Support AUTH.
10967 (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
10969 2001-11-13 Richard M. Stallman <rms@gnu.org>
10971 * ebuff-menu.el (electric-buffer-update-highlight): New function.
10972 (electric-buffer-overlay): New variable.
10973 (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
10974 (electric-buffer-list): Likewise.
10976 * isearch.el (isearch-whitespace-chars): Doc fix.
10977 (isearch-mode): Handle negative search-slow-window-lines correctly.
10979 2001-11-13 Stefan Monnier <monnier@cs.yale.edu>
10981 * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
10983 * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
10984 From Emmanuel Briot <briot@act-europe.fr>.
10986 2001-11-13 Colin Walters <walters@debian.org>
10988 * calc/calc.el (calc-unread-command): Use `unread-command-events'.
10990 * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
10991 "~/.emacs"; use `read-file-name'.
10993 * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
10994 * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
10995 * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
10996 * calc/calc.el: Use `frame-width' instead of `screen-width',
10997 `frame-height' instead of `screen-height', and,
10998 `executing-kbd-macro' instead of `executing-macro'.
11000 * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
11001 correct number of arguments.
11003 * calc/calc-aent.el (calc-do-alg-entry):
11004 Use `blink-paren-function' instead of `blink-paren-hook'.
11006 2001-11-12 Richard M. Stallman <rms@gnu.org>
11008 * calendar/todo-mode.el (todo-save): Add save-excursion
11009 and save-restriction.
11011 * server.el (server-edit, server-done): Doc fix.
11013 * simple.el (clone-indirect-buffer): Error if major mode symbol
11014 has a no-clone-indirect property.
11015 (clone-buffer): Check for obvious errors before reading clone name.
11017 * info.el (Info-mode): Add a no-clone-indirect property.
11019 2001-11-12 Sam Steingold <sds@gnu.org>
11021 * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
11022 set-buffer-modified-p to nil after `vc-exec-after'.
11023 * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
11024 (log-view-mode): Make read-only.
11025 (log-view-current-file): Do final `expand-file-name' in the
11026 current `default-directory'.
11027 (log-view-current-tag): Take an optional `where' arg.
11028 (log-view-diff): New user command.
11030 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11032 * progmodes/cpp.el (cpp-choose-face): Fix typo.
11034 2001-11-12 Sam Steingold <sds@gnu.org>
11036 * emacs-lisp/cl-indent.el (toplevel): Indent properly
11037 `generic-flet', `generic-labels', `with-accessors',
11038 `with-condition-restarts'.
11040 2001-11-12 Richard M. Stallman <rms@gnu.org>
11042 * dired.el: Many trivial doc fixes.
11043 (dired-get-file-for-visit): New function.
11044 (dired-find-alternate-file, dired-mouse-find-file-other-window)
11045 (dired-view-file, dired-find-file-other-window, dired-display-file)
11046 (dired-find-file): Use dired-get-file-for-visit.
11048 2001-11-12 Alex Schroeder <kensanata@yahoo.com>
11050 * sql.el (sql-mode): Doc change.
11052 * sql.el (sql-mode-syntax-table): The backslash is no longer an
11055 2001-11-12 Colin Walters <walters@debian.org>
11057 * calc/calc-keypd.el (toplevel): Bind mouse buttons.
11058 (calc-do-keypad): Don't attempt to use nonexistent global
11059 mouse-map, use calc-keypad-map.
11060 (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
11061 (calc-keypad-left-click): Don't use mouse-map; update to new event
11063 (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
11064 (calc-keypad-press): Use `unread-command-events' instead of
11065 `unread-command-char'.
11067 * calc/calc-ext.el (calc-init-extensions): Update autoload names
11068 to match files renamed on initial calc import.
11070 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11072 * textmodes/flyspell.el (flyspell-default-dictionary):
11073 Fix previous change.
11075 2001-11-12 Richard M. Stallman <rms@gnu.org>
11077 * textmodes/flyspell.el (flyspell-default-dictionary):
11080 2001-11-11 Richard M. Stallman <rms@gnu.org>
11082 * calendar/solar.el (solar-sunrise-and-sunset):
11083 Exchange the two extreme values of day-length.
11085 * progmodes/sh-script.el (sh-must-be-shell-mode):
11086 Allow modes derived from sh-mode.
11088 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
11089 Turn off error in some re-search-forward calls.
11091 * replace.el (query-replace-skip-read-only): New variable.
11092 (perform-replace): If that variable is non-nil, ignore matches
11093 that have a read-only property.
11095 * derived.el (define-derived-mode): Doc fix.
11097 * server.el (server-buffer-done): Test of server-existing-buffer
11099 (server-existing-buffer): Doc fix.
11101 * textmodes/flyspell.el (flyspell-default-dictionary):
11102 Allow nil as value, and make nil the default.
11104 2001-11-11 Eli Zaretskii <eliz@is.elta.co.il>
11106 * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
11108 (clipboard-yank): Ditto.
11110 2001-11-11 Colin Walters <walters@verbum.org>
11112 The following changes are based on patches from
11113 Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro
\e,A_
\e(Bjohann
11114 <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
11116 * calc/calc.el (toplevel): Require calc-macs.
11117 (calc-minibuffer-size): New.
11118 (calcDigit-nondigit): Use it instead of `buffer-size'.
11119 (calcDigit-backspace): Likewise.
11120 (calcDigit-nondigit): Use `minibuffer-contents' instead of
11122 (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
11124 (calcDigit-key): Use `calc-minibuffer-contains' instead of a
11127 * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
11128 simple `setq' form.
11130 * calc/calc-ext.el: (toplevel): Require calc.
11131 (calc-fancy-prefix-map): New.
11132 (calc-fancy-prefix): Use it.
11133 (calc-fancy-prefix-other-key): New.
11135 * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
11136 (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
11137 (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
11138 (calcAlg-enter): Likewise.
11139 (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
11141 2001-11-10 Richard M. Stallman <rms@gnu.org>
11143 * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
11144 (quietly-read-abbrev-file): Doc fix.
11146 * startup.el (command-line): Read standard abbrev
11147 file (abbrev-file-name), if it exists.
11149 * files.el (save-abbrevs): Default value is t.
11151 * progmodes/compile.el (compile-goto-error): Fix previous change
11152 in the case where subsequent errors have not been parsed yet
11153 because they are in a different source file.
11155 2001-11-10 Peter Kleiweg <kleiweg@let.rug.nl>
11157 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
11158 Merge two regular expressions into one.
11159 (ps-mode): Make local bindings for `comment-start' and
11160 `comment-start-skip'.
11161 (ps-mode-looking-at-nested): Simplify an if-else construct;
11162 use `set-match-data' to set the result.
11164 2001-11-10 Richard M. Stallman <rms@gnu.org>
11166 * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
11168 (flyspell-correct-word): Old definition deleted.
11169 (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
11170 All references renamed too.
11172 2001-11-10 Gerd Moellmann <gerd@gnu.org>
11174 * Makefile.in (finder_setwins, setwins): Exclude Calc.
11176 2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
11178 * wid-edit.el (checklist): Removed `:menu-tag'.
11179 (radio-button-choice): Ditto.
11180 (editable-list): Ditto.
11182 2001-11-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11184 * play/gomoku.el: Move definitions of constants to the beginning
11185 of file, before their use.
11187 2001-11-09 Richard M. Stallman <rms@gnu.org>
11189 * textmodes/flyspell.el: Use the keymap property
11190 instead of local-map, and don't use a minor-mode map.
11191 (flyspell-mode-map): Variable deleted.
11192 Don't mess with minor-mode-map-alist.
11193 (calling add-minor-mode): Specify nil for keymap.
11194 And always use add-minor-mode, now that it exists.
11195 (flyspell-overlay-keymap-property-name): Set it to `keymap'.
11196 (flyspell-mode-on): Don't locally bind flyspell-mouse-map
11197 or flyspell-local-mouse-map.
11198 (make-flyspell-overlay): Use flyspell-mouse-map directly.
11199 (flyspell-mode): Doc fix.
11200 (flyspell-mode-on): Don't call make-local-hook.
11202 2001-11-09 Sam Steingold <sds@gnu.org>
11204 * emacs-lisp/debug.el (debugger-make-xrefs):
11205 Add buttons to all symbols.
11207 2001-11-09 Andre Spiegel <spiegel@gnu.org>
11209 * vc.el: Add John David Smith to credits.
11211 Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
11213 * vc-hooks.el (vc-error-occured): Backquotified.
11214 (vc-file-prop-obarray): Use prime length for better efficiency.
11216 * vc.el (vc-clear-context): Fill obarray with 0, not nil.
11218 2001-11-09 Eli Zaretskii <eliz@is.elta.co.il>
11220 * info.el (Info-file-list-for-emacs): Add entries for Calc.
11222 2001-11-09 Miles Bader <miles@gnu.org>
11224 * subr.el (functionp): Don't consider macros as functions.
11226 2001-11-08 Miles Bader <miles@gnu.org>
11228 * subr.el (functionp): Make work correctly for macros and unbound
11231 * comint.el (comint-send-input): Fix description of
11232 `comint-process-echoes' in the doc-string.
11234 2001-11-08 Eli Zaretskii <eliz@is.elta.co.il>
11236 * international/mule.el (make-translation-table): Doc fix.
11237 Suggested by Alex Schroeder <alex@gnu.org>.
11239 2001-11-07 Richard M. Stallman <rms@gnu.org>
11241 * info.el (Info-fontify-node): Highlight every third menu item.
11243 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
11245 * cus-edit.el (custom-face-value-create): Don't ignore the
11246 `customized-face' attribute when finding the current face spec.
11248 2001-11-07 Stefan Monnier <monnier@cs.yale.edu>
11250 * subr.el (with-local-quit): New macro.
11251 (make-syntax-table): Always inherit.
11252 (functionp): Be more careful when `object' is a symbol.
11254 * dabbrev.el (dabbrev-completion): Use "*Completions*".
11256 2001-11-07 Paul Eggert <eggert@twinsun.com>
11258 * dired.el (dired-move-to-filename-regexp):
11259 Do not distinguish between ASCII letters and non-ASCII characters.
11260 Don't allow comma except in the form "month day, year".
11261 Don't allow space between month name and comma.
11262 Clean up the code that checks for trailing period, comma, and space.
11263 Remove now-obsolete comments, and add more commentary about
11265 Always gobble up trailing spaces, instead of doing it only sometimes.
11267 2001-11-07 Miles Bader <miles@gnu.org>
11269 * paren.el (show-paren-match-face): Add dark-background variant.
11271 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
11273 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
11274 (lisp-mode-variables): Don't set paragraph-{start,separate}.
11275 Don't disable adaptive-fill-mode.
11276 (lisp-fill-paragraph): Use tab-width rather than 8.
11277 Prevent filling the first line of docstrings.
11279 2001-11-06 Richard M. Stallman <rms@gnu.org>
11281 * play/gomoku.el (gomoku): Doc fix.
11283 * jka-compr.el (jka-compr-partial-uncompress):
11284 Support an alternative of not using dd.
11285 (jka-compr-dd-program): Use defcustom to define this.
11286 (jka-compr-load-suffixes): Use defcustom.
11287 (jka-compr-mode-alist-additions): Use defcustom.
11289 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
11291 * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
11292 Also work when LIMIT is further than the end of line.
11294 2001-11-06 Eli Zaretskii <eliz@is.elta.co.il>
11296 * international/quail.el (quail-update-leim-list-file): Print the
11297 offending file name if some of its quail-define-package forms is broken.
11299 2001-11-05 Richard M. Stallman <rms@gnu.org>
11301 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
11302 of the evaluated form.
11304 2001-11-05 Paul Eggert <eggert@twinsun.com>
11306 * ls-lisp.el (ls-lisp-time-to-seconds): New function.
11307 (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
11308 stamps always line up by default. Also, it uses a slightly
11309 different window to determine whether files are "recent".
11311 2001-11-05 Andrew Innes <andrewi@gnu.org>
11313 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
11314 Don't attempt to remake autoloads before nuking .elc files.
11316 2001-11-04 Richard M. Stallman <rms@gnu.org>
11318 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
11319 previous-single-property-change or next-single-char-property-change
11322 * international/mule-cmds.el (set-locale-environment):
11323 Make it interactive; make arg optional.
11325 * international/mule-diag.el (help-funs): Require help-funs.
11327 2001-11-04 Eli Zaretskii <eliz@is.elta.co.il>
11329 * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
11331 2001-11-04 Miles Bader <miles@gnu.org>
11333 * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
11334 shadow of the splash image grey on a dark background instead of black.
11336 2001-11-03 Stefan Monnier <monnier@cs.yale.edu>
11338 * term.el (all faces): Don't (copy-face 'default <foo>).
11340 * term/xterm.el (function-key-map):
11341 Add entry for `ESC [ 3 ~' -> <delete>
11342 Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
11343 Use inheritance so that .emacs and terminfo take precedence.
11345 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
11347 * tooltip.el (tooltip-delay): Decrease to 0.7.
11348 (tooltip-hide-delay): Enlarge to 10.
11350 2001-11-03 Richard M. Stallman <rms@gnu.org>
11352 * startup.el (fancy-splash-tail): Explain how to recover
11353 from a crash, if there was a crash.
11354 (command-line-1): Reorganize display of startup screen,
11355 to simplify the logic. Use a temp buffer for it.
11357 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
11359 * frame.el (set-background-color, set-foreground-color):
11360 Call face-set-after-frame-default, to propagate the new colors to
11361 the frame's parameters alist.
11363 * calendar/timeclock.el (timeclock-out): Signal an error if
11364 timeclock-last-event is nil.
11366 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
11368 * textmodes/fill.el (fill-context-prefix): Fix braino.
11370 * international/quail.el (quail-help):
11371 Use `help-buffer' and move `help-setup-xref' to beginning.
11373 * international/mule-cmds.el (describe-language-environment):
11374 Use `help-buffer' and move `help-setup-xref' to beginning.
11376 * international/mule-diag.el (list-character-sets)
11377 (sort-listed-character-sets, describe-character-set)
11378 (describe-coding-system, describe-fontset, list-fontsets):
11379 Use `help-buffer' and move `help-setup-xref' to beginning.
11380 (describe-char-after): Use `internal-describe-syntax-value'.
11382 2001-11-02 Richard M. Stallman <rms@gnu.org>
11384 * mouse.el (popup-menu): If the user refuses to select
11385 from a menu, don't try to invoke the menu.
11387 2001-11-02 Miles Bader <miles@gnu.org>
11389 * help-mode.el (help-xref): New button type.
11390 (help-function, help-variable, help-face, help-coding-system)
11391 (help-input-method, help-character-set, help-type, help-symbol)
11392 (help-back, help-info, help-customize-variable, help-customize-face)
11393 (help-function-def, help-variable-def): Use it as a supertype.
11394 Remove `action' property.
11396 * international/mule-diag.el (describe-character-set)
11397 (describe-coding-system): Pass correct args to `help-xref-button'.
11398 (sort-listed-character-sets): New button type.
11399 (list-character-sets): Use it.
11400 (list-charset-chars): New button type.
11401 (list-character-sets-1): Use it.
11403 2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
11405 * indent.el (tab-always-indent, indent-for-tab-command):
11406 Remove redundant `never' setting.
11408 * fill.el (fill-region-as-paragraph): Don't forget to skip
11409 over current whitespace before looking for a preceding space.
11411 2001-11-01 Richard M. Stallman <rms@gnu.org>
11413 * files.el (file-newest-backup): Don't pass backup file name
11414 thru file-name-sans-versions, because it never has version numbers.
11416 * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
11417 to avoid ambiguous nested loops.
11419 * files.el (find-file-noselect): Offer to change buffer-read-only
11420 only when the file's read-only status has changed from before
11421 as well as disagreeing with the buffer's current status.
11422 (buffer-file-read-only): New var, local in all buffers.
11424 * buff-menu.el (buffer-menu): Doc fix.
11425 (buffer-menu-other-window): Doc fix.
11426 (list-buffers, list-buffers-noselect): Doc fix.
11428 2001-11-01 Gerd Moellmann <gerd@gnu.org>
11430 * startup.el (command-line): If the terminal Emacs is running on
11431 has erase char set to ^H, use the Backspace key for deleting
11432 backward, and the Delete key for deleting forward.
11434 2001-11-01 Miles Bader <miles@gnu.org>
11436 * button.el (define-button-type): Make sure every user-defined
11437 button type has a supertype.
11439 2001-10-31 Jason Rumney <jasonr@gnu.org>
11441 * international/mule-cmds.el (locale-language-names): Add chs and
11442 cht as aliases for Chinese-GB and Chinese-BIG5.
11444 2001-10-31 Richard M. Stallman <rms@gnu.org>
11446 * bindings.el (mode-line-frame-identification): Add doc string.
11447 (mode-line-position, mode-line-modes): New variables.
11448 (mode-line-format): Use mode-line-position for the part
11449 that displays the position-in-buffer info.
11450 Use mode-line-modes for the part that displays major and minor modes.
11452 2001-10-31 Sam Steingold <sds@gnu.org>
11454 * emacs-lisp/debug.el (debugger-make-xrefs): New function.
11455 (debugger-setup-buffer): Call it.
11456 (debugger-mode-map): Bind RET and mouse-2.
11458 2001-10-31 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11460 * startup.el: Document command line option --no-window-system
11461 instead of --no-windows.
11463 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
11465 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
11467 * font-lock.el (java-font-lock-syntactic-face-function): New fun.
11468 (font-lock-defaults-alist): Use it.
11469 From David Ponce <david.ponce@wanadoo.fr>
11471 * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
11472 output of `char-after'.
11474 * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
11476 * simple.el (reindent-then-newline-and-indent): Insert the newline
11477 before indenting the first line.
11478 (undo-get-state, undo-revert-to-state): New funs.
11479 (shell-command): Don't kill the buffer even if empty.
11480 (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
11481 (transpose-subr-end2): Remove.
11482 (transpose-subr): Add `special' arg and simplify.
11483 (transpose-subr-1): Rewrite.
11484 (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
11485 (rfc822-goto-eoh): Simplify.
11487 2001-10-30 Richard M. Stallman <rms@gnu.org>
11489 * enriched.el (enriched-face-ans): Fix previous change.
11491 2001-10-30 Gerd Moellmann <gerd@gnu.org>
11493 * international/iso-acc.el (iso-accents-compose): Remove a
11496 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
11498 * buff-menu.el (list-buffers-noselect): If the buffer's name
11499 starts with a blank, but it visits a file, do show it (for files
11500 whose names start with a blank).
11502 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
11504 * textmodes/fill.el (sentence-end-double-space)
11505 (sentence-end-without-period): Move to paragraphs.el.
11506 (fill-indent-according-to-mode): Change default to t.
11507 (fill-context-prefix): Simplify control-flow and use a more
11508 sophisticated merge that unifies both previous checks.
11509 (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
11510 (fill-nobreak-predicate): Make it into a defcustom'd hook.
11511 (fill-nobreak-p): New fun.
11512 (fill-region-as-paragraph): Use it.
11513 Handle `fill-indent-according-to-mode' slightly differently.
11514 (fill-individual-paragraphs-prefix): Simplify the control-flow.
11515 (fill-individual-paragraphs-citation): Fix.
11517 * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
11518 (paragraph-start): Change default to the `text-mode' value.
11519 (sentence-end-double-space, sentence-end-without-period):
11521 (forward-paragraph): Use `parstart' and `parsep' for temp variables
11522 rather than rebinding `paragraph-start' and `paragraph-separate'.
11524 * indent.el (indent-line-function): Change default to indent-relative.
11525 (tab-always-indent): Add an `never' setting.
11526 (indent-according-to-mode): Handle `indent-relative' and
11527 `indent-relative-maybe' specially.
11528 (indent-for-tab-command): Rename `prefix-arg' to `arg'.
11529 Handle the `never' case for `tab-always-indent'.
11530 Don't call indent-according-to-mode for indent-relative' and
11531 `indent-relative-maybe'.
11532 (insert-tab): Rename `prefix-arg' to `arg'.
11533 (indent-region): Indent the first line as well.
11534 (indent-relative): Don't mark the buffer modified if the indentation
11537 * textmodes/text-mode.el (paragraph-indent-minor-mode):
11538 Don't set paragraph-separate. Set paragraph-start more carefully.
11539 Set indent-line-function.
11540 (paragraph-indent-text-mode): Use it and define-derived-mode.
11541 (text-mode-map): Remove the \t binding.
11542 (text-mode): Simplify now that the default is more favorable.
11544 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
11546 * emacs-lisp/find-func.el (find-function-search-for-symbol):
11547 If the regexp doesn't match, use a looser one.
11548 (find-variable-noselect): Add `file' argument.
11550 * pcvs.el (cvs-mode-commit-hook): New hook.
11551 (cvs-mode-commit): Run it.
11553 * log-edit.el (log-edit): Run hook after `log-edit-files'.
11555 * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
11556 (edebug-instrument-function): Use `find-function-noselect'.
11558 2001-10-29 Richard M. Stallman <rms@gnu.org>
11560 * term.el (term-if-emacs19): Macro deleted.
11561 Callers changed to use progn instead.
11563 * frame.el (blink-cursor-mode): Doc fix.
11565 * files.el (find-backup-file-name): Use make-backup-file-name.
11567 * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
11569 (edebug-set-conditional-breakpoint): Unconditionally use
11570 the former Emacs >=19 definition.
11571 (edebug-mark): Define unconditionally.
11572 (edebug-eval-expression): Always call read-from-minibuffer
11573 and specify history list.
11574 (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
11575 edebug-set-conditional-breakpoint.
11576 (edebug-emacs-version-specific): Function deleted;
11577 do the job at top level.
11578 (edebug-emacs-19-specific): Function deleted, this is the default.
11580 2001-10-29 Sam Steingold <sds@gnu.org>
11582 * w32-fns.el (convert-standard-filename): Handle cygwin-specific
11583 "/cygdrive/LETTER/" pathnames.
11585 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
11587 * faces.el (invert-face): Check for 'unspecified, not for nil,
11588 when testing whether face colors are not specified.
11589 From David.Kastrup@t-online.de (David Kastrup).
11590 (read-face-name): Doc fix.
11591 (make-face-bold, make-face-unbold, make-face-italic)
11592 (make-face-unitalic, make-face-bold-italic, invert-face):
11593 Remove trailing blank from the prompt passed to read-face-name.
11595 2001-10-29 Sam Steingold <sds@gnu.org>
11597 * emacs-lisp/bytecomp.el (byte-recompile-directory):
11598 Report numbers of files skipped and failed too.
11599 (byte-compile-file): Return 'no-byte-compile for skipped files.
11601 2001-10-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11603 * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
11606 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11608 * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
11609 as is on unread-command-events instead of `(SECOND-CHAR)'.
11611 2001-10-29 Andre Spiegel <spiegel@gnu.org>
11613 * vc.el: Mention vc-*-switches in backend API documentation.
11614 (vc-annotate): Adapt doc string to recent change.
11616 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11618 * enriched.el (enriched-face-ans): Handle face attributes
11619 of the form `(FACE1 FACE2 ...)'.
11621 * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
11623 2001-10-29 Alex Schroeder <kensanata@yahoo.com>
11625 * progmodes/sql.el (sql-mysql): Doc change by RMS.
11627 * progmodes/sql.el (sql-db2): Doc change.
11628 (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
11629 (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
11631 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11633 * env.el (substitute-env-vars): Don't quote argument to `rx';
11636 2001-10-28 Per Abrahamsen <abraham@dina.kvl.dk>
11638 * cus-start.el (recursive-load-depth-limit): Added.
11640 2001-10-28 Richard M. Stallman <rms@gnu.org>
11642 * textmodes/ispell.el (version18p, version20p): Vars deleted.
11643 All uses removed--assume Emacs version is >= 20.
11645 * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
11646 by really checking that it is not version 18.
11648 * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
11650 2001-10-28 Miles Bader <miles@gnu.org>
11652 * faces.el (face-attribute): Add INHERIT argument, consider face
11653 inheritance if it's non-nil.
11654 (face-attribute-merged-with): New function.
11655 (face-attribute-specified-or): New macro.
11656 (face-foreground, face-background, face-stipple): Add INHERIT
11657 argument. Use `face-attribute-specified-or'.
11659 2001-10-28 Stefan Monnier <monnier@cs.yale.edu>
11661 * font-lock.el: Require `syntax'.
11662 (font-lock-defaults-alist): Don't define keywords for lisp languages.
11663 Use `c-font-lock-syntactic-face-function' for c languages.
11664 (font-lock-mode): Don't unset vars when turning the mode off.
11665 (font-lock-default-fontify-buffer): Don't unset vars at the end.
11666 (font-lock-extra-managed-props): New var.
11667 (font-lock-default-unfontify-region): Use it.
11668 (font-lock-apply-syntactic-highlight): Flush the syntax cache.
11669 Don't eval the value when there's no match.
11670 (font-lock-ppss-stats): New var.
11671 (font-lock-ppss): New fun.
11672 (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
11673 (font-lock-apply-highlight): Allow `highlight' to set several props.
11674 (font-lock-set-defaults): Use dolist.
11675 (font-lock-unset-defaults): Remove.
11676 (font-lock-match-c-style-declaration-item-and-skip-to-next):
11677 Try to recognize prototypes using `foo P_ ((args))'.
11678 ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
11679 (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
11680 (c-font-lock-syntactic-face-function): New function.
11681 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
11682 (c++-keywords): Use a more sophisticated regexp to handle
11683 shallowly nested templates.
11685 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
11687 * textmodes/sgml-mode.el (sgml-empty-tags): New var.
11688 (sgml-tag): Use it. Cleanup with `cond'.
11689 (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
11690 Mark the overlays and only delete those that are marked.
11691 (sgml-skip-close-p): Remove.
11692 (sgml-value): Replace sgml-skip-close-p with its definition.
11693 (html-tag-alist): Use sgml-xml a bit more.
11694 (html-mode): Set sgml-empty-tags.
11696 * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
11697 (texinfo-update-node, texinfo-sequential-node-update):
11698 Don't bind the obsolete `auto-fill-hook'.
11699 (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
11700 Use `set-buffer' rather than `switch-to-buffer'.
11701 (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
11702 Use `set-buffer' rather than `switch-to-buffer'.
11704 * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
11705 text-mode-syntax-table.
11706 (mail-mode): Use define-derived-mode.
11707 Fix ordering of alternatives in adaptive-fill-regexp.
11708 (mail-mode-map): Don't rely on keymap's internal representation.
11710 2001-10-27 Sam Steingold <sds@gnu.org>
11712 * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
11713 (sgml-xml-guess): Extracted from `html-mode' and generalized.
11714 (sgml-mode-common): Call it.
11715 (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
11716 (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
11717 (html-horizontal-rule, html-image, html-ordered-list):
11718 (html-unordered-list, html-list-item, html-paragraph):
11719 (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
11722 2001-10-26 Masayuki Ataka <ataka@milk.freemail.ne.jp>
11724 * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
11725 (ifnothtml): New alias.
11727 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
11729 * textmodes/text-mode.el (text-mode): Use define-derived-mode.
11730 (toggle-text-mode-auto-fill): Use derived-mode-p.
11732 2001-10-27 Gerd Moellmann <gerd.moellmann@t-online.de>
11734 * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
11735 `mdtm'. From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
11737 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
11739 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
11740 Add make-obsolete cookies, to follow faces.el.
11742 These changes avoid warnings from the byte compiler in faces.el:
11744 * faces.el (internal-get-face): Use facep instead of the obsolete
11745 internal-find-face.
11746 (internal-frob-font-weight, internal-frob-font-slant):
11747 New defaliases for obsolete functions.
11748 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
11749 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
11750 (x-make-font-bold-italic): Use internal-frob-font-weight and
11751 internal-frob-font-slant aliases instead of the obsolete
11752 x-frob-... functions.
11754 2001-10-26 Sam Steingold <sds@gnu.org>
11756 * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
11757 DOCTYPE; set `mode-name' based on it.
11758 (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
11759 (sgml-tag): Close empty tags in XHTML.
11761 2001-10-26 Jason Rumney <jasonr@gnu.org>
11763 * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
11764 when UNICODE is not defined.
11766 2001-10-26 Sam Steingold <sds@gnu.org>
11768 * font-lock.el (c-font-lock-keywords-2): Do not require labels to
11769 be alone on the line.
11771 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
11773 * button.el (button): Special face definition for MS-DOS terminals.
11775 2001-10-26 Sam Steingold <sds@gnu.org>
11777 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
11778 Protect the /= test by checking that the args are non-nil.
11779 (sh-font-lock-close-heredoc): Check eof for being non-nil.
11781 2001-10-26 Tomas Abrahamsson <tab@lysator.liu.se>
11783 * textmodes/artist.el (artist-version): 1.2.4.
11784 (artist-butlast-fn): New variable.
11785 (artist-butlast): New function.
11786 (artist-ellipse-mirror-quadrant): Use it.
11787 (artist-mouse-draw-poly): Use nil for `point-list'.
11788 (artist-mouse-draw-poly): Check for point-list being nil.
11790 2001-10-26 Peter Kleiweg <kleiweg@let.rug.nl>
11792 * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
11794 (ps-mode-menu-main): Submenu with options on/off was replaced with
11796 (ps-mode, ps-run-mode): Define with `define-derived-mode'
11797 (ps-mode): Autoload cookie added on same line as comment
11798 (ps-mode-tabkey, ps-mode-backward-delete-char):
11799 (ps-mode-r-balance): Replace `delete-horizontal-space' and
11800 `indent-to' with `indent-line-to'
11801 (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
11803 (ps-mode-print-region): Use `with-temp-buffer'.
11804 (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'.
11805 (numerous places): Add back-tick and tick around names in
11806 docstrings, fix punctuation in docstrings, remove trailing spaces.
11808 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
11810 * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
11811 (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
11812 (sgml-font-lock-syntactic-keywords): New var.
11813 (sgml-mode-common): Drop the two args.
11814 Don't make buffer-local variables that aren't used.
11815 Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
11816 Don't set `before-string' props from sgml-display-text.
11817 (sgml-mode): Use define-derived-mode.
11818 (sgml-tags-invisible): Use sgml-display-text.
11819 (sgml-quote): New command.
11820 (html-tag-alist): Add args for `span'.
11821 (html-mode): Use define-derived-mode.
11822 Set sgml-display-text and sgml-tag-face-alist.
11824 2001-10-25 Sam Steingold <sds@gnu.org>
11826 * add-log.el (add-log-always-start-new-record): New user option.
11827 (add-change-log-entry): Use it.
11829 2001-10-25 Richard M. Stallman <rms@gnu.org>
11831 * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
11832 bind case-fold-search if FROM is not all lower case.
11834 2001-10-25 Gerd Moellmann <gerd@gnu.org>
11836 * startup.el (normal-top-level): Check for frame-initial-frame
11837 only if it's really used.
11839 * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
11841 * progmodes/compile.el (compilation-parse-errors-filename-function):
11843 (compilation-parse-errors): Use it.
11845 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
11847 * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
11848 interactively so that C-u M-C-x still does edebug.
11849 (checkdoc-sentencespace-region-engine): Don't force a double-space
11850 after `.' if it doesn't look like an end-of-sentence.
11851 (debug-ignored-errors): Add `disambiguate ...'.
11853 2001-10-24 Stefan Monnier <monnier@cs.yale.edu>
11855 * textmodes/texinfo.el (texinfo-environments)
11856 (texinfo-environment-regexp): Hoist.
11857 (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
11858 Only highlight the menu name in menu items.
11859 Setup `@foo ... @end foo' as text clones.
11860 (texinfo-clone-environment): New function.
11861 (texinfo-mode): Simplify auto-fill-inhibit-regexp.
11862 (texinfo-insert-block): Simplify.
11863 (texinfo-insert-quote): Insert a plain " if preceded by \ or if
11864 the command is repeated.
11865 (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
11866 (texinfo-insert-@end): Simplify.
11868 * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
11869 (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
11870 (texinfo-subsubsection-level-regexp)
11871 (texinfo-update-menu-same-level-regexps)
11872 (texinfo-update-menu-higher-regexps)
11873 (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
11875 * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
11876 (derived-mode-p): Autoload.
11878 * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
11879 New vars and functions.
11880 (text-clone-maintain, text-clone-create): New functions.
11882 2001-10-25 Miles Bader <miles@gnu.org>
11884 * facemenu.el (facemenu-add-new-face): Fix variable names.
11886 2001-10-24 Richard M. Stallman <rms@gnu.org>
11888 * facemenu.el (facemenu-unlisted-faces): Improve doc strings
11889 of t and nil values.
11890 (facemenu-set-face): Handle START and END interactively.
11891 (facemenu-set-foreground): Don't use a face; specify color directly.
11892 (facemenu-set-background): Likewise.
11893 (facemenu-set-face-from-menu): Doc fix.
11894 (facemenu-active-faces): Use face-attribute-vector
11895 to handle bare attributes not in faces.
11896 (facemenu-get-face): Don't handle face names fg:... and bg:...
11898 (facemenu-add-new-face): New argument MENU.
11899 New way to handle adding colors to the color menus.
11901 * env.el (substitute-env-vars): Quote the arg to rx.
11903 2001-10-24 Sam Steingold <sds@gnu.org>
11905 * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
11906 Control" and "SGML" groups.
11908 2001-10-24 Martin Stjernholm <bug-cc-mode@gnu.org>
11910 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
11911 Better handling of C++ template args to avoid confusion with `<'
11912 and `>' used as operators in member init expressions.
11914 2001-10-24 Gerd Moellmann <gerd@gnu.org>
11916 * replace.el (perform-replace): Move START and END parameters
11917 to the end of the argument list and make them optional.
11919 * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
11922 * international/fontset.el (x-must-resolve-font-name): New function.
11923 (x-complement-fontset-spec): Use it.
11925 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
11927 * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
11929 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
11930 Turn caadr into caar of cdr.
11932 2001-10-23 Gerd Moellmann <gerd@gnu.org>
11934 * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
11935 of mouse-{1,2} since dragging is on the down event.
11937 * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
11939 * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
11942 * desktop.el (desktop-last-buffer): New variable.
11943 (desktop-create-buffer): Set it.
11944 (desktop-read): Bind it and switch to that buffer.
11946 2001-10-22 Gerd Moellmann <gerd@gnu.org>
11948 * progmodes/compile.el (compilation-set-window-height):
11949 Select old window only if it's still live.
11951 2001-10-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11953 * help-mode.el (help-buffer): Remove debugging code.
11954 From Stefan Monnier <monnier@cs.yale.edu>.
11956 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
11958 * files.el (file-name-sans-extension, file-name-extension):
11959 Don't count the leading dots in file names as signaling an extension.
11961 2001-10-22 Andre Spiegel <spiegel@gnu.org>
11963 * vc.el (vc-diff-switches): Doc rewritten.
11965 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
11967 * tooltip.el (tooltip-set-param): Doc fix.
11969 * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
11970 127 to sgml-maybe-name-self.
11971 (sgml-name-8bit-mode): Doc fix.
11972 (sgml-char-names-table): New variable.
11973 (sgml-name-char): Support non-ASCII and mule-unicode-*
11974 characters. Doc fix.
11975 (sgml-maybe-name-self): Convert unibyte characters to multibyte.
11977 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
11978 doc string the effect of `left' and `top' parameters in
11979 tooltip-frame-parameters, the default values, and the units.
11980 (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
11981 (tooltip-show): Mention in the doc string the `top' and `left'
11982 parameters in tooltip-frame-parameters, and x-max-tooltip-size.
11984 2001-10-22 Andre Spiegel <spiegel@gnu.org>
11986 Add autoscaling support for vc-annotate.
11987 From J.D. Smith <jdsmith@alum.mit.edu>.
11989 * vc.el (vc-annotate-display-default): Accept colormap scaling
11990 ratio (now deprecated).
11991 (vc-annotate-display-autoscale): Added.
11992 (vc-annotate-add-menu): New autoscaling menu options "Span to
11993 Oldest" and "Span Oldest->Newest". Easymenu support added for
11994 toggle menus driven by customize variable `vc-annotate-display-mode'.
11995 (vc-annotate-display-select): Added.
11996 (vc-annotate): Changed temp-buffer-show-function to
11997 `vc-annotate-display-select'.
11998 (vc-annotate-display): Removed arguments BUFFER and BACKEND.
11999 Added argument OFFSET. Instead of backend function, calls now
12000 generic `vc-annotate-difference'.
12001 (vc-annotate-difference): Added as generic function instead of
12002 backend-specific function. No longer takes argument POINT, but
12003 instead accepts a time OFFSET.
12004 (vc-default-annotate-current-time): Added.
12006 * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
12007 version in vc.el, with
12008 (vc-cvs-annotate-current-time): Added, as override of default.
12009 (vc-cvs-annotate-time): Added. Taken mostly from the (now removed)
12010 `vc-cvs-annotate-difference'.
12012 2001-10-22 Gerd Moellmann <gerd@gnu.org>
12014 * saveplace.el (save-place): Require `saveplace'.
12016 * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
12017 Use `sexp' for :value-type instead of `face'.
12019 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
12021 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
12022 regexps due to 5-digit message IDs.
12024 2001-10-21 Jason Rumney <jasonr@gnu.org>
12026 * term/w32-win.el (redisplay-dont-pause): Don't set.
12028 2001-10-21 Miles Bader <miles@gnu.org>
12030 * help-funs.el (help-manyarg-func-alist): Variable removed.
12032 2001-10-21 Miles Bader <miles@gnu.org>
12034 * help-funs.el (help-manyarg-func-alist): Remove entries for
12035 `insert', `insert-and-inherit', `insert-before-markers',
12036 `insert-before-markers-and-inherit', `message', `message-box',
12037 `message-or-box', `propertize', `format', `encode-time', `append',
12038 `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
12039 `insert-string', `ml-if', `ml-provide-prefix-argument', and
12040 `ml-prefix-argument-loop'.
12042 2001-10-21 Andre Spiegel <spiegel@gnu.org>
12044 * vc.el (vc-diff-internal, vc-coding-system-for-diff)
12045 (vc-default-diff-tree): New functions.
12046 (vc-version-diff): Use them. As a result, coding systems are now
12047 set up properly for all sorts of diffs, and tree diffs can now
12048 also be done locally.
12049 (vc-diff): With a prefix argument, don't require that it's called
12050 from a buffer under version control.
12051 (diff-switches): Remove duplicate definition.
12053 * vc-cvs.el (vc-cvs-diff-tree): New function.
12055 2001-10-21 Miles Bader <miles@gnu.org>
12057 * help-funs.el (help-manyarg-func-alist): Remove entries for
12058 `list', `vector', `make-byte-code', `call-process',
12059 `call-process-region', `string', `+', `-', `*', `/', `max', `min',
12060 `logand', `logior', and `logxor'.
12062 * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
12063 image bits to compensate. Use `make-string' instead of
12064 `make-bool-vector' (XBM apparently wants byte-aligned rows).
12066 2001-10-20 Kim F. Storm <storm@cua.dk>
12068 * simple.el (kill-ring-save): Don't show extent of copied region
12069 if using transient-mark-mode and region is fully visible.
12071 See ChangeLog.9 for earlier changes.
12073 ;; Local Variables:
12074 ;; coding: iso-2022-7bit
12077 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
12078 Copying and distribution of this file, with or without modification,
12079 are permitted provided the copyright notice and this notice are preserved.