1 2002-08-21 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3 * tramp.el: Version 2.0.13 released.
4 (tramp-handle-write-region): Don't check to see if remote end is
5 awake after sending data to remote host: we want to send "EOF" not
6 "echo are you awake"...
7 (tramp-maybe-open-connection): Swap args for tramp-time-diff.
8 (tramp-yn-prompt-regexp): New variable.
9 (tramp-action-yn): New function, using it.
10 (tramp-feature-write-region-fix): New internal variable. Not yet
11 used. Should be used in `tramp-handle-write-region'.
13 2002-08-21 Kim F. Storm <storm@cua.dk>
15 * bindings.el (mode-line-format): Moved global-mode-string last.
16 (mode-line-position): Moved %p first. Added padding to %l/%c to
17 eliminate jumpyness in modeline. Use (%l,%c) format if both
18 line-number-mode and column-number-mode are enabled.
20 2002-08-20 Martin Stjernholm <bug-cc-mode@gnu.org>
22 * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed a bug
23 that could cause an infinite loop if something that looks like
24 a macro begins in the middle of a line.
26 * progmodes/cc-engine.el (c-parse-state): Fixed a bug that
27 could cause `c-state-cache' to contain two conses in sequence
28 when there's an unbalanced open paren in a macro.
30 2002-08-20 Glenn Morris <gmorris@ast.cam.ac.uk>
32 * progmodes/fortran.el (fortran-current-defun): Use save-excursion.
34 * imenu.el (imenu--generic-function): Use mapc.
35 (imenu-syntax-alist): Doc fix.
37 2002-08-20 Richard M. Stallman <rms@gnu.org>
39 * font-core.el (font-lock-change-mode): New function.
40 (font-lock-mode): Use font-lock-change-mode instead of
41 font-lock-unfontify-buffer.
42 (font-lock-maximum-size, font-lock-verbose): Add defvars.
44 2002-08-20 Carsten Dominik <dominik@astro.uva.nl>
46 * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
47 which determines on a per-file-basis if BibTeX is being used
48 locally for citations.
49 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
50 cooperation with chapterbib.
51 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
52 better cooperation with chapterbib.
54 * textfiles/reftex-dcr.el (reftex-view-cr-cite): Use
55 `reftex-bib-or-thebib' for better cooperation with chapterbib.
57 2002-08-20 Kim F. Storm <storm@cua.dk>
59 * kmacro.el: Major rework based on discussions with RMS.
60 Most important change is that C-x C-k is now bound to a keymap
61 with keyboard macro related commands. The original binding on
62 C-x C-k is moved to C-x C-k e.
64 * binding.el: Remove macro related bindings (now in kmacro.el).
66 * edmacro.el: Remove C-x C-k binding (now in kmacro.el).
68 2002-08-19 Kenichi Handa <handa@etl.go.jp>
70 * international/mule.el (sgml-xml-auto-coding-function): Call
71 re-search-forward with NOERROR t.
73 2002-08-19 Miles Bader <miles@gnu.org>
75 [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
76 * comint.el (comint-inhibit-carriage-motion): New variable.
77 (comint-carriage-motion): Argument STRING removed. New arguments
78 START and END; interpret characters between START and END rather
79 than using special comint state.
80 (comint-output-filter): Call `comint-carriage-motion'.
81 (comint-output-filter-functions): Don't add `comint-carriage-motion'.
82 * ielm.el (inferior-emacs-lisp-mode): Give
83 `comint-inhibit-carriage-motion' a local value of t.
85 2002-08-18 Richard M. Stallman <rms@gnu.org>
89 * font-core.el (font-lock-mode): Set change-major-mode-hook locally.
91 2002-08-18 Andreas Schwab <schwab@suse.de>
93 * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
95 2002-08-17 Carsten Dominik <dominik@astro.uva.nl>
97 * textmodes/reftex.el (reftex-mode): Create special syntax tables.
98 (reftex-syntax-table): Set a default in case this is being used
100 (reftex-syntax-table-for-bib): Set a default in case this is being
101 used outside a LaTeX file.
103 2002-08-17 Richard M. Stallman <rms@gnu.org>
105 * tar-mode.el (tar-subfile-mode): Use add-hook and
106 remove-hook, and use write-file-functions instead of
107 local-write-file-hooks.
108 (tar-untar-buffer): Don't try to extract directories.
110 * menu-bar.el (fringe-mode): Set to nil.
112 * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
114 2002-08-15 Richard M. Stallman <rms@gnu.org>
116 * calendar/appt.el (appt-delete): Use substring-no-properties.
117 (appt-make-list): Don't use prin1-to-string; use the string unchanged.
119 2002-08-15 Jan Nieuwenhuizen <janneke@gnu.org> (tiny change)
121 * server.el (server-process-filter): Simplify code.
122 (server-goto-line-column): New function.
123 (server-visit-files): Use server-goto-line-column.
124 Offer to revert only if file has changed.
126 2002-08-15 Richard M. Stallman <rms@gnu.org>
128 * files.el (recover-this-file): New function.
129 (after-find-file): Recommend recover-this-file.
131 * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
132 to change-major-mode-hook when font lock is enabled.
134 * simple.el (toggle-truncate-lines): Force redisplay.
135 Display status message.
137 2002-08-15 Carsten Dominik <dominik@sand.science.uva.nl>
139 * textmodes/reftex.el (reftex-mode): Moved the creation of special
140 syntax tables to top-level.
142 2002-08-14 Stefan Monnier <monnier@cs.yale.edu>
144 * help-fns.el (locate-library): Use locate-file(-completion).
145 (help-split-fundoc): Tighten the regexp and recognize a usage-info
146 where the function name is `fn'.
147 (help-function-arglist): Follow aliases and macros.
148 (describe-function-1): Use keymapp.
149 If the docstring contains a usage info, use it even if the function is
150 not a subroutine. Find usage info in aliases' docstring if necessary.
151 (describe-variable): Get the value before setting up the *Help* buffer.
153 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
154 Use find-file-hook instead of find-file-hooks.
155 (define-minor-mode): Get rid of this silly `togglep'.
156 Add an explicit `toggle' argument (used for interactive calls).
157 Emit a warning when a nil argument turns the mode off.
159 * language/ethio-util.el (setup-ethiopic-environment-internal)
160 (exit-ethiopic-environment): Use find-file-hook and
161 write-file-functions instead of find-file-hooks and write-file-hooks.
163 * window.el (handle-select-window): Don't do anything if the window
164 has disappeared since the event was generated.
165 (split-window-save-restore-data): Use push and with-current-buffer.
169 * obsolete/hilit19.el:
170 * completion.el (dynamic-completion-mode):
171 * emacs-lisp/find-func.el (find-function-search-for-symbol):
172 Use find-file-hook instead of find-file-hooks.
174 * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
175 (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
176 (imenu-space-replacement): Allow nil value.
177 (imenu--completion-buffer): Use new vars and simplify.
178 Fix handling of minibuffer-setup-hook.
179 Use minibuffer-completion-help instead of rolling our own.
180 (imenu-choose-buffer-index): Use the new var.
182 * startup.el (command-line): Load custom-file if not done yet.
184 2002-08-15 David Kastrup <David.Kastrup@t-online.de>
186 * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
187 use `hash-table-size' instead of `length'.
189 2002-08-14 Kenichi Handa <handa@etl.go.jp>
191 * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
192 the selection data string. Always return cons of type and string.
193 (selection-converter-alist): Add (UTF8_STRING .
194 xselect-convert-to-string).
196 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
198 * newcomment.el (comment-region): Force `lines' when `block' is set.
200 2002-08-12 Richard M. Stallman <rms@gnu.org>
202 * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag)
203 (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
204 (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
205 (menu-bar-toggle-cua-mode, menu-bar-read-mail)
206 (menu-bar-help-extra-packages, help-with-tutorial-spec-language)
207 (menu-bar-text-mode-auto-fill): New commands, used
208 in menu bar menus instead of lambda expressions.
210 (menu-bar-showhide-fringe-menu-customize-left)
211 (menu-bar-showhide-fringe-menu-customize-right)
212 (menu-bar-showhide-fringe-menu-customize-disable)
213 (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
215 (menu-bar-options-menu): Use toggle-truncate-lines.
216 (showhide-date-time): Call customize-mark-as-set.
218 * emacs-lisp/find-func.el (find-function-search-for-symbol):
219 Obey `definition-name' properties.
221 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
222 Put `definition-name' properties on the functions whose
223 names are constructed.
225 * textmodes/page-ext.el (pages-target-buffer): Add defvar.
226 Renamed from target-buffer.
227 (pages-directory, pages-copy-header-and-position): Uses changed.
229 * calendar/appt.el (appt-make-list): Correct the parsing of
230 each appointment from time-string.
232 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
234 * scroll-all.el (scroll-all-mode): Use define-minor-mode.
235 (scroll-all-mode) <defcustom>: Delete.
236 (running-xemacs): Delete.
237 (minor-mode-alist): Don't manipulate it directly.
239 2002-08-10 Kenichi Handa <handa@etl.go.jp>
241 * international/mule-cmds.el (search-unencodable-char): New function.
242 (select-safe-coding-system): Show unencodable characters.
243 (unencodable-char-position): Deleted, and implemented in C in coding.c.
245 2002-04-09 John Wiegley <johnw@gnu.org>
247 * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it.
248 * em-cmpl.el (eshell-cmpl-ignore-case): Ditto.
249 * em-dirs.el (eshell/cd): Ditto.
250 * em-glob.el (eshell-glob-case-insensitive): Ditto.
251 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
252 * esh-ext.el (eshell-binary-suffixes): Ditto.
254 2002-08-09 Richard M. Stallman <rms@gnu.org>
256 * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
258 * simple.el (set-variable): Give locality status in prompt.
260 2002-08-09 Benjamin Rutt <rutt@cis.ohio-state.edu>
262 * simple.el (set-variable): If given a prefix argument, set
263 variable buffer-locally.
265 2002-08-09 John Paul Wallington <jpw@shootybangbang.com>
267 * font-core.el (font-lock-function): Make it buffer-local.
269 2002-08-08 Richard M. Stallman <rms@gnu.org>
271 * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
272 (checkdoc-message-interactive, checkdoc-interactive-loop)
273 (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
275 Update checkdoc-spellcheck-documentation-flag correctly.
276 (checkdoc-ispell-docstring-engine): Don't test for
277 checkdoc-autofix-flag = nil.
279 2002-08-07 John Paul Wallington <jpw@shootybangbang.com>
281 * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
283 * wid-browse.el (widget-minor-mode): Fix doc typo.
285 2002-08-07 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
287 * net/tramp.el: Version 2.0.12 released.
288 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
289 Comment out possibly obsolete "echo hello" commands.
290 (tramp-run-real-handler): If operation is
291 `ange-ftp-hook-function', use first arg as the real operation.
292 (tramp-check-ls-commands): Use / instead of \ as directory
293 separator. (Relevant for XEmacs on Windows.)
294 (tramp-maybe-open-connection): Use tramp-wait-for-output when
295 waiting for the "are you awake" command. Use a different string
296 for the "are you awake" command.
297 (tramp-send-command): New optional arg NEVEROPEN means to never
298 invoke tramp-maybe-open-connection.
299 (tramp-maybe-open-connection): Use it
301 2002-08-07 Richard M. Stallman <rms@gnu.org>
303 * warnings.el (warning-prefix-function, warning-series)
304 (warning-fill-prefix, warning-group-format): Add autoload cookies.
306 2002-08-07 Kenichi Handa <handa@etl.go.jp>
308 * international/mule-cmds.el (select-safe-coding-system):
309 Call pop-to-buffer inside save-window-excursion and save-excursion.
311 2002-08-06 John Paul Wallington <jpw@shootybangbang.com>
313 * help-fns.el (describe-function-1): Skip arglist note if
314 function's definition is a keymap.
316 2002-08-06 Sam Steingold <sds@gnu.org>
318 * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
319 and `mail-user-agent' instead of straight sendmail.
320 (diary-modified, diary-entries-list, displayed-year)
321 (displayed-month, entry, date, number, date-string, d-file)
322 (original-date): Defvar without binding to avoid compiler warnings.
324 2002-08-05 Alan Shutko <ats@acm.org>
326 * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
327 (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
328 (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
330 * ibuf-ext.el (ibuffer-list-buffer-modes): New.
331 (ibuffer-filter-by-used-mode): New.
333 2002-08-05 John Paul Wallington <jpw@shootybangbang.com>
335 * ediff-util.el (ediff-copy-list): Use `defalias' instead of
336 `fset' and `symbol-function'.
338 2002-08-05 John Wiegley <johnw@gnu.org>
340 * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
341 value unless pcomplete-cycle-cutoff-length is non-nil.
343 2002-04-09 John Paul Wallington <jpw@shootybangbang.com>
345 * esh-util.el (eshell-under-cygwin-p): New function.
346 * em-cmpl.el (eshell-cmpl-ignore-case): Use it.
347 * em-dirs.el (eshell/cd): Ditto.
348 * em-glob.el (eshell-glob-case-insensitive): Ditto.
349 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
350 * esh-ext.el (eshell-binary-suffixes): Ditto.
352 2002-08-05 Richard M. Stallman <rms@gnu.org>
354 * international/mule-cmds.el (select-safe-coding-system): Check for
355 non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
357 * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
359 2002-08-05 Gerd Moellmann <gerd@gnu.org>
361 * image.el (image-jpeg-p): Accept "Exif" marker.
363 2002-08-05 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
365 * net/tramp.el: Version 2.0.11 released.
366 (tramp-perl-file-attributes): Print uid and gid as signed integers.
367 (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
368 Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
370 (tramp-find-file-exists-command): Check for `ls -d' last, after
371 all the variants on `test -e'.
372 (tramp-post-connection): Erase buffer before finding a command to
373 check if file exists.
375 2002-08-05 David Kastrup <David.Kastrup@t-online.de>
377 * calc/calc.el (math-format-stack-value): Revert a broken
378 if->when replacement and reformat so that this does not happen
379 again. Fixes a pretty lethal line formatting/yanking bug.
381 2002-08-04 John Paul Wallington <jpw@shootybangbang.com>
383 * startup.el (fancy-splash-frame): Check selected frame last.
385 2002-08-04 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
387 * net/tramp.el: Version 2.0.10 released.
388 (tramp-uudecode): New shell function `tramp_uudecode' to decode to
389 standard output even if `uudecode -p' and `uudecode -o -' don't work.
390 (tramp-post-connection): After finding the right shell, wait a
391 bit. This is a kludge to avoid a race condition, even though I
392 don't understand why there is a race condition in the first place.
393 (tramp-post-connection): Install the `tramp_uudecode' shell
394 function on the remote host.
395 (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
396 (tramp-bug): Include more variables in the report.
398 2002-08-04 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
400 * net/tramp.el: Version 2.0.9 released.
401 (tramp-bug): Add wording about additional info to include in bug
403 (tramp-find-shell): Set $PS1 for invocation of second shell (for
405 (tramp-find-shell): Shell prompt must match at end of buffer.
406 Do this also for fallback shell prompt.
407 (tramp-find-shell): More debugging output.
408 (tramp-find-inline-encoding): When checking the decoding command,
409 some commands fail when reading from /dev/null. So we pass a
410 known string through the encoding command and pass that through
411 the decoding command. So we know whether the decoding command can
412 deal with some real input.
414 2002-08-04 Andreas Schwab <schwab@suse.de>
416 * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
418 2002-08-03 Andrew Choi <akochoi@shaw.ca>
420 * term/mac-win.el: Set keys to enable mouse wheel support.
422 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
424 * net/tramp.el: Version 2.0.8.
425 (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
427 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
429 * net/tramp.el: Version 2.0.7.
430 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
431 (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
432 because of `format' and say so in the docstring.
434 2002-08-03 Glenn Morris <gmorris@ast.cam.ac.uk>
436 * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
438 (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
439 (f90-type-def-re): Fix value.
441 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
443 * net/tramp.el: Version 2.0.6.
444 (tramp-default-method): Change to "ssh" from "sm".
445 (tramp-wrong-passwd-regexp): Restructure. Add additional alternative.
446 (tramp-su-program): New internal variable for method parameter.
447 (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
448 New variables. Very short Perl one-liner, but requires Perl
449 module MIME::Base64 to be installed on the remote site.
450 (tramp-perl-encode, tramp-perl-decode): New base64
451 encoder/decoder. From Juanma Barranquero <lektu@terra.es>.
452 (tramp-handle-file-truename): Invoke Ange-FTP properly (even
453 though Ange-FTP doesn't do anything for this operation).
454 (tramp-handle-set-visited-file-modtime): Comment change.
455 (tramp-handle-make-directory): Save-excursion.
456 (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
457 twice, once is enough.
458 (tramp-action-permission-denied): Show *tramp/foo* buffer so the
459 user knows what's wrong.
460 (tramp-post-connection): Support the two Perl encoders and decoders.
461 (tramp-coding-commands): Ditto. Add some todo items.
463 2002-08-02 Richard M. Stallman <rms@gnu.org>
465 * international/mule.el (merge-coding-systems): New function.
466 (set-buffer-file-coding-system): Use merge-coding-systems.
467 Change prompt for args.
468 (revert-buffer-with-coding-system): New command.
470 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
471 Add bindings for revert-buffer-with-coding-system.
472 (set-coding-system-map): Clarify menu item info for
473 set-buffer-file-coding-system.
474 (set-coding-system-map): Reorder and add separators.
476 * emacs-lisp/edebug.el (edebug-eval-top-level-form):
479 * subr.el (atomic-change-group): Doc fix.
481 2002-07-31 Colin Walters <walters@debian.org>
483 * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
484 defvaralias for compatibility.
485 (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
486 defvaralias for compatibility.
488 2002-07-31 John Paul Wallington <jpw@shootybangbang.com>
490 * ibuffer.el (ibuffer-fontification-alist):
491 Use `font-lock-constant-face' instead of `font-lock-reference-face'.
493 2002-07-31 John Wiegley <johnw@gnu.org>
495 * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
496 prevent adding the symbol `pcomplete' to
497 shell-dynamic-complete-functions to many times.
499 2002-07-31 Markus Rost <rost@math.ohio-state.edu>
501 * help-fns.el (describe-function-1): Test function for
502 obsolescence only if it is a symbol.
504 * ediff.el (ediff-backup): New autoloaded command.
506 2002-07-31 Richard M. Stallman <rms@gnu.org>
508 * makefile.w32-in (compile-after-backup): Renamed from `compile'.
509 Use `compile-always'.
510 (bootstrap): Use `compile', not `compile-files'. Use `update-subdirs'.
511 (compile): Renamed from `compile-files'.
512 (compile-CMD, compile-SH): Renamed from `compile-files-*'.
514 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
515 Check that (car elt) is a string.
517 * pcomplete.el (pcomplete-entries): Doc fix.
519 * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
521 2002-07-31 Andreas Schwab <schwab@suse.de>
523 * dired.el: Hide disabling of dired-find-alternate-file behind
526 2002-07-31 Juanma Barranquero <lektu@terra.es>
528 * makefile.w32-in: Revert some changes from 2002-07-23 because they
529 don't work on MSVC/nmake builds.
530 (update-subdirs-CMD): Generate the right list of subdirectories.
531 From Tak Ota <Takaaki.Ota@am.sony.com>.
533 2002-07-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
535 * net/tramp.el: New version 2.0.5.
536 (tramp-methods): Remove inline encoding method parameters.
537 The encoding is now autodetected. Also shorten the list of
538 methods (u/m distinction gone) and rename the remaining methods to
539 have longer, but more mnemonic, names.
540 (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
541 (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
542 matched at end of buffer anyway.
543 (tramp-yesno-prompt-regexp): New variable, for questions where the
544 user should say "yes" or "no".
545 (tramp-file-name-structure-unified)
546 (tramp-file-name-structure-separate): Allow dash in method names.
547 (tramp-actions-before-shell): New variable, contains list of
548 pattern/action pairs. Output sent by remote end is scanned for
549 the patterns, then the actions are executed.
550 (tramp-multi-actions): Like `tramp-actions-before-shell', but
551 executed for each hop in a multi-hop connection.
552 (tramp-last-cmd-time): New variable. If nothing has been sent to
553 remote end for 60 seconds, look to see if the remote end is still
555 (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
557 (tramp-perl-encode, tramp-perl-decode): New variables, these
558 require the MIME::Base64 module on the remote end.
559 (tramp-handle-file-attributes): Restructure logic.
560 (tramp-handle-file-attributes-with-ls)
561 (tramp-handle-file-attributes-with-perl): More debugging.
562 (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
563 (tramp-handle-make-directory, tramp-handle-delete-directory)
564 (tramp-handle-delete-file, tramp-handle-insert-directory):
566 (tramp-handle-shell-command): Use `when', not `if'.
567 (tramp-handle-file-local-copy, tramp-handle-write-region):
568 Adapt to autodetection of inline encoding.
569 (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
570 variable ange-ftp-name-format is defined before binding it.
571 (tramp-action-login, tramp-action-password, tramp-action-succeed)
572 (tramp-action-permission-denied, tramp-action-yesno):
573 Functions called from `tramp-actions-before-shell'.
574 (tramp-multi-action-login, tramp-multi-action-password)
575 (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
576 Functions called from `tramp-multi-actions'.
577 (tramp-process-one-action, tramp-process-actions):
578 Pattern matching and action invocation code for
579 `tramp-actions-before-shell'.
580 (tramp-process-one-multi-action, tramp-process-multi-actions):
581 Same for `tramp-multi-actions'.
582 (tramp-open-connection-telnet, tramp-open-connection-rsh)
583 (tramp-open-connection-su): Process actions instead of hardwired logic.
584 (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
585 (tramp-multi-connect-su): Ditto.
586 (tramp-post-connection): New method for tramp_encode and
587 tramp_decode scripts.
588 (tramp-post-connection): Invoke inline autodetection code.
589 (tramp-coding-commands): List of inline codings.
590 (tramp-find-inline-encoding): This is the inline autodetection code.
591 (tramp-maybe-open-connection): If nothing was sent to connection
592 for 60 seconds, look if it connection is still alive.
593 (tramp-send-command): Remember that something was sent to the
595 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
596 Use backticks for constructing alist.
597 (tramp-get-encoding-command, tramp-set-encoding-command)
598 (tramp-get-decoding-command, tramp-set-decoding-command)
599 (tramp-get-encoding-function, tramp-set-encoding-function)
600 (tramp-get-decoding-function, tramp-set-decoding-function):
601 Use for results of inline autodetection.
602 (tramp-get-encoding-command, tramp-get-decoding-command)
603 (tramp-get-encoding-function, tramp-get-decoding-function):
604 Remove these old functions.
606 2002-07-30 Kenichi Handa <handa@etl.go.jp>
608 * language/indian.el (in-is13194): Give correct `safe-chars' property.
609 (devanagari): Define it as an alias of in-is13194.
611 * international/mule.el (safe-chars):
612 Put `char-table-extra-slots' property with value 0.
614 * files.el (revert-buffer): Fix previous change.
616 2002-07-29 Richard M. Stallman <rms@gnu.org>
618 * bindings.el (help-echo): If global-mode-string is non-nil,
619 display some spaces after it.
621 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
622 Don't call string-match on non-string.
623 (displaying-byte-compile-warnings):
625 * textmodes/ispell.el (check-ispell-version): Bind default-directory
626 to avoid errors. Kill the old temp buffer at the beginning.
628 2002-07-29 Glenn Morris <gmorris@ast.cam.ac.uk>
630 * scroll-all.el (scroll-all-mode): Make argument optional. Doc fix.
632 2002-07-29 John Paul Wallington <jpw@shootybangbang.com>
634 * scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if'
637 2002-07-29 Kenichi Handa <handa@etl.go.jp>
639 * international/mule.el (ctext-post-read-conversion): Add support
640 for embedded utf-8 encoding (ESC % G ... ESC % @).
642 2002-07-28 Kenichi Handa <handa@etl.go.jp>
644 * files.el (revert-buffer): Before calling insert-file-contents,
645 kill the local variable buffer-file-coding-system.
647 2002-07-28 Richard M. Stallman <rms@gnu.org>
649 * bindings.el (mode-line-format): Handle vc-mode specially.
650 Move mode-line-position to after global-mode-string.
651 (mode-line-modes): Move the starting 3 spaces out of here.
652 (mode-line-position): Separate with a space, not dashes.
654 * vc-hooks.el: Don't add to minor-mode-alist.
656 * emacs-lisp/edebug.el (edebug-debugger):
657 If inside redisplay, just return.
659 * emacs-lisp/debug.el (debug): If inside redisplay, just return.
661 * info.el (Info-find-index-name): Improve last change.
663 2002-07-27 Richard M. Stallman <rms@gnu.org>
665 * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
667 * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
670 2002-07-27 Markus Rost <rost@math.ohio-state.edu>
672 * ps-print.el: Update copyright year.
673 (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
675 2002-07-26 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
677 * eshell/eshell.el (eshell): Numeric prefix arg means to switch
678 to the session with that number. Old behavior still available
679 with nonumeric prefix args.
681 2002-07-08 Simon Josefsson <jas@extundo.com>
683 * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
685 2002-07-26 Juanma Barranquero <lektu@terra.es>
687 * warnings.el (lwarn, warn, warning-levels): Doc fix.
688 (warning-suppress-log-types): Fix typo.
689 (display-warning): Fix typo. Remove useless asignment to free variable
692 2002-07-25 Markus Rost <rost@math.ohio-state.edu>
694 * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
696 2002-07-25 Sam Steingold <sds@gnu.org>
698 * replace.el (occur-rename-buffer): New command.
699 (occur-mode-map): Bind "r" to it. Added keybindings for
700 `kill-this-buffer', `clone-buffer' and `quit-window'.
702 2002-07-25 Kevin Ryde <user42@zip.com.au>
704 * info.el (Info-find-index-name): Search for a function definition
707 2002-07-25 David Ponce <david@dponce.com>
709 * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
710 Don't recompute `entry' on each iteration.
711 (byte-compile-delete-first): Make it defsubst.
713 2002-07-25 Sam Steingold <sds@gnu.org>
715 * progmodes/cc-engine.el (c-search-uplist-for-classkey):
716 When `search-end' is a cons, use its car.
718 2002-07-25 Dave Love <fx@gnu.org>
720 * obsolete/c-mode.el: Deleted.
722 2002-07-25 Carsten Dominik <dominik@astro.uva.nl>
724 * textmodes/reftex.el (reftex-compile-variables):
725 Simplified regular expression.
727 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
728 Simplified the regexp.
730 * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
731 (reftex-extract-bib-entries-from-thebibliography):
732 Use `reftex-get-bibkey-default' to get a default regex.
733 (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
736 * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
737 XEmacs compatibility (got OK from RMS).
739 * textmodes/reftex-index.el (reftex-index-mode): Likewise.
741 * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
742 (reftex-select-bib-mode): Likewise.
744 2002-07-25 Colin Walters <walters@debian.org>
746 * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
749 2002-07-24 Dave Love <fx@gnu.org>
751 * international/mule.el (set-auto-coding): Doc fix.
753 * international/utf-16.el: New file.
755 * language/european.el ("German", "French", "Spanish", "Turkish"):
756 Add alternative coding systems.
757 ("Dutch"): Likewise. Add input method.
758 ("Welsh", "Latin-7"): Add nonascii-translation.
760 * language/georgian.el ("Georgian"): Add nonascii-translation.
762 * international/titdic-cnv.el: Doc fixes.
763 (tit-process-header): Add coding cookie.
764 (titdic-convert): Force writing as iso-2022-7bit.
766 * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
768 * international/mule-cmds.el: Doc fixes.
769 (unencodable-char-position): New.
770 (select-safe-coding-system): Use it to indicate problematic
771 characters and add extra explanation. Avoid checking auto-coding
772 for compressed files.
773 (leim-list-header): Add coding cookie.
774 (input-method-verbose-flag): Modify :type.
775 (locale-language-names): Add bs, wa. Modify cy.
777 2002-07-24 Richard M. Stallman <rms@gnu.org>
779 * emacs-lisp/bytecomp.el (byte-compile-log-warning):
780 Bind warning-group-format.
782 * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
783 (byte-compile-cl-warn): Use that variable.
784 (byte-compile-find-cl-functions): New function.
785 (displaying-byte-compile-warnings):
786 Call byte-compile-find-cl-functions.
788 * warnings.el (warning-levels): Add %s to the strings.
789 (warning-group-format): New variable.
790 (warning-suppress-log-types): Renamed from warning-suppress-log.
791 (warning-suppress-types): Renamed from warning-suppress.
792 (display-warning): Implement those changes.
794 2002-07-23 Richard M. Stallman <rms@gnu.org>
796 * warnings.el: Add `provide' call.
798 * files.el (basic-save-buffer-2): If there's an error writing the file,
799 unrename the backup file if it was just made.
800 (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
801 (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
802 when a backup was just made by renaming. Otherwise it's nil.
804 * wid-edit.el (widget-convert): Handle an argument that's a keyword.
805 Recognize explicit :args specification.
807 * international/mule-cmds.el (select-safe-coding-system):
808 Don't ask for confirmation of mismatch if find-file-literally was used.
810 2002-07-23 Markus Rost <rost@math.ohio-state.edu>
812 * add-log.el (add-log-current-defun): Fix typo in documentation.
814 2002-07-22 Markus Rost <rost@math.ohio-state.edu>
816 * add-log.el (add-log-mailing-address): Fix type. Can be a string.
818 * ido.el (ido-separator): Fix type.
820 2002-07-23 Andrew Innes <andrewi@gnu.org>
822 * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
823 (DONTCOMPILE): Add various language files.
824 (DONTCOMPILE): Remove term/xterm.el.
825 (finder-inf.el): Remove.
826 (update-authors): New target.
827 (TAGS-LISP): Remove $(lispsource).
828 (compile-always): Renamed from `compile-files'.
829 (compile): New target, adapted from `compile-files'.
830 (compile-calc): New target.
831 (recompile): Change `.' to $(lisp).
832 (bootstrap): Add update-subdirs and finder-data
833 to dependencies; change compile-files to compile.
835 2002-07-22 Andre Spiegel <spiegel@gnu.org>
837 * vc.el (vc-next-action-on-file): Preserve find-file-literally.
839 2002-07-22 Dan Nicolaescu <dann@ics.uci.edu>
841 * simple.el (undo, undo-more): Adjust messages when undoing in a
844 2002-07-22 John Paul Wallington <jpw@shootybangbang.com>
846 * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
847 (browse-url-lynx-input-delay): Add custom type and group.
849 * cus-start.el (double-click-fuzz): Added.
851 2002-07-22 Alan Shutko <ats@acm.org>
853 * calendar/solar.el (diary-sabbath-candles): Add optional MARK
854 parameter, specifying what face or character to use in the
855 calendar display. These will now return (MARK . ENTRY).
857 * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
858 parameter, specifying what face or character to use in the
859 calendar display. These will now return (MARK . ENTRY).
861 * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
862 (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
863 MARK parameter, specifying what face or character to use in the
864 calendar display. These will now return (MARK . ENTRY).
866 * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
867 from diary-sexp-entry and pass it to mark-visible-calendar-date.
868 (list-sexp-diary-entries): Update doc string for new docs for ....
869 If diary-sexp-entry returns a cons, only add the text to the diary
871 (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
872 . STRING) to specify what face or character mark should be used in
873 the calendar display.
874 (diary-date, diary-block, diary-float, diary-anniversary)
875 (diary-cyclic): Add optional MARK parameter, specifying what face
876 or character to use in the calendar display. These will now
877 return (MARK . ENTRY).
879 * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
880 (calendar-holiday-list, diary-french-date, diary-mayan-date)
881 (diary-julian-date, diary-astro-day-number, diary-chinese-date)
882 (diary-islamic-date, list-islamic-diary-entries)
883 (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
884 (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
885 (diary-rosh-hodesh, list-hebrew-diary-entries)
886 (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
887 (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
888 (diary-sunrise-sunset, diary-sabbath-candles):
889 Remove interactive flag from autoloads.
891 2002-07-22 Carsten Dominik <dominik@astro.uva.nl>
893 * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
894 (reftex-bibliography-commands): New option.
895 (reftex-toc-split-windows-horizontally): New option
896 (reftex-toc-split-windows-horizontally-fraction): New option
897 (reftex-include-file-commands): New option.
898 (reftex-cite-format-builtin): Added ?n for nocite.
900 * textmodes/reftex-index.el (reftex-query-index-phrase):
901 Use `reftex-index-verify-function'.
903 * textmodes/reftex-toc.el (reftex-re-enlarge):
904 Handle horizontal splitting.
905 (reftex-toc): Handle horizontal splitting
906 (reftex-last-window-width): New variable.
908 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
909 Use `reftex-bibliography-commands'.
910 (reftex-locate-bibliography-files): Regexp relaxed to allow for
911 cases where \bibliography is not the first thing on the line.
913 * textmodes/reftex.el (reftex-compile-variables):
914 Use `reftex-include-file-commands'.
915 (reftex-type-query-prompt): Changed defconst to defvar.
916 (reftex-type-query-help, reftex-typekey-to-format-alist)
917 (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
918 (reftex-special-env-parsers, reftex-label-mac-list)
919 (reftex-label-env-list, reftex-typekey-list)
920 (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
921 (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
922 (reftex-no-follow-message, reftex-no-info-message): Likewise.
923 (reftex-mode): Define systax table for bibtex parsing.
924 (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
926 * textmodes/reftex-cite.el (reftex-format-names): %a as name
927 format lists all names.
928 (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
929 (reftex-with-special-syntax-for-bib): New macro.
931 2002-07-21 Richard M. Stallman <rms@gnu.org>
933 * international/ucs-tables.el (ucs-quail-activate):
934 Cope if buffer-file-coding-system is nil.
936 * bindings.el (last-buffer): Use buffer-list with frame arg.
937 Create *scratch* if no other choice exists. Fix bugs.
939 2002-07-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
941 * net/tramp.el: Bump version to 2.0.2.
942 (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
943 longer names. Use old names "sm1", "sm2" and so on for methods
944 invoking "ssh -1" or "ssh -2".
945 (tramp-multi-file-name-structure-separate): Typo, its name was set
946 to "tramp-file-name-structure-separate". Trivial patch.
947 From Steve Youngs <youngs@xemacs.org>.
948 (tramp-multi-sh-program): New variable.
949 (tramp-open-connection-multi): Use it. Now you can use multi
950 methods from Windows (at least in principle).
951 (tramp-do-copy-or-rename-via-buffer): New function.
952 (tramp-do-copy-or-rename-file): Use it. Change and simplify
953 logic. Omit special case of invoking rcp directly to copy the files.
954 (tramp-open-connection-su, tramp-multi-connect-telnet)
955 (tramp-multi-connect-rlogin, tramp-multi-connect-su)
956 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
957 Use backticks in format-spec for brevity and to avoid
958 character/number confusion in XEmacs.
960 2002-07-20 Richard M. Stallman <rms@gnu.org>
962 * wid-edit.el (widget-documentation-string-value-create):
963 Say "Hide Rest", not just "Hide".
965 * cus-edit.el (custom-variable-value-create):
966 Say "Show Value", not just "Show". Also "Hide Value".
967 Output a newline before the doc string.
968 (custom-face-value-create): Say "Show Face" and "Hide Face".
970 * files.el (toggle-read-only): Clean up the hint message.
972 * emacs-lisp/bytecomp.el: Use warnings.el.
973 (byte-compile-warning-prefix): New function.
974 (byte-compile-log-file): Return page start position.
975 (byte-compile-log-warning): New function.
976 (byte-compile-warn): Use byte-compile-log-warning.
977 (byte-compile-report-error): Likewise. Also use error-message-string.
978 (displaying-byte-compile-warnings): Bind warning-series.
979 Don't bind or use byte-compile-warnings-point-max.
980 Don't display the log buffer at the end.
981 (byte-compile-warnings-point-max): Variable deleted.
982 (byte-compile-log-1): Rewrite for trace info, not used for warnings.
983 (byte-compile-last-warned-form, byte-compile-last-logged-file):
986 * warnings.el: New file.
988 2002-07-19 Richard M. Stallman <rms@gnu.org>
990 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
991 and `values-list' from list of CL functions.
993 2002-07-19 John Paul Wallington <jpw@shootybangbang.com>
995 * emacs-lisp/bytecomp.el (compile-defun):
996 Bind `read-with-symbol-positions' to current buffer.
998 2002-07-19 Andre Spiegel <spiegel@gnu.org>
1000 * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
1001 delete anything that comes after LIMIT from the buffer.
1003 * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
1004 if this is really an RCS master file.
1006 * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
1008 2002-07-19 Juanma Barranquero <lektu@terra.es>
1010 * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
1011 (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
1012 (unread-command-char, executing-macro, post-command-idle-hook)
1013 (post-command-idle-delay): Move obsolescence declarations to subr.el.
1015 * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
1016 (baud-rate, compiled-function-p, define-function, unread-command-char)
1017 (executing-macro, post-command-idle-hook, post-command-idle-delay):
1018 Move obsolescence declarations from emacs-lisp/bytecomp.el.
1019 (directory-sep-char, mode-line-inverse-video):
1020 Add obsolescence declaration.
1022 2002-07-18 J.D. Smith <jdsmith@as.arizona.edu>
1024 * progmodes/idlwave.el: Updated to IDLWAVE version 4.14. Too many
1025 changes to list them here.
1027 * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
1028 Too many changes to list them here.
1030 * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
1031 Too many changes to list them here.
1033 * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
1034 only minor documentation changes.
1036 2002-07-18 Dave Love <fx@gnu.org>
1038 * info-look.el: Support current auto{conf,make} manuals.
1040 2002-07-18 Juanma Barranquero <lektu@terra.es>
1042 * bindings.el (last-buffer): Add missing frame argument.
1044 2002-07-18 Richard M. Stallman <rms@gnu.org>
1046 * timer.el (timer-inc-time): Doc fix.
1048 * replace.el (keep-lines, flush-lines): Interactively report
1049 read-only error before reading regexp argument.
1051 * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
1053 * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
1054 frame parameters like bury-buffer.
1056 * simple.el (choose-completion-delete-max-match):
1057 Handle minibuffer prompts explicitly.
1059 2002-07-18 Juanma Barranquero <lektu@terra.es>
1061 * international/mule-util.el (string-to-sequence, truncate-string):
1062 Add autoload cookie to obsolescence declaration.
1064 * rect.el (move-to-column-force): Likewise.
1066 * composite.el (decompose-composite-char): Likewise; also remove
1069 2002-07-18 Kim F. Storm <storm@cua.dk>
1071 * loadup.el: Load international/utf-8 before international/characters.
1073 2002-07-17 Dave Love <fx@gnu.org>
1075 * international/ucs-tables.el: Optimize tables. Deal with some
1077 (ucs-mule-to-mule-unicode): New.
1078 (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
1080 (ucs-fragment-8859): Modified consistent with ucs-unify-8859.
1081 (unify-8859-on-encoding-mode): Doc mod. Fix custom version.
1082 (unify-8859-on-decoding-mode): Doc mod. Change code. Fix custom
1083 version. Add custom dependencies.
1084 (ucs-insert): Check for null from decode-char.
1085 (translation-table-for-input, ucs-quail-activate)
1086 (ucs-minibuffer-setup, ccl-encode-unicode-font)
1087 (ucs-tables-unload-hook): New.
1089 * international/mule.el (define-translation-hash-table): New.
1090 (decode-char): Use utf-8-translation-table-for-decode.
1091 (encode-char): Use ucs-mule-to-mule-unicode.
1093 * international/characters.el: Fix settings of U+2000-U+2027.
1096 * international/mule-cmds.el (locale-language-names): Fix be, add
1097 sr_YU@cyrillic, modify tg.
1098 (locale-charset-language-names): Put @euro last.
1100 * language/cyrillic.el (cyrillic-koi8-r-decode-table)
1101 (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
1102 (cyrillic-koi8-r-decode-table): Make unbound after use.
1103 (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
1104 factor. Use utf-8-translation-table-for-decode.
1105 (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
1106 (cyrillic-unify-encoding): New function.
1107 (cyrillic-koi8): Modify safe-chars, valid-codes.
1108 Remove charset-origin-alist.
1109 (Cp878, cp866): New alias.
1110 (ccl-encode-8859-5-font): New.
1111 (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
1112 (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
1113 Remove redundant parens.
1114 ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
1115 (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
1116 (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
1117 (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
1118 ("Cyrillic-ALT"): Change input method.
1119 ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
1121 * international/utf-8.el (utf-8-subst-table)
1122 (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
1123 (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
1124 (utf-8-ccl-regs, utf-8-translate-cjk): New.
1125 (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
1126 (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
1127 (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
1128 (mule-utf-8): Remove pre-write-conversion.
1129 (utf-8-post-read-conversion): Comment out.
1131 * international/ccl.el (ccl-command-table): Add lookup-integer,
1133 (ccl-extended-code-table): Add lookup-int-const-tbl,
1134 lookup-char-const-tbl.
1135 (ccl-compile-lookup-integer, ccl-compile-lookup-character)
1136 (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
1138 (define-ccl-program): Doc update.
1140 * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
1141 (utf-8-subst-table): Don't set.
1143 2002-07-17 Kenichi Handa <handa@etl.go.jp>
1145 * international/mule.el (define-coding-system-alias):
1146 Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
1147 eol-type is not auto-detection.
1149 * international/mule-diag.el (print-coding-system-briefly):
1150 Fix the handling of an alias of which eol-type is not auto-detection.
1152 * international/mule-conf.el (us-ascii): Define it as an alias of
1155 2002-07-17 Juanma Barranquero <lektu@terra.es>
1157 * help-fns.el (describe-function-1): Put empty line before "Not
1160 * timer.el (timer-set-time-with-usecs): Mark obsolete.
1162 2002-07-16 Stefan Monnier <monnier@cs.yale.edu>
1164 * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
1165 Make sure to change the global tool-bar-map.
1167 * vc.el (vc-default-comment-history): Hard code *vc*.
1168 This is because print-log always prints there now.
1169 (vc-annotate-font-lock-keywords): New var.
1170 (vc-annotate-mode): Use it. Set truncate-lines as well.
1171 (vc-annotate-display-select): Unify the two error reports.
1172 (vc-annotate-offset): New var.
1173 (vc-annotate-lines): New fun extracted from vc-annotate-display.
1174 (vc-annotate-display): Use it, via font-lock.
1176 * help-fns.el (help-split-fundoc, help-function-arglist)
1177 (help-make-usage): New funs, extracted from describe-function-1.
1178 (describe-function-1): Use them.
1180 * help.el (help-key-description): Show the untranslated keys
1181 when they start with ESC and the ESC was not translated.
1183 * help-mode.el (view): Always require.
1184 (help-xref-mule-regexp): Don't use defconst for variables.
1185 (help-setup-xref): Keep the last 10 elements of the stack.
1186 (help-xref-override-view-map): New var.
1187 (help-make-xrefs): Use it instead of building a new map each time.
1188 (help-function-def): Allow help-fun to take a buffer as arg.
1190 * diff-mode.el (diff-reverse-direction): Simplify.
1191 (diff-after-change-function): Fix typo.
1192 (diff-post-command-hook): Take care of edge cases.
1193 (diff-current-defun): Do `goto-char' after setting the mode.
1195 * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
1196 Fold mouse-sel-bindings into it.
1197 (mouse-sel-bound-events): Turn it into an alist.
1198 (mouse-insert-selection): Delegate to mouse-yank-at-click if
1199 mouse-sel-default-bindings asks for it.
1201 2002-07-16 Andre Spiegel <spiegel@gnu.org>
1203 * files.el: Bind toggle-read-only to C-x C-q.
1204 (toggle-read-only): Display a warning message if the file is under
1207 * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
1208 (vc-toggle-read-only): Explain in the doc string that users can bind
1210 (vc-checkout-model): Change doc string to refer to vc-next-action,
1211 not vc-toggle-read-only.
1213 * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
1214 comparing to file on disk. Fix the case when claiming the lock
1215 on a file that has unlocked changes.
1216 (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
1218 2002-07-16 Richard M. Stallman <rms@gnu.org>
1220 * simple.el (choose-completion-string): Doc fix.
1222 * cus-edit.el: New operation :custom-standard-value.
1223 (Custom-reset-standard): Use it.
1224 (custom-variable, custom-face): Define it.
1225 (custom-variable-standard-value, custom-face-standard-value): New fns.
1226 (custom-face-save): Don't save a face whose value is standard.
1227 (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
1229 * cus-edit.el (custom-face-edit-fix-value):
1230 If VALUE is not a list, pass it thru.
1232 * compare-w.el (compare-windows-whitespace): Always allow newline
1233 even if it does not have whitespace syntax.
1235 2002-07-16 Juanma Barranquero <lektu@terra.es>
1237 * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
1239 2002-07-15 Juanma Barranquero <lektu@terra.es>
1241 * help-fns.el (describe-variable): Show documentation for aliased
1242 variable if alias does not have its own.
1244 2002-07-15 Mike Williams <mdub@bigfoot.com>
1246 * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
1247 cut/paste functions.
1249 2002-07-14 Richard M. Stallman <rms@gnu.org>
1251 * files.el (find-alternate-file): Offer to save a modified buffer.
1252 Handle kill-buffer-query-functions better.
1254 * startup.el (normal-splash-screen, fancy-splash-text):
1255 Update name of help menu item for ordering printed manuals.
1257 * emacs-lisp/checkdoc.el: Fix doc typos.
1259 2002-07-14 Stefan Monnier <monnier@cs.yale.edu>
1261 * textmodes/tex-mode.el: Set encoding to utf-8.
1262 (tex-start-options): Make it into always-a-string.
1263 Remove silly custom options that are covered by the other var.
1264 (tex-start-commands): Fix docstring.
1265 (tex-open-quote, tex-close-quote): Add options.
1266 (tex-command): Provide default.
1267 (tex-font-lock-keywords-1): Highlight $$...$$.
1268 (tex-font-lock-keywords-2): Fix latin-1 chars.
1269 (tex-mode-map): Remove redundant \t binding.
1270 (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
1271 (latex-mode): Use add-hook for fill-nobreak-predicate.
1272 (tex-common-initialization): Set indent-tabs-mode to nil.
1273 (tex-insert-quote): Undo magic if invoked twice in a row.
1274 (latex-fill-nobreak-predicate): Don't use narrowing.
1275 (tex-latex-block): Don't cons uselessly.
1276 (tex-last-unended-begin): Signal user-friendlier error.
1277 (tex-goto-last-unclosed-latex-block): Don't catch signal.
1278 (tex-start-tex): Switch order of tex-start-options and
1279 tex-start-commands to make it obey docstrings.
1281 2002-07-14 Mike Williams <mdub@bigfoot.com>
1283 * mouse-sel.el (mouse-sel-bound-events): New constant.
1284 (mouse-sel-bindings): Save/restore original mouse-bindings.
1286 2002-07-13 Stefan Monnier <monnier@cs.yale.edu>
1288 * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
1289 (cl-hack-byte-compiler): Avoid infinite require loop.
1291 * net/ange-ftp.el: Use hash-tables.
1292 (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
1293 (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
1294 (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
1295 Replace with make-hash-table, maphash, gethash, puthash and remhash.
1296 (ange-ftp-hash-entry-exists-p): Rewrite.
1297 (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
1298 Change mapatom -> maphash.
1299 (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
1300 Update to new calling mode.
1302 * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
1303 (ebrowse-hash-table-to-alist): Delete.
1304 (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
1305 (ebrowse-tags-complete-symbol): Use the hashtable for completion.
1307 * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
1308 Improve the regexp used when unquoting.
1309 (sgml-pretty-print): New function.
1310 (sgml-get-context): Better handling of improperly nested tags.
1311 (sgml-show-context): Don't use the FULL arg of sgml-get-context.
1313 2002-07-13 Andreas Schwab <schwab@suse.de>
1315 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
1316 inherited table entry.
1318 2002-07-13 Glenn Morris <gmorris@ast.cam.ac.uk>
1320 * calendar/timeclock.el (timeclock-in): Handle the case where no
1321 log file exists (ie the very first call).
1323 2002-07-13 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1325 * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
1328 * net/tramp.el (tramp-multi-file-name-structure-unified):
1329 Add missing slash and move colon from start to end of each hop.
1330 (tramp-multi-file-name-hop-structure-unified): Move colon from
1331 start to end of each hop.
1333 2002-07-13 Kim F. Storm <storm@cua.dk>
1335 * progmodes/compile.el (grep-tree): Fixed autoload.
1336 Corrected use of undefined variable `match-files-aliases'.
1338 2002-07-12 Glenn Morris <gmorris@ast.cam.ac.uk>
1340 * calendar/timeclock.el (timeclock-get-workday-function):
1341 `timeclock-workday' is not a valid option, rather a possible
1344 2002-07-12 Richard M. Stallman <rms@gnu.org>
1346 * net/ange-ftp.el (ange-ftp-write-region):
1347 Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
1348 to ange-ftp-real-write-region.
1350 * replace.el (flush-lines, keep-lines): Convert REND to a marker.
1352 * help-fns.el (help-with-tutorial): Display completion list right away.
1354 * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
1356 * startup.el (command-line): Set memory-signal-data.
1357 (fancy-splash-text, normal-splash-screen):
1358 Mention "Read the Emacs Manual" or C-h r.
1359 Rearrange the initial help to put the help cmds on left
1360 and the actions (exit, undo) on the right. Other small
1361 text clarifications.
1362 (fancy-splash-text, actions page): Add blank line to balance help page.
1364 * help.el (help-map): Add binding for info-emacs-manual.
1365 (print-help-return-message): Doc fix.
1367 * strokes.el (strokes-help): Call print-help-return-message
1368 while inside with-output-to-temp-buffer.
1370 * info.el (info-emacs-manual): New function.
1371 (Info-use-header-line): Doc fix.
1373 * emacs-lisp/cl.el (multiple-value-call): Add alias.
1375 * progmodes/compile.el (compilation-normalize-filename):
1376 New subroutine, taken out of compilation-parse-errors.
1377 (compilation-parse-errors): Use that, and for directories too.
1378 Don't check whether a directory really exists.
1380 2002-07-12 Juanma Barranquero <lektu@terra.es>
1382 * help-fns.el (describe-variable): Put `defvaralias' info before the
1383 documentation (patch from John Paul Wallington
1384 <jpw@shootybangbang.com>). Remove useless "Documentation:" string.
1386 * timer.el (timer-set-time-with-usecs): Fix documentation.
1387 Simplify extraction of time data.
1389 2002-07-12 John Paul Wallington <jpw@shootybangbang.com>
1391 * help-fns.el (describe-variable): Mention if the variable is an alias.
1393 2002-07-12 Kenichi Handa <handa@etl.go.jp>
1395 * international/mule-cmds.el (locale-language-names): Change "mk"
1396 (Macedoninan), "ru" (Russian), and "sp" (Serbian with Cyrillic
1397 alphabet) to "Cyrillic-ISO".
1399 2002-07-11 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1401 * net/tramp.el (tramp-default-method): New default method "sm"
1402 which I guess to be good for most people.
1403 (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
1404 Ange-FTP) for some user/host combinations.
1405 (tramp-file-name-structure, tramp-file-name-regexp)
1406 (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
1407 (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
1408 (tramp-make-multi-tramp-file-format): New default value which
1409 unifies the filename syntax between Tramp and Ange-FTP. The new
1410 syntax is "/method:user@host:path". Note the colon after the method.
1411 (tramp-handle-file-name-directory): Don't return "/" when
1412 completing a remote root directory (where the filename looks like
1413 "/method:user@host:/").
1414 (tramp-handle-ange-ftp): Deleted.
1415 (tramp-disable-ange-ftp): New function, called at toplevel,
1416 deletes Ange-FTP from file-name-handler-alist.
1417 (tramp-handle-make-symbolic-link): Implement.
1419 2002-07-10 Juanma Barranquero <lektu@terra.es>
1421 * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
1423 * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
1424 (speedbar-vc-do-check): Likewise.
1425 (speedbar-obj-do-check): Likewise.
1426 (speedbar-mouse-hscroll): Likewise.
1427 (speedbar-file-lists): Likewise.
1429 * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
1431 2002-07-09 Ole Aamot <ole@gnu.org>
1433 * compile.el (compilation-error-regexp-alist):
1434 Recognize Valgrind messages.
1436 2002-07-09 Juanma Barranquero <lektu@terra.es>
1438 * faces.el (face-id): Fix typo.
1440 * hexl.el (hexl-mode): Likewise.
1442 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
1444 * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
1446 * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
1447 (speedbar-desired-buffer): Likewise.
1448 (speedbar-line-file): Likewise.
1449 (speedbar-special-mode-key-map): Fix typo.
1450 (speedbar-dynamic-tags-function-list): Likewise.
1451 (speedbar-use-images): Likewise.
1452 (speedbar-up-directory): Likewise.
1453 (speedbar-item-info): Likewise.
1454 (speedbar-set-timer): Likewise.
1455 (speedbar-insert-button): Likewise.
1456 (speedbar-make-button): Likewise.
1457 (speedbar-make-tag-line): Likewise.
1458 (speedbar-insert-files-at-point): Likewise.
1459 (speedbar-update-special-contents): Likewise.
1460 (speedbar-find-selected-file): Likewise.
1461 (speedbar-add-indicator): Likewise.
1462 (speedbar-do-function-pointer): Likewise.
1463 (speedbar-goto-this-file): Likewise.
1464 (speedbar-line-path): Likewise.
1465 (speedbar-mouse-event-p): Likewise.
1466 (speedbar-dir-follow): Likewise.
1467 (speedbar-tag-find): Likewise.
1468 (speedbar-fetch-etags-command): Likewise.
1469 (speedbar-fetch-etags-arguments): Likewise.
1470 (speedbar-toggle-etags): Likewise.
1471 (speedbar-extract-one-symbol): Likewise.
1472 (speedbar-parse-c-or-c++tag): Likewise.
1473 (speedbar-unhighlight-one-tag-line): Likewise.
1474 (speedbar-directory-face): Likewise.
1475 (defimage-speedbar): Likewise.
1476 (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
1477 (defimage-speedbar): Likewise.
1479 2002-07-09 Miles Bader <miles@gnu.org>
1481 * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
1482 to nil when prompting for a filename.
1484 2002-07-09 Kenichi Handa <handa@etl.go.jp>
1486 * files.el (insert-directory): Be sure to bind
1487 coding-system-for-write to the just decided coding-system-for-read.
1489 2002-07-09 Kim F. Storm <storm@cua.dk>
1491 * ido.el (ido-make-merged-file-list): Move fully matching item to
1493 (ido-find-common-substring): Return substring instead of t.
1495 2002-07-08 Juanma Barranquero <lektu@terra.es>
1497 * info.el (Info-directory-list): Fix docstring.
1499 2002-07-08 Miles Bader <miles@gnu.org>
1501 * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
1504 2002-07-08 Kim F. Storm <storm@cua.dk>
1506 * files.el (after-find-file): Don't check for read-only status
1507 of files just created (and not yet saved on disk).
1509 * ido.el (ido-completion-help): Changed xemacs specific code to
1510 avoid byte compiler warning in GNU emacs.
1511 (ido-set-matches1): Use regexp-quote instead of identity.
1512 (ido-complete-space): New function.
1513 (ido-define-mode-map): Bind it to SPACE.
1515 2002-07-07 Stefan Monnier <monnier@cs.yale.edu>
1517 * font-lock.el (font-lock-default-unfontify-region):
1518 Use remove-list-of-text-properties.
1519 (font-lock-extra-managed-props): Doc fix.
1521 * facemenu.el: Move `provide' to the end.
1522 (facemenu-read-color): Don't cons unnecessarily.
1524 * language/ind-util.el (indian-make-hash):
1525 * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
1526 (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
1528 * subr.el (insert-string): Update the obsolete info.
1529 (makehash): Move from C and mark obsolete.
1531 * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
1532 aliases to also work for interactive functions.
1533 Use the same wrapper for subroutines.
1534 (cancel-debug-on-entry): Get rid of the now-useless wrapper.
1535 (debug-on-entry-1): Correctly skip docstrings and interactive forms.
1537 * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
1538 automatic environment name update.
1539 (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
1541 2002-07-07 Richard M. Stallman <rms@gnu.org>
1543 * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
1545 * emacs-lisp/advice.el (ad-compile-function):
1546 Disable cl-function warnings if cl is loaded.
1548 * files.el (safe-local-eval-forms): New user option.
1549 (hack-one-local-variable-eval-safep): Support it.
1550 Also allow `safe-local-eval-function' property to be a function
1551 or a list of functions.
1552 (c-add-style): Delete `safe-local-eval-function' property.
1554 * files.el (after-find-file): Make buffer read-only if file is
1555 marked that way, even for root.
1557 * files.el (save-some-buffers): Doc fix.
1559 * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
1561 2002-07-06 Francesco Potorti` <pot@gnu.org>
1563 * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
1564 .sx[dmicw] file suffixes for Open office data files.
1566 * files.el (auto-mode-alist): Likewise.
1568 * international/mule.el (auto-coding-alist): Likewise.
1570 2002-07-05 Kim F. Storm <storm@cua.dk>
1572 * emulation/cua-rect.el (cua--rectangle-operation): Don't call
1573 FCT if current column is outside rectangle.
1574 (cua--delete-rectangle): Do nothing if zero width or out of bounds.
1576 2002-07-04 Stefan Monnier <monnier@cs.yale.edu>
1578 * net/ange-ftp.el: Use add-hook and find-file-hook.
1579 (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
1580 (ange-ftp-ls-parser): Make it into a function.
1581 Ignore trailing @ in symlink targets.
1582 (ange-ftp-file-entry-p): Ignore FTP errors.
1583 (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
1584 to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
1586 2002-07-04 Per Abrahamsen <abraham@dina.kvl.dk>
1588 * simple.el (toggle-truncate-lines): New command.
1590 2002-07-04 Miles Bader <miles@gnu.org>
1592 * comint.el (comint-displayed-dynamic-completions): New variable.
1593 (comint-dynamic-list-completions): Be more careful about choosing
1594 when to scroll an existing completions window.
1596 2002-07-03 Andreas Schwab <schwab@suse.de>
1598 * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
1601 2002-07-03 Juanma Barranquero <lektu@terra.es>
1603 * net/tramp.el (tramp-send-eof): Fix typo.
1604 (tramp-kill-process): Likewise.
1606 * play/dunnet.el (dun-physobj-desc): Likewise.
1608 * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
1610 * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
1611 (timeclock-workday-elapsed): Likewise.
1613 * allout.el (outline-goto-prefix): Likewise.
1615 * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
1616 (tpu-delete-to-bol): Likewise.
1618 * subr.el (chars-in-region): Add obsolescence declaration for
1621 2002-07-03 Miles Bader <miles@gnu.org>
1623 * faces.el (header-line): Don't use a `common' clause for
1624 inheriting from the mode-line face, since we can't override it,
1625 and we don't want it for ttys.
1627 2002-07-02 Richard M. Stallman <rms@gnu.org>
1629 * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
1631 * files.el (hack-one-local-variable-constantp): New function.
1632 (hack-one-local-variable-eval-safep): New function.
1633 Check for `eval:' calling fn with `safe-local-eval-function' property.
1634 (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
1635 (c-add-style, c-set-style): Add safe-local-eval-function property.
1637 * files.el (insert-directory): Handle --dired option to ls.
1639 * files.el (file-remote-p): New function.
1641 * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
1643 * startup.el (fancy-splash-screens): Switch to a chosen frame.
1644 (fancy-splash-frame): Choose the right frame to use.
1645 (use-fancy-splash-screens-p): Check dimensions of the right frame
1648 * emacs-lisp/bytecomp.el (byte-compile-warning-types):
1649 Rename cl-func to cl-functions. Enable it by default.
1650 (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
1651 if the file loads cl.
1652 (byte-compile-initial-macro-environment): For eval-and-compile,
1653 use byte-compile-eval-before-compile to eval.
1654 (byte-compile-eval-before-compile): New function to turn off
1655 cl-functions when appropriate, for eval-and-compile.
1656 (byte-compile-warnings): Doc fix.
1658 2002-07-02 Dave Love <fx@gnu.org>
1660 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option.
1661 (byte-compile-cl-warn): New function.
1662 (byte-compile-form): Use it, to warn about calling cl functions.
1663 (byte-compile-warning-types): Doc fix.
1665 2002-07-02 Juanma Barranquero <lektu@terra.es>
1667 * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
1669 * textmodes/reftex-cite.el (reftex-citation): Fix typo.
1671 * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
1674 2002-07-02 Kim F. Storm <storm@cua.dk>
1676 * emacs-lisp/bindat.el: New file.
1678 2002-07-01 Sam Steingold <sds@gnu.org>
1680 * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
1681 before `tex-main-file' because if the current buffer is new, its
1682 file might not exist yet, and then `tex-main-file' will
1683 incorrectly return "foo.tex.tex".
1685 2002-07-01 Juanma Barranquero <lektu@terra.es>
1687 * ido.el (ido-minibuffer-setup-hook): Doc fix.
1689 2002-07-01 Dave Love <fx@gnu.org>
1691 Make strokes a proper minor mode, and don't try to overload
1692 mouse-2, which doesn't work satisfactorily.
1694 * strokes.el: Doc fixes.
1695 (strokes-mode): Defcustom deleted; replaced by minor mode def with
1696 re-written function.
1697 (strokes-while-inhibiting-garbage-collector): Comment out.
1698 (define-stroke, strokes-fix-button2-command, strokes-insinuated)
1699 (strokes-insinuate, global-set-stroke, describe-stroke)
1700 (load-user-strokes, save-strokes, strokes-bug-address)
1701 (strokes-click-command): Deleted.
1702 (strokes-execute-stroke): Remove strokes-click-p case.
1703 (strokes-describe-stroke): Remove strokes-click-p stuff.
1704 (strokes-help): Fix.
1705 (strokes-report-bug): Alias to report-emacs-bug.
1706 (strokes-prompt-user-save-strokes): Modify format of the file.
1707 (strokes-mode-map, strokes-unload-hook): New.
1708 (strokes-buffer-name): Don't customize.
1710 2002-07-01 Richard M. Stallman <rms@gnu.org>
1712 * info.el (Info-index): Get immediate error if used in `dir'.
1714 * textmodes/picture.el (picture-forward-column)
1715 (picture-move-down): Never deactivate the mark.
1717 2002-06-30 Simon Josefsson <jas@extundo.com>
1719 * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
1720 menu entry into balloon help.
1722 2002-06-30 Andreas Schwab <schwab@suse.de>
1724 * files.el (directory-free-space-args): Don't use `-P' on Darwin.
1725 * term/mac-win.el: Don't set it here.
1727 2002-06-29 Stefan Monnier <monnier@cs.yale.edu>
1729 * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
1731 2002-06-29 Andreas Schwab <schwab@suse.de>
1733 * term/mac-win.el: Use directory-free-space-program instead of
1734 obsolete variable dired-free-space-program. On Darwin, don't set
1735 directory-free-space-program, shell-file-name and
1736 process-connection-type; set directory-free-space-args to not
1737 include `-P' and use utf-8 for file name coding system.
1739 * simple.el (shell-command-on-region): Handle errors and signals
1740 from shell command execution.
1741 (display-message-or-buffer): Fix last change.
1742 (shell-command-default-error-buffer): Doc fix.
1744 * dired.el (dired-view-file): Quote file name for
1745 dired-run-shell-command.
1747 2002-06-29 Kim F. Storm <storm@cua.dk>
1749 * kmacro.el: New file.
1751 2002-06-28 John Wiegley <johnw@gnu.org>
1753 * pcmpl-cvs.el: Added my name as the maintainer of this file.
1755 2002-06-28 Andreas Schwab <schwab@suse.de>
1757 * shell.el (explicit-bash-args): New user option.
1759 2002-06-28 Kim F. Storm <storm@cua.dk>
1763 2002-06-28 Stefan Monnier <monnier@cs.yale.edu>
1765 * derived.el (define-derived-mode): Preserve the `mode-class' rather
1766 than the `special' symbol property.
1767 (derived-mode-class): Make it obsolete.
1769 2002-06-27 Andreas Schwab <schwab@suse.de>
1771 * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
1773 2002-06-27 Juanma Barranquero <lektu@terra.es>
1775 * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
1776 (meta-flag): Likewise.
1778 * international/mule-util.el (string-to-sequence): Likewise.
1780 * subr.el (char-bytes): Likewise.
1781 (make-local-hook): Likewise.
1782 (baud-rate): Remove redundant info from docstring.
1784 * faces.el (frame-update-faces): Fix obsolescence declaration.
1785 (internal-get-face): Remove redundant info from docstring and
1786 fix obsolescence declaration.
1788 * rect.el (move-to-column-force): Likewise.
1790 * help-fns.el (describe-function-1): Use semicolon instead of dot.
1791 (describe-variable): Likewise.
1793 2002-06-27 Stefan Monnier <monnier@cs.yale.edu>
1795 * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
1796 (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
1797 (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
1798 (mouse-wheel-follow-mouse): Change default to t.
1799 (mwheel-event-button): Return the basic event symbol.
1800 (mwheel-scroll): Work with non-mouse events.
1801 (mouse-wheel-mode): Use the new vars.
1802 (mwheel-install): Obey `uninstall'.
1804 * term/xterm.el (function-key-map): Add some bindings.
1806 * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
1807 Rename from delay-uniquify-rationalize-file-buffer-names.
1808 Only rationalize if the buffer is under uniquify control.
1809 (uniquify-delayed-rationalize-file-buffer-names):
1810 Rename from delayed-uniquify-rationalize-file-buffer-names.
1812 2002-06-27 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1814 * net/tramp.el (tramp-file-name-structure)
1815 (tramp-multi-file-name-hop-structure): Split for easier readability.
1816 (tramp-handle-make-symbolic-link): Use user/host/method/... from
1817 LINKNAME, not FILENAME.
1818 (tramp-handle-verify-visited-file-modtime):
1819 Call tramp-ange-ftp-file-name-p with right parameters.
1820 (tramp-handle-verify-visited-file-modtime): `insert' does not
1821 work for integers, convert them to strings first.
1822 (tramp-handle-ange-ftp): New function to perform setup for
1823 replacing Ange-FTP with Tramp.
1824 (tramp-repair-jka-compr): New function to factor out some
1825 previously top-level code. Call the function at top-level.
1827 2002-06-27 Juanma Barranquero <lektu@terra.es>
1829 * composite.el (decompose-composite-char): Fix docstring.
1831 * faces.el (describe-face): Capitalize "not documented" message.
1833 * help-fns.el (describe-variable): Likewise.
1834 (describe-function-1): Likewise. Also, document the obsolescence
1835 of the function, if applicable.
1837 2002-06-26 Juanma Barranquero <lektu@terra.es>
1839 * info.el (info-menu-5): Fix documentation.
1840 (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
1842 2002-06-26 Richard M. Stallman <rms@gnu.org>
1844 * emacs-lisp/cl.el (values): Simplify definition.
1846 * simple.el (shell-command): Match & only at end of whole command.
1847 (display-message-or-buffer): Don't use the echo area
1848 if output buffer is visible.
1850 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
1852 * progmodes/cperl-mode.el: Many trivial doc fixes.
1853 (cperl-non-problems): Definition deleted.
1854 (cperl-menu): Don't refer to cperl-non-problems.
1855 (cperl-word-at-point): Add doc string.
1856 (cperl-beautify-regexp-piece): Fix error message.
1857 (cperl-invert-if-unless): Fix error message.
1859 * dired.el (dired-find-alternate-file): Mark as disabled.
1861 2002-06-25 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1863 * net/tramp.el (tramp-ftp-method): New user option.
1864 (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
1865 (with-parsed-tramp-file-name): New macro for the usual big `let'
1866 statement to dissect a file-name.
1867 (tramp-handle-make-symbolic-link, tramp-handle-load)
1868 (tramp-handle-file-name-directory)
1869 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1870 (tramp-handle-file-truename, tramp-handle-file-directory-p)
1871 (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
1872 (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
1873 Use the new macro and forward call to Ange-FTP if applicable.
1874 (tramp-make-ange-ftp-file-name): New helper function to convert a
1875 file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
1876 (tramp-default-method-alist): New user option.
1877 (tramp-find-default-method): Use it.
1878 (tramp-sh-extra-args): New variable.
1879 (tramp-find-shell): Use it.
1880 (tramp-open-connection-rsh): Support a kludgy feature for the
1881 "-p" option to ssh. If host name is given as "host#42", uses the
1884 2002-06-25 Andreas Schwab <schwab@suse.de>
1886 * replace.el (occur-1): Avoid invalid message format string.
1888 2002-06-24 Stefan Monnier <monnier@cs.yale.edu>
1890 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
1891 Check for `noruntime' even if the function has a known sig.
1892 (byte-compile-file, byte-compile-output-docform):
1893 Don't hard code point-min = 1.
1895 * pcvs.el (cvs-parse-process): Don't save/restore point.
1896 Fix last change not to introduce spurious dir FIs.
1897 (cvs-move-to-goal-column): New function extracted from
1898 cvs-mode-previous-line.
1899 (cvs-mode-previous-line, cvs-mode-next-line): Use it.
1900 (cvs-addto-collection): Use it to preserve point.
1901 (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
1903 * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
1904 Don't require the first element to be modifier-free.
1906 * pcvs-parse.el (cvs-parse-table):
1907 Handle `nothing known about' with more care.
1909 * pcvs.el (cvs-fileinfo-kill): Remove.
1910 (cvs-parse-process): Add `old-fis' argument.
1911 (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
1913 * descr-text.el (describe-property-list): Make sure there's
1914 a space between the property name and its value.
1915 (describe-text-properties): Don't kill a pre-existing buffer.
1917 * mwheel.el: Undo last patch from Stephen Gildea for now.
1919 2002-06-24 Kim F. Storm <storm@cua.dk>
1921 * emulation/keypad.el: Added :require 'keypad to defcustoms.
1923 2002-06-23 Stefan Monnier <monnier@cs.yale.edu>
1925 * subr.el (event-start, event-end, event-click-count):
1926 Accept non-mouse events as well.
1927 (read-key): New function.
1928 (read-quoted-char): Use it. Use this-single-command-raw-keys as well.
1930 * files.el: Rename (and mark as obsolete)
1931 find-file-hooks to find-file-hook,
1932 find-file-not-found-hooks to find-file-not-found-functions,
1933 write-file-hooks to write-file-functions,
1934 write-contents-hooks to write-contents-functions.
1935 Mark local-write-file-hooks as obsolete.
1936 (locate-file-completion): Don't cons uselessly. Use test-completion.
1937 (basic-save-buffer): Use (point-min) rather than 1.
1938 (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
1940 * help-fns.el (describe-variable): Only use `buffer' is still live.
1941 Use `delete-region' instead of save-excursion + delete-char.
1942 Document the obsolescence of the variable, if applicable.
1944 2002-06-23 Glenn Morris <gmorris@ast.cam.ac.uk>
1946 * progmodes/f90.el (f90-do-auto-fill): Respect the value of
1947 comment-auto-fill-only-comments.
1949 2002-06-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1951 * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
1952 This is not a handled operation.
1954 2002-06-21 Kim F. Storm <storm@cua.dk>
1956 * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
1957 work again. Corrected error in check for C-u initiated prefix.
1959 * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
1961 2002-06-21 Richard M. Stallman <rms@gnu.org>
1963 * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
1964 to browse-url-at-point.
1966 * play/zone.el (zone-idle): Var deleted.
1968 * international/iso-acc.el (iso-languages) <french>:
1969 `~ ' now generates `~', `~,' definition deleted.
1971 * format.el (format-annotate-function): Copy multibyte flag
1972 and selective-display into the new temp buffer.
1974 * edmacro.el (edmacro-fix-menu-commands):
1975 Discard `help-echo' events. Handle (menu-bar) events.
1976 Simplify by converting key sequence to a list and then back to vector.
1978 2002-06-21 Stephen Gildea <gildea@stop.mail-abuse.org>
1980 * mwheel.el: Allow arbitrary keys for scrolling, add a third
1981 scrolling speed, fix an unwind-protect.
1982 (mouse-wheel-scroll-amount): Now a three-element list.
1983 (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
1984 (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
1985 (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
1988 2002-06-21 Andreas Schwab <schwab@suse.de>
1990 * files.el (find-file-read-args): Add new argument `mustmatch' and
1991 pass it down to read-file-name.
1992 (find-file, find-file-other-window, find-file-other-frame)
1993 (find-file-read-only, find-file-read-only-other-window)
1994 (find-file-read-only-other-frame): Use it and fix prompts.
1996 2002-06-21 Stefan Monnier <monnier@cs.yale.edu>
1998 * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
2000 2002-06-20 Emmanuel Briot <briot@act-europe.fr>
2002 * progmodes/ada-mode.el: Update copyright notice.
2003 Synchronize with GNAT release 3.15a1.
2004 Do not attempt to load ada-support, which is only for compatibility
2005 with older Emacs versions, and is not needed for Emacs 21.
2006 Fix various calls to count-lines, that didn't work correctly when the
2007 buffer was narrowed.
2008 (ada-continuation-indent): New variable.
2009 (ada-contextual-menu): New entry "List local references", faster than
2011 (ada-mode): New alignment rules provided by S. Leake.
2012 Add support for which-function-mode.
2013 (ada-get-current-indent): Fix indentation of named parameter lists and
2014 nested boolean expressions.
2015 (ada-indent-on-previous-lines): Fix indentation of labels.
2016 (ada-search-prev-end-stmt): Fix searching of the previous
2017 end-statement, specially with regards to nested subprograms.
2018 (comment-region advice): Initially disabled, for better compatibility
2020 (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
2022 * progmodes/ada-xref.el: Update copyright notice.
2023 (ada-xref-create-ali): The default is now not to create automatically
2024 the ALI files by compiling the unit, since this isn't always reliable
2025 and requires an up-to-date project file.
2026 (ada-prj-default-comp-cmd): No longer use gcc directly to compile
2027 a file, but use gnatmake instead, since this gives access to the GNAT
2029 (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
2030 (ada-load-project-hook): New variable, for support of GNAT
2032 (ada-update-project-menu): Fix the detection of the project file name.
2033 (ada-add-keymap): Change key binding for ada-find-file, that conflicted
2034 with another binding in ada-mode.el.
2035 (ada-add-menu): New menu "List Local References", to list the reference
2036 to the entity only in the current file, instead of looking in the whole
2037 project. Much faster.
2038 (ada-find-references): New parameters arg and local-only.
2039 (ada-find-any-references): New parameters local-only and append.
2040 (ada-goto-declaration): Fix handling of predefined entities in xref.
2041 (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
2042 still compatible with GNAT 3.14 of course. Fix various calls to
2043 count-lines, that didn't work correctly when the buffer was narrowed.
2045 * progmodes/ada-prj.el: Update copyright.
2046 (ada-prj-load-directory): Make sure we do not use one of the new Emacs
2047 21 dialogs to select the file, since we want a directory name only.
2048 (ada-customize): Add support for the new GNAT project files.
2050 2002-06-20 Francesco Potorti` <pot@gnu.org>
2052 * progmodes/etags.el (tag-implicit-name-match-p): New function.
2053 (etags-recognize-tags-table): Use it for implicit tag names.
2055 2002-06-20 Miles Bader <miles@gnu.org>
2057 * comint.el (comint-get-old-input-default): Strip text properties
2060 * comint.el (comint-output-filter): Run output-filter functions
2061 before setting up the prompt.
2063 * international/characters.el: Re-enable code giving word syntax
2064 to certain japanese-jisx0208 characters.
2066 2002-06-19 Glenn Morris <gmorris@ast.cam.ac.uk>
2068 * progmodes/f90.el (f90-type-def-re): Fix value.
2069 (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
2071 2002-06-18 Stefan Monnier <monnier@cs.yale.edu>
2073 * international/quail.el (quail-help): Don't assume the buffer
2074 is displayed in the same frame.
2076 * emacs-lisp/debug.el (cancel-debug-on-entry):
2077 * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
2079 * pcvs.el (cvs-vc-command-advice): Handle the case where args
2080 are passed to `cvs' before the command name.
2081 (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
2083 * pcvs-info.el (cvs-add-face): Minor rewrite.
2084 (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
2086 * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
2087 regexp when they don't match comment-foo any more.
2089 2002-06-18 Juanma Barranquero <lektu@terra.es>
2091 * filesets.el (filesets-update-pre010505): Fix typo.
2093 * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
2095 * emulation/edt.el (edt-substitute): Fix typo.
2097 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
2099 * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
2101 * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
2103 2002-06-17 Richard M. Stallman <rms@gnu.org>
2105 * facemenu.el (facemenu-map): Rename to Describe Text
2106 to Describe Properties and use describe-text-properties.
2108 * simple.el (what-cursor-position): Use describe-char.
2110 * descr-text.el (describe-char): Moved from mule-diag.el, renamed
2111 from describe-char-after. Now calls describe-text-properties.
2112 (describe-property-list): Renamed from describe-text-properties.
2113 (describe-text-properties): Renamed from describe-text-at.
2114 New arg OUTPUT-BUFFER.
2115 (describe-text-properties-1):
2116 New subroutine, broken out from describe-text-properties.
2117 Output a newline before each section of the output.
2119 * international/mule-diag.el (describe-char-after):
2120 Moved to descr-text.el.
2122 2002-06-17 Eli Zaretskii <eliz@is.elta.co.il>
2124 * international/mule.el (ctext-pre-write-conversion): Fix the values
2125 of FROM and TO if we create a new buffer.
2127 2002-06-17 John Paul Wallington <jpw@shootybangbang.com>
2129 * comint.el (comint-insert-clicked-input): Insert clicked-on
2130 previous input without properties.
2132 2002-06-16 Andrew Choi <akochoi@shaw.ca>
2134 * term/mac-win.el (scalable-fonts-allowed): Set to t.
2136 2002-06-15 Colin Walters <walters@debian.org>
2138 * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
2140 (cvs-highlight): Delete.
2141 (cvs-add-face): Use `font-lock-face'. Always add properties.
2143 * ibuffer.el (ibuffer-movement-cycle): New variable.
2144 (ibuffer-backward-line, ibuffer-forward-line): Use it.
2146 2002-06-15 Richard M. Stallman <rms@gnu.org>
2148 * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
2149 (batch-byte-recompile-directory): Undo previous change.
2151 * comint.el (comint-skip-input): New function.
2152 (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
2153 (comint-stop-subjob): Use comint-skip-input.
2155 * ielm.el (ielm-eval-input): Use error-message-string.
2156 (ielm-format-error, ielm-format-errors): Functions deleted.
2158 2002-06-14 Kim F. Storm <storm@cua.dk>
2160 * progmodes/compile.el (grep-tree): Doc fixes.
2161 Added SUBDIRS arg for non-interactive use.
2163 2002-06-14 Juanma Barranquero <lektu@terra.es>
2165 * comint.el (comint-snapshot-last-prompt):
2166 Bind `inhibit-read-only' to t to support read-only prompts.
2167 (comint-output-filter): Likewise.
2169 2002-06-14 Miles Bader <miles@gnu.org>
2171 * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
2172 (pop): Move the call to `car' outside the prog1, as the compiler
2173 then generates better code.
2175 2002-06-13 Richard M. Stallman <rms@gnu.org>
2177 * play/zone.el (zone-timer): New variable holds the idle timer.
2178 (zone): Don't fiddle with the idle timer at all.
2179 (zone-when-idle): Put the idle timer in zone-timer.
2180 If one is already set up, cancel it and make a new one.
2181 (zone-leave-me-alone): Likewise.
2183 2002-06-13 Jason Rumney <jasonr@gnu.org>
2185 * w32-fns.el (w32-charset-info-alist): Reorder.
2187 2002-06-13 Andreas Schwab <schwab@suse.de>
2189 * files.el (auto-mode-alist): Move entry for ".in" to the end.
2191 2002-06-13 Miles Bader <miles@gnu.org>
2193 * comint.el (comint-mode): Don't set `font-lock-defaults'.
2194 (comint-mode-hook): Turn on font-lock by default.
2196 2002-06-12 Karl Fogel <kfogel@red-bean.com>
2198 * bookmark.el (bookmark-file-or-variation-thereof):
2199 Restore vc-backend check, thanks to Robert Thorpe for noticing.
2201 2002-06-12 Eli Zaretskii <eliz@is.elta.co.il>
2203 * textmodes/bibtex.el: Change the maintainer to "none".
2205 2002-06-12 Juanma Barranquero <lektu@terra>
2207 * term/w32-win.el (x-handle-switch): Fix handling of
2208 x-invocation-args for switches with arguments.
2210 2002-06-12 Stefan Monnier <monnier@cs.yale.edu>
2212 * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
2213 without first making sure it's bound.
2215 2002-06-12 Richard M. Stallman <rms@gnu.org>
2217 * info.el (Info-fontify-node): Compute header line specially
2218 if node has no next, previous or up links.
2219 Hide the part of the first line that is used in the header.
2220 Use Info-next-link-keymap, etc.
2221 (Info-next-link-keymap, Info-prev-link-keymap)
2222 (Info-up-link-keymap): New variables.
2224 * international/mule-diag.el (describe-char-after): Doc fix.
2226 * view.el (view-mode-enter): Clarify echo area message.
2228 * info.el (Info-select-node): Turn header line on or off here.
2229 (Info-setup-header-line): Function deleted.
2230 (Info-mode): Make Info-header-line local.
2231 (Info-fontify-node): Ignore Info-use-header-line.
2232 Unconditionally compute what the header line should be, and
2233 store it on the `header-line' property of the node's first char.
2234 Bind [header-line down-mouse-1].
2235 Use `keymap' property, not `local-map'.
2236 Bind [mouse-2] for mouse clicks on the node line in the text.
2238 * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
2240 2002-06-12 Miles Bader <miles@gnu.org>
2242 * comint.el (comint-send-input): Properly handle empty and
2243 no-newline input regions.
2245 2002-06-12 Colin Walters <walters@gnu.org>
2247 * calc/calc.el: Use `when', `unless'.
2248 (calc-trail-mode): Use an italic `font-lock-face'.
2249 (calc-refresh): Ditto.
2251 2002-06-12 Colin Walters <walters@debian.org>
2253 * font-core.el (font-lock-core-only): Variable deleted.
2255 (font-lock-set-defaults): Variable alist settings moved back into
2256 font-lock-set-defaults-1.
2257 (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
2258 is specifically excluded by the user.
2260 * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
2262 * help-mode.el (help-mode): Don't set `font-lock-defaults'.
2264 * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
2266 * info.el (Info-mode): Don't set `font-lock-defaults'.
2268 * replace.el (occur-mode): Don't set `font-lock-defaults'.
2270 * help-mode.el (help-highlight-p, help-highlight-face):
2271 Variable was unused; delete.
2272 (help-make-xrefs): Doc fix.
2274 2002-06-11 Richard M. Stallman <rms@gnu.org>
2276 * format.el (format-alist): Document new element PRESERVE.
2277 (format-write-file): Implement PRESERVE elt for a format.
2279 * files.el (make-auto-save-file-name): Rename local `filename' to
2282 2002-06-10 Richard M. Stallman <rms@gnu.org>
2284 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
2285 (ebrowse-copy-list): Function deleted.
2287 * eshell/em-unix.el (eshell/diff): Use copy-sequence.
2289 * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
2291 * eshell/esh-util.el (eshell-copy-list): Function deleted.
2292 (eshell-sublist): Use copy-sequence.
2293 (eshell-copy-tree): Make it an alias for copy-tree.
2295 * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
2297 * subr.el (copy-list): Moved to cl.el.
2298 (copy-tree): Don't use copy-list or cl-pop.
2300 2002-06-10 Miles Bader <miles@gnu.org>
2302 Make comint use text properties for highlighting instead of overlays:
2303 * comint.el (comint-last-output-overlay): Variable removed.
2304 (comint-send-input, comint-output-filter): Use text properties
2305 instead of overlays.
2306 (comint-insert-clicked-input): Rewrite to work with text
2307 properties as well as overlays
2308 (comint-snapshot-last-prompt): Snapshot using text properties.
2309 (comint-get-old-input-default, comint-extract-string): Don't copy
2312 * simple.el (line-move-finish): Inhibit field motion when
2313 computing `line-end'.
2315 * files.el (revert-buffer): Correct typo: variable name is
2316 `buffer-file-format', not `buffer-file-formats'.
2318 * comint.el (comint-send-input, comint-output-filter): Use the
2319 `font-lock-face' property instead of `face'. Don't check the
2320 highlight-enabling variables anymore.
2321 (comint-highlight-input, comint-highlight-prompt): Variables removed.
2323 * faces.el (display-supports-face-attributes-p): New function.
2324 (face-spec-set-match-display): Support `supports' predicate.
2325 (italic): Try underlining for displays that don't support real italics.
2326 * cus-edit.el (custom-display): Add support for `supports' predicate.
2327 * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
2328 instead of 8-bit, for consistency with the rest of emacs.
2329 (tty-color-canonicalize): Only copy COLOR if we need to change it.
2330 (tty-color-approximate): Scale values from `color-name-rgb-alist'
2331 appropriately. Return the whole color description, rather than
2332 just the RGB values.
2333 (tty-color-standard-values): New function. Code mostly taken from
2334 `tty-color-translate'.
2335 (tty-color-translate, tty-color-values): Use `tty-color-desc' to
2337 (tty-color-desc): Do color lookup here instead of calling
2338 `tty-color-translate' and `tty-color-by-index'; this is now the
2339 main place to do it.
2341 2002-06-09 Martin Stjernholm <bug-cc-mode@gnu.org>
2343 * progmodes/cc-style.el (c-set-style, c-set-style-1):
2344 Add another state for the `dont-override' flag where it only keeps
2345 globally set variables.
2347 2002-06-08 Colin Walters <walters@gnu.org>
2349 * descr-text.el (describe-text-properties): Sort the output by the
2350 size of the values. Put `font-lock-face' property on property names.
2351 (toplevel): Provide `descr-text'.
2353 * international/mule-diag.el (describe-char-after): When there are
2354 text properties, require `descr-text', and just call
2355 `describe-text-properties'.
2357 * international/mule.el (sgml-html-meta-auto-coding-function):
2359 (auto-coding-from-file-contents): Delete; merge functionality into
2361 (set-auto-coding): Move tests from `auto-coding-functions' so that
2362 they have a lower priority than coding: tags.
2363 Put `auto-coding-regexp-alist' tests before coding: tag tests.
2364 (sgml-xml-auto-coding-function): Simply `intern' the match, and
2365 test if it's a valid coding system.
2366 (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
2368 2002-06-08 Colin Walters <walters@verbum.org>
2370 * subr.el (copy-list): Moved here from cl.el.
2371 (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
2373 * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
2374 subr.el. Add a defalias with the old name.
2376 * emacs-lisp/cl.el (copy-list): Moved to subr.el.
2378 * replace.el (occur-mode): Don't set up categories. Do set
2379 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2380 (occur-1): Pass `list-matching-lines-face' and
2381 `list-matching-lines-buffer-name-face'.
2382 (occur-engine): Use `font-lock-face' instead of categories.
2384 * info.el (Info-mode): Don't set up categories. Do set
2385 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2386 (Info-fontify-menu-headers): Use `font-lock-face' instead of
2388 (Info-fontify-node): Ditto.
2390 * ibuffer.el (ibuffer-category-alist): Delete.
2391 (ibuffer-get-category): Delete.
2392 (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
2394 (ibuffer-compile-format): Don't treat `name' category specially.
2395 (ibuffer-column name): Use `font-lock-face'.
2396 (filename-and-process): Ditto.
2397 (ibuffer-buffer-name-category): Renamed to
2398 `ibuffer-buffer-name-face'. Don't use categories.
2399 (ibuffer-update-title-and-summary): Use `font-lock-face'.
2400 (ibuffer-insert-filter-group): Ditto.
2401 (ibuffer-mode): Don't set up categories. Do set
2402 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2403 (ibuffer-compile-format): Don't pass third argument
2404 to column functions.
2405 (filename-and-process): Ditto.
2407 * ibuf-macs.el (define-ibuffer-column): Don't create a third
2408 argument for the generated function.
2410 * font-core.el (font-lock-category-alist): Delete.
2411 (turn-on-font-lock-if-enabled): Don't use it.
2412 (font-lock-symbol-category-alist): Delete.
2413 (font-lock-default-function): Use new `char-property-alias-alist'
2414 to make `font-lock-face' an alias for `face' when font-lock mode
2416 (font-lock-core-only): New variable.
2417 (font-lock-set-defaults): Use it.
2419 2002-06-08 Richard M. Stallman <rms@gnu.org>
2421 * files.el (find-file-noselect-1): Undo previous change.
2423 * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
2425 2002-06-07 Karl Fogel <kfogel@red-bean.com>
2427 * bookmark.el (bookmark-file-or-variation-thereof): Just use
2428 Info-suffix-list, as suggested by Stefan Monnier.
2430 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il>
2432 * select.el (xselect-convert-to-string): If VALUE is a string,
2433 return a cons of TYPE and the string.
2435 2002-06-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
2437 * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
2438 Fix the table to contain correct characters.
2440 2002-06-04 Richard M. Stallman <rms@gnu.org>
2442 * simple.el: Don't require cl.
2444 2002-06-03 Richard M. Stallman <rms@gnu.org>
2446 * dired.el (dired-do-shell-command): Doc fix in autoload.
2448 * info.el (Info-extract-pointer): Ignore Info-header-line.
2450 * progmodes/cc-mode.el (c-postprocess-file-styles):
2451 Do nothing except in CC modes.
2453 * international/mule-cmds.el (select-safe-coding-system):
2454 When computing auto-cs, narrow to FROM...TO.
2455 Put save-excursion outside save-restriction.
2456 New arg FILE; use that for set-auto-coding.
2458 2002-06-01 Richard M. Stallman <rms@gnu.org>
2460 * simple.el (choose-completion-string-functions): Doc fix.
2461 (choose-completion-string): Add doc string.
2463 2002-06-01 Kim F. Storm <storm@cua.dk>
2465 * simple.el: Reworked previous change.
2466 (choose-completion-string1): Merged back into choose-completion-string.
2467 (choose-completion-string): Run choose-completion-string-functions
2468 after checking for proper minibuffer window. Added mini-p arg to
2469 the hook functions. Insert choice if all hook functions return nil.
2470 (choose-completion-string-functions): Doc update.
2472 2002-06-01 Sam Steingold <sds@gnu.org>
2474 * files.el (auto-mode-alist): Strip trailing ".in" from the file
2475 name when deciding the mode (for config.h.in, Makefile.in etc).
2477 2002-06-01 Thien-Thi Nguyen <ttn@gnu.org>
2479 * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
2480 ?/ and ?* entries to support /* */ style comments.
2481 (prolog-font-lock-keywords): New var.
2482 (prolog-mode): Enable font-locking; set `font-lock-defaults'.
2484 2002-06-01 Kim F. Storm <storm@cua.dk>
2486 * simple.el (choose-completion-string-functions): New special hook.
2487 (choose-completion-string1): Renamed from choose-completion-string.
2488 (choose-completion-string): Run choose-completion-string-functions
2489 until success, and only call choose-completion-string1 if it fails.
2491 2002-05-31 Stefan Monnier <monnier@cs.yale.edu>
2493 * textmodes/ispell.el (autoloaded toplevel): Don't use
2494 ispell-library-directory without checking that it's bound.
2496 2002-05-31 Kim F. Storm <storm@cua.dk>
2498 * emulation/cua-base.el (cua--last-deleted-region-pos)
2499 (cua--last-deleted-region-text): New aux variables.
2500 (cua-delete-region): Set them.
2501 (cua-repeat-replace-region): Use them to find the replacement text.
2503 2002-05-31 Juanma Barranquero <lektu@terra.es>
2505 * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
2508 2002-05-31 Kim F. Storm <storm@cua.dk>
2510 * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
2511 (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
2512 New custom variables.
2513 (grep-compute-defaults): Compute grep-tree-command's default value.
2514 (grep-expand-command-macros): New aux function.
2515 (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
2516 (grep-tree): New command like grep-find but extended prompting.
2518 2002-05-30 Richard M. Stallman <rms@gnu.org>
2520 * files.el (find-file-default): Add defvar for var already used.
2522 * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
2524 * subr.el (open-network-stream, open-network-stream-nowait)
2525 (open-network-stream-server, process-kill-without-query):
2526 Moved from simple.el.
2528 * simple.el (open-network-stream, open-network-stream-nowait)
2529 (open-network-stream-server, process-kill-without-query):
2532 * simple.el (byte-compiling-files-p): Function deleted.
2534 * textmodes/ispell.el (ispell-library-directory): Renamed from
2535 ispell-library-path. If Ispell is not installed, init to nil.
2536 (check-ispell-version): Doc fix.
2537 (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
2538 initialize this unconditionally when ispell-menu-map-needed is t.
2539 Local `path' renamed to `dir'.
2541 2002-05-30 Miles Bader <miles@gnu.org>
2543 * calc/calc.el (calc-show-banner): New variable.
2544 (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
2545 (calc-mode-var-list): Add `calc-show-banner'.
2546 * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
2547 (calc-toggle-banner): New function.
2548 * calc/calc-help.el (calc-d-prefix-help): Add `@'.
2550 2002-05-29 Richard M. Stallman <rms@gnu.org>
2552 * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
2553 When recognizing a def... construct, make that indentation
2554 tentative, so that it can be overridden if the list in question
2555 is not actually an expression.
2556 (common-lisp-indent-call-method): New subroutine.
2558 * emacs-lisp/bytecomp.el (batch-byte-compile-file):
2559 Delete the output file if we get a file-error.
2561 * tooltip.el (tooltip-mouse-motions-active): New variable.
2562 (tooltip-activate-mouse-motions): Don't kill track-mouse local
2563 if it was not made by us.
2565 * mouse.el (mouse-set-font): Avoid misleading error message
2566 if user makes no selection.
2568 * info.el (Info-setup-header-line): Don't hide the links line.
2570 * files.el (find-file-noselect-1): Return the buffer we created
2571 even if it has been killed within `after-find-file'.
2573 * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
2575 2002-05-29 Kim F. Storm <storm@cua.dk>
2577 * simple.el (open-network-stream-server): Pass on optional args
2578 sentinel and filter to make-network-process (from Luke Gorrie).
2580 2002-05-28 Colin Walters <walters@gnu.org>
2582 * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
2584 * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
2585 (byte-compile-delete-first): New function.
2586 (byte-compile-read-position): New variable.
2587 (byte-compile-last-position): New variable.
2588 (byte-compile-current-buffer): New variable.
2589 (byte-compile-log-1): Use it.
2590 (byte-compile-set-symbol-position): New function.
2591 (byte-compile-obsolete, byte-compile-callargs-warn)
2592 (byte-compile-arglist-warn, byte-compile-arglist-warn)
2593 (byte-compile-print-syms, byte-compile-file-form-defmumble)
2594 (byte-compile-check-lambda-list, byte-compile-lambda)
2595 (byte-compile-form, byte-compile-variable-ref)
2596 (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
2597 (byte-compile-condition-case, byte-compile-defun)
2598 (byte-compile-defvar, byte-compile-autoload)
2599 (byte-compile-lambda-form): Use it.
2600 (byte-compile-from-buffer): Set it, and bind
2601 `read-with-symbol-positions' and `read-symbol-positions-list'.
2603 * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
2605 2002-05-28 Kim F. Storm <storm@cua.dk>
2607 * files.el (read-directory-name): New function.
2608 (cd): Use it instead of read-file-name.
2610 2002-05-27 Kim F. Storm <storm@cua.dk>
2612 * simple.el (push-mark-command): Added optional NOMSG arg.
2614 * emulation/cua-base.el (cua-set-mark): Align pop to mark
2615 behaviour with standard set-mark-command.
2616 (cua--pre-command-handler): Use push-mark-command.
2617 (cua-repeat-replace-region): Improve functionality when
2618 repeated after moving point or changing buffer.
2620 2002-05-26 Colin Walters <walters@verbum.org>
2622 * startup.el (command-line): Use `when', `unless'.
2623 (command-line-1): New argument "--nosplash". Handle it.
2625 * startup.el (inhibit-splash-screen): New variable alias for
2626 `inhibit-startup-message'.
2628 * replace.el (perform-replace): Document return value. Use `pop'.
2630 2002-05-26 Glenn Morris <gmorris@ast.cam.ac.uk>
2632 * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
2633 and slightly changed behaviour, for `f90-previous-block-start' and
2634 `f90-next-block-end'.
2635 (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
2637 2002-05-26 Simon Josefsson <jas@extundo.com>
2639 * fringe.el (set-fringe-mode): Work when updating
2640 `default-frame-alist'.
2642 2002-05-26 Kim F. Storm <storm@cua.dk>
2644 * emulation/cua-base.el (cua--repeat-replace-text): New variable.
2645 (cua-repeat-replace-region): New command.
2646 (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
2647 Misc improvements to the commantary.
2649 2002-05-26 Simon Josefsson <jas@extundo.com>
2651 * fringe.el (fringe-query-style): New fringe style "minimal".
2653 2002-05-24 Simon Josefsson <jas@extundo.com>
2655 * rot13.el (rot13-translate-table): New variable.
2656 (rot13, rot13-string, rot13-region): New functions.
2658 2002-05-25 Martin Stjernholm <bug-cc-mode@gnu.org>
2660 * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
2661 of wrong anchoring, e.g. for else-if compounds.
2663 2002-05-25 Miles Bader <miles@gnu.org>
2665 * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
2666 (menu-bar-showhide-fringe-menu-customize-right)
2667 (menu-bar-showhide-fringe-menu-customize-disable):
2668 Use proper calling convention for `customize-set-value'.
2669 Require `fringe' before setting variable.
2671 2002-05-25 Kim F. Storm <storm@cua.dk>
2673 * emulation/cua-base.el (cua--self-insert-char-p): New function.
2675 * emulation/cua-gmrk.el (cua--init-global-mark): Install default
2676 binding in cua--global-mark-keymap using cua--self-insert-char-p
2677 to handle all global self inserting characters in gmark mode.
2679 * emulation/cua-rect.el (cua--init-rectangles): Install default
2680 binding in cua--rectangle-keymap using cua--self-insert-char-p
2681 to handle all global self inserting characters in rectangle mode.
2683 2002-05-24 Stefan Monnier <monnier@cs.yale.edu>
2685 * net/ange-ftp.el (read-file-name-internal): Remove the
2686 `ange-ftp' property.
2687 (ange-ftp-real-read-file-name-internal): Remove.
2689 2002-05-24 Glenn Morris <gmorris@ast.cam.ac.uk>
2691 * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
2693 (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
2694 (f90-previous-block-start): New navigation commands.
2696 2002-05-20 Simon Josefsson <jas@extundo.com>
2698 * fringe.el: New file.
2700 * menu-bar.el (menu-bar-options-save): Add fringe-mode.
2701 (menu-bar-showhide-fringe-menu): New menu.
2702 (menu-bar-showhide-menu): Add Fringe sub-menu.
2704 2002-05-23 Colin Walters <walters@verbum.org>
2706 * replace.el (occur-engine): Include all text properties except
2707 mouse-face on the newline at the end of occurences.
2709 2002-05-23 Kim F. Storm <storm@cua.dk>
2711 * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
2712 (apropos-false-hit-str, apropos-true-hit-doc): New functions.
2713 (apropos-command, apropos-value, apropos-documentation-internal)
2714 (apropos-documentation-check-doc-file)
2715 (apropos-documentation-check-elc-file): Use them to filter out
2716 false matches where only one keyword matches, but more than once.
2718 * apropos.el (apropos-show-scores, apropos-orig-regexp)
2719 (apropos-all-regexp, apropos-synonyms, apropos-words)
2720 (apropos-all-words): New variables.
2721 (aprpos-words-to-regexp, apropos-rewrite-regexp)
2722 (apropos-calc-scores, apropos-score-str, apropos-score-doc)
2723 (apropos-score-symbol): New functions.
2724 (apropos-command, apropos, apropos-value, apropos-documentation):
2725 Allow keywords in addition to regexp. Added scoring.
2726 (apropos-documentation-check-doc-file)
2727 (apropos-documentation-check-elc-file): Added scoring.
2728 (apropos-print): Sort according to score.
2730 2002-05-22 Colin Walters <walters@cis.ohio-state.edu>
2732 * info.el (Info-mode-hook): Change `font-lock-mode' to
2733 `turn-on-font-lock'.
2735 * font-core.el (font-lock-function): New variable.
2736 (font-lock-default-function): New function, created from
2738 (font-lock-mode): Just funcall `font-lock-function'.
2739 (font-lock-symbol-category-alist): New variable.
2741 2002-05-22 Markus Rost <rost@math.ohio-state.edu>
2743 * files.el (file-newest-backup): Use file-name-sans-versions.
2745 * diff.el (diff-latest-backup-file): Replace the main code by
2746 a call of file-newest-backup.
2748 2002-05-22 Mike Williams <mdub@bigfoot.com>
2750 * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
2753 2002-05-21 Stefan Monnier <monnier@cs.yale.edu>
2755 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
2756 the last patch works around the wu-ftpd misfeature that prompted
2757 the disabling of this optimization.
2759 2002-05-21 Colin Walters <walters@gnu.org>
2761 * international/mule.el (make-coding-system): Doc fixes.
2763 * international/mule.el (auto-coding-functions): New variable.
2764 (auto-coding-from-file-contents): Use it.
2765 (set-auto-coding): Update docs.
2766 (sgml-xml-auto-coding-function): New function.
2768 * international/mule-util.el (truncate-string-to-width):
2769 New optional argument `ellipsis'. Add commented-out test suite, and
2770 change coding to iso-2022-7bit.
2772 2002-05-21 Colin Walters <walters@verbum.org>
2774 * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
2775 (font-lock-multiline, font-lock-fontified, font-lock-mode)
2776 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
2777 (font-lock-global-modes): Moved to font-core.el.
2778 (font-lock-set-defaults-1): Partially moved to font-core.el.
2780 * font-core.el: New file, with functions taken from font-lock.el.
2781 (font-lock-category-alist): New variable.
2782 (font-lock-mode): Use it.
2783 (font-lock-set-defaults): Partially taken from font-lock.el.
2784 Only load font-lock.el when necessary.
2786 * loadup.el: Add font-core.el.
2788 * replace.el (occur-mode-hook): New variable.
2789 (occur-fontify-region-function): Deleted.
2790 (occur-mode): Don't use it. Set up `font-lock-category-alist'
2792 (occur-fontify-on-property): Deleted.
2793 (occur-engine): Use categories from `font-lock-category-alist'.
2795 * info.el (Info-fontify): Deleted.
2796 (Info-select-node): Don't use it.
2797 (Info-mode-hook): New variable.
2798 (Info-mode): Set up categories.
2799 (Info-fontify-menu-headers, Info-fontify-node): Use categories.
2801 * ibuffer.el (ibuffer-formats): Update docs.
2802 (ibuffer-category-alist): New variable.
2803 (ibuffer-get-category): New function.
2804 (ibuffer-compile-make-eliding-form): Use category property instead
2806 (ibuffer-compile-format): Pass current ibuffer buffer to column
2808 (ibuffer-buffer-name-category): New function.
2809 (ibuffer-compile-format): If the current column is a `name'
2810 column, figure out the appropriate category to put on it.
2811 (filename-and-process): Use category property.
2812 (ibuffer-fontify-region-function): Deleted.
2813 (ibuffer-unfontify-region-function): Deleted.
2814 (ibuffer-update-title-and-summary): Use category properties.
2815 (ibuffer-insert-filter-group): Ditto.
2816 (ibuffer-mode): Set up category properties.
2818 2002-05-21 Colin Walters <walters@debian.org>
2820 * replace.el (occur-engine): Increment globalcount all at once
2821 after searching a buffer.
2822 (occur-mode-map): Don't escape plain "o".
2824 * ibuf-macs.el (define-ibuffer-column): Add third argument
2827 * ibuffer.el (toplevel): Require font-lock, to get the face
2829 (ibuffer-use-fontification): Deleted.
2830 (column filename-and-process): New column.
2831 (ibuffer-formats): Use it by default.
2832 (ibuffer-name-map, ibuffer-mode-name-map)
2833 (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
2834 (ibuffer-do-save, ibuffer-do-toggle-modified)
2835 (ibuffer-do-toggle-read-only, ibuffer-do-delete)
2836 (ibuffer-do-kill-on-deletion-marks): Include name in definition.
2837 (ibuffer): New optional argument `formats'.
2839 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il>
2841 * indent.el (indent-rigidly): Mention how to remove all indentation.
2843 2002-05-21 Colin Walters <walters@gnu.org>
2845 * international/mule-diag.el (describe-char-after): Order display
2846 of text properties by the size of their value, for clarity.
2848 2002-05-20 Stefan Monnier <monnier@cs.yale.edu>
2850 * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
2851 (ange-ftp-file-name-completion): Don't cons unnecessarily.
2852 (ange-ftp-send-cmd): Always `cd' before doing `ls'.
2854 * wid-edit.el (widget-color-complete):
2855 * progmodes/etags.el (tags-complete-tags-table-file):
2856 * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
2858 * textmodes/outline.el (outline-reveal-toggle-invisible):
2859 Reverse the meaning of the second arg.
2861 * reveal.el (reveal-post-command): Reverse the semantics of
2862 reveal-toggle-invisible and support isearch-open-invisible-temporary.
2864 2002-05-20 Markus Rost <rost@math.ohio-state.edu>
2866 * mail/sendmail.el (mail-recover-1): Remove (debug).
2867 (mail-signature): Fix :type.
2868 (mail-default-directory): New user option.
2869 (mail, mail-recover): Use that option.
2871 2002-05-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2873 * international/mule.el (auto-coding-alist): Use emacs-mule
2874 for auto-save files.
2876 2002-05-20 Miles Bader <miles@gnu.org>
2878 * files.el (find-file-read-args): Don't trash existing value of
2879 `minibuffer-setup-hook', just add our hook to it.
2881 2002-05-19 Markus Rost <rost@math.ohio-state.edu>
2883 * international/ucs-tables.el (unify-8859-on-encoding-mode)
2884 (unify-8859-on-decoding-mode): Change :version attributes to strings.
2886 * simple.el (yank-excluded-properties): Change :version attribute
2889 * dired.el (dired-view-command-alist): Change :version attribute
2892 * xscheme.el (xscheme-start-hook): Change :version attribute to a
2895 * find-dired.el (find-dired): Implement revert-buffer-function.
2897 * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
2899 2002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk>
2901 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
2902 (f90-get-present-comment-type): Fix earlier change.
2903 (f90-comment-indent): Doc fix.
2904 (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
2905 (f90-looking-at-if-then): Remove lets.
2906 (f90-looking-at-where-or-forall): Handle if split over lines.
2907 (f90-change-keywords): Doc fix.
2909 2002-05-19 Richard M. Stallman <rms@gnu.org>
2911 * indent.el (indent-region): Make COLUMN arg optional.
2913 * files.el (find-file-read-args): New function.
2914 (find-file, find-file-other-window, find-file-other-frame)
2915 (find-file-read-only, find-file-read-only-other-window)
2916 (find-file-read-only-other-frame): Use it.
2918 * custom.el (custom-load-symbol): Verify that LOADED is a string.
2920 * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
2921 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2922 (archive-zip-update-case): Use locate-file to decide whether
2924 (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
2926 * files.el (locate-file): Doc fix.
2928 2002-05-19 John Paul Wallington <jpw@shootybangbang.com>
2930 * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
2933 2002-05-18 Stefan Monnier <monnier@cs.yale.edu>
2935 * uniquify.el (uniquify-rationalize-file-buffer-names):
2936 Always strip the trailing / even if the file is not a directory.
2938 2002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk>
2940 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
2941 initialization in the defvar.
2942 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
2943 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
2944 (f90-font-lock-4): Move the doc strings.
2945 (f90-menu-bar-menu): New internal variable to hold the top-level menu.
2946 (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
2947 (f90-mode-abbrev-table): Initialize in the defvar, with
2948 define-abbrev-table.
2950 2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
2952 * tar-mode.el (tar-octal-time): Fix last change.
2954 2002-05-18 Markus Rost <rost@math.ohio-state.edu>
2956 * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
2957 (report-emacs-bug): Store the prompt in
2958 `report-emacs-bug-text-prompt'. Move Configuration/Important
2959 settings information after the user's report.
2960 (report-emacs-bug-hook): Unclutter by deleting the content of
2961 `report-emacs-bug-text-prompt'.
2963 2002-05-17 Thomas Morgan <tlm@pocketmail.com>
2965 * forms.el (forms-jump-record, forms-insert-record)
2966 (forms-delete-record): Calculate lines from the beginning of the
2967 accessible portion rather than from the beginning of the buffer.
2969 2002-05-16 Eli Zaretskii <eliz@is.elta.co.il>
2971 * ps-mule.el (eval-and-compile): Add a trivial replacement for a
2972 possibly missing encode-char.
2973 (ps-mule-font-info-database-bdf): Add associations for Unicode
2975 (ps-mule-font-info-database-ps-bdf): Doc fix.
2976 (ps-mule-encode-ucs2): New function for encoding Unicode characters.
2978 * tar-mode.el (tar-octal-time): Fix the last argument of logior.
2980 2002-05-16 Stefan Monnier <monnier@cs.yale.edu>
2982 * emacs-lisp/find-func.el (find-function-search-for-symbol):
2983 Find funs defined with defun-cvs-mode.
2984 (find-function-space-re): New const. Skips comments as well.
2985 (find-function-regexp, find-variable-regexp): Use it.
2987 * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
2988 (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
2989 (cvs-mode-set-flags): Don't cons unnecessarily.
2991 2002-05-16 Colin Walters <walters@debian.org>
2993 * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
2994 "Simple Calculator".
2995 (menu-bar-tools-menu) <calc>: New.
2997 2002-05-16 Juanma Barranquero <lektu@terra.es>
2999 * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
3001 * filesets.el (filesets-ormap): Fix typo.
3003 * faces.el (describe-face): Fix typo.
3005 2002-05-15 Stefan Monnier <monnier@cs.yale.edu>
3007 * emacs-lisp/easymenu.el (easy-menu-make-symbol):
3008 Don't treat (lambda () ...) as an expression.
3010 2002-05-15 John Paul Wallington <jpw@shootybangbang.com>
3012 * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
3014 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
3016 * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
3018 2002-05-14 Glenn Morris <gmorris@ast.cam.ac.uk>
3020 * progmodes/fortran.el (fortran-directive-re): New name for
3021 fortran-preprocessor-re. All usage updated.
3022 (fortran-calculate-indent): Give directives zero indentation.
3024 2002-05-14 Jason Rumney <jasonr@gnu.org>
3026 * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
3027 displayed text and internal name as string.
3029 2002-05-14 Kim F. Storm <storm@cua.dk>
3031 * emulation/cua-rect.el (cua--rectangle-operation):
3032 Don't highlight empty lines in rectangles.
3034 * emulation/keypad.el: Improved commentary.
3035 (keypad-setup, keypad-shifted-setup): Added choice to setup
3036 Numeric keypad with decimal key; value is selected character.
3037 (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
3038 (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
3039 (keypad-setup): Arg list changed to support the new options.
3041 2002-05-14 Richard M. Stallman <rms@gnu.org>
3043 * dabbrev.el (dabbrev-case-distinction): New option.
3044 (dabbrev--try-find): Handle dabbrev-case-distinction.
3045 (dabbrev--search): Clean up the code.
3046 (dabbrev-upcase-means-case-search): Doc fix.
3047 (dabbrev-case-replace): Fix custom tags and docs.
3049 2002-05-14 Jochen K
\e,A|
\e(Bpper <jochen@jochen-kuepper.de>
3051 * calc/calc-units.el (math-standard-units): Update from CODATA.
3053 2002-05-14 Stefan Monnier <monnier@cs.yale.edu>
3055 * skeleton.el (skeleton-transformation): Default to `identity'.
3056 (skeleton-insert): Use `move-after' markers and `insert' rather
3057 than rely on insert-before-markers.
3058 (skeleton-internal-1): Handle `> \n' specially so that the newline
3059 is inserted before the first line is indented.
3061 2002-05-14 Mike Williams <mdub@bigfoot.com>
3063 * textmodes/sgml-mode.el (sgml-tag):
3064 Default skeleton-transformation to `identity'.
3066 2002-05-14 Francesco Potorti` <pot@gnu.org>
3068 * shell.el (shell-mode): Make second part of initialisation
3069 depend on whether comint-input-ring is empty, rather than depend
3072 2002-05-14 Richard M. Stallman <rms@gnu.org>
3074 * files.el (make-auto-save-file-name):
3075 Delete the auto-save file after make-temp-file creates it.
3077 2002-05-13 Kim F. Storm <storm@cua.dk>
3079 * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
3080 (cua-mode): Print Enabled/Disabled messages if interactive.
3081 Disable delete-selection-mode and pc-selection-mode when cua-mode
3082 is enabled; reenable if cua-mode is turned off.
3083 Remember setting of transient-mark-mode when cua-mode is enabled;
3084 restore if cua-mode is disabled.
3086 2002-05-13 Richard M. Stallman <rms@gnu.org>
3088 * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
3090 2002-05-13 Colin Walters <walters@gnu.org>
3092 * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
3094 * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
3095 (ibuffer-redisplay-engine): Handle it.
3097 * add-log.el (add-log-mailing-address): Can be a list, too.
3098 (add-change-log-entry): If `add-log-mailing-address' is a list,
3101 2002-05-12 Colin Walters <walters@debian.org>
3103 * replace.el (occur-1): New optional argument `buf-name'.
3104 (occur-revert-function): Use it.
3106 (occur-1): Handle plurals.
3108 (occur-engine): If there are no more matches, then finish
3109 searching the current buffer.
3111 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3113 * net/ange-ftp.el (ange-ftp-try-passive-mode)
3114 (ange-ftp-passive-host-alist): Change :version attributes to be
3117 2002-05-12 Markus Rost <rost@math.ohio-state.edu>
3119 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
3122 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3123 Handle more whitespace/newline combinations in symbol definitions.
3125 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il>
3128 * vc-cvs.el (vc-cvs-global-switches)
3129 (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
3130 * textmodes/sgml-mode.el (sgml-xml-mode)
3131 * ruler-mode.el (ruler-mode)
3132 * replace.el (query-replace-skip-read-only)
3133 * progmodes/fortran.el (fortran-preprocessor-re)
3134 * net/ange-ftp.el (ange-ftp-passive-host-alist)
3135 * mail/sendmail.el (mail-use-dsn)
3136 * faces.el (mode-line-inactive, minibuffer-prompt)
3137 * add-log.el (add-log-always-start-new-record): Change all
3138 post-21.1 :version attributes to 21.4.
3140 2002-05-12 Richard M. Stallman <rms@gnu.org>
3142 * mail/smtpmail.el (smtpmail-mail-address): New variable.
3143 (smtpmail-send-it): Bind and use that instead of `mail-address'.
3144 (smtpmail-via-smtp): Likewise.
3146 * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
3147 (ansi-color-apply-sequence): Avoid duplicates in combined face list.
3149 * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
3151 * subr.el (functionp): Catch errors in indirect-function.
3153 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3155 * net/ldap.el (ldap-search-internal): Unfold folded lines before
3158 * cus-edit.el (customize-set-value): Rename `var' to `variable'
3159 and `val' to `value'.
3160 (customize-save-variable): Rename `var' to `'variable.
3162 2002-05-12 Glenn Morris <gmorris@ast.cam.ac.uk>
3164 * progmodes/fortran.el (fortran-preprocessor-re): New variable.
3165 Use it for font-locking and indentation.
3166 (fortran-previous-statement, fortran-next-statement): Make them
3167 skip over preprocessor lines.
3168 (fortran-calculate-indent): Use fortran-preprocessor-re.
3170 2002-05-10 Kim F. Storm <storm@cua.dk>
3172 * emulation/cua-base.el (cua-enable-cua-keys)
3173 (cua-enable-register-prefix): Added value for `other' choice.
3175 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
3177 * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
3178 (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
3179 (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
3180 Run a named function.
3181 (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
3182 (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
3185 2002-05-10 Kim F. Storm <storm@cua.dk>
3187 * emulation/cua-base.el (cua-mode): Misc. changes to use
3188 emulation-mode-map-alists instead of minor-mode-map-alist.
3190 2002-05-09 Richard M. Stallman <rms@gnu.org>
3192 * mail/rmail.el (rmail-show-message):
3193 Catch error in check-coding-system.
3195 * progmodes/compile.el (compilation-error-regexp-alist):
3196 New element to recognize Python error messages.
3198 * shell.el (shell-replace-by-expanded-directory):
3199 If there's already a / at the end, don't add one.
3201 2002-05-09 Colin Walters <walters@verbum.org>
3203 * ibuffer.el (ibuffer-mode-map): Add :enable guards for
3204 `ibuffer-filter-disable', `ibuffer-pop-filter',
3205 `ibuffer-or-filter', `ibuffer-negate-filter',
3206 `ibuffer-decompose-filter', `ibuffer-save-filters',
3207 `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
3208 `ibuffer-save-filter-groups',
3209 `ibuffer-switch-to-saved-filter-groups',
3210 `ibuffer-delete-saved-filter-groups'.
3212 * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
3214 2002-05-09 Markus Rost <rost@math.ohio-state.edu>
3216 * woman.el (woman-menu): Move symbol before the comment so that
3217 find-function-search-for-symbol finds it.
3219 2002-05-10 Miles Bader <miles@gnu.org>
3221 * facemenu.el (list-colors-display): Don't use
3222 `display-color-cells' unless the display class is one for which
3223 that info is relevant.
3225 2002-05-09 Simon Josefsson <jas@extundo.com>
3227 * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
3229 (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
3232 2002-05-09 Kim F. Storm <storm@cua.dk>
3234 * wid-edit.el (checkbox): New check-mark image.
3236 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3238 * filesets.el (filesets-running-xemacs): Fix last change.
3240 2002-05-08 Markus Rost <rost@math.ohio-state.edu>
3242 * help-fns.el (describe-function-1): If the source is
3243 `loaddefs.el', look for the real source. This is necessary only
3246 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3247 Add autoload cookie.
3248 (find-function-regexp): Include
3249 "\(quote " to match the defaliases in loaddefs.el.
3251 * filesets.el (filesets-conditional-sort): Use copy-sequence,
3253 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
3254 Defvar them to nil if running in Emacs.
3256 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3258 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
3259 to flyspell overlays.
3261 * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
3263 2002-05-08 Richard M. Stallman <rms@gnu.org>
3265 * diff.el (diff-regexp-alist): Doc fix.
3267 * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
3269 2002-05-08 Simon Marshall <simon@gnu.org>
3271 * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
3272 the frame name as the car of a menu entry, rather than the frame.
3274 2002-05-08 Juanma Barranquero <lektu@terra.es>
3276 * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
3279 2002-05-07 Colin Walters <walters@verbum.org>
3281 * replace.el (occur-unfontify-region-function): Delete.
3282 (occur-mode): Don't use it.
3283 (occur-engine): Respect `keep-props'.
3284 (occur-accumulate-lines): If we're moving forward, decrement;
3285 don't increment, and vice versa.
3287 2002-05-08 Toru Tomabechi <Toru.Tomabechi@orient.unil.ch>
3289 * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
3290 (tibetan-canonicalize-for-unicode-regexp): New variables.
3291 (tibetan-canonicalize-for-unicode-region): New function.
3292 (tibetan-strict-unicode): New variable.
3293 (tibetan-pre-write-canonicalize-for-unicode): New function.
3295 2002-05-07 Markus Rost <rost@math.ohio-state.edu>
3297 * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
3298 the autoload-cookie. Remove comment.
3300 * ffap.el (ffap): Don't hide it behind the autoload-cookie.
3302 * rect.el (close-rectangle): Don't hide it behind the
3305 2002-05-07 Juanma Barranquero <lektu@terra.es>
3307 * windmove.el (windmove-default-keybindings): Add optional
3308 parameter to allow using a modifier other than 'shift.
3310 2002-05-07 Thomas Link <t.link@gmx.at>
3313 (filesets-external-viewers): Fix customization problem.
3314 (filesets-some): Replaces cl's `some'. Calls changed.
3315 (filesets-member): Replaces cl's `member*'. Calls changed.
3316 (filesets-ormap): New function.
3318 2002-05-07 John Paul Wallington <jpw@shootybangbang.com>
3320 * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
3323 2002-05-07 Colin Walters <walters@gnu.org>
3325 * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
3326 (ibuffer-clear-filter-groups): Likewise.
3327 (ibuffer-kill-filter-group): Likewise.
3328 (ibuffer-kill-line): Likewise.
3329 (ibuffer-read-filter-group-name): New function.
3330 (ibuffer-jump-to-filter-group): Use it.
3331 (ibuffer-kill-filter-group): Likewise.
3332 (ibuffer-yank-filter-group): Likewise.
3333 (ibuffer-decompose-filter-group): New function.
3335 * ibuffer.el (ibuffer-mode-map): Bind it. Add :enable guard
3336 around `ibuffer-filters-to-filter-group' menu item. Fix :enable
3337 guards for `ibuffer-pop-filter-group' and
3338 `ibuffer-clear-filter-groups'.
3340 2002-05-06 Markus Rost <rost@math.ohio-state.edu>
3342 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3343 Use with-syntax-table.
3345 2002-05-06 Francesco Potorti` <pot@gnu.org>
3347 * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
3349 2002-05-05 Markus Rost <rost@math.ohio-state.edu>
3351 * time-stamp.el (time-stamp-format): Doc fix: escape open
3352 parenthesis in column 0.
3354 2002-05-04 Richard M. Stallman <rms@gnu.org>
3356 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
3357 Handle both cases: when the menu item has cached info
3358 and when it doesn't.
3360 * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
3361 (filesets-open-file-function, filesets-save-buffer-function): Likewise.
3362 (filesets-tree-max-level): Doc fix.
3363 (filesets-commands, filesets-external-viewers)
3364 (filesets-ingroup-patterns): Mark as risky.
3365 (filesets-cache-hostname-flag): Doc fix.
3366 (filesets-menu-cache-file): Doc fix. Mark as risky.
3367 (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
3368 Don't defcustom them if running in Emacs.
3370 2002-05-04 Thomas Link <t.link@gmx.at>
3372 * filesets.el (filesets-ingroup-collect-files):
3373 Fix problem with inclusion groups' :scan-depth property.
3375 2002-05-04 Colin Walters <walters@verbum.org>
3377 * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
3378 "Default" group earlier. Push killed group on
3379 `ibuffer-filter-group-kill-ring'.
3380 (ibuffer-kill-line): Document. Don't push killed group ourselves.
3381 (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
3382 (ibuffer-insert-filter-group-before): New function, broken out
3383 from `ibuffer-yank'.
3384 (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
3386 * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
3387 (ibuffer-mode-view-menu): Unused variables; deleted.
3388 (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
3390 2002-05-04 John Paul Wallington <jpw@shootybangbang.com>
3392 * ibuffer.el (ibuffer-mode-groups-popup): New variable.
3393 (toplevel): Bind filter group menu entries in it. Add :enable
3394 forms for some menu items.
3395 (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
3396 to `ibuffer-mouse-popup-menu'.
3397 (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
3398 group name, and if so, pop up a filter group menu.
3400 2002-05-04 Jason Rumney <jasonr@gnu.org>
3402 * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
3403 (mwheel-scroll): Recognize nil scroll amount as documented.
3405 * term/w32-win.el (mouse-wheel-scroll-line)
3406 (mouse-wheel-scroll-screen): Remove.
3407 ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
3409 * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
3411 2002-05-04 Markus Rost <rost@math.ohio-state.edu>
3413 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3414 Bind case-fold-search when searching.
3416 2002-05-04 Eli Zaretskii <eliz@is.elta.co.il>
3418 * apropos.el (apropos-print): Fix the reference to mouse-2.
3420 2002-05-04 Daniel Pfeiffer <occitan@esperanto.org>
3422 * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
3424 2002-05-04 Kim F. Storm <storm@cua.dk>
3426 * cus-edit.el (custom-buffer-verbose-help): New variable.
3427 (custom-buffer-create-internal): Remove verbose introduction
3428 in customization buffer when it is nil.
3430 2002-05-03 Dave Love <fx@gnu.org>
3432 * international/mule-cmds.el (select-safe-coding-system):
3433 Don't offer coding systems that use locking shift.
3434 Ask for confirmation if chosen coding system disagrees with
3435 a `coding:' spec in the file.
3437 2002-05-03 John Wiegley <johnw@gnu.org>
3439 * eshell/esh-var.el (eshell-modify-global-environment): Added this
3440 customization variable, which will cause any "export" commands
3441 within any eshell buffer to modify the global Emacs environment.
3442 It defaults to nil, which means that such commands will only
3443 modify that Eshell buffer's environment.
3444 (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
3446 * eshell/em-cmpl.el (eshell-command-completions-alist):
3447 Improve default completion targets for objdump, nm and readelf.
3449 2002-05-03 Colin Walters <walters@verbum.org>
3451 * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
3452 (gamegrid-add-score-with-update-game-score):
3453 Use `shared-game-score-directory'. Correctly handle non-setuid case.
3455 2002-05-02 Colin Walters <walters@verbum.org>
3457 * replace.el (occur-mode-map): Bind "q" to `delete-window'.
3458 (occur-1): If one of the buffers we're searching is the *Occur*
3459 buffer itself, handle it by creating a temporary buffer. If any
3460 of the buffers being searched are killed, note that in the search
3461 result message. Also, set local variables before we possibly kill
3464 2002-05-02 Kim F. Storm <storm@cua.dk>
3466 * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
3467 (menu-bar-options-save): Added cua-mode.
3468 (menu-bar-options-menu): Added toggle for cua-mode.
3469 Disable toggle for transient-mark-mode if cua-mode is enabled.
3471 * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
3474 2002-05-01 Richard M. Stallman <rms@gnu.org>
3476 * help.el (view-todo): New function.
3477 (help-map): Bind C-h C-t to view-todo.
3478 (help-for-help): Change the text.
3480 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk>
3482 * progmodes/f90.el: Yet more doc string, commment and whitespace
3484 (f90-imenu-flag): New name for internal variable f90-imenu.
3485 (f90-blocks-re, f90-program-block-re, f90-end-if-re)
3486 (f90-no-break-re): Use regexp-opt.
3487 (f90-end-type-re): Add closing "\\>".
3488 (f90-indent-region): Correctly indent comments embedded in
3490 (f90-indent-new-line): Make it indent the current line, as it should.
3491 (f90-line-continued, f90-get-present-comment-type)
3492 (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
3493 (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
3494 (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
3495 (f90-change-keywords): Minor code tidying.
3497 * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
3498 typo `fortran-strip-sqeuence-nos'.
3500 2002-05-01 Eli Zaretskii <eliz@is.elta.co.il>
3502 * simple.el (clone-indirect-buffer-other-window): Fix a typo in
3505 2002-05-01 Kim F. Storm <storm@cua.dk>
3507 * emulation/cua-base.el (cua--pre-command-handler):
3508 Only interpret delete-selection property if mark-active.
3509 (cua-mode): Fixed require in defcustom.
3511 2002-05-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3513 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
3516 2002-05-01 Colin Walters <walters@verbum.org>
3518 * textmodes/tex-mode.el (tex-validate-buffer):
3519 Use `occur-revert-arguments' instead of setting `occur-nlines' and
3520 `occur-buffer'. Don't test for `input-pending-p' in loop.
3521 Set text property `occur-target' instead of `occur'.
3523 2002-04-30 John Wiegley <johnw@gnu.org>
3525 * align.el (align-region): Fixed the fix to align-region, because
3526 the "name" argument was appearing twice.
3528 2002-05-01 Martin Stjernholm <bug-cc-mode@gnu.org>
3530 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
3531 to handle protection labels, one which doesn't get confused by
3534 * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
3535 functions that have "class" or "struct" in the return type as
3538 2002-04-30 Kim F. Storm <storm@cua.dk>
3540 * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
3541 Options" to "New Options..."; rephrase tooltip.
3542 Rephrase tooltip for "Specific Option...".
3543 Added "Saved Options" item. [from Simon Marshall]
3545 2002-04-30 Richard M. Stallman <rms@gnu.org>
3547 * time.el (display-time-mail-directory)
3548 (display-time-mail-function): Doc fixes.
3550 * ediff-hook.el: Remove autoload cookies.
3552 * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
3554 * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
3556 * align.el (align-region): Fix call to `message'.
3557 Check that (car rule) is a symbol.
3559 * autoinsert.el (auto-insert-directory): Doc fix.
3561 * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
3563 * descr-text.el: New file, broken out of facemenu.el.
3565 * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
3567 2002-04-29 Markus Rost <rost@math.ohio-state.edu>
3569 * mail/emacsbug.el (report-emacs-bug-hook):
3570 Use replace-match only if search was successful.
3572 2002-04-29 Richard M. Stallman <rms@gnu.org>
3574 * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
3576 * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
3577 if the user edits the Emacs version number in the text.
3579 * filesets.el (filesets-running-xemacs): Make defvar unconditional.
3580 (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
3581 (filesets-error): Simplify definition and make conditional
3582 on filesets-running-xemacs.
3583 (filesets-find-file-using): Renamed from fsfind-file-using.
3585 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
3587 * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
3588 (Info-read-node-name-1): Complete file names.
3589 (Info-complete-menu-item): Don't cons unnecessarily.
3591 * files.el (locate-file): New fun.
3592 (locate-file-completion): Rename from load-completion and generalize.
3593 (load-library): Use it.
3594 (make-auto-save-file-name): Expand caddr.
3596 * newcomment.el (comment-fill-column): New var.
3597 (comment-indent): Use it.
3598 (comment-or-uncomment-region): New fun.
3599 (comment-dwim): Use it.
3601 2002-04-29 Colin Walters <walters@verbum.org>
3603 * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
3604 (ibuffer-kill-line): Copy the filter group data structure when killing.
3605 (ibuffer-yank): Handle case where we're yanking on the default
3607 (ibuffer-delete-saved-filter-groups): Doc fix.
3609 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3610 Test whether or not update-game-score is setuid, and do the right
3613 2002-04-29 Kim F. Storm <storm@cua.dk>
3615 * subr.el (remove-yank-excluded-properties): New helper function.
3616 (insert-for-yank, insert-buffer-substring-as-yank): Use it.
3618 * simple.el (yank-excluded-properties): Added help-echo to list.
3620 2002-04-29 Glenn Morris <gmorris@ast.cam.ac.uk>
3622 * autoinsert.el (auto-insert-directory): Doc fix.
3624 * progmodes/f90.el: Add/change doc strings for many inline
3625 functions. Whitespace changes.
3626 (f90-indent-line-no, f90-update-line): Minor code changes.
3628 2002-04-29 Kim F. Storm <storm@cua.dk>
3630 * emulation/cua-base.el: New file.
3632 * emulation/cua-rect.el: New file.
3634 * emulation/cua-gmrk.el: New file.
3636 * emulation/keypad.el: New file.
3638 2002-04-29 Triet Hoai Lai <thlai@ee.usyd.edu.au>
3640 * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
3641 (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
3642 New Vietnamese coding system.
3644 * language/viet-util.el: Update Commentary section.
3646 2002-04-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3648 * filesets.el (filesets-data): Doc fix.
3649 (filesets-running-xemacs): Define even when compiling.
3651 * recentf.el (recentf-cancel-dialog): Remove dot at the end of
3654 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
3656 * textmodes/fill.el (fill-context-prefix): Fix last change with
3657 yet-another-approach.
3659 2002-04-28 Markus Rost <rost@math.ohio-state.edu>
3661 * net/ange-ftp.el (ange-ftp-passive-host-alist)
3662 (ange-ftp-bs2000-additional-pubsets): Fix custom type.
3664 * files.el (small-temporary-file-directory): Fix custom type.
3666 2002-04-28 Glenn Morris <gmorris@ast.cam.ac.uk>
3668 * progmodes/f90.el (f90-xemacs-flag): New variable.
3669 (f90-mark-subprogram-overlay): New variable.
3670 (f90-mark-subprogram): Now it highlights the subprogram.
3671 (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
3672 Fix highlighting of various "type" forms.
3674 2002-04-28 Colin Walters <walters@verbum.org>
3676 * ibuffer.el (ibuffer-mode): Additional documentation on filter
3679 2002-04-28 John Paul Wallington <jpw@shootybangbang.com>
3681 * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
3682 ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
3684 2002-04-28 Richard M. Stallman <rms@gnu.org>
3686 * mail/sendmail.el (mail-recover-1): Decrease non-random-len
3687 by 1 for the newly-readded #.
3689 * files.el (make-auto-save-file-name): Specify # as suffix
3690 in the non-file-visiting case.
3692 * subr.el (make-temp-file): New arg SUFFIX.
3694 * filesets.el: New file.
3696 * replace.el (occur-accumulate-lines): Avoid incf and decf.
3697 (occur-engine-add-prefix): New function.
3698 (occur-engine): Avoid using macrolet, incf and decf.
3699 Use occur-engine-add-prefix instead.
3700 Rename `l' to `lines' and `c' to `matches'.
3702 * replace.el (occur-engine, occur-mode-mouse-goto)
3703 (occur-mode-find-occurrence, occur-mode-goto-occurrence)
3704 (occur-mode-goto-occurrence-other-window)
3705 (occur-mode-display-occurrence): A position is just a marker,
3708 * replace.el (occur-revert-arguments):
3709 Renamed from occur-revert-properties. All uses changed.
3711 2002-04-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3713 * recentf.el (recentf-menu-before): Use string to specify path in
3716 * international/mule-cmds.el (read-language-name): Take care of
3719 2002-04-27 Richard M. Stallman <rms@gnu.org>
3721 * custom.el (custom-load-symbol): Moved from cus-edit.el.
3722 (custom-load-recursion): Likewise.
3724 * cus-edit.el (custom-load-symbol): Moved to custom.el.
3725 (custom-load-recursion): Likewise.
3727 * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
3728 generated by easymenu are now lowercase.
3730 2002-04-27 Richard M. Stallman <rms@gnu.org>
3732 * menu-bar.el (menu-bar-update-buffers): Add menu items
3733 Next Buffer and Previous Buffer.
3735 * simple.el (next-buffer, prev-buffer): New commands.
3736 Bind C-x left and C-x right to them.
3738 * info.el (Info-header-line): Mark it as risky-local-variable.
3740 * subr.el (insert-for-yank): Replace `category' property
3741 with whatever properties it stands for.
3743 * subr.el (member-ignore-case): Ignore non-strings in LIST.
3745 2002-04-27 Miles Bader <miles@gnu.org>
3747 * faces.el (read-face-name): Format the prompt correctly when
3750 2002-04-26 Andrew Choi <akochoi@shaw.ca>
3752 * term/mac-win.el: Don't call ediff-toggle-multiframe.
3753 Set default directory. Set process-connection-type to nil.
3755 2002-04-26 Richard M. Stallman <rms@gnu.org>
3757 * loadup.el: Explicitly load cus-face and timer.
3759 * isearch.el: Don't require timer.
3761 * faces.el: Don't require cus-face.
3763 * cus-edit.el (customize-face): Use read-face-name
3764 and handle multiple faces.
3765 (customize-face-other-window): Make it work similarly.
3767 * faces.el (read-face-name): New defaulting features.
3768 New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
3769 (list-faces-display): Use the face, not its name string,
3770 as arg when running customize-face.
3771 Put a `read-face-name' prop on the entire line.
3772 (describe-face): Handle multiple faces via read-face-name.
3774 * textmodes/tex-mode.el (tex-start-options): New variable.
3775 (tex-start-commands): New variable.
3776 (tex-start-options-string): Variable deleted.
3777 (tex-start-tex): Use tex-start-options and tex-start-commands,
3778 not tex-start-options-string.
3779 (tex-command): Doc fix.
3781 2002-04-26 Sam Steingold <sds@gnu.org>
3783 * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
3784 not in the authinfo/netrc, keep `cred' at nil.
3786 2002-04-26 Gerd Moellmann <gerd@gnu.org>
3788 * find-file.el: Remove Ada-specific example code.
3790 2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
3792 * ediff-hooks.el: Put back the autoloads.
3794 2002-04-25 Colin Walters <walters@verbum.org>
3796 * ibuffer.el (define column process): Use `ibuffer-aif'.
3798 * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
3800 (ibuffer-yank): Be sure to `setq' after we use `nconc'.
3801 (ibuffer-save-filter-groups): Correctly structure filter groups.
3802 (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
3805 2002-04-25 Simon Josefsson <jas@extundo.com>
3807 * mail/sendmail.el (mail-use-dsn): New variable to request
3808 delivery status notification from MTA.
3809 (sendmail-send-it): Use it.
3811 * mail/smtpmail.el (smtpmail-queue-counter): New variable.
3812 (smtpmail-send-it): Use it to construct new queue filenames
3813 (needed if you send more than one message per second, which is
3814 possible if you use Gnus Agent).
3816 * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
3818 (smtpmail-try-auth-methods): Support netrc data.
3819 (netrc-parse): Autoload netrc.
3821 2002-04-25 Colin Walters <walters@verbum.org>
3823 * replace.el (multi-occur-by-filename-regexp): Doc fix.
3824 (occur-engine): Go to `point-min'. Make nlines argument actually
3825 mean number of context lines. Handle it. Pad digits to the right.
3827 * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
3828 `ibuffer-filter-groups'. All users updated.
3829 (ibuffer-show-empty-filter-groups): New variable.
3830 (ibuffer-saved-filter-groups): New variable.
3831 (ibuffer-maybe-save-stuff): Renamed from
3832 `ibuffer-maybe-save-saved-filters'. Callers updated.
3833 Handle `ibuffer-saved-filter-groups'.
3834 (ibuffer-hidden-filtering-groups): Renamed to
3835 `ibuffer-hidden-filter-groups'.
3836 (ibuffer-filter-group-kill-ring): New variable.
3837 (ibuffer-save-with-custom): Doc fix.
3838 (ibuffer-set-filter-groups-by-mode): New function.
3839 (ibuffer-clear-filter-groups): New function.
3840 (ibuffer-current-filter-groups-with-position): Renamed from
3841 `ibuffer-current-filter-groups'. Callers updated.
3842 (ibuffer-kill-filter-group): New function.
3843 (ibuffer-kill-line): New function.
3844 (ibuffer-yank): New function.
3845 (ibuffer-save-filter-groups): New function.
3846 (ibuffer-delete-saved-filter-groups): New function.
3847 (ibuffer-switch-to-saved-filter-groups): New function.
3848 (ibuffer-mark-on-buffer): Add optional arguments for adding a
3849 specific mark, and marking on a specific group.
3851 * ibuffer.el (ibuffer-formats): Doc fix.
3852 (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
3853 Bind new functions from ibuf-ext.el. Add menu entries for them.
3854 Remove superfluous tooltips.
3855 (ibuffer-toggle-marks): If on a group name, then toggle marks just
3857 (ibuffer-mark-interactive): Handle filter groups.
3858 (ibuffer-mark-forward, ibuffer-unmark-forward)
3859 (ibuffer-mark-for-delete, ibuffer-unmark-backward)
3860 (ibuffer-mark-for-delete-backwards): Update docs.
3861 (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
3862 to `ibuffer-current-filter-groups-with-position'.
3863 (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
3864 (ibuffer-mode): Add some documentation about filter groups.
3866 2002-04-25 Andreas Schwab <schwab@suse.de>
3868 * find-dired.el (find-name-dired): Don't quote pattern twice.
3870 2002-04-26 Miles Bader <miles@gnu.org>
3872 * cus-edit.el (customize-face, customize-face-other-window):
3873 Use default instead of initial-input for suggested face.
3875 2002-04-25 Gerd Moellmann <gerd@gnu.org>
3877 * cus-edit.el (customize-face-other-window, customize-face):
3878 Interactively, when point is on text with a face, suggest to
3879 customize that face.
3881 2002-04-25 Glenn Morris <gmorris@ast.cam.ac.uk>
3883 * progmodes/f90.el: General tidy-up of commentary and some doc
3886 2002-04-24 Glenn Morris <gmorris@ast.cam.ac.uk>
3888 * scroll-all.el (scroll-all-function-all) New function to do the
3890 (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
3891 scroll-all-page-down-all, scroll-all-page-up-all,
3892 scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
3893 Make them use scroll-all-function-all.
3895 * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
3896 with line-beginning-position.
3897 (f90-get-end-of-line): Removed and replaced with line-end-position.
3898 (f90-match-piece): Removed and replaced with match-string.
3899 (f90-current-indentation): Remove `current-column'.
3900 (f90-get-present-comment-type): Use match-string rather than
3902 (f90-match-end): Use line-beginning-position, line-end-position
3903 rather than beginning-of-line, end-of-line.
3904 (f90-startup-message): Variable removed.
3906 2002-04-24 Colin Walters <walters@verbum.org>
3908 * replace.el (occur-accumulate-lines): Add optional argument
3909 `no-props'. Handle it.
3910 (occur-engine): Use it.
3912 * ibuf-ext.el (toplevel): Remove byte-compile-dynamic. Try to set
3913 up autoloads manually.
3914 (ibuffer-split-list): New function.
3915 (ibuffer-filtering-groups): New variable.
3916 (ibuffer-hidden-filtering-groups): New variable.
3917 (ibuffer-mouse-toggle-filter-group): New function.
3918 (ibuffer-toggle-filter-group): New function.
3919 (ibuffer-toggle-filter-group-1): New function.
3920 (ibuffer-forward-filter-group): New function.
3921 (ibuffer-backward-filter-group): New funtion.
3922 (ibuffer-generate-filter-groups): New function.
3923 (ibuffer-filters-to-filter-group): New function.
3924 (ibuffer-pop-filter-group): New function.
3925 (ibuffer-jump-to-filter-group): New function.
3926 (ibuffer-do-occur): Just use `occur-read-primary-args'
3928 * ibuffer.el (ibuffer-filter-group-name-face): New.
3929 (ibuffer-mode-map): Bind and add menu entries for most new
3930 functions; also, bind the arrow keys to the movement functions.
3931 (ibuffer-mode-filter-group-map): New.
3932 (ibuffer-mouse-toggle-mark): Handle group names.
3933 (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
3934 (ibuffer-skip-properties): New function.
3935 (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
3936 group names. Also, handle new properties.
3937 (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
3938 Move error handling to `ibuffer-current-buffer'.
3939 (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
3940 (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
3941 (ibuffer-toggle-marks): Add optional group argument.
3942 (ibuffer-mark-interactive): Skip group names.
3943 (ibuffer-current-buffer): Clean up error handling.
3944 (ibuffer-fontify-region-function): Fontify group names.
3945 (ibuffer-map-lines): Add extra group argument. Handle it.
3946 (ibuffer-current-filter-groups): New function.
3947 (ibuffer-redisplay): Handle hidden filtering groups.
3948 (ibuffer-sort-bufferlist): New function, taken from
3949 `ibuffer-insert-buffers-and-marks'.
3950 (ibuffer-insert-filter-group): New function.
3951 (ibuffer-redisplay-engine): Renamed from
3952 `ibuffer-insert-buffers-and-marks'. Handle new filtering groups.
3953 (ibuffer): Add filter-groups argument. Handle it.
3954 Use `save-selected-window'.
3955 (ibuffer-mode): Make `ibuffer-filtering-groups' and
3956 `ibuffer-hidden-filtering-groups' buffer-local.
3958 * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
3960 2002-04-24 Richard M. Stallman <rms@gnu.org>
3962 * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
3963 (easy-menu-define-key-intern): Function deleted; callers intern
3964 and then call easy-menu-define-key.
3965 (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
3966 (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
3967 (easy-menu-name-match): New function.
3968 (add-submenu): New function.
3969 (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
3971 2002-04-24 Eli Zaretskii <eliz@is.elta.co.il>
3973 * menu-bar.el (menu-bar-adv-search-menu)
3974 (menu-bar-adv-search-menu): Improve the help text.
3976 2002-04-24 Simon Josefsson <jas@extundo.com>
3978 * net/netrc.el: New file.
3980 2002-04-24 Thomas DeWeese <tdeweese@rochester.rr.com>
3982 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
3983 Check if any of the available selection sources has new content
3984 and if so it will return that content.
3986 2002-04-24 Miles Bader <miles@gnu.org>
3988 * menu-bar.el (buffers-menu-show-directories)
3989 (buffers-menu-show-status): New variables.
3990 (menu-bar-update-buffers-1): Use them.
3992 2002-04-24 Martin Stjernholm <mast@lysator.liu.se>
3994 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
3995 from `c-do-auto-fill' and point is at or near the limit of the
3996 comment. Fixed bug when the prefix from `c-guess-fill-prefix'
3997 is longer than the text on the first line of the comment when
4000 2002-04-24 Miles Bader <miles@gnu.org>
4002 * menu-bar.el (menu-bar-update-buffers-1): Make sure
4003 `uniquify-buffer-name-style' is bound.
4005 2002-04-23 Colin Walters <walters@verbum.org>
4007 * replace.el (toplevel): Require `cl' while compiling.
4008 (occur-buffer, occur-nlines): Delete.
4009 (occur-revert-properties): Rename to `occur-revert-properties'.
4010 (occur-mode): Handle it. Set up font lock.
4011 (occur-revert-function): Simply apply `occur-1'.
4012 (occur-mode-find-occurence, occur-mode-mouse-goto)
4013 (occur-mode-goto-occurrence-other-window)
4014 (occur-mode-display-occurrence): Handle buffer property.
4015 (list-matching-lines-face): Use defcustom.
4016 (list-matching-lines-buffer-name-face): New variable.
4017 (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
4019 (occur-read-primary-args): Move out of `occur'.
4020 (occur): Delete. Now simply call `occur-1'.
4021 (multi-occur, multi-occur-by-filename-regexp): New functions.
4022 (occur-1): New function.
4023 (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
4024 previous implementation of `occur'; taken from ibuf-ext.el.
4025 (occur-fontify-on-property): New function.
4026 (occur-fontify-region-function, occur-unfontify-region-function):
4029 * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
4031 * ibuf-ext.el (ibuffer-depropertize-string): Delete.
4032 (ibuffer-occur-match-face): Delete.
4033 (ibuffer-occur-props, ibuffer-occur-mode): Delete.
4034 (ibuffer-occur-mouse-display-occurence): Delete.
4035 (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
4036 (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
4037 (ibuffer-occur-engine): Moved to replace.el.
4038 (ibuffer-do-occur): Simply call `occur-1'.
4040 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4041 Handle the case where we're already viewing the score file.
4043 2002-04-23 Andreas Schwab <schwab@suse.de>
4045 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
4048 2002-04-23 Miles Bader <miles@gnu.org>
4050 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
4051 directory separator if there's no directory. Don't display
4052 directories at all if uniquify is active. Some code cleanup.
4053 (uniquify-buffer-name-style): Declare (but don't initialize).
4055 * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
4056 for command menu entries, since the low-level menu code modifies
4057 them. Cache the resulting list.
4058 (menu-bar-buffers-menu-command-entries): New variable.
4060 * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
4061 Add separator line before commands
4062 Remove old crufty code that tried to line things up by adding
4063 spaces to entries (it doesn't work).
4064 Move `Frames' submenu after the normal buffers, and add a
4065 separator line before it.
4066 (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
4068 2002-04-22 Richard M. Stallman <rms@gnu.org>
4070 * files.el (after-find-file): Use %s to output MSG.
4072 * dired.el (dired-mouse-find-file-other-window):
4073 Handle events that move out of the window.
4075 2002-04-23 Martin Stjernholm <mast@lysator.liu.se>
4077 * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
4078 was moved to the following line when it was at the first line
4079 of a block comment where comment-start-skip matched to eol.
4081 2002-04-22 Richard M. Stallman <rms@gnu.org>
4083 * simple.el (line-move-finish): Find beg and end of line
4084 before calling line-move-to-column. Do consider intangible
4085 when finding the end. Take more care in analyzing the results
4086 of intangibility after line-move-to-column.
4088 2002-04-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4090 * international/mule-diag.el (list-input-methods-1): Doc fix
4091 (LEIM is now part of the standard distribution).
4093 * tmm.el (tmm-completion-prompt): Doc fix.
4095 * hilit-chg.el (global-highlight-changes): Capitalize status texts.
4097 2002-04-22 Edward M. Reingold <reingold@emr.cs.iit.edu>
4099 * diary-lib.el (include-other-diary-files): Allow modifying
4100 included buffer, to turn off selective display.
4102 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4104 * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
4105 pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
4106 emacsen that doesn't support it.
4108 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4110 * progmodes/cc-align.el, progmodes/cc-engine.el,
4111 progmodes/cc-styles.el, progmodes/cc-vars.el
4112 (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
4113 Find correct anchor for statement-cont in top level constructs.
4114 Analyze variable initializations in top level constructs as
4115 topmost-intro-cont instead of statement-cont. That is an
4116 incompatible change but it gives better consistency. The new
4117 lineup function c-lineup-topmost-intro-cont' compensates for
4118 it and is now put on topmost-intro-cont by default.
4120 * progmodes/cc-align.el, progmodes/cc-engine.el,
4121 progmodes/cc-langs.el (c-lineup-argcont): Lineup function
4122 contributed by Kevin Ryde.
4124 (c-in-gcc-asm-p): Function to recognize asm statements.
4125 Contributed by Kevin Ryde.
4127 (c-opt-asm-stmt-key): New language variable to recognize the
4128 beginning of asm statements.
4130 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4132 * progmodes/cc-engine.el (c-guess-basic-syntax):
4133 Detect variable declarations after class and struct declarations
4134 correctly. Fixed limit error when finding the anchor for
4135 template-args-cont and topmost-intro-cont.
4137 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4139 * progmodes/cc-cmds.el (c-beginning-of-defun)
4140 (c-declaration-limits): Find the "line oriented" declaration
4141 start too, just like the "line oriented" end is found.
4143 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4145 * progmodes/cc-vars.el (c-offsets-alist): A more sane default
4146 for `inexpr-statement'. This is not compatible, though.
4147 I think the benefit of a good default style outweights that in
4148 this case. Besides, `inexpr-statement' is not very common.
4150 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4152 * progmodes/cc-cmds.el (c-electric-delete-forward):
4153 Fix silly bug that caused it to delete backwards in hungry delete
4154 mode. (It's amazing that this bug hasn't been reported.)
4156 * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
4157 Extracted the code to get the declaration limits from
4158 `c-mark-function' to a new `c-declaration-limits'.
4160 (c-indent-defun): Use the same method to get the limits of the
4161 declaration or macro as `c-mark-function'.
4163 * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
4164 list initializers correctly (but costly; it ought to be
4165 integrated into `c-beginning-of-statement-1').
4167 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4169 * progmodes/cc-cmds.el, progmodes/cc-engine.el
4170 (c-beginning-of-defun, c-end-of-defun, c-mark-function):
4171 Rewritten to detect the declaration limits better.
4172 Now handles K&R argdecls, class definitions followed by variables etc.
4174 (c-in-knr-argdecl): Broke out the K&R argdecl test in
4175 `c-beginning-of-decl-1' to this new function.
4177 (c-end-of-statement-1, c-end-of-decl-1):
4178 Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
4179 handles declarations that continue after the block.
4181 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
4182 Added an option to restrict matching to the top level of the
4185 * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
4186 New regexp to recognize declarations that continue after the block.
4188 (c-syntactic-eol): New regexp to match a "syntactic" eol.
4190 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4192 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
4193 that often caused the backward limit to be lost at the top
4194 level. This improves performance a bit.
4196 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
4197 New function that works like `re-search-forward' but only returns
4198 matches in syntactically significant text.
4200 * progmodes/cc-engine.el: Fixed a faster and more accurate way
4201 to recognize K&R argdecls.
4203 (c-beginning-of-decl-1): New function that put point at the
4204 beginning of the declaration. It handles K&R argdecl blocks.
4206 (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
4207 code with one that doesn't depend on the current indentation.
4208 The anchor position for `knr-argdecl' has also changed, but in
4209 a way that is unlikely to cause compatibility problems.
4211 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4213 * progmodes/cc-defs.el, progmodes/cc-engine.el
4214 (c-forward-comment): `forward-comment' in XEmacs skips over
4215 line continuations in the backward direction. Correct for
4216 that. Also made this a defun since it has grown too large now
4219 * progmodes/cc-langs.el: More convenient and decentralized
4220 setup of the language specific variables. The regexp-opt
4221 mangling is also done at compile time now.
4223 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4225 * progmodes/cc-cmds.el (c-indent-line-or-region):
4226 Call `c-indent-line' directly instead of through
4227 `indent-according-to-mode' so that this function always
4228 indents syntactically.
4230 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
4231 where a class beginning with a nested class could cause an
4232 infinite loop (the state outside the narrowed out class is
4235 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4237 * progmodes/cc-align.el, progmodes/cc-cmds.el,
4238 progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
4239 the context sensitive analysis inside macros is restricted to
4240 the bodies of #define's; other things, like #if expressions,
4241 never have anything in common with their surroundings.
4242 The old `cpp-macro-cont' syntax is now used in situations where
4243 the syntactic analysis isn't applicable, and a new syntactic
4244 element `cpp-define-intro' is used to add indentation in
4247 (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
4248 better reflect its use.
4250 * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
4251 continuation backslashes in the detection of `arglist-cont-nonempty'.
4253 * progmodes/cc-align.el: Use the vector form in the return
4254 value in all cases where lineup functions return absolute columns.
4256 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4258 * progmodes/cc-engine.el (c-add-stmt-syntax)
4259 (c-guess-basic-syntax): Anchor `brace-list-intro' and
4260 `bracec-list-close' better for brace lists nested inside expressions.
4262 * progmodes/cc-engine.el, progmodes/cc-langs.el,
4263 progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
4264 various language specific variables and their initialization.
4265 The keyword regexps are now lists that are combined with
4266 regexp-opt. Some variables have changed names to fit better
4267 with the naming convention.
4269 * progmodes/cc-defs.el, progmodes/cc-vars.el
4270 (c-buffer-is-cc-mode): The value is the mode symbol of the
4271 original CC Mode mode.
4273 (c-major-mode-is): Compare against the buffer local variable
4274 `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
4276 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4278 * progmodes/cc-engine.el (c-forward-syntactic-ws)
4279 (c-backward-syntactic-ws, c-forward-token-1)
4280 (c-backward-token-1, c-in-literal, c-literal-limits)
4281 (c-collect-line-comments, c-literal-type, c-on-identifier)
4282 (c-guess-basic-syntax): These functions are now considered part
4283 of the "CC Mode API" and may be used by other code.
4284 That's signified by making their documentation into docstrings.
4286 (c-whack-state, c-hack-state, c-skip-case-statement-forward):
4287 Removed these internal functions since they aren't used.
4289 (c-forward-to-cpp-expression): Classified this function as internal.
4291 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4293 * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
4294 Simplified these regexps; the class keywords they contain
4295 ought to be enough to avoid false matches, so checking for
4296 following identifiers etc is just unnecessary (and might also
4297 fail for oddly formatted code).
4299 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4301 * progmodes/cc-engine.el, progmodes/cc-cmds.el
4302 (c-forward-comment-lc): New function that behaves like
4303 `c-forward-comment', with the exception that line
4304 continuations are treated as whitespace.
4306 (c-beginning-of-statement): Use `c-forward-comment-lc', to
4307 work correctly in macros and other places where line
4308 continuations should be treated as whitespace.
4310 * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
4311 normal label in a switch block as a case label, to get
4312 consistent lineup with the case labels.
4314 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
4315 in skipping over a macro that ends with an empty line.
4317 * progmodes/cc-styles.el: Require cc-align since styles added
4318 with `c-add-style' often contains references to functions
4319 defined there, and so the `c-valid-offset' check might
4320 otherwise complain on them.
4322 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4324 * progmodes/cc-align.el, progmodes/cc-mode.texi,
4325 progmodes/cc-vars.el: Added two new lineup functions:
4327 (c-lineup-knr-region-comment): A new lineup function to get
4328 (what most people think is) better indentation of comments in
4329 the "K&R region" between the function header and its body.
4331 (c-lineup-gcc-asm-reg): New lineup function for better
4332 indentation inside gcc asm blocks. Contributed by Kevin Ryde.
4334 (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
4335 `c-lineup-knr-region-comment' in the default offset
4336 configuration, since these two functions have little impact
4337 outside their intended use, and they generally do the right
4338 thing when they kick in.
4340 * progmodes/cc-engine.el (c-guess-continued-construct)
4341 (c-guess-basic-syntax): Handle nested functions in all
4342 languages, not just Pike. In C and C++ there's a gcc
4343 extension for this, and it also gives better treatment of
4344 macros that are followed by blocks.
4346 * progmodes/cc-langs.el (c-symbol-key): Made this variable
4347 mode specific, to handle Pike special symbols like `== better.
4349 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4351 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
4352 progmodes/cc-vars.el (c-report-syntactic-errors): A new
4353 variable to control the syntactic error messages. It defaults
4354 to off; since CC Mode ignores most syntactic errors it might
4355 as well ignore them all for the sake of consistency.
4357 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4359 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4360 Optimization. Can give a noticeable speedup if there's a
4361 large preceding function or class body.
4363 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4365 * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
4366 efficient and correct insertion functions in many places.
4367 Always inherit text properties correctly if the text is
4368 permanent. Also do it for speed in temporary insertions,
4369 since I figure it's less work to continue the surrounding text
4370 properties than to break them.
4372 * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
4373 completion to make it easier to enter lists.
4375 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4377 * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
4378 c-state-cache was clobbered.
4380 * progmodes/cc-cmds.el, progmodes/cc-engine.el
4381 (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
4384 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4386 * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
4387 open parens in macros (if point isn't in the same one).
4389 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4391 * progmodes/cc-cmds.el (c-context-open-line): New function
4392 that is the `open-line' equivalent to `c-context-line-break'.
4394 * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
4395 for Emacs 21 since `indent-new-comment-line' has been changed
4396 to `comment-indent-new-line' there.
4398 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4400 * progmodes/cc-engine.el, progmodes/cc-langs.el
4401 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
4402 New variables containing the character sets used to recognize
4403 statement/declaration boundaries. These variables might help
4404 to support languages like javascript and awk, where newlines
4405 sometimes delimits statements.
4407 (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
4408 the set of statement delimiting characters, to allow it to be
4409 changed dynamically and per-mode.
4411 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4413 * progmodes/cc-engine.el (c-looking-at-bos)
4414 (c-looking-at-inexpr-block, c-add-stmt-syntax)
4415 (c-guess-basic-syntax): Treat blocks directly inside function
4416 calls like "bare" statements inside function calls, and not
4417 like in-expression statements. This to make indentation of
4418 such blocks consistent with other statements inside macro calls.
4420 * progmodes/cc-engine.el (c-guess-basic-syntax):
4421 Made arglist-cont anchor correctly in arglists that contain statements.
4423 * progmodes/cc-engine.el (c-guess-basic-syntax):
4424 Fixed consistent anchoring of defun-block-intro in defuns in code
4425 blocks (can only occur in Pike).
4427 * progmodes/cc-engine.el (c-looking-at-inexpr-block)
4428 (c-looking-at-inexpr-block-backward): Changed the arguments to
4429 require containing sexps and paren state, for better efficiency.
4431 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4433 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
4434 progmodes/cc-vars.el: Improved anchoring of statement and
4435 handling of labels in front of substatements.
4437 (c-guess-continued-construct, c-guess-basic-syntax):
4438 Improved and unified anchoring at statements. Statements beginning
4439 with comments or labels are now avoided, by going out of
4440 blocks and containing statements if necessary. This nesting
4441 handling also fixes the case when there's a statement after a
4442 block open brace. Added the syntactic symbol `substatement-label'.
4444 (c-electric-colon): Map the new `substatement-label' to
4445 `label' when consulting `c-hanging-colons-alist'.
4447 (c-offsets-alist): Added substatement-label. Updated the
4448 comments for the new anchoring positions at statements.
4450 * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
4451 anchor points for knr-argdecl-intro and access-label.
4452 They used to refer to some point on the same line, a bug which was
4453 neutralized by a kludge in `c-get-syntactic-indentation' which
4454 ignored such anchor points.
4456 (c-get-syntactic-indentation): Removed the kludge that was
4457 necessary due to buggy anchor points.
4459 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
4460 the absence of a comma before arglist-close (case 7A) in any
4461 language, since there's nothing better to do that case anyway.
4462 Added special case to make in-expression statements be
4463 recognized as normal arglist-cont if we're directly in a macro
4464 arglist, for consistency with other "bare" statements.
4466 * progmodes/cc-engine.el (c-looking-at-bos): Added optional
4467 limit arg for backward searches.
4469 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4470 Anchor gcc in-expression statements at the surrounding open
4471 parenthesis. Treat a class body as an in-expression class if
4472 it's used in an object clone expression in Pike.
4474 * progmodes/cc-engine.el (c-get-offset)
4475 (c-get-syntactic-indentation): Allow several anchor positions
4476 in the list of syntactic symbols. Only the first is used as
4477 the base for the offset calculation.
4479 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4481 * progmodes/cc-cmds.el (c-indent-defun): Indent the current
4482 macro if inside one at the top level. Do not throw an error
4483 if used at the top level outside a macro.
4485 * progmodes/cc-cmds.el (c-backslash-region): Do tab width
4486 alignment only if the backslashes can't be aligned with
4487 surrounding backslashes.
4489 * progmodes/cc-engine.el (c-end-of-macro): New function.
4491 * progmodes/cc-engine.el (c-least-enclosing-brace):
4492 Rewritten to not be destructive.
4494 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4496 * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
4497 line break when point is inside the content of it; if it's in
4498 the cpp keyword a normal line break is done.
4500 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
4501 cpp-macro-cont inside the argument list to a #define.
4503 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4505 * progmodes/cc-defs.el (c-forward-comment): Implemented a
4506 kludge to avoid the problem most forward-comment incarnations
4507 have with `\' together with comment parsing.
4509 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4511 * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
4512 which could cause the state returned by `c-parse-state' to
4513 lack a closed paren element. That in turn could result in
4514 very long searches, since it's common that they start from the
4515 last preceding close brace.
4517 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4519 * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
4520 treat else-if as a single continuation, since that'd make it
4521 hard to get the right anchor point when there's a line break
4522 between the two keywords. This change causes else-clause to
4523 be anchored on the closest preceding else-if and not always on
4524 the starting if, but that doesn't affect the indentation for
4525 any reasonably sane style. Also introduced a noerror flag.
4527 (c-beginning-of-closest-statement): Removed;
4528 c-beginning-of-statement-1 now avoids the problem this one solved.
4530 * progmodes/cc-engine.el (c-guess-continued-construct)
4531 (c-guess-basic-syntax): Better and more uniform anchor points
4532 for 'statement-cont and 'substatement. The effect is
4533 noticeable mostly when there's a label on the same line as the
4534 beginning of the statement, or when there are more stuff
4535 before the start of the statement.
4537 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4538 Added flag to disable looking at the type of the surrounding paren
4539 since that confuses c-beginning-of-statement-1 and a couple of
4542 * progmodes/cc-engine.el (c-guess-basic-syntax):
4543 Avoid stepping to the previous statement in case 18.
4544 Improvements in recognition of statement blocks on the top level.
4546 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4548 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4549 (c-crosses-statement-barrier-p): Rewritten to get a well
4550 defined and documented behavior. This fixes some tricky cases
4551 in recognition of do-while constructs.
4553 (c-backward-to-start-of-do, c-backward-to-start-of-if):
4554 Removed; use c-beginning-of-statement-1 instead.
4556 (c-guess-continued-construct, c-guess-basic-syntax):
4557 Various fixes to not depend on the bugs previously in
4558 c-beginning-of-statement-1. Cleanups in cases 18 and 17 to
4559 use the new behavior of c-beginning-of-statement-1 better.
4560 Fixed recognition of catch blocks inside macros.
4562 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
4563 in skipping over a macro.
4565 * progmodes/cc-langs.el (c-label-kwds): New variable to
4566 contain the appropriate c-*-label-kwds value.
4568 * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
4569 evaluation bug that caused the widget for
4570 c-block-comment-prefix to bug out.
4572 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4574 * progmodes/cc-engine.el (c-guess-basic-syntax):
4575 Improved recognition of statements: They are now recognized in
4576 contexts where they normally can't occur, e.g. on the top level or
4577 in function call arguments. This is mainly useful to recognize
4578 statements in macros at the top level, and in arguments to
4579 macros. The cases has been moved around quite a bit, and case
4580 10 has been copied to case 18. (The cases has not been
4581 renumbered because of this.)
4583 (c-guess-continued-construct): New function which has the
4584 rules which are common between cases 10 and 18.
4586 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4587 (c-backward-to-start-of-do, c-backward-to-start-of-if):
4588 Fixes so that they really obey the passed limits.
4590 (c-safe-position): Return nil if the state doesn't contain a
4593 (c-guess-basic-syntax): Fixes some too short limits in calls
4594 to c-beginning-of-statement-1. Some fixes for top level
4595 analysis in ObjC mode.
4597 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4598 Fixed bug in do-while statements where the body is not a block.
4600 * progmodes/cc-styles.el (c-set-style):
4601 Reset c-special-indent-hook to its global value if in override mode.
4602 Fixes problem where functions on that hook remained after
4605 * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
4606 Use c-benign-error to report the c-strict-syntax-p error.
4608 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4610 * progmodes/cc-align.el, progmodes/cc-defs.el,
4611 progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
4612 Several fixes to treat macros as code and not literals and to
4613 handle line continuations transparently.
4615 (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
4616 through whitespace and line continuations, but not comments
4619 (c-in-literal): No longer recognizes macros as literals by
4620 default. An extra flag argument is required to do that.
4622 (c-macro-start, c-query-macro-start)
4623 (c-query-and-set-macro-start): Added a cache for the macro
4626 (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
4627 more speed when limits are given. Workaround for bad behavior
4628 in forward-comment in some emacsen when it hits a buffer limit
4629 with a large repeat count.
4631 (c-lineup-macro-cont): Improved behavior when
4632 c-syntactic-indentation-in-macros is nil.
4634 (c-syntactic-indentation-in-macros, c-backslash-max-column)
4635 (c-auto-align-backslashes): New customization variables to
4636 control macro handling.
4638 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
4639 Fixes to handle line continuations.
4641 * progmodes/cc-defs.el, progmodes/cc-styles.el
4642 (c-get-style-variables, c-set-offset): Report style errors
4643 with message and ding instead of error signal. This to avoid
4644 interrupted mode init if there's some style problem.
4646 (c-benign-error): New macro to report errors that doesn't need
4647 to interrupt the operation.
4649 * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
4651 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4653 * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
4654 Removed most of the c-state-cache fiddling, since the global
4655 state cache now handles this.
4657 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
4658 when there's an open paren at the very first char of the
4659 visible buffer region.
4661 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
4662 Cache the state globally and invalidate it below every buffer
4663 change with the new after change function
4664 `c-check-state-cache'. This gives a considerable performance
4665 boost when editing large functions or classes.
4667 * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
4669 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4671 * progmodes/cc-engine.el, progmodes/cc-langs.el,
4672 progmodes/cc-align.el: Improvements to syntactic analysis
4675 (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
4676 by `c-guess-basic-syntax'.
4678 (c-parse-state): Fixed bug with braces inside macros when
4679 using cached state info.
4681 (c-forward-to-cpp-expression): New function to aid in
4682 syntactic analysis inside macros.
4684 (c-beginning-of-statement-1, c-backward-syntactic-ws):
4685 Fixes to work better inside macros.
4687 (c-forward-syntactic-ws): Whitespace between the # and the
4688 command should be allowed in preprocessor directives.
4690 (c-lineup-macro-cont): New lineup function to get context
4691 sensitive indentation inside macros.
4693 (c-offsets-alist): Made `c-lineup-macro-cont' the default for
4696 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4698 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4699 (c-forward-syntactic-ws): Fixes to handle continued lines.
4701 (c-backward-to-start-of-if, c-guess-basic-syntax):
4702 Do syntactic analysis inside macros.
4704 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4706 * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
4707 possible by the more flexible state cache.
4709 * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
4710 (c-whack-state-after, c-hack-state)
4711 (c-narrow-out-enclosing-class, c-guess-basic-syntax):
4712 Improved the state cache system. It now can use partial info from
4713 an old cached state to calculate a new one at a different
4714 position. Removed some kludges to avoid the state cache.
4715 The new functions `c-whack-state-before' and `c-whack-state-after'
4716 replace the now obsolete `c-whack-state'.
4718 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4719 Optimized backing through a macro. This can speed things up
4720 quite a bit when there are long macros before point.
4722 (c-beginning-of-macro): Do not ignore the limit.
4724 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4726 * progmodes/cc-cmds.el (c-electric-continued-statement):
4727 Fixed a bug where the keyword wasn't reindented correctly if
4728 followed by another keyword or identifier.
4730 * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
4731 pairs that are in macros. Fixes some cases where e.g. the
4732 second of two "do { } while (0)" macros after each other
4733 indented differently.
4735 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4737 * progmodes/cc-engine.el (c-beginning-of-macro)
4738 (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
4739 directive when it begins a line, to allow for script
4740 interpreter lines like "#!/usr/bin/pike" at the beginning of
4743 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4745 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4746 Recognize brace blocks inside a parenthesis expression as
4747 inexpr-statement. Useful when writing statements as macro arguments.
4749 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4751 * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
4752 (c-mask-comment): Broke out the comment masking code from
4753 `c-fill-paragraph' to a new function `c-mask-comment', to be
4754 able to do the same thing in `c-do-auto-fill'. This should
4755 make auto-fill-mode behave better.
4757 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4759 * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
4760 Check `executing-macro' to avoid blinking parens when macros
4763 * progmodes/cc-mode.el, progmodes/cc-styles.el
4764 (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
4765 consistency with `c-setup-paragraph-variables' (which was
4766 placed there due to the dependency from `c-set-style').
4768 * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
4769 incomplete initialization from the style variable fallbacks if
4770 there already is a style called "user" defined when CC Mode
4771 starts up for the first time.
4773 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4775 * progmodes/cc-cmds.el, progmodes/cc-vars.el
4776 (c-comment-indent, c-indent-comment-alist): Added new variable
4777 `c-indent-comment-alist' to allow better control over
4780 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4782 * progmodes/cc-align.el (c-lineup-C-comments): Try to match
4783 both `comment-start-skip' and the comment prefix on the
4784 current line with the comment starter, so that we line up
4785 comments which matches `c-comment-prefix-regexp' on the first
4786 line (after the `/') without the need to make
4787 `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
4789 * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
4790 (c-set-style-1, c-setup-paragraph-variables): Moved the
4791 variable initialization based on `c-comment-prefix-regexp' to
4792 a new function `c-setup-paragraph-variables', which is now
4793 used both at mode init and when a style that sets
4794 `c-comment-prefix-regexp' is activated.
4796 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4798 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
4799 Better handling of C++ template args to avoid confusion with
4800 `<' and `>' used as operators in member init expressions.
4802 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4804 * progmodes/cc-engine.el (c-most-enclosing-brace)
4805 (c-least-enclosing-brace): Added optional second arg to limit
4806 the search to before a certain point.
4808 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
4809 which could cause incorrect analysis if a cached state is used
4810 (usually only happens when an electric key reindents a line).
4812 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4814 * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
4815 insulation. This time for XEmacs 21.
4817 * progmodes/cc-engine.el, progmodes/cc-langs.el:
4818 Improved handling of inheritance lists:
4820 (c-beginning-of-inheritance-list): Rewritten to use a more
4821 syntactically correct method that doesn't get confused by
4822 badly placed linebreaks and comments.
4824 (c-guess-basic-syntax): Several fixes to the handling of
4825 inheritance lists in combination with templates. 'inher-intro
4826 is now anchored on the start of the class declaration and not
4827 the indentation of the current line. Switched places on cases
4828 5D.3 and 5D.4 and made them use more syntactically correct methods.
4830 (c-inher-key): Removed since the code in
4831 `c-guess-basic-syntax' now uses token-based search.
4833 * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
4834 Added a submenu to access some toggles.
4836 (c-toggle-syntactic-indentation): New function to toggle the
4837 variable `c-syntactic-indentation'.
4839 * progmodes/cc-styles.el (c-set-style): Improved the error
4840 message for incorrect offsets a bit.
4842 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4844 * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
4845 sexp follows point immediately, instead find the closest
4846 following open paren that ends on another line.
4848 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4850 * progmodes/cc-align.el (c-lineup-cascaded-calls):
4851 New indentation function.
4853 * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
4854 directives with whitespace between the '#' and the name.
4856 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4858 * progmodes/cc-engine.el (c-forward-syntactic-ws)
4859 (c-backward-syntactic-ws): Handle line continuations as
4860 whitespace. Don't move past a macro if that'd take us past
4863 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4865 * progmodes/cc-engine.el (c-beginning-of-macro)
4866 (c-forward-syntactic-ws): Multiline strings begin with `#"' in
4867 Pike, and that shouldn't be confused with a preprocessor directive.
4869 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4871 * progmodes/cc-cmds.el: Extended the kludge to interoperate
4872 with the delsel and pending-del packages wrt to the new
4873 function `c-electric-delete-forward'.
4875 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4877 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
4878 the block itself, i.e. only indent the contents in it.
4880 * progmodes/cc-styles.el (c-set-style): Use the default
4881 argument to completing-read instead of initial-contents, if
4882 the function is recent enough to support it.
4884 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4886 * progmodes/cc-mode.el (c-mode-help-address):
4887 Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
4888 I've almost never seen a bug reported this way that should go
4889 to that list, but it's rather common that the reports concern
4890 the combination CC Mode and XEmacs instead.
4892 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4894 * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
4895 brace-elseif-brace and brace-catch-brace are active and
4896 there's a "else if"-block before the catch block.
4898 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
4899 Detect function headers that span lines.
4901 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4903 * progmodes/cc-cmds.el (c-electric-brace)
4904 (c-electric-semi&comma, c-electric-colon, c-electric-paren):
4905 Check for last on line only for doing the auto-newline-mode
4906 stuff, not for the reindentation.
4908 * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
4909 handling of c-syntactic-indentation: When it's nil, indent the
4910 new lines but don't reindent the current one. Reindent the
4911 line only when the inserted brace comes first on it, instead
4914 * progmodes/cc-cmds.el (c-electric-brace)
4915 (c-electric-semi&comma): Fixed two places where
4916 c-syntactic-indentation wasn't heeded.
4918 * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
4921 * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
4922 little harder to find a fallback position when an orphan else
4923 is found. Fixed case where an else following a do-while
4924 statement could be associated with an if inside the do-while.
4926 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4928 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
4929 for the fallback to add a single space after the comment prefix.
4931 * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
4932 behavior in some special cases, especially for single-line comments.
4933 Avoid breaking up a comment starter or ender.
4935 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4937 * progmodes/cc-cmds.el (c-outline-level): Applied patch from
4938 the Emacs sources to make this work in invisible text.
4940 * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
4941 not be confused by a later ':' on the same line as the label.
4943 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4945 * progmodes/cc-cmds.el, progmodes/cc-mode.el
4946 (c-electric-delete, c-electric-delete-forward):
4947 Split `c-electric-delete' into two functions where
4948 `c-electric-delete-forward' always deletes forward and
4949 `c-electric-delete' only contains the code necessary for
4950 XEmacs to choose between backward and forward deletion.
4951 `c-electric-delete-forward' is now bound to C-d to get the
4952 electric behavior on that key too.
4954 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4956 * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
4957 use of c-comment-prefix-regexp, which caused an error when
4960 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4962 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
4963 (c-default-style): Removed the hardcoded switch to "java" style
4964 in Java mode. It's instead taken care of by the default value
4965 for c-default-style.
4967 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4969 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
4970 was triggered by equal signs in string literals.
4972 2002-04-21 Kim F. Storm <storm@cua.dk>
4974 * subr.el (insert-buffer-substring-no-properties): New function.
4975 (insert-buffer-substring-as-yank): New function.
4977 2002-04-21 Glenn Morris <gmorris@ast.cam.ac.uk>
4979 * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
4980 (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
4981 prefix from scroll commands. Ignore end-of-buffer errors from
4983 (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
4985 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
4988 * files.el: (auto-mode-alist): .f95 files in f90-mode.
4990 * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
4991 a DO statement irrespective of numeric label.
4993 2002-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
4995 * files.el (auto-save-file-name-transforms): Doc fix.
4996 Add third element to "uniquify" filenames.
4997 (make-auto-save-file-name): Use new element of
4998 auto-save-file-name-transforms.
4999 * startup.el (command-line): Add third element to
5000 auto-save-file-name-transforms.
5002 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
5004 * files.el (file-name-non-special): Don't mangle the 0'th arg and the
5005 return value of file-name-completion and file-name-all-completions.
5007 2002-04-19 Glenn Morris <gmorris@ast.cam.ac.uk>
5009 * progmodes/f90.el: Update maintainer.
5010 (f90-line-continued): Recognize blank/comment lines embedded in
5012 (f90-looking-at-program-block-start): No extra indentation after
5013 function or subroutine keyword appears in single quotes.
5015 2002-04-19 Miles Bader <miles@gnu.org>
5017 * custom.el (customize-mark-to-save, customize-mark-as-set)
5018 (custom-quote): Moved here from `cus-edit.el'.
5019 * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
5020 (custom-quote): Moved to `custom.el'.
5022 2002-04-18 Richard M. Stallman <rms@gnu.org>
5024 * facemenu.el (list-text-properties-at): Command deleted.
5026 * rect.el (insert-rectangle): Use insert-for-yank.
5028 * register.el (insert-register): Use insert-for-yank.
5029 (describe-register-1): Discard text props in yank-excluded-properties.
5031 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
5032 Fix parts in construction of `menu-item' item at end.
5034 * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
5036 * subr.el (insert-for-yank): New function.
5038 * simple.el (yank-excluded-properties): New user option.
5039 (yank-pop, yank): Use insert-for-yank.
5041 2002-04-19 Kim F. Storm <storm@cua.dk>
5043 * simple.el (pop-to-mark-command): Do not set this-command.
5044 (set-mark-command): Always jump to mark when called with arg.
5046 2002-04-18 Francesco Potorti` <pot@gnu.org>
5048 * comint.el (comint-watch-for-password-prompt): Remove whitespace
5049 at the beginning of password prompts.
5051 2002-04-18 Andrew Innes <andrewi@gnu.org>
5053 * facemenu.el: Remove require of wid-edit.
5055 2002-04-17 Colin Walters <walters@verbum.org>
5057 * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
5059 (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
5060 (ibuffer-current-state-list): Reinstate optional argument; now
5061 just call `point' inside the mapping function.
5063 2002-04-17 Francesco Potorti` <pot@gnu.org>
5065 * dired-aux.el (dired-star-subst-regexp)
5066 (dired-quark-subst-regexp): New constants.
5067 (dired-do-shell-command, dired-shell-stuff-it): Use them.
5068 (dired-do-shell-command): Raise an error if both `*' and `?'
5069 substitution marks are used in the same command.
5070 (dired-shell-stuff-it): Substitute all instances of `*' and `?'
5071 in a command given via dired-do-shell-command.
5073 * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
5075 2002-04-16 Jason Rumney <jasonr@gnu.org>
5077 * international/mule-cmds.el (locale-preferred-coding-systems):
5080 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
5082 * term.el (term-emulate-terminal): Fix last change.
5084 2002-04-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5086 * bindings.el (mode-line-mode-menu): Update names to reflect
5089 2002-04-16 Mike Williams <mdub@bigfoot.com>
5091 * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
5094 2002-04-16 Michael Kifer <kifer@cs.stonybrook.edu>
5096 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
5097 (viper-ex-print-buf-name): New variable.
5098 (viper-ex-print-buf): New variable.
5099 (ex-token-alist): Invoke ex-print on ":print" Ex commands.
5100 (ex-g-marks): New variable.
5101 (ex-print): New function.
5102 (ex-print-display-lines): New function.
5104 * viper.el (viper-set-hooks): Add window-setup-hook, which sets
5107 * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
5108 when the window is not in its own frame.
5109 (ediff-clone-buffer-for-region-comparison): More robust window
5110 arrangement while prompting for regions to compare.
5111 (ediff-make-cloned-buffer): Use generate-new-buffer-name.
5112 (ediff-inferior-compare-regions): Deleted unused vars
5113 ctl-buf and quit-now.
5115 2002-04-15 Richard M. Stallman <rms@gnu.org>
5117 * facemenu.el (facemenu-add-new-face): Use this only for faces.
5119 (facemenu-add-new-color): New function.
5120 (facemenu-set-foreground, facemenu-set-background):
5121 Use facemenu-add-new-color.
5123 2002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
5125 * ediff-init.el (ediff-current-diff-face-A)
5126 (ediff-current-diff-face-B, ediff-current-diff-face-C)
5127 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
5128 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
5129 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
5130 (ediff-even-diff-face-B, ediff-even-diff-face-C)
5131 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
5132 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
5133 (ediff-odd-diff-face-Ancestor): Add special color definitions for
5134 tty and MS-DOS displays.
5136 2002-04-15 Andrew Innes <andrewi@gnu.org>
5138 * facemenu.el: Require wid-edit.
5140 2002-04-15 Miles Bader <miles@gnu.org>
5142 * faces.el (highlight): Force foreground to be black on a tty, so
5143 this face is readable on a dark-background tty.
5144 * wid-edit.el (widget-field-face, widget-single-line-field-face):
5147 2002-04-14 Kim F. Storm <storm@cua.dk>
5149 * simple.el (pop-to-mark-command, push-mark-command): New commands.
5150 (set-mark-command): Use them.
5151 Enhanced functionality when command is repeated:
5152 - If first command set the mark (no prefix arg), repeat temporarily
5153 enables transient-mark-mode.
5154 - If first command jumped to mark off ring (with argument),
5155 repeat (with or without arg) jump to next mark off ring.
5156 - Use C-u C-u prefix to set mark after jump.
5157 (exchange-point-and-mark): Temporarily enable transient-mark-mode
5160 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5162 * speedbar.el (speedbar-tag-hierarchy-method)
5163 (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
5165 2002-04-14 Mike Williams <mdub@bigfoot.com>
5167 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
5168 beginning of buffer.
5170 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5172 * speedbar.el (speedbar-generic-item-info)
5173 (speedbar-sort-tags): Doc fix.
5174 (speedbar-add-supported-extension): Fix typo in interactive spec.
5176 2002-04-13 Colin Walters <walters@verbum.org>
5178 * ibuffer.el (ibuffer-forward-line): Just skip header if we're
5179 only moving one line forward.
5180 (ibuffer-map-lines): Preserve point position even if we delete
5181 lines. Only call mapping functions with buffer and mark
5182 arguments; the other two were unused.
5183 (ibuffer-redisplay, ibuffer-update): Always skip special areas.
5185 * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
5187 * calc/calc-bin.el (math-format-radix-float): Use `when'.
5189 * calc/calc.el (math-format-number): Load `calc-ext' before we
5190 call `math-group-float'.
5192 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
5193 Renamed from `gamegrid-add-score'.
5194 (gamegrid-add-score-insecure): Restored from the old
5195 `gamegrid-add-score'.
5196 (gamegrid-add-score): Just dispatch on `system-type' to one of the
5197 previous two functions.
5199 2002-04-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5201 * iswitchb.el: Update commentary to include new function
5202 iswitchb-exclude-nonmatching.
5204 2002-04-12 John Wiegley <johnw@gnu.org>
5206 * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
5207 operating systems to the regexp used to detect a script's interpreter.
5209 2002-04-12 Eli Zaretskii <eliz@is.elta.co.il>
5211 * frame.el (frames-on-display-list): Use `equal' to compare the
5212 `display' frame parameter to the argument DISPLAY.
5214 2002-04-12 Dave Love <fx@gnu.org>
5216 * help.el (string-key-binding): Deal with margin events.
5218 2002-04-12 Francesco Potorti` <pot@gnu.org>
5220 * comint.el (comint-password-prompt-regexp): Match " SMB password".
5222 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
5224 * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
5226 * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
5228 * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
5229 (buffer-syntactic-context-depth): New funs.
5231 * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
5234 * emacs-lisp/debug.el (debug-on-entry): Use push.
5235 (debugger-make-xrefs): Don't assume point-min == 1.
5237 * progmodes/cc-engine.el (c-backward-to-start-of-if):
5238 Don't assume point-min == 1.
5240 * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
5241 (etags-list-tags, etags-tags-apropos, select-tags-table):
5242 Don't assume point-min == 1.
5244 2002-04-12 Mike Williams <mdub@bigfoot.com>
5246 * textmodes/sgml-mode.el (sgml-guess-indent): New function.
5248 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
5250 * textmodes/fill.el (fill-context-prefix): Fix up last change.
5252 * simple.el (line-move): Use memq rather than or.
5253 (transpose-sexps): Don't presume as much of forward-sexp's behavior.
5254 (do-auto-fill): Use fill-move-to-break-point.
5255 (syntax-code-table): Remove.
5257 * textmodes/fill.el (canonically-space-region): Obey sentence-end.
5258 Don't add spaces at end of sentences at end of line.
5259 (fill-move-to-break-point): Make sure the result is always greater
5260 than linebeg, so we ensure forward progress.
5261 (fill-region-as-paragraph): Compare to `to' rather than eobp.
5262 (fill-paragraph): Don't rebind fill-paragraph-function.
5264 2002-04-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5266 * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
5268 2002-04-11 Andreas Schwab <schwab@suse.de>
5270 * files.el (file-name-non-special): Handle return value of t from
5271 `file-name-completion'.
5273 2002-04-10 Stefan Monnier <monnier@cs.yale.edu>
5275 * textmodes/fill.el (fill-context-prefix): Match the two prefixes
5276 differently to avoid pathological exponential-time case.
5277 (adaptive-fill-regexp): Add ! and %.
5278 (fill-delete-prefix): Remove indentation while removing prefix.
5279 (fill-delete-newlines): Obey sentence-end.
5280 (fill-move-to-break-point, fill-newline): New functions extracted
5281 from fill-region-as-paragraph.
5282 (fill-region-as-paragraph): Use them.
5283 Don't fiddle with fill-indent-according-to-mode.
5285 2002-04-10 Colin Walters <walters@verbum.org>
5287 * play/snake.el (snake-score-file): Default to just "snake-scores".
5289 * play/tetris.el (tetris-score-file): Likewise.
5291 * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
5292 use `update-game-score'.
5294 * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
5295 (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
5296 ourselves; take it as an argument. Caller updated.
5297 (ibuffer-mode): Make mode-class special.
5299 2002-04-10 Richard M. Stallman <rms@gnu.org>
5301 * dired.el (dired-view-command-alist): New variable.
5302 (dired-view-file): Use external viewers for some files names.
5304 * mouse.el (mouse-drag-region-1): Display region highlight
5305 only in the selected window.
5307 * subr.el (remove-hook): When there are no more local hooks,
5308 kill the buffer-local value.
5310 * isearch.el (isearch-mode): Don't call make-frame-visible
5311 if frame is already visible.
5313 * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
5315 2002-04-09 Emmanuel Briot <briot@act-europe.fr>
5317 * progmodes/ada-prj.el: Add support for the new project file
5318 fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
5319 Fix widget handling for Emacs 21. ada-mode now only supports a single
5320 active project file, instead of one per buffer. This is far less
5323 * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
5324 (ada-func-or-proc-name): Get real subprogram name, after change in
5327 * progmodes/ada-xref.el: Ada-mode no longer supports a different
5328 project file per buffer. This was too complex. Instead, there is
5329 now a single active project file at any given time, and the user
5330 can switch the active one through the Ada menu. This revision
5331 also provides better handling of the Windows command line, and the
5332 various available shells on that platform. ada-mode is now fully
5333 integrated with the GNU visual debugger gvd, see
5334 http://libre.act-europe.fr.
5335 (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
5336 This is only available with GNAT 3.14.
5337 (ada-prj-gnatfind-switches, ada-cd-command): New variable.
5338 (ada-quote-cmd): New function.
5339 (ada-initialize-runtime-library): Get the location of the actual
5340 runtime the compiler will be using, including support for
5341 cross-platform environments.
5342 (ada-treat-cmd-string): Add support for the new variable
5343 ${full_current} add support for debug-pre-cmd and debug-post-cmd,
5344 two commands to run just prior to running the debugger, and just
5345 after starting it. This provide better support for cross-platform
5346 and remote debugging.
5347 (ada-get-absolute-dir): Remove, replace with expand-file-name.
5348 (ada-gdb-application): New parameter executable-name.
5349 (ada-get-ali-file-name): Better handling of separate packages.
5350 Checkin on behalf of the ada-mode maintainer.
5352 * progmodes/ada-mode.el (ada-case-exception-file)
5353 (ada-indent-handle-comment-special): New variables.
5354 (ada-case-exception-substring): New variable. Casing exceptions
5355 can now also be defined for substrings, in addition to full
5356 identifier names. This provides more flexibility.
5357 (ada-align-list): New fun, provide support for align.el in ada-mode.
5358 (ada-procedure-start-regexp): Add support for operators and
5359 generic formal subprograms and packages.
5360 (ada-imenu-comment-re): New variable.
5361 (ada-imenu-generic-expression): Add support for protected types.
5362 (ada-mode): Set comment-start only after running ada-mode-hook, so
5363 that the user can change ada-comment-start in the hook.
5364 Add support for ispell in comments. Add support for align.el.
5365 (ada-save-exception-file, ada-create-case-exception-substring)
5366 (ada-adjust-case-substring): New functions.
5367 (ada-get-current-indent): Properly handles keywords with uppercases.
5368 (ada-goto-matching-end): Rewritten, fixes problems in the handling
5370 (ada-untab-hard): Do not touch the contents of comments and strings.
5372 2002-04-09 Mike Williams <mdub@bigfoot.com>
5374 * textmodes/sgml-mode.el (sgml-lexical-context):
5375 Use sgml-parse-tag-backward to find start point.
5376 (sgml-looking-back-at): Doc fix.
5378 2002-04-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5380 * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
5383 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
5385 * autorevert.el (auto-revert-mode, global-auto-revert-mode):
5386 Use define-minor-mode.
5387 (auto-revert-buffers): Use with-current-buffer.
5388 Avoid changing the minor modes.
5390 * international/iso-acc.el (iso-accents-accent-key): Use `vector'
5391 rather than char-to-string since last-input-char can be any event.
5393 * international/titdic-cnv.el (tit-dictionary):
5394 Use defvar for non-constants.
5396 * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
5397 (global-cwarn-mode): Use easy-mmode-define-global-mode.
5398 (cwarn-font-lock-keywords): New function.
5399 Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
5400 (cwarn-font-lock-match): New macro.
5401 (cwarn-font-lock-match-assignment-in-expression)
5402 (cwarn-font-lock-match-dangerous-semicolon)
5403 (cwarn-font-lock-match-reference): Use it.
5405 * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
5406 Use defvar rather than defconst since it's meant to be settable.
5407 (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
5408 (cperl-fix-line-spacing): Add missing \ in [ t].
5410 * loadup.el: Call ucs-unify-8859 directly rather than
5411 unify-8859-on-encoding-mode.
5412 (fns-*.el): Don't use it anymore. Keep the load-history in purespace.
5414 * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
5415 (sgml-mode): Use it for comment-line-break-function.
5417 2002-04-08 Jason Rumney <jasonr@gnu.org>
5419 * international/mule-cmds.el (reset-language-environment):
5420 Handle coding-systems not being defined yet.
5422 2002-04-08 Sam Steingold <sds@gnu.org>
5424 * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
5425 (vc-cvs-checkin): Use it.
5427 2002-04-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5429 * files.el (display-time-string): Fix last change.
5431 2002-04-07 Sam Steingold <sds@gnu.org>
5433 * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
5435 2002-04-07 Jason Rumney <jasonr@gnu.org>
5437 * international/mule-cmds.el (set-default-coding-systems)
5438 (reset-language-environment): Preserve eols on
5439 default-process-coding-system.
5440 (coding-system-change-text-conversion): Fix case where CODING is nil.
5442 2002-04-07 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5444 * subr.el (play-sound): Move here from simple.el.
5446 * simple.el (play-sound): Move to subr.el.
5448 2002-04-06 Richard M. Stallman <rms@gnu.org>
5450 * files.el (display-time-string-forms): Mark as risky.
5452 * enriched.el (enriched-decode-foreground, enriched-decode-background):
5453 Use proper format for desired elts of `face' property.
5454 Don't test display-color-p; make the properties unconditionally.
5456 * progmodes/compile.el (compilation-error-regexp-alist):
5457 New alternatives for FILE:LINE.COL and for ranges of columns and lines.
5459 2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
5461 * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
5462 for customization type.
5463 Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
5465 2002-04-06 Mike Williams <mdub@bigfoot.com>
5467 * textmodes/xml-lite.el: Remove.
5469 2002-04-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5471 * simple.el (play-sound): New function (uses play-sound-internal).
5473 2002-04-04 Richard M. Stallman <rms@gnu.org>
5475 * files.el (mode-line-format, mode-line-modified)
5476 (mode-line-mule-info, mode-line-buffer-identification)
5477 (mode-line-modes, mode-line-position): Explicitly mark as risky.
5478 (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
5480 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
5482 * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
5483 Use (syntax-table), not old-syntax-table.
5485 * enriched.el (enriched-decode-foreground)
5486 (enriched-decode-background): Don't call facemenu-get-face.
5488 2002-04-04 Mike Williams <mdub@bigfoot.com>
5490 * textmodes/sgml-mode.el: Add missing require.
5491 (sgml-lexical-context): Fix up CDATA detection for boundary cases.
5493 2002-04-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
5495 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
5496 spot indicated by text property `cvs-goal-column', if present.
5498 * pcvs-info.el (cvs-fileinfo-pp): Use text property
5499 `cvs-goal-column' to indicate position of file name (if present).
5501 2002-04-03 Richard M. Stallman <rms@gnu.org>
5503 * mail/mailabbrev.el (mail-abbrev-complete-alias):
5504 Call mail-abbrev-make-syntax-table.
5506 * format.el (format-deannotate-region): Doc fix.
5508 * enriched.el (enriched-face-ans): Delete special treatment
5509 for fg:... and bg:... faces.
5510 (enriched-decode-foreground): Return a list that specifies
5511 the foreground color, rather than creating a face.
5512 (enriched-decode-background): Likewise.
5514 * shell.el (shell-mode): Don't reinit comint-input-ring
5515 if that was already done.
5517 2002-04-03 Edward M. Reingold <reingold@emr.cs.iit.edu>
5519 * solar.el (solar-spring-or-summer-season): Delete.
5520 (solar-northern-spring-or-summer-season): New variable.
5521 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
5524 * solar.el (diary-sabbath-candles-minutes): New variable.
5525 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
5527 * calendar.el (update-calendar-mode-line): Force mode-line update.
5528 Make date under the cursor available as `date' in
5529 calendar-mode-line-format.
5530 Eval items in calendar-mode-line-format list.
5532 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
5533 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
5535 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
5537 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
5538 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
5539 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5540 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
5542 * cal-tex.el: Change all instances (interactive "P") to
5544 (cal-tex-cursor-month): Add hfill and newline at end of month that
5546 (cal-tex-preamble): Change to LaTeX2e.
5547 (cal-tex-cursor-filofax-year): Don't use default month names in
5548 LaTeX macros in case user changes them.
5549 (cal-tex-month-name): New function. Used throughout in case user
5550 has done something funny with month names.
5552 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
5553 (diary-rosh-hodesh): Spelling correction.
5555 2002-04-03 Mike Williams <mdub@bigfoot.com>
5557 * textmodes/sgml-mode.el (sgml-lexical-context)
5558 (sgml-parse-tag-backward): Extend support for CDATA to include
5559 conditional sections.
5561 2002-04-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5563 * cus-start.el: Rename `autoselect-window' to
5564 `mouse-autoselect-window'.
5566 2002-04-02 Richard M. Stallman <rms@gnu.org>
5568 * files.el (hack-one-local-variable):
5569 Clear text props from string value.
5571 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
5573 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5574 (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
5576 (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
5578 (f90-procedures-re): Add `null' and `cpu_time' from F95.
5579 (f90-font-lock-keywords-1): Minor reorganization so we don't need
5580 `override' any more.
5581 (f90-font-lock-keywords-3): Use `keep' rather than `override'.
5582 (f90-indent-subprogram): Use indent-region.
5583 (f90-break-line): Use indent-according-to-mode.
5585 2002-04-02 Mike Williams <mdub@bigfoot.com>
5587 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
5588 sgml-insert-end-tag. Simplify by using sgml-lexical-context.
5589 (sgml-get-context): Remove use of sgml-inside-tag-p.
5590 (sgml-inside-tag-p): Remove.
5591 (sgml-looking-back-at): Short-circuit at beg of buffer.
5592 (sgml-lexical-context, sgml-calculate-indent): Add support for
5595 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
5597 * help.el (help-key-description): New fun.
5598 (describe-key-briefly, describe-key): Use it and
5599 this-single-command-raw-keys plus new arg `untranslated'.
5601 * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
5602 (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
5603 (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
5604 (sgml-insert-end-tag): New funs taken from xml-lite.el.
5605 (sgml-calculate-indent): Use them.
5606 (sgml-slash-matching): Rename from sgml-slash.
5607 (sgml-slash): Copied from xml-lite and changed to use
5608 sgml-slash-matching and sgml-quick-keys.
5610 * international/mule-cmds.el (standard-keyboard-coding-systems):
5611 Add koi8-u and koi8-r.
5613 * eshell/.cvsignore: New file.
5615 * eshell/esh-groups.el: Remove.
5617 * progmodes/tcl.el: Change maintainer.
5618 (tcl-electric-hash-style): Change default to nil.
5619 (tcl-imenu-generic-expression): Use tcl-proc-regexp.
5620 (tcl-do-auto-fill): Remove.
5621 (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
5623 2002-04-01 Mike Williams <mdub@bigfoot.com>
5625 * textmodes/sgml-mode.el: Doc fixes.
5626 (sgml-mode): Set indent-line-function to sgml-indent-line.
5627 (sgml-calculate-indent): Add an explicit check for 'text syntax,
5628 to protect against future enhancements to sgml-lexical-context.
5629 (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
5631 * textmodes/xml-lite.el: Removed much redundant stuff.
5632 (xml-lite-parse-tag-backward): Simplify parsing by assuming we
5633 always start within text. Make use of sgml-unclosed-tag-p.
5635 2002-04-01 Ville Skytt
\e,Ad
\e(B <ville.skytta@xemacs.org>
5637 * tcl.el (tcl-imenu-generic-expression): New value.
5638 (tcl-imenu-create-index-function): Function deleted.
5639 (tcl-mode): Check for filladapt-mode.
5640 Use tcl-imenu-generic-expression instead of
5641 tcl-imenu-create-index-function.
5642 (inferior-tcl-mode): Doc fix.
5643 Change not legally significant.
5645 2002-04-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5647 * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
5649 * window.el (handle-select-window): New function.
5652 2002-04-01 Richard M. Stallman <rms@gnu.org>
5654 * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
5656 * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
5657 tool-bar-add-item, and new arg MAP.
5658 (tool-bar-add-item): Now calls tool-bar-local-item.
5659 (tool-bar-local-item-from-menu): Renamed from
5660 tool-bar-add-item-from-menu, and new arg IN-MAP.
5661 (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
5663 * help-fns.el (help-with-tutorial): Allow various ways
5664 to specify the text in the [...] line, in handling the <...> line.
5666 * progmodes/idlw-rinfo.el (idlwave-system-routines):
5667 WOLRDTITLE => WORLDTITLE. SUPRESS_VALUE => SUPPRESS_VALUE.
5669 * subr.el (redraw-modeline): Define alias.
5671 2002-03-31 Richard M. Stallman <rms@gnu.org>
5673 * files.el (file-expand-wildcards): Use save-match-data.
5675 * files.el (format-alist): Mark as risky.
5677 * simple.el (kill-new): Doc fix.
5679 * emacs-lisp/byte-opt.el (side-effect-free-fns)
5680 (side-effect-and-error-free-fns): Add many functions, remove some.
5682 2002-03-30 Richard M. Stallman <rms@gnu.org>
5684 * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
5686 2002-03-30 Eli Zaretskii <eliz@gnu.org>
5688 * font-lock.el (save-buffer-state): Fix last change.
5690 * files.el (auto-save-file-name-transforms): Fix last change.
5692 * startup.el (command-line): Fix last change.
5694 2002-03-29 Richard M. Stallman <rms@gnu.org>
5696 * subr.el (play-sound-file): Moved to simple.el.
5698 * simple.el (play-sound-file): Moved from subr.el, made unconditional.
5700 2002-03-29 Colin Walters <walters@verbum.org>
5702 * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
5703 instead of `forward-line'.
5704 (ibuffer-forward-line): Be sure to skip over special properties
5707 * calc/calc.el (calc-was-split): Var deleted.
5708 (calc): Remove reference to it.
5711 (calc-init-base): Ditto.
5713 * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
5715 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
5717 * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
5718 instead of nil when point is outside of any tag.
5719 (sgml-beginning-of-tag): Adjust to the change.
5720 (sgml-calculate-indent): Use the new info returned by
5721 sgml-lexical-context. Try to handle unclosed tags.
5723 * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
5724 at unclosed tags unless it is at indentation.
5725 Kill nested unclosed tags.
5726 (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
5727 (xml-lite-mode): Use sgml-indent-line instead.
5729 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
5731 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
5734 * startup.el (command-line): Recompute auto-save-file-name-transforms
5735 using the updated value of temporary-file-directory.
5737 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
5739 * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
5740 even with an empty context. Don't save excursion any more.
5741 Don't complain about unmatched start-tags in sgml-unclosed-tags.
5742 Ignore end-tags in sgml-empty-tags.
5743 (xml-lite-get-context, xml-lite-calculate-indent)
5744 (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
5745 (xml-lite-indent-line): Use back-to-indentation.
5747 * textmodes/sgml-mode.el (sgml-basic-offset): New var.
5748 (sgml-name-re, sgml-attrs-re): New consts.
5749 (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
5750 (sgml-mode): Use them.
5751 (sgml-lexical-context): Default to (point-min) if nothing else works.
5752 (sgml-calculate-indent): Indent slightly differently.
5753 (sgml-indent-line): Use back-to-indentation.
5754 (sgml-parse-dtd): New function.
5755 (sgml-unclosed-tags): New var.
5756 (html-mode): Set it.
5758 2002-03-29 Simon Marshall <simon.marshall@misys.com>
5760 * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
5762 2002-03-29 Richard M. Stallman <rms@gnu.org>
5764 * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
5765 Use FILTER arg in dired-get-marked-files to exclude directories.
5766 (dired-nondirectory-p): New function.
5768 * dired.el (dired-get-marked-files): New arg FILTER
5769 allows selection of some files.
5771 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
5773 2002-03-29 Eric M. Ludlam <eric@siege-engine.com>
5775 * speedbar.el (speedbar-default-directory-list): Made robust
5776 against deleted directories.
5778 2002-03-28 Richard M. Stallman <rms@gnu.org>
5780 * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
5783 * progmodes/compile.el (compilation-handle-exit):
5784 If compilation-window-height is 0, display status in echo area.
5786 * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
5788 * rect.el (replace-rectangle): Add autoload.
5790 * files.el: Mark many more variables as risky.
5791 (hack-one-local-variable): Recognize several additional
5794 * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
5796 2002-03-28 Stefan Monnier <monnier@cs.yale.edu>
5798 * textmodes/xml-lite.el (xml-lite-in-string-p):
5799 Use sgml-lexical-context.
5800 (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
5801 (xml-lite-get-context): Check that open/close tags match.
5802 Don't stop scanning while we're ignoring matching tags.
5804 * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
5805 (sgml-mode-syntax-table): Use it.
5806 (sgml-tag-syntax-table, sgml-tag-name-re): New const.
5807 (sgml-tags-invisible): Use it.
5808 (sgml-lexical-context): New fun.
5809 (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
5810 (sgml-quote): Accept \n as entity reference terminator.
5811 (sgml-calculate-indent, sgml-indent-line): New funs.
5813 2002-03-28 Andre Spiegel <spiegel@gnu.org>
5815 * vc-cvs.el (vc-cvs-global-switches): New user option.
5816 (vc-cvs-command): New function. Update all callers of
5817 `vc-do-command' in vc-cvs.el to use this instead.
5819 2002-03-27 Andrew Innes <andrewi@gnu.org>
5821 * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
5822 relying on shell globbing.
5824 2002-03-27 Colin Walters <walters@debian.org>
5826 * ibuffer.el (ibuffer-help-buffer-modes): New variable.
5827 (ibuffer-fontification-alist): Use it.
5828 (ibuffer-backward-line): Handle `ibuffer-summary' area.
5829 (ibuffer-forward-line): Ditto.
5831 * ibuf-ext.el (sorter mode-name): Doc fix.
5832 (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
5833 (operation query-replace): Use new `noerror' arg for
5834 `query-replace-read-args'.
5835 (operation query-replace-regexp): Ditto.
5837 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
5839 * textmodes/xml-lite.el: Fix copyright notice.
5840 (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
5841 (xml-lite-indent-comment-offset): Remove.
5842 (xml-lite-calculate-indent): Use new name. Use natural alignment
5844 (xml-lite-in-string-p): Simplify.
5846 2002-03-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5848 * allout.el (outline-layout): Doc fix.
5850 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
5852 * textmodes/xml-lite.el: Don't require `custom'.
5853 (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
5854 (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
5855 (xml-lite-get-context): Drop nested tags not just for comments.
5856 (xml-lite-indent-line): Be more careful about moving point.
5857 (xml-lite-insert-end-tag, xml-lite-slash):
5858 Use indent-according-to-mode instead of xml-lite-indent-line.
5859 (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
5860 Set sgml-xml-mode. Don't call force-mode-line-update.
5861 (xml-lite-mode-map): Don't bind TAB.
5863 2002-03-27 Zoltan Kemenczy <zoltan@ieee.org>
5865 * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
5867 (gud-jdb-build-source-files-list): Comment clarification.
5868 (gud-jdb-massage-args): Reworked into loop-based argument list
5869 processing in order to support -classpath and -sourcepath argument
5871 (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
5872 to gud-jdb-classpath to obtain search list.
5873 (gud-jdb-parse-classpath-string): Remove any trailing slashes from
5874 directory names in classpath/sourcepath lists, update comment.
5875 (jdb): Add setting of gud-jdb-sourcepath, update comment.
5876 (gud-find-class): Add gud-jdb-sourcepath use, and correct
5877 behaviour for the case when classpath is not used--backward
5880 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
5882 * Makefile.in (compile, compile-always): Don't try to compile
5883 non-existent files or files in empty directories.
5885 2002-03-26 Michael Ernst <mernst@alum.mit.edu>
5887 * compare-w.el (compare-windows-whitespace): Match all whitespace.
5889 * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
5890 copy of standard Lisp directories.
5892 * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
5893 Support "next has longname" link type.
5895 2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
5897 * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
5898 (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
5900 (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
5901 (end-of-xml-tag): Remove.
5902 (xml-lite-get-context): Better handling of comments.
5903 (xml-lite-calculate-indent): Use xml-lite-in-string-p.
5904 (xml-lite-parse-tag-backward): Rewrite.
5906 2002-03-26 Juanma Barranquero <lektu@terra.es>
5908 * makefile.w32-in (WINS): Add the toolbar directory.
5910 2002-03-26 Richard M. Stallman <rms@gnu.org>
5912 * subr.el (substring-no-properties): Function deleted (now in C).
5914 2002-03-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5916 * mwheel.el (mouse-wheel-mode): Use global-set-key and
5919 2002-03-24 Richard M. Stallman <rms@gnu.org>
5921 * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
5923 * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
5924 to query-replace-read-args.
5926 * progmodes/compile.el (compilation-forget-errors):
5927 Don't adjust compilation-parsing-end if it's nil.
5929 * replace.el (query-replace-read-args): New optional arg NOERROR.
5930 (perform-replace): Use save-window-excursion around recursive edit.
5932 2002-03-24 Colin Walters <walters@verbum.org>
5934 * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
5935 non-nil, then always use another window.
5937 2002-03-24 Gerd Moellmann <gerd@gnu.org>
5939 * subr.el (macro-declaration-function): New function. Set the
5940 variable macro-declaration-function to it.
5942 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5943 Handle declarations in macro definitions.
5945 2002-03-24 Eli Zaretskii <eliz@is.elta.co.il>
5947 * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
5949 * enriched.el (enriched-face-ans): Support FACE of the form
5950 (:foreground COLOR) and (:background COLOR).
5951 (enriched-decode-foreground, enriched-decode-background): Set the
5952 fore- and background colors of the faces we create, since facemenu
5955 2002-03-24 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5957 * mwheel.el (mouse-wheel-mode): Use the result of
5958 current-global-map instead of the variable `global-map'.
5960 2002-03-23 Richard M. Stallman <rms@gnu.org>
5962 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
5963 broken out of sendmail-pre-abbrev-expand-hook.
5964 (sendmail-pre-abbrev-expand-hook): Use it.
5966 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
5968 * Makefile.in (finder-inf.el): Remove.
5969 (finder-data): Don't depend on finder-inf.el any more.
5970 (compile, compile-always): Handle the case where some files
5971 from DONTCOMPILE are missing (it tried to compile them).
5972 (bootstrap-clean): Use src/emacs only if executable.
5973 (bootstrap): Update subdirs.el and finder-inf.el.
5975 * finder.el: Don't load finder-inf.el during byte-compilation.
5977 * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
5978 Don't consider cvs-removed files as under VC control.
5979 VC wouldn't handle them properly anyway and it confuses
5980 vc-file-not-found-hook.
5982 * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
5983 Add autoload cookie.
5985 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
5987 * calendar/calendar.el (calendar): Doc fix.
5989 2002-03-22 Juanma Barranquero <lektu@terra.es>
5991 * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
5992 (gomoku-font-lock-X-face): Likewise.
5993 (gomoku-font-lock-keywords): Use faces instead of variables.
5995 2002-03-21 Stefan Monnier <monnier@cs.yale.edu>
5997 * Makefile.in (bootstrap): Make sure subdirs.el is ready.
5999 2002-03-21 Kim F. Storm <storm@cua.dk>
6001 * simple.el (open-network-stream, open-network-stream-nowait)
6002 (open-network-stream-server): Use featurep to test for
6003 supported networking features.
6005 2002-03-21 Thien-Thi Nguyen <ttn@gnu.org>
6007 * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
6008 directions as the last action.
6010 2002-03-21 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6012 * startup.el (fancy-splash-tail, normal-splash-screen):
6015 * novice.el (disabled-command-hook): Clarify output text to match
6018 2002-03-20 Jason Rumney <jasonr@gnu.org>
6020 * frame.el (display-images-p): Do not explicitly check display type.
6022 2002-03-20 pmr-sav <pmr-sav@hamm.pajato.com>
6025 Eliminate compilation warnings due to `rfc822-addresses'.
6026 (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
6027 warning free compile.
6029 2002-03-20 Michael Kifer <kifer@cs.stonybrook.edu>
6031 * ediff-diff.el (ediff-install-fine-diff-if-necessary):
6032 Take the current highlighting style into account.
6033 (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
6034 (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
6036 * ediff-init.el (ediff-patch-job): New macro.
6038 * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
6039 (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
6041 * ediff-ptch.el (ediff-map-patch-buffer):
6042 Use ediff-make-new-meta-list-header.
6043 (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
6045 * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
6046 (ediff-select-difference): Take highlighting style into account.
6047 (ediff-clone-buffer-for-region-comparison): New function.
6048 (ediff-inferior-compare-regions): Added comparison of current diff
6051 * ediff.el (ediff-clone-buffer-for-region-comparison)
6052 (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
6054 2002-03-19 pmr-sav <pmr-sav@hamm.pajato.com>
6056 * mail-utils.el (rmail-dont-reply-to):
6057 Overhaul to correctly apply the regular
6058 expressions in the variable `rmail-dont-reply-to-names' to the list of
6059 destination addresses. Contributed by lorentey@elte.hu.
6061 * rmail.el (rmail-dont-reply-to-names):
6062 Modify the documentation to make it email
6063 address centric rather than login name centric. Contributed by
6066 2002-03-18 Colin Walters <walters@verbum.org>
6068 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
6069 we don't require `cl' at runtime.
6070 (sorting mode mode-name): Don't take the symbol-name of a string.
6072 * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
6073 line after setting the mark.
6074 (ibuffer-insert-buffers-and-marks): Invert the test for
6075 `ibuffer-sorting-reversep'.
6077 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
6079 * international/ucs-tables.el (unify-8859-on-decoding-mode)
6080 (unify-8859-on-encoding-mode): Remove autoload cookie.
6082 2002-03-18 Andre Spiegel <spiegel@gnu.org>
6084 * vc-rcs.el (vc-rcs-register): Fix handling of
6085 vc-[rcs-]register-switches.
6086 (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
6087 Variables removed, since they weren't used yet.
6089 * vc-cvs.el (vc-cvs-register): Fix handling of
6090 vc-[cvs-]register-switches.
6092 * vc-sccs.el (vc-sccs-register): Fix handling of
6093 vc-[sccs-]register-switches.
6095 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
6097 * loadup.el ("emacs-lisp/backquote"): Load earlier.
6098 ("international/ucs-tables"): Load and turn on
6099 unify-8859-on-encoding-mode unconditionally.
6100 (emacs-version): Use `defconst' rather than `setq'.
6102 * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
6104 2002-03-18 Richard M. Stallman <rms@gnu.org>
6106 * menu-bar.el (menu-bar-options-menu): Cope if
6107 text-mode-hook is not a list.
6109 2002-03-17 Richard M. Stallman <rms@gnu.org>
6111 * emulation/pc-select.el (pc-selection-mode):
6112 Alter the existing global map, don't replace it.
6114 * files.el (list-directory): Set default-directory at the end.
6116 * dabbrev.el (dabbrev--goto-start-of-abbrev):
6117 Put a limit on field-beginning search.
6119 2002-03-17 Simon Josefsson <jas@extundo.com>
6121 * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
6122 (browse-url-mosaic): Use it.
6124 * net/browse-url.el (browse-url-filename-alist): Don't begin
6125 docstring with *, you don't want to set this one with M-x set-variable.
6127 * net/browse-url.el: Put * in user option doc strings.
6129 2002-03-17 Stefan Monnier <monnier@cs.yale.edu>
6131 * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
6132 (sgml-xml-guess): Simplify.
6133 (sgml-mode-common): Remove (move into sgml-mode).
6134 (sgml-mode): Add code from sgml-mode-common.
6135 Remove redundant setting of indent-line-function.
6136 Don't set skeleton-transformation when in XML mode.
6138 * international/mule-diag.el (describe-char-after):
6139 Use `internal-describe-syntax-value' again (got lost somewhere).
6141 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
6142 Use unify-8859-on-decoding-mode.
6143 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
6144 (ucs-insert): Give an error if the unicode char can't be created.
6146 * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
6147 (cvs-parse-status): Handle the "used to have a conflict" marker.
6149 2002-03-17 Kim F. Storm <storm@cua.dk>
6151 The following changes are related to the enhanced network process
6154 * simple.el: Update copyright.
6155 (clone-process): Use make-network-process to clone network
6156 processes. Get command list via (process-contact ... t).
6157 Use set-process-query-on-exit-flag and process-query-on-exit-flag
6158 instead of process-kill-without-query.
6159 (open-network-stream): Replaces C-version from process.c.
6160 (open-network-stream-nowait, open-network-stream-server): New funs.
6161 (process-kill-without-query): Replaces C-version from process.c.
6163 * files.el: Update copyright.
6164 (save-buffers-kill-emacs): Also check for active server
6165 processes. Use process-query-on-exit-flag. Only list processes
6166 which has the query-on-exit flag set in connection with user query.
6168 * shadowfile.el: Update copyright.
6169 (shadow-save-buffers-kill-emacs): Also check for active server
6170 processes. Use process-query-on-exit-flag.
6172 2002-03-16 Simon Marshall <simon.marshall@misys.com>
6174 * imenu.el (imenu-menubar-modified-tick): Renamed from
6175 imenu-update-menubar-modified-tick.
6176 (imenu-update-menubar): Update imenu-menubar-modified-tick
6177 whenever outer condition succeeds.
6179 * lazy-lock.el (save-buffer-state):
6180 Bind inhibit-modification-hooks and buffer-file-truename
6181 instead of before-change-functions and after-change-functions.
6183 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
6185 * international/codepage.el (codepage-setup): Don't define a
6186 codepage if it is already defined.
6188 * textmodes/po.el (po-content-type-charset-alist): Convert the
6189 car of each association to a string.
6190 (po-find-file-coding-system-guts): If the charset matches a name
6191 of a codepage, set up that codepage and return it as a coding
6192 system to decode the file.
6193 (po-find-charset): Search for the Charset= header even if we've
6195 <top-level>: Remove the setup for all known codepages: it seems
6196 to cause crashes in the CCL driver.
6198 2002-03-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6200 * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
6201 (bibtex-entry-field-alist): Doc fix.
6203 2002-03-16 Richard M. Stallman <rms@gnu.org>
6205 * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
6206 Move definition above cperl-outline-regexp.
6208 * bindings.el (mode-line-mule-info): In computing help-echo prop,
6209 avoid using save-window-excursion. And compile the function.
6211 2002-03-15 Stefan Monnier <monnier@cs.yale.edu>
6213 * files.el (load-completion): New function.
6214 (load-library): Use it.
6216 2002-03-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6218 * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
6219 to match the actual code.
6221 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
6223 * textmodes/po.el (po-find-file-coding-system-guts):
6224 Use with-temp-buffer instead of po-with-temp-buffer.
6226 * international/mule-conf.el (file-coding-system-alist): Add an
6227 association for PO files.
6229 * textmodes/po.el: New file.
6231 2002-03-15 Gerd Moellmann <gerd@gnu.org>
6233 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6234 Fix simple loop indentation.
6236 2002-03-14 Miles Bader <miles@gnu.org>
6238 * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
6240 2002-03-14 Richard M. Stallman <rms@gnu.org>
6242 * textmodes/picture.el (picture-insert)
6243 (picture-clear-column, picture-draw-rectangle):
6244 Use move-to-column, not move-to-column-force.
6246 * dired.el (dired-readin): Clear out undo list.
6247 (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
6248 (dired-delete-entry): New function.
6249 (dired-internal-do-deletions): Use dired-fun-in-all-buffers
6250 and dired-delete-entry, to update this buffer (and others).
6252 * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
6254 * facemenu.el (facemenu-add-new-face):
6255 Pass region args to facemenu-set-face, when there is a region.
6256 (facemenu-set-foreground, facemenu-set-background)
6257 (facemenu-add-face): Doc fixes.
6259 * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
6261 2002-03-14 Miles Bader <miles@gnu.org>
6263 * emacs-lisp/debug.el: Require `button'.
6264 (debugger-mode-map): Set the parent keymap to `button-buffer-map',
6265 to get TAB and <backtab> bindings.
6267 * net/rlogin.el (rlogin-carriage-filter): Function removed.
6268 (rlogin): Don't install the `rlogin-carriage-filter' filter, as
6269 comint removes carriage returns itself now.
6271 * rfn-eshadow.el (rfn-eshadow-update-overlay):
6272 Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
6273 getting hosed by our own intangible property.
6275 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
6277 * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
6278 Add fortran-comment-line-start-skip to comment-start-skip.
6279 (fortran-comment-indent): Keep whole-line comments in column 0.
6280 (fortran-find-comment-start-skip): New arg `all'.
6281 If ALL is nil, make sure we only match comment-start-skip if we
6282 can't match fortran-comment-line-start-skip.
6283 Fix bug that made it return t but without moving point when
6284 matching '!'! (a false-comment followed by a real comment).
6285 (fortran-indent-comment): Use new `all' argument above.
6286 Be careful not to add an incorrect comment-starter like "C"
6288 (fortran-split-line): When splitting a comment, reuse the comment
6289 starter from the current line rather than fortran-comment-line-start.
6290 (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
6291 cleaner behavior of fortran-find-comment-start-skip.
6292 (fortran-fill): Don't be confused by ! inside a comment.
6293 (fortran-break-line): Minor cleanup and simplification.
6295 2002-03-13 Francesco Potorti` <pot@gnu.org>
6297 * progmodes/etags.el (tag-exact-file-name-match-p)
6298 (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
6301 2002-03-12 Colin Walters <walters@debian.org>
6303 * ibuffer.el (ibuffer-redisplay-current): Don't move point when
6304 redisplaying a line.
6306 2002-03-12 Jan D. <Jan.Djarv@mbox200.swipnet.se>
6308 * term/x-win.el (emacs-session-restore): Take previous id as
6310 (emacs-session-save): Add comment that return t means cancel shutdown
6312 * startup.el (command-line): Must check that x-session-previous-id
6313 is bound also, for non-X platforms.
6315 2002-03-12 Gerd Moellmann <gerd@gnu.org>
6317 * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
6318 (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
6320 (extended-loop-p, common-lisp-loop-part-indentation): New functions.
6321 (common-lisp-indent-function-1): Renamed from
6322 common-lisp-indent-function.
6323 (common-lisp-indent-function): Handle loop forms specially.
6324 (lisp-indent-defmethod): Use car/cdr instead of first/rest.
6325 (lisp-backquote-indentation): New user option.
6327 2002-03-12 Francesco Potorti` <pot@gnu.org>
6329 * progmodes/etags.el (tag-exact-file-name-match-p)
6330 (tag-file-name-match-p, tag-partial-file-name-match-p):
6331 Assume that the header of a tags section has either a number
6332 or nothing after the last comma.
6334 2002-03-11 Richard M. Stallman <rms@gnu.org>
6336 * imenu.el (imenu-update-menubar-modified-tick): New variable.
6337 (imenu-update-menubar): Don't call imenu--make-index-alist
6338 if buffer has not changed since last time.
6340 * desktop.el (desktop-buffer-handlers): Doc fix.
6341 (desktop-buffer-file): Explicitly return BUF.
6343 * paren.el (show-paren-function): Move back in other direction
6344 to verify the match is correct.
6346 * mail/supercite.el (sc-select-attribution): Accept whatever value
6347 we get in CHOICE; there is no value meaning "try again".
6349 2002-03-11 Colin Walters <walters@verbum.org>
6351 * shell.el (toplevel): Revert previous change to use pcomplete.
6352 (shell-mode): Ditto.
6353 (shell-pcomplete-setup-done): Remove.
6354 (shell-pcomplete): Ditto.
6355 (shell-pcomplete-reverse): Ditto.
6357 * comint.el: Remove documentation on setting up pcomplete.
6359 2002-03-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6361 * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
6364 * image.el (image-type-from-file-header): Make temporary buffer
6367 * subr.el (add-to-list): Doc fix.
6369 2002-03-11 Miles Bader <miles@gnu.org>
6371 * pcomplete.el (pcomplete-entries): Expand environment variables
6374 2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
6376 * play/mpuz.el: Use defface instead of facemenu-get-face.
6378 2002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se>
6380 * startup.el (command-line): Add call to emacs-session-restore if
6381 both x-session-id and x-session-previous-id are strings.
6383 * term/x-win.el (x-handle-smid): New function.
6384 (emacs-session-filename): New function.
6385 (emacs-session-save): New function.
6386 (emacs-save-session-functions): New variable.
6387 (emacs-session-restore): New function.
6389 2002-03-09 Eli Zaretskii <eliz@is.elta.co.il>
6391 * simple.el (shell-command-on-region): Call push-mark with
6392 non-nil second arg, to suppress the "Mark set" message.
6394 2002-03-08 Richard M. Stallman <rms@gnu.org>
6396 * textmodes/picture.el (picture-forward-column): New arg `interactive'
6397 is non-nil for an interactive call. Use instead of interactive-p.
6398 (picture-backward-column): Likewise.
6400 * tar-mode.el (tar-untar-buffer): New function.
6402 * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
6403 Put the mouse-face on the entire xref, like the local keymap.
6405 * find-dired.el (find-name-dired): Use shell-quote-argument.
6407 2002-03-08 Daniel Pfeiffer <occitan@esperanto.org>
6409 * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
6410 (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
6411 (mpuz-allow-double-multiplicator): New options for nicer look and
6413 (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
6414 (mpuz-check-all-solved, mpuz-random-puzzle)
6415 (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
6416 (mpuz-show-solution): Functions streamlined and removed french
6417 style space before punctuation, added face support and optional
6418 solving of trivial results.
6420 2002-03-07 Colin Walters <walters@verbum.org>
6422 * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
6424 * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
6425 instead of "recency" for clarity.
6426 (ibuffer-compile-format): Document more. Handle new "summarizer"
6428 (ibuffer-fontify-region-function): Ditto.
6429 (ibuffer-insert-buffer-line): Ditto.
6430 (ibuffer-map-lines): Ditto.
6431 (ibuffer-insert-buffers-and-marks): Ditto.
6432 (ibuffer-update-title-and-summary): Renamed from
6433 `ibuffer-update-title'. Handle "summarizer" columns.
6434 (ibuffer-clear-summary-columns): New function.
6436 * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
6438 2002-03-07 Gerd Moellmann <gerd@gnu.org>
6440 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6441 Use the other-window instead of the other-frame functions when
6442 the window is dedicated.
6444 2002-03-06 ShengHuo ZHU <zsh@cs.rochester.edu>
6446 * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
6447 with SILENT so that a new field can be added.
6449 2002-03-06 Eli Zaretskii <eliz@is.elta.co.il>
6451 * files.el (make-auto-save-file-name): Make sure the produced file
6452 name does not contain characters that are invalid for DOS/Windows
6455 * dos-fns.el, w32-fns.el (make-auto-save-file-name):
6456 Remove replacement functions.
6458 2002-03-06 Gerd Moellmann <gerd@gnu.org>
6460 * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
6463 * vc.el (vc-branch-part): Add autoload cookie. This function can
6464 be called from vc-rcs-find-most-recent-rev when visiting a file
6465 checked into RCS in a CVS sandbox.
6467 2002-03-06 Andreas Schwab <schwab@suse.de>
6469 * progmodes/hideif.el: Augment expression parser to handle
6470 conditional expressions.
6471 (hif-token-regexp): Also match `?' and `:'.
6472 (hif-tokenize): Handle `?' and ':' as tokens.
6473 (hif-expr): Parse conditional expressions.
6474 (hif-or-expr): Parse `||' expressions.
6475 (hif-and-expr): Renamed from hif-term.
6476 (hif-conditional): New function to evaluate a conditional
6479 2002-03-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6481 * language/czech.el ("Czech"): Fix the documentation.
6483 * language/slovak.el ("Slovak"): Likewise.
6485 2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
6487 * xml.el (xml-parse-attlist): Accept empty strings.
6489 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
6491 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
6492 all terminals now support highlighting of some kind.
6494 * language/european.el (mac-roman): Fix the safe-chars property.
6496 2002-03-05 Andre Spiegel <spiegel@gnu.org>
6498 * vc.el (vc-transfer-file): Use `make-temp-file'.
6499 (vc-default-update-changelog): Remove conditional use of
6502 * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
6504 2002-03-05 Michael Kifer <kifer@cs.stonybrook.edu>
6506 * ediff-init.el: Comments.
6508 * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
6511 * ediff-mult.el (ediff-intersect-directories)
6512 (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
6514 (ediff-draw-dir-diffs): Now supports the "C" command in directory
6516 (ediff-dir-diff-copy-file): New function that implements copying
6517 of files from one Ediff dir to another
6518 (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
6519 (ediff-append-custom-diff): Better error msgs.
6521 * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
6522 (ediff-inferior-compare-regions): Use
6523 ediff-clone-buffer-for-region-comparison. Better and simpler interface.
6525 * ediff.el (ediff-directories-internal): Cleanup.
6526 (ediff-clone-buffer-for-region-comparison): Better interface.
6528 2002-03-04 Richard M. Stallman <rms@gnu.org>
6530 * emacs-lisp/easy-mmode.el (define-minor-mode):
6531 Use "P" in interactive spec of minor mode commands.
6533 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
6535 * faces.el (face-spec-choose): Allow `t' to appear before the end.
6536 (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
6537 (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
6538 (variable-pitch, trailing-whitespace): Don't use the old-style entries.
6539 (mode-line-inactive, header-line): Move the `t' section to the
6540 beginning so the `:inherit' setting can be shared.
6542 2002-03-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6544 * net/snmp-mode.el: Require tempo when compiling to prevent
6545 warnings. Update copyright notice.
6547 * help.el (describe-key-briefly, describe-key): Interpret `undefined'
6548 like not defined at all.
6550 2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
6552 * textmodes/sgml-mode.el: Change maintainer to FSF.
6553 (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
6554 (sgml-tags-invisible, sgml-beginning-of-tag):
6555 Allow _ : and non-ASCII in tag names, as required for XML.
6556 (sgml-name-char): Don't assume anything about charsets handled by
6559 * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
6560 where one of the buffers is narrowed.
6562 * hexl.el (hexlify-command, dehexlify-command): Remove.
6563 (hexlify-buffer, dehexlify-buffer): Use call-process-region
6564 rather than shell-command-on-region.
6566 * newcomment.el (comment-forward): Use forward-comment to skip
6567 over whitespace (or comments) even when comment-use-syntax is nil.
6569 * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
6571 * textmodes/xml-lite.el: New file.
6573 2002-03-03 Richard M. Stallman <rms@gnu.org>
6575 * textmodes/artist.el (artist-system): Use make-temp-file.
6577 * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
6579 * mail/sendmail.el (mail-recover-1): Increase non-random-len
6580 by 1 since we changed make-auto-save-file-name to add one
6581 fewer character to the buffer name.
6582 (mail-recover): Really show point at the right place
6583 in the *Directory* buffer.
6585 * files.el (make-auto-save-file-name): Use make-temp-file.
6587 * terminal.el (te-create-terminfo): Use make-temp-file
6588 to create the source file in a safe way.
6590 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
6592 * cus-start.el: Rename automatic-hscroll-step and
6593 automatic-hscroll-margin into hscroll-step and hscroll-margin.
6595 * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
6596 (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
6598 * mouse.el (mouse-region-delete-keys): Add deletechar.
6600 2002-03-03 Sam Steingold <sds@gnu.org>
6602 * play/snake.el (snake-score-file): Fixed parens (broken by the
6604 * play/tetris.el (tetris-score-file): Ditto.
6606 2002-03-03 Richard M. Stallman <rms@gnu.org>
6608 * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
6610 * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
6612 * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
6613 (gamegrid-make-mono-tty-face): Fix usage of condition-case.
6615 2002-03-03 Thien-Thi Nguyen <ttn@gnu.org>
6617 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
6618 instead of `buffer-substring-no-properties' to support enriched mode.
6620 2002-03-02 Richard M. Stallman <rms@gnu.org>
6622 * find-dired.el (find-grep-dired): Call shell-quote-argument.
6623 Specify the -e option.
6624 Rename arg to `regexp'.
6626 2002-03-02 Milan Zamazal <pdm@zamazal.org>
6628 * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
6630 2002-03-02 Miles Bader <miles@gnu.org>
6632 * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
6633 event-modifiers before looking up in `mouse-wheel-scroll-amount'.
6634 If there's no applicable modifiers entry in the alist in
6635 `mouse-wheel-scroll-amount', fall back to the default, not to
6636 nil (which causes full screen scrolls).
6638 2002-03-01 Andreas Schwab <schwab@suse.de>
6640 * textmodes/texnfo-upd.el (texinfo-start-menu-description):
6641 Remove extra paren in regexp.
6643 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il>
6645 * mouse.el (mouse-show-mark): Use display-mouse-p, not
6646 display-graphic-p, to decide whether to move point or use the
6649 2002-02-28 Colin Walters <walters@verbum.org>
6651 * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
6653 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
6654 `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
6655 (calc-temp-file-name): Use `make-temp-file'.
6657 2002-02-28 Richard M. Stallman <rms@gnu.org>
6659 * font-lock.el (java-font-lock-extra-types):
6660 Match java.net.URL, etc.
6662 2002-02-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6664 * hexl.el (hexl-options): Doc fix.
6665 Update Commentary section.
6667 * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
6670 2002-02-28 Andre Spiegel <spiegel@gnu.org>
6672 * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
6673 the user to do that first.
6674 (vc-update): New function.
6676 * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
6677 which calls vc-update. Use the term "Base Version" instead of
6678 "Last Version" for the entries "Revert" and "Compare".
6680 2002-02-28 Kim F. Storm <storm@cua.dk>
6682 * simple.el (shell-command-on-region): Report non-zero exit
6683 status in mode line instead of buffer.
6685 2002-02-27 Richard M. Stallman <rms@gnu.org>
6687 * comint.el (comint-preoutput-filter-functions): Doc fix.
6688 (comint-output-filter-functions, comint-input-filter-functions)
6689 (comint-redirect-filter-functions): Likewise.
6691 (comint-redirect-preoutput-filter): Do the local-hook
6692 handling of t when running comint-redirect-filter-functions.
6693 (comint-output-filter): Likewise for comint-preoutput-filter-functions.
6695 2002-02-26 Richard M. Stallman <rms@gnu.org>
6697 * paths.el (remote-shell-program): Add doc string.
6699 2002-02-26 Colin Walters <walters@debian.org>
6701 * ibuf-ext.el (sorter mode-name): New.
6702 (ibuffer-do-occur): Don't quote ibuffer-marked-char.
6704 * calc/calc-ext.el (calc-scroll-left): Call scroll-left
6705 interactively, so they do something.
6706 (calc-scroll-right): Ditto.
6708 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
6710 * international/mule.el (ctext-pre-write-conversion): Handle the
6711 case when FROM is a string, and when we are called from
6712 build_annotations_2.
6714 2002-02-26 Richard M. Stallman <rms@gnu.org>
6716 * rect.el (clear-rectangle-line): Reindent to the same column
6717 that move-to-column reached when it tried to go to endcol.
6719 * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
6721 2002-02-26 Ivar Rummelhoff <ivarru@math.uio.no>
6723 * winner.el (winner-boring-buffers, winner-set): A window which
6724 displays a buffer whose name is in the list
6725 `winner-boring-buffers', will no longer be restored by `winner-undo'.
6726 (winner-sorted-window-list): Used to improve comparison between
6727 window configurations.
6728 (winner-win-data): Simplified and moved.
6729 (winner-conf): Simplified (now uses `winner-win-data').
6730 (winner-change-fun, winner-save-old-configurations)
6731 (winner-save-(un)conditionally, winner-redo): Changes made while in
6732 the minibuffer will be ignored. (Such changes are undone upon
6733 exit for the minibuffer, anyway.)
6734 (winner-set-conf): Preserve selected window whenever possible.
6735 (winner-make-point-alist): Simplified.
6736 (winner-mode, winner-save-unconditionally): Save current window
6737 configuration on entering minibuffer.
6738 (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
6739 since it does not change the overall behavior of Emacs.
6741 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
6743 * international/mule-conf.el (compound-text): Renamed back from
6744 compound-text-no-extensions.
6745 (ctext-no-compositions): Remove the mime-charset property.
6746 (compound-text-with-extensions): Renamed from compound-text.
6747 (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
6749 2002-02-26 Juanma Barranquero <lektu@terra.es>
6751 * faces.el (list-faces-display): Fix typo.
6753 2002-02-25 Richard M. Stallman <rms@gnu.org>
6755 * frame.el (focus-follows-mouse): Doc fix.
6757 2002-02-26 Miles Bader <miles@gnu.org>
6759 * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
6760 to `define-key', since it no longer accepts the latter.
6762 2002-02-25 Jason Rumney <jasonr@gnu.org>
6764 * term/w32-win.el (mouse-wheel-scroll-line): Use car of
6765 mouse-wheel-scroll-amount.
6767 * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
6770 * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
6772 2002-02-25 Andre Spiegel <spiegel@gnu.org>
6774 * vc.el (vc-diff-switches-list): Fix prev change, making the macro
6775 consistent with the others that take a backend name as a symbol.
6777 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
6779 2002-02-25 Kim F. Storm <no-spam@cua.dk>
6781 * comint.el (comint-replace-by-expanded-filename): Do nothing if
6782 comint-match-partial-filename returns nil.
6784 * shell.el (shell-pcomplete-setup-done): New variable.
6785 (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
6786 (shell-pcomplete-reverse): Ditto.
6788 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
6790 * ps-print.el (ps-print-printer): Added `lpr' customize group member.
6792 2002-02-25 Juanma Barranquero <lektu@terra.es>
6794 * subr.el (save-match-data): Doc fix.
6796 * ielm.el (ielm-prompt): Allow customization; make it read-only.
6798 2002-02-25 Kim F. Storm <storm@cua.dk>
6800 * shell.el (shell-mode-map): Add "Complete" header so completion
6801 menu is shown on the menu bar in shell mode.
6803 2002-02-25 Stefan Monnier <monnier@cs.yale.edu>
6805 * ielm.el (ielm-match-data): New var.
6806 (inferior-emacs-lisp-mode): Make it buffer-local.
6807 (ielm-eval-input): Use it to preserve match-data between inputs.
6809 2002-02-24 Juanma Barranquero <lektu@terra.es>
6811 * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
6813 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
6815 * cus-edit.el (custom-unlispify-remove-prefixes): Add to
6816 `custom-buffer' customize group.
6818 2002-02-23 Kim F. Storm <storm@cua.dk>
6820 * help.el (where-is): Use remap-command.
6822 * help-fns.el (describe-function-1): Use remap-command.
6824 * subr.el (global-set-key, local-set-key): Undo 2002-02-06
6825 change (no longer accept a symbol for the KEY argument).
6827 2002-02-23 Colin Walters <walters@debian.org>
6829 * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
6830 * calc/calcalg2.el (math-solve-get-sign): Ditto.
6832 * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
6833 in generated function.
6835 * ibuf-ext.el (ibuffer-old-time): Change to hours.
6836 (ibuffer-mark-old-buffers): Handle it.
6838 * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
6839 (toplevel): Bind them.
6840 (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
6841 not necessary now that we use pcomplete.
6843 * comint.el: Document how use new pcomplete completion facility.
6845 2002-02-23 Richard M. Stallman <rms@gnu.org>
6847 * mail/rmailsum.el (rmail-summary-output): Properly advance
6848 to next message, by calling rmail-summary-goto-msg.
6850 * net/browse-url.el (browse-url-galeon): Specify --existing
6851 for an existing window. Use --noraise rather than --no-raise.
6854 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
6856 * progmodes/etags.el (find-tag-noselect, find-tag)
6857 (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
6858 Fix a typo in doc strings.
6860 2002-02-20 Deepak Goel <deego@glue.umd.edu>
6862 * play/snake.el (snake-velocity-queue, snake-update-velocity)
6863 (snake-final-x-velocity, snake-final-y-velocity):
6864 New variable and functions. Store user's keypresses
6865 into a queue and pop from the queue each subsequent turn.
6866 (snake-update-game, snake-move-left)
6867 (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
6868 (snake-start-game): Use that queue.
6869 (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
6870 (snake-use-color-flag): Likewise.
6871 (snake-mode): Rename uses of those variables.
6873 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
6875 Support for ICCCM Extended Segments in X selections:
6877 * international/mule-conf.el (ctext-no-compositions): New coding
6879 (compount-text-no-extensions): Renamed from compound-text.
6880 (x-ctext-no-extensions, ctext-no-extensions): Aliases for
6881 compound-text-no-extensions.
6882 (compound-text): Redefined using post-read and pre-write conversions.
6884 * international/mule.el (non-standard-icccm-encodings-alist)
6885 (non-standard-designations-alist): New variables.
6886 (ctext-post-read-conversion, ctext-pre-write-conversion):
6889 2002-02-21 Jonathan Kamens <jik@kamens.brookline.ma.us>
6891 * vc.el (vc-default-init-version): Update documentation to
6892 indicate that the backend can override the default init version.
6893 (vc-register): Use the backend init-version function, if it
6894 exists, to determine the initial version of a file.
6895 (vc-diff-switches-list): Don't symbol-quote backend, since it's
6896 already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
6898 * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
6899 not version-controlled. This is necessary, e.g., if the file has
6900 just been reverted, and thus was previously under version control
6901 but isn't any longer.
6902 (vc-find-file-hook): Likewise.
6904 2002-02-21 Martin Lorentzson <Martin.Lorentzson@telia.com>
6906 * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
6907 (vc-cvs-sticky-tag-display): New variable.
6908 (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
6909 (vc-cvs-checkin): If the input revision is a valid symbolic tag
6910 name, we create it as a branch, commit and switch to it.
6911 (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
6912 (vc-cvs-valid-symbolic-tag-name-p): New function.
6913 (vc-cvs-parse-sticky-tag): New function.
6914 (vc-cvs-parse-entry): Added parsing of sticky tags.
6916 2002-02-21 Per Abrahamsen <abraham@dina.kvl.dk>
6918 * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
6919 nil, and then explicitly set the standard-value to t.
6921 2002-02-20 Sam Steingold <sds@gnu.org>
6923 * textmodes/flyspell.el (flyspell-mode): Autoload the variable
6924 since it is used in the menu bar.
6926 2002-02-20 Richard M. Stallman <rms@gnu.org>
6928 * simple.el (shell-command-on-region): Display the exit status
6929 when a command fails.
6931 * subr.el (add-hook): Doc fix.
6933 * frame.el (other-frame): Doc fix.
6935 * simple.el (yank): Clear `field' property.
6937 2002-02-20 Tom Tromey <tromey@cachet>
6939 * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
6940 natural paragraph boundaries. Don't fail at beginning of buffer.
6942 2002-02-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6944 * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
6945 call the argument "arg" to match plain next-line and
6946 previous-line. From Kevin Ryde <user42@zip.com.au>.
6948 2002-02-19 Sam Steingold <sds@gnu.org>
6950 * mwheel.el (mouse-wheel-scroll-amount): Can specify different
6951 scroll amounts for different modifiers now.
6952 (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
6954 (mouse-wheel-mode): Ditto.
6956 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
6958 * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
6959 around function body.
6961 * net/browse-url.el (browse-url-maybe-new-window): Reverse the
6962 sense of the comparison, to match the doc strings of functions
6963 that use this macro.
6965 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
6967 * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
6969 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
6970 * menu-bar.el (menu-bar-mode): Ditto.
6972 2002-02-18 Andreas Schwab <schwab@suse.de>
6974 * replace.el (query-replace-regexp-eval): Doc fix.
6976 2002-02-18 Colin Walters <walters@verbum.org>
6978 * calc/calcalg2.el (math-solve-get-int): Convert return value from
6979 `math-get-from-counter' to a string before calling `concat' on it.
6981 * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
6982 (calc-public-autoloads): Obsolete; remove.
6983 (calc-private-autoloads): Ditto.
6984 (calc-add-autoloads): Ditto.
6986 * calc/calc-macs.el (calc-with-default-simplification): Use &rest
6989 2002-02-17 Jason Rumney <jasonr@gnu.org>
6991 * w32-win.el (x-option-alist, x-long-option-alist)
6992 (x-switch-definitions): Remove, use command-line-x-option-alist
6993 instead to be consistent with X.
6994 (x-handle-initial-switch): New function.
6996 2002-02-17 Eli Zaretskii <eliz@is.elta.co.il>
6998 * faces.el (mode-line-inactive, header-line): Add the :inherit
6999 attribute for the tty case.
7001 2002-02-17 stanislav shalunov <shalunov@internet2.edu>
7003 * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
7004 invoked from Rmail with full headers displayed.
7006 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7008 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
7010 * textmodes/paragraphs.el (mark-paragraph): Ditto.
7012 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
7014 * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
7015 (menu-bar-tools-menu): Removed speedbar.
7017 * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
7018 and `flyspell-mode' entries.
7020 * textmodes/flyspell.el (flyspell): Add to ispell group.
7022 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7024 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
7026 (mark-defun): Mark more if repeated.
7028 2002-02-17 Colin Walters <walters@verbum.org>
7030 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
7032 * ibuffer.el (ibuffer-truncate-lines): New option.
7033 (ibuffer-mode): Use it.
7035 2002-02-17 Kim F. Storm <storm@cua.dk>
7037 * cus-start.el: Add mouse-highlight.
7039 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
7041 * Makefile.in (DONTCOMPILE): Remove cus-start.el.
7043 * cus-start.el: Add automatic-hscroll-margin and
7044 automatic-hscroll-step.
7046 2002-02-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7048 * cus-start.el (x-autoselect-window): Allow customization.
7050 * eshell/em-alias.el (eshell-alias-initialize): Do not use
7053 * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
7055 * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
7057 * eshell/em-glob.el (eshell-glob-initialize): Likewise.
7059 * eshell/em-hist.el (eshell-hist-initialize): Likewise.
7061 * eshell/em-pred.el (eshell-pred-initialize): Likewise.
7063 * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
7065 * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
7067 * eshell/em-smart.el (eshell-smart-initialize): Likewise.
7069 * eshell/em-unix.el (eshell-unix-initialize): Likewise.
7071 * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
7073 * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
7075 * eshell/esh-io.el (eshell-io-initialize): Likewise.
7077 * eshell/esh-mode.el (eshell-mode): Likewise.
7079 * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
7081 * eshell/esh-var.el (eshell-var-initialize): Likewise.
7083 * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
7085 * progmodes/idlwave.el (idlwave-mode): Likewise.
7087 * textmodes/reftex-sel.el (reftex-select-label-mode)
7088 (reftex-select-bib-mode): Likewise.
7090 2002-02-16 John Wiegley <johnw@gnu.org>
7092 * eshell/em-hist.el (eshell-hist-initialize): When in the
7093 minibuffer, use the global value of `eshell-history-ring', and
7094 never save it to disk, or ask to save it to disk. This allows
7095 users of session.el to control whether its global state should be
7097 (eshell-add-command-to-history): Don't write Eshell's history out
7098 to disk, let the governing mode control that upon exit.
7100 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
7102 * eshell/eshell.el (eshell-command): Before reading from the
7103 minibuffer, add eshell-add-command-to-history to
7104 minibuffer-exit-hook, and remove it after read-from-minibuffer
7107 * eshell/em-hist.el (eshell-add-input-to-history): New function,
7108 with most of the code from eshell-add-to-history.
7109 (eshell-add-command-to-history): New function, to record in
7110 eshell-history the commands run via eshell-command.
7111 (eshell-add-to-history): Call eshell-add-command-to-history to do
7114 2002-02-16 John Wiegley <johnw@gnu.org>
7116 * eshell/esh-ext.el (eshell-external-command): Added a fix for
7117 XEmacs' new dired.el, which adds a global entry in the
7118 `file-name-handler-alist'.
7120 2002-02-16 John Wiegley <johnw@gnu.org>
7122 * align.el (align-region): Added a missing name argument.
7124 2002-02-16 John Wiegley <johnw@gnu.org>
7126 * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
7127 after the #! of a shell interpretor specification.
7129 2002-02-15 Richard M. Stallman <rms@gnu.org>
7131 * help.el (describe-key-briefly): Make output in INSERT case
7132 look just like what is displayed in the normal case.
7134 2002-02-15 Andreas Schwab <schwab@suse.de>
7136 * textmodes/tex-mode.el (tex-font-lock-keywords-2):
7137 Require non-letter after specials.
7139 2002-02-15 Eli Zaretskii <eliz@is.elta.co.il>
7141 * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
7143 2002-02-15 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7145 * simple.el (mark-word): Mark more if repeated.
7146 * textmodes/paragraphs.el (mark-paragraph): Ditto.
7147 (mark-end-of-sentence): Ditto.
7149 2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
7151 * wid-edit.el (widgetp): Made it more robust.
7153 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
7155 * facemenu.el (describe-text-done): New function.
7156 (describe-text-mode-map): New variable.
7157 (describe-text-mode-hook): New option.
7158 (describe-text-mode): New function.
7159 (describe-text-widget): New function.
7160 (describe-text-sexp): New function.
7161 (describe-text-properties): New function.
7162 (describe-text-category): New command.
7163 (describe-text-at): New command.
7164 (facemenu-menu): Replace `list-text-properties-at' with
7165 `describe-text-at' in the menu.
7167 * wid-edit.el (widgetp): New function.
7168 * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
7170 * emacs-lisp/pp.el (pp-to-string): Autoloaded.
7172 * wid-browse.el: Removed version and x-url keywords.
7174 2002-02-13 Kim F. Storm <storm@cua.dk>
7176 * cus-start.el (mode-line-in-non-selected-windows):
7177 Allow customization.
7179 2002-02-13 Richard M. Stallman <rms@gnu.org>
7181 * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
7182 Tell bibtex-parse-keys to output no progress messages.
7184 2002-02-12 Eli Zaretskii <eliz@is.elta.co.il>
7186 * progmodes/pascal.el (pascal-imenu-generic-expression):
7187 Add menu-title and fix parentheses.
7189 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
7191 * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
7192 (menu-bar-options-menu): Don't set default value for `truncate-lines'.
7194 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
7196 * menu-bar.el (menu-bar-options-save): Only save
7197 `current-language-environment' and `default-input-method' when
7198 marked as customized.
7200 * international/mule-cmds.el
7201 (setup-specified-language-environment):
7202 Mark `current-language-environment' as customized.
7203 (set-input-method): Mark `default-input-method' as customized when
7204 called interactively.
7205 (toggle-input-method): Ditto.
7207 2002-02-11 Colin Walters <walters@verbum.org>
7209 * ibuffer.el (ibuffer-switch-format): Supply required argument for
7210 `ibuffer-current-formats'.
7212 2002-02-11 Miles Bader <miles@gnu.org>
7214 * faces.el (mode-line-inactive): Add dark-background variant.
7216 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
7218 * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
7219 * menu-bar.el (menu-bar-mode): Ditto.
7220 * cus-edit.el (customize-mark-to-save): Always save variables
7221 without a standard value.
7223 * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
7224 (menu-bar-options-save): Ditto.
7225 (menu-bar-showhide-menu): Ditto.
7226 (menu-bar-options-menu): Ditto.
7227 (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
7228 (menu-bar-scroll-bar-none): Remove.
7229 (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
7230 expressions instead.
7232 * cus-edit.el (customize-set-value): Return value.
7233 (customize-set-variable): Ditto.
7234 (customize-save-variable): Ditto.
7235 (customize-set-variable): Load dependencies before setting value.
7236 (custom-load-symbol): Autoload it.
7237 (customize-mark-as-set): New function.
7239 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
7241 * cus-start.el: Don't warn about "x-*" symbols when building a
7244 2002-02-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7246 * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
7248 (strokes-help): Do not use doubled with-output-to-temp-buffer.
7249 Fix the help string.
7250 (strokes-prompt-user-save-strokes): Fix typo.
7251 (strokes-list-strokes): Use proper exit-action argument for
7252 view-buffer. Update copyright notice.
7254 * international/mule-diag.el: Various doc and message fixes.
7255 (non-iso-charset-alist): Add mac-roman. Don't add entries for
7256 codepages already present.
7257 (list-block-of-chars): Display space for null entries in
7258 translation table. Display tab specially.
7259 (list-non-iso-charset-chars): Check for null charsets. Use pop
7260 for clarity. Don't break 8-bit sets into sections between ranges.
7261 (list-charset-chars): Avoid indent-tabs-mode.
7262 (describe-char-after): Maybe use the text property for syntax
7263 table information. Maybe report char-code-property-table info.
7264 Maybe report character's unicode. Tweak printing of list info.
7265 (list-input-methods): Add xref buttons.
7266 (dump-charsets, dump-codings): Deleted (obsolete).
7267 From Dave Love <fx@gnu.org>.
7269 2002-02-10 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7271 * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
7273 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
7275 * viper-util.el (viper-read-key-sequence): Fix so it'll read
7276 fast key sequences in emacs native mode
7277 (viper-events-to-keys): Delete.
7279 * viper.el (describe-key, describe-key-briefly): Get rid of
7280 viper-events-to-keys.
7282 * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
7284 * ediff-wind.el (ediff-setup-control-frame):
7285 Use ediff-has-gutter-support.
7287 * ediff-util.el (ediff-dispose-of-variant-according-to-user):
7288 check if buff is alive.
7290 * ediff.el: Typo in comment.
7292 2002-02-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7294 * menu-bar.el (menu-bar-options-save): Take care of
7295 line-number-mode and column-number-mode variables.
7296 (menu-bar-showhide-menu): New menu-items "Show Line Number" and
7297 "Show Column Number" in "Show/Hide" menu.
7299 2002-02-09 Richard M. Stallman <rms@gnu.org>
7301 * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
7303 2002-02-09 Kim F. Storm <storm@cua.dk>
7305 * faces.el (mode-line-inactive): New face for mode-line for
7306 non-selected windows.
7307 (mode-line): Doc fix: Only used for selected window.
7309 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7311 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
7312 name to "Insert Diary Entry".
7314 2002-02-08 Stefan Monnier <monnier@cs.yale.edu>
7316 * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
7317 (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
7319 2002-02-08 Richard M. Stallman <rms@gnu.org>
7321 * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
7323 2002-02-08 Andreas Schwab <schwab@suse.de>
7325 * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
7328 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7330 * net/ange-ftp.el (ange-ftp-process-handle-line)
7331 (ange-ftp-set-xfer-size): If the file's size is a float, divide
7332 by 1024 instead of using ash.
7334 * international/mule-cmds.el (select-safe-coding-system):
7335 State the buffer's name in the message popped in the *Warning* buffer,
7336 and make sure the offending buffer is displayed.
7338 2002-02-07 Markus Rost <rost@math.ohio-state.edu>
7340 * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
7342 2002-02-07 Richard M. Stallman <rms@gnu.org>
7344 * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
7346 * register.el (list-registers): New command.
7347 (describe-register-1): New subroutine, taken out of view-register.
7349 * emacs-lisp/copyright.el (copyright-regexp):
7350 Delete the unibyte copyright symbol; it's redundant.
7351 Fix a spazz in the multibyte encoding here.
7353 2002-02-07 Dave Love <fx@gnu.org>
7355 * language/cyril-util.el (cyrillic-encode-koi8-r-char)
7356 (cyrillic-encode-alternativnyj-char): Get translation tables from
7357 symbol properties, not as variables.
7358 (standard-display-cyrillic-translit): Include unicodes.
7360 2002-02-06 Kim F. Storm <storm@cua.dk>
7362 * help.el (where-is): Report remapped commands.
7364 * help-fns.el (describe-function-1): Ditto.
7366 * subr.el (global-set-key, local-set-key): Accept a symbol for the
7367 KEY argument (like define-key).
7369 2002-02-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7371 * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
7373 2002-02-06 Richard M. Stallman <rms@gnu.org>
7375 * mail/mailabbrev.el: Require sendmail only at compile time.
7376 (mail-mode-header-syntax-table): Var deleted.
7377 (mail-abbrev-syntax-table): Init to nil, will compute when needed.
7378 (sendmail-pre-abbrev-expand-hook): Only temporarily change
7379 local-abbrev-table and the syntax table.
7380 Compute mail-abbrev-syntax-table if that has not been done.
7382 * progmodes/compile.el (grep-compute-defaults): Definition moved up.
7384 * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
7385 (debugger-frame-number): Figure out the offset directly.
7386 (debugger-setup-buffer): Don't use debugger-frame-offset.
7387 (debugger-frame, debugger-frame-clear): Likewise.
7388 (debugger-jump): Don't alter debugger-frame-offset.
7390 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
7391 Replace foo-p as var name with foo-flag, not foo-p-flag.
7393 * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
7394 (highlight-changes-passive-string): Default to -Chg.
7395 (highlight-changes-global-modes): Doc fix.
7397 * dired.el (dired-get-filename): Add /: when appropriate
7398 to avoid taking a local name as remote.
7400 * files.el (file-name-non-special): Add special handling for
7401 file-name-sans-versions, file-name-completion, and
7402 file-name-all-completions.
7404 * isearch.el (isearch-update): Don't update display in kbd macro.
7405 (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
7407 * subr.el (force-mode-line-update): Doc fix.
7409 * subr.el (atomic-change-group, prepare-change-group)
7410 (activate-change-group, accept-change-group, cancel-change-group):
7413 * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
7414 (transpose-subr-1): Use atomic-change-group.
7416 * subr.el (add-minor-mode): Include the mode's lighter string
7417 in the minor mode menu item name.
7419 * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
7420 rmail-count-screen-lines starting from (point-min).
7422 * startup.el (use-fancy-splash-screens-p): Need 19 lines,
7423 beyond the image height, to use the fancy splash screen.
7425 * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
7426 (text-mode): Set text-mode-variant here.
7428 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
7430 * play/pong.el (pong-height): Don't use height that exceeds the
7432 (pong-border-options): Make the border colors slightly more bright.
7434 * play/gamegrid.el (gamegrid-display-type): Treat any
7435 color-capable display as color-x, if display-color-p is fboundp.
7436 (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
7437 (gamegrid-make-color-tty-face): Use the value of color, not the
7438 symbol itself. Don't call gamegrid-color.
7440 2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
7442 * gud.el (gud-refresh): Call recenter only after we are sure we
7443 are in the right window.
7445 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
7447 * cus-edit.el (customize-mark-to-save): New function.
7448 * menu-bar.el (menu-bar-options-save): Rewrote.
7450 2002-02-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7452 * cus-start.el (x-use-underline-position-properties):
7453 Allow customization.
7455 2002-02-04 Simon Josefsson <jas@extundo.com>
7457 * dired.el (dired-load-hook, dired-mode-hook)
7458 (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
7460 2002-02-03 Colin Walters <walters@verbum.org>
7462 * ibuf-ext.el (ibuffer-filter-format-alist)
7463 (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
7465 * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
7466 is now the Emacs CVS tree.
7467 (ibuffer-formats): Doc fix.
7468 (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
7469 (ibuffer-current-format): Use them.
7470 (ibuffer-recompile-formats, ibuffer-check-formats)
7471 (ibuffer-switch-format, ibuffer-update-title):
7472 Add support for ibuffer-filter-format-alist.
7473 (define-ibuffer-column process): Remove unncessary consing.
7475 * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
7476 for a summary column.
7478 2002-02-03 Andreas Schwab <schwab@suse.de>
7480 * window.el (save-selected-window): Move macro before first use.
7481 (balance-windows): Fix misplaced parenthesis.
7483 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7485 * calculator.el (calculator-displayers): Doc fixes.
7487 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7489 * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
7490 (menu-bar-options-save): Save also the value of `display-time-mode'.
7491 (showhide-date-time): New function.
7492 (menu-bar-showhide-menu): New menu-item "Date and time".
7494 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
7496 * mail/rmail.el (rmail): Use find-buffer-visiting instead of
7497 get-file-buffer to check for rmail buffer existence.
7499 * term.el (term-emulate-terminal): Extract proper command string
7500 which is supplied to term-command-hook.
7502 2002-02-03 Richard M. Stallman <rms@gnu.org>
7504 * international/quail.el (quail-help): Don't call help-setup-xref.
7506 * international/mule-cmds.el (describe-input-method):
7507 Call help-setup-xref here.
7508 (describe-current-input-method): Doc fix.
7510 * novice.el (disabled-command-hook): Clarify output text.
7511 Indent the paragraph from the command's doc string.
7513 * dabbrev.el (dabbrev--goto-start-of-abbrev):
7514 Exit loop on beginning of field rather than bobp.
7516 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
7518 * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
7519 the message text into the *mail* buffer, and restore the pruned
7522 * mail/rmail.el (rmail-redecode-body): Prune the headers before
7523 looking for X-Coding-System header, and restore the pruned state
7526 2002-02-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7528 * cus-edit.el (customize-save-variable): Fix typo in prompt.
7530 These changes integrate new version of flyspell.el from its
7531 maintainer, Manuel Serrano:
7533 * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
7534 (flyspell-mode-on, flyspell-notify-misspell)
7535 (flyspell-small-region, flyspell-external-point-words)
7536 (flyspell-large-region): Use it
7537 (flyspell-before-incorrect-word-string)
7538 (flyspell-after-incorrect-word-string): New user options.
7539 (make-flyspell-overlay): Use them.
7540 (flyspell-version): New function.
7541 (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
7542 definitions to use :weight.
7543 (flyspell-insert-function): New user option.
7544 (flyspell-auto-correct-word, flyspell-correct-word)
7545 (flyspell-xemacs-correct): Use it.
7546 (flyspell-define-abbrev): New function.
7547 (flyspell-auto-correct-word, flyspell-correct-word)
7548 (flyspell-xemacs-correct): Use it.
7549 (make-flyspell-overlay): Use `evaporate' property.
7550 (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
7551 (flyspell-emacs-popup): Use `session' instead of `accept'.
7552 (flyspell-auto-correct-previous-pos): New variable.
7553 (flyspell-auto-correct-previous-hook)
7554 (flyspell-auto-correct-previous-word): New functions.
7556 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
7558 * novice.el (enable-command): If Emacs was invoked as "emacs -q",
7559 don't alter the user's ~/.emacs.
7560 (disable-command): If user-init-file is nil or does not exist,
7561 default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
7562 But don't alter the init file if Emacs was invoked as "emacs -q"
7564 2002-02-01 Stefan Monnier <monnier@cs.yale.edu>
7566 * mail/sendmail.el (mail-mode): Undo half of last change.
7568 * indent.el (indent-for-tab-command): Remove spurious code.
7570 * hi-lock.el (hi-lock-find-patterns): Save restriction.
7572 2002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
7574 * calendar/time-date.el: Moved from lisp/gnus.
7576 * calendar/parse-time.el: Ditto.
7578 2002-01-31 Richard M. Stallman <rms@gnu.org>
7580 * international/iso-acc.el (iso-languages): Fix ", " in French.
7582 * cus-start.el (history-length): Specify customization for it.
7584 * emacs-lisp/debug.el (debugger-setup-buffer):
7585 When an eval-buffer frame was reading from a buffer,
7586 insert indication of the buffer position.
7587 (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
7588 (debugger-frame-clear, debugger-frame): Error on non-frame line.
7590 * simple.el (shell-command-on-region): Err if no mark
7591 before reading the command string.
7593 * hl-line.el (hl-line-highlight, hl-line-unhighlight):
7594 Definitions moved down after hl-line-mode var's definition.
7596 * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
7597 (hilit-chg-set-face-on-change): Rename arg.
7598 (hilit-chg-make-ov): Detect error earlier.
7600 * ediff-hook.el: Delete autoload cookies.
7602 * comint.el (comint-scroll-show-maximum-output): Default is t.
7604 * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
7605 (batch-byte-compile-if-not-done): New function.
7607 * Makefile.in (compile): New target.
7608 (compile-always): Renamed from compile-files.
7609 (compile-after-backup): Renamed from compile.
7610 (bootstrap): Depend on compile-always, not compile-files.
7612 * emulation/pc-select.el (pc-select-save-and-set-mode):
7613 Properly use MODE-VAR.
7615 2002-01-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7617 * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
7618 Version" to "About Emacs".
7619 (menu-bar-options-save): Add `default-frame-alist'
7621 (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
7622 of the variable `scroll-bar-mode'.
7624 * startup.el (normal-splash-screen, display-splash-screen):
7625 New functions (separated from command-line-1).
7626 (command-line-1): Use them.
7628 2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
7630 * calendar/calendar.el (generate-calendar-month): Doc fix.
7632 2002-01-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7634 * time.el (display-time-mail-directory): New option.
7635 (display-time-mail-function): Update doc-string.
7636 (display-time-mail-icon): Use XPM image when available.
7637 (display-time-string-forms): Use more descriptive text as
7639 (display-time-mail-check-directory): New function.
7640 (display-time-update): Use it.
7642 * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
7643 Quote `window-system'.
7645 * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
7646 Add Keywords header. Update Commentary section.
7647 Update copyright notice.
7649 * menu-bar.el (menu-bar-scroll-bar-right)
7650 (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
7651 (showhide-menu-bar): New functions.
7652 (menu-bar-showhide-menu): New submenu "Show/Hide".
7653 (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
7655 Update copyright notice.
7657 2002-01-27 Eli Zaretskii <eliz@is.elta.co.il>
7659 * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
7661 2002-01-26 Evgeny Roubinchtein <evgenyr@cs.washington.edu>
7663 * pc-select.el (pc-selection-mode-hook)
7664 (pc-select-saved-settings-alist, pc-select-map)
7665 (pc-select-saved-global-map, pc-select-key-bindings-alist)
7666 (pc-select-default-key-bindings, pc-select-extra-key-bindings)
7667 (pc-select-meta-moves-sexps-key-bindings)
7668 (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
7670 (pc-select-define-keys, pc-select-restore-keys): New functions.
7671 (pc-select-add-to-alist, pc-select-save-and-set-var)
7672 (pc-select-save-and-set-mode, pc-select-restore-var)
7673 (pc-select-restore-mode): New macros.
7674 (pc-selection-mode): Completely rewrote the body of the function;
7675 the main goal was to make pc-selection-mode "turn-off"-able, like
7676 other minor modes. Use define-minore-mode instead of just a
7677 defun. Store the key bindings into four alists:
7678 pc-select-default-key-bindings, pc-select-extra-key-bindings,
7679 pc-select-meta-moves-sexps-key-bindings, and
7680 pc-select-tty-key-bindings; then have the pc-select-define-keys
7681 function walk those alists instead of calling define-key
7682 repeatedly. When the mode is turned on, set the
7683 keybindings in global-map and remember the old keybindings; when
7684 the mode is turned off, restore the previously-saved keybindings.
7685 (pc-selection-mode defcustom): Reflect the fact that the mode is
7686 now "turn-off"-able.
7688 2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
7690 * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
7691 returns t, don't treat that as an error.
7693 2002-01-25 Jason Rumney <jasonr@gnu.org>
7695 * faces.el (face-font-registry-alternatives) [windows-nt]:
7696 Add ms-oemlatin as an alternative for iso8859-1.
7698 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
7700 * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
7701 args and the absence of an entry. Don't add -f each time.
7703 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
7705 * emacs-lisp/cl-seq.el (mismatch): Doc fix.
7707 Support for more than 8 colors on character terminals:
7709 * term/rxvt.el: New file.
7711 * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
7713 * term/xterm.el (xterm-standard-colors): New variable.
7714 (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
7715 (xterm-rxvt-set-background-mode): New functions.
7716 (toplevel): Call xterm-register-default-colors,
7717 xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
7718 Add support for more keys from xterm's terminfo entry.
7720 * facemenu.el (list-colors-display): If the argument is nil, don't
7721 show more colors that the number returned by display-color-cells.
7723 * term/pc-win.el (msdos-color-values): Reverse the order of the
7724 colors, since tty-color-define now preserves the registration order.
7726 * w32-fns.el (w32-tty-standard-colors): Reverse the order.
7728 * term/tty-colors.el (tty-standard-colors): Reverse the order.
7729 (tty-register-default-colors): New function; code moved from
7730 startup.el's command-line.
7731 (tty-modify-color-alist): Use nconc instead of cons, to preserve
7732 the order the colors where registered.
7734 * frame.el (display-color-cells): Use tty-display-color-cells.
7736 * startup.el (command-line): Call tty-register-default-colors.
7738 2002-01-25 Richard M. Stallman <rms@gnu.org>
7740 * subr.el (remove): Doc fix.
7742 2002-01-24 Richard M. Stallman <rms@gnu.org>
7744 * progmodes/compile.el (compilation-handle-exit):
7745 Add a compilation-handle-exit property to the "finished" message.
7746 (compilation-parse-errors): Stop parsing when that property is seen.
7748 * subr.el (substring-no-properties): New function.
7749 (copy-without-properties): Function deleted.
7751 * term/x-win.el (x-handle-geometry): Put sizes on both
7752 initial-frame-alist and default-frame-alist.
7754 * cus-edit.el (custom-save-all): Bind file-precious-flag to t
7757 * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
7759 * calendar/calendar.el (generate-calendar-month): Doc fix.
7761 2002-01-23 Richard M. Stallman <rms@gnu.org>
7763 * play/tetris.el (tetris): New defgroup.
7764 (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
7765 (tetris-default-tick-period): Convert to defcustom.
7766 Added * in docstring to indicate user variable.
7767 (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
7768 (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
7769 (tetris-buffer-height, tetris-width, tetris-height)
7770 (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
7772 2002-01-22 Stefan Monnier <monnier@cs.yale.edu>
7774 * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
7775 and is already matched by adaptive-fill-regexp.
7777 2002-01-22 Richard M. Stallman <rms@gnu.org>
7779 * bindings.el (mode-line-copied-mode-name): New variable.
7780 (mode-line-mode-name): Don't modify mode-name itself!
7781 Instead, make a copy and reuse it.
7783 * subr.el (copy-without-properties): New function.
7785 * progmodes/sh-script.el (sh-set-shell): Doc fix.
7787 * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
7788 slash if DIR is just slash.
7790 * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
7792 2002-01-21 Richard M. Stallman <rms@gnu.org>
7794 * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
7796 * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
7799 * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
7801 * ibuffer.el: Don't require ibuf-ext at load time.
7802 (ibuffer): Require ibuf-ext here.
7804 2002-01-21 Francesco Potorti` <pot@gnu.org>
7806 * generic-x.el (apache-conf-generic-mode): Highlight the first
7807 word in a line even if preceded by blanks.
7809 2002-01-21 Richard M. Stallman <rms@gnu.org>
7811 * window.el (window-body-height): Handle minibuffer window specially.
7812 Otherwise, don't return less than 1.
7814 2002-01-20 Thomas Dorner <Thomas.Dorner@start.de>
7816 * ange-ftp.el: Added support for BS2000, and for raw ftp
7817 login commands (needed in some circumstances).
7818 (ange-ftp-raw-login): New custom var.
7819 (ange-ftp-normal-login): Perform login with raw ftp commands, if
7820 ange-ftp-raw-login is set and account password is needed.
7821 (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
7822 (ange-ftp-bs2000-filename-pubset-regexp)
7823 (ange-ftp-bs2000-filename-username-regexp)
7824 (ange-ftp-bs2000-filename-prefix-regexp)
7825 (ange-ftp-bs2000-name-template): New consts.
7826 (ange-ftp-bs2000-short-filename-regexp)
7827 (ange-ftp-bs2000-fix-name-regexp-reverse)
7828 (ange-ftp-bs2000-fix-name-regexp): New consts.
7829 (ange-ftp-bs2000-special-prefix): New custom var.
7830 (ange-ftp-fix-name-for-bs2000)
7831 (ange-ftp-fix-dir-name-for-bs2000): New funs.
7832 (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
7833 (ange-ftp-bs2000-posix-hook-installed): New vars.
7834 (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
7835 (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
7836 (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
7837 (ange-ftp-bs2000-filename-regexp): New const.
7838 (ange-ftp-bs2000-additional-pubsets): New custom var.
7839 (ange-ftp-bs2000-cd-to-posix): New fun.
7841 2002-01-20 Colin Walters <walters@verbum.org>
7843 * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
7844 with `byte-compile-dynamic'.
7845 (ibuffer-default-directory, toplevel): Doc files.
7847 2002-01-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7849 * tempo.el (tempo-define-template): Doc fix.
7851 * scroll-bar.el (scroll-bar-mode): Make argument optional.
7853 2002-01-20 Jason Rumney <jasonr@gnu.org>
7855 * w32-vars.el: New file.
7857 * loadup.el [windows-nt]: Load it.
7859 * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
7860 and make them defcustoms.
7862 * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
7864 2002-01-19 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7866 * language/tibet-util.el (tibetan-decompose-region)
7867 (tibetan-decompose-string): Fix typo in docstring.
7869 * ruler-mode.el (ruler-mode): New keyword. Fix :version.
7871 2002-01-18 Richard M. Stallman <rms@gnu.org>
7873 * comint.el (comint-redirect-send-command-to-process):
7874 Restore previous current buffer.
7876 * window.el (window-body-height): New function.
7878 2002-01-18 Zoltan Kemenczy <kemenczy@rogers.com>
7880 * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
7881 "Finish Function" menu map entries for jdb mode.
7882 (gud-jdb-use-classpath): New customization variable.
7883 (gud-jdb-command-name): Add customization.
7884 (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
7885 (gud-jdb-classpath-string): New variable.
7886 (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
7887 (gud-jdb-build-source-files-list): Likewise.
7888 (gud-jdb-massage-args): Record any command argument classpath
7889 string in `gud-jdb-classpath-string'.
7890 (gud-jdb-lowest-stack-level): New function, finds bottom of current
7891 java call stack in jdb output.
7892 (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
7893 (gud-jdb-parse-classpath-string): New functions.
7894 (gud-jdb-marker-filter): Search/detect classpath information in
7895 jdb's output. marker regexp updated to match oldjdb and jdb output
7896 formats. Expand search for source files to include new/old methods
7897 using new functions above. Do not allow `gud-marker-acc' to grow
7899 (jdb): Set classpath information (if available) as jdb is started.
7900 Change `gud-break' and `gud-remove'
7901 to use new %c ("class") escape in format strings.
7902 Add `gud-finish', `gud-up', `gud-down' command string functions, and
7903 add them to the local menu map. Update `comint-prompt-regexp' for
7904 jdb and oldjdb. If attaching to an already running java VM and
7905 configured to use classpath, send command to query for classpath,
7906 else use previous method for finding and parsing java
7907 sources. Set `gud-jdb-find-source' function accordingly.
7908 (gud-mode): Doc fix.
7909 (gud-format-command): Add support for new %c ("class") escape.
7910 (gud-find-class): New function in support of %c escape.
7912 2002-01-17 Richard M. Stallman <rms@gnu.org>
7914 * ibuf-ext.el: Enable byte-compile-dynamic.
7916 2002-01-17 Jason Rumney <jasonr@gnu.org>
7918 * term/w32-win.el: Restore conditional require of fontset.
7920 2002-01-16 Richard M. Stallman <rms@gnu.org>
7922 * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
7924 (mouse-drag-region): New function. For a click in the echo area,
7927 * ibuf-ext.el: Delete the autoloads for functions defined with
7928 ibuffer-specific commands.
7930 * help.el (describe-distribution): Really call view-file.
7932 * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
7933 (ange-ftp-get-process): Pass that arg.
7935 * comint.el (comint-simple-send): Fix previous change.
7937 * net/telnet.el (telnet-simple-send): Fix previous change.
7939 * progmodes/sql.el (sql-escape-newlines-and-send)
7940 (sql-query-placeholders-and-send): Fix previous change.
7942 2002-01-16 Colin Walters <walters@verbum.org>
7944 * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
7945 URL, Compatibility headers. Update copyright notice.
7946 * ibuf-macs.el (toplevel): Require `cl' when compiling.
7948 2002-01-16 Andrew Choi <akochoi@cse.cuhk.edu.hk>
7950 * startup.el (command-line): Set EOL mnemonics for the Mac.
7952 2002-01-16 Andreas Schwab <schwab@suse.de>
7954 * mail/feedmail.el (feedmail): Fix :link spec.
7956 2002-01-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7958 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
7961 * net/eudc.el: New maintainer. Change author's address.
7962 (eudc-pre-select-window-configuration, eudc-insertion-marker):
7964 (eudc-insert-selected): Function removed.
7965 (eudc-select): Reimplemented.
7966 (eudc-expand-inline): Delete the strings only after its expansion
7967 is chosen not before.
7969 * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
7970 Minor coding style fixes.
7972 * net/eudcb-ldap.el: New maintainer. Change author's address.
7973 (eudc-attribute-display-method-alist): Display mail with
7976 * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
7977 * net/eudc-vars.el: New maintainer. Change author's address.
7979 * net/eudc-bob.el: New maintainer. Change author's address.
7980 (eudc-bob-mail-keymap): New keymap for e-mail addresses.
7981 (eudc-display-mail): New function.
7982 (eudc-bob-play-sound-at-point): Remove XEmacs case.
7984 2002-01-15 Richard M. Stallman <rms@gnu.org>
7986 * emacs-lisp/autoload.el (make-autoload):
7987 Don't handle define-ibuffer-column, define-ibuffer-filter,
7988 define-ibuffer-sorter, and define-ibuffer-op.
7990 2002-01-14 Richard M. Stallman <rms@gnu.org>
7992 * calendar/calendar.el (diary-date-forms): Doc fix.
7994 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
7996 * startup.el (command-line): Register the default tty colors even
7997 if the terminal doesn't seem to support colors.
7998 <tty-long-option-alist>: New option --color.
7999 (tty-handle-args): Parse the --color arg.
8001 * term/tty-colors.el (tty-color-mode-alist): New variable.
8003 2002-01-14 Stefan Monnier <monnier@cs.yale.edu>
8005 * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
8006 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
8008 (ange-ftp-hook-function): Preserve match-data.
8009 (ange-ftp-insert-directory): Typo.
8010 (ange-ftp-shell-command): Check if regexp matched.
8012 2002-01-13 Richard M. Stallman <rms@gnu.org>
8014 * international/mule-cmds.el: help-map bindings moved to help.el.
8016 * help.el (view-echo-area-messages): New function.
8017 (help-map): Add `e' binding. Delete obsolete `d' binding.
8018 Change old Info bindings C-f, C-k and C-i to F, K, S.
8019 Move view-emacs-FAQ from F to C-f.
8020 Move view-emacs-problems from P to C-e.
8021 Bindings moved here from mule-cmds.el.
8022 C-l binding for describe-language-environment deleted
8023 (help-for-help): Update for all these changes.
8025 * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
8027 2002-01-13 Dave Love <fx@gnu.org>
8029 * emacs-lisp/copyright.el: Doc fixes.
8030 (copyright-regexp): Add Latin-9 copyright sign.
8031 Match comment delimiters in year lists.
8032 (copyright-current-year): Initialize to load-time year.
8034 2002-01-13 Andreas Schwab <schwab@suse.de>
8036 * dired-aux.el (dired-do-shell-command): Doc fix.
8038 2002-01-13 Jan Djarv <Jan.Djarv@mbox200.swipnet.se>
8040 * startup.el (command-line-x-option-alist): New options "-fs",
8041 "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
8043 * term/x-win.el (x-handle-initial-switch): New function.
8045 2002-01-13 Colin Walters <walters@debian.org>
8047 * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
8048 define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
8050 * emacs-lisp/lisp-mode.el (toplevel): Ditto.
8052 * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
8054 2002-01-12 Richard M. Stallman <rms@gnu.org>
8056 * net/browse-url.el (browse-url-grail):
8057 Use browse-url-maybe-new-window.
8059 * net/telnet.el (telnet-simple-send):
8060 Handle comint-input-sender-no-newline like comint-simple-send.
8062 * progmodes/sql.el (sql-query-placeholders-and-send):
8063 Handle comint-input-sender-no-newline like comint-simple-send.
8064 (sql-escape-newlines-and-send): Likewise.
8066 * comint.el (comint-input-sender): Doc fix.
8067 (comint-input-sender-no-newline): New variable.
8068 (comint-simple-send): If comint-input-sender-no-newline,
8069 don't output newline, but maybe send eof.
8070 (comint-send-input): New arg NO-NEWLINE.
8071 (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
8073 2002-01-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8075 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8076 Prevent delaying when executing keyboard macros.
8078 2002-01-12 Richard M. Stallman <rms@gnu.org>
8080 * simple.el (line-move): If we can't move enough lines,
8081 go to beginning or end of line.
8083 * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
8086 * help.el (describe-mode): Call help-setup-xref in the help buffer.
8087 Switch buffers only after calling `help-buffer'.
8089 * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
8090 only when they are surrounded by whitespace.
8091 Use dired-mark-separator when adding one file name to a command.
8092 (dired-do-shell-command): Verify that * is surrounded by whitespace.
8093 Ask for confirmation if * or ? is not surrounded by whitespace.
8094 (dired-bunch-files): Re-reverse the partial file list when it is used.
8096 2002-01-12 Richard M. Stallman <rms@gnu.org>
8098 * comint.el (comint-dynamic-list-completions): Repeating the command
8099 after displaying a completion list scrolls the list.
8101 2002-01-12 Eli Zaretskii <eliz@is.elta.co.il>
8103 * files.el (find-file-noselect): Don't consider a buffer as
8104 visiting a file literally if it is in hexl-mode.
8106 * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
8108 2002-01-11 Richard M. Stallman <rms@gnu.org>
8110 * startup.el (initial-scratch-message): Fix custom type, add group.
8112 * mail/rmail.el (rmail-decode-babyl-format): Disable undo
8113 around the decode-coding-region call.
8115 * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
8116 after displaying a completion list scrolls the list.
8118 2002-01-11 Eli Zaretskii <eliz@is.elta.co.il>
8120 * version.el (emacs-version): Bump to 21.2.50.
8122 2002-01-10 Thien-Thi Nguyen <ttn@giblet.glug.org>
8124 * play/zone.el (zone-timeout): New var.
8125 (zone-hiding-modeline): New macro.
8126 (zone-call): New func.
8128 (zone): Init `modeline-hidden-level' symbol property.
8129 Use `zone-call' instead of `funcall'.
8131 (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
8133 (zone-pgm-stress): Use `zone-hiding-modeline'.
8135 (zone-pgm-stress-destress): New zone program.
8137 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
8139 * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
8141 2002-01-09 Richard M. Stallman <rms@gnu.org>
8143 * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
8145 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
8147 * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
8150 2002-01-08 Richard M. Stallman <rms@gnu.org>
8152 * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
8154 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
8156 * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
8158 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8160 * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
8161 Do not use make-local-hook.
8163 2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
8165 * international/quail.el (quail-start-translation)
8166 (quail-start-conversion): Bind last-command-event, last-command,
8167 and this-command in the first let. This fixes the change from
8170 2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
8172 * ediff-hook.el: Add an autoload cookie.
8174 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8176 * net/eudcb-ph.el, net/ldap.el: New maintainer. New e-mail
8177 address of the author.
8179 2002-01-08 Richard M. Stallman <rms@gnu.org>
8181 * replace.el (occur-mode-goto-occurrence-other-window): New command.
8182 (occur-mode-map): Bind `o' to that.
8184 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
8186 * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
8187 new macro that replaces viper-emacs-p and viper-xemacs-p in many
8188 cases. Used to reduce the number of warnings.
8190 * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
8191 (viper-standard-value): Move here from viper.el.
8192 (viper-set-unread-command-events): Move to viper-util.el
8193 (viper-check-minibuffer-overlay): Make sure
8194 viper-minibuffer-overlay is moved to cover the entire input field.
8196 * viper-util.el: use viper-cond-compile-for-xemacs-or-emacs.
8197 (viper-read-key-sequence, viper-set-unread-command-events)
8198 (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
8200 * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
8202 * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
8204 * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
8206 * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
8207 (viper-event-vector-p): Move to viper-util.el
8209 * viper.el (viper-standard-value): Move to viper-cmd.el.
8210 Use viper-cond-compile-for-xemacs-or-emacs.
8212 * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8214 * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8216 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
8217 New macro designed to be used in many places where ediff-emacs-p or
8218 ediff-xemacs-p was previously used. Reduces the number of warnings.
8219 Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
8221 (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
8222 (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
8223 (ediff-whitespace-diff-region-p, ediff-get-region-contents):
8224 Move to ediff-util.el.
8225 (ediff-event-key): Moved here.
8227 * ediff-merge.el: Got rid of unreferenced variables.
8229 * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8231 * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8232 (ediff-cleanup-mess): Improve the way windows are set up after
8234 (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
8235 (ediff-dispose-of-variant-according-to-user): New function
8236 designed to be smarter and also understands indirect buffers.
8237 (ediff-highlight-diff-in-one-buffer)
8238 (ediff-unhighlight-diff-in-one-buffer)
8239 (ediff-unhighlight-diffs-totally-in-one-buffer)
8240 (ediff-highlight-diff, ediff-highlight-diff)
8241 (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
8242 (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
8243 (ediff-get-region-contents, ediff-make-current-diff-overlay):
8245 (ediff-format-bindings-of): New function by Hannu Koivisto
8247 (ediff-setup): Make sure the merge buffer is always widened and
8249 (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
8250 result of a merge into a file visited by another buffer.
8251 (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
8252 is visited by another buffer and ask to save/delete that buffer.
8253 (ediff-verify-file-merge-buffer): New function to do the above.
8255 * ediff-vers.el: Load ediff-init.el at compile time.
8257 * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8259 * ediff.el (ediff-windows, ediff-regions-wordwise)
8260 (ediff-regions-linewise): Use indirect buffers to improve
8261 robustness and make it possible to compare regions of the same
8262 buffer (even overlapping regions).
8263 (ediff-clone-buffer-for-region-comparison)
8264 (ediff-clone-buffer-for-window-comparison): New functions.
8265 (ediff-files-internal): Refuse to compare identical files.
8266 (ediff-regions-internal): Get rid of the warning about comparing
8267 regions of the same buffer.
8269 * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
8270 Plus the following fixes courtesy of Dave Love: Doc fixes.
8271 (ediff-word-1): Use word class and move - to the
8272 front per regexp documentation.
8273 (ediff-wordify): Bind forward-word-function outside loop.
8274 (ediff-copy-to-buffer): Use insert-buffer-substring rather than
8275 consing buffer contents.
8276 (ediff-goto-word): Move syntax table setting outside loop.
8278 2002-01-07 Richard M. Stallman <rms@gnu.org>
8280 * dired.el (dired-copy-filename-as-kill): Call kill-append
8281 if following a kill command.
8283 * help-fns.el (describe-variable, describe-function):
8286 2002-01-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8288 * net/ldap.el (ldap-search-internal): Skip error message from
8289 ldapsearch. Allow listing attribute names only. Do not open
8292 * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
8293 call non-existent function.
8295 * net/eudc.el (top-level): Revert previous change.
8297 * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
8298 variables to prevent warning from byte-compiler.
8300 * net/eudc.el (top-level): Use eudc-xemacs-p instead of
8301 string-match on emacs-version again.
8303 * enriched.el (enriched-make-annotation): Fix the change from
8305 (enriched-handle-display-prop): Return proper values.
8307 * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
8308 Use proper attribute name labeledUri instead of deprecated labeledUrl.
8310 2002-01-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8312 * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
8313 editing an empty hotlist.
8315 * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
8316 Use buffer-string instead of buffer-substring for the whole buffer.
8318 * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
8321 * net/eudc-bob.el (eudc-bob-can-display-inline-images)
8322 (eudc-bob-display-jpeg): Use fboundp instead of boundp.
8323 (eudc-bob-save-object): Make the buffer unibyte.
8324 (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
8325 object to external program.
8327 2002-01-05 Andre Spiegel <spiegel@gnu.org>
8329 * vc.el (vc-branch-part): Return nil if there's no `.'
8330 (vc-default-previous-version): Renamed from vc-previous-version.
8331 New args BACKEND and FILE. Return nil for revision numbers
8333 (vc-version-diff): Call vc-BACKEND-previous-version.
8334 (vc-steal-lock): Steal lock before composing mail, so that no mail
8335 is sent when the stealing goes wrong. And we'll actually see the
8336 error in that case now.
8337 (vc-finish-steal): Removed.
8339 * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
8340 the lock, so that we see expanded headers.
8341 (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
8342 (vc-rcs-minor-part, vc-rcs-previous-version): Removed. These are
8343 available from vc.el. Updated all callers.
8345 2002-01-05 Richard M. Stallman <rms@gnu.org>
8347 * enriched.el (enriched-make-annotation): Doc fix.
8349 * format.el (format-replace-strings, format-subtract-regions)
8350 (format-annotate-region, format-annotate-location)
8351 (format-annotate-atomic-property-change)
8352 (format-annotate-single-property-change): Doc fixes.
8354 2002-01-05 Jason Rumney <jasonr@gnu.org>
8356 * term/w32-win.el: Require fontset unconditionally.
8357 (w32-handle-scroll-bar-event): Remove.
8359 2002-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8361 * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
8362 copyrights to be updated.
8364 2002-01-04 Eli Zaretskii <eliz@is.elta.co.il>
8366 * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
8369 * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
8371 2002-01-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8373 * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
8374 (ldap-ignore-attribute-codings): Change the default value to allow
8375 encoding/decoding of attributes.
8376 (ldap-coding-system): Use UTF-8 as the coding-system. Doc fix.
8378 2002-01-03 Richard M. Stallman <rms@gnu.org>
8380 * files.el (basic-save-buffer): Undo previous change.
8382 * calendar/diary-lib.el (diary-block): Doc fix.
8384 * custom.el (defcustom): Fix syntax of previous change.
8386 2002-01-03 Per Abrahamsen <abraham@dina.kvl.dk>
8388 * custom.el (defcustom): Documented :tag, :link and :load.
8390 2002-01-03 Eli Zaretskii <eliz@is.elta.co.il>
8392 * mail/sendmail.el (mail-recover-1): New function.
8393 (mail-recover): Switch to the *mail* buffer right away.
8394 Use buffer-auto-save-file-name instead of calling
8395 make-auto-save-file-name. Call dired-noselect instead of invoking
8396 `ls' directly. Bind coding-system-for-read to emacs-mule-unix
8397 before reading the auto-save file. If the buffer's auto-save file
8398 does not exist, call mail-recover-1 to allow recovery from past
8401 2002-01-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8403 * time.el (display-time-load-average-threshold): Fix defcustom
8404 (add type and group).
8406 * net/ange-ftp.el (ange-ftp-shell-command): Remove port
8407 specification from the hostname.
8409 2002-01-02 Richard M. Stallman <rms@gnu.org>
8411 * facemenu.el (facemenu-active-faces):
8412 Use face-attributes-as-vector, not face-attributes-vector.
8414 2002-01-02 Chris Hanson <cph@aarau.ai.mit.edu>
8416 * xscheme.el: Eleven years of updates on a private copy.
8418 Extensive changes to support multiple xscheme buffers:
8419 (run-scheme): Break up into new functions to facilitate starting
8420 processes in other buffers.
8421 (xscheme-start, xscheme-read-command-line): New functions.
8422 (start-scheme, select-scheme)
8423 (default-xscheme-runlight)
8424 (global-set-scheme-interaction-buffer)
8425 (local-set-scheme-interaction-buffer)
8426 (local-clear-scheme-interaction-buffer)
8427 (exit-scheme-interaction-mode)
8428 (verify-xscheme-buffer): New functions.
8429 (xscheme-process-name, xscheme-buffer-name)
8430 (xscheme-runlight): New internal vars.
8431 (default-xscheme-runlight): New const.
8432 (xscheme-start-process): Add args for the process/buffer names.
8433 (reset-scheme): Pass process/buffer names.
8434 (scheme-interaction-mode): Initialize new local vars.
8435 (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
8436 (xscheme-select-process-buffer, xscheme-process-buffer)
8437 (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
8438 (xscheme-goto-output-point, xscheme-write-message-1): Use new
8439 var xscheme-process-name.
8440 (xscheme-start-process): Initialize xscheme-process-name and
8441 xscheme-buffer-name in the process buffer. Pass buffer name to
8442 xscheme-modeline-initialize.
8443 (xscheme-modeline-initialize): Add argument to specify buffer name
8445 (xscheme-process-sentinel): Make sure sentinel is run in the
8446 process buffer so it sees its local vars.
8447 (xscheme-process-filter-initialize, xscheme-set-runlight):
8448 More elaborate logic to handle multiple-buffer mode lines.
8450 (xscheme-enter-input-wait): Re-enable control-G handler upon
8451 entering input wait.
8453 (scheme-interaction-mode): Add arg to preserve local vars.
8454 (xscheme-enter-interaction-mode)
8455 (xscheme-enter-debugger-mode): Preserve local vars.
8456 (xscheme-start-process): Clobber local vars.
8458 (scheme-interaction-mode-commands): Allow end user to add commands
8459 to scheme-interaction-mode keymap.
8460 (scheme-interaction-mode-commands-alist): New variable.
8462 (xscheme-send-string): Don't use insert-before-markers.
8464 Implement a per-buffer kill ring:
8465 (xscheme-insert-expression)
8466 (xscheme-rotate-yank-pointer, xscheme-yank)
8467 (xscheme-yank-pop, xscheme-yank-push): New functions.
8468 (xscheme-expressions-ring)
8469 (xscheme-expressions-ring-yank-pointer)
8470 (xscheme-expressions-ring-max): New variables.
8471 (xscheme-send-string-1): Call xscheme-insert-expression to save
8473 (xscheme-yank-previous-send): Now an alias for xscheme-yank.
8474 (xscheme-previous-send): Deleted variable.
8476 (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
8477 (xscheme-send-control-g-interrupt): Use process-send-string rather
8480 (xscheme-send-region): Insert a newline after an expression that
8481 is submitted in the interaction buffer, for consistency with
8482 recent changes to Edwin.
8484 (xscheme-delete-output): New function mimics comint-delete-output.
8485 (xscheme-last-input-end): New internal variable.
8486 (xscheme-process-filter-output): Update xscheme-last-input-end.
8488 (xscheme-send-control-g-interrupt): Make sure that
8489 xscheme-control-g-disabled-p is looked up in the right buffer.
8491 (xscheme-enable-control-g): Clear C-g message if visible.
8492 (xscheme-control-g-message-string): New internal var.
8493 (xscheme-send-control-g-interrupt): Use new var.
8495 (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
8496 Delay after sending interrupt in order to work around race condition.
8498 (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
8499 (xscheme-send-char): Use xscheme-send-char rather than send-string
8500 to send single char.
8502 (xscheme-process-filter, xscheme-process-filter-alist):
8503 Add support for evaluating expressions outside of the call-excursion.
8504 (xscheme-process-filter:string-action-noexcursion): New func.
8506 (xscheme-write-value): Change output string to match that used by
8509 (xscheme-coerce-prompt): Don't write a space after a command
8510 prompt. The PROMPT-FOR-COMMAND- procedures will take care of this
8513 (reset-scheme): Delete process after killing it.
8515 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
8517 * bindings.el (function-key-map): Don't bind shifted keypad
8520 2002-01-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8522 * enriched.el (enriched-handle-display-prop): Remove unused variables.
8523 (enriched-mode): Doc fix.
8525 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
8527 * international/ucs-tables.el (ucs-8859-8-alist): Comment away
8530 2002-01-01 Richard M. Stallman <rms@gnu.org>
8532 * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
8534 2001-12-31 Richard M. Stallman <rms@gnu.org>
8536 * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
8537 * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
8538 * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
8539 * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
8540 * progmodes/cperl-mode.el, progmodes/idlwave.el:
8541 * progmodes/sh-script.el, progmodes/vhdl-mode.el:
8542 Adapt face definitions to use :weight and :slant.
8544 * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
8546 * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
8548 * font-lock.el (initializing from font-lock-face-attributes):
8549 Use :weight and :slant, not :bold and :italic.
8551 2001-12-31 Per Abrahamsen <abraham@dina.kvl.dk>
8553 * cus-edit.el (custom-face-edit-fix-value): New function.
8554 (custom-face-edit): Use it, to convert :italic and :bold to new forms.
8556 2001-12-30 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8558 * progmodes/octave-mod.el (octave-abbrev-table):
8559 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
8560 * progmodes/fortran.el (fortran-mode-abbrev-table):
8561 * progmodes/f90.el (f90-mode-abbrev-table):
8562 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
8563 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
8564 predefined abbrevs as "system" abbrevs.
8566 2001-12-30 Richard M. Stallman <rms@gnu.org>
8568 * info.el (Info-fontify-node): For a **** underline line, put the
8569 invisible and intangible props on the following newline, but not
8570 on the previous newline or the last char of the previous line.
8572 * faces.el (face-set-after-frame-default): Don't change `default' face.
8574 * faces.el (minibuffer-prompt): Adopt some default colors.
8576 * replace.el (query-replace-read-args): Immediate error if read-only.
8578 * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
8579 Display the output buffer in a more intelligent way.
8581 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
8583 * ls-lisp.el (insert-directory): Modify the "total" line wording,
8584 in accordance with files.el's insert-directory.
8586 2001-12-29 Richard M. Stallman <rms@gnu.org>
8588 * files.el (basic-save-buffer): If a before-write hook displays
8589 an echo area message, pause before calling basic-save-buffer-1.
8591 2001-12-29 Markus Rost <rost@math.ohio-state.edu>
8593 * textmodes/reftex-global.el (reftex-query-replace-document)
8594 (reftex-change-label): Doc fix.
8596 * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
8598 * progmodes/etags.el (tags-query-replace): Doc fix.
8600 2001-12-29 Richard M. Stallman <rms@gnu.org>
8602 * progmodes/compile.el (compile-internal): Fix previous change.
8604 2001-12-28 Richard M. Stallman <rms@gnu.org>
8606 * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
8607 shrink the windows above as necessary to get space.
8608 (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
8610 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
8611 This fixes a bug that treated all files as directories.
8612 (ange-ftp-insert-directory): Explicitly follow symlinks.
8614 * international/iso-transl.el (iso-transl-char-map) Eliminate the
8615 alias symbols--put the translated sequences here directly.
8617 * progmodes/cc-mode.el (c-mode-abbrev-table)
8618 (c++-mode-abbrev-table, objc-mode-abbrev-table)
8619 (java-mode-abbrev-table, pike-mode-abbrev-table):
8620 Mark all the predefined abbrevs as "system" abbrevs.
8622 * mail/sendmail.el (mail-envelope-from): Fix custom type.
8623 (sendmail-send-it): Check mail-specify-envelope-from
8624 and mail-envelope-from in the mail buffer at start.
8626 2001-12-28 Simon Josefsson <jas@extundo.com>
8628 * mail/sendmail.el (mail-envelope-from): Fix :type.
8629 (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
8631 2001-12-28 Richard M. Stallman <rms@gnu.org>
8633 * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
8635 * simple.el (line-move-invisible): New subroutine.
8636 (line-move-to-column): New subroutine--smarter about advancing over
8637 invisible parts of a line, or lines, but only as long as hpos grows.
8638 (line-move-finish): New subroutine: repeatedly processes desired
8639 column, intangibility, and fields.
8640 (line-move): Use those subroutines.
8641 When moving lines downward, skip invisible text first rather than last.
8643 2001-12-27 Richard M. Stallman <rms@gnu.org>
8645 * international/mule-diag.el (describe-char-after):
8646 Describe the text properties of the char after point.
8648 * help.el (describe-key): Doc fix.
8650 2001-12-26 Markus Rost <rost@math.ohio-state.edu>
8652 * find-dired.el (find-dired-sentinel): Precede exit message by
8653 two spaces, to match the regexp in dired-between-files.
8655 2001-12-28 Miles Bader <miles@gnu.org>
8657 * wid-edit.el (widget-toggle-value-create): Don't eval actual
8658 images (which are lists too).
8660 2001-12-27 Eli Zaretskii <eliz@is.elta.co.il>
8662 * language/european.el: Fix the doc string of "Latin-5" language
8665 2001-12-26 Richard M. Stallman <rms@gnu.org>
8667 * textmodes/flyspell.el (flyspell-mode-map): New keymap,
8668 defined as before 2001-11-09.
8669 (add-minor-mode call): Specify the keymap.
8671 * progmodes/compile.el (compile-internal):
8672 Set TERM variable in process-environment.
8674 2001-12-25 Richard M. Stallman <rms@gnu.org>
8676 * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
8679 * startup.el (command-line): Convert command line args
8680 to Emacs internal representation using locale-coding-system.
8682 2001-12-25 Eli Zaretskii <eliz@is.elta.co.il>
8684 * international/fontset.el: Don't require ind-util when compiling.
8686 2001-12-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8688 * emulation/tpu-edt.el (tpu-reset-screen-size):
8689 Use set-frame-height and set-frame-width instead of set-screen-height
8690 and set-screen-width.
8692 * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
8693 of obsolete set-screen-width.
8695 * locate.el (locate): Remove dot at the end of error argument.
8697 * emerge.el (emerge-show-file-name): Use frame-height instead of
8698 obsolete screen-height.
8700 * mail/mh-utils.el (mh-show-msg): Likewise.
8701 (mh-handle-process-error): Use frame-width instead of obsolete
8704 2001-12-25 Richard M. Stallman <rms@gnu.org>
8706 * window.el (balance-windows): Use new PRESERVE-BEFORE arg
8707 to enlarge-window. Use save-selected-window. Don't try
8708 to resize windows that end at the bottom "level".
8709 Retry changing the sizes until the windows get the desired sizes.
8710 Discount the minibuffer when computing total height available.
8712 * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
8713 (debugger-make-xrefs): Only make a button for the first symbol
8716 2001-12-24 Eli Zaretskii <eliz@is.elta.co.il>
8718 * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
8719 Call IT-setup-unicode-display here instead of adding it to
8720 dos-codepage-setup-hook, so that Unicode display tables are set
8721 before dos-codepage-setup-hook runs.
8723 2001-12-24 Richard M. Stallman <rms@gnu.org>
8725 * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
8726 (nslookup-mode-abbrev-table): Don't define it.
8727 (smbclient-mode-abbrev-table): Don't define it.
8728 (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
8729 (nslookup-mode, smbclient-mode): Likewise.
8730 (network-connection-service-abbrev-alist): Variable deleted.
8731 (network-connection-mode-setup): Don't set up abbrev table.
8733 * faces.el (minibuffer-prompt): New face.
8734 (minibuffer-prompt-properties): Add `face' property.
8736 * replace.el (occur-mode-display-occurrence): New function.
8737 (occur-mode-map): Bind C-o to it.
8739 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
8741 * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
8742 (viper-special-read-and-insert-char): Make C-m work right in the r
8744 (viper-buffer-search-enable): Fixed format string.
8746 * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
8747 instead of viper-info-on-file.
8748 (ex-set-visited-file-name): New function.
8750 * viper.el (viper-emacs-state-mode-list): Added mail-mode.
8752 * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
8755 * ediff-init.el: Fixed some doc strings.
8757 * ediff-util.el (ediff-after-quit-hook-internal): New variable.
8758 Got rid of make-local-hook.
8760 * ediff-wind.el (ediff-setup-control-frame): Got rid of
8763 2001-12-23 Richard M. Stallman <rms@gnu.org>
8765 * term/x-win.el (x-handle-geometry): Put height and width
8766 on default-frame-alist, left and top on initial-frame-alist.
8767 * term/w32-win.el (x-handle-geometry): Likewise.
8769 * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
8771 * play/yow.el (yow): Use an arg to distinguish interactive calls,
8774 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8776 * emacs-lisp/elint.el (elint-unknown-builtin-args):
8777 Remove mocklisp entries.
8779 * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
8782 * emulation/mlconvert.el: File removed.
8784 * emulation/mlsupport.el: Moved to obsolete.
8786 * obsolete/mlsupport.el: Moved there from lisp/emulation.
8788 * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
8790 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8791 Remove mocklisp case.
8793 * help-fns.el (describe-function-1): Remove mocklisp function case.
8795 2001-12-22 Miles Bader <miles@gnu.org>
8797 * textmodes/refill.el (refill-mode): Don't barf when redundantly
8798 turning refill-mode off.
8800 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8802 * time.el (display-time-load-average-threshold): New variable.
8803 (display-time-update): Use it.
8805 These changes allow cycling through past 1, 5 and 15 minutes
8806 load-average displayed in the mode-line.
8808 * time.el (display-time-default-load-average): New customizable option.
8809 (display-time-load-average): New variable.
8810 (display-time-cycle-load-average): New function.
8811 (display-time-update): Use them.
8813 2001-12-21 Richard M. Stallman <rms@gnu.org>
8815 * apropos.el (apropos-print): SPACING is now nil or a separator string.
8816 (apropos-documentation, apropos-value): Pass a suitable string.
8818 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
8820 * dired.el (dired-free-space-program, dired-free-space-args):
8821 Aliases for back-compatibility.
8823 * info.el (Info-select-node): If Info-use-header-line is nil, set
8824 header-line-format to nil.
8825 (Info-fontify-node): Don't put a keymap text property on the
8826 heading if we are not going to display the header line. Remove
8827 any such text properties left over from past visits to this node.
8829 * ls-lisp.el (insert-directory): Insert the amount of free disk
8830 space, like files.el's insert-directory does.
8832 * files.el (directory-free-space-program):
8833 Mention file-system-info in the doc string.
8834 (get-free-disk-space): New function; code moved from insert-directory.
8835 (insert-directory): Call get-free-disk-space to get the amount of
8838 2001-12-21 Richard M. Stallman <rms@gnu.org>
8840 * help.el (view-order-manuals, view-emacs-news, describe-copying)
8841 (describe-distribution, describe-project): Use view-file.
8843 * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
8845 * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
8847 * emacs-lisp/easy-mmode.el (define-minor-mode):
8848 Make no arg by default in an interactive call,
8849 so that repeating the command toggles again.
8851 * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
8853 2001-12-21 Christoph Wedler <Christoph.Wedler@sap.com>
8855 * antlr-mode.el: More sophisticated indentation of cpp directive.
8856 (antlr-indent-at-bol-alist): New user option.
8857 (antlr-indent-line): Use it.
8858 (antlr-indent-style): New user option.
8859 (antlr-mode): Use it.
8860 (antlr-indent-item-regexp): Customize.
8862 * antlr-mode.el: Syntax highlighting changes.
8863 (antlr-font-lock-literal-regexp): New user option.
8864 (antlr-font-lock-syntax-face): New face used for :, |, ....
8865 (antlr-font-lock-default-face): New face.
8866 (antlr-font-lock-additional-keywords): Use them.
8868 * antlr-mode.el: New command to insert options -- variables.
8869 (antlr-mode-map): New binding [C-c C-o].
8870 (antlr-mode-menu): New submenus.
8871 (antlr-options-use-submenus): New user option.
8872 (antlr-tool-version): New user option.
8873 (antlr-options-auto-colon): New user option.
8874 (antlr-options-style): New user option.
8875 (antlr-options-push-mark): New user option.
8876 (antlr-options-assign-string): New user option.
8877 (antlr-options-headings): New variable.
8879 * antlr-mode.el: New command to insert options -- specific.
8880 (antlr-options-alists): New variable.
8881 (antlr-read-value): New function.
8882 (antlr-read-boolean): New function.
8883 (antlr-language-option-extra): New function.
8884 (antlr-language-limit-n-regexp): Change default to higher LIMIT.
8885 (antlr-c++-mode-extra): New function.
8886 (antlr-grammar-tokens): New function.
8887 (antlr-imenu-create-index-function): New optional argument.
8889 * antlr-mode.el: New command to insert options -- functions.
8890 (antlr-insert-option): New command.
8891 (antlr-insert-option-interactive): New function.
8892 (antlr-options-menu-filter): New function.
8893 (antlr-option-kind): New function.
8894 (antlr-scan-lists): New alias.
8895 (antlr-scan-lists-internal): New function.
8896 (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
8897 (antlr-option-level): New function.
8898 (antlr-syntactic-grammar-depth): New function.
8899 (antlr-option-location): New function.
8900 (antlr-insert-option-do): New function.
8901 (antlr-option-spec): New function.
8902 (antlr-version-string): New function.
8903 (antlr-insert-option-existing): New function.
8904 (antlr-insert-option-space): New function.
8905 (antlr-insert-option-area): New function.
8907 * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
8908 with narrowing. Menu change. Miscellaneous.
8909 (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
8910 (antlr-mode-map): New bindings for characters in ":;|&(){}".
8911 (antlr-electric-character): New command.
8912 (antlr-class-header-regexp): New variable.
8913 (antlr-font-lock-additional-keywords): Use it.
8914 (antlr-imenu-create-index-function): Use it.
8915 (antlr-file-dependencies): Use it.
8916 (antlr-indent-line): Also works with restrictions.
8917 (antlr-indent-command): Interactive spec - changes the buffer.
8918 (antlr-language-for-option): Deletia.
8919 (antlr-language-option): New function, defined instead.
8920 (antlr-mode): Use it.
8922 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
8924 * jka-compr.el (jka-compr-partial-uncompress): Use null-device
8925 instead of a literal /dev/null.
8927 * Makefile.in (distclean): Remove Makefile in the build
8928 directory, not in the source directory.
8930 2001-12-21 Simon Josefsson <jas@extundo.com>.
8932 * mail/smtpmail.el (smtpmail-send-queued-mail):
8933 Use with-temp-buffer instead of find-file-noselect, and bind
8934 coding-system-for-read to no-conversion when reading the queued
8935 messages. (Simon's code modified slightly by Eli Zaretskii.)
8937 2001-12-20 Werner Lemberg <wl@gnu.org>
8939 * international/mule-diag.el (describe-coding-system)
8940 (print-coding-system-briefly): Make printed output have a similar
8941 format as describe-character-set.
8943 2001-12-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8945 * play/blackbox.el (bb-member): Remove, use member instead.
8946 (bb-delete): Remove, use delete instead.
8947 Update copyright notice. Defvar for bb-board, bb-x, bb-y,
8948 bb-score, bb-detour-count and bb-balls-placed.
8949 Propertize results of rays.
8951 2001-12-19 Karl Fogel <kfogel@red-bean.com>
8953 * isearch.el (isearch-forward, isearch-edit-string): Make doc
8954 strings mention keybinding for `isearch-yank-word-or-char',
8955 rather than `isearch-yank-word', since the former is bound now
8956 and the latter is not.
8957 (isearch-yank-word-or-char): Fix formatting.
8959 2001-12-19 Werner Lemberg <wl@gnu.org>
8961 * language/czech.el, language/european.el, language/slovak.el:
8962 More fixes for language info doc strings.
8964 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
8966 * loadup.el: Add "language" to the load-path.
8968 2001-12-19 Richard M. Stallman <rms@gnu.org>
8970 * international/mule-cmds.el (describe-language-environment):
8971 Fix calls to help-xref-button.
8973 2001-12-19 Miles Bader <miles@gnu.org>
8975 * international/fontset.el: Require `ind-util' when compiling.
8977 2001-12-18 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8979 * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
8980 instead of decompose-composite-char.
8982 2001-12-18 Richard M. Stallman <rms@gnu.org>
8984 * simple.el (eval-expression-print-level)
8985 (eval-expression-print-length): Doc fixes.
8987 * international/mule-diag.el (describe-character-set):
8988 Fix the arg to help-xref-button.
8990 * files.el (directory-free-space-program): New variable.
8991 (directory-free-space-args): New variable.
8992 (insert-directory): Use those two variables for getting free space.
8993 Use file-system-info instead, if that is defined.
8995 * dired.el (dired-free-space-program): Variable deleted.
8996 (dired-free-space-args): Variable deleted.
8997 (dired-insert-directory): Don't try to determine free space.
8999 * files.el (font-lock-defaults): Add risky-local-variables prop.
9000 (hack-one-local-variable): Treat various font-lock variables as risky.
9002 2001-12-18 Werner Lemberg <wl@gnu.org>
9004 * language/chinese.el, language/cyrillic.el:
9005 * language/czech.el, language/european.el, language/greek.el:
9006 * language/hebrew.el, language/indian.el, language/japanese.el:
9007 * language/korean.el, language/lao.el, language/slovak.el:
9008 * language/thai.el, language/tibetan.el, language/vietnamese.el:
9009 Improve documentation strings of coding systems and language infos.
9011 2001-12-18 Werner LEMBERG <wl@gnu.org>
9013 Add support for EUC-TW decoding/encoding.
9015 * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
9016 (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
9017 New auxiliary functions to build `big5-to-cns'.
9018 (big5-to-cns): New translation alist.
9020 * language/chinese.el: Added new coding system `euc-tw' and its
9022 Updated language `Chinese-CNS' to include euc-tw encoding also.
9023 (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
9026 2001-12-18 Dave Love <fx@gnu.org>
9028 * loadup.el: Add language/utf-8-lang, language/georgian.
9030 * image-file.el (image-file-name-extensions): Add pnm. Doc fix.
9031 (image-file-name-regexps): Doc fix.
9033 * server.el (server-unload-hook): New function.
9035 * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
9036 (lm-crack-copyright): Cope with multi-line copyright `lines'.
9038 * simple.el (newline): Doc fix.
9039 (eval-expression-print-level, eval-expression-print-length): Doc
9041 (next-line, previous-line): Make arg optional.
9044 * Makefile.in (DONTCOMPILE): Add various language files.
9046 * international/quail.el (quail-input-string-to-events): Don't use
9049 * progmodes/f90.el (f90-break-line): Avoid infinite recursion
9052 2001-12-17 Richard M. Stallman <rms@gnu.org>
9054 * comint.el (comint-dynamic-list-input-ring-select): New function.
9055 Switches back to the old window configuration.
9056 (comint-dynamic-list-input-ring): Bind RET to that function.
9057 (comint-dynamic-list-input-ring-window-conf): New variable.
9059 2001-12-17 Werner Lemberg <wl@gnu.org>
9061 * international/mule-conf.el: Improve documentation strings of
9064 2001-12-16 Richard M. Stallman <rms@gnu.org>
9066 * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
9067 (dired-mode-map): Bind w to dired-copy-filename-as-kill.
9069 * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
9071 * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
9072 Add a DESCRIPTION for the makefile item.
9074 * find-file.el (ff-other-file-name): New function.
9076 2001-12-16 Eli Zaretskii <eliz@is.elta.co.il>
9078 * international/quail.el (quail-input-string-to-events): Fix last
9081 2001-12-16 Richard M. Stallman <rms@gnu.org>
9083 * isearch.el (isearch-edit-string): When we set isearch-string
9084 to the default, also set isearch-message.
9086 * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
9088 * startup.el (command-line-1): Display startup screen
9089 even if there are command line args.
9090 Add a note about how to go to editing your files.
9091 (fancy-splash-head): Add a note about how to go to your files.
9092 (fancy-splash-outer-buffer): New variable.
9093 (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
9095 * subr.el (with-temp-message): At the end, always discard
9096 the temp message, even by clearing the echo area.
9098 * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
9100 2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
9102 * log-view.el (log-view-message-re, log-view-current-tag):
9103 Recognize Subversion's log output format.
9105 * international/fontset.el: Build the list L at compile time.
9107 * language/ind-util.el (mapthread): Make a closure.
9109 2001-12-15 Richard M. Stallman <rms@gnu.org>
9111 * isearch.el (isearch-start-hscroll): New variable.
9112 (isearch-mode): Set isearch-start-hscroll.
9113 (isearch-update): Restore original hscrolling if possible.
9115 * isearch.el (isearch-edit-string):
9116 Treat isearch-yank-word-or-char specially, like isearch-yank-word.
9118 * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
9119 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
9120 rather than regexp search and (2) copying text properties
9121 already set up on text unchanged from the previous backtrace.
9123 * case-table.el (set-case-syntax-pair):
9124 Detect invalid calls and signal an error.
9126 2001-12-15 Richard M. Stallman <rms@gnu.org>
9128 * language/ind-util.el (range): Function deleted.
9129 (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
9132 * language/devan-util.el (devanagari-range): Renamed from `range'.
9134 (devanagari-regexp-of-hashtbl-keys):
9135 Renamed from `regexp-of-hashtbl-keys'. All calls changed.
9137 2001-12-15 Dave Love <fx@gnu.org>
9139 * language/ind-util.el: Don't require cl.
9140 (indian-glyph-char, indian-glyph-max-char)
9141 (indian-char-glyph): Moved from indian.el
9142 (indian--puthash-char, mapthread): Don't quote lambda.
9143 (indian--map): New function.
9144 (indian--puthash-v, indian--puthash-c, indian--puthash-m)
9145 (indian--puthash-cv): Use it.
9147 * language/indian.el (indian-glyph-char, indian-glyph-max-char)
9148 (indian-char-glyph): Moved to ind-util.el
9150 * language/devan-util.el (devanagari-post-read-conversion):
9153 * language/georgian.el: New file.
9155 * international/mule-cmds.el (locale-language-names): Add various
9156 entries. Remove utf-8 special case.
9157 (locale-charset-language-names, locale-preferred-coding-systems):
9159 (set-language-environment): Process required-features earlier.
9161 * international/quail.el (quail-keyboard-layout-alist):
9163 (quail-keyboard-layout-type): Fix :type.
9164 (quail-choose-completion-string): Simplify.
9165 (quail-update-leim-list-file): Don't get fooled by commented-out code.
9166 (quail-input-string-to-events): Run events through
9167 translation-table-for-input.
9169 * international/mule-conf.el (translation-table-for-input):
9171 (latin-iso8859-14): Amend description.
9172 (file-coding-system-alist): Add entry for utf-8.
9174 * language/utf-8-lang.el: New file.
9176 * international/code-pages.el: New file.
9178 * language/hebrew.el ("Windows-1255"): New language.
9180 * language/european.el ("Welsh", "Latin-7", "Lithuanian")
9181 ("Latvian"): New languages.
9183 2001-12-14 Stefan Monnier <monnier@cs.yale.edu>
9185 * xml.el: Use setq rather than (set 'foo bar).
9186 Use push+nreverse rather than append.
9187 (xml-node-name, xml-node-attributes, xml-node-children):
9188 Use defsubst rather than macros.
9189 (xml-parse-region): Handle a nil return value from xml-parse-tag.
9190 (xml-parse-tag): Don't skip white space. Return nil for a comment.
9191 Concat the two strings surrounding a comment into a single string.
9193 * newcomment.el (comment-indent): Jump to the middle of empty comments.
9195 2001-12-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9197 * select.el (xselect-convert-to-class, xselect-convert-to-name):
9200 2001-12-14 Andre Spiegel <spiegel@gnu.org>
9202 * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
9203 Return nil if FILE is not registered.
9204 (vc-check-master-templates, vc-default-make-version-backups-p):
9207 2001-12-13 David Ponce <david@dponce.com>
9209 * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
9210 (ruler-mode-left-fringe-cols): New macro.
9211 (ruler-mode-right-fringe-cols): New macro.
9212 (ruler-mode-left-scroll-bar-cols): New macro.
9213 (ruler-mode-right-scroll-bar-cols): New macro.
9214 (ruler-mode-ruler): Use above new macros.
9216 2001-12-13 Richard M. Stallman <rms@gnu.org>
9218 * files.el (set-auto-mode): Fix previous change.
9220 2001-12-13 Stefan Monnier <monnier@cs.yale.edu>
9222 * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
9223 (easy-menu-do-define, easy-menu-convert-item-1)
9224 (easy-menu-define-key-intern, easy-menu-get-map): Use it.
9225 (easy-menu-return-item): Only return nil if there is no binding.
9227 2001-12-13 Rajesh Vaidheeswarran <rv@gnu.org>
9229 * whitespace.el (whitespace-version): 3.2
9230 * whitespace.el (whitespace-force-mode-line-update): Replace with
9231 `whitespace-mode-line-update', which is an alias to the correct
9232 function in various emacsen.
9233 * whitespace.el (whitespace-{un,}highlight-the-space):
9234 Add colorized highlighting of the bogus whitespaces in a buffer/file,
9235 using the `whitespace-highlight-face' if
9236 `whitespace-display-spaces-in-color' is set.
9238 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
9240 * international/mule.el (set-auto-coding): Don't search for
9241 "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
9243 2001-12-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9245 * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
9247 * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
9249 * mail/rmailsum.el (rmail-summary-mode): Likewise.
9251 2001-12-13 Richard M. Stallman <rms@gnu.org>
9253 * simple.el (undo): Always set this-command to `undo',
9254 so that the next undo after an error will not begin redoing.
9256 * simple.el (shell-command): Doc fix.
9257 (shell-command-on-region): If there is output an an error,
9258 add "...Shell command failed" to the output.
9260 2001-12-13 David Ponce <david@dponce.com>
9262 * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
9263 (ruler-mode-left-fringe-cols): Function replaced by more efficient
9264 implementation `ruler-mode-extra-left-cols'.
9265 (ruler-mode-ruler): Use above new function. Take into account
9266 that the fringe areas can now be resized.
9268 2001-12-12 Richard M. Stallman <rms@gnu.org>
9270 * international/characters.el (Unicode): Comment out
9271 the specifications for kelvin and angstrom signs.
9273 * international/mule.el (make-translation-table-from-vector):
9274 Allow null elements in VEC.
9276 * international/ucs-tables.el (unify-8859-on-encoding-mode)
9277 (unify-8859-on-decoding-mode): Swap the code in their bodies.
9280 2001-12-11 Richard M. Stallman <rms@gnu.org>
9282 * derived.el (derived-mode-p): Function moved to subr.el.
9284 * subr.el (derived-mode-p): Moved here from derived.el.
9286 * international/mule.el (set-auto-coding): Use set-auto-mode-1.
9288 * files.el (set-auto-mode-1): New subroutine, broken out of
9290 (set-auto-mode, hack-local-variables-prop-line): Use that.
9292 2001-12-11 Dave Love <fx@gnu.org>
9294 * language/thai-util.el, language/thai.el: Add Unicode equivalents.
9296 * language/european.el: Remove autoload cookies. Fix registration
9297 of diacritic composition function.
9299 2001-12-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9301 * calendar/todo-mode.el: Require time-stamp.
9303 * net/zone-mode.el (zone-mode): Don't use make-local-hook.
9305 2001-12-11 Richard M. Stallman <rms@gnu.org>
9307 * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
9309 * textmodes/ispell.el (ispell-buffer-local-parsing):
9310 Match xml like sgml.
9312 * emacs-lisp/advice.el (ad-compile-function):
9313 Byte compile the function under another (uninterned) name.
9315 * gud.el (gdb): Define and bind gud-jump.
9317 * font-lock.el (font-lock-mode):
9318 Put our function at the end of after-change-functions.
9320 * ediff-diff.el (ediff-cmp-options): Doc fix.
9322 * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
9324 2001-12-10 Richard M. Stallman <rms@gnu.org>
9326 * isearch.el (isearch-yank-word-or-char): New function.
9327 (isearch-mode-map): Bind C-w to that.
9329 * menu-bar.el (menu-bar-mode): Make arg optional.
9331 * simple.el (line-move): Cope if next-single-property-change
9332 or previous-single-property-change returns nil.
9334 * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
9335 Don't use interactive-p; instead, pass the proper args
9336 in (interactive...). Clean up most of the trouble-report strings.
9338 2001-12-10 Eli Zaretskii <eliz@is.elta.co.il>
9340 * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
9341 enqueued messages literally.
9343 2001-12-10 Noah Friedman <friedman@splode.com>
9345 * battery.el (battery-insert-file-contents): Obsolete function
9347 (battery-read-function): Obsolete function removed.
9348 (battery-linux-proc-apm): Use insert-file-contents.
9350 2001-12-07 Stephen Eglen <stephen@gnu.org>
9352 * iswitchb.el (iswitchb-visit-buffer):
9353 Use `select-frame-set-input-focus'--needed when window manager
9354 uses "click to focus" policy.
9356 2001-12-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9358 * COPYING: Moved back.
9360 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il>
9362 * term/internal.el (IT-character-translations): Add entries for
9365 * international/characters.el: Resurrect the Hebrew category
9366 settings for all Hebrew characters removed by the last change.
9367 Add code for setting the Hebrew category of the Unicode Hebrew
9368 characters. Set syntax entries for Hebrew punctuation characters.
9370 * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
9371 points and directional formatting control characters.
9373 2001-12-07 Dave Love <fx@gnu.org>
9375 * language/lao-util.el: Add Unicode equivalents for rules.
9376 (lao-post-read-conversion): New function.
9378 * language/lao.el: Add Unicode equivalents.
9379 (lao): Add post-read conversion.
9381 * international/latin1-disp.el: Fix some 8-bit-graphic characters.
9382 Use iso2022 encoding.
9383 (latin1-char-displayable-p): Doc fix.
9384 (latin1-display-ucs-per-lynx): New option.
9385 (latin1-display-ucs-per-lynx): New command.
9386 (latin1-display-reset): Special-case arabic.
9387 (ucs-tables): Require.
9388 (latin1-display-sets, latin1-display-setup): Add arabic.
9389 (latin1-display) <variable>: Use function latin1-display.
9390 (latin1-display) <function>: Add mule-unicode stuff.
9391 (latin1-display-check-font): Don't lose if `info' is nil.
9393 * international/iso-transl.el: Insert Latin-1 characters, not
9396 * language/european.el (diacritic-composition-pattern): New constant.
9397 (diacritic-compose-region, diacritic-compose-string)
9398 (diacritic-compose-buffer, diacritic-post-read-conversion)
9399 (diacritic-composition-function): New functions.
9401 * international/utf-8.el (ucs-mule-to-mule-unicode):
9402 New translation table.
9403 (ccl-encode-mule-utf-8): Use it.
9404 (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
9405 (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
9406 (utf-8-subst-table): New variable.
9407 (utf-8-compose-scripts): New option.
9408 (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
9410 * international/ucs-tables.el, international/utf-8-subst.el:
9413 * international/characters.el: Don't set word syntax (the default)
9414 explicitly. Add a diacritic category. Add info for Unicode
9415 equivalents of characters in various Mule charsets and for extra
9416 Unicode characters. Don't define specific categories for
9417 Indian/Devanagari, since they aren't used.
9419 2001-12-06 Richard M. Stallman <rms@gnu.org>
9421 * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
9422 (set-justification-left, set-justification-right): Doc fix.
9424 * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
9425 (bug-f90-mode): Variable deleted.
9427 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
9429 * indent.el (indent-line-function): Default is indent-relative again.
9431 2001-12-07 Miles Bader <miles@gnu.org>
9433 * progmodes/compile.el (compilation-error-regexp-alist):
9434 Added regexps for RXP.
9436 2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
9438 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
9439 Add shift-assignment operators to those highlighted, and highlight
9440 the whole operator rather than just the "=".
9442 2001-12-04 Juanma Barranquero <lektu@terra.es>
9444 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
9445 before saving abbrevs if `save-abbrevs' has the value `silently'.
9447 2001-12-04 Andreas Schwab <schwab@suse.de>
9449 * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
9451 2001-12-04 Colin Walters <walters@debian.org>
9453 * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
9454 for `defmacro*' forms.
9456 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
9459 2001-12-03 Stefan Monnier <monnier@cs.yale.edu>
9461 * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
9463 2001-12-02 Richard M. Stallman <rms@gnu.org>
9465 * files.el (insert-directory): If the df output does not look right,
9466 don't try to use it. Other cleanups in overall code structure.
9468 2001-12-02 Stefan Monnier <monnier@cs.yale.edu>
9470 * textmodes/outline.el (outline-mode-prefix-map):
9471 Add bindings for outline-promote and outline-demote.
9472 (outline-minor-mode-menu-bar-map): New var.
9473 (outline-minor-mode): Use it.
9474 (outline-heading-alist): New var (renamed from outline-level-heading).
9475 (outline-level): Use it.
9476 (outline-insert-heading, outline-promote, outline-demote):
9477 Update to use outline-heading-alist.
9479 * disp-table.el (standard-display-european):
9480 Simplify since the function is not interactive any more.
9481 Don't set the existing buffers to unibyte.
9483 * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
9485 * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
9487 * reveal.el (reveal-mode): Fix reveal-mode's lighter.
9489 * shell.el (shell): Use shell-file-name.
9490 Pop to buffer before calling comint to set COLUMNS properly.
9492 * emacs-lisp/cl.el (svref): New alias.
9494 * progmodes/antlr-mode.el (antlr-c-common-init):
9495 Don't inhibit adaptive-fill-mode any more.
9497 * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
9499 * progmodes/etags.el (tags-with-face): Use make-symbol.
9500 (tags-search, tags-query-replace): Use backquotes.
9502 * textmodes/picture.el (picture-mode-map): Don't use defconst
9505 2001-12-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9507 * textmodes/reftex-index.el (reftex-index-mode):
9508 Remove make-local-hook.
9510 * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
9512 2001-12-02 Kim F. Storm <storm@cua.dk>
9514 * isearch.el (isearch-resume-enabled): New variable.
9515 (isearch-done): Use that variable.
9517 2001-12-01 Richard M. Stallman <rms@gnu.org>
9519 * wid-edit.el (widget-button-click): Don't move point permanently:
9520 Avoid mouse-set-point--instead select the window,
9521 then do save-excursion, then move point.
9522 Specify the buffer for get-char-property.
9523 Don't use `@' in interactive.
9525 * indent.el (indent-line-function):
9526 Default is indent-to-left-margin again.
9528 * replace.el (query-replace-read-args): Display message
9529 if FROM contains `\n' or `\t'.
9531 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
9533 * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
9535 * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
9537 * emacs-lisp/regexp-opt.el (regexp-opt):
9538 Bind completion-regexp-list to nil.
9540 * progmodes/hideif.el (hif-nexttoken): Move to before first def.
9542 2001-12-01 Eli Zaretskii <eliz@is.elta.co.il>
9544 * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
9545 * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
9548 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
9550 * mail/smtpmail.el: Use with-current-buffer.
9551 (message-make-date, message-make-message-id): Autoload when needed.
9552 (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
9553 headers when missing.
9555 * international/encoded-kb.el (encoded-kbd-mode):
9556 Use define-minor-mode.
9558 * enriched.el (enriched-mode): Use define-minor-mode.
9559 Use dolist and pop and push.
9561 * info.el (Info-find-node-2): Don't call info-insert-file-contents
9562 with the `visit' argument.
9563 (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
9565 * progmodes/hideif.el (hide-ifdef-mode): Only modify
9566 `change-major-mode-hook' locally. Reset invisibility spec.
9568 * man.el (Man-build-section-alist): Remove last Man-match-substring.
9570 2001-11-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9572 * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
9573 Clarify error message.
9575 2001-11-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9577 * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
9579 2001-11-30 Andre Spiegel <spiegel@gnu.org>
9581 * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
9582 don't just return it.
9584 2001-11-30 Eli Zaretskii <eliz@is.elta.co.il>
9586 * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
9587 (menu-bar-read-emacs-man, search-emacs-glossary)
9588 (emacs-index-search, elisp-index-search): New functions.
9589 (apropso-documentation, apropos, apropos-value, apropos-variable)
9590 (apropos-commands): Modify menu item names and help text.
9591 (elisp-index-search, emacs-index-search, emacs-glossary):
9593 (menu-bar-manuals-menu): Move the Ordering Manuals item to a
9595 (info-elisp, info-elintro): New menu items.
9596 (apropos): Modify the menu item name.
9598 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
9600 * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
9602 * textmodes/outline.el (outline-promote, outline-demote): Typo.
9604 * man.el (man-follow-mouse): New function.
9605 (Man-mode-map): Bind mouse-2 to it.
9606 (Man-match-substring): Remove. Replace with `match-string'.
9607 (man): Use the `default-value' argument to `read-string'.
9608 (Man-fontify-manpage): Add mouse-face to cross references.
9610 * emacs-lisp/cl-macs.el (shiftf): Fix more. Simplify.
9612 2001-11-29 Stefan Monnier <monnier@cs.yale.edu>
9614 * emacs-lisp/crm.el (completing-read-multiple): Better preserve
9615 the value of require-match in minibuffer-completion-confirm.
9616 Use crm-local-completion-map.
9618 * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
9619 (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
9620 (cl-make-type-test): Use char-valid-p for `character'.
9622 * info.el (Info-complete-next-re, Info-complete-cache): New vars.
9623 (Info-complete-menu-item): Rewrite. Add the ability to search
9624 several sequential nodes. Add a simple caching mechanism.
9625 (Info-goto-index): New function extracted from Info-index.
9626 (Info-index): Use it. Add completion to the interactive spec.
9627 (Info-menu-update): Simplify call to `Info-complete-menu-item'.
9629 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9633 2001-11-29 Dave Love <fx@gnu.org>
9635 * progmodes/fortran.el: Fontify rewind, backspace. Doc fixes.
9636 (fortran-window-create, fortran-window-create-momentarily):
9637 Rewrite, moving error condition.
9638 (fortran-beginning-do, fortran-beginning-if): Fix regexps.
9639 (fortran-mode-syntax-table): Revert last change.
9641 * international/mule.el: Doc fixes.
9642 (map-charset-chars): New function.
9643 (register-char-codings): Use it to cope with generic chars in
9646 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9648 * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
9650 * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
9652 * play/studly.el (studlify-word, studlify-region)
9653 (studlify-buffer): Fix doc-string.
9654 (studlify-buffer): Add autoload cookie.
9656 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
9658 * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
9659 (outline-up-heading-all): Remove.
9660 (hide-sublevels): Move to end-of-heading before calling flag-region.
9661 (outline-copy-overlay, outline-discard-overlays): Remove.
9662 (outline-flag-region): Use `remove-overlays'.
9663 Don't move to end-of-heading.
9664 (outline-next-visible-heading, outline-back-to-heading)
9665 (outline-on-heading-p): Use outline-invisible-p.
9666 (outline-font-lock-level): Use outline-up-heading's new arg.
9667 (outline-minor-mode): Simplify.
9668 (outline-map-tree, outline-reveal-toggle-invisible): New funs.
9669 (outline): Put a `reveal-toggle-invisible' property.
9670 (outline-level-heading): New var.
9671 (outline-insert-heading, outline-promote, outline-demote)
9672 (outline-toggle-children): New commands.
9674 * progmodes/hideif.el (hif-end-of-line): New function.
9675 (hide-ifdef-mode): Set line-move-ignore-invisible.
9676 (hide-ifdef-region-internal): New function.
9677 (hide-ifdef-region): Use it.
9678 (hif-defined): Return an integer.
9679 (hif-infix-to-prefix): Remove.
9680 (hif-tokenize): Parse from the buffer rather than from a string.
9681 Correctly tokenize integers. Use forward-comment.
9682 (hif-expr): Use hif-or.
9683 (hif-term): Use hif-and.
9684 (hif-factor): Use hif-not. Handle numbers properly.
9685 Don't require parenthesis around `defined's argument.
9686 (hif-and, hif-or, hif-not): New funs.
9687 (hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
9688 (hif-hide-line): Don't hide the \n before the line.
9689 (hif-possibly-hide): Correctly handle numeric evaluation results.
9691 * progmodes/make-mode.el: Use line-(end|beginning)-position.
9692 (makefile-mode): Set indent-line-function.
9693 (makefile-browser-insert-continuation): Use with-current-buffer.
9694 (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
9696 2001-11-28 Karl Fogel <kfogel@red-bean.com>
9698 * isearch.el (isearch-yank-internal): New helper function.
9699 (isearch-yank-char): New function.
9700 (isearch-yank-word, isearch-yank-line): Rewrite to use
9701 isearch-yank-internal.
9703 2001-11-28 Eli Zaretskii <eliz@is.elta.co.il>
9705 * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
9706 aren't supported. Print a message to that effect if invoked.
9708 2001-11-27 Stephen Eglen <stephen@gnu.org>
9710 * locate.el (locate): Put point at first matching file rather
9713 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
9715 * reveal.el: New file.
9717 * progmodes/hideif.el: Misc cleanup.
9718 (hide-ifdef-mode-submap): Put the def in the defvar.
9719 Use substitute-key-definition.
9720 (hide-ifdef-mode): Use define-minor-mode.
9721 (hif-outline-flag-region): Remove.
9722 (hif-show-all): Define in terms of hif-show-ifdef-region.
9723 (hif-after-revert-function): Rename from hif-before-revert-function.
9724 (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
9725 (hif-tokenize): Use with-syntax-table.
9726 (hif-make-range): Use `else' also for `else-p'.
9727 (hif-range-else-p): Remove.
9728 (hif-find-range): Simplify.
9729 (hif-hide-line): Don't bother preserving buffer-modified-p.
9730 (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
9731 Don't use selective-display and inhibit-read-only.
9733 * subr.el (copy-overlay, remove-overlays): New funs.
9735 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
9737 2001-11-27 Sam Steingold <sds@gnu.org>
9739 * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
9740 * lazy-lock.el, mouse-sel.el, mail/feedmail.el
9741 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
9742 * obsolete/c-mode.el, obsolete/cplus-md.el
9743 * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
9744 * term/sun-mouse.el, textmodes/artist.el:
9745 Converted backquote to the new style.
9746 * mouse.el, reposition.el: Likewise (in comments).
9747 * expand.el: Likewise (in a string).
9749 2001-11-27 Richard M. Stallman <rms@gnu.org>
9751 * cus-edit.el (custom-load-symbol): Don't always load locate-library.
9753 2001-11-26 Richard M. Stallman <rms@gnu.org>
9755 * wid-edit.el (widget-toggle-value-create): On graphic terminal,
9756 if :on-glyph or :off-glyph is a list, eval it and store it back.
9757 (checkbox): Quote the values for :on-glyph and :off-glyph.
9759 * cus-start.el (recursive-load-depth-limit): Delete item.
9761 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
9763 * help-fns.el (describe-categories, help-describe-category-set): New.
9764 describe-categories moved here from src/category.c.
9766 2001-11-26 Sam Steingold <sds@gnu.org>
9768 * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
9769 arguments to `insert' are strings.
9771 2001-11-26 Richard M. Stallman <rms@gnu.org>
9773 * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
9775 2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
9777 * international/mule-diag.el: Require help-fns instead of
9780 * help-fns.el: Renamed from help-funs.el.
9782 * startup.el (command-line-1): Don't try to call process-list if
9785 2001-11-26 Sam Steingold <sds@gnu.org>
9787 * frame.el (show-trailing-whitespace): Remove :set argument (the
9788 value was essentially identical to the defalt).
9790 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9792 * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
9794 * icomplete.el (icomplete-minibuffer-setup): Likewise.
9796 * hilit-chg.el (hilit-chg-set): Likewise.
9798 * speedbar.el (speedbar-mode): Likewise.
9800 * calendar/calendar.el (calendar-mode): Likewise.
9802 * play/yow.el (psychoanalyze-pinhead): Use insert instead of
9805 * play/gamegrid.el (gamegrid-init-buffer): Likewise.
9807 * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
9809 * term/sun-mouse.el (sun-yank-selection): Likewise.
9811 * textmodes/bib-mode.el (return-key-bib): Likewise.
9813 * calendar/appt.el (appt-disp-window): Likewise.
9815 * calendar/diary-lib.el (list-diary-entries): Likewise.
9817 * array.el (array-reconfigure-rows): Likewise.
9819 * filecache.el (file-cache-minibuffer-complete): Likewise.
9821 * obsolete/cplus-md.el (fill-c++-comment): Likewise.
9823 * strokes.el (strokes-prompt-user-save-strokes): Likewise.
9825 * allout.el (outline-version, outline-open-topic)
9826 (outline-rebullet-heading, outline-insert-listified)
9827 (outline-latex-verbatim-quote-curr-line)
9828 (outline-latexify-one-item, outlineify-sticky): Likewise.
9830 * vc.el (vc-next-action-on-file): Likewise.
9831 (vc-dired-mode): Remove make-local-hook.
9833 2001-11-26 Andre Spiegel <spiegel@gnu.org>
9835 * vc.el (vc-find-version): New function.
9836 (vc-version-other-window): Redefined in terms of the above.
9838 * log-view.el (log-view-find-version): New function.
9839 (log-view-mode-map): Bind it to `f'.
9841 2001-11-26 Gerd Moellmann <gerd@gnu.org>
9843 * language/devan-util.el (dev-char-glyph): Escape `"' in
9845 (dev-glyph-glyph, dev-glyph-glyph-2)
9846 (devanagari-compose-syllable-region): Likewise.
9848 2001-11-26 Richard M. Stallman <rms@gnu.org>
9850 * window.el (save-selected-window): No error if saved window is dead.
9852 * help-funs.el (describe-syntax): Put (interactive) after doc string.
9854 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9856 * international/quail.el (quail-help): Require help-mode in
9859 * iswitchb.el (iswitchb-exhibit): Use insert instead of
9862 * icomplete.el (icomplete-exhibit): Likewise.
9864 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
9866 * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
9867 (diff-hunk-kill): Simplify.
9868 (diff-post-command-hook): Only apply to a single hunk.
9869 (diff-hunk-text): Make `char-offset' non-optional.
9870 (diff-find-text): Return a cons cell.
9871 (diff-find-approx-text): New fun.
9872 (diff-find-source-location): Use it.
9873 (diff-apply-hunk, diff-test-hunk, diff-goto-source):
9874 Adapt to new retval of diff-find-text.
9876 * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
9877 rather than integer- representation of dates.
9879 * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
9881 * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
9882 (syntax-after): New fun.
9884 * help-funs.el (describe-syntax): New fun.
9886 * font-lock.el (font-lock-cache-state, font-lock-cache-position)
9887 (font-lock-ppss-stats, font-lock-ppss): Remove.
9888 (font-lock-fontify-syntactically-region): Remove tuning code.
9889 (font-lock-compile-keywords): Fix off-by-one bug.
9890 (font-lock-set-defaults): Don't set removed vars.
9891 (c-keywords): Add `inline'.
9892 (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
9894 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9895 Set syntax-begin-function.
9896 (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
9897 (lisp-interaction-mode): Don't set local-abbrev-table any more.
9898 (lisp-mode-auto-fill): Use syntax-ppss and obey
9899 comment-auto-fill-only-comments.
9900 (lisp-fill-paragraph): Use syntax-ppss.
9902 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
9904 * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
9905 version of rmail-enable-mime.
9906 (rmail-forward): Use it.
9908 2001-11-25 Richard M. Stallman <rms@gnu.org>
9910 * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
9912 * international/quail.el (quail-keyboard-layout-button):
9914 (quail-keyboard-customize-button): Likewise.
9915 (quail-help): Use those button types. Require `help-mode'.
9916 Avoid altering the argument `package'.
9918 * help-mode.el (help-function, help-variable, help-face)
9919 (help-coding-system, help-input-method, help-character-set):
9920 Define each button type with its own explicit define-button-type.
9922 * language/devan-util.el: Comment out parts of the file
9923 which apparently are garbled.
9925 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9927 * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
9930 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9932 * play/snake.el (snake-mode): Remove make-local-hook.
9934 * play/tetris.el (tetris-mode): Likewise.
9936 * play/decipher.el (decipher-mode): Likewise.
9938 * tmm.el (tmm-add-prompt): Likewise.
9940 2001-11-25 Sam Steingold <sds@gnu.org>
9942 * menu-bar.el (menu-bar-apropos-menu): New variable.
9943 Moved all `apropos' bindings to this menu.
9944 (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
9946 2001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
9948 The following changes are for new indian languages support based
9949 on Unicode charset and CDAC fonts.
9951 * international/mule-conf.el: Change indian-1-column charset to
9952 indian-glyph charset.
9954 * international/characters.el: Adjusted for the change of
9955 indian-1-column -> indian-glyph.
9957 * international/fontset.el: Delete the setting for indian-1-column
9958 and add the setting for indian-glyph in the default fontset.
9960 * language/indian.el: Completely re-written.
9962 * language/devanagari.el: Completely re-written.
9964 * language/devan-util.el: Completely re-written.
9966 * language/ind-util.el: New file.
9968 2001-11-24 Richard M. Stallman <rms@gnu.org>
9970 * startup.el (command-line-1): Don't do startup screen
9971 if a subprocess is running. Call the startup screen buffer
9972 "GNU Emacs". Make a special mode-line-format for it.
9974 * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
9975 (browse-url-galeon): Use that variable.
9977 * mail/supercite.el (sc-toggle-var): Don't use set-variable or
9978 eval-expression. Eval and set the variable simply.
9980 * files.el (temporary-file-directory): Use defcustom.
9981 (small-temporary-file-directory): Likewise.
9982 (normal-backup-enable-predicate): Move down in file
9983 after definition of temporary-file-directory.
9985 * bindings.el (last-buffer, unbury-buffer): Doc fixes.
9987 2001-11-24 Colin Walters <walters@debian.org>
9989 * calc/calc-ext.el (calc-init-extensions): Update the rest of the
9990 autoload names to match files renamed on initial calc import.
9992 * calc/calc.el (Commentary): Cleanup, and add logistic curve
9993 fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
9995 2001-11-23 Colin Walters <walters@debian.org>
9997 * Makefile.in (finder_setwins, setwins): Include Calc again.
9999 * calc/calc-rules.el: Add header comment.
10001 2001-11-23 Andre Spiegel <spiegel@gnu.org>
10003 * vc.el (with-vc-properties): Don't bind `filename' locally.
10004 (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
10005 to avoid name clashes. Fix `lisp-indent-function' property for
10008 2001-11-23 Francesco Potorti` <pot@gnu.org>
10010 * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
10012 2001-11-22 Colin Walters <walters@debian.org>
10014 * calc/calc-misc.el (report-calc-bug):
10015 Use `reporter-prompt-for-summary-p'.
10017 * calc/INSTALL, calc/Makefile: Remove.
10019 2001-11-22 Miles Bader <miles@gnu.org>
10021 * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
10022 (reb-match-2, reb-match-3): Add dark-background variants.
10024 2001-11-22 Colin Walters <walters@debian.org>
10026 * calc/calc-misc.el (calc-info): Don't perform voodoo, just
10028 (report-calc-bug): Use reporter.el.
10030 * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
10032 2001-11-21 Richard M. Stallman <rms@gnu.org>
10034 * which-func.el (which-function): Call imenu--make-index-alist
10035 if necessary to get a list of functions.
10036 (which-function-imenu-failed): New variable.
10037 (which-func-update): Handle all visible windows.
10038 (which-func-update-1): New subroutine broken out of which-func-update.
10040 * files.el (temporary-file-directory, null-device)
10041 (small-temporary-file-directory): Definitions moved up.
10043 * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
10044 (cperl-non-problems, cperl-praise): Doc fixes.
10046 * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
10047 (sh-mode-syntax-table): Function restored.
10048 Variable set up for use by function sh-mode-syntax-table.
10049 (sh-set-shell): Set the syntax table.
10051 * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
10053 * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
10055 * international/encoded-kb.el: Don't alter minor-map-alist.
10057 2001-11-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10059 * files.el (auto-save-file-name-transforms): Put remote files in
10060 temporary-file-directory rather than /tmp.
10062 2001-11-21 Colin Walters <walters@debian.org>
10064 * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
10065 of (function ...) wrapper.
10067 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
10069 * derived.el (define-derived-mode): Create the abbrev-table
10070 from inside the `defvar'.
10072 * jit-lock.el (jit-lock-defer-time): New var.
10073 (jit-lock-defer-timer, jit-lock-buffers): New vars.
10074 (jit-lock-mode): Initialize them. Cancel the timers more carefully.
10075 (jit-lock-function): Defer fontification if requested.
10076 (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
10077 (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
10079 (jit-lock-deferred-fontify): New fun.
10081 2001-11-20 Richard M. Stallman <rms@gnu.org>
10083 * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
10084 Set local-abbrev-table to lisp-mode-abbrev-table.
10086 * emacs-lisp/re-builder.el (reb-mode):
10087 Don't use define-derived-mode. Call kill-all-local-variables.
10089 * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
10090 Don't use define-derived-mode.
10092 * help-mode.el (help-mode): Undo 2001-10-07 change.
10094 * replace.el (occur-mode): Undo 2001-5-20 change.
10096 2001-11-20 Jason Rumney <jasonr@gnu.org>
10098 * w32-fns.el (w32-system-coding-system): Change to an alias for
10099 locale-coding-system.
10100 (set-w32-system-coding-system): Document the above change.
10101 Set locale-coding-system instead.
10103 2001-11-20 Richard M. Stallman <rms@gnu.org>
10105 * ruler-mode.el: Add pagination.
10106 (ruler-mode-toggle-show-tab-stops): No need to
10107 test `ruler-mode' variable.
10109 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
10111 * play/landmark.el: Mark lm-mode as special.
10113 * play/gomoku.el: Mark gomoku-mode as special.
10115 2001-11-20 Juanma Barranquero <lektu@terra.es>
10117 * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
10118 (top-level): Bind it to C-c C-b.
10119 (re-builder): Don't re-enter RE Builder Mode.
10121 * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
10123 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
10125 * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
10128 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
10129 to a line without a comment.
10131 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
10133 * dired.el (dired-listing-switches): Mention in the doc string
10134 that some switches are not supported by ls-lisp.el
10136 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
10138 * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
10139 (imenu--create-keymap-2): Remove.
10140 (imenu--create-keymap-1): Simplify, remove third argument.
10141 (imenu--generic-function): Use dolist.
10142 (imenu-find-default): New function.
10143 (imenu--completion-buffer): Use it.
10144 (imenu--mouse-menu): Use popup-menu.
10145 (imenu--menubar-select): Return t rather than calling imenu.
10147 * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
10148 New functions, extracted from fill-region-as-paragraph.
10149 (fill-region-as-paragraph): Use them.
10150 Use an end marker instead of eob.
10151 Ignore whitespace-only fill-prefixes when indenting according to mode.
10152 Simplify the loop that searches for spaces backwards.
10154 * textmodes/picture.el (picture-vertical-step)
10155 (picture-horizontal-step): Don't use defconst for variables.
10157 * mail/mail-extr.el: Use backquote/dolist/mapc/when. Docstring fixes.
10158 (mail-extract-address-components): Downcase domain names.
10159 (mail-extr-delete-char): Remove. Use delete-char instead.
10161 * emulation/pc-select.el: Doc string fixes.
10162 (pc-selection-mode): Don't treat macos as a tty.
10164 * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
10166 * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
10168 * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
10169 (mouse-wheel-progessive-speed): New var.
10170 (mwheel-scroll): Use it and handle float values.
10172 * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
10174 * iswitchb.el (iswitchb-mode): Use define-minor-mode.
10175 (iswitchb): Fix the case where the result was selected with the mouse.
10176 (iswitchb-completion-help): Use the normal *Completions* now that
10177 mouse selection works.
10178 (iswitchb-minibuffer-setup): Simplify.
10180 * newcomment.el (comment-column, comment-style, comment-multi-line)
10181 (comment-auto-fill-only-comments): Remove :group arg.
10182 (comment-padding): Add :type.
10183 (comment-indent-new-line): Ignore comment-auto-fill-only-comments
10184 if called interactively.
10186 2001-11-19 Colin Walters <walters@verbum.org>
10188 * calc/calc.el (toplevel): Add comment and version header.
10189 (calc-init-base): Bump version to 2.02f, update date.
10191 2001-11-19 Richard M. Stallman <rms@gnu.org>
10193 * net/browse-url.el: Support Mozilla and Galeon.
10194 By default, find the installed browser whichever it is.
10195 (browse-url-mozilla): New function.
10196 (browse-url-mozilla-sentinel): New function.
10197 (browse-url-galeon, browse-url-galeon-sentinel): New functions.
10198 (browse-url-default-browser): New function.
10199 (browse-url-process-environment): Use browse-url-browser-display.
10200 (browse-url-browser-display): Renamed from browse-url-netscape-display.
10201 (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
10202 (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
10203 (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
10204 (browse-url-browser-function): New default, new options.
10206 2001-11-19 Sam Steingold <sds@gnu.org>
10208 * bindings.el (last-buffer, unbury-buffer): New function.
10209 (mode-line-unbury-buffer): Use `unbury-buffer'.
10211 2001-11-18 Stephen Eglen <stephen@gnu.org>
10213 * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
10214 control behaviour when no further completion is possible.
10216 2001-11-19 Colin Walters <walters@verbum.org>
10218 * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
10219 (math-showing-full-precision, math-with-extra-prec, math-working)
10220 (calc-with-default-simplification)
10221 (calc-with-trail-buffer): Use backtick.
10222 (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
10223 (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
10224 (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
10225 (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
10226 (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
10227 (Math-num-integerp, Math-bignum-test, Math-equal-int)
10228 (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
10229 (calc-record-compilation-date-macro): Deleted. Callers updated.
10230 (math-format-radix-digit): Move to calc-bin.el.
10232 * calc/calc.el (calc-record-compilation-date): Remove.
10233 (calc-bug-address): Update.
10234 (calc-settings-file): Use `user-init-file'.
10236 * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
10237 Handle null `calc-settings-file'.
10239 * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
10240 * calc/calc-keypd.el (calc-keypad-mode): New.
10241 (calc-do-keypad): Use it.
10242 (calc-keypad-map): Move into `calc-keypad-mode'.
10244 * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
10245 to defalias argument.
10247 * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
10248 (calcFunc-floor): Ditto.
10250 * calc-units.el (calcFunc-usimplify): Ditto.
10252 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
10253 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
10254 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
10255 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
10256 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
10257 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
10258 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
10259 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
10260 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
10261 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
10262 * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
10263 and move them before their first use. Use `when', `unless'.
10264 Remove trailing periods from error forms. Add description and
10265 headers suggested by Emacs Lisp coding conventions.
10267 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
10269 * newcomment.el (comment-indent):
10270 Fix misindentation for comment-only lines.
10271 (comment-indent-new-line): Only obey comment-multi-line if the
10272 comment-ender is not the end-of-line.
10274 2001-11-19 Richard M. Stallman <rms@gnu.org>
10276 * net/net-utils.el (network-connection-service-abbrev-alist):
10279 * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
10280 Advance to start of 3rd sexp by moving fwd and backing over it.
10281 At first three elements, act like defun.
10283 * delsel.el (delete-selection-pre-hook): Handle and resignal
10284 file-supersession errors to interact properly with userlock.el.
10286 2001-11-18 Richard M. Stallman <rms@gnu.org>
10288 * progmodes/fortran.el (fortran-mode-syntax-table):
10289 Specify punctuation syntax for backslash.
10291 * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
10294 * international/mule-util.el (string-to-sequence): Make it obsolete.
10295 (string-to-list, string-to-vector): Implement them directly
10296 using append and vconcat, not with string-to-sequence.
10298 * startup.el (command-line): Set abbrevs-changed to nil after
10299 reading the init file and the abbrevs file.
10301 * isearch.el (isearch): Use magenta2 as bg for (background light)
10303 2001-11-17 Richard M. Stallman <rms@gnu.org>
10305 * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
10307 * simple.el (minibuffer-history-sexp-flag): Doc fix.
10309 2001-11-17 Stefan Monnier <monnier@cs.yale.edu>
10311 * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
10312 If set and if applicable, add a regexp to highlight defun-like
10313 text inside comments and strings.
10314 (font-lock-fontify-keywords-region): Pass that new arg.
10315 (font-lock-set-defaults): Move the code to set `font-lock-keywords'
10316 to the end and pass that new arg.
10317 (c-font-lock-keywords-2): Fix regex for labels.
10318 (font-lock-match-c++-style-declaration-item-and-skip-to-next):
10319 Make it work when LIMIT is several lines further.
10320 (c-font-lock-keywords-3, c++-font-lock-keywords-3)
10321 (objc-font-lock-keywords-3, java-font-lock-keywords-3):
10322 Use backquote and make the regexes for `int a, b, c;' work on
10325 * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
10326 (font-lock-defaults-alist): Don't change it any more.
10327 (reb-subexp-mode-map): Cleanup.
10329 * custom.el (custom-current-group-alist): New var.
10330 (custom-declare-group): Set it.
10331 (custom-current-group): New fun.
10332 (custom-declare-variable, custom-handle-all-keywords):
10333 Use it as a default if no :group argument is specified.
10335 * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
10336 (standard-keyboard-coding-systems): New var.
10337 (set-locale-environment): Use it to decide whether or not to call
10338 set-keyboard-coding-system.
10339 (locale-language-names): Use \"French\" for "fr".
10341 2001-11-17 Richard M. Stallman <rms@gnu.org>
10343 * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
10344 (add-to-list): Delete compatibility code.
10345 (checkdoc-next-message-error): Doc fix.
10347 2001-11-17 Stephen Eglen <stephen@gnu.org>
10349 * locate.el (locate): Show default locate pattern within the
10350 prompt, but don't insert it into the minibuffer contents.
10351 Catch the case when pattern is the empty string.
10353 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il>
10355 * language/european.el ("French"): New language environment.
10357 2001-11-16 Richard M. Stallman <rms@gnu.org>
10359 * calendar/todo-mode.el (todo-save): Fix previous change.
10361 * subr.el (functionp): Do use cdr-safe on object.
10363 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
10365 * bindings.el (mode-line-mode-name): Only put the help-echo property
10366 if the local-map property was put as well.
10367 (global-map): Bind switch-frame, delete-frame, iconify-frame
10368 and make-frame-visible events.
10370 * emacs-lisp/elp.el (elp-not-profilable): New var.
10371 (elp-not-profilable-p): New function.
10372 (elp-instrument-function): Use it. Use backquotes and push.
10374 * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
10375 (byte-stack+-info, byte-compile-last-warned-form)
10376 (byte-compile-last-logged-file): Don't defconst a variable.
10377 (no-byte-compile): Declare.
10378 (byte-compile-file): Don't boundp-check no-byte-compile any more.
10379 (byte-compile-defvar): Leave defconst as is.
10381 * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
10382 (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
10383 (edebug-current-offset, edebug-old-def-name, edebug-error-point)
10384 (edebug-best-error): Don't defconst a variable.
10385 (edebug-read-syntax-table): Use a char-table.
10386 (edebug-lemacs-specific): Remove.
10387 Toplevel: Eliminate check for Lucid Emacs.
10389 * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
10391 * rect.el (move-to-column-force): Mark obsolete.
10392 (operate-on-rectangle, delete-extract-rectangle-line)
10393 (insert-rectangle, delete-whitespace-rectangle-line)
10394 (open-rectangle-line, clear-rectangle-line): Use move-to-column.
10395 (string-rectangle-history): New var.
10396 (string-rectangle, string-insert-rectangle): Use it.
10397 (delete-rectangle-line): Fix pos/column mixup and simplify.
10399 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
10400 (normal-top-level, command-line, command-line-1): Simplify.
10402 * tar-mode.el (tar-mode): Use define-derived-mode.
10404 * view.el (view-mode-enable): Don't use make-local-hook.
10406 * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
10408 2001-11-16 Richard M. Stallman <rms@gnu.org>
10410 * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
10411 if it doesn't make sense as anything else.
10412 Don't recognize a "telephone number" at the beginning of the name.
10413 (mail-extr-leading-garbage): Match non-word characters only.
10415 2001-11-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10417 * startup.el (command-line-processed): Doc fix.
10419 * apropos.el (apropos-next-label-button): Doc fix.
10421 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
10423 * comint.el (comint-mode): Simplify.
10424 (make-comint-in-buffer): Run `comint-mode' only if necessary.
10426 * subr.el (eval-after-load): Make it work with features as well.
10428 * log-view.el (log-view-mode): Don't mark the buffer unmodified.
10430 * international/mule-cmds.el (describe-input-method): Setup xref.
10431 (set-language-environment): Use functionp.
10432 (locale-language-names, locale-charset-language-names)
10433 (locale-preferred-coding-systems): Defconst and purecopy.
10435 * language/european.el (mac-roman): Add mime-charset property.
10437 2001-11-15 Richard M. Stallman <rms@gnu.org>
10439 * emacs-lisp/cl.el (values, values-list, multiple-value-list)
10440 (multiple-value-apply, nth-value): Use defsubst rather than defalias
10441 to get better doc strings.
10443 2001-11-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10445 * derived.el: Fix autoload cookie.
10447 2001-11-15 Richard M. Stallman <rms@gnu.org>
10449 * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
10451 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
10453 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
10455 2001-11-15 Richard M. Stallman <rms@gnu.org>
10457 * dired.el (dired-undo): Display a message to explain
10458 that this does not undo file system changes.
10460 2001-11-15 David Kastrup <David.Kastrup@t-online.de>
10462 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
10463 into `unread-command-events' instead of trying keymap
10464 lookups ourselves. This makes mouse-clicks do the right
10465 thing even when keymaps of overlays are involved.
10466 (mouse-drag-drag): Likewise.
10468 2001-11-15 Andreas Schwab <schwab@suse.de>
10470 * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
10471 characters and append anchor to pattern added to auto-mode-alist.
10473 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
10475 * server.el (server-process-filter): Run pre/post-comment-hook
10476 before/after visiting the file.
10478 * info-look.el (makefile-mode): Add info for automake.
10479 (autoconf-mode): Fix the name of the index for automake.
10481 * international/latin-9.el: Give pilcrow punctuation syntax.
10483 2001-11-15 Andre Spiegel <spiegel@gnu.org>
10485 * vc.el: Documentation fixes.
10487 2001-11-14 Stefan Monnier <monnier@cs.yale.edu>
10489 * smerge-mode.el (smerge-match-conflict): Fix typo.
10490 (smerge-diff): Be careful to read match-data early enough.
10492 2001-11-14 Colin Walters <walters@verbum.org>
10494 * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
10495 (calcFunc-subst): Use `defalias' instead of `fset' and
10498 * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
10499 (calcFunc-ceil, calcFunc-round): Ditto.
10501 * calc/calc-bin.el (calcFunc-clip): Ditto.
10503 * calc/calc-ext.el (calcFunc-evalv): Ditto.
10505 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
10507 * calc/calc-misc.el (math-fixnump, math-fixnatnump)
10508 (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
10510 * calc/calc-units.el (calcFunc-unsimplify): Ditto.
10512 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
10513 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
10514 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
10515 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
10516 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
10517 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
10518 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
10519 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
10520 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
10521 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
10522 * calcsel2.el: Style cleanup; don't put closing parens on their
10523 own line, add "foo.el ends here" to each file, and update
10526 * README: Update maintainer.
10528 2001-11-13 Richard M. Stallman <rms@gnu.org>
10530 * progmodes/compile.el (recompile): Use compilation-arguments if
10531 set, so as to be able to M-x recompile the exact command which
10532 created a compilation-mode buffer.
10534 * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
10536 2001-11-13 Gerd Moellmann <gerd@gnu.org>
10538 * mouse.el (mouse-drag-region): Don't run the up-event
10539 handler if window start changed due to the down-mouse event.
10541 2001-11-13 Richard M. Stallman <rms@gnu.org>
10543 * mouse.el (mouse-show-mark): Either move point to the mark
10544 or use highlighting, never both.
10545 (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
10547 2001-11-13 Simon Josefsson <jas@extundo.com>
10549 * mail/smtpmail.el (top-level): Change maintainer to Simon
10550 Josefsson, cleanup the smtpmail.el header.
10552 * mail/smtpmail.el (top-level): Don't require cl or base64.
10553 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
10554 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
10555 Defsubst instead of defmacro.
10556 (smtpmail-intersection): Return value in reverse order.
10557 (smtpmail-open-stream): Use stringp instead of string-to-list.
10558 (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
10559 separated from smtpmail-via-smtp.
10561 * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
10562 rfc2104. Require base64 and cl.
10563 (smtpmail-smtp-service): Doc fix. :type fix.
10564 (smtpmail-debug-info): Doc fix.
10565 (smtpmail-debug-verb, smtpmail-auth-credentials)
10566 (smtpmail-starttls-credentials, smtpmail-auth-supported):
10568 (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
10569 mail-utils (it is autoloaded).
10570 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
10571 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
10572 (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
10573 (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
10574 (smtpmail-via-smtp): Support AUTH.
10575 (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
10577 2001-11-13 Richard M. Stallman <rms@gnu.org>
10579 * ebuff-menu.el (electric-buffer-update-highlight): New function.
10580 (electric-buffer-overlay): New variable.
10581 (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
10582 (electric-buffer-list): Likewise.
10584 * isearch.el (isearch-whitespace-chars): Doc fix.
10585 (isearch-mode): Handle negative search-slow-window-lines correctly.
10587 2001-11-13 Stefan Monnier <monnier@cs.yale.edu>
10589 * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
10591 * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
10592 From Emmanuel Briot <briot@act-europe.fr>.
10594 2001-11-13 Colin Walters <walters@debian.org>
10596 * calc/calc.el (calc-unread-command): Use `unread-command-events'.
10598 * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
10599 "~/.emacs"; use `read-file-name'.
10601 * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
10602 * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
10603 * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
10604 * calc/calc.el: Use `frame-width' instead of `screen-width',
10605 `frame-height' instead of `screen-height', and,
10606 `executing-kbd-macro' instead of `executing-macro'.
10608 * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
10609 correct number of arguments.
10611 * calc/calc-aent.el (calc-do-alg-entry):
10612 Use `blink-paren-function' instead of `blink-paren-hook'.
10614 2001-11-12 Richard M. Stallman <rms@gnu.org>
10616 * calendar/todo-mode.el (todo-save): Add save-excursion
10617 and save-restriction.
10619 * server.el (server-edit, server-done): Doc fix.
10621 * simple.el (clone-indirect-buffer): Error if major mode symbol
10622 has a no-clone-indirect property.
10623 (clone-buffer): Check for obvious errors before reading clone name.
10625 * info.el (Info-mode): Add a no-clone-indirect property.
10627 2001-11-12 Sam Steingold <sds@gnu.org>
10629 * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
10630 set-buffer-modified-p to nil after `vc-exec-after'.
10631 * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
10632 (log-view-mode): Make read-only.
10633 (log-view-current-file): Do final `expand-file-name' in the
10634 current `default-directory'.
10635 (log-view-current-tag): Take an optional `where' arg.
10636 (log-view-diff): New user command.
10638 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10640 * progmodes/cpp.el (cpp-choose-face): Fix typo.
10642 2001-11-12 Sam Steingold <sds@gnu.org>
10644 * emacs-lisp/cl-indent.el (toplevel): Indent properly
10645 `generic-flet', `generic-labels', `with-accessors',
10646 `with-condition-restarts'.
10648 2001-11-12 Richard M. Stallman <rms@gnu.org>
10650 * dired.el: Many trivial doc fixes.
10651 (dired-get-file-for-visit): New function.
10652 (dired-find-alternate-file, dired-mouse-find-file-other-window)
10653 (dired-view-file, dired-find-file-other-window, dired-display-file)
10654 (dired-find-file): Use dired-get-file-for-visit.
10656 2001-11-12 Alex Schroeder <kensanata@yahoo.com>
10658 * sql.el (sql-mode): Doc change.
10660 * sql.el (sql-mode-syntax-table): The backslash is no longer an
10663 2001-11-12 Colin Walters <walters@debian.org>
10665 * calc/calc-keypd.el (toplevel): Bind mouse buttons.
10666 (calc-do-keypad): Don't attempt to use nonexistent global
10667 mouse-map, use calc-keypad-map.
10668 (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
10669 (calc-keypad-left-click): Don't use mouse-map; update to new event
10671 (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
10672 (calc-keypad-press): Use `unread-command-events' instead of
10673 `unread-command-char'.
10675 * calc/calc-ext.el (calc-init-extensions): Update autoload names
10676 to match files renamed on initial calc import.
10678 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10680 * textmodes/flyspell.el (flyspell-default-dictionary):
10681 Fix previous change.
10683 2001-11-12 Richard M. Stallman <rms@gnu.org>
10685 * textmodes/flyspell.el (flyspell-default-dictionary):
10688 2001-11-11 Richard M. Stallman <rms@gnu.org>
10690 * calendar/solar.el (solar-sunrise-and-sunset):
10691 Exchange the two extreme values of day-length.
10693 * progmodes/sh-script.el (sh-must-be-shell-mode):
10694 Allow modes derived from sh-mode.
10696 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
10697 Turn off error in some re-search-forward calls.
10699 * replace.el (query-replace-skip-read-only): New variable.
10700 (perform-replace): If that variable is non-nil, ignore matches
10701 that have a read-only property.
10703 * derived.el (define-derived-mode): Doc fix.
10705 * server.el (server-buffer-done): Test of server-existing-buffer
10707 (server-existing-buffer): Doc fix.
10709 * textmodes/flyspell.el (flyspell-default-dictionary):
10710 Allow nil as value, and make nil the default.
10712 2001-11-11 Eli Zaretskii <eliz@is.elta.co.il>
10714 * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
10716 (clipboard-yank): Ditto.
10718 2001-11-11 Colin Walters <walters@verbum.org>
10720 The following changes are based on patches from
10721 Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro
\e,A_
\e(Bjohann
10722 <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
10724 * calc/calc.el (toplevel): Require calc-macs.
10725 (calc-minibuffer-size): New.
10726 (calcDigit-nondigit): Use it instead of `buffer-size'.
10727 (calcDigit-backspace): Likewise.
10728 (calcDigit-nondigit): Use `minibuffer-contents' instead of
10730 (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
10732 (calcDigit-key): Use `calc-minibuffer-contains' instead of a
10735 * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
10736 simple `setq' form.
10738 * calc/calc-ext.el: (toplevel): Require calc.
10739 (calc-fancy-prefix-map): New.
10740 (calc-fancy-prefix): Use it.
10741 (calc-fancy-prefix-other-key): New.
10743 * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
10744 (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
10745 (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
10746 (calcAlg-enter): Likewise.
10747 (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
10749 2001-11-10 Richard M. Stallman <rms@gnu.org>
10751 * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
10752 (quietly-read-abbrev-file): Doc fix.
10754 * startup.el (command-line): Read standard abbrev
10755 file (abbrev-file-name), if it exists.
10757 * files.el (save-abbrevs): Default value is t.
10759 * progmodes/compile.el (compile-goto-error): Fix previous change
10760 in the case where subsequent errors have not been parsed yet
10761 because they are in a different source file.
10763 2001-11-10 Peter Kleiweg <kleiweg@let.rug.nl>
10765 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
10766 Merge two regular expressions into one.
10767 (ps-mode): Make local bindings for `comment-start' and
10768 `comment-start-skip'.
10769 (ps-mode-looking-at-nested): Simplify an if-else construct;
10770 use `set-match-data' to set the result.
10772 2001-11-10 Richard M. Stallman <rms@gnu.org>
10774 * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
10776 (flyspell-correct-word): Old definition deleted.
10777 (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
10778 All references renamed too.
10780 2001-11-10 Gerd Moellmann <gerd@gnu.org>
10782 * Makefile.in (finder_setwins, setwins): Exclude Calc.
10784 2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
10786 * wid-edit.el (checklist): Removed `:menu-tag'.
10787 (radio-button-choice): Ditto.
10788 (editable-list): Ditto.
10790 2001-11-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10792 * play/gomoku.el: Move definitions of constants to the beginning
10793 of file, before their use.
10795 2001-11-09 Richard M. Stallman <rms@gnu.org>
10797 * textmodes/flyspell.el: Use the keymap property
10798 instead of local-map, and don't use a minor-mode map.
10799 (flyspell-mode-map): Variable deleted.
10800 Don't mess with minor-mode-map-alist.
10801 (calling add-minor-mode): Specify nil for keymap.
10802 And always use add-minor-mode, now that it exists.
10803 (flyspell-overlay-keymap-property-name): Set it to `keymap'.
10804 (flyspell-mode-on): Don't locally bind flyspell-mouse-map
10805 or flyspell-local-mouse-map.
10806 (make-flyspell-overlay): Use flyspell-mouse-map directly.
10807 (flyspell-mode): Doc fix.
10808 (flyspell-mode-on): Don't call make-local-hook.
10810 2001-11-09 Sam Steingold <sds@gnu.org>
10812 * emacs-lisp/debug.el (debugger-make-xrefs):
10813 Add buttons to all symbols.
10815 2001-11-09 Andre Spiegel <spiegel@gnu.org>
10817 * vc.el: Add John David Smith to credits.
10819 Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
10821 * vc-hooks.el (vc-error-occured): Backquotified.
10822 (vc-file-prop-obarray): Use prime length for better efficiency.
10824 * vc.el (vc-clear-context): Fill obarray with 0, not nil.
10826 2001-11-09 Eli Zaretskii <eliz@is.elta.co.il>
10828 * info.el (Info-file-list-for-emacs): Add entries for Calc.
10830 2001-11-09 Miles Bader <miles@gnu.org>
10832 * subr.el (functionp): Don't consider macros as functions.
10834 2001-11-08 Miles Bader <miles@gnu.org>
10836 * subr.el (functionp): Make work correctly for macros and unbound
10839 * comint.el (comint-send-input): Fix description of
10840 `comint-process-echoes' in the doc-string.
10842 2001-11-08 Eli Zaretskii <eliz@is.elta.co.il>
10844 * international/mule.el (make-translation-table): Doc fix.
10845 Suggested by Alex Schroeder <alex@gnu.org>.
10847 2001-11-07 Richard M. Stallman <rms@gnu.org>
10849 * info.el (Info-fontify-node): Highlight every third menu item.
10851 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
10853 * cus-edit.el (custom-face-value-create): Don't ignore the
10854 `customized-face' attribute when finding the current face spec.
10856 2001-11-07 Stefan Monnier <monnier@cs.yale.edu>
10858 * subr.el (with-local-quit): New macro.
10859 (make-syntax-table): Always inherit.
10860 (functionp): Be more careful when `object' is a symbol.
10862 * dabbrev.el (dabbrev-completion): Use "*Completions*".
10864 2001-11-07 Paul Eggert <eggert@twinsun.com>
10866 * dired.el (dired-move-to-filename-regexp):
10867 Do not distinguish between ASCII letters and non-ASCII characters.
10868 Don't allow comma except in the form "month day, year".
10869 Don't allow space between month name and comma.
10870 Clean up the code that checks for trailing period, comma, and space.
10871 Remove now-obsolete comments, and add more commentary about
10873 Always gobble up trailing spaces, instead of doing it only sometimes.
10875 2001-11-07 Miles Bader <miles@gnu.org>
10877 * paren.el (show-paren-match-face): Add dark-background variant.
10879 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
10881 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
10882 (lisp-mode-variables): Don't set paragraph-{start,separate}.
10883 Don't disable adaptive-fill-mode.
10884 (lisp-fill-paragraph): Use tab-width rather than 8.
10885 Prevent filling the first line of docstrings.
10887 2001-11-06 Richard M. Stallman <rms@gnu.org>
10889 * play/gomoku.el (gomoku): Doc fix.
10891 * jka-compr.el (jka-compr-partial-uncompress):
10892 Support an alternative of not using dd.
10893 (jka-compr-dd-program): Use defcustom to define this.
10894 (jka-compr-load-suffixes): Use defcustom.
10895 (jka-compr-mode-alist-additions): Use defcustom.
10897 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
10899 * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
10900 Also work when LIMIT is further than the end of line.
10902 2001-11-06 Eli Zaretskii <eliz@is.elta.co.il>
10904 * international/quail.el (quail-update-leim-list-file): Print the
10905 offending file name if some of its quail-define-package forms is broken.
10907 2001-11-05 Richard M. Stallman <rms@gnu.org>
10909 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
10910 of the evaluated form.
10912 2001-11-05 Paul Eggert <eggert@twinsun.com>
10914 * ls-lisp.el (ls-lisp-time-to-seconds): New function.
10915 (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
10916 stamps always line up by default. Also, it uses a slightly
10917 different window to determine whether files are "recent".
10919 2001-11-05 Andrew Innes <andrewi@gnu.org>
10921 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
10922 Don't attempt to remake autoloads before nuking .elc files.
10924 2001-11-04 Richard M. Stallman <rms@gnu.org>
10926 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
10927 previous-single-property-change or next-single-char-property-change
10930 * international/mule-cmds.el (set-locale-environment):
10931 Make it interactive; make arg optional.
10933 * international/mule-diag.el (help-funs): Require help-funs.
10935 2001-11-04 Eli Zaretskii <eliz@is.elta.co.il>
10937 * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
10939 2001-11-04 Miles Bader <miles@gnu.org>
10941 * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
10942 shadow of the splash image grey on a dark background instead of black.
10944 2001-11-03 Stefan Monnier <monnier@cs.yale.edu>
10946 * term.el (all faces): Don't (copy-face 'default <foo>).
10948 * term/xterm.el (function-key-map):
10949 Add entry for `ESC [ 3 ~' -> <delete>
10950 Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
10951 Use inheritance so that .emacs and terminfo take precedence.
10953 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
10955 * tooltip.el (tooltip-delay): Decrease to 0.7.
10956 (tooltip-hide-delay): Enlarge to 10.
10958 2001-11-03 Richard M. Stallman <rms@gnu.org>
10960 * startup.el (fancy-splash-tail): Explain how to recover
10961 from a crash, if there was a crash.
10962 (command-line-1): Reorganize display of startup screen,
10963 to simplify the logic. Use a temp buffer for it.
10965 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
10967 * frame.el (set-background-color, set-foreground-color):
10968 Call face-set-after-frame-default, to propagate the new colors to
10969 the frame's parameters alist.
10971 * calendar/timeclock.el (timeclock-out): Signal an error if
10972 timeclock-last-event is nil.
10974 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
10976 * textmodes/fill.el (fill-context-prefix): Fix braino.
10978 * international/quail.el (quail-help):
10979 Use `help-buffer' and move `help-setup-xref' to beginning.
10981 * international/mule-cmds.el (describe-language-environment):
10982 Use `help-buffer' and move `help-setup-xref' to beginning.
10984 * international/mule-diag.el (list-character-sets)
10985 (sort-listed-character-sets, describe-character-set)
10986 (describe-coding-system, describe-fontset, list-fontsets):
10987 Use `help-buffer' and move `help-setup-xref' to beginning.
10988 (describe-char-after): Use `internal-describe-syntax-value'.
10990 2001-11-02 Richard M. Stallman <rms@gnu.org>
10992 * mouse.el (popup-menu): If the user refuses to select
10993 from a menu, don't try to invoke the menu.
10995 2001-11-02 Miles Bader <miles@gnu.org>
10997 * help-mode.el (help-xref): New button type.
10998 (help-function, help-variable, help-face, help-coding-system)
10999 (help-input-method, help-character-set, help-type, help-symbol)
11000 (help-back, help-info, help-customize-variable, help-customize-face)
11001 (help-function-def, help-variable-def): Use it as a supertype.
11002 Remove `action' property.
11004 * international/mule-diag.el (describe-character-set)
11005 (describe-coding-system): Pass correct args to `help-xref-button'.
11006 (sort-listed-character-sets): New button type.
11007 (list-character-sets): Use it.
11008 (list-charset-chars): New button type.
11009 (list-character-sets-1): Use it.
11011 2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
11013 * indent.el (tab-always-indent, indent-for-tab-command):
11014 Remove redundant `never' setting.
11016 * fill.el (fill-region-as-paragraph): Don't forget to skip
11017 over current whitespace before looking for a preceding space.
11019 2001-11-01 Richard M. Stallman <rms@gnu.org>
11021 * files.el (file-newest-backup): Don't pass backup file name
11022 thru file-name-sans-versions, because it never has version numbers.
11024 * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
11025 to avoid ambiguous nested loops.
11027 * files.el (find-file-noselect): Offer to change buffer-read-only
11028 only when the file's read-only status has changed from before
11029 as well as disagreeing with the buffer's current status.
11030 (buffer-file-read-only): New var, local in all buffers.
11032 * buff-menu.el (buffer-menu): Doc fix.
11033 (buffer-menu-other-window): Doc fix.
11034 (list-buffers, list-buffers-noselect): Doc fix.
11036 2001-11-01 Gerd Moellmann <gerd@gnu.org>
11038 * startup.el (command-line): If the terminal Emacs is running on
11039 has erase char set to ^H, use the Backspace key for deleting
11040 backward, and the Delete key for deleting forward.
11042 2001-11-01 Miles Bader <miles@gnu.org>
11044 * button.el (define-button-type): Make sure every user-defined
11045 button type has a supertype.
11047 2001-10-31 Jason Rumney <jasonr@gnu.org>
11049 * international/mule-cmds.el (locale-language-names): Add chs and
11050 cht as aliases for Chinese-GB and Chinese-BIG5.
11052 2001-10-31 Richard M. Stallman <rms@gnu.org>
11054 * bindings.el (mode-line-frame-identification): Add doc string.
11055 (mode-line-position, mode-line-modes): New variables.
11056 (mode-line-format): Use mode-line-position for the part
11057 that displays the position-in-buffer info.
11058 Use mode-line-modes for the part that displays major and minor modes.
11060 2001-10-31 Sam Steingold <sds@gnu.org>
11062 * emacs-lisp/debug.el (debugger-make-xrefs): New function.
11063 (debugger-setup-buffer): Call it.
11064 (debugger-mode-map): Bind RET and mouse-2.
11066 2001-10-31 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11068 * startup.el: Document command line option --no-window-system
11069 instead of --no-windows.
11071 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
11073 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
11075 * font-lock.el (java-font-lock-syntactic-face-function): New fun.
11076 (font-lock-defaults-alist): Use it.
11077 From David Ponce <david.ponce@wanadoo.fr>
11079 * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
11080 output of `char-after'.
11082 * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
11084 * simple.el (reindent-then-newline-and-indent): Insert the newline
11085 before indenting the first line.
11086 (undo-get-state, undo-revert-to-state): New funs.
11087 (shell-command): Don't kill the buffer even if empty.
11088 (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
11089 (transpose-subr-end2): Remove.
11090 (transpose-subr): Add `special' arg and simplify.
11091 (transpose-subr-1): Rewrite.
11092 (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
11093 (rfc822-goto-eoh): Simplify.
11095 2001-10-30 Richard M. Stallman <rms@gnu.org>
11097 * enriched.el (enriched-face-ans): Fix previous change.
11099 2001-10-30 Gerd Moellmann <gerd@gnu.org>
11101 * international/iso-acc.el (iso-accents-compose): Remove a
11104 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
11106 * buff-menu.el (list-buffers-noselect): If the buffer's name
11107 starts with a blank, but it visits a file, do show it (for files
11108 whose names start with a blank).
11110 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
11112 * textmodes/fill.el (sentence-end-double-space)
11113 (sentence-end-without-period): Move to paragraphs.el.
11114 (fill-indent-according-to-mode): Change default to t.
11115 (fill-context-prefix): Simplify control-flow and use a more
11116 sophisticated merge that unifies both previous checks.
11117 (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
11118 (fill-nobreak-predicate): Make it into a defcustom'd hook.
11119 (fill-nobreak-p): New fun.
11120 (fill-region-as-paragraph): Use it.
11121 Handle `fill-indent-according-to-mode' slightly differently.
11122 (fill-individual-paragraphs-prefix): Simplify the control-flow.
11123 (fill-individual-paragraphs-citation): Fix.
11125 * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
11126 (paragraph-start): Change default to the `text-mode' value.
11127 (sentence-end-double-space, sentence-end-without-period):
11129 (forward-paragraph): Use `parstart' and `parsep' for temp variables
11130 rather than rebinding `paragraph-start' and `paragraph-separate'.
11132 * indent.el (indent-line-function): Change default to indent-relative.
11133 (tab-always-indent): Add an `never' setting.
11134 (indent-according-to-mode): Handle `indent-relative' and
11135 `indent-relative-maybe' specially.
11136 (indent-for-tab-command): Rename `prefix-arg' to `arg'.
11137 Handle the `never' case for `tab-always-indent'.
11138 Don't call indent-according-to-mode for indent-relative' and
11139 `indent-relative-maybe'.
11140 (insert-tab): Rename `prefix-arg' to `arg'.
11141 (indent-region): Indent the first line as well.
11142 (indent-relative): Don't mark the buffer modified if the indentation
11145 * textmodes/text-mode.el (paragraph-indent-minor-mode):
11146 Don't set paragraph-separate. Set paragraph-start more carefully.
11147 Set indent-line-function.
11148 (paragraph-indent-text-mode): Use it and define-derived-mode.
11149 (text-mode-map): Remove the \t binding.
11150 (text-mode): Simplify now that the default is more favorable.
11152 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
11154 * emacs-lisp/find-func.el (find-function-search-for-symbol):
11155 If the regexp doesn't match, use a looser one.
11156 (find-variable-noselect): Add `file' argument.
11158 * pcvs.el (cvs-mode-commit-hook): New hook.
11159 (cvs-mode-commit): Run it.
11161 * log-edit.el (log-edit): Run hook after `log-edit-files'.
11163 * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
11164 (edebug-instrument-function): Use `find-function-noselect'.
11166 2001-10-29 Richard M. Stallman <rms@gnu.org>
11168 * term.el (term-if-emacs19): Macro deleted.
11169 Callers changed to use progn instead.
11171 * frame.el (blink-cursor-mode): Doc fix.
11173 * files.el (find-backup-file-name): Use make-backup-file-name.
11175 * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
11177 (edebug-set-conditional-breakpoint): Unconditionally use
11178 the former Emacs >=19 definition.
11179 (edebug-mark): Define unconditionally.
11180 (edebug-eval-expression): Always call read-from-minibuffer
11181 and specify history list.
11182 (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
11183 edebug-set-conditional-breakpoint.
11184 (edebug-emacs-version-specific): Function deleted;
11185 do the job at top level.
11186 (edebug-emacs-19-specific): Function deleted, this is the default.
11188 2001-10-29 Sam Steingold <sds@gnu.org>
11190 * w32-fns.el (convert-standard-filename): Handle cygwin-specific
11191 "/cygdrive/LETTER/" pathnames.
11193 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
11195 * faces.el (invert-face): Check for 'unspecified, not for nil,
11196 when testing whether face colors are not specified.
11197 From David.Kastrup@t-online.de (David Kastrup).
11198 (read-face-name): Doc fix.
11199 (make-face-bold, make-face-unbold, make-face-italic)
11200 (make-face-unitalic, make-face-bold-italic, invert-face):
11201 Remove trailing blank from the prompt passed to read-face-name.
11203 2001-10-29 Sam Steingold <sds@gnu.org>
11205 * emacs-lisp/bytecomp.el (byte-recompile-directory):
11206 Report numbers of files skipped and failed too.
11207 (byte-compile-file): Return 'no-byte-compile for skipped files.
11209 2001-10-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11211 * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
11214 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11216 * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
11217 as is on unread-command-events instead of `(SECOND-CHAR)'.
11219 2001-10-29 Andre Spiegel <spiegel@gnu.org>
11221 * vc.el: Mention vc-*-switches in backend API documentation.
11222 (vc-annotate): Adapt doc string to recent change.
11224 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11226 * enriched.el (enriched-face-ans): Handle face attributes
11227 of the form `(FACE1 FACE2 ...)'.
11229 * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
11231 2001-10-29 Alex Schroeder <kensanata@yahoo.com>
11233 * progmodes/sql.el (sql-mysql): Doc change by RMS.
11235 * progmodes/sql.el (sql-db2): Doc change.
11236 (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
11237 (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
11239 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11241 * env.el (substitute-env-vars): Don't quote argument to `rx';
11244 2001-10-28 Per Abrahamsen <abraham@dina.kvl.dk>
11246 * cus-start.el (recursive-load-depth-limit): Added.
11248 2001-10-28 Richard M. Stallman <rms@gnu.org>
11250 * textmodes/ispell.el (version18p, version20p): Vars deleted.
11251 All uses removed--assume Emacs version is >= 20.
11253 * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
11254 by really checking that it is not version 18.
11256 * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
11258 2001-10-28 Miles Bader <miles@gnu.org>
11260 * faces.el (face-attribute): Add INHERIT argument, consider face
11261 inheritance if it's non-nil.
11262 (face-attribute-merged-with): New function.
11263 (face-attribute-specified-or): New macro.
11264 (face-foreground, face-background, face-stipple): Add INHERIT
11265 argument. Use `face-attribute-specified-or'.
11267 2001-10-28 Stefan Monnier <monnier@cs.yale.edu>
11269 * font-lock.el: Require `syntax'.
11270 (font-lock-defaults-alist): Don't define keywords for lisp languages.
11271 Use `c-font-lock-syntactic-face-function' for c languages.
11272 (font-lock-mode): Don't unset vars when turning the mode off.
11273 (font-lock-default-fontify-buffer): Don't unset vars at the end.
11274 (font-lock-extra-managed-props): New var.
11275 (font-lock-default-unfontify-region): Use it.
11276 (font-lock-apply-syntactic-highlight): Flush the syntax cache.
11277 Don't eval the value when there's no match.
11278 (font-lock-ppss-stats): New var.
11279 (font-lock-ppss): New fun.
11280 (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
11281 (font-lock-apply-highlight): Allow `highlight' to set several props.
11282 (font-lock-set-defaults): Use dolist.
11283 (font-lock-unset-defaults): Remove.
11284 (font-lock-match-c-style-declaration-item-and-skip-to-next):
11285 Try to recognize prototypes using `foo P_ ((args))'.
11286 ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
11287 (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
11288 (c-font-lock-syntactic-face-function): New function.
11289 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
11290 (c++-keywords): Use a more sophisticated regexp to handle
11291 shallowly nested templates.
11293 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
11295 * textmodes/sgml-mode.el (sgml-empty-tags): New var.
11296 (sgml-tag): Use it. Cleanup with `cond'.
11297 (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
11298 Mark the overlays and only delete those that are marked.
11299 (sgml-skip-close-p): Remove.
11300 (sgml-value): Replace sgml-skip-close-p with its definition.
11301 (html-tag-alist): Use sgml-xml a bit more.
11302 (html-mode): Set sgml-empty-tags.
11304 * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
11305 (texinfo-update-node, texinfo-sequential-node-update):
11306 Don't bind the obsolete `auto-fill-hook'.
11307 (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
11308 Use `set-buffer' rather than `switch-to-buffer'.
11309 (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
11310 Use `set-buffer' rather than `switch-to-buffer'.
11312 * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
11313 text-mode-syntax-table.
11314 (mail-mode): Use define-derived-mode.
11315 Fix ordering of alternatives in adaptive-fill-regexp.
11316 (mail-mode-map): Don't rely on keymap's internal representation.
11318 2001-10-27 Sam Steingold <sds@gnu.org>
11320 * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
11321 (sgml-xml-guess): Extracted from `html-mode' and generalized.
11322 (sgml-mode-common): Call it.
11323 (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
11324 (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
11325 (html-horizontal-rule, html-image, html-ordered-list):
11326 (html-unordered-list, html-list-item, html-paragraph):
11327 (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
11330 2001-10-26 Masayuki Ataka <ataka@milk.freemail.ne.jp>
11332 * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
11333 (ifnothtml): New alias.
11335 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
11337 * textmodes/text-mode.el (text-mode): Use define-derived-mode.
11338 (toggle-text-mode-auto-fill): Use derived-mode-p.
11340 2001-10-27 Gerd Moellmann <gerd.moellmann@t-online.de>
11342 * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
11343 `mdtm'. From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
11345 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
11347 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
11348 Add make-obsolete cookies, to follow faces.el.
11350 These changes avoid warnings from the byte compiler in faces.el:
11352 * faces.el (internal-get-face): Use facep instead of the obsolete
11353 internal-find-face.
11354 (internal-frob-font-weight, internal-frob-font-slant):
11355 New defaliases for obsolete functions.
11356 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
11357 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
11358 (x-make-font-bold-italic): Use internal-frob-font-weight and
11359 internal-frob-font-slant aliases instead of the obsolete
11360 x-frob-... functions.
11362 2001-10-26 Sam Steingold <sds@gnu.org>
11364 * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
11365 DOCTYPE; set `mode-name' based on it.
11366 (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
11367 (sgml-tag): Close empty tags in XHTML.
11369 2001-10-26 Jason Rumney <jasonr@gnu.org>
11371 * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
11372 when UNICODE is not defined.
11374 2001-10-26 Sam Steingold <sds@gnu.org>
11376 * font-lock.el (c-font-lock-keywords-2): Do not require labels to
11377 be alone on the line.
11379 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
11381 * button.el (button): Special face definition for MS-DOS terminals.
11383 2001-10-26 Sam Steingold <sds@gnu.org>
11385 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
11386 Protect the /= test by checking that the args are non-nil.
11387 (sh-font-lock-close-heredoc): Check eof for being non-nil.
11389 2001-10-26 Tomas Abrahamsson <tab@lysator.liu.se>
11391 * textmodes/artist.el (artist-version): 1.2.4.
11392 (artist-butlast-fn): New variable.
11393 (artist-butlast): New function.
11394 (artist-ellipse-mirror-quadrant): Use it.
11395 (artist-mouse-draw-poly): Use nil for `point-list'.
11396 (artist-mouse-draw-poly): Check for point-list being nil.
11398 2001-10-26 Peter Kleiweg <kleiweg@let.rug.nl>
11400 * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
11402 (ps-mode-menu-main): Submenu with options on/off was replaced with
11404 (ps-mode, ps-run-mode): Define with `define-derived-mode'
11405 (ps-mode): Autoload cookie added on same line as comment
11406 (ps-mode-tabkey, ps-mode-backward-delete-char):
11407 (ps-mode-r-balance): Replace `delete-horizontal-space' and
11408 `indent-to' with `indent-line-to'
11409 (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
11411 (ps-mode-print-region): Use `with-temp-buffer'.
11412 (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'.
11413 (numerous places): Add back-tick and tick around names in
11414 docstrings, fix punctuation in docstrings, remove trailing spaces.
11416 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
11418 * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
11419 (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
11420 (sgml-font-lock-syntactic-keywords): New var.
11421 (sgml-mode-common): Drop the two args.
11422 Don't make buffer-local variables that aren't used.
11423 Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
11424 Don't set `before-string' props from sgml-display-text.
11425 (sgml-mode): Use define-derived-mode.
11426 (sgml-tags-invisible): Use sgml-display-text.
11427 (sgml-quote): New command.
11428 (html-tag-alist): Add args for `span'.
11429 (html-mode): Use define-derived-mode.
11430 Set sgml-display-text and sgml-tag-face-alist.
11432 2001-10-25 Sam Steingold <sds@gnu.org>
11434 * add-log.el (add-log-always-start-new-record): New user option.
11435 (add-change-log-entry): Use it.
11437 2001-10-25 Richard M. Stallman <rms@gnu.org>
11439 * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
11440 bind case-fold-search if FROM is not all lower case.
11442 2001-10-25 Gerd Moellmann <gerd@gnu.org>
11444 * startup.el (normal-top-level): Check for frame-initial-frame
11445 only if it's really used.
11447 * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
11449 * progmodes/compile.el (compilation-parse-errors-filename-function):
11451 (compilation-parse-errors): Use it.
11453 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
11455 * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
11456 interactively so that C-u M-C-x still does edebug.
11457 (checkdoc-sentencespace-region-engine): Don't force a double-space
11458 after `.' if it doesn't look like an end-of-sentence.
11459 (debug-ignored-errors): Add `disambiguate ...'.
11461 2001-10-24 Stefan Monnier <monnier@cs.yale.edu>
11463 * textmodes/texinfo.el (texinfo-environments)
11464 (texinfo-environment-regexp): Hoist.
11465 (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
11466 Only highlight the menu name in menu items.
11467 Setup `@foo ... @end foo' as text clones.
11468 (texinfo-clone-environment): New function.
11469 (texinfo-mode): Simplify auto-fill-inhibit-regexp.
11470 (texinfo-insert-block): Simplify.
11471 (texinfo-insert-quote): Insert a plain " if preceded by \ or if
11472 the command is repeated.
11473 (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
11474 (texinfo-insert-@end): Simplify.
11476 * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
11477 (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
11478 (texinfo-subsubsection-level-regexp)
11479 (texinfo-update-menu-same-level-regexps)
11480 (texinfo-update-menu-higher-regexps)
11481 (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
11483 * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
11484 (derived-mode-p): Autoload.
11486 * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
11487 New vars and functions.
11488 (text-clone-maintain, text-clone-create): New functions.
11490 2001-10-25 Miles Bader <miles@gnu.org>
11492 * facemenu.el (facemenu-add-new-face): Fix variable names.
11494 2001-10-24 Richard M. Stallman <rms@gnu.org>
11496 * facemenu.el (facemenu-unlisted-faces): Improve doc strings
11497 of t and nil values.
11498 (facemenu-set-face): Handle START and END interactively.
11499 (facemenu-set-foreground): Don't use a face; specify color directly.
11500 (facemenu-set-background): Likewise.
11501 (facemenu-set-face-from-menu): Doc fix.
11502 (facemenu-active-faces): Use face-attribute-vector
11503 to handle bare attributes not in faces.
11504 (facemenu-get-face): Don't handle face names fg:... and bg:...
11506 (facemenu-add-new-face): New argument MENU.
11507 New way to handle adding colors to the color menus.
11509 * env.el (substitute-env-vars): Quote the arg to rx.
11511 2001-10-24 Sam Steingold <sds@gnu.org>
11513 * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
11514 Control" and "SGML" groups.
11516 2001-10-24 Martin Stjernholm <bug-cc-mode@gnu.org>
11518 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
11519 Better handling of C++ template args to avoid confusion with `<'
11520 and `>' used as operators in member init expressions.
11522 2001-10-24 Gerd Moellmann <gerd@gnu.org>
11524 * replace.el (perform-replace): Move START and END parameters
11525 to the end of the argument list and make them optional.
11527 * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
11530 * international/fontset.el (x-must-resolve-font-name): New function.
11531 (x-complement-fontset-spec): Use it.
11533 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
11535 * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
11537 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
11538 Turn caadr into caar of cdr.
11540 2001-10-23 Gerd Moellmann <gerd@gnu.org>
11542 * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
11543 of mouse-{1,2} since dragging is on the down event.
11545 * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
11547 * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
11550 * desktop.el (desktop-last-buffer): New variable.
11551 (desktop-create-buffer): Set it.
11552 (desktop-read): Bind it and switch to that buffer.
11554 2001-10-22 Gerd Moellmann <gerd@gnu.org>
11556 * progmodes/compile.el (compilation-set-window-height):
11557 Select old window only if it's still live.
11559 2001-10-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11561 * help-mode.el (help-buffer): Remove debugging code.
11562 From Stefan Monnier <monnier@cs.yale.edu>.
11564 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
11566 * files.el (file-name-sans-extension, file-name-extension):
11567 Don't count the leading dots in file names as signaling an extension.
11569 2001-10-22 Andre Spiegel <spiegel@gnu.org>
11571 * vc.el (vc-diff-switches): Doc rewritten.
11573 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
11575 * tooltip.el (tooltip-set-param): Doc fix.
11577 * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
11578 127 to sgml-maybe-name-self.
11579 (sgml-name-8bit-mode): Doc fix.
11580 (sgml-char-names-table): New variable.
11581 (sgml-name-char): Support non-ASCII and mule-unicode-*
11582 characters. Doc fix.
11583 (sgml-maybe-name-self): Convert unibyte characters to multibyte.
11585 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
11586 doc string the effect of `left' and `top' parameters in
11587 tooltip-frame-parameters, the default values, and the units.
11588 (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
11589 (tooltip-show): Mention in the doc string the `top' and `left'
11590 parameters in tooltip-frame-parameters, and x-max-tooltip-size.
11592 2001-10-22 Andre Spiegel <spiegel@gnu.org>
11594 Add autoscaling support for vc-annotate.
11595 From J.D. Smith <jdsmith@alum.mit.edu>.
11597 * vc.el (vc-annotate-display-default): Accept colormap scaling
11598 ratio (now deprecated).
11599 (vc-annotate-display-autoscale): Added.
11600 (vc-annotate-add-menu): New autoscaling menu options "Span to
11601 Oldest" and "Span Oldest->Newest". Easymenu support added for
11602 toggle menus driven by customize variable `vc-annotate-display-mode'.
11603 (vc-annotate-display-select): Added.
11604 (vc-annotate): Changed temp-buffer-show-function to
11605 `vc-annotate-display-select'.
11606 (vc-annotate-display): Removed arguments BUFFER and BACKEND.
11607 Added argument OFFSET. Instead of backend function, calls now
11608 generic `vc-annotate-difference'.
11609 (vc-annotate-difference): Added as generic function instead of
11610 backend-specific function. No longer takes argument POINT, but
11611 instead accepts a time OFFSET.
11612 (vc-default-annotate-current-time): Added.
11614 * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
11615 version in vc.el, with
11616 (vc-cvs-annotate-current-time): Added, as override of default.
11617 (vc-cvs-annotate-time): Added. Taken mostly from the (now removed)
11618 `vc-cvs-annotate-difference'.
11620 2001-10-22 Gerd Moellmann <gerd@gnu.org>
11622 * saveplace.el (save-place): Require `saveplace'.
11624 * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
11625 Use `sexp' for :value-type instead of `face'.
11627 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
11629 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
11630 regexps due to 5-digit message IDs.
11632 2001-10-21 Jason Rumney <jasonr@gnu.org>
11634 * term/w32-win.el (redisplay-dont-pause): Don't set.
11636 2001-10-21 Miles Bader <miles@gnu.org>
11638 * help-funs.el (help-manyarg-func-alist): Variable removed.
11640 2001-10-21 Miles Bader <miles@gnu.org>
11642 * help-funs.el (help-manyarg-func-alist): Remove entries for
11643 `insert', `insert-and-inherit', `insert-before-markers',
11644 `insert-before-markers-and-inherit', `message', `message-box',
11645 `message-or-box', `propertize', `format', `encode-time', `append',
11646 `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
11647 `insert-string', `ml-if', `ml-provide-prefix-argument', and
11648 `ml-prefix-argument-loop'.
11650 2001-10-21 Andre Spiegel <spiegel@gnu.org>
11652 * vc.el (vc-diff-internal, vc-coding-system-for-diff)
11653 (vc-default-diff-tree): New functions.
11654 (vc-version-diff): Use them. As a result, coding systems are now
11655 set up properly for all sorts of diffs, and tree diffs can now
11656 also be done locally.
11657 (vc-diff): With a prefix argument, don't require that it's called
11658 from a buffer under version control.
11659 (diff-switches): Remove duplicate definition.
11661 * vc-cvs.el (vc-cvs-diff-tree): New function.
11663 2001-10-21 Miles Bader <miles@gnu.org>
11665 * help-funs.el (help-manyarg-func-alist): Remove entries for
11666 `list', `vector', `make-byte-code', `call-process',
11667 `call-process-region', `string', `+', `-', `*', `/', `max', `min',
11668 `logand', `logior', and `logxor'.
11670 * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
11671 image bits to compensate. Use `make-string' instead of
11672 `make-bool-vector' (XBM apparently wants byte-aligned rows).
11674 2001-10-20 Kim F. Storm <storm@cua.dk>
11676 * simple.el (kill-ring-save): Don't show extent of copied region
11677 if using transient-mark-mode and region is fully visible.
11679 See ChangeLog.9 for earlier changes.
11681 ;; Local Variables:
11682 ;; coding: iso-2022-7bit
11685 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
11686 Copying and distribution of this file, with or without modification,
11687 are permitted provided the copyright notice and this notice are preserved.