1 2002-08-18 Andreas Schwab <schwab@suse.de>
3 * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
5 2002-08-17 Carsten Dominik <dominik@astro.uva.nl>
7 * textmodes/reftex.el (reftex-mode): Create special syntax tables.
8 (reftex-syntax-table): Set a default in case this is being used
10 (reftex-syntax-table-for-bib): Set a default in case this is being
11 used outside a LaTeX file.
14 2002-08-17 Richard M. Stallman <rms@gnu.org>
16 * tar-mode.el (tar-subfile-mode): Use add-hook and
17 remove-hook, and use write-file-functions instead of
18 local-write-file-hooks.
19 (tar-untar-buffer): Don't try to extract directories.
21 * menu-bar.el (fringe-mode): Set to nil.
23 * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
25 2002-08-15 Richard M. Stallman <rms@gnu.org>
27 * calendar/appt.el (appt-delete): Use substring-no-properties.
28 (appt-make-list): Don't use prin1-to-string; use the string unchanged.
30 2002-08-15 Jan Nieuwenhuizen <janneke@gnu.org> (tiny change)
32 * server.el (server-process-filter): Simplify code.
33 (server-goto-line-column): New function.
34 (server-visit-files): Use server-goto-line-column.
35 Offer to revert only if file has changed.
37 2002-08-15 Richard M. Stallman <rms@gnu.org>
39 * files.el (recover-this-file): New function.
40 (after-find-file): Recommend recover-this-file.
42 * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
43 to change-major-mode-hook when font lock is enabled.
45 * simple.el (toggle-truncate-lines): Force redisplay.
46 Display status message.
48 2002-08-15 Carsten Dominik <dominik@sand.science.uva.nl>
50 * textmodes/reftex.el (reftex-mode): Moved the creation of special
51 syntax tables to top-level.
53 2002-08-14 Stefan Monnier <monnier@cs.yale.edu>
55 * help-fns.el (locate-library): Use locate-file(-completion).
56 (help-split-fundoc): Tighten the regexp and recognize a usage-info
57 where the function name is `fn'.
58 (help-function-arglist): Follow aliases and macros.
59 (describe-function-1): Use keymapp.
60 If the docstring contains a usage info, use it even if the function is
61 not a subroutine. Find usage info in aliases' docstring if necessary.
62 (describe-variable): Get the value before setting up the *Help* buffer.
64 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
65 Use find-file-hook instead of find-file-hooks.
66 (define-minor-mode): Get rid of this silly `togglep'.
67 Add an explicit `toggle' argument (used for interactive calls).
68 Emit a warning when a nil argument turns the mode off.
70 * language/ethio-util.el (setup-ethiopic-environment-internal)
71 (exit-ethiopic-environment): Use find-file-hook and
72 write-file-functions instead of find-file-hooks and write-file-hooks.
74 * window.el (handle-select-window): Don't do anything if the window
75 has disappeared since the event was generated.
76 (split-window-save-restore-data): Use push and with-current-buffer.
80 * obsolete/hilit19.el:
81 * completion.el (dynamic-completion-mode):
82 * emacs-lisp/find-func.el (find-function-search-for-symbol):
83 Use find-file-hook instead of find-file-hooks.
85 * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
86 (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
87 (imenu-space-replacement): Allow nil value.
88 (imenu--completion-buffer): Use new vars and simplify.
89 Fix handling of minibuffer-setup-hook.
90 Use minibuffer-completion-help instead of rolling our own.
91 (imenu-choose-buffer-index): Use the new var.
93 * startup.el (command-line): Load custom-file if not done yet.
95 2002-08-15 David Kastrup <David.Kastrup@t-online.de>
97 * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
98 use `hash-table-size' instead of `length'.
100 2002-08-14 Kenichi Handa <handa@etl.go.jp>
102 * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
103 the selection data string. Always return cons of type and string.
104 (selection-converter-alist): Add (UTF8_STRING .
105 xselect-convert-to-string).
107 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
109 * newcomment.el (comment-region): Force `lines' when `block' is set.
111 2002-08-12 Richard M. Stallman <rms@gnu.org>
113 * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag)
114 (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
115 (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
116 (menu-bar-toggle-cua-mode, menu-bar-read-mail)
117 (menu-bar-help-extra-packages, help-with-tutorial-spec-language)
118 (menu-bar-text-mode-auto-fill): New commands, used
119 in menu bar menus instead of lambda expressions.
121 (menu-bar-showhide-fringe-menu-customize-left)
122 (menu-bar-showhide-fringe-menu-customize-right)
123 (menu-bar-showhide-fringe-menu-customize-disable)
124 (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
126 (menu-bar-options-menu): Use toggle-truncate-lines.
127 (showhide-date-time): Call customize-mark-as-set.
129 * emacs-lisp/find-func.el (find-function-search-for-symbol):
130 Obey `definition-name' properties.
132 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
133 Put `definition-name' properties on the functions whose
134 names are constructed.
136 * textmodes/page-ext.el (pages-target-buffer): Add defvar.
137 Renamed from target-buffer.
138 (pages-directory, pages-copy-header-and-position): Uses changed.
140 * calendar/appt.el (appt-make-list): Correct the parsing of
141 each appointment from time-string.
143 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
145 * scroll-all.el (scroll-all-mode): Use define-minor-mode.
146 (scroll-all-mode) <defcustom>: Delete.
147 (running-xemacs): Delete.
148 (minor-mode-alist): Don't manipulate it directly.
150 2002-08-10 Kenichi Handa <handa@etl.go.jp>
152 * international/mule-cmds.el (search-unencodable-char): New function.
153 (select-safe-coding-system): Show unencodable characters.
154 (unencodable-char-position): Deleted, and implemented in C in coding.c.
156 2002-04-09 John Wiegley <johnw@gnu.org>
158 * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it.
159 * em-cmpl.el (eshell-cmpl-ignore-case): Ditto.
160 * em-dirs.el (eshell/cd): Ditto.
161 * em-glob.el (eshell-glob-case-insensitive): Ditto.
162 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
163 * esh-ext.el (eshell-binary-suffixes): Ditto.
165 2002-08-09 Richard M. Stallman <rms@gnu.org>
167 * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
169 * simple.el (set-variable): Give locality status in prompt.
171 2002-08-09 Benjamin Rutt <rutt@cis.ohio-state.edu>
173 * simple.el (set-variable): If given a prefix argument, set
174 variable buffer-locally.
176 2002-08-09 John Paul Wallington <jpw@shootybangbang.com>
178 * font-core.el (font-lock-function): Make it buffer-local.
180 2002-08-08 Richard M. Stallman <rms@gnu.org>
182 * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
183 (checkdoc-message-interactive, checkdoc-interactive-loop)
184 (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
186 Update checkdoc-spellcheck-documentation-flag correctly.
187 (checkdoc-ispell-docstring-engine): Don't test for
188 checkdoc-autofix-flag = nil.
190 2002-08-07 John Paul Wallington <jpw@shootybangbang.com>
192 * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
194 * wid-browse.el (widget-minor-mode): Fix doc typo.
196 2002-08-07 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
198 * net/tramp.el: Version 2.0.12 released.
199 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
200 Comment out possibly obsolete "echo hello" commands.
201 (tramp-run-real-handler): If operation is
202 `ange-ftp-hook-function', use first arg as the real operation.
203 (tramp-check-ls-commands): Use / instead of \ as directory
204 separator. (Relevant for XEmacs on Windows.)
205 (tramp-maybe-open-connection): Use tramp-wait-for-output when
206 waiting for the "are you awake" command. Use a different string
207 for the "are you awake" command.
208 (tramp-send-command): New optional arg NEVEROPEN means to never
209 invoke tramp-maybe-open-connection.
210 (tramp-maybe-open-connection): Use it
212 2002-08-07 Richard M. Stallman <rms@gnu.org>
214 * warnings.el (warning-prefix-function, warning-series)
215 (warning-fill-prefix, warning-group-format): Add autoload cookies.
217 2002-08-07 Kenichi Handa <handa@etl.go.jp>
219 * international/mule-cmds.el (select-safe-coding-system):
220 Call pop-to-buffer inside save-window-excursion and save-excursion.
222 2002-08-06 John Paul Wallington <jpw@shootybangbang.com>
224 * help-fns.el (describe-function-1): Skip arglist note if
225 function's definition is a keymap.
227 2002-08-06 Sam Steingold <sds@gnu.org>
229 * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
230 and `mail-user-agent' instead of straight sendmail.
231 (diary-modified, diary-entries-list, displayed-year)
232 (displayed-month, entry, date, number, date-string, d-file)
233 (original-date): Defvar without binding to avoid compiler warnings.
235 2002-08-05 Alan Shutko <ats@acm.org>
237 * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
238 (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
239 (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
241 * ibuf-ext.el (ibuffer-list-buffer-modes): New.
242 (ibuffer-filter-by-used-mode): New.
244 2002-08-05 John Paul Wallington <jpw@shootybangbang.com>
246 * ediff-util.el (ediff-copy-list): Use `defalias' instead of
247 `fset' and `symbol-function'.
249 2002-08-05 John Wiegley <johnw@gnu.org>
251 * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
252 value unless pcomplete-cycle-cutoff-length is non-nil.
254 2002-04-09 John Paul Wallington <jpw@shootybangbang.com>
256 * esh-util.el (eshell-under-cygwin-p): New function.
257 * em-cmpl.el (eshell-cmpl-ignore-case): Use it.
258 * em-dirs.el (eshell/cd): Ditto.
259 * em-glob.el (eshell-glob-case-insensitive): Ditto.
260 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
261 * esh-ext.el (eshell-binary-suffixes): Ditto.
263 2002-08-05 Richard M. Stallman <rms@gnu.org>
265 * international/mule-cmds.el (select-safe-coding-system): Check for
266 non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
268 * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
270 2002-08-05 Gerd Moellmann <gerd@gnu.org>
272 * image.el (image-jpeg-p): Accept "Exif" marker.
274 2002-08-05 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
276 * net/tramp.el: Version 2.0.11 released.
277 (tramp-perl-file-attributes): Print uid and gid as signed integers.
278 (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
279 Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
281 (tramp-find-file-exists-command): Check for `ls -d' last, after
282 all the variants on `test -e'.
283 (tramp-post-connection): Erase buffer before finding a command to
284 check if file exists.
286 2002-08-05 David Kastrup <David.Kastrup@t-online.de>
288 * calc/calc.el (math-format-stack-value): Revert a broken
289 if->when replacement and reformat so that this does not happen
290 again. Fixes a pretty lethal line formatting/yanking bug.
292 2002-08-04 John Paul Wallington <jpw@shootybangbang.com>
294 * startup.el (fancy-splash-frame): Check selected frame last.
296 2002-08-04 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
298 * net/tramp.el: Version 2.0.10 released.
299 (tramp-uudecode): New shell function `tramp_uudecode' to decode to
300 standard output even if `uudecode -p' and `uudecode -o -' don't work.
301 (tramp-post-connection): After finding the right shell, wait a
302 bit. This is a kludge to avoid a race condition, even though I
303 don't understand why there is a race condition in the first place.
304 (tramp-post-connection): Install the `tramp_uudecode' shell
305 function on the remote host.
306 (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
307 (tramp-bug): Include more variables in the report.
309 2002-08-04 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
311 * net/tramp.el: Version 2.0.9 released.
312 (tramp-bug): Add wording about additional info to include in bug
314 (tramp-find-shell): Set $PS1 for invocation of second shell (for
316 (tramp-find-shell): Shell prompt must match at end of buffer.
317 Do this also for fallback shell prompt.
318 (tramp-find-shell): More debugging output.
319 (tramp-find-inline-encoding): When checking the decoding command,
320 some commands fail when reading from /dev/null. So we pass a
321 known string through the encoding command and pass that through
322 the decoding command. So we know whether the decoding command can
323 deal with some real input.
325 2002-08-04 Andreas Schwab <schwab@suse.de>
327 * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
329 2002-08-03 Andrew Choi <akochoi@shaw.ca>
331 * term/mac-win.el: Set keys to enable mouse wheel support.
333 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
335 * net/tramp.el: Version 2.0.8.
336 (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
338 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
340 * net/tramp.el: Version 2.0.7.
341 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
342 (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
343 because of `format' and say so in the docstring.
345 2002-08-03 Glenn Morris <gmorris@ast.cam.ac.uk>
347 * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
349 (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
350 (f90-type-def-re): Fix value.
352 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
354 * net/tramp.el: Version 2.0.6.
355 (tramp-default-method): Change to "ssh" from "sm".
356 (tramp-wrong-passwd-regexp): Restructure. Add additional alternative.
357 (tramp-su-program): New internal variable for method parameter.
358 (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
359 New variables. Very short Perl one-liner, but requires Perl
360 module MIME::Base64 to be installed on the remote site.
361 (tramp-perl-encode, tramp-perl-decode): New base64
362 encoder/decoder. From Juanma Barranquero <lektu@terra.es>.
363 (tramp-handle-file-truename): Invoke Ange-FTP properly (even
364 though Ange-FTP doesn't do anything for this operation).
365 (tramp-handle-set-visited-file-modtime): Comment change.
366 (tramp-handle-make-directory): Save-excursion.
367 (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
368 twice, once is enough.
369 (tramp-action-permission-denied): Show *tramp/foo* buffer so the
370 user knows what's wrong.
371 (tramp-post-connection): Support the two Perl encoders and decoders.
372 (tramp-coding-commands): Ditto. Add some todo items.
374 2002-08-02 Richard M. Stallman <rms@gnu.org>
376 * international/mule.el (merge-coding-systems): New function.
377 (set-buffer-file-coding-system): Use merge-coding-systems.
378 Change prompt for args.
379 (revert-buffer-with-coding-system): New command.
381 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
382 Add bindings for revert-buffer-with-coding-system.
383 (set-coding-system-map): Clarify menu item info for
384 set-buffer-file-coding-system.
385 (set-coding-system-map): Reorder and add separators.
387 * emacs-lisp/edebug.el (edebug-eval-top-level-form):
390 * subr.el (atomic-change-group): Doc fix.
392 2002-07-31 Colin Walters <walters@debian.org>
394 * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
395 defvaralias for compatibility.
396 (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
397 defvaralias for compatibility.
399 2002-07-31 John Paul Wallington <jpw@shootybangbang.com>
401 * ibuffer.el (ibuffer-fontification-alist):
402 Use `font-lock-constant-face' instead of `font-lock-reference-face'.
404 2002-07-31 John Wiegley <johnw@gnu.org>
406 * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
407 prevent adding the symbol `pcomplete' to
408 shell-dynamic-complete-functions to many times.
410 2002-07-31 Markus Rost <rost@math.ohio-state.edu>
412 * help-fns.el (describe-function-1): Test function for
413 obsolescence only if it is a symbol.
415 * ediff.el (ediff-backup): New autoloaded command.
417 2002-07-31 Richard M. Stallman <rms@gnu.org>
419 * makefile.w32-in (compile-after-backup): Renamed from `compile'.
420 Use `compile-always'.
421 (bootstrap): Use `compile', not `compile-files'. Use `update-subdirs'.
422 (compile): Renamed from `compile-files'.
423 (compile-CMD, compile-SH): Renamed from `compile-files-*'.
425 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
426 Check that (car elt) is a string.
428 * pcomplete.el (pcomplete-entries): Doc fix.
430 * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
432 2002-07-31 Andreas Schwab <schwab@suse.de>
434 * dired.el: Hide disabling of dired-find-alternate-file behind
437 2002-07-31 Juanma Barranquero <lektu@terra.es>
439 * makefile.w32-in: Revert some changes from 2002-07-23 because they
440 don't work on MSVC/nmake builds.
441 (update-subdirs-CMD): Generate the right list of subdirectories.
442 From Tak Ota <Takaaki.Ota@am.sony.com>.
444 2002-07-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
446 * net/tramp.el: New version 2.0.5.
447 (tramp-methods): Remove inline encoding method parameters.
448 The encoding is now autodetected. Also shorten the list of
449 methods (u/m distinction gone) and rename the remaining methods to
450 have longer, but more mnemonic, names.
451 (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
452 (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
453 matched at end of buffer anyway.
454 (tramp-yesno-prompt-regexp): New variable, for questions where the
455 user should say "yes" or "no".
456 (tramp-file-name-structure-unified)
457 (tramp-file-name-structure-separate): Allow dash in method names.
458 (tramp-actions-before-shell): New variable, contains list of
459 pattern/action pairs. Output sent by remote end is scanned for
460 the patterns, then the actions are executed.
461 (tramp-multi-actions): Like `tramp-actions-before-shell', but
462 executed for each hop in a multi-hop connection.
463 (tramp-last-cmd-time): New variable. If nothing has been sent to
464 remote end for 60 seconds, look to see if the remote end is still
466 (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
468 (tramp-perl-encode, tramp-perl-decode): New variables, these
469 require the MIME::Base64 module on the remote end.
470 (tramp-handle-file-attributes): Restructure logic.
471 (tramp-handle-file-attributes-with-ls)
472 (tramp-handle-file-attributes-with-perl): More debugging.
473 (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
474 (tramp-handle-make-directory, tramp-handle-delete-directory)
475 (tramp-handle-delete-file, tramp-handle-insert-directory):
477 (tramp-handle-shell-command): Use `when', not `if'.
478 (tramp-handle-file-local-copy, tramp-handle-write-region):
479 Adapt to autodetection of inline encoding.
480 (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
481 variable ange-ftp-name-format is defined before binding it.
482 (tramp-action-login, tramp-action-password, tramp-action-succeed)
483 (tramp-action-permission-denied, tramp-action-yesno):
484 Functions called from `tramp-actions-before-shell'.
485 (tramp-multi-action-login, tramp-multi-action-password)
486 (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
487 Functions called from `tramp-multi-actions'.
488 (tramp-process-one-action, tramp-process-actions):
489 Pattern matching and action invocation code for
490 `tramp-actions-before-shell'.
491 (tramp-process-one-multi-action, tramp-process-multi-actions):
492 Same for `tramp-multi-actions'.
493 (tramp-open-connection-telnet, tramp-open-connection-rsh)
494 (tramp-open-connection-su): Process actions instead of hardwired logic.
495 (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
496 (tramp-multi-connect-su): Ditto.
497 (tramp-post-connection): New method for tramp_encode and
498 tramp_decode scripts.
499 (tramp-post-connection): Invoke inline autodetection code.
500 (tramp-coding-commands): List of inline codings.
501 (tramp-find-inline-encoding): This is the inline autodetection code.
502 (tramp-maybe-open-connection): If nothing was sent to connection
503 for 60 seconds, look if it connection is still alive.
504 (tramp-send-command): Remember that something was sent to the
506 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
507 Use backticks for constructing alist.
508 (tramp-get-encoding-command, tramp-set-encoding-command)
509 (tramp-get-decoding-command, tramp-set-decoding-command)
510 (tramp-get-encoding-function, tramp-set-encoding-function)
511 (tramp-get-decoding-function, tramp-set-decoding-function):
512 Use for results of inline autodetection.
513 (tramp-get-encoding-command, tramp-get-decoding-command)
514 (tramp-get-encoding-function, tramp-get-decoding-function):
515 Remove these old functions.
517 2002-07-30 Kenichi Handa <handa@etl.go.jp>
519 * language/indian.el (in-is13194): Give correct `safe-chars' property.
520 (devanagari): Define it as an alias of in-is13194.
522 * international/mule.el (safe-chars):
523 Put `char-table-extra-slots' property with value 0.
525 * files.el (revert-buffer): Fix previous change.
527 2002-07-29 Richard M. Stallman <rms@gnu.org>
529 * bindings.el (help-echo): If global-mode-string is non-nil,
530 display some spaces after it.
532 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
533 Don't call string-match on non-string.
534 (displaying-byte-compile-warnings):
536 * textmodes/ispell.el (check-ispell-version): Bind default-directory
537 to avoid errors. Kill the old temp buffer at the beginning.
539 2002-07-29 Glenn Morris <gmorris@ast.cam.ac.uk>
541 * scroll-all.el (scroll-all-mode): Make argument optional. Doc fix.
543 2002-07-29 John Paul Wallington <jpw@shootybangbang.com>
545 * scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if'
548 2002-07-29 Kenichi Handa <handa@etl.go.jp>
550 * international/mule.el (ctext-post-read-conversion): Add support
551 for embedded utf-8 encoding (ESC % G ... ESC % @).
553 2002-07-28 Kenichi Handa <handa@etl.go.jp>
555 * files.el (revert-buffer): Before calling insert-file-contents,
556 kill the local variable buffer-file-coding-system.
558 2002-07-28 Richard M. Stallman <rms@gnu.org>
560 * bindings.el (mode-line-format): Handle vc-mode specially.
561 Move mode-line-position to after global-mode-string.
562 (mode-line-modes): Move the starting 3 spaces out of here.
563 (mode-line-position): Separate with a space, not dashes.
565 * vc-hooks.el: Don't add to minor-mode-alist.
567 * emacs-lisp/edebug.el (edebug-debugger):
568 If inside redisplay, just return.
570 * emacs-lisp/debug.el (debug): If inside redisplay, just return.
572 * info.el (Info-find-index-name): Improve last change.
574 2002-07-27 Richard M. Stallman <rms@gnu.org>
576 * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
578 * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
581 2002-07-27 Markus Rost <rost@math.ohio-state.edu>
583 * ps-print.el: Update copyright year.
584 (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
586 2002-07-26 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
588 * eshell/eshell.el (eshell): Numeric prefix arg means to switch
589 to the session with that number. Old behavior still available
590 with nonumeric prefix args.
592 2002-07-08 Simon Josefsson <jas@extundo.com>
594 * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
596 2002-07-26 Juanma Barranquero <lektu@terra.es>
598 * warnings.el (lwarn, warn, warning-levels): Doc fix.
599 (warning-suppress-log-types): Fix typo.
600 (display-warning): Fix typo. Remove useless asignment to free variable
603 2002-07-25 Markus Rost <rost@math.ohio-state.edu>
605 * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
607 2002-07-25 Sam Steingold <sds@gnu.org>
609 * replace.el (occur-rename-buffer): New command.
610 (occur-mode-map): Bind "r" to it. Added keybindings for
611 `kill-this-buffer', `clone-buffer' and `quit-window'.
613 2002-07-25 Kevin Ryde <user42@zip.com.au>
615 * info.el (Info-find-index-name): Search for a function definition
618 2002-07-25 David Ponce <david@dponce.com>
620 * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
621 Don't recompute `entry' on each iteration.
622 (byte-compile-delete-first): Make it defsubst.
624 2002-07-25 Sam Steingold <sds@gnu.org>
626 * progmodes/cc-engine.el (c-search-uplist-for-classkey):
627 When `search-end' is a cons, use its car.
629 2002-07-25 Dave Love <fx@gnu.org>
631 * obsolete/c-mode.el: Deleted.
633 2002-07-25 Carsten Dominik <dominik@astro.uva.nl>
635 * textmodes/reftex.el (reftex-compile-variables):
636 Simplified regular expression.
638 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
639 Simplified the regexp.
641 * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
642 (reftex-extract-bib-entries-from-thebibliography):
643 Use `reftex-get-bibkey-default' to get a default regex.
644 (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
647 * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
648 XEmacs compatibility (got OK from RMS).
650 * textmodes/reftex-index.el (reftex-index-mode): Likewise.
652 * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
653 (reftex-select-bib-mode): Likewise.
655 2002-07-25 Colin Walters <walters@debian.org>
657 * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
660 2002-07-24 Dave Love <fx@gnu.org>
662 * international/mule.el (set-auto-coding): Doc fix.
664 * international/utf-16.el: New file.
666 * language/european.el ("German", "French", "Spanish", "Turkish"):
667 Add alternative coding systems.
668 ("Dutch"): Likewise. Add input method.
669 ("Welsh", "Latin-7"): Add nonascii-translation.
671 * language/georgian.el ("Georgian"): Add nonascii-translation.
673 * international/titdic-cnv.el: Doc fixes.
674 (tit-process-header): Add coding cookie.
675 (titdic-convert): Force writing as iso-2022-7bit.
677 * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
679 * international/mule-cmds.el: Doc fixes.
680 (unencodable-char-position): New.
681 (select-safe-coding-system): Use it to indicate problematic
682 characters and add extra explanation. Avoid checking auto-coding
683 for compressed files.
684 (leim-list-header): Add coding cookie.
685 (input-method-verbose-flag): Modify :type.
686 (locale-language-names): Add bs, wa. Modify cy.
688 2002-07-24 Richard M. Stallman <rms@gnu.org>
690 * emacs-lisp/bytecomp.el (byte-compile-log-warning):
691 Bind warning-group-format.
693 * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
694 (byte-compile-cl-warn): Use that variable.
695 (byte-compile-find-cl-functions): New function.
696 (displaying-byte-compile-warnings):
697 Call byte-compile-find-cl-functions.
699 * warnings.el (warning-levels): Add %s to the strings.
700 (warning-group-format): New variable.
701 (warning-suppress-log-types): Renamed from warning-suppress-log.
702 (warning-suppress-types): Renamed from warning-suppress.
703 (display-warning): Implement those changes.
705 2002-07-23 Richard M. Stallman <rms@gnu.org>
707 * warnings.el: Add `provide' call.
709 * files.el (basic-save-buffer-2): If there's an error writing the file,
710 unrename the backup file if it was just made.
711 (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
712 (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
713 when a backup was just made by renaming. Otherwise it's nil.
715 * wid-edit.el (widget-convert): Handle an argument that's a keyword.
716 Recognize explicit :args specification.
718 * international/mule-cmds.el (select-safe-coding-system):
719 Don't ask for confirmation of mismatch if find-file-literally was used.
721 2002-07-23 Markus Rost <rost@math.ohio-state.edu>
723 * add-log.el (add-log-current-defun): Fix typo in documentation.
725 2002-07-22 Markus Rost <rost@math.ohio-state.edu>
727 * add-log.el (add-log-mailing-address): Fix type. Can be a string.
729 * ido.el (ido-separator): Fix type.
731 2002-07-23 Andrew Innes <andrewi@gnu.org>
733 * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
734 (DONTCOMPILE): Add various language files.
735 (DONTCOMPILE): Remove term/xterm.el.
736 (finder-inf.el): Remove.
737 (update-authors): New target.
738 (TAGS-LISP): Remove $(lispsource).
739 (compile-always): Renamed from `compile-files'.
740 (compile): New target, adapted from `compile-files'.
741 (compile-calc): New target.
742 (recompile): Change `.' to $(lisp).
743 (bootstrap): Add update-subdirs and finder-data
744 to dependencies; change compile-files to compile.
746 2002-07-22 Andre Spiegel <spiegel@gnu.org>
748 * vc.el (vc-next-action-on-file): Preserve find-file-literally.
750 2002-07-22 Dan Nicolaescu <dann@ics.uci.edu>
752 * simple.el (undo, undo-more): Adjust messages when undoing in a
755 2002-07-22 John Paul Wallington <jpw@shootybangbang.com>
757 * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
758 (browse-url-lynx-input-delay): Add custom type and group.
760 * cus-start.el (double-click-fuzz): Added.
762 2002-07-22 Alan Shutko <ats@acm.org>
764 * calendar/solar.el (diary-sabbath-candles): Add optional MARK
765 parameter, specifying what face or character to use in the
766 calendar display. These will now return (MARK . ENTRY).
768 * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
769 parameter, specifying what face or character to use in the
770 calendar display. These will now return (MARK . ENTRY).
772 * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
773 (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
774 MARK parameter, specifying what face or character to use in the
775 calendar display. These will now return (MARK . ENTRY).
777 * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
778 from diary-sexp-entry and pass it to mark-visible-calendar-date.
779 (list-sexp-diary-entries): Update doc string for new docs for ....
780 If diary-sexp-entry returns a cons, only add the text to the diary
782 (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
783 . STRING) to specify what face or character mark should be used in
784 the calendar display.
785 (diary-date, diary-block, diary-float, diary-anniversary)
786 (diary-cyclic): Add optional MARK parameter, specifying what face
787 or character to use in the calendar display. These will now
788 return (MARK . ENTRY).
790 * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
791 (calendar-holiday-list, diary-french-date, diary-mayan-date)
792 (diary-julian-date, diary-astro-day-number, diary-chinese-date)
793 (diary-islamic-date, list-islamic-diary-entries)
794 (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
795 (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
796 (diary-rosh-hodesh, list-hebrew-diary-entries)
797 (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
798 (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
799 (diary-sunrise-sunset, diary-sabbath-candles):
800 Remove interactive flag from autoloads.
802 2002-07-22 Carsten Dominik <dominik@astro.uva.nl>
804 * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
805 (reftex-bibliography-commands): New option.
806 (reftex-toc-split-windows-horizontally): New option
807 (reftex-toc-split-windows-horizontally-fraction): New option
808 (reftex-include-file-commands): New option.
809 (reftex-cite-format-builtin): Added ?n for nocite.
811 * textmodes/reftex-index.el (reftex-query-index-phrase):
812 Use `reftex-index-verify-function'.
814 * textmodes/reftex-toc.el (reftex-re-enlarge):
815 Handle horizontal splitting.
816 (reftex-toc): Handle horizontal splitting
817 (reftex-last-window-width): New variable.
819 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
820 Use `reftex-bibliography-commands'.
821 (reftex-locate-bibliography-files): Regexp relaxed to allow for
822 cases where \bibliography is not the first thing on the line.
824 * textmodes/reftex.el (reftex-compile-variables):
825 Use `reftex-include-file-commands'.
826 (reftex-type-query-prompt): Changed defconst to defvar.
827 (reftex-type-query-help, reftex-typekey-to-format-alist)
828 (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
829 (reftex-special-env-parsers, reftex-label-mac-list)
830 (reftex-label-env-list, reftex-typekey-list)
831 (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
832 (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
833 (reftex-no-follow-message, reftex-no-info-message): Likewise.
834 (reftex-mode): Define systax table for bibtex parsing.
835 (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
837 * textmodes/reftex-cite.el (reftex-format-names): %a as name
838 format lists all names.
839 (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
840 (reftex-with-special-syntax-for-bib): New macro.
842 2002-07-21 Richard M. Stallman <rms@gnu.org>
844 * international/ucs-tables.el (ucs-quail-activate):
845 Cope if buffer-file-coding-system is nil.
847 * bindings.el (last-buffer): Use buffer-list with frame arg.
848 Create *scratch* if no other choice exists. Fix bugs.
850 2002-07-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
852 * net/tramp.el: Bump version to 2.0.2.
853 (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
854 longer names. Use old names "sm1", "sm2" and so on for methods
855 invoking "ssh -1" or "ssh -2".
856 (tramp-multi-file-name-structure-separate): Typo, its name was set
857 to "tramp-file-name-structure-separate". Trivial patch.
858 From Steve Youngs <youngs@xemacs.org>.
859 (tramp-multi-sh-program): New variable.
860 (tramp-open-connection-multi): Use it. Now you can use multi
861 methods from Windows (at least in principle).
862 (tramp-do-copy-or-rename-via-buffer): New function.
863 (tramp-do-copy-or-rename-file): Use it. Change and simplify
864 logic. Omit special case of invoking rcp directly to copy the files.
865 (tramp-open-connection-su, tramp-multi-connect-telnet)
866 (tramp-multi-connect-rlogin, tramp-multi-connect-su)
867 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
868 Use backticks in format-spec for brevity and to avoid
869 character/number confusion in XEmacs.
871 2002-07-20 Richard M. Stallman <rms@gnu.org>
873 * wid-edit.el (widget-documentation-string-value-create):
874 Say "Hide Rest", not just "Hide".
876 * cus-edit.el (custom-variable-value-create):
877 Say "Show Value", not just "Show". Also "Hide Value".
878 Output a newline before the doc string.
879 (custom-face-value-create): Say "Show Face" and "Hide Face".
881 * files.el (toggle-read-only): Clean up the hint message.
883 * emacs-lisp/bytecomp.el: Use warnings.el.
884 (byte-compile-warning-prefix): New function.
885 (byte-compile-log-file): Return page start position.
886 (byte-compile-log-warning): New function.
887 (byte-compile-warn): Use byte-compile-log-warning.
888 (byte-compile-report-error): Likewise. Also use error-message-string.
889 (displaying-byte-compile-warnings): Bind warning-series.
890 Don't bind or use byte-compile-warnings-point-max.
891 Don't display the log buffer at the end.
892 (byte-compile-warnings-point-max): Variable deleted.
893 (byte-compile-log-1): Rewrite for trace info, not used for warnings.
894 (byte-compile-last-warned-form, byte-compile-last-logged-file):
897 * warnings.el: New file.
899 2002-07-19 Richard M. Stallman <rms@gnu.org>
901 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
902 and `values-list' from list of CL functions.
904 2002-07-19 John Paul Wallington <jpw@shootybangbang.com>
906 * emacs-lisp/bytecomp.el (compile-defun):
907 Bind `read-with-symbol-positions' to current buffer.
909 2002-07-19 Andre Spiegel <spiegel@gnu.org>
911 * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
912 delete anything that comes after LIMIT from the buffer.
914 * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
915 if this is really an RCS master file.
917 * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
919 2002-07-19 Juanma Barranquero <lektu@terra.es>
921 * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
922 (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
923 (unread-command-char, executing-macro, post-command-idle-hook)
924 (post-command-idle-delay): Move obsolescence declarations to subr.el.
926 * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
927 (baud-rate, compiled-function-p, define-function, unread-command-char)
928 (executing-macro, post-command-idle-hook, post-command-idle-delay):
929 Move obsolescence declarations from emacs-lisp/bytecomp.el.
930 (directory-sep-char, mode-line-inverse-video):
931 Add obsolescence declaration.
933 2002-07-18 J.D. Smith <jdsmith@as.arizona.edu>
935 * progmodes/idlwave.el: Updated to IDLWAVE version 4.14. Too many
936 changes to list them here.
938 * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
939 Too many changes to list them here.
941 * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
942 Too many changes to list them here.
944 * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
945 only minor documentation changes.
947 2002-07-18 Dave Love <fx@gnu.org>
949 * info-look.el: Support current auto{conf,make} manuals.
951 2002-07-18 Juanma Barranquero <lektu@terra.es>
953 * bindings.el (last-buffer): Add missing frame argument.
955 2002-07-18 Richard M. Stallman <rms@gnu.org>
957 * timer.el (timer-inc-time): Doc fix.
959 * replace.el (keep-lines, flush-lines): Interactively report
960 read-only error before reading regexp argument.
962 * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
964 * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
965 frame parameters like bury-buffer.
967 * simple.el (choose-completion-delete-max-match):
968 Handle minibuffer prompts explicitly.
970 2002-07-18 Juanma Barranquero <lektu@terra.es>
972 * international/mule-util.el (string-to-sequence, truncate-string):
973 Add autoload cookie to obsolescence declaration.
975 * rect.el (move-to-column-force): Likewise.
977 * composite.el (decompose-composite-char): Likewise; also remove
980 2002-07-18 Kim F. Storm <storm@cua.dk>
982 * loadup.el: Load international/utf-8 before international/characters.
984 2002-07-17 Dave Love <fx@gnu.org>
986 * international/ucs-tables.el: Optimize tables. Deal with some
988 (ucs-mule-to-mule-unicode): New.
989 (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
991 (ucs-fragment-8859): Modified consistent with ucs-unify-8859.
992 (unify-8859-on-encoding-mode): Doc mod. Fix custom version.
993 (unify-8859-on-decoding-mode): Doc mod. Change code. Fix custom
994 version. Add custom dependencies.
995 (ucs-insert): Check for null from decode-char.
996 (translation-table-for-input, ucs-quail-activate)
997 (ucs-minibuffer-setup, ccl-encode-unicode-font)
998 (ucs-tables-unload-hook): New.
1000 * international/mule.el (define-translation-hash-table): New.
1001 (decode-char): Use utf-8-translation-table-for-decode.
1002 (encode-char): Use ucs-mule-to-mule-unicode.
1004 * international/characters.el: Fix settings of U+2000-U+2027.
1007 * international/mule-cmds.el (locale-language-names): Fix be, add
1008 sr_YU@cyrillic, modify tg.
1009 (locale-charset-language-names): Put @euro last.
1011 * language/cyrillic.el (cyrillic-koi8-r-decode-table)
1012 (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
1013 (cyrillic-koi8-r-decode-table): Make unbound after use.
1014 (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
1015 factor. Use utf-8-translation-table-for-decode.
1016 (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
1017 (cyrillic-unify-encoding): New function.
1018 (cyrillic-koi8): Modify safe-chars, valid-codes.
1019 Remove charset-origin-alist.
1020 (Cp878, cp866): New alias.
1021 (ccl-encode-8859-5-font): New.
1022 (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
1023 (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
1024 Remove redundant parens.
1025 ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
1026 (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
1027 (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
1028 (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
1029 ("Cyrillic-ALT"): Change input method.
1030 ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
1032 * international/utf-8.el (utf-8-subst-table)
1033 (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
1034 (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
1035 (utf-8-ccl-regs, utf-8-translate-cjk): New.
1036 (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
1037 (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
1038 (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
1039 (mule-utf-8): Remove pre-write-conversion.
1040 (utf-8-post-read-conversion): Comment out.
1042 * international/ccl.el (ccl-command-table): Add lookup-integer,
1044 (ccl-extended-code-table): Add lookup-int-const-tbl,
1045 lookup-char-const-tbl.
1046 (ccl-compile-lookup-integer, ccl-compile-lookup-character)
1047 (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
1049 (define-ccl-program): Doc update.
1051 * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
1052 (utf-8-subst-table): Don't set.
1054 2002-07-17 Kenichi Handa <handa@etl.go.jp>
1056 * international/mule.el (define-coding-system-alias):
1057 Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
1058 eol-type is not auto-detection.
1060 * international/mule-diag.el (print-coding-system-briefly):
1061 Fix the handling of an alias of which eol-type is not auto-detection.
1063 * international/mule-conf.el (us-ascii): Define it as an alias of
1066 2002-07-17 Juanma Barranquero <lektu@terra.es>
1068 * help-fns.el (describe-function-1): Put empty line before "Not
1071 * timer.el (timer-set-time-with-usecs): Mark obsolete.
1073 2002-07-16 Stefan Monnier <monnier@cs.yale.edu>
1075 * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
1076 Make sure to change the global tool-bar-map.
1078 * vc.el (vc-default-comment-history): Hard code *vc*.
1079 This is because print-log always prints there now.
1080 (vc-annotate-font-lock-keywords): New var.
1081 (vc-annotate-mode): Use it. Set truncate-lines as well.
1082 (vc-annotate-display-select): Unify the two error reports.
1083 (vc-annotate-offset): New var.
1084 (vc-annotate-lines): New fun extracted from vc-annotate-display.
1085 (vc-annotate-display): Use it, via font-lock.
1087 * help-fns.el (help-split-fundoc, help-function-arglist)
1088 (help-make-usage): New funs, extracted from describe-function-1.
1089 (describe-function-1): Use them.
1091 * help.el (help-key-description): Show the untranslated keys
1092 when they start with ESC and the ESC was not translated.
1094 * help-mode.el (view): Always require.
1095 (help-xref-mule-regexp): Don't use defconst for variables.
1096 (help-setup-xref): Keep the last 10 elements of the stack.
1097 (help-xref-override-view-map): New var.
1098 (help-make-xrefs): Use it instead of building a new map each time.
1099 (help-function-def): Allow help-fun to take a buffer as arg.
1101 * diff-mode.el (diff-reverse-direction): Simplify.
1102 (diff-after-change-function): Fix typo.
1103 (diff-post-command-hook): Take care of edge cases.
1104 (diff-current-defun): Do `goto-char' after setting the mode.
1106 * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
1107 Fold mouse-sel-bindings into it.
1108 (mouse-sel-bound-events): Turn it into an alist.
1109 (mouse-insert-selection): Delegate to mouse-yank-at-click if
1110 mouse-sel-default-bindings asks for it.
1112 2002-07-16 Andre Spiegel <spiegel@gnu.org>
1114 * files.el: Bind toggle-read-only to C-x C-q.
1115 (toggle-read-only): Display a warning message if the file is under
1118 * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
1119 (vc-toggle-read-only): Explain in the doc string that users can bind
1121 (vc-checkout-model): Change doc string to refer to vc-next-action,
1122 not vc-toggle-read-only.
1124 * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
1125 comparing to file on disk. Fix the case when claiming the lock
1126 on a file that has unlocked changes.
1127 (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
1129 2002-07-16 Richard M. Stallman <rms@gnu.org>
1131 * simple.el (choose-completion-string): Doc fix.
1133 * cus-edit.el: New operation :custom-standard-value.
1134 (Custom-reset-standard): Use it.
1135 (custom-variable, custom-face): Define it.
1136 (custom-variable-standard-value, custom-face-standard-value): New fns.
1137 (custom-face-save): Don't save a face whose value is standard.
1138 (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
1140 * cus-edit.el (custom-face-edit-fix-value):
1141 If VALUE is not a list, pass it thru.
1143 * compare-w.el (compare-windows-whitespace): Always allow newline
1144 even if it does not have whitespace syntax.
1146 2002-07-16 Juanma Barranquero <lektu@terra.es>
1148 * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
1150 2002-07-15 Juanma Barranquero <lektu@terra.es>
1152 * help-fns.el (describe-variable): Show documentation for aliased
1153 variable if alias does not have its own.
1155 2002-07-15 Mike Williams <mdub@bigfoot.com>
1157 * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
1158 cut/paste functions.
1160 2002-07-14 Richard M. Stallman <rms@gnu.org>
1162 * files.el (find-alternate-file): Offer to save a modified buffer.
1163 Handle kill-buffer-query-functions better.
1165 * startup.el (normal-splash-screen, fancy-splash-text):
1166 Update name of help menu item for ordering printed manuals.
1168 * emacs-lisp/checkdoc.el: Fix doc typos.
1170 2002-07-14 Stefan Monnier <monnier@cs.yale.edu>
1172 * textmodes/tex-mode.el: Set encoding to utf-8.
1173 (tex-start-options): Make it into always-a-string.
1174 Remove silly custom options that are covered by the other var.
1175 (tex-start-commands): Fix docstring.
1176 (tex-open-quote, tex-close-quote): Add options.
1177 (tex-command): Provide default.
1178 (tex-font-lock-keywords-1): Highlight $$...$$.
1179 (tex-font-lock-keywords-2): Fix latin-1 chars.
1180 (tex-mode-map): Remove redundant \t binding.
1181 (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
1182 (latex-mode): Use add-hook for fill-nobreak-predicate.
1183 (tex-common-initialization): Set indent-tabs-mode to nil.
1184 (tex-insert-quote): Undo magic if invoked twice in a row.
1185 (latex-fill-nobreak-predicate): Don't use narrowing.
1186 (tex-latex-block): Don't cons uselessly.
1187 (tex-last-unended-begin): Signal user-friendlier error.
1188 (tex-goto-last-unclosed-latex-block): Don't catch signal.
1189 (tex-start-tex): Switch order of tex-start-options and
1190 tex-start-commands to make it obey docstrings.
1192 2002-07-14 Mike Williams <mdub@bigfoot.com>
1194 * mouse-sel.el (mouse-sel-bound-events): New constant.
1195 (mouse-sel-bindings): Save/restore original mouse-bindings.
1197 2002-07-13 Stefan Monnier <monnier@cs.yale.edu>
1199 * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
1200 (cl-hack-byte-compiler): Avoid infinite require loop.
1202 * net/ange-ftp.el: Use hash-tables.
1203 (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
1204 (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
1205 (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
1206 Replace with make-hash-table, maphash, gethash, puthash and remhash.
1207 (ange-ftp-hash-entry-exists-p): Rewrite.
1208 (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
1209 Change mapatom -> maphash.
1210 (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
1211 Update to new calling mode.
1213 * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
1214 (ebrowse-hash-table-to-alist): Delete.
1215 (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
1216 (ebrowse-tags-complete-symbol): Use the hashtable for completion.
1218 * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
1219 Improve the regexp used when unquoting.
1220 (sgml-pretty-print): New function.
1221 (sgml-get-context): Better handling of improperly nested tags.
1222 (sgml-show-context): Don't use the FULL arg of sgml-get-context.
1224 2002-07-13 Andreas Schwab <schwab@suse.de>
1226 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
1227 inherited table entry.
1229 2002-07-13 Glenn Morris <gmorris@ast.cam.ac.uk>
1231 * calendar/timeclock.el (timeclock-in): Handle the case where no
1232 log file exists (ie the very first call).
1234 2002-07-13 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1236 * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
1239 * net/tramp.el (tramp-multi-file-name-structure-unified):
1240 Add missing slash and move colon from start to end of each hop.
1241 (tramp-multi-file-name-hop-structure-unified): Move colon from
1242 start to end of each hop.
1244 2002-07-13 Kim F. Storm <storm@cua.dk>
1246 * progmodes/compile.el (grep-tree): Fixed autoload.
1247 Corrected use of undefined variable `match-files-aliases'.
1249 2002-07-12 Glenn Morris <gmorris@ast.cam.ac.uk>
1251 * calendar/timeclock.el (timeclock-get-workday-function):
1252 `timeclock-workday' is not a valid option, rather a possible
1255 2002-07-12 Richard M. Stallman <rms@gnu.org>
1257 * net/ange-ftp.el (ange-ftp-write-region):
1258 Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
1259 to ange-ftp-real-write-region.
1261 * replace.el (flush-lines, keep-lines): Convert REND to a marker.
1263 * help-fns.el (help-with-tutorial): Display completion list right away.
1265 * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
1267 * startup.el (command-line): Set memory-signal-data.
1268 (fancy-splash-text, normal-splash-screen):
1269 Mention "Read the Emacs Manual" or C-h r.
1270 Rearrange the initial help to put the help cmds on left
1271 and the actions (exit, undo) on the right. Other small
1272 text clarifications.
1273 (fancy-splash-text, actions page): Add blank line to balance help page.
1275 * help.el (help-map): Add binding for info-emacs-manual.
1276 (print-help-return-message): Doc fix.
1278 * strokes.el (strokes-help): Call print-help-return-message
1279 while inside with-output-to-temp-buffer.
1281 * info.el (info-emacs-manual): New function.
1282 (Info-use-header-line): Doc fix.
1284 * emacs-lisp/cl.el (multiple-value-call): Add alias.
1286 * progmodes/compile.el (compilation-normalize-filename):
1287 New subroutine, taken out of compilation-parse-errors.
1288 (compilation-parse-errors): Use that, and for directories too.
1289 Don't check whether a directory really exists.
1291 2002-07-12 Juanma Barranquero <lektu@terra.es>
1293 * help-fns.el (describe-variable): Put `defvaralias' info before the
1294 documentation (patch from John Paul Wallington
1295 <jpw@shootybangbang.com>). Remove useless "Documentation:" string.
1297 * timer.el (timer-set-time-with-usecs): Fix documentation.
1298 Simplify extraction of time data.
1300 2002-07-12 John Paul Wallington <jpw@shootybangbang.com>
1302 * help-fns.el (describe-variable): Mention if the variable is an alias.
1304 2002-07-12 Kenichi Handa <handa@etl.go.jp>
1306 * international/mule-cmds.el (locale-language-names): Change "mk"
1307 (Macedoninan), "ru" (Russian), and "sp" (Serbian with Cyrillic
1308 alphabet) to "Cyrillic-ISO".
1310 2002-07-11 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1312 * net/tramp.el (tramp-default-method): New default method "sm"
1313 which I guess to be good for most people.
1314 (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
1315 Ange-FTP) for some user/host combinations.
1316 (tramp-file-name-structure, tramp-file-name-regexp)
1317 (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
1318 (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
1319 (tramp-make-multi-tramp-file-format): New default value which
1320 unifies the filename syntax between Tramp and Ange-FTP. The new
1321 syntax is "/method:user@host:path". Note the colon after the method.
1322 (tramp-handle-file-name-directory): Don't return "/" when
1323 completing a remote root directory (where the filename looks like
1324 "/method:user@host:/").
1325 (tramp-handle-ange-ftp): Deleted.
1326 (tramp-disable-ange-ftp): New function, called at toplevel,
1327 deletes Ange-FTP from file-name-handler-alist.
1328 (tramp-handle-make-symbolic-link): Implement.
1330 2002-07-10 Juanma Barranquero <lektu@terra.es>
1332 * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
1334 * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
1335 (speedbar-vc-do-check): Likewise.
1336 (speedbar-obj-do-check): Likewise.
1337 (speedbar-mouse-hscroll): Likewise.
1338 (speedbar-file-lists): Likewise.
1340 * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
1342 2002-07-09 Ole Aamot <ole@gnu.org>
1344 * compile.el (compilation-error-regexp-alist):
1345 Recognize Valgrind messages.
1347 2002-07-09 Juanma Barranquero <lektu@terra.es>
1349 * faces.el (face-id): Fix typo.
1351 * hexl.el (hexl-mode): Likewise.
1353 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
1355 * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
1357 * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
1358 (speedbar-desired-buffer): Likewise.
1359 (speedbar-line-file): Likewise.
1360 (speedbar-special-mode-key-map): Fix typo.
1361 (speedbar-dynamic-tags-function-list): Likewise.
1362 (speedbar-use-images): Likewise.
1363 (speedbar-up-directory): Likewise.
1364 (speedbar-item-info): Likewise.
1365 (speedbar-set-timer): Likewise.
1366 (speedbar-insert-button): Likewise.
1367 (speedbar-make-button): Likewise.
1368 (speedbar-make-tag-line): Likewise.
1369 (speedbar-insert-files-at-point): Likewise.
1370 (speedbar-update-special-contents): Likewise.
1371 (speedbar-find-selected-file): Likewise.
1372 (speedbar-add-indicator): Likewise.
1373 (speedbar-do-function-pointer): Likewise.
1374 (speedbar-goto-this-file): Likewise.
1375 (speedbar-line-path): Likewise.
1376 (speedbar-mouse-event-p): Likewise.
1377 (speedbar-dir-follow): Likewise.
1378 (speedbar-tag-find): Likewise.
1379 (speedbar-fetch-etags-command): Likewise.
1380 (speedbar-fetch-etags-arguments): Likewise.
1381 (speedbar-toggle-etags): Likewise.
1382 (speedbar-extract-one-symbol): Likewise.
1383 (speedbar-parse-c-or-c++tag): Likewise.
1384 (speedbar-unhighlight-one-tag-line): Likewise.
1385 (speedbar-directory-face): Likewise.
1386 (defimage-speedbar): Likewise.
1387 (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
1388 (defimage-speedbar): Likewise.
1390 2002-07-09 Miles Bader <miles@gnu.org>
1392 * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
1393 to nil when prompting for a filename.
1395 2002-07-09 Kenichi Handa <handa@etl.go.jp>
1397 * files.el (insert-directory): Be sure to bind
1398 coding-system-for-write to the just decided coding-system-for-read.
1400 2002-07-09 Kim F. Storm <storm@cua.dk>
1402 * ido.el (ido-make-merged-file-list): Move fully matching item to
1404 (ido-find-common-substring): Return substring instead of t.
1406 2002-07-08 Juanma Barranquero <lektu@terra.es>
1408 * info.el (Info-directory-list): Fix docstring.
1410 2002-07-08 Miles Bader <miles@gnu.org>
1412 * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
1415 2002-07-08 Kim F. Storm <storm@cua.dk>
1417 * files.el (after-find-file): Don't check for read-only status
1418 of files just created (and not yet saved on disk).
1420 * ido.el (ido-completion-help): Changed xemacs specific code to
1421 avoid byte compiler warning in GNU emacs.
1422 (ido-set-matches1): Use regexp-quote instead of identity.
1423 (ido-complete-space): New function.
1424 (ido-define-mode-map): Bind it to SPACE.
1426 2002-07-07 Stefan Monnier <monnier@cs.yale.edu>
1428 * font-lock.el (font-lock-default-unfontify-region):
1429 Use remove-list-of-text-properties.
1430 (font-lock-extra-managed-props): Doc fix.
1432 * facemenu.el: Move `provide' to the end.
1433 (facemenu-read-color): Don't cons unnecessarily.
1435 * language/ind-util.el (indian-make-hash):
1436 * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
1437 (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
1439 * subr.el (insert-string): Update the obsolete info.
1440 (makehash): Move from C and mark obsolete.
1442 * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
1443 aliases to also work for interactive functions.
1444 Use the same wrapper for subroutines.
1445 (cancel-debug-on-entry): Get rid of the now-useless wrapper.
1446 (debug-on-entry-1): Correctly skip docstrings and interactive forms.
1448 * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
1449 automatic environment name update.
1450 (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
1452 2002-07-07 Richard M. Stallman <rms@gnu.org>
1454 * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
1456 * emacs-lisp/advice.el (ad-compile-function):
1457 Disable cl-function warnings if cl is loaded.
1459 * files.el (safe-local-eval-forms): New user option.
1460 (hack-one-local-variable-eval-safep): Support it.
1461 Also allow `safe-local-eval-function' property to be a function
1462 or a list of functions.
1463 (c-add-style): Delete `safe-local-eval-function' property.
1465 * files.el (after-find-file): Make buffer read-only if file is
1466 marked that way, even for root.
1468 * files.el (save-some-buffers): Doc fix.
1470 * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
1472 2002-07-06 Francesco Potorti` <pot@gnu.org>
1474 * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
1475 .sx[dmicw] file suffixes for Open office data files.
1477 * files.el (auto-mode-alist): Likewise.
1479 * international/mule.el (auto-coding-alist): Likewise.
1481 2002-07-05 Kim F. Storm <storm@cua.dk>
1483 * emulation/cua-rect.el (cua--rectangle-operation): Don't call
1484 FCT if current column is outside rectangle.
1485 (cua--delete-rectangle): Do nothing if zero width or out of bounds.
1487 2002-07-04 Stefan Monnier <monnier@cs.yale.edu>
1489 * net/ange-ftp.el: Use add-hook and find-file-hook.
1490 (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
1491 (ange-ftp-ls-parser): Make it into a function.
1492 Ignore trailing @ in symlink targets.
1493 (ange-ftp-file-entry-p): Ignore FTP errors.
1494 (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
1495 to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
1497 2002-07-04 Per Abrahamsen <abraham@dina.kvl.dk>
1499 * simple.el (toggle-truncate-lines): New command.
1501 2002-07-04 Miles Bader <miles@gnu.org>
1503 * comint.el (comint-displayed-dynamic-completions): New variable.
1504 (comint-dynamic-list-completions): Be more careful about choosing
1505 when to scroll an existing completions window.
1507 2002-07-03 Andreas Schwab <schwab@suse.de>
1509 * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
1512 2002-07-03 Juanma Barranquero <lektu@terra.es>
1514 * net/tramp.el (tramp-send-eof): Fix typo.
1515 (tramp-kill-process): Likewise.
1517 * play/dunnet.el (dun-physobj-desc): Likewise.
1519 * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
1521 * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
1522 (timeclock-workday-elapsed): Likewise.
1524 * allout.el (outline-goto-prefix): Likewise.
1526 * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
1527 (tpu-delete-to-bol): Likewise.
1529 * subr.el (chars-in-region): Add obsolescence declaration for
1532 2002-07-03 Miles Bader <miles@gnu.org>
1534 * faces.el (header-line): Don't use a `common' clause for
1535 inheriting from the mode-line face, since we can't override it,
1536 and we don't want it for ttys.
1538 2002-07-02 Richard M. Stallman <rms@gnu.org>
1540 * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
1542 * files.el (hack-one-local-variable-constantp): New function.
1543 (hack-one-local-variable-eval-safep): New function.
1544 Check for `eval:' calling fn with `safe-local-eval-function' property.
1545 (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
1546 (c-add-style, c-set-style): Add safe-local-eval-function property.
1548 * files.el (insert-directory): Handle --dired option to ls.
1550 * files.el (file-remote-p): New function.
1552 * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
1554 * startup.el (fancy-splash-screens): Switch to a chosen frame.
1555 (fancy-splash-frame): Choose the right frame to use.
1556 (use-fancy-splash-screens-p): Check dimensions of the right frame
1559 * emacs-lisp/bytecomp.el (byte-compile-warning-types):
1560 Rename cl-func to cl-functions. Enable it by default.
1561 (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
1562 if the file loads cl.
1563 (byte-compile-initial-macro-environment): For eval-and-compile,
1564 use byte-compile-eval-before-compile to eval.
1565 (byte-compile-eval-before-compile): New function to turn off
1566 cl-functions when appropriate, for eval-and-compile.
1567 (byte-compile-warnings): Doc fix.
1569 2002-07-02 Dave Love <fx@gnu.org>
1571 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option.
1572 (byte-compile-cl-warn): New function.
1573 (byte-compile-form): Use it, to warn about calling cl functions.
1574 (byte-compile-warning-types): Doc fix.
1576 2002-07-02 Juanma Barranquero <lektu@terra.es>
1578 * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
1580 * textmodes/reftex-cite.el (reftex-citation): Fix typo.
1582 * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
1585 2002-07-02 Kim F. Storm <storm@cua.dk>
1587 * emacs-lisp/bindat.el: New file.
1589 2002-07-01 Sam Steingold <sds@gnu.org>
1591 * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
1592 before `tex-main-file' because if the current buffer is new, its
1593 file might not exist yet, and then `tex-main-file' will
1594 incorrectly return "foo.tex.tex".
1596 2002-07-01 Juanma Barranquero <lektu@terra.es>
1598 * ido.el (ido-minibuffer-setup-hook): Doc fix.
1600 2002-07-01 Dave Love <fx@gnu.org>
1602 Make strokes a proper minor mode, and don't try to overload
1603 mouse-2, which doesn't work satisfactorily.
1605 * strokes.el: Doc fixes.
1606 (strokes-mode): Defcustom deleted; replaced by minor mode def with
1607 re-written function.
1608 (strokes-while-inhibiting-garbage-collector): Comment out.
1609 (define-stroke, strokes-fix-button2-command, strokes-insinuated)
1610 (strokes-insinuate, global-set-stroke, describe-stroke)
1611 (load-user-strokes, save-strokes, strokes-bug-address)
1612 (strokes-click-command): Deleted.
1613 (strokes-execute-stroke): Remove strokes-click-p case.
1614 (strokes-describe-stroke): Remove strokes-click-p stuff.
1615 (strokes-help): Fix.
1616 (strokes-report-bug): Alias to report-emacs-bug.
1617 (strokes-prompt-user-save-strokes): Modify format of the file.
1618 (strokes-mode-map, strokes-unload-hook): New.
1619 (strokes-buffer-name): Don't customize.
1621 2002-07-01 Richard M. Stallman <rms@gnu.org>
1623 * info.el (Info-index): Get immediate error if used in `dir'.
1625 * textmodes/picture.el (picture-forward-column)
1626 (picture-move-down): Never deactivate the mark.
1628 2002-06-30 Simon Josefsson <jas@extundo.com>
1630 * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
1631 menu entry into balloon help.
1633 2002-06-30 Andreas Schwab <schwab@suse.de>
1635 * files.el (directory-free-space-args): Don't use `-P' on Darwin.
1636 * term/mac-win.el: Don't set it here.
1638 2002-06-29 Stefan Monnier <monnier@cs.yale.edu>
1640 * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
1642 2002-06-29 Andreas Schwab <schwab@suse.de>
1644 * term/mac-win.el: Use directory-free-space-program instead of
1645 obsolete variable dired-free-space-program. On Darwin, don't set
1646 directory-free-space-program, shell-file-name and
1647 process-connection-type; set directory-free-space-args to not
1648 include `-P' and use utf-8 for file name coding system.
1650 * simple.el (shell-command-on-region): Handle errors and signals
1651 from shell command execution.
1652 (display-message-or-buffer): Fix last change.
1653 (shell-command-default-error-buffer): Doc fix.
1655 * dired.el (dired-view-file): Quote file name for
1656 dired-run-shell-command.
1658 2002-06-29 Kim F. Storm <storm@cua.dk>
1660 * kmacro.el: New file.
1662 2002-06-28 John Wiegley <johnw@gnu.org>
1664 * pcmpl-cvs.el: Added my name as the maintainer of this file.
1666 2002-06-28 Andreas Schwab <schwab@suse.de>
1668 * shell.el (explicit-bash-args): New user option.
1670 2002-06-28 Kim F. Storm <storm@cua.dk>
1674 2002-06-28 Stefan Monnier <monnier@cs.yale.edu>
1676 * derived.el (define-derived-mode): Preserve the `mode-class' rather
1677 than the `special' symbol property.
1678 (derived-mode-class): Make it obsolete.
1680 2002-06-27 Andreas Schwab <schwab@suse.de>
1682 * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
1684 2002-06-27 Juanma Barranquero <lektu@terra.es>
1686 * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
1687 (meta-flag): Likewise.
1689 * international/mule-util.el (string-to-sequence): Likewise.
1691 * subr.el (char-bytes): Likewise.
1692 (make-local-hook): Likewise.
1693 (baud-rate): Remove redundant info from docstring.
1695 * faces.el (frame-update-faces): Fix obsolescence declaration.
1696 (internal-get-face): Remove redundant info from docstring and
1697 fix obsolescence declaration.
1699 * rect.el (move-to-column-force): Likewise.
1701 * help-fns.el (describe-function-1): Use semicolon instead of dot.
1702 (describe-variable): Likewise.
1704 2002-06-27 Stefan Monnier <monnier@cs.yale.edu>
1706 * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
1707 (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
1708 (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
1709 (mouse-wheel-follow-mouse): Change default to t.
1710 (mwheel-event-button): Return the basic event symbol.
1711 (mwheel-scroll): Work with non-mouse events.
1712 (mouse-wheel-mode): Use the new vars.
1713 (mwheel-install): Obey `uninstall'.
1715 * term/xterm.el (function-key-map): Add some bindings.
1717 * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
1718 Rename from delay-uniquify-rationalize-file-buffer-names.
1719 Only rationalize if the buffer is under uniquify control.
1720 (uniquify-delayed-rationalize-file-buffer-names):
1721 Rename from delayed-uniquify-rationalize-file-buffer-names.
1723 2002-06-27 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1725 * net/tramp.el (tramp-file-name-structure)
1726 (tramp-multi-file-name-hop-structure): Split for easier readability.
1727 (tramp-handle-make-symbolic-link): Use user/host/method/... from
1728 LINKNAME, not FILENAME.
1729 (tramp-handle-verify-visited-file-modtime):
1730 Call tramp-ange-ftp-file-name-p with right parameters.
1731 (tramp-handle-verify-visited-file-modtime): `insert' does not
1732 work for integers, convert them to strings first.
1733 (tramp-handle-ange-ftp): New function to perform setup for
1734 replacing Ange-FTP with Tramp.
1735 (tramp-repair-jka-compr): New function to factor out some
1736 previously top-level code. Call the function at top-level.
1738 2002-06-27 Juanma Barranquero <lektu@terra.es>
1740 * composite.el (decompose-composite-char): Fix docstring.
1742 * faces.el (describe-face): Capitalize "not documented" message.
1744 * help-fns.el (describe-variable): Likewise.
1745 (describe-function-1): Likewise. Also, document the obsolescence
1746 of the function, if applicable.
1748 2002-06-26 Juanma Barranquero <lektu@terra.es>
1750 * info.el (info-menu-5): Fix documentation.
1751 (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
1753 2002-06-26 Richard M. Stallman <rms@gnu.org>
1755 * emacs-lisp/cl.el (values): Simplify definition.
1757 * simple.el (shell-command): Match & only at end of whole command.
1758 (display-message-or-buffer): Don't use the echo area
1759 if output buffer is visible.
1761 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
1763 * progmodes/cperl-mode.el: Many trivial doc fixes.
1764 (cperl-non-problems): Definition deleted.
1765 (cperl-menu): Don't refer to cperl-non-problems.
1766 (cperl-word-at-point): Add doc string.
1767 (cperl-beautify-regexp-piece): Fix error message.
1768 (cperl-invert-if-unless): Fix error message.
1770 * dired.el (dired-find-alternate-file): Mark as disabled.
1772 2002-06-25 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1774 * net/tramp.el (tramp-ftp-method): New user option.
1775 (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
1776 (with-parsed-tramp-file-name): New macro for the usual big `let'
1777 statement to dissect a file-name.
1778 (tramp-handle-make-symbolic-link, tramp-handle-load)
1779 (tramp-handle-file-name-directory)
1780 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1781 (tramp-handle-file-truename, tramp-handle-file-directory-p)
1782 (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
1783 (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
1784 Use the new macro and forward call to Ange-FTP if applicable.
1785 (tramp-make-ange-ftp-file-name): New helper function to convert a
1786 file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
1787 (tramp-default-method-alist): New user option.
1788 (tramp-find-default-method): Use it.
1789 (tramp-sh-extra-args): New variable.
1790 (tramp-find-shell): Use it.
1791 (tramp-open-connection-rsh): Support a kludgy feature for the
1792 "-p" option to ssh. If host name is given as "host#42", uses the
1795 2002-06-25 Andreas Schwab <schwab@suse.de>
1797 * replace.el (occur-1): Avoid invalid message format string.
1799 2002-06-24 Stefan Monnier <monnier@cs.yale.edu>
1801 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
1802 Check for `noruntime' even if the function has a known sig.
1803 (byte-compile-file, byte-compile-output-docform):
1804 Don't hard code point-min = 1.
1806 * pcvs.el (cvs-parse-process): Don't save/restore point.
1807 Fix last change not to introduce spurious dir FIs.
1808 (cvs-move-to-goal-column): New function extracted from
1809 cvs-mode-previous-line.
1810 (cvs-mode-previous-line, cvs-mode-next-line): Use it.
1811 (cvs-addto-collection): Use it to preserve point.
1812 (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
1814 * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
1815 Don't require the first element to be modifier-free.
1817 * pcvs-parse.el (cvs-parse-table):
1818 Handle `nothing known about' with more care.
1820 * pcvs.el (cvs-fileinfo-kill): Remove.
1821 (cvs-parse-process): Add `old-fis' argument.
1822 (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
1824 * descr-text.el (describe-property-list): Make sure there's
1825 a space between the property name and its value.
1826 (describe-text-properties): Don't kill a pre-existing buffer.
1828 * mwheel.el: Undo last patch from Stephen Gildea for now.
1830 2002-06-24 Kim F. Storm <storm@cua.dk>
1832 * emulation/keypad.el: Added :require 'keypad to defcustoms.
1834 2002-06-23 Stefan Monnier <monnier@cs.yale.edu>
1836 * subr.el (event-start, event-end, event-click-count):
1837 Accept non-mouse events as well.
1838 (read-key): New function.
1839 (read-quoted-char): Use it. Use this-single-command-raw-keys as well.
1841 * files.el: Rename (and mark as obsolete)
1842 find-file-hooks to find-file-hook,
1843 find-file-not-found-hooks to find-file-not-found-functions,
1844 write-file-hooks to write-file-functions,
1845 write-contents-hooks to write-contents-functions.
1846 Mark local-write-file-hooks as obsolete.
1847 (locate-file-completion): Don't cons uselessly. Use test-completion.
1848 (basic-save-buffer): Use (point-min) rather than 1.
1849 (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
1851 * help-fns.el (describe-variable): Only use `buffer' is still live.
1852 Use `delete-region' instead of save-excursion + delete-char.
1853 Document the obsolescence of the variable, if applicable.
1855 2002-06-23 Glenn Morris <gmorris@ast.cam.ac.uk>
1857 * progmodes/f90.el (f90-do-auto-fill): Respect the value of
1858 comment-auto-fill-only-comments.
1860 2002-06-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1862 * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
1863 This is not a handled operation.
1865 2002-06-21 Kim F. Storm <storm@cua.dk>
1867 * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
1868 work again. Corrected error in check for C-u initiated prefix.
1870 * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
1872 2002-06-21 Richard M. Stallman <rms@gnu.org>
1874 * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
1875 to browse-url-at-point.
1877 * play/zone.el (zone-idle): Var deleted.
1879 * international/iso-acc.el (iso-languages) <french>:
1880 `~ ' now generates `~', `~,' definition deleted.
1882 * format.el (format-annotate-function): Copy multibyte flag
1883 and selective-display into the new temp buffer.
1885 * edmacro.el (edmacro-fix-menu-commands):
1886 Discard `help-echo' events. Handle (menu-bar) events.
1887 Simplify by converting key sequence to a list and then back to vector.
1889 2002-06-21 Stephen Gildea <gildea@stop.mail-abuse.org>
1891 * mwheel.el: Allow arbitrary keys for scrolling, add a third
1892 scrolling speed, fix an unwind-protect.
1893 (mouse-wheel-scroll-amount): Now a three-element list.
1894 (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
1895 (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
1896 (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
1899 2002-06-21 Andreas Schwab <schwab@suse.de>
1901 * files.el (find-file-read-args): Add new argument `mustmatch' and
1902 pass it down to read-file-name.
1903 (find-file, find-file-other-window, find-file-other-frame)
1904 (find-file-read-only, find-file-read-only-other-window)
1905 (find-file-read-only-other-frame): Use it and fix prompts.
1907 2002-06-21 Stefan Monnier <monnier@cs.yale.edu>
1909 * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
1911 2002-06-20 Emmanuel Briot <briot@act-europe.fr>
1913 * progmodes/ada-mode.el: Update copyright notice.
1914 Synchronize with GNAT release 3.15a1.
1915 Do not attempt to load ada-support, which is only for compatibility
1916 with older Emacs versions, and is not needed for Emacs 21.
1917 Fix various calls to count-lines, that didn't work correctly when the
1918 buffer was narrowed.
1919 (ada-continuation-indent): New variable.
1920 (ada-contextual-menu): New entry "List local references", faster than
1922 (ada-mode): New alignment rules provided by S. Leake.
1923 Add support for which-function-mode.
1924 (ada-get-current-indent): Fix indentation of named parameter lists and
1925 nested boolean expressions.
1926 (ada-indent-on-previous-lines): Fix indentation of labels.
1927 (ada-search-prev-end-stmt): Fix searching of the previous
1928 end-statement, specially with regards to nested subprograms.
1929 (comment-region advice): Initially disabled, for better compatibility
1931 (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
1933 * progmodes/ada-xref.el: Update copyright notice.
1934 (ada-xref-create-ali): The default is now not to create automatically
1935 the ALI files by compiling the unit, since this isn't always reliable
1936 and requires an up-to-date project file.
1937 (ada-prj-default-comp-cmd): No longer use gcc directly to compile
1938 a file, but use gnatmake instead, since this gives access to the GNAT
1940 (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
1941 (ada-load-project-hook): New variable, for support of GNAT
1943 (ada-update-project-menu): Fix the detection of the project file name.
1944 (ada-add-keymap): Change key binding for ada-find-file, that conflicted
1945 with another binding in ada-mode.el.
1946 (ada-add-menu): New menu "List Local References", to list the reference
1947 to the entity only in the current file, instead of looking in the whole
1948 project. Much faster.
1949 (ada-find-references): New parameters arg and local-only.
1950 (ada-find-any-references): New parameters local-only and append.
1951 (ada-goto-declaration): Fix handling of predefined entities in xref.
1952 (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
1953 still compatible with GNAT 3.14 of course. Fix various calls to
1954 count-lines, that didn't work correctly when the buffer was narrowed.
1956 * progmodes/ada-prj.el: Update copyright.
1957 (ada-prj-load-directory): Make sure we do not use one of the new Emacs
1958 21 dialogs to select the file, since we want a directory name only.
1959 (ada-customize): Add support for the new GNAT project files.
1961 2002-06-20 Francesco Potorti` <pot@gnu.org>
1963 * progmodes/etags.el (tag-implicit-name-match-p): New function.
1964 (etags-recognize-tags-table): Use it for implicit tag names.
1966 2002-06-20 Miles Bader <miles@gnu.org>
1968 * comint.el (comint-get-old-input-default): Strip text properties
1971 * comint.el (comint-output-filter): Run output-filter functions
1972 before setting up the prompt.
1974 * international/characters.el: Re-enable code giving word syntax
1975 to certain japanese-jisx0208 characters.
1977 2002-06-19 Glenn Morris <gmorris@ast.cam.ac.uk>
1979 * progmodes/f90.el (f90-type-def-re): Fix value.
1980 (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
1982 2002-06-18 Stefan Monnier <monnier@cs.yale.edu>
1984 * international/quail.el (quail-help): Don't assume the buffer
1985 is displayed in the same frame.
1987 * emacs-lisp/debug.el (cancel-debug-on-entry):
1988 * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
1990 * pcvs.el (cvs-vc-command-advice): Handle the case where args
1991 are passed to `cvs' before the command name.
1992 (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
1994 * pcvs-info.el (cvs-add-face): Minor rewrite.
1995 (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
1997 * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
1998 regexp when they don't match comment-foo any more.
2000 2002-06-18 Juanma Barranquero <lektu@terra.es>
2002 * filesets.el (filesets-update-pre010505): Fix typo.
2004 * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
2006 * emulation/edt.el (edt-substitute): Fix typo.
2008 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
2010 * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
2012 * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
2014 2002-06-17 Richard M. Stallman <rms@gnu.org>
2016 * facemenu.el (facemenu-map): Rename to Describe Text
2017 to Describe Properties and use describe-text-properties.
2019 * simple.el (what-cursor-position): Use describe-char.
2021 * descr-text.el (describe-char): Moved from mule-diag.el, renamed
2022 from describe-char-after. Now calls describe-text-properties.
2023 (describe-property-list): Renamed from describe-text-properties.
2024 (describe-text-properties): Renamed from describe-text-at.
2025 New arg OUTPUT-BUFFER.
2026 (describe-text-properties-1):
2027 New subroutine, broken out from describe-text-properties.
2028 Output a newline before each section of the output.
2030 * international/mule-diag.el (describe-char-after):
2031 Moved to descr-text.el.
2033 2002-06-17 Eli Zaretskii <eliz@is.elta.co.il>
2035 * international/mule.el (ctext-pre-write-conversion): Fix the values
2036 of FROM and TO if we create a new buffer.
2038 2002-06-17 John Paul Wallington <jpw@shootybangbang.com>
2040 * comint.el (comint-insert-clicked-input): Insert clicked-on
2041 previous input without properties.
2043 2002-06-16 Andrew Choi <akochoi@shaw.ca>
2045 * term/mac-win.el (scalable-fonts-allowed): Set to t.
2047 2002-06-15 Colin Walters <walters@debian.org>
2049 * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
2051 (cvs-highlight): Delete.
2052 (cvs-add-face): Use `font-lock-face'. Always add properties.
2054 * ibuffer.el (ibuffer-movement-cycle): New variable.
2055 (ibuffer-backward-line, ibuffer-forward-line): Use it.
2057 2002-06-15 Richard M. Stallman <rms@gnu.org>
2059 * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
2060 (batch-byte-recompile-directory): Undo previous change.
2062 * comint.el (comint-skip-input): New function.
2063 (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
2064 (comint-stop-subjob): Use comint-skip-input.
2066 * ielm.el (ielm-eval-input): Use error-message-string.
2067 (ielm-format-error, ielm-format-errors): Functions deleted.
2069 2002-06-14 Kim F. Storm <storm@cua.dk>
2071 * progmodes/compile.el (grep-tree): Doc fixes.
2072 Added SUBDIRS arg for non-interactive use.
2074 2002-06-14 Juanma Barranquero <lektu@terra.es>
2076 * comint.el (comint-snapshot-last-prompt):
2077 Bind `inhibit-read-only' to t to support read-only prompts.
2078 (comint-output-filter): Likewise.
2080 2002-06-14 Miles Bader <miles@gnu.org>
2082 * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
2083 (pop): Move the call to `car' outside the prog1, as the compiler
2084 then generates better code.
2086 2002-06-13 Richard M. Stallman <rms@gnu.org>
2088 * play/zone.el (zone-timer): New variable holds the idle timer.
2089 (zone): Don't fiddle with the idle timer at all.
2090 (zone-when-idle): Put the idle timer in zone-timer.
2091 If one is already set up, cancel it and make a new one.
2092 (zone-leave-me-alone): Likewise.
2094 2002-06-13 Jason Rumney <jasonr@gnu.org>
2096 * w32-fns.el (w32-charset-info-alist): Reorder.
2098 2002-06-13 Andreas Schwab <schwab@suse.de>
2100 * files.el (auto-mode-alist): Move entry for ".in" to the end.
2102 2002-06-13 Miles Bader <miles@gnu.org>
2104 * comint.el (comint-mode): Don't set `font-lock-defaults'.
2105 (comint-mode-hook): Turn on font-lock by default.
2107 2002-06-12 Karl Fogel <kfogel@red-bean.com>
2109 * bookmark.el (bookmark-file-or-variation-thereof):
2110 Restore vc-backend check, thanks to Robert Thorpe for noticing.
2112 2002-06-12 Eli Zaretskii <eliz@is.elta.co.il>
2114 * textmodes/bibtex.el: Change the maintainer to "none".
2116 2002-06-12 Juanma Barranquero <lektu@terra>
2118 * term/w32-win.el (x-handle-switch): Fix handling of
2119 x-invocation-args for switches with arguments.
2121 2002-06-12 Stefan Monnier <monnier@cs.yale.edu>
2123 * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
2124 without first making sure it's bound.
2126 2002-06-12 Richard M. Stallman <rms@gnu.org>
2128 * info.el (Info-fontify-node): Compute header line specially
2129 if node has no next, previous or up links.
2130 Hide the part of the first line that is used in the header.
2131 Use Info-next-link-keymap, etc.
2132 (Info-next-link-keymap, Info-prev-link-keymap)
2133 (Info-up-link-keymap): New variables.
2135 * international/mule-diag.el (describe-char-after): Doc fix.
2137 * view.el (view-mode-enter): Clarify echo area message.
2139 * info.el (Info-select-node): Turn header line on or off here.
2140 (Info-setup-header-line): Function deleted.
2141 (Info-mode): Make Info-header-line local.
2142 (Info-fontify-node): Ignore Info-use-header-line.
2143 Unconditionally compute what the header line should be, and
2144 store it on the `header-line' property of the node's first char.
2145 Bind [header-line down-mouse-1].
2146 Use `keymap' property, not `local-map'.
2147 Bind [mouse-2] for mouse clicks on the node line in the text.
2149 * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
2151 2002-06-12 Miles Bader <miles@gnu.org>
2153 * comint.el (comint-send-input): Properly handle empty and
2154 no-newline input regions.
2156 2002-06-12 Colin Walters <walters@gnu.org>
2158 * calc/calc.el: Use `when', `unless'.
2159 (calc-trail-mode): Use an italic `font-lock-face'.
2160 (calc-refresh): Ditto.
2162 2002-06-12 Colin Walters <walters@debian.org>
2164 * font-core.el (font-lock-core-only): Variable deleted.
2166 (font-lock-set-defaults): Variable alist settings moved back into
2167 font-lock-set-defaults-1.
2168 (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
2169 is specifically excluded by the user.
2171 * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
2173 * help-mode.el (help-mode): Don't set `font-lock-defaults'.
2175 * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
2177 * info.el (Info-mode): Don't set `font-lock-defaults'.
2179 * replace.el (occur-mode): Don't set `font-lock-defaults'.
2181 * help-mode.el (help-highlight-p, help-highlight-face):
2182 Variable was unused; delete.
2183 (help-make-xrefs): Doc fix.
2185 2002-06-11 Richard M. Stallman <rms@gnu.org>
2187 * format.el (format-alist): Document new element PRESERVE.
2188 (format-write-file): Implement PRESERVE elt for a format.
2190 * files.el (make-auto-save-file-name): Rename local `filename' to
2193 2002-06-10 Richard M. Stallman <rms@gnu.org>
2195 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
2196 (ebrowse-copy-list): Function deleted.
2198 * eshell/em-unix.el (eshell/diff): Use copy-sequence.
2200 * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
2202 * eshell/esh-util.el (eshell-copy-list): Function deleted.
2203 (eshell-sublist): Use copy-sequence.
2204 (eshell-copy-tree): Make it an alias for copy-tree.
2206 * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
2208 * subr.el (copy-list): Moved to cl.el.
2209 (copy-tree): Don't use copy-list or cl-pop.
2211 2002-06-10 Miles Bader <miles@gnu.org>
2213 Make comint use text properties for highlighting instead of overlays:
2214 * comint.el (comint-last-output-overlay): Variable removed.
2215 (comint-send-input, comint-output-filter): Use text properties
2216 instead of overlays.
2217 (comint-insert-clicked-input): Rewrite to work with text
2218 properties as well as overlays
2219 (comint-snapshot-last-prompt): Snapshot using text properties.
2220 (comint-get-old-input-default, comint-extract-string): Don't copy
2223 * simple.el (line-move-finish): Inhibit field motion when
2224 computing `line-end'.
2226 * files.el (revert-buffer): Correct typo: variable name is
2227 `buffer-file-format', not `buffer-file-formats'.
2229 * comint.el (comint-send-input, comint-output-filter): Use the
2230 `font-lock-face' property instead of `face'. Don't check the
2231 highlight-enabling variables anymore.
2232 (comint-highlight-input, comint-highlight-prompt): Variables removed.
2234 * faces.el (display-supports-face-attributes-p): New function.
2235 (face-spec-set-match-display): Support `supports' predicate.
2236 (italic): Try underlining for displays that don't support real italics.
2237 * cus-edit.el (custom-display): Add support for `supports' predicate.
2238 * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
2239 instead of 8-bit, for consistency with the rest of emacs.
2240 (tty-color-canonicalize): Only copy COLOR if we need to change it.
2241 (tty-color-approximate): Scale values from `color-name-rgb-alist'
2242 appropriately. Return the whole color description, rather than
2243 just the RGB values.
2244 (tty-color-standard-values): New function. Code mostly taken from
2245 `tty-color-translate'.
2246 (tty-color-translate, tty-color-values): Use `tty-color-desc' to
2248 (tty-color-desc): Do color lookup here instead of calling
2249 `tty-color-translate' and `tty-color-by-index'; this is now the
2250 main place to do it.
2252 2002-06-09 Martin Stjernholm <bug-cc-mode@gnu.org>
2254 * progmodes/cc-style.el (c-set-style, c-set-style-1):
2255 Add another state for the `dont-override' flag where it only keeps
2256 globally set variables.
2258 2002-06-08 Colin Walters <walters@gnu.org>
2260 * descr-text.el (describe-text-properties): Sort the output by the
2261 size of the values. Put `font-lock-face' property on property names.
2262 (toplevel): Provide `descr-text'.
2264 * international/mule-diag.el (describe-char-after): When there are
2265 text properties, require `descr-text', and just call
2266 `describe-text-properties'.
2268 * international/mule.el (sgml-html-meta-auto-coding-function):
2270 (auto-coding-from-file-contents): Delete; merge functionality into
2272 (set-auto-coding): Move tests from `auto-coding-functions' so that
2273 they have a lower priority than coding: tags.
2274 Put `auto-coding-regexp-alist' tests before coding: tag tests.
2275 (sgml-xml-auto-coding-function): Simply `intern' the match, and
2276 test if it's a valid coding system.
2277 (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
2279 2002-06-08 Colin Walters <walters@verbum.org>
2281 * subr.el (copy-list): Moved here from cl.el.
2282 (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
2284 * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
2285 subr.el. Add a defalias with the old name.
2287 * emacs-lisp/cl.el (copy-list): Moved to subr.el.
2289 * replace.el (occur-mode): Don't set up categories. Do set
2290 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2291 (occur-1): Pass `list-matching-lines-face' and
2292 `list-matching-lines-buffer-name-face'.
2293 (occur-engine): Use `font-lock-face' instead of categories.
2295 * info.el (Info-mode): Don't set up categories. Do set
2296 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2297 (Info-fontify-menu-headers): Use `font-lock-face' instead of
2299 (Info-fontify-node): Ditto.
2301 * ibuffer.el (ibuffer-category-alist): Delete.
2302 (ibuffer-get-category): Delete.
2303 (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
2305 (ibuffer-compile-format): Don't treat `name' category specially.
2306 (ibuffer-column name): Use `font-lock-face'.
2307 (filename-and-process): Ditto.
2308 (ibuffer-buffer-name-category): Renamed to
2309 `ibuffer-buffer-name-face'. Don't use categories.
2310 (ibuffer-update-title-and-summary): Use `font-lock-face'.
2311 (ibuffer-insert-filter-group): Ditto.
2312 (ibuffer-mode): Don't set up categories. Do set
2313 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2314 (ibuffer-compile-format): Don't pass third argument
2315 to column functions.
2316 (filename-and-process): Ditto.
2318 * ibuf-macs.el (define-ibuffer-column): Don't create a third
2319 argument for the generated function.
2321 * font-core.el (font-lock-category-alist): Delete.
2322 (turn-on-font-lock-if-enabled): Don't use it.
2323 (font-lock-symbol-category-alist): Delete.
2324 (font-lock-default-function): Use new `char-property-alias-alist'
2325 to make `font-lock-face' an alias for `face' when font-lock mode
2327 (font-lock-core-only): New variable.
2328 (font-lock-set-defaults): Use it.
2330 2002-06-08 Richard M. Stallman <rms@gnu.org>
2332 * files.el (find-file-noselect-1): Undo previous change.
2334 * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
2336 2002-06-07 Karl Fogel <kfogel@red-bean.com>
2338 * bookmark.el (bookmark-file-or-variation-thereof): Just use
2339 Info-suffix-list, as suggested by Stefan Monnier.
2341 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il>
2343 * select.el (xselect-convert-to-string): If VALUE is a string,
2344 return a cons of TYPE and the string.
2346 2002-06-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
2348 * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
2349 Fix the table to contain correct characters.
2351 2002-06-04 Richard M. Stallman <rms@gnu.org>
2353 * simple.el: Don't require cl.
2355 2002-06-03 Richard M. Stallman <rms@gnu.org>
2357 * dired.el (dired-do-shell-command): Doc fix in autoload.
2359 * info.el (Info-extract-pointer): Ignore Info-header-line.
2361 * progmodes/cc-mode.el (c-postprocess-file-styles):
2362 Do nothing except in CC modes.
2364 * international/mule-cmds.el (select-safe-coding-system):
2365 When computing auto-cs, narrow to FROM...TO.
2366 Put save-excursion outside save-restriction.
2367 New arg FILE; use that for set-auto-coding.
2369 2002-06-01 Richard M. Stallman <rms@gnu.org>
2371 * simple.el (choose-completion-string-functions): Doc fix.
2372 (choose-completion-string): Add doc string.
2374 2002-06-01 Kim F. Storm <storm@cua.dk>
2376 * simple.el: Reworked previous change.
2377 (choose-completion-string1): Merged back into choose-completion-string.
2378 (choose-completion-string): Run choose-completion-string-functions
2379 after checking for proper minibuffer window. Added mini-p arg to
2380 the hook functions. Insert choice if all hook functions return nil.
2381 (choose-completion-string-functions): Doc update.
2383 2002-06-01 Sam Steingold <sds@gnu.org>
2385 * files.el (auto-mode-alist): Strip trailing ".in" from the file
2386 name when deciding the mode (for config.h.in, Makefile.in etc).
2388 2002-06-01 Thien-Thi Nguyen <ttn@gnu.org>
2390 * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
2391 ?/ and ?* entries to support /* */ style comments.
2392 (prolog-font-lock-keywords): New var.
2393 (prolog-mode): Enable font-locking; set `font-lock-defaults'.
2395 2002-06-01 Kim F. Storm <storm@cua.dk>
2397 * simple.el (choose-completion-string-functions): New special hook.
2398 (choose-completion-string1): Renamed from choose-completion-string.
2399 (choose-completion-string): Run choose-completion-string-functions
2400 until success, and only call choose-completion-string1 if it fails.
2402 2002-05-31 Stefan Monnier <monnier@cs.yale.edu>
2404 * textmodes/ispell.el (autoloaded toplevel): Don't use
2405 ispell-library-directory without checking that it's bound.
2407 2002-05-31 Kim F. Storm <storm@cua.dk>
2409 * emulation/cua-base.el (cua--last-deleted-region-pos)
2410 (cua--last-deleted-region-text): New aux variables.
2411 (cua-delete-region): Set them.
2412 (cua-repeat-replace-region): Use them to find the replacement text.
2414 2002-05-31 Juanma Barranquero <lektu@terra.es>
2416 * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
2419 2002-05-31 Kim F. Storm <storm@cua.dk>
2421 * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
2422 (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
2423 New custom variables.
2424 (grep-compute-defaults): Compute grep-tree-command's default value.
2425 (grep-expand-command-macros): New aux function.
2426 (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
2427 (grep-tree): New command like grep-find but extended prompting.
2429 2002-05-30 Richard M. Stallman <rms@gnu.org>
2431 * files.el (find-file-default): Add defvar for var already used.
2433 * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
2435 * subr.el (open-network-stream, open-network-stream-nowait)
2436 (open-network-stream-server, process-kill-without-query):
2437 Moved from simple.el.
2439 * simple.el (open-network-stream, open-network-stream-nowait)
2440 (open-network-stream-server, process-kill-without-query):
2443 * simple.el (byte-compiling-files-p): Function deleted.
2445 * textmodes/ispell.el (ispell-library-directory): Renamed from
2446 ispell-library-path. If Ispell is not installed, init to nil.
2447 (check-ispell-version): Doc fix.
2448 (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
2449 initialize this unconditionally when ispell-menu-map-needed is t.
2450 Local `path' renamed to `dir'.
2452 2002-05-30 Miles Bader <miles@gnu.org>
2454 * calc/calc.el (calc-show-banner): New variable.
2455 (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
2456 (calc-mode-var-list): Add `calc-show-banner'.
2457 * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
2458 (calc-toggle-banner): New function.
2459 * calc/calc-help.el (calc-d-prefix-help): Add `@'.
2461 2002-05-29 Richard M. Stallman <rms@gnu.org>
2463 * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
2464 When recognizing a def... construct, make that indentation
2465 tentative, so that it can be overridden if the list in question
2466 is not actually an expression.
2467 (common-lisp-indent-call-method): New subroutine.
2469 * emacs-lisp/bytecomp.el (batch-byte-compile-file):
2470 Delete the output file if we get a file-error.
2472 * tooltip.el (tooltip-mouse-motions-active): New variable.
2473 (tooltip-activate-mouse-motions): Don't kill track-mouse local
2474 if it was not made by us.
2476 * mouse.el (mouse-set-font): Avoid misleading error message
2477 if user makes no selection.
2479 * info.el (Info-setup-header-line): Don't hide the links line.
2481 * files.el (find-file-noselect-1): Return the buffer we created
2482 even if it has been killed within `after-find-file'.
2484 * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
2486 2002-05-29 Kim F. Storm <storm@cua.dk>
2488 * simple.el (open-network-stream-server): Pass on optional args
2489 sentinel and filter to make-network-process (from Luke Gorrie).
2491 2002-05-28 Colin Walters <walters@gnu.org>
2493 * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
2495 * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
2496 (byte-compile-delete-first): New function.
2497 (byte-compile-read-position): New variable.
2498 (byte-compile-last-position): New variable.
2499 (byte-compile-current-buffer): New variable.
2500 (byte-compile-log-1): Use it.
2501 (byte-compile-set-symbol-position): New function.
2502 (byte-compile-obsolete, byte-compile-callargs-warn)
2503 (byte-compile-arglist-warn, byte-compile-arglist-warn)
2504 (byte-compile-print-syms, byte-compile-file-form-defmumble)
2505 (byte-compile-check-lambda-list, byte-compile-lambda)
2506 (byte-compile-form, byte-compile-variable-ref)
2507 (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
2508 (byte-compile-condition-case, byte-compile-defun)
2509 (byte-compile-defvar, byte-compile-autoload)
2510 (byte-compile-lambda-form): Use it.
2511 (byte-compile-from-buffer): Set it, and bind
2512 `read-with-symbol-positions' and `read-symbol-positions-list'.
2514 * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
2516 2002-05-28 Kim F. Storm <storm@cua.dk>
2518 * files.el (read-directory-name): New function.
2519 (cd): Use it instead of read-file-name.
2521 2002-05-27 Kim F. Storm <storm@cua.dk>
2523 * simple.el (push-mark-command): Added optional NOMSG arg.
2525 * emulation/cua-base.el (cua-set-mark): Align pop to mark
2526 behaviour with standard set-mark-command.
2527 (cua--pre-command-handler): Use push-mark-command.
2528 (cua-repeat-replace-region): Improve functionality when
2529 repeated after moving point or changing buffer.
2531 2002-05-26 Colin Walters <walters@verbum.org>
2533 * startup.el (command-line): Use `when', `unless'.
2534 (command-line-1): New argument "--nosplash". Handle it.
2536 * startup.el (inhibit-splash-screen): New variable alias for
2537 `inhibit-startup-message'.
2539 * replace.el (perform-replace): Document return value. Use `pop'.
2541 2002-05-26 Glenn Morris <gmorris@ast.cam.ac.uk>
2543 * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
2544 and slightly changed behaviour, for `f90-previous-block-start' and
2545 `f90-next-block-end'.
2546 (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
2548 2002-05-26 Simon Josefsson <jas@extundo.com>
2550 * fringe.el (set-fringe-mode): Work when updating
2551 `default-frame-alist'.
2553 2002-05-26 Kim F. Storm <storm@cua.dk>
2555 * emulation/cua-base.el (cua--repeat-replace-text): New variable.
2556 (cua-repeat-replace-region): New command.
2557 (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
2558 Misc improvements to the commantary.
2560 2002-05-26 Simon Josefsson <jas@extundo.com>
2562 * fringe.el (fringe-query-style): New fringe style "minimal".
2564 2002-05-24 Simon Josefsson <jas@extundo.com>
2566 * rot13.el (rot13-translate-table): New variable.
2567 (rot13, rot13-string, rot13-region): New functions.
2569 2002-05-25 Martin Stjernholm <bug-cc-mode@gnu.org>
2571 * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
2572 of wrong anchoring, e.g. for else-if compounds.
2574 2002-05-25 Miles Bader <miles@gnu.org>
2576 * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
2577 (menu-bar-showhide-fringe-menu-customize-right)
2578 (menu-bar-showhide-fringe-menu-customize-disable):
2579 Use proper calling convention for `customize-set-value'.
2580 Require `fringe' before setting variable.
2582 2002-05-25 Kim F. Storm <storm@cua.dk>
2584 * emulation/cua-base.el (cua--self-insert-char-p): New function.
2586 * emulation/cua-gmrk.el (cua--init-global-mark): Install default
2587 binding in cua--global-mark-keymap using cua--self-insert-char-p
2588 to handle all global self inserting characters in gmark mode.
2590 * emulation/cua-rect.el (cua--init-rectangles): Install default
2591 binding in cua--rectangle-keymap using cua--self-insert-char-p
2592 to handle all global self inserting characters in rectangle mode.
2594 2002-05-24 Stefan Monnier <monnier@cs.yale.edu>
2596 * net/ange-ftp.el (read-file-name-internal): Remove the
2597 `ange-ftp' property.
2598 (ange-ftp-real-read-file-name-internal): Remove.
2600 2002-05-24 Glenn Morris <gmorris@ast.cam.ac.uk>
2602 * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
2604 (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
2605 (f90-previous-block-start): New navigation commands.
2607 2002-05-20 Simon Josefsson <jas@extundo.com>
2609 * fringe.el: New file.
2611 * menu-bar.el (menu-bar-options-save): Add fringe-mode.
2612 (menu-bar-showhide-fringe-menu): New menu.
2613 (menu-bar-showhide-menu): Add Fringe sub-menu.
2615 2002-05-23 Colin Walters <walters@verbum.org>
2617 * replace.el (occur-engine): Include all text properties except
2618 mouse-face on the newline at the end of occurences.
2620 2002-05-23 Kim F. Storm <storm@cua.dk>
2622 * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
2623 (apropos-false-hit-str, apropos-true-hit-doc): New functions.
2624 (apropos-command, apropos-value, apropos-documentation-internal)
2625 (apropos-documentation-check-doc-file)
2626 (apropos-documentation-check-elc-file): Use them to filter out
2627 false matches where only one keyword matches, but more than once.
2629 * apropos.el (apropos-show-scores, apropos-orig-regexp)
2630 (apropos-all-regexp, apropos-synonyms, apropos-words)
2631 (apropos-all-words): New variables.
2632 (aprpos-words-to-regexp, apropos-rewrite-regexp)
2633 (apropos-calc-scores, apropos-score-str, apropos-score-doc)
2634 (apropos-score-symbol): New functions.
2635 (apropos-command, apropos, apropos-value, apropos-documentation):
2636 Allow keywords in addition to regexp. Added scoring.
2637 (apropos-documentation-check-doc-file)
2638 (apropos-documentation-check-elc-file): Added scoring.
2639 (apropos-print): Sort according to score.
2641 2002-05-22 Colin Walters <walters@cis.ohio-state.edu>
2643 * info.el (Info-mode-hook): Change `font-lock-mode' to
2644 `turn-on-font-lock'.
2646 * font-core.el (font-lock-function): New variable.
2647 (font-lock-default-function): New function, created from
2649 (font-lock-mode): Just funcall `font-lock-function'.
2650 (font-lock-symbol-category-alist): New variable.
2652 2002-05-22 Markus Rost <rost@math.ohio-state.edu>
2654 * files.el (file-newest-backup): Use file-name-sans-versions.
2656 * diff.el (diff-latest-backup-file): Replace the main code by
2657 a call of file-newest-backup.
2659 2002-05-22 Mike Williams <mdub@bigfoot.com>
2661 * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
2664 2002-05-21 Stefan Monnier <monnier@cs.yale.edu>
2666 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
2667 the last patch works around the wu-ftpd misfeature that prompted
2668 the disabling of this optimization.
2670 2002-05-21 Colin Walters <walters@gnu.org>
2672 * international/mule.el (make-coding-system): Doc fixes.
2674 * international/mule.el (auto-coding-functions): New variable.
2675 (auto-coding-from-file-contents): Use it.
2676 (set-auto-coding): Update docs.
2677 (sgml-xml-auto-coding-function): New function.
2679 * international/mule-util.el (truncate-string-to-width):
2680 New optional argument `ellipsis'. Add commented-out test suite, and
2681 change coding to iso-2022-7bit.
2683 2002-05-21 Colin Walters <walters@verbum.org>
2685 * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
2686 (font-lock-multiline, font-lock-fontified, font-lock-mode)
2687 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
2688 (font-lock-global-modes): Moved to font-core.el.
2689 (font-lock-set-defaults-1): Partially moved to font-core.el.
2691 * font-core.el: New file, with functions taken from font-lock.el.
2692 (font-lock-category-alist): New variable.
2693 (font-lock-mode): Use it.
2694 (font-lock-set-defaults): Partially taken from font-lock.el.
2695 Only load font-lock.el when necessary.
2697 * loadup.el: Add font-core.el.
2699 * replace.el (occur-mode-hook): New variable.
2700 (occur-fontify-region-function): Deleted.
2701 (occur-mode): Don't use it. Set up `font-lock-category-alist'
2703 (occur-fontify-on-property): Deleted.
2704 (occur-engine): Use categories from `font-lock-category-alist'.
2706 * info.el (Info-fontify): Deleted.
2707 (Info-select-node): Don't use it.
2708 (Info-mode-hook): New variable.
2709 (Info-mode): Set up categories.
2710 (Info-fontify-menu-headers, Info-fontify-node): Use categories.
2712 * ibuffer.el (ibuffer-formats): Update docs.
2713 (ibuffer-category-alist): New variable.
2714 (ibuffer-get-category): New function.
2715 (ibuffer-compile-make-eliding-form): Use category property instead
2717 (ibuffer-compile-format): Pass current ibuffer buffer to column
2719 (ibuffer-buffer-name-category): New function.
2720 (ibuffer-compile-format): If the current column is a `name'
2721 column, figure out the appropriate category to put on it.
2722 (filename-and-process): Use category property.
2723 (ibuffer-fontify-region-function): Deleted.
2724 (ibuffer-unfontify-region-function): Deleted.
2725 (ibuffer-update-title-and-summary): Use category properties.
2726 (ibuffer-insert-filter-group): Ditto.
2727 (ibuffer-mode): Set up category properties.
2729 2002-05-21 Colin Walters <walters@debian.org>
2731 * replace.el (occur-engine): Increment globalcount all at once
2732 after searching a buffer.
2733 (occur-mode-map): Don't escape plain "o".
2735 * ibuf-macs.el (define-ibuffer-column): Add third argument
2738 * ibuffer.el (toplevel): Require font-lock, to get the face
2740 (ibuffer-use-fontification): Deleted.
2741 (column filename-and-process): New column.
2742 (ibuffer-formats): Use it by default.
2743 (ibuffer-name-map, ibuffer-mode-name-map)
2744 (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
2745 (ibuffer-do-save, ibuffer-do-toggle-modified)
2746 (ibuffer-do-toggle-read-only, ibuffer-do-delete)
2747 (ibuffer-do-kill-on-deletion-marks): Include name in definition.
2748 (ibuffer): New optional argument `formats'.
2750 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il>
2752 * indent.el (indent-rigidly): Mention how to remove all indentation.
2754 2002-05-21 Colin Walters <walters@gnu.org>
2756 * international/mule-diag.el (describe-char-after): Order display
2757 of text properties by the size of their value, for clarity.
2759 2002-05-20 Stefan Monnier <monnier@cs.yale.edu>
2761 * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
2762 (ange-ftp-file-name-completion): Don't cons unnecessarily.
2763 (ange-ftp-send-cmd): Always `cd' before doing `ls'.
2765 * wid-edit.el (widget-color-complete):
2766 * progmodes/etags.el (tags-complete-tags-table-file):
2767 * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
2769 * textmodes/outline.el (outline-reveal-toggle-invisible):
2770 Reverse the meaning of the second arg.
2772 * reveal.el (reveal-post-command): Reverse the semantics of
2773 reveal-toggle-invisible and support isearch-open-invisible-temporary.
2775 2002-05-20 Markus Rost <rost@math.ohio-state.edu>
2777 * mail/sendmail.el (mail-recover-1): Remove (debug).
2778 (mail-signature): Fix :type.
2779 (mail-default-directory): New user option.
2780 (mail, mail-recover): Use that option.
2782 2002-05-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2784 * international/mule.el (auto-coding-alist): Use emacs-mule
2785 for auto-save files.
2787 2002-05-20 Miles Bader <miles@gnu.org>
2789 * files.el (find-file-read-args): Don't trash existing value of
2790 `minibuffer-setup-hook', just add our hook to it.
2792 2002-05-19 Markus Rost <rost@math.ohio-state.edu>
2794 * international/ucs-tables.el (unify-8859-on-encoding-mode)
2795 (unify-8859-on-decoding-mode): Change :version attributes to strings.
2797 * simple.el (yank-excluded-properties): Change :version attribute
2800 * dired.el (dired-view-command-alist): Change :version attribute
2803 * xscheme.el (xscheme-start-hook): Change :version attribute to a
2806 * find-dired.el (find-dired): Implement revert-buffer-function.
2808 * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
2810 2002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk>
2812 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
2813 (f90-get-present-comment-type): Fix earlier change.
2814 (f90-comment-indent): Doc fix.
2815 (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
2816 (f90-looking-at-if-then): Remove lets.
2817 (f90-looking-at-where-or-forall): Handle if split over lines.
2818 (f90-change-keywords): Doc fix.
2820 2002-05-19 Richard M. Stallman <rms@gnu.org>
2822 * indent.el (indent-region): Make COLUMN arg optional.
2824 * files.el (find-file-read-args): New function.
2825 (find-file, find-file-other-window, find-file-other-frame)
2826 (find-file-read-only, find-file-read-only-other-window)
2827 (find-file-read-only-other-frame): Use it.
2829 * custom.el (custom-load-symbol): Verify that LOADED is a string.
2831 * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
2832 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2833 (archive-zip-update-case): Use locate-file to decide whether
2835 (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
2837 * files.el (locate-file): Doc fix.
2839 2002-05-19 John Paul Wallington <jpw@shootybangbang.com>
2841 * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
2844 2002-05-18 Stefan Monnier <monnier@cs.yale.edu>
2846 * uniquify.el (uniquify-rationalize-file-buffer-names):
2847 Always strip the trailing / even if the file is not a directory.
2849 2002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk>
2851 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
2852 initialization in the defvar.
2853 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
2854 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
2855 (f90-font-lock-4): Move the doc strings.
2856 (f90-menu-bar-menu): New internal variable to hold the top-level menu.
2857 (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
2858 (f90-mode-abbrev-table): Initialize in the defvar, with
2859 define-abbrev-table.
2861 2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
2863 * tar-mode.el (tar-octal-time): Fix last change.
2865 2002-05-18 Markus Rost <rost@math.ohio-state.edu>
2867 * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
2868 (report-emacs-bug): Store the prompt in
2869 `report-emacs-bug-text-prompt'. Move Configuration/Important
2870 settings information after the user's report.
2871 (report-emacs-bug-hook): Unclutter by deleting the content of
2872 `report-emacs-bug-text-prompt'.
2874 2002-05-17 Thomas Morgan <tlm@pocketmail.com>
2876 * forms.el (forms-jump-record, forms-insert-record)
2877 (forms-delete-record): Calculate lines from the beginning of the
2878 accessible portion rather than from the beginning of the buffer.
2880 2002-05-16 Eli Zaretskii <eliz@is.elta.co.il>
2882 * ps-mule.el (eval-and-compile): Add a trivial replacement for a
2883 possibly missing encode-char.
2884 (ps-mule-font-info-database-bdf): Add associations for Unicode
2886 (ps-mule-font-info-database-ps-bdf): Doc fix.
2887 (ps-mule-encode-ucs2): New function for encoding Unicode characters.
2889 * tar-mode.el (tar-octal-time): Fix the last argument of logior.
2891 2002-05-16 Stefan Monnier <monnier@cs.yale.edu>
2893 * emacs-lisp/find-func.el (find-function-search-for-symbol):
2894 Find funs defined with defun-cvs-mode.
2895 (find-function-space-re): New const. Skips comments as well.
2896 (find-function-regexp, find-variable-regexp): Use it.
2898 * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
2899 (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
2900 (cvs-mode-set-flags): Don't cons unnecessarily.
2902 2002-05-16 Colin Walters <walters@debian.org>
2904 * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
2905 "Simple Calculator".
2906 (menu-bar-tools-menu) <calc>: New.
2908 2002-05-16 Juanma Barranquero <lektu@terra.es>
2910 * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
2912 * filesets.el (filesets-ormap): Fix typo.
2914 * faces.el (describe-face): Fix typo.
2916 2002-05-15 Stefan Monnier <monnier@cs.yale.edu>
2918 * emacs-lisp/easymenu.el (easy-menu-make-symbol):
2919 Don't treat (lambda () ...) as an expression.
2921 2002-05-15 John Paul Wallington <jpw@shootybangbang.com>
2923 * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
2925 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
2927 * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
2929 2002-05-14 Glenn Morris <gmorris@ast.cam.ac.uk>
2931 * progmodes/fortran.el (fortran-directive-re): New name for
2932 fortran-preprocessor-re. All usage updated.
2933 (fortran-calculate-indent): Give directives zero indentation.
2935 2002-05-14 Jason Rumney <jasonr@gnu.org>
2937 * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
2938 displayed text and internal name as string.
2940 2002-05-14 Kim F. Storm <storm@cua.dk>
2942 * emulation/cua-rect.el (cua--rectangle-operation):
2943 Don't highlight empty lines in rectangles.
2945 * emulation/keypad.el: Improved commentary.
2946 (keypad-setup, keypad-shifted-setup): Added choice to setup
2947 Numeric keypad with decimal key; value is selected character.
2948 (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
2949 (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
2950 (keypad-setup): Arg list changed to support the new options.
2952 2002-05-14 Richard M. Stallman <rms@gnu.org>
2954 * dabbrev.el (dabbrev-case-distinction): New option.
2955 (dabbrev--try-find): Handle dabbrev-case-distinction.
2956 (dabbrev--search): Clean up the code.
2957 (dabbrev-upcase-means-case-search): Doc fix.
2958 (dabbrev-case-replace): Fix custom tags and docs.
2960 2002-05-14 Jochen K
\e,A|
\e(Bpper <jochen@jochen-kuepper.de>
2962 * calc/calc-units.el (math-standard-units): Update from CODATA.
2964 2002-05-14 Stefan Monnier <monnier@cs.yale.edu>
2966 * skeleton.el (skeleton-transformation): Default to `identity'.
2967 (skeleton-insert): Use `move-after' markers and `insert' rather
2968 than rely on insert-before-markers.
2969 (skeleton-internal-1): Handle `> \n' specially so that the newline
2970 is inserted before the first line is indented.
2972 2002-05-14 Mike Williams <mdub@bigfoot.com>
2974 * textmodes/sgml-mode.el (sgml-tag):
2975 Default skeleton-transformation to `identity'.
2977 2002-05-14 Francesco Potorti` <pot@gnu.org>
2979 * shell.el (shell-mode): Make second part of initialisation
2980 depend on whether comint-input-ring is empty, rather than depend
2983 2002-05-14 Richard M. Stallman <rms@gnu.org>
2985 * files.el (make-auto-save-file-name):
2986 Delete the auto-save file after make-temp-file creates it.
2988 2002-05-13 Kim F. Storm <storm@cua.dk>
2990 * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
2991 (cua-mode): Print Enabled/Disabled messages if interactive.
2992 Disable delete-selection-mode and pc-selection-mode when cua-mode
2993 is enabled; reenable if cua-mode is turned off.
2994 Remember setting of transient-mark-mode when cua-mode is enabled;
2995 restore if cua-mode is disabled.
2997 2002-05-13 Richard M. Stallman <rms@gnu.org>
2999 * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
3001 2002-05-13 Colin Walters <walters@gnu.org>
3003 * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
3005 * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
3006 (ibuffer-redisplay-engine): Handle it.
3008 * add-log.el (add-log-mailing-address): Can be a list, too.
3009 (add-change-log-entry): If `add-log-mailing-address' is a list,
3012 2002-05-12 Colin Walters <walters@debian.org>
3014 * replace.el (occur-1): New optional argument `buf-name'.
3015 (occur-revert-function): Use it.
3017 (occur-1): Handle plurals.
3019 (occur-engine): If there are no more matches, then finish
3020 searching the current buffer.
3022 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3024 * net/ange-ftp.el (ange-ftp-try-passive-mode)
3025 (ange-ftp-passive-host-alist): Change :version attributes to be
3028 2002-05-12 Markus Rost <rost@math.ohio-state.edu>
3030 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
3033 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3034 Handle more whitespace/newline combinations in symbol definitions.
3036 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il>
3039 * vc-cvs.el (vc-cvs-global-switches)
3040 (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
3041 * textmodes/sgml-mode.el (sgml-xml-mode)
3042 * ruler-mode.el (ruler-mode)
3043 * replace.el (query-replace-skip-read-only)
3044 * progmodes/fortran.el (fortran-preprocessor-re)
3045 * net/ange-ftp.el (ange-ftp-passive-host-alist)
3046 * mail/sendmail.el (mail-use-dsn)
3047 * faces.el (mode-line-inactive, minibuffer-prompt)
3048 * add-log.el (add-log-always-start-new-record): Change all
3049 post-21.1 :version attributes to 21.4.
3051 2002-05-12 Richard M. Stallman <rms@gnu.org>
3053 * mail/smtpmail.el (smtpmail-mail-address): New variable.
3054 (smtpmail-send-it): Bind and use that instead of `mail-address'.
3055 (smtpmail-via-smtp): Likewise.
3057 * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
3058 (ansi-color-apply-sequence): Avoid duplicates in combined face list.
3060 * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
3062 * subr.el (functionp): Catch errors in indirect-function.
3064 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3066 * net/ldap.el (ldap-search-internal): Unfold folded lines before
3069 * cus-edit.el (customize-set-value): Rename `var' to `variable'
3070 and `val' to `value'.
3071 (customize-save-variable): Rename `var' to `'variable.
3073 2002-05-12 Glenn Morris <gmorris@ast.cam.ac.uk>
3075 * progmodes/fortran.el (fortran-preprocessor-re): New variable.
3076 Use it for font-locking and indentation.
3077 (fortran-previous-statement, fortran-next-statement): Make them
3078 skip over preprocessor lines.
3079 (fortran-calculate-indent): Use fortran-preprocessor-re.
3081 2002-05-10 Kim F. Storm <storm@cua.dk>
3083 * emulation/cua-base.el (cua-enable-cua-keys)
3084 (cua-enable-register-prefix): Added value for `other' choice.
3086 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
3088 * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
3089 (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
3090 (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
3091 Run a named function.
3092 (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
3093 (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
3096 2002-05-10 Kim F. Storm <storm@cua.dk>
3098 * emulation/cua-base.el (cua-mode): Misc. changes to use
3099 emulation-mode-map-alists instead of minor-mode-map-alist.
3101 2002-05-09 Richard M. Stallman <rms@gnu.org>
3103 * mail/rmail.el (rmail-show-message):
3104 Catch error in check-coding-system.
3106 * progmodes/compile.el (compilation-error-regexp-alist):
3107 New element to recognize Python error messages.
3109 * shell.el (shell-replace-by-expanded-directory):
3110 If there's already a / at the end, don't add one.
3112 2002-05-09 Colin Walters <walters@verbum.org>
3114 * ibuffer.el (ibuffer-mode-map): Add :enable guards for
3115 `ibuffer-filter-disable', `ibuffer-pop-filter',
3116 `ibuffer-or-filter', `ibuffer-negate-filter',
3117 `ibuffer-decompose-filter', `ibuffer-save-filters',
3118 `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
3119 `ibuffer-save-filter-groups',
3120 `ibuffer-switch-to-saved-filter-groups',
3121 `ibuffer-delete-saved-filter-groups'.
3123 * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
3125 2002-05-09 Markus Rost <rost@math.ohio-state.edu>
3127 * woman.el (woman-menu): Move symbol before the comment so that
3128 find-function-search-for-symbol finds it.
3130 2002-05-10 Miles Bader <miles@gnu.org>
3132 * facemenu.el (list-colors-display): Don't use
3133 `display-color-cells' unless the display class is one for which
3134 that info is relevant.
3136 2002-05-09 Simon Josefsson <jas@extundo.com>
3138 * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
3140 (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
3143 2002-05-09 Kim F. Storm <storm@cua.dk>
3145 * wid-edit.el (checkbox): New check-mark image.
3147 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3149 * filesets.el (filesets-running-xemacs): Fix last change.
3151 2002-05-08 Markus Rost <rost@math.ohio-state.edu>
3153 * help-fns.el (describe-function-1): If the source is
3154 `loaddefs.el', look for the real source. This is necessary only
3157 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3158 Add autoload cookie.
3159 (find-function-regexp): Include
3160 "\(quote " to match the defaliases in loaddefs.el.
3162 * filesets.el (filesets-conditional-sort): Use copy-sequence,
3164 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
3165 Defvar them to nil if running in Emacs.
3167 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3169 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
3170 to flyspell overlays.
3172 * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
3174 2002-05-08 Richard M. Stallman <rms@gnu.org>
3176 * diff.el (diff-regexp-alist): Doc fix.
3178 * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
3180 2002-05-08 Simon Marshall <simon@gnu.org>
3182 * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
3183 the frame name as the car of a menu entry, rather than the frame.
3185 2002-05-08 Juanma Barranquero <lektu@terra.es>
3187 * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
3190 2002-05-07 Colin Walters <walters@verbum.org>
3192 * replace.el (occur-unfontify-region-function): Delete.
3193 (occur-mode): Don't use it.
3194 (occur-engine): Respect `keep-props'.
3195 (occur-accumulate-lines): If we're moving forward, decrement;
3196 don't increment, and vice versa.
3198 2002-05-08 Toru Tomabechi <Toru.Tomabechi@orient.unil.ch>
3200 * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
3201 (tibetan-canonicalize-for-unicode-regexp): New variables.
3202 (tibetan-canonicalize-for-unicode-region): New function.
3203 (tibetan-strict-unicode): New variable.
3204 (tibetan-pre-write-canonicalize-for-unicode): New function.
3206 2002-05-07 Markus Rost <rost@math.ohio-state.edu>
3208 * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
3209 the autoload-cookie. Remove comment.
3211 * ffap.el (ffap): Don't hide it behind the autoload-cookie.
3213 * rect.el (close-rectangle): Don't hide it behind the
3216 2002-05-07 Juanma Barranquero <lektu@terra.es>
3218 * windmove.el (windmove-default-keybindings): Add optional
3219 parameter to allow using a modifier other than 'shift.
3221 2002-05-07 Thomas Link <t.link@gmx.at>
3224 (filesets-external-viewers): Fix customization problem.
3225 (filesets-some): Replaces cl's `some'. Calls changed.
3226 (filesets-member): Replaces cl's `member*'. Calls changed.
3227 (filesets-ormap): New function.
3229 2002-05-07 John Paul Wallington <jpw@shootybangbang.com>
3231 * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
3234 2002-05-07 Colin Walters <walters@gnu.org>
3236 * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
3237 (ibuffer-clear-filter-groups): Likewise.
3238 (ibuffer-kill-filter-group): Likewise.
3239 (ibuffer-kill-line): Likewise.
3240 (ibuffer-read-filter-group-name): New function.
3241 (ibuffer-jump-to-filter-group): Use it.
3242 (ibuffer-kill-filter-group): Likewise.
3243 (ibuffer-yank-filter-group): Likewise.
3244 (ibuffer-decompose-filter-group): New function.
3246 * ibuffer.el (ibuffer-mode-map): Bind it. Add :enable guard
3247 around `ibuffer-filters-to-filter-group' menu item. Fix :enable
3248 guards for `ibuffer-pop-filter-group' and
3249 `ibuffer-clear-filter-groups'.
3251 2002-05-06 Markus Rost <rost@math.ohio-state.edu>
3253 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3254 Use with-syntax-table.
3256 2002-05-06 Francesco Potorti` <pot@gnu.org>
3258 * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
3260 2002-05-05 Markus Rost <rost@math.ohio-state.edu>
3262 * time-stamp.el (time-stamp-format): Doc fix: escape open
3263 parenthesis in column 0.
3265 2002-05-04 Richard M. Stallman <rms@gnu.org>
3267 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
3268 Handle both cases: when the menu item has cached info
3269 and when it doesn't.
3271 * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
3272 (filesets-open-file-function, filesets-save-buffer-function): Likewise.
3273 (filesets-tree-max-level): Doc fix.
3274 (filesets-commands, filesets-external-viewers)
3275 (filesets-ingroup-patterns): Mark as risky.
3276 (filesets-cache-hostname-flag): Doc fix.
3277 (filesets-menu-cache-file): Doc fix. Mark as risky.
3278 (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
3279 Don't defcustom them if running in Emacs.
3281 2002-05-04 Thomas Link <t.link@gmx.at>
3283 * filesets.el (filesets-ingroup-collect-files):
3284 Fix problem with inclusion groups' :scan-depth property.
3286 2002-05-04 Colin Walters <walters@verbum.org>
3288 * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
3289 "Default" group earlier. Push killed group on
3290 `ibuffer-filter-group-kill-ring'.
3291 (ibuffer-kill-line): Document. Don't push killed group ourselves.
3292 (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
3293 (ibuffer-insert-filter-group-before): New function, broken out
3294 from `ibuffer-yank'.
3295 (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
3297 * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
3298 (ibuffer-mode-view-menu): Unused variables; deleted.
3299 (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
3301 2002-05-04 John Paul Wallington <jpw@shootybangbang.com>
3303 * ibuffer.el (ibuffer-mode-groups-popup): New variable.
3304 (toplevel): Bind filter group menu entries in it. Add :enable
3305 forms for some menu items.
3306 (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
3307 to `ibuffer-mouse-popup-menu'.
3308 (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
3309 group name, and if so, pop up a filter group menu.
3311 2002-05-04 Jason Rumney <jasonr@gnu.org>
3313 * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
3314 (mwheel-scroll): Recognize nil scroll amount as documented.
3316 * term/w32-win.el (mouse-wheel-scroll-line)
3317 (mouse-wheel-scroll-screen): Remove.
3318 ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
3320 * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
3322 2002-05-04 Markus Rost <rost@math.ohio-state.edu>
3324 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3325 Bind case-fold-search when searching.
3327 2002-05-04 Eli Zaretskii <eliz@is.elta.co.il>
3329 * apropos.el (apropos-print): Fix the reference to mouse-2.
3331 2002-05-04 Daniel Pfeiffer <occitan@esperanto.org>
3333 * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
3335 2002-05-04 Kim F. Storm <storm@cua.dk>
3337 * cus-edit.el (custom-buffer-verbose-help): New variable.
3338 (custom-buffer-create-internal): Remove verbose introduction
3339 in customization buffer when it is nil.
3341 2002-05-03 Dave Love <fx@gnu.org>
3343 * international/mule-cmds.el (select-safe-coding-system):
3344 Don't offer coding systems that use locking shift.
3345 Ask for confirmation if chosen coding system disagrees with
3346 a `coding:' spec in the file.
3348 2002-05-03 John Wiegley <johnw@gnu.org>
3350 * eshell/esh-var.el (eshell-modify-global-environment): Added this
3351 customization variable, which will cause any "export" commands
3352 within any eshell buffer to modify the global Emacs environment.
3353 It defaults to nil, which means that such commands will only
3354 modify that Eshell buffer's environment.
3355 (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
3357 * eshell/em-cmpl.el (eshell-command-completions-alist):
3358 Improve default completion targets for objdump, nm and readelf.
3360 2002-05-03 Colin Walters <walters@verbum.org>
3362 * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
3363 (gamegrid-add-score-with-update-game-score):
3364 Use `shared-game-score-directory'. Correctly handle non-setuid case.
3366 2002-05-02 Colin Walters <walters@verbum.org>
3368 * replace.el (occur-mode-map): Bind "q" to `delete-window'.
3369 (occur-1): If one of the buffers we're searching is the *Occur*
3370 buffer itself, handle it by creating a temporary buffer. If any
3371 of the buffers being searched are killed, note that in the search
3372 result message. Also, set local variables before we possibly kill
3375 2002-05-02 Kim F. Storm <storm@cua.dk>
3377 * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
3378 (menu-bar-options-save): Added cua-mode.
3379 (menu-bar-options-menu): Added toggle for cua-mode.
3380 Disable toggle for transient-mark-mode if cua-mode is enabled.
3382 * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
3385 2002-05-01 Richard M. Stallman <rms@gnu.org>
3387 * help.el (view-todo): New function.
3388 (help-map): Bind C-h C-t to view-todo.
3389 (help-for-help): Change the text.
3391 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk>
3393 * progmodes/f90.el: Yet more doc string, commment and whitespace
3395 (f90-imenu-flag): New name for internal variable f90-imenu.
3396 (f90-blocks-re, f90-program-block-re, f90-end-if-re)
3397 (f90-no-break-re): Use regexp-opt.
3398 (f90-end-type-re): Add closing "\\>".
3399 (f90-indent-region): Correctly indent comments embedded in
3401 (f90-indent-new-line): Make it indent the current line, as it should.
3402 (f90-line-continued, f90-get-present-comment-type)
3403 (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
3404 (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
3405 (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
3406 (f90-change-keywords): Minor code tidying.
3408 * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
3409 typo `fortran-strip-sqeuence-nos'.
3411 2002-05-01 Eli Zaretskii <eliz@is.elta.co.il>
3413 * simple.el (clone-indirect-buffer-other-window): Fix a typo in
3416 2002-05-01 Kim F. Storm <storm@cua.dk>
3418 * emulation/cua-base.el (cua--pre-command-handler):
3419 Only interpret delete-selection property if mark-active.
3420 (cua-mode): Fixed require in defcustom.
3422 2002-05-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3424 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
3427 2002-05-01 Colin Walters <walters@verbum.org>
3429 * textmodes/tex-mode.el (tex-validate-buffer):
3430 Use `occur-revert-arguments' instead of setting `occur-nlines' and
3431 `occur-buffer'. Don't test for `input-pending-p' in loop.
3432 Set text property `occur-target' instead of `occur'.
3434 2002-04-30 John Wiegley <johnw@gnu.org>
3436 * align.el (align-region): Fixed the fix to align-region, because
3437 the "name" argument was appearing twice.
3439 2002-05-01 Martin Stjernholm <bug-cc-mode@gnu.org>
3441 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
3442 to handle protection labels, one which doesn't get confused by
3445 * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
3446 functions that have "class" or "struct" in the return type as
3449 2002-04-30 Kim F. Storm <storm@cua.dk>
3451 * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
3452 Options" to "New Options..."; rephrase tooltip.
3453 Rephrase tooltip for "Specific Option...".
3454 Added "Saved Options" item. [from Simon Marshall]
3456 2002-04-30 Richard M. Stallman <rms@gnu.org>
3458 * time.el (display-time-mail-directory)
3459 (display-time-mail-function): Doc fixes.
3461 * ediff-hook.el: Remove autoload cookies.
3463 * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
3465 * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
3467 * align.el (align-region): Fix call to `message'.
3468 Check that (car rule) is a symbol.
3470 * autoinsert.el (auto-insert-directory): Doc fix.
3472 * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
3474 * descr-text.el: New file, broken out of facemenu.el.
3476 * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
3478 2002-04-29 Markus Rost <rost@math.ohio-state.edu>
3480 * mail/emacsbug.el (report-emacs-bug-hook):
3481 Use replace-match only if search was successful.
3483 2002-04-29 Richard M. Stallman <rms@gnu.org>
3485 * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
3487 * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
3488 if the user edits the Emacs version number in the text.
3490 * filesets.el (filesets-running-xemacs): Make defvar unconditional.
3491 (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
3492 (filesets-error): Simplify definition and make conditional
3493 on filesets-running-xemacs.
3494 (filesets-find-file-using): Renamed from fsfind-file-using.
3496 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
3498 * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
3499 (Info-read-node-name-1): Complete file names.
3500 (Info-complete-menu-item): Don't cons unnecessarily.
3502 * files.el (locate-file): New fun.
3503 (locate-file-completion): Rename from load-completion and generalize.
3504 (load-library): Use it.
3505 (make-auto-save-file-name): Expand caddr.
3507 * newcomment.el (comment-fill-column): New var.
3508 (comment-indent): Use it.
3509 (comment-or-uncomment-region): New fun.
3510 (comment-dwim): Use it.
3512 2002-04-29 Colin Walters <walters@verbum.org>
3514 * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
3515 (ibuffer-kill-line): Copy the filter group data structure when killing.
3516 (ibuffer-yank): Handle case where we're yanking on the default
3518 (ibuffer-delete-saved-filter-groups): Doc fix.
3520 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3521 Test whether or not update-game-score is setuid, and do the right
3524 2002-04-29 Kim F. Storm <storm@cua.dk>
3526 * subr.el (remove-yank-excluded-properties): New helper function.
3527 (insert-for-yank, insert-buffer-substring-as-yank): Use it.
3529 * simple.el (yank-excluded-properties): Added help-echo to list.
3531 2002-04-29 Glenn Morris <gmorris@ast.cam.ac.uk>
3533 * autoinsert.el (auto-insert-directory): Doc fix.
3535 * progmodes/f90.el: Add/change doc strings for many inline
3536 functions. Whitespace changes.
3537 (f90-indent-line-no, f90-update-line): Minor code changes.
3539 2002-04-29 Kim F. Storm <storm@cua.dk>
3541 * emulation/cua-base.el: New file.
3543 * emulation/cua-rect.el: New file.
3545 * emulation/cua-gmrk.el: New file.
3547 * emulation/keypad.el: New file.
3549 2002-04-29 Triet Hoai Lai <thlai@ee.usyd.edu.au>
3551 * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
3552 (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
3553 New Vietnamese coding system.
3555 * language/viet-util.el: Update Commentary section.
3557 2002-04-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3559 * filesets.el (filesets-data): Doc fix.
3560 (filesets-running-xemacs): Define even when compiling.
3562 * recentf.el (recentf-cancel-dialog): Remove dot at the end of
3565 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
3567 * textmodes/fill.el (fill-context-prefix): Fix last change with
3568 yet-another-approach.
3570 2002-04-28 Markus Rost <rost@math.ohio-state.edu>
3572 * net/ange-ftp.el (ange-ftp-passive-host-alist)
3573 (ange-ftp-bs2000-additional-pubsets): Fix custom type.
3575 * files.el (small-temporary-file-directory): Fix custom type.
3577 2002-04-28 Glenn Morris <gmorris@ast.cam.ac.uk>
3579 * progmodes/f90.el (f90-xemacs-flag): New variable.
3580 (f90-mark-subprogram-overlay): New variable.
3581 (f90-mark-subprogram): Now it highlights the subprogram.
3582 (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
3583 Fix highlighting of various "type" forms.
3585 2002-04-28 Colin Walters <walters@verbum.org>
3587 * ibuffer.el (ibuffer-mode): Additional documentation on filter
3590 2002-04-28 John Paul Wallington <jpw@shootybangbang.com>
3592 * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
3593 ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
3595 2002-04-28 Richard M. Stallman <rms@gnu.org>
3597 * mail/sendmail.el (mail-recover-1): Decrease non-random-len
3598 by 1 for the newly-readded #.
3600 * files.el (make-auto-save-file-name): Specify # as suffix
3601 in the non-file-visiting case.
3603 * subr.el (make-temp-file): New arg SUFFIX.
3605 * filesets.el: New file.
3607 * replace.el (occur-accumulate-lines): Avoid incf and decf.
3608 (occur-engine-add-prefix): New function.
3609 (occur-engine): Avoid using macrolet, incf and decf.
3610 Use occur-engine-add-prefix instead.
3611 Rename `l' to `lines' and `c' to `matches'.
3613 * replace.el (occur-engine, occur-mode-mouse-goto)
3614 (occur-mode-find-occurrence, occur-mode-goto-occurrence)
3615 (occur-mode-goto-occurrence-other-window)
3616 (occur-mode-display-occurrence): A position is just a marker,
3619 * replace.el (occur-revert-arguments):
3620 Renamed from occur-revert-properties. All uses changed.
3622 2002-04-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3624 * recentf.el (recentf-menu-before): Use string to specify path in
3627 * international/mule-cmds.el (read-language-name): Take care of
3630 2002-04-27 Richard M. Stallman <rms@gnu.org>
3632 * custom.el (custom-load-symbol): Moved from cus-edit.el.
3633 (custom-load-recursion): Likewise.
3635 * cus-edit.el (custom-load-symbol): Moved to custom.el.
3636 (custom-load-recursion): Likewise.
3638 * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
3639 generated by easymenu are now lowercase.
3641 2002-04-27 Richard M. Stallman <rms@gnu.org>
3643 * menu-bar.el (menu-bar-update-buffers): Add menu items
3644 Next Buffer and Previous Buffer.
3646 * simple.el (next-buffer, prev-buffer): New commands.
3647 Bind C-x left and C-x right to them.
3649 * info.el (Info-header-line): Mark it as risky-local-variable.
3651 * subr.el (insert-for-yank): Replace `category' property
3652 with whatever properties it stands for.
3654 * subr.el (member-ignore-case): Ignore non-strings in LIST.
3656 2002-04-27 Miles Bader <miles@gnu.org>
3658 * faces.el (read-face-name): Format the prompt correctly when
3661 2002-04-26 Andrew Choi <akochoi@shaw.ca>
3663 * term/mac-win.el: Don't call ediff-toggle-multiframe.
3664 Set default directory. Set process-connection-type to nil.
3666 2002-04-26 Richard M. Stallman <rms@gnu.org>
3668 * loadup.el: Explicitly load cus-face and timer.
3670 * isearch.el: Don't require timer.
3672 * faces.el: Don't require cus-face.
3674 * cus-edit.el (customize-face): Use read-face-name
3675 and handle multiple faces.
3676 (customize-face-other-window): Make it work similarly.
3678 * faces.el (read-face-name): New defaulting features.
3679 New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
3680 (list-faces-display): Use the face, not its name string,
3681 as arg when running customize-face.
3682 Put a `read-face-name' prop on the entire line.
3683 (describe-face): Handle multiple faces via read-face-name.
3685 * textmodes/tex-mode.el (tex-start-options): New variable.
3686 (tex-start-commands): New variable.
3687 (tex-start-options-string): Variable deleted.
3688 (tex-start-tex): Use tex-start-options and tex-start-commands,
3689 not tex-start-options-string.
3690 (tex-command): Doc fix.
3692 2002-04-26 Sam Steingold <sds@gnu.org>
3694 * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
3695 not in the authinfo/netrc, keep `cred' at nil.
3697 2002-04-26 Gerd Moellmann <gerd@gnu.org>
3699 * find-file.el: Remove Ada-specific example code.
3701 2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
3703 * ediff-hooks.el: Put back the autoloads.
3705 2002-04-25 Colin Walters <walters@verbum.org>
3707 * ibuffer.el (define column process): Use `ibuffer-aif'.
3709 * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
3711 (ibuffer-yank): Be sure to `setq' after we use `nconc'.
3712 (ibuffer-save-filter-groups): Correctly structure filter groups.
3713 (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
3716 2002-04-25 Simon Josefsson <jas@extundo.com>
3718 * mail/sendmail.el (mail-use-dsn): New variable to request
3719 delivery status notification from MTA.
3720 (sendmail-send-it): Use it.
3722 * mail/smtpmail.el (smtpmail-queue-counter): New variable.
3723 (smtpmail-send-it): Use it to construct new queue filenames
3724 (needed if you send more than one message per second, which is
3725 possible if you use Gnus Agent).
3727 * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
3729 (smtpmail-try-auth-methods): Support netrc data.
3730 (netrc-parse): Autoload netrc.
3732 2002-04-25 Colin Walters <walters@verbum.org>
3734 * replace.el (multi-occur-by-filename-regexp): Doc fix.
3735 (occur-engine): Go to `point-min'. Make nlines argument actually
3736 mean number of context lines. Handle it. Pad digits to the right.
3738 * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
3739 `ibuffer-filter-groups'. All users updated.
3740 (ibuffer-show-empty-filter-groups): New variable.
3741 (ibuffer-saved-filter-groups): New variable.
3742 (ibuffer-maybe-save-stuff): Renamed from
3743 `ibuffer-maybe-save-saved-filters'. Callers updated.
3744 Handle `ibuffer-saved-filter-groups'.
3745 (ibuffer-hidden-filtering-groups): Renamed to
3746 `ibuffer-hidden-filter-groups'.
3747 (ibuffer-filter-group-kill-ring): New variable.
3748 (ibuffer-save-with-custom): Doc fix.
3749 (ibuffer-set-filter-groups-by-mode): New function.
3750 (ibuffer-clear-filter-groups): New function.
3751 (ibuffer-current-filter-groups-with-position): Renamed from
3752 `ibuffer-current-filter-groups'. Callers updated.
3753 (ibuffer-kill-filter-group): New function.
3754 (ibuffer-kill-line): New function.
3755 (ibuffer-yank): New function.
3756 (ibuffer-save-filter-groups): New function.
3757 (ibuffer-delete-saved-filter-groups): New function.
3758 (ibuffer-switch-to-saved-filter-groups): New function.
3759 (ibuffer-mark-on-buffer): Add optional arguments for adding a
3760 specific mark, and marking on a specific group.
3762 * ibuffer.el (ibuffer-formats): Doc fix.
3763 (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
3764 Bind new functions from ibuf-ext.el. Add menu entries for them.
3765 Remove superfluous tooltips.
3766 (ibuffer-toggle-marks): If on a group name, then toggle marks just
3768 (ibuffer-mark-interactive): Handle filter groups.
3769 (ibuffer-mark-forward, ibuffer-unmark-forward)
3770 (ibuffer-mark-for-delete, ibuffer-unmark-backward)
3771 (ibuffer-mark-for-delete-backwards): Update docs.
3772 (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
3773 to `ibuffer-current-filter-groups-with-position'.
3774 (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
3775 (ibuffer-mode): Add some documentation about filter groups.
3777 2002-04-25 Andreas Schwab <schwab@suse.de>
3779 * find-dired.el (find-name-dired): Don't quote pattern twice.
3781 2002-04-26 Miles Bader <miles@gnu.org>
3783 * cus-edit.el (customize-face, customize-face-other-window):
3784 Use default instead of initial-input for suggested face.
3786 2002-04-25 Gerd Moellmann <gerd@gnu.org>
3788 * cus-edit.el (customize-face-other-window, customize-face):
3789 Interactively, when point is on text with a face, suggest to
3790 customize that face.
3792 2002-04-25 Glenn Morris <gmorris@ast.cam.ac.uk>
3794 * progmodes/f90.el: General tidy-up of commentary and some doc
3797 2002-04-24 Glenn Morris <gmorris@ast.cam.ac.uk>
3799 * scroll-all.el (scroll-all-function-all) New function to do the
3801 (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
3802 scroll-all-page-down-all, scroll-all-page-up-all,
3803 scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
3804 Make them use scroll-all-function-all.
3806 * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
3807 with line-beginning-position.
3808 (f90-get-end-of-line): Removed and replaced with line-end-position.
3809 (f90-match-piece): Removed and replaced with match-string.
3810 (f90-current-indentation): Remove `current-column'.
3811 (f90-get-present-comment-type): Use match-string rather than
3813 (f90-match-end): Use line-beginning-position, line-end-position
3814 rather than beginning-of-line, end-of-line.
3815 (f90-startup-message): Variable removed.
3817 2002-04-24 Colin Walters <walters@verbum.org>
3819 * replace.el (occur-accumulate-lines): Add optional argument
3820 `no-props'. Handle it.
3821 (occur-engine): Use it.
3823 * ibuf-ext.el (toplevel): Remove byte-compile-dynamic. Try to set
3824 up autoloads manually.
3825 (ibuffer-split-list): New function.
3826 (ibuffer-filtering-groups): New variable.
3827 (ibuffer-hidden-filtering-groups): New variable.
3828 (ibuffer-mouse-toggle-filter-group): New function.
3829 (ibuffer-toggle-filter-group): New function.
3830 (ibuffer-toggle-filter-group-1): New function.
3831 (ibuffer-forward-filter-group): New function.
3832 (ibuffer-backward-filter-group): New funtion.
3833 (ibuffer-generate-filter-groups): New function.
3834 (ibuffer-filters-to-filter-group): New function.
3835 (ibuffer-pop-filter-group): New function.
3836 (ibuffer-jump-to-filter-group): New function.
3837 (ibuffer-do-occur): Just use `occur-read-primary-args'
3839 * ibuffer.el (ibuffer-filter-group-name-face): New.
3840 (ibuffer-mode-map): Bind and add menu entries for most new
3841 functions; also, bind the arrow keys to the movement functions.
3842 (ibuffer-mode-filter-group-map): New.
3843 (ibuffer-mouse-toggle-mark): Handle group names.
3844 (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
3845 (ibuffer-skip-properties): New function.
3846 (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
3847 group names. Also, handle new properties.
3848 (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
3849 Move error handling to `ibuffer-current-buffer'.
3850 (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
3851 (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
3852 (ibuffer-toggle-marks): Add optional group argument.
3853 (ibuffer-mark-interactive): Skip group names.
3854 (ibuffer-current-buffer): Clean up error handling.
3855 (ibuffer-fontify-region-function): Fontify group names.
3856 (ibuffer-map-lines): Add extra group argument. Handle it.
3857 (ibuffer-current-filter-groups): New function.
3858 (ibuffer-redisplay): Handle hidden filtering groups.
3859 (ibuffer-sort-bufferlist): New function, taken from
3860 `ibuffer-insert-buffers-and-marks'.
3861 (ibuffer-insert-filter-group): New function.
3862 (ibuffer-redisplay-engine): Renamed from
3863 `ibuffer-insert-buffers-and-marks'. Handle new filtering groups.
3864 (ibuffer): Add filter-groups argument. Handle it.
3865 Use `save-selected-window'.
3866 (ibuffer-mode): Make `ibuffer-filtering-groups' and
3867 `ibuffer-hidden-filtering-groups' buffer-local.
3869 * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
3871 2002-04-24 Richard M. Stallman <rms@gnu.org>
3873 * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
3874 (easy-menu-define-key-intern): Function deleted; callers intern
3875 and then call easy-menu-define-key.
3876 (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
3877 (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
3878 (easy-menu-name-match): New function.
3879 (add-submenu): New function.
3880 (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
3882 2002-04-24 Eli Zaretskii <eliz@is.elta.co.il>
3884 * menu-bar.el (menu-bar-adv-search-menu)
3885 (menu-bar-adv-search-menu): Improve the help text.
3887 2002-04-24 Simon Josefsson <jas@extundo.com>
3889 * net/netrc.el: New file.
3891 2002-04-24 Thomas DeWeese <tdeweese@rochester.rr.com>
3893 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
3894 Check if any of the available selection sources has new content
3895 and if so it will return that content.
3897 2002-04-24 Miles Bader <miles@gnu.org>
3899 * menu-bar.el (buffers-menu-show-directories)
3900 (buffers-menu-show-status): New variables.
3901 (menu-bar-update-buffers-1): Use them.
3903 2002-04-24 Martin Stjernholm <mast@lysator.liu.se>
3905 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
3906 from `c-do-auto-fill' and point is at or near the limit of the
3907 comment. Fixed bug when the prefix from `c-guess-fill-prefix'
3908 is longer than the text on the first line of the comment when
3911 2002-04-24 Miles Bader <miles@gnu.org>
3913 * menu-bar.el (menu-bar-update-buffers-1): Make sure
3914 `uniquify-buffer-name-style' is bound.
3916 2002-04-23 Colin Walters <walters@verbum.org>
3918 * replace.el (toplevel): Require `cl' while compiling.
3919 (occur-buffer, occur-nlines): Delete.
3920 (occur-revert-properties): Rename to `occur-revert-properties'.
3921 (occur-mode): Handle it. Set up font lock.
3922 (occur-revert-function): Simply apply `occur-1'.
3923 (occur-mode-find-occurence, occur-mode-mouse-goto)
3924 (occur-mode-goto-occurrence-other-window)
3925 (occur-mode-display-occurrence): Handle buffer property.
3926 (list-matching-lines-face): Use defcustom.
3927 (list-matching-lines-buffer-name-face): New variable.
3928 (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
3930 (occur-read-primary-args): Move out of `occur'.
3931 (occur): Delete. Now simply call `occur-1'.
3932 (multi-occur, multi-occur-by-filename-regexp): New functions.
3933 (occur-1): New function.
3934 (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
3935 previous implementation of `occur'; taken from ibuf-ext.el.
3936 (occur-fontify-on-property): New function.
3937 (occur-fontify-region-function, occur-unfontify-region-function):
3940 * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
3942 * ibuf-ext.el (ibuffer-depropertize-string): Delete.
3943 (ibuffer-occur-match-face): Delete.
3944 (ibuffer-occur-props, ibuffer-occur-mode): Delete.
3945 (ibuffer-occur-mouse-display-occurence): Delete.
3946 (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
3947 (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
3948 (ibuffer-occur-engine): Moved to replace.el.
3949 (ibuffer-do-occur): Simply call `occur-1'.
3951 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3952 Handle the case where we're already viewing the score file.
3954 2002-04-23 Andreas Schwab <schwab@suse.de>
3956 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
3959 2002-04-23 Miles Bader <miles@gnu.org>
3961 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
3962 directory separator if there's no directory. Don't display
3963 directories at all if uniquify is active. Some code cleanup.
3964 (uniquify-buffer-name-style): Declare (but don't initialize).
3966 * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
3967 for command menu entries, since the low-level menu code modifies
3968 them. Cache the resulting list.
3969 (menu-bar-buffers-menu-command-entries): New variable.
3971 * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
3972 Add separator line before commands
3973 Remove old crufty code that tried to line things up by adding
3974 spaces to entries (it doesn't work).
3975 Move `Frames' submenu after the normal buffers, and add a
3976 separator line before it.
3977 (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
3979 2002-04-22 Richard M. Stallman <rms@gnu.org>
3981 * files.el (after-find-file): Use %s to output MSG.
3983 * dired.el (dired-mouse-find-file-other-window):
3984 Handle events that move out of the window.
3986 2002-04-23 Martin Stjernholm <mast@lysator.liu.se>
3988 * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
3989 was moved to the following line when it was at the first line
3990 of a block comment where comment-start-skip matched to eol.
3992 2002-04-22 Richard M. Stallman <rms@gnu.org>
3994 * simple.el (line-move-finish): Find beg and end of line
3995 before calling line-move-to-column. Do consider intangible
3996 when finding the end. Take more care in analyzing the results
3997 of intangibility after line-move-to-column.
3999 2002-04-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4001 * international/mule-diag.el (list-input-methods-1): Doc fix
4002 (LEIM is now part of the standard distribution).
4004 * tmm.el (tmm-completion-prompt): Doc fix.
4006 * hilit-chg.el (global-highlight-changes): Capitalize status texts.
4008 2002-04-22 Edward M. Reingold <reingold@emr.cs.iit.edu>
4010 * diary-lib.el (include-other-diary-files): Allow modifying
4011 included buffer, to turn off selective display.
4013 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4015 * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
4016 pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
4017 emacsen that doesn't support it.
4019 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4021 * progmodes/cc-align.el, progmodes/cc-engine.el,
4022 progmodes/cc-styles.el, progmodes/cc-vars.el
4023 (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
4024 Find correct anchor for statement-cont in top level constructs.
4025 Analyze variable initializations in top level constructs as
4026 topmost-intro-cont instead of statement-cont. That is an
4027 incompatible change but it gives better consistency. The new
4028 lineup function c-lineup-topmost-intro-cont' compensates for
4029 it and is now put on topmost-intro-cont by default.
4031 * progmodes/cc-align.el, progmodes/cc-engine.el,
4032 progmodes/cc-langs.el (c-lineup-argcont): Lineup function
4033 contributed by Kevin Ryde.
4035 (c-in-gcc-asm-p): Function to recognize asm statements.
4036 Contributed by Kevin Ryde.
4038 (c-opt-asm-stmt-key): New language variable to recognize the
4039 beginning of asm statements.
4041 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4043 * progmodes/cc-engine.el (c-guess-basic-syntax):
4044 Detect variable declarations after class and struct declarations
4045 correctly. Fixed limit error when finding the anchor for
4046 template-args-cont and topmost-intro-cont.
4048 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4050 * progmodes/cc-cmds.el (c-beginning-of-defun)
4051 (c-declaration-limits): Find the "line oriented" declaration
4052 start too, just like the "line oriented" end is found.
4054 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4056 * progmodes/cc-vars.el (c-offsets-alist): A more sane default
4057 for `inexpr-statement'. This is not compatible, though.
4058 I think the benefit of a good default style outweights that in
4059 this case. Besides, `inexpr-statement' is not very common.
4061 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4063 * progmodes/cc-cmds.el (c-electric-delete-forward):
4064 Fix silly bug that caused it to delete backwards in hungry delete
4065 mode. (It's amazing that this bug hasn't been reported.)
4067 * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
4068 Extracted the code to get the declaration limits from
4069 `c-mark-function' to a new `c-declaration-limits'.
4071 (c-indent-defun): Use the same method to get the limits of the
4072 declaration or macro as `c-mark-function'.
4074 * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
4075 list initializers correctly (but costly; it ought to be
4076 integrated into `c-beginning-of-statement-1').
4078 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4080 * progmodes/cc-cmds.el, progmodes/cc-engine.el
4081 (c-beginning-of-defun, c-end-of-defun, c-mark-function):
4082 Rewritten to detect the declaration limits better.
4083 Now handles K&R argdecls, class definitions followed by variables etc.
4085 (c-in-knr-argdecl): Broke out the K&R argdecl test in
4086 `c-beginning-of-decl-1' to this new function.
4088 (c-end-of-statement-1, c-end-of-decl-1):
4089 Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
4090 handles declarations that continue after the block.
4092 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
4093 Added an option to restrict matching to the top level of the
4096 * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
4097 New regexp to recognize declarations that continue after the block.
4099 (c-syntactic-eol): New regexp to match a "syntactic" eol.
4101 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4103 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
4104 that often caused the backward limit to be lost at the top
4105 level. This improves performance a bit.
4107 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
4108 New function that works like `re-search-forward' but only returns
4109 matches in syntactically significant text.
4111 * progmodes/cc-engine.el: Fixed a faster and more accurate way
4112 to recognize K&R argdecls.
4114 (c-beginning-of-decl-1): New function that put point at the
4115 beginning of the declaration. It handles K&R argdecl blocks.
4117 (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
4118 code with one that doesn't depend on the current indentation.
4119 The anchor position for `knr-argdecl' has also changed, but in
4120 a way that is unlikely to cause compatibility problems.
4122 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4124 * progmodes/cc-defs.el, progmodes/cc-engine.el
4125 (c-forward-comment): `forward-comment' in XEmacs skips over
4126 line continuations in the backward direction. Correct for
4127 that. Also made this a defun since it has grown too large now
4130 * progmodes/cc-langs.el: More convenient and decentralized
4131 setup of the language specific variables. The regexp-opt
4132 mangling is also done at compile time now.
4134 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4136 * progmodes/cc-cmds.el (c-indent-line-or-region):
4137 Call `c-indent-line' directly instead of through
4138 `indent-according-to-mode' so that this function always
4139 indents syntactically.
4141 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
4142 where a class beginning with a nested class could cause an
4143 infinite loop (the state outside the narrowed out class is
4146 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4148 * progmodes/cc-align.el, progmodes/cc-cmds.el,
4149 progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
4150 the context sensitive analysis inside macros is restricted to
4151 the bodies of #define's; other things, like #if expressions,
4152 never have anything in common with their surroundings.
4153 The old `cpp-macro-cont' syntax is now used in situations where
4154 the syntactic analysis isn't applicable, and a new syntactic
4155 element `cpp-define-intro' is used to add indentation in
4158 (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
4159 better reflect its use.
4161 * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
4162 continuation backslashes in the detection of `arglist-cont-nonempty'.
4164 * progmodes/cc-align.el: Use the vector form in the return
4165 value in all cases where lineup functions return absolute columns.
4167 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4169 * progmodes/cc-engine.el (c-add-stmt-syntax)
4170 (c-guess-basic-syntax): Anchor `brace-list-intro' and
4171 `bracec-list-close' better for brace lists nested inside expressions.
4173 * progmodes/cc-engine.el, progmodes/cc-langs.el,
4174 progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
4175 various language specific variables and their initialization.
4176 The keyword regexps are now lists that are combined with
4177 regexp-opt. Some variables have changed names to fit better
4178 with the naming convention.
4180 * progmodes/cc-defs.el, progmodes/cc-vars.el
4181 (c-buffer-is-cc-mode): The value is the mode symbol of the
4182 original CC Mode mode.
4184 (c-major-mode-is): Compare against the buffer local variable
4185 `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
4187 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4189 * progmodes/cc-engine.el (c-forward-syntactic-ws)
4190 (c-backward-syntactic-ws, c-forward-token-1)
4191 (c-backward-token-1, c-in-literal, c-literal-limits)
4192 (c-collect-line-comments, c-literal-type, c-on-identifier)
4193 (c-guess-basic-syntax): These functions are now considered part
4194 of the "CC Mode API" and may be used by other code.
4195 That's signified by making their documentation into docstrings.
4197 (c-whack-state, c-hack-state, c-skip-case-statement-forward):
4198 Removed these internal functions since they aren't used.
4200 (c-forward-to-cpp-expression): Classified this function as internal.
4202 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4204 * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
4205 Simplified these regexps; the class keywords they contain
4206 ought to be enough to avoid false matches, so checking for
4207 following identifiers etc is just unnecessary (and might also
4208 fail for oddly formatted code).
4210 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4212 * progmodes/cc-engine.el, progmodes/cc-cmds.el
4213 (c-forward-comment-lc): New function that behaves like
4214 `c-forward-comment', with the exception that line
4215 continuations are treated as whitespace.
4217 (c-beginning-of-statement): Use `c-forward-comment-lc', to
4218 work correctly in macros and other places where line
4219 continuations should be treated as whitespace.
4221 * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
4222 normal label in a switch block as a case label, to get
4223 consistent lineup with the case labels.
4225 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
4226 in skipping over a macro that ends with an empty line.
4228 * progmodes/cc-styles.el: Require cc-align since styles added
4229 with `c-add-style' often contains references to functions
4230 defined there, and so the `c-valid-offset' check might
4231 otherwise complain on them.
4233 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4235 * progmodes/cc-align.el, progmodes/cc-mode.texi,
4236 progmodes/cc-vars.el: Added two new lineup functions:
4238 (c-lineup-knr-region-comment): A new lineup function to get
4239 (what most people think is) better indentation of comments in
4240 the "K&R region" between the function header and its body.
4242 (c-lineup-gcc-asm-reg): New lineup function for better
4243 indentation inside gcc asm blocks. Contributed by Kevin Ryde.
4245 (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
4246 `c-lineup-knr-region-comment' in the default offset
4247 configuration, since these two functions have little impact
4248 outside their intended use, and they generally do the right
4249 thing when they kick in.
4251 * progmodes/cc-engine.el (c-guess-continued-construct)
4252 (c-guess-basic-syntax): Handle nested functions in all
4253 languages, not just Pike. In C and C++ there's a gcc
4254 extension for this, and it also gives better treatment of
4255 macros that are followed by blocks.
4257 * progmodes/cc-langs.el (c-symbol-key): Made this variable
4258 mode specific, to handle Pike special symbols like `== better.
4260 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4262 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
4263 progmodes/cc-vars.el (c-report-syntactic-errors): A new
4264 variable to control the syntactic error messages. It defaults
4265 to off; since CC Mode ignores most syntactic errors it might
4266 as well ignore them all for the sake of consistency.
4268 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4270 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4271 Optimization. Can give a noticeable speedup if there's a
4272 large preceding function or class body.
4274 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4276 * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
4277 efficient and correct insertion functions in many places.
4278 Always inherit text properties correctly if the text is
4279 permanent. Also do it for speed in temporary insertions,
4280 since I figure it's less work to continue the surrounding text
4281 properties than to break them.
4283 * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
4284 completion to make it easier to enter lists.
4286 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4288 * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
4289 c-state-cache was clobbered.
4291 * progmodes/cc-cmds.el, progmodes/cc-engine.el
4292 (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
4295 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4297 * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
4298 open parens in macros (if point isn't in the same one).
4300 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4302 * progmodes/cc-cmds.el (c-context-open-line): New function
4303 that is the `open-line' equivalent to `c-context-line-break'.
4305 * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
4306 for Emacs 21 since `indent-new-comment-line' has been changed
4307 to `comment-indent-new-line' there.
4309 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4311 * progmodes/cc-engine.el, progmodes/cc-langs.el
4312 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
4313 New variables containing the character sets used to recognize
4314 statement/declaration boundaries. These variables might help
4315 to support languages like javascript and awk, where newlines
4316 sometimes delimits statements.
4318 (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
4319 the set of statement delimiting characters, to allow it to be
4320 changed dynamically and per-mode.
4322 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4324 * progmodes/cc-engine.el (c-looking-at-bos)
4325 (c-looking-at-inexpr-block, c-add-stmt-syntax)
4326 (c-guess-basic-syntax): Treat blocks directly inside function
4327 calls like "bare" statements inside function calls, and not
4328 like in-expression statements. This to make indentation of
4329 such blocks consistent with other statements inside macro calls.
4331 * progmodes/cc-engine.el (c-guess-basic-syntax):
4332 Made arglist-cont anchor correctly in arglists that contain statements.
4334 * progmodes/cc-engine.el (c-guess-basic-syntax):
4335 Fixed consistent anchoring of defun-block-intro in defuns in code
4336 blocks (can only occur in Pike).
4338 * progmodes/cc-engine.el (c-looking-at-inexpr-block)
4339 (c-looking-at-inexpr-block-backward): Changed the arguments to
4340 require containing sexps and paren state, for better efficiency.
4342 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4344 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
4345 progmodes/cc-vars.el: Improved anchoring of statement and
4346 handling of labels in front of substatements.
4348 (c-guess-continued-construct, c-guess-basic-syntax):
4349 Improved and unified anchoring at statements. Statements beginning
4350 with comments or labels are now avoided, by going out of
4351 blocks and containing statements if necessary. This nesting
4352 handling also fixes the case when there's a statement after a
4353 block open brace. Added the syntactic symbol `substatement-label'.
4355 (c-electric-colon): Map the new `substatement-label' to
4356 `label' when consulting `c-hanging-colons-alist'.
4358 (c-offsets-alist): Added substatement-label. Updated the
4359 comments for the new anchoring positions at statements.
4361 * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
4362 anchor points for knr-argdecl-intro and access-label.
4363 They used to refer to some point on the same line, a bug which was
4364 neutralized by a kludge in `c-get-syntactic-indentation' which
4365 ignored such anchor points.
4367 (c-get-syntactic-indentation): Removed the kludge that was
4368 necessary due to buggy anchor points.
4370 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
4371 the absence of a comma before arglist-close (case 7A) in any
4372 language, since there's nothing better to do that case anyway.
4373 Added special case to make in-expression statements be
4374 recognized as normal arglist-cont if we're directly in a macro
4375 arglist, for consistency with other "bare" statements.
4377 * progmodes/cc-engine.el (c-looking-at-bos): Added optional
4378 limit arg for backward searches.
4380 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4381 Anchor gcc in-expression statements at the surrounding open
4382 parenthesis. Treat a class body as an in-expression class if
4383 it's used in an object clone expression in Pike.
4385 * progmodes/cc-engine.el (c-get-offset)
4386 (c-get-syntactic-indentation): Allow several anchor positions
4387 in the list of syntactic symbols. Only the first is used as
4388 the base for the offset calculation.
4390 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4392 * progmodes/cc-cmds.el (c-indent-defun): Indent the current
4393 macro if inside one at the top level. Do not throw an error
4394 if used at the top level outside a macro.
4396 * progmodes/cc-cmds.el (c-backslash-region): Do tab width
4397 alignment only if the backslashes can't be aligned with
4398 surrounding backslashes.
4400 * progmodes/cc-engine.el (c-end-of-macro): New function.
4402 * progmodes/cc-engine.el (c-least-enclosing-brace):
4403 Rewritten to not be destructive.
4405 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4407 * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
4408 line break when point is inside the content of it; if it's in
4409 the cpp keyword a normal line break is done.
4411 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
4412 cpp-macro-cont inside the argument list to a #define.
4414 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4416 * progmodes/cc-defs.el (c-forward-comment): Implemented a
4417 kludge to avoid the problem most forward-comment incarnations
4418 have with `\' together with comment parsing.
4420 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4422 * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
4423 which could cause the state returned by `c-parse-state' to
4424 lack a closed paren element. That in turn could result in
4425 very long searches, since it's common that they start from the
4426 last preceding close brace.
4428 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4430 * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
4431 treat else-if as a single continuation, since that'd make it
4432 hard to get the right anchor point when there's a line break
4433 between the two keywords. This change causes else-clause to
4434 be anchored on the closest preceding else-if and not always on
4435 the starting if, but that doesn't affect the indentation for
4436 any reasonably sane style. Also introduced a noerror flag.
4438 (c-beginning-of-closest-statement): Removed;
4439 c-beginning-of-statement-1 now avoids the problem this one solved.
4441 * progmodes/cc-engine.el (c-guess-continued-construct)
4442 (c-guess-basic-syntax): Better and more uniform anchor points
4443 for 'statement-cont and 'substatement. The effect is
4444 noticeable mostly when there's a label on the same line as the
4445 beginning of the statement, or when there are more stuff
4446 before the start of the statement.
4448 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4449 Added flag to disable looking at the type of the surrounding paren
4450 since that confuses c-beginning-of-statement-1 and a couple of
4453 * progmodes/cc-engine.el (c-guess-basic-syntax):
4454 Avoid stepping to the previous statement in case 18.
4455 Improvements in recognition of statement blocks on the top level.
4457 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4459 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4460 (c-crosses-statement-barrier-p): Rewritten to get a well
4461 defined and documented behavior. This fixes some tricky cases
4462 in recognition of do-while constructs.
4464 (c-backward-to-start-of-do, c-backward-to-start-of-if):
4465 Removed; use c-beginning-of-statement-1 instead.
4467 (c-guess-continued-construct, c-guess-basic-syntax):
4468 Various fixes to not depend on the bugs previously in
4469 c-beginning-of-statement-1. Cleanups in cases 18 and 17 to
4470 use the new behavior of c-beginning-of-statement-1 better.
4471 Fixed recognition of catch blocks inside macros.
4473 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
4474 in skipping over a macro.
4476 * progmodes/cc-langs.el (c-label-kwds): New variable to
4477 contain the appropriate c-*-label-kwds value.
4479 * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
4480 evaluation bug that caused the widget for
4481 c-block-comment-prefix to bug out.
4483 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4485 * progmodes/cc-engine.el (c-guess-basic-syntax):
4486 Improved recognition of statements: They are now recognized in
4487 contexts where they normally can't occur, e.g. on the top level or
4488 in function call arguments. This is mainly useful to recognize
4489 statements in macros at the top level, and in arguments to
4490 macros. The cases has been moved around quite a bit, and case
4491 10 has been copied to case 18. (The cases has not been
4492 renumbered because of this.)
4494 (c-guess-continued-construct): New function which has the
4495 rules which are common between cases 10 and 18.
4497 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4498 (c-backward-to-start-of-do, c-backward-to-start-of-if):
4499 Fixes so that they really obey the passed limits.
4501 (c-safe-position): Return nil if the state doesn't contain a
4504 (c-guess-basic-syntax): Fixes some too short limits in calls
4505 to c-beginning-of-statement-1. Some fixes for top level
4506 analysis in ObjC mode.
4508 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4509 Fixed bug in do-while statements where the body is not a block.
4511 * progmodes/cc-styles.el (c-set-style):
4512 Reset c-special-indent-hook to its global value if in override mode.
4513 Fixes problem where functions on that hook remained after
4516 * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
4517 Use c-benign-error to report the c-strict-syntax-p error.
4519 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4521 * progmodes/cc-align.el, progmodes/cc-defs.el,
4522 progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
4523 Several fixes to treat macros as code and not literals and to
4524 handle line continuations transparently.
4526 (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
4527 through whitespace and line continuations, but not comments
4530 (c-in-literal): No longer recognizes macros as literals by
4531 default. An extra flag argument is required to do that.
4533 (c-macro-start, c-query-macro-start)
4534 (c-query-and-set-macro-start): Added a cache for the macro
4537 (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
4538 more speed when limits are given. Workaround for bad behavior
4539 in forward-comment in some emacsen when it hits a buffer limit
4540 with a large repeat count.
4542 (c-lineup-macro-cont): Improved behavior when
4543 c-syntactic-indentation-in-macros is nil.
4545 (c-syntactic-indentation-in-macros, c-backslash-max-column)
4546 (c-auto-align-backslashes): New customization variables to
4547 control macro handling.
4549 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
4550 Fixes to handle line continuations.
4552 * progmodes/cc-defs.el, progmodes/cc-styles.el
4553 (c-get-style-variables, c-set-offset): Report style errors
4554 with message and ding instead of error signal. This to avoid
4555 interrupted mode init if there's some style problem.
4557 (c-benign-error): New macro to report errors that doesn't need
4558 to interrupt the operation.
4560 * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
4562 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4564 * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
4565 Removed most of the c-state-cache fiddling, since the global
4566 state cache now handles this.
4568 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
4569 when there's an open paren at the very first char of the
4570 visible buffer region.
4572 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
4573 Cache the state globally and invalidate it below every buffer
4574 change with the new after change function
4575 `c-check-state-cache'. This gives a considerable performance
4576 boost when editing large functions or classes.
4578 * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
4580 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4582 * progmodes/cc-engine.el, progmodes/cc-langs.el,
4583 progmodes/cc-align.el: Improvements to syntactic analysis
4586 (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
4587 by `c-guess-basic-syntax'.
4589 (c-parse-state): Fixed bug with braces inside macros when
4590 using cached state info.
4592 (c-forward-to-cpp-expression): New function to aid in
4593 syntactic analysis inside macros.
4595 (c-beginning-of-statement-1, c-backward-syntactic-ws):
4596 Fixes to work better inside macros.
4598 (c-forward-syntactic-ws): Whitespace between the # and the
4599 command should be allowed in preprocessor directives.
4601 (c-lineup-macro-cont): New lineup function to get context
4602 sensitive indentation inside macros.
4604 (c-offsets-alist): Made `c-lineup-macro-cont' the default for
4607 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4609 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4610 (c-forward-syntactic-ws): Fixes to handle continued lines.
4612 (c-backward-to-start-of-if, c-guess-basic-syntax):
4613 Do syntactic analysis inside macros.
4615 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4617 * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
4618 possible by the more flexible state cache.
4620 * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
4621 (c-whack-state-after, c-hack-state)
4622 (c-narrow-out-enclosing-class, c-guess-basic-syntax):
4623 Improved the state cache system. It now can use partial info from
4624 an old cached state to calculate a new one at a different
4625 position. Removed some kludges to avoid the state cache.
4626 The new functions `c-whack-state-before' and `c-whack-state-after'
4627 replace the now obsolete `c-whack-state'.
4629 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4630 Optimized backing through a macro. This can speed things up
4631 quite a bit when there are long macros before point.
4633 (c-beginning-of-macro): Do not ignore the limit.
4635 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4637 * progmodes/cc-cmds.el (c-electric-continued-statement):
4638 Fixed a bug where the keyword wasn't reindented correctly if
4639 followed by another keyword or identifier.
4641 * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
4642 pairs that are in macros. Fixes some cases where e.g. the
4643 second of two "do { } while (0)" macros after each other
4644 indented differently.
4646 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4648 * progmodes/cc-engine.el (c-beginning-of-macro)
4649 (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
4650 directive when it begins a line, to allow for script
4651 interpreter lines like "#!/usr/bin/pike" at the beginning of
4654 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4656 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4657 Recognize brace blocks inside a parenthesis expression as
4658 inexpr-statement. Useful when writing statements as macro arguments.
4660 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4662 * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
4663 (c-mask-comment): Broke out the comment masking code from
4664 `c-fill-paragraph' to a new function `c-mask-comment', to be
4665 able to do the same thing in `c-do-auto-fill'. This should
4666 make auto-fill-mode behave better.
4668 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4670 * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
4671 Check `executing-macro' to avoid blinking parens when macros
4674 * progmodes/cc-mode.el, progmodes/cc-styles.el
4675 (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
4676 consistency with `c-setup-paragraph-variables' (which was
4677 placed there due to the dependency from `c-set-style').
4679 * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
4680 incomplete initialization from the style variable fallbacks if
4681 there already is a style called "user" defined when CC Mode
4682 starts up for the first time.
4684 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4686 * progmodes/cc-cmds.el, progmodes/cc-vars.el
4687 (c-comment-indent, c-indent-comment-alist): Added new variable
4688 `c-indent-comment-alist' to allow better control over
4691 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4693 * progmodes/cc-align.el (c-lineup-C-comments): Try to match
4694 both `comment-start-skip' and the comment prefix on the
4695 current line with the comment starter, so that we line up
4696 comments which matches `c-comment-prefix-regexp' on the first
4697 line (after the `/') without the need to make
4698 `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
4700 * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
4701 (c-set-style-1, c-setup-paragraph-variables): Moved the
4702 variable initialization based on `c-comment-prefix-regexp' to
4703 a new function `c-setup-paragraph-variables', which is now
4704 used both at mode init and when a style that sets
4705 `c-comment-prefix-regexp' is activated.
4707 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4709 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
4710 Better handling of C++ template args to avoid confusion with
4711 `<' and `>' used as operators in member init expressions.
4713 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4715 * progmodes/cc-engine.el (c-most-enclosing-brace)
4716 (c-least-enclosing-brace): Added optional second arg to limit
4717 the search to before a certain point.
4719 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
4720 which could cause incorrect analysis if a cached state is used
4721 (usually only happens when an electric key reindents a line).
4723 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4725 * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
4726 insulation. This time for XEmacs 21.
4728 * progmodes/cc-engine.el, progmodes/cc-langs.el:
4729 Improved handling of inheritance lists:
4731 (c-beginning-of-inheritance-list): Rewritten to use a more
4732 syntactically correct method that doesn't get confused by
4733 badly placed linebreaks and comments.
4735 (c-guess-basic-syntax): Several fixes to the handling of
4736 inheritance lists in combination with templates. 'inher-intro
4737 is now anchored on the start of the class declaration and not
4738 the indentation of the current line. Switched places on cases
4739 5D.3 and 5D.4 and made them use more syntactically correct methods.
4741 (c-inher-key): Removed since the code in
4742 `c-guess-basic-syntax' now uses token-based search.
4744 * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
4745 Added a submenu to access some toggles.
4747 (c-toggle-syntactic-indentation): New function to toggle the
4748 variable `c-syntactic-indentation'.
4750 * progmodes/cc-styles.el (c-set-style): Improved the error
4751 message for incorrect offsets a bit.
4753 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4755 * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
4756 sexp follows point immediately, instead find the closest
4757 following open paren that ends on another line.
4759 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4761 * progmodes/cc-align.el (c-lineup-cascaded-calls):
4762 New indentation function.
4764 * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
4765 directives with whitespace between the '#' and the name.
4767 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4769 * progmodes/cc-engine.el (c-forward-syntactic-ws)
4770 (c-backward-syntactic-ws): Handle line continuations as
4771 whitespace. Don't move past a macro if that'd take us past
4774 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4776 * progmodes/cc-engine.el (c-beginning-of-macro)
4777 (c-forward-syntactic-ws): Multiline strings begin with `#"' in
4778 Pike, and that shouldn't be confused with a preprocessor directive.
4780 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4782 * progmodes/cc-cmds.el: Extended the kludge to interoperate
4783 with the delsel and pending-del packages wrt to the new
4784 function `c-electric-delete-forward'.
4786 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4788 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
4789 the block itself, i.e. only indent the contents in it.
4791 * progmodes/cc-styles.el (c-set-style): Use the default
4792 argument to completing-read instead of initial-contents, if
4793 the function is recent enough to support it.
4795 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4797 * progmodes/cc-mode.el (c-mode-help-address):
4798 Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
4799 I've almost never seen a bug reported this way that should go
4800 to that list, but it's rather common that the reports concern
4801 the combination CC Mode and XEmacs instead.
4803 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4805 * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
4806 brace-elseif-brace and brace-catch-brace are active and
4807 there's a "else if"-block before the catch block.
4809 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
4810 Detect function headers that span lines.
4812 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4814 * progmodes/cc-cmds.el (c-electric-brace)
4815 (c-electric-semi&comma, c-electric-colon, c-electric-paren):
4816 Check for last on line only for doing the auto-newline-mode
4817 stuff, not for the reindentation.
4819 * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
4820 handling of c-syntactic-indentation: When it's nil, indent the
4821 new lines but don't reindent the current one. Reindent the
4822 line only when the inserted brace comes first on it, instead
4825 * progmodes/cc-cmds.el (c-electric-brace)
4826 (c-electric-semi&comma): Fixed two places where
4827 c-syntactic-indentation wasn't heeded.
4829 * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
4832 * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
4833 little harder to find a fallback position when an orphan else
4834 is found. Fixed case where an else following a do-while
4835 statement could be associated with an if inside the do-while.
4837 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4839 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
4840 for the fallback to add a single space after the comment prefix.
4842 * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
4843 behavior in some special cases, especially for single-line comments.
4844 Avoid breaking up a comment starter or ender.
4846 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4848 * progmodes/cc-cmds.el (c-outline-level): Applied patch from
4849 the Emacs sources to make this work in invisible text.
4851 * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
4852 not be confused by a later ':' on the same line as the label.
4854 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4856 * progmodes/cc-cmds.el, progmodes/cc-mode.el
4857 (c-electric-delete, c-electric-delete-forward):
4858 Split `c-electric-delete' into two functions where
4859 `c-electric-delete-forward' always deletes forward and
4860 `c-electric-delete' only contains the code necessary for
4861 XEmacs to choose between backward and forward deletion.
4862 `c-electric-delete-forward' is now bound to C-d to get the
4863 electric behavior on that key too.
4865 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4867 * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
4868 use of c-comment-prefix-regexp, which caused an error when
4871 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4873 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
4874 (c-default-style): Removed the hardcoded switch to "java" style
4875 in Java mode. It's instead taken care of by the default value
4876 for c-default-style.
4878 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4880 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
4881 was triggered by equal signs in string literals.
4883 2002-04-21 Kim F. Storm <storm@cua.dk>
4885 * subr.el (insert-buffer-substring-no-properties): New function.
4886 (insert-buffer-substring-as-yank): New function.
4888 2002-04-21 Glenn Morris <gmorris@ast.cam.ac.uk>
4890 * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
4891 (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
4892 prefix from scroll commands. Ignore end-of-buffer errors from
4894 (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
4896 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
4899 * files.el: (auto-mode-alist): .f95 files in f90-mode.
4901 * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
4902 a DO statement irrespective of numeric label.
4904 2002-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
4906 * files.el (auto-save-file-name-transforms): Doc fix.
4907 Add third element to "uniquify" filenames.
4908 (make-auto-save-file-name): Use new element of
4909 auto-save-file-name-transforms.
4910 * startup.el (command-line): Add third element to
4911 auto-save-file-name-transforms.
4913 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
4915 * files.el (file-name-non-special): Don't mangle the 0'th arg and the
4916 return value of file-name-completion and file-name-all-completions.
4918 2002-04-19 Glenn Morris <gmorris@ast.cam.ac.uk>
4920 * progmodes/f90.el: Update maintainer.
4921 (f90-line-continued): Recognize blank/comment lines embedded in
4923 (f90-looking-at-program-block-start): No extra indentation after
4924 function or subroutine keyword appears in single quotes.
4926 2002-04-19 Miles Bader <miles@gnu.org>
4928 * custom.el (customize-mark-to-save, customize-mark-as-set)
4929 (custom-quote): Moved here from `cus-edit.el'.
4930 * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
4931 (custom-quote): Moved to `custom.el'.
4933 2002-04-18 Richard M. Stallman <rms@gnu.org>
4935 * facemenu.el (list-text-properties-at): Command deleted.
4937 * rect.el (insert-rectangle): Use insert-for-yank.
4939 * register.el (insert-register): Use insert-for-yank.
4940 (describe-register-1): Discard text props in yank-excluded-properties.
4942 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
4943 Fix parts in construction of `menu-item' item at end.
4945 * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
4947 * subr.el (insert-for-yank): New function.
4949 * simple.el (yank-excluded-properties): New user option.
4950 (yank-pop, yank): Use insert-for-yank.
4952 2002-04-19 Kim F. Storm <storm@cua.dk>
4954 * simple.el (pop-to-mark-command): Do not set this-command.
4955 (set-mark-command): Always jump to mark when called with arg.
4957 2002-04-18 Francesco Potorti` <pot@gnu.org>
4959 * comint.el (comint-watch-for-password-prompt): Remove whitespace
4960 at the beginning of password prompts.
4962 2002-04-18 Andrew Innes <andrewi@gnu.org>
4964 * facemenu.el: Remove require of wid-edit.
4966 2002-04-17 Colin Walters <walters@verbum.org>
4968 * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
4970 (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
4971 (ibuffer-current-state-list): Reinstate optional argument; now
4972 just call `point' inside the mapping function.
4974 2002-04-17 Francesco Potorti` <pot@gnu.org>
4976 * dired-aux.el (dired-star-subst-regexp)
4977 (dired-quark-subst-regexp): New constants.
4978 (dired-do-shell-command, dired-shell-stuff-it): Use them.
4979 (dired-do-shell-command): Raise an error if both `*' and `?'
4980 substitution marks are used in the same command.
4981 (dired-shell-stuff-it): Substitute all instances of `*' and `?'
4982 in a command given via dired-do-shell-command.
4984 * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
4986 2002-04-16 Jason Rumney <jasonr@gnu.org>
4988 * international/mule-cmds.el (locale-preferred-coding-systems):
4991 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
4993 * term.el (term-emulate-terminal): Fix last change.
4995 2002-04-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4997 * bindings.el (mode-line-mode-menu): Update names to reflect
5000 2002-04-16 Mike Williams <mdub@bigfoot.com>
5002 * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
5005 2002-04-16 Michael Kifer <kifer@cs.stonybrook.edu>
5007 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
5008 (viper-ex-print-buf-name): New variable.
5009 (viper-ex-print-buf): New variable.
5010 (ex-token-alist): Invoke ex-print on ":print" Ex commands.
5011 (ex-g-marks): New variable.
5012 (ex-print): New function.
5013 (ex-print-display-lines): New function.
5015 * viper.el (viper-set-hooks): Add window-setup-hook, which sets
5018 * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
5019 when the window is not in its own frame.
5020 (ediff-clone-buffer-for-region-comparison): More robust window
5021 arrangement while prompting for regions to compare.
5022 (ediff-make-cloned-buffer): Use generate-new-buffer-name.
5023 (ediff-inferior-compare-regions): Deleted unused vars
5024 ctl-buf and quit-now.
5026 2002-04-15 Richard M. Stallman <rms@gnu.org>
5028 * facemenu.el (facemenu-add-new-face): Use this only for faces.
5030 (facemenu-add-new-color): New function.
5031 (facemenu-set-foreground, facemenu-set-background):
5032 Use facemenu-add-new-color.
5034 2002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
5036 * ediff-init.el (ediff-current-diff-face-A)
5037 (ediff-current-diff-face-B, ediff-current-diff-face-C)
5038 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
5039 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
5040 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
5041 (ediff-even-diff-face-B, ediff-even-diff-face-C)
5042 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
5043 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
5044 (ediff-odd-diff-face-Ancestor): Add special color definitions for
5045 tty and MS-DOS displays.
5047 2002-04-15 Andrew Innes <andrewi@gnu.org>
5049 * facemenu.el: Require wid-edit.
5051 2002-04-15 Miles Bader <miles@gnu.org>
5053 * faces.el (highlight): Force foreground to be black on a tty, so
5054 this face is readable on a dark-background tty.
5055 * wid-edit.el (widget-field-face, widget-single-line-field-face):
5058 2002-04-14 Kim F. Storm <storm@cua.dk>
5060 * simple.el (pop-to-mark-command, push-mark-command): New commands.
5061 (set-mark-command): Use them.
5062 Enhanced functionality when command is repeated:
5063 - If first command set the mark (no prefix arg), repeat temporarily
5064 enables transient-mark-mode.
5065 - If first command jumped to mark off ring (with argument),
5066 repeat (with or without arg) jump to next mark off ring.
5067 - Use C-u C-u prefix to set mark after jump.
5068 (exchange-point-and-mark): Temporarily enable transient-mark-mode
5071 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5073 * speedbar.el (speedbar-tag-hierarchy-method)
5074 (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
5076 2002-04-14 Mike Williams <mdub@bigfoot.com>
5078 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
5079 beginning of buffer.
5081 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5083 * speedbar.el (speedbar-generic-item-info)
5084 (speedbar-sort-tags): Doc fix.
5085 (speedbar-add-supported-extension): Fix typo in interactive spec.
5087 2002-04-13 Colin Walters <walters@verbum.org>
5089 * ibuffer.el (ibuffer-forward-line): Just skip header if we're
5090 only moving one line forward.
5091 (ibuffer-map-lines): Preserve point position even if we delete
5092 lines. Only call mapping functions with buffer and mark
5093 arguments; the other two were unused.
5094 (ibuffer-redisplay, ibuffer-update): Always skip special areas.
5096 * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
5098 * calc/calc-bin.el (math-format-radix-float): Use `when'.
5100 * calc/calc.el (math-format-number): Load `calc-ext' before we
5101 call `math-group-float'.
5103 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
5104 Renamed from `gamegrid-add-score'.
5105 (gamegrid-add-score-insecure): Restored from the old
5106 `gamegrid-add-score'.
5107 (gamegrid-add-score): Just dispatch on `system-type' to one of the
5108 previous two functions.
5110 2002-04-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5112 * iswitchb.el: Update commentary to include new function
5113 iswitchb-exclude-nonmatching.
5115 2002-04-12 John Wiegley <johnw@gnu.org>
5117 * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
5118 operating systems to the regexp used to detect a script's interpreter.
5120 2002-04-12 Eli Zaretskii <eliz@is.elta.co.il>
5122 * frame.el (frames-on-display-list): Use `equal' to compare the
5123 `display' frame parameter to the argument DISPLAY.
5125 2002-04-12 Dave Love <fx@gnu.org>
5127 * help.el (string-key-binding): Deal with margin events.
5129 2002-04-12 Francesco Potorti` <pot@gnu.org>
5131 * comint.el (comint-password-prompt-regexp): Match " SMB password".
5133 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
5135 * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
5137 * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
5139 * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
5140 (buffer-syntactic-context-depth): New funs.
5142 * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
5145 * emacs-lisp/debug.el (debug-on-entry): Use push.
5146 (debugger-make-xrefs): Don't assume point-min == 1.
5148 * progmodes/cc-engine.el (c-backward-to-start-of-if):
5149 Don't assume point-min == 1.
5151 * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
5152 (etags-list-tags, etags-tags-apropos, select-tags-table):
5153 Don't assume point-min == 1.
5155 2002-04-12 Mike Williams <mdub@bigfoot.com>
5157 * textmodes/sgml-mode.el (sgml-guess-indent): New function.
5159 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
5161 * textmodes/fill.el (fill-context-prefix): Fix up last change.
5163 * simple.el (line-move): Use memq rather than or.
5164 (transpose-sexps): Don't presume as much of forward-sexp's behavior.
5165 (do-auto-fill): Use fill-move-to-break-point.
5166 (syntax-code-table): Remove.
5168 * textmodes/fill.el (canonically-space-region): Obey sentence-end.
5169 Don't add spaces at end of sentences at end of line.
5170 (fill-move-to-break-point): Make sure the result is always greater
5171 than linebeg, so we ensure forward progress.
5172 (fill-region-as-paragraph): Compare to `to' rather than eobp.
5173 (fill-paragraph): Don't rebind fill-paragraph-function.
5175 2002-04-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5177 * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
5179 2002-04-11 Andreas Schwab <schwab@suse.de>
5181 * files.el (file-name-non-special): Handle return value of t from
5182 `file-name-completion'.
5184 2002-04-10 Stefan Monnier <monnier@cs.yale.edu>
5186 * textmodes/fill.el (fill-context-prefix): Match the two prefixes
5187 differently to avoid pathological exponential-time case.
5188 (adaptive-fill-regexp): Add ! and %.
5189 (fill-delete-prefix): Remove indentation while removing prefix.
5190 (fill-delete-newlines): Obey sentence-end.
5191 (fill-move-to-break-point, fill-newline): New functions extracted
5192 from fill-region-as-paragraph.
5193 (fill-region-as-paragraph): Use them.
5194 Don't fiddle with fill-indent-according-to-mode.
5196 2002-04-10 Colin Walters <walters@verbum.org>
5198 * play/snake.el (snake-score-file): Default to just "snake-scores".
5200 * play/tetris.el (tetris-score-file): Likewise.
5202 * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
5203 use `update-game-score'.
5205 * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
5206 (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
5207 ourselves; take it as an argument. Caller updated.
5208 (ibuffer-mode): Make mode-class special.
5210 2002-04-10 Richard M. Stallman <rms@gnu.org>
5212 * dired.el (dired-view-command-alist): New variable.
5213 (dired-view-file): Use external viewers for some files names.
5215 * mouse.el (mouse-drag-region-1): Display region highlight
5216 only in the selected window.
5218 * subr.el (remove-hook): When there are no more local hooks,
5219 kill the buffer-local value.
5221 * isearch.el (isearch-mode): Don't call make-frame-visible
5222 if frame is already visible.
5224 * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
5226 2002-04-09 Emmanuel Briot <briot@act-europe.fr>
5228 * progmodes/ada-prj.el: Add support for the new project file
5229 fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
5230 Fix widget handling for Emacs 21. ada-mode now only supports a single
5231 active project file, instead of one per buffer. This is far less
5234 * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
5235 (ada-func-or-proc-name): Get real subprogram name, after change in
5238 * progmodes/ada-xref.el: Ada-mode no longer supports a different
5239 project file per buffer. This was too complex. Instead, there is
5240 now a single active project file at any given time, and the user
5241 can switch the active one through the Ada menu. This revision
5242 also provides better handling of the Windows command line, and the
5243 various available shells on that platform. ada-mode is now fully
5244 integrated with the GNU visual debugger gvd, see
5245 http://libre.act-europe.fr.
5246 (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
5247 This is only available with GNAT 3.14.
5248 (ada-prj-gnatfind-switches, ada-cd-command): New variable.
5249 (ada-quote-cmd): New function.
5250 (ada-initialize-runtime-library): Get the location of the actual
5251 runtime the compiler will be using, including support for
5252 cross-platform environments.
5253 (ada-treat-cmd-string): Add support for the new variable
5254 ${full_current} add support for debug-pre-cmd and debug-post-cmd,
5255 two commands to run just prior to running the debugger, and just
5256 after starting it. This provide better support for cross-platform
5257 and remote debugging.
5258 (ada-get-absolute-dir): Remove, replace with expand-file-name.
5259 (ada-gdb-application): New parameter executable-name.
5260 (ada-get-ali-file-name): Better handling of separate packages.
5261 Checkin on behalf of the ada-mode maintainer.
5263 * progmodes/ada-mode.el (ada-case-exception-file)
5264 (ada-indent-handle-comment-special): New variables.
5265 (ada-case-exception-substring): New variable. Casing exceptions
5266 can now also be defined for substrings, in addition to full
5267 identifier names. This provides more flexibility.
5268 (ada-align-list): New fun, provide support for align.el in ada-mode.
5269 (ada-procedure-start-regexp): Add support for operators and
5270 generic formal subprograms and packages.
5271 (ada-imenu-comment-re): New variable.
5272 (ada-imenu-generic-expression): Add support for protected types.
5273 (ada-mode): Set comment-start only after running ada-mode-hook, so
5274 that the user can change ada-comment-start in the hook.
5275 Add support for ispell in comments. Add support for align.el.
5276 (ada-save-exception-file, ada-create-case-exception-substring)
5277 (ada-adjust-case-substring): New functions.
5278 (ada-get-current-indent): Properly handles keywords with uppercases.
5279 (ada-goto-matching-end): Rewritten, fixes problems in the handling
5281 (ada-untab-hard): Do not touch the contents of comments and strings.
5283 2002-04-09 Mike Williams <mdub@bigfoot.com>
5285 * textmodes/sgml-mode.el (sgml-lexical-context):
5286 Use sgml-parse-tag-backward to find start point.
5287 (sgml-looking-back-at): Doc fix.
5289 2002-04-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5291 * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
5294 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
5296 * autorevert.el (auto-revert-mode, global-auto-revert-mode):
5297 Use define-minor-mode.
5298 (auto-revert-buffers): Use with-current-buffer.
5299 Avoid changing the minor modes.
5301 * international/iso-acc.el (iso-accents-accent-key): Use `vector'
5302 rather than char-to-string since last-input-char can be any event.
5304 * international/titdic-cnv.el (tit-dictionary):
5305 Use defvar for non-constants.
5307 * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
5308 (global-cwarn-mode): Use easy-mmode-define-global-mode.
5309 (cwarn-font-lock-keywords): New function.
5310 Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
5311 (cwarn-font-lock-match): New macro.
5312 (cwarn-font-lock-match-assignment-in-expression)
5313 (cwarn-font-lock-match-dangerous-semicolon)
5314 (cwarn-font-lock-match-reference): Use it.
5316 * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
5317 Use defvar rather than defconst since it's meant to be settable.
5318 (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
5319 (cperl-fix-line-spacing): Add missing \ in [ t].
5321 * loadup.el: Call ucs-unify-8859 directly rather than
5322 unify-8859-on-encoding-mode.
5323 (fns-*.el): Don't use it anymore. Keep the load-history in purespace.
5325 * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
5326 (sgml-mode): Use it for comment-line-break-function.
5328 2002-04-08 Jason Rumney <jasonr@gnu.org>
5330 * international/mule-cmds.el (reset-language-environment):
5331 Handle coding-systems not being defined yet.
5333 2002-04-08 Sam Steingold <sds@gnu.org>
5335 * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
5336 (vc-cvs-checkin): Use it.
5338 2002-04-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5340 * files.el (display-time-string): Fix last change.
5342 2002-04-07 Sam Steingold <sds@gnu.org>
5344 * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
5346 2002-04-07 Jason Rumney <jasonr@gnu.org>
5348 * international/mule-cmds.el (set-default-coding-systems)
5349 (reset-language-environment): Preserve eols on
5350 default-process-coding-system.
5351 (coding-system-change-text-conversion): Fix case where CODING is nil.
5353 2002-04-07 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5355 * subr.el (play-sound): Move here from simple.el.
5357 * simple.el (play-sound): Move to subr.el.
5359 2002-04-06 Richard M. Stallman <rms@gnu.org>
5361 * files.el (display-time-string-forms): Mark as risky.
5363 * enriched.el (enriched-decode-foreground, enriched-decode-background):
5364 Use proper format for desired elts of `face' property.
5365 Don't test display-color-p; make the properties unconditionally.
5367 * progmodes/compile.el (compilation-error-regexp-alist):
5368 New alternatives for FILE:LINE.COL and for ranges of columns and lines.
5370 2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
5372 * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
5373 for customization type.
5374 Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
5376 2002-04-06 Mike Williams <mdub@bigfoot.com>
5378 * textmodes/xml-lite.el: Remove.
5380 2002-04-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5382 * simple.el (play-sound): New function (uses play-sound-internal).
5384 2002-04-04 Richard M. Stallman <rms@gnu.org>
5386 * files.el (mode-line-format, mode-line-modified)
5387 (mode-line-mule-info, mode-line-buffer-identification)
5388 (mode-line-modes, mode-line-position): Explicitly mark as risky.
5389 (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
5391 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
5393 * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
5394 Use (syntax-table), not old-syntax-table.
5396 * enriched.el (enriched-decode-foreground)
5397 (enriched-decode-background): Don't call facemenu-get-face.
5399 2002-04-04 Mike Williams <mdub@bigfoot.com>
5401 * textmodes/sgml-mode.el: Add missing require.
5402 (sgml-lexical-context): Fix up CDATA detection for boundary cases.
5404 2002-04-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
5406 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
5407 spot indicated by text property `cvs-goal-column', if present.
5409 * pcvs-info.el (cvs-fileinfo-pp): Use text property
5410 `cvs-goal-column' to indicate position of file name (if present).
5412 2002-04-03 Richard M. Stallman <rms@gnu.org>
5414 * mail/mailabbrev.el (mail-abbrev-complete-alias):
5415 Call mail-abbrev-make-syntax-table.
5417 * format.el (format-deannotate-region): Doc fix.
5419 * enriched.el (enriched-face-ans): Delete special treatment
5420 for fg:... and bg:... faces.
5421 (enriched-decode-foreground): Return a list that specifies
5422 the foreground color, rather than creating a face.
5423 (enriched-decode-background): Likewise.
5425 * shell.el (shell-mode): Don't reinit comint-input-ring
5426 if that was already done.
5428 2002-04-03 Edward M. Reingold <reingold@emr.cs.iit.edu>
5430 * solar.el (solar-spring-or-summer-season): Delete.
5431 (solar-northern-spring-or-summer-season): New variable.
5432 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
5435 * solar.el (diary-sabbath-candles-minutes): New variable.
5436 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
5438 * calendar.el (update-calendar-mode-line): Force mode-line update.
5439 Make date under the cursor available as `date' in
5440 calendar-mode-line-format.
5441 Eval items in calendar-mode-line-format list.
5443 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
5444 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
5446 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
5448 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
5449 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
5450 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5451 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
5453 * cal-tex.el: Change all instances (interactive "P") to
5455 (cal-tex-cursor-month): Add hfill and newline at end of month that
5457 (cal-tex-preamble): Change to LaTeX2e.
5458 (cal-tex-cursor-filofax-year): Don't use default month names in
5459 LaTeX macros in case user changes them.
5460 (cal-tex-month-name): New function. Used throughout in case user
5461 has done something funny with month names.
5463 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
5464 (diary-rosh-hodesh): Spelling correction.
5466 2002-04-03 Mike Williams <mdub@bigfoot.com>
5468 * textmodes/sgml-mode.el (sgml-lexical-context)
5469 (sgml-parse-tag-backward): Extend support for CDATA to include
5470 conditional sections.
5472 2002-04-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5474 * cus-start.el: Rename `autoselect-window' to
5475 `mouse-autoselect-window'.
5477 2002-04-02 Richard M. Stallman <rms@gnu.org>
5479 * files.el (hack-one-local-variable):
5480 Clear text props from string value.
5482 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
5484 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5485 (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
5487 (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
5489 (f90-procedures-re): Add `null' and `cpu_time' from F95.
5490 (f90-font-lock-keywords-1): Minor reorganization so we don't need
5491 `override' any more.
5492 (f90-font-lock-keywords-3): Use `keep' rather than `override'.
5493 (f90-indent-subprogram): Use indent-region.
5494 (f90-break-line): Use indent-according-to-mode.
5496 2002-04-02 Mike Williams <mdub@bigfoot.com>
5498 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
5499 sgml-insert-end-tag. Simplify by using sgml-lexical-context.
5500 (sgml-get-context): Remove use of sgml-inside-tag-p.
5501 (sgml-inside-tag-p): Remove.
5502 (sgml-looking-back-at): Short-circuit at beg of buffer.
5503 (sgml-lexical-context, sgml-calculate-indent): Add support for
5506 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
5508 * help.el (help-key-description): New fun.
5509 (describe-key-briefly, describe-key): Use it and
5510 this-single-command-raw-keys plus new arg `untranslated'.
5512 * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
5513 (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
5514 (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
5515 (sgml-insert-end-tag): New funs taken from xml-lite.el.
5516 (sgml-calculate-indent): Use them.
5517 (sgml-slash-matching): Rename from sgml-slash.
5518 (sgml-slash): Copied from xml-lite and changed to use
5519 sgml-slash-matching and sgml-quick-keys.
5521 * international/mule-cmds.el (standard-keyboard-coding-systems):
5522 Add koi8-u and koi8-r.
5524 * eshell/.cvsignore: New file.
5526 * eshell/esh-groups.el: Remove.
5528 * progmodes/tcl.el: Change maintainer.
5529 (tcl-electric-hash-style): Change default to nil.
5530 (tcl-imenu-generic-expression): Use tcl-proc-regexp.
5531 (tcl-do-auto-fill): Remove.
5532 (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
5534 2002-04-01 Mike Williams <mdub@bigfoot.com>
5536 * textmodes/sgml-mode.el: Doc fixes.
5537 (sgml-mode): Set indent-line-function to sgml-indent-line.
5538 (sgml-calculate-indent): Add an explicit check for 'text syntax,
5539 to protect against future enhancements to sgml-lexical-context.
5540 (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
5542 * textmodes/xml-lite.el: Removed much redundant stuff.
5543 (xml-lite-parse-tag-backward): Simplify parsing by assuming we
5544 always start within text. Make use of sgml-unclosed-tag-p.
5546 2002-04-01 Ville Skytt
\e,Ad
\e(B <ville.skytta@xemacs.org>
5548 * tcl.el (tcl-imenu-generic-expression): New value.
5549 (tcl-imenu-create-index-function): Function deleted.
5550 (tcl-mode): Check for filladapt-mode.
5551 Use tcl-imenu-generic-expression instead of
5552 tcl-imenu-create-index-function.
5553 (inferior-tcl-mode): Doc fix.
5554 Change not legally significant.
5556 2002-04-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5558 * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
5560 * window.el (handle-select-window): New function.
5563 2002-04-01 Richard M. Stallman <rms@gnu.org>
5565 * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
5567 * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
5568 tool-bar-add-item, and new arg MAP.
5569 (tool-bar-add-item): Now calls tool-bar-local-item.
5570 (tool-bar-local-item-from-menu): Renamed from
5571 tool-bar-add-item-from-menu, and new arg IN-MAP.
5572 (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
5574 * help-fns.el (help-with-tutorial): Allow various ways
5575 to specify the text in the [...] line, in handling the <...> line.
5577 * progmodes/idlw-rinfo.el (idlwave-system-routines):
5578 WOLRDTITLE => WORLDTITLE. SUPRESS_VALUE => SUPPRESS_VALUE.
5580 * subr.el (redraw-modeline): Define alias.
5582 2002-03-31 Richard M. Stallman <rms@gnu.org>
5584 * files.el (file-expand-wildcards): Use save-match-data.
5586 * files.el (format-alist): Mark as risky.
5588 * simple.el (kill-new): Doc fix.
5590 * emacs-lisp/byte-opt.el (side-effect-free-fns)
5591 (side-effect-and-error-free-fns): Add many functions, remove some.
5593 2002-03-30 Richard M. Stallman <rms@gnu.org>
5595 * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
5597 2002-03-30 Eli Zaretskii <eliz@gnu.org>
5599 * font-lock.el (save-buffer-state): Fix last change.
5601 * files.el (auto-save-file-name-transforms): Fix last change.
5603 * startup.el (command-line): Fix last change.
5605 2002-03-29 Richard M. Stallman <rms@gnu.org>
5607 * subr.el (play-sound-file): Moved to simple.el.
5609 * simple.el (play-sound-file): Moved from subr.el, made unconditional.
5611 2002-03-29 Colin Walters <walters@verbum.org>
5613 * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
5614 instead of `forward-line'.
5615 (ibuffer-forward-line): Be sure to skip over special properties
5618 * calc/calc.el (calc-was-split): Var deleted.
5619 (calc): Remove reference to it.
5622 (calc-init-base): Ditto.
5624 * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
5626 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
5628 * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
5629 instead of nil when point is outside of any tag.
5630 (sgml-beginning-of-tag): Adjust to the change.
5631 (sgml-calculate-indent): Use the new info returned by
5632 sgml-lexical-context. Try to handle unclosed tags.
5634 * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
5635 at unclosed tags unless it is at indentation.
5636 Kill nested unclosed tags.
5637 (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
5638 (xml-lite-mode): Use sgml-indent-line instead.
5640 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
5642 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
5645 * startup.el (command-line): Recompute auto-save-file-name-transforms
5646 using the updated value of temporary-file-directory.
5648 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
5650 * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
5651 even with an empty context. Don't save excursion any more.
5652 Don't complain about unmatched start-tags in sgml-unclosed-tags.
5653 Ignore end-tags in sgml-empty-tags.
5654 (xml-lite-get-context, xml-lite-calculate-indent)
5655 (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
5656 (xml-lite-indent-line): Use back-to-indentation.
5658 * textmodes/sgml-mode.el (sgml-basic-offset): New var.
5659 (sgml-name-re, sgml-attrs-re): New consts.
5660 (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
5661 (sgml-mode): Use them.
5662 (sgml-lexical-context): Default to (point-min) if nothing else works.
5663 (sgml-calculate-indent): Indent slightly differently.
5664 (sgml-indent-line): Use back-to-indentation.
5665 (sgml-parse-dtd): New function.
5666 (sgml-unclosed-tags): New var.
5667 (html-mode): Set it.
5669 2002-03-29 Simon Marshall <simon.marshall@misys.com>
5671 * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
5673 2002-03-29 Richard M. Stallman <rms@gnu.org>
5675 * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
5676 Use FILTER arg in dired-get-marked-files to exclude directories.
5677 (dired-nondirectory-p): New function.
5679 * dired.el (dired-get-marked-files): New arg FILTER
5680 allows selection of some files.
5682 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
5684 2002-03-29 Eric M. Ludlam <eric@siege-engine.com>
5686 * speedbar.el (speedbar-default-directory-list): Made robust
5687 against deleted directories.
5689 2002-03-28 Richard M. Stallman <rms@gnu.org>
5691 * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
5694 * progmodes/compile.el (compilation-handle-exit):
5695 If compilation-window-height is 0, display status in echo area.
5697 * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
5699 * rect.el (replace-rectangle): Add autoload.
5701 * files.el: Mark many more variables as risky.
5702 (hack-one-local-variable): Recognize several additional
5705 * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
5707 2002-03-28 Stefan Monnier <monnier@cs.yale.edu>
5709 * textmodes/xml-lite.el (xml-lite-in-string-p):
5710 Use sgml-lexical-context.
5711 (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
5712 (xml-lite-get-context): Check that open/close tags match.
5713 Don't stop scanning while we're ignoring matching tags.
5715 * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
5716 (sgml-mode-syntax-table): Use it.
5717 (sgml-tag-syntax-table, sgml-tag-name-re): New const.
5718 (sgml-tags-invisible): Use it.
5719 (sgml-lexical-context): New fun.
5720 (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
5721 (sgml-quote): Accept \n as entity reference terminator.
5722 (sgml-calculate-indent, sgml-indent-line): New funs.
5724 2002-03-28 Andre Spiegel <spiegel@gnu.org>
5726 * vc-cvs.el (vc-cvs-global-switches): New user option.
5727 (vc-cvs-command): New function. Update all callers of
5728 `vc-do-command' in vc-cvs.el to use this instead.
5730 2002-03-27 Andrew Innes <andrewi@gnu.org>
5732 * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
5733 relying on shell globbing.
5735 2002-03-27 Colin Walters <walters@debian.org>
5737 * ibuffer.el (ibuffer-help-buffer-modes): New variable.
5738 (ibuffer-fontification-alist): Use it.
5739 (ibuffer-backward-line): Handle `ibuffer-summary' area.
5740 (ibuffer-forward-line): Ditto.
5742 * ibuf-ext.el (sorter mode-name): Doc fix.
5743 (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
5744 (operation query-replace): Use new `noerror' arg for
5745 `query-replace-read-args'.
5746 (operation query-replace-regexp): Ditto.
5748 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
5750 * textmodes/xml-lite.el: Fix copyright notice.
5751 (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
5752 (xml-lite-indent-comment-offset): Remove.
5753 (xml-lite-calculate-indent): Use new name. Use natural alignment
5755 (xml-lite-in-string-p): Simplify.
5757 2002-03-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5759 * allout.el (outline-layout): Doc fix.
5761 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
5763 * textmodes/xml-lite.el: Don't require `custom'.
5764 (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
5765 (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
5766 (xml-lite-get-context): Drop nested tags not just for comments.
5767 (xml-lite-indent-line): Be more careful about moving point.
5768 (xml-lite-insert-end-tag, xml-lite-slash):
5769 Use indent-according-to-mode instead of xml-lite-indent-line.
5770 (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
5771 Set sgml-xml-mode. Don't call force-mode-line-update.
5772 (xml-lite-mode-map): Don't bind TAB.
5774 2002-03-27 Zoltan Kemenczy <zoltan@ieee.org>
5776 * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
5778 (gud-jdb-build-source-files-list): Comment clarification.
5779 (gud-jdb-massage-args): Reworked into loop-based argument list
5780 processing in order to support -classpath and -sourcepath argument
5782 (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
5783 to gud-jdb-classpath to obtain search list.
5784 (gud-jdb-parse-classpath-string): Remove any trailing slashes from
5785 directory names in classpath/sourcepath lists, update comment.
5786 (jdb): Add setting of gud-jdb-sourcepath, update comment.
5787 (gud-find-class): Add gud-jdb-sourcepath use, and correct
5788 behaviour for the case when classpath is not used--backward
5791 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
5793 * Makefile.in (compile, compile-always): Don't try to compile
5794 non-existent files or files in empty directories.
5796 2002-03-26 Michael Ernst <mernst@alum.mit.edu>
5798 * compare-w.el (compare-windows-whitespace): Match all whitespace.
5800 * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
5801 copy of standard Lisp directories.
5803 * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
5804 Support "next has longname" link type.
5806 2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
5808 * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
5809 (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
5811 (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
5812 (end-of-xml-tag): Remove.
5813 (xml-lite-get-context): Better handling of comments.
5814 (xml-lite-calculate-indent): Use xml-lite-in-string-p.
5815 (xml-lite-parse-tag-backward): Rewrite.
5817 2002-03-26 Juanma Barranquero <lektu@terra.es>
5819 * makefile.w32-in (WINS): Add the toolbar directory.
5821 2002-03-26 Richard M. Stallman <rms@gnu.org>
5823 * subr.el (substring-no-properties): Function deleted (now in C).
5825 2002-03-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5827 * mwheel.el (mouse-wheel-mode): Use global-set-key and
5830 2002-03-24 Richard M. Stallman <rms@gnu.org>
5832 * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
5834 * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
5835 to query-replace-read-args.
5837 * progmodes/compile.el (compilation-forget-errors):
5838 Don't adjust compilation-parsing-end if it's nil.
5840 * replace.el (query-replace-read-args): New optional arg NOERROR.
5841 (perform-replace): Use save-window-excursion around recursive edit.
5843 2002-03-24 Colin Walters <walters@verbum.org>
5845 * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
5846 non-nil, then always use another window.
5848 2002-03-24 Gerd Moellmann <gerd@gnu.org>
5850 * subr.el (macro-declaration-function): New function. Set the
5851 variable macro-declaration-function to it.
5853 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5854 Handle declarations in macro definitions.
5856 2002-03-24 Eli Zaretskii <eliz@is.elta.co.il>
5858 * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
5860 * enriched.el (enriched-face-ans): Support FACE of the form
5861 (:foreground COLOR) and (:background COLOR).
5862 (enriched-decode-foreground, enriched-decode-background): Set the
5863 fore- and background colors of the faces we create, since facemenu
5866 2002-03-24 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5868 * mwheel.el (mouse-wheel-mode): Use the result of
5869 current-global-map instead of the variable `global-map'.
5871 2002-03-23 Richard M. Stallman <rms@gnu.org>
5873 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
5874 broken out of sendmail-pre-abbrev-expand-hook.
5875 (sendmail-pre-abbrev-expand-hook): Use it.
5877 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
5879 * Makefile.in (finder-inf.el): Remove.
5880 (finder-data): Don't depend on finder-inf.el any more.
5881 (compile, compile-always): Handle the case where some files
5882 from DONTCOMPILE are missing (it tried to compile them).
5883 (bootstrap-clean): Use src/emacs only if executable.
5884 (bootstrap): Update subdirs.el and finder-inf.el.
5886 * finder.el: Don't load finder-inf.el during byte-compilation.
5888 * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
5889 Don't consider cvs-removed files as under VC control.
5890 VC wouldn't handle them properly anyway and it confuses
5891 vc-file-not-found-hook.
5893 * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
5894 Add autoload cookie.
5896 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
5898 * calendar/calendar.el (calendar): Doc fix.
5900 2002-03-22 Juanma Barranquero <lektu@terra.es>
5902 * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
5903 (gomoku-font-lock-X-face): Likewise.
5904 (gomoku-font-lock-keywords): Use faces instead of variables.
5906 2002-03-21 Stefan Monnier <monnier@cs.yale.edu>
5908 * Makefile.in (bootstrap): Make sure subdirs.el is ready.
5910 2002-03-21 Kim F. Storm <storm@cua.dk>
5912 * simple.el (open-network-stream, open-network-stream-nowait)
5913 (open-network-stream-server): Use featurep to test for
5914 supported networking features.
5916 2002-03-21 Thien-Thi Nguyen <ttn@gnu.org>
5918 * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
5919 directions as the last action.
5921 2002-03-21 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5923 * startup.el (fancy-splash-tail, normal-splash-screen):
5926 * novice.el (disabled-command-hook): Clarify output text to match
5929 2002-03-20 Jason Rumney <jasonr@gnu.org>
5931 * frame.el (display-images-p): Do not explicitly check display type.
5933 2002-03-20 pmr-sav <pmr-sav@hamm.pajato.com>
5936 Eliminate compilation warnings due to `rfc822-addresses'.
5937 (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
5938 warning free compile.
5940 2002-03-20 Michael Kifer <kifer@cs.stonybrook.edu>
5942 * ediff-diff.el (ediff-install-fine-diff-if-necessary):
5943 Take the current highlighting style into account.
5944 (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
5945 (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
5947 * ediff-init.el (ediff-patch-job): New macro.
5949 * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
5950 (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
5952 * ediff-ptch.el (ediff-map-patch-buffer):
5953 Use ediff-make-new-meta-list-header.
5954 (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
5956 * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
5957 (ediff-select-difference): Take highlighting style into account.
5958 (ediff-clone-buffer-for-region-comparison): New function.
5959 (ediff-inferior-compare-regions): Added comparison of current diff
5962 * ediff.el (ediff-clone-buffer-for-region-comparison)
5963 (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
5965 2002-03-19 pmr-sav <pmr-sav@hamm.pajato.com>
5967 * mail-utils.el (rmail-dont-reply-to):
5968 Overhaul to correctly apply the regular
5969 expressions in the variable `rmail-dont-reply-to-names' to the list of
5970 destination addresses. Contributed by lorentey@elte.hu.
5972 * rmail.el (rmail-dont-reply-to-names):
5973 Modify the documentation to make it email
5974 address centric rather than login name centric. Contributed by
5977 2002-03-18 Colin Walters <walters@verbum.org>
5979 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
5980 we don't require `cl' at runtime.
5981 (sorting mode mode-name): Don't take the symbol-name of a string.
5983 * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
5984 line after setting the mark.
5985 (ibuffer-insert-buffers-and-marks): Invert the test for
5986 `ibuffer-sorting-reversep'.
5988 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
5990 * international/ucs-tables.el (unify-8859-on-decoding-mode)
5991 (unify-8859-on-encoding-mode): Remove autoload cookie.
5993 2002-03-18 Andre Spiegel <spiegel@gnu.org>
5995 * vc-rcs.el (vc-rcs-register): Fix handling of
5996 vc-[rcs-]register-switches.
5997 (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
5998 Variables removed, since they weren't used yet.
6000 * vc-cvs.el (vc-cvs-register): Fix handling of
6001 vc-[cvs-]register-switches.
6003 * vc-sccs.el (vc-sccs-register): Fix handling of
6004 vc-[sccs-]register-switches.
6006 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
6008 * loadup.el ("emacs-lisp/backquote"): Load earlier.
6009 ("international/ucs-tables"): Load and turn on
6010 unify-8859-on-encoding-mode unconditionally.
6011 (emacs-version): Use `defconst' rather than `setq'.
6013 * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
6015 2002-03-18 Richard M. Stallman <rms@gnu.org>
6017 * menu-bar.el (menu-bar-options-menu): Cope if
6018 text-mode-hook is not a list.
6020 2002-03-17 Richard M. Stallman <rms@gnu.org>
6022 * emulation/pc-select.el (pc-selection-mode):
6023 Alter the existing global map, don't replace it.
6025 * files.el (list-directory): Set default-directory at the end.
6027 * dabbrev.el (dabbrev--goto-start-of-abbrev):
6028 Put a limit on field-beginning search.
6030 2002-03-17 Simon Josefsson <jas@extundo.com>
6032 * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
6033 (browse-url-mosaic): Use it.
6035 * net/browse-url.el (browse-url-filename-alist): Don't begin
6036 docstring with *, you don't want to set this one with M-x set-variable.
6038 * net/browse-url.el: Put * in user option doc strings.
6040 2002-03-17 Stefan Monnier <monnier@cs.yale.edu>
6042 * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
6043 (sgml-xml-guess): Simplify.
6044 (sgml-mode-common): Remove (move into sgml-mode).
6045 (sgml-mode): Add code from sgml-mode-common.
6046 Remove redundant setting of indent-line-function.
6047 Don't set skeleton-transformation when in XML mode.
6049 * international/mule-diag.el (describe-char-after):
6050 Use `internal-describe-syntax-value' again (got lost somewhere).
6052 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
6053 Use unify-8859-on-decoding-mode.
6054 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
6055 (ucs-insert): Give an error if the unicode char can't be created.
6057 * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
6058 (cvs-parse-status): Handle the "used to have a conflict" marker.
6060 2002-03-17 Kim F. Storm <storm@cua.dk>
6062 The following changes are related to the enhanced network process
6065 * simple.el: Update copyright.
6066 (clone-process): Use make-network-process to clone network
6067 processes. Get command list via (process-contact ... t).
6068 Use set-process-query-on-exit-flag and process-query-on-exit-flag
6069 instead of process-kill-without-query.
6070 (open-network-stream): Replaces C-version from process.c.
6071 (open-network-stream-nowait, open-network-stream-server): New funs.
6072 (process-kill-without-query): Replaces C-version from process.c.
6074 * files.el: Update copyright.
6075 (save-buffers-kill-emacs): Also check for active server
6076 processes. Use process-query-on-exit-flag. Only list processes
6077 which has the query-on-exit flag set in connection with user query.
6079 * shadowfile.el: Update copyright.
6080 (shadow-save-buffers-kill-emacs): Also check for active server
6081 processes. Use process-query-on-exit-flag.
6083 2002-03-16 Simon Marshall <simon.marshall@misys.com>
6085 * imenu.el (imenu-menubar-modified-tick): Renamed from
6086 imenu-update-menubar-modified-tick.
6087 (imenu-update-menubar): Update imenu-menubar-modified-tick
6088 whenever outer condition succeeds.
6090 * lazy-lock.el (save-buffer-state):
6091 Bind inhibit-modification-hooks and buffer-file-truename
6092 instead of before-change-functions and after-change-functions.
6094 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
6096 * international/codepage.el (codepage-setup): Don't define a
6097 codepage if it is already defined.
6099 * textmodes/po.el (po-content-type-charset-alist): Convert the
6100 car of each association to a string.
6101 (po-find-file-coding-system-guts): If the charset matches a name
6102 of a codepage, set up that codepage and return it as a coding
6103 system to decode the file.
6104 (po-find-charset): Search for the Charset= header even if we've
6106 <top-level>: Remove the setup for all known codepages: it seems
6107 to cause crashes in the CCL driver.
6109 2002-03-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6111 * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
6112 (bibtex-entry-field-alist): Doc fix.
6114 2002-03-16 Richard M. Stallman <rms@gnu.org>
6116 * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
6117 Move definition above cperl-outline-regexp.
6119 * bindings.el (mode-line-mule-info): In computing help-echo prop,
6120 avoid using save-window-excursion. And compile the function.
6122 2002-03-15 Stefan Monnier <monnier@cs.yale.edu>
6124 * files.el (load-completion): New function.
6125 (load-library): Use it.
6127 2002-03-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6129 * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
6130 to match the actual code.
6132 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
6134 * textmodes/po.el (po-find-file-coding-system-guts):
6135 Use with-temp-buffer instead of po-with-temp-buffer.
6137 * international/mule-conf.el (file-coding-system-alist): Add an
6138 association for PO files.
6140 * textmodes/po.el: New file.
6142 2002-03-15 Gerd Moellmann <gerd@gnu.org>
6144 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6145 Fix simple loop indentation.
6147 2002-03-14 Miles Bader <miles@gnu.org>
6149 * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
6151 2002-03-14 Richard M. Stallman <rms@gnu.org>
6153 * textmodes/picture.el (picture-insert)
6154 (picture-clear-column, picture-draw-rectangle):
6155 Use move-to-column, not move-to-column-force.
6157 * dired.el (dired-readin): Clear out undo list.
6158 (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
6159 (dired-delete-entry): New function.
6160 (dired-internal-do-deletions): Use dired-fun-in-all-buffers
6161 and dired-delete-entry, to update this buffer (and others).
6163 * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
6165 * facemenu.el (facemenu-add-new-face):
6166 Pass region args to facemenu-set-face, when there is a region.
6167 (facemenu-set-foreground, facemenu-set-background)
6168 (facemenu-add-face): Doc fixes.
6170 * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
6172 2002-03-14 Miles Bader <miles@gnu.org>
6174 * emacs-lisp/debug.el: Require `button'.
6175 (debugger-mode-map): Set the parent keymap to `button-buffer-map',
6176 to get TAB and <backtab> bindings.
6178 * net/rlogin.el (rlogin-carriage-filter): Function removed.
6179 (rlogin): Don't install the `rlogin-carriage-filter' filter, as
6180 comint removes carriage returns itself now.
6182 * rfn-eshadow.el (rfn-eshadow-update-overlay):
6183 Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
6184 getting hosed by our own intangible property.
6186 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
6188 * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
6189 Add fortran-comment-line-start-skip to comment-start-skip.
6190 (fortran-comment-indent): Keep whole-line comments in column 0.
6191 (fortran-find-comment-start-skip): New arg `all'.
6192 If ALL is nil, make sure we only match comment-start-skip if we
6193 can't match fortran-comment-line-start-skip.
6194 Fix bug that made it return t but without moving point when
6195 matching '!'! (a false-comment followed by a real comment).
6196 (fortran-indent-comment): Use new `all' argument above.
6197 Be careful not to add an incorrect comment-starter like "C"
6199 (fortran-split-line): When splitting a comment, reuse the comment
6200 starter from the current line rather than fortran-comment-line-start.
6201 (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
6202 cleaner behavior of fortran-find-comment-start-skip.
6203 (fortran-fill): Don't be confused by ! inside a comment.
6204 (fortran-break-line): Minor cleanup and simplification.
6206 2002-03-13 Francesco Potorti` <pot@gnu.org>
6208 * progmodes/etags.el (tag-exact-file-name-match-p)
6209 (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
6212 2002-03-12 Colin Walters <walters@debian.org>
6214 * ibuffer.el (ibuffer-redisplay-current): Don't move point when
6215 redisplaying a line.
6217 2002-03-12 Jan D. <Jan.Djarv@mbox200.swipnet.se>
6219 * term/x-win.el (emacs-session-restore): Take previous id as
6221 (emacs-session-save): Add comment that return t means cancel shutdown
6223 * startup.el (command-line): Must check that x-session-previous-id
6224 is bound also, for non-X platforms.
6226 2002-03-12 Gerd Moellmann <gerd@gnu.org>
6228 * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
6229 (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
6231 (extended-loop-p, common-lisp-loop-part-indentation): New functions.
6232 (common-lisp-indent-function-1): Renamed from
6233 common-lisp-indent-function.
6234 (common-lisp-indent-function): Handle loop forms specially.
6235 (lisp-indent-defmethod): Use car/cdr instead of first/rest.
6236 (lisp-backquote-indentation): New user option.
6238 2002-03-12 Francesco Potorti` <pot@gnu.org>
6240 * progmodes/etags.el (tag-exact-file-name-match-p)
6241 (tag-file-name-match-p, tag-partial-file-name-match-p):
6242 Assume that the header of a tags section has either a number
6243 or nothing after the last comma.
6245 2002-03-11 Richard M. Stallman <rms@gnu.org>
6247 * imenu.el (imenu-update-menubar-modified-tick): New variable.
6248 (imenu-update-menubar): Don't call imenu--make-index-alist
6249 if buffer has not changed since last time.
6251 * desktop.el (desktop-buffer-handlers): Doc fix.
6252 (desktop-buffer-file): Explicitly return BUF.
6254 * paren.el (show-paren-function): Move back in other direction
6255 to verify the match is correct.
6257 * mail/supercite.el (sc-select-attribution): Accept whatever value
6258 we get in CHOICE; there is no value meaning "try again".
6260 2002-03-11 Colin Walters <walters@verbum.org>
6262 * shell.el (toplevel): Revert previous change to use pcomplete.
6263 (shell-mode): Ditto.
6264 (shell-pcomplete-setup-done): Remove.
6265 (shell-pcomplete): Ditto.
6266 (shell-pcomplete-reverse): Ditto.
6268 * comint.el: Remove documentation on setting up pcomplete.
6270 2002-03-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6272 * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
6275 * image.el (image-type-from-file-header): Make temporary buffer
6278 * subr.el (add-to-list): Doc fix.
6280 2002-03-11 Miles Bader <miles@gnu.org>
6282 * pcomplete.el (pcomplete-entries): Expand environment variables
6285 2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
6287 * play/mpuz.el: Use defface instead of facemenu-get-face.
6289 2002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se>
6291 * startup.el (command-line): Add call to emacs-session-restore if
6292 both x-session-id and x-session-previous-id are strings.
6294 * term/x-win.el (x-handle-smid): New function.
6295 (emacs-session-filename): New function.
6296 (emacs-session-save): New function.
6297 (emacs-save-session-functions): New variable.
6298 (emacs-session-restore): New function.
6300 2002-03-09 Eli Zaretskii <eliz@is.elta.co.il>
6302 * simple.el (shell-command-on-region): Call push-mark with
6303 non-nil second arg, to suppress the "Mark set" message.
6305 2002-03-08 Richard M. Stallman <rms@gnu.org>
6307 * textmodes/picture.el (picture-forward-column): New arg `interactive'
6308 is non-nil for an interactive call. Use instead of interactive-p.
6309 (picture-backward-column): Likewise.
6311 * tar-mode.el (tar-untar-buffer): New function.
6313 * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
6314 Put the mouse-face on the entire xref, like the local keymap.
6316 * find-dired.el (find-name-dired): Use shell-quote-argument.
6318 2002-03-08 Daniel Pfeiffer <occitan@esperanto.org>
6320 * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
6321 (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
6322 (mpuz-allow-double-multiplicator): New options for nicer look and
6324 (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
6325 (mpuz-check-all-solved, mpuz-random-puzzle)
6326 (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
6327 (mpuz-show-solution): Functions streamlined and removed french
6328 style space before punctuation, added face support and optional
6329 solving of trivial results.
6331 2002-03-07 Colin Walters <walters@verbum.org>
6333 * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
6335 * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
6336 instead of "recency" for clarity.
6337 (ibuffer-compile-format): Document more. Handle new "summarizer"
6339 (ibuffer-fontify-region-function): Ditto.
6340 (ibuffer-insert-buffer-line): Ditto.
6341 (ibuffer-map-lines): Ditto.
6342 (ibuffer-insert-buffers-and-marks): Ditto.
6343 (ibuffer-update-title-and-summary): Renamed from
6344 `ibuffer-update-title'. Handle "summarizer" columns.
6345 (ibuffer-clear-summary-columns): New function.
6347 * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
6349 2002-03-07 Gerd Moellmann <gerd@gnu.org>
6351 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6352 Use the other-window instead of the other-frame functions when
6353 the window is dedicated.
6355 2002-03-06 ShengHuo ZHU <zsh@cs.rochester.edu>
6357 * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
6358 with SILENT so that a new field can be added.
6360 2002-03-06 Eli Zaretskii <eliz@is.elta.co.il>
6362 * files.el (make-auto-save-file-name): Make sure the produced file
6363 name does not contain characters that are invalid for DOS/Windows
6366 * dos-fns.el, w32-fns.el (make-auto-save-file-name):
6367 Remove replacement functions.
6369 2002-03-06 Gerd Moellmann <gerd@gnu.org>
6371 * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
6374 * vc.el (vc-branch-part): Add autoload cookie. This function can
6375 be called from vc-rcs-find-most-recent-rev when visiting a file
6376 checked into RCS in a CVS sandbox.
6378 2002-03-06 Andreas Schwab <schwab@suse.de>
6380 * progmodes/hideif.el: Augment expression parser to handle
6381 conditional expressions.
6382 (hif-token-regexp): Also match `?' and `:'.
6383 (hif-tokenize): Handle `?' and ':' as tokens.
6384 (hif-expr): Parse conditional expressions.
6385 (hif-or-expr): Parse `||' expressions.
6386 (hif-and-expr): Renamed from hif-term.
6387 (hif-conditional): New function to evaluate a conditional
6390 2002-03-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6392 * language/czech.el ("Czech"): Fix the documentation.
6394 * language/slovak.el ("Slovak"): Likewise.
6396 2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
6398 * xml.el (xml-parse-attlist): Accept empty strings.
6400 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
6402 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
6403 all terminals now support highlighting of some kind.
6405 * language/european.el (mac-roman): Fix the safe-chars property.
6407 2002-03-05 Andre Spiegel <spiegel@gnu.org>
6409 * vc.el (vc-transfer-file): Use `make-temp-file'.
6410 (vc-default-update-changelog): Remove conditional use of
6413 * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
6415 2002-03-05 Michael Kifer <kifer@cs.stonybrook.edu>
6417 * ediff-init.el: Comments.
6419 * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
6422 * ediff-mult.el (ediff-intersect-directories)
6423 (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
6425 (ediff-draw-dir-diffs): Now supports the "C" command in directory
6427 (ediff-dir-diff-copy-file): New function that implements copying
6428 of files from one Ediff dir to another
6429 (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
6430 (ediff-append-custom-diff): Better error msgs.
6432 * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
6433 (ediff-inferior-compare-regions): Use
6434 ediff-clone-buffer-for-region-comparison. Better and simpler interface.
6436 * ediff.el (ediff-directories-internal): Cleanup.
6437 (ediff-clone-buffer-for-region-comparison): Better interface.
6439 2002-03-04 Richard M. Stallman <rms@gnu.org>
6441 * emacs-lisp/easy-mmode.el (define-minor-mode):
6442 Use "P" in interactive spec of minor mode commands.
6444 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
6446 * faces.el (face-spec-choose): Allow `t' to appear before the end.
6447 (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
6448 (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
6449 (variable-pitch, trailing-whitespace): Don't use the old-style entries.
6450 (mode-line-inactive, header-line): Move the `t' section to the
6451 beginning so the `:inherit' setting can be shared.
6453 2002-03-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6455 * net/snmp-mode.el: Require tempo when compiling to prevent
6456 warnings. Update copyright notice.
6458 * help.el (describe-key-briefly, describe-key): Interpret `undefined'
6459 like not defined at all.
6461 2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
6463 * textmodes/sgml-mode.el: Change maintainer to FSF.
6464 (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
6465 (sgml-tags-invisible, sgml-beginning-of-tag):
6466 Allow _ : and non-ASCII in tag names, as required for XML.
6467 (sgml-name-char): Don't assume anything about charsets handled by
6470 * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
6471 where one of the buffers is narrowed.
6473 * hexl.el (hexlify-command, dehexlify-command): Remove.
6474 (hexlify-buffer, dehexlify-buffer): Use call-process-region
6475 rather than shell-command-on-region.
6477 * newcomment.el (comment-forward): Use forward-comment to skip
6478 over whitespace (or comments) even when comment-use-syntax is nil.
6480 * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
6482 * textmodes/xml-lite.el: New file.
6484 2002-03-03 Richard M. Stallman <rms@gnu.org>
6486 * textmodes/artist.el (artist-system): Use make-temp-file.
6488 * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
6490 * mail/sendmail.el (mail-recover-1): Increase non-random-len
6491 by 1 since we changed make-auto-save-file-name to add one
6492 fewer character to the buffer name.
6493 (mail-recover): Really show point at the right place
6494 in the *Directory* buffer.
6496 * files.el (make-auto-save-file-name): Use make-temp-file.
6498 * terminal.el (te-create-terminfo): Use make-temp-file
6499 to create the source file in a safe way.
6501 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
6503 * cus-start.el: Rename automatic-hscroll-step and
6504 automatic-hscroll-margin into hscroll-step and hscroll-margin.
6506 * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
6507 (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
6509 * mouse.el (mouse-region-delete-keys): Add deletechar.
6511 2002-03-03 Sam Steingold <sds@gnu.org>
6513 * play/snake.el (snake-score-file): Fixed parens (broken by the
6515 * play/tetris.el (tetris-score-file): Ditto.
6517 2002-03-03 Richard M. Stallman <rms@gnu.org>
6519 * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
6521 * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
6523 * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
6524 (gamegrid-make-mono-tty-face): Fix usage of condition-case.
6526 2002-03-03 Thien-Thi Nguyen <ttn@gnu.org>
6528 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
6529 instead of `buffer-substring-no-properties' to support enriched mode.
6531 2002-03-02 Richard M. Stallman <rms@gnu.org>
6533 * find-dired.el (find-grep-dired): Call shell-quote-argument.
6534 Specify the -e option.
6535 Rename arg to `regexp'.
6537 2002-03-02 Milan Zamazal <pdm@zamazal.org>
6539 * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
6541 2002-03-02 Miles Bader <miles@gnu.org>
6543 * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
6544 event-modifiers before looking up in `mouse-wheel-scroll-amount'.
6545 If there's no applicable modifiers entry in the alist in
6546 `mouse-wheel-scroll-amount', fall back to the default, not to
6547 nil (which causes full screen scrolls).
6549 2002-03-01 Andreas Schwab <schwab@suse.de>
6551 * textmodes/texnfo-upd.el (texinfo-start-menu-description):
6552 Remove extra paren in regexp.
6554 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il>
6556 * mouse.el (mouse-show-mark): Use display-mouse-p, not
6557 display-graphic-p, to decide whether to move point or use the
6560 2002-02-28 Colin Walters <walters@verbum.org>
6562 * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
6564 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
6565 `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
6566 (calc-temp-file-name): Use `make-temp-file'.
6568 2002-02-28 Richard M. Stallman <rms@gnu.org>
6570 * font-lock.el (java-font-lock-extra-types):
6571 Match java.net.URL, etc.
6573 2002-02-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6575 * hexl.el (hexl-options): Doc fix.
6576 Update Commentary section.
6578 * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
6581 2002-02-28 Andre Spiegel <spiegel@gnu.org>
6583 * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
6584 the user to do that first.
6585 (vc-update): New function.
6587 * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
6588 which calls vc-update. Use the term "Base Version" instead of
6589 "Last Version" for the entries "Revert" and "Compare".
6591 2002-02-28 Kim F. Storm <storm@cua.dk>
6593 * simple.el (shell-command-on-region): Report non-zero exit
6594 status in mode line instead of buffer.
6596 2002-02-27 Richard M. Stallman <rms@gnu.org>
6598 * comint.el (comint-preoutput-filter-functions): Doc fix.
6599 (comint-output-filter-functions, comint-input-filter-functions)
6600 (comint-redirect-filter-functions): Likewise.
6602 (comint-redirect-preoutput-filter): Do the local-hook
6603 handling of t when running comint-redirect-filter-functions.
6604 (comint-output-filter): Likewise for comint-preoutput-filter-functions.
6606 2002-02-26 Richard M. Stallman <rms@gnu.org>
6608 * paths.el (remote-shell-program): Add doc string.
6610 2002-02-26 Colin Walters <walters@debian.org>
6612 * ibuf-ext.el (sorter mode-name): New.
6613 (ibuffer-do-occur): Don't quote ibuffer-marked-char.
6615 * calc/calc-ext.el (calc-scroll-left): Call scroll-left
6616 interactively, so they do something.
6617 (calc-scroll-right): Ditto.
6619 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
6621 * international/mule.el (ctext-pre-write-conversion): Handle the
6622 case when FROM is a string, and when we are called from
6623 build_annotations_2.
6625 2002-02-26 Richard M. Stallman <rms@gnu.org>
6627 * rect.el (clear-rectangle-line): Reindent to the same column
6628 that move-to-column reached when it tried to go to endcol.
6630 * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
6632 2002-02-26 Ivar Rummelhoff <ivarru@math.uio.no>
6634 * winner.el (winner-boring-buffers, winner-set): A window which
6635 displays a buffer whose name is in the list
6636 `winner-boring-buffers', will no longer be restored by `winner-undo'.
6637 (winner-sorted-window-list): Used to improve comparison between
6638 window configurations.
6639 (winner-win-data): Simplified and moved.
6640 (winner-conf): Simplified (now uses `winner-win-data').
6641 (winner-change-fun, winner-save-old-configurations)
6642 (winner-save-(un)conditionally, winner-redo): Changes made while in
6643 the minibuffer will be ignored. (Such changes are undone upon
6644 exit for the minibuffer, anyway.)
6645 (winner-set-conf): Preserve selected window whenever possible.
6646 (winner-make-point-alist): Simplified.
6647 (winner-mode, winner-save-unconditionally): Save current window
6648 configuration on entering minibuffer.
6649 (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
6650 since it does not change the overall behavior of Emacs.
6652 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
6654 * international/mule-conf.el (compound-text): Renamed back from
6655 compound-text-no-extensions.
6656 (ctext-no-compositions): Remove the mime-charset property.
6657 (compound-text-with-extensions): Renamed from compound-text.
6658 (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
6660 2002-02-26 Juanma Barranquero <lektu@terra.es>
6662 * faces.el (list-faces-display): Fix typo.
6664 2002-02-25 Richard M. Stallman <rms@gnu.org>
6666 * frame.el (focus-follows-mouse): Doc fix.
6668 2002-02-26 Miles Bader <miles@gnu.org>
6670 * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
6671 to `define-key', since it no longer accepts the latter.
6673 2002-02-25 Jason Rumney <jasonr@gnu.org>
6675 * term/w32-win.el (mouse-wheel-scroll-line): Use car of
6676 mouse-wheel-scroll-amount.
6678 * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
6681 * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
6683 2002-02-25 Andre Spiegel <spiegel@gnu.org>
6685 * vc.el (vc-diff-switches-list): Fix prev change, making the macro
6686 consistent with the others that take a backend name as a symbol.
6688 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
6690 2002-02-25 Kim F. Storm <no-spam@cua.dk>
6692 * comint.el (comint-replace-by-expanded-filename): Do nothing if
6693 comint-match-partial-filename returns nil.
6695 * shell.el (shell-pcomplete-setup-done): New variable.
6696 (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
6697 (shell-pcomplete-reverse): Ditto.
6699 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
6701 * ps-print.el (ps-print-printer): Added `lpr' customize group member.
6703 2002-02-25 Juanma Barranquero <lektu@terra.es>
6705 * subr.el (save-match-data): Doc fix.
6707 * ielm.el (ielm-prompt): Allow customization; make it read-only.
6709 2002-02-25 Kim F. Storm <storm@cua.dk>
6711 * shell.el (shell-mode-map): Add "Complete" header so completion
6712 menu is shown on the menu bar in shell mode.
6714 2002-02-25 Stefan Monnier <monnier@cs.yale.edu>
6716 * ielm.el (ielm-match-data): New var.
6717 (inferior-emacs-lisp-mode): Make it buffer-local.
6718 (ielm-eval-input): Use it to preserve match-data between inputs.
6720 2002-02-24 Juanma Barranquero <lektu@terra.es>
6722 * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
6724 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
6726 * cus-edit.el (custom-unlispify-remove-prefixes): Add to
6727 `custom-buffer' customize group.
6729 2002-02-23 Kim F. Storm <storm@cua.dk>
6731 * help.el (where-is): Use remap-command.
6733 * help-fns.el (describe-function-1): Use remap-command.
6735 * subr.el (global-set-key, local-set-key): Undo 2002-02-06
6736 change (no longer accept a symbol for the KEY argument).
6738 2002-02-23 Colin Walters <walters@debian.org>
6740 * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
6741 * calc/calcalg2.el (math-solve-get-sign): Ditto.
6743 * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
6744 in generated function.
6746 * ibuf-ext.el (ibuffer-old-time): Change to hours.
6747 (ibuffer-mark-old-buffers): Handle it.
6749 * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
6750 (toplevel): Bind them.
6751 (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
6752 not necessary now that we use pcomplete.
6754 * comint.el: Document how use new pcomplete completion facility.
6756 2002-02-23 Richard M. Stallman <rms@gnu.org>
6758 * mail/rmailsum.el (rmail-summary-output): Properly advance
6759 to next message, by calling rmail-summary-goto-msg.
6761 * net/browse-url.el (browse-url-galeon): Specify --existing
6762 for an existing window. Use --noraise rather than --no-raise.
6765 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
6767 * progmodes/etags.el (find-tag-noselect, find-tag)
6768 (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
6769 Fix a typo in doc strings.
6771 2002-02-20 Deepak Goel <deego@glue.umd.edu>
6773 * play/snake.el (snake-velocity-queue, snake-update-velocity)
6774 (snake-final-x-velocity, snake-final-y-velocity):
6775 New variable and functions. Store user's keypresses
6776 into a queue and pop from the queue each subsequent turn.
6777 (snake-update-game, snake-move-left)
6778 (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
6779 (snake-start-game): Use that queue.
6780 (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
6781 (snake-use-color-flag): Likewise.
6782 (snake-mode): Rename uses of those variables.
6784 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
6786 Support for ICCCM Extended Segments in X selections:
6788 * international/mule-conf.el (ctext-no-compositions): New coding
6790 (compount-text-no-extensions): Renamed from compound-text.
6791 (x-ctext-no-extensions, ctext-no-extensions): Aliases for
6792 compound-text-no-extensions.
6793 (compound-text): Redefined using post-read and pre-write conversions.
6795 * international/mule.el (non-standard-icccm-encodings-alist)
6796 (non-standard-designations-alist): New variables.
6797 (ctext-post-read-conversion, ctext-pre-write-conversion):
6800 2002-02-21 Jonathan Kamens <jik@kamens.brookline.ma.us>
6802 * vc.el (vc-default-init-version): Update documentation to
6803 indicate that the backend can override the default init version.
6804 (vc-register): Use the backend init-version function, if it
6805 exists, to determine the initial version of a file.
6806 (vc-diff-switches-list): Don't symbol-quote backend, since it's
6807 already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
6809 * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
6810 not version-controlled. This is necessary, e.g., if the file has
6811 just been reverted, and thus was previously under version control
6812 but isn't any longer.
6813 (vc-find-file-hook): Likewise.
6815 2002-02-21 Martin Lorentzson <Martin.Lorentzson@telia.com>
6817 * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
6818 (vc-cvs-sticky-tag-display): New variable.
6819 (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
6820 (vc-cvs-checkin): If the input revision is a valid symbolic tag
6821 name, we create it as a branch, commit and switch to it.
6822 (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
6823 (vc-cvs-valid-symbolic-tag-name-p): New function.
6824 (vc-cvs-parse-sticky-tag): New function.
6825 (vc-cvs-parse-entry): Added parsing of sticky tags.
6827 2002-02-21 Per Abrahamsen <abraham@dina.kvl.dk>
6829 * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
6830 nil, and then explicitly set the standard-value to t.
6832 2002-02-20 Sam Steingold <sds@gnu.org>
6834 * textmodes/flyspell.el (flyspell-mode): Autoload the variable
6835 since it is used in the menu bar.
6837 2002-02-20 Richard M. Stallman <rms@gnu.org>
6839 * simple.el (shell-command-on-region): Display the exit status
6840 when a command fails.
6842 * subr.el (add-hook): Doc fix.
6844 * frame.el (other-frame): Doc fix.
6846 * simple.el (yank): Clear `field' property.
6848 2002-02-20 Tom Tromey <tromey@cachet>
6850 * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
6851 natural paragraph boundaries. Don't fail at beginning of buffer.
6853 2002-02-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6855 * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
6856 call the argument "arg" to match plain next-line and
6857 previous-line. From Kevin Ryde <user42@zip.com.au>.
6859 2002-02-19 Sam Steingold <sds@gnu.org>
6861 * mwheel.el (mouse-wheel-scroll-amount): Can specify different
6862 scroll amounts for different modifiers now.
6863 (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
6865 (mouse-wheel-mode): Ditto.
6867 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
6869 * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
6870 around function body.
6872 * net/browse-url.el (browse-url-maybe-new-window): Reverse the
6873 sense of the comparison, to match the doc strings of functions
6874 that use this macro.
6876 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
6878 * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
6880 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
6881 * menu-bar.el (menu-bar-mode): Ditto.
6883 2002-02-18 Andreas Schwab <schwab@suse.de>
6885 * replace.el (query-replace-regexp-eval): Doc fix.
6887 2002-02-18 Colin Walters <walters@verbum.org>
6889 * calc/calcalg2.el (math-solve-get-int): Convert return value from
6890 `math-get-from-counter' to a string before calling `concat' on it.
6892 * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
6893 (calc-public-autoloads): Obsolete; remove.
6894 (calc-private-autoloads): Ditto.
6895 (calc-add-autoloads): Ditto.
6897 * calc/calc-macs.el (calc-with-default-simplification): Use &rest
6900 2002-02-17 Jason Rumney <jasonr@gnu.org>
6902 * w32-win.el (x-option-alist, x-long-option-alist)
6903 (x-switch-definitions): Remove, use command-line-x-option-alist
6904 instead to be consistent with X.
6905 (x-handle-initial-switch): New function.
6907 2002-02-17 Eli Zaretskii <eliz@is.elta.co.il>
6909 * faces.el (mode-line-inactive, header-line): Add the :inherit
6910 attribute for the tty case.
6912 2002-02-17 stanislav shalunov <shalunov@internet2.edu>
6914 * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
6915 invoked from Rmail with full headers displayed.
6917 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
6919 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
6921 * textmodes/paragraphs.el (mark-paragraph): Ditto.
6923 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
6925 * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
6926 (menu-bar-tools-menu): Removed speedbar.
6928 * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
6929 and `flyspell-mode' entries.
6931 * textmodes/flyspell.el (flyspell): Add to ispell group.
6933 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
6935 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
6937 (mark-defun): Mark more if repeated.
6939 2002-02-17 Colin Walters <walters@verbum.org>
6941 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
6943 * ibuffer.el (ibuffer-truncate-lines): New option.
6944 (ibuffer-mode): Use it.
6946 2002-02-17 Kim F. Storm <storm@cua.dk>
6948 * cus-start.el: Add mouse-highlight.
6950 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
6952 * Makefile.in (DONTCOMPILE): Remove cus-start.el.
6954 * cus-start.el: Add automatic-hscroll-margin and
6955 automatic-hscroll-step.
6957 2002-02-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6959 * cus-start.el (x-autoselect-window): Allow customization.
6961 * eshell/em-alias.el (eshell-alias-initialize): Do not use
6964 * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
6966 * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
6968 * eshell/em-glob.el (eshell-glob-initialize): Likewise.
6970 * eshell/em-hist.el (eshell-hist-initialize): Likewise.
6972 * eshell/em-pred.el (eshell-pred-initialize): Likewise.
6974 * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
6976 * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
6978 * eshell/em-smart.el (eshell-smart-initialize): Likewise.
6980 * eshell/em-unix.el (eshell-unix-initialize): Likewise.
6982 * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
6984 * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
6986 * eshell/esh-io.el (eshell-io-initialize): Likewise.
6988 * eshell/esh-mode.el (eshell-mode): Likewise.
6990 * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
6992 * eshell/esh-var.el (eshell-var-initialize): Likewise.
6994 * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
6996 * progmodes/idlwave.el (idlwave-mode): Likewise.
6998 * textmodes/reftex-sel.el (reftex-select-label-mode)
6999 (reftex-select-bib-mode): Likewise.
7001 2002-02-16 John Wiegley <johnw@gnu.org>
7003 * eshell/em-hist.el (eshell-hist-initialize): When in the
7004 minibuffer, use the global value of `eshell-history-ring', and
7005 never save it to disk, or ask to save it to disk. This allows
7006 users of session.el to control whether its global state should be
7008 (eshell-add-command-to-history): Don't write Eshell's history out
7009 to disk, let the governing mode control that upon exit.
7011 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
7013 * eshell/eshell.el (eshell-command): Before reading from the
7014 minibuffer, add eshell-add-command-to-history to
7015 minibuffer-exit-hook, and remove it after read-from-minibuffer
7018 * eshell/em-hist.el (eshell-add-input-to-history): New function,
7019 with most of the code from eshell-add-to-history.
7020 (eshell-add-command-to-history): New function, to record in
7021 eshell-history the commands run via eshell-command.
7022 (eshell-add-to-history): Call eshell-add-command-to-history to do
7025 2002-02-16 John Wiegley <johnw@gnu.org>
7027 * eshell/esh-ext.el (eshell-external-command): Added a fix for
7028 XEmacs' new dired.el, which adds a global entry in the
7029 `file-name-handler-alist'.
7031 2002-02-16 John Wiegley <johnw@gnu.org>
7033 * align.el (align-region): Added a missing name argument.
7035 2002-02-16 John Wiegley <johnw@gnu.org>
7037 * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
7038 after the #! of a shell interpretor specification.
7040 2002-02-15 Richard M. Stallman <rms@gnu.org>
7042 * help.el (describe-key-briefly): Make output in INSERT case
7043 look just like what is displayed in the normal case.
7045 2002-02-15 Andreas Schwab <schwab@suse.de>
7047 * textmodes/tex-mode.el (tex-font-lock-keywords-2):
7048 Require non-letter after specials.
7050 2002-02-15 Eli Zaretskii <eliz@is.elta.co.il>
7052 * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
7054 2002-02-15 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7056 * simple.el (mark-word): Mark more if repeated.
7057 * textmodes/paragraphs.el (mark-paragraph): Ditto.
7058 (mark-end-of-sentence): Ditto.
7060 2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
7062 * wid-edit.el (widgetp): Made it more robust.
7064 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
7066 * facemenu.el (describe-text-done): New function.
7067 (describe-text-mode-map): New variable.
7068 (describe-text-mode-hook): New option.
7069 (describe-text-mode): New function.
7070 (describe-text-widget): New function.
7071 (describe-text-sexp): New function.
7072 (describe-text-properties): New function.
7073 (describe-text-category): New command.
7074 (describe-text-at): New command.
7075 (facemenu-menu): Replace `list-text-properties-at' with
7076 `describe-text-at' in the menu.
7078 * wid-edit.el (widgetp): New function.
7079 * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
7081 * emacs-lisp/pp.el (pp-to-string): Autoloaded.
7083 * wid-browse.el: Removed version and x-url keywords.
7085 2002-02-13 Kim F. Storm <storm@cua.dk>
7087 * cus-start.el (mode-line-in-non-selected-windows):
7088 Allow customization.
7090 2002-02-13 Richard M. Stallman <rms@gnu.org>
7092 * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
7093 Tell bibtex-parse-keys to output no progress messages.
7095 2002-02-12 Eli Zaretskii <eliz@is.elta.co.il>
7097 * progmodes/pascal.el (pascal-imenu-generic-expression):
7098 Add menu-title and fix parentheses.
7100 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
7102 * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
7103 (menu-bar-options-menu): Don't set default value for `truncate-lines'.
7105 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
7107 * menu-bar.el (menu-bar-options-save): Only save
7108 `current-language-environment' and `default-input-method' when
7109 marked as customized.
7111 * international/mule-cmds.el
7112 (setup-specified-language-environment):
7113 Mark `current-language-environment' as customized.
7114 (set-input-method): Mark `default-input-method' as customized when
7115 called interactively.
7116 (toggle-input-method): Ditto.
7118 2002-02-11 Colin Walters <walters@verbum.org>
7120 * ibuffer.el (ibuffer-switch-format): Supply required argument for
7121 `ibuffer-current-formats'.
7123 2002-02-11 Miles Bader <miles@gnu.org>
7125 * faces.el (mode-line-inactive): Add dark-background variant.
7127 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
7129 * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
7130 * menu-bar.el (menu-bar-mode): Ditto.
7131 * cus-edit.el (customize-mark-to-save): Always save variables
7132 without a standard value.
7134 * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
7135 (menu-bar-options-save): Ditto.
7136 (menu-bar-showhide-menu): Ditto.
7137 (menu-bar-options-menu): Ditto.
7138 (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
7139 (menu-bar-scroll-bar-none): Remove.
7140 (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
7141 expressions instead.
7143 * cus-edit.el (customize-set-value): Return value.
7144 (customize-set-variable): Ditto.
7145 (customize-save-variable): Ditto.
7146 (customize-set-variable): Load dependencies before setting value.
7147 (custom-load-symbol): Autoload it.
7148 (customize-mark-as-set): New function.
7150 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
7152 * cus-start.el: Don't warn about "x-*" symbols when building a
7155 2002-02-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7157 * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
7159 (strokes-help): Do not use doubled with-output-to-temp-buffer.
7160 Fix the help string.
7161 (strokes-prompt-user-save-strokes): Fix typo.
7162 (strokes-list-strokes): Use proper exit-action argument for
7163 view-buffer. Update copyright notice.
7165 * international/mule-diag.el: Various doc and message fixes.
7166 (non-iso-charset-alist): Add mac-roman. Don't add entries for
7167 codepages already present.
7168 (list-block-of-chars): Display space for null entries in
7169 translation table. Display tab specially.
7170 (list-non-iso-charset-chars): Check for null charsets. Use pop
7171 for clarity. Don't break 8-bit sets into sections between ranges.
7172 (list-charset-chars): Avoid indent-tabs-mode.
7173 (describe-char-after): Maybe use the text property for syntax
7174 table information. Maybe report char-code-property-table info.
7175 Maybe report character's unicode. Tweak printing of list info.
7176 (list-input-methods): Add xref buttons.
7177 (dump-charsets, dump-codings): Deleted (obsolete).
7178 From Dave Love <fx@gnu.org>.
7180 2002-02-10 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7182 * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
7184 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
7186 * viper-util.el (viper-read-key-sequence): Fix so it'll read
7187 fast key sequences in emacs native mode
7188 (viper-events-to-keys): Delete.
7190 * viper.el (describe-key, describe-key-briefly): Get rid of
7191 viper-events-to-keys.
7193 * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
7195 * ediff-wind.el (ediff-setup-control-frame):
7196 Use ediff-has-gutter-support.
7198 * ediff-util.el (ediff-dispose-of-variant-according-to-user):
7199 check if buff is alive.
7201 * ediff.el: Typo in comment.
7203 2002-02-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7205 * menu-bar.el (menu-bar-options-save): Take care of
7206 line-number-mode and column-number-mode variables.
7207 (menu-bar-showhide-menu): New menu-items "Show Line Number" and
7208 "Show Column Number" in "Show/Hide" menu.
7210 2002-02-09 Richard M. Stallman <rms@gnu.org>
7212 * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
7214 2002-02-09 Kim F. Storm <storm@cua.dk>
7216 * faces.el (mode-line-inactive): New face for mode-line for
7217 non-selected windows.
7218 (mode-line): Doc fix: Only used for selected window.
7220 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7222 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
7223 name to "Insert Diary Entry".
7225 2002-02-08 Stefan Monnier <monnier@cs.yale.edu>
7227 * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
7228 (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
7230 2002-02-08 Richard M. Stallman <rms@gnu.org>
7232 * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
7234 2002-02-08 Andreas Schwab <schwab@suse.de>
7236 * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
7239 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7241 * net/ange-ftp.el (ange-ftp-process-handle-line)
7242 (ange-ftp-set-xfer-size): If the file's size is a float, divide
7243 by 1024 instead of using ash.
7245 * international/mule-cmds.el (select-safe-coding-system):
7246 State the buffer's name in the message popped in the *Warning* buffer,
7247 and make sure the offending buffer is displayed.
7249 2002-02-07 Markus Rost <rost@math.ohio-state.edu>
7251 * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
7253 2002-02-07 Richard M. Stallman <rms@gnu.org>
7255 * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
7257 * register.el (list-registers): New command.
7258 (describe-register-1): New subroutine, taken out of view-register.
7260 * emacs-lisp/copyright.el (copyright-regexp):
7261 Delete the unibyte copyright symbol; it's redundant.
7262 Fix a spazz in the multibyte encoding here.
7264 2002-02-07 Dave Love <fx@gnu.org>
7266 * language/cyril-util.el (cyrillic-encode-koi8-r-char)
7267 (cyrillic-encode-alternativnyj-char): Get translation tables from
7268 symbol properties, not as variables.
7269 (standard-display-cyrillic-translit): Include unicodes.
7271 2002-02-06 Kim F. Storm <storm@cua.dk>
7273 * help.el (where-is): Report remapped commands.
7275 * help-fns.el (describe-function-1): Ditto.
7277 * subr.el (global-set-key, local-set-key): Accept a symbol for the
7278 KEY argument (like define-key).
7280 2002-02-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7282 * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
7284 2002-02-06 Richard M. Stallman <rms@gnu.org>
7286 * mail/mailabbrev.el: Require sendmail only at compile time.
7287 (mail-mode-header-syntax-table): Var deleted.
7288 (mail-abbrev-syntax-table): Init to nil, will compute when needed.
7289 (sendmail-pre-abbrev-expand-hook): Only temporarily change
7290 local-abbrev-table and the syntax table.
7291 Compute mail-abbrev-syntax-table if that has not been done.
7293 * progmodes/compile.el (grep-compute-defaults): Definition moved up.
7295 * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
7296 (debugger-frame-number): Figure out the offset directly.
7297 (debugger-setup-buffer): Don't use debugger-frame-offset.
7298 (debugger-frame, debugger-frame-clear): Likewise.
7299 (debugger-jump): Don't alter debugger-frame-offset.
7301 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
7302 Replace foo-p as var name with foo-flag, not foo-p-flag.
7304 * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
7305 (highlight-changes-passive-string): Default to -Chg.
7306 (highlight-changes-global-modes): Doc fix.
7308 * dired.el (dired-get-filename): Add /: when appropriate
7309 to avoid taking a local name as remote.
7311 * files.el (file-name-non-special): Add special handling for
7312 file-name-sans-versions, file-name-completion, and
7313 file-name-all-completions.
7315 * isearch.el (isearch-update): Don't update display in kbd macro.
7316 (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
7318 * subr.el (force-mode-line-update): Doc fix.
7320 * subr.el (atomic-change-group, prepare-change-group)
7321 (activate-change-group, accept-change-group, cancel-change-group):
7324 * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
7325 (transpose-subr-1): Use atomic-change-group.
7327 * subr.el (add-minor-mode): Include the mode's lighter string
7328 in the minor mode menu item name.
7330 * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
7331 rmail-count-screen-lines starting from (point-min).
7333 * startup.el (use-fancy-splash-screens-p): Need 19 lines,
7334 beyond the image height, to use the fancy splash screen.
7336 * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
7337 (text-mode): Set text-mode-variant here.
7339 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
7341 * play/pong.el (pong-height): Don't use height that exceeds the
7343 (pong-border-options): Make the border colors slightly more bright.
7345 * play/gamegrid.el (gamegrid-display-type): Treat any
7346 color-capable display as color-x, if display-color-p is fboundp.
7347 (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
7348 (gamegrid-make-color-tty-face): Use the value of color, not the
7349 symbol itself. Don't call gamegrid-color.
7351 2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
7353 * gud.el (gud-refresh): Call recenter only after we are sure we
7354 are in the right window.
7356 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
7358 * cus-edit.el (customize-mark-to-save): New function.
7359 * menu-bar.el (menu-bar-options-save): Rewrote.
7361 2002-02-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7363 * cus-start.el (x-use-underline-position-properties):
7364 Allow customization.
7366 2002-02-04 Simon Josefsson <jas@extundo.com>
7368 * dired.el (dired-load-hook, dired-mode-hook)
7369 (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
7371 2002-02-03 Colin Walters <walters@verbum.org>
7373 * ibuf-ext.el (ibuffer-filter-format-alist)
7374 (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
7376 * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
7377 is now the Emacs CVS tree.
7378 (ibuffer-formats): Doc fix.
7379 (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
7380 (ibuffer-current-format): Use them.
7381 (ibuffer-recompile-formats, ibuffer-check-formats)
7382 (ibuffer-switch-format, ibuffer-update-title):
7383 Add support for ibuffer-filter-format-alist.
7384 (define-ibuffer-column process): Remove unncessary consing.
7386 * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
7387 for a summary column.
7389 2002-02-03 Andreas Schwab <schwab@suse.de>
7391 * window.el (save-selected-window): Move macro before first use.
7392 (balance-windows): Fix misplaced parenthesis.
7394 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7396 * calculator.el (calculator-displayers): Doc fixes.
7398 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7400 * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
7401 (menu-bar-options-save): Save also the value of `display-time-mode'.
7402 (showhide-date-time): New function.
7403 (menu-bar-showhide-menu): New menu-item "Date and time".
7405 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
7407 * mail/rmail.el (rmail): Use find-buffer-visiting instead of
7408 get-file-buffer to check for rmail buffer existence.
7410 * term.el (term-emulate-terminal): Extract proper command string
7411 which is supplied to term-command-hook.
7413 2002-02-03 Richard M. Stallman <rms@gnu.org>
7415 * international/quail.el (quail-help): Don't call help-setup-xref.
7417 * international/mule-cmds.el (describe-input-method):
7418 Call help-setup-xref here.
7419 (describe-current-input-method): Doc fix.
7421 * novice.el (disabled-command-hook): Clarify output text.
7422 Indent the paragraph from the command's doc string.
7424 * dabbrev.el (dabbrev--goto-start-of-abbrev):
7425 Exit loop on beginning of field rather than bobp.
7427 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
7429 * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
7430 the message text into the *mail* buffer, and restore the pruned
7433 * mail/rmail.el (rmail-redecode-body): Prune the headers before
7434 looking for X-Coding-System header, and restore the pruned state
7437 2002-02-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7439 * cus-edit.el (customize-save-variable): Fix typo in prompt.
7441 These changes integrate new version of flyspell.el from its
7442 maintainer, Manuel Serrano:
7444 * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
7445 (flyspell-mode-on, flyspell-notify-misspell)
7446 (flyspell-small-region, flyspell-external-point-words)
7447 (flyspell-large-region): Use it
7448 (flyspell-before-incorrect-word-string)
7449 (flyspell-after-incorrect-word-string): New user options.
7450 (make-flyspell-overlay): Use them.
7451 (flyspell-version): New function.
7452 (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
7453 definitions to use :weight.
7454 (flyspell-insert-function): New user option.
7455 (flyspell-auto-correct-word, flyspell-correct-word)
7456 (flyspell-xemacs-correct): Use it.
7457 (flyspell-define-abbrev): New function.
7458 (flyspell-auto-correct-word, flyspell-correct-word)
7459 (flyspell-xemacs-correct): Use it.
7460 (make-flyspell-overlay): Use `evaporate' property.
7461 (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
7462 (flyspell-emacs-popup): Use `session' instead of `accept'.
7463 (flyspell-auto-correct-previous-pos): New variable.
7464 (flyspell-auto-correct-previous-hook)
7465 (flyspell-auto-correct-previous-word): New functions.
7467 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
7469 * novice.el (enable-command): If Emacs was invoked as "emacs -q",
7470 don't alter the user's ~/.emacs.
7471 (disable-command): If user-init-file is nil or does not exist,
7472 default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
7473 But don't alter the init file if Emacs was invoked as "emacs -q"
7475 2002-02-01 Stefan Monnier <monnier@cs.yale.edu>
7477 * mail/sendmail.el (mail-mode): Undo half of last change.
7479 * indent.el (indent-for-tab-command): Remove spurious code.
7481 * hi-lock.el (hi-lock-find-patterns): Save restriction.
7483 2002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
7485 * calendar/time-date.el: Moved from lisp/gnus.
7487 * calendar/parse-time.el: Ditto.
7489 2002-01-31 Richard M. Stallman <rms@gnu.org>
7491 * international/iso-acc.el (iso-languages): Fix ", " in French.
7493 * cus-start.el (history-length): Specify customization for it.
7495 * emacs-lisp/debug.el (debugger-setup-buffer):
7496 When an eval-buffer frame was reading from a buffer,
7497 insert indication of the buffer position.
7498 (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
7499 (debugger-frame-clear, debugger-frame): Error on non-frame line.
7501 * simple.el (shell-command-on-region): Err if no mark
7502 before reading the command string.
7504 * hl-line.el (hl-line-highlight, hl-line-unhighlight):
7505 Definitions moved down after hl-line-mode var's definition.
7507 * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
7508 (hilit-chg-set-face-on-change): Rename arg.
7509 (hilit-chg-make-ov): Detect error earlier.
7511 * ediff-hook.el: Delete autoload cookies.
7513 * comint.el (comint-scroll-show-maximum-output): Default is t.
7515 * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
7516 (batch-byte-compile-if-not-done): New function.
7518 * Makefile.in (compile): New target.
7519 (compile-always): Renamed from compile-files.
7520 (compile-after-backup): Renamed from compile.
7521 (bootstrap): Depend on compile-always, not compile-files.
7523 * emulation/pc-select.el (pc-select-save-and-set-mode):
7524 Properly use MODE-VAR.
7526 2002-01-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7528 * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
7529 Version" to "About Emacs".
7530 (menu-bar-options-save): Add `default-frame-alist'
7532 (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
7533 of the variable `scroll-bar-mode'.
7535 * startup.el (normal-splash-screen, display-splash-screen):
7536 New functions (separated from command-line-1).
7537 (command-line-1): Use them.
7539 2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
7541 * calendar/calendar.el (generate-calendar-month): Doc fix.
7543 2002-01-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7545 * time.el (display-time-mail-directory): New option.
7546 (display-time-mail-function): Update doc-string.
7547 (display-time-mail-icon): Use XPM image when available.
7548 (display-time-string-forms): Use more descriptive text as
7550 (display-time-mail-check-directory): New function.
7551 (display-time-update): Use it.
7553 * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
7554 Quote `window-system'.
7556 * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
7557 Add Keywords header. Update Commentary section.
7558 Update copyright notice.
7560 * menu-bar.el (menu-bar-scroll-bar-right)
7561 (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
7562 (showhide-menu-bar): New functions.
7563 (menu-bar-showhide-menu): New submenu "Show/Hide".
7564 (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
7566 Update copyright notice.
7568 2002-01-27 Eli Zaretskii <eliz@is.elta.co.il>
7570 * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
7572 2002-01-26 Evgeny Roubinchtein <evgenyr@cs.washington.edu>
7574 * pc-select.el (pc-selection-mode-hook)
7575 (pc-select-saved-settings-alist, pc-select-map)
7576 (pc-select-saved-global-map, pc-select-key-bindings-alist)
7577 (pc-select-default-key-bindings, pc-select-extra-key-bindings)
7578 (pc-select-meta-moves-sexps-key-bindings)
7579 (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
7581 (pc-select-define-keys, pc-select-restore-keys): New functions.
7582 (pc-select-add-to-alist, pc-select-save-and-set-var)
7583 (pc-select-save-and-set-mode, pc-select-restore-var)
7584 (pc-select-restore-mode): New macros.
7585 (pc-selection-mode): Completely rewrote the body of the function;
7586 the main goal was to make pc-selection-mode "turn-off"-able, like
7587 other minor modes. Use define-minore-mode instead of just a
7588 defun. Store the key bindings into four alists:
7589 pc-select-default-key-bindings, pc-select-extra-key-bindings,
7590 pc-select-meta-moves-sexps-key-bindings, and
7591 pc-select-tty-key-bindings; then have the pc-select-define-keys
7592 function walk those alists instead of calling define-key
7593 repeatedly. When the mode is turned on, set the
7594 keybindings in global-map and remember the old keybindings; when
7595 the mode is turned off, restore the previously-saved keybindings.
7596 (pc-selection-mode defcustom): Reflect the fact that the mode is
7597 now "turn-off"-able.
7599 2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
7601 * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
7602 returns t, don't treat that as an error.
7604 2002-01-25 Jason Rumney <jasonr@gnu.org>
7606 * faces.el (face-font-registry-alternatives) [windows-nt]:
7607 Add ms-oemlatin as an alternative for iso8859-1.
7609 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
7611 * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
7612 args and the absence of an entry. Don't add -f each time.
7614 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
7616 * emacs-lisp/cl-seq.el (mismatch): Doc fix.
7618 Support for more than 8 colors on character terminals:
7620 * term/rxvt.el: New file.
7622 * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
7624 * term/xterm.el (xterm-standard-colors): New variable.
7625 (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
7626 (xterm-rxvt-set-background-mode): New functions.
7627 (toplevel): Call xterm-register-default-colors,
7628 xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
7629 Add support for more keys from xterm's terminfo entry.
7631 * facemenu.el (list-colors-display): If the argument is nil, don't
7632 show more colors that the number returned by display-color-cells.
7634 * term/pc-win.el (msdos-color-values): Reverse the order of the
7635 colors, since tty-color-define now preserves the registration order.
7637 * w32-fns.el (w32-tty-standard-colors): Reverse the order.
7639 * term/tty-colors.el (tty-standard-colors): Reverse the order.
7640 (tty-register-default-colors): New function; code moved from
7641 startup.el's command-line.
7642 (tty-modify-color-alist): Use nconc instead of cons, to preserve
7643 the order the colors where registered.
7645 * frame.el (display-color-cells): Use tty-display-color-cells.
7647 * startup.el (command-line): Call tty-register-default-colors.
7649 2002-01-25 Richard M. Stallman <rms@gnu.org>
7651 * subr.el (remove): Doc fix.
7653 2002-01-24 Richard M. Stallman <rms@gnu.org>
7655 * progmodes/compile.el (compilation-handle-exit):
7656 Add a compilation-handle-exit property to the "finished" message.
7657 (compilation-parse-errors): Stop parsing when that property is seen.
7659 * subr.el (substring-no-properties): New function.
7660 (copy-without-properties): Function deleted.
7662 * term/x-win.el (x-handle-geometry): Put sizes on both
7663 initial-frame-alist and default-frame-alist.
7665 * cus-edit.el (custom-save-all): Bind file-precious-flag to t
7668 * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
7670 * calendar/calendar.el (generate-calendar-month): Doc fix.
7672 2002-01-23 Richard M. Stallman <rms@gnu.org>
7674 * play/tetris.el (tetris): New defgroup.
7675 (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
7676 (tetris-default-tick-period): Convert to defcustom.
7677 Added * in docstring to indicate user variable.
7678 (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
7679 (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
7680 (tetris-buffer-height, tetris-width, tetris-height)
7681 (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
7683 2002-01-22 Stefan Monnier <monnier@cs.yale.edu>
7685 * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
7686 and is already matched by adaptive-fill-regexp.
7688 2002-01-22 Richard M. Stallman <rms@gnu.org>
7690 * bindings.el (mode-line-copied-mode-name): New variable.
7691 (mode-line-mode-name): Don't modify mode-name itself!
7692 Instead, make a copy and reuse it.
7694 * subr.el (copy-without-properties): New function.
7696 * progmodes/sh-script.el (sh-set-shell): Doc fix.
7698 * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
7699 slash if DIR is just slash.
7701 * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
7703 2002-01-21 Richard M. Stallman <rms@gnu.org>
7705 * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
7707 * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
7710 * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
7712 * ibuffer.el: Don't require ibuf-ext at load time.
7713 (ibuffer): Require ibuf-ext here.
7715 2002-01-21 Francesco Potorti` <pot@gnu.org>
7717 * generic-x.el (apache-conf-generic-mode): Highlight the first
7718 word in a line even if preceded by blanks.
7720 2002-01-21 Richard M. Stallman <rms@gnu.org>
7722 * window.el (window-body-height): Handle minibuffer window specially.
7723 Otherwise, don't return less than 1.
7725 2002-01-20 Thomas Dorner <Thomas.Dorner@start.de>
7727 * ange-ftp.el: Added support for BS2000, and for raw ftp
7728 login commands (needed in some circumstances).
7729 (ange-ftp-raw-login): New custom var.
7730 (ange-ftp-normal-login): Perform login with raw ftp commands, if
7731 ange-ftp-raw-login is set and account password is needed.
7732 (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
7733 (ange-ftp-bs2000-filename-pubset-regexp)
7734 (ange-ftp-bs2000-filename-username-regexp)
7735 (ange-ftp-bs2000-filename-prefix-regexp)
7736 (ange-ftp-bs2000-name-template): New consts.
7737 (ange-ftp-bs2000-short-filename-regexp)
7738 (ange-ftp-bs2000-fix-name-regexp-reverse)
7739 (ange-ftp-bs2000-fix-name-regexp): New consts.
7740 (ange-ftp-bs2000-special-prefix): New custom var.
7741 (ange-ftp-fix-name-for-bs2000)
7742 (ange-ftp-fix-dir-name-for-bs2000): New funs.
7743 (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
7744 (ange-ftp-bs2000-posix-hook-installed): New vars.
7745 (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
7746 (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
7747 (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
7748 (ange-ftp-bs2000-filename-regexp): New const.
7749 (ange-ftp-bs2000-additional-pubsets): New custom var.
7750 (ange-ftp-bs2000-cd-to-posix): New fun.
7752 2002-01-20 Colin Walters <walters@verbum.org>
7754 * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
7755 with `byte-compile-dynamic'.
7756 (ibuffer-default-directory, toplevel): Doc files.
7758 2002-01-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7760 * tempo.el (tempo-define-template): Doc fix.
7762 * scroll-bar.el (scroll-bar-mode): Make argument optional.
7764 2002-01-20 Jason Rumney <jasonr@gnu.org>
7766 * w32-vars.el: New file.
7768 * loadup.el [windows-nt]: Load it.
7770 * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
7771 and make them defcustoms.
7773 * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
7775 2002-01-19 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7777 * language/tibet-util.el (tibetan-decompose-region)
7778 (tibetan-decompose-string): Fix typo in docstring.
7780 * ruler-mode.el (ruler-mode): New keyword. Fix :version.
7782 2002-01-18 Richard M. Stallman <rms@gnu.org>
7784 * comint.el (comint-redirect-send-command-to-process):
7785 Restore previous current buffer.
7787 * window.el (window-body-height): New function.
7789 2002-01-18 Zoltan Kemenczy <kemenczy@rogers.com>
7791 * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
7792 "Finish Function" menu map entries for jdb mode.
7793 (gud-jdb-use-classpath): New customization variable.
7794 (gud-jdb-command-name): Add customization.
7795 (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
7796 (gud-jdb-classpath-string): New variable.
7797 (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
7798 (gud-jdb-build-source-files-list): Likewise.
7799 (gud-jdb-massage-args): Record any command argument classpath
7800 string in `gud-jdb-classpath-string'.
7801 (gud-jdb-lowest-stack-level): New function, finds bottom of current
7802 java call stack in jdb output.
7803 (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
7804 (gud-jdb-parse-classpath-string): New functions.
7805 (gud-jdb-marker-filter): Search/detect classpath information in
7806 jdb's output. marker regexp updated to match oldjdb and jdb output
7807 formats. Expand search for source files to include new/old methods
7808 using new functions above. Do not allow `gud-marker-acc' to grow
7810 (jdb): Set classpath information (if available) as jdb is started.
7811 Change `gud-break' and `gud-remove'
7812 to use new %c ("class") escape in format strings.
7813 Add `gud-finish', `gud-up', `gud-down' command string functions, and
7814 add them to the local menu map. Update `comint-prompt-regexp' for
7815 jdb and oldjdb. If attaching to an already running java VM and
7816 configured to use classpath, send command to query for classpath,
7817 else use previous method for finding and parsing java
7818 sources. Set `gud-jdb-find-source' function accordingly.
7819 (gud-mode): Doc fix.
7820 (gud-format-command): Add support for new %c ("class") escape.
7821 (gud-find-class): New function in support of %c escape.
7823 2002-01-17 Richard M. Stallman <rms@gnu.org>
7825 * ibuf-ext.el: Enable byte-compile-dynamic.
7827 2002-01-17 Jason Rumney <jasonr@gnu.org>
7829 * term/w32-win.el: Restore conditional require of fontset.
7831 2002-01-16 Richard M. Stallman <rms@gnu.org>
7833 * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
7835 (mouse-drag-region): New function. For a click in the echo area,
7838 * ibuf-ext.el: Delete the autoloads for functions defined with
7839 ibuffer-specific commands.
7841 * help.el (describe-distribution): Really call view-file.
7843 * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
7844 (ange-ftp-get-process): Pass that arg.
7846 * comint.el (comint-simple-send): Fix previous change.
7848 * net/telnet.el (telnet-simple-send): Fix previous change.
7850 * progmodes/sql.el (sql-escape-newlines-and-send)
7851 (sql-query-placeholders-and-send): Fix previous change.
7853 2002-01-16 Colin Walters <walters@verbum.org>
7855 * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
7856 URL, Compatibility headers. Update copyright notice.
7857 * ibuf-macs.el (toplevel): Require `cl' when compiling.
7859 2002-01-16 Andrew Choi <akochoi@cse.cuhk.edu.hk>
7861 * startup.el (command-line): Set EOL mnemonics for the Mac.
7863 2002-01-16 Andreas Schwab <schwab@suse.de>
7865 * mail/feedmail.el (feedmail): Fix :link spec.
7867 2002-01-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7869 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
7872 * net/eudc.el: New maintainer. Change author's address.
7873 (eudc-pre-select-window-configuration, eudc-insertion-marker):
7875 (eudc-insert-selected): Function removed.
7876 (eudc-select): Reimplemented.
7877 (eudc-expand-inline): Delete the strings only after its expansion
7878 is chosen not before.
7880 * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
7881 Minor coding style fixes.
7883 * net/eudcb-ldap.el: New maintainer. Change author's address.
7884 (eudc-attribute-display-method-alist): Display mail with
7887 * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
7888 * net/eudc-vars.el: New maintainer. Change author's address.
7890 * net/eudc-bob.el: New maintainer. Change author's address.
7891 (eudc-bob-mail-keymap): New keymap for e-mail addresses.
7892 (eudc-display-mail): New function.
7893 (eudc-bob-play-sound-at-point): Remove XEmacs case.
7895 2002-01-15 Richard M. Stallman <rms@gnu.org>
7897 * emacs-lisp/autoload.el (make-autoload):
7898 Don't handle define-ibuffer-column, define-ibuffer-filter,
7899 define-ibuffer-sorter, and define-ibuffer-op.
7901 2002-01-14 Richard M. Stallman <rms@gnu.org>
7903 * calendar/calendar.el (diary-date-forms): Doc fix.
7905 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
7907 * startup.el (command-line): Register the default tty colors even
7908 if the terminal doesn't seem to support colors.
7909 <tty-long-option-alist>: New option --color.
7910 (tty-handle-args): Parse the --color arg.
7912 * term/tty-colors.el (tty-color-mode-alist): New variable.
7914 2002-01-14 Stefan Monnier <monnier@cs.yale.edu>
7916 * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
7917 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
7919 (ange-ftp-hook-function): Preserve match-data.
7920 (ange-ftp-insert-directory): Typo.
7921 (ange-ftp-shell-command): Check if regexp matched.
7923 2002-01-13 Richard M. Stallman <rms@gnu.org>
7925 * international/mule-cmds.el: help-map bindings moved to help.el.
7927 * help.el (view-echo-area-messages): New function.
7928 (help-map): Add `e' binding. Delete obsolete `d' binding.
7929 Change old Info bindings C-f, C-k and C-i to F, K, S.
7930 Move view-emacs-FAQ from F to C-f.
7931 Move view-emacs-problems from P to C-e.
7932 Bindings moved here from mule-cmds.el.
7933 C-l binding for describe-language-environment deleted
7934 (help-for-help): Update for all these changes.
7936 * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
7938 2002-01-13 Dave Love <fx@gnu.org>
7940 * emacs-lisp/copyright.el: Doc fixes.
7941 (copyright-regexp): Add Latin-9 copyright sign.
7942 Match comment delimiters in year lists.
7943 (copyright-current-year): Initialize to load-time year.
7945 2002-01-13 Andreas Schwab <schwab@suse.de>
7947 * dired-aux.el (dired-do-shell-command): Doc fix.
7949 2002-01-13 Jan Djarv <Jan.Djarv@mbox200.swipnet.se>
7951 * startup.el (command-line-x-option-alist): New options "-fs",
7952 "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
7954 * term/x-win.el (x-handle-initial-switch): New function.
7956 2002-01-13 Colin Walters <walters@debian.org>
7958 * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
7959 define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
7961 * emacs-lisp/lisp-mode.el (toplevel): Ditto.
7963 * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
7965 2002-01-12 Richard M. Stallman <rms@gnu.org>
7967 * net/browse-url.el (browse-url-grail):
7968 Use browse-url-maybe-new-window.
7970 * net/telnet.el (telnet-simple-send):
7971 Handle comint-input-sender-no-newline like comint-simple-send.
7973 * progmodes/sql.el (sql-query-placeholders-and-send):
7974 Handle comint-input-sender-no-newline like comint-simple-send.
7975 (sql-escape-newlines-and-send): Likewise.
7977 * comint.el (comint-input-sender): Doc fix.
7978 (comint-input-sender-no-newline): New variable.
7979 (comint-simple-send): If comint-input-sender-no-newline,
7980 don't output newline, but maybe send eof.
7981 (comint-send-input): New arg NO-NEWLINE.
7982 (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
7984 2002-01-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7986 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7987 Prevent delaying when executing keyboard macros.
7989 2002-01-12 Richard M. Stallman <rms@gnu.org>
7991 * simple.el (line-move): If we can't move enough lines,
7992 go to beginning or end of line.
7994 * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
7997 * help.el (describe-mode): Call help-setup-xref in the help buffer.
7998 Switch buffers only after calling `help-buffer'.
8000 * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
8001 only when they are surrounded by whitespace.
8002 Use dired-mark-separator when adding one file name to a command.
8003 (dired-do-shell-command): Verify that * is surrounded by whitespace.
8004 Ask for confirmation if * or ? is not surrounded by whitespace.
8005 (dired-bunch-files): Re-reverse the partial file list when it is used.
8007 2002-01-12 Richard M. Stallman <rms@gnu.org>
8009 * comint.el (comint-dynamic-list-completions): Repeating the command
8010 after displaying a completion list scrolls the list.
8012 2002-01-12 Eli Zaretskii <eliz@is.elta.co.il>
8014 * files.el (find-file-noselect): Don't consider a buffer as
8015 visiting a file literally if it is in hexl-mode.
8017 * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
8019 2002-01-11 Richard M. Stallman <rms@gnu.org>
8021 * startup.el (initial-scratch-message): Fix custom type, add group.
8023 * mail/rmail.el (rmail-decode-babyl-format): Disable undo
8024 around the decode-coding-region call.
8026 * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
8027 after displaying a completion list scrolls the list.
8029 2002-01-11 Eli Zaretskii <eliz@is.elta.co.il>
8031 * version.el (emacs-version): Bump to 21.2.50.
8033 2002-01-10 Thien-Thi Nguyen <ttn@giblet.glug.org>
8035 * play/zone.el (zone-timeout): New var.
8036 (zone-hiding-modeline): New macro.
8037 (zone-call): New func.
8039 (zone): Init `modeline-hidden-level' symbol property.
8040 Use `zone-call' instead of `funcall'.
8042 (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
8044 (zone-pgm-stress): Use `zone-hiding-modeline'.
8046 (zone-pgm-stress-destress): New zone program.
8048 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
8050 * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
8052 2002-01-09 Richard M. Stallman <rms@gnu.org>
8054 * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
8056 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
8058 * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
8061 2002-01-08 Richard M. Stallman <rms@gnu.org>
8063 * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
8065 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
8067 * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
8069 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8071 * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
8072 Do not use make-local-hook.
8074 2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
8076 * international/quail.el (quail-start-translation)
8077 (quail-start-conversion): Bind last-command-event, last-command,
8078 and this-command in the first let. This fixes the change from
8081 2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
8083 * ediff-hook.el: Add an autoload cookie.
8085 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8087 * net/eudcb-ph.el, net/ldap.el: New maintainer. New e-mail
8088 address of the author.
8090 2002-01-08 Richard M. Stallman <rms@gnu.org>
8092 * replace.el (occur-mode-goto-occurrence-other-window): New command.
8093 (occur-mode-map): Bind `o' to that.
8095 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
8097 * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
8098 new macro that replaces viper-emacs-p and viper-xemacs-p in many
8099 cases. Used to reduce the number of warnings.
8101 * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
8102 (viper-standard-value): Move here from viper.el.
8103 (viper-set-unread-command-events): Move to viper-util.el
8104 (viper-check-minibuffer-overlay): Make sure
8105 viper-minibuffer-overlay is moved to cover the entire input field.
8107 * viper-util.el: use viper-cond-compile-for-xemacs-or-emacs.
8108 (viper-read-key-sequence, viper-set-unread-command-events)
8109 (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
8111 * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
8113 * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
8115 * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
8117 * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
8118 (viper-event-vector-p): Move to viper-util.el
8120 * viper.el (viper-standard-value): Move to viper-cmd.el.
8121 Use viper-cond-compile-for-xemacs-or-emacs.
8123 * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8125 * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8127 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
8128 New macro designed to be used in many places where ediff-emacs-p or
8129 ediff-xemacs-p was previously used. Reduces the number of warnings.
8130 Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
8132 (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
8133 (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
8134 (ediff-whitespace-diff-region-p, ediff-get-region-contents):
8135 Move to ediff-util.el.
8136 (ediff-event-key): Moved here.
8138 * ediff-merge.el: Got rid of unreferenced variables.
8140 * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8142 * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8143 (ediff-cleanup-mess): Improve the way windows are set up after
8145 (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
8146 (ediff-dispose-of-variant-according-to-user): New function
8147 designed to be smarter and also understands indirect buffers.
8148 (ediff-highlight-diff-in-one-buffer)
8149 (ediff-unhighlight-diff-in-one-buffer)
8150 (ediff-unhighlight-diffs-totally-in-one-buffer)
8151 (ediff-highlight-diff, ediff-highlight-diff)
8152 (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
8153 (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
8154 (ediff-get-region-contents, ediff-make-current-diff-overlay):
8156 (ediff-format-bindings-of): New function by Hannu Koivisto
8158 (ediff-setup): Make sure the merge buffer is always widened and
8160 (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
8161 result of a merge into a file visited by another buffer.
8162 (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
8163 is visited by another buffer and ask to save/delete that buffer.
8164 (ediff-verify-file-merge-buffer): New function to do the above.
8166 * ediff-vers.el: Load ediff-init.el at compile time.
8168 * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8170 * ediff.el (ediff-windows, ediff-regions-wordwise)
8171 (ediff-regions-linewise): Use indirect buffers to improve
8172 robustness and make it possible to compare regions of the same
8173 buffer (even overlapping regions).
8174 (ediff-clone-buffer-for-region-comparison)
8175 (ediff-clone-buffer-for-window-comparison): New functions.
8176 (ediff-files-internal): Refuse to compare identical files.
8177 (ediff-regions-internal): Get rid of the warning about comparing
8178 regions of the same buffer.
8180 * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
8181 Plus the following fixes courtesy of Dave Love: Doc fixes.
8182 (ediff-word-1): Use word class and move - to the
8183 front per regexp documentation.
8184 (ediff-wordify): Bind forward-word-function outside loop.
8185 (ediff-copy-to-buffer): Use insert-buffer-substring rather than
8186 consing buffer contents.
8187 (ediff-goto-word): Move syntax table setting outside loop.
8189 2002-01-07 Richard M. Stallman <rms@gnu.org>
8191 * dired.el (dired-copy-filename-as-kill): Call kill-append
8192 if following a kill command.
8194 * help-fns.el (describe-variable, describe-function):
8197 2002-01-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8199 * net/ldap.el (ldap-search-internal): Skip error message from
8200 ldapsearch. Allow listing attribute names only. Do not open
8203 * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
8204 call non-existent function.
8206 * net/eudc.el (top-level): Revert previous change.
8208 * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
8209 variables to prevent warning from byte-compiler.
8211 * net/eudc.el (top-level): Use eudc-xemacs-p instead of
8212 string-match on emacs-version again.
8214 * enriched.el (enriched-make-annotation): Fix the change from
8216 (enriched-handle-display-prop): Return proper values.
8218 * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
8219 Use proper attribute name labeledUri instead of deprecated labeledUrl.
8221 2002-01-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8223 * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
8224 editing an empty hotlist.
8226 * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
8227 Use buffer-string instead of buffer-substring for the whole buffer.
8229 * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
8232 * net/eudc-bob.el (eudc-bob-can-display-inline-images)
8233 (eudc-bob-display-jpeg): Use fboundp instead of boundp.
8234 (eudc-bob-save-object): Make the buffer unibyte.
8235 (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
8236 object to external program.
8238 2002-01-05 Andre Spiegel <spiegel@gnu.org>
8240 * vc.el (vc-branch-part): Return nil if there's no `.'
8241 (vc-default-previous-version): Renamed from vc-previous-version.
8242 New args BACKEND and FILE. Return nil for revision numbers
8244 (vc-version-diff): Call vc-BACKEND-previous-version.
8245 (vc-steal-lock): Steal lock before composing mail, so that no mail
8246 is sent when the stealing goes wrong. And we'll actually see the
8247 error in that case now.
8248 (vc-finish-steal): Removed.
8250 * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
8251 the lock, so that we see expanded headers.
8252 (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
8253 (vc-rcs-minor-part, vc-rcs-previous-version): Removed. These are
8254 available from vc.el. Updated all callers.
8256 2002-01-05 Richard M. Stallman <rms@gnu.org>
8258 * enriched.el (enriched-make-annotation): Doc fix.
8260 * format.el (format-replace-strings, format-subtract-regions)
8261 (format-annotate-region, format-annotate-location)
8262 (format-annotate-atomic-property-change)
8263 (format-annotate-single-property-change): Doc fixes.
8265 2002-01-05 Jason Rumney <jasonr@gnu.org>
8267 * term/w32-win.el: Require fontset unconditionally.
8268 (w32-handle-scroll-bar-event): Remove.
8270 2002-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8272 * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
8273 copyrights to be updated.
8275 2002-01-04 Eli Zaretskii <eliz@is.elta.co.il>
8277 * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
8280 * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
8282 2002-01-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8284 * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
8285 (ldap-ignore-attribute-codings): Change the default value to allow
8286 encoding/decoding of attributes.
8287 (ldap-coding-system): Use UTF-8 as the coding-system. Doc fix.
8289 2002-01-03 Richard M. Stallman <rms@gnu.org>
8291 * files.el (basic-save-buffer): Undo previous change.
8293 * calendar/diary-lib.el (diary-block): Doc fix.
8295 * custom.el (defcustom): Fix syntax of previous change.
8297 2002-01-03 Per Abrahamsen <abraham@dina.kvl.dk>
8299 * custom.el (defcustom): Documented :tag, :link and :load.
8301 2002-01-03 Eli Zaretskii <eliz@is.elta.co.il>
8303 * mail/sendmail.el (mail-recover-1): New function.
8304 (mail-recover): Switch to the *mail* buffer right away.
8305 Use buffer-auto-save-file-name instead of calling
8306 make-auto-save-file-name. Call dired-noselect instead of invoking
8307 `ls' directly. Bind coding-system-for-read to emacs-mule-unix
8308 before reading the auto-save file. If the buffer's auto-save file
8309 does not exist, call mail-recover-1 to allow recovery from past
8312 2002-01-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8314 * time.el (display-time-load-average-threshold): Fix defcustom
8315 (add type and group).
8317 * net/ange-ftp.el (ange-ftp-shell-command): Remove port
8318 specification from the hostname.
8320 2002-01-02 Richard M. Stallman <rms@gnu.org>
8322 * facemenu.el (facemenu-active-faces):
8323 Use face-attributes-as-vector, not face-attributes-vector.
8325 2002-01-02 Chris Hanson <cph@aarau.ai.mit.edu>
8327 * xscheme.el: Eleven years of updates on a private copy.
8329 Extensive changes to support multiple xscheme buffers:
8330 (run-scheme): Break up into new functions to facilitate starting
8331 processes in other buffers.
8332 (xscheme-start, xscheme-read-command-line): New functions.
8333 (start-scheme, select-scheme)
8334 (default-xscheme-runlight)
8335 (global-set-scheme-interaction-buffer)
8336 (local-set-scheme-interaction-buffer)
8337 (local-clear-scheme-interaction-buffer)
8338 (exit-scheme-interaction-mode)
8339 (verify-xscheme-buffer): New functions.
8340 (xscheme-process-name, xscheme-buffer-name)
8341 (xscheme-runlight): New internal vars.
8342 (default-xscheme-runlight): New const.
8343 (xscheme-start-process): Add args for the process/buffer names.
8344 (reset-scheme): Pass process/buffer names.
8345 (scheme-interaction-mode): Initialize new local vars.
8346 (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
8347 (xscheme-select-process-buffer, xscheme-process-buffer)
8348 (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
8349 (xscheme-goto-output-point, xscheme-write-message-1): Use new
8350 var xscheme-process-name.
8351 (xscheme-start-process): Initialize xscheme-process-name and
8352 xscheme-buffer-name in the process buffer. Pass buffer name to
8353 xscheme-modeline-initialize.
8354 (xscheme-modeline-initialize): Add argument to specify buffer name
8356 (xscheme-process-sentinel): Make sure sentinel is run in the
8357 process buffer so it sees its local vars.
8358 (xscheme-process-filter-initialize, xscheme-set-runlight):
8359 More elaborate logic to handle multiple-buffer mode lines.
8361 (xscheme-enter-input-wait): Re-enable control-G handler upon
8362 entering input wait.
8364 (scheme-interaction-mode): Add arg to preserve local vars.
8365 (xscheme-enter-interaction-mode)
8366 (xscheme-enter-debugger-mode): Preserve local vars.
8367 (xscheme-start-process): Clobber local vars.
8369 (scheme-interaction-mode-commands): Allow end user to add commands
8370 to scheme-interaction-mode keymap.
8371 (scheme-interaction-mode-commands-alist): New variable.
8373 (xscheme-send-string): Don't use insert-before-markers.
8375 Implement a per-buffer kill ring:
8376 (xscheme-insert-expression)
8377 (xscheme-rotate-yank-pointer, xscheme-yank)
8378 (xscheme-yank-pop, xscheme-yank-push): New functions.
8379 (xscheme-expressions-ring)
8380 (xscheme-expressions-ring-yank-pointer)
8381 (xscheme-expressions-ring-max): New variables.
8382 (xscheme-send-string-1): Call xscheme-insert-expression to save
8384 (xscheme-yank-previous-send): Now an alias for xscheme-yank.
8385 (xscheme-previous-send): Deleted variable.
8387 (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
8388 (xscheme-send-control-g-interrupt): Use process-send-string rather
8391 (xscheme-send-region): Insert a newline after an expression that
8392 is submitted in the interaction buffer, for consistency with
8393 recent changes to Edwin.
8395 (xscheme-delete-output): New function mimics comint-delete-output.
8396 (xscheme-last-input-end): New internal variable.
8397 (xscheme-process-filter-output): Update xscheme-last-input-end.
8399 (xscheme-send-control-g-interrupt): Make sure that
8400 xscheme-control-g-disabled-p is looked up in the right buffer.
8402 (xscheme-enable-control-g): Clear C-g message if visible.
8403 (xscheme-control-g-message-string): New internal var.
8404 (xscheme-send-control-g-interrupt): Use new var.
8406 (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
8407 Delay after sending interrupt in order to work around race condition.
8409 (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
8410 (xscheme-send-char): Use xscheme-send-char rather than send-string
8411 to send single char.
8413 (xscheme-process-filter, xscheme-process-filter-alist):
8414 Add support for evaluating expressions outside of the call-excursion.
8415 (xscheme-process-filter:string-action-noexcursion): New func.
8417 (xscheme-write-value): Change output string to match that used by
8420 (xscheme-coerce-prompt): Don't write a space after a command
8421 prompt. The PROMPT-FOR-COMMAND- procedures will take care of this
8424 (reset-scheme): Delete process after killing it.
8426 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
8428 * bindings.el (function-key-map): Don't bind shifted keypad
8431 2002-01-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8433 * enriched.el (enriched-handle-display-prop): Remove unused variables.
8434 (enriched-mode): Doc fix.
8436 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
8438 * international/ucs-tables.el (ucs-8859-8-alist): Comment away
8441 2002-01-01 Richard M. Stallman <rms@gnu.org>
8443 * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
8445 2001-12-31 Richard M. Stallman <rms@gnu.org>
8447 * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
8448 * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
8449 * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
8450 * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
8451 * progmodes/cperl-mode.el, progmodes/idlwave.el:
8452 * progmodes/sh-script.el, progmodes/vhdl-mode.el:
8453 Adapt face definitions to use :weight and :slant.
8455 * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
8457 * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
8459 * font-lock.el (initializing from font-lock-face-attributes):
8460 Use :weight and :slant, not :bold and :italic.
8462 2001-12-31 Per Abrahamsen <abraham@dina.kvl.dk>
8464 * cus-edit.el (custom-face-edit-fix-value): New function.
8465 (custom-face-edit): Use it, to convert :italic and :bold to new forms.
8467 2001-12-30 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8469 * progmodes/octave-mod.el (octave-abbrev-table):
8470 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
8471 * progmodes/fortran.el (fortran-mode-abbrev-table):
8472 * progmodes/f90.el (f90-mode-abbrev-table):
8473 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
8474 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
8475 predefined abbrevs as "system" abbrevs.
8477 2001-12-30 Richard M. Stallman <rms@gnu.org>
8479 * info.el (Info-fontify-node): For a **** underline line, put the
8480 invisible and intangible props on the following newline, but not
8481 on the previous newline or the last char of the previous line.
8483 * faces.el (face-set-after-frame-default): Don't change `default' face.
8485 * faces.el (minibuffer-prompt): Adopt some default colors.
8487 * replace.el (query-replace-read-args): Immediate error if read-only.
8489 * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
8490 Display the output buffer in a more intelligent way.
8492 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
8494 * ls-lisp.el (insert-directory): Modify the "total" line wording,
8495 in accordance with files.el's insert-directory.
8497 2001-12-29 Richard M. Stallman <rms@gnu.org>
8499 * files.el (basic-save-buffer): If a before-write hook displays
8500 an echo area message, pause before calling basic-save-buffer-1.
8502 2001-12-29 Markus Rost <rost@math.ohio-state.edu>
8504 * textmodes/reftex-global.el (reftex-query-replace-document)
8505 (reftex-change-label): Doc fix.
8507 * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
8509 * progmodes/etags.el (tags-query-replace): Doc fix.
8511 2001-12-29 Richard M. Stallman <rms@gnu.org>
8513 * progmodes/compile.el (compile-internal): Fix previous change.
8515 2001-12-28 Richard M. Stallman <rms@gnu.org>
8517 * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
8518 shrink the windows above as necessary to get space.
8519 (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
8521 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
8522 This fixes a bug that treated all files as directories.
8523 (ange-ftp-insert-directory): Explicitly follow symlinks.
8525 * international/iso-transl.el (iso-transl-char-map) Eliminate the
8526 alias symbols--put the translated sequences here directly.
8528 * progmodes/cc-mode.el (c-mode-abbrev-table)
8529 (c++-mode-abbrev-table, objc-mode-abbrev-table)
8530 (java-mode-abbrev-table, pike-mode-abbrev-table):
8531 Mark all the predefined abbrevs as "system" abbrevs.
8533 * mail/sendmail.el (mail-envelope-from): Fix custom type.
8534 (sendmail-send-it): Check mail-specify-envelope-from
8535 and mail-envelope-from in the mail buffer at start.
8537 2001-12-28 Simon Josefsson <jas@extundo.com>
8539 * mail/sendmail.el (mail-envelope-from): Fix :type.
8540 (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
8542 2001-12-28 Richard M. Stallman <rms@gnu.org>
8544 * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
8546 * simple.el (line-move-invisible): New subroutine.
8547 (line-move-to-column): New subroutine--smarter about advancing over
8548 invisible parts of a line, or lines, but only as long as hpos grows.
8549 (line-move-finish): New subroutine: repeatedly processes desired
8550 column, intangibility, and fields.
8551 (line-move): Use those subroutines.
8552 When moving lines downward, skip invisible text first rather than last.
8554 2001-12-27 Richard M. Stallman <rms@gnu.org>
8556 * international/mule-diag.el (describe-char-after):
8557 Describe the text properties of the char after point.
8559 * help.el (describe-key): Doc fix.
8561 2001-12-26 Markus Rost <rost@math.ohio-state.edu>
8563 * find-dired.el (find-dired-sentinel): Precede exit message by
8564 two spaces, to match the regexp in dired-between-files.
8566 2001-12-28 Miles Bader <miles@gnu.org>
8568 * wid-edit.el (widget-toggle-value-create): Don't eval actual
8569 images (which are lists too).
8571 2001-12-27 Eli Zaretskii <eliz@is.elta.co.il>
8573 * language/european.el: Fix the doc string of "Latin-5" language
8576 2001-12-26 Richard M. Stallman <rms@gnu.org>
8578 * textmodes/flyspell.el (flyspell-mode-map): New keymap,
8579 defined as before 2001-11-09.
8580 (add-minor-mode call): Specify the keymap.
8582 * progmodes/compile.el (compile-internal):
8583 Set TERM variable in process-environment.
8585 2001-12-25 Richard M. Stallman <rms@gnu.org>
8587 * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
8590 * startup.el (command-line): Convert command line args
8591 to Emacs internal representation using locale-coding-system.
8593 2001-12-25 Eli Zaretskii <eliz@is.elta.co.il>
8595 * international/fontset.el: Don't require ind-util when compiling.
8597 2001-12-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8599 * emulation/tpu-edt.el (tpu-reset-screen-size):
8600 Use set-frame-height and set-frame-width instead of set-screen-height
8601 and set-screen-width.
8603 * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
8604 of obsolete set-screen-width.
8606 * locate.el (locate): Remove dot at the end of error argument.
8608 * emerge.el (emerge-show-file-name): Use frame-height instead of
8609 obsolete screen-height.
8611 * mail/mh-utils.el (mh-show-msg): Likewise.
8612 (mh-handle-process-error): Use frame-width instead of obsolete
8615 2001-12-25 Richard M. Stallman <rms@gnu.org>
8617 * window.el (balance-windows): Use new PRESERVE-BEFORE arg
8618 to enlarge-window. Use save-selected-window. Don't try
8619 to resize windows that end at the bottom "level".
8620 Retry changing the sizes until the windows get the desired sizes.
8621 Discount the minibuffer when computing total height available.
8623 * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
8624 (debugger-make-xrefs): Only make a button for the first symbol
8627 2001-12-24 Eli Zaretskii <eliz@is.elta.co.il>
8629 * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
8630 Call IT-setup-unicode-display here instead of adding it to
8631 dos-codepage-setup-hook, so that Unicode display tables are set
8632 before dos-codepage-setup-hook runs.
8634 2001-12-24 Richard M. Stallman <rms@gnu.org>
8636 * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
8637 (nslookup-mode-abbrev-table): Don't define it.
8638 (smbclient-mode-abbrev-table): Don't define it.
8639 (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
8640 (nslookup-mode, smbclient-mode): Likewise.
8641 (network-connection-service-abbrev-alist): Variable deleted.
8642 (network-connection-mode-setup): Don't set up abbrev table.
8644 * faces.el (minibuffer-prompt): New face.
8645 (minibuffer-prompt-properties): Add `face' property.
8647 * replace.el (occur-mode-display-occurrence): New function.
8648 (occur-mode-map): Bind C-o to it.
8650 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
8652 * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
8653 (viper-special-read-and-insert-char): Make C-m work right in the r
8655 (viper-buffer-search-enable): Fixed format string.
8657 * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
8658 instead of viper-info-on-file.
8659 (ex-set-visited-file-name): New function.
8661 * viper.el (viper-emacs-state-mode-list): Added mail-mode.
8663 * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
8666 * ediff-init.el: Fixed some doc strings.
8668 * ediff-util.el (ediff-after-quit-hook-internal): New variable.
8669 Got rid of make-local-hook.
8671 * ediff-wind.el (ediff-setup-control-frame): Got rid of
8674 2001-12-23 Richard M. Stallman <rms@gnu.org>
8676 * term/x-win.el (x-handle-geometry): Put height and width
8677 on default-frame-alist, left and top on initial-frame-alist.
8678 * term/w32-win.el (x-handle-geometry): Likewise.
8680 * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
8682 * play/yow.el (yow): Use an arg to distinguish interactive calls,
8685 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8687 * emacs-lisp/elint.el (elint-unknown-builtin-args):
8688 Remove mocklisp entries.
8690 * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
8693 * emulation/mlconvert.el: File removed.
8695 * emulation/mlsupport.el: Moved to obsolete.
8697 * obsolete/mlsupport.el: Moved there from lisp/emulation.
8699 * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
8701 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8702 Remove mocklisp case.
8704 * help-fns.el (describe-function-1): Remove mocklisp function case.
8706 2001-12-22 Miles Bader <miles@gnu.org>
8708 * textmodes/refill.el (refill-mode): Don't barf when redundantly
8709 turning refill-mode off.
8711 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8713 * time.el (display-time-load-average-threshold): New variable.
8714 (display-time-update): Use it.
8716 These changes allow cycling through past 1, 5 and 15 minutes
8717 load-average displayed in the mode-line.
8719 * time.el (display-time-default-load-average): New customizable option.
8720 (display-time-load-average): New variable.
8721 (display-time-cycle-load-average): New function.
8722 (display-time-update): Use them.
8724 2001-12-21 Richard M. Stallman <rms@gnu.org>
8726 * apropos.el (apropos-print): SPACING is now nil or a separator string.
8727 (apropos-documentation, apropos-value): Pass a suitable string.
8729 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
8731 * dired.el (dired-free-space-program, dired-free-space-args):
8732 Aliases for back-compatibility.
8734 * info.el (Info-select-node): If Info-use-header-line is nil, set
8735 header-line-format to nil.
8736 (Info-fontify-node): Don't put a keymap text property on the
8737 heading if we are not going to display the header line. Remove
8738 any such text properties left over from past visits to this node.
8740 * ls-lisp.el (insert-directory): Insert the amount of free disk
8741 space, like files.el's insert-directory does.
8743 * files.el (directory-free-space-program):
8744 Mention file-system-info in the doc string.
8745 (get-free-disk-space): New function; code moved from insert-directory.
8746 (insert-directory): Call get-free-disk-space to get the amount of
8749 2001-12-21 Richard M. Stallman <rms@gnu.org>
8751 * help.el (view-order-manuals, view-emacs-news, describe-copying)
8752 (describe-distribution, describe-project): Use view-file.
8754 * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
8756 * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
8758 * emacs-lisp/easy-mmode.el (define-minor-mode):
8759 Make no arg by default in an interactive call,
8760 so that repeating the command toggles again.
8762 * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
8764 2001-12-21 Christoph Wedler <Christoph.Wedler@sap.com>
8766 * antlr-mode.el: More sophisticated indentation of cpp directive.
8767 (antlr-indent-at-bol-alist): New user option.
8768 (antlr-indent-line): Use it.
8769 (antlr-indent-style): New user option.
8770 (antlr-mode): Use it.
8771 (antlr-indent-item-regexp): Customize.
8773 * antlr-mode.el: Syntax highlighting changes.
8774 (antlr-font-lock-literal-regexp): New user option.
8775 (antlr-font-lock-syntax-face): New face used for :, |, ....
8776 (antlr-font-lock-default-face): New face.
8777 (antlr-font-lock-additional-keywords): Use them.
8779 * antlr-mode.el: New command to insert options -- variables.
8780 (antlr-mode-map): New binding [C-c C-o].
8781 (antlr-mode-menu): New submenus.
8782 (antlr-options-use-submenus): New user option.
8783 (antlr-tool-version): New user option.
8784 (antlr-options-auto-colon): New user option.
8785 (antlr-options-style): New user option.
8786 (antlr-options-push-mark): New user option.
8787 (antlr-options-assign-string): New user option.
8788 (antlr-options-headings): New variable.
8790 * antlr-mode.el: New command to insert options -- specific.
8791 (antlr-options-alists): New variable.
8792 (antlr-read-value): New function.
8793 (antlr-read-boolean): New function.
8794 (antlr-language-option-extra): New function.
8795 (antlr-language-limit-n-regexp): Change default to higher LIMIT.
8796 (antlr-c++-mode-extra): New function.
8797 (antlr-grammar-tokens): New function.
8798 (antlr-imenu-create-index-function): New optional argument.
8800 * antlr-mode.el: New command to insert options -- functions.
8801 (antlr-insert-option): New command.
8802 (antlr-insert-option-interactive): New function.
8803 (antlr-options-menu-filter): New function.
8804 (antlr-option-kind): New function.
8805 (antlr-scan-lists): New alias.
8806 (antlr-scan-lists-internal): New function.
8807 (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
8808 (antlr-option-level): New function.
8809 (antlr-syntactic-grammar-depth): New function.
8810 (antlr-option-location): New function.
8811 (antlr-insert-option-do): New function.
8812 (antlr-option-spec): New function.
8813 (antlr-version-string): New function.
8814 (antlr-insert-option-existing): New function.
8815 (antlr-insert-option-space): New function.
8816 (antlr-insert-option-area): New function.
8818 * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
8819 with narrowing. Menu change. Miscellaneous.
8820 (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
8821 (antlr-mode-map): New bindings for characters in ":;|&(){}".
8822 (antlr-electric-character): New command.
8823 (antlr-class-header-regexp): New variable.
8824 (antlr-font-lock-additional-keywords): Use it.
8825 (antlr-imenu-create-index-function): Use it.
8826 (antlr-file-dependencies): Use it.
8827 (antlr-indent-line): Also works with restrictions.
8828 (antlr-indent-command): Interactive spec - changes the buffer.
8829 (antlr-language-for-option): Deletia.
8830 (antlr-language-option): New function, defined instead.
8831 (antlr-mode): Use it.
8833 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
8835 * jka-compr.el (jka-compr-partial-uncompress): Use null-device
8836 instead of a literal /dev/null.
8838 * Makefile.in (distclean): Remove Makefile in the build
8839 directory, not in the source directory.
8841 2001-12-21 Simon Josefsson <jas@extundo.com>.
8843 * mail/smtpmail.el (smtpmail-send-queued-mail):
8844 Use with-temp-buffer instead of find-file-noselect, and bind
8845 coding-system-for-read to no-conversion when reading the queued
8846 messages. (Simon's code modified slightly by Eli Zaretskii.)
8848 2001-12-20 Werner Lemberg <wl@gnu.org>
8850 * international/mule-diag.el (describe-coding-system)
8851 (print-coding-system-briefly): Make printed output have a similar
8852 format as describe-character-set.
8854 2001-12-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8856 * play/blackbox.el (bb-member): Remove, use member instead.
8857 (bb-delete): Remove, use delete instead.
8858 Update copyright notice. Defvar for bb-board, bb-x, bb-y,
8859 bb-score, bb-detour-count and bb-balls-placed.
8860 Propertize results of rays.
8862 2001-12-19 Karl Fogel <kfogel@red-bean.com>
8864 * isearch.el (isearch-forward, isearch-edit-string): Make doc
8865 strings mention keybinding for `isearch-yank-word-or-char',
8866 rather than `isearch-yank-word', since the former is bound now
8867 and the latter is not.
8868 (isearch-yank-word-or-char): Fix formatting.
8870 2001-12-19 Werner Lemberg <wl@gnu.org>
8872 * language/czech.el, language/european.el, language/slovak.el:
8873 More fixes for language info doc strings.
8875 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
8877 * loadup.el: Add "language" to the load-path.
8879 2001-12-19 Richard M. Stallman <rms@gnu.org>
8881 * international/mule-cmds.el (describe-language-environment):
8882 Fix calls to help-xref-button.
8884 2001-12-19 Miles Bader <miles@gnu.org>
8886 * international/fontset.el: Require `ind-util' when compiling.
8888 2001-12-18 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8890 * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
8891 instead of decompose-composite-char.
8893 2001-12-18 Richard M. Stallman <rms@gnu.org>
8895 * simple.el (eval-expression-print-level)
8896 (eval-expression-print-length): Doc fixes.
8898 * international/mule-diag.el (describe-character-set):
8899 Fix the arg to help-xref-button.
8901 * files.el (directory-free-space-program): New variable.
8902 (directory-free-space-args): New variable.
8903 (insert-directory): Use those two variables for getting free space.
8904 Use file-system-info instead, if that is defined.
8906 * dired.el (dired-free-space-program): Variable deleted.
8907 (dired-free-space-args): Variable deleted.
8908 (dired-insert-directory): Don't try to determine free space.
8910 * files.el (font-lock-defaults): Add risky-local-variables prop.
8911 (hack-one-local-variable): Treat various font-lock variables as risky.
8913 2001-12-18 Werner Lemberg <wl@gnu.org>
8915 * language/chinese.el, language/cyrillic.el:
8916 * language/czech.el, language/european.el, language/greek.el:
8917 * language/hebrew.el, language/indian.el, language/japanese.el:
8918 * language/korean.el, language/lao.el, language/slovak.el:
8919 * language/thai.el, language/tibetan.el, language/vietnamese.el:
8920 Improve documentation strings of coding systems and language infos.
8922 2001-12-18 Werner LEMBERG <wl@gnu.org>
8924 Add support for EUC-TW decoding/encoding.
8926 * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
8927 (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
8928 New auxiliary functions to build `big5-to-cns'.
8929 (big5-to-cns): New translation alist.
8931 * language/chinese.el: Added new coding system `euc-tw' and its
8933 Updated language `Chinese-CNS' to include euc-tw encoding also.
8934 (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
8937 2001-12-18 Dave Love <fx@gnu.org>
8939 * loadup.el: Add language/utf-8-lang, language/georgian.
8941 * image-file.el (image-file-name-extensions): Add pnm. Doc fix.
8942 (image-file-name-regexps): Doc fix.
8944 * server.el (server-unload-hook): New function.
8946 * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
8947 (lm-crack-copyright): Cope with multi-line copyright `lines'.
8949 * simple.el (newline): Doc fix.
8950 (eval-expression-print-level, eval-expression-print-length): Doc
8952 (next-line, previous-line): Make arg optional.
8955 * Makefile.in (DONTCOMPILE): Add various language files.
8957 * international/quail.el (quail-input-string-to-events): Don't use
8960 * progmodes/f90.el (f90-break-line): Avoid infinite recursion
8963 2001-12-17 Richard M. Stallman <rms@gnu.org>
8965 * comint.el (comint-dynamic-list-input-ring-select): New function.
8966 Switches back to the old window configuration.
8967 (comint-dynamic-list-input-ring): Bind RET to that function.
8968 (comint-dynamic-list-input-ring-window-conf): New variable.
8970 2001-12-17 Werner Lemberg <wl@gnu.org>
8972 * international/mule-conf.el: Improve documentation strings of
8975 2001-12-16 Richard M. Stallman <rms@gnu.org>
8977 * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
8978 (dired-mode-map): Bind w to dired-copy-filename-as-kill.
8980 * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
8982 * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
8983 Add a DESCRIPTION for the makefile item.
8985 * find-file.el (ff-other-file-name): New function.
8987 2001-12-16 Eli Zaretskii <eliz@is.elta.co.il>
8989 * international/quail.el (quail-input-string-to-events): Fix last
8992 2001-12-16 Richard M. Stallman <rms@gnu.org>
8994 * isearch.el (isearch-edit-string): When we set isearch-string
8995 to the default, also set isearch-message.
8997 * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
8999 * startup.el (command-line-1): Display startup screen
9000 even if there are command line args.
9001 Add a note about how to go to editing your files.
9002 (fancy-splash-head): Add a note about how to go to your files.
9003 (fancy-splash-outer-buffer): New variable.
9004 (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
9006 * subr.el (with-temp-message): At the end, always discard
9007 the temp message, even by clearing the echo area.
9009 * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
9011 2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
9013 * log-view.el (log-view-message-re, log-view-current-tag):
9014 Recognize Subversion's log output format.
9016 * international/fontset.el: Build the list L at compile time.
9018 * language/ind-util.el (mapthread): Make a closure.
9020 2001-12-15 Richard M. Stallman <rms@gnu.org>
9022 * isearch.el (isearch-start-hscroll): New variable.
9023 (isearch-mode): Set isearch-start-hscroll.
9024 (isearch-update): Restore original hscrolling if possible.
9026 * isearch.el (isearch-edit-string):
9027 Treat isearch-yank-word-or-char specially, like isearch-yank-word.
9029 * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
9030 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
9031 rather than regexp search and (2) copying text properties
9032 already set up on text unchanged from the previous backtrace.
9034 * case-table.el (set-case-syntax-pair):
9035 Detect invalid calls and signal an error.
9037 2001-12-15 Richard M. Stallman <rms@gnu.org>
9039 * language/ind-util.el (range): Function deleted.
9040 (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
9043 * language/devan-util.el (devanagari-range): Renamed from `range'.
9045 (devanagari-regexp-of-hashtbl-keys):
9046 Renamed from `regexp-of-hashtbl-keys'. All calls changed.
9048 2001-12-15 Dave Love <fx@gnu.org>
9050 * language/ind-util.el: Don't require cl.
9051 (indian-glyph-char, indian-glyph-max-char)
9052 (indian-char-glyph): Moved from indian.el
9053 (indian--puthash-char, mapthread): Don't quote lambda.
9054 (indian--map): New function.
9055 (indian--puthash-v, indian--puthash-c, indian--puthash-m)
9056 (indian--puthash-cv): Use it.
9058 * language/indian.el (indian-glyph-char, indian-glyph-max-char)
9059 (indian-char-glyph): Moved to ind-util.el
9061 * language/devan-util.el (devanagari-post-read-conversion):
9064 * language/georgian.el: New file.
9066 * international/mule-cmds.el (locale-language-names): Add various
9067 entries. Remove utf-8 special case.
9068 (locale-charset-language-names, locale-preferred-coding-systems):
9070 (set-language-environment): Process required-features earlier.
9072 * international/quail.el (quail-keyboard-layout-alist):
9074 (quail-keyboard-layout-type): Fix :type.
9075 (quail-choose-completion-string): Simplify.
9076 (quail-update-leim-list-file): Don't get fooled by commented-out code.
9077 (quail-input-string-to-events): Run events through
9078 translation-table-for-input.
9080 * international/mule-conf.el (translation-table-for-input):
9082 (latin-iso8859-14): Amend description.
9083 (file-coding-system-alist): Add entry for utf-8.
9085 * language/utf-8-lang.el: New file.
9087 * international/code-pages.el: New file.
9089 * language/hebrew.el ("Windows-1255"): New language.
9091 * language/european.el ("Welsh", "Latin-7", "Lithuanian")
9092 ("Latvian"): New languages.
9094 2001-12-14 Stefan Monnier <monnier@cs.yale.edu>
9096 * xml.el: Use setq rather than (set 'foo bar).
9097 Use push+nreverse rather than append.
9098 (xml-node-name, xml-node-attributes, xml-node-children):
9099 Use defsubst rather than macros.
9100 (xml-parse-region): Handle a nil return value from xml-parse-tag.
9101 (xml-parse-tag): Don't skip white space. Return nil for a comment.
9102 Concat the two strings surrounding a comment into a single string.
9104 * newcomment.el (comment-indent): Jump to the middle of empty comments.
9106 2001-12-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9108 * select.el (xselect-convert-to-class, xselect-convert-to-name):
9111 2001-12-14 Andre Spiegel <spiegel@gnu.org>
9113 * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
9114 Return nil if FILE is not registered.
9115 (vc-check-master-templates, vc-default-make-version-backups-p):
9118 2001-12-13 David Ponce <david@dponce.com>
9120 * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
9121 (ruler-mode-left-fringe-cols): New macro.
9122 (ruler-mode-right-fringe-cols): New macro.
9123 (ruler-mode-left-scroll-bar-cols): New macro.
9124 (ruler-mode-right-scroll-bar-cols): New macro.
9125 (ruler-mode-ruler): Use above new macros.
9127 2001-12-13 Richard M. Stallman <rms@gnu.org>
9129 * files.el (set-auto-mode): Fix previous change.
9131 2001-12-13 Stefan Monnier <monnier@cs.yale.edu>
9133 * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
9134 (easy-menu-do-define, easy-menu-convert-item-1)
9135 (easy-menu-define-key-intern, easy-menu-get-map): Use it.
9136 (easy-menu-return-item): Only return nil if there is no binding.
9138 2001-12-13 Rajesh Vaidheeswarran <rv@gnu.org>
9140 * whitespace.el (whitespace-version): 3.2
9141 * whitespace.el (whitespace-force-mode-line-update): Replace with
9142 `whitespace-mode-line-update', which is an alias to the correct
9143 function in various emacsen.
9144 * whitespace.el (whitespace-{un,}highlight-the-space):
9145 Add colorized highlighting of the bogus whitespaces in a buffer/file,
9146 using the `whitespace-highlight-face' if
9147 `whitespace-display-spaces-in-color' is set.
9149 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
9151 * international/mule.el (set-auto-coding): Don't search for
9152 "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
9154 2001-12-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9156 * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
9158 * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
9160 * mail/rmailsum.el (rmail-summary-mode): Likewise.
9162 2001-12-13 Richard M. Stallman <rms@gnu.org>
9164 * simple.el (undo): Always set this-command to `undo',
9165 so that the next undo after an error will not begin redoing.
9167 * simple.el (shell-command): Doc fix.
9168 (shell-command-on-region): If there is output an an error,
9169 add "...Shell command failed" to the output.
9171 2001-12-13 David Ponce <david@dponce.com>
9173 * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
9174 (ruler-mode-left-fringe-cols): Function replaced by more efficient
9175 implementation `ruler-mode-extra-left-cols'.
9176 (ruler-mode-ruler): Use above new function. Take into account
9177 that the fringe areas can now be resized.
9179 2001-12-12 Richard M. Stallman <rms@gnu.org>
9181 * international/characters.el (Unicode): Comment out
9182 the specifications for kelvin and angstrom signs.
9184 * international/mule.el (make-translation-table-from-vector):
9185 Allow null elements in VEC.
9187 * international/ucs-tables.el (unify-8859-on-encoding-mode)
9188 (unify-8859-on-decoding-mode): Swap the code in their bodies.
9191 2001-12-11 Richard M. Stallman <rms@gnu.org>
9193 * derived.el (derived-mode-p): Function moved to subr.el.
9195 * subr.el (derived-mode-p): Moved here from derived.el.
9197 * international/mule.el (set-auto-coding): Use set-auto-mode-1.
9199 * files.el (set-auto-mode-1): New subroutine, broken out of
9201 (set-auto-mode, hack-local-variables-prop-line): Use that.
9203 2001-12-11 Dave Love <fx@gnu.org>
9205 * language/thai-util.el, language/thai.el: Add Unicode equivalents.
9207 * language/european.el: Remove autoload cookies. Fix registration
9208 of diacritic composition function.
9210 2001-12-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9212 * calendar/todo-mode.el: Require time-stamp.
9214 * net/zone-mode.el (zone-mode): Don't use make-local-hook.
9216 2001-12-11 Richard M. Stallman <rms@gnu.org>
9218 * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
9220 * textmodes/ispell.el (ispell-buffer-local-parsing):
9221 Match xml like sgml.
9223 * emacs-lisp/advice.el (ad-compile-function):
9224 Byte compile the function under another (uninterned) name.
9226 * gud.el (gdb): Define and bind gud-jump.
9228 * font-lock.el (font-lock-mode):
9229 Put our function at the end of after-change-functions.
9231 * ediff-diff.el (ediff-cmp-options): Doc fix.
9233 * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
9235 2001-12-10 Richard M. Stallman <rms@gnu.org>
9237 * isearch.el (isearch-yank-word-or-char): New function.
9238 (isearch-mode-map): Bind C-w to that.
9240 * menu-bar.el (menu-bar-mode): Make arg optional.
9242 * simple.el (line-move): Cope if next-single-property-change
9243 or previous-single-property-change returns nil.
9245 * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
9246 Don't use interactive-p; instead, pass the proper args
9247 in (interactive...). Clean up most of the trouble-report strings.
9249 2001-12-10 Eli Zaretskii <eliz@is.elta.co.il>
9251 * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
9252 enqueued messages literally.
9254 2001-12-10 Noah Friedman <friedman@splode.com>
9256 * battery.el (battery-insert-file-contents): Obsolete function
9258 (battery-read-function): Obsolete function removed.
9259 (battery-linux-proc-apm): Use insert-file-contents.
9261 2001-12-07 Stephen Eglen <stephen@gnu.org>
9263 * iswitchb.el (iswitchb-visit-buffer):
9264 Use `select-frame-set-input-focus'--needed when window manager
9265 uses "click to focus" policy.
9267 2001-12-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9269 * COPYING: Moved back.
9271 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il>
9273 * term/internal.el (IT-character-translations): Add entries for
9276 * international/characters.el: Resurrect the Hebrew category
9277 settings for all Hebrew characters removed by the last change.
9278 Add code for setting the Hebrew category of the Unicode Hebrew
9279 characters. Set syntax entries for Hebrew punctuation characters.
9281 * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
9282 points and directional formatting control characters.
9284 2001-12-07 Dave Love <fx@gnu.org>
9286 * language/lao-util.el: Add Unicode equivalents for rules.
9287 (lao-post-read-conversion): New function.
9289 * language/lao.el: Add Unicode equivalents.
9290 (lao): Add post-read conversion.
9292 * international/latin1-disp.el: Fix some 8-bit-graphic characters.
9293 Use iso2022 encoding.
9294 (latin1-char-displayable-p): Doc fix.
9295 (latin1-display-ucs-per-lynx): New option.
9296 (latin1-display-ucs-per-lynx): New command.
9297 (latin1-display-reset): Special-case arabic.
9298 (ucs-tables): Require.
9299 (latin1-display-sets, latin1-display-setup): Add arabic.
9300 (latin1-display) <variable>: Use function latin1-display.
9301 (latin1-display) <function>: Add mule-unicode stuff.
9302 (latin1-display-check-font): Don't lose if `info' is nil.
9304 * international/iso-transl.el: Insert Latin-1 characters, not
9307 * language/european.el (diacritic-composition-pattern): New constant.
9308 (diacritic-compose-region, diacritic-compose-string)
9309 (diacritic-compose-buffer, diacritic-post-read-conversion)
9310 (diacritic-composition-function): New functions.
9312 * international/utf-8.el (ucs-mule-to-mule-unicode):
9313 New translation table.
9314 (ccl-encode-mule-utf-8): Use it.
9315 (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
9316 (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
9317 (utf-8-subst-table): New variable.
9318 (utf-8-compose-scripts): New option.
9319 (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
9321 * international/ucs-tables.el, international/utf-8-subst.el:
9324 * international/characters.el: Don't set word syntax (the default)
9325 explicitly. Add a diacritic category. Add info for Unicode
9326 equivalents of characters in various Mule charsets and for extra
9327 Unicode characters. Don't define specific categories for
9328 Indian/Devanagari, since they aren't used.
9330 2001-12-06 Richard M. Stallman <rms@gnu.org>
9332 * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
9333 (set-justification-left, set-justification-right): Doc fix.
9335 * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
9336 (bug-f90-mode): Variable deleted.
9338 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
9340 * indent.el (indent-line-function): Default is indent-relative again.
9342 2001-12-07 Miles Bader <miles@gnu.org>
9344 * progmodes/compile.el (compilation-error-regexp-alist):
9345 Added regexps for RXP.
9347 2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
9349 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
9350 Add shift-assignment operators to those highlighted, and highlight
9351 the whole operator rather than just the "=".
9353 2001-12-04 Juanma Barranquero <lektu@terra.es>
9355 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
9356 before saving abbrevs if `save-abbrevs' has the value `silently'.
9358 2001-12-04 Andreas Schwab <schwab@suse.de>
9360 * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
9362 2001-12-04 Colin Walters <walters@debian.org>
9364 * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
9365 for `defmacro*' forms.
9367 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
9370 2001-12-03 Stefan Monnier <monnier@cs.yale.edu>
9372 * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
9374 2001-12-02 Richard M. Stallman <rms@gnu.org>
9376 * files.el (insert-directory): If the df output does not look right,
9377 don't try to use it. Other cleanups in overall code structure.
9379 2001-12-02 Stefan Monnier <monnier@cs.yale.edu>
9381 * textmodes/outline.el (outline-mode-prefix-map):
9382 Add bindings for outline-promote and outline-demote.
9383 (outline-minor-mode-menu-bar-map): New var.
9384 (outline-minor-mode): Use it.
9385 (outline-heading-alist): New var (renamed from outline-level-heading).
9386 (outline-level): Use it.
9387 (outline-insert-heading, outline-promote, outline-demote):
9388 Update to use outline-heading-alist.
9390 * disp-table.el (standard-display-european):
9391 Simplify since the function is not interactive any more.
9392 Don't set the existing buffers to unibyte.
9394 * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
9396 * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
9398 * reveal.el (reveal-mode): Fix reveal-mode's lighter.
9400 * shell.el (shell): Use shell-file-name.
9401 Pop to buffer before calling comint to set COLUMNS properly.
9403 * emacs-lisp/cl.el (svref): New alias.
9405 * progmodes/antlr-mode.el (antlr-c-common-init):
9406 Don't inhibit adaptive-fill-mode any more.
9408 * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
9410 * progmodes/etags.el (tags-with-face): Use make-symbol.
9411 (tags-search, tags-query-replace): Use backquotes.
9413 * textmodes/picture.el (picture-mode-map): Don't use defconst
9416 2001-12-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9418 * textmodes/reftex-index.el (reftex-index-mode):
9419 Remove make-local-hook.
9421 * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
9423 2001-12-02 Kim F. Storm <storm@cua.dk>
9425 * isearch.el (isearch-resume-enabled): New variable.
9426 (isearch-done): Use that variable.
9428 2001-12-01 Richard M. Stallman <rms@gnu.org>
9430 * wid-edit.el (widget-button-click): Don't move point permanently:
9431 Avoid mouse-set-point--instead select the window,
9432 then do save-excursion, then move point.
9433 Specify the buffer for get-char-property.
9434 Don't use `@' in interactive.
9436 * indent.el (indent-line-function):
9437 Default is indent-to-left-margin again.
9439 * replace.el (query-replace-read-args): Display message
9440 if FROM contains `\n' or `\t'.
9442 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
9444 * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
9446 * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
9448 * emacs-lisp/regexp-opt.el (regexp-opt):
9449 Bind completion-regexp-list to nil.
9451 * progmodes/hideif.el (hif-nexttoken): Move to before first def.
9453 2001-12-01 Eli Zaretskii <eliz@is.elta.co.il>
9455 * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
9456 * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
9459 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
9461 * mail/smtpmail.el: Use with-current-buffer.
9462 (message-make-date, message-make-message-id): Autoload when needed.
9463 (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
9464 headers when missing.
9466 * international/encoded-kb.el (encoded-kbd-mode):
9467 Use define-minor-mode.
9469 * enriched.el (enriched-mode): Use define-minor-mode.
9470 Use dolist and pop and push.
9472 * info.el (Info-find-node-2): Don't call info-insert-file-contents
9473 with the `visit' argument.
9474 (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
9476 * progmodes/hideif.el (hide-ifdef-mode): Only modify
9477 `change-major-mode-hook' locally. Reset invisibility spec.
9479 * man.el (Man-build-section-alist): Remove last Man-match-substring.
9481 2001-11-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9483 * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
9484 Clarify error message.
9486 2001-11-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9488 * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
9490 2001-11-30 Andre Spiegel <spiegel@gnu.org>
9492 * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
9493 don't just return it.
9495 2001-11-30 Eli Zaretskii <eliz@is.elta.co.il>
9497 * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
9498 (menu-bar-read-emacs-man, search-emacs-glossary)
9499 (emacs-index-search, elisp-index-search): New functions.
9500 (apropso-documentation, apropos, apropos-value, apropos-variable)
9501 (apropos-commands): Modify menu item names and help text.
9502 (elisp-index-search, emacs-index-search, emacs-glossary):
9504 (menu-bar-manuals-menu): Move the Ordering Manuals item to a
9506 (info-elisp, info-elintro): New menu items.
9507 (apropos): Modify the menu item name.
9509 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
9511 * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
9513 * textmodes/outline.el (outline-promote, outline-demote): Typo.
9515 * man.el (man-follow-mouse): New function.
9516 (Man-mode-map): Bind mouse-2 to it.
9517 (Man-match-substring): Remove. Replace with `match-string'.
9518 (man): Use the `default-value' argument to `read-string'.
9519 (Man-fontify-manpage): Add mouse-face to cross references.
9521 * emacs-lisp/cl-macs.el (shiftf): Fix more. Simplify.
9523 2001-11-29 Stefan Monnier <monnier@cs.yale.edu>
9525 * emacs-lisp/crm.el (completing-read-multiple): Better preserve
9526 the value of require-match in minibuffer-completion-confirm.
9527 Use crm-local-completion-map.
9529 * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
9530 (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
9531 (cl-make-type-test): Use char-valid-p for `character'.
9533 * info.el (Info-complete-next-re, Info-complete-cache): New vars.
9534 (Info-complete-menu-item): Rewrite. Add the ability to search
9535 several sequential nodes. Add a simple caching mechanism.
9536 (Info-goto-index): New function extracted from Info-index.
9537 (Info-index): Use it. Add completion to the interactive spec.
9538 (Info-menu-update): Simplify call to `Info-complete-menu-item'.
9540 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9544 2001-11-29 Dave Love <fx@gnu.org>
9546 * progmodes/fortran.el: Fontify rewind, backspace. Doc fixes.
9547 (fortran-window-create, fortran-window-create-momentarily):
9548 Rewrite, moving error condition.
9549 (fortran-beginning-do, fortran-beginning-if): Fix regexps.
9550 (fortran-mode-syntax-table): Revert last change.
9552 * international/mule.el: Doc fixes.
9553 (map-charset-chars): New function.
9554 (register-char-codings): Use it to cope with generic chars in
9557 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9559 * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
9561 * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
9563 * play/studly.el (studlify-word, studlify-region)
9564 (studlify-buffer): Fix doc-string.
9565 (studlify-buffer): Add autoload cookie.
9567 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
9569 * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
9570 (outline-up-heading-all): Remove.
9571 (hide-sublevels): Move to end-of-heading before calling flag-region.
9572 (outline-copy-overlay, outline-discard-overlays): Remove.
9573 (outline-flag-region): Use `remove-overlays'.
9574 Don't move to end-of-heading.
9575 (outline-next-visible-heading, outline-back-to-heading)
9576 (outline-on-heading-p): Use outline-invisible-p.
9577 (outline-font-lock-level): Use outline-up-heading's new arg.
9578 (outline-minor-mode): Simplify.
9579 (outline-map-tree, outline-reveal-toggle-invisible): New funs.
9580 (outline): Put a `reveal-toggle-invisible' property.
9581 (outline-level-heading): New var.
9582 (outline-insert-heading, outline-promote, outline-demote)
9583 (outline-toggle-children): New commands.
9585 * progmodes/hideif.el (hif-end-of-line): New function.
9586 (hide-ifdef-mode): Set line-move-ignore-invisible.
9587 (hide-ifdef-region-internal): New function.
9588 (hide-ifdef-region): Use it.
9589 (hif-defined): Return an integer.
9590 (hif-infix-to-prefix): Remove.
9591 (hif-tokenize): Parse from the buffer rather than from a string.
9592 Correctly tokenize integers. Use forward-comment.
9593 (hif-expr): Use hif-or.
9594 (hif-term): Use hif-and.
9595 (hif-factor): Use hif-not. Handle numbers properly.
9596 Don't require parenthesis around `defined's argument.
9597 (hif-and, hif-or, hif-not): New funs.
9598 (hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
9599 (hif-hide-line): Don't hide the \n before the line.
9600 (hif-possibly-hide): Correctly handle numeric evaluation results.
9602 * progmodes/make-mode.el: Use line-(end|beginning)-position.
9603 (makefile-mode): Set indent-line-function.
9604 (makefile-browser-insert-continuation): Use with-current-buffer.
9605 (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
9607 2001-11-28 Karl Fogel <kfogel@red-bean.com>
9609 * isearch.el (isearch-yank-internal): New helper function.
9610 (isearch-yank-char): New function.
9611 (isearch-yank-word, isearch-yank-line): Rewrite to use
9612 isearch-yank-internal.
9614 2001-11-28 Eli Zaretskii <eliz@is.elta.co.il>
9616 * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
9617 aren't supported. Print a message to that effect if invoked.
9619 2001-11-27 Stephen Eglen <stephen@gnu.org>
9621 * locate.el (locate): Put point at first matching file rather
9624 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
9626 * reveal.el: New file.
9628 * progmodes/hideif.el: Misc cleanup.
9629 (hide-ifdef-mode-submap): Put the def in the defvar.
9630 Use substitute-key-definition.
9631 (hide-ifdef-mode): Use define-minor-mode.
9632 (hif-outline-flag-region): Remove.
9633 (hif-show-all): Define in terms of hif-show-ifdef-region.
9634 (hif-after-revert-function): Rename from hif-before-revert-function.
9635 (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
9636 (hif-tokenize): Use with-syntax-table.
9637 (hif-make-range): Use `else' also for `else-p'.
9638 (hif-range-else-p): Remove.
9639 (hif-find-range): Simplify.
9640 (hif-hide-line): Don't bother preserving buffer-modified-p.
9641 (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
9642 Don't use selective-display and inhibit-read-only.
9644 * subr.el (copy-overlay, remove-overlays): New funs.
9646 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
9648 2001-11-27 Sam Steingold <sds@gnu.org>
9650 * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
9651 * lazy-lock.el, mouse-sel.el, mail/feedmail.el
9652 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
9653 * obsolete/c-mode.el, obsolete/cplus-md.el
9654 * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
9655 * term/sun-mouse.el, textmodes/artist.el:
9656 Converted backquote to the new style.
9657 * mouse.el, reposition.el: Likewise (in comments).
9658 * expand.el: Likewise (in a string).
9660 2001-11-27 Richard M. Stallman <rms@gnu.org>
9662 * cus-edit.el (custom-load-symbol): Don't always load locate-library.
9664 2001-11-26 Richard M. Stallman <rms@gnu.org>
9666 * wid-edit.el (widget-toggle-value-create): On graphic terminal,
9667 if :on-glyph or :off-glyph is a list, eval it and store it back.
9668 (checkbox): Quote the values for :on-glyph and :off-glyph.
9670 * cus-start.el (recursive-load-depth-limit): Delete item.
9672 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
9674 * help-fns.el (describe-categories, help-describe-category-set): New.
9675 describe-categories moved here from src/category.c.
9677 2001-11-26 Sam Steingold <sds@gnu.org>
9679 * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
9680 arguments to `insert' are strings.
9682 2001-11-26 Richard M. Stallman <rms@gnu.org>
9684 * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
9686 2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
9688 * international/mule-diag.el: Require help-fns instead of
9691 * help-fns.el: Renamed from help-funs.el.
9693 * startup.el (command-line-1): Don't try to call process-list if
9696 2001-11-26 Sam Steingold <sds@gnu.org>
9698 * frame.el (show-trailing-whitespace): Remove :set argument (the
9699 value was essentially identical to the defalt).
9701 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9703 * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
9705 * icomplete.el (icomplete-minibuffer-setup): Likewise.
9707 * hilit-chg.el (hilit-chg-set): Likewise.
9709 * speedbar.el (speedbar-mode): Likewise.
9711 * calendar/calendar.el (calendar-mode): Likewise.
9713 * play/yow.el (psychoanalyze-pinhead): Use insert instead of
9716 * play/gamegrid.el (gamegrid-init-buffer): Likewise.
9718 * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
9720 * term/sun-mouse.el (sun-yank-selection): Likewise.
9722 * textmodes/bib-mode.el (return-key-bib): Likewise.
9724 * calendar/appt.el (appt-disp-window): Likewise.
9726 * calendar/diary-lib.el (list-diary-entries): Likewise.
9728 * array.el (array-reconfigure-rows): Likewise.
9730 * filecache.el (file-cache-minibuffer-complete): Likewise.
9732 * obsolete/cplus-md.el (fill-c++-comment): Likewise.
9734 * strokes.el (strokes-prompt-user-save-strokes): Likewise.
9736 * allout.el (outline-version, outline-open-topic)
9737 (outline-rebullet-heading, outline-insert-listified)
9738 (outline-latex-verbatim-quote-curr-line)
9739 (outline-latexify-one-item, outlineify-sticky): Likewise.
9741 * vc.el (vc-next-action-on-file): Likewise.
9742 (vc-dired-mode): Remove make-local-hook.
9744 2001-11-26 Andre Spiegel <spiegel@gnu.org>
9746 * vc.el (vc-find-version): New function.
9747 (vc-version-other-window): Redefined in terms of the above.
9749 * log-view.el (log-view-find-version): New function.
9750 (log-view-mode-map): Bind it to `f'.
9752 2001-11-26 Gerd Moellmann <gerd@gnu.org>
9754 * language/devan-util.el (dev-char-glyph): Escape `"' in
9756 (dev-glyph-glyph, dev-glyph-glyph-2)
9757 (devanagari-compose-syllable-region): Likewise.
9759 2001-11-26 Richard M. Stallman <rms@gnu.org>
9761 * window.el (save-selected-window): No error if saved window is dead.
9763 * help-funs.el (describe-syntax): Put (interactive) after doc string.
9765 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9767 * international/quail.el (quail-help): Require help-mode in
9770 * iswitchb.el (iswitchb-exhibit): Use insert instead of
9773 * icomplete.el (icomplete-exhibit): Likewise.
9775 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
9777 * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
9778 (diff-hunk-kill): Simplify.
9779 (diff-post-command-hook): Only apply to a single hunk.
9780 (diff-hunk-text): Make `char-offset' non-optional.
9781 (diff-find-text): Return a cons cell.
9782 (diff-find-approx-text): New fun.
9783 (diff-find-source-location): Use it.
9784 (diff-apply-hunk, diff-test-hunk, diff-goto-source):
9785 Adapt to new retval of diff-find-text.
9787 * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
9788 rather than integer- representation of dates.
9790 * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
9792 * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
9793 (syntax-after): New fun.
9795 * help-funs.el (describe-syntax): New fun.
9797 * font-lock.el (font-lock-cache-state, font-lock-cache-position)
9798 (font-lock-ppss-stats, font-lock-ppss): Remove.
9799 (font-lock-fontify-syntactically-region): Remove tuning code.
9800 (font-lock-compile-keywords): Fix off-by-one bug.
9801 (font-lock-set-defaults): Don't set removed vars.
9802 (c-keywords): Add `inline'.
9803 (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
9805 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9806 Set syntax-begin-function.
9807 (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
9808 (lisp-interaction-mode): Don't set local-abbrev-table any more.
9809 (lisp-mode-auto-fill): Use syntax-ppss and obey
9810 comment-auto-fill-only-comments.
9811 (lisp-fill-paragraph): Use syntax-ppss.
9813 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
9815 * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
9816 version of rmail-enable-mime.
9817 (rmail-forward): Use it.
9819 2001-11-25 Richard M. Stallman <rms@gnu.org>
9821 * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
9823 * international/quail.el (quail-keyboard-layout-button):
9825 (quail-keyboard-customize-button): Likewise.
9826 (quail-help): Use those button types. Require `help-mode'.
9827 Avoid altering the argument `package'.
9829 * help-mode.el (help-function, help-variable, help-face)
9830 (help-coding-system, help-input-method, help-character-set):
9831 Define each button type with its own explicit define-button-type.
9833 * language/devan-util.el: Comment out parts of the file
9834 which apparently are garbled.
9836 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9838 * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
9841 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9843 * play/snake.el (snake-mode): Remove make-local-hook.
9845 * play/tetris.el (tetris-mode): Likewise.
9847 * play/decipher.el (decipher-mode): Likewise.
9849 * tmm.el (tmm-add-prompt): Likewise.
9851 2001-11-25 Sam Steingold <sds@gnu.org>
9853 * menu-bar.el (menu-bar-apropos-menu): New variable.
9854 Moved all `apropos' bindings to this menu.
9855 (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
9857 2001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
9859 The following changes are for new indian languages support based
9860 on Unicode charset and CDAC fonts.
9862 * international/mule-conf.el: Change indian-1-column charset to
9863 indian-glyph charset.
9865 * international/characters.el: Adjusted for the change of
9866 indian-1-column -> indian-glyph.
9868 * international/fontset.el: Delete the setting for indian-1-column
9869 and add the setting for indian-glyph in the default fontset.
9871 * language/indian.el: Completely re-written.
9873 * language/devanagari.el: Completely re-written.
9875 * language/devan-util.el: Completely re-written.
9877 * language/ind-util.el: New file.
9879 2001-11-24 Richard M. Stallman <rms@gnu.org>
9881 * startup.el (command-line-1): Don't do startup screen
9882 if a subprocess is running. Call the startup screen buffer
9883 "GNU Emacs". Make a special mode-line-format for it.
9885 * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
9886 (browse-url-galeon): Use that variable.
9888 * mail/supercite.el (sc-toggle-var): Don't use set-variable or
9889 eval-expression. Eval and set the variable simply.
9891 * files.el (temporary-file-directory): Use defcustom.
9892 (small-temporary-file-directory): Likewise.
9893 (normal-backup-enable-predicate): Move down in file
9894 after definition of temporary-file-directory.
9896 * bindings.el (last-buffer, unbury-buffer): Doc fixes.
9898 2001-11-24 Colin Walters <walters@debian.org>
9900 * calc/calc-ext.el (calc-init-extensions): Update the rest of the
9901 autoload names to match files renamed on initial calc import.
9903 * calc/calc.el (Commentary): Cleanup, and add logistic curve
9904 fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
9906 2001-11-23 Colin Walters <walters@debian.org>
9908 * Makefile.in (finder_setwins, setwins): Include Calc again.
9910 * calc/calc-rules.el: Add header comment.
9912 2001-11-23 Andre Spiegel <spiegel@gnu.org>
9914 * vc.el (with-vc-properties): Don't bind `filename' locally.
9915 (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
9916 to avoid name clashes. Fix `lisp-indent-function' property for
9919 2001-11-23 Francesco Potorti` <pot@gnu.org>
9921 * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
9923 2001-11-22 Colin Walters <walters@debian.org>
9925 * calc/calc-misc.el (report-calc-bug):
9926 Use `reporter-prompt-for-summary-p'.
9928 * calc/INSTALL, calc/Makefile: Remove.
9930 2001-11-22 Miles Bader <miles@gnu.org>
9932 * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
9933 (reb-match-2, reb-match-3): Add dark-background variants.
9935 2001-11-22 Colin Walters <walters@debian.org>
9937 * calc/calc-misc.el (calc-info): Don't perform voodoo, just
9939 (report-calc-bug): Use reporter.el.
9941 * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
9943 2001-11-21 Richard M. Stallman <rms@gnu.org>
9945 * which-func.el (which-function): Call imenu--make-index-alist
9946 if necessary to get a list of functions.
9947 (which-function-imenu-failed): New variable.
9948 (which-func-update): Handle all visible windows.
9949 (which-func-update-1): New subroutine broken out of which-func-update.
9951 * files.el (temporary-file-directory, null-device)
9952 (small-temporary-file-directory): Definitions moved up.
9954 * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
9955 (cperl-non-problems, cperl-praise): Doc fixes.
9957 * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
9958 (sh-mode-syntax-table): Function restored.
9959 Variable set up for use by function sh-mode-syntax-table.
9960 (sh-set-shell): Set the syntax table.
9962 * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
9964 * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
9966 * international/encoded-kb.el: Don't alter minor-map-alist.
9968 2001-11-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9970 * files.el (auto-save-file-name-transforms): Put remote files in
9971 temporary-file-directory rather than /tmp.
9973 2001-11-21 Colin Walters <walters@debian.org>
9975 * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
9976 of (function ...) wrapper.
9978 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
9980 * derived.el (define-derived-mode): Create the abbrev-table
9981 from inside the `defvar'.
9983 * jit-lock.el (jit-lock-defer-time): New var.
9984 (jit-lock-defer-timer, jit-lock-buffers): New vars.
9985 (jit-lock-mode): Initialize them. Cancel the timers more carefully.
9986 (jit-lock-function): Defer fontification if requested.
9987 (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
9988 (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
9990 (jit-lock-deferred-fontify): New fun.
9992 2001-11-20 Richard M. Stallman <rms@gnu.org>
9994 * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
9995 Set local-abbrev-table to lisp-mode-abbrev-table.
9997 * emacs-lisp/re-builder.el (reb-mode):
9998 Don't use define-derived-mode. Call kill-all-local-variables.
10000 * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
10001 Don't use define-derived-mode.
10003 * help-mode.el (help-mode): Undo 2001-10-07 change.
10005 * replace.el (occur-mode): Undo 2001-5-20 change.
10007 2001-11-20 Jason Rumney <jasonr@gnu.org>
10009 * w32-fns.el (w32-system-coding-system): Change to an alias for
10010 locale-coding-system.
10011 (set-w32-system-coding-system): Document the above change.
10012 Set locale-coding-system instead.
10014 2001-11-20 Richard M. Stallman <rms@gnu.org>
10016 * ruler-mode.el: Add pagination.
10017 (ruler-mode-toggle-show-tab-stops): No need to
10018 test `ruler-mode' variable.
10020 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
10022 * play/landmark.el: Mark lm-mode as special.
10024 * play/gomoku.el: Mark gomoku-mode as special.
10026 2001-11-20 Juanma Barranquero <lektu@terra.es>
10028 * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
10029 (top-level): Bind it to C-c C-b.
10030 (re-builder): Don't re-enter RE Builder Mode.
10032 * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
10034 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
10036 * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
10039 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
10040 to a line without a comment.
10042 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
10044 * dired.el (dired-listing-switches): Mention in the doc string
10045 that some switches are not supported by ls-lisp.el
10047 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
10049 * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
10050 (imenu--create-keymap-2): Remove.
10051 (imenu--create-keymap-1): Simplify, remove third argument.
10052 (imenu--generic-function): Use dolist.
10053 (imenu-find-default): New function.
10054 (imenu--completion-buffer): Use it.
10055 (imenu--mouse-menu): Use popup-menu.
10056 (imenu--menubar-select): Return t rather than calling imenu.
10058 * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
10059 New functions, extracted from fill-region-as-paragraph.
10060 (fill-region-as-paragraph): Use them.
10061 Use an end marker instead of eob.
10062 Ignore whitespace-only fill-prefixes when indenting according to mode.
10063 Simplify the loop that searches for spaces backwards.
10065 * textmodes/picture.el (picture-vertical-step)
10066 (picture-horizontal-step): Don't use defconst for variables.
10068 * mail/mail-extr.el: Use backquote/dolist/mapc/when. Docstring fixes.
10069 (mail-extract-address-components): Downcase domain names.
10070 (mail-extr-delete-char): Remove. Use delete-char instead.
10072 * emulation/pc-select.el: Doc string fixes.
10073 (pc-selection-mode): Don't treat macos as a tty.
10075 * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
10077 * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
10079 * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
10080 (mouse-wheel-progessive-speed): New var.
10081 (mwheel-scroll): Use it and handle float values.
10083 * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
10085 * iswitchb.el (iswitchb-mode): Use define-minor-mode.
10086 (iswitchb): Fix the case where the result was selected with the mouse.
10087 (iswitchb-completion-help): Use the normal *Completions* now that
10088 mouse selection works.
10089 (iswitchb-minibuffer-setup): Simplify.
10091 * newcomment.el (comment-column, comment-style, comment-multi-line)
10092 (comment-auto-fill-only-comments): Remove :group arg.
10093 (comment-padding): Add :type.
10094 (comment-indent-new-line): Ignore comment-auto-fill-only-comments
10095 if called interactively.
10097 2001-11-19 Colin Walters <walters@verbum.org>
10099 * calc/calc.el (toplevel): Add comment and version header.
10100 (calc-init-base): Bump version to 2.02f, update date.
10102 2001-11-19 Richard M. Stallman <rms@gnu.org>
10104 * net/browse-url.el: Support Mozilla and Galeon.
10105 By default, find the installed browser whichever it is.
10106 (browse-url-mozilla): New function.
10107 (browse-url-mozilla-sentinel): New function.
10108 (browse-url-galeon, browse-url-galeon-sentinel): New functions.
10109 (browse-url-default-browser): New function.
10110 (browse-url-process-environment): Use browse-url-browser-display.
10111 (browse-url-browser-display): Renamed from browse-url-netscape-display.
10112 (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
10113 (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
10114 (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
10115 (browse-url-browser-function): New default, new options.
10117 2001-11-19 Sam Steingold <sds@gnu.org>
10119 * bindings.el (last-buffer, unbury-buffer): New function.
10120 (mode-line-unbury-buffer): Use `unbury-buffer'.
10122 2001-11-18 Stephen Eglen <stephen@gnu.org>
10124 * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
10125 control behaviour when no further completion is possible.
10127 2001-11-19 Colin Walters <walters@verbum.org>
10129 * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
10130 (math-showing-full-precision, math-with-extra-prec, math-working)
10131 (calc-with-default-simplification)
10132 (calc-with-trail-buffer): Use backtick.
10133 (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
10134 (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
10135 (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
10136 (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
10137 (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
10138 (Math-num-integerp, Math-bignum-test, Math-equal-int)
10139 (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
10140 (calc-record-compilation-date-macro): Deleted. Callers updated.
10141 (math-format-radix-digit): Move to calc-bin.el.
10143 * calc/calc.el (calc-record-compilation-date): Remove.
10144 (calc-bug-address): Update.
10145 (calc-settings-file): Use `user-init-file'.
10147 * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
10148 Handle null `calc-settings-file'.
10150 * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
10151 * calc/calc-keypd.el (calc-keypad-mode): New.
10152 (calc-do-keypad): Use it.
10153 (calc-keypad-map): Move into `calc-keypad-mode'.
10155 * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
10156 to defalias argument.
10158 * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
10159 (calcFunc-floor): Ditto.
10161 * calc-units.el (calcFunc-usimplify): Ditto.
10163 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
10164 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
10165 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
10166 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
10167 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
10168 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
10169 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
10170 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
10171 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
10172 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
10173 * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
10174 and move them before their first use. Use `when', `unless'.
10175 Remove trailing periods from error forms. Add description and
10176 headers suggested by Emacs Lisp coding conventions.
10178 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
10180 * newcomment.el (comment-indent):
10181 Fix misindentation for comment-only lines.
10182 (comment-indent-new-line): Only obey comment-multi-line if the
10183 comment-ender is not the end-of-line.
10185 2001-11-19 Richard M. Stallman <rms@gnu.org>
10187 * net/net-utils.el (network-connection-service-abbrev-alist):
10190 * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
10191 Advance to start of 3rd sexp by moving fwd and backing over it.
10192 At first three elements, act like defun.
10194 * delsel.el (delete-selection-pre-hook): Handle and resignal
10195 file-supersession errors to interact properly with userlock.el.
10197 2001-11-18 Richard M. Stallman <rms@gnu.org>
10199 * progmodes/fortran.el (fortran-mode-syntax-table):
10200 Specify punctuation syntax for backslash.
10202 * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
10205 * international/mule-util.el (string-to-sequence): Make it obsolete.
10206 (string-to-list, string-to-vector): Implement them directly
10207 using append and vconcat, not with string-to-sequence.
10209 * startup.el (command-line): Set abbrevs-changed to nil after
10210 reading the init file and the abbrevs file.
10212 * isearch.el (isearch): Use magenta2 as bg for (background light)
10214 2001-11-17 Richard M. Stallman <rms@gnu.org>
10216 * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
10218 * simple.el (minibuffer-history-sexp-flag): Doc fix.
10220 2001-11-17 Stefan Monnier <monnier@cs.yale.edu>
10222 * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
10223 If set and if applicable, add a regexp to highlight defun-like
10224 text inside comments and strings.
10225 (font-lock-fontify-keywords-region): Pass that new arg.
10226 (font-lock-set-defaults): Move the code to set `font-lock-keywords'
10227 to the end and pass that new arg.
10228 (c-font-lock-keywords-2): Fix regex for labels.
10229 (font-lock-match-c++-style-declaration-item-and-skip-to-next):
10230 Make it work when LIMIT is several lines further.
10231 (c-font-lock-keywords-3, c++-font-lock-keywords-3)
10232 (objc-font-lock-keywords-3, java-font-lock-keywords-3):
10233 Use backquote and make the regexes for `int a, b, c;' work on
10236 * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
10237 (font-lock-defaults-alist): Don't change it any more.
10238 (reb-subexp-mode-map): Cleanup.
10240 * custom.el (custom-current-group-alist): New var.
10241 (custom-declare-group): Set it.
10242 (custom-current-group): New fun.
10243 (custom-declare-variable, custom-handle-all-keywords):
10244 Use it as a default if no :group argument is specified.
10246 * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
10247 (standard-keyboard-coding-systems): New var.
10248 (set-locale-environment): Use it to decide whether or not to call
10249 set-keyboard-coding-system.
10250 (locale-language-names): Use \"French\" for "fr".
10252 2001-11-17 Richard M. Stallman <rms@gnu.org>
10254 * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
10255 (add-to-list): Delete compatibility code.
10256 (checkdoc-next-message-error): Doc fix.
10258 2001-11-17 Stephen Eglen <stephen@gnu.org>
10260 * locate.el (locate): Show default locate pattern within the
10261 prompt, but don't insert it into the minibuffer contents.
10262 Catch the case when pattern is the empty string.
10264 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il>
10266 * language/european.el ("French"): New language environment.
10268 2001-11-16 Richard M. Stallman <rms@gnu.org>
10270 * calendar/todo-mode.el (todo-save): Fix previous change.
10272 * subr.el (functionp): Do use cdr-safe on object.
10274 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
10276 * bindings.el (mode-line-mode-name): Only put the help-echo property
10277 if the local-map property was put as well.
10278 (global-map): Bind switch-frame, delete-frame, iconify-frame
10279 and make-frame-visible events.
10281 * emacs-lisp/elp.el (elp-not-profilable): New var.
10282 (elp-not-profilable-p): New function.
10283 (elp-instrument-function): Use it. Use backquotes and push.
10285 * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
10286 (byte-stack+-info, byte-compile-last-warned-form)
10287 (byte-compile-last-logged-file): Don't defconst a variable.
10288 (no-byte-compile): Declare.
10289 (byte-compile-file): Don't boundp-check no-byte-compile any more.
10290 (byte-compile-defvar): Leave defconst as is.
10292 * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
10293 (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
10294 (edebug-current-offset, edebug-old-def-name, edebug-error-point)
10295 (edebug-best-error): Don't defconst a variable.
10296 (edebug-read-syntax-table): Use a char-table.
10297 (edebug-lemacs-specific): Remove.
10298 Toplevel: Eliminate check for Lucid Emacs.
10300 * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
10302 * rect.el (move-to-column-force): Mark obsolete.
10303 (operate-on-rectangle, delete-extract-rectangle-line)
10304 (insert-rectangle, delete-whitespace-rectangle-line)
10305 (open-rectangle-line, clear-rectangle-line): Use move-to-column.
10306 (string-rectangle-history): New var.
10307 (string-rectangle, string-insert-rectangle): Use it.
10308 (delete-rectangle-line): Fix pos/column mixup and simplify.
10310 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
10311 (normal-top-level, command-line, command-line-1): Simplify.
10313 * tar-mode.el (tar-mode): Use define-derived-mode.
10315 * view.el (view-mode-enable): Don't use make-local-hook.
10317 * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
10319 2001-11-16 Richard M. Stallman <rms@gnu.org>
10321 * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
10322 if it doesn't make sense as anything else.
10323 Don't recognize a "telephone number" at the beginning of the name.
10324 (mail-extr-leading-garbage): Match non-word characters only.
10326 2001-11-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10328 * startup.el (command-line-processed): Doc fix.
10330 * apropos.el (apropos-next-label-button): Doc fix.
10332 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
10334 * comint.el (comint-mode): Simplify.
10335 (make-comint-in-buffer): Run `comint-mode' only if necessary.
10337 * subr.el (eval-after-load): Make it work with features as well.
10339 * log-view.el (log-view-mode): Don't mark the buffer unmodified.
10341 * international/mule-cmds.el (describe-input-method): Setup xref.
10342 (set-language-environment): Use functionp.
10343 (locale-language-names, locale-charset-language-names)
10344 (locale-preferred-coding-systems): Defconst and purecopy.
10346 * language/european.el (mac-roman): Add mime-charset property.
10348 2001-11-15 Richard M. Stallman <rms@gnu.org>
10350 * emacs-lisp/cl.el (values, values-list, multiple-value-list)
10351 (multiple-value-apply, nth-value): Use defsubst rather than defalias
10352 to get better doc strings.
10354 2001-11-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10356 * derived.el: Fix autoload cookie.
10358 2001-11-15 Richard M. Stallman <rms@gnu.org>
10360 * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
10362 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
10364 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
10366 2001-11-15 Richard M. Stallman <rms@gnu.org>
10368 * dired.el (dired-undo): Display a message to explain
10369 that this does not undo file system changes.
10371 2001-11-15 David Kastrup <David.Kastrup@t-online.de>
10373 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
10374 into `unread-command-events' instead of trying keymap
10375 lookups ourselves. This makes mouse-clicks do the right
10376 thing even when keymaps of overlays are involved.
10377 (mouse-drag-drag): Likewise.
10379 2001-11-15 Andreas Schwab <schwab@suse.de>
10381 * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
10382 characters and append anchor to pattern added to auto-mode-alist.
10384 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
10386 * server.el (server-process-filter): Run pre/post-comment-hook
10387 before/after visiting the file.
10389 * info-look.el (makefile-mode): Add info for automake.
10390 (autoconf-mode): Fix the name of the index for automake.
10392 * international/latin-9.el: Give pilcrow punctuation syntax.
10394 2001-11-15 Andre Spiegel <spiegel@gnu.org>
10396 * vc.el: Documentation fixes.
10398 2001-11-14 Stefan Monnier <monnier@cs.yale.edu>
10400 * smerge-mode.el (smerge-match-conflict): Fix typo.
10401 (smerge-diff): Be careful to read match-data early enough.
10403 2001-11-14 Colin Walters <walters@verbum.org>
10405 * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
10406 (calcFunc-subst): Use `defalias' instead of `fset' and
10409 * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
10410 (calcFunc-ceil, calcFunc-round): Ditto.
10412 * calc/calc-bin.el (calcFunc-clip): Ditto.
10414 * calc/calc-ext.el (calcFunc-evalv): Ditto.
10416 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
10418 * calc/calc-misc.el (math-fixnump, math-fixnatnump)
10419 (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
10421 * calc/calc-units.el (calcFunc-unsimplify): Ditto.
10423 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
10424 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
10425 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
10426 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
10427 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
10428 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
10429 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
10430 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
10431 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
10432 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
10433 * calcsel2.el: Style cleanup; don't put closing parens on their
10434 own line, add "foo.el ends here" to each file, and update
10437 * README: Update maintainer.
10439 2001-11-13 Richard M. Stallman <rms@gnu.org>
10441 * progmodes/compile.el (recompile): Use compilation-arguments if
10442 set, so as to be able to M-x recompile the exact command which
10443 created a compilation-mode buffer.
10445 * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
10447 2001-11-13 Gerd Moellmann <gerd@gnu.org>
10449 * mouse.el (mouse-drag-region): Don't run the up-event
10450 handler if window start changed due to the down-mouse event.
10452 2001-11-13 Richard M. Stallman <rms@gnu.org>
10454 * mouse.el (mouse-show-mark): Either move point to the mark
10455 or use highlighting, never both.
10456 (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
10458 2001-11-13 Simon Josefsson <jas@extundo.com>
10460 * mail/smtpmail.el (top-level): Change maintainer to Simon
10461 Josefsson, cleanup the smtpmail.el header.
10463 * mail/smtpmail.el (top-level): Don't require cl or base64.
10464 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
10465 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
10466 Defsubst instead of defmacro.
10467 (smtpmail-intersection): Return value in reverse order.
10468 (smtpmail-open-stream): Use stringp instead of string-to-list.
10469 (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
10470 separated from smtpmail-via-smtp.
10472 * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
10473 rfc2104. Require base64 and cl.
10474 (smtpmail-smtp-service): Doc fix. :type fix.
10475 (smtpmail-debug-info): Doc fix.
10476 (smtpmail-debug-verb, smtpmail-auth-credentials)
10477 (smtpmail-starttls-credentials, smtpmail-auth-supported):
10479 (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
10480 mail-utils (it is autoloaded).
10481 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
10482 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
10483 (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
10484 (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
10485 (smtpmail-via-smtp): Support AUTH.
10486 (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
10488 2001-11-13 Richard M. Stallman <rms@gnu.org>
10490 * ebuff-menu.el (electric-buffer-update-highlight): New function.
10491 (electric-buffer-overlay): New variable.
10492 (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
10493 (electric-buffer-list): Likewise.
10495 * isearch.el (isearch-whitespace-chars): Doc fix.
10496 (isearch-mode): Handle negative search-slow-window-lines correctly.
10498 2001-11-13 Stefan Monnier <monnier@cs.yale.edu>
10500 * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
10502 * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
10503 From Emmanuel Briot <briot@act-europe.fr>.
10505 2001-11-13 Colin Walters <walters@debian.org>
10507 * calc/calc.el (calc-unread-command): Use `unread-command-events'.
10509 * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
10510 "~/.emacs"; use `read-file-name'.
10512 * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
10513 * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
10514 * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
10515 * calc/calc.el: Use `frame-width' instead of `screen-width',
10516 `frame-height' instead of `screen-height', and,
10517 `executing-kbd-macro' instead of `executing-macro'.
10519 * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
10520 correct number of arguments.
10522 * calc/calc-aent.el (calc-do-alg-entry):
10523 Use `blink-paren-function' instead of `blink-paren-hook'.
10525 2001-11-12 Richard M. Stallman <rms@gnu.org>
10527 * calendar/todo-mode.el (todo-save): Add save-excursion
10528 and save-restriction.
10530 * server.el (server-edit, server-done): Doc fix.
10532 * simple.el (clone-indirect-buffer): Error if major mode symbol
10533 has a no-clone-indirect property.
10534 (clone-buffer): Check for obvious errors before reading clone name.
10536 * info.el (Info-mode): Add a no-clone-indirect property.
10538 2001-11-12 Sam Steingold <sds@gnu.org>
10540 * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
10541 set-buffer-modified-p to nil after `vc-exec-after'.
10542 * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
10543 (log-view-mode): Make read-only.
10544 (log-view-current-file): Do final `expand-file-name' in the
10545 current `default-directory'.
10546 (log-view-current-tag): Take an optional `where' arg.
10547 (log-view-diff): New user command.
10549 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10551 * progmodes/cpp.el (cpp-choose-face): Fix typo.
10553 2001-11-12 Sam Steingold <sds@gnu.org>
10555 * emacs-lisp/cl-indent.el (toplevel): Indent properly
10556 `generic-flet', `generic-labels', `with-accessors',
10557 `with-condition-restarts'.
10559 2001-11-12 Richard M. Stallman <rms@gnu.org>
10561 * dired.el: Many trivial doc fixes.
10562 (dired-get-file-for-visit): New function.
10563 (dired-find-alternate-file, dired-mouse-find-file-other-window)
10564 (dired-view-file, dired-find-file-other-window, dired-display-file)
10565 (dired-find-file): Use dired-get-file-for-visit.
10567 2001-11-12 Alex Schroeder <kensanata@yahoo.com>
10569 * sql.el (sql-mode): Doc change.
10571 * sql.el (sql-mode-syntax-table): The backslash is no longer an
10574 2001-11-12 Colin Walters <walters@debian.org>
10576 * calc/calc-keypd.el (toplevel): Bind mouse buttons.
10577 (calc-do-keypad): Don't attempt to use nonexistent global
10578 mouse-map, use calc-keypad-map.
10579 (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
10580 (calc-keypad-left-click): Don't use mouse-map; update to new event
10582 (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
10583 (calc-keypad-press): Use `unread-command-events' instead of
10584 `unread-command-char'.
10586 * calc/calc-ext.el (calc-init-extensions): Update autoload names
10587 to match files renamed on initial calc import.
10589 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10591 * textmodes/flyspell.el (flyspell-default-dictionary):
10592 Fix previous change.
10594 2001-11-12 Richard M. Stallman <rms@gnu.org>
10596 * textmodes/flyspell.el (flyspell-default-dictionary):
10599 2001-11-11 Richard M. Stallman <rms@gnu.org>
10601 * calendar/solar.el (solar-sunrise-and-sunset):
10602 Exchange the two extreme values of day-length.
10604 * progmodes/sh-script.el (sh-must-be-shell-mode):
10605 Allow modes derived from sh-mode.
10607 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
10608 Turn off error in some re-search-forward calls.
10610 * replace.el (query-replace-skip-read-only): New variable.
10611 (perform-replace): If that variable is non-nil, ignore matches
10612 that have a read-only property.
10614 * derived.el (define-derived-mode): Doc fix.
10616 * server.el (server-buffer-done): Test of server-existing-buffer
10618 (server-existing-buffer): Doc fix.
10620 * textmodes/flyspell.el (flyspell-default-dictionary):
10621 Allow nil as value, and make nil the default.
10623 2001-11-11 Eli Zaretskii <eliz@is.elta.co.il>
10625 * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
10627 (clipboard-yank): Ditto.
10629 2001-11-11 Colin Walters <walters@verbum.org>
10631 The following changes are based on patches from
10632 Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro
\e,A_
\e(Bjohann
10633 <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
10635 * calc/calc.el (toplevel): Require calc-macs.
10636 (calc-minibuffer-size): New.
10637 (calcDigit-nondigit): Use it instead of `buffer-size'.
10638 (calcDigit-backspace): Likewise.
10639 (calcDigit-nondigit): Use `minibuffer-contents' instead of
10641 (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
10643 (calcDigit-key): Use `calc-minibuffer-contains' instead of a
10646 * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
10647 simple `setq' form.
10649 * calc/calc-ext.el: (toplevel): Require calc.
10650 (calc-fancy-prefix-map): New.
10651 (calc-fancy-prefix): Use it.
10652 (calc-fancy-prefix-other-key): New.
10654 * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
10655 (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
10656 (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
10657 (calcAlg-enter): Likewise.
10658 (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
10660 2001-11-10 Richard M. Stallman <rms@gnu.org>
10662 * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
10663 (quietly-read-abbrev-file): Doc fix.
10665 * startup.el (command-line): Read standard abbrev
10666 file (abbrev-file-name), if it exists.
10668 * files.el (save-abbrevs): Default value is t.
10670 * progmodes/compile.el (compile-goto-error): Fix previous change
10671 in the case where subsequent errors have not been parsed yet
10672 because they are in a different source file.
10674 2001-11-10 Peter Kleiweg <kleiweg@let.rug.nl>
10676 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
10677 Merge two regular expressions into one.
10678 (ps-mode): Make local bindings for `comment-start' and
10679 `comment-start-skip'.
10680 (ps-mode-looking-at-nested): Simplify an if-else construct;
10681 use `set-match-data' to set the result.
10683 2001-11-10 Richard M. Stallman <rms@gnu.org>
10685 * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
10687 (flyspell-correct-word): Old definition deleted.
10688 (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
10689 All references renamed too.
10691 2001-11-10 Gerd Moellmann <gerd@gnu.org>
10693 * Makefile.in (finder_setwins, setwins): Exclude Calc.
10695 2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
10697 * wid-edit.el (checklist): Removed `:menu-tag'.
10698 (radio-button-choice): Ditto.
10699 (editable-list): Ditto.
10701 2001-11-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10703 * play/gomoku.el: Move definitions of constants to the beginning
10704 of file, before their use.
10706 2001-11-09 Richard M. Stallman <rms@gnu.org>
10708 * textmodes/flyspell.el: Use the keymap property
10709 instead of local-map, and don't use a minor-mode map.
10710 (flyspell-mode-map): Variable deleted.
10711 Don't mess with minor-mode-map-alist.
10712 (calling add-minor-mode): Specify nil for keymap.
10713 And always use add-minor-mode, now that it exists.
10714 (flyspell-overlay-keymap-property-name): Set it to `keymap'.
10715 (flyspell-mode-on): Don't locally bind flyspell-mouse-map
10716 or flyspell-local-mouse-map.
10717 (make-flyspell-overlay): Use flyspell-mouse-map directly.
10718 (flyspell-mode): Doc fix.
10719 (flyspell-mode-on): Don't call make-local-hook.
10721 2001-11-09 Sam Steingold <sds@gnu.org>
10723 * emacs-lisp/debug.el (debugger-make-xrefs):
10724 Add buttons to all symbols.
10726 2001-11-09 Andre Spiegel <spiegel@gnu.org>
10728 * vc.el: Add John David Smith to credits.
10730 Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
10732 * vc-hooks.el (vc-error-occured): Backquotified.
10733 (vc-file-prop-obarray): Use prime length for better efficiency.
10735 * vc.el (vc-clear-context): Fill obarray with 0, not nil.
10737 2001-11-09 Eli Zaretskii <eliz@is.elta.co.il>
10739 * info.el (Info-file-list-for-emacs): Add entries for Calc.
10741 2001-11-09 Miles Bader <miles@gnu.org>
10743 * subr.el (functionp): Don't consider macros as functions.
10745 2001-11-08 Miles Bader <miles@gnu.org>
10747 * subr.el (functionp): Make work correctly for macros and unbound
10750 * comint.el (comint-send-input): Fix description of
10751 `comint-process-echoes' in the doc-string.
10753 2001-11-08 Eli Zaretskii <eliz@is.elta.co.il>
10755 * international/mule.el (make-translation-table): Doc fix.
10756 Suggested by Alex Schroeder <alex@gnu.org>.
10758 2001-11-07 Richard M. Stallman <rms@gnu.org>
10760 * info.el (Info-fontify-node): Highlight every third menu item.
10762 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
10764 * cus-edit.el (custom-face-value-create): Don't ignore the
10765 `customized-face' attribute when finding the current face spec.
10767 2001-11-07 Stefan Monnier <monnier@cs.yale.edu>
10769 * subr.el (with-local-quit): New macro.
10770 (make-syntax-table): Always inherit.
10771 (functionp): Be more careful when `object' is a symbol.
10773 * dabbrev.el (dabbrev-completion): Use "*Completions*".
10775 2001-11-07 Paul Eggert <eggert@twinsun.com>
10777 * dired.el (dired-move-to-filename-regexp):
10778 Do not distinguish between ASCII letters and non-ASCII characters.
10779 Don't allow comma except in the form "month day, year".
10780 Don't allow space between month name and comma.
10781 Clean up the code that checks for trailing period, comma, and space.
10782 Remove now-obsolete comments, and add more commentary about
10784 Always gobble up trailing spaces, instead of doing it only sometimes.
10786 2001-11-07 Miles Bader <miles@gnu.org>
10788 * paren.el (show-paren-match-face): Add dark-background variant.
10790 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
10792 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
10793 (lisp-mode-variables): Don't set paragraph-{start,separate}.
10794 Don't disable adaptive-fill-mode.
10795 (lisp-fill-paragraph): Use tab-width rather than 8.
10796 Prevent filling the first line of docstrings.
10798 2001-11-06 Richard M. Stallman <rms@gnu.org>
10800 * play/gomoku.el (gomoku): Doc fix.
10802 * jka-compr.el (jka-compr-partial-uncompress):
10803 Support an alternative of not using dd.
10804 (jka-compr-dd-program): Use defcustom to define this.
10805 (jka-compr-load-suffixes): Use defcustom.
10806 (jka-compr-mode-alist-additions): Use defcustom.
10808 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
10810 * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
10811 Also work when LIMIT is further than the end of line.
10813 2001-11-06 Eli Zaretskii <eliz@is.elta.co.il>
10815 * international/quail.el (quail-update-leim-list-file): Print the
10816 offending file name if some of its quail-define-package forms is broken.
10818 2001-11-05 Richard M. Stallman <rms@gnu.org>
10820 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
10821 of the evaluated form.
10823 2001-11-05 Paul Eggert <eggert@twinsun.com>
10825 * ls-lisp.el (ls-lisp-time-to-seconds): New function.
10826 (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
10827 stamps always line up by default. Also, it uses a slightly
10828 different window to determine whether files are "recent".
10830 2001-11-05 Andrew Innes <andrewi@gnu.org>
10832 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
10833 Don't attempt to remake autoloads before nuking .elc files.
10835 2001-11-04 Richard M. Stallman <rms@gnu.org>
10837 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
10838 previous-single-property-change or next-single-char-property-change
10841 * international/mule-cmds.el (set-locale-environment):
10842 Make it interactive; make arg optional.
10844 * international/mule-diag.el (help-funs): Require help-funs.
10846 2001-11-04 Eli Zaretskii <eliz@is.elta.co.il>
10848 * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
10850 2001-11-04 Miles Bader <miles@gnu.org>
10852 * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
10853 shadow of the splash image grey on a dark background instead of black.
10855 2001-11-03 Stefan Monnier <monnier@cs.yale.edu>
10857 * term.el (all faces): Don't (copy-face 'default <foo>).
10859 * term/xterm.el (function-key-map):
10860 Add entry for `ESC [ 3 ~' -> <delete>
10861 Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
10862 Use inheritance so that .emacs and terminfo take precedence.
10864 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
10866 * tooltip.el (tooltip-delay): Decrease to 0.7.
10867 (tooltip-hide-delay): Enlarge to 10.
10869 2001-11-03 Richard M. Stallman <rms@gnu.org>
10871 * startup.el (fancy-splash-tail): Explain how to recover
10872 from a crash, if there was a crash.
10873 (command-line-1): Reorganize display of startup screen,
10874 to simplify the logic. Use a temp buffer for it.
10876 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
10878 * frame.el (set-background-color, set-foreground-color):
10879 Call face-set-after-frame-default, to propagate the new colors to
10880 the frame's parameters alist.
10882 * calendar/timeclock.el (timeclock-out): Signal an error if
10883 timeclock-last-event is nil.
10885 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
10887 * textmodes/fill.el (fill-context-prefix): Fix braino.
10889 * international/quail.el (quail-help):
10890 Use `help-buffer' and move `help-setup-xref' to beginning.
10892 * international/mule-cmds.el (describe-language-environment):
10893 Use `help-buffer' and move `help-setup-xref' to beginning.
10895 * international/mule-diag.el (list-character-sets)
10896 (sort-listed-character-sets, describe-character-set)
10897 (describe-coding-system, describe-fontset, list-fontsets):
10898 Use `help-buffer' and move `help-setup-xref' to beginning.
10899 (describe-char-after): Use `internal-describe-syntax-value'.
10901 2001-11-02 Richard M. Stallman <rms@gnu.org>
10903 * mouse.el (popup-menu): If the user refuses to select
10904 from a menu, don't try to invoke the menu.
10906 2001-11-02 Miles Bader <miles@gnu.org>
10908 * help-mode.el (help-xref): New button type.
10909 (help-function, help-variable, help-face, help-coding-system)
10910 (help-input-method, help-character-set, help-type, help-symbol)
10911 (help-back, help-info, help-customize-variable, help-customize-face)
10912 (help-function-def, help-variable-def): Use it as a supertype.
10913 Remove `action' property.
10915 * international/mule-diag.el (describe-character-set)
10916 (describe-coding-system): Pass correct args to `help-xref-button'.
10917 (sort-listed-character-sets): New button type.
10918 (list-character-sets): Use it.
10919 (list-charset-chars): New button type.
10920 (list-character-sets-1): Use it.
10922 2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
10924 * indent.el (tab-always-indent, indent-for-tab-command):
10925 Remove redundant `never' setting.
10927 * fill.el (fill-region-as-paragraph): Don't forget to skip
10928 over current whitespace before looking for a preceding space.
10930 2001-11-01 Richard M. Stallman <rms@gnu.org>
10932 * files.el (file-newest-backup): Don't pass backup file name
10933 thru file-name-sans-versions, because it never has version numbers.
10935 * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
10936 to avoid ambiguous nested loops.
10938 * files.el (find-file-noselect): Offer to change buffer-read-only
10939 only when the file's read-only status has changed from before
10940 as well as disagreeing with the buffer's current status.
10941 (buffer-file-read-only): New var, local in all buffers.
10943 * buff-menu.el (buffer-menu): Doc fix.
10944 (buffer-menu-other-window): Doc fix.
10945 (list-buffers, list-buffers-noselect): Doc fix.
10947 2001-11-01 Gerd Moellmann <gerd@gnu.org>
10949 * startup.el (command-line): If the terminal Emacs is running on
10950 has erase char set to ^H, use the Backspace key for deleting
10951 backward, and the Delete key for deleting forward.
10953 2001-11-01 Miles Bader <miles@gnu.org>
10955 * button.el (define-button-type): Make sure every user-defined
10956 button type has a supertype.
10958 2001-10-31 Jason Rumney <jasonr@gnu.org>
10960 * international/mule-cmds.el (locale-language-names): Add chs and
10961 cht as aliases for Chinese-GB and Chinese-BIG5.
10963 2001-10-31 Richard M. Stallman <rms@gnu.org>
10965 * bindings.el (mode-line-frame-identification): Add doc string.
10966 (mode-line-position, mode-line-modes): New variables.
10967 (mode-line-format): Use mode-line-position for the part
10968 that displays the position-in-buffer info.
10969 Use mode-line-modes for the part that displays major and minor modes.
10971 2001-10-31 Sam Steingold <sds@gnu.org>
10973 * emacs-lisp/debug.el (debugger-make-xrefs): New function.
10974 (debugger-setup-buffer): Call it.
10975 (debugger-mode-map): Bind RET and mouse-2.
10977 2001-10-31 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10979 * startup.el: Document command line option --no-window-system
10980 instead of --no-windows.
10982 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
10984 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
10986 * font-lock.el (java-font-lock-syntactic-face-function): New fun.
10987 (font-lock-defaults-alist): Use it.
10988 From David Ponce <david.ponce@wanadoo.fr>
10990 * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
10991 output of `char-after'.
10993 * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
10995 * simple.el (reindent-then-newline-and-indent): Insert the newline
10996 before indenting the first line.
10997 (undo-get-state, undo-revert-to-state): New funs.
10998 (shell-command): Don't kill the buffer even if empty.
10999 (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
11000 (transpose-subr-end2): Remove.
11001 (transpose-subr): Add `special' arg and simplify.
11002 (transpose-subr-1): Rewrite.
11003 (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
11004 (rfc822-goto-eoh): Simplify.
11006 2001-10-30 Richard M. Stallman <rms@gnu.org>
11008 * enriched.el (enriched-face-ans): Fix previous change.
11010 2001-10-30 Gerd Moellmann <gerd@gnu.org>
11012 * international/iso-acc.el (iso-accents-compose): Remove a
11015 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
11017 * buff-menu.el (list-buffers-noselect): If the buffer's name
11018 starts with a blank, but it visits a file, do show it (for files
11019 whose names start with a blank).
11021 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
11023 * textmodes/fill.el (sentence-end-double-space)
11024 (sentence-end-without-period): Move to paragraphs.el.
11025 (fill-indent-according-to-mode): Change default to t.
11026 (fill-context-prefix): Simplify control-flow and use a more
11027 sophisticated merge that unifies both previous checks.
11028 (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
11029 (fill-nobreak-predicate): Make it into a defcustom'd hook.
11030 (fill-nobreak-p): New fun.
11031 (fill-region-as-paragraph): Use it.
11032 Handle `fill-indent-according-to-mode' slightly differently.
11033 (fill-individual-paragraphs-prefix): Simplify the control-flow.
11034 (fill-individual-paragraphs-citation): Fix.
11036 * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
11037 (paragraph-start): Change default to the `text-mode' value.
11038 (sentence-end-double-space, sentence-end-without-period):
11040 (forward-paragraph): Use `parstart' and `parsep' for temp variables
11041 rather than rebinding `paragraph-start' and `paragraph-separate'.
11043 * indent.el (indent-line-function): Change default to indent-relative.
11044 (tab-always-indent): Add an `never' setting.
11045 (indent-according-to-mode): Handle `indent-relative' and
11046 `indent-relative-maybe' specially.
11047 (indent-for-tab-command): Rename `prefix-arg' to `arg'.
11048 Handle the `never' case for `tab-always-indent'.
11049 Don't call indent-according-to-mode for indent-relative' and
11050 `indent-relative-maybe'.
11051 (insert-tab): Rename `prefix-arg' to `arg'.
11052 (indent-region): Indent the first line as well.
11053 (indent-relative): Don't mark the buffer modified if the indentation
11056 * textmodes/text-mode.el (paragraph-indent-minor-mode):
11057 Don't set paragraph-separate. Set paragraph-start more carefully.
11058 Set indent-line-function.
11059 (paragraph-indent-text-mode): Use it and define-derived-mode.
11060 (text-mode-map): Remove the \t binding.
11061 (text-mode): Simplify now that the default is more favorable.
11063 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
11065 * emacs-lisp/find-func.el (find-function-search-for-symbol):
11066 If the regexp doesn't match, use a looser one.
11067 (find-variable-noselect): Add `file' argument.
11069 * pcvs.el (cvs-mode-commit-hook): New hook.
11070 (cvs-mode-commit): Run it.
11072 * log-edit.el (log-edit): Run hook after `log-edit-files'.
11074 * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
11075 (edebug-instrument-function): Use `find-function-noselect'.
11077 2001-10-29 Richard M. Stallman <rms@gnu.org>
11079 * term.el (term-if-emacs19): Macro deleted.
11080 Callers changed to use progn instead.
11082 * frame.el (blink-cursor-mode): Doc fix.
11084 * files.el (find-backup-file-name): Use make-backup-file-name.
11086 * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
11088 (edebug-set-conditional-breakpoint): Unconditionally use
11089 the former Emacs >=19 definition.
11090 (edebug-mark): Define unconditionally.
11091 (edebug-eval-expression): Always call read-from-minibuffer
11092 and specify history list.
11093 (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
11094 edebug-set-conditional-breakpoint.
11095 (edebug-emacs-version-specific): Function deleted;
11096 do the job at top level.
11097 (edebug-emacs-19-specific): Function deleted, this is the default.
11099 2001-10-29 Sam Steingold <sds@gnu.org>
11101 * w32-fns.el (convert-standard-filename): Handle cygwin-specific
11102 "/cygdrive/LETTER/" pathnames.
11104 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
11106 * faces.el (invert-face): Check for 'unspecified, not for nil,
11107 when testing whether face colors are not specified.
11108 From David.Kastrup@t-online.de (David Kastrup).
11109 (read-face-name): Doc fix.
11110 (make-face-bold, make-face-unbold, make-face-italic)
11111 (make-face-unitalic, make-face-bold-italic, invert-face):
11112 Remove trailing blank from the prompt passed to read-face-name.
11114 2001-10-29 Sam Steingold <sds@gnu.org>
11116 * emacs-lisp/bytecomp.el (byte-recompile-directory):
11117 Report numbers of files skipped and failed too.
11118 (byte-compile-file): Return 'no-byte-compile for skipped files.
11120 2001-10-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11122 * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
11125 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11127 * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
11128 as is on unread-command-events instead of `(SECOND-CHAR)'.
11130 2001-10-29 Andre Spiegel <spiegel@gnu.org>
11132 * vc.el: Mention vc-*-switches in backend API documentation.
11133 (vc-annotate): Adapt doc string to recent change.
11135 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11137 * enriched.el (enriched-face-ans): Handle face attributes
11138 of the form `(FACE1 FACE2 ...)'.
11140 * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
11142 2001-10-29 Alex Schroeder <kensanata@yahoo.com>
11144 * progmodes/sql.el (sql-mysql): Doc change by RMS.
11146 * progmodes/sql.el (sql-db2): Doc change.
11147 (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
11148 (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
11150 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11152 * env.el (substitute-env-vars): Don't quote argument to `rx';
11155 2001-10-28 Per Abrahamsen <abraham@dina.kvl.dk>
11157 * cus-start.el (recursive-load-depth-limit): Added.
11159 2001-10-28 Richard M. Stallman <rms@gnu.org>
11161 * textmodes/ispell.el (version18p, version20p): Vars deleted.
11162 All uses removed--assume Emacs version is >= 20.
11164 * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
11165 by really checking that it is not version 18.
11167 * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
11169 2001-10-28 Miles Bader <miles@gnu.org>
11171 * faces.el (face-attribute): Add INHERIT argument, consider face
11172 inheritance if it's non-nil.
11173 (face-attribute-merged-with): New function.
11174 (face-attribute-specified-or): New macro.
11175 (face-foreground, face-background, face-stipple): Add INHERIT
11176 argument. Use `face-attribute-specified-or'.
11178 2001-10-28 Stefan Monnier <monnier@cs.yale.edu>
11180 * font-lock.el: Require `syntax'.
11181 (font-lock-defaults-alist): Don't define keywords for lisp languages.
11182 Use `c-font-lock-syntactic-face-function' for c languages.
11183 (font-lock-mode): Don't unset vars when turning the mode off.
11184 (font-lock-default-fontify-buffer): Don't unset vars at the end.
11185 (font-lock-extra-managed-props): New var.
11186 (font-lock-default-unfontify-region): Use it.
11187 (font-lock-apply-syntactic-highlight): Flush the syntax cache.
11188 Don't eval the value when there's no match.
11189 (font-lock-ppss-stats): New var.
11190 (font-lock-ppss): New fun.
11191 (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
11192 (font-lock-apply-highlight): Allow `highlight' to set several props.
11193 (font-lock-set-defaults): Use dolist.
11194 (font-lock-unset-defaults): Remove.
11195 (font-lock-match-c-style-declaration-item-and-skip-to-next):
11196 Try to recognize prototypes using `foo P_ ((args))'.
11197 ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
11198 (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
11199 (c-font-lock-syntactic-face-function): New function.
11200 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
11201 (c++-keywords): Use a more sophisticated regexp to handle
11202 shallowly nested templates.
11204 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
11206 * textmodes/sgml-mode.el (sgml-empty-tags): New var.
11207 (sgml-tag): Use it. Cleanup with `cond'.
11208 (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
11209 Mark the overlays and only delete those that are marked.
11210 (sgml-skip-close-p): Remove.
11211 (sgml-value): Replace sgml-skip-close-p with its definition.
11212 (html-tag-alist): Use sgml-xml a bit more.
11213 (html-mode): Set sgml-empty-tags.
11215 * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
11216 (texinfo-update-node, texinfo-sequential-node-update):
11217 Don't bind the obsolete `auto-fill-hook'.
11218 (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
11219 Use `set-buffer' rather than `switch-to-buffer'.
11220 (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
11221 Use `set-buffer' rather than `switch-to-buffer'.
11223 * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
11224 text-mode-syntax-table.
11225 (mail-mode): Use define-derived-mode.
11226 Fix ordering of alternatives in adaptive-fill-regexp.
11227 (mail-mode-map): Don't rely on keymap's internal representation.
11229 2001-10-27 Sam Steingold <sds@gnu.org>
11231 * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
11232 (sgml-xml-guess): Extracted from `html-mode' and generalized.
11233 (sgml-mode-common): Call it.
11234 (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
11235 (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
11236 (html-horizontal-rule, html-image, html-ordered-list):
11237 (html-unordered-list, html-list-item, html-paragraph):
11238 (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
11241 2001-10-26 Masayuki Ataka <ataka@milk.freemail.ne.jp>
11243 * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
11244 (ifnothtml): New alias.
11246 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
11248 * textmodes/text-mode.el (text-mode): Use define-derived-mode.
11249 (toggle-text-mode-auto-fill): Use derived-mode-p.
11251 2001-10-27 Gerd Moellmann <gerd.moellmann@t-online.de>
11253 * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
11254 `mdtm'. From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
11256 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
11258 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
11259 Add make-obsolete cookies, to follow faces.el.
11261 These changes avoid warnings from the byte compiler in faces.el:
11263 * faces.el (internal-get-face): Use facep instead of the obsolete
11264 internal-find-face.
11265 (internal-frob-font-weight, internal-frob-font-slant):
11266 New defaliases for obsolete functions.
11267 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
11268 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
11269 (x-make-font-bold-italic): Use internal-frob-font-weight and
11270 internal-frob-font-slant aliases instead of the obsolete
11271 x-frob-... functions.
11273 2001-10-26 Sam Steingold <sds@gnu.org>
11275 * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
11276 DOCTYPE; set `mode-name' based on it.
11277 (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
11278 (sgml-tag): Close empty tags in XHTML.
11280 2001-10-26 Jason Rumney <jasonr@gnu.org>
11282 * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
11283 when UNICODE is not defined.
11285 2001-10-26 Sam Steingold <sds@gnu.org>
11287 * font-lock.el (c-font-lock-keywords-2): Do not require labels to
11288 be alone on the line.
11290 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
11292 * button.el (button): Special face definition for MS-DOS terminals.
11294 2001-10-26 Sam Steingold <sds@gnu.org>
11296 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
11297 Protect the /= test by checking that the args are non-nil.
11298 (sh-font-lock-close-heredoc): Check eof for being non-nil.
11300 2001-10-26 Tomas Abrahamsson <tab@lysator.liu.se>
11302 * textmodes/artist.el (artist-version): 1.2.4.
11303 (artist-butlast-fn): New variable.
11304 (artist-butlast): New function.
11305 (artist-ellipse-mirror-quadrant): Use it.
11306 (artist-mouse-draw-poly): Use nil for `point-list'.
11307 (artist-mouse-draw-poly): Check for point-list being nil.
11309 2001-10-26 Peter Kleiweg <kleiweg@let.rug.nl>
11311 * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
11313 (ps-mode-menu-main): Submenu with options on/off was replaced with
11315 (ps-mode, ps-run-mode): Define with `define-derived-mode'
11316 (ps-mode): Autoload cookie added on same line as comment
11317 (ps-mode-tabkey, ps-mode-backward-delete-char):
11318 (ps-mode-r-balance): Replace `delete-horizontal-space' and
11319 `indent-to' with `indent-line-to'
11320 (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
11322 (ps-mode-print-region): Use `with-temp-buffer'.
11323 (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'.
11324 (numerous places): Add back-tick and tick around names in
11325 docstrings, fix punctuation in docstrings, remove trailing spaces.
11327 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
11329 * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
11330 (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
11331 (sgml-font-lock-syntactic-keywords): New var.
11332 (sgml-mode-common): Drop the two args.
11333 Don't make buffer-local variables that aren't used.
11334 Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
11335 Don't set `before-string' props from sgml-display-text.
11336 (sgml-mode): Use define-derived-mode.
11337 (sgml-tags-invisible): Use sgml-display-text.
11338 (sgml-quote): New command.
11339 (html-tag-alist): Add args for `span'.
11340 (html-mode): Use define-derived-mode.
11341 Set sgml-display-text and sgml-tag-face-alist.
11343 2001-10-25 Sam Steingold <sds@gnu.org>
11345 * add-log.el (add-log-always-start-new-record): New user option.
11346 (add-change-log-entry): Use it.
11348 2001-10-25 Richard M. Stallman <rms@gnu.org>
11350 * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
11351 bind case-fold-search if FROM is not all lower case.
11353 2001-10-25 Gerd Moellmann <gerd@gnu.org>
11355 * startup.el (normal-top-level): Check for frame-initial-frame
11356 only if it's really used.
11358 * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
11360 * progmodes/compile.el (compilation-parse-errors-filename-function):
11362 (compilation-parse-errors): Use it.
11364 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
11366 * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
11367 interactively so that C-u M-C-x still does edebug.
11368 (checkdoc-sentencespace-region-engine): Don't force a double-space
11369 after `.' if it doesn't look like an end-of-sentence.
11370 (debug-ignored-errors): Add `disambiguate ...'.
11372 2001-10-24 Stefan Monnier <monnier@cs.yale.edu>
11374 * textmodes/texinfo.el (texinfo-environments)
11375 (texinfo-environment-regexp): Hoist.
11376 (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
11377 Only highlight the menu name in menu items.
11378 Setup `@foo ... @end foo' as text clones.
11379 (texinfo-clone-environment): New function.
11380 (texinfo-mode): Simplify auto-fill-inhibit-regexp.
11381 (texinfo-insert-block): Simplify.
11382 (texinfo-insert-quote): Insert a plain " if preceded by \ or if
11383 the command is repeated.
11384 (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
11385 (texinfo-insert-@end): Simplify.
11387 * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
11388 (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
11389 (texinfo-subsubsection-level-regexp)
11390 (texinfo-update-menu-same-level-regexps)
11391 (texinfo-update-menu-higher-regexps)
11392 (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
11394 * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
11395 (derived-mode-p): Autoload.
11397 * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
11398 New vars and functions.
11399 (text-clone-maintain, text-clone-create): New functions.
11401 2001-10-25 Miles Bader <miles@gnu.org>
11403 * facemenu.el (facemenu-add-new-face): Fix variable names.
11405 2001-10-24 Richard M. Stallman <rms@gnu.org>
11407 * facemenu.el (facemenu-unlisted-faces): Improve doc strings
11408 of t and nil values.
11409 (facemenu-set-face): Handle START and END interactively.
11410 (facemenu-set-foreground): Don't use a face; specify color directly.
11411 (facemenu-set-background): Likewise.
11412 (facemenu-set-face-from-menu): Doc fix.
11413 (facemenu-active-faces): Use face-attribute-vector
11414 to handle bare attributes not in faces.
11415 (facemenu-get-face): Don't handle face names fg:... and bg:...
11417 (facemenu-add-new-face): New argument MENU.
11418 New way to handle adding colors to the color menus.
11420 * env.el (substitute-env-vars): Quote the arg to rx.
11422 2001-10-24 Sam Steingold <sds@gnu.org>
11424 * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
11425 Control" and "SGML" groups.
11427 2001-10-24 Martin Stjernholm <bug-cc-mode@gnu.org>
11429 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
11430 Better handling of C++ template args to avoid confusion with `<'
11431 and `>' used as operators in member init expressions.
11433 2001-10-24 Gerd Moellmann <gerd@gnu.org>
11435 * replace.el (perform-replace): Move START and END parameters
11436 to the end of the argument list and make them optional.
11438 * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
11441 * international/fontset.el (x-must-resolve-font-name): New function.
11442 (x-complement-fontset-spec): Use it.
11444 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
11446 * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
11448 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
11449 Turn caadr into caar of cdr.
11451 2001-10-23 Gerd Moellmann <gerd@gnu.org>
11453 * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
11454 of mouse-{1,2} since dragging is on the down event.
11456 * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
11458 * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
11461 * desktop.el (desktop-last-buffer): New variable.
11462 (desktop-create-buffer): Set it.
11463 (desktop-read): Bind it and switch to that buffer.
11465 2001-10-22 Gerd Moellmann <gerd@gnu.org>
11467 * progmodes/compile.el (compilation-set-window-height):
11468 Select old window only if it's still live.
11470 2001-10-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11472 * help-mode.el (help-buffer): Remove debugging code.
11473 From Stefan Monnier <monnier@cs.yale.edu>.
11475 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
11477 * files.el (file-name-sans-extension, file-name-extension):
11478 Don't count the leading dots in file names as signaling an extension.
11480 2001-10-22 Andre Spiegel <spiegel@gnu.org>
11482 * vc.el (vc-diff-switches): Doc rewritten.
11484 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
11486 * tooltip.el (tooltip-set-param): Doc fix.
11488 * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
11489 127 to sgml-maybe-name-self.
11490 (sgml-name-8bit-mode): Doc fix.
11491 (sgml-char-names-table): New variable.
11492 (sgml-name-char): Support non-ASCII and mule-unicode-*
11493 characters. Doc fix.
11494 (sgml-maybe-name-self): Convert unibyte characters to multibyte.
11496 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
11497 doc string the effect of `left' and `top' parameters in
11498 tooltip-frame-parameters, the default values, and the units.
11499 (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
11500 (tooltip-show): Mention in the doc string the `top' and `left'
11501 parameters in tooltip-frame-parameters, and x-max-tooltip-size.
11503 2001-10-22 Andre Spiegel <spiegel@gnu.org>
11505 Add autoscaling support for vc-annotate.
11506 From J.D. Smith <jdsmith@alum.mit.edu>.
11508 * vc.el (vc-annotate-display-default): Accept colormap scaling
11509 ratio (now deprecated).
11510 (vc-annotate-display-autoscale): Added.
11511 (vc-annotate-add-menu): New autoscaling menu options "Span to
11512 Oldest" and "Span Oldest->Newest". Easymenu support added for
11513 toggle menus driven by customize variable `vc-annotate-display-mode'.
11514 (vc-annotate-display-select): Added.
11515 (vc-annotate): Changed temp-buffer-show-function to
11516 `vc-annotate-display-select'.
11517 (vc-annotate-display): Removed arguments BUFFER and BACKEND.
11518 Added argument OFFSET. Instead of backend function, calls now
11519 generic `vc-annotate-difference'.
11520 (vc-annotate-difference): Added as generic function instead of
11521 backend-specific function. No longer takes argument POINT, but
11522 instead accepts a time OFFSET.
11523 (vc-default-annotate-current-time): Added.
11525 * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
11526 version in vc.el, with
11527 (vc-cvs-annotate-current-time): Added, as override of default.
11528 (vc-cvs-annotate-time): Added. Taken mostly from the (now removed)
11529 `vc-cvs-annotate-difference'.
11531 2001-10-22 Gerd Moellmann <gerd@gnu.org>
11533 * saveplace.el (save-place): Require `saveplace'.
11535 * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
11536 Use `sexp' for :value-type instead of `face'.
11538 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
11540 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
11541 regexps due to 5-digit message IDs.
11543 2001-10-21 Jason Rumney <jasonr@gnu.org>
11545 * term/w32-win.el (redisplay-dont-pause): Don't set.
11547 2001-10-21 Miles Bader <miles@gnu.org>
11549 * help-funs.el (help-manyarg-func-alist): Variable removed.
11551 2001-10-21 Miles Bader <miles@gnu.org>
11553 * help-funs.el (help-manyarg-func-alist): Remove entries for
11554 `insert', `insert-and-inherit', `insert-before-markers',
11555 `insert-before-markers-and-inherit', `message', `message-box',
11556 `message-or-box', `propertize', `format', `encode-time', `append',
11557 `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
11558 `insert-string', `ml-if', `ml-provide-prefix-argument', and
11559 `ml-prefix-argument-loop'.
11561 2001-10-21 Andre Spiegel <spiegel@gnu.org>
11563 * vc.el (vc-diff-internal, vc-coding-system-for-diff)
11564 (vc-default-diff-tree): New functions.
11565 (vc-version-diff): Use them. As a result, coding systems are now
11566 set up properly for all sorts of diffs, and tree diffs can now
11567 also be done locally.
11568 (vc-diff): With a prefix argument, don't require that it's called
11569 from a buffer under version control.
11570 (diff-switches): Remove duplicate definition.
11572 * vc-cvs.el (vc-cvs-diff-tree): New function.
11574 2001-10-21 Miles Bader <miles@gnu.org>
11576 * help-funs.el (help-manyarg-func-alist): Remove entries for
11577 `list', `vector', `make-byte-code', `call-process',
11578 `call-process-region', `string', `+', `-', `*', `/', `max', `min',
11579 `logand', `logior', and `logxor'.
11581 * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
11582 image bits to compensate. Use `make-string' instead of
11583 `make-bool-vector' (XBM apparently wants byte-aligned rows).
11585 2001-10-20 Kim F. Storm <storm@cua.dk>
11587 * simple.el (kill-ring-save): Don't show extent of copied region
11588 if using transient-mark-mode and region is fully visible.
11590 See ChangeLog.9 for earlier changes.
11592 ;; Local Variables:
11593 ;; coding: iso-2022-7bit
11596 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
11597 Copying and distribution of this file, with or without modification,
11598 are permitted provided the copyright notice and this notice are preserved.