1 2002-10-16 Andreas Schwab <schwab@suse.de>
3 * dired.el (dired-readin-insert): Expand dired-directory.
5 * dired-aux.el (dired-insert-subdir-doinsert): Preserve point.
7 2002-10-16 Markus Rost <rost@math.ohio-state.edu>
9 * textmodes/reftex-vars.el: Move reftex-set-dirty here from
10 reftex.el. Move the provide call to end of file.
12 * textmodes/reftex.el: Move reftex-set-dirty to reftex-vars.el.
14 2002-10-15 Dave Love <fx@gnu.org>
16 * man.el (Man-getpage-in-background): Set width in environment.
18 2002-10-15 Kenichi Handa <handa@m17n.org>
20 * mail/sendmail.el (sendmail-send-it): Call
21 select-message-coding-system before changing the current bufer to
24 2002-10-14 Andre Spiegel <spiegel@gnu.org>
26 * files.el (insert-directory): Handle //SUBDIRED// lines in
27 recursive listings from ls --dired.
29 * vc.el (vc-dired-reformat-line): Simplified. Handles text
30 properties correctly now.
32 2002-10-14 Juanma Barranquero <lektu@terra.es>
34 * international/mule.el (set-selection-coding-system): Fix spacing.
36 2002-10-13 Richard M. Stallman <rms@gnu.org>
38 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
39 Treat `ignore' specially--prevent warnings about functions
40 called for effect, in its args.
41 Don't warn when `pop' is used for effect.
43 * emacs-lisp/autoload.el (autoload-print-form): Cleanup.
45 * uniquify.el (uniquify-get-proposed-name):
46 Don't use directory-sep-char.
48 * thingatpt.el (read-from-whole-string): Add call to `ignore'.
50 * find-file.el (ff-related-file-alist): New alias.
51 (ff-find-related-file): New alias.
53 2002-10-13 Andreas Schwab <schwab@suse.de>
55 * dired.el (dired-insert-directory): When looking for existing
56 indentation, goto OPOINT instead of beginning of buffer.
58 2002-10-12 Stefan Monnier <monnier@cs.yale.edu>
60 * cus-dep.el (custom-make-dependencies): Ignore preloaded files.
62 2002-10-12 Michael Kifer <kifer@cs.stonybrook.edu>
64 * ediff-init.el (ediff-frame-char-height): Use frame-selected-window.
66 * ediff-util.el (ediff-file-checked-in-p): Changed progn with and.
68 * ediff-wind.el (ediff-skip-unsuitable-frames): Distinguish selected
69 frame from frame of selected window.
70 (ediff-frame-has-dedicated-windows): Don't select any frames to avoid
71 changing selected windows.
72 (ediff-setup-control-frame): Make sure auto-rase is properly set for
75 2002-10-10 Simon Josefsson <jas@extundo.com>
77 * browse-url.el (browse-url-mozilla): Doc fix.
79 2002-10-10 Steve Youngs <youngs@xemacs.org>
81 * browse-url.el (browse-url-mozilla-new-window-is-tab): New.
82 (browse-url-mozilla): Use it.
84 2002-10-11 Miles Bader <miles@gnu.org>
86 * vc-cvs.el (vc-cvs-parse-entry): Don't barf when an `Entries'
87 files contains an invalid timestamp.
89 2002-10-11 Simon Josefsson <jas@extundo.com>
91 * mail/sendmail.el (mail-envelope-from): New option `header' to
92 use RFC 2822 From: header as the envelope address.
93 (mail-envelope-from): New function, this should be used instead of
94 looking at the `mail-envelope-from' variable.
95 (sendmail-send-it): Use it.
97 * mail/smtpmail.el (smtpmail-via-smtp): Use it.
99 2002-10-11 Andre Spiegel <spiegel@gnu.org>
101 * dired.el (dired-insert-directory): Fix check for indentation
104 * vc.el (vc-dired-reformat-line): As a temporary fix, remove all text
105 properties from the reformatted line.
107 2002-10-10 Stefan Monnier <monnier@cs.yale.edu>
109 * textmodes/paragraphs.el (forward-paragraph): Keep track of
110 remaining paragraphs to skip more carefully.
112 * add-log.el (add-change-log-entry): Don't call find-file at all
113 if we're already in the proper buffer.
114 (change-log-resolve-conflict): New fun.
115 (change-log-mode): Use it and use define-derived-mode.
116 (change-log-merge): Allow other-log to be a buffer.
117 Don't add a \n if there are already enough \n's.
119 * finder-inf.el, subdirs.el, cus-load.el: Remove.
121 * finder.el ("finder-inf"): Don't fail if the file is absent.
123 * cus-dep.el (custom-make-dependencies): Don't use find-file.
124 Use feature names rather than file names if applicable.
126 * cus-edit.el (customize-mode): New command.
128 * custom.el (custom-group-of-mode): New fun.
129 (custom-load-symbol): Don't use preloaded-file-list now that
130 load-history is always complete. Don't look up the expanded file
131 name in load-history (looked like an XEmacsism).
133 * smerge-mode.el (smerge-ediff): Autoload.
134 (smerge-match-conflict): Don't assume as much about smerge-begin-re.
135 (smerge-resolve-function): New var.
136 (smerge-resolve): New command.
137 (smerge-basic-map): Bind it.
139 2002-10-10 Andre Spiegel <spiegel@gnu.org>
141 * vc-cvs.el (vc-cvs-parse-entry): Parse the time stamp found in
142 CVS/Entries, rather than comparing it textually.
144 2002-10-10 Markus Rost <rost@math.ohio-state.edu>
146 * international/encoded-kb.el: Add `provide' call.
148 2002-10-09 David Kastrup <David.Kastrup@t-online.de>
150 * calc/calc-alg.el (calcFunc-ln): In symbolic manipulations,
151 ln(-1) should be i*pi, not pi.
153 2002-10-09 Markus Rost <rost@math.ohio-state.edu>
155 * vc-cvs.el (vc-cvs-registered): In the autoload version use load
156 instead of require to avoid loops when loaddefs.el is loaded after
159 * cus-edit.el (Custom-reset-current): Don't test for default-boundp.
160 (Custom-reset-saved): Don't test for saved-value.
162 2002-10-08 Stefan Monnier <monnier@cs.yale.edu>
164 * vc.el (vc-find-version): Use the new backend op `find-version'.
165 (vc-default-find-version): Provide the new backend op `find-version'
166 in terms of the old `checkout' op.
168 * vc-rcs.el (vc-rcs-find-version): New fun.
169 (vc-rcs-checkout): Remove `workfile' arg and simplify.
171 * vc-sccs.el (vc-sccs-find-version): New fun.
172 (vc-sccs-checkout): Remove `workfile' arg and simplify.
174 * vc-cvs.el (vc-cvs-find-version): New fun.
176 2002-10-08 John Paul Wallington <jpw@shootybangbang.com>
178 * info.el (Info-next-menu-item, Info-last-menu-item)
179 (info-emacs-manual): Add docstrings.
180 (Info-index): Use `string-to-number' instead of `string-to-int'.
182 2002-10-08 Kenichi Handa <handa@m17n.org>
184 * international/ucs-tables.el (ucs-translation-table-for-decode):
185 Define it as a translation-table.
187 2002-10-07 Richard M. Stallman <rms@gnu.org>
189 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
191 * progmodes/compile.el (grep-compute-defaults): Set the standard-value
192 properties of the variables being initialized.
194 * thingatpt.el (thing-at-point-url-path-regexp): Doc fix.
196 2002-10-07 Kim F. Storm <storm@cua.dk>
198 * emulation/cua-base.el (cua-normal-cursor-color):
199 Fixed initialization to make "Erase Customization" work.
201 2002-10-07 Stefan Monnier <monnier@cs.yale.edu>
203 * vc.el (vc-maybe-resolve-conflicts): Always call vc-resolve-conflicts
204 in case some other package redefined it.
205 (vc-resolve-conflicts): Make it into an alias for smerge-ediff.
207 * textmodes/fill.el (fill-paragraph): Go to BOL before calling
208 forward-paragraph to make sure its return value is meaningful.
210 2002-10-06 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
212 * net/tramp.el: Version 2.0.25 released.
213 (tramp-handle-file-truename): If it's a directory,
214 append slash only if result doesn't end in a slash already.
215 (tramp-handle-file-truename): Restructure logic. If list of steps
216 is nil, return "/" as the real name.
217 (tramp-completion-mode): Add "\\(" and "\\)". Otherwise,
218 `match-string' doesn't make sense. From Michael Albinus.
219 (tramp-host-with-port-regexp): New defcustom. Equal to previous
220 `tramp-host-regexp'. From Michael Albinus.
221 (tramp-host-regexp): Taken off hashes in host names. Otherwise,
222 scanning files like .rhosts would take comments as host names.
223 From Michael Albinus.
224 (tramp-file-name-structure, tramp-multi-file-name-hop-structure):
225 Replace `tramp-host-regexp' by `tramp-host-with-port-regexp'.
226 From Michael Albinus.
227 (tramp-action-terminal): New function.
228 (tramp-terminal-prompt-regexp): New variable, matches "tset" prompts.
229 (tramp-actions-before-shell): Use them.
230 (tramp-handle-shell-command): Logic error. From Ivan
231 Zakharyaschev <imz@altlinux.org>.
233 2002-10-06 Markus Holmberg <markush@acc.umu.se> (tiny change)
235 * thingatpt.el (thing-at-point-uri-schemes): New variable.
236 (thing-at-point-url-regexp): Use it.
238 2002-10-06 Glenn Morris <gmorris@ast.cam.ac.uk>
240 * progmodes/fortran.el (fortran-beginning-do): Ignore labelled DO
243 2002-10-05 Stefan Monnier <monnier@cs.yale.edu>
245 * vc.el (vc-log-mode-map): Explicitly inherit from text-mode.
246 (vc-maybe-resolve-conflicts): Don't check smerge-mode and smerge-ediff.
247 (vc-print-log): Don't check log-view-mode.
248 (vc-default-show-log-entry): Don't check log-view-goto-rev.
249 (vc-log-mode): Remove.
250 (vc-log-edit): Don't check log-edit.
252 2002-10-04 Stefan Monnier <monnier@cs.yale.edu>
254 * vc-cvs.el (vc-cvs-show-log-entry):
255 * vc-rcs.el (vc-rcs-show-log-entry): Delete.
257 * smerge-mode.el (smerge-ediff): Add name-{mine,other,base} args.
259 2002-10-04 Markus Rost <rost@math.ohio-state.edu>
261 * vc.el (vc-default-show-log-entry): Fix typo.
263 2002-10-04 Steven Tamm <steventamm@mac.com>
265 * term/mac-win.el: Add lines to handle the new [return] event.
267 2002-10-03 Stefan Monnier <monnier@cs.yale.edu>
269 * textmodes/fill.el (fill-paragraph): Give up if there's no
270 paragraph at or after point.
272 * textmodes/paragraphs.el (forward-paragraph): Return the steps left.
274 * vc.el (vc-print-log): Unconditionally use `show-log-entry'.
275 (vc-default-show-log-entry): New fun.
277 * subr.el (read-key-auxiliary-map, read-key): Remove.
278 (read-quoted-char): Undo the `read-key' change of 2002-06-23.
280 2002-10-03 Markus Rost <rost@math.ohio-state.edu>
282 * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu): Handle the
283 menu pseudo-keys generated by easymenu which are lowercase in
286 * progmodes/ada-xref.el
287 (ada-xref-update-project-menu,ada-add-ada-menu): Ditto.
289 2002-10-03 John Paul Wallington <jpw@shootybangbang.com>
291 * frame.el (delete-frame-hook): Variable alias for
292 `delete-frame-functions'. Mark obsolete.
294 2002-10-02 Stefan Monnier <monnier@cs.yale.edu>
296 * textmodes/outline.el (outline-1, outline-2, outline-3, outline-4)
297 (outline-5, outline-6, outline-7, outline-8): New faces.
298 (outline-font-lock-faces, outline-font-lock-levels): New vars.
299 (outline-font-lock-face): New fun.
300 (outline-font-lock-keywords): Use it.
301 (outline-font-lock-level): Remove.
302 (outline-mode, outline-next-preface, outline-next-heading)
303 (outline-previous-heading, outline-next-visible-heading):
305 (outline-level) <var>: Update calling convention.
306 (outline-level) <fun>: Take advantage of it.
307 (outline-demote): Don't assume the match-data is still uptodate.
308 (outline-up-heading): Simplify and make sure the match data is
309 properly set at the end.
311 2002-10-02 Markus Rost <rost@math.ohio-state.edu>
313 * progmodes/sh-script.el (sh-alias-alist): Use append instead of
316 * startup.el (normal-top-level): Reset standard-value property of
317 `user-full-name' here.
319 2002-10-02 Per Abrahamsen <abraham@dina.kvl.dk>
321 * wid-edit.el (widget-default-get): Change to return external
323 (widget-choice-action): Update caller.
324 (widget-editable-list-entry-create): Update caller.
326 * wid-edit.el (widget-types-copy): New function.
327 (default): Added :copy keyword.
328 (menu-choice): Ditto.
330 (radio-button-choice): Ditto.
331 (editable-list): Ditto.
333 (widget-copy): New function.
334 (widget-create-child): Use it.
335 (widget-create-child-value): Use it.
337 2002-10-01 Bill Wohler <wohler@newt.com>
339 * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
340 mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
341 mail/mh-utils.el, mail/mh-xemacs-compat.el, mail/reply2.pbm,
342 mail/reply2.xpm, toolbar/execute.pbm, toolbar/execute.xpm,
343 toolbar/page-down.pbm, toolbar/page-down.xpm, toolbar/refile.pbm,
344 toolbar/refile.xpm, toolbar/repack.pbm, toolbar/repack.xpm,
345 toolbar/rescan.pbm, toolbar/rescan.xpm, toolbar/show.pbm,
346 toolbar/show.xpm, toolbar/widen.pbm, toolbar/widen.xpm:
347 Upgraded to mh-e version 6.1.1. Full ChangeLog available in
348 http://prdownloads.sourceforge.net/mh-e/mh-e-6.1.tgz?download .
349 There were no user-visible changes in 6.1.1 from 6.1--only the
350 section of the Makefile that installs the files into Emacs was changed.
352 2002-10-01 Stefan Monnier <monnier@cs.yale.edu>
354 * pcvs.el (cvs-mode-find-file): Look up font-lock-face so it also
355 works when font-lock is turned off.
357 * jit-lock.el (jit-lock-fontify-now): Don't widen.
358 Let the jit-lock-functions do it if they want to.
360 2002-10-01 Juanma Barranquero <lektu@terra.es>
362 * eshell/esh-module.el (eshell-load-defgroups):
363 Add "no-byte-compile: t" to subdirs.el.
365 * makefile.w32-in (update-subdirs-CMD): Likewise.
373 * international/mule-conf.el:
375 * language/devanagari.el:
376 * language/english.el:
377 * language/georgian.el:
379 * language/hebrew.el:
380 * language/japanese.el:
381 * language/korean.el:
383 * language/misc-lang.el:
384 * language/romanian.el:
385 * language/slovak.el:
387 * language/utf-8-lang.el:
388 * emacs-lisp/cl-specs.el:
389 * eshell/esh-maint.el:
411 * term/wyse50.el: Add "no-byte-compile: t" in first line.
413 2002-10-01 Kenichi Handa <handa@m17n.org>
415 * international/utf-16.el: Don't provide utf-16.
417 * international/utf-8.el (ccl-decode-mule-utf-8):
418 Remove unnecessary line.
420 2002-09-30 Kenichi Handa <handa@m17n.org>
422 * language/thai.el (thai-tis620): Add `mime-charset' property.
424 * language/indian.el: Don't register "ISO10646.*-1" in
425 font-ccl-encoder-alist.
427 * language/cyrillic.el (ccl-decode-koi8): Refer to
428 ucs-translation-table-for-decode.
429 (ccl-decode-koi8-u): Likewise.
430 (ccl-decode-alternativnyj): Likewise.
431 (cyrillic-koi8): Put `dependency' property.
433 (cyrillic-alternativnyj): Likewise.
435 * international/utf-8.el (ucs-mule-to-mule-unicode): Don't define
436 this translation-table name here.
437 (utf-translation-table-for-encode): New translation-table name.
438 (utf-fragmentation-table): Renamed from utf-8-fragmentation-table.
439 (utf-defragmentation-table): New variable.
440 (ucs-mule-cjk-to-unicode): Renamed from utf-8-subst-rev-table.
441 (utf-subst-table-for-encode): New translation-table name.
442 (ucs-unicode-to-mule-cjk): Renamed from utf-8-subst-table.
443 (utf-subst-table-for-decode): New translation-table name.
444 (utf-fragment-on-decoding): Renamed from
445 utf-8-fragment-on-decoding. Correctly handle the case that
446 unify-8859-on-encoding-mode is off. Handle mule-utf-16-le and
448 (utf-translate-cjk): Renamed from utf-8-translate-cjk.
449 Handle mule-utf-16-le and mule-utf-16-be too.
450 (ccl-decode-mule-utf-8): Refer to utf-translation-table-for-decode
451 and utf-subst-table-for-decode.
452 (ccl-encode-mule-utf-8): Refer to utf-translation-table-for-encode
453 and utf-subst-table-for-encode.
454 (mule-utf-8): Fix `safe-charsets' property, put `dependency' property.
456 * international/utf-8-subst.el: Setup ucs-unicode-to-mule-cjk and
457 ucs-mule-cjk-to-unicode, not utf-8-subst-table and
458 utf-8-subst-rev-table.
460 * international/utf-16.el (utf-16-decode-ucs): Look up
461 utf-subst-table-for-decode. Fix for the case that the looking up
463 (ccl-decode-mule-utf-16-le): Translate characters by
464 utf-translation-table-for-decode.
465 (ccl-decode-mule-utf-16-be): Likewise.
466 (ccl-encode-mule-utf-16-le): Look up utf-subst-table-for-encode
467 at first. Translate characters by utf-translation-table-for-encode.
468 (ccl-encode-mule-utf-16-be): Likewise.
469 (mule-utf-16-le, mule-utf-16-be): Add `dependency' property.
471 * loadup.el: Preload international/utf-16. Don't call ucs-unify-8859.
473 * international/ucs-tables.el: Don't bind
474 utf-8-translation-table-for-decode while setting up
475 ucs-mule-8859-to-ucs-table, etc. Add `depenency' property to
476 iso-8859-* coding systems.
477 (ucs-unify-8859): Arguments changed to FOR-ENCODE and FOR-DECODE.
478 If FOR-DECODE is non-nil, make ucs-mule-8859-to-mule-unicode
479 populate the translation table named
480 ucs-translation-table-for-decode. If FOR-ENCODE is non-nil, make
481 ucs-mule-to-mule-unicode populates the translation table named
482 utf-translation-table-for-encode. Call register-char-codings for
483 mule-utf-16-be and mule-utf-16-le too.
484 (ucs-fragment-8859): Arguments changed to FOR-ENCODE and
485 FOR-DECODE. If FOR-DECODE is non-nil, make the translation table
486 named ucs-translation-table-for-decode vacant. If FOR-ENCODE is
487 non-nil, make a proper char-table populates the translation table
488 name utf-translation-table-for-encode. Call register-char-codings
489 for all mule-utf-* to to reset their status to the origianl.
490 (unify-8859-on-encoding-mode): Call ucs-unify-8859 and
491 ucs-fragment-8859 with fixed arguments. Set the version to 21.3.
492 (unify-8859-on-decoding-mode): Likewise. Remove dependency.
493 (ccl-encode-unicode-font): Delete.
494 (ucs-tables-unload-hook): Delete.
496 * international/mule.el (decode-char): Refer to the translation
497 hash table named utf-subst-table-for-decode. Refer to the
498 translation table named utf-translation-table-for-decode instead
499 of utf-8-translation-table-for-decode.
500 (encode-char): Refer to the translation hash table named
501 utf-subst-table-for-encode. Refer to the translation table named
502 utf-translation-table-for-encode instead of
503 utf-8-translation-table-for-encode.
505 * international/mule-diag.el (describe-coding-system):
506 Describe `dependency' property.
508 * international/mule-conf.el (emacs-mule): Add property `composition'.
510 * international/fontset.el (ucs-mule-to-mule-unicode): Define this
511 translation table name here.
512 (ucs-mule-cjk-to-unicode): New translation table name.
513 (ccl-encode-unicode-font): Merge the code in ucs-tables.el.
514 (font-ccl-encoder-alist): Change the font registry pattern to
517 2002-09-30 Colin Walters <walters@gnu.org>
519 * calc/calc-stuff.el (calc-flush-caches): Add optional arg
522 * calc/calc-prog.el (calc-kbd-report, calc-kbd-query): Don't bind
523 `executing-kbd-macro' and `defining-kbd-macro'.
525 * calc/calc-ext.el (calc-reset): Don't bind `executing-kbd-macro'.
526 Call `calc-flush-caches' with inhibit-msg arg.
527 (calc-change-mode): Remove extra arg for `calc-save-modes'.
529 * calc/calc-mode.el (calc-save-modes): Remove `quiet' arg.
530 Don't bind `executing-kbd-macro'.
532 2002-09-29 Noah Friedman <friedman@splode.com>
534 * subr.el (read-key): Use read-key-auxiliary-map, not read-key-aux-map.
536 2002-09-29 Richard M. Stallman <rms@gnu.org>
538 * startup.el (user-mail-address): Initialize to a useful value
539 once Emacs is started up; initialize to "" at loadup time.
540 (command-line): "", not nil, means user-mail-address not set yet.
542 2002-09-29 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
544 * net/tramp.el: Version 2.0.24 released.
545 (tramp-methods, tramp-completion-function-alist):
546 Rename "*-old" methods to "*_old". From Michael Albinus.
547 (tramp-completion-function-alist):
548 Use `tramp-completion-function-alist-ssh' for the "fcp" method.
549 From Michael Albinus.
550 (tramp-default-method-alist): Use "su" for "root@localhost".
551 (tramp-host-regexp): Allow "#" for "host#port" kludge.
552 (tramp-ange-ftp-file-name-p): If METHOD is nil, find the right
553 default method. Require additional args USER and HOST for this.
555 (tramp-handle-file-local-copy): More local bindings. Bind results
556 of tramp-get-{remote,local}-{de,en}coding earlier to avoid nasty
557 "are you awake" problem.
558 (tramp-action-password): Protect against clobbered match data.
559 (tramp-open-connection-setup-interactive-shell): Explicitly set
560 tramp-last-cmd-time before invoking tramp-send-command the first
561 time. Otherwise, tramp-send-command would issue "echo are you
562 awake" right at the first time, which is not what we want.
563 Reported by Douglas Gray Stephens.
564 (tramp-find-inline-encoding): Don't redirect stdout to
565 /dev/null to avoid "chmode go-rwx" operation from "mimencode
566 >/dev/null" as root(!), and to check the output of the decoding
568 (tramp-maybe-open-connection): Don't send "are you awake" if
571 2002-09-29 Colin Walters <walters@gnu.org>
573 * calc/calc.el (calc-dispatch-map): Actually set to keymap.
575 2002-09-29 Mike Williams <mdub@bigfoot.com>
577 * textmodes/sgml-mode.el (sgml-guess-indent): Handle tabs correctly.
579 2002-09-29 Richard M. Stallman <rms@gnu.org>
581 * custom.el (defcustom): Doc fix.
583 2002-09-28 Richard M. Stallman <rms@gnu.org>
585 * loadhist.el (unload-feature): When undefining a variable,
586 delete its buffer-local bindings.
588 2002-09-28 Luc Teirlinck <teirllm@mail.auburn.edu>
590 * subr.el (remove-yank-excluded-properties): Fix bugs in
591 handling of category properties.
593 2002-09-28 Vinicius Jose Latorre <vinicius@cpqd.com.br>
595 * ps-print.el (ps-print-emacs-type): Error if ps-print is
596 activated in Epoch, inLucid or in Emacs v19 or lesser.
597 Value can no longer be `lucid'.
598 (ps-print-version): New version number (6.5.8).
599 (faces): Never do (require 'faces).
601 2002-09-28 Simon Josefsson <jas@extundo.com>
603 * mail/smtpmail.el (smtpmail-via-smtp): Only negotiate starttls on
604 streams that were opened using starttls.
606 2002-09-28 Paul Reilly <pmr@pajato.com>
608 * files.el (auto-mode-alist): Add support for Java Enterprise
609 ARchive (ear/EAR) and Web ARchive (war/WAR) files.
611 2002-09-28 John Paul Wallington <jpw@shootybangbang.com>
613 * progmodes/m4-mode.el (m4-font-lock-keywords)
614 (m4-mode-syntax-table, m4-mode-abbrev-table, m4-m4-buffer)
615 (m4-m4-region): Doc fixes.
617 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
619 * emacs-lisp/cl-macs.el: Use the new usage-in-docstring syntax.
620 (cl-push, cl-pop): Remove.
621 Use pop and push throughout the file instead.
622 (cl-transform-lambda): Add usage info to docstring if the arglist
625 * emacs-lisp/autoload.el (make-autoload): Add usage info to docstring.
626 (autoload-print-form): Also quote open-[-in-column 0.
628 * help-fns.el (help-with-tutorial): Use minibuffer-completion-help.
629 (help-split-fundoc): Don't support old syntax any more.
630 (help-add-fundoc-usage): New fun.
632 * emacs-lisp/cl-extra.el (cl-push, cl-pop): Remove.
633 Use pop and push throughout the file instead.
634 (cl-hash-lookup): Remove.
635 (cl-make-hash-table, cl-hash-table-p, cl-gethash, cl-puthash)
636 (cl-remhash, cl-clrhash, cl-maphash, cl-hash-table-count): Simplify.
638 * emacs-lisp/cl-seq.el (cl-push, cl-pop): Remove.
639 Use pop and push throughout the file instead.
641 * emacs-lisp/edebug.el: Don't precompute menu shortcuts during
642 loading since the current keymaps might be all weird.
644 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't add properties
645 to the name since they're added by mode-line-format already.
646 (define-minor-mode): Run (,mode -1) when needed.
648 * tar-mode.el (tar-untar-buffer): Handle dir-entries.
649 (tar-summarize-buffer, tar-mode, tar-extract, tar-copy, tar-expunge)
650 (tar-alter-one-field, tar-subfile-save-buffer, tar-mode-write-file):
651 Don't hardcode 1 == point-min.
653 * abbrev.el (write-abbrev-file): Don't hardcode point-min == 1.
655 * subr.el (read-key-auxiliary-map): New var.
657 (make-temp-file): Make the file have mode 600.
658 (add-minor-mode): Don't add properties to the name since it's
659 added by mode-line-format already.
660 Be more careful with the mode-line-menu entry name.
662 * userlock.el (ask-user-about-supersession-threat): Don't abort
663 when the user hits mouse-2.
665 * register.el (set-register): Use push.
666 (point-to-register): Set kill-buffer-hook in this buffer.
667 (register-swap-out): Use dolist.
668 (kill-buffer-hook): Don't change globally.
670 * server.el (server-select-display): New function.
671 (server-process-filter): Add support for `-display' and `-eval' args.
672 (server-visit-files): Use save-current-buffer, push, and dolist.
673 Add server-kill-buffer to kill-buffer-hook.
674 (kill-buffer-hook): Don't modify globally.
675 (server-switch-buffer): Be a bit more careful with multiple displays.
676 (server-socket-name): Always use /tmp and non-qualified hostname.
678 * uniquify.el (uniquify-rationalize-file-buffer-names):
679 Add to kill-buffer-hook for buffers with conflict.
680 (rename-buffer): Check kill-buffer-hook to see if there was a conflict.
681 (uniquify-delay-rationalize-file-buffer-names): Remove useless check.
682 (kill-buffer-hook): Don't change globally.
684 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>.
686 * calc/calc.el (calc-bug-address, calc-scan-for-dels, calc-stack)
687 (calc-stack-top, calc-always-load-extensions)
688 (calc-line-numbering, calc-line-breaking, calc-display-just)
689 (calc-display-origin, calc-number-radix, calc-leading-zeros)
690 (calc-group-digits, calc-group-char, calc-point-char)
691 (calc-frac-format, calc-prefer-frac, calc-hms-format)
692 (calc-date-format, calc-float-format, calc-complex-format)
693 (calc-full-float-format, calc-complex-mode, calc-infinite-mode)
694 (calc-display-strings, calc-matrix-just, calc-break-vectors)
695 (calc-full-vectors, calc-full-trail-vectors, calc-vector-commas)
696 (calc-vector-brackets, calc-matrix-brackets, calc-language)
697 (calc-language-option, calc-function-open, calc-function-open)
698 (calc-function-close, calc-language-output-filter)
699 (calc-language-input-filter, calc-radix-formatter)
700 (calc-left-label, calc-right-label, calc-word-size)
701 (calc-previous-modulo, calc-simplify-mode, calc-auto-recompute)
702 (calc-display-raw, calc-internal-prec, calc-inverse-flag)
703 (calc-hyperbolic-flag, calc-keep-args-flag, calc-angle-mode)
704 (calc-algebraic-mode, calc-incomplete-algebraic-mode)
705 (calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix)
706 (calc-window-height, calc-display-trail, calc-show-selections)
707 (calc-use-selections, calc-assoc-selections)
708 (calc-display-working-message, calc-auto-why, calc-timing)
709 (calc-display-sci-high, calc-display-sci-low, calc-other-modes)
710 (calc-other-modes, calc-Y-help-msgs, calc-loaded-settings-file):
711 Make into real defvars.
712 (calc-mode-var-list): Delete.
713 (calc-mode-save-mode, calc-standard-date-formats)
714 (calc-autorange-units, calc-was-keypad-mode, calc-full-mode)
715 (calc-user-parse-tables, calc-gnuplot-default-device)
716 (calc-gnuplot-default-output, calc-gnuplot-print-device)
717 (calc-gnuplot-print-output, calc-gnuplot-geometry)
718 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
719 (calc-invocation-macro, calc-show-banner): Make into defvars,
720 taken from `calc-mode-var-list'.
721 (calc-emacs-type-epoch, calc-emacs-type-19)
722 (calc-emacs-type-lucid, calc-emacs-type-gnu19): Make into defvars.
723 (calc-version, calc-version-date, calc-trail-pointer)
724 (calc-trail-overlay, calc-undo-list, calc-redo-list)
725 (calc-main-buffer, calc-trail-buffer, calc-why, calc-next-why)
726 (calc-inverse-flag, calc-hyperbolic-flag, calc-keep-args-flag)
727 (calc-last-kill, calc-previous-alg-entry, calc-dollar-values)
728 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
729 (calc-said-hello, calc-executing-macro, calc-any-selections)
730 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
731 (calc-display-dirty, calc-prepared-composition)
732 (calc-selection-cache-default-entry, calc-embedded-info)
733 (calc-embedded-active, calc-standalone-flag, var-EvalRules)
734 (math-eval-rules-cache-tag, math-radix-explicit-format)
735 (math-expr-function-mapping, math-expr-variable-mapping)
736 (math-read-expr-quotes, math-working-step, math-working-step-2)
737 (var-i, var-pi, var-e, var-phi, var-gamma, var-Modes): Make into
738 defvars, from toplevel setq.
739 (calc-mode-map): Set up keymap in more modern fashion.
740 (calc-dispatch-map): Ditto.
741 (calc-command-flags, calc-final-point-line)
742 (calc-final-point-column): Defvar.
743 (calc-do): Use `save-current-buffer' instead of `save-excursion'.
745 (calc-any-evaltos): Ditto.
746 (calc-buffer, calc-prev-char, calc-prev-prev-char)
747 (calc-digit-value): Ditto.
748 (math-eval-rules-cache, math-eval-rules-cache-other): Ditto.
749 (math-sub-bignum): Bind `diff'.
750 (calc-selection-cache-entry): Defvar.
751 (calc-count-lines): Reference `pos' instead of `newpos'.
753 2002-09-27 Simon Josefsson <jas@extundo.com>
755 * mail/mail-hist.el (mail-hist-next-input): Fix docstring.
757 2002-09-26 Richard M. Stallman <rms@gnu.org>
759 * mail/unrmail.el (unrmail): Do the work directly,
760 without actually selecting the messages in the from file.
761 (unrmail-unprune): New subroutine.
763 * files.el (backup-buffer): Bind local var MODES.
764 Don't use renaming for a suid or sgid file.
765 Use backup-buffer-copy to do copying.
766 (backup-buffer-copy): New subroutine.
767 Clear suid and sgid bits for the copy.
769 2002-09-26 Edward M. Reingold <reingold@emr.cs.iit.edu>
771 * calendar/solar.el (solar-equinoxes-solstices):
772 Use time properly adjusted for DST in the result.
774 2002-09-26 Richard M. Stallman <rms@gnu.org>
776 * follow.el (follow-generic-filter): Simply bind deactivate-mark.
777 Bind inhibit-read-only; don't mess with buffer-read-only.
779 * speedbar.el (speedbar-refresh): Simply bind deactivate-mark.
781 2002-09-26 Luc Teirlinck <teirllm@mail.auburn.edu>
783 * ielm.el (inferior-emacs-lisp-mode): Treat the header as
784 output, if comint-use-prompt-regexp-instead-of-fields is nil.
786 2002-09-26 John Paul Wallington <jpw@shootybangbang.com>
788 * ibuffer.el (ibuffer-update): Call `minibufferp' with argument
789 instead of within `with-current-buffer'.
791 2002-09-26 Stephen Eglen <stephen@gnu.org>
793 * iswitchb.el (iswitchb-completions): Test that
794 iswitchb-common-match-string is a string, before printing common
797 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
799 * server.el: Use built-in network primitives.
800 (server-program, server-previous-string): Remove.
801 (server-previous-strings): New var.
802 (server-socket-name): New var.
803 (server-log): Minor change to the output format.
804 (server-sentinel): Clean up global state when a client disconnects.
805 (server-unquote-arg): New fun.
806 (server-start): Use server-socket-name and make-network-process.
807 (server-process-filter): Now talks to the clients directly.
808 Normalize file name after unquoting and decoding.
809 (server-buffer-done): Just close the connection.
810 (server-switch-buffer): Handle the case where all windows are
811 dedicated or minibuffers.
813 * font-lock.el (fast-lock-mode, lazy-lock-mode, jit-lock-mode):
814 Don't bind them variables.
815 (font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer)
816 (font-lock-after-unfontify-buffer): Check that the vars are bound.
817 (font-lock-dont-widen): New var.
818 (font-lock-default-fontify-region): Use it.
820 * emacs-lisp/find-func.el (find-library-name):
821 Correctly find "file.el.gz" from "file.elc" or "file.elc.gz".
823 2002-09-25 Kenichi Handa <handa@etl.go.jp>
825 * international/mule-cmds.el (select-safe-coding-system):
826 Handle safe but rejected default coding systems and unsafe default
827 coding systems differently.
829 * international/mule-diag.el (list-character-sets): Use the buffer
830 name "*Character Set List*", not "*Help*". List also indirectly
831 supported character sets.
832 (list-charset-chars): Use the buffer name "*Character List*", not
833 "*Help*". Display the current charset name in the modeline.
834 (non-iso-charset-alist): Add mapped charset list for `mac-roman'.
835 (sort-listed-character-sets): Don't alter the region showing
836 indirectly supported charsets.
838 2002-09-24 Simon Josefsson <jas@extundo.com>
840 * mail/mail-extr.el (mail-extr-ignore-single-names): Change default.
841 (mail-extract-address-components): Doc fix.
843 2002-09-24 Markus Rost <rost@math.ohio-state.edu>
845 * simple.el (edit-and-eval-command): Protect command-history.
846 (repeat-complex-command): Protect command-history.
848 2002-09-24 Juanma Barranquero <lektu@terra.es>
850 * replace.el (occur-find-match): New function.
851 (occur-next, occur-prev): Use it.
853 * progmodes/sh-script.el (sh-mark-init): Don't set `occur-buffer'.
854 (sh-mark-line): Likewise. Use 'occur-target and 'occur-match
855 instead of 'occur and 'occur-point.
857 * eshell/em-unix.el (eshell-occur-mode-mouse-goto)
858 (eshell-poor-mans-grep): Remove references to `occur-buffer'.
860 2002-09-24 Stefan Monnier <monnier@cs.yale.edu>
862 * descr-text.el (describe-text-category): Use *Help*.
864 (describe-text-properties, describe-char):
865 Delay self-inspection test. Use *Help*.
866 Use syntax-after. Use `pos' rather than (point).
867 Distinguish the before/after part of a composition.
869 2002-09-23 Kenichi Handa <handa@etl.go.jp>
871 * international/quail.el (quail-completion): Be sure to scroll
872 quail-completion-buf.
874 2002-09-23 Richard M. Stallman <rms@gnu.org>
876 * ielm.el (*1): Fix previous change.
878 2002-09-23 Juanma Barranquero <lektu@terra.es>
880 * net/tramp.el (tramp-unified-filenames): Autoload it.
882 2002-09-23 Michael Kifer <kifer@cs.stonybrook.edu>
884 * ediff-init.el (ediff-get-next-window): Bug fix.
886 2002-09-22 Oliver Scholz <alkibiades@gmx.de>
888 * play/gamegrid.el (gamegrid-face): New variable to emulate a
889 buffer-local default face.
890 (gamegrid-xbm): New variable; XBM image as a replacement for
891 `gamegrid-xpm' on Emacsen compiled without XPM-support.
892 (gamegrid-colorize-glyph): Ported XEmacs-code for the generation
894 (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to
895 convert XEmacs-type image descriptors.
896 (gamegrid-color-display-p): Remove (use `display-colors-p' instead.)
897 (gamegrid-make-image-from-vector): New function. Convert XEmacs'
899 (gamegrid-display-type): Use Emacs' standard `display-.*-p'
900 functions to check for display capabilities. Fix the recognition
901 of image-support in Emacs 21 by this way.
902 (gamegrid-hide-cursor): Removed.
903 (gamegrid-setup-default-font): Ported the code from XEmacs to
904 Emacs: create a new face and assign the variable `gamegrid-face'
905 to it. Make sure that the face is not higher than the smallest
906 image used by the game.
907 (gamegrid-initialize-display): Use `(setq cursor-type nil)'
908 instead of `gamegrid-hide-cursor'.
909 (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an
910 image in the buffer, instead of applying a face. [This is because
911 Emacs display-tables are not as capable as the display-tables in
912 XEmacs. Maybe this function should be renamed to reflect the change?]
913 (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put
914 the face held by `gamegrid-face' in an overlay over the whole
915 buffer to emulate a buffer-local default-face.
917 2002-09-22 Richard M. Stallman <rms@gnu.org>
919 * play/doctor.el (doctor-doc): Add 2 question words.
920 (doctor-getnoun): Parse and save the complete object phrase.
922 * international/mule-cmds.el (select-safe-coding-system): Cope if
923 default-coding-system gives nil which was then used in `min'.
925 * mail/sendmail.el (sendmail-send-it): If user's buffer
926 is unibyte, make tembuf unibyte.
928 2002-09-22 Kai Gro
\e,b_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
930 * net/tramp.el: Version 2.0.22 released.
931 (tramp-parse-rhosts, tramp-parse-shosts)
932 (tramp-parse-hosts, tramp-parse-passwd): Apply `push' but
933 `add-to-list' for performance reasons.
934 (tramp-get-completion-user-host): Return `nil' in case both `user'
935 and 'host' are empty (not necessarily `nil'.
936 (tramp-parse-netrc, tramp-parse-netrc-group): New functions.
937 (tramp-user-regexp): " \t" are not user regexp characters.
938 (tramp-completion-handle-file-name-all-completions):
939 Remove Ange-FTP cmpletion. It has a bug not handling the "/ftp:" prefix
940 completely, and it returns local completions as well.
941 (tramp-completion-function-alist-ftp): New constant.
942 (tramp-completion-function-alist): Add completion function for "ftp".
943 From Michael Albinus <Michael.Albinus@alcatel.de>.
945 2002-09-22 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
947 * net/tramp.el: Version 2.0.21 released.
948 (tramp-handle-file-newer-than-file-p): If mtime of both files is
949 known, return a useful result. Better error message in case one
950 is a Tramp file and one isn't.
951 (tramp-handle-file-local-copy, tramp-handle-write-region)
952 (tramp-find-shell, tramp-open-connection-telnet)
953 (tramp-open-connection-rsh, tramp-open-connection-su)
954 (tramp-open-connection-setup-interactive-shell)
955 (tramp-post-connection, tramp-maybe-open-connection)
956 (tramp-method-out-of-band-p): Correct number of args for
957 `tramp-get-rsh-program' and similar functions.
959 2002-09-22 Kai Gro
\e,b_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
961 * net/tramp.el: Version 2.0.20 released.
963 2002-09-20 Kai Gro
\e,b_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
965 * net/tramp.el (tramp-completion-function-alist): Escape open
967 (tramp-user-regexp, tramp-host-regexp): Allow empty strings.
968 (tramp-handle-insert-file-contents): Call tramp-message-for-buffer
969 instead of tramp-message.
970 (tramp-open-connection-rsh): Handle empty string as user name.
971 (tramp-open-connection-su): Handle empty string as host name.
972 Handle nil user name.
973 (tramp-handle-file-local-copy, tramp-handle-write-region)
974 (tramp-completion-handle-file-name-all-completions)
975 (tramp-open-connection-telnet, tramp-open-connection-rsh)
976 (tramp-open-connection-su, tramp-post-connection)
977 (tramp-maybe-open-connection, tramp-method-out-of-band-p)
978 (tramp-get-connection-function, tramp-get-remote-sh)
979 (tramp-get-rsh-program, tramp-get-rsh-args)
980 (tramp-get-rcp-program, tramp-get-rcp-args)
981 (tramp-get-rcp-keep-date-arg, tramp-get-su-program)
982 (tramp-get-su-args, tramp-get-telnet-program)
983 (tramp-get-telnet-args): Use `tramp-find-method', perhaps require
984 additional args USER, HOST.
985 (tramp-action-password, tramp-open-connection-telnet)
986 (tramp-open-connection-su, tramp-open-connection-multi)
987 (tramp-method-out-of-band-p): `tramp-method-out-of-band-p' now
988 takes USER and HOST arguments, to be able to use
989 `tramp-find-method'. Update callers.
990 (tramp-find-method): New function.
992 2002-09-20 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
994 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
995 in SWITCHES (by removing it).
997 2002-09-18 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
999 * net/tramp.el (tramp-file-name-handler): Add `file-remote-p' property.
1001 2002-09-17 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1003 * net/tramp.el (top-level): Maybe autoload uudecode-decode-region.
1005 2002-09-16 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1007 * net/tramp.el (tramp-bug): Add tramp-methods.
1009 2002-09-16 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1011 * net/tramp.el (tramp-methods): Update docstring:
1012 tramp-encoding-command, tramp-decoding-command,
1013 tramp-encoding-function and tramp-decoding-function are not
1015 (tramp-uuencode-region): Autoload it.
1017 2002-09-13 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1019 Version 2.0.19 released.
1021 * net/tramp-uu.el: New file, implements uuencode in Lisp.
1023 * net/tramp.el (tramp-coding-commands):
1024 Use `tramp-uuencode-region' as local encoder for the uuencode based
1027 2002-09-13 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1029 * net/tramp.el (tramp-handle-write-region): Wrong parens.
1031 2002-09-13 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1033 Version 2.0.18 released.
1035 * net/tramp.el (tramp-perl-decode): Perl changes to accomodate
1036 older versions of Perl. Now tested with 5.004. Suggestion from
1039 2002-09-12 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1041 * net/tramp.el (tramp-find-inline-encoding):
1042 Call tramp-call-local-coding-command with nil for INPUT and OUTPUT.
1043 (tramp-call-local-coding-command): OUTPUT equals nil means to
1044 discard the output. INPUT equals nil means /dev/null.
1046 2002-09-12 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1048 * net/tramp.el (tramp-encoding-shell): Default to environment
1049 variable COMSPEC on Windows.
1050 (tramp-handle-write-region): More debugging output.
1051 (tramp-find-inline-encoding): Ditto.
1053 2002-09-11 Michael Albinus <Michael.Albinus@alcatel.de>
1055 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
1057 (tramp-parse-hosts-group): Discard IPv6 entries.
1059 2002-09-11 Kai Gro
\e,b_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
1061 * net/tramp.el (tramp-post-connection): Only send Perl
1062 mime-encode/decode implementations when using inline method.
1063 (tramp-handle-file-local-copy)
1064 (tramp-handle-write-region, tramp-post-connection)
1065 (tramp-coding-commands, tramp-find-inline-encoding): For the
1066 inline encodings, distinguish between local and remote commands,
1067 instead of between commands and functions. (The local commands
1068 can be functions, too.) If the local host is a Windows machine,
1069 we can't expect the same commands to work there as on the remote host.
1070 (tramp-call-local-coding-command): New function for calling local
1071 encoding and decoding commands.
1072 (tramp-set-remote-encoding, tramp-get-remote-encoding)
1073 (tramp-set-remote-decoding, tramp-get-remote-decoding)
1074 (tramp-set-local-encoding, tramp-get-local-encoding)
1075 (tramp-set-local-decoding, tramp-get-local-decoding): New functions.
1076 (tramp-get-encoding-command, tramp-set-encoding-command)
1077 (tramp-get-decoding-command, tramp-set-decoding-command)
1078 (tramp-get-encoding-function, tramp-set-encoding-function)
1079 (tramp-get-decoding-function, tramp-set-decoding-function):
1080 Old functions, removed.
1082 2002-09-10 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1084 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
1085 Change command to invoke /bin/sh slightly to make it compatible
1086 with the `rc' shell. Suggested by Daniel Pittman.
1088 2002-09-10 Michael Albinus <Michael.Albinus@alcatel.de>
1090 * net/tramp.el (tramp-handle-write-region): Added missing
1091 `)'. Hope it's the right place.
1093 2002-09-09 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1095 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
1096 Do "exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in
1097 order to get a sane shell prompt. If people have ${CWD}, say, in
1098 their shell prompt, then the default login shell might display
1099 something harmless, but the /bin/sh will display a dollar sign
1100 which confused the subsequent prompt recognition.
1101 (tramp-multi-action-password): More debugging output.
1102 (tramp-encoding-shell): Renamed from tramp-sh-program.
1103 More documentation. Default to cmd.exe on Windows NT.
1104 (tramp-encoding-command-switch): New variable. Use instead of
1105 hard-wired "-c" which is only good for /bin/sh.
1106 (tramp-encoding-reads-stdin): New variable. If t, commands are
1107 called like "/bin/sh -c COMMAND <INPUT", if nil, they are called
1108 like "/bin/sh -c COMMAND INPUT", ie the input file is the last arg.
1109 (tramp-multi-sh-program): Always default to tramp-encoding-shell.
1110 (tramp-handle-file-local-copy, tramp-handle-write-region):
1111 Respect tramp-encoding-shell and friends.
1112 (tramp-find-inline-encoding): Use new-style calls for checking if
1113 the local commands work.
1115 2002-09-07 Michael Albinus <Michael.Albinus@alcatel.de>
1117 * net/tramp.el (tramp-methods): Remove `tramp-completion-function'
1118 entries. They are handled now by `tramp-completion-function-alist'.
1119 (tramp-completion-function): Defvar removed. I've never used
1121 (tramp-get-completion-function)
1122 (tramp-get-completion-rsh, tramp-get-completion-ssh)
1123 (tramp-get-completion-telnet, tramp-get-completion-su):
1124 Functions removed as well. Not necessary any longer due to extended
1125 customization means.
1126 (tramp-completion-function-alist): New defcustom. Holds all
1127 FUNCTION FILE pairs used for user and host name completion
1128 relevant for METHOD.
1129 (tramp-completion-function-alist-rsh)
1130 (tramp-completion-function-alist-ssh)
1131 (tramp-completion-function-alist-telnet)
1132 (tramp-completion-function-alist-su): Defconst for initializing
1133 `tramp-completion-function-alist'. Unfortunately, mainly UNIX-like
1134 values are known for me until now. Needs to be completed for at
1135 least VMS++ like operating systems.
1136 (tramp-set-completion-function)
1137 (tramp-get-completion-function): New functions for configuration
1138 of `tramp-completion-function-alist'. The old definition of
1139 `tramp-get-completion-function' has been discarded.
1140 (tramp-completion-handle-file-name-all-completions):
1141 Change function call for user/host completion according to definition
1142 in `tramp-completion-function-alist'.
1143 (tramp-parse-passwd): Added exception handling for "root", because
1144 `tramp-get-completion-su' (the previous place for this stuff)
1145 doesn't exist any longer.
1147 2002-09-07 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1149 * net/tramp.el (tramp-enter-password):
1150 Use `tramp-password-end-of-line' to terminate the line.
1151 (tramp-bug): Include new variable `tramp-password-end-of-line'.
1152 (tramp-password-end-of-line): New variable. People who use plink
1153 under Windows might have to issue "\r\n" after the password, but
1154 they need to send just "\n" after the other commands. So this
1155 variable was introduced to complement `tramp-rsh-end-of-line'.
1156 (tramp-wait-for-output, tramp-post-connection): Allow "\r" at end
1157 of line of the output delimiter.
1159 2002-09-06 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1161 * net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell)
1162 (tramp-open-connection-setup-interactive-shell): Add some comments
1163 about Douglas Grey Stephen's suggestions to make Tramp work better
1164 with plink under Windows. I'm not sure what to think of them, but
1165 now I have a guinea pig to try it out on. Said guinea pig is
1166 having other problems, though... Also remove some commented-out code.
1168 2002-09-06 Michael Albinus <Michael.Albinus@alcatel.de>
1170 * net/tramp.el (tramp-get-completion-methods): Algorithm slightly
1172 (tramp-get-completion-user-host): Accept user names as they are if
1174 (tramp-completion-mode): Replace `last-input-char' by modern
1175 `last-input-event'. Check for `event-modifiers'.
1177 2002-09-06 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1179 * net/tramp.el (file-expand-wildcards): Corrected check to see if
1180 advising is necessary.
1182 2002-09-05 Michael Albinus <Michael.Albinus@alcatel.de>
1184 * net/tramp.el (tramp-postfix-single-method-format)
1185 (tramp-postfix-multi-method-format)
1186 (tramp-postfix-multi-hop-format)
1187 (tramp-postfix-user-format): New format strings.
1188 (tramp-postfix-single-method-regexp)
1189 (tramp-postfix-multi-method-regexp)
1190 (tramp-postfix-multi-hop-regexp)
1191 (tramp-postfix-user-regexp)
1192 (tramp-make-multi-tramp-file-format)
1193 (tramp-make-tramp-file-name): Apply them.
1194 (tramp-completion-handle-file-name-all-completions): Fix for
1195 invoking ange-ftp in case of "/ftp:xxx" file names.
1197 2002-09-04 Michael Albinus <Michael.Albinus@alcatel.de>
1199 * net/tramp.el (tramp-prefix-format)
1200 (tramp-postfix-host-format): New format strings.
1201 (tramp-prefix-regexp, tramp-method-regexp)
1202 (tramp-postfix-single-method-regexp)
1203 (tramp-postfix-multi-method-regexp)
1204 (tramp-postfix-multi-hop-regexp)
1205 (tramp-user-regexp, tramp-postfix-user-regexp)
1206 (tramp-host-regexp, tramp-postfix-host-regexp)
1207 (tramp-path-regexp): New atomar regular expressions.
1208 If corresponding format strings exist, derived from them.
1209 (tramp-file-name-structure)
1210 (tramp-multi-file-name-structure)
1211 (tramp-multi-file-name-hop-structure)
1212 (tramp-make-multi-tramp-file-format)
1213 (tramp-completion-mode)
1214 (tramp-completion-dissect-file-name)
1215 (tramp-parse-rhosts-group)
1216 (tramp-parse-shosts-group)
1217 (tramp-parse-hosts-group)
1218 (tramp-parse-passwd-group): Apply these expressions.
1219 (tramp-file-name-structure-unified)
1220 (tramp-file-name-structure-separate)
1221 (tramp-make-tramp-file-format-unified)
1222 (tramp-make-tramp-file-format-separate)
1223 (tramp-make-tramp-file-format)
1224 (tramp-make-tramp-file-user-nil-format-unified)
1225 (tramp-make-tramp-file-user-nil-format-separate)
1226 (tramp-make-tramp-file-user-nil-format)
1227 (tramp-multi-file-name-structure-unified)
1228 (tramp-multi-file-name-structure-separate)
1229 (tramp-multi-file-name-hop-structure-unified)
1230 (tramp-multi-file-name-hop-structure-separate)
1231 (tramp-make-multi-tramp-file-format-unified)
1232 (tramp-make-multi-tramp-file-format-separate): Removed.
1233 (tramp-make-tramp-file-name): Allow partial tramp file
1234 names. Generate tramp file format on-the-fly depending on
1235 parameters. Apply atomar format strings resp expressions.
1236 (tramp-get-completion-methods)
1237 (tramp-get-completion-user-host): Apply `tramp-make-tramp-file-name'.
1238 (tramp-parse-hosts-group): Take all host names and IP addresses
1240 (tramp-bug): Remove `tramp-make-tramp-file-format'.
1242 2002-09-01 Michael Albinus <Michael.Albinus@alcatel.de>
1244 * net/tramp.el (tramp-methods): Add `tramp-completion-function'
1245 for "su" and "sudo".
1246 (tramp-get-completion-telnet): Implement it.
1248 (tramp-parse-hosts-group)
1249 (tramp-get-completion-su)
1250 (tramp-parse-passwd)
1251 (tramp-parse-passwd-group): New functions.
1253 2002-08-31 Michael Albinus <Michael.Albinus@alcatel.de>
1255 * net/tramp.el (tramp-completion-mode): Check for `last-input-char'.
1256 (tramp-completion-file-name-handler-alist): Add handler for
1258 (tramp-completion-handle-file-exists-p): New function.
1259 (tramp-completion-handle-file-name-completion): Simplified.
1260 (tramp-completion-dissect-file-name): Regexp's reorganised.
1261 (tramp-completion-handle-file-name-all-completions):
1262 Call completion-function only if `user' or `host' is given.
1263 (tramp-get-completion-user-host): New function.
1264 (tramp-get-completion-rsh)
1265 (tramp-get-completion-ssh): Apply it.
1267 2002-08-29 Michael Albinus <Michael.Albinus@alcatel.de>
1269 * net/tramp.el (tramp-completion-file-name-handler-alist):
1270 Add handler for `expand-file-name'.
1271 (tramp-completion-handle-expand-file-name): New function.
1273 2002-08-26 Michael Albinus <Michael.Albinus@alcatel.de>
1275 * net/tramp.el (tramp-completion-mode): New function.
1276 (tramp-completion-handle-file-name-directory)
1277 (tramp-completion-handle-file-name-all-completions): Apply it.
1278 (tramp-methods): Remove double definition of `ssh1-old' and `ssh2-old'.
1279 (tramp-point-at-eol): New defalias.
1280 (tramp-parse-rhosts-group)
1281 (tramp-parse-shosts-group):: Apply it.
1283 2002-08-25 Michael Albinus <Michael.Albinus@alcatel.de>
1285 * net/tramp.el (tramp-get-completion-methods)
1286 (tramp-get-completion-rsh)
1287 (tramp-get-completion-ssh): Add "[" for Xemacs.
1288 (tramp-completion-file-name-regexp-separate): Expression adapted.
1289 (tramp-completion-file-name-handler-alist): Add handler for
1290 `file-name-directory' and `file-name-nondirectory'.
1291 (tramp-completion-handle-file-name-directory)
1292 (tramp-completion-handle-file-name-nondirectory)
1293 (tramp-completion-run-real-handler): New functions.
1294 (tramp-completion-file-name-handler)
1295 (tramp-completion-handle-file-name-all-completions):
1296 Apply `tramp-completion-run-real-handler'.
1297 (tramp-parse-rhosts)
1298 (tramp-parse-shosts): Use `with-temp-buffer'. `result
\e,b4
\e(B renamed to
1299 `res' (otherwise side effects in XEmacs).
1301 2002-08-24 Michael Albinus <Michael.Albinus@alcatel.de>
1303 * net/tramp.el (tramp-completion-file-name-regexp)
1304 (tramp-completion-file-name-handler-alist)
1305 (tramp-flatten-list)
1306 (tramp-completion-dissect-file-name)
1307 (tramp-get-completion-rsh)
1308 (tramp-parse-rhosts)
1309 (tramp-parse-rhosts-group)
1310 (tramp-get-completion-ssh): Doc string tuned.
1311 (tramp-methods): Doc string and custom type extended for
1312 `tramp-completion-function'.
1313 (tramp-completion-function): Variable added. Is it really used?
1314 Other variables like `tramp-completion-function' aren't used.
1315 (tramp-completion-file-name-handler-alist): Add handler for
1316 `file-name-completion'.
1317 (tramp-completion-handle-file-name-completion): New function.
1319 2002-08-18 Michael Albinus <Michael.Albinus@alcatel.de>
1321 * net/tramp.el (tramp-parse-rhosts)
1322 (tramp-parse-rhosts-group)
1323 (tramp-parse-shosts)
1324 (tramp-parse-shosts-group): New functions.
1326 2002-08-17 Michael Albinus <Michael.Albinus@alcatel.de>
1328 * net/tramp.el (tramp-completion-dissect-file-name)
1329 (tramp-completion-dissect-file-name1): New functions.
1331 2002-08-16 Michael Albinus <Michael.Albinus@alcatel.de>
1333 * net/tramp.el (tramp-get-completion-function)
1334 (tramp-get-completion-rsh)
1335 (tramp-get-completion-ssh)
1336 (tramp-get-completion-telnet): New functions.
1337 (tramp-methods): Add `tramp-completion-function' for all methods.
1339 2002-08-15 Michael Albinus <Michael.Albinus@alcatel.de>
1341 * net/tramp.el (tramp-get-completion-methods): New function.
1342 (tramp-find-default-method): Allow host to be nil (like user).
1344 2002-08-14 Michael Albinus <Michael.Albinus@alcatel.de>
1346 * net/tramp.el (tramp-completion-file-name-regexp-unified)
1347 (tramp-completion-file-name-regexp-separate)
1348 (tramp-completion-file-name-regexp)
1349 (tramp-completion-file-name-handler-alist): New defcustoms.
1350 (tramp-completion-file-name-handler): New function.
1351 Add `tramp-completion-file-name-handler' to `file-name-handler-alist'.
1352 (tramp-run-real-handler): Add `tramp-completion-file-name-handler'
1353 to `inhibit-file-name-handlers'.
1354 (tramp-completion-handle-file-name-all-completions)
1355 (tramp-completion-handle-file-name-completion): New functions.
1357 2002-08-12 Michael Albinus <Michael.Albinus@alcatel.de>
1359 * net/tramp.el (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp'
1360 must be called again after activating `ange-ftp'.
1361 (tramp-ange-ftp-file-name-p): Check for Xemacs.
1363 2002-08-08 Michael Albinus <Michael.Albinus@alcatel.de>
1365 * net/tramp.el (tramp-do-copy-or-rename-file): Don't pass
1366 KEEP-DATE to tramp-invoke-ange-ftp 'rename.
1367 (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
1368 tramp-invoke-ange-ftp 'write-region.
1369 (tramp-handle-set-file-modes): Change order of FILENAME and MODE
1370 passing to tramp-invoke-ange-ftp 'set-file-modes.
1371 (tramp-flatten-list): New function. Maybe this functionality does
1372 exist already elsewhere in the libraries.
1373 (tramp-invoke-ange-ftp): Apply `tramp-flatten-list' to parameter
1374 list in order to avoid nested lists, f.e. when invoked from
1375 `tramp-handle-dired-call-process'.
1377 2002-09-05 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1379 * net/tramp.el (tramp-chunksize): New kluge variable.
1380 (tramp-send-region): If tramp-chunksize is non-nil, send region in
1381 parts and sleep 0.1 seconds between chunks.
1383 2002-09-03 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1385 * net/tramp.el (tramp-handle-insert-directory):
1386 Use `insert-buffer-substring' instead of `insert-buffer', which is not
1387 supposed to be used from Lisp. Remember old point in a variable
1388 instead of using `mark'. Suggestion from Stefan Monnier.
1389 (tramp-unified-filenames): New variable. Use it in default value
1390 of other filename variables.
1391 (file-expand-wildcards): Don't advise unless "[" and "]" are used
1392 in the filename format.
1394 2002-09-01 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1396 * net/tramp.el (tramp-methods): Remove duplicate definition of
1397 ssh1-old and ssh2-old.
1399 2002-09-22 Kai Gro
\e,b_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
1401 * dired.el (dired-insert-directory): Always add "--dired" to to
1402 SWITCHES for remote files.
1403 * files.el (insert-directory): Comment saying that "--dired"
1404 might be in the SWITCHES.
1405 * net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS.
1406 (ange-ftp-insert-directory): Comment explaining "--dired" handling.
1408 2002-09-21 Markus Rost <rost@math.ohio-state.edu>
1410 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Give %!._-
1411 word constituent syntax.
1413 2002-09-21 Richard M. Stallman <rms@gnu.org>
1415 * cus-dep.el (custom-make-dependencies): Bind to t
1416 around evaluating the def-form.
1418 * custom.el (custom-dont-initialize): New variable.
1419 (custom-declare-variable): Don't init the variable
1420 if custom-dont-initialize is non-nil.
1422 2002-09-21 John Paul Wallington <jpw@shootybangbang.com>
1424 * net/eudc.el (eudc-install-menu): Use `define-key' and
1425 `easy-menu-create-menu' to avoid duplication of menu.
1427 2002-09-20 Kim F. Storm <storm@cua.dk>
1429 * kmacro.el (kmacro-step-edit-query): Use RET to execute rest of
1430 macro and terminate editing.
1431 (kmacro-step-edit-macro): Push previous macro onto ring if changed
1434 2002-09-19 Tom Tromey <tromey@redhat.com>
1436 * play/blackbox.el (bb-right): Respect prefix argument.
1437 (bb-left, bb-up, bb-down): Likewise.
1439 2002-09-19 Richard M. Stallman <rms@gnu.org>
1441 * cus-dep.el (custom-make-dependencies): Fix previous change.
1443 2002-09-19 Juanma Barranquero <lektu@terra.es>
1445 * ielm.el (ielm-eval-input): Call `error-message-string' instead
1446 of the non-existent `ielm-format-error'.
1448 2002-09-19 Stefan Monnier <monnier@cs.yale.edu>
1450 * emacs-lisp/easymenu.el (easy-menu-remove):
1451 * emacs-lisp/ewoc.el (ewoc--node-branch): Add docstring.
1453 * international/mule-diag.el (describe-coding-system):
1454 Remove unused `coding-spec' variable.
1455 (list-input-methods): Be more careful when setting up the help buffer.
1457 * international/ucs-tables.el (unify-8859-on-encoding-mode):
1458 Set init value to t to reflect reality.
1459 (ucs-minibuffer-setup): Use minibuffer-selected-window.
1461 2002-09-18 Stefan Monnier <monnier@cs.yale.edu>
1463 * progmodes/make-mode.el (makefile-cleanup-continuations-p):
1464 Rename to makefile-cleanup-continuations.
1465 (makefile-mode): Use write-file-functions.
1466 (makefile-fill-paragraph): Use match-string-no-properties.
1467 (makefile-fill-paragraph): Use line-end-position.
1468 (makefile-add-log-defun): Simplify.
1470 2002-09-18 Richard M. Stallman <rms@gnu.org>
1472 * dired.el (dired-mark-pop-up): Doc fix.
1474 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Put the
1475 definition straight into loaddefs.el as well as executing it here.
1477 2002-09-18 Colin Walters <walters@debian.org>
1479 * calc/calc.el (calc-mode): Add font-lock-defontify to
1480 change-major-mode-hook.
1482 2002-09-18 Richard M. Stallman <rms@gnu.org>
1484 * Makefile.in (bootstrap-clean): Use cd to shorten arg strings.
1485 Don't ignore errors in rm line.
1487 * menu-bar.el (menu-bar-search-menu): Nicer help string.
1489 * replace.el (occur-engine-add-prefix): Use 7 spaces.
1490 (occur-engine): Use 7 digits to align tabs in the data.
1492 * emacs-lisp/bytecomp.el (byte-compile-output-docform):
1493 Don't make the definition dynamic if it shares structure
1496 * gud.el (gud-pdb-marker-regexp): Allow : and \ in file name.
1497 (pdb): In gud-remove, pass down the file name.
1499 * cus-dep.el (custom-make-dependencies): Sort MEMBERS before use.
1501 2002-09-18 Luc Teirlinck <teirllm@mail.auburn.edu>
1503 * ielm.el: (*1, *2, *3): New variables.
1504 (ielm-eval-input): Make temporary buffers current on entry and
1505 exit to the let bindings for *, ** and ***.
1506 (inferior-emacs-lisp-mode): Mention *1, *2 and *3 in the docstring.
1507 Do not overrule global bindings for *, ** and ***.
1509 2002-09-18 Tom Tromey <tromey@redhat.com>
1511 * progmodes/make-mode.el (makefile-fill-paragraph): Find comment
1512 boundaries before filling.
1514 2002-09-18 Stefan Monnier <monnier@cs.yale.edu>
1516 * server.el (server-done): Fix harmlessly wrong arg to save-buffer.
1517 (server-switch-buffer): Only select a different window if
1518 next-buffer is non-nil. Don't switch in a dedicated window.
1519 If next-buffer is already displayed, reuse that window.
1521 * diff-mode.el (diff-mode): Use compilation-minor-mode.
1522 Don't unbind compilation-last-buffer after autoloading compile.el.
1523 Hide the compilation-minor-mode bindings altogether.
1525 2002-09-18 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1527 * dired.el (dired-insert-directory): Never add "--dired" when
1528 listing remote directories.
1530 2002-09-18 Michael Kifer <kifer@cs.stonybrook.edu>
1532 * ediff-hooks.el: Put back the autoloads (for XEmacs compatibility).
1534 * ediff-init.el: Use defalias instead of fset.
1536 * ediff-util.el: Use defalias instead of fset.
1538 * viper-util.el (viper-chars-in-region): Simplification.
1540 * viper.el (viper-emacs-state-mode-list): Added modes.
1542 2002-09-18 Jonathan Yavner <jyavner@engineer.com>
1544 * emacs-lisp/testcover.el: New file. Uses edebug to instrument a
1545 module of code, with graphical display of poor-coverage spots.
1547 * emacs-lisp/testcover-ses.el: New file. Demonstrates use of
1548 testcover on a interactive module like ses.
1550 * emacs-lisp/testcover-unsafep.el: New file. Demonstrates use of
1551 testcover on a noninteractive module like unsafep.
1553 2002-09-18 Miles Bader <miles@gnu.org>
1555 * diff-mode.el (diff-mode): Don't evaluate `compilation-last-buffer'
1558 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
1560 * server.el (server-log): Add `client' arg.
1561 (server-start): Don't bother canceling the sentinel.
1562 (server-process-filter): Use replace-regexp-in-string and
1563 handle the new &n quoting. Use push. Use server-log's new arg.
1564 Don't output the C-x # message if `nowait'.
1565 (server-buffer-done): Use server-log's new arg.
1567 2002-09-16 Jonathan Yavner <jyavner@engineer.com>
1571 * emacs-lisp/unsafep.el: New file.
1573 * files.el (auto-mode-alist): Add ".ses" for ses-mode.
1574 (inhibit-quit): This is risky for unsafep, doesn't matter much for
1576 (risky-local-variable-p): New function. Split off from
1577 hack-one-local-variable so unsafep can use it. Add \|-history$ to
1578 the list of disallowed local variable names (malicious user could
1579 stuff a `display' property in there that would be activated when
1580 na
\e,Ao
\e(Bve user called up the history).
1582 2002-09-16 Markus Rost <rost@math.ohio-state.edu>
1584 * ls-lisp.el (ls-lisp-format-time-list): Fix type and provide :tag's.
1586 2002-09-16 Richard M. Stallman <rms@gnu.org>
1588 * play/gomoku.el (gomoku-move-up, gomoku-move-down):
1589 Use forward-line and move-to-column.
1591 * cus-edit.el (custom-variable-backup-value): New function.
1592 (custom-variable-reset-backup): New function.
1593 (custom-variable-menu): Add item for custom-variable-reset-backup.
1594 (custom-variable-set, custom-variable-reset-saved)
1595 (custom-variable-reset-standard): Call custom-variable-backup-value.
1597 2002-09-16 Stefan Monnier <monnier@cs.yale.edu>
1599 * dired.el (dired-font-lock-keywords): Use regexp-opt.
1600 (dired-move-to-filename): Better message when we fail to find the file.
1601 (dired-sort-toggle): Minor optimization.
1603 2002-09-16 Juanma Barranquero <lektu@terra.es>
1605 * dired-aux.el (dired-add-entry): Add missing argument to
1608 2002-09-16 John Paul Wallington <jpw@shootybangbang.com>
1610 * xscheme.el (scheme-interaction-mode): Doc fix.
1612 * net/eudc.el (eudc-plist-get): Doc fix.
1614 2002-09-16 Kim F. Storm <storm@cua.dk>
1616 * menu-bar.el (menu-bar-last-search-type): New var.
1617 (nonincremental-repeat-search-forward)
1618 (nonincremental-repeat-search-backward): Repeat string or
1619 regexp search depending on menu-bar-last-search-type.
1620 (nonincremental-search-forward, nonincremental-re-search-forward)
1621 (nonincremental-search-backward, nonincremental-re-search-backward):
1622 Set menu-bar-last-search-type to string or regexp.
1623 (nonincremental-repeat-re-search-forward): Removed.
1624 (nonincremental-repeat-re-search-backward): Removed.
1625 (menu-bar-replace-menu): New keymap for "Edit->Replace" submenu.
1626 (menu-bar-i-search-menu): New keymap for "Incremental Search" submenu.
1627 (menu-bar-adv-search-menu): Removed.
1628 (menu-bar-search-menu): Reorganized.
1629 (menu-bar-edit-menu): Added "Replace" submenu.
1631 2002-09-15 Richard M. Stallman <rms@gnu.org>
1633 * scroll-bar.el (scroll-bar-mode): Specify :initialize.
1635 * menu-bar.el (menu-bar-make-mm-toggle): Don't put a quote befor FNAME
1636 when it's not being evaluated.
1638 2002-09-15 Markus Rost <rost@math.ohio-state.edu>
1640 * dired.el (dired-move-to-filename): Fix previous change.
1642 2002-09-14 Kim F. Storm <storm@cua.dk>
1644 * emulation/keypad.el (keypad-setup, keypad-shifted-setup)
1645 (keypad-numlock-setup, keypad-numlock-shifted-setup):
1646 Change `Remove Binding' option to `Unspecified/User-defined'.
1647 (keypad-setup): Enhance explanation of setup type `none'.
1649 2002-09-14 Richard M. Stallman <rms@gnu.org>
1651 * time.el (display-time-mode): Set display-time-load-average here.
1652 (display-time-load-average): Initialize to nil.
1653 (display-time-default-load-average): Add "None" alternative.
1654 (display-time-update): Handle "None" alternative for load-average.
1656 * dired-aux.el (dired-bunch-files): Put the arg FILES
1657 back as it was after temporary destrucive mods.
1658 (dired-add-entry): Use dired-insert-directory to handle indentation.
1659 Explicitly restore the line's marker character.
1660 Preserve the old file name's text properties.
1661 (dired-add-entry-do-indentation): Function deleted.
1662 (dired-relist-file): Doc fix.
1663 (dired-rename-file): Change argument names.
1664 (foo-rename-file): New function.
1665 (dired-do-hardlink): Use dired-hardlink.
1666 (dired-hardlink): New function.
1667 (dired-insert-subdir-doinsert): Use dired-insert-directory;
1668 that handles indentation, text props and header line.
1669 dired-readin-insert gets no args.
1670 Use `last' instead of `reverse'.
1672 * dired.el (dired-use-ls-dired): New variable.
1673 (dired-directory): Document the rules better.
1675 * dired.el (dired-insert-headerline): Function deleted.
1676 (dired-revert): Pass no args to dired-readin.
1677 (dired-move-to-filename): First try using dired-filename property.
1678 (dired-move-to-end-of-filename): Likewise.
1679 (dired-why): Try to show the start of this page of warnings.
1680 (dired-log): Insert the buffer name at start of page, not end.
1681 (dired-log-summary): If just one failure, explain it in echo area.
1683 * dired.el (dired-internal-noselect):
1684 Always set dired-directory, when buffer is not new.
1685 Pass dir-or-list, not dirname, to dired-mode.
1686 Call dired-readin with no args.
1687 Don't call dired-after-readin-hook here.
1688 (dired-find-buffer-nocreate): Expand dirname.
1689 Expand the dir from dired-directory to compare with dirname.
1691 (dired-readin): Take no args. Get the directory from dired-directory.
1692 Run dired-before-reading hook inside save-excursion.
1693 Run dired-after-readin-hook here.
1694 Don't make undo entries at all.
1695 Call dired-readin-insert with no args.
1696 Don't change indentation here.
1697 Don't insert headerline here.
1699 (dired-readin-insert): Take no args.
1700 Get dir and file-list from dired-directory.
1701 Call dired-insert-directory the new way.
1702 Don't insert "wildcard" info here.
1704 (dired-insert-directory): New arg FILE-LIST.
1705 First arg now DIR, always just the directory.
1706 This function fully handles setting up the buffer text:
1707 update indentation, insert headerline and "wildcard" info.
1708 Pass --dired arg if appropriate; put info in dired-filename props.
1709 Don't expand file names here.
1711 * warnings.el (display-warning): In batch mode,
1712 exclude the final newline from the arg to `message'.
1714 2002-09-13 Markus Rost <rost@math.ohio-state.edu>
1716 * files.el (diff-buffer-with-file): Check whether associated file
1717 exists. Display message for 1 second. Always return nil.
1719 2002-09-13 Stefan Monnier <monnier@cs.yale.edu>
1721 * diff-mode.el (diff-mode): Turn on compilation-minor-mode
1722 support again, but more carefully this time.
1724 * progmodes/perl-mode.el (perl-mode-syntax-table): Mark $, % and @
1725 such that backward-sexp correctly skips them.
1726 (perl-font-lock-keywords-2): Use regexp-opt.
1727 (perl-font-lock-syntactic-keywords)
1728 (perl-font-lock-syntactic-face-function): Better handle PODs.
1729 Handle package names with ' in them and ($$) in `sub' declarations.
1730 Handle format staements. Handle regexp and quote-like ops.
1731 (perl-empty-syntax-table): New var.
1732 (perl-quote-syntax-table): New fun.
1734 * pcvs.el (cvs-mode-find-file): Work even if point is at beg-of-line.
1735 (cvs-do-removal): Bind inhibit-read-only while modifying the buffer.
1737 * newcomment.el (comment-with-narrowing): Use the `declare' thingy.
1739 * derived.el (define-derived-mode): Properly ignore unknown args.
1741 * emacs-lisp/easy-mmode.el (define-minor-mode): Add a :require arg.
1742 Don't call the function during init if mode is on by default.
1744 * simple.el: Provide `simple'.
1745 (transient-mark-mode, line-number-mode, column-number-mode):
1746 Pass an explicit `:require nil' argument.
1748 2002-09-13 Francesco Potorti` <pot@gnu.org>
1750 * play/tetris.el (tetris-blank-options, tetris-cell-options):
1751 Remove various redundant `(t nil)'.
1753 * play/snake.el (snake-border-options): Use color on tty if available.
1755 * play/tetris.el (tetris-border-options): Likewise.
1757 * play/pong.el (pong-border-options): Likewise, plus reset
1758 color on tty to be [0.5 0.5 0.5].
1760 2002-09-13 Kim F. Storm <storm@cua.dk>
1762 * kmacro.el (kmacro-start-macro): Doc fix.
1764 2002-09-13 Juanma Barranquero <lektu@terra.es>
1766 * progmodes/idlw-shell.el (idlwave-shell-cleanup): Fix reference
1767 to `idlwave-idlwave_routine_info-compiled'.
1769 * whitespace.el (whitespace-unload-hook): Call `remove-hook' with
1770 three arguments, not four.
1772 2002-09-13 Kim F. Storm <storm@cua.dk>
1774 * kmacro.el (kmacro-keymap): Changed bindings:
1775 C-x C-k s to kmacro-start-macro, C-x C-k b to kmacro-bind-to-key.
1777 2002-09-12 Richard M. Stallman <rms@gnu.org>
1779 * international/mule-cmds.el (universal-coding-system-argument):
1780 Read the coding system inside `interactive' spec, for command-history.
1782 2002-09-12 Stefan Monnier <monnier@cs.yale.edu>
1784 * emacs-lisp/find-func.el (find-library-name): Don't forget
1785 the empty suffix. Fix stale variable name.
1787 * gud.el (gud-gdb-massage-args, gud-sdb-massage-args)
1788 (gud-pdb-massage-args): Delete.
1789 (gdb, sdb, pdb): Don't pass gud-*-massage-args any more.
1790 (gud-gdb-command-name): New var. Put "--fullname" in there.
1791 (gud-query-cmdline): Use the most recent executable as the default.
1792 Don't add "--fullname" (it's only valid/meaningful for GDB).
1793 (gud-xdb-marker-filter): Use match-string.
1794 (gud-perldb-massage-args): Don't add "-d".
1795 (gud-perldb-command-name): Add "-d".
1796 (gud-common-init): If `massage-args' is nil, don't call it.
1797 (gud-format-command): Don't hardcode point-min==1.
1799 * derived.el: Require CL when compiling.
1801 2002-09-12 Simon Josefsson <jas@extundo.com>
1803 * mail/smtpmail.el (smtpmail-send-it): Don't use : in filenames
1804 (for cygwin). Suggested by Andrew Senior <aws@watson.ibm.com>.
1805 Use expand-file-name. Also don't require time-stamp.
1807 2002-09-11 Richard M. Stallman <rms@gnu.org>
1809 * derived.el (define-derived-mode): When making new abbrev table,
1810 don't try to copy the parent's abbrev table.
1812 * ruler-mode.el (ruler-mode-left-scroll-bar-cols):
1813 Always round scroll-bar-width parameter up.
1814 If it is nil, use 14.
1816 * abbrev.el (copy-abbrev-table): New function.
1818 2002-09-11 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1820 * ps-print.el: Adjust ps-print-color-p, ps-default-fg and
1821 ps-default-bg setting.
1822 (ps-print-version): New version number (6.5.7).
1823 (ps-mark-active-p): New fun.
1824 (ps-print-preprint-region): Adjust code.
1826 2002-09-11 Dave Love <fx@gnu.org>
1828 * international/mule.el (non-standard-designations-alist)
1829 (ctext-pre-write-conversion): Don't generate invalid extended
1830 segments for iso8859.
1832 * language/cyrillic.el ("Ukrainian"): Fix nonascii-translation.
1833 (cyrillic-alternativnyj-decode-table): Fix some entries.
1835 * international/ucs-tables.el: Fix last change.
1837 * international/utf-8.el (utf-8-fragment-on-decoding): Fix last
1840 2002-09-11 Kim F. Storm <storm@cua.dk>
1842 * edmacro.el (edit-kbd-macro): Recognize new C-x e binding,
1843 kmacro-end-and-call-macro.
1845 2002-09-11 Juanma Barranquero <lektu@terra.es>
1847 * newcomment.el (uncomment-region): Fix let/let* use.
1849 2002-09-11 Simon Josefsson <jas@extundo.com>
1851 * time-stamp.el (time-stamp-hhmmss): New function.
1853 * gud.el (gud-gdb-massage-args): Don't secretly add -fullname.
1854 (gud-query-cmdline): Add --fullname to the user cmdline.
1856 * mail/smtpmail.el (smtpmail-default-smtp-server): Doc fix.
1858 2002-09-11 Kim F. Storm <storm@cua.dk>
1860 * kmacro.el (kmacro-call-macro): Rephrase repeat prompt.
1861 (kmacro-step-edit-map): Bind "A" to `append-end'.
1862 (kmacro-step-edit-prompt): Fix prompt.
1863 (kmacro-step-edit-query): Handle `append-end' response.
1864 (kmacro-step-edit-pre-command): Activate `append-end' at end of
1865 macro when required.
1867 2002-09-11 Stefan Monnier <monnier@cs.yale.edu>
1869 * derived.el (define-derived-mode): Fix typo.
1871 * menu-bar.el (line-number-mode, column-number-mode)
1872 (transient-mark-mode): Use minor mode directly.
1873 (menu-bar-make-toggle): Remove `props' arg.
1874 Move customize-mark-as-set directly into the toggle function.
1876 * whitespace.el (whitespace-global-mode): Use define-minor-mode.
1877 Use the new file hook names.
1878 (whitespace-describe): Remove. Move the text to `Commentary:'.
1879 (whitespace-unload-hook): Use the new file hook names.
1881 * finder.el (finder-find-library): Remove.
1882 (finder-commentary): Use find-library-name and add completion.
1884 * simple.el (transient-mark-mode, line-number-mode)
1885 (column-number-mode): Use define-minor-mode.
1886 (define-mail-user-agent): Delete. Moved to subr.el.
1888 * loadup.el ("simple.el"): Move to after loaddefs.el.
1890 * subr.el (define-mail-user-agent): Moved from simple.el.
1892 2002-09-10 Richard M. Stallman <rms@gnu.org>
1894 * pcvs-info.el (cvs-check-fileinfo): Don't use boolp.
1895 (boolp): Function deleted.
1897 2002-09-10 Dave Love <fx@gnu.org>
1899 * international/utf-8.el (ucs-mule-to-mule-unicode):
1900 Define unconditionally.
1901 (utf-8-fragmentation-table): New. Use it in top-level mapc.
1902 (utf-8-fragment-on-decoding): Use it to keep
1903 utf-8-translation-table-for-decode variable and translation table
1906 * international/ucs-tables.el: Bind utf-8-translation-table-for-decode
1907 when setting up tables and remove useless optimize-char-table.
1908 (ucs-mule-to-mule-unicode): Deleted.
1909 (ucs-unify-8859): Maybe optimize ucs-mule-to-mule-unicode.
1911 * international/utf-16.el (utf-16-le-pre-write-conversion)
1912 (utf-16-be-pre-write-conversion): Deleted.
1913 (mule-utf-16-le, mule-utf-16-be): Register encoding translation table.
1915 2002-09-10 Richard M. Stallman <rms@gnu.org>
1917 * files.el (diff-buffer-with-file): Simplify.
1918 Don't signal an error if buffer has no file.
1919 Call sit-for after `diff' returns.
1921 * play/gamegrid.el (gamegrid-make-color-tty-face):
1922 Handle string as COLOR arg.
1923 (gamegrid-display-type): Don't assume display-color-p
1924 implies a color-x terminal.
1925 (gamegrid-hide-cursor): Set `cursor-type' local variable.
1927 * descr-text.el (describe-text-mode): Add font-lock-defontify to
1928 change-major-mode-hook.
1930 * ibuffer.el (ibuffer-mode): Add font-lock-defontify to
1931 change-major-mode-hook.
1933 * comint.el (comint-mode): Add font-lock-defontify to
1934 change-major-mode-hook.
1936 * info.el (Info-mode): Add font-lock-defontify to
1937 change-major-mode-hook.
1939 * replace.el (occur-mode): Add font-lock-defontify to
1940 change-major-mode-hook.
1942 * font-core.el (font-lock-defontify): New function.
1944 2002-09-10 Richard M. Stallman <rms@gnu.org>
1946 * ps-print.el (ps-printer-name-option): Doc fix.
1948 2002-09-10 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1950 * ps-print.el: Adjust ps-postscript-code-directory setting.
1951 XEmacs version check was adjusted.
1952 (ps-print-version): New version number (6.5.6).
1953 (ps-print-color-p, ps-page-dimensions-database): Autoload var.
1954 (ps-print-code, ps-print-preprint-region): Adjust code.
1956 2002-09-10 Kai Gro
\e,b_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1958 * files.el (auto-mode-alist): ~/.gnus, ~/.viper are in
1959 emacs-lisp-mode, like ~/.emacs.
1961 2002-09-10 Stefan Monnier <monnier@cs.yale.edu>
1963 * newcomment.el (uncomment-region): Be more careful with `='.
1965 2002-09-10 Deepak Goel <deego@glue.umd.edu>
1967 * play/doctor.el (doc//): Rename from `//'. Update callers.
1968 (doc$): Rename from `$'. Update callers.
1970 2002-09-10 Miles Bader <miles@gnu.org>
1972 * simple.el (do-auto-fill): `fill-indent-according-to-mode' is a
1973 variable, not a function.
1975 * kmacro.el (kmacro-call-macro): Deal with a non-numeric prefix arg.
1977 2002-09-10 Kim F. Storm <storm@cua.dk>
1979 * macros.el (apply-macro-to-region-lines): Let-bind mark-active to
1980 nil while executing macro to avoid triggering delete-selection-mode.
1982 * simple.el (keyboard-quit): Set defining-kbd-macro to nil to
1983 cancel defining keyboard macro when applicable.
1985 2002-09-09 Markus Rost <rost@math.ohio-state.edu>
1987 * simple.el (transient-mark-mode, line-number-mode)
1988 (column-number-mode): Undo previous change because of bootstrapping.
1990 2002-09-09 Stefan Monnier <monnier@cs.yale.edu>
1992 * derived.el (define-derived-mode): Add keyword arguments.
1993 (derived-mode-make-docstring): Take abbrev and syntax table names.
1995 * font-core.el (font-lock-change-mode): Just turn off font-lock-mode.
1996 (font-lock-default-function): Change arg name.
1998 * cus-start.el (transient-mark-mode): Delete. Done in simple.el.
2000 * paren.el (show-paren-function): Use syntax-after.
2002 * emacs-lisp/syntax.el (syntax-after): Delete. Moved to subr.el.
2004 * subr.el (symbol-file): Also work for autoloaded funcs.
2005 (syntax-after): New fun moved from syntax.el.
2007 * find-file.el (ff-pre-find-hook, ff-pre-load-hook, ff-post-load-hook)
2008 (ff-not-found-hook, ff-file-created-hook): Rename from *-hooks.
2009 Update callers (but still run the old hooks as well).
2011 * emacs-lisp/find-func.el (find-library-suffixes, find-library-name)
2012 (find-library): New funs.
2013 (find-function-search-for-symbol): Use it.
2015 * emacs-lisp/bytecomp.el (byte-compile-file): Don't switch buffer.
2017 * isearch.el (isearch-cmds): Add docstring.
2018 (isearch-mouse-2): Lookup binding in the proper buffer.
2019 Use call-interactively and remove the now useless `arg'.
2020 (isearch-search-fun-function): New var.
2021 (isearch-search-fun): New fun.
2022 (isearch-search, isearch-lazy-highlight-search): Use it.
2024 2002-09-09 Stefan Monnier <monnier@cs.yale.edu>
2026 * simple.el (what-line): Don't hard-code 1.
2027 (transient-mark-mode, line-number-mode, column-number-mode):
2028 Use define-minor-mode.
2029 (do-auto-fill): Only ignore prefix if it's really empty.
2031 2002-09-09 Markus Rost <rost@math.ohio-state.edu>
2033 * files.el (save-some-buffers-action-alist): Use lower case for
2034 help string of diff-buffer-with-file.
2036 2002-09-09 Richard M. Stallman <rms@gnu.org>
2038 * calendar/calendar.el (mouse-scroll-calendar-left)
2039 (mouse-scroll-calendar-right, mouse-calendar-other-month):
2041 (calendar-mode-line-format): Use them.
2043 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2044 Set and then bind default-directory.
2046 * startup.el (fancy-splash-head, normal-splash-screen):
2047 Change the messages that explain about GNU or GNU/Linux.
2049 * info.el (Info-search): Add (point-min) to subfile positions
2050 to get them right. Skip the current subfile using forward-line.
2052 * files.el (make-backup-file-name-1): When make-directory fails,
2053 ignore backup-directory-alist.
2054 (make-directory): Expand DIR before looking for handler.
2056 2002-09-09 Jari Aalto <jari.aalto@poboxes.com>
2058 * progmodes/cperl-mode.el (cperl-noscan-files-regexp):
2059 In addition to RCS, exclude CVS directories.
2061 * ls-lisp.el (ls-lisp-format-time-list): New variable.
2062 (ls-lisp-format-time): Use it.
2064 * files.el (auto-mode-alist): Use sh-mode for .bash files.
2066 2002-09-09 Dave Love <d.love@dl.ac.uk>
2068 * ps-print.el: Many doc fixes.
2070 2002-09-09 John Paul Wallington <jpw@shootybangbang.com>
2072 * play/doctor.el (doctor-cadr, doctor-caddr, doctor-cddr): Remove.
2075 2002-09-08 Markus Rost <rost@math.ohio-state.edu>
2077 * diff.el (diff): Doc fix.
2079 2002-09-08 Richard M. Stallman <rms@gnu.org>
2081 * emacs-lisp/bytecomp.el (byte-compile-delete-errors): Default to nil.
2083 * simple.el (undo-elt-in-region): Fix one-off error at END.
2084 (forward-visible-line): Handle invisibility by ignoring
2085 invisible newlines. Also include entire invisible lines beyond
2088 * cus-edit.el (custom-save-variables, custom-save-faces):
2089 Clarify the comments written into .emacs.
2091 2002-09-08 Markus Triska <triska@gmx.at>
2093 * play/doctor.el (doctor-doc): Recognize question words
2094 and use qlist. Use doctor-shorten's return value.
2095 (doctor-shorten): Compute a return value, don't alter `sent'.
2096 (doctor-hates1): Add a question mark.
2097 (doctor-strangelove): Unused function deleted.
2099 2002-09-08 Kim F. Storm <storm@cua.dk>
2101 * kmacro.el (kmacro-end-and-call-macro): New command to end and
2102 call keyboard macro in one step. Bind it to C-x e by default.
2103 (kmacro-call-macro): Use format-kbd-macro.
2104 (kmacro-step-edit-macro): New command to interactively step edit
2105 and execute last keyboard macro.
2106 (kmacro-keymap): Bind SPC [C-x C-k SPC] to kmacro-step-edit-macro.
2107 (kmacro-step-edit-mini-window-height): New custom var.
2108 (kmacro-step-edit-map): New keymap (parent is query-replace-map).
2109 (kmacro-step-edit-prefix-commands): New var.
2110 (kmacro-step-edit-prompt, kmacro-step-edit-query)
2111 (kmacro-step-edit-insert, kmacro-step-edit-pre-command)
2112 (kmacro-step-edit-minibuf-setup, kmacro-step-edit-post-command):
2113 New aux functions for step editing keyboard macros.
2115 * subr.el (read-quoted-char): Apply listify-key-sequence to vector
2116 returned by this-single-command-raw-keys before appending it to
2117 unread-command-event.
2119 2002-09-07 Colin Walters <walters@debian.org>
2121 * progmodes/compile.el (compile-internal): Add optional argument
2124 * diff.el (diff): Add optional argument no-async, and use the
2127 * files.el (diff-buffer-with-file): Call diff synchronously, so we
2128 don't delete the temporary file before diff has a chance to read
2131 * ibuf-ext.el (ibuffer-diff-with-file): Just call
2132 `diff-buffer-with-file'.
2134 2002-09-07 John Paul Wallington <jpw@shootybangbang.com>
2136 * emacs-lisp/cl-indent.el (extended-loop-p): Doc fix.
2138 * emacs-lisp/find-func.el (find-function-recenter-line):
2139 Add custom type. Doc fix.
2141 2002-09-06 Stefan Monnier <monnier@cs.yale.edu>
2143 * menu-bar.el (menu-bar-make-mm-toggle): New macro.
2144 (showhide-menu-bar, showhide-toolbar, menu-bar-toggle-auto-compression)
2145 (toggle-highlight-paren-mode, toggle-global-lazy-font-lock-mode):
2146 Remove. Use the minor mode function directly instead.
2147 (menu-bar-mode): Add message and customize-mark-as-set and return
2148 the new value as do other minor modes.
2150 * edmacro.el (edmacro-subseq): Don't use cl-push/cl-pop.
2152 2002-09-06 Simon Marshall <simon@gnu.org>
2154 * progmodes/etags.el (find-tag-tag, complete-tag):
2155 Bind completion-ignore-case based on tags-case-fold-search, so that
2156 case-sensitivity of tag completion matches that of tag search.
2158 2002-09-06 Juanma Barranquero <lektu@terra.es>
2160 * calendar/solar.el (calendar-time-display-form): Fix spacing.
2162 * double.el (double-prefix-only): Likewise.
2164 * emacs-lisp/easymenu.el (easy-menu-define): Likewise.
2166 * emacs-lisp/find-func.el (find-function-search-for-symbol): Likewise.
2168 * emacs-lisp/float.el (string-to-float): Likewise.
2170 * emacs-lisp/rx.el (rx): Likewise.
2172 * faces.el (copy-face): Likewise.
2174 * hilit-chg.el (highlight-changes-colours)
2175 (highlight-changes-active-string)
2176 (highlight-changes-passive-string)
2177 (highlight-changes-rotate-faces, global-highlight-changes): Likewise.
2179 * international/mule.el (decode-char): Likewise.
2181 * progmodes/idlwave.el (idlwave-support-inheritance)
2182 (idlwave-routine-entry-compare): Likewise.
2184 * progmodes/idlw-shell.el (idlwave-shell-use-breakpoint-glyph):
2187 * progmodes/pascal.el (pascal-start-keywords): Likewise.
2189 * progmodes/sh-script.el (sh-indent-for-fi, sh-indent-for-done):
2192 * progmodes/vhdl-mode.el (vhdl-progress-interval)
2193 (vhdl-corresponding-begin): Likewise.
2195 * simple.el (choose-completion-string-functions): Likewise.
2197 * textmodes/reftex.el (reftex-TeX-master-file): Likewise.
2199 * textmodes/fill.el (fill-nonuniform-paragraphs)
2200 (fill-individual-paragraphs): Likewise.
2202 * vcursor.el (vcursor-toggle-vcursor-map): Likewise.
2204 * warnings.el (warning-level-aliases): Likewise.
2206 * speedbar.el (speedbar-mode): Fix spacing and typos.
2208 * textmodes/reftex-vars.el (reftex-label-menu-flags): Fix typo.
2210 2002-09-05 Markus Rost <rost@math.ohio-state.edu>
2212 * textmodes/table.el (table-command-prefix): Fix type.
2214 2002-09-05 Andre Spiegel <spiegel@gnu.org>
2216 * vc-hooks.el Don't require vc.el at compile-time; it causes
2217 recursive requirements during bootstrap.
2219 2002-09-05 Kenichi Handa <handa@etl.go.jp>
2221 * international/mule.el (decode-char): Cancel the previous change.
2223 2002-09-04 Mats Lidell <matsl@contactor.se> (tiny change)
2225 * language/european.el ("Swedish"): New set-language-info-alist call.
2227 2002-09-04 Richard M. Stallman <rms@gnu.org>
2229 * help-fns.el (help-with-tutorial): Properly set up
2230 completion-reference-buffer in the *Completion* buffer.
2232 2002-09-04 John Paul Wallington <jpw@shootybangbang.com>
2234 * startup.el (use-fancy-splash-screens-p): If `fancy-splash-frame'
2235 returns nil, return nil.
2237 2002-09-04 Andre Spiegel <spiegel@gnu.org>
2239 * vc-hooks.el: Require vc.el at compile-time.
2240 (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
2241 Moved here from vc.el.
2243 * vc.el (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
2244 Moved to vc-hooks.el.
2246 * vc-rcs.el (vc-rcs-state): Don't require vc.el.
2248 2002-09-04 Kenichi Handa <handa@etl.go.jp>
2250 * international/mule.el (decode-char): Translate a character by
2251 utf-8-translation-table-for-decode only when
2252 utf-8-fragment-on-decoding is non-nil.
2254 2002-09-02 Stefan Monnier <monnier@cs.yale.edu>
2256 * textmodes/text-mode.el (paragraph-indent-text-mode-abbrev-table)
2257 (paragraph-indent-text-mode-syntax-table, paragraph-indent-text-mode):
2258 Use text-mode's syntax-table and abbrev-table.
2259 (text-mode): Set require-final-newline to t.
2261 * newcomment.el (comment-make-extra-lines): Only use the
2262 dummy `=' char when there's really nothing else.
2263 Don't remove spaces if it leads to an incorrect comment.
2265 * pcvs.el (cvs-run-process): Use a pty rather than a pipe to work
2266 around the cvs/ssh/libc bug.
2267 (cvs-update-header): Understand `cvs admin -m<rev>:<msg>' syntax.
2268 (defun-cvs-mode): Use the new `declare' thingy.
2269 (cvs-edit-log-text-at-point, cvs-mode-edit-log, cvs-do-edit-log)
2270 (cvs-edit-log-minor-wrap, cvs-edit-log-filelist): New funs.
2271 (cvs-mode-undo): Use `cvs add' for (CONFLICT. REMOVED).
2273 * pcvs-parse.el (cvs-parse-table): Create a `need-update'
2274 node rather than a message for new directories.
2275 (cvs-parse-status): Add support for `Entry Invalid'.
2277 * smerge-mode.el (smerge-diff-buffer-name): Default to *vc-diff*.
2278 (smerge-combine-with-next): New function.
2279 (smerge-diff): Don't output `wrote /tmp/foo' messages.
2280 Insert message if no diffs were found.
2282 * mail/sendmail.el (mail-mode): Don't set local-abbrev-table.
2283 (mail-mode-abbrev-table): Set to text-mode-abbrev-table.
2285 2002-09-02 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2287 * net/tramp.el: Version 2.0.15 released.
2288 (require 'base64): Most modern Emacsen have the base64
2289 encode/decode functions built in, so test to see if they are bound
2290 before we go blindly requiring base64.el.
2291 From Steve Youngs <youngs@xemacs.org>.
2292 (tramp-feature-write-region-fix): XEmacs doesn't have a
2293 'find-operation-coding-system' and this variable doesn't seem to
2294 be used anywhere so wrap it in (unless (featurep 'xemacs)).
2295 From Steve Youngs <youngs@xemacs.org>.
2296 (tramp-methods): Remove duplicate definition of ssh1-old and ssh2-old.
2297 (tramp-open-connection-su): Use user name "root" if no user name
2300 From Michael Albinus <Michael.Albinus@alcatel.de>:
2301 * net/tramp.el (tramp-invoke-ange-ftp):
2302 (tramp-ange-ftp-file-name-p): Check for Xemacs.
2303 (tramp-do-copy-or-rename-file): Don't pass KEEP-DATE to
2304 tramp-invoke-ange-ftp 'rename.
2305 (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
2306 tramp-invoke-ange-ftp 'write-region.
2307 (tramp-handle-set-file-modes): Change order of FILENAME and MODE
2308 passing to tramp-invoke-ange-ftp 'set-file-modes.
2309 (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called
2310 again after activating `ange-ftp'.
2312 2002-09-02 Kim F. Storm <storm@cua.dk>
2314 * ido.el (ido-ignore-item-temp-list): New variable.
2315 (ido-read-internal): Don't set ido-default-item if the default is
2316 member of ido-ignore-item-temp-list.
2317 Don't return first match for C-j if no text is entered.
2318 (ido-buffer-internal): Check for empty string return.
2319 (ido-make-buffer-list1): Use member instead of memq.
2320 (ido-window-buffer-p): Likewise.
2321 (ido-get-bufname): Ignore buffers on ido-ignore-item-temp-list.
2322 (ido-ignore-item-p): Ignore items on ido-ignore-item-temp-list.
2324 * replace.el (multi-occur): Made "ido-aware":
2325 Changed prompt to use C-j instead of RET to end.
2326 Set ido-ignore-item-temp-list to the selected buffers so far, so
2327 they are automatically excluded from the list of choices.
2328 Use add-to-list instead of push.
2330 2002-09-01 Richard M. Stallman <rms@gnu.org>
2332 * term/x-win.el (function-key-map): Define S-iso-lefttab.
2334 2002-09-01 Kim F. Storm <storm@cua.dk>
2336 * edmacro.el (edit-kbd-macro): Recognize new default binding for
2337 C-x e in addition to old binding.
2339 2002-09-01 Mario Lang <mlang@debian.org>
2341 * files.el (save-some-buffers-action-alist): New variable.
2342 (save-some-buffers): Use that.
2343 (diff-buffer-with-file): New function.
2345 2002-09-01 Richard M. Stallman <rms@gnu.org>
2347 * ruler-mode.el (defgroup ruler-mode): Use `convenience' as parent.
2349 * dired.el (defgroup dired): Use `files' as parent.
2350 (dired-get-filename): Ignore handler if it has safe-magic prop.
2352 * jka-compr.el (jka-compr-handler): Add safe-magic property.
2354 2002-08-31 Richard M. Stallman <rms@gnu.org>
2356 * simple.el (kill-line): Use end-of-visible-line to determine
2357 if rest of line is blank.
2358 (end-of-visible-line): Cope if end-of-line moved back over
2359 invisible intangible chars at end of line.
2361 * simple.el (completion-setup-function): Don't use directory-sep-char.
2363 2002-09-01 Glenn Morris <gmorris@ast.cam.ac.uk>
2365 * progmodes/f90.el (f90-menu): Remove ":active" keyword where not
2367 (f90-menu, f90-add-imenu-menu): Use lookup-key.
2368 Remove (eval-when-compile) for free variables.
2370 2002-08-31 Andreas Schwab <schwab@suse.de>
2372 * font-core.el (font-lock-change-mode): Avoid changing buffer
2375 2002-08-30 Stefan Monnier <monnier@cs.yale.edu>
2377 * emacs-lisp/easymenu.el (easy-menu-filter-return):
2378 Handle the case where the filter returns a single menu entry.
2379 (easy-menu-add): Improve docstring.
2380 (easy-menu-current-active-maps): Remove.
2381 (easy-menu-get-map): Use current-active-maps.
2383 * cus-edit.el (custom-unlispify-menu-entry): Don't remove
2384 the -p prefix from variables since they shouldn't have it anyway.
2385 (custom-group-menu-create, customize-menu-create):
2386 Only cdr if applicable, since custom-menu-create might return
2387 a vector (i.e. a single menu entry).
2389 2002-08-30 Edward M. Reingold <reingold@emr.cs.iit.edu>
2391 * calendar/diary-lib.el (diary-mail-entries): Don't overwrite
2392 user's value of diary-list-include-blanks, but generate message
2393 instead if there are no entries.
2395 2002-08-30 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
2397 * ps-print.el (ps-lp-system): Fixed typo in `usg-unix-v'.
2399 2002-08-30 Markus Rost <rost@math.ohio-state.edu>
2401 * menu-bar.el (menu-bar-read-mail): Doc fix.
2403 2002-08-30 John Paul Wallington <jpw@shootybangbang.com>
2405 * ibuffer.el (ibuffer-update): Revert expansion of `caddr'.
2406 (ibuffer-fontification-alist): Check hidden buffer case isn't
2407 visiting a file and change its face to italic.
2409 2002-08-30 Juanma Barranquero <lektu@terra.es>
2411 * replace.el (occur-mode): Add interactive declaration.
2413 * bs.el (bs-message-without-log): Fix typo.
2415 * font-core.el (font-lock-defaults): Likewise.
2417 * font-lock.el (font-lock-add-keywords): Likewise.
2419 * mouse-copy.el (mouse-copy-work-around-drag-bug): Likewise.
2421 * textmodes/bibtex.el (bibtex-mode): Likewise.
2423 * emulation/viper-ex.el (ex-compile-command): Likewise.
2425 * progmodes/idlwave.el (idlwave-max-extra-continuation-indent):
2428 * progmodes/dcl-mode.el (dcl-calc-cont-indent-relative): Likewise.
2430 * allout.el (my-mark-marker): Likewise.
2432 2002-08-30 Simon Josefsson <jas@extundo.com>
2434 * mail/smtpmail.el (smtpmail-via-smtp): Delete process buffer
2435 unless s-debug-info is enabled.
2437 2002-08-29 John Paul Wallington <jpw@shootybangbang.com>
2439 * ibuffer.el (ibuffer-update): Use `minibufferp'. Expand `caddr'.
2441 * mwheel.el (mouse-wheel-up-button): Doc fix.
2443 2002-08-29 Juanma Barranquero <lektu@terra.es>
2445 * replace.el (occur-mode-hook): New hook.
2446 (occur-mode): Use it.
2447 (occur-hook): Set default to nil.
2449 2002-08-29 Stefan Monnier <monnier@cs.yale.edu>
2451 * net/ange-ftp.el: Use match-string and drop useless `function's.
2452 (ange-ftp-get-process): Bind `ange-ftp-this-user' and
2453 `ange-ftp-this-host' before running ange-ftp-process-startup-hook.
2454 (ange-ftp-ls-parser): Use `switches' arg instead of dynamic binding.
2455 (ange-ftp-parse-dired-listing): Update the calls.
2456 (dired-local-variables-file): Declare to shut quieten the compiler.
2457 (ange-ftp-file-entry-active-p): Remove.
2458 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
2459 Don't exclude dangling symlinks.
2460 (ange-ftp-file-name-completion-1): Make predicate optional.
2461 (ange-ftp-parse-list-func-alist): Use add-to-list to update.
2462 (ange-ftp-fix-name-for-bs2000): Use subst-char-in-string.
2463 (ange-ftp-bs2000-posix-hook-installed): Remove.
2464 (ange-ftp-add-bs2000-posix-host): Don't use it anymore.
2465 (ange-ftp-bs2000-cd-to-posix): Use `ange-ftp-this-user' and
2466 `ange-ftp-this-host' instead of `user' and `host'.
2468 2002-08-29 Richard M. Stallman <rms@gnu.org>
2470 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2471 Decide here whether to print which form we're compiling.
2472 If we do that, still print file and line. Make file name
2473 relative to default-directory. Print fewer newlines.
2474 (byte-compile-log-file): Print something even if no file.
2475 Print messages for entering and leaving directories,
2476 and set default-directory.
2477 (displaying-byte-compile-warnings): Only sometimes bind warning-series.
2478 (byte-compile-warning-series): New function.
2479 (byte-compile-file): Set byte-compile-last-logged-file, don't bind it.
2480 (byte-compile-display-log-head-p): Function deleted.
2482 * warnings.el (warning-series): Now can be a marker, not an integer.
2483 (display-warning): Handle new value for warning-series.
2485 * emacs-lisp/bytecomp.el (byte-compile-log-file): Use \f.
2486 (byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file
2489 2002-08-29 Kim F. Storm <storm@cua.dk>
2491 * kmacro.el: Change default bindings from F7/F8 to F3/F4.
2492 Change default binding of C-x e to kmacro-end-or-call-macro.
2493 (kmacro-call-repeat-key, kmacro-call-repeat-with-arg): New custom
2495 (kmacro-get-prefix-arg): New function.
2496 (kmacro-repeat-on-last-key): Rename from kmacro-repeat-loop and
2497 improve. Callers changed.
2498 (kmacro-call-macro): Repeat macro by repeating last key or
2499 key defined in kmacro-call-repeat-key. New third arg non-nil
2500 means to end current macro.
2501 (kmacro-end-or-call-macro): Call kmacro-call-macro appropriately
2502 to get repeat last key functionality.
2503 (kmacro-start-macro-or-insert-counter): Improve doc string.
2505 2002-08-28 Luc Teirlinck <teirllm@mail.auburn.edu>
2507 * files.el (find-buffer-visiting): Compare file attributes
2508 using buffer-file-truename.
2510 2002-08-28 Richard M. Stallman <rms@gnu.org>
2512 * files.el (make-auto-save-file-name, make-backup-file-name-1):
2513 Don't use directory-sep-char.
2515 2002-08-28 Juanma Barranquero <lektu@terra.es>
2517 * replace.el (occur-hook): Renamed from `occur-mode-hook'.
2518 (occur-mode): Remove call to `occur-mode-hook'.
2519 (occur-rename-buffer): Fix reference to `occur-mode-hook' in docstring.
2520 (occur-1): Add call to `occur-hook'.
2522 * subr.el (make-variable-frame-localizable): Alias for
2523 `make-variable-frame-local'.
2525 2002-08-28 Miles Bader <miles@gnu.org>
2527 * rfn-eshadow.el (read-file-name-electric-shadow-properties)
2528 (read-file-name-electric-shadow-tty-properties)
2529 (read-file-name-electric-shadow-mode): Remove compatibility defs.
2531 * comint.el (comint-carriage-motion): Start at START.
2533 2002-08-27 Francesco Potorti` <pot@gnu.org>
2535 * net/ange-ftp.el (ange-ftp-skip-msgs): Skip the 530 response
2536 given by vsFTPd when accessed with a kerberised FTP client.
2538 2002-08-27 Richard M. Stallman <rms@gnu.org>
2540 * files.el (find-alternate-file):
2541 Bind kill-buffer-query-functions locally, don't set it.
2543 2002-08-27 Andreas Schwab <schwab@suse.de>
2545 * kmacro.el (kmacro-start-macro): Doc fix.
2547 2002-08-27 Carsten Dominik <dominik@sand.science.uva.nl>
2549 * textfile/reftex-ref.el (reftex-goto-label): New command.
2551 * textfile/reftex-vars.el (reftex-part-resets-chapter): New option.
2553 * textfile/reftex-parse.el (reftex-roman-number): New function.
2554 (reftex-section-number): Better handling of parts: No chapter
2557 * textfile/reftex.el (reftex-highlight-overlays): Added a third
2559 (reftex-mode-menu): Added entry for `reftex-toc-recenter.
2560 Also moved `reftex-reset-mode' to top level.
2562 * textfile/reftex-toc.el (reftex-toc-recenter): New command.
2563 (reftex-toc-pre-command-hook): Don't remove highlight overlay.
2564 (reftex-toc-post-command-hook): Use overlay no 2 for highlighting.
2566 * textfile/reftex-sel.el (reftex-get-offset): Get offset of
2567 document pointer *before* position, not after.
2568 (reftex-insert-docstruct): Get offset of document pointer *before*
2569 position, not after.
2571 * textfiles/reftex-parse.el (reftex-where-am-I): Prefer marker
2572 match over section title match.
2574 * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
2575 which determines on a per-file-basis if BibTeX is being used
2576 locally for citations.
2577 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
2578 cooperation with chapterbib.
2579 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
2580 better cooperation with chapterbib.
2582 * textfiles/reftex-dcr.el (reftex-view-cr-cite):
2583 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
2585 2002-08-26 Kim F. Storm <storm@cua.dk>
2587 * subr.el (suppress-keymap): Use command remapping instead of
2588 substitute-key-definition to undefine self-inserting keys.
2590 2002-08-26 Juanma Barranquero <lektu@terra.es>
2592 * makefile.w32-in (WINS): Add calc and obsolete.
2594 2002-08-26 Stefan Monnier <monnier@cs.yale.edu>
2596 * emacs-lisp/easy-mmode.el (define-minor-mode):
2597 Use customize-mark-as-set for global minor modes.
2599 2002-08-25 Miles Bader <miles@gnu.org>
2601 * rfn-eshadow.el (file-name-shadow-properties-custom-type):
2602 Renamed from `read-file-name-electric-shadow-properties-custom-type'.
2603 Change name of face.
2604 (file-name-shadow-properties): Renamed from
2605 `read-file-name-electric-shadow-properties'.
2606 (file-name-shadow-tty-properties): Renamed from
2607 `read-file-name-electric-shadow-tty-properties'.
2608 (file-name-shadow): Renamed from `read-file-name-electric-shadow'.
2609 (rfn-eshadow-setup-minibuffer): Update references to renamed variables.
2610 (file-name-shadow-mode): Renamed from
2611 `read-file-name-electric-shadow-mode'. Update references to
2614 2002-08-24 Sam Steingold <sds@gnu.org>
2616 * subr.el (eval-after-load): Do not call
2617 load-symbol-file-load-history (deleted yesterday).
2619 2002-08-24 John Paul Wallington <jpw@shootybangbang.com>
2621 * startup.el (normal-splash-screen): Ensure splash buffer is
2622 killed. Use tabs in output. Fix test whether previous buffer was
2625 * progmodes/simula.el (simula-abbrev-keyword-default)
2626 (simula-abbrev-keyword, simula-abbrev-stdproc-default)
2627 (simula-abbrev-stdproc): Doc fix - escape open parens in column 0.
2629 * apropos.el (command-apropos): Use `defalias' instead of `fset'.
2631 * mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix.
2633 2002-08-24 Glenn Morris <gmorris@ast.cam.ac.uk>
2635 * progmodes/f90.el (f90-xemacs-flag, f90-xemacs-menu)
2636 (f90-menu-bar-menu, f90-change-case-menu, f90-font-lock-on)
2637 (f90-font-lock-off, f90-font-lock-menu): Delete.
2638 Use easy-menu-define instead.
2639 (f90-mode): Use easy-menu-add.
2640 No longer (require 'imenu) when compiling.
2641 (f90-mark-subprogram, f90-indent-region, f90-fill-region)
2642 (f90-abbrev-start): Use fboundp.
2643 (f90-imenu-flag): Delete - use imenu--index-alist instead.
2645 2002-08-23 Richard M. Stallman <rms@gnu.org>
2647 * loadhist.el (unload-feature): Distinguish functions from
2648 variables in load-history.
2649 (feature-symbols): Doc fix.
2651 * files.el (ange-ftp-completion-hook-function): Add safe-magic prop.
2653 * subr.el (symbol-file-load-history-loaded)
2654 (load-symbol-file-load-history): Deleted.
2655 (symbol-file): Don't call load-symbol-file-load-history.
2657 2002-08-23 Andre Spiegel <spiegel@gnu.org>
2659 * vc-hooks.el (vc-kill-buffer-hook): Add it to kill-buffer-hook again.
2661 2002-08-22 Katsumi Yamaoka <yamaoka@jpl.org> (tiny change)
2663 * frame.el (select-frame-by-name, select-frame-set-input-focus):
2664 Always call x-focus-frame, if using x.
2665 Use set-mouse-position on all systems, if focus-follows-mouse.
2667 2002-08-22 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2669 * net/tramp.el: Version 2.0.14 released.
2670 (tramp-shell-prompt-pattern): New variable.
2671 (tramp-actions-before-shell, tramp-multi-actions)
2672 (tramp-find-shell, tramp-open-connection-multi)
2673 (tramp-open-connection-setup-interactive-shell): Use it.
2674 (tramp-open-connection-telnet, tramp-open-connection-rsh)
2675 (tramp-open-connection-su): Mention `tramp-shell-prompt-pattern'
2677 (tramp-bug): Report `tramp-shell-prompt-pattern'.
2678 (tramp-process-one-multi-action, tramp-process-one-action):
2679 Make message clearer so people don't confuse it with Emacs asking
2680 them a question if the regexp happens to end with "?".
2681 (tramp-verbose): Change default value from 10 to 9. Also change
2682 some logging levels so that 10 is reserved for stuff which is
2683 needed for debugging only, but 9 catches everything that people
2684 might like to see in order to see that Tramp is actually working.
2686 2002-08-22 Kim F. Storm <storm@cua.dk>
2688 * emacs-lisp/authors.el (authors-aliases, authors-fixed-entries):
2689 Corrected spelling mistakes (for Joseph Arceneaux).
2691 2002-08-21 Glenn Morris <gmorris@ast.cam.ac.uk>
2693 * progmodes/f90.el: eval-when-compile a few defvars.
2694 (f90-xemacs-flag): Wrap in eval-and-compile.
2695 (f90-font-lock-keywords): Doc fix.
2696 (f90-mode-abbrev-table): Work with or without 6th arg of define-abbrev.
2697 (f90-mark-subprogram-overlay): Variable deleted.
2698 (f90-mark-subprogram): Remove overlay bit. Don't be silent about
2700 (f90-abbrev-start): unread-command-event is obsolete in XEmacs.
2702 2002-08-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2704 * tramp.el: Version 2.0.13 released.
2705 (tramp-handle-write-region): Don't check to see if remote end is
2706 awake after sending data to remote host: we want to send "EOF" not
2707 "echo are you awake"...
2708 (tramp-maybe-open-connection): Swap args for tramp-time-diff.
2709 (tramp-yn-prompt-regexp): New variable.
2710 (tramp-action-yn): New function, using it.
2711 (tramp-feature-write-region-fix): New internal variable. Not yet
2712 used. Should be used in `tramp-handle-write-region'.
2714 2002-08-21 Kim F. Storm <storm@cua.dk>
2716 * bindings.el (mode-line-format): Moved global-mode-string last.
2717 (mode-line-position): Moved %p first. Added padding to %l/%c to
2718 eliminate jumpyness in modeline. Use (%l,%c) format if both
2719 line-number-mode and column-number-mode are enabled.
2721 2002-08-20 Martin Stjernholm <bug-cc-mode@gnu.org>
2723 * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed a bug
2724 that could cause an infinite loop if something that looks like
2725 a macro begins in the middle of a line.
2727 * progmodes/cc-engine.el (c-parse-state): Fixed a bug that
2728 could cause `c-state-cache' to contain two conses in sequence
2729 when there's an unbalanced open paren in a macro.
2731 2002-08-20 Glenn Morris <gmorris@ast.cam.ac.uk>
2733 * progmodes/fortran.el (fortran-current-defun): Use save-excursion.
2735 * imenu.el (imenu--generic-function): Use mapc.
2736 (imenu-syntax-alist): Doc fix.
2738 2002-08-20 Richard M. Stallman <rms@gnu.org>
2740 * font-core.el (font-lock-change-mode): New function.
2741 (font-lock-mode): Use font-lock-change-mode instead of
2742 font-lock-unfontify-buffer.
2743 (font-lock-maximum-size, font-lock-verbose): Add defvars.
2745 2002-08-20 Carsten Dominik <dominik@astro.uva.nl>
2747 * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
2748 which determines on a per-file-basis if BibTeX is being used
2749 locally for citations.
2750 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
2751 cooperation with chapterbib.
2752 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
2753 better cooperation with chapterbib.
2755 * textfiles/reftex-dcr.el (reftex-view-cr-cite):
2756 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
2758 2002-08-20 Kim F. Storm <storm@cua.dk>
2760 * kmacro.el: Major rework based on discussions with RMS.
2761 Most important change is that C-x C-k is now bound to a keymap
2762 with keyboard macro related commands. The original binding on
2763 C-x C-k is moved to C-x C-k e.
2765 * binding.el: Remove macro related bindings (now in kmacro.el).
2767 * edmacro.el: Remove C-x C-k binding (now in kmacro.el).
2769 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
2771 * help-fns.el (help-split-fundoc): Replace the function name
2772 from the docstring with the one that should be displayed.
2773 (help-make-usage): Understand CL style arglists.
2774 (describe-function-1): Adapt to the new behavior of help-split-fundoc.
2775 (describe-variable): Use delete-region.
2777 2002-08-19 Kenichi Handa <handa@etl.go.jp>
2779 * international/mule.el (sgml-xml-auto-coding-function):
2780 Call re-search-forward with NOERROR t.
2782 2002-08-19 Miles Bader <miles@gnu.org>
2784 [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
2785 * comint.el (comint-inhibit-carriage-motion): New variable.
2786 (comint-carriage-motion): Argument STRING removed. New arguments
2787 START and END; interpret characters between START and END rather
2788 than using special comint state.
2789 (comint-output-filter): Call `comint-carriage-motion'.
2790 (comint-output-filter-functions): Don't add `comint-carriage-motion'.
2791 * ielm.el (inferior-emacs-lisp-mode):
2792 Give `comint-inhibit-carriage-motion' a local value of t.
2794 2002-08-18 Richard M. Stallman <rms@gnu.org>
2796 * textmodes/table.el: New file.
2798 * font-core.el (font-lock-mode): Set change-major-mode-hook locally.
2800 2002-08-18 Andreas Schwab <schwab@suse.de>
2802 * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
2804 2002-08-17 Carsten Dominik <dominik@astro.uva.nl>
2806 * textmodes/reftex.el (reftex-mode): Create special syntax tables.
2807 (reftex-syntax-table): Set a default in case this is being used
2808 outside a LaTeX file.
2809 (reftex-syntax-table-for-bib): Set a default in case this is being
2810 used outside a LaTeX file.
2812 2002-08-17 Richard M. Stallman <rms@gnu.org>
2814 * tar-mode.el (tar-subfile-mode): Use add-hook and remove-hook,
2815 and use write-file-functions instead of local-write-file-hooks.
2816 (tar-untar-buffer): Don't try to extract directories.
2818 * menu-bar.el (fringe-mode): Set to nil.
2820 * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
2822 2002-08-15 Richard M. Stallman <rms@gnu.org>
2824 * calendar/appt.el (appt-delete): Use substring-no-properties.
2825 (appt-make-list): Don't use prin1-to-string; use the string unchanged.
2827 2002-08-15 Jan Nieuwenhuizen <janneke@gnu.org> (tiny change)
2829 * server.el (server-process-filter): Simplify code.
2830 (server-goto-line-column): New function.
2831 (server-visit-files): Use server-goto-line-column.
2832 Offer to revert only if file has changed.
2834 2002-08-15 Richard M. Stallman <rms@gnu.org>
2836 * files.el (recover-this-file): New function.
2837 (after-find-file): Recommend recover-this-file.
2839 * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
2840 to change-major-mode-hook when font lock is enabled.
2842 * simple.el (toggle-truncate-lines): Force redisplay.
2843 Display status message.
2845 2002-08-15 Carsten Dominik <dominik@sand.science.uva.nl>
2847 * textmodes/reftex.el (reftex-mode): Moved the creation of special
2848 syntax tables to top-level.
2850 2002-08-15 David Kastrup <David.Kastrup@t-online.de>
2852 * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
2853 use `hash-table-size' instead of `length'.
2855 2002-08-14 Stefan Monnier <monnier@cs.yale.edu>
2857 * help-fns.el (locate-library): Use locate-file(-completion).
2858 (help-split-fundoc): Tighten the regexp and recognize a usage-info
2859 where the function name is `fn'.
2860 (help-function-arglist): Follow aliases and macros.
2861 (describe-function-1): Use keymapp.
2862 If the docstring contains a usage info, use it even if the function is
2863 not a subroutine. Find usage info in aliases' docstring if necessary.
2864 (describe-variable): Get the value before setting up the *Help* buffer.
2866 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
2867 Use find-file-hook instead of find-file-hooks.
2868 (define-minor-mode): Get rid of this silly `togglep'.
2869 Add an explicit `toggle' argument (used for interactive calls).
2870 Emit a warning when a nil argument turns the mode off.
2872 * language/ethio-util.el (setup-ethiopic-environment-internal)
2873 (exit-ethiopic-environment): Use find-file-hook and
2874 write-file-functions instead of find-file-hooks and write-file-hooks.
2876 * window.el (handle-select-window): Don't do anything if the window
2877 has disappeared since the event was generated.
2878 (split-window-save-restore-data): Use push and with-current-buffer.
2882 * obsolete/hilit19.el:
2883 * completion.el (dynamic-completion-mode):
2884 * emacs-lisp/find-func.el (find-function-search-for-symbol):
2885 Use find-file-hook instead of find-file-hooks.
2887 * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
2888 (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
2889 (imenu-space-replacement): Allow nil value.
2890 (imenu--completion-buffer): Use new vars and simplify.
2891 Fix handling of minibuffer-setup-hook.
2892 Use minibuffer-completion-help instead of rolling our own.
2893 (imenu-choose-buffer-index): Use the new var.
2895 * startup.el (command-line): Load custom-file if not done yet.
2897 2002-08-14 Kenichi Handa <handa@etl.go.jp>
2899 * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
2900 the selection data string. Always return cons of type and string.
2901 (selection-converter-alist): Add (UTF8_STRING .
2902 xselect-convert-to-string).
2904 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
2906 * newcomment.el (comment-region): Force `lines' when `block' is set.
2908 2002-08-12 Richard M. Stallman <rms@gnu.org>
2910 * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag)
2911 (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
2912 (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
2913 (menu-bar-toggle-cua-mode, menu-bar-read-mail)
2914 (menu-bar-help-extra-packages, help-with-tutorial-spec-language)
2915 (menu-bar-text-mode-auto-fill): New commands, used
2916 in menu bar menus instead of lambda expressions.
2918 (menu-bar-showhide-fringe-menu-customize-left)
2919 (menu-bar-showhide-fringe-menu-customize-right)
2920 (menu-bar-showhide-fringe-menu-customize-disable)
2921 (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
2923 (menu-bar-options-menu): Use toggle-truncate-lines.
2924 (showhide-date-time): Call customize-mark-as-set.
2926 * emacs-lisp/find-func.el (find-function-search-for-symbol):
2927 Obey `definition-name' properties.
2929 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
2930 Put `definition-name' properties on the functions whose
2931 names are constructed.
2933 * textmodes/page-ext.el (pages-target-buffer): Add defvar.
2934 Renamed from target-buffer.
2935 (pages-directory, pages-copy-header-and-position): Uses changed.
2937 * calendar/appt.el (appt-make-list): Correct the parsing of
2938 each appointment from time-string.
2940 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
2942 * scroll-all.el (scroll-all-mode): Use define-minor-mode.
2943 (scroll-all-mode) <defcustom>: Delete.
2944 (running-xemacs): Delete.
2945 (minor-mode-alist): Don't manipulate it directly.
2947 2002-08-10 Kenichi Handa <handa@etl.go.jp>
2949 * international/mule-cmds.el (search-unencodable-char): New function.
2950 (select-safe-coding-system): Show unencodable characters.
2951 (unencodable-char-position): Deleted, and implemented in C in coding.c.
2953 2002-04-09 John Wiegley <johnw@gnu.org>
2955 * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it.
2956 * em-cmpl.el (eshell-cmpl-ignore-case): Ditto.
2957 * em-dirs.el (eshell/cd): Ditto.
2958 * em-glob.el (eshell-glob-case-insensitive): Ditto.
2959 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
2960 * esh-ext.el (eshell-binary-suffixes): Ditto.
2962 2002-08-09 Richard M. Stallman <rms@gnu.org>
2964 * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
2966 * simple.el (set-variable): Give locality status in prompt.
2968 2002-08-09 Benjamin Rutt <rutt@cis.ohio-state.edu>
2970 * simple.el (set-variable): If given a prefix argument, set
2971 variable buffer-locally.
2973 2002-08-09 John Paul Wallington <jpw@shootybangbang.com>
2975 * font-core.el (font-lock-function): Make it buffer-local.
2977 2002-08-08 Richard M. Stallman <rms@gnu.org>
2979 * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
2980 (checkdoc-message-interactive, checkdoc-interactive-loop)
2981 (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
2983 Update checkdoc-spellcheck-documentation-flag correctly.
2984 (checkdoc-ispell-docstring-engine): Don't test for
2985 checkdoc-autofix-flag = nil.
2987 2002-08-07 John Paul Wallington <jpw@shootybangbang.com>
2989 * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
2991 * wid-browse.el (widget-minor-mode): Fix doc typo.
2993 2002-08-07 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2995 * net/tramp.el: Version 2.0.12 released.
2996 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2997 Comment out possibly obsolete "echo hello" commands.
2998 (tramp-run-real-handler): If operation is
2999 `ange-ftp-hook-function', use first arg as the real operation.
3000 (tramp-check-ls-commands): Use / instead of \ as directory
3001 separator. (Relevant for XEmacs on Windows.)
3002 (tramp-maybe-open-connection): Use tramp-wait-for-output when
3003 waiting for the "are you awake" command. Use a different string
3004 for the "are you awake" command.
3005 (tramp-send-command): New optional arg NEVEROPEN means to never
3006 invoke tramp-maybe-open-connection.
3007 (tramp-maybe-open-connection): Use it
3009 2002-08-07 Richard M. Stallman <rms@gnu.org>
3011 * warnings.el (warning-prefix-function, warning-series)
3012 (warning-fill-prefix, warning-group-format): Add autoload cookies.
3014 2002-08-07 Kenichi Handa <handa@etl.go.jp>
3016 * international/mule-cmds.el (select-safe-coding-system):
3017 Call pop-to-buffer inside save-window-excursion and save-excursion.
3019 2002-08-06 John Paul Wallington <jpw@shootybangbang.com>
3021 * help-fns.el (describe-function-1): Skip arglist note if
3022 function's definition is a keymap.
3024 2002-08-06 Sam Steingold <sds@gnu.org>
3026 * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
3027 and `mail-user-agent' instead of straight sendmail.
3028 (diary-modified, diary-entries-list, displayed-year)
3029 (displayed-month, entry, date, number, date-string, d-file)
3030 (original-date): Defvar without binding to avoid compiler warnings.
3032 2002-08-05 Alan Shutko <ats@acm.org>
3034 * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
3035 (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
3036 (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
3038 * ibuf-ext.el (ibuffer-list-buffer-modes): New.
3039 (ibuffer-filter-by-used-mode): New.
3041 2002-08-05 John Paul Wallington <jpw@shootybangbang.com>
3043 * ediff-util.el (ediff-copy-list): Use `defalias' instead of
3044 `fset' and `symbol-function'.
3046 2002-08-05 John Wiegley <johnw@gnu.org>
3048 * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
3049 value unless pcomplete-cycle-cutoff-length is non-nil.
3051 2002-04-09 John Paul Wallington <jpw@shootybangbang.com>
3053 * esh-util.el (eshell-under-cygwin-p): New function.
3054 * em-cmpl.el (eshell-cmpl-ignore-case): Use it.
3055 * em-dirs.el (eshell/cd): Ditto.
3056 * em-glob.el (eshell-glob-case-insensitive): Ditto.
3057 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
3058 * esh-ext.el (eshell-binary-suffixes): Ditto.
3060 2002-08-05 Richard M. Stallman <rms@gnu.org>
3062 * international/mule-cmds.el (select-safe-coding-system): Check for
3063 non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
3065 * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
3067 2002-08-05 Gerd Moellmann <gerd@gnu.org>
3069 * image.el (image-jpeg-p): Accept "Exif" marker.
3071 2002-08-05 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3073 * net/tramp.el: Version 2.0.11 released.
3074 (tramp-perl-file-attributes): Print uid and gid as signed integers.
3075 (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
3076 Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
3077 calling Tramp again.
3078 (tramp-find-file-exists-command): Check for `ls -d' last, after
3079 all the variants on `test -e'.
3080 (tramp-post-connection): Erase buffer before finding a command to
3081 check if file exists.
3083 2002-08-05 David Kastrup <David.Kastrup@t-online.de>
3085 * calc/calc.el (math-format-stack-value): Revert a broken
3086 if->when replacement and reformat so that this does not happen
3087 again. Fixes a pretty lethal line formatting/yanking bug.
3089 2002-08-04 John Paul Wallington <jpw@shootybangbang.com>
3091 * startup.el (fancy-splash-frame): Check selected frame last.
3093 2002-08-04 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3095 * net/tramp.el: Version 2.0.10 released.
3096 (tramp-uudecode): New shell function `tramp_uudecode' to decode to
3097 standard output even if `uudecode -p' and `uudecode -o -' don't work.
3098 (tramp-post-connection): After finding the right shell, wait a
3099 bit. This is a kludge to avoid a race condition, even though I
3100 don't understand why there is a race condition in the first place.
3101 (tramp-post-connection): Install the `tramp_uudecode' shell
3102 function on the remote host.
3103 (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
3104 (tramp-bug): Include more variables in the report.
3106 2002-08-04 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3108 * net/tramp.el: Version 2.0.9 released.
3109 (tramp-bug): Add wording about additional info to include in bug
3111 (tramp-find-shell): Set $PS1 for invocation of second shell (for
3113 (tramp-find-shell): Shell prompt must match at end of buffer.
3114 Do this also for fallback shell prompt.
3115 (tramp-find-shell): More debugging output.
3116 (tramp-find-inline-encoding): When checking the decoding command,
3117 some commands fail when reading from /dev/null. So we pass a
3118 known string through the encoding command and pass that through
3119 the decoding command. So we know whether the decoding command can
3120 deal with some real input.
3122 2002-08-04 Andreas Schwab <schwab@suse.de>
3124 * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
3126 2002-08-03 Andrew Choi <akochoi@shaw.ca>
3128 * term/mac-win.el: Set keys to enable mouse wheel support.
3130 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3132 * net/tramp.el: Version 2.0.8.
3133 (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
3135 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3137 * net/tramp.el: Version 2.0.7.
3138 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3139 (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
3140 because of `format' and say so in the docstring.
3142 2002-08-03 Glenn Morris <gmorris@ast.cam.ac.uk>
3144 * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
3146 (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
3147 (f90-type-def-re): Fix value.
3149 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3151 * net/tramp.el: Version 2.0.6.
3152 (tramp-default-method): Change to "ssh" from "sm".
3153 (tramp-wrong-passwd-regexp): Restructure. Add additional alternative.
3154 (tramp-su-program): New internal variable for method parameter.
3155 (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
3156 New variables. Very short Perl one-liner, but requires Perl
3157 module MIME::Base64 to be installed on the remote site.
3158 (tramp-perl-encode, tramp-perl-decode): New base64
3159 encoder/decoder. From Juanma Barranquero <lektu@terra.es>.
3160 (tramp-handle-file-truename): Invoke Ange-FTP properly (even
3161 though Ange-FTP doesn't do anything for this operation).
3162 (tramp-handle-set-visited-file-modtime): Comment change.
3163 (tramp-handle-make-directory): Save-excursion.
3164 (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
3165 twice, once is enough.
3166 (tramp-action-permission-denied): Show *tramp/foo* buffer so the
3167 user knows what's wrong.
3168 (tramp-post-connection): Support the two Perl encoders and decoders.
3169 (tramp-coding-commands): Ditto. Add some todo items.
3171 2002-08-02 Richard M. Stallman <rms@gnu.org>
3173 * international/mule.el (merge-coding-systems): New function.
3174 (set-buffer-file-coding-system): Use merge-coding-systems.
3175 Change prompt for args.
3176 (revert-buffer-with-coding-system): New command.
3178 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
3179 Add bindings for revert-buffer-with-coding-system.
3180 (set-coding-system-map): Clarify menu item info for
3181 set-buffer-file-coding-system.
3182 (set-coding-system-map): Reorder and add separators.
3184 * emacs-lisp/edebug.el (edebug-eval-top-level-form):
3185 Use eval-expression.
3187 * subr.el (atomic-change-group): Doc fix.
3189 2002-07-31 Colin Walters <walters@debian.org>
3191 * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
3192 defvaralias for compatibility.
3193 (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
3194 defvaralias for compatibility.
3196 2002-07-31 John Paul Wallington <jpw@shootybangbang.com>
3198 * ibuffer.el (ibuffer-fontification-alist):
3199 Use `font-lock-constant-face' instead of `font-lock-reference-face'.
3201 2002-07-31 John Wiegley <johnw@gnu.org>
3203 * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
3204 prevent adding the symbol `pcomplete' to
3205 shell-dynamic-complete-functions to many times.
3207 2002-07-31 Markus Rost <rost@math.ohio-state.edu>
3209 * help-fns.el (describe-function-1): Test function for
3210 obsolescence only if it is a symbol.
3212 * ediff.el (ediff-backup): New autoloaded command.
3214 2002-07-31 Richard M. Stallman <rms@gnu.org>
3216 * makefile.w32-in (compile-after-backup): Renamed from `compile'.
3217 Use `compile-always'.
3218 (bootstrap): Use `compile', not `compile-files'. Use `update-subdirs'.
3219 (compile): Renamed from `compile-files'.
3220 (compile-CMD, compile-SH): Renamed from `compile-files-*'.
3222 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
3223 Check that (car elt) is a string.
3225 * pcomplete.el (pcomplete-entries): Doc fix.
3227 * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
3229 2002-07-31 Andreas Schwab <schwab@suse.de>
3231 * dired.el: Hide disabling of dired-find-alternate-file behind
3234 2002-07-31 Juanma Barranquero <lektu@terra.es>
3236 * makefile.w32-in: Revert some changes from 2002-07-23 because they
3237 don't work on MSVC/nmake builds.
3238 (update-subdirs-CMD): Generate the right list of subdirectories.
3239 From Tak Ota <Takaaki.Ota@am.sony.com>.
3241 2002-07-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3243 * net/tramp.el: New version 2.0.5.
3244 (tramp-methods): Remove inline encoding method parameters.
3245 The encoding is now autodetected. Also shorten the list of
3246 methods (u/m distinction gone) and rename the remaining methods to
3247 have longer, but more mnemonic, names.
3248 (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
3249 (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
3250 matched at end of buffer anyway.
3251 (tramp-yesno-prompt-regexp): New variable, for questions where the
3252 user should say "yes" or "no".
3253 (tramp-file-name-structure-unified)
3254 (tramp-file-name-structure-separate): Allow dash in method names.
3255 (tramp-actions-before-shell): New variable, contains list of
3256 pattern/action pairs. Output sent by remote end is scanned for
3257 the patterns, then the actions are executed.
3258 (tramp-multi-actions): Like `tramp-actions-before-shell', but
3259 executed for each hop in a multi-hop connection.
3260 (tramp-last-cmd-time): New variable. If nothing has been sent to
3261 remote end for 60 seconds, look to see if the remote end is still
3263 (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
3265 (tramp-perl-encode, tramp-perl-decode): New variables, these
3266 require the MIME::Base64 module on the remote end.
3267 (tramp-handle-file-attributes): Restructure logic.
3268 (tramp-handle-file-attributes-with-ls)
3269 (tramp-handle-file-attributes-with-perl): More debugging.
3270 (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
3271 (tramp-handle-make-directory, tramp-handle-delete-directory)
3272 (tramp-handle-delete-file, tramp-handle-insert-directory):
3274 (tramp-handle-shell-command): Use `when', not `if'.
3275 (tramp-handle-file-local-copy, tramp-handle-write-region):
3276 Adapt to autodetection of inline encoding.
3277 (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
3278 variable ange-ftp-name-format is defined before binding it.
3279 (tramp-action-login, tramp-action-password, tramp-action-succeed)
3280 (tramp-action-permission-denied, tramp-action-yesno):
3281 Functions called from `tramp-actions-before-shell'.
3282 (tramp-multi-action-login, tramp-multi-action-password)
3283 (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
3284 Functions called from `tramp-multi-actions'.
3285 (tramp-process-one-action, tramp-process-actions):
3286 Pattern matching and action invocation code for
3287 `tramp-actions-before-shell'.
3288 (tramp-process-one-multi-action, tramp-process-multi-actions):
3289 Same for `tramp-multi-actions'.
3290 (tramp-open-connection-telnet, tramp-open-connection-rsh)
3291 (tramp-open-connection-su): Process actions instead of hardwired logic.
3292 (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
3293 (tramp-multi-connect-su): Ditto.
3294 (tramp-post-connection): New method for tramp_encode and
3295 tramp_decode scripts.
3296 (tramp-post-connection): Invoke inline autodetection code.
3297 (tramp-coding-commands): List of inline codings.
3298 (tramp-find-inline-encoding): This is the inline autodetection code.
3299 (tramp-maybe-open-connection): If nothing was sent to connection
3300 for 60 seconds, look if it connection is still alive.
3301 (tramp-send-command): Remember that something was sent to the
3303 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
3304 Use backticks for constructing alist.
3305 (tramp-get-encoding-command, tramp-set-encoding-command)
3306 (tramp-get-decoding-command, tramp-set-decoding-command)
3307 (tramp-get-encoding-function, tramp-set-encoding-function)
3308 (tramp-get-decoding-function, tramp-set-decoding-function):
3309 Use for results of inline autodetection.
3310 (tramp-get-encoding-command, tramp-get-decoding-command)
3311 (tramp-get-encoding-function, tramp-get-decoding-function):
3312 Remove these old functions.
3314 2002-07-30 Kenichi Handa <handa@etl.go.jp>
3316 * language/indian.el (in-is13194): Give correct `safe-chars' property.
3317 (devanagari): Define it as an alias of in-is13194.
3319 * international/mule.el (safe-chars):
3320 Put `char-table-extra-slots' property with value 0.
3322 * files.el (revert-buffer): Fix previous change.
3324 2002-07-29 Richard M. Stallman <rms@gnu.org>
3326 * bindings.el (help-echo): If global-mode-string is non-nil,
3327 display some spaces after it.
3329 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
3330 Don't call string-match on non-string.
3331 (displaying-byte-compile-warnings):
3333 * textmodes/ispell.el (check-ispell-version): Bind default-directory
3334 to avoid errors. Kill the old temp buffer at the beginning.
3336 2002-07-29 Glenn Morris <gmorris@ast.cam.ac.uk>
3338 * scroll-all.el (scroll-all-mode): Make argument optional. Doc fix.
3340 2002-07-29 John Paul Wallington <jpw@shootybangbang.com>
3342 * scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if'
3345 2002-07-29 Kenichi Handa <handa@etl.go.jp>
3347 * international/mule.el (ctext-post-read-conversion): Add support
3348 for embedded utf-8 encoding (ESC % G ... ESC % @).
3350 2002-07-28 Kenichi Handa <handa@etl.go.jp>
3352 * files.el (revert-buffer): Before calling insert-file-contents,
3353 kill the local variable buffer-file-coding-system.
3355 2002-07-28 Richard M. Stallman <rms@gnu.org>
3357 * bindings.el (mode-line-format): Handle vc-mode specially.
3358 Move mode-line-position to after global-mode-string.
3359 (mode-line-modes): Move the starting 3 spaces out of here.
3360 (mode-line-position): Separate with a space, not dashes.
3362 * vc-hooks.el: Don't add to minor-mode-alist.
3364 * emacs-lisp/edebug.el (edebug-debugger):
3365 If inside redisplay, just return.
3367 * emacs-lisp/debug.el (debug): If inside redisplay, just return.
3369 * info.el (Info-find-index-name): Improve last change.
3371 2002-07-27 Richard M. Stallman <rms@gnu.org>
3373 * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
3375 * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
3378 2002-07-27 Markus Rost <rost@math.ohio-state.edu>
3380 * ps-print.el: Update copyright year.
3381 (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
3383 2002-07-26 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3385 * eshell/eshell.el (eshell): Numeric prefix arg means to switch
3386 to the session with that number. Old behavior still available
3387 with nonumeric prefix args.
3389 2002-07-08 Simon Josefsson <jas@extundo.com>
3391 * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
3393 2002-07-26 Juanma Barranquero <lektu@terra.es>
3395 * warnings.el (lwarn, warn, warning-levels): Doc fix.
3396 (warning-suppress-log-types): Fix typo.
3397 (display-warning): Fix typo. Remove useless assignment to free variable
3400 2002-07-25 Markus Rost <rost@math.ohio-state.edu>
3402 * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
3404 2002-07-25 Sam Steingold <sds@gnu.org>
3406 * replace.el (occur-rename-buffer): New command.
3407 (occur-mode-map): Bind "r" to it. Added keybindings for
3408 `kill-this-buffer', `clone-buffer' and `quit-window'.
3410 2002-07-25 Kevin Ryde <user42@zip.com.au>
3412 * info.el (Info-find-index-name): Search for a function definition
3415 2002-07-25 David Ponce <david@dponce.com>
3417 * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
3418 Don't recompute `entry' on each iteration.
3419 (byte-compile-delete-first): Make it defsubst.
3421 2002-07-25 Sam Steingold <sds@gnu.org>
3423 * progmodes/cc-engine.el (c-search-uplist-for-classkey):
3424 When `search-end' is a cons, use its car.
3426 2002-07-25 Dave Love <fx@gnu.org>
3428 * obsolete/c-mode.el: Deleted.
3430 2002-07-25 Carsten Dominik <dominik@astro.uva.nl>
3432 * textmodes/reftex.el (reftex-compile-variables):
3433 Simplified regular expression.
3435 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
3436 Simplified the regexp.
3438 * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
3439 (reftex-extract-bib-entries-from-thebibliography):
3440 Use `reftex-get-bibkey-default' to get a default regex.
3441 (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
3442 get a default regex.
3444 * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
3445 XEmacs compatibility (got OK from RMS).
3447 * textmodes/reftex-index.el (reftex-index-mode): Likewise.
3449 * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
3450 (reftex-select-bib-mode): Likewise.
3452 2002-07-25 Colin Walters <walters@debian.org>
3454 * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
3457 2002-07-24 Dave Love <fx@gnu.org>
3459 * international/mule.el (set-auto-coding): Doc fix.
3461 * international/utf-16.el: New file.
3463 * language/european.el ("German", "French", "Spanish", "Turkish"):
3464 Add alternative coding systems.
3465 ("Dutch"): Likewise. Add input method.
3466 ("Welsh", "Latin-7"): Add nonascii-translation.
3468 * language/georgian.el ("Georgian"): Add nonascii-translation.
3470 * international/titdic-cnv.el: Doc fixes.
3471 (tit-process-header): Add coding cookie.
3472 (titdic-convert): Force writing as iso-2022-7bit.
3474 * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
3476 * international/mule-cmds.el: Doc fixes.
3477 (unencodable-char-position): New.
3478 (select-safe-coding-system): Use it to indicate problematic
3479 characters and add extra explanation. Avoid checking auto-coding
3480 for compressed files.
3481 (leim-list-header): Add coding cookie.
3482 (input-method-verbose-flag): Modify :type.
3483 (locale-language-names): Add bs, wa. Modify cy.
3485 2002-07-24 Richard M. Stallman <rms@gnu.org>
3487 * emacs-lisp/bytecomp.el (byte-compile-log-warning):
3488 Bind warning-group-format.
3490 * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
3491 (byte-compile-cl-warn): Use that variable.
3492 (byte-compile-find-cl-functions): New function.
3493 (displaying-byte-compile-warnings):
3494 Call byte-compile-find-cl-functions.
3496 * warnings.el (warning-levels): Add %s to the strings.
3497 (warning-group-format): New variable.
3498 (warning-suppress-log-types): Renamed from warning-suppress-log.
3499 (warning-suppress-types): Renamed from warning-suppress.
3500 (display-warning): Implement those changes.
3502 2002-07-23 Richard M. Stallman <rms@gnu.org>
3504 * warnings.el: Add `provide' call.
3506 * files.el (basic-save-buffer-2): If there's an error writing the file,
3507 unrename the backup file if it was just made.
3508 (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
3509 (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
3510 when a backup was just made by renaming. Otherwise it's nil.
3512 * wid-edit.el (widget-convert): Handle an argument that's a keyword.
3513 Recognize explicit :args specification.
3515 * international/mule-cmds.el (select-safe-coding-system):
3516 Don't ask for confirmation of mismatch if find-file-literally was used.
3518 2002-07-23 Markus Rost <rost@math.ohio-state.edu>
3520 * add-log.el (add-log-current-defun): Fix typo in documentation.
3522 2002-07-22 Markus Rost <rost@math.ohio-state.edu>
3524 * add-log.el (add-log-mailing-address): Fix type. Can be a string.
3526 * ido.el (ido-separator): Fix type.
3528 2002-07-23 Andrew Innes <andrewi@gnu.org>
3530 * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
3531 (DONTCOMPILE): Add various language files.
3532 (DONTCOMPILE): Remove term/xterm.el.
3533 (finder-inf.el): Remove.
3534 (update-authors): New target.
3535 (TAGS-LISP): Remove $(lispsource).
3536 (compile-always): Renamed from `compile-files'.
3537 (compile): New target, adapted from `compile-files'.
3538 (compile-calc): New target.
3539 (recompile): Change `.' to $(lisp).
3540 (bootstrap): Add update-subdirs and finder-data
3541 to dependencies; change compile-files to compile.
3543 2002-07-22 Andre Spiegel <spiegel@gnu.org>
3545 * vc.el (vc-next-action-on-file): Preserve find-file-literally.
3547 2002-07-22 Dan Nicolaescu <dann@ics.uci.edu>
3549 * simple.el (undo, undo-more): Adjust messages when undoing in a
3552 2002-07-22 John Paul Wallington <jpw@shootybangbang.com>
3554 * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
3555 (browse-url-lynx-input-delay): Add custom type and group.
3557 * cus-start.el (double-click-fuzz): Added.
3559 2002-07-22 Alan Shutko <ats@acm.org>
3561 * calendar/solar.el (diary-sabbath-candles): Add optional MARK
3562 parameter, specifying what face or character to use in the
3563 calendar display. These will now return (MARK . ENTRY).
3565 * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
3566 parameter, specifying what face or character to use in the
3567 calendar display. These will now return (MARK . ENTRY).
3569 * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
3570 (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
3571 MARK parameter, specifying what face or character to use in the
3572 calendar display. These will now return (MARK . ENTRY).
3574 * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
3575 from diary-sexp-entry and pass it to mark-visible-calendar-date.
3576 (list-sexp-diary-entries): Update doc string for new docs for ....
3577 If diary-sexp-entry returns a cons, only add the text to the diary
3579 (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
3580 . STRING) to specify what face or character mark should be used in
3581 the calendar display.
3582 (diary-date, diary-block, diary-float, diary-anniversary)
3583 (diary-cyclic): Add optional MARK parameter, specifying what face
3584 or character to use in the calendar display. These will now
3585 return (MARK . ENTRY).
3587 * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
3588 (calendar-holiday-list, diary-french-date, diary-mayan-date)
3589 (diary-julian-date, diary-astro-day-number, diary-chinese-date)
3590 (diary-islamic-date, list-islamic-diary-entries)
3591 (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
3592 (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
3593 (diary-rosh-hodesh, list-hebrew-diary-entries)
3594 (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
3595 (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
3596 (diary-sunrise-sunset, diary-sabbath-candles):
3597 Remove interactive flag from autoloads.
3599 2002-07-22 Carsten Dominik <dominik@astro.uva.nl>
3601 * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
3602 (reftex-bibliography-commands): New option.
3603 (reftex-toc-split-windows-horizontally): New option
3604 (reftex-toc-split-windows-horizontally-fraction): New option
3605 (reftex-include-file-commands): New option.
3606 (reftex-cite-format-builtin): Added ?n for nocite.
3608 * textmodes/reftex-index.el (reftex-query-index-phrase):
3609 Use `reftex-index-verify-function'.
3611 * textmodes/reftex-toc.el (reftex-re-enlarge):
3612 Handle horizontal splitting.
3613 (reftex-toc): Handle horizontal splitting
3614 (reftex-last-window-width): New variable.
3616 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
3617 Use `reftex-bibliography-commands'.
3618 (reftex-locate-bibliography-files): Regexp relaxed to allow for
3619 cases where \bibliography is not the first thing on the line.
3621 * textmodes/reftex.el (reftex-compile-variables):
3622 Use `reftex-include-file-commands'.
3623 (reftex-type-query-prompt): Changed defconst to defvar.
3624 (reftex-type-query-help, reftex-typekey-to-format-alist)
3625 (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
3626 (reftex-special-env-parsers, reftex-label-mac-list)
3627 (reftex-label-env-list, reftex-typekey-list)
3628 (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
3629 (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
3630 (reftex-no-follow-message, reftex-no-info-message): Likewise.
3631 (reftex-mode): Define systax table for bibtex parsing.
3632 (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
3634 * textmodes/reftex-cite.el (reftex-format-names): %a as name
3635 format lists all names.
3636 (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
3637 (reftex-with-special-syntax-for-bib): New macro.
3639 2002-07-21 Richard M. Stallman <rms@gnu.org>
3641 * international/ucs-tables.el (ucs-quail-activate):
3642 Cope if buffer-file-coding-system is nil.
3644 * bindings.el (last-buffer): Use buffer-list with frame arg.
3645 Create *scratch* if no other choice exists. Fix bugs.
3647 2002-07-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3649 * net/tramp.el: Bump version to 2.0.2.
3650 (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
3651 longer names. Use old names "sm1", "sm2" and so on for methods
3652 invoking "ssh -1" or "ssh -2".
3653 (tramp-multi-file-name-structure-separate): Typo, its name was set
3654 to "tramp-file-name-structure-separate". Trivial patch.
3655 From Steve Youngs <youngs@xemacs.org>.
3656 (tramp-multi-sh-program): New variable.
3657 (tramp-open-connection-multi): Use it. Now you can use multi
3658 methods from Windows (at least in principle).
3659 (tramp-do-copy-or-rename-via-buffer): New function.
3660 (tramp-do-copy-or-rename-file): Use it. Change and simplify
3661 logic. Omit special case of invoking rcp directly to copy the files.
3662 (tramp-open-connection-su, tramp-multi-connect-telnet)
3663 (tramp-multi-connect-rlogin, tramp-multi-connect-su)
3664 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
3665 Use backticks in format-spec for brevity and to avoid
3666 character/number confusion in XEmacs.
3668 2002-07-20 Richard M. Stallman <rms@gnu.org>
3670 * wid-edit.el (widget-documentation-string-value-create):
3671 Say "Hide Rest", not just "Hide".
3673 * cus-edit.el (custom-variable-value-create):
3674 Say "Show Value", not just "Show". Also "Hide Value".
3675 Output a newline before the doc string.
3676 (custom-face-value-create): Say "Show Face" and "Hide Face".
3678 * files.el (toggle-read-only): Clean up the hint message.
3680 * emacs-lisp/bytecomp.el: Use warnings.el.
3681 (byte-compile-warning-prefix): New function.
3682 (byte-compile-log-file): Return page start position.
3683 (byte-compile-log-warning): New function.
3684 (byte-compile-warn): Use byte-compile-log-warning.
3685 (byte-compile-report-error): Likewise. Also use error-message-string.
3686 (displaying-byte-compile-warnings): Bind warning-series.
3687 Don't bind or use byte-compile-warnings-point-max.
3688 Don't display the log buffer at the end.
3689 (byte-compile-warnings-point-max): Variable deleted.
3690 (byte-compile-log-1): Rewrite for trace info, not used for warnings.
3691 (byte-compile-last-warned-form, byte-compile-last-logged-file):
3694 * warnings.el: New file.
3696 2002-07-19 Richard M. Stallman <rms@gnu.org>
3698 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
3699 and `values-list' from list of CL functions.
3701 2002-07-19 John Paul Wallington <jpw@shootybangbang.com>
3703 * emacs-lisp/bytecomp.el (compile-defun):
3704 Bind `read-with-symbol-positions' to current buffer.
3706 2002-07-19 Andre Spiegel <spiegel@gnu.org>
3708 * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
3709 delete anything that comes after LIMIT from the buffer.
3711 * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
3712 if this is really an RCS master file.
3714 * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
3716 2002-07-19 Juanma Barranquero <lektu@terra.es>
3718 * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
3719 (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
3720 (unread-command-char, executing-macro, post-command-idle-hook)
3721 (post-command-idle-delay): Move obsolescence declarations to subr.el.
3723 * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
3724 (baud-rate, compiled-function-p, define-function, unread-command-char)
3725 (executing-macro, post-command-idle-hook, post-command-idle-delay):
3726 Move obsolescence declarations from emacs-lisp/bytecomp.el.
3727 (directory-sep-char, mode-line-inverse-video):
3728 Add obsolescence declaration.
3730 2002-07-18 J.D. Smith <jdsmith@as.arizona.edu>
3732 * progmodes/idlwave.el: Updated to IDLWAVE version 4.14. Too many
3733 changes to list them here.
3735 * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
3736 Too many changes to list them here.
3738 * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
3739 Too many changes to list them here.
3741 * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
3742 only minor documentation changes.
3744 2002-07-18 Dave Love <fx@gnu.org>
3746 * info-look.el: Support current auto{conf,make} manuals.
3748 2002-07-18 Juanma Barranquero <lektu@terra.es>
3750 * bindings.el (last-buffer): Add missing frame argument.
3752 2002-07-18 Richard M. Stallman <rms@gnu.org>
3754 * timer.el (timer-inc-time): Doc fix.
3756 * replace.el (keep-lines, flush-lines): Interactively report
3757 read-only error before reading regexp argument.
3759 * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
3761 * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
3762 frame parameters like bury-buffer.
3764 * simple.el (choose-completion-delete-max-match):
3765 Handle minibuffer prompts explicitly.
3767 2002-07-18 Juanma Barranquero <lektu@terra.es>
3769 * international/mule-util.el (string-to-sequence, truncate-string):
3770 Add autoload cookie to obsolescence declaration.
3772 * rect.el (move-to-column-force): Likewise.
3774 * composite.el (decompose-composite-char): Likewise; also remove
3777 2002-07-18 Kim F. Storm <storm@cua.dk>
3779 * loadup.el: Load international/utf-8 before international/characters.
3781 2002-07-17 Dave Love <fx@gnu.org>
3783 * international/ucs-tables.el: Optimize tables. Deal with some
3785 (ucs-mule-to-mule-unicode): New.
3786 (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
3788 (ucs-fragment-8859): Modified consistent with ucs-unify-8859.
3789 (unify-8859-on-encoding-mode): Doc mod. Fix custom version.
3790 (unify-8859-on-decoding-mode): Doc mod. Change code. Fix custom
3791 version. Add custom dependencies.
3792 (ucs-insert): Check for null from decode-char.
3793 (translation-table-for-input, ucs-quail-activate)
3794 (ucs-minibuffer-setup, ccl-encode-unicode-font)
3795 (ucs-tables-unload-hook): New.
3797 * international/mule.el (define-translation-hash-table): New.
3798 (decode-char): Use utf-8-translation-table-for-decode.
3799 (encode-char): Use ucs-mule-to-mule-unicode.
3801 * international/characters.el: Fix settings of U+2000-U+2027.
3804 * international/mule-cmds.el (locale-language-names): Fix be, add
3805 sr_YU@cyrillic, modify tg.
3806 (locale-charset-language-names): Put @euro last.
3808 * language/cyrillic.el (cyrillic-koi8-r-decode-table)
3809 (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
3810 (cyrillic-koi8-r-decode-table): Make unbound after use.
3811 (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
3812 factor. Use utf-8-translation-table-for-decode.
3813 (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
3814 (cyrillic-unify-encoding): New function.
3815 (cyrillic-koi8): Modify safe-chars, valid-codes.
3816 Remove charset-origin-alist.
3817 (Cp878, cp866): New alias.
3818 (ccl-encode-8859-5-font): New.
3819 (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
3820 (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
3821 Remove redundant parens.
3822 ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
3823 (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
3824 (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
3825 (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
3826 ("Cyrillic-ALT"): Change input method.
3827 ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
3829 * international/utf-8.el (utf-8-subst-table)
3830 (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
3831 (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
3832 (utf-8-ccl-regs, utf-8-translate-cjk): New.
3833 (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
3834 (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
3835 (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
3836 (mule-utf-8): Remove pre-write-conversion.
3837 (utf-8-post-read-conversion): Comment out.
3839 * international/ccl.el (ccl-command-table): Add lookup-integer,
3841 (ccl-extended-code-table): Add lookup-int-const-tbl,
3842 lookup-char-const-tbl.
3843 (ccl-compile-lookup-integer, ccl-compile-lookup-character)
3844 (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
3846 (define-ccl-program): Doc update.
3848 * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
3849 (utf-8-subst-table): Don't set.
3851 2002-07-17 Kenichi Handa <handa@etl.go.jp>
3853 * international/mule.el (define-coding-system-alias):
3854 Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
3855 eol-type is not auto-detection.
3857 * international/mule-diag.el (print-coding-system-briefly):
3858 Fix the handling of an alias of which eol-type is not auto-detection.
3860 * international/mule-conf.el (us-ascii): Define it as an alias of
3863 2002-07-17 Juanma Barranquero <lektu@terra.es>
3865 * help-fns.el (describe-function-1): Put empty line before "Not
3868 * timer.el (timer-set-time-with-usecs): Mark obsolete.
3870 2002-07-16 Stefan Monnier <monnier@cs.yale.edu>
3872 * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
3873 Make sure to change the global tool-bar-map.
3875 * vc.el (vc-default-comment-history): Hard code *vc*.
3876 This is because print-log always prints there now.
3877 (vc-annotate-font-lock-keywords): New var.
3878 (vc-annotate-mode): Use it. Set truncate-lines as well.
3879 (vc-annotate-display-select): Unify the two error reports.
3880 (vc-annotate-offset): New var.
3881 (vc-annotate-lines): New fun extracted from vc-annotate-display.
3882 (vc-annotate-display): Use it, via font-lock.
3884 * help-fns.el (help-split-fundoc, help-function-arglist)
3885 (help-make-usage): New funs, extracted from describe-function-1.
3886 (describe-function-1): Use them.
3888 * help.el (help-key-description): Show the untranslated keys
3889 when they start with ESC and the ESC was not translated.
3891 * help-mode.el (view): Always require.
3892 (help-xref-mule-regexp): Don't use defconst for variables.
3893 (help-setup-xref): Keep the last 10 elements of the stack.
3894 (help-xref-override-view-map): New var.
3895 (help-make-xrefs): Use it instead of building a new map each time.
3896 (help-function-def): Allow help-fun to take a buffer as arg.
3898 * diff-mode.el (diff-reverse-direction): Simplify.
3899 (diff-after-change-function): Fix typo.
3900 (diff-post-command-hook): Take care of edge cases.
3901 (diff-current-defun): Do `goto-char' after setting the mode.
3903 * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
3904 Fold mouse-sel-bindings into it.
3905 (mouse-sel-bound-events): Turn it into an alist.
3906 (mouse-insert-selection): Delegate to mouse-yank-at-click if
3907 mouse-sel-default-bindings asks for it.
3909 2002-07-16 Andre Spiegel <spiegel@gnu.org>
3911 * files.el: Bind toggle-read-only to C-x C-q.
3912 (toggle-read-only): Display a warning message if the file is under
3915 * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
3916 (vc-toggle-read-only): Explain in the doc string that users can bind
3918 (vc-checkout-model): Change doc string to refer to vc-next-action,
3919 not vc-toggle-read-only.
3921 * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
3922 comparing to file on disk. Fix the case when claiming the lock
3923 on a file that has unlocked changes.
3924 (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
3926 2002-07-16 Richard M. Stallman <rms@gnu.org>
3928 * simple.el (choose-completion-string): Doc fix.
3930 * cus-edit.el: New operation :custom-standard-value.
3931 (Custom-reset-standard): Use it.
3932 (custom-variable, custom-face): Define it.
3933 (custom-variable-standard-value, custom-face-standard-value): New fns.
3934 (custom-face-save): Don't save a face whose value is standard.
3935 (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
3937 * cus-edit.el (custom-face-edit-fix-value):
3938 If VALUE is not a list, pass it thru.
3940 * compare-w.el (compare-windows-whitespace): Always allow newline
3941 even if it does not have whitespace syntax.
3943 2002-07-16 Juanma Barranquero <lektu@terra.es>
3945 * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
3947 2002-07-15 Juanma Barranquero <lektu@terra.es>
3949 * help-fns.el (describe-variable): Show documentation for aliased
3950 variable if alias does not have its own.
3952 2002-07-15 Mike Williams <mdub@bigfoot.com>
3954 * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
3955 cut/paste functions.
3957 2002-07-14 Richard M. Stallman <rms@gnu.org>
3959 * files.el (find-alternate-file): Offer to save a modified buffer.
3960 Handle kill-buffer-query-functions better.
3962 * startup.el (normal-splash-screen, fancy-splash-text):
3963 Update name of help menu item for ordering printed manuals.
3965 * emacs-lisp/checkdoc.el: Fix doc typos.
3967 2002-07-14 Stefan Monnier <monnier@cs.yale.edu>
3969 * textmodes/tex-mode.el: Set encoding to utf-8.
3970 (tex-start-options): Make it into always-a-string.
3971 Remove silly custom options that are covered by the other var.
3972 (tex-start-commands): Fix docstring.
3973 (tex-open-quote, tex-close-quote): Add options.
3974 (tex-command): Provide default.
3975 (tex-font-lock-keywords-1): Highlight $$...$$.
3976 (tex-font-lock-keywords-2): Fix latin-1 chars.
3977 (tex-mode-map): Remove redundant \t binding.
3978 (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
3979 (latex-mode): Use add-hook for fill-nobreak-predicate.
3980 (tex-common-initialization): Set indent-tabs-mode to nil.
3981 (tex-insert-quote): Undo magic if invoked twice in a row.
3982 (latex-fill-nobreak-predicate): Don't use narrowing.
3983 (tex-latex-block): Don't cons uselessly.
3984 (tex-last-unended-begin): Signal user-friendlier error.
3985 (tex-goto-last-unclosed-latex-block): Don't catch signal.
3986 (tex-start-tex): Switch order of tex-start-options and
3987 tex-start-commands to make it obey docstrings.
3989 2002-07-14 Mike Williams <mdub@bigfoot.com>
3991 * mouse-sel.el (mouse-sel-bound-events): New constant.
3992 (mouse-sel-bindings): Save/restore original mouse-bindings.
3994 2002-07-13 Stefan Monnier <monnier@cs.yale.edu>
3996 * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
3997 (cl-hack-byte-compiler): Avoid infinite require loop.
3999 * net/ange-ftp.el: Use hash-tables.
4000 (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
4001 (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
4002 (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
4003 Replace with make-hash-table, maphash, gethash, puthash and remhash.
4004 (ange-ftp-hash-entry-exists-p): Rewrite.
4005 (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
4006 Change mapatom -> maphash.
4007 (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
4008 Update to new calling mode.
4010 * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
4011 (ebrowse-hash-table-to-alist): Delete.
4012 (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
4013 (ebrowse-tags-complete-symbol): Use the hashtable for completion.
4015 * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
4016 Improve the regexp used when unquoting.
4017 (sgml-pretty-print): New function.
4018 (sgml-get-context): Better handling of improperly nested tags.
4019 (sgml-show-context): Don't use the FULL arg of sgml-get-context.
4021 2002-07-13 Andreas Schwab <schwab@suse.de>
4023 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
4024 inherited table entry.
4026 2002-07-13 Glenn Morris <gmorris@ast.cam.ac.uk>
4028 * calendar/timeclock.el (timeclock-in): Handle the case where no
4029 log file exists (ie the very first call).
4031 2002-07-13 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
4033 * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
4036 * net/tramp.el (tramp-multi-file-name-structure-unified):
4037 Add missing slash and move colon from start to end of each hop.
4038 (tramp-multi-file-name-hop-structure-unified): Move colon from
4039 start to end of each hop.
4041 2002-07-13 Kim F. Storm <storm@cua.dk>
4043 * progmodes/compile.el (grep-tree): Fixed autoload.
4044 Corrected use of undefined variable `match-files-aliases'.
4046 2002-07-12 Glenn Morris <gmorris@ast.cam.ac.uk>
4048 * calendar/timeclock.el (timeclock-get-workday-function):
4049 `timeclock-workday' is not a valid option, rather a possible
4052 2002-07-12 Richard M. Stallman <rms@gnu.org>
4054 * net/ange-ftp.el (ange-ftp-write-region):
4055 Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
4056 to ange-ftp-real-write-region.
4058 * replace.el (flush-lines, keep-lines): Convert REND to a marker.
4060 * help-fns.el (help-with-tutorial): Display completion list right away.
4062 * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
4064 * startup.el (command-line): Set memory-signal-data.
4065 (fancy-splash-text, normal-splash-screen):
4066 Mention "Read the Emacs Manual" or C-h r.
4067 Rearrange the initial help to put the help cmds on left
4068 and the actions (exit, undo) on the right. Other small
4069 text clarifications.
4070 (fancy-splash-text, actions page): Add blank line to balance help page.
4072 * help.el (help-map): Add binding for info-emacs-manual.
4073 (print-help-return-message): Doc fix.
4075 * strokes.el (strokes-help): Call print-help-return-message
4076 while inside with-output-to-temp-buffer.
4078 * info.el (info-emacs-manual): New function.
4079 (Info-use-header-line): Doc fix.
4081 * emacs-lisp/cl.el (multiple-value-call): Add alias.
4083 * progmodes/compile.el (compilation-normalize-filename):
4084 New subroutine, taken out of compilation-parse-errors.
4085 (compilation-parse-errors): Use that, and for directories too.
4086 Don't check whether a directory really exists.
4088 2002-07-12 Juanma Barranquero <lektu@terra.es>
4090 * help-fns.el (describe-variable): Put `defvaralias' info before the
4091 documentation (patch from John Paul Wallington
4092 <jpw@shootybangbang.com>). Remove useless "Documentation:" string.
4094 * timer.el (timer-set-time-with-usecs): Fix documentation.
4095 Simplify extraction of time data.
4097 2002-07-12 John Paul Wallington <jpw@shootybangbang.com>
4099 * help-fns.el (describe-variable): Mention if the variable is an alias.
4101 2002-07-12 Kenichi Handa <handa@etl.go.jp>
4103 * international/mule-cmds.el (locale-language-names): Change "mk"
4104 (Macedoninan), "ru" (Russian), and "sp" (Serbian with Cyrillic
4105 alphabet) to "Cyrillic-ISO".
4107 2002-07-11 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
4109 * net/tramp.el (tramp-default-method): New default method "sm"
4110 which I guess to be good for most people.
4111 (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
4112 Ange-FTP) for some user/host combinations.
4113 (tramp-file-name-structure, tramp-file-name-regexp)
4114 (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
4115 (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
4116 (tramp-make-multi-tramp-file-format): New default value which
4117 unifies the filename syntax between Tramp and Ange-FTP. The new
4118 syntax is "/method:user@host:path". Note the colon after the method.
4119 (tramp-handle-file-name-directory): Don't return "/" when
4120 completing a remote root directory (where the filename looks like
4121 "/method:user@host:/").
4122 (tramp-handle-ange-ftp): Deleted.
4123 (tramp-disable-ange-ftp): New function, called at toplevel,
4124 deletes Ange-FTP from file-name-handler-alist.
4125 (tramp-handle-make-symbolic-link): Implement.
4127 2002-07-10 Juanma Barranquero <lektu@terra.es>
4129 * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
4131 * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
4132 (speedbar-vc-do-check): Likewise.
4133 (speedbar-obj-do-check): Likewise.
4134 (speedbar-mouse-hscroll): Likewise.
4135 (speedbar-file-lists): Likewise.
4137 * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
4139 2002-07-09 Ole Aamot <ole@gnu.org>
4141 * compile.el (compilation-error-regexp-alist):
4142 Recognize Valgrind messages.
4144 2002-07-09 Juanma Barranquero <lektu@terra.es>
4146 * faces.el (face-id): Fix typo.
4148 * hexl.el (hexl-mode): Likewise.
4150 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
4152 * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
4154 * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
4155 (speedbar-desired-buffer): Likewise.
4156 (speedbar-line-file): Likewise.
4157 (speedbar-special-mode-key-map): Fix typo.
4158 (speedbar-dynamic-tags-function-list): Likewise.
4159 (speedbar-use-images): Likewise.
4160 (speedbar-up-directory): Likewise.
4161 (speedbar-item-info): Likewise.
4162 (speedbar-set-timer): Likewise.
4163 (speedbar-insert-button): Likewise.
4164 (speedbar-make-button): Likewise.
4165 (speedbar-make-tag-line): Likewise.
4166 (speedbar-insert-files-at-point): Likewise.
4167 (speedbar-update-special-contents): Likewise.
4168 (speedbar-find-selected-file): Likewise.
4169 (speedbar-add-indicator): Likewise.
4170 (speedbar-do-function-pointer): Likewise.
4171 (speedbar-goto-this-file): Likewise.
4172 (speedbar-line-path): Likewise.
4173 (speedbar-mouse-event-p): Likewise.
4174 (speedbar-dir-follow): Likewise.
4175 (speedbar-tag-find): Likewise.
4176 (speedbar-fetch-etags-command): Likewise.
4177 (speedbar-fetch-etags-arguments): Likewise.
4178 (speedbar-toggle-etags): Likewise.
4179 (speedbar-extract-one-symbol): Likewise.
4180 (speedbar-parse-c-or-c++tag): Likewise.
4181 (speedbar-unhighlight-one-tag-line): Likewise.
4182 (speedbar-directory-face): Likewise.
4183 (defimage-speedbar): Likewise.
4184 (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
4185 (defimage-speedbar): Likewise.
4187 2002-07-09 Miles Bader <miles@gnu.org>
4189 * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
4190 to nil when prompting for a filename.
4192 2002-07-09 Kenichi Handa <handa@etl.go.jp>
4194 * files.el (insert-directory): Be sure to bind
4195 coding-system-for-write to the just decided coding-system-for-read.
4197 2002-07-09 Kim F. Storm <storm@cua.dk>
4199 * ido.el (ido-make-merged-file-list): Move fully matching item to
4201 (ido-find-common-substring): Return substring instead of t.
4203 2002-07-08 Juanma Barranquero <lektu@terra.es>
4205 * info.el (Info-directory-list): Fix docstring.
4207 2002-07-08 Miles Bader <miles@gnu.org>
4209 * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
4212 2002-07-08 Kim F. Storm <storm@cua.dk>
4214 * files.el (after-find-file): Don't check for read-only status
4215 of files just created (and not yet saved on disk).
4217 * ido.el (ido-completion-help): Changed xemacs specific code to
4218 avoid byte compiler warning in GNU emacs.
4219 (ido-set-matches1): Use regexp-quote instead of identity.
4220 (ido-complete-space): New function.
4221 (ido-define-mode-map): Bind it to SPACE.
4223 2002-07-07 Stefan Monnier <monnier@cs.yale.edu>
4225 * font-lock.el (font-lock-default-unfontify-region):
4226 Use remove-list-of-text-properties.
4227 (font-lock-extra-managed-props): Doc fix.
4229 * facemenu.el: Move `provide' to the end.
4230 (facemenu-read-color): Don't cons unnecessarily.
4232 * language/ind-util.el (indian-make-hash):
4233 * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
4234 (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
4236 * subr.el (insert-string): Update the obsolete info.
4237 (makehash): Move from C and mark obsolete.
4239 * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
4240 aliases to also work for interactive functions.
4241 Use the same wrapper for subroutines.
4242 (cancel-debug-on-entry): Get rid of the now-useless wrapper.
4243 (debug-on-entry-1): Correctly skip docstrings and interactive forms.
4245 * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
4246 automatic environment name update.
4247 (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
4249 2002-07-07 Richard M. Stallman <rms@gnu.org>
4251 * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
4253 * emacs-lisp/advice.el (ad-compile-function):
4254 Disable cl-function warnings if cl is loaded.
4256 * files.el (safe-local-eval-forms): New user option.
4257 (hack-one-local-variable-eval-safep): Support it.
4258 Also allow `safe-local-eval-function' property to be a function
4259 or a list of functions.
4260 (c-add-style): Delete `safe-local-eval-function' property.
4262 * files.el (after-find-file): Make buffer read-only if file is
4263 marked that way, even for root.
4265 * files.el (save-some-buffers): Doc fix.
4267 * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
4269 2002-07-06 Francesco Potorti` <pot@gnu.org>
4271 * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
4272 .sx[dmicw] file suffixes for Open office data files.
4274 * files.el (auto-mode-alist): Likewise.
4276 * international/mule.el (auto-coding-alist): Likewise.
4278 2002-07-05 Kim F. Storm <storm@cua.dk>
4280 * emulation/cua-rect.el (cua--rectangle-operation): Don't call
4281 FCT if current column is outside rectangle.
4282 (cua--delete-rectangle): Do nothing if zero width or out of bounds.
4284 2002-07-04 Stefan Monnier <monnier@cs.yale.edu>
4286 * net/ange-ftp.el: Use add-hook and find-file-hook.
4287 (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
4288 (ange-ftp-ls-parser): Make it into a function.
4289 Ignore trailing @ in symlink targets.
4290 (ange-ftp-file-entry-p): Ignore FTP errors.
4291 (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
4292 to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
4294 2002-07-04 Per Abrahamsen <abraham@dina.kvl.dk>
4296 * simple.el (toggle-truncate-lines): New command.
4298 2002-07-04 Miles Bader <miles@gnu.org>
4300 * comint.el (comint-displayed-dynamic-completions): New variable.
4301 (comint-dynamic-list-completions): Be more careful about choosing
4302 when to scroll an existing completions window.
4304 2002-07-03 Andreas Schwab <schwab@suse.de>
4306 * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
4309 2002-07-03 Juanma Barranquero <lektu@terra.es>
4311 * net/tramp.el (tramp-send-eof): Fix typo.
4312 (tramp-kill-process): Likewise.
4314 * play/dunnet.el (dun-physobj-desc): Likewise.
4316 * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
4318 * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
4319 (timeclock-workday-elapsed): Likewise.
4321 * allout.el (outline-goto-prefix): Likewise.
4323 * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
4324 (tpu-delete-to-bol): Likewise.
4326 * subr.el (chars-in-region): Add obsolescence declaration for
4329 2002-07-03 Miles Bader <miles@gnu.org>
4331 * faces.el (header-line): Don't use a `common' clause for
4332 inheriting from the mode-line face, since we can't override it,
4333 and we don't want it for ttys.
4335 2002-07-02 Richard M. Stallman <rms@gnu.org>
4337 * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
4339 * files.el (hack-one-local-variable-constantp): New function.
4340 (hack-one-local-variable-eval-safep): New function.
4341 Check for `eval:' calling fn with `safe-local-eval-function' property.
4342 (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
4343 (c-add-style, c-set-style): Add safe-local-eval-function property.
4345 * files.el (insert-directory): Handle --dired option to ls.
4347 * files.el (file-remote-p): New function.
4349 * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
4351 * startup.el (fancy-splash-screens): Switch to a chosen frame.
4352 (fancy-splash-frame): Choose the right frame to use.
4353 (use-fancy-splash-screens-p): Check dimensions of the right frame
4356 * emacs-lisp/bytecomp.el (byte-compile-warning-types):
4357 Rename cl-func to cl-functions. Enable it by default.
4358 (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
4359 if the file loads cl.
4360 (byte-compile-initial-macro-environment): For eval-and-compile,
4361 use byte-compile-eval-before-compile to eval.
4362 (byte-compile-eval-before-compile): New function to turn off
4363 cl-functions when appropriate, for eval-and-compile.
4364 (byte-compile-warnings): Doc fix.
4366 2002-07-02 Dave Love <fx@gnu.org>
4368 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option.
4369 (byte-compile-cl-warn): New function.
4370 (byte-compile-form): Use it, to warn about calling cl functions.
4371 (byte-compile-warning-types): Doc fix.
4373 2002-07-02 Juanma Barranquero <lektu@terra.es>
4375 * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
4377 * textmodes/reftex-cite.el (reftex-citation): Fix typo.
4379 * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
4382 2002-07-02 Kim F. Storm <storm@cua.dk>
4384 * emacs-lisp/bindat.el: New file.
4386 2002-07-01 Sam Steingold <sds@gnu.org>
4388 * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
4389 before `tex-main-file' because if the current buffer is new, its
4390 file might not exist yet, and then `tex-main-file' will
4391 incorrectly return "foo.tex.tex".
4393 2002-07-01 Juanma Barranquero <lektu@terra.es>
4395 * ido.el (ido-minibuffer-setup-hook): Doc fix.
4397 2002-07-01 Dave Love <fx@gnu.org>
4399 Make strokes a proper minor mode, and don't try to overload
4400 mouse-2, which doesn't work satisfactorily.
4402 * strokes.el: Doc fixes.
4403 (strokes-mode): Defcustom deleted; replaced by minor mode def with
4404 re-written function.
4405 (strokes-while-inhibiting-garbage-collector): Comment out.
4406 (define-stroke, strokes-fix-button2-command, strokes-insinuated)
4407 (strokes-insinuate, global-set-stroke, describe-stroke)
4408 (load-user-strokes, save-strokes, strokes-bug-address)
4409 (strokes-click-command): Deleted.
4410 (strokes-execute-stroke): Remove strokes-click-p case.
4411 (strokes-describe-stroke): Remove strokes-click-p stuff.
4412 (strokes-help): Fix.
4413 (strokes-report-bug): Alias to report-emacs-bug.
4414 (strokes-prompt-user-save-strokes): Modify format of the file.
4415 (strokes-mode-map, strokes-unload-hook): New.
4416 (strokes-buffer-name): Don't customize.
4418 2002-07-01 Richard M. Stallman <rms@gnu.org>
4420 * info.el (Info-index): Get immediate error if used in `dir'.
4422 * textmodes/picture.el (picture-forward-column)
4423 (picture-move-down): Never deactivate the mark.
4425 2002-06-30 Simon Josefsson <jas@extundo.com>
4427 * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
4428 menu entry into balloon help.
4430 2002-06-30 Andreas Schwab <schwab@suse.de>
4432 * files.el (directory-free-space-args): Don't use `-P' on Darwin.
4433 * term/mac-win.el: Don't set it here.
4435 2002-06-29 Stefan Monnier <monnier@cs.yale.edu>
4437 * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
4439 2002-06-29 Andreas Schwab <schwab@suse.de>
4441 * term/mac-win.el: Use directory-free-space-program instead of
4442 obsolete variable dired-free-space-program. On Darwin, don't set
4443 directory-free-space-program, shell-file-name and
4444 process-connection-type; set directory-free-space-args to not
4445 include `-P' and use utf-8 for file name coding system.
4447 * simple.el (shell-command-on-region): Handle errors and signals
4448 from shell command execution.
4449 (display-message-or-buffer): Fix last change.
4450 (shell-command-default-error-buffer): Doc fix.
4452 * dired.el (dired-view-file): Quote file name for
4453 dired-run-shell-command.
4455 2002-06-29 Kim F. Storm <storm@cua.dk>
4457 * kmacro.el: New file.
4459 2002-06-28 John Wiegley <johnw@gnu.org>
4461 * pcmpl-cvs.el: Added my name as the maintainer of this file.
4463 2002-06-28 Andreas Schwab <schwab@suse.de>
4465 * shell.el (explicit-bash-args): New user option.
4467 2002-06-28 Kim F. Storm <storm@cua.dk>
4471 2002-06-28 Stefan Monnier <monnier@cs.yale.edu>
4473 * derived.el (define-derived-mode): Preserve the `mode-class' rather
4474 than the `special' symbol property.
4475 (derived-mode-class): Make it obsolete.
4477 2002-06-27 Andreas Schwab <schwab@suse.de>
4479 * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
4481 2002-06-27 Juanma Barranquero <lektu@terra.es>
4483 * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
4484 (meta-flag): Likewise.
4486 * international/mule-util.el (string-to-sequence): Likewise.
4488 * subr.el (char-bytes): Likewise.
4489 (make-local-hook): Likewise.
4490 (baud-rate): Remove redundant info from docstring.
4492 * faces.el (frame-update-faces): Fix obsolescence declaration.
4493 (internal-get-face): Remove redundant info from docstring and
4494 fix obsolescence declaration.
4496 * rect.el (move-to-column-force): Likewise.
4498 * help-fns.el (describe-function-1): Use semicolon instead of dot.
4499 (describe-variable): Likewise.
4501 2002-06-27 Stefan Monnier <monnier@cs.yale.edu>
4503 * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
4504 (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
4505 (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
4506 (mouse-wheel-follow-mouse): Change default to t.
4507 (mwheel-event-button): Return the basic event symbol.
4508 (mwheel-scroll): Work with non-mouse events.
4509 (mouse-wheel-mode): Use the new vars.
4510 (mwheel-install): Obey `uninstall'.
4512 * term/xterm.el (function-key-map): Add some bindings.
4514 * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
4515 Rename from delay-uniquify-rationalize-file-buffer-names.
4516 Only rationalize if the buffer is under uniquify control.
4517 (uniquify-delayed-rationalize-file-buffer-names):
4518 Rename from delayed-uniquify-rationalize-file-buffer-names.
4520 2002-06-27 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
4522 * net/tramp.el (tramp-file-name-structure)
4523 (tramp-multi-file-name-hop-structure): Split for easier readability.
4524 (tramp-handle-make-symbolic-link): Use user/host/method/... from
4525 LINKNAME, not FILENAME.
4526 (tramp-handle-verify-visited-file-modtime):
4527 Call tramp-ange-ftp-file-name-p with right parameters.
4528 (tramp-handle-verify-visited-file-modtime): `insert' does not
4529 work for integers, convert them to strings first.
4530 (tramp-handle-ange-ftp): New function to perform setup for
4531 replacing Ange-FTP with Tramp.
4532 (tramp-repair-jka-compr): New function to factor out some
4533 previously top-level code. Call the function at top-level.
4535 2002-06-27 Juanma Barranquero <lektu@terra.es>
4537 * composite.el (decompose-composite-char): Fix docstring.
4539 * faces.el (describe-face): Capitalize "not documented" message.
4541 * help-fns.el (describe-variable): Likewise.
4542 (describe-function-1): Likewise. Also, document the obsolescence
4543 of the function, if applicable.
4545 2002-06-26 Juanma Barranquero <lektu@terra.es>
4547 * info.el (info-menu-5): Fix documentation.
4548 (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
4550 2002-06-26 Richard M. Stallman <rms@gnu.org>
4552 * emacs-lisp/cl.el (values): Simplify definition.
4554 * simple.el (shell-command): Match & only at end of whole command.
4555 (display-message-or-buffer): Don't use the echo area
4556 if output buffer is visible.
4558 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
4560 * progmodes/cperl-mode.el: Many trivial doc fixes.
4561 (cperl-non-problems): Definition deleted.
4562 (cperl-menu): Don't refer to cperl-non-problems.
4563 (cperl-word-at-point): Add doc string.
4564 (cperl-beautify-regexp-piece): Fix error message.
4565 (cperl-invert-if-unless): Fix error message.
4567 * dired.el (dired-find-alternate-file): Mark as disabled.
4569 2002-06-25 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
4571 * net/tramp.el (tramp-ftp-method): New user option.
4572 (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
4573 (with-parsed-tramp-file-name): New macro for the usual big `let'
4574 statement to dissect a file-name.
4575 (tramp-handle-make-symbolic-link, tramp-handle-load)
4576 (tramp-handle-file-name-directory)
4577 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4578 (tramp-handle-file-truename, tramp-handle-file-directory-p)
4579 (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
4580 (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
4581 Use the new macro and forward call to Ange-FTP if applicable.
4582 (tramp-make-ange-ftp-file-name): New helper function to convert a
4583 file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
4584 (tramp-default-method-alist): New user option.
4585 (tramp-find-default-method): Use it.
4586 (tramp-sh-extra-args): New variable.
4587 (tramp-find-shell): Use it.
4588 (tramp-open-connection-rsh): Support a kludgy feature for the
4589 "-p" option to ssh. If host name is given as "host#42", uses the
4592 2002-06-25 Andreas Schwab <schwab@suse.de>
4594 * replace.el (occur-1): Avoid invalid message format string.
4596 2002-06-24 Stefan Monnier <monnier@cs.yale.edu>
4598 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
4599 Check for `noruntime' even if the function has a known sig.
4600 (byte-compile-file, byte-compile-output-docform):
4601 Don't hard code point-min = 1.
4603 * pcvs.el (cvs-parse-process): Don't save/restore point.
4604 Fix last change not to introduce spurious dir FIs.
4605 (cvs-move-to-goal-column): New function extracted from
4606 cvs-mode-previous-line.
4607 (cvs-mode-previous-line, cvs-mode-next-line): Use it.
4608 (cvs-addto-collection): Use it to preserve point.
4609 (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
4611 * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
4612 Don't require the first element to be modifier-free.
4614 * pcvs-parse.el (cvs-parse-table):
4615 Handle `nothing known about' with more care.
4617 * pcvs.el (cvs-fileinfo-kill): Remove.
4618 (cvs-parse-process): Add `old-fis' argument.
4619 (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
4621 * descr-text.el (describe-property-list): Make sure there's
4622 a space between the property name and its value.
4623 (describe-text-properties): Don't kill a pre-existing buffer.
4625 * mwheel.el: Undo last patch from Stephen Gildea for now.
4627 2002-06-24 Kim F. Storm <storm@cua.dk>
4629 * emulation/keypad.el: Added :require 'keypad to defcustoms.
4631 2002-06-23 Stefan Monnier <monnier@cs.yale.edu>
4633 * subr.el (event-start, event-end, event-click-count):
4634 Accept non-mouse events as well.
4635 (read-key): New function.
4636 (read-quoted-char): Use it. Use this-single-command-raw-keys as well.
4638 * files.el: Rename (and mark as obsolete)
4639 find-file-hooks to find-file-hook,
4640 find-file-not-found-hooks to find-file-not-found-functions,
4641 write-file-hooks to write-file-functions,
4642 write-contents-hooks to write-contents-functions.
4643 Mark local-write-file-hooks as obsolete.
4644 (locate-file-completion): Don't cons uselessly. Use test-completion.
4645 (basic-save-buffer): Use (point-min) rather than 1.
4646 (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
4648 * help-fns.el (describe-variable): Only use `buffer' is still live.
4649 Use `delete-region' instead of save-excursion + delete-char.
4650 Document the obsolescence of the variable, if applicable.
4652 2002-06-23 Glenn Morris <gmorris@ast.cam.ac.uk>
4654 * progmodes/f90.el (f90-do-auto-fill): Respect the value of
4655 comment-auto-fill-only-comments.
4657 2002-06-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
4659 * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
4660 This is not a handled operation.
4662 2002-06-21 Kim F. Storm <storm@cua.dk>
4664 * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
4665 work again. Corrected error in check for C-u initiated prefix.
4667 * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
4669 2002-06-21 Richard M. Stallman <rms@gnu.org>
4671 * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
4672 to browse-url-at-point.
4674 * play/zone.el (zone-idle): Var deleted.
4676 * international/iso-acc.el (iso-languages) <french>:
4677 `~ ' now generates `~', `~,' definition deleted.
4679 * format.el (format-annotate-function): Copy multibyte flag
4680 and selective-display into the new temp buffer.
4682 * edmacro.el (edmacro-fix-menu-commands):
4683 Discard `help-echo' events. Handle (menu-bar) events.
4684 Simplify by converting key sequence to a list and then back to vector.
4686 2002-06-21 Stephen Gildea <gildea@stop.mail-abuse.org>
4688 * mwheel.el: Allow arbitrary keys for scrolling, add a third
4689 scrolling speed, fix an unwind-protect.
4690 (mouse-wheel-scroll-amount): Now a three-element list.
4691 (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
4692 (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
4693 (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
4696 2002-06-21 Andreas Schwab <schwab@suse.de>
4698 * files.el (find-file-read-args): Add new argument `mustmatch' and
4699 pass it down to read-file-name.
4700 (find-file, find-file-other-window, find-file-other-frame)
4701 (find-file-read-only, find-file-read-only-other-window)
4702 (find-file-read-only-other-frame): Use it and fix prompts.
4704 2002-06-21 Stefan Monnier <monnier@cs.yale.edu>
4706 * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
4708 2002-06-20 Emmanuel Briot <briot@act-europe.fr>
4710 * progmodes/ada-mode.el: Update copyright notice.
4711 Synchronize with GNAT release 3.15a1.
4712 Do not attempt to load ada-support, which is only for compatibility
4713 with older Emacs versions, and is not needed for Emacs 21.
4714 Fix various calls to count-lines, that didn't work correctly when the
4715 buffer was narrowed.
4716 (ada-continuation-indent): New variable.
4717 (ada-contextual-menu): New entry "List local references", faster than
4719 (ada-mode): New alignment rules provided by S. Leake.
4720 Add support for which-function-mode.
4721 (ada-get-current-indent): Fix indentation of named parameter lists and
4722 nested boolean expressions.
4723 (ada-indent-on-previous-lines): Fix indentation of labels.
4724 (ada-search-prev-end-stmt): Fix searching of the previous
4725 end-statement, specially with regards to nested subprograms.
4726 (comment-region advice): Initially disabled, for better compatibility
4728 (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
4730 * progmodes/ada-xref.el: Update copyright notice.
4731 (ada-xref-create-ali): The default is now not to create automatically
4732 the ALI files by compiling the unit, since this isn't always reliable
4733 and requires an up-to-date project file.
4734 (ada-prj-default-comp-cmd): No longer use gcc directly to compile
4735 a file, but use gnatmake instead, since this gives access to the GNAT
4737 (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
4738 (ada-load-project-hook): New variable, for support of GNAT
4740 (ada-update-project-menu): Fix the detection of the project file name.
4741 (ada-add-keymap): Change key binding for ada-find-file, that conflicted
4742 with another binding in ada-mode.el.
4743 (ada-add-menu): New menu "List Local References", to list the reference
4744 to the entity only in the current file, instead of looking in the whole
4745 project. Much faster.
4746 (ada-find-references): New parameters arg and local-only.
4747 (ada-find-any-references): New parameters local-only and append.
4748 (ada-goto-declaration): Fix handling of predefined entities in xref.
4749 (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
4750 still compatible with GNAT 3.14 of course. Fix various calls to
4751 count-lines, that didn't work correctly when the buffer was narrowed.
4753 * progmodes/ada-prj.el: Update copyright.
4754 (ada-prj-load-directory): Make sure we do not use one of the new Emacs
4755 21 dialogs to select the file, since we want a directory name only.
4756 (ada-customize): Add support for the new GNAT project files.
4758 2002-06-20 Francesco Potorti` <pot@gnu.org>
4760 * progmodes/etags.el (tag-implicit-name-match-p): New function.
4761 (etags-recognize-tags-table): Use it for implicit tag names.
4763 2002-06-20 Miles Bader <miles@gnu.org>
4765 * comint.el (comint-get-old-input-default): Strip text properties
4768 * comint.el (comint-output-filter): Run output-filter functions
4769 before setting up the prompt.
4771 * international/characters.el: Re-enable code giving word syntax
4772 to certain japanese-jisx0208 characters.
4774 2002-06-19 Glenn Morris <gmorris@ast.cam.ac.uk>
4776 * progmodes/f90.el (f90-type-def-re): Fix value.
4777 (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
4779 2002-06-18 Stefan Monnier <monnier@cs.yale.edu>
4781 * international/quail.el (quail-help): Don't assume the buffer
4782 is displayed in the same frame.
4784 * emacs-lisp/debug.el (cancel-debug-on-entry):
4785 * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
4787 * pcvs.el (cvs-vc-command-advice): Handle the case where args
4788 are passed to `cvs' before the command name.
4789 (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
4791 * pcvs-info.el (cvs-add-face): Minor rewrite.
4792 (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
4794 * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
4795 regexp when they don't match comment-foo any more.
4797 2002-06-18 Juanma Barranquero <lektu@terra.es>
4799 * filesets.el (filesets-update-pre010505): Fix typo.
4801 * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
4803 * emulation/edt.el (edt-substitute): Fix typo.
4805 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
4807 * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
4809 * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
4811 2002-06-17 Richard M. Stallman <rms@gnu.org>
4813 * facemenu.el (facemenu-map): Rename to Describe Text
4814 to Describe Properties and use describe-text-properties.
4816 * simple.el (what-cursor-position): Use describe-char.
4818 * descr-text.el (describe-char): Moved from mule-diag.el, renamed
4819 from describe-char-after. Now calls describe-text-properties.
4820 (describe-property-list): Renamed from describe-text-properties.
4821 (describe-text-properties): Renamed from describe-text-at.
4822 New arg OUTPUT-BUFFER.
4823 (describe-text-properties-1):
4824 New subroutine, broken out from describe-text-properties.
4825 Output a newline before each section of the output.
4827 * international/mule-diag.el (describe-char-after):
4828 Moved to descr-text.el.
4830 2002-06-17 Eli Zaretskii <eliz@is.elta.co.il>
4832 * international/mule.el (ctext-pre-write-conversion): Fix the values
4833 of FROM and TO if we create a new buffer.
4835 2002-06-17 John Paul Wallington <jpw@shootybangbang.com>
4837 * comint.el (comint-insert-clicked-input): Insert clicked-on
4838 previous input without properties.
4840 2002-06-16 Andrew Choi <akochoi@shaw.ca>
4842 * term/mac-win.el (scalable-fonts-allowed): Set to t.
4844 2002-06-15 Colin Walters <walters@debian.org>
4846 * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
4848 (cvs-highlight): Delete.
4849 (cvs-add-face): Use `font-lock-face'. Always add properties.
4851 * ibuffer.el (ibuffer-movement-cycle): New variable.
4852 (ibuffer-backward-line, ibuffer-forward-line): Use it.
4854 2002-06-15 Richard M. Stallman <rms@gnu.org>
4856 * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
4857 (batch-byte-recompile-directory): Undo previous change.
4859 * comint.el (comint-skip-input): New function.
4860 (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
4861 (comint-stop-subjob): Use comint-skip-input.
4863 * ielm.el (ielm-eval-input): Use error-message-string.
4864 (ielm-format-error, ielm-format-errors): Functions deleted.
4866 2002-06-14 Kim F. Storm <storm@cua.dk>
4868 * progmodes/compile.el (grep-tree): Doc fixes.
4869 Added SUBDIRS arg for non-interactive use.
4871 2002-06-14 Juanma Barranquero <lektu@terra.es>
4873 * comint.el (comint-snapshot-last-prompt):
4874 Bind `inhibit-read-only' to t to support read-only prompts.
4875 (comint-output-filter): Likewise.
4877 2002-06-14 Miles Bader <miles@gnu.org>
4879 * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
4880 (pop): Move the call to `car' outside the prog1, as the compiler
4881 then generates better code.
4883 2002-06-13 Richard M. Stallman <rms@gnu.org>
4885 * play/zone.el (zone-timer): New variable holds the idle timer.
4886 (zone): Don't fiddle with the idle timer at all.
4887 (zone-when-idle): Put the idle timer in zone-timer.
4888 If one is already set up, cancel it and make a new one.
4889 (zone-leave-me-alone): Likewise.
4891 2002-06-13 Jason Rumney <jasonr@gnu.org>
4893 * w32-fns.el (w32-charset-info-alist): Reorder.
4895 2002-06-13 Andreas Schwab <schwab@suse.de>
4897 * files.el (auto-mode-alist): Move entry for ".in" to the end.
4899 2002-06-13 Miles Bader <miles@gnu.org>
4901 * comint.el (comint-mode): Don't set `font-lock-defaults'.
4902 (comint-mode-hook): Turn on font-lock by default.
4904 2002-06-12 Karl Fogel <kfogel@red-bean.com>
4906 * bookmark.el (bookmark-file-or-variation-thereof):
4907 Restore vc-backend check, thanks to Robert Thorpe for noticing.
4909 2002-06-12 Eli Zaretskii <eliz@is.elta.co.il>
4911 * textmodes/bibtex.el: Change the maintainer to "none".
4913 2002-06-12 Juanma Barranquero <lektu@terra>
4915 * term/w32-win.el (x-handle-switch): Fix handling of
4916 x-invocation-args for switches with arguments.
4918 2002-06-12 Stefan Monnier <monnier@cs.yale.edu>
4920 * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
4921 without first making sure it's bound.
4923 2002-06-12 Richard M. Stallman <rms@gnu.org>
4925 * info.el (Info-fontify-node): Compute header line specially
4926 if node has no next, previous or up links.
4927 Hide the part of the first line that is used in the header.
4928 Use Info-next-link-keymap, etc.
4929 (Info-next-link-keymap, Info-prev-link-keymap)
4930 (Info-up-link-keymap): New variables.
4932 * international/mule-diag.el (describe-char-after): Doc fix.
4934 * view.el (view-mode-enter): Clarify echo area message.
4936 * info.el (Info-select-node): Turn header line on or off here.
4937 (Info-setup-header-line): Function deleted.
4938 (Info-mode): Make Info-header-line local.
4939 (Info-fontify-node): Ignore Info-use-header-line.
4940 Unconditionally compute what the header line should be, and
4941 store it on the `header-line' property of the node's first char.
4942 Bind [header-line down-mouse-1].
4943 Use `keymap' property, not `local-map'.
4944 Bind [mouse-2] for mouse clicks on the node line in the text.
4946 * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
4948 2002-06-12 Miles Bader <miles@gnu.org>
4950 * comint.el (comint-send-input): Properly handle empty and
4951 no-newline input regions.
4953 2002-06-12 Colin Walters <walters@gnu.org>
4955 * calc/calc.el: Use `when', `unless'.
4956 (calc-trail-mode): Use an italic `font-lock-face'.
4957 (calc-refresh): Ditto.
4959 2002-06-12 Colin Walters <walters@debian.org>
4961 * font-core.el (font-lock-core-only): Variable deleted.
4963 (font-lock-set-defaults): Variable alist settings moved back into
4964 font-lock-set-defaults-1.
4965 (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
4966 is specifically excluded by the user.
4968 * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
4970 * help-mode.el (help-mode): Don't set `font-lock-defaults'.
4972 * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
4974 * info.el (Info-mode): Don't set `font-lock-defaults'.
4976 * replace.el (occur-mode): Don't set `font-lock-defaults'.
4978 * help-mode.el (help-highlight-p, help-highlight-face):
4979 Variable was unused; delete.
4980 (help-make-xrefs): Doc fix.
4982 2002-06-11 Richard M. Stallman <rms@gnu.org>
4984 * format.el (format-alist): Document new element PRESERVE.
4985 (format-write-file): Implement PRESERVE elt for a format.
4987 * files.el (make-auto-save-file-name): Rename local `filename' to
4990 2002-06-10 Richard M. Stallman <rms@gnu.org>
4992 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
4993 (ebrowse-copy-list): Function deleted.
4995 * eshell/em-unix.el (eshell/diff): Use copy-sequence.
4997 * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
4999 * eshell/esh-util.el (eshell-copy-list): Function deleted.
5000 (eshell-sublist): Use copy-sequence.
5001 (eshell-copy-tree): Make it an alias for copy-tree.
5003 * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
5005 * subr.el (copy-list): Moved to cl.el.
5006 (copy-tree): Don't use copy-list or cl-pop.
5008 2002-06-10 Miles Bader <miles@gnu.org>
5010 Make comint use text properties for highlighting instead of overlays:
5011 * comint.el (comint-last-output-overlay): Variable removed.
5012 (comint-send-input, comint-output-filter): Use text properties
5013 instead of overlays.
5014 (comint-insert-clicked-input): Rewrite to work with text
5015 properties as well as overlays
5016 (comint-snapshot-last-prompt): Snapshot using text properties.
5017 (comint-get-old-input-default, comint-extract-string): Don't copy
5020 * simple.el (line-move-finish): Inhibit field motion when
5021 computing `line-end'.
5023 * files.el (revert-buffer): Correct typo: variable name is
5024 `buffer-file-format', not `buffer-file-formats'.
5026 * comint.el (comint-send-input, comint-output-filter): Use the
5027 `font-lock-face' property instead of `face'. Don't check the
5028 highlight-enabling variables anymore.
5029 (comint-highlight-input, comint-highlight-prompt): Variables removed.
5031 * faces.el (display-supports-face-attributes-p): New function.
5032 (face-spec-set-match-display): Support `supports' predicate.
5033 (italic): Try underlining for displays that don't support real italics.
5034 * cus-edit.el (custom-display): Add support for `supports' predicate.
5035 * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
5036 instead of 8-bit, for consistency with the rest of emacs.
5037 (tty-color-canonicalize): Only copy COLOR if we need to change it.
5038 (tty-color-approximate): Scale values from `color-name-rgb-alist'
5039 appropriately. Return the whole color description, rather than
5040 just the RGB values.
5041 (tty-color-standard-values): New function. Code mostly taken from
5042 `tty-color-translate'.
5043 (tty-color-translate, tty-color-values): Use `tty-color-desc' to
5045 (tty-color-desc): Do color lookup here instead of calling
5046 `tty-color-translate' and `tty-color-by-index'; this is now the
5047 main place to do it.
5049 2002-06-09 Martin Stjernholm <bug-cc-mode@gnu.org>
5051 * progmodes/cc-style.el (c-set-style, c-set-style-1):
5052 Add another state for the `dont-override' flag where it only keeps
5053 globally set variables.
5055 2002-06-08 Colin Walters <walters@gnu.org>
5057 * descr-text.el (describe-text-properties): Sort the output by the
5058 size of the values. Put `font-lock-face' property on property names.
5059 (toplevel): Provide `descr-text'.
5061 * international/mule-diag.el (describe-char-after): When there are
5062 text properties, require `descr-text', and just call
5063 `describe-text-properties'.
5065 * international/mule.el (sgml-html-meta-auto-coding-function):
5067 (auto-coding-from-file-contents): Delete; merge functionality into
5069 (set-auto-coding): Move tests from `auto-coding-functions' so that
5070 they have a lower priority than coding: tags.
5071 Put `auto-coding-regexp-alist' tests before coding: tag tests.
5072 (sgml-xml-auto-coding-function): Simply `intern' the match, and
5073 test if it's a valid coding system.
5074 (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
5076 2002-06-08 Colin Walters <walters@verbum.org>
5078 * subr.el (copy-list): Moved here from cl.el.
5079 (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
5081 * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
5082 subr.el. Add a defalias with the old name.
5084 * emacs-lisp/cl.el (copy-list): Moved to subr.el.
5086 * replace.el (occur-mode): Don't set up categories. Do set
5087 `font-lock-defaults', and be sure to set `font-lock-core-only'.
5088 (occur-1): Pass `list-matching-lines-face' and
5089 `list-matching-lines-buffer-name-face'.
5090 (occur-engine): Use `font-lock-face' instead of categories.
5092 * info.el (Info-mode): Don't set up categories. Do set
5093 `font-lock-defaults', and be sure to set `font-lock-core-only'.
5094 (Info-fontify-menu-headers): Use `font-lock-face' instead of
5096 (Info-fontify-node): Ditto.
5098 * ibuffer.el (ibuffer-category-alist): Delete.
5099 (ibuffer-get-category): Delete.
5100 (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
5102 (ibuffer-compile-format): Don't treat `name' category specially.
5103 (ibuffer-column name): Use `font-lock-face'.
5104 (filename-and-process): Ditto.
5105 (ibuffer-buffer-name-category): Renamed to
5106 `ibuffer-buffer-name-face'. Don't use categories.
5107 (ibuffer-update-title-and-summary): Use `font-lock-face'.
5108 (ibuffer-insert-filter-group): Ditto.
5109 (ibuffer-mode): Don't set up categories. Do set
5110 `font-lock-defaults', and be sure to set `font-lock-core-only'.
5111 (ibuffer-compile-format): Don't pass third argument
5112 to column functions.
5113 (filename-and-process): Ditto.
5115 * ibuf-macs.el (define-ibuffer-column): Don't create a third
5116 argument for the generated function.
5118 * font-core.el (font-lock-category-alist): Delete.
5119 (turn-on-font-lock-if-enabled): Don't use it.
5120 (font-lock-symbol-category-alist): Delete.
5121 (font-lock-default-function): Use new `char-property-alias-alist'
5122 to make `font-lock-face' an alias for `face' when font-lock mode
5124 (font-lock-core-only): New variable.
5125 (font-lock-set-defaults): Use it.
5127 2002-06-08 Richard M. Stallman <rms@gnu.org>
5129 * files.el (find-file-noselect-1): Undo previous change.
5131 * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
5133 2002-06-07 Karl Fogel <kfogel@red-bean.com>
5135 * bookmark.el (bookmark-file-or-variation-thereof): Just use
5136 Info-suffix-list, as suggested by Stefan Monnier.
5138 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il>
5140 * select.el (xselect-convert-to-string): If VALUE is a string,
5141 return a cons of TYPE and the string.
5143 2002-06-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5145 * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
5146 Fix the table to contain correct characters.
5148 2002-06-04 Richard M. Stallman <rms@gnu.org>
5150 * simple.el: Don't require cl.
5152 2002-06-03 Richard M. Stallman <rms@gnu.org>
5154 * dired.el (dired-do-shell-command): Doc fix in autoload.
5156 * info.el (Info-extract-pointer): Ignore Info-header-line.
5158 * progmodes/cc-mode.el (c-postprocess-file-styles):
5159 Do nothing except in CC modes.
5161 * international/mule-cmds.el (select-safe-coding-system):
5162 When computing auto-cs, narrow to FROM...TO.
5163 Put save-excursion outside save-restriction.
5164 New arg FILE; use that for set-auto-coding.
5166 2002-06-01 Richard M. Stallman <rms@gnu.org>
5168 * simple.el (choose-completion-string-functions): Doc fix.
5169 (choose-completion-string): Add doc string.
5171 2002-06-01 Kim F. Storm <storm@cua.dk>
5173 * simple.el: Reworked previous change.
5174 (choose-completion-string1): Merged back into choose-completion-string.
5175 (choose-completion-string): Run choose-completion-string-functions
5176 after checking for proper minibuffer window. Added mini-p arg to
5177 the hook functions. Insert choice if all hook functions return nil.
5178 (choose-completion-string-functions): Doc update.
5180 2002-06-01 Sam Steingold <sds@gnu.org>
5182 * files.el (auto-mode-alist): Strip trailing ".in" from the file
5183 name when deciding the mode (for config.h.in, Makefile.in etc).
5185 2002-06-01 Thien-Thi Nguyen <ttn@gnu.org>
5187 * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
5188 ?/ and ?* entries to support /* */ style comments.
5189 (prolog-font-lock-keywords): New var.
5190 (prolog-mode): Enable font-locking; set `font-lock-defaults'.
5192 2002-06-01 Kim F. Storm <storm@cua.dk>
5194 * simple.el (choose-completion-string-functions): New special hook.
5195 (choose-completion-string1): Renamed from choose-completion-string.
5196 (choose-completion-string): Run choose-completion-string-functions
5197 until success, and only call choose-completion-string1 if it fails.
5199 2002-05-31 Stefan Monnier <monnier@cs.yale.edu>
5201 * textmodes/ispell.el (autoloaded toplevel): Don't use
5202 ispell-library-directory without checking that it's bound.
5204 2002-05-31 Kim F. Storm <storm@cua.dk>
5206 * emulation/cua-base.el (cua--last-deleted-region-pos)
5207 (cua--last-deleted-region-text): New aux variables.
5208 (cua-delete-region): Set them.
5209 (cua-repeat-replace-region): Use them to find the replacement text.
5211 2002-05-31 Juanma Barranquero <lektu@terra.es>
5213 * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
5216 2002-05-31 Kim F. Storm <storm@cua.dk>
5218 * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
5219 (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
5220 New custom variables.
5221 (grep-compute-defaults): Compute grep-tree-command's default value.
5222 (grep-expand-command-macros): New aux function.
5223 (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
5224 (grep-tree): New command like grep-find but extended prompting.
5226 2002-05-30 Richard M. Stallman <rms@gnu.org>
5228 * files.el (find-file-default): Add defvar for var already used.
5230 * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
5232 * subr.el (open-network-stream, open-network-stream-nowait)
5233 (open-network-stream-server, process-kill-without-query):
5234 Moved from simple.el.
5236 * simple.el (open-network-stream, open-network-stream-nowait)
5237 (open-network-stream-server, process-kill-without-query):
5240 * simple.el (byte-compiling-files-p): Function deleted.
5242 * textmodes/ispell.el (ispell-library-directory): Renamed from
5243 ispell-library-path. If Ispell is not installed, init to nil.
5244 (check-ispell-version): Doc fix.
5245 (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
5246 initialize this unconditionally when ispell-menu-map-needed is t.
5247 Local `path' renamed to `dir'.
5249 2002-05-30 Miles Bader <miles@gnu.org>
5251 * calc/calc.el (calc-show-banner): New variable.
5252 (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
5253 (calc-mode-var-list): Add `calc-show-banner'.
5254 * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
5255 (calc-toggle-banner): New function.
5256 * calc/calc-help.el (calc-d-prefix-help): Add `@'.
5258 2002-05-29 Richard M. Stallman <rms@gnu.org>
5260 * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
5261 When recognizing a def... construct, make that indentation
5262 tentative, so that it can be overridden if the list in question
5263 is not actually an expression.
5264 (common-lisp-indent-call-method): New subroutine.
5266 * emacs-lisp/bytecomp.el (batch-byte-compile-file):
5267 Delete the output file if we get a file-error.
5269 * tooltip.el (tooltip-mouse-motions-active): New variable.
5270 (tooltip-activate-mouse-motions): Don't kill track-mouse local
5271 if it was not made by us.
5273 * mouse.el (mouse-set-font): Avoid misleading error message
5274 if user makes no selection.
5276 * info.el (Info-setup-header-line): Don't hide the links line.
5278 * files.el (find-file-noselect-1): Return the buffer we created
5279 even if it has been killed within `after-find-file'.
5281 * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
5283 2002-05-29 Kim F. Storm <storm@cua.dk>
5285 * simple.el (open-network-stream-server): Pass on optional args
5286 sentinel and filter to make-network-process (from Luke Gorrie).
5288 2002-05-28 Colin Walters <walters@gnu.org>
5290 * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
5292 * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
5293 (byte-compile-delete-first): New function.
5294 (byte-compile-read-position): New variable.
5295 (byte-compile-last-position): New variable.
5296 (byte-compile-current-buffer): New variable.
5297 (byte-compile-log-1): Use it.
5298 (byte-compile-set-symbol-position): New function.
5299 (byte-compile-obsolete, byte-compile-callargs-warn)
5300 (byte-compile-arglist-warn, byte-compile-arglist-warn)
5301 (byte-compile-print-syms, byte-compile-file-form-defmumble)
5302 (byte-compile-check-lambda-list, byte-compile-lambda)
5303 (byte-compile-form, byte-compile-variable-ref)
5304 (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
5305 (byte-compile-condition-case, byte-compile-defun)
5306 (byte-compile-defvar, byte-compile-autoload)
5307 (byte-compile-lambda-form): Use it.
5308 (byte-compile-from-buffer): Set it, and bind
5309 `read-with-symbol-positions' and `read-symbol-positions-list'.
5311 * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
5313 2002-05-28 Kim F. Storm <storm@cua.dk>
5315 * files.el (read-directory-name): New function.
5316 (cd): Use it instead of read-file-name.
5318 2002-05-27 Kim F. Storm <storm@cua.dk>
5320 * simple.el (push-mark-command): Added optional NOMSG arg.
5322 * emulation/cua-base.el (cua-set-mark): Align pop to mark
5323 behaviour with standard set-mark-command.
5324 (cua--pre-command-handler): Use push-mark-command.
5325 (cua-repeat-replace-region): Improve functionality when
5326 repeated after moving point or changing buffer.
5328 2002-05-26 Colin Walters <walters@verbum.org>
5330 * startup.el (command-line): Use `when', `unless'.
5331 (command-line-1): New argument "--nosplash". Handle it.
5333 * startup.el (inhibit-splash-screen): New variable alias for
5334 `inhibit-startup-message'.
5336 * replace.el (perform-replace): Document return value. Use `pop'.
5338 2002-05-26 Glenn Morris <gmorris@ast.cam.ac.uk>
5340 * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
5341 and slightly changed behaviour, for `f90-previous-block-start' and
5342 `f90-next-block-end'.
5343 (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
5345 2002-05-26 Simon Josefsson <jas@extundo.com>
5347 * fringe.el (set-fringe-mode): Work when updating
5348 `default-frame-alist'.
5350 2002-05-26 Kim F. Storm <storm@cua.dk>
5352 * emulation/cua-base.el (cua--repeat-replace-text): New variable.
5353 (cua-repeat-replace-region): New command.
5354 (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
5355 Misc improvements to the commentary.
5357 2002-05-26 Simon Josefsson <jas@extundo.com>
5359 * fringe.el (fringe-query-style): New fringe style "minimal".
5361 2002-05-24 Simon Josefsson <jas@extundo.com>
5363 * rot13.el (rot13-translate-table): New variable.
5364 (rot13, rot13-string, rot13-region): New functions.
5366 2002-05-25 Martin Stjernholm <bug-cc-mode@gnu.org>
5368 * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
5369 of wrong anchoring, e.g. for else-if compounds.
5371 2002-05-25 Miles Bader <miles@gnu.org>
5373 * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
5374 (menu-bar-showhide-fringe-menu-customize-right)
5375 (menu-bar-showhide-fringe-menu-customize-disable):
5376 Use proper calling convention for `customize-set-value'.
5377 Require `fringe' before setting variable.
5379 2002-05-25 Kim F. Storm <storm@cua.dk>
5381 * emulation/cua-base.el (cua--self-insert-char-p): New function.
5383 * emulation/cua-gmrk.el (cua--init-global-mark): Install default
5384 binding in cua--global-mark-keymap using cua--self-insert-char-p
5385 to handle all global self inserting characters in gmark mode.
5387 * emulation/cua-rect.el (cua--init-rectangles): Install default
5388 binding in cua--rectangle-keymap using cua--self-insert-char-p
5389 to handle all global self inserting characters in rectangle mode.
5391 2002-05-24 Stefan Monnier <monnier@cs.yale.edu>
5393 * net/ange-ftp.el (read-file-name-internal): Remove the
5394 `ange-ftp' property.
5395 (ange-ftp-real-read-file-name-internal): Remove.
5397 2002-05-24 Glenn Morris <gmorris@ast.cam.ac.uk>
5399 * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
5401 (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
5402 (f90-previous-block-start): New navigation commands.
5404 2002-05-20 Simon Josefsson <jas@extundo.com>
5406 * fringe.el: New file.
5408 * menu-bar.el (menu-bar-options-save): Add fringe-mode.
5409 (menu-bar-showhide-fringe-menu): New menu.
5410 (menu-bar-showhide-menu): Add Fringe sub-menu.
5412 2002-05-23 Colin Walters <walters@verbum.org>
5414 * replace.el (occur-engine): Include all text properties except
5415 mouse-face on the newline at the end of occurences.
5417 2002-05-23 Kim F. Storm <storm@cua.dk>
5419 * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
5420 (apropos-false-hit-str, apropos-true-hit-doc): New functions.
5421 (apropos-command, apropos-value, apropos-documentation-internal)
5422 (apropos-documentation-check-doc-file)
5423 (apropos-documentation-check-elc-file): Use them to filter out
5424 false matches where only one keyword matches, but more than once.
5426 * apropos.el (apropos-show-scores, apropos-orig-regexp)
5427 (apropos-all-regexp, apropos-synonyms, apropos-words)
5428 (apropos-all-words): New variables.
5429 (aprpos-words-to-regexp, apropos-rewrite-regexp)
5430 (apropos-calc-scores, apropos-score-str, apropos-score-doc)
5431 (apropos-score-symbol): New functions.
5432 (apropos-command, apropos, apropos-value, apropos-documentation):
5433 Allow keywords in addition to regexp. Added scoring.
5434 (apropos-documentation-check-doc-file)
5435 (apropos-documentation-check-elc-file): Added scoring.
5436 (apropos-print): Sort according to score.
5438 2002-05-22 Colin Walters <walters@cis.ohio-state.edu>
5440 * info.el (Info-mode-hook): Change `font-lock-mode' to
5441 `turn-on-font-lock'.
5443 * font-core.el (font-lock-function): New variable.
5444 (font-lock-default-function): New function, created from
5446 (font-lock-mode): Just funcall `font-lock-function'.
5447 (font-lock-symbol-category-alist): New variable.
5449 2002-05-22 Markus Rost <rost@math.ohio-state.edu>
5451 * files.el (file-newest-backup): Use file-name-sans-versions.
5453 * diff.el (diff-latest-backup-file): Replace the main code by
5454 a call of file-newest-backup.
5456 2002-05-22 Mike Williams <mdub@bigfoot.com>
5458 * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
5461 2002-05-21 Stefan Monnier <monnier@cs.yale.edu>
5463 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
5464 the last patch works around the wu-ftpd misfeature that prompted
5465 the disabling of this optimization.
5467 2002-05-21 Colin Walters <walters@gnu.org>
5469 * international/mule.el (make-coding-system): Doc fixes.
5471 * international/mule.el (auto-coding-functions): New variable.
5472 (auto-coding-from-file-contents): Use it.
5473 (set-auto-coding): Update docs.
5474 (sgml-xml-auto-coding-function): New function.
5476 * international/mule-util.el (truncate-string-to-width):
5477 New optional argument `ellipsis'. Add commented-out test suite, and
5478 change coding to iso-2022-7bit.
5480 2002-05-21 Colin Walters <walters@verbum.org>
5482 * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
5483 (font-lock-multiline, font-lock-fontified, font-lock-mode)
5484 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
5485 (font-lock-global-modes): Moved to font-core.el.
5486 (font-lock-set-defaults-1): Partially moved to font-core.el.
5488 * font-core.el: New file, with functions taken from font-lock.el.
5489 (font-lock-category-alist): New variable.
5490 (font-lock-mode): Use it.
5491 (font-lock-set-defaults): Partially taken from font-lock.el.
5492 Only load font-lock.el when necessary.
5494 * loadup.el: Add font-core.el.
5496 * replace.el (occur-mode-hook): New variable.
5497 (occur-fontify-region-function): Deleted.
5498 (occur-mode): Don't use it. Set up `font-lock-category-alist'
5500 (occur-fontify-on-property): Deleted.
5501 (occur-engine): Use categories from `font-lock-category-alist'.
5503 * info.el (Info-fontify): Deleted.
5504 (Info-select-node): Don't use it.
5505 (Info-mode-hook): New variable.
5506 (Info-mode): Set up categories.
5507 (Info-fontify-menu-headers, Info-fontify-node): Use categories.
5509 * ibuffer.el (ibuffer-formats): Update docs.
5510 (ibuffer-category-alist): New variable.
5511 (ibuffer-get-category): New function.
5512 (ibuffer-compile-make-eliding-form): Use category property instead
5514 (ibuffer-compile-format): Pass current ibuffer buffer to column
5516 (ibuffer-buffer-name-category): New function.
5517 (ibuffer-compile-format): If the current column is a `name'
5518 column, figure out the appropriate category to put on it.
5519 (filename-and-process): Use category property.
5520 (ibuffer-fontify-region-function): Deleted.
5521 (ibuffer-unfontify-region-function): Deleted.
5522 (ibuffer-update-title-and-summary): Use category properties.
5523 (ibuffer-insert-filter-group): Ditto.
5524 (ibuffer-mode): Set up category properties.
5526 2002-05-21 Colin Walters <walters@debian.org>
5528 * replace.el (occur-engine): Increment globalcount all at once
5529 after searching a buffer.
5530 (occur-mode-map): Don't escape plain "o".
5532 * ibuf-macs.el (define-ibuffer-column): Add third argument
5535 * ibuffer.el (toplevel): Require font-lock, to get the face
5537 (ibuffer-use-fontification): Deleted.
5538 (column filename-and-process): New column.
5539 (ibuffer-formats): Use it by default.
5540 (ibuffer-name-map, ibuffer-mode-name-map)
5541 (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
5542 (ibuffer-do-save, ibuffer-do-toggle-modified)
5543 (ibuffer-do-toggle-read-only, ibuffer-do-delete)
5544 (ibuffer-do-kill-on-deletion-marks): Include name in definition.
5545 (ibuffer): New optional argument `formats'.
5547 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il>
5549 * indent.el (indent-rigidly): Mention how to remove all indentation.
5551 2002-05-21 Colin Walters <walters@gnu.org>
5553 * international/mule-diag.el (describe-char-after): Order display
5554 of text properties by the size of their value, for clarity.
5556 2002-05-20 Stefan Monnier <monnier@cs.yale.edu>
5558 * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
5559 (ange-ftp-file-name-completion): Don't cons unnecessarily.
5560 (ange-ftp-send-cmd): Always `cd' before doing `ls'.
5562 * wid-edit.el (widget-color-complete):
5563 * progmodes/etags.el (tags-complete-tags-table-file):
5564 * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
5566 * textmodes/outline.el (outline-reveal-toggle-invisible):
5567 Reverse the meaning of the second arg.
5569 * reveal.el (reveal-post-command): Reverse the semantics of
5570 reveal-toggle-invisible and support isearch-open-invisible-temporary.
5572 2002-05-20 Markus Rost <rost@math.ohio-state.edu>
5574 * mail/sendmail.el (mail-recover-1): Remove (debug).
5575 (mail-signature): Fix :type.
5576 (mail-default-directory): New user option.
5577 (mail, mail-recover): Use that option.
5579 2002-05-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
5581 * international/mule.el (auto-coding-alist): Use emacs-mule
5582 for auto-save files.
5584 2002-05-20 Miles Bader <miles@gnu.org>
5586 * files.el (find-file-read-args): Don't trash existing value of
5587 `minibuffer-setup-hook', just add our hook to it.
5589 2002-05-19 Markus Rost <rost@math.ohio-state.edu>
5591 * international/ucs-tables.el (unify-8859-on-encoding-mode)
5592 (unify-8859-on-decoding-mode): Change :version attributes to strings.
5594 * simple.el (yank-excluded-properties): Change :version attribute
5597 * dired.el (dired-view-command-alist): Change :version attribute
5600 * xscheme.el (xscheme-start-hook): Change :version attribute to a
5603 * find-dired.el (find-dired): Implement revert-buffer-function.
5605 * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
5607 2002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk>
5609 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
5610 (f90-get-present-comment-type): Fix earlier change.
5611 (f90-comment-indent): Doc fix.
5612 (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
5613 (f90-looking-at-if-then): Remove lets.
5614 (f90-looking-at-where-or-forall): Handle if split over lines.
5615 (f90-change-keywords): Doc fix.
5617 2002-05-19 Richard M. Stallman <rms@gnu.org>
5619 * indent.el (indent-region): Make COLUMN arg optional.
5621 * files.el (find-file-read-args): New function.
5622 (find-file, find-file-other-window, find-file-other-frame)
5623 (find-file-read-only, find-file-read-only-other-window)
5624 (find-file-read-only-other-frame): Use it.
5626 * custom.el (custom-load-symbol): Verify that LOADED is a string.
5628 * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
5629 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5630 (archive-zip-update-case): Use locate-file to decide whether
5632 (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
5634 * files.el (locate-file): Doc fix.
5636 2002-05-19 John Paul Wallington <jpw@shootybangbang.com>
5638 * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
5641 2002-05-18 Stefan Monnier <monnier@cs.yale.edu>
5643 * uniquify.el (uniquify-rationalize-file-buffer-names):
5644 Always strip the trailing / even if the file is not a directory.
5646 2002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk>
5648 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
5649 initialization in the defvar.
5650 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
5651 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
5652 (f90-font-lock-4): Move the doc strings.
5653 (f90-menu-bar-menu): New internal variable to hold the top-level menu.
5654 (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
5655 (f90-mode-abbrev-table): Initialize in the defvar, with
5656 define-abbrev-table.
5658 2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
5660 * tar-mode.el (tar-octal-time): Fix last change.
5662 2002-05-18 Markus Rost <rost@math.ohio-state.edu>
5664 * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
5665 (report-emacs-bug): Store the prompt in
5666 `report-emacs-bug-text-prompt'. Move Configuration/Important
5667 settings information after the user's report.
5668 (report-emacs-bug-hook): Unclutter by deleting the content of
5669 `report-emacs-bug-text-prompt'.
5671 2002-05-17 Thomas Morgan <tlm@pocketmail.com>
5673 * forms.el (forms-jump-record, forms-insert-record)
5674 (forms-delete-record): Calculate lines from the beginning of the
5675 accessible portion rather than from the beginning of the buffer.
5677 2002-05-16 Eli Zaretskii <eliz@is.elta.co.il>
5679 * ps-mule.el (eval-and-compile): Add a trivial replacement for a
5680 possibly missing encode-char.
5681 (ps-mule-font-info-database-bdf): Add associations for Unicode
5683 (ps-mule-font-info-database-ps-bdf): Doc fix.
5684 (ps-mule-encode-ucs2): New function for encoding Unicode characters.
5686 * tar-mode.el (tar-octal-time): Fix the last argument of logior.
5688 2002-05-16 Stefan Monnier <monnier@cs.yale.edu>
5690 * emacs-lisp/find-func.el (find-function-search-for-symbol):
5691 Find funs defined with defun-cvs-mode.
5692 (find-function-space-re): New const. Skips comments as well.
5693 (find-function-regexp, find-variable-regexp): Use it.
5695 * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
5696 (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
5697 (cvs-mode-set-flags): Don't cons unnecessarily.
5699 2002-05-16 Colin Walters <walters@debian.org>
5701 * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
5702 "Simple Calculator".
5703 (menu-bar-tools-menu) <calc>: New.
5705 2002-05-16 Juanma Barranquero <lektu@terra.es>
5707 * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
5709 * filesets.el (filesets-ormap): Fix typo.
5711 * faces.el (describe-face): Fix typo.
5713 2002-05-15 Stefan Monnier <monnier@cs.yale.edu>
5715 * emacs-lisp/easymenu.el (easy-menu-make-symbol):
5716 Don't treat (lambda () ...) as an expression.
5718 2002-05-15 John Paul Wallington <jpw@shootybangbang.com>
5720 * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
5722 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
5724 * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
5726 2002-05-14 Glenn Morris <gmorris@ast.cam.ac.uk>
5728 * progmodes/fortran.el (fortran-directive-re): New name for
5729 fortran-preprocessor-re. All usage updated.
5730 (fortran-calculate-indent): Give directives zero indentation.
5732 2002-05-14 Jason Rumney <jasonr@gnu.org>
5734 * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
5735 displayed text and internal name as string.
5737 2002-05-14 Kim F. Storm <storm@cua.dk>
5739 * emulation/cua-rect.el (cua--rectangle-operation):
5740 Don't highlight empty lines in rectangles.
5742 * emulation/keypad.el: Improved commentary.
5743 (keypad-setup, keypad-shifted-setup): Added choice to setup
5744 Numeric keypad with decimal key; value is selected character.
5745 (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
5746 (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
5747 (keypad-setup): Arg list changed to support the new options.
5749 2002-05-14 Richard M. Stallman <rms@gnu.org>
5751 * dabbrev.el (dabbrev-case-distinction): New option.
5752 (dabbrev--try-find): Handle dabbrev-case-distinction.
5753 (dabbrev--search): Clean up the code.
5754 (dabbrev-upcase-means-case-search): Doc fix.
5755 (dabbrev-case-replace): Fix custom tags and docs.
5757 2002-05-14 Jochen K
\e,A|
\e(Bpper <jochen@jochen-kuepper.de>
5759 * calc/calc-units.el (math-standard-units): Update from CODATA.
5761 2002-05-14 Stefan Monnier <monnier@cs.yale.edu>
5763 * skeleton.el (skeleton-transformation): Default to `identity'.
5764 (skeleton-insert): Use `move-after' markers and `insert' rather
5765 than rely on insert-before-markers.
5766 (skeleton-internal-1): Handle `> \n' specially so that the newline
5767 is inserted before the first line is indented.
5769 2002-05-14 Mike Williams <mdub@bigfoot.com>
5771 * textmodes/sgml-mode.el (sgml-tag):
5772 Default skeleton-transformation to `identity'.
5774 2002-05-14 Francesco Potorti` <pot@gnu.org>
5776 * shell.el (shell-mode): Make second part of initialisation
5777 depend on whether comint-input-ring is empty, rather than depend
5780 2002-05-14 Richard M. Stallman <rms@gnu.org>
5782 * files.el (make-auto-save-file-name):
5783 Delete the auto-save file after make-temp-file creates it.
5785 2002-05-13 Kim F. Storm <storm@cua.dk>
5787 * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
5788 (cua-mode): Print Enabled/Disabled messages if interactive.
5789 Disable delete-selection-mode and pc-selection-mode when cua-mode
5790 is enabled; reenable if cua-mode is turned off.
5791 Remember setting of transient-mark-mode when cua-mode is enabled;
5792 restore if cua-mode is disabled.
5794 2002-05-13 Richard M. Stallman <rms@gnu.org>
5796 * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
5798 2002-05-13 Colin Walters <walters@gnu.org>
5800 * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
5802 * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
5803 (ibuffer-redisplay-engine): Handle it.
5805 * add-log.el (add-log-mailing-address): Can be a list, too.
5806 (add-change-log-entry): If `add-log-mailing-address' is a list,
5809 2002-05-12 Colin Walters <walters@debian.org>
5811 * replace.el (occur-1): New optional argument `buf-name'.
5812 (occur-revert-function): Use it.
5814 (occur-1): Handle plurals.
5816 (occur-engine): If there are no more matches, then finish
5817 searching the current buffer.
5819 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5821 * net/ange-ftp.el (ange-ftp-try-passive-mode)
5822 (ange-ftp-passive-host-alist): Change :version attributes to be
5825 2002-05-12 Markus Rost <rost@math.ohio-state.edu>
5827 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
5830 * emacs-lisp/find-func.el (find-function-search-for-symbol):
5831 Handle more whitespace/newline combinations in symbol definitions.
5833 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il>
5836 * vc-cvs.el (vc-cvs-global-switches)
5837 (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
5838 * textmodes/sgml-mode.el (sgml-xml-mode)
5839 * ruler-mode.el (ruler-mode)
5840 * replace.el (query-replace-skip-read-only)
5841 * progmodes/fortran.el (fortran-preprocessor-re)
5842 * net/ange-ftp.el (ange-ftp-passive-host-alist)
5843 * mail/sendmail.el (mail-use-dsn)
5844 * faces.el (mode-line-inactive, minibuffer-prompt)
5845 * add-log.el (add-log-always-start-new-record): Change all
5846 post-21.1 :version attributes to 21.4.
5848 2002-05-12 Richard M. Stallman <rms@gnu.org>
5850 * mail/smtpmail.el (smtpmail-mail-address): New variable.
5851 (smtpmail-send-it): Bind and use that instead of `mail-address'.
5852 (smtpmail-via-smtp): Likewise.
5854 * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
5855 (ansi-color-apply-sequence): Avoid duplicates in combined face list.
5857 * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
5859 * subr.el (functionp): Catch errors in indirect-function.
5861 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5863 * net/ldap.el (ldap-search-internal): Unfold folded lines before
5866 * cus-edit.el (customize-set-value): Rename `var' to `variable'
5867 and `val' to `value'.
5868 (customize-save-variable): Rename `var' to `'variable.
5870 2002-05-12 Glenn Morris <gmorris@ast.cam.ac.uk>
5872 * progmodes/fortran.el (fortran-preprocessor-re): New variable.
5873 Use it for font-locking and indentation.
5874 (fortran-previous-statement, fortran-next-statement): Make them
5875 skip over preprocessor lines.
5876 (fortran-calculate-indent): Use fortran-preprocessor-re.
5878 2002-05-10 Kim F. Storm <storm@cua.dk>
5880 * emulation/cua-base.el (cua-enable-cua-keys)
5881 (cua-enable-register-prefix): Added value for `other' choice.
5883 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
5885 * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
5886 (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
5887 (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
5888 Run a named function.
5889 (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
5890 (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
5893 2002-05-10 Kim F. Storm <storm@cua.dk>
5895 * emulation/cua-base.el (cua-mode): Misc. changes to use
5896 emulation-mode-map-alists instead of minor-mode-map-alist.
5898 2002-05-09 Richard M. Stallman <rms@gnu.org>
5900 * mail/rmail.el (rmail-show-message):
5901 Catch error in check-coding-system.
5903 * progmodes/compile.el (compilation-error-regexp-alist):
5904 New element to recognize Python error messages.
5906 * shell.el (shell-replace-by-expanded-directory):
5907 If there's already a / at the end, don't add one.
5909 2002-05-09 Colin Walters <walters@verbum.org>
5911 * ibuffer.el (ibuffer-mode-map): Add :enable guards for
5912 `ibuffer-filter-disable', `ibuffer-pop-filter',
5913 `ibuffer-or-filter', `ibuffer-negate-filter',
5914 `ibuffer-decompose-filter', `ibuffer-save-filters',
5915 `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
5916 `ibuffer-save-filter-groups',
5917 `ibuffer-switch-to-saved-filter-groups',
5918 `ibuffer-delete-saved-filter-groups'.
5920 * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
5922 2002-05-09 Markus Rost <rost@math.ohio-state.edu>
5924 * woman.el (woman-menu): Move symbol before the comment so that
5925 find-function-search-for-symbol finds it.
5927 2002-05-10 Miles Bader <miles@gnu.org>
5929 * facemenu.el (list-colors-display): Don't use
5930 `display-color-cells' unless the display class is one for which
5931 that info is relevant.
5933 2002-05-09 Simon Josefsson <jas@extundo.com>
5935 * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
5937 (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
5940 2002-05-09 Kim F. Storm <storm@cua.dk>
5942 * wid-edit.el (checkbox): New check-mark image.
5944 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5946 * filesets.el (filesets-running-xemacs): Fix last change.
5948 2002-05-08 Markus Rost <rost@math.ohio-state.edu>
5950 * help-fns.el (describe-function-1): If the source is
5951 `loaddefs.el', look for the real source. This is necessary only
5954 * emacs-lisp/find-func.el (find-function-search-for-symbol):
5955 Add autoload cookie.
5956 (find-function-regexp): Include
5957 "\(quote " to match the defaliases in loaddefs.el.
5959 * filesets.el (filesets-conditional-sort): Use copy-sequence,
5961 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
5962 Defvar them to nil if running in Emacs.
5964 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5966 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
5967 to flyspell overlays.
5969 * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
5971 2002-05-08 Richard M. Stallman <rms@gnu.org>
5973 * diff.el (diff-regexp-alist): Doc fix.
5975 * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
5977 2002-05-08 Simon Marshall <simon@gnu.org>
5979 * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
5980 the frame name as the car of a menu entry, rather than the frame.
5982 2002-05-08 Juanma Barranquero <lektu@terra.es>
5984 * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
5987 2002-05-07 Colin Walters <walters@verbum.org>
5989 * replace.el (occur-unfontify-region-function): Delete.
5990 (occur-mode): Don't use it.
5991 (occur-engine): Respect `keep-props'.
5992 (occur-accumulate-lines): If we're moving forward, decrement;
5993 don't increment, and vice versa.
5995 2002-05-08 Toru Tomabechi <Toru.Tomabechi@orient.unil.ch>
5997 * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
5998 (tibetan-canonicalize-for-unicode-regexp): New variables.
5999 (tibetan-canonicalize-for-unicode-region): New function.
6000 (tibetan-strict-unicode): New variable.
6001 (tibetan-pre-write-canonicalize-for-unicode): New function.
6003 2002-05-07 Markus Rost <rost@math.ohio-state.edu>
6005 * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
6006 the autoload-cookie. Remove comment.
6008 * ffap.el (ffap): Don't hide it behind the autoload-cookie.
6010 * rect.el (close-rectangle): Don't hide it behind the
6013 2002-05-07 Juanma Barranquero <lektu@terra.es>
6015 * windmove.el (windmove-default-keybindings): Add optional
6016 parameter to allow using a modifier other than 'shift.
6018 2002-05-07 Thomas Link <t.link@gmx.at>
6021 (filesets-external-viewers): Fix customization problem.
6022 (filesets-some): Replaces cl's `some'. Calls changed.
6023 (filesets-member): Replaces cl's `member*'. Calls changed.
6024 (filesets-ormap): New function.
6026 2002-05-07 John Paul Wallington <jpw@shootybangbang.com>
6028 * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
6031 2002-05-07 Colin Walters <walters@gnu.org>
6033 * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
6034 (ibuffer-clear-filter-groups): Likewise.
6035 (ibuffer-kill-filter-group): Likewise.
6036 (ibuffer-kill-line): Likewise.
6037 (ibuffer-read-filter-group-name): New function.
6038 (ibuffer-jump-to-filter-group): Use it.
6039 (ibuffer-kill-filter-group): Likewise.
6040 (ibuffer-yank-filter-group): Likewise.
6041 (ibuffer-decompose-filter-group): New function.
6043 * ibuffer.el (ibuffer-mode-map): Bind it. Add :enable guard
6044 around `ibuffer-filters-to-filter-group' menu item. Fix :enable
6045 guards for `ibuffer-pop-filter-group' and
6046 `ibuffer-clear-filter-groups'.
6048 2002-05-06 Markus Rost <rost@math.ohio-state.edu>
6050 * emacs-lisp/find-func.el (find-function-search-for-symbol):
6051 Use with-syntax-table.
6053 2002-05-06 Francesco Potorti` <pot@gnu.org>
6055 * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
6057 2002-05-05 Markus Rost <rost@math.ohio-state.edu>
6059 * time-stamp.el (time-stamp-format): Doc fix: escape open
6060 parenthesis in column 0.
6062 2002-05-04 Richard M. Stallman <rms@gnu.org>
6064 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
6065 Handle both cases: when the menu item has cached info
6066 and when it doesn't.
6068 * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
6069 (filesets-open-file-function, filesets-save-buffer-function): Likewise.
6070 (filesets-tree-max-level): Doc fix.
6071 (filesets-commands, filesets-external-viewers)
6072 (filesets-ingroup-patterns): Mark as risky.
6073 (filesets-cache-hostname-flag): Doc fix.
6074 (filesets-menu-cache-file): Doc fix. Mark as risky.
6075 (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
6076 Don't defcustom them if running in Emacs.
6078 2002-05-04 Thomas Link <t.link@gmx.at>
6080 * filesets.el (filesets-ingroup-collect-files):
6081 Fix problem with inclusion groups' :scan-depth property.
6083 2002-05-04 Colin Walters <walters@verbum.org>
6085 * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
6086 "Default" group earlier. Push killed group on
6087 `ibuffer-filter-group-kill-ring'.
6088 (ibuffer-kill-line): Document. Don't push killed group ourselves.
6089 (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
6090 (ibuffer-insert-filter-group-before): New function, broken out
6091 from `ibuffer-yank'.
6092 (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
6094 * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
6095 (ibuffer-mode-view-menu): Unused variables; deleted.
6096 (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
6098 2002-05-04 John Paul Wallington <jpw@shootybangbang.com>
6100 * ibuffer.el (ibuffer-mode-groups-popup): New variable.
6101 (toplevel): Bind filter group menu entries in it. Add :enable
6102 forms for some menu items.
6103 (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
6104 to `ibuffer-mouse-popup-menu'.
6105 (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
6106 group name, and if so, pop up a filter group menu.
6108 2002-05-04 Jason Rumney <jasonr@gnu.org>
6110 * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
6111 (mwheel-scroll): Recognize nil scroll amount as documented.
6113 * term/w32-win.el (mouse-wheel-scroll-line)
6114 (mouse-wheel-scroll-screen): Remove.
6115 ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
6117 * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
6119 2002-05-04 Markus Rost <rost@math.ohio-state.edu>
6121 * emacs-lisp/find-func.el (find-function-search-for-symbol):
6122 Bind case-fold-search when searching.
6124 2002-05-04 Eli Zaretskii <eliz@is.elta.co.il>
6126 * apropos.el (apropos-print): Fix the reference to mouse-2.
6128 2002-05-04 Daniel Pfeiffer <occitan@esperanto.org>
6130 * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
6132 2002-05-04 Kim F. Storm <storm@cua.dk>
6134 * cus-edit.el (custom-buffer-verbose-help): New variable.
6135 (custom-buffer-create-internal): Remove verbose introduction
6136 in customization buffer when it is nil.
6138 2002-05-03 Dave Love <fx@gnu.org>
6140 * international/mule-cmds.el (select-safe-coding-system):
6141 Don't offer coding systems that use locking shift.
6142 Ask for confirmation if chosen coding system disagrees with
6143 a `coding:' spec in the file.
6145 2002-05-03 John Wiegley <johnw@gnu.org>
6147 * eshell/esh-var.el (eshell-modify-global-environment): Added this
6148 customization variable, which will cause any "export" commands
6149 within any eshell buffer to modify the global Emacs environment.
6150 It defaults to nil, which means that such commands will only
6151 modify that Eshell buffer's environment.
6152 (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
6154 * eshell/em-cmpl.el (eshell-command-completions-alist):
6155 Improve default completion targets for objdump, nm and readelf.
6157 2002-05-03 Colin Walters <walters@verbum.org>
6159 * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
6160 (gamegrid-add-score-with-update-game-score):
6161 Use `shared-game-score-directory'. Correctly handle non-setuid case.
6163 2002-05-02 Colin Walters <walters@verbum.org>
6165 * replace.el (occur-mode-map): Bind "q" to `delete-window'.
6166 (occur-1): If one of the buffers we're searching is the *Occur*
6167 buffer itself, handle it by creating a temporary buffer. If any
6168 of the buffers being searched are killed, note that in the search
6169 result message. Also, set local variables before we possibly kill
6172 2002-05-02 Kim F. Storm <storm@cua.dk>
6174 * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
6175 (menu-bar-options-save): Added cua-mode.
6176 (menu-bar-options-menu): Added toggle for cua-mode.
6177 Disable toggle for transient-mark-mode if cua-mode is enabled.
6179 * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
6182 2002-05-01 Richard M. Stallman <rms@gnu.org>
6184 * help.el (view-todo): New function.
6185 (help-map): Bind C-h C-t to view-todo.
6186 (help-for-help): Change the text.
6188 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk>
6190 * progmodes/f90.el: Yet more doc string, commment and whitespace
6192 (f90-imenu-flag): New name for internal variable f90-imenu.
6193 (f90-blocks-re, f90-program-block-re, f90-end-if-re)
6194 (f90-no-break-re): Use regexp-opt.
6195 (f90-end-type-re): Add closing "\\>".
6196 (f90-indent-region): Correctly indent comments embedded in
6198 (f90-indent-new-line): Make it indent the current line, as it should.
6199 (f90-line-continued, f90-get-present-comment-type)
6200 (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
6201 (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
6202 (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
6203 (f90-change-keywords): Minor code tidying.
6205 * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
6206 typo `fortran-strip-sqeuence-nos'.
6208 2002-05-01 Eli Zaretskii <eliz@is.elta.co.il>
6210 * simple.el (clone-indirect-buffer-other-window): Fix a typo in
6213 2002-05-01 Kim F. Storm <storm@cua.dk>
6215 * emulation/cua-base.el (cua--pre-command-handler):
6216 Only interpret delete-selection property if mark-active.
6217 (cua-mode): Fixed require in defcustom.
6219 2002-05-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6221 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
6224 2002-05-01 Colin Walters <walters@verbum.org>
6226 * textmodes/tex-mode.el (tex-validate-buffer):
6227 Use `occur-revert-arguments' instead of setting `occur-nlines' and
6228 `occur-buffer'. Don't test for `input-pending-p' in loop.
6229 Set text property `occur-target' instead of `occur'.
6231 2002-04-30 John Wiegley <johnw@gnu.org>
6233 * align.el (align-region): Fixed the fix to align-region, because
6234 the "name" argument was appearing twice.
6236 2002-05-01 Martin Stjernholm <bug-cc-mode@gnu.org>
6238 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
6239 to handle protection labels, one which doesn't get confused by
6242 * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
6243 functions that have "class" or "struct" in the return type as
6246 2002-04-30 Kim F. Storm <storm@cua.dk>
6248 * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
6249 Options" to "New Options..."; rephrase tooltip.
6250 Rephrase tooltip for "Specific Option...".
6251 Added "Saved Options" item. [from Simon Marshall]
6253 2002-04-30 Richard M. Stallman <rms@gnu.org>
6255 * time.el (display-time-mail-directory)
6256 (display-time-mail-function): Doc fixes.
6258 * ediff-hook.el: Remove autoload cookies.
6260 * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
6262 * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
6264 * align.el (align-region): Fix call to `message'.
6265 Check that (car rule) is a symbol.
6267 * autoinsert.el (auto-insert-directory): Doc fix.
6269 * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
6271 * descr-text.el: New file, broken out of facemenu.el.
6273 * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
6275 2002-04-29 Markus Rost <rost@math.ohio-state.edu>
6277 * mail/emacsbug.el (report-emacs-bug-hook):
6278 Use replace-match only if search was successful.
6280 2002-04-29 Richard M. Stallman <rms@gnu.org>
6282 * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
6284 * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
6285 if the user edits the Emacs version number in the text.
6287 * filesets.el (filesets-running-xemacs): Make defvar unconditional.
6288 (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
6289 (filesets-error): Simplify definition and make conditional
6290 on filesets-running-xemacs.
6291 (filesets-find-file-using): Renamed from fsfind-file-using.
6293 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
6295 * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
6296 (Info-read-node-name-1): Complete file names.
6297 (Info-complete-menu-item): Don't cons unnecessarily.
6299 * files.el (locate-file): New fun.
6300 (locate-file-completion): Rename from load-completion and generalize.
6301 (load-library): Use it.
6302 (make-auto-save-file-name): Expand caddr.
6304 * newcomment.el (comment-fill-column): New var.
6305 (comment-indent): Use it.
6306 (comment-or-uncomment-region): New fun.
6307 (comment-dwim): Use it.
6309 2002-04-29 Colin Walters <walters@verbum.org>
6311 * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
6312 (ibuffer-kill-line): Copy the filter group data structure when killing.
6313 (ibuffer-yank): Handle case where we're yanking on the default
6315 (ibuffer-delete-saved-filter-groups): Doc fix.
6317 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6318 Test whether or not update-game-score is setuid, and do the right
6321 2002-04-29 Kim F. Storm <storm@cua.dk>
6323 * subr.el (remove-yank-excluded-properties): New helper function.
6324 (insert-for-yank, insert-buffer-substring-as-yank): Use it.
6326 * simple.el (yank-excluded-properties): Added help-echo to list.
6328 2002-04-29 Glenn Morris <gmorris@ast.cam.ac.uk>
6330 * autoinsert.el (auto-insert-directory): Doc fix.
6332 * progmodes/f90.el: Add/change doc strings for many inline
6333 functions. Whitespace changes.
6334 (f90-indent-line-no, f90-update-line): Minor code changes.
6336 2002-04-29 Kim F. Storm <storm@cua.dk>
6338 * emulation/cua-base.el: New file.
6340 * emulation/cua-rect.el: New file.
6342 * emulation/cua-gmrk.el: New file.
6344 * emulation/keypad.el: New file.
6346 2002-04-29 Triet Hoai Lai <thlai@ee.usyd.edu.au>
6348 * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
6349 (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
6350 New Vietnamese coding system.
6352 * language/viet-util.el: Update Commentary section.
6354 2002-04-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6356 * filesets.el (filesets-data): Doc fix.
6357 (filesets-running-xemacs): Define even when compiling.
6359 * recentf.el (recentf-cancel-dialog): Remove dot at the end of
6362 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
6364 * textmodes/fill.el (fill-context-prefix): Fix last change with
6365 yet-another-approach.
6367 2002-04-28 Markus Rost <rost@math.ohio-state.edu>
6369 * net/ange-ftp.el (ange-ftp-passive-host-alist)
6370 (ange-ftp-bs2000-additional-pubsets): Fix custom type.
6372 * files.el (small-temporary-file-directory): Fix custom type.
6374 2002-04-28 Glenn Morris <gmorris@ast.cam.ac.uk>
6376 * progmodes/f90.el (f90-xemacs-flag): New variable.
6377 (f90-mark-subprogram-overlay): New variable.
6378 (f90-mark-subprogram): Now it highlights the subprogram.
6379 (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
6380 Fix highlighting of various "type" forms.
6382 2002-04-28 Colin Walters <walters@verbum.org>
6384 * ibuffer.el (ibuffer-mode): Additional documentation on filter
6387 2002-04-28 John Paul Wallington <jpw@shootybangbang.com>
6389 * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
6390 ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
6392 2002-04-28 Richard M. Stallman <rms@gnu.org>
6394 * mail/sendmail.el (mail-recover-1): Decrease non-random-len
6395 by 1 for the newly-readded #.
6397 * files.el (make-auto-save-file-name): Specify # as suffix
6398 in the non-file-visiting case.
6400 * subr.el (make-temp-file): New arg SUFFIX.
6402 * filesets.el: New file.
6404 * replace.el (occur-accumulate-lines): Avoid incf and decf.
6405 (occur-engine-add-prefix): New function.
6406 (occur-engine): Avoid using macrolet, incf and decf.
6407 Use occur-engine-add-prefix instead.
6408 Rename `l' to `lines' and `c' to `matches'.
6410 * replace.el (occur-engine, occur-mode-mouse-goto)
6411 (occur-mode-find-occurrence, occur-mode-goto-occurrence)
6412 (occur-mode-goto-occurrence-other-window)
6413 (occur-mode-display-occurrence): A position is just a marker,
6416 * replace.el (occur-revert-arguments):
6417 Renamed from occur-revert-properties. All uses changed.
6419 2002-04-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6421 * recentf.el (recentf-menu-before): Use string to specify path in
6424 * international/mule-cmds.el (read-language-name): Take care of
6427 2002-04-27 Richard M. Stallman <rms@gnu.org>
6429 * custom.el (custom-load-symbol): Moved from cus-edit.el.
6430 (custom-load-recursion): Likewise.
6432 * cus-edit.el (custom-load-symbol): Moved to custom.el.
6433 (custom-load-recursion): Likewise.
6435 * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
6436 generated by easymenu are now lowercase.
6438 2002-04-27 Richard M. Stallman <rms@gnu.org>
6440 * menu-bar.el (menu-bar-update-buffers): Add menu items
6441 Next Buffer and Previous Buffer.
6443 * simple.el (next-buffer, prev-buffer): New commands.
6444 Bind C-x left and C-x right to them.
6446 * info.el (Info-header-line): Mark it as risky-local-variable.
6448 * subr.el (insert-for-yank): Replace `category' property
6449 with whatever properties it stands for.
6451 * subr.el (member-ignore-case): Ignore non-strings in LIST.
6453 2002-04-27 Miles Bader <miles@gnu.org>
6455 * faces.el (read-face-name): Format the prompt correctly when
6458 2002-04-26 Andrew Choi <akochoi@shaw.ca>
6460 * term/mac-win.el: Don't call ediff-toggle-multiframe.
6461 Set default directory. Set process-connection-type to nil.
6463 2002-04-26 Richard M. Stallman <rms@gnu.org>
6465 * loadup.el: Explicitly load cus-face and timer.
6467 * isearch.el: Don't require timer.
6469 * faces.el: Don't require cus-face.
6471 * cus-edit.el (customize-face): Use read-face-name
6472 and handle multiple faces.
6473 (customize-face-other-window): Make it work similarly.
6475 * faces.el (read-face-name): New defaulting features.
6476 New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
6477 (list-faces-display): Use the face, not its name string,
6478 as arg when running customize-face.
6479 Put a `read-face-name' prop on the entire line.
6480 (describe-face): Handle multiple faces via read-face-name.
6482 * textmodes/tex-mode.el (tex-start-options): New variable.
6483 (tex-start-commands): New variable.
6484 (tex-start-options-string): Variable deleted.
6485 (tex-start-tex): Use tex-start-options and tex-start-commands,
6486 not tex-start-options-string.
6487 (tex-command): Doc fix.
6489 2002-04-26 Sam Steingold <sds@gnu.org>
6491 * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
6492 not in the authinfo/netrc, keep `cred' at nil.
6494 2002-04-26 Gerd Moellmann <gerd@gnu.org>
6496 * find-file.el: Remove Ada-specific example code.
6498 2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
6500 * ediff-hooks.el: Put back the autoloads.
6502 2002-04-25 Colin Walters <walters@verbum.org>
6504 * ibuffer.el (define column process): Use `ibuffer-aif'.
6506 * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
6508 (ibuffer-yank): Be sure to `setq' after we use `nconc'.
6509 (ibuffer-save-filter-groups): Correctly structure filter groups.
6510 (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
6513 2002-04-25 Simon Josefsson <jas@extundo.com>
6515 * mail/sendmail.el (mail-use-dsn): New variable to request
6516 delivery status notification from MTA.
6517 (sendmail-send-it): Use it.
6519 * mail/smtpmail.el (smtpmail-queue-counter): New variable.
6520 (smtpmail-send-it): Use it to construct new queue filenames
6521 (needed if you send more than one message per second, which is
6522 possible if you use Gnus Agent).
6524 * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
6526 (smtpmail-try-auth-methods): Support netrc data.
6527 (netrc-parse): Autoload netrc.
6529 2002-04-25 Colin Walters <walters@verbum.org>
6531 * replace.el (multi-occur-by-filename-regexp): Doc fix.
6532 (occur-engine): Go to `point-min'. Make nlines argument actually
6533 mean number of context lines. Handle it. Pad digits to the right.
6535 * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
6536 `ibuffer-filter-groups'. All users updated.
6537 (ibuffer-show-empty-filter-groups): New variable.
6538 (ibuffer-saved-filter-groups): New variable.
6539 (ibuffer-maybe-save-stuff): Renamed from
6540 `ibuffer-maybe-save-saved-filters'. Callers updated.
6541 Handle `ibuffer-saved-filter-groups'.
6542 (ibuffer-hidden-filtering-groups): Renamed to
6543 `ibuffer-hidden-filter-groups'.
6544 (ibuffer-filter-group-kill-ring): New variable.
6545 (ibuffer-save-with-custom): Doc fix.
6546 (ibuffer-set-filter-groups-by-mode): New function.
6547 (ibuffer-clear-filter-groups): New function.
6548 (ibuffer-current-filter-groups-with-position): Renamed from
6549 `ibuffer-current-filter-groups'. Callers updated.
6550 (ibuffer-kill-filter-group): New function.
6551 (ibuffer-kill-line): New function.
6552 (ibuffer-yank): New function.
6553 (ibuffer-save-filter-groups): New function.
6554 (ibuffer-delete-saved-filter-groups): New function.
6555 (ibuffer-switch-to-saved-filter-groups): New function.
6556 (ibuffer-mark-on-buffer): Add optional arguments for adding a
6557 specific mark, and marking on a specific group.
6559 * ibuffer.el (ibuffer-formats): Doc fix.
6560 (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
6561 Bind new functions from ibuf-ext.el. Add menu entries for them.
6562 Remove superfluous tooltips.
6563 (ibuffer-toggle-marks): If on a group name, then toggle marks just
6565 (ibuffer-mark-interactive): Handle filter groups.
6566 (ibuffer-mark-forward, ibuffer-unmark-forward)
6567 (ibuffer-mark-for-delete, ibuffer-unmark-backward)
6568 (ibuffer-mark-for-delete-backwards): Update docs.
6569 (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
6570 to `ibuffer-current-filter-groups-with-position'.
6571 (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
6572 (ibuffer-mode): Add some documentation about filter groups.
6574 2002-04-25 Andreas Schwab <schwab@suse.de>
6576 * find-dired.el (find-name-dired): Don't quote pattern twice.
6578 2002-04-26 Miles Bader <miles@gnu.org>
6580 * cus-edit.el (customize-face, customize-face-other-window):
6581 Use default instead of initial-input for suggested face.
6583 2002-04-25 Gerd Moellmann <gerd@gnu.org>
6585 * cus-edit.el (customize-face-other-window, customize-face):
6586 Interactively, when point is on text with a face, suggest to
6587 customize that face.
6589 2002-04-25 Glenn Morris <gmorris@ast.cam.ac.uk>
6591 * progmodes/f90.el: General tidy-up of commentary and some doc
6594 2002-04-24 Glenn Morris <gmorris@ast.cam.ac.uk>
6596 * scroll-all.el (scroll-all-function-all) New function to do the
6598 (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
6599 scroll-all-page-down-all, scroll-all-page-up-all,
6600 scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
6601 Make them use scroll-all-function-all.
6603 * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
6604 with line-beginning-position.
6605 (f90-get-end-of-line): Removed and replaced with line-end-position.
6606 (f90-match-piece): Removed and replaced with match-string.
6607 (f90-current-indentation): Remove `current-column'.
6608 (f90-get-present-comment-type): Use match-string rather than
6610 (f90-match-end): Use line-beginning-position, line-end-position
6611 rather than beginning-of-line, end-of-line.
6612 (f90-startup-message): Variable removed.
6614 2002-04-24 Colin Walters <walters@verbum.org>
6616 * replace.el (occur-accumulate-lines): Add optional argument
6617 `no-props'. Handle it.
6618 (occur-engine): Use it.
6620 * ibuf-ext.el (toplevel): Remove byte-compile-dynamic. Try to set
6621 up autoloads manually.
6622 (ibuffer-split-list): New function.
6623 (ibuffer-filtering-groups): New variable.
6624 (ibuffer-hidden-filtering-groups): New variable.
6625 (ibuffer-mouse-toggle-filter-group): New function.
6626 (ibuffer-toggle-filter-group): New function.
6627 (ibuffer-toggle-filter-group-1): New function.
6628 (ibuffer-forward-filter-group): New function.
6629 (ibuffer-backward-filter-group): New funtion.
6630 (ibuffer-generate-filter-groups): New function.
6631 (ibuffer-filters-to-filter-group): New function.
6632 (ibuffer-pop-filter-group): New function.
6633 (ibuffer-jump-to-filter-group): New function.
6634 (ibuffer-do-occur): Just use `occur-read-primary-args'
6636 * ibuffer.el (ibuffer-filter-group-name-face): New.
6637 (ibuffer-mode-map): Bind and add menu entries for most new
6638 functions; also, bind the arrow keys to the movement functions.
6639 (ibuffer-mode-filter-group-map): New.
6640 (ibuffer-mouse-toggle-mark): Handle group names.
6641 (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
6642 (ibuffer-skip-properties): New function.
6643 (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
6644 group names. Also, handle new properties.
6645 (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
6646 Move error handling to `ibuffer-current-buffer'.
6647 (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
6648 (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
6649 (ibuffer-toggle-marks): Add optional group argument.
6650 (ibuffer-mark-interactive): Skip group names.
6651 (ibuffer-current-buffer): Clean up error handling.
6652 (ibuffer-fontify-region-function): Fontify group names.
6653 (ibuffer-map-lines): Add extra group argument. Handle it.
6654 (ibuffer-current-filter-groups): New function.
6655 (ibuffer-redisplay): Handle hidden filtering groups.
6656 (ibuffer-sort-bufferlist): New function, taken from
6657 `ibuffer-insert-buffers-and-marks'.
6658 (ibuffer-insert-filter-group): New function.
6659 (ibuffer-redisplay-engine): Renamed from
6660 `ibuffer-insert-buffers-and-marks'. Handle new filtering groups.
6661 (ibuffer): Add filter-groups argument. Handle it.
6662 Use `save-selected-window'.
6663 (ibuffer-mode): Make `ibuffer-filtering-groups' and
6664 `ibuffer-hidden-filtering-groups' buffer-local.
6666 * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
6668 2002-04-24 Richard M. Stallman <rms@gnu.org>
6670 * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
6671 (easy-menu-define-key-intern): Function deleted; callers intern
6672 and then call easy-menu-define-key.
6673 (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
6674 (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
6675 (easy-menu-name-match): New function.
6676 (add-submenu): New function.
6677 (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
6679 2002-04-24 Eli Zaretskii <eliz@is.elta.co.il>
6681 * menu-bar.el (menu-bar-adv-search-menu)
6682 (menu-bar-adv-search-menu): Improve the help text.
6684 2002-04-24 Simon Josefsson <jas@extundo.com>
6686 * net/netrc.el: New file.
6688 2002-04-24 Thomas DeWeese <tdeweese@rochester.rr.com>
6690 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
6691 Check if any of the available selection sources has new content
6692 and if so it will return that content.
6694 2002-04-24 Miles Bader <miles@gnu.org>
6696 * menu-bar.el (buffers-menu-show-directories)
6697 (buffers-menu-show-status): New variables.
6698 (menu-bar-update-buffers-1): Use them.
6700 2002-04-24 Martin Stjernholm <mast@lysator.liu.se>
6702 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
6703 from `c-do-auto-fill' and point is at or near the limit of the
6704 comment. Fixed bug when the prefix from `c-guess-fill-prefix'
6705 is longer than the text on the first line of the comment when
6708 2002-04-24 Miles Bader <miles@gnu.org>
6710 * menu-bar.el (menu-bar-update-buffers-1): Make sure
6711 `uniquify-buffer-name-style' is bound.
6713 2002-04-23 Colin Walters <walters@verbum.org>
6715 * replace.el (toplevel): Require `cl' while compiling.
6716 (occur-buffer, occur-nlines): Delete.
6717 (occur-revert-properties): Rename to `occur-revert-properties'.
6718 (occur-mode): Handle it. Set up font lock.
6719 (occur-revert-function): Simply apply `occur-1'.
6720 (occur-mode-find-occurence, occur-mode-mouse-goto)
6721 (occur-mode-goto-occurrence-other-window)
6722 (occur-mode-display-occurrence): Handle buffer property.
6723 (list-matching-lines-face): Use defcustom.
6724 (list-matching-lines-buffer-name-face): New variable.
6725 (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
6727 (occur-read-primary-args): Move out of `occur'.
6728 (occur): Delete. Now simply call `occur-1'.
6729 (multi-occur, multi-occur-by-filename-regexp): New functions.
6730 (occur-1): New function.
6731 (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
6732 previous implementation of `occur'; taken from ibuf-ext.el.
6733 (occur-fontify-on-property): New function.
6734 (occur-fontify-region-function, occur-unfontify-region-function):
6737 * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
6739 * ibuf-ext.el (ibuffer-depropertize-string): Delete.
6740 (ibuffer-occur-match-face): Delete.
6741 (ibuffer-occur-props, ibuffer-occur-mode): Delete.
6742 (ibuffer-occur-mouse-display-occurence): Delete.
6743 (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
6744 (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
6745 (ibuffer-occur-engine): Moved to replace.el.
6746 (ibuffer-do-occur): Simply call `occur-1'.
6748 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6749 Handle the case where we're already viewing the score file.
6751 2002-04-23 Andreas Schwab <schwab@suse.de>
6753 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
6756 2002-04-23 Miles Bader <miles@gnu.org>
6758 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
6759 directory separator if there's no directory. Don't display
6760 directories at all if uniquify is active. Some code cleanup.
6761 (uniquify-buffer-name-style): Declare (but don't initialize).
6763 * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
6764 for command menu entries, since the low-level menu code modifies
6765 them. Cache the resulting list.
6766 (menu-bar-buffers-menu-command-entries): New variable.
6768 * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
6769 Add separator line before commands
6770 Remove old crufty code that tried to line things up by adding
6771 spaces to entries (it doesn't work).
6772 Move `Frames' submenu after the normal buffers, and add a
6773 separator line before it.
6774 (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
6776 2002-04-22 Richard M. Stallman <rms@gnu.org>
6778 * files.el (after-find-file): Use %s to output MSG.
6780 * dired.el (dired-mouse-find-file-other-window):
6781 Handle events that move out of the window.
6783 2002-04-23 Martin Stjernholm <mast@lysator.liu.se>
6785 * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
6786 was moved to the following line when it was at the first line
6787 of a block comment where comment-start-skip matched to eol.
6789 2002-04-22 Richard M. Stallman <rms@gnu.org>
6791 * simple.el (line-move-finish): Find beg and end of line
6792 before calling line-move-to-column. Do consider intangible
6793 when finding the end. Take more care in analyzing the results
6794 of intangibility after line-move-to-column.
6796 2002-04-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6798 * international/mule-diag.el (list-input-methods-1): Doc fix
6799 (LEIM is now part of the standard distribution).
6801 * tmm.el (tmm-completion-prompt): Doc fix.
6803 * hilit-chg.el (global-highlight-changes): Capitalize status texts.
6805 2002-04-22 Edward M. Reingold <reingold@emr.cs.iit.edu>
6807 * diary-lib.el (include-other-diary-files): Allow modifying
6808 included buffer, to turn off selective display.
6810 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
6812 * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
6813 pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
6814 emacsen that doesn't support it.
6816 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
6818 * progmodes/cc-align.el, progmodes/cc-engine.el,
6819 progmodes/cc-styles.el, progmodes/cc-vars.el
6820 (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
6821 Find correct anchor for statement-cont in top level constructs.
6822 Analyze variable initializations in top level constructs as
6823 topmost-intro-cont instead of statement-cont. That is an
6824 incompatible change but it gives better consistency. The new
6825 lineup function c-lineup-topmost-intro-cont' compensates for
6826 it and is now put on topmost-intro-cont by default.
6828 * progmodes/cc-align.el, progmodes/cc-engine.el,
6829 progmodes/cc-langs.el (c-lineup-argcont): Lineup function
6830 contributed by Kevin Ryde.
6832 (c-in-gcc-asm-p): Function to recognize asm statements.
6833 Contributed by Kevin Ryde.
6835 (c-opt-asm-stmt-key): New language variable to recognize the
6836 beginning of asm statements.
6838 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
6840 * progmodes/cc-engine.el (c-guess-basic-syntax):
6841 Detect variable declarations after class and struct declarations
6842 correctly. Fixed limit error when finding the anchor for
6843 template-args-cont and topmost-intro-cont.
6845 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
6847 * progmodes/cc-cmds.el (c-beginning-of-defun)
6848 (c-declaration-limits): Find the "line oriented" declaration
6849 start too, just like the "line oriented" end is found.
6851 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
6853 * progmodes/cc-vars.el (c-offsets-alist): A more sane default
6854 for `inexpr-statement'. This is not compatible, though.
6855 I think the benefit of a good default style outweights that in
6856 this case. Besides, `inexpr-statement' is not very common.
6858 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
6860 * progmodes/cc-cmds.el (c-electric-delete-forward):
6861 Fix silly bug that caused it to delete backwards in hungry delete
6862 mode. (It's amazing that this bug hasn't been reported.)
6864 * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
6865 Extracted the code to get the declaration limits from
6866 `c-mark-function' to a new `c-declaration-limits'.
6868 (c-indent-defun): Use the same method to get the limits of the
6869 declaration or macro as `c-mark-function'.
6871 * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
6872 list initializers correctly (but costly; it ought to be
6873 integrated into `c-beginning-of-statement-1').
6875 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
6877 * progmodes/cc-cmds.el, progmodes/cc-engine.el
6878 (c-beginning-of-defun, c-end-of-defun, c-mark-function):
6879 Rewritten to detect the declaration limits better.
6880 Now handles K&R argdecls, class definitions followed by variables etc.
6882 (c-in-knr-argdecl): Broke out the K&R argdecl test in
6883 `c-beginning-of-decl-1' to this new function.
6885 (c-end-of-statement-1, c-end-of-decl-1):
6886 Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
6887 handles declarations that continue after the block.
6889 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
6890 Added an option to restrict matching to the top level of the
6893 * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
6894 New regexp to recognize declarations that continue after the block.
6896 (c-syntactic-eol): New regexp to match a "syntactic" eol.
6898 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
6900 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
6901 that often caused the backward limit to be lost at the top
6902 level. This improves performance a bit.
6904 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
6905 New function that works like `re-search-forward' but only returns
6906 matches in syntactically significant text.
6908 * progmodes/cc-engine.el: Fixed a faster and more accurate way
6909 to recognize K&R argdecls.
6911 (c-beginning-of-decl-1): New function that put point at the
6912 beginning of the declaration. It handles K&R argdecl blocks.
6914 (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
6915 code with one that doesn't depend on the current indentation.
6916 The anchor position for `knr-argdecl' has also changed, but in
6917 a way that is unlikely to cause compatibility problems.
6919 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
6921 * progmodes/cc-defs.el, progmodes/cc-engine.el
6922 (c-forward-comment): `forward-comment' in XEmacs skips over
6923 line continuations in the backward direction. Correct for
6924 that. Also made this a defun since it has grown too large now
6927 * progmodes/cc-langs.el: More convenient and decentralized
6928 setup of the language specific variables. The regexp-opt
6929 mangling is also done at compile time now.
6931 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
6933 * progmodes/cc-cmds.el (c-indent-line-or-region):
6934 Call `c-indent-line' directly instead of through
6935 `indent-according-to-mode' so that this function always
6936 indents syntactically.
6938 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
6939 where a class beginning with a nested class could cause an
6940 infinite loop (the state outside the narrowed out class is
6943 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
6945 * progmodes/cc-align.el, progmodes/cc-cmds.el,
6946 progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
6947 the context sensitive analysis inside macros is restricted to
6948 the bodies of #define's; other things, like #if expressions,
6949 never have anything in common with their surroundings.
6950 The old `cpp-macro-cont' syntax is now used in situations where
6951 the syntactic analysis isn't applicable, and a new syntactic
6952 element `cpp-define-intro' is used to add indentation in
6955 (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
6956 better reflect its use.
6958 * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
6959 continuation backslashes in the detection of `arglist-cont-nonempty'.
6961 * progmodes/cc-align.el: Use the vector form in the return
6962 value in all cases where lineup functions return absolute columns.
6964 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
6966 * progmodes/cc-engine.el (c-add-stmt-syntax)
6967 (c-guess-basic-syntax): Anchor `brace-list-intro' and
6968 `bracec-list-close' better for brace lists nested inside expressions.
6970 * progmodes/cc-engine.el, progmodes/cc-langs.el,
6971 progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
6972 various language specific variables and their initialization.
6973 The keyword regexps are now lists that are combined with
6974 regexp-opt. Some variables have changed names to fit better
6975 with the naming convention.
6977 * progmodes/cc-defs.el, progmodes/cc-vars.el
6978 (c-buffer-is-cc-mode): The value is the mode symbol of the
6979 original CC Mode mode.
6981 (c-major-mode-is): Compare against the buffer local variable
6982 `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
6984 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
6986 * progmodes/cc-engine.el (c-forward-syntactic-ws)
6987 (c-backward-syntactic-ws, c-forward-token-1)
6988 (c-backward-token-1, c-in-literal, c-literal-limits)
6989 (c-collect-line-comments, c-literal-type, c-on-identifier)
6990 (c-guess-basic-syntax): These functions are now considered part
6991 of the "CC Mode API" and may be used by other code.
6992 That's signified by making their documentation into docstrings.
6994 (c-whack-state, c-hack-state, c-skip-case-statement-forward):
6995 Removed these internal functions since they aren't used.
6997 (c-forward-to-cpp-expression): Classified this function as internal.
6999 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7001 * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
7002 Simplified these regexps; the class keywords they contain
7003 ought to be enough to avoid false matches, so checking for
7004 following identifiers etc is just unnecessary (and might also
7005 fail for oddly formatted code).
7007 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7009 * progmodes/cc-engine.el, progmodes/cc-cmds.el
7010 (c-forward-comment-lc): New function that behaves like
7011 `c-forward-comment', with the exception that line
7012 continuations are treated as whitespace.
7014 (c-beginning-of-statement): Use `c-forward-comment-lc', to
7015 work correctly in macros and other places where line
7016 continuations should be treated as whitespace.
7018 * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
7019 normal label in a switch block as a case label, to get
7020 consistent lineup with the case labels.
7022 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
7023 in skipping over a macro that ends with an empty line.
7025 * progmodes/cc-styles.el: Require cc-align since styles added
7026 with `c-add-style' often contains references to functions
7027 defined there, and so the `c-valid-offset' check might
7028 otherwise complain on them.
7030 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7032 * progmodes/cc-align.el, progmodes/cc-mode.texi,
7033 progmodes/cc-vars.el: Added two new lineup functions:
7035 (c-lineup-knr-region-comment): A new lineup function to get
7036 (what most people think is) better indentation of comments in
7037 the "K&R region" between the function header and its body.
7039 (c-lineup-gcc-asm-reg): New lineup function for better
7040 indentation inside gcc asm blocks. Contributed by Kevin Ryde.
7042 (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
7043 `c-lineup-knr-region-comment' in the default offset
7044 configuration, since these two functions have little impact
7045 outside their intended use, and they generally do the right
7046 thing when they kick in.
7048 * progmodes/cc-engine.el (c-guess-continued-construct)
7049 (c-guess-basic-syntax): Handle nested functions in all
7050 languages, not just Pike. In C and C++ there's a gcc
7051 extension for this, and it also gives better treatment of
7052 macros that are followed by blocks.
7054 * progmodes/cc-langs.el (c-symbol-key): Made this variable
7055 mode specific, to handle Pike special symbols like `== better.
7057 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7059 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
7060 progmodes/cc-vars.el (c-report-syntactic-errors): A new
7061 variable to control the syntactic error messages. It defaults
7062 to off; since CC Mode ignores most syntactic errors it might
7063 as well ignore them all for the sake of consistency.
7065 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7067 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
7068 Optimization. Can give a noticeable speedup if there's a
7069 large preceding function or class body.
7071 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7073 * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
7074 efficient and correct insertion functions in many places.
7075 Always inherit text properties correctly if the text is
7076 permanent. Also do it for speed in temporary insertions,
7077 since I figure it's less work to continue the surrounding text
7078 properties than to break them.
7080 * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
7081 completion to make it easier to enter lists.
7083 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7085 * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
7086 c-state-cache was clobbered.
7088 * progmodes/cc-cmds.el, progmodes/cc-engine.el
7089 (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
7092 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7094 * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
7095 open parens in macros (if point isn't in the same one).
7097 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7099 * progmodes/cc-cmds.el (c-context-open-line): New function
7100 that is the `open-line' equivalent to `c-context-line-break'.
7102 * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
7103 for Emacs 21 since `indent-new-comment-line' has been changed
7104 to `comment-indent-new-line' there.
7106 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7108 * progmodes/cc-engine.el, progmodes/cc-langs.el
7109 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
7110 New variables containing the character sets used to recognize
7111 statement/declaration boundaries. These variables might help
7112 to support languages like javascript and awk, where newlines
7113 sometimes delimits statements.
7115 (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
7116 the set of statement delimiting characters, to allow it to be
7117 changed dynamically and per-mode.
7119 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7121 * progmodes/cc-engine.el (c-looking-at-bos)
7122 (c-looking-at-inexpr-block, c-add-stmt-syntax)
7123 (c-guess-basic-syntax): Treat blocks directly inside function
7124 calls like "bare" statements inside function calls, and not
7125 like in-expression statements. This to make indentation of
7126 such blocks consistent with other statements inside macro calls.
7128 * progmodes/cc-engine.el (c-guess-basic-syntax):
7129 Made arglist-cont anchor correctly in arglists that contain statements.
7131 * progmodes/cc-engine.el (c-guess-basic-syntax):
7132 Fixed consistent anchoring of defun-block-intro in defuns in code
7133 blocks (can only occur in Pike).
7135 * progmodes/cc-engine.el (c-looking-at-inexpr-block)
7136 (c-looking-at-inexpr-block-backward): Changed the arguments to
7137 require containing sexps and paren state, for better efficiency.
7139 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7141 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
7142 progmodes/cc-vars.el: Improved anchoring of statement and
7143 handling of labels in front of substatements.
7145 (c-guess-continued-construct, c-guess-basic-syntax):
7146 Improved and unified anchoring at statements. Statements beginning
7147 with comments or labels are now avoided, by going out of
7148 blocks and containing statements if necessary. This nesting
7149 handling also fixes the case when there's a statement after a
7150 block open brace. Added the syntactic symbol `substatement-label'.
7152 (c-electric-colon): Map the new `substatement-label' to
7153 `label' when consulting `c-hanging-colons-alist'.
7155 (c-offsets-alist): Added substatement-label. Updated the
7156 comments for the new anchoring positions at statements.
7158 * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
7159 anchor points for knr-argdecl-intro and access-label.
7160 They used to refer to some point on the same line, a bug which was
7161 neutralized by a kludge in `c-get-syntactic-indentation' which
7162 ignored such anchor points.
7164 (c-get-syntactic-indentation): Removed the kludge that was
7165 necessary due to buggy anchor points.
7167 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
7168 the absence of a comma before arglist-close (case 7A) in any
7169 language, since there's nothing better to do that case anyway.
7170 Added special case to make in-expression statements be
7171 recognized as normal arglist-cont if we're directly in a macro
7172 arglist, for consistency with other "bare" statements.
7174 * progmodes/cc-engine.el (c-looking-at-bos): Added optional
7175 limit arg for backward searches.
7177 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
7178 Anchor gcc in-expression statements at the surrounding open
7179 parenthesis. Treat a class body as an in-expression class if
7180 it's used in an object clone expression in Pike.
7182 * progmodes/cc-engine.el (c-get-offset)
7183 (c-get-syntactic-indentation): Allow several anchor positions
7184 in the list of syntactic symbols. Only the first is used as
7185 the base for the offset calculation.
7187 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7189 * progmodes/cc-cmds.el (c-indent-defun): Indent the current
7190 macro if inside one at the top level. Do not throw an error
7191 if used at the top level outside a macro.
7193 * progmodes/cc-cmds.el (c-backslash-region): Do tab width
7194 alignment only if the backslashes can't be aligned with
7195 surrounding backslashes.
7197 * progmodes/cc-engine.el (c-end-of-macro): New function.
7199 * progmodes/cc-engine.el (c-least-enclosing-brace):
7200 Rewritten to not be destructive.
7202 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7204 * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
7205 line break when point is inside the content of it; if it's in
7206 the cpp keyword a normal line break is done.
7208 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
7209 cpp-macro-cont inside the argument list to a #define.
7211 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7213 * progmodes/cc-defs.el (c-forward-comment): Implemented a
7214 kludge to avoid the problem most forward-comment incarnations
7215 have with `\' together with comment parsing.
7217 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7219 * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
7220 which could cause the state returned by `c-parse-state' to
7221 lack a closed paren element. That in turn could result in
7222 very long searches, since it's common that they start from the
7223 last preceding close brace.
7225 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7227 * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
7228 treat else-if as a single continuation, since that'd make it
7229 hard to get the right anchor point when there's a line break
7230 between the two keywords. This change causes else-clause to
7231 be anchored on the closest preceding else-if and not always on
7232 the starting if, but that doesn't affect the indentation for
7233 any reasonably sane style. Also introduced a noerror flag.
7235 (c-beginning-of-closest-statement): Removed;
7236 c-beginning-of-statement-1 now avoids the problem this one solved.
7238 * progmodes/cc-engine.el (c-guess-continued-construct)
7239 (c-guess-basic-syntax): Better and more uniform anchor points
7240 for 'statement-cont and 'substatement. The effect is
7241 noticeable mostly when there's a label on the same line as the
7242 beginning of the statement, or when there are more stuff
7243 before the start of the statement.
7245 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
7246 Added flag to disable looking at the type of the surrounding paren
7247 since that confuses c-beginning-of-statement-1 and a couple of
7250 * progmodes/cc-engine.el (c-guess-basic-syntax):
7251 Avoid stepping to the previous statement in case 18.
7252 Improvements in recognition of statement blocks on the top level.
7254 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7256 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7257 (c-crosses-statement-barrier-p): Rewritten to get a well
7258 defined and documented behavior. This fixes some tricky cases
7259 in recognition of do-while constructs.
7261 (c-backward-to-start-of-do, c-backward-to-start-of-if):
7262 Removed; use c-beginning-of-statement-1 instead.
7264 (c-guess-continued-construct, c-guess-basic-syntax):
7265 Various fixes to not depend on the bugs previously in
7266 c-beginning-of-statement-1. Cleanups in cases 18 and 17 to
7267 use the new behavior of c-beginning-of-statement-1 better.
7268 Fixed recognition of catch blocks inside macros.
7270 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
7271 in skipping over a macro.
7273 * progmodes/cc-langs.el (c-label-kwds): New variable to
7274 contain the appropriate c-*-label-kwds value.
7276 * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
7277 evaluation bug that caused the widget for
7278 c-block-comment-prefix to bug out.
7280 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7282 * progmodes/cc-engine.el (c-guess-basic-syntax):
7283 Improved recognition of statements: They are now recognized in
7284 contexts where they normally can't occur, e.g. on the top level or
7285 in function call arguments. This is mainly useful to recognize
7286 statements in macros at the top level, and in arguments to
7287 macros. The cases has been moved around quite a bit, and case
7288 10 has been copied to case 18. (The cases has not been
7289 renumbered because of this.)
7291 (c-guess-continued-construct): New function which has the
7292 rules which are common between cases 10 and 18.
7294 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7295 (c-backward-to-start-of-do, c-backward-to-start-of-if):
7296 Fixes so that they really obey the passed limits.
7298 (c-safe-position): Return nil if the state doesn't contain a
7301 (c-guess-basic-syntax): Fixes some too short limits in calls
7302 to c-beginning-of-statement-1. Some fixes for top level
7303 analysis in ObjC mode.
7305 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7306 Fixed bug in do-while statements where the body is not a block.
7308 * progmodes/cc-styles.el (c-set-style):
7309 Reset c-special-indent-hook to its global value if in override mode.
7310 Fixes problem where functions on that hook remained after
7313 * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
7314 Use c-benign-error to report the c-strict-syntax-p error.
7316 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7318 * progmodes/cc-align.el, progmodes/cc-defs.el,
7319 progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
7320 Several fixes to treat macros as code and not literals and to
7321 handle line continuations transparently.
7323 (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
7324 through whitespace and line continuations, but not comments
7327 (c-in-literal): No longer recognizes macros as literals by
7328 default. An extra flag argument is required to do that.
7330 (c-macro-start, c-query-macro-start)
7331 (c-query-and-set-macro-start): Added a cache for the macro
7334 (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
7335 more speed when limits are given. Workaround for bad behavior
7336 in forward-comment in some emacsen when it hits a buffer limit
7337 with a large repeat count.
7339 (c-lineup-macro-cont): Improved behavior when
7340 c-syntactic-indentation-in-macros is nil.
7342 (c-syntactic-indentation-in-macros, c-backslash-max-column)
7343 (c-auto-align-backslashes): New customization variables to
7344 control macro handling.
7346 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
7347 Fixes to handle line continuations.
7349 * progmodes/cc-defs.el, progmodes/cc-styles.el
7350 (c-get-style-variables, c-set-offset): Report style errors
7351 with message and ding instead of error signal. This to avoid
7352 interrupted mode init if there's some style problem.
7354 (c-benign-error): New macro to report errors that doesn't need
7355 to interrupt the operation.
7357 * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
7359 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7361 * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
7362 Removed most of the c-state-cache fiddling, since the global
7363 state cache now handles this.
7365 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
7366 when there's an open paren at the very first char of the
7367 visible buffer region.
7369 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
7370 Cache the state globally and invalidate it below every buffer
7371 change with the new after change function
7372 `c-check-state-cache'. This gives a considerable performance
7373 boost when editing large functions or classes.
7375 * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
7377 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7379 * progmodes/cc-engine.el, progmodes/cc-langs.el,
7380 progmodes/cc-align.el: Improvements to syntactic analysis
7383 (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
7384 by `c-guess-basic-syntax'.
7386 (c-parse-state): Fixed bug with braces inside macros when
7387 using cached state info.
7389 (c-forward-to-cpp-expression): New function to aid in
7390 syntactic analysis inside macros.
7392 (c-beginning-of-statement-1, c-backward-syntactic-ws):
7393 Fixes to work better inside macros.
7395 (c-forward-syntactic-ws): Whitespace between the # and the
7396 command should be allowed in preprocessor directives.
7398 (c-lineup-macro-cont): New lineup function to get context
7399 sensitive indentation inside macros.
7401 (c-offsets-alist): Made `c-lineup-macro-cont' the default for
7404 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7406 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7407 (c-forward-syntactic-ws): Fixes to handle continued lines.
7409 (c-backward-to-start-of-if, c-guess-basic-syntax):
7410 Do syntactic analysis inside macros.
7412 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7414 * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
7415 possible by the more flexible state cache.
7417 * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
7418 (c-whack-state-after, c-hack-state)
7419 (c-narrow-out-enclosing-class, c-guess-basic-syntax):
7420 Improved the state cache system. It now can use partial info from
7421 an old cached state to calculate a new one at a different
7422 position. Removed some kludges to avoid the state cache.
7423 The new functions `c-whack-state-before' and `c-whack-state-after'
7424 replace the now obsolete `c-whack-state'.
7426 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7427 Optimized backing through a macro. This can speed things up
7428 quite a bit when there are long macros before point.
7430 (c-beginning-of-macro): Do not ignore the limit.
7432 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7434 * progmodes/cc-cmds.el (c-electric-continued-statement):
7435 Fixed a bug where the keyword wasn't reindented correctly if
7436 followed by another keyword or identifier.
7438 * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
7439 pairs that are in macros. Fixes some cases where e.g. the
7440 second of two "do { } while (0)" macros after each other
7441 indented differently.
7443 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7445 * progmodes/cc-engine.el (c-beginning-of-macro)
7446 (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
7447 directive when it begins a line, to allow for script
7448 interpreter lines like "#!/usr/bin/pike" at the beginning of
7451 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7453 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
7454 Recognize brace blocks inside a parenthesis expression as
7455 inexpr-statement. Useful when writing statements as macro arguments.
7457 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7459 * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
7460 (c-mask-comment): Broke out the comment masking code from
7461 `c-fill-paragraph' to a new function `c-mask-comment', to be
7462 able to do the same thing in `c-do-auto-fill'. This should
7463 make auto-fill-mode behave better.
7465 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7467 * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
7468 Check `executing-macro' to avoid blinking parens when macros
7471 * progmodes/cc-mode.el, progmodes/cc-styles.el
7472 (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
7473 consistency with `c-setup-paragraph-variables' (which was
7474 placed there due to the dependency from `c-set-style').
7476 * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
7477 incomplete initialization from the style variable fallbacks if
7478 there already is a style called "user" defined when CC Mode
7479 starts up for the first time.
7481 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7483 * progmodes/cc-cmds.el, progmodes/cc-vars.el
7484 (c-comment-indent, c-indent-comment-alist): Added new variable
7485 `c-indent-comment-alist' to allow better control over
7488 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7490 * progmodes/cc-align.el (c-lineup-C-comments): Try to match
7491 both `comment-start-skip' and the comment prefix on the
7492 current line with the comment starter, so that we line up
7493 comments which matches `c-comment-prefix-regexp' on the first
7494 line (after the `/') without the need to make
7495 `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
7497 * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
7498 (c-set-style-1, c-setup-paragraph-variables): Moved the
7499 variable initialization based on `c-comment-prefix-regexp' to
7500 a new function `c-setup-paragraph-variables', which is now
7501 used both at mode init and when a style that sets
7502 `c-comment-prefix-regexp' is activated.
7504 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7506 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
7507 Better handling of C++ template args to avoid confusion with
7508 `<' and `>' used as operators in member init expressions.
7510 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7512 * progmodes/cc-engine.el (c-most-enclosing-brace)
7513 (c-least-enclosing-brace): Added optional second arg to limit
7514 the search to before a certain point.
7516 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
7517 which could cause incorrect analysis if a cached state is used
7518 (usually only happens when an electric key reindents a line).
7520 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7522 * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
7523 insulation. This time for XEmacs 21.
7525 * progmodes/cc-engine.el, progmodes/cc-langs.el:
7526 Improved handling of inheritance lists:
7528 (c-beginning-of-inheritance-list): Rewritten to use a more
7529 syntactically correct method that doesn't get confused by
7530 badly placed linebreaks and comments.
7532 (c-guess-basic-syntax): Several fixes to the handling of
7533 inheritance lists in combination with templates. 'inher-intro
7534 is now anchored on the start of the class declaration and not
7535 the indentation of the current line. Switched places on cases
7536 5D.3 and 5D.4 and made them use more syntactically correct methods.
7538 (c-inher-key): Removed since the code in
7539 `c-guess-basic-syntax' now uses token-based search.
7541 * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
7542 Added a submenu to access some toggles.
7544 (c-toggle-syntactic-indentation): New function to toggle the
7545 variable `c-syntactic-indentation'.
7547 * progmodes/cc-styles.el (c-set-style): Improved the error
7548 message for incorrect offsets a bit.
7550 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7552 * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
7553 sexp follows point immediately, instead find the closest
7554 following open paren that ends on another line.
7556 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7558 * progmodes/cc-align.el (c-lineup-cascaded-calls):
7559 New indentation function.
7561 * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
7562 directives with whitespace between the '#' and the name.
7564 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7566 * progmodes/cc-engine.el (c-forward-syntactic-ws)
7567 (c-backward-syntactic-ws): Handle line continuations as
7568 whitespace. Don't move past a macro if that'd take us past
7571 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7573 * progmodes/cc-engine.el (c-beginning-of-macro)
7574 (c-forward-syntactic-ws): Multiline strings begin with `#"' in
7575 Pike, and that shouldn't be confused with a preprocessor directive.
7577 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7579 * progmodes/cc-cmds.el: Extended the kludge to interoperate
7580 with the delsel and pending-del packages wrt to the new
7581 function `c-electric-delete-forward'.
7583 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7585 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
7586 the block itself, i.e. only indent the contents in it.
7588 * progmodes/cc-styles.el (c-set-style): Use the default
7589 argument to completing-read instead of initial-contents, if
7590 the function is recent enough to support it.
7592 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7594 * progmodes/cc-mode.el (c-mode-help-address):
7595 Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
7596 I've almost never seen a bug reported this way that should go
7597 to that list, but it's rather common that the reports concern
7598 the combination CC Mode and XEmacs instead.
7600 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7602 * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
7603 brace-elseif-brace and brace-catch-brace are active and
7604 there's a "else if"-block before the catch block.
7606 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
7607 Detect function headers that span lines.
7609 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7611 * progmodes/cc-cmds.el (c-electric-brace)
7612 (c-electric-semi&comma, c-electric-colon, c-electric-paren):
7613 Check for last on line only for doing the auto-newline-mode
7614 stuff, not for the reindentation.
7616 * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
7617 handling of c-syntactic-indentation: When it's nil, indent the
7618 new lines but don't reindent the current one. Reindent the
7619 line only when the inserted brace comes first on it, instead
7622 * progmodes/cc-cmds.el (c-electric-brace)
7623 (c-electric-semi&comma): Fixed two places where
7624 c-syntactic-indentation wasn't heeded.
7626 * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
7629 * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
7630 little harder to find a fallback position when an orphan else
7631 is found. Fixed case where an else following a do-while
7632 statement could be associated with an if inside the do-while.
7634 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7636 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
7637 for the fallback to add a single space after the comment prefix.
7639 * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
7640 behavior in some special cases, especially for single-line comments.
7641 Avoid breaking up a comment starter or ender.
7643 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7645 * progmodes/cc-cmds.el (c-outline-level): Applied patch from
7646 the Emacs sources to make this work in invisible text.
7648 * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
7649 not be confused by a later ':' on the same line as the label.
7651 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7653 * progmodes/cc-cmds.el, progmodes/cc-mode.el
7654 (c-electric-delete, c-electric-delete-forward):
7655 Split `c-electric-delete' into two functions where
7656 `c-electric-delete-forward' always deletes forward and
7657 `c-electric-delete' only contains the code necessary for
7658 XEmacs to choose between backward and forward deletion.
7659 `c-electric-delete-forward' is now bound to C-d to get the
7660 electric behavior on that key too.
7662 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7664 * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
7665 use of c-comment-prefix-regexp, which caused an error when
7668 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7670 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
7671 (c-default-style): Removed the hardcoded switch to "java" style
7672 in Java mode. It's instead taken care of by the default value
7673 for c-default-style.
7675 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
7677 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
7678 was triggered by equal signs in string literals.
7680 2002-04-21 Kim F. Storm <storm@cua.dk>
7682 * subr.el (insert-buffer-substring-no-properties): New function.
7683 (insert-buffer-substring-as-yank): New function.
7685 2002-04-21 Glenn Morris <gmorris@ast.cam.ac.uk>
7687 * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
7688 (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
7689 prefix from scroll commands. Ignore end-of-buffer errors from
7691 (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
7693 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
7696 * files.el: (auto-mode-alist): .f95 files in f90-mode.
7698 * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
7699 a DO statement irrespective of numeric label.
7701 2002-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
7703 * files.el (auto-save-file-name-transforms): Doc fix.
7704 Add third element to "uniquify" filenames.
7705 (make-auto-save-file-name): Use new element of
7706 auto-save-file-name-transforms.
7707 * startup.el (command-line): Add third element to
7708 auto-save-file-name-transforms.
7710 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
7712 * files.el (file-name-non-special): Don't mangle the 0'th arg and the
7713 return value of file-name-completion and file-name-all-completions.
7715 2002-04-19 Glenn Morris <gmorris@ast.cam.ac.uk>
7717 * progmodes/f90.el: Update maintainer.
7718 (f90-line-continued): Recognize blank/comment lines embedded in
7720 (f90-looking-at-program-block-start): No extra indentation after
7721 function or subroutine keyword appears in single quotes.
7723 2002-04-19 Miles Bader <miles@gnu.org>
7725 * custom.el (customize-mark-to-save, customize-mark-as-set)
7726 (custom-quote): Moved here from `cus-edit.el'.
7727 * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
7728 (custom-quote): Moved to `custom.el'.
7730 2002-04-18 Richard M. Stallman <rms@gnu.org>
7732 * facemenu.el (list-text-properties-at): Command deleted.
7734 * rect.el (insert-rectangle): Use insert-for-yank.
7736 * register.el (insert-register): Use insert-for-yank.
7737 (describe-register-1): Discard text props in yank-excluded-properties.
7739 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
7740 Fix parts in construction of `menu-item' item at end.
7742 * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
7744 * subr.el (insert-for-yank): New function.
7746 * simple.el (yank-excluded-properties): New user option.
7747 (yank-pop, yank): Use insert-for-yank.
7749 2002-04-19 Kim F. Storm <storm@cua.dk>
7751 * simple.el (pop-to-mark-command): Do not set this-command.
7752 (set-mark-command): Always jump to mark when called with arg.
7754 2002-04-18 Francesco Potorti` <pot@gnu.org>
7756 * comint.el (comint-watch-for-password-prompt): Remove whitespace
7757 at the beginning of password prompts.
7759 2002-04-18 Andrew Innes <andrewi@gnu.org>
7761 * facemenu.el: Remove require of wid-edit.
7763 2002-04-17 Colin Walters <walters@verbum.org>
7765 * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
7767 (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
7768 (ibuffer-current-state-list): Reinstate optional argument; now
7769 just call `point' inside the mapping function.
7771 2002-04-17 Francesco Potorti` <pot@gnu.org>
7773 * dired-aux.el (dired-star-subst-regexp)
7774 (dired-quark-subst-regexp): New constants.
7775 (dired-do-shell-command, dired-shell-stuff-it): Use them.
7776 (dired-do-shell-command): Raise an error if both `*' and `?'
7777 substitution marks are used in the same command.
7778 (dired-shell-stuff-it): Substitute all instances of `*' and `?'
7779 in a command given via dired-do-shell-command.
7781 * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
7783 2002-04-16 Jason Rumney <jasonr@gnu.org>
7785 * international/mule-cmds.el (locale-preferred-coding-systems):
7788 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
7790 * term.el (term-emulate-terminal): Fix last change.
7792 2002-04-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7794 * bindings.el (mode-line-mode-menu): Update names to reflect
7797 2002-04-16 Mike Williams <mdub@bigfoot.com>
7799 * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
7802 2002-04-16 Michael Kifer <kifer@cs.stonybrook.edu>
7804 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
7805 (viper-ex-print-buf-name): New variable.
7806 (viper-ex-print-buf): New variable.
7807 (ex-token-alist): Invoke ex-print on ":print" Ex commands.
7808 (ex-g-marks): New variable.
7809 (ex-print): New function.
7810 (ex-print-display-lines): New function.
7812 * viper.el (viper-set-hooks): Add window-setup-hook, which sets
7815 * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
7816 when the window is not in its own frame.
7817 (ediff-clone-buffer-for-region-comparison): More robust window
7818 arrangement while prompting for regions to compare.
7819 (ediff-make-cloned-buffer): Use generate-new-buffer-name.
7820 (ediff-inferior-compare-regions): Deleted unused vars
7821 ctl-buf and quit-now.
7823 2002-04-15 Richard M. Stallman <rms@gnu.org>
7825 * facemenu.el (facemenu-add-new-face): Use this only for faces.
7827 (facemenu-add-new-color): New function.
7828 (facemenu-set-foreground, facemenu-set-background):
7829 Use facemenu-add-new-color.
7831 2002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
7833 * ediff-init.el (ediff-current-diff-face-A)
7834 (ediff-current-diff-face-B, ediff-current-diff-face-C)
7835 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
7836 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
7837 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
7838 (ediff-even-diff-face-B, ediff-even-diff-face-C)
7839 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
7840 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
7841 (ediff-odd-diff-face-Ancestor): Add special color definitions for
7842 tty and MS-DOS displays.
7844 2002-04-15 Andrew Innes <andrewi@gnu.org>
7846 * facemenu.el: Require wid-edit.
7848 2002-04-15 Miles Bader <miles@gnu.org>
7850 * faces.el (highlight): Force foreground to be black on a tty, so
7851 this face is readable on a dark-background tty.
7852 * wid-edit.el (widget-field-face, widget-single-line-field-face):
7855 2002-04-14 Kim F. Storm <storm@cua.dk>
7857 * simple.el (pop-to-mark-command, push-mark-command): New commands.
7858 (set-mark-command): Use them.
7859 Enhanced functionality when command is repeated:
7860 - If first command set the mark (no prefix arg), repeat temporarily
7861 enables transient-mark-mode.
7862 - If first command jumped to mark off ring (with argument),
7863 repeat (with or without arg) jump to next mark off ring.
7864 - Use C-u C-u prefix to set mark after jump.
7865 (exchange-point-and-mark): Temporarily enable transient-mark-mode
7868 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7870 * speedbar.el (speedbar-tag-hierarchy-method)
7871 (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
7873 2002-04-14 Mike Williams <mdub@bigfoot.com>
7875 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
7876 beginning of buffer.
7878 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7880 * speedbar.el (speedbar-generic-item-info)
7881 (speedbar-sort-tags): Doc fix.
7882 (speedbar-add-supported-extension): Fix typo in interactive spec.
7884 2002-04-13 Colin Walters <walters@verbum.org>
7886 * ibuffer.el (ibuffer-forward-line): Just skip header if we're
7887 only moving one line forward.
7888 (ibuffer-map-lines): Preserve point position even if we delete
7889 lines. Only call mapping functions with buffer and mark
7890 arguments; the other two were unused.
7891 (ibuffer-redisplay, ibuffer-update): Always skip special areas.
7893 * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
7895 * calc/calc-bin.el (math-format-radix-float): Use `when'.
7897 * calc/calc.el (math-format-number): Load `calc-ext' before we
7898 call `math-group-float'.
7900 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7901 Renamed from `gamegrid-add-score'.
7902 (gamegrid-add-score-insecure): Restored from the old
7903 `gamegrid-add-score'.
7904 (gamegrid-add-score): Just dispatch on `system-type' to one of the
7905 previous two functions.
7907 2002-04-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7909 * iswitchb.el: Update commentary to include new function
7910 iswitchb-exclude-nonmatching.
7912 2002-04-12 John Wiegley <johnw@gnu.org>
7914 * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
7915 operating systems to the regexp used to detect a script's interpreter.
7917 2002-04-12 Eli Zaretskii <eliz@is.elta.co.il>
7919 * frame.el (frames-on-display-list): Use `equal' to compare the
7920 `display' frame parameter to the argument DISPLAY.
7922 2002-04-12 Dave Love <fx@gnu.org>
7924 * help.el (string-key-binding): Deal with margin events.
7926 2002-04-12 Francesco Potorti` <pot@gnu.org>
7928 * comint.el (comint-password-prompt-regexp): Match " SMB password".
7930 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
7932 * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
7934 * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
7936 * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
7937 (buffer-syntactic-context-depth): New funs.
7939 * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
7942 * emacs-lisp/debug.el (debug-on-entry): Use push.
7943 (debugger-make-xrefs): Don't assume point-min == 1.
7945 * progmodes/cc-engine.el (c-backward-to-start-of-if):
7946 Don't assume point-min == 1.
7948 * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
7949 (etags-list-tags, etags-tags-apropos, select-tags-table):
7950 Don't assume point-min == 1.
7952 2002-04-12 Mike Williams <mdub@bigfoot.com>
7954 * textmodes/sgml-mode.el (sgml-guess-indent): New function.
7956 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
7958 * textmodes/fill.el (fill-context-prefix): Fix up last change.
7960 * simple.el (line-move): Use memq rather than or.
7961 (transpose-sexps): Don't presume as much of forward-sexp's behavior.
7962 (do-auto-fill): Use fill-move-to-break-point.
7963 (syntax-code-table): Remove.
7965 * textmodes/fill.el (canonically-space-region): Obey sentence-end.
7966 Don't add spaces at end of sentences at end of line.
7967 (fill-move-to-break-point): Make sure the result is always greater
7968 than linebeg, so we ensure forward progress.
7969 (fill-region-as-paragraph): Compare to `to' rather than eobp.
7970 (fill-paragraph): Don't rebind fill-paragraph-function.
7972 2002-04-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7974 * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
7976 2002-04-11 Andreas Schwab <schwab@suse.de>
7978 * files.el (file-name-non-special): Handle return value of t from
7979 `file-name-completion'.
7981 2002-04-10 Stefan Monnier <monnier@cs.yale.edu>
7983 * textmodes/fill.el (fill-context-prefix): Match the two prefixes
7984 differently to avoid pathological exponential-time case.
7985 (adaptive-fill-regexp): Add ! and %.
7986 (fill-delete-prefix): Remove indentation while removing prefix.
7987 (fill-delete-newlines): Obey sentence-end.
7988 (fill-move-to-break-point, fill-newline): New functions extracted
7989 from fill-region-as-paragraph.
7990 (fill-region-as-paragraph): Use them.
7991 Don't fiddle with fill-indent-according-to-mode.
7993 2002-04-10 Colin Walters <walters@verbum.org>
7995 * play/snake.el (snake-score-file): Default to just "snake-scores".
7997 * play/tetris.el (tetris-score-file): Likewise.
7999 * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
8000 use `update-game-score'.
8002 * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
8003 (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
8004 ourselves; take it as an argument. Caller updated.
8005 (ibuffer-mode): Make mode-class special.
8007 2002-04-10 Richard M. Stallman <rms@gnu.org>
8009 * dired.el (dired-view-command-alist): New variable.
8010 (dired-view-file): Use external viewers for some files names.
8012 * mouse.el (mouse-drag-region-1): Display region highlight
8013 only in the selected window.
8015 * subr.el (remove-hook): When there are no more local hooks,
8016 kill the buffer-local value.
8018 * isearch.el (isearch-mode): Don't call make-frame-visible
8019 if frame is already visible.
8021 * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
8023 2002-04-09 Emmanuel Briot <briot@act-europe.fr>
8025 * progmodes/ada-prj.el: Add support for the new project file
8026 fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
8027 Fix widget handling for Emacs 21. ada-mode now only supports a single
8028 active project file, instead of one per buffer. This is far less
8031 * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
8032 (ada-func-or-proc-name): Get real subprogram name, after change in
8035 * progmodes/ada-xref.el: Ada-mode no longer supports a different
8036 project file per buffer. This was too complex. Instead, there is
8037 now a single active project file at any given time, and the user
8038 can switch the active one through the Ada menu. This revision
8039 also provides better handling of the Windows command line, and the
8040 various available shells on that platform. ada-mode is now fully
8041 integrated with the GNU visual debugger gvd, see
8042 http://libre.act-europe.fr.
8043 (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
8044 This is only available with GNAT 3.14.
8045 (ada-prj-gnatfind-switches, ada-cd-command): New variable.
8046 (ada-quote-cmd): New function.
8047 (ada-initialize-runtime-library): Get the location of the actual
8048 runtime the compiler will be using, including support for
8049 cross-platform environments.
8050 (ada-treat-cmd-string): Add support for the new variable
8051 ${full_current} add support for debug-pre-cmd and debug-post-cmd,
8052 two commands to run just prior to running the debugger, and just
8053 after starting it. This provide better support for cross-platform
8054 and remote debugging.
8055 (ada-get-absolute-dir): Remove, replace with expand-file-name.
8056 (ada-gdb-application): New parameter executable-name.
8057 (ada-get-ali-file-name): Better handling of separate packages.
8058 Checkin on behalf of the ada-mode maintainer.
8060 * progmodes/ada-mode.el (ada-case-exception-file)
8061 (ada-indent-handle-comment-special): New variables.
8062 (ada-case-exception-substring): New variable. Casing exceptions
8063 can now also be defined for substrings, in addition to full
8064 identifier names. This provides more flexibility.
8065 (ada-align-list): New fun, provide support for align.el in ada-mode.
8066 (ada-procedure-start-regexp): Add support for operators and
8067 generic formal subprograms and packages.
8068 (ada-imenu-comment-re): New variable.
8069 (ada-imenu-generic-expression): Add support for protected types.
8070 (ada-mode): Set comment-start only after running ada-mode-hook, so
8071 that the user can change ada-comment-start in the hook.
8072 Add support for ispell in comments. Add support for align.el.
8073 (ada-save-exception-file, ada-create-case-exception-substring)
8074 (ada-adjust-case-substring): New functions.
8075 (ada-get-current-indent): Properly handles keywords with uppercases.
8076 (ada-goto-matching-end): Rewritten, fixes problems in the handling
8078 (ada-untab-hard): Do not touch the contents of comments and strings.
8080 2002-04-09 Mike Williams <mdub@bigfoot.com>
8082 * textmodes/sgml-mode.el (sgml-lexical-context):
8083 Use sgml-parse-tag-backward to find start point.
8084 (sgml-looking-back-at): Doc fix.
8086 2002-04-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8088 * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
8091 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
8093 * autorevert.el (auto-revert-mode, global-auto-revert-mode):
8094 Use define-minor-mode.
8095 (auto-revert-buffers): Use with-current-buffer.
8096 Avoid changing the minor modes.
8098 * international/iso-acc.el (iso-accents-accent-key): Use `vector'
8099 rather than char-to-string since last-input-char can be any event.
8101 * international/titdic-cnv.el (tit-dictionary):
8102 Use defvar for non-constants.
8104 * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
8105 (global-cwarn-mode): Use easy-mmode-define-global-mode.
8106 (cwarn-font-lock-keywords): New function.
8107 Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
8108 (cwarn-font-lock-match): New macro.
8109 (cwarn-font-lock-match-assignment-in-expression)
8110 (cwarn-font-lock-match-dangerous-semicolon)
8111 (cwarn-font-lock-match-reference): Use it.
8113 * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
8114 Use defvar rather than defconst since it's meant to be settable.
8115 (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
8116 (cperl-fix-line-spacing): Add missing \ in [ t].
8118 * loadup.el: Call ucs-unify-8859 directly rather than
8119 unify-8859-on-encoding-mode.
8120 (fns-*.el): Don't use it anymore. Keep the load-history in purespace.
8122 * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
8123 (sgml-mode): Use it for comment-line-break-function.
8125 2002-04-08 Jason Rumney <jasonr@gnu.org>
8127 * international/mule-cmds.el (reset-language-environment):
8128 Handle coding-systems not being defined yet.
8130 2002-04-08 Sam Steingold <sds@gnu.org>
8132 * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
8133 (vc-cvs-checkin): Use it.
8135 2002-04-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8137 * files.el (display-time-string): Fix last change.
8139 2002-04-07 Sam Steingold <sds@gnu.org>
8141 * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
8143 2002-04-07 Jason Rumney <jasonr@gnu.org>
8145 * international/mule-cmds.el (set-default-coding-systems)
8146 (reset-language-environment): Preserve eols on
8147 default-process-coding-system.
8148 (coding-system-change-text-conversion): Fix case where CODING is nil.
8150 2002-04-07 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8152 * subr.el (play-sound): Move here from simple.el.
8154 * simple.el (play-sound): Move to subr.el.
8156 2002-04-06 Richard M. Stallman <rms@gnu.org>
8158 * files.el (display-time-string-forms): Mark as risky.
8160 * enriched.el (enriched-decode-foreground, enriched-decode-background):
8161 Use proper format for desired elts of `face' property.
8162 Don't test display-color-p; make the properties unconditionally.
8164 * progmodes/compile.el (compilation-error-regexp-alist):
8165 New alternatives for FILE:LINE.COL and for ranges of columns and lines.
8167 2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
8169 * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
8170 for customization type.
8171 Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
8173 2002-04-06 Mike Williams <mdub@bigfoot.com>
8175 * textmodes/xml-lite.el: Remove.
8177 2002-04-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8179 * simple.el (play-sound): New function (uses play-sound-internal).
8181 2002-04-04 Richard M. Stallman <rms@gnu.org>
8183 * files.el (mode-line-format, mode-line-modified)
8184 (mode-line-mule-info, mode-line-buffer-identification)
8185 (mode-line-modes, mode-line-position): Explicitly mark as risky.
8186 (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
8188 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
8190 * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
8191 Use (syntax-table), not old-syntax-table.
8193 * enriched.el (enriched-decode-foreground)
8194 (enriched-decode-background): Don't call facemenu-get-face.
8196 2002-04-04 Mike Williams <mdub@bigfoot.com>
8198 * textmodes/sgml-mode.el: Add missing require.
8199 (sgml-lexical-context): Fix up CDATA detection for boundary cases.
8201 2002-04-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
8203 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
8204 spot indicated by text property `cvs-goal-column', if present.
8206 * pcvs-info.el (cvs-fileinfo-pp): Use text property
8207 `cvs-goal-column' to indicate position of file name (if present).
8209 2002-04-03 Richard M. Stallman <rms@gnu.org>
8211 * mail/mailabbrev.el (mail-abbrev-complete-alias):
8212 Call mail-abbrev-make-syntax-table.
8214 * format.el (format-deannotate-region): Doc fix.
8216 * enriched.el (enriched-face-ans): Delete special treatment
8217 for fg:... and bg:... faces.
8218 (enriched-decode-foreground): Return a list that specifies
8219 the foreground color, rather than creating a face.
8220 (enriched-decode-background): Likewise.
8222 * shell.el (shell-mode): Don't reinit comint-input-ring
8223 if that was already done.
8225 2002-04-03 Edward M. Reingold <reingold@emr.cs.iit.edu>
8227 * solar.el (solar-spring-or-summer-season): Delete.
8228 (solar-northern-spring-or-summer-season): New variable.
8229 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
8232 * solar.el (diary-sabbath-candles-minutes): New variable.
8233 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
8235 * calendar.el (update-calendar-mode-line): Force mode-line update.
8236 Make date under the cursor available as `date' in
8237 calendar-mode-line-format.
8238 Eval items in calendar-mode-line-format list.
8240 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
8241 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
8243 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
8245 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
8246 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
8247 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8248 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
8250 * cal-tex.el: Change all instances (interactive "P") to
8252 (cal-tex-cursor-month): Add hfill and newline at end of month that
8254 (cal-tex-preamble): Change to LaTeX2e.
8255 (cal-tex-cursor-filofax-year): Don't use default month names in
8256 LaTeX macros in case user changes them.
8257 (cal-tex-month-name): New function. Used throughout in case user
8258 has done something funny with month names.
8260 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
8261 (diary-rosh-hodesh): Spelling correction.
8263 2002-04-03 Mike Williams <mdub@bigfoot.com>
8265 * textmodes/sgml-mode.el (sgml-lexical-context)
8266 (sgml-parse-tag-backward): Extend support for CDATA to include
8267 conditional sections.
8269 2002-04-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8271 * cus-start.el: Rename `autoselect-window' to
8272 `mouse-autoselect-window'.
8274 2002-04-02 Richard M. Stallman <rms@gnu.org>
8276 * files.el (hack-one-local-variable):
8277 Clear text props from string value.
8279 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
8281 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8282 (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
8284 (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
8286 (f90-procedures-re): Add `null' and `cpu_time' from F95.
8287 (f90-font-lock-keywords-1): Minor reorganization so we don't need
8288 `override' any more.
8289 (f90-font-lock-keywords-3): Use `keep' rather than `override'.
8290 (f90-indent-subprogram): Use indent-region.
8291 (f90-break-line): Use indent-according-to-mode.
8293 2002-04-02 Mike Williams <mdub@bigfoot.com>
8295 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
8296 sgml-insert-end-tag. Simplify by using sgml-lexical-context.
8297 (sgml-get-context): Remove use of sgml-inside-tag-p.
8298 (sgml-inside-tag-p): Remove.
8299 (sgml-looking-back-at): Short-circuit at beg of buffer.
8300 (sgml-lexical-context, sgml-calculate-indent): Add support for
8303 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
8305 * help.el (help-key-description): New fun.
8306 (describe-key-briefly, describe-key): Use it and
8307 this-single-command-raw-keys plus new arg `untranslated'.
8309 * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
8310 (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
8311 (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
8312 (sgml-insert-end-tag): New funs taken from xml-lite.el.
8313 (sgml-calculate-indent): Use them.
8314 (sgml-slash-matching): Rename from sgml-slash.
8315 (sgml-slash): Copied from xml-lite and changed to use
8316 sgml-slash-matching and sgml-quick-keys.
8318 * international/mule-cmds.el (standard-keyboard-coding-systems):
8319 Add koi8-u and koi8-r.
8321 * eshell/.cvsignore: New file.
8323 * eshell/esh-groups.el: Remove.
8325 * progmodes/tcl.el: Change maintainer.
8326 (tcl-electric-hash-style): Change default to nil.
8327 (tcl-imenu-generic-expression): Use tcl-proc-regexp.
8328 (tcl-do-auto-fill): Remove.
8329 (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
8331 2002-04-01 Mike Williams <mdub@bigfoot.com>
8333 * textmodes/sgml-mode.el: Doc fixes.
8334 (sgml-mode): Set indent-line-function to sgml-indent-line.
8335 (sgml-calculate-indent): Add an explicit check for 'text syntax,
8336 to protect against future enhancements to sgml-lexical-context.
8337 (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
8339 * textmodes/xml-lite.el: Removed much redundant stuff.
8340 (xml-lite-parse-tag-backward): Simplify parsing by assuming we
8341 always start within text. Make use of sgml-unclosed-tag-p.
8343 2002-04-01 Ville Skytt
\e,Ad
\e(B <ville.skytta@xemacs.org>
8345 * tcl.el (tcl-imenu-generic-expression): New value.
8346 (tcl-imenu-create-index-function): Function deleted.
8347 (tcl-mode): Check for filladapt-mode.
8348 Use tcl-imenu-generic-expression instead of
8349 tcl-imenu-create-index-function.
8350 (inferior-tcl-mode): Doc fix.
8351 Change not legally significant.
8353 2002-04-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8355 * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
8357 * window.el (handle-select-window): New function.
8360 2002-04-01 Richard M. Stallman <rms@gnu.org>
8362 * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
8364 * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
8365 tool-bar-add-item, and new arg MAP.
8366 (tool-bar-add-item): Now calls tool-bar-local-item.
8367 (tool-bar-local-item-from-menu): Renamed from
8368 tool-bar-add-item-from-menu, and new arg IN-MAP.
8369 (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
8371 * help-fns.el (help-with-tutorial): Allow various ways
8372 to specify the text in the [...] line, in handling the <...> line.
8374 * progmodes/idlw-rinfo.el (idlwave-system-routines):
8375 WOLRDTITLE => WORLDTITLE. SUPRESS_VALUE => SUPPRESS_VALUE.
8377 * subr.el (redraw-modeline): Define alias.
8379 2002-03-31 Richard M. Stallman <rms@gnu.org>
8381 * files.el (file-expand-wildcards): Use save-match-data.
8383 * files.el (format-alist): Mark as risky.
8385 * simple.el (kill-new): Doc fix.
8387 * emacs-lisp/byte-opt.el (side-effect-free-fns)
8388 (side-effect-and-error-free-fns): Add many functions, remove some.
8390 2002-03-30 Richard M. Stallman <rms@gnu.org>
8392 * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
8394 2002-03-30 Eli Zaretskii <eliz@gnu.org>
8396 * font-lock.el (save-buffer-state): Fix last change.
8398 * files.el (auto-save-file-name-transforms): Fix last change.
8400 * startup.el (command-line): Fix last change.
8402 2002-03-29 Richard M. Stallman <rms@gnu.org>
8404 * subr.el (play-sound-file): Moved to simple.el.
8406 * simple.el (play-sound-file): Moved from subr.el, made unconditional.
8408 2002-03-29 Colin Walters <walters@verbum.org>
8410 * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
8411 instead of `forward-line'.
8412 (ibuffer-forward-line): Be sure to skip over special properties
8415 * calc/calc.el (calc-was-split): Var deleted.
8416 (calc): Remove reference to it.
8419 (calc-init-base): Ditto.
8421 * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
8423 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
8425 * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
8426 instead of nil when point is outside of any tag.
8427 (sgml-beginning-of-tag): Adjust to the change.
8428 (sgml-calculate-indent): Use the new info returned by
8429 sgml-lexical-context. Try to handle unclosed tags.
8431 * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
8432 at unclosed tags unless it is at indentation.
8433 Kill nested unclosed tags.
8434 (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
8435 (xml-lite-mode): Use sgml-indent-line instead.
8437 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
8439 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
8442 * startup.el (command-line): Recompute auto-save-file-name-transforms
8443 using the updated value of temporary-file-directory.
8445 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
8447 * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
8448 even with an empty context. Don't save excursion any more.
8449 Don't complain about unmatched start-tags in sgml-unclosed-tags.
8450 Ignore end-tags in sgml-empty-tags.
8451 (xml-lite-get-context, xml-lite-calculate-indent)
8452 (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
8453 (xml-lite-indent-line): Use back-to-indentation.
8455 * textmodes/sgml-mode.el (sgml-basic-offset): New var.
8456 (sgml-name-re, sgml-attrs-re): New consts.
8457 (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
8458 (sgml-mode): Use them.
8459 (sgml-lexical-context): Default to (point-min) if nothing else works.
8460 (sgml-calculate-indent): Indent slightly differently.
8461 (sgml-indent-line): Use back-to-indentation.
8462 (sgml-parse-dtd): New function.
8463 (sgml-unclosed-tags): New var.
8464 (html-mode): Set it.
8466 2002-03-29 Simon Marshall <simon.marshall@misys.com>
8468 * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
8470 2002-03-29 Richard M. Stallman <rms@gnu.org>
8472 * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
8473 Use FILTER arg in dired-get-marked-files to exclude directories.
8474 (dired-nondirectory-p): New function.
8476 * dired.el (dired-get-marked-files): New arg FILTER
8477 allows selection of some files.
8479 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
8481 2002-03-29 Eric M. Ludlam <eric@siege-engine.com>
8483 * speedbar.el (speedbar-default-directory-list): Made robust
8484 against deleted directories.
8486 2002-03-28 Richard M. Stallman <rms@gnu.org>
8488 * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
8491 * progmodes/compile.el (compilation-handle-exit):
8492 If compilation-window-height is 0, display status in echo area.
8494 * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
8496 * rect.el (replace-rectangle): Add autoload.
8498 * files.el: Mark many more variables as risky.
8499 (hack-one-local-variable): Recognize several additional
8502 * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
8504 2002-03-28 Stefan Monnier <monnier@cs.yale.edu>
8506 * textmodes/xml-lite.el (xml-lite-in-string-p):
8507 Use sgml-lexical-context.
8508 (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
8509 (xml-lite-get-context): Check that open/close tags match.
8510 Don't stop scanning while we're ignoring matching tags.
8512 * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
8513 (sgml-mode-syntax-table): Use it.
8514 (sgml-tag-syntax-table, sgml-tag-name-re): New const.
8515 (sgml-tags-invisible): Use it.
8516 (sgml-lexical-context): New fun.
8517 (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
8518 (sgml-quote): Accept \n as entity reference terminator.
8519 (sgml-calculate-indent, sgml-indent-line): New funs.
8521 2002-03-28 Andre Spiegel <spiegel@gnu.org>
8523 * vc-cvs.el (vc-cvs-global-switches): New user option.
8524 (vc-cvs-command): New function. Update all callers of
8525 `vc-do-command' in vc-cvs.el to use this instead.
8527 2002-03-27 Andrew Innes <andrewi@gnu.org>
8529 * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
8530 relying on shell globbing.
8532 2002-03-27 Colin Walters <walters@debian.org>
8534 * ibuffer.el (ibuffer-help-buffer-modes): New variable.
8535 (ibuffer-fontification-alist): Use it.
8536 (ibuffer-backward-line): Handle `ibuffer-summary' area.
8537 (ibuffer-forward-line): Ditto.
8539 * ibuf-ext.el (sorter mode-name): Doc fix.
8540 (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
8541 (operation query-replace): Use new `noerror' arg for
8542 `query-replace-read-args'.
8543 (operation query-replace-regexp): Ditto.
8545 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
8547 * textmodes/xml-lite.el: Fix copyright notice.
8548 (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
8549 (xml-lite-indent-comment-offset): Remove.
8550 (xml-lite-calculate-indent): Use new name. Use natural alignment
8552 (xml-lite-in-string-p): Simplify.
8554 2002-03-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8556 * allout.el (outline-layout): Doc fix.
8558 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
8560 * textmodes/xml-lite.el: Don't require `custom'.
8561 (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
8562 (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
8563 (xml-lite-get-context): Drop nested tags not just for comments.
8564 (xml-lite-indent-line): Be more careful about moving point.
8565 (xml-lite-insert-end-tag, xml-lite-slash):
8566 Use indent-according-to-mode instead of xml-lite-indent-line.
8567 (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
8568 Set sgml-xml-mode. Don't call force-mode-line-update.
8569 (xml-lite-mode-map): Don't bind TAB.
8571 2002-03-27 Zoltan Kemenczy <zoltan@ieee.org>
8573 * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
8575 (gud-jdb-build-source-files-list): Comment clarification.
8576 (gud-jdb-massage-args): Reworked into loop-based argument list
8577 processing in order to support -classpath and -sourcepath argument
8579 (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
8580 to gud-jdb-classpath to obtain search list.
8581 (gud-jdb-parse-classpath-string): Remove any trailing slashes from
8582 directory names in classpath/sourcepath lists, update comment.
8583 (jdb): Add setting of gud-jdb-sourcepath, update comment.
8584 (gud-find-class): Add gud-jdb-sourcepath use, and correct
8585 behaviour for the case when classpath is not used--backward
8588 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
8590 * Makefile.in (compile, compile-always): Don't try to compile
8591 non-existent files or files in empty directories.
8593 2002-03-26 Michael Ernst <mernst@alum.mit.edu>
8595 * compare-w.el (compare-windows-whitespace): Match all whitespace.
8597 * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
8598 copy of standard Lisp directories.
8600 * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
8601 Support "next has longname" link type.
8603 2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
8605 * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
8606 (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
8608 (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
8609 (end-of-xml-tag): Remove.
8610 (xml-lite-get-context): Better handling of comments.
8611 (xml-lite-calculate-indent): Use xml-lite-in-string-p.
8612 (xml-lite-parse-tag-backward): Rewrite.
8614 2002-03-26 Juanma Barranquero <lektu@terra.es>
8616 * makefile.w32-in (WINS): Add the toolbar directory.
8618 2002-03-26 Richard M. Stallman <rms@gnu.org>
8620 * subr.el (substring-no-properties): Function deleted (now in C).
8622 2002-03-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8624 * mwheel.el (mouse-wheel-mode): Use global-set-key and
8627 2002-03-24 Richard M. Stallman <rms@gnu.org>
8629 * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
8631 * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
8632 to query-replace-read-args.
8634 * progmodes/compile.el (compilation-forget-errors):
8635 Don't adjust compilation-parsing-end if it's nil.
8637 * replace.el (query-replace-read-args): New optional arg NOERROR.
8638 (perform-replace): Use save-window-excursion around recursive edit.
8640 2002-03-24 Colin Walters <walters@verbum.org>
8642 * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
8643 non-nil, then always use another window.
8645 2002-03-24 Gerd Moellmann <gerd@gnu.org>
8647 * subr.el (macro-declaration-function): New function. Set the
8648 variable macro-declaration-function to it.
8650 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
8651 Handle declarations in macro definitions.
8653 2002-03-24 Eli Zaretskii <eliz@is.elta.co.il>
8655 * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
8657 * enriched.el (enriched-face-ans): Support FACE of the form
8658 (:foreground COLOR) and (:background COLOR).
8659 (enriched-decode-foreground, enriched-decode-background): Set the
8660 fore- and background colors of the faces we create, since facemenu
8663 2002-03-24 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8665 * mwheel.el (mouse-wheel-mode): Use the result of
8666 current-global-map instead of the variable `global-map'.
8668 2002-03-23 Richard M. Stallman <rms@gnu.org>
8670 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
8671 broken out of sendmail-pre-abbrev-expand-hook.
8672 (sendmail-pre-abbrev-expand-hook): Use it.
8674 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
8676 * Makefile.in (finder-inf.el): Remove.
8677 (finder-data): Don't depend on finder-inf.el any more.
8678 (compile, compile-always): Handle the case where some files
8679 from DONTCOMPILE are missing (it tried to compile them).
8680 (bootstrap-clean): Use src/emacs only if executable.
8681 (bootstrap): Update subdirs.el and finder-inf.el.
8683 * finder.el: Don't load finder-inf.el during byte-compilation.
8685 * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
8686 Don't consider cvs-removed files as under VC control.
8687 VC wouldn't handle them properly anyway and it confuses
8688 vc-file-not-found-hook.
8690 * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
8691 Add autoload cookie.
8693 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
8695 * calendar/calendar.el (calendar): Doc fix.
8697 2002-03-22 Juanma Barranquero <lektu@terra.es>
8699 * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
8700 (gomoku-font-lock-X-face): Likewise.
8701 (gomoku-font-lock-keywords): Use faces instead of variables.
8703 2002-03-21 Stefan Monnier <monnier@cs.yale.edu>
8705 * Makefile.in (bootstrap): Make sure subdirs.el is ready.
8707 2002-03-21 Kim F. Storm <storm@cua.dk>
8709 * simple.el (open-network-stream, open-network-stream-nowait)
8710 (open-network-stream-server): Use featurep to test for
8711 supported networking features.
8713 2002-03-21 Thien-Thi Nguyen <ttn@gnu.org>
8715 * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
8716 directions as the last action.
8718 2002-03-21 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8720 * startup.el (fancy-splash-tail, normal-splash-screen):
8723 * novice.el (disabled-command-hook): Clarify output text to match
8726 2002-03-20 Jason Rumney <jasonr@gnu.org>
8728 * frame.el (display-images-p): Do not explicitly check display type.
8730 2002-03-20 pmr-sav <pmr-sav@hamm.pajato.com>
8733 Eliminate compilation warnings due to `rfc822-addresses'.
8734 (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
8735 warning free compile.
8737 2002-03-20 Michael Kifer <kifer@cs.stonybrook.edu>
8739 * ediff-diff.el (ediff-install-fine-diff-if-necessary):
8740 Take the current highlighting style into account.
8741 (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
8742 (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
8744 * ediff-init.el (ediff-patch-job): New macro.
8746 * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
8747 (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
8749 * ediff-ptch.el (ediff-map-patch-buffer):
8750 Use ediff-make-new-meta-list-header.
8751 (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
8753 * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
8754 (ediff-select-difference): Take highlighting style into account.
8755 (ediff-clone-buffer-for-region-comparison): New function.
8756 (ediff-inferior-compare-regions): Added comparison of current diff
8759 * ediff.el (ediff-clone-buffer-for-region-comparison)
8760 (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
8762 2002-03-19 pmr-sav <pmr-sav@hamm.pajato.com>
8764 * mail-utils.el (rmail-dont-reply-to):
8765 Overhaul to correctly apply the regular
8766 expressions in the variable `rmail-dont-reply-to-names' to the list of
8767 destination addresses. Contributed by lorentey@elte.hu.
8769 * rmail.el (rmail-dont-reply-to-names):
8770 Modify the documentation to make it email
8771 address centric rather than login name centric. Contributed by
8774 2002-03-18 Colin Walters <walters@verbum.org>
8776 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
8777 we don't require `cl' at runtime.
8778 (sorting mode mode-name): Don't take the symbol-name of a string.
8780 * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
8781 line after setting the mark.
8782 (ibuffer-insert-buffers-and-marks): Invert the test for
8783 `ibuffer-sorting-reversep'.
8785 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
8787 * international/ucs-tables.el (unify-8859-on-decoding-mode)
8788 (unify-8859-on-encoding-mode): Remove autoload cookie.
8790 2002-03-18 Andre Spiegel <spiegel@gnu.org>
8792 * vc-rcs.el (vc-rcs-register): Fix handling of
8793 vc-[rcs-]register-switches.
8794 (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
8795 Variables removed, since they weren't used yet.
8797 * vc-cvs.el (vc-cvs-register): Fix handling of
8798 vc-[cvs-]register-switches.
8800 * vc-sccs.el (vc-sccs-register): Fix handling of
8801 vc-[sccs-]register-switches.
8803 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
8805 * loadup.el ("emacs-lisp/backquote"): Load earlier.
8806 ("international/ucs-tables"): Load and turn on
8807 unify-8859-on-encoding-mode unconditionally.
8808 (emacs-version): Use `defconst' rather than `setq'.
8810 * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
8812 2002-03-18 Richard M. Stallman <rms@gnu.org>
8814 * menu-bar.el (menu-bar-options-menu): Cope if
8815 text-mode-hook is not a list.
8817 2002-03-17 Richard M. Stallman <rms@gnu.org>
8819 * emulation/pc-select.el (pc-selection-mode):
8820 Alter the existing global map, don't replace it.
8822 * files.el (list-directory): Set default-directory at the end.
8824 * dabbrev.el (dabbrev--goto-start-of-abbrev):
8825 Put a limit on field-beginning search.
8827 2002-03-17 Simon Josefsson <jas@extundo.com>
8829 * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
8830 (browse-url-mosaic): Use it.
8832 * net/browse-url.el (browse-url-filename-alist): Don't begin
8833 docstring with *, you don't want to set this one with M-x set-variable.
8835 * net/browse-url.el: Put * in user option doc strings.
8837 2002-03-17 Stefan Monnier <monnier@cs.yale.edu>
8839 * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
8840 (sgml-xml-guess): Simplify.
8841 (sgml-mode-common): Remove (move into sgml-mode).
8842 (sgml-mode): Add code from sgml-mode-common.
8843 Remove redundant setting of indent-line-function.
8844 Don't set skeleton-transformation when in XML mode.
8846 * international/mule-diag.el (describe-char-after):
8847 Use `internal-describe-syntax-value' again (got lost somewhere).
8849 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
8850 Use unify-8859-on-decoding-mode.
8851 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
8852 (ucs-insert): Give an error if the unicode char can't be created.
8854 * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
8855 (cvs-parse-status): Handle the "used to have a conflict" marker.
8857 2002-03-17 Kim F. Storm <storm@cua.dk>
8859 The following changes are related to the enhanced network process
8862 * simple.el: Update copyright.
8863 (clone-process): Use make-network-process to clone network
8864 processes. Get command list via (process-contact ... t).
8865 Use set-process-query-on-exit-flag and process-query-on-exit-flag
8866 instead of process-kill-without-query.
8867 (open-network-stream): Replaces C-version from process.c.
8868 (open-network-stream-nowait, open-network-stream-server): New funs.
8869 (process-kill-without-query): Replaces C-version from process.c.
8871 * files.el: Update copyright.
8872 (save-buffers-kill-emacs): Also check for active server
8873 processes. Use process-query-on-exit-flag. Only list processes
8874 which has the query-on-exit flag set in connection with user query.
8876 * shadowfile.el: Update copyright.
8877 (shadow-save-buffers-kill-emacs): Also check for active server
8878 processes. Use process-query-on-exit-flag.
8880 2002-03-16 Simon Marshall <simon.marshall@misys.com>
8882 * imenu.el (imenu-menubar-modified-tick): Renamed from
8883 imenu-update-menubar-modified-tick.
8884 (imenu-update-menubar): Update imenu-menubar-modified-tick
8885 whenever outer condition succeeds.
8887 * lazy-lock.el (save-buffer-state):
8888 Bind inhibit-modification-hooks and buffer-file-truename
8889 instead of before-change-functions and after-change-functions.
8891 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
8893 * international/codepage.el (codepage-setup): Don't define a
8894 codepage if it is already defined.
8896 * textmodes/po.el (po-content-type-charset-alist): Convert the
8897 car of each association to a string.
8898 (po-find-file-coding-system-guts): If the charset matches a name
8899 of a codepage, set up that codepage and return it as a coding
8900 system to decode the file.
8901 (po-find-charset): Search for the Charset= header even if we've
8903 <top-level>: Remove the setup for all known codepages: it seems
8904 to cause crashes in the CCL driver.
8906 2002-03-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8908 * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
8909 (bibtex-entry-field-alist): Doc fix.
8911 2002-03-16 Richard M. Stallman <rms@gnu.org>
8913 * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
8914 Move definition above cperl-outline-regexp.
8916 * bindings.el (mode-line-mule-info): In computing help-echo prop,
8917 avoid using save-window-excursion. And compile the function.
8919 2002-03-15 Stefan Monnier <monnier@cs.yale.edu>
8921 * files.el (load-completion): New function.
8922 (load-library): Use it.
8924 2002-03-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8926 * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
8927 to match the actual code.
8929 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
8931 * textmodes/po.el (po-find-file-coding-system-guts):
8932 Use with-temp-buffer instead of po-with-temp-buffer.
8934 * international/mule-conf.el (file-coding-system-alist): Add an
8935 association for PO files.
8937 * textmodes/po.el: New file.
8939 2002-03-15 Gerd Moellmann <gerd@gnu.org>
8941 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8942 Fix simple loop indentation.
8944 2002-03-14 Miles Bader <miles@gnu.org>
8946 * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
8948 2002-03-14 Richard M. Stallman <rms@gnu.org>
8950 * textmodes/picture.el (picture-insert)
8951 (picture-clear-column, picture-draw-rectangle):
8952 Use move-to-column, not move-to-column-force.
8954 * dired.el (dired-readin): Clear out undo list.
8955 (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
8956 (dired-delete-entry): New function.
8957 (dired-internal-do-deletions): Use dired-fun-in-all-buffers
8958 and dired-delete-entry, to update this buffer (and others).
8960 * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
8962 * facemenu.el (facemenu-add-new-face):
8963 Pass region args to facemenu-set-face, when there is a region.
8964 (facemenu-set-foreground, facemenu-set-background)
8965 (facemenu-add-face): Doc fixes.
8967 * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
8969 2002-03-14 Miles Bader <miles@gnu.org>
8971 * emacs-lisp/debug.el: Require `button'.
8972 (debugger-mode-map): Set the parent keymap to `button-buffer-map',
8973 to get TAB and <backtab> bindings.
8975 * net/rlogin.el (rlogin-carriage-filter): Function removed.
8976 (rlogin): Don't install the `rlogin-carriage-filter' filter, as
8977 comint removes carriage returns itself now.
8979 * rfn-eshadow.el (rfn-eshadow-update-overlay):
8980 Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
8981 getting hosed by our own intangible property.
8983 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
8985 * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
8986 Add fortran-comment-line-start-skip to comment-start-skip.
8987 (fortran-comment-indent): Keep whole-line comments in column 0.
8988 (fortran-find-comment-start-skip): New arg `all'.
8989 If ALL is nil, make sure we only match comment-start-skip if we
8990 can't match fortran-comment-line-start-skip.
8991 Fix bug that made it return t but without moving point when
8992 matching '!'! (a false-comment followed by a real comment).
8993 (fortran-indent-comment): Use new `all' argument above.
8994 Be careful not to add an incorrect comment-starter like "C"
8996 (fortran-split-line): When splitting a comment, reuse the comment
8997 starter from the current line rather than fortran-comment-line-start.
8998 (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
8999 cleaner behavior of fortran-find-comment-start-skip.
9000 (fortran-fill): Don't be confused by ! inside a comment.
9001 (fortran-break-line): Minor cleanup and simplification.
9003 2002-03-13 Francesco Potorti` <pot@gnu.org>
9005 * progmodes/etags.el (tag-exact-file-name-match-p)
9006 (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
9009 2002-03-12 Colin Walters <walters@debian.org>
9011 * ibuffer.el (ibuffer-redisplay-current): Don't move point when
9012 redisplaying a line.
9014 2002-03-12 Jan D. <Jan.Djarv@mbox200.swipnet.se>
9016 * term/x-win.el (emacs-session-restore): Take previous id as
9018 (emacs-session-save): Add comment that return t means cancel shutdown
9020 * startup.el (command-line): Must check that x-session-previous-id
9021 is bound also, for non-X platforms.
9023 2002-03-12 Gerd Moellmann <gerd@gnu.org>
9025 * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
9026 (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
9028 (extended-loop-p, common-lisp-loop-part-indentation): New functions.
9029 (common-lisp-indent-function-1): Renamed from
9030 common-lisp-indent-function.
9031 (common-lisp-indent-function): Handle loop forms specially.
9032 (lisp-indent-defmethod): Use car/cdr instead of first/rest.
9033 (lisp-backquote-indentation): New user option.
9035 2002-03-12 Francesco Potorti` <pot@gnu.org>
9037 * progmodes/etags.el (tag-exact-file-name-match-p)
9038 (tag-file-name-match-p, tag-partial-file-name-match-p):
9039 Assume that the header of a tags section has either a number
9040 or nothing after the last comma.
9042 2002-03-11 Richard M. Stallman <rms@gnu.org>
9044 * imenu.el (imenu-update-menubar-modified-tick): New variable.
9045 (imenu-update-menubar): Don't call imenu--make-index-alist
9046 if buffer has not changed since last time.
9048 * desktop.el (desktop-buffer-handlers): Doc fix.
9049 (desktop-buffer-file): Explicitly return BUF.
9051 * paren.el (show-paren-function): Move back in other direction
9052 to verify the match is correct.
9054 * mail/supercite.el (sc-select-attribution): Accept whatever value
9055 we get in CHOICE; there is no value meaning "try again".
9057 2002-03-11 Colin Walters <walters@verbum.org>
9059 * shell.el (toplevel): Revert previous change to use pcomplete.
9060 (shell-mode): Ditto.
9061 (shell-pcomplete-setup-done): Remove.
9062 (shell-pcomplete): Ditto.
9063 (shell-pcomplete-reverse): Ditto.
9065 * comint.el: Remove documentation on setting up pcomplete.
9067 2002-03-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9069 * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
9072 * image.el (image-type-from-file-header): Make temporary buffer
9075 * subr.el (add-to-list): Doc fix.
9077 2002-03-11 Miles Bader <miles@gnu.org>
9079 * pcomplete.el (pcomplete-entries): Expand environment variables
9082 2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
9084 * play/mpuz.el: Use defface instead of facemenu-get-face.
9086 2002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se>
9088 * startup.el (command-line): Add call to emacs-session-restore if
9089 both x-session-id and x-session-previous-id are strings.
9091 * term/x-win.el (x-handle-smid): New function.
9092 (emacs-session-filename): New function.
9093 (emacs-session-save): New function.
9094 (emacs-save-session-functions): New variable.
9095 (emacs-session-restore): New function.
9097 2002-03-09 Eli Zaretskii <eliz@is.elta.co.il>
9099 * simple.el (shell-command-on-region): Call push-mark with
9100 non-nil second arg, to suppress the "Mark set" message.
9102 2002-03-08 Richard M. Stallman <rms@gnu.org>
9104 * textmodes/picture.el (picture-forward-column): New arg `interactive'
9105 is non-nil for an interactive call. Use instead of interactive-p.
9106 (picture-backward-column): Likewise.
9108 * tar-mode.el (tar-untar-buffer): New function.
9110 * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
9111 Put the mouse-face on the entire xref, like the local keymap.
9113 * find-dired.el (find-name-dired): Use shell-quote-argument.
9115 2002-03-08 Daniel Pfeiffer <occitan@esperanto.org>
9117 * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
9118 (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
9119 (mpuz-allow-double-multiplicator): New options for nicer look and
9121 (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
9122 (mpuz-check-all-solved, mpuz-random-puzzle)
9123 (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
9124 (mpuz-show-solution): Functions streamlined and removed french
9125 style space before punctuation, added face support and optional
9126 solving of trivial results.
9128 2002-03-07 Colin Walters <walters@verbum.org>
9130 * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
9132 * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
9133 instead of "recency" for clarity.
9134 (ibuffer-compile-format): Document more. Handle new "summarizer"
9136 (ibuffer-fontify-region-function): Ditto.
9137 (ibuffer-insert-buffer-line): Ditto.
9138 (ibuffer-map-lines): Ditto.
9139 (ibuffer-insert-buffers-and-marks): Ditto.
9140 (ibuffer-update-title-and-summary): Renamed from
9141 `ibuffer-update-title'. Handle "summarizer" columns.
9142 (ibuffer-clear-summary-columns): New function.
9144 * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
9146 2002-03-07 Gerd Moellmann <gerd@gnu.org>
9148 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9149 Use the other-window instead of the other-frame functions when
9150 the window is dedicated.
9152 2002-03-06 ShengHuo ZHU <zsh@cs.rochester.edu>
9154 * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
9155 with SILENT so that a new field can be added.
9157 2002-03-06 Eli Zaretskii <eliz@is.elta.co.il>
9159 * files.el (make-auto-save-file-name): Make sure the produced file
9160 name does not contain characters that are invalid for DOS/Windows
9163 * dos-fns.el, w32-fns.el (make-auto-save-file-name):
9164 Remove replacement functions.
9166 2002-03-06 Gerd Moellmann <gerd@gnu.org>
9168 * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
9171 * vc.el (vc-branch-part): Add autoload cookie. This function can
9172 be called from vc-rcs-find-most-recent-rev when visiting a file
9173 checked into RCS in a CVS sandbox.
9175 2002-03-06 Andreas Schwab <schwab@suse.de>
9177 * progmodes/hideif.el: Augment expression parser to handle
9178 conditional expressions.
9179 (hif-token-regexp): Also match `?' and `:'.
9180 (hif-tokenize): Handle `?' and ':' as tokens.
9181 (hif-expr): Parse conditional expressions.
9182 (hif-or-expr): Parse `||' expressions.
9183 (hif-and-expr): Renamed from hif-term.
9184 (hif-conditional): New function to evaluate a conditional
9187 2002-03-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9189 * language/czech.el ("Czech"): Fix the documentation.
9191 * language/slovak.el ("Slovak"): Likewise.
9193 2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
9195 * xml.el (xml-parse-attlist): Accept empty strings.
9197 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
9199 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
9200 all terminals now support highlighting of some kind.
9202 * language/european.el (mac-roman): Fix the safe-chars property.
9204 2002-03-05 Andre Spiegel <spiegel@gnu.org>
9206 * vc.el (vc-transfer-file): Use `make-temp-file'.
9207 (vc-default-update-changelog): Remove conditional use of
9210 * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
9212 2002-03-05 Michael Kifer <kifer@cs.stonybrook.edu>
9214 * ediff-init.el: Comments.
9216 * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
9219 * ediff-mult.el (ediff-intersect-directories)
9220 (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
9222 (ediff-draw-dir-diffs): Now supports the "C" command in directory
9224 (ediff-dir-diff-copy-file): New function that implements copying
9225 of files from one Ediff dir to another
9226 (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
9227 (ediff-append-custom-diff): Better error msgs.
9229 * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
9230 (ediff-inferior-compare-regions): Use
9231 ediff-clone-buffer-for-region-comparison. Better and simpler interface.
9233 * ediff.el (ediff-directories-internal): Cleanup.
9234 (ediff-clone-buffer-for-region-comparison): Better interface.
9236 2002-03-04 Richard M. Stallman <rms@gnu.org>
9238 * emacs-lisp/easy-mmode.el (define-minor-mode):
9239 Use "P" in interactive spec of minor mode commands.
9241 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
9243 * faces.el (face-spec-choose): Allow `t' to appear before the end.
9244 (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
9245 (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
9246 (variable-pitch, trailing-whitespace): Don't use the old-style entries.
9247 (mode-line-inactive, header-line): Move the `t' section to the
9248 beginning so the `:inherit' setting can be shared.
9250 2002-03-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9252 * net/snmp-mode.el: Require tempo when compiling to prevent
9253 warnings. Update copyright notice.
9255 * help.el (describe-key-briefly, describe-key): Interpret `undefined'
9256 like not defined at all.
9258 2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
9260 * textmodes/sgml-mode.el: Change maintainer to FSF.
9261 (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
9262 (sgml-tags-invisible, sgml-beginning-of-tag):
9263 Allow _ : and non-ASCII in tag names, as required for XML.
9264 (sgml-name-char): Don't assume anything about charsets handled by
9267 * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
9268 where one of the buffers is narrowed.
9270 * hexl.el (hexlify-command, dehexlify-command): Remove.
9271 (hexlify-buffer, dehexlify-buffer): Use call-process-region
9272 rather than shell-command-on-region.
9274 * newcomment.el (comment-forward): Use forward-comment to skip
9275 over whitespace (or comments) even when comment-use-syntax is nil.
9277 * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
9279 * textmodes/xml-lite.el: New file.
9281 2002-03-03 Richard M. Stallman <rms@gnu.org>
9283 * textmodes/artist.el (artist-system): Use make-temp-file.
9285 * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
9287 * mail/sendmail.el (mail-recover-1): Increase non-random-len
9288 by 1 since we changed make-auto-save-file-name to add one
9289 fewer character to the buffer name.
9290 (mail-recover): Really show point at the right place
9291 in the *Directory* buffer.
9293 * files.el (make-auto-save-file-name): Use make-temp-file.
9295 * terminal.el (te-create-terminfo): Use make-temp-file
9296 to create the source file in a safe way.
9298 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
9300 * cus-start.el: Rename automatic-hscroll-step and
9301 automatic-hscroll-margin into hscroll-step and hscroll-margin.
9303 * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
9304 (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
9306 * mouse.el (mouse-region-delete-keys): Add deletechar.
9308 2002-03-03 Sam Steingold <sds@gnu.org>
9310 * play/snake.el (snake-score-file): Fixed parens (broken by the
9312 * play/tetris.el (tetris-score-file): Ditto.
9314 2002-03-03 Richard M. Stallman <rms@gnu.org>
9316 * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
9318 * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
9320 * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
9321 (gamegrid-make-mono-tty-face): Fix usage of condition-case.
9323 2002-03-03 Thien-Thi Nguyen <ttn@gnu.org>
9325 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
9326 instead of `buffer-substring-no-properties' to support enriched mode.
9328 2002-03-02 Richard M. Stallman <rms@gnu.org>
9330 * find-dired.el (find-grep-dired): Call shell-quote-argument.
9331 Specify the -e option.
9332 Rename arg to `regexp'.
9334 2002-03-02 Milan Zamazal <pdm@zamazal.org>
9336 * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
9338 2002-03-02 Miles Bader <miles@gnu.org>
9340 * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
9341 event-modifiers before looking up in `mouse-wheel-scroll-amount'.
9342 If there's no applicable modifiers entry in the alist in
9343 `mouse-wheel-scroll-amount', fall back to the default, not to
9344 nil (which causes full screen scrolls).
9346 2002-03-01 Andreas Schwab <schwab@suse.de>
9348 * textmodes/texnfo-upd.el (texinfo-start-menu-description):
9349 Remove extra paren in regexp.
9351 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il>
9353 * mouse.el (mouse-show-mark): Use display-mouse-p, not
9354 display-graphic-p, to decide whether to move point or use the
9357 2002-02-28 Colin Walters <walters@verbum.org>
9359 * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
9361 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
9362 `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
9363 (calc-temp-file-name): Use `make-temp-file'.
9365 2002-02-28 Richard M. Stallman <rms@gnu.org>
9367 * font-lock.el (java-font-lock-extra-types):
9368 Match java.net.URL, etc.
9370 2002-02-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9372 * hexl.el (hexl-options): Doc fix.
9373 Update Commentary section.
9375 * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
9378 2002-02-28 Andre Spiegel <spiegel@gnu.org>
9380 * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
9381 the user to do that first.
9382 (vc-update): New function.
9384 * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
9385 which calls vc-update. Use the term "Base Version" instead of
9386 "Last Version" for the entries "Revert" and "Compare".
9388 2002-02-28 Kim F. Storm <storm@cua.dk>
9390 * simple.el (shell-command-on-region): Report non-zero exit
9391 status in mode line instead of buffer.
9393 2002-02-27 Richard M. Stallman <rms@gnu.org>
9395 * comint.el (comint-preoutput-filter-functions): Doc fix.
9396 (comint-output-filter-functions, comint-input-filter-functions)
9397 (comint-redirect-filter-functions): Likewise.
9399 (comint-redirect-preoutput-filter): Do the local-hook
9400 handling of t when running comint-redirect-filter-functions.
9401 (comint-output-filter): Likewise for comint-preoutput-filter-functions.
9403 2002-02-26 Richard M. Stallman <rms@gnu.org>
9405 * paths.el (remote-shell-program): Add doc string.
9407 2002-02-26 Colin Walters <walters@debian.org>
9409 * ibuf-ext.el (sorter mode-name): New.
9410 (ibuffer-do-occur): Don't quote ibuffer-marked-char.
9412 * calc/calc-ext.el (calc-scroll-left): Call scroll-left
9413 interactively, so they do something.
9414 (calc-scroll-right): Ditto.
9416 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
9418 * international/mule.el (ctext-pre-write-conversion): Handle the
9419 case when FROM is a string, and when we are called from
9420 build_annotations_2.
9422 2002-02-26 Richard M. Stallman <rms@gnu.org>
9424 * rect.el (clear-rectangle-line): Reindent to the same column
9425 that move-to-column reached when it tried to go to endcol.
9427 * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
9429 2002-02-26 Ivar Rummelhoff <ivarru@math.uio.no>
9431 * winner.el (winner-boring-buffers, winner-set): A window which
9432 displays a buffer whose name is in the list
9433 `winner-boring-buffers', will no longer be restored by `winner-undo'.
9434 (winner-sorted-window-list): Used to improve comparison between
9435 window configurations.
9436 (winner-win-data): Simplified and moved.
9437 (winner-conf): Simplified (now uses `winner-win-data').
9438 (winner-change-fun, winner-save-old-configurations)
9439 (winner-save-(un)conditionally, winner-redo): Changes made while in
9440 the minibuffer will be ignored. (Such changes are undone upon
9441 exit for the minibuffer, anyway.)
9442 (winner-set-conf): Preserve selected window whenever possible.
9443 (winner-make-point-alist): Simplified.
9444 (winner-mode, winner-save-unconditionally): Save current window
9445 configuration on entering minibuffer.
9446 (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
9447 since it does not change the overall behavior of Emacs.
9449 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
9451 * international/mule-conf.el (compound-text): Renamed back from
9452 compound-text-no-extensions.
9453 (ctext-no-compositions): Remove the mime-charset property.
9454 (compound-text-with-extensions): Renamed from compound-text.
9455 (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
9457 2002-02-26 Juanma Barranquero <lektu@terra.es>
9459 * faces.el (list-faces-display): Fix typo.
9461 2002-02-25 Richard M. Stallman <rms@gnu.org>
9463 * frame.el (focus-follows-mouse): Doc fix.
9465 2002-02-26 Miles Bader <miles@gnu.org>
9467 * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
9468 to `define-key', since it no longer accepts the latter.
9470 2002-02-25 Jason Rumney <jasonr@gnu.org>
9472 * term/w32-win.el (mouse-wheel-scroll-line): Use car of
9473 mouse-wheel-scroll-amount.
9475 * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
9478 * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
9480 2002-02-25 Andre Spiegel <spiegel@gnu.org>
9482 * vc.el (vc-diff-switches-list): Fix prev change, making the macro
9483 consistent with the others that take a backend name as a symbol.
9485 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
9487 2002-02-25 Kim F. Storm <no-spam@cua.dk>
9489 * comint.el (comint-replace-by-expanded-filename): Do nothing if
9490 comint-match-partial-filename returns nil.
9492 * shell.el (shell-pcomplete-setup-done): New variable.
9493 (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
9494 (shell-pcomplete-reverse): Ditto.
9496 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
9498 * ps-print.el (ps-print-printer): Added `lpr' customize group member.
9500 2002-02-25 Juanma Barranquero <lektu@terra.es>
9502 * subr.el (save-match-data): Doc fix.
9504 * ielm.el (ielm-prompt): Allow customization; make it read-only.
9506 2002-02-25 Kim F. Storm <storm@cua.dk>
9508 * shell.el (shell-mode-map): Add "Complete" header so completion
9509 menu is shown on the menu bar in shell mode.
9511 2002-02-25 Stefan Monnier <monnier@cs.yale.edu>
9513 * ielm.el (ielm-match-data): New var.
9514 (inferior-emacs-lisp-mode): Make it buffer-local.
9515 (ielm-eval-input): Use it to preserve match-data between inputs.
9517 2002-02-24 Juanma Barranquero <lektu@terra.es>
9519 * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
9521 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
9523 * cus-edit.el (custom-unlispify-remove-prefixes): Add to
9524 `custom-buffer' customize group.
9526 2002-02-23 Kim F. Storm <storm@cua.dk>
9528 * help.el (where-is): Use remap-command.
9530 * help-fns.el (describe-function-1): Use remap-command.
9532 * subr.el (global-set-key, local-set-key): Undo 2002-02-06
9533 change (no longer accept a symbol for the KEY argument).
9535 2002-02-23 Colin Walters <walters@debian.org>
9537 * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
9538 * calc/calcalg2.el (math-solve-get-sign): Ditto.
9540 * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
9541 in generated function.
9543 * ibuf-ext.el (ibuffer-old-time): Change to hours.
9544 (ibuffer-mark-old-buffers): Handle it.
9546 * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
9547 (toplevel): Bind them.
9548 (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
9549 not necessary now that we use pcomplete.
9551 * comint.el: Document how use new pcomplete completion facility.
9553 2002-02-23 Richard M. Stallman <rms@gnu.org>
9555 * mail/rmailsum.el (rmail-summary-output): Properly advance
9556 to next message, by calling rmail-summary-goto-msg.
9558 * net/browse-url.el (browse-url-galeon): Specify --existing
9559 for an existing window. Use --noraise rather than --no-raise.
9562 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
9564 * progmodes/etags.el (find-tag-noselect, find-tag)
9565 (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
9566 Fix a typo in doc strings.
9568 2002-02-20 Deepak Goel <deego@glue.umd.edu>
9570 * play/snake.el (snake-velocity-queue, snake-update-velocity)
9571 (snake-final-x-velocity, snake-final-y-velocity):
9572 New variable and functions. Store user's keypresses
9573 into a queue and pop from the queue each subsequent turn.
9574 (snake-update-game, snake-move-left)
9575 (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
9576 (snake-start-game): Use that queue.
9577 (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
9578 (snake-use-color-flag): Likewise.
9579 (snake-mode): Rename uses of those variables.
9581 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
9583 Support for ICCCM Extended Segments in X selections:
9585 * international/mule-conf.el (ctext-no-compositions): New coding
9587 (compount-text-no-extensions): Renamed from compound-text.
9588 (x-ctext-no-extensions, ctext-no-extensions): Aliases for
9589 compound-text-no-extensions.
9590 (compound-text): Redefined using post-read and pre-write conversions.
9592 * international/mule.el (non-standard-icccm-encodings-alist)
9593 (non-standard-designations-alist): New variables.
9594 (ctext-post-read-conversion, ctext-pre-write-conversion):
9597 2002-02-21 Jonathan Kamens <jik@kamens.brookline.ma.us>
9599 * vc.el (vc-default-init-version): Update documentation to
9600 indicate that the backend can override the default init version.
9601 (vc-register): Use the backend init-version function, if it
9602 exists, to determine the initial version of a file.
9603 (vc-diff-switches-list): Don't symbol-quote backend, since it's
9604 already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
9606 * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
9607 not version-controlled. This is necessary, e.g., if the file has
9608 just been reverted, and thus was previously under version control
9609 but isn't any longer.
9610 (vc-find-file-hook): Likewise.
9612 2002-02-21 Martin Lorentzson <Martin.Lorentzson@telia.com>
9614 * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
9615 (vc-cvs-sticky-tag-display): New variable.
9616 (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
9617 (vc-cvs-checkin): If the input revision is a valid symbolic tag
9618 name, we create it as a branch, commit and switch to it.
9619 (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
9620 (vc-cvs-valid-symbolic-tag-name-p): New function.
9621 (vc-cvs-parse-sticky-tag): New function.
9622 (vc-cvs-parse-entry): Added parsing of sticky tags.
9624 2002-02-21 Per Abrahamsen <abraham@dina.kvl.dk>
9626 * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
9627 nil, and then explicitly set the standard-value to t.
9629 2002-02-20 Sam Steingold <sds@gnu.org>
9631 * textmodes/flyspell.el (flyspell-mode): Autoload the variable
9632 since it is used in the menu bar.
9634 2002-02-20 Richard M. Stallman <rms@gnu.org>
9636 * simple.el (shell-command-on-region): Display the exit status
9637 when a command fails.
9639 * subr.el (add-hook): Doc fix.
9641 * frame.el (other-frame): Doc fix.
9643 * simple.el (yank): Clear `field' property.
9645 2002-02-20 Tom Tromey <tromey@cachet>
9647 * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
9648 natural paragraph boundaries. Don't fail at beginning of buffer.
9650 2002-02-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9652 * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
9653 call the argument "arg" to match plain next-line and
9654 previous-line. From Kevin Ryde <user42@zip.com.au>.
9656 2002-02-19 Sam Steingold <sds@gnu.org>
9658 * mwheel.el (mouse-wheel-scroll-amount): Can specify different
9659 scroll amounts for different modifiers now.
9660 (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
9662 (mouse-wheel-mode): Ditto.
9664 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
9666 * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
9667 around function body.
9669 * net/browse-url.el (browse-url-maybe-new-window): Reverse the
9670 sense of the comparison, to match the doc strings of functions
9671 that use this macro.
9673 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
9675 * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
9677 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
9678 * menu-bar.el (menu-bar-mode): Ditto.
9680 2002-02-18 Andreas Schwab <schwab@suse.de>
9682 * replace.el (query-replace-regexp-eval): Doc fix.
9684 2002-02-18 Colin Walters <walters@verbum.org>
9686 * calc/calcalg2.el (math-solve-get-int): Convert return value from
9687 `math-get-from-counter' to a string before calling `concat' on it.
9689 * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
9690 (calc-public-autoloads): Obsolete; remove.
9691 (calc-private-autoloads): Ditto.
9692 (calc-add-autoloads): Ditto.
9694 * calc/calc-macs.el (calc-with-default-simplification): Use &rest
9697 2002-02-17 Jason Rumney <jasonr@gnu.org>
9699 * w32-win.el (x-option-alist, x-long-option-alist)
9700 (x-switch-definitions): Remove, use command-line-x-option-alist
9701 instead to be consistent with X.
9702 (x-handle-initial-switch): New function.
9704 2002-02-17 Eli Zaretskii <eliz@is.elta.co.il>
9706 * faces.el (mode-line-inactive, header-line): Add the :inherit
9707 attribute for the tty case.
9709 2002-02-17 stanislav shalunov <shalunov@internet2.edu>
9711 * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
9712 invoked from Rmail with full headers displayed.
9714 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9716 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
9718 * textmodes/paragraphs.el (mark-paragraph): Ditto.
9720 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
9722 * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
9723 (menu-bar-tools-menu): Removed speedbar.
9725 * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
9726 and `flyspell-mode' entries.
9728 * textmodes/flyspell.el (flyspell): Add to ispell group.
9730 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9732 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
9734 (mark-defun): Mark more if repeated.
9736 2002-02-17 Colin Walters <walters@verbum.org>
9738 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
9740 * ibuffer.el (ibuffer-truncate-lines): New option.
9741 (ibuffer-mode): Use it.
9743 2002-02-17 Kim F. Storm <storm@cua.dk>
9745 * cus-start.el: Add mouse-highlight.
9747 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
9749 * Makefile.in (DONTCOMPILE): Remove cus-start.el.
9751 * cus-start.el: Add automatic-hscroll-margin and
9752 automatic-hscroll-step.
9754 2002-02-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9756 * cus-start.el (x-autoselect-window): Allow customization.
9758 * eshell/em-alias.el (eshell-alias-initialize): Do not use
9761 * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
9763 * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
9765 * eshell/em-glob.el (eshell-glob-initialize): Likewise.
9767 * eshell/em-hist.el (eshell-hist-initialize): Likewise.
9769 * eshell/em-pred.el (eshell-pred-initialize): Likewise.
9771 * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
9773 * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
9775 * eshell/em-smart.el (eshell-smart-initialize): Likewise.
9777 * eshell/em-unix.el (eshell-unix-initialize): Likewise.
9779 * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
9781 * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
9783 * eshell/esh-io.el (eshell-io-initialize): Likewise.
9785 * eshell/esh-mode.el (eshell-mode): Likewise.
9787 * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
9789 * eshell/esh-var.el (eshell-var-initialize): Likewise.
9791 * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
9793 * progmodes/idlwave.el (idlwave-mode): Likewise.
9795 * textmodes/reftex-sel.el (reftex-select-label-mode)
9796 (reftex-select-bib-mode): Likewise.
9798 2002-02-16 John Wiegley <johnw@gnu.org>
9800 * eshell/em-hist.el (eshell-hist-initialize): When in the
9801 minibuffer, use the global value of `eshell-history-ring', and
9802 never save it to disk, or ask to save it to disk. This allows
9803 users of session.el to control whether its global state should be
9805 (eshell-add-command-to-history): Don't write Eshell's history out
9806 to disk, let the governing mode control that upon exit.
9808 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
9810 * eshell/eshell.el (eshell-command): Before reading from the
9811 minibuffer, add eshell-add-command-to-history to
9812 minibuffer-exit-hook, and remove it after read-from-minibuffer
9815 * eshell/em-hist.el (eshell-add-input-to-history): New function,
9816 with most of the code from eshell-add-to-history.
9817 (eshell-add-command-to-history): New function, to record in
9818 eshell-history the commands run via eshell-command.
9819 (eshell-add-to-history): Call eshell-add-command-to-history to do
9822 2002-02-16 John Wiegley <johnw@gnu.org>
9824 * eshell/esh-ext.el (eshell-external-command): Added a fix for
9825 XEmacs' new dired.el, which adds a global entry in the
9826 `file-name-handler-alist'.
9828 2002-02-16 John Wiegley <johnw@gnu.org>
9830 * align.el (align-region): Added a missing name argument.
9832 2002-02-16 John Wiegley <johnw@gnu.org>
9834 * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
9835 after the #! of a shell interpretor specification.
9837 2002-02-15 Richard M. Stallman <rms@gnu.org>
9839 * help.el (describe-key-briefly): Make output in INSERT case
9840 look just like what is displayed in the normal case.
9842 2002-02-15 Andreas Schwab <schwab@suse.de>
9844 * textmodes/tex-mode.el (tex-font-lock-keywords-2):
9845 Require non-letter after specials.
9847 2002-02-15 Eli Zaretskii <eliz@is.elta.co.il>
9849 * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
9851 2002-02-15 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9853 * simple.el (mark-word): Mark more if repeated.
9854 * textmodes/paragraphs.el (mark-paragraph): Ditto.
9855 (mark-end-of-sentence): Ditto.
9857 2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
9859 * wid-edit.el (widgetp): Made it more robust.
9861 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
9863 * facemenu.el (describe-text-done): New function.
9864 (describe-text-mode-map): New variable.
9865 (describe-text-mode-hook): New option.
9866 (describe-text-mode): New function.
9867 (describe-text-widget): New function.
9868 (describe-text-sexp): New function.
9869 (describe-text-properties): New function.
9870 (describe-text-category): New command.
9871 (describe-text-at): New command.
9872 (facemenu-menu): Replace `list-text-properties-at' with
9873 `describe-text-at' in the menu.
9875 * wid-edit.el (widgetp): New function.
9876 * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
9878 * emacs-lisp/pp.el (pp-to-string): Autoloaded.
9880 * wid-browse.el: Removed version and x-url keywords.
9882 2002-02-13 Kim F. Storm <storm@cua.dk>
9884 * cus-start.el (mode-line-in-non-selected-windows):
9885 Allow customization.
9887 2002-02-13 Richard M. Stallman <rms@gnu.org>
9889 * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
9890 Tell bibtex-parse-keys to output no progress messages.
9892 2002-02-12 Eli Zaretskii <eliz@is.elta.co.il>
9894 * progmodes/pascal.el (pascal-imenu-generic-expression):
9895 Add menu-title and fix parentheses.
9897 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
9899 * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
9900 (menu-bar-options-menu): Don't set default value for `truncate-lines'.
9902 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
9904 * menu-bar.el (menu-bar-options-save): Only save
9905 `current-language-environment' and `default-input-method' when
9906 marked as customized.
9908 * international/mule-cmds.el
9909 (setup-specified-language-environment):
9910 Mark `current-language-environment' as customized.
9911 (set-input-method): Mark `default-input-method' as customized when
9912 called interactively.
9913 (toggle-input-method): Ditto.
9915 2002-02-11 Colin Walters <walters@verbum.org>
9917 * ibuffer.el (ibuffer-switch-format): Supply required argument for
9918 `ibuffer-current-formats'.
9920 2002-02-11 Miles Bader <miles@gnu.org>
9922 * faces.el (mode-line-inactive): Add dark-background variant.
9924 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
9926 * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
9927 * menu-bar.el (menu-bar-mode): Ditto.
9928 * cus-edit.el (customize-mark-to-save): Always save variables
9929 without a standard value.
9931 * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
9932 (menu-bar-options-save): Ditto.
9933 (menu-bar-showhide-menu): Ditto.
9934 (menu-bar-options-menu): Ditto.
9935 (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
9936 (menu-bar-scroll-bar-none): Remove.
9937 (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
9938 expressions instead.
9940 * cus-edit.el (customize-set-value): Return value.
9941 (customize-set-variable): Ditto.
9942 (customize-save-variable): Ditto.
9943 (customize-set-variable): Load dependencies before setting value.
9944 (custom-load-symbol): Autoload it.
9945 (customize-mark-as-set): New function.
9947 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
9949 * cus-start.el: Don't warn about "x-*" symbols when building a
9952 2002-02-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9954 * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
9956 (strokes-help): Do not use doubled with-output-to-temp-buffer.
9957 Fix the help string.
9958 (strokes-prompt-user-save-strokes): Fix typo.
9959 (strokes-list-strokes): Use proper exit-action argument for
9960 view-buffer. Update copyright notice.
9962 * international/mule-diag.el: Various doc and message fixes.
9963 (non-iso-charset-alist): Add mac-roman. Don't add entries for
9964 codepages already present.
9965 (list-block-of-chars): Display space for null entries in
9966 translation table. Display tab specially.
9967 (list-non-iso-charset-chars): Check for null charsets. Use pop
9968 for clarity. Don't break 8-bit sets into sections between ranges.
9969 (list-charset-chars): Avoid indent-tabs-mode.
9970 (describe-char-after): Maybe use the text property for syntax
9971 table information. Maybe report char-code-property-table info.
9972 Maybe report character's unicode. Tweak printing of list info.
9973 (list-input-methods): Add xref buttons.
9974 (dump-charsets, dump-codings): Deleted (obsolete).
9975 From Dave Love <fx@gnu.org>.
9977 2002-02-10 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9979 * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
9981 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
9983 * viper-util.el (viper-read-key-sequence): Fix so it'll read
9984 fast key sequences in emacs native mode
9985 (viper-events-to-keys): Delete.
9987 * viper.el (describe-key, describe-key-briefly): Get rid of
9988 viper-events-to-keys.
9990 * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
9992 * ediff-wind.el (ediff-setup-control-frame):
9993 Use ediff-has-gutter-support.
9995 * ediff-util.el (ediff-dispose-of-variant-according-to-user):
9996 check if buff is alive.
9998 * ediff.el: Typo in comment.
10000 2002-02-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10002 * menu-bar.el (menu-bar-options-save): Take care of
10003 line-number-mode and column-number-mode variables.
10004 (menu-bar-showhide-menu): New menu-items "Show Line Number" and
10005 "Show Column Number" in "Show/Hide" menu.
10007 2002-02-09 Richard M. Stallman <rms@gnu.org>
10009 * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
10011 2002-02-09 Kim F. Storm <storm@cua.dk>
10013 * faces.el (mode-line-inactive): New face for mode-line for
10014 non-selected windows.
10015 (mode-line): Doc fix: Only used for selected window.
10017 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
10019 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
10020 name to "Insert Diary Entry".
10022 2002-02-08 Stefan Monnier <monnier@cs.yale.edu>
10024 * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
10025 (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
10027 2002-02-08 Richard M. Stallman <rms@gnu.org>
10029 * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
10031 2002-02-08 Andreas Schwab <schwab@suse.de>
10033 * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
10036 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
10038 * net/ange-ftp.el (ange-ftp-process-handle-line)
10039 (ange-ftp-set-xfer-size): If the file's size is a float, divide
10040 by 1024 instead of using ash.
10042 * international/mule-cmds.el (select-safe-coding-system):
10043 State the buffer's name in the message popped in the *Warning* buffer,
10044 and make sure the offending buffer is displayed.
10046 2002-02-07 Markus Rost <rost@math.ohio-state.edu>
10048 * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
10050 2002-02-07 Richard M. Stallman <rms@gnu.org>
10052 * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
10054 * register.el (list-registers): New command.
10055 (describe-register-1): New subroutine, taken out of view-register.
10057 * emacs-lisp/copyright.el (copyright-regexp):
10058 Delete the unibyte copyright symbol; it's redundant.
10059 Fix a spazz in the multibyte encoding here.
10061 2002-02-07 Dave Love <fx@gnu.org>
10063 * language/cyril-util.el (cyrillic-encode-koi8-r-char)
10064 (cyrillic-encode-alternativnyj-char): Get translation tables from
10065 symbol properties, not as variables.
10066 (standard-display-cyrillic-translit): Include unicodes.
10068 2002-02-06 Kim F. Storm <storm@cua.dk>
10070 * help.el (where-is): Report remapped commands.
10072 * help-fns.el (describe-function-1): Ditto.
10074 * subr.el (global-set-key, local-set-key): Accept a symbol for the
10075 KEY argument (like define-key).
10077 2002-02-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10079 * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
10081 2002-02-06 Richard M. Stallman <rms@gnu.org>
10083 * mail/mailabbrev.el: Require sendmail only at compile time.
10084 (mail-mode-header-syntax-table): Var deleted.
10085 (mail-abbrev-syntax-table): Init to nil, will compute when needed.
10086 (sendmail-pre-abbrev-expand-hook): Only temporarily change
10087 local-abbrev-table and the syntax table.
10088 Compute mail-abbrev-syntax-table if that has not been done.
10090 * progmodes/compile.el (grep-compute-defaults): Definition moved up.
10092 * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
10093 (debugger-frame-number): Figure out the offset directly.
10094 (debugger-setup-buffer): Don't use debugger-frame-offset.
10095 (debugger-frame, debugger-frame-clear): Likewise.
10096 (debugger-jump): Don't alter debugger-frame-offset.
10098 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
10099 Replace foo-p as var name with foo-flag, not foo-p-flag.
10101 * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
10102 (highlight-changes-passive-string): Default to -Chg.
10103 (highlight-changes-global-modes): Doc fix.
10105 * dired.el (dired-get-filename): Add /: when appropriate
10106 to avoid taking a local name as remote.
10108 * files.el (file-name-non-special): Add special handling for
10109 file-name-sans-versions, file-name-completion, and
10110 file-name-all-completions.
10112 * isearch.el (isearch-update): Don't update display in kbd macro.
10113 (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
10115 * subr.el (force-mode-line-update): Doc fix.
10117 * subr.el (atomic-change-group, prepare-change-group)
10118 (activate-change-group, accept-change-group, cancel-change-group):
10121 * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
10122 (transpose-subr-1): Use atomic-change-group.
10124 * subr.el (add-minor-mode): Include the mode's lighter string
10125 in the minor mode menu item name.
10127 * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
10128 rmail-count-screen-lines starting from (point-min).
10130 * startup.el (use-fancy-splash-screens-p): Need 19 lines,
10131 beyond the image height, to use the fancy splash screen.
10133 * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
10134 (text-mode): Set text-mode-variant here.
10136 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
10138 * play/pong.el (pong-height): Don't use height that exceeds the
10140 (pong-border-options): Make the border colors slightly more bright.
10142 * play/gamegrid.el (gamegrid-display-type): Treat any
10143 color-capable display as color-x, if display-color-p is fboundp.
10144 (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
10145 (gamegrid-make-color-tty-face): Use the value of color, not the
10146 symbol itself. Don't call gamegrid-color.
10148 2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
10150 * gud.el (gud-refresh): Call recenter only after we are sure we
10151 are in the right window.
10153 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
10155 * cus-edit.el (customize-mark-to-save): New function.
10156 * menu-bar.el (menu-bar-options-save): Rewrote.
10158 2002-02-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10160 * cus-start.el (x-use-underline-position-properties):
10161 Allow customization.
10163 2002-02-04 Simon Josefsson <jas@extundo.com>
10165 * dired.el (dired-load-hook, dired-mode-hook)
10166 (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
10168 2002-02-03 Colin Walters <walters@verbum.org>
10170 * ibuf-ext.el (ibuffer-filter-format-alist)
10171 (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
10173 * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
10174 is now the Emacs CVS tree.
10175 (ibuffer-formats): Doc fix.
10176 (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
10177 (ibuffer-current-format): Use them.
10178 (ibuffer-recompile-formats, ibuffer-check-formats)
10179 (ibuffer-switch-format, ibuffer-update-title):
10180 Add support for ibuffer-filter-format-alist.
10181 (define-ibuffer-column process): Remove unncessary consing.
10183 * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
10184 for a summary column.
10186 2002-02-03 Andreas Schwab <schwab@suse.de>
10188 * window.el (save-selected-window): Move macro before first use.
10189 (balance-windows): Fix misplaced parenthesis.
10191 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10193 * calculator.el (calculator-displayers): Doc fixes.
10195 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10197 * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
10198 (menu-bar-options-save): Save also the value of `display-time-mode'.
10199 (showhide-date-time): New function.
10200 (menu-bar-showhide-menu): New menu-item "Date and time".
10202 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
10204 * mail/rmail.el (rmail): Use find-buffer-visiting instead of
10205 get-file-buffer to check for rmail buffer existence.
10207 * term.el (term-emulate-terminal): Extract proper command string
10208 which is supplied to term-command-hook.
10210 2002-02-03 Richard M. Stallman <rms@gnu.org>
10212 * international/quail.el (quail-help): Don't call help-setup-xref.
10214 * international/mule-cmds.el (describe-input-method):
10215 Call help-setup-xref here.
10216 (describe-current-input-method): Doc fix.
10218 * novice.el (disabled-command-hook): Clarify output text.
10219 Indent the paragraph from the command's doc string.
10221 * dabbrev.el (dabbrev--goto-start-of-abbrev):
10222 Exit loop on beginning of field rather than bobp.
10224 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
10226 * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
10227 the message text into the *mail* buffer, and restore the pruned
10230 * mail/rmail.el (rmail-redecode-body): Prune the headers before
10231 looking for X-Coding-System header, and restore the pruned state
10234 2002-02-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10236 * cus-edit.el (customize-save-variable): Fix typo in prompt.
10238 These changes integrate new version of flyspell.el from its
10239 maintainer, Manuel Serrano:
10241 * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
10242 (flyspell-mode-on, flyspell-notify-misspell)
10243 (flyspell-small-region, flyspell-external-point-words)
10244 (flyspell-large-region): Use it
10245 (flyspell-before-incorrect-word-string)
10246 (flyspell-after-incorrect-word-string): New user options.
10247 (make-flyspell-overlay): Use them.
10248 (flyspell-version): New function.
10249 (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
10250 definitions to use :weight.
10251 (flyspell-insert-function): New user option.
10252 (flyspell-auto-correct-word, flyspell-correct-word)
10253 (flyspell-xemacs-correct): Use it.
10254 (flyspell-define-abbrev): New function.
10255 (flyspell-auto-correct-word, flyspell-correct-word)
10256 (flyspell-xemacs-correct): Use it.
10257 (make-flyspell-overlay): Use `evaporate' property.
10258 (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
10259 (flyspell-emacs-popup): Use `session' instead of `accept'.
10260 (flyspell-auto-correct-previous-pos): New variable.
10261 (flyspell-auto-correct-previous-hook)
10262 (flyspell-auto-correct-previous-word): New functions.
10264 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
10266 * novice.el (enable-command): If Emacs was invoked as "emacs -q",
10267 don't alter the user's ~/.emacs.
10268 (disable-command): If user-init-file is nil or does not exist,
10269 default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
10270 But don't alter the init file if Emacs was invoked as "emacs -q"
10272 2002-02-01 Stefan Monnier <monnier@cs.yale.edu>
10274 * mail/sendmail.el (mail-mode): Undo half of last change.
10276 * indent.el (indent-for-tab-command): Remove spurious code.
10278 * hi-lock.el (hi-lock-find-patterns): Save restriction.
10280 2002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
10282 * calendar/time-date.el: Moved from lisp/gnus.
10284 * calendar/parse-time.el: Ditto.
10286 2002-01-31 Richard M. Stallman <rms@gnu.org>
10288 * international/iso-acc.el (iso-languages): Fix ", " in French.
10290 * cus-start.el (history-length): Specify customization for it.
10292 * emacs-lisp/debug.el (debugger-setup-buffer):
10293 When an eval-buffer frame was reading from a buffer,
10294 insert indication of the buffer position.
10295 (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
10296 (debugger-frame-clear, debugger-frame): Error on non-frame line.
10298 * simple.el (shell-command-on-region): Err if no mark
10299 before reading the command string.
10301 * hl-line.el (hl-line-highlight, hl-line-unhighlight):
10302 Definitions moved down after hl-line-mode var's definition.
10304 * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
10305 (hilit-chg-set-face-on-change): Rename arg.
10306 (hilit-chg-make-ov): Detect error earlier.
10308 * ediff-hook.el: Delete autoload cookies.
10310 * comint.el (comint-scroll-show-maximum-output): Default is t.
10312 * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
10313 (batch-byte-compile-if-not-done): New function.
10315 * Makefile.in (compile): New target.
10316 (compile-always): Renamed from compile-files.
10317 (compile-after-backup): Renamed from compile.
10318 (bootstrap): Depend on compile-always, not compile-files.
10320 * emulation/pc-select.el (pc-select-save-and-set-mode):
10321 Properly use MODE-VAR.
10323 2002-01-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10325 * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
10326 Version" to "About Emacs".
10327 (menu-bar-options-save): Add `default-frame-alist'
10328 to saved variables.
10329 (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
10330 of the variable `scroll-bar-mode'.
10332 * startup.el (normal-splash-screen, display-splash-screen):
10333 New functions (separated from command-line-1).
10334 (command-line-1): Use them.
10336 2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
10338 * calendar/calendar.el (generate-calendar-month): Doc fix.
10340 2002-01-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10342 * time.el (display-time-mail-directory): New option.
10343 (display-time-mail-function): Update doc-string.
10344 (display-time-mail-icon): Use XPM image when available.
10345 (display-time-string-forms): Use more descriptive text as
10346 help-echo property.
10347 (display-time-mail-check-directory): New function.
10348 (display-time-update): Use it.
10350 * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
10351 Quote `window-system'.
10353 * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
10354 Add Keywords header. Update Commentary section.
10355 Update copyright notice.
10357 * menu-bar.el (menu-bar-scroll-bar-right)
10358 (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
10359 (showhide-menu-bar): New functions.
10360 (menu-bar-showhide-menu): New submenu "Show/Hide".
10361 (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
10363 Update copyright notice.
10365 2002-01-27 Eli Zaretskii <eliz@is.elta.co.il>
10367 * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
10369 2002-01-26 Evgeny Roubinchtein <evgenyr@cs.washington.edu>
10371 * pc-select.el (pc-selection-mode-hook)
10372 (pc-select-saved-settings-alist, pc-select-map)
10373 (pc-select-saved-global-map, pc-select-key-bindings-alist)
10374 (pc-select-default-key-bindings, pc-select-extra-key-bindings)
10375 (pc-select-meta-moves-sexps-key-bindings)
10376 (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
10378 (pc-select-define-keys, pc-select-restore-keys): New functions.
10379 (pc-select-add-to-alist, pc-select-save-and-set-var)
10380 (pc-select-save-and-set-mode, pc-select-restore-var)
10381 (pc-select-restore-mode): New macros.
10382 (pc-selection-mode): Completely rewrote the body of the function;
10383 the main goal was to make pc-selection-mode "turn-off"-able, like
10384 other minor modes. Use define-minore-mode instead of just a
10385 defun. Store the key bindings into four alists:
10386 pc-select-default-key-bindings, pc-select-extra-key-bindings,
10387 pc-select-meta-moves-sexps-key-bindings, and
10388 pc-select-tty-key-bindings; then have the pc-select-define-keys
10389 function walk those alists instead of calling define-key
10390 repeatedly. When the mode is turned on, set the
10391 keybindings in global-map and remember the old keybindings; when
10392 the mode is turned off, restore the previously-saved keybindings.
10393 (pc-selection-mode defcustom): Reflect the fact that the mode is
10394 now "turn-off"-able.
10396 2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
10398 * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
10399 returns t, don't treat that as an error.
10401 2002-01-25 Jason Rumney <jasonr@gnu.org>
10403 * faces.el (face-font-registry-alternatives) [windows-nt]:
10404 Add ms-oemlatin as an alternative for iso8859-1.
10406 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
10408 * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
10409 args and the absence of an entry. Don't add -f each time.
10411 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
10413 * emacs-lisp/cl-seq.el (mismatch): Doc fix.
10415 Support for more than 8 colors on character terminals:
10417 * term/rxvt.el: New file.
10419 * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
10421 * term/xterm.el (xterm-standard-colors): New variable.
10422 (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
10423 (xterm-rxvt-set-background-mode): New functions.
10424 (toplevel): Call xterm-register-default-colors,
10425 xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
10426 Add support for more keys from xterm's terminfo entry.
10428 * facemenu.el (list-colors-display): If the argument is nil, don't
10429 show more colors that the number returned by display-color-cells.
10431 * term/pc-win.el (msdos-color-values): Reverse the order of the
10432 colors, since tty-color-define now preserves the registration order.
10434 * w32-fns.el (w32-tty-standard-colors): Reverse the order.
10436 * term/tty-colors.el (tty-standard-colors): Reverse the order.
10437 (tty-register-default-colors): New function; code moved from
10438 startup.el's command-line.
10439 (tty-modify-color-alist): Use nconc instead of cons, to preserve
10440 the order the colors where registered.
10442 * frame.el (display-color-cells): Use tty-display-color-cells.
10444 * startup.el (command-line): Call tty-register-default-colors.
10446 2002-01-25 Richard M. Stallman <rms@gnu.org>
10448 * subr.el (remove): Doc fix.
10450 2002-01-24 Richard M. Stallman <rms@gnu.org>
10452 * progmodes/compile.el (compilation-handle-exit):
10453 Add a compilation-handle-exit property to the "finished" message.
10454 (compilation-parse-errors): Stop parsing when that property is seen.
10456 * subr.el (substring-no-properties): New function.
10457 (copy-without-properties): Function deleted.
10459 * term/x-win.el (x-handle-geometry): Put sizes on both
10460 initial-frame-alist and default-frame-alist.
10462 * cus-edit.el (custom-save-all): Bind file-precious-flag to t
10465 * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
10467 * calendar/calendar.el (generate-calendar-month): Doc fix.
10469 2002-01-23 Richard M. Stallman <rms@gnu.org>
10471 * play/tetris.el (tetris): New defgroup.
10472 (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
10473 (tetris-default-tick-period): Convert to defcustom.
10474 Added * in docstring to indicate user variable.
10475 (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
10476 (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
10477 (tetris-buffer-height, tetris-width, tetris-height)
10478 (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
10480 2002-01-22 Stefan Monnier <monnier@cs.yale.edu>
10482 * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
10483 and is already matched by adaptive-fill-regexp.
10485 2002-01-22 Richard M. Stallman <rms@gnu.org>
10487 * bindings.el (mode-line-copied-mode-name): New variable.
10488 (mode-line-mode-name): Don't modify mode-name itself!
10489 Instead, make a copy and reuse it.
10491 * subr.el (copy-without-properties): New function.
10493 * progmodes/sh-script.el (sh-set-shell): Doc fix.
10495 * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
10496 slash if DIR is just slash.
10498 * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
10500 2002-01-21 Richard M. Stallman <rms@gnu.org>
10502 * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
10504 * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
10507 * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
10509 * ibuffer.el: Don't require ibuf-ext at load time.
10510 (ibuffer): Require ibuf-ext here.
10512 2002-01-21 Francesco Potorti` <pot@gnu.org>
10514 * generic-x.el (apache-conf-generic-mode): Highlight the first
10515 word in a line even if preceded by blanks.
10517 2002-01-21 Richard M. Stallman <rms@gnu.org>
10519 * window.el (window-body-height): Handle minibuffer window specially.
10520 Otherwise, don't return less than 1.
10522 2002-01-20 Thomas Dorner <Thomas.Dorner@start.de>
10524 * ange-ftp.el: Added support for BS2000, and for raw ftp
10525 login commands (needed in some circumstances).
10526 (ange-ftp-raw-login): New custom var.
10527 (ange-ftp-normal-login): Perform login with raw ftp commands, if
10528 ange-ftp-raw-login is set and account password is needed.
10529 (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
10530 (ange-ftp-bs2000-filename-pubset-regexp)
10531 (ange-ftp-bs2000-filename-username-regexp)
10532 (ange-ftp-bs2000-filename-prefix-regexp)
10533 (ange-ftp-bs2000-name-template): New consts.
10534 (ange-ftp-bs2000-short-filename-regexp)
10535 (ange-ftp-bs2000-fix-name-regexp-reverse)
10536 (ange-ftp-bs2000-fix-name-regexp): New consts.
10537 (ange-ftp-bs2000-special-prefix): New custom var.
10538 (ange-ftp-fix-name-for-bs2000)
10539 (ange-ftp-fix-dir-name-for-bs2000): New funs.
10540 (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
10541 (ange-ftp-bs2000-posix-hook-installed): New vars.
10542 (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
10543 (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
10544 (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
10545 (ange-ftp-bs2000-filename-regexp): New const.
10546 (ange-ftp-bs2000-additional-pubsets): New custom var.
10547 (ange-ftp-bs2000-cd-to-posix): New fun.
10549 2002-01-20 Colin Walters <walters@verbum.org>
10551 * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
10552 with `byte-compile-dynamic'.
10553 (ibuffer-default-directory, toplevel): Doc files.
10555 2002-01-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10557 * tempo.el (tempo-define-template): Doc fix.
10559 * scroll-bar.el (scroll-bar-mode): Make argument optional.
10561 2002-01-20 Jason Rumney <jasonr@gnu.org>
10563 * w32-vars.el: New file.
10565 * loadup.el [windows-nt]: Load it.
10567 * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
10568 and make them defcustoms.
10570 * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
10572 2002-01-19 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10574 * language/tibet-util.el (tibetan-decompose-region)
10575 (tibetan-decompose-string): Fix typo in docstring.
10577 * ruler-mode.el (ruler-mode): New keyword. Fix :version.
10579 2002-01-18 Richard M. Stallman <rms@gnu.org>
10581 * comint.el (comint-redirect-send-command-to-process):
10582 Restore previous current buffer.
10584 * window.el (window-body-height): New function.
10586 2002-01-18 Zoltan Kemenczy <kemenczy@rogers.com>
10588 * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
10589 "Finish Function" menu map entries for jdb mode.
10590 (gud-jdb-use-classpath): New customization variable.
10591 (gud-jdb-command-name): Add customization.
10592 (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
10593 (gud-jdb-classpath-string): New variable.
10594 (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
10595 (gud-jdb-build-source-files-list): Likewise.
10596 (gud-jdb-massage-args): Record any command argument classpath
10597 string in `gud-jdb-classpath-string'.
10598 (gud-jdb-lowest-stack-level): New function, finds bottom of current
10599 java call stack in jdb output.
10600 (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
10601 (gud-jdb-parse-classpath-string): New functions.
10602 (gud-jdb-marker-filter): Search/detect classpath information in
10603 jdb's output. marker regexp updated to match oldjdb and jdb output
10604 formats. Expand search for source files to include new/old methods
10605 using new functions above. Do not allow `gud-marker-acc' to grow
10607 (jdb): Set classpath information (if available) as jdb is started.
10608 Change `gud-break' and `gud-remove'
10609 to use new %c ("class") escape in format strings.
10610 Add `gud-finish', `gud-up', `gud-down' command string functions, and
10611 add them to the local menu map. Update `comint-prompt-regexp' for
10612 jdb and oldjdb. If attaching to an already running java VM and
10613 configured to use classpath, send command to query for classpath,
10614 else use previous method for finding and parsing java
10615 sources. Set `gud-jdb-find-source' function accordingly.
10616 (gud-mode): Doc fix.
10617 (gud-format-command): Add support for new %c ("class") escape.
10618 (gud-find-class): New function in support of %c escape.
10620 2002-01-17 Richard M. Stallman <rms@gnu.org>
10622 * ibuf-ext.el: Enable byte-compile-dynamic.
10624 2002-01-17 Jason Rumney <jasonr@gnu.org>
10626 * term/w32-win.el: Restore conditional require of fontset.
10628 2002-01-16 Richard M. Stallman <rms@gnu.org>
10630 * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
10632 (mouse-drag-region): New function. For a click in the echo area,
10635 * ibuf-ext.el: Delete the autoloads for functions defined with
10636 ibuffer-specific commands.
10638 * help.el (describe-distribution): Really call view-file.
10640 * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
10641 (ange-ftp-get-process): Pass that arg.
10643 * comint.el (comint-simple-send): Fix previous change.
10645 * net/telnet.el (telnet-simple-send): Fix previous change.
10647 * progmodes/sql.el (sql-escape-newlines-and-send)
10648 (sql-query-placeholders-and-send): Fix previous change.
10650 2002-01-16 Colin Walters <walters@verbum.org>
10652 * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
10653 URL, Compatibility headers. Update copyright notice.
10654 * ibuf-macs.el (toplevel): Require `cl' when compiling.
10656 2002-01-16 Andrew Choi <akochoi@cse.cuhk.edu.hk>
10658 * startup.el (command-line): Set EOL mnemonics for the Mac.
10660 2002-01-16 Andreas Schwab <schwab@suse.de>
10662 * mail/feedmail.el (feedmail): Fix :link spec.
10664 2002-01-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10666 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
10669 * net/eudc.el: New maintainer. Change author's address.
10670 (eudc-pre-select-window-configuration, eudc-insertion-marker):
10672 (eudc-insert-selected): Function removed.
10673 (eudc-select): Reimplemented.
10674 (eudc-expand-inline): Delete the strings only after its expansion
10675 is chosen not before.
10677 * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
10678 Minor coding style fixes.
10680 * net/eudcb-ldap.el: New maintainer. Change author's address.
10681 (eudc-attribute-display-method-alist): Display mail with
10684 * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
10685 * net/eudc-vars.el: New maintainer. Change author's address.
10687 * net/eudc-bob.el: New maintainer. Change author's address.
10688 (eudc-bob-mail-keymap): New keymap for e-mail addresses.
10689 (eudc-display-mail): New function.
10690 (eudc-bob-play-sound-at-point): Remove XEmacs case.
10692 2002-01-15 Richard M. Stallman <rms@gnu.org>
10694 * emacs-lisp/autoload.el (make-autoload):
10695 Don't handle define-ibuffer-column, define-ibuffer-filter,
10696 define-ibuffer-sorter, and define-ibuffer-op.
10698 2002-01-14 Richard M. Stallman <rms@gnu.org>
10700 * calendar/calendar.el (diary-date-forms): Doc fix.
10702 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
10704 * startup.el (command-line): Register the default tty colors even
10705 if the terminal doesn't seem to support colors.
10706 <tty-long-option-alist>: New option --color.
10707 (tty-handle-args): Parse the --color arg.
10709 * term/tty-colors.el (tty-color-mode-alist): New variable.
10711 2002-01-14 Stefan Monnier <monnier@cs.yale.edu>
10713 * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
10714 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
10716 (ange-ftp-hook-function): Preserve match-data.
10717 (ange-ftp-insert-directory): Typo.
10718 (ange-ftp-shell-command): Check if regexp matched.
10720 2002-01-13 Richard M. Stallman <rms@gnu.org>
10722 * international/mule-cmds.el: help-map bindings moved to help.el.
10724 * help.el (view-echo-area-messages): New function.
10725 (help-map): Add `e' binding. Delete obsolete `d' binding.
10726 Change old Info bindings C-f, C-k and C-i to F, K, S.
10727 Move view-emacs-FAQ from F to C-f.
10728 Move view-emacs-problems from P to C-e.
10729 Bindings moved here from mule-cmds.el.
10730 C-l binding for describe-language-environment deleted
10731 (help-for-help): Update for all these changes.
10733 * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
10735 2002-01-13 Dave Love <fx@gnu.org>
10737 * emacs-lisp/copyright.el: Doc fixes.
10738 (copyright-regexp): Add Latin-9 copyright sign.
10739 Match comment delimiters in year lists.
10740 (copyright-current-year): Initialize to load-time year.
10742 2002-01-13 Andreas Schwab <schwab@suse.de>
10744 * dired-aux.el (dired-do-shell-command): Doc fix.
10746 2002-01-13 Jan Djarv <Jan.Djarv@mbox200.swipnet.se>
10748 * startup.el (command-line-x-option-alist): New options "-fs",
10749 "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
10751 * term/x-win.el (x-handle-initial-switch): New function.
10753 2002-01-13 Colin Walters <walters@debian.org>
10755 * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
10756 define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
10758 * emacs-lisp/lisp-mode.el (toplevel): Ditto.
10760 * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
10762 2002-01-12 Richard M. Stallman <rms@gnu.org>
10764 * net/browse-url.el (browse-url-grail):
10765 Use browse-url-maybe-new-window.
10767 * net/telnet.el (telnet-simple-send):
10768 Handle comint-input-sender-no-newline like comint-simple-send.
10770 * progmodes/sql.el (sql-query-placeholders-and-send):
10771 Handle comint-input-sender-no-newline like comint-simple-send.
10772 (sql-escape-newlines-and-send): Likewise.
10774 * comint.el (comint-input-sender): Doc fix.
10775 (comint-input-sender-no-newline): New variable.
10776 (comint-simple-send): If comint-input-sender-no-newline,
10777 don't output newline, but maybe send eof.
10778 (comint-send-input): New arg NO-NEWLINE.
10779 (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
10781 2002-01-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10783 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10784 Prevent delaying when executing keyboard macros.
10786 2002-01-12 Richard M. Stallman <rms@gnu.org>
10788 * simple.el (line-move): If we can't move enough lines,
10789 go to beginning or end of line.
10791 * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
10794 * help.el (describe-mode): Call help-setup-xref in the help buffer.
10795 Switch buffers only after calling `help-buffer'.
10797 * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
10798 only when they are surrounded by whitespace.
10799 Use dired-mark-separator when adding one file name to a command.
10800 (dired-do-shell-command): Verify that * is surrounded by whitespace.
10801 Ask for confirmation if * or ? is not surrounded by whitespace.
10802 (dired-bunch-files): Re-reverse the partial file list when it is used.
10804 2002-01-12 Richard M. Stallman <rms@gnu.org>
10806 * comint.el (comint-dynamic-list-completions): Repeating the command
10807 after displaying a completion list scrolls the list.
10809 2002-01-12 Eli Zaretskii <eliz@is.elta.co.il>
10811 * files.el (find-file-noselect): Don't consider a buffer as
10812 visiting a file literally if it is in hexl-mode.
10814 * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
10816 2002-01-11 Richard M. Stallman <rms@gnu.org>
10818 * startup.el (initial-scratch-message): Fix custom type, add group.
10820 * mail/rmail.el (rmail-decode-babyl-format): Disable undo
10821 around the decode-coding-region call.
10823 * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
10824 after displaying a completion list scrolls the list.
10826 2002-01-11 Eli Zaretskii <eliz@is.elta.co.il>
10828 * version.el (emacs-version): Bump to 21.2.50.
10830 2002-01-10 Thien-Thi Nguyen <ttn@giblet.glug.org>
10832 * play/zone.el (zone-timeout): New var.
10833 (zone-hiding-modeline): New macro.
10834 (zone-call): New func.
10836 (zone): Init `modeline-hidden-level' symbol property.
10837 Use `zone-call' instead of `funcall'.
10839 (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 1.7).
10841 (zone-pgm-stress): Use `zone-hiding-modeline'.
10843 (zone-pgm-stress-destress): New zone program.
10845 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
10847 * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
10849 2002-01-09 Richard M. Stallman <rms@gnu.org>
10851 * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
10853 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
10855 * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
10856 flyspell-mouse-map.
10858 2002-01-08 Richard M. Stallman <rms@gnu.org>
10860 * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
10862 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
10864 * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
10866 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10868 * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
10869 Do not use make-local-hook.
10871 2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
10873 * international/quail.el (quail-start-translation)
10874 (quail-start-conversion): Bind last-command-event, last-command,
10875 and this-command in the first let. This fixes the change from
10878 2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
10880 * ediff-hook.el: Add an autoload cookie.
10882 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10884 * net/eudcb-ph.el, net/ldap.el: New maintainer. New e-mail
10885 address of the author.
10887 2002-01-08 Richard M. Stallman <rms@gnu.org>
10889 * replace.el (occur-mode-goto-occurrence-other-window): New command.
10890 (occur-mode-map): Bind `o' to that.
10892 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
10894 * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
10895 new macro that replaces viper-emacs-p and viper-xemacs-p in many
10896 cases. Used to reduce the number of warnings.
10898 * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
10899 (viper-standard-value): Move here from viper.el.
10900 (viper-set-unread-command-events): Move to viper-util.el
10901 (viper-check-minibuffer-overlay): Make sure
10902 viper-minibuffer-overlay is moved to cover the entire input field.
10904 * viper-util.el: use viper-cond-compile-for-xemacs-or-emacs.
10905 (viper-read-key-sequence, viper-set-unread-command-events)
10906 (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
10908 * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
10910 * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
10912 * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
10914 * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
10915 (viper-event-vector-p): Move to viper-util.el
10917 * viper.el (viper-standard-value): Move to viper-cmd.el.
10918 Use viper-cond-compile-for-xemacs-or-emacs.
10920 * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
10922 * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
10924 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
10925 New macro designed to be used in many places where ediff-emacs-p or
10926 ediff-xemacs-p was previously used. Reduces the number of warnings.
10927 Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
10929 (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
10930 (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
10931 (ediff-whitespace-diff-region-p, ediff-get-region-contents):
10932 Move to ediff-util.el.
10933 (ediff-event-key): Moved here.
10935 * ediff-merge.el: Got rid of unreferenced variables.
10937 * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
10939 * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
10940 (ediff-cleanup-mess): Improve the way windows are set up after
10942 (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
10943 (ediff-dispose-of-variant-according-to-user): New function
10944 designed to be smarter and also understands indirect buffers.
10945 (ediff-highlight-diff-in-one-buffer)
10946 (ediff-unhighlight-diff-in-one-buffer)
10947 (ediff-unhighlight-diffs-totally-in-one-buffer)
10948 (ediff-highlight-diff, ediff-highlight-diff)
10949 (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
10950 (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
10951 (ediff-get-region-contents, ediff-make-current-diff-overlay):
10953 (ediff-format-bindings-of): New function by Hannu Koivisto
10955 (ediff-setup): Make sure the merge buffer is always widened and
10957 (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
10958 result of a merge into a file visited by another buffer.
10959 (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
10960 is visited by another buffer and ask to save/delete that buffer.
10961 (ediff-verify-file-merge-buffer): New function to do the above.
10963 * ediff-vers.el: Load ediff-init.el at compile time.
10965 * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
10967 * ediff.el (ediff-windows, ediff-regions-wordwise)
10968 (ediff-regions-linewise): Use indirect buffers to improve
10969 robustness and make it possible to compare regions of the same
10970 buffer (even overlapping regions).
10971 (ediff-clone-buffer-for-region-comparison)
10972 (ediff-clone-buffer-for-window-comparison): New functions.
10973 (ediff-files-internal): Refuse to compare identical files.
10974 (ediff-regions-internal): Get rid of the warning about comparing
10975 regions of the same buffer.
10977 * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
10978 Plus the following fixes courtesy of Dave Love: Doc fixes.
10979 (ediff-word-1): Use word class and move - to the
10980 front per regexp documentation.
10981 (ediff-wordify): Bind forward-word-function outside loop.
10982 (ediff-copy-to-buffer): Use insert-buffer-substring rather than
10983 consing buffer contents.
10984 (ediff-goto-word): Move syntax table setting outside loop.
10986 2002-01-07 Richard M. Stallman <rms@gnu.org>
10988 * dired.el (dired-copy-filename-as-kill): Call kill-append
10989 if following a kill command.
10991 * help-fns.el (describe-variable, describe-function):
10994 2002-01-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10996 * net/ldap.el (ldap-search-internal): Skip error message from
10997 ldapsearch. Allow listing attribute names only. Do not open
10998 non-existent files.
11000 * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
11001 call non-existent function.
11003 * net/eudc.el (top-level): Revert previous change.
11005 * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
11006 variables to prevent warning from byte-compiler.
11008 * net/eudc.el (top-level): Use eudc-xemacs-p instead of
11009 string-match on emacs-version again.
11011 * enriched.el (enriched-make-annotation): Fix the change from
11013 (enriched-handle-display-prop): Return proper values.
11015 * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
11016 Use proper attribute name labeledUri instead of deprecated labeledUrl.
11018 2002-01-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11020 * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
11021 editing an empty hotlist.
11023 * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
11024 Use buffer-string instead of buffer-substring for the whole buffer.
11026 * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
11029 * net/eudc-bob.el (eudc-bob-can-display-inline-images)
11030 (eudc-bob-display-jpeg): Use fboundp instead of boundp.
11031 (eudc-bob-save-object): Make the buffer unibyte.
11032 (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
11033 object to external program.
11035 2002-01-05 Andre Spiegel <spiegel@gnu.org>
11037 * vc.el (vc-branch-part): Return nil if there's no `.'
11038 (vc-default-previous-version): Renamed from vc-previous-version.
11039 New args BACKEND and FILE. Return nil for revision numbers
11041 (vc-version-diff): Call vc-BACKEND-previous-version.
11042 (vc-steal-lock): Steal lock before composing mail, so that no mail
11043 is sent when the stealing goes wrong. And we'll actually see the
11044 error in that case now.
11045 (vc-finish-steal): Removed.
11047 * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
11048 the lock, so that we see expanded headers.
11049 (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
11050 (vc-rcs-minor-part, vc-rcs-previous-version): Removed. These are
11051 available from vc.el. Updated all callers.
11053 2002-01-05 Richard M. Stallman <rms@gnu.org>
11055 * enriched.el (enriched-make-annotation): Doc fix.
11057 * format.el (format-replace-strings, format-subtract-regions)
11058 (format-annotate-region, format-annotate-location)
11059 (format-annotate-atomic-property-change)
11060 (format-annotate-single-property-change): Doc fixes.
11062 2002-01-05 Jason Rumney <jasonr@gnu.org>
11064 * term/w32-win.el: Require fontset unconditionally.
11065 (w32-handle-scroll-bar-event): Remove.
11067 2002-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11069 * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
11070 copyrights to be updated.
11072 2002-01-04 Eli Zaretskii <eliz@is.elta.co.il>
11074 * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
11077 * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
11079 2002-01-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11081 * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
11082 (ldap-ignore-attribute-codings): Change the default value to allow
11083 encoding/decoding of attributes.
11084 (ldap-coding-system): Use UTF-8 as the coding-system. Doc fix.
11086 2002-01-03 Richard M. Stallman <rms@gnu.org>
11088 * files.el (basic-save-buffer): Undo previous change.
11090 * calendar/diary-lib.el (diary-block): Doc fix.
11092 * custom.el (defcustom): Fix syntax of previous change.
11094 2002-01-03 Per Abrahamsen <abraham@dina.kvl.dk>
11096 * custom.el (defcustom): Documented :tag, :link and :load.
11098 2002-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11100 * mail/sendmail.el (mail-recover-1): New function.
11101 (mail-recover): Switch to the *mail* buffer right away.
11102 Use buffer-auto-save-file-name instead of calling
11103 make-auto-save-file-name. Call dired-noselect instead of invoking
11104 `ls' directly. Bind coding-system-for-read to emacs-mule-unix
11105 before reading the auto-save file. If the buffer's auto-save file
11106 does not exist, call mail-recover-1 to allow recovery from past
11109 2002-01-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11111 * time.el (display-time-load-average-threshold): Fix defcustom
11112 (add type and group).
11114 * net/ange-ftp.el (ange-ftp-shell-command): Remove port
11115 specification from the hostname.
11117 2002-01-02 Richard M. Stallman <rms@gnu.org>
11119 * facemenu.el (facemenu-active-faces):
11120 Use face-attributes-as-vector, not face-attributes-vector.
11122 2002-01-02 Chris Hanson <cph@aarau.ai.mit.edu>
11124 * xscheme.el: Eleven years of updates on a private copy.
11126 Extensive changes to support multiple xscheme buffers:
11127 (run-scheme): Break up into new functions to facilitate starting
11128 processes in other buffers.
11129 (xscheme-start, xscheme-read-command-line): New functions.
11130 (start-scheme, select-scheme)
11131 (default-xscheme-runlight)
11132 (global-set-scheme-interaction-buffer)
11133 (local-set-scheme-interaction-buffer)
11134 (local-clear-scheme-interaction-buffer)
11135 (exit-scheme-interaction-mode)
11136 (verify-xscheme-buffer): New functions.
11137 (xscheme-process-name, xscheme-buffer-name)
11138 (xscheme-runlight): New internal vars.
11139 (default-xscheme-runlight): New const.
11140 (xscheme-start-process): Add args for the process/buffer names.
11141 (reset-scheme): Pass process/buffer names.
11142 (scheme-interaction-mode): Initialize new local vars.
11143 (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
11144 (xscheme-select-process-buffer, xscheme-process-buffer)
11145 (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
11146 (xscheme-goto-output-point, xscheme-write-message-1): Use new
11147 var xscheme-process-name.
11148 (xscheme-start-process): Initialize xscheme-process-name and
11149 xscheme-buffer-name in the process buffer. Pass buffer name to
11150 xscheme-modeline-initialize.
11151 (xscheme-modeline-initialize): Add argument to specify buffer name
11152 for mode-line vars.
11153 (xscheme-process-sentinel): Make sure sentinel is run in the
11154 process buffer so it sees its local vars.
11155 (xscheme-process-filter-initialize, xscheme-set-runlight):
11156 More elaborate logic to handle multiple-buffer mode lines.
11158 (xscheme-enter-input-wait): Re-enable control-G handler upon
11159 entering input wait.
11161 (scheme-interaction-mode): Add arg to preserve local vars.
11162 (xscheme-enter-interaction-mode)
11163 (xscheme-enter-debugger-mode): Preserve local vars.
11164 (xscheme-start-process): Clobber local vars.
11166 (scheme-interaction-mode-commands): Allow end user to add commands
11167 to scheme-interaction-mode keymap.
11168 (scheme-interaction-mode-commands-alist): New variable.
11170 (xscheme-send-string): Don't use insert-before-markers.
11172 Implement a per-buffer kill ring:
11173 (xscheme-insert-expression)
11174 (xscheme-rotate-yank-pointer, xscheme-yank)
11175 (xscheme-yank-pop, xscheme-yank-push): New functions.
11176 (xscheme-expressions-ring)
11177 (xscheme-expressions-ring-yank-pointer)
11178 (xscheme-expressions-ring-max): New variables.
11179 (xscheme-send-string-1): Call xscheme-insert-expression to save
11180 expression in ring.
11181 (xscheme-yank-previous-send): Now an alias for xscheme-yank.
11182 (xscheme-previous-send): Deleted variable.
11184 (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
11185 (xscheme-send-control-g-interrupt): Use process-send-string rather
11188 (xscheme-send-region): Insert a newline after an expression that
11189 is submitted in the interaction buffer, for consistency with
11190 recent changes to Edwin.
11192 (xscheme-delete-output): New function mimics comint-delete-output.
11193 (xscheme-last-input-end): New internal variable.
11194 (xscheme-process-filter-output): Update xscheme-last-input-end.
11196 (xscheme-send-control-g-interrupt): Make sure that
11197 xscheme-control-g-disabled-p is looked up in the right buffer.
11199 (xscheme-enable-control-g): Clear C-g message if visible.
11200 (xscheme-control-g-message-string): New internal var.
11201 (xscheme-send-control-g-interrupt): Use new var.
11203 (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
11204 Delay after sending interrupt in order to work around race condition.
11206 (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
11207 (xscheme-send-char): Use xscheme-send-char rather than send-string
11208 to send single char.
11210 (xscheme-process-filter, xscheme-process-filter-alist):
11211 Add support for evaluating expressions outside of the call-excursion.
11212 (xscheme-process-filter:string-action-noexcursion): New func.
11214 (xscheme-write-value): Change output string to match that used by
11217 (xscheme-coerce-prompt): Don't write a space after a command
11218 prompt. The PROMPT-FOR-COMMAND- procedures will take care of this
11221 (reset-scheme): Delete process after killing it.
11223 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
11225 * bindings.el (function-key-map): Don't bind shifted keypad
11228 2002-01-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11230 * enriched.el (enriched-handle-display-prop): Remove unused variables.
11231 (enriched-mode): Doc fix.
11233 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
11235 * international/ucs-tables.el (ucs-8859-8-alist): Comment away
11238 2002-01-01 Richard M. Stallman <rms@gnu.org>
11240 * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
11242 2001-12-31 Richard M. Stallman <rms@gnu.org>
11244 * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
11245 * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
11246 * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
11247 * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
11248 * progmodes/cperl-mode.el, progmodes/idlwave.el:
11249 * progmodes/sh-script.el, progmodes/vhdl-mode.el:
11250 Adapt face definitions to use :weight and :slant.
11252 * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
11254 * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
11256 * font-lock.el (initializing from font-lock-face-attributes):
11257 Use :weight and :slant, not :bold and :italic.
11259 2001-12-31 Per Abrahamsen <abraham@dina.kvl.dk>
11261 * cus-edit.el (custom-face-edit-fix-value): New function.
11262 (custom-face-edit): Use it, to convert :italic and :bold to new forms.
11264 2001-12-30 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11266 * progmodes/octave-mod.el (octave-abbrev-table):
11267 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
11268 * progmodes/fortran.el (fortran-mode-abbrev-table):
11269 * progmodes/f90.el (f90-mode-abbrev-table):
11270 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
11271 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
11272 predefined abbrevs as "system" abbrevs.
11274 2001-12-30 Richard M. Stallman <rms@gnu.org>
11276 * info.el (Info-fontify-node): For a **** underline line, put the
11277 invisible and intangible props on the following newline, but not
11278 on the previous newline or the last char of the previous line.
11280 * faces.el (face-set-after-frame-default): Don't change `default' face.
11282 * faces.el (minibuffer-prompt): Adopt some default colors.
11284 * replace.el (query-replace-read-args): Immediate error if read-only.
11286 * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
11287 Display the output buffer in a more intelligent way.
11289 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
11291 * ls-lisp.el (insert-directory): Modify the "total" line wording,
11292 in accordance with files.el's insert-directory.
11294 2001-12-29 Richard M. Stallman <rms@gnu.org>
11296 * files.el (basic-save-buffer): If a before-write hook displays
11297 an echo area message, pause before calling basic-save-buffer-1.
11299 2001-12-29 Markus Rost <rost@math.ohio-state.edu>
11301 * textmodes/reftex-global.el (reftex-query-replace-document)
11302 (reftex-change-label): Doc fix.
11304 * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
11306 * progmodes/etags.el (tags-query-replace): Doc fix.
11308 2001-12-29 Richard M. Stallman <rms@gnu.org>
11310 * progmodes/compile.el (compile-internal): Fix previous change.
11312 2001-12-28 Richard M. Stallman <rms@gnu.org>
11314 * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
11315 shrink the windows above as necessary to get space.
11316 (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
11318 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
11319 This fixes a bug that treated all files as directories.
11320 (ange-ftp-insert-directory): Explicitly follow symlinks.
11322 * international/iso-transl.el (iso-transl-char-map) Eliminate the
11323 alias symbols--put the translated sequences here directly.
11325 * progmodes/cc-mode.el (c-mode-abbrev-table)
11326 (c++-mode-abbrev-table, objc-mode-abbrev-table)
11327 (java-mode-abbrev-table, pike-mode-abbrev-table):
11328 Mark all the predefined abbrevs as "system" abbrevs.
11330 * mail/sendmail.el (mail-envelope-from): Fix custom type.
11331 (sendmail-send-it): Check mail-specify-envelope-from
11332 and mail-envelope-from in the mail buffer at start.
11334 2001-12-28 Simon Josefsson <jas@extundo.com>
11336 * mail/sendmail.el (mail-envelope-from): Fix :type.
11337 (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
11339 2001-12-28 Richard M. Stallman <rms@gnu.org>
11341 * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
11343 * simple.el (line-move-invisible): New subroutine.
11344 (line-move-to-column): New subroutine--smarter about advancing over
11345 invisible parts of a line, or lines, but only as long as hpos grows.
11346 (line-move-finish): New subroutine: repeatedly processes desired
11347 column, intangibility, and fields.
11348 (line-move): Use those subroutines.
11349 When moving lines downward, skip invisible text first rather than last.
11351 2001-12-27 Richard M. Stallman <rms@gnu.org>
11353 * international/mule-diag.el (describe-char-after):
11354 Describe the text properties of the char after point.
11356 * help.el (describe-key): Doc fix.
11358 2001-12-26 Markus Rost <rost@math.ohio-state.edu>
11360 * find-dired.el (find-dired-sentinel): Precede exit message by
11361 two spaces, to match the regexp in dired-between-files.
11363 2001-12-28 Miles Bader <miles@gnu.org>
11365 * wid-edit.el (widget-toggle-value-create): Don't eval actual
11366 images (which are lists too).
11368 2001-12-27 Eli Zaretskii <eliz@is.elta.co.il>
11370 * language/european.el: Fix the doc string of "Latin-5" language
11373 2001-12-26 Richard M. Stallman <rms@gnu.org>
11375 * textmodes/flyspell.el (flyspell-mode-map): New keymap,
11376 defined as before 2001-11-09.
11377 (add-minor-mode call): Specify the keymap.
11379 * progmodes/compile.el (compile-internal):
11380 Set TERM variable in process-environment.
11382 2001-12-25 Richard M. Stallman <rms@gnu.org>
11384 * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
11387 * startup.el (command-line): Convert command line args
11388 to Emacs internal representation using locale-coding-system.
11390 2001-12-25 Eli Zaretskii <eliz@is.elta.co.il>
11392 * international/fontset.el: Don't require ind-util when compiling.
11394 2001-12-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11396 * emulation/tpu-edt.el (tpu-reset-screen-size):
11397 Use set-frame-height and set-frame-width instead of set-screen-height
11398 and set-screen-width.
11400 * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
11401 of obsolete set-screen-width.
11403 * locate.el (locate): Remove dot at the end of error argument.
11405 * emerge.el (emerge-show-file-name): Use frame-height instead of
11406 obsolete screen-height.
11408 * mail/mh-utils.el (mh-show-msg): Likewise.
11409 (mh-handle-process-error): Use frame-width instead of obsolete
11412 2001-12-25 Richard M. Stallman <rms@gnu.org>
11414 * window.el (balance-windows): Use new PRESERVE-BEFORE arg
11415 to enlarge-window. Use save-selected-window. Don't try
11416 to resize windows that end at the bottom "level".
11417 Retry changing the sizes until the windows get the desired sizes.
11418 Discount the minibuffer when computing total height available.
11420 * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
11421 (debugger-make-xrefs): Only make a button for the first symbol
11424 2001-12-24 Eli Zaretskii <eliz@is.elta.co.il>
11426 * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
11427 Call IT-setup-unicode-display here instead of adding it to
11428 dos-codepage-setup-hook, so that Unicode display tables are set
11429 before dos-codepage-setup-hook runs.
11431 2001-12-24 Richard M. Stallman <rms@gnu.org>
11433 * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
11434 (nslookup-mode-abbrev-table): Don't define it.
11435 (smbclient-mode-abbrev-table): Don't define it.
11436 (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
11437 (nslookup-mode, smbclient-mode): Likewise.
11438 (network-connection-service-abbrev-alist): Variable deleted.
11439 (network-connection-mode-setup): Don't set up abbrev table.
11441 * faces.el (minibuffer-prompt): New face.
11442 (minibuffer-prompt-properties): Add `face' property.
11444 * replace.el (occur-mode-display-occurrence): New function.
11445 (occur-mode-map): Bind C-o to it.
11447 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
11449 * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
11450 (viper-special-read-and-insert-char): Make C-m work right in the r
11452 (viper-buffer-search-enable): Fixed format string.
11454 * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
11455 instead of viper-info-on-file.
11456 (ex-set-visited-file-name): New function.
11458 * viper.el (viper-emacs-state-mode-list): Added mail-mode.
11460 * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
11463 * ediff-init.el: Fixed some doc strings.
11465 * ediff-util.el (ediff-after-quit-hook-internal): New variable.
11466 Got rid of make-local-hook.
11468 * ediff-wind.el (ediff-setup-control-frame): Got rid of
11471 2001-12-23 Richard M. Stallman <rms@gnu.org>
11473 * term/x-win.el (x-handle-geometry): Put height and width
11474 on default-frame-alist, left and top on initial-frame-alist.
11475 * term/w32-win.el (x-handle-geometry): Likewise.
11477 * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
11479 * play/yow.el (yow): Use an arg to distinguish interactive calls,
11482 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11484 * emacs-lisp/elint.el (elint-unknown-builtin-args):
11485 Remove mocklisp entries.
11487 * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
11490 * emulation/mlconvert.el: File removed.
11492 * emulation/mlsupport.el: Moved to obsolete.
11494 * obsolete/mlsupport.el: Moved there from lisp/emulation.
11496 * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
11498 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
11499 Remove mocklisp case.
11501 * help-fns.el (describe-function-1): Remove mocklisp function case.
11503 2001-12-22 Miles Bader <miles@gnu.org>
11505 * textmodes/refill.el (refill-mode): Don't barf when redundantly
11506 turning refill-mode off.
11508 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11510 * time.el (display-time-load-average-threshold): New variable.
11511 (display-time-update): Use it.
11513 These changes allow cycling through past 1, 5 and 15 minutes
11514 load-average displayed in the mode-line.
11516 * time.el (display-time-default-load-average): New customizable option.
11517 (display-time-load-average): New variable.
11518 (display-time-cycle-load-average): New function.
11519 (display-time-update): Use them.
11521 2001-12-21 Richard M. Stallman <rms@gnu.org>
11523 * apropos.el (apropos-print): SPACING is now nil or a separator string.
11524 (apropos-documentation, apropos-value): Pass a suitable string.
11526 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
11528 * dired.el (dired-free-space-program, dired-free-space-args):
11529 Aliases for back-compatibility.
11531 * info.el (Info-select-node): If Info-use-header-line is nil, set
11532 header-line-format to nil.
11533 (Info-fontify-node): Don't put a keymap text property on the
11534 heading if we are not going to display the header line. Remove
11535 any such text properties left over from past visits to this node.
11537 * ls-lisp.el (insert-directory): Insert the amount of free disk
11538 space, like files.el's insert-directory does.
11540 * files.el (directory-free-space-program):
11541 Mention file-system-info in the doc string.
11542 (get-free-disk-space): New function; code moved from insert-directory.
11543 (insert-directory): Call get-free-disk-space to get the amount of
11546 2001-12-21 Richard M. Stallman <rms@gnu.org>
11548 * help.el (view-order-manuals, view-emacs-news, describe-copying)
11549 (describe-distribution, describe-project): Use view-file.
11551 * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
11553 * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
11555 * emacs-lisp/easy-mmode.el (define-minor-mode):
11556 Make no arg by default in an interactive call,
11557 so that repeating the command toggles again.
11559 * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
11561 2001-12-21 Christoph Wedler <Christoph.Wedler@sap.com>
11563 * antlr-mode.el: More sophisticated indentation of cpp directive.
11564 (antlr-indent-at-bol-alist): New user option.
11565 (antlr-indent-line): Use it.
11566 (antlr-indent-style): New user option.
11567 (antlr-mode): Use it.
11568 (antlr-indent-item-regexp): Customize.
11570 * antlr-mode.el: Syntax highlighting changes.
11571 (antlr-font-lock-literal-regexp): New user option.
11572 (antlr-font-lock-syntax-face): New face used for :, |, ....
11573 (antlr-font-lock-default-face): New face.
11574 (antlr-font-lock-additional-keywords): Use them.
11576 * antlr-mode.el: New command to insert options -- variables.
11577 (antlr-mode-map): New binding [C-c C-o].
11578 (antlr-mode-menu): New submenus.
11579 (antlr-options-use-submenus): New user option.
11580 (antlr-tool-version): New user option.
11581 (antlr-options-auto-colon): New user option.
11582 (antlr-options-style): New user option.
11583 (antlr-options-push-mark): New user option.
11584 (antlr-options-assign-string): New user option.
11585 (antlr-options-headings): New variable.
11587 * antlr-mode.el: New command to insert options -- specific.
11588 (antlr-options-alists): New variable.
11589 (antlr-read-value): New function.
11590 (antlr-read-boolean): New function.
11591 (antlr-language-option-extra): New function.
11592 (antlr-language-limit-n-regexp): Change default to higher LIMIT.
11593 (antlr-c++-mode-extra): New function.
11594 (antlr-grammar-tokens): New function.
11595 (antlr-imenu-create-index-function): New optional argument.
11597 * antlr-mode.el: New command to insert options -- functions.
11598 (antlr-insert-option): New command.
11599 (antlr-insert-option-interactive): New function.
11600 (antlr-options-menu-filter): New function.
11601 (antlr-option-kind): New function.
11602 (antlr-scan-lists): New alias.
11603 (antlr-scan-lists-internal): New function.
11604 (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
11605 (antlr-option-level): New function.
11606 (antlr-syntactic-grammar-depth): New function.
11607 (antlr-option-location): New function.
11608 (antlr-insert-option-do): New function.
11609 (antlr-option-spec): New function.
11610 (antlr-version-string): New function.
11611 (antlr-insert-option-existing): New function.
11612 (antlr-insert-option-space): New function.
11613 (antlr-insert-option-area): New function.
11615 * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
11616 with narrowing. Menu change. Miscellaneous.
11617 (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
11618 (antlr-mode-map): New bindings for characters in ":;|&(){}".
11619 (antlr-electric-character): New command.
11620 (antlr-class-header-regexp): New variable.
11621 (antlr-font-lock-additional-keywords): Use it.
11622 (antlr-imenu-create-index-function): Use it.
11623 (antlr-file-dependencies): Use it.
11624 (antlr-indent-line): Also works with restrictions.
11625 (antlr-indent-command): Interactive spec - changes the buffer.
11626 (antlr-language-for-option): Deletia.
11627 (antlr-language-option): New function, defined instead.
11628 (antlr-mode): Use it.
11630 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
11632 * jka-compr.el (jka-compr-partial-uncompress): Use null-device
11633 instead of a literal /dev/null.
11635 * Makefile.in (distclean): Remove Makefile in the build
11636 directory, not in the source directory.
11638 2001-12-21 Simon Josefsson <jas@extundo.com>.
11640 * mail/smtpmail.el (smtpmail-send-queued-mail):
11641 Use with-temp-buffer instead of find-file-noselect, and bind
11642 coding-system-for-read to no-conversion when reading the queued
11643 messages. (Simon's code modified slightly by Eli Zaretskii.)
11645 2001-12-20 Werner Lemberg <wl@gnu.org>
11647 * international/mule-diag.el (describe-coding-system)
11648 (print-coding-system-briefly): Make printed output have a similar
11649 format as describe-character-set.
11651 2001-12-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11653 * play/blackbox.el (bb-member): Remove, use member instead.
11654 (bb-delete): Remove, use delete instead.
11655 Update copyright notice. Defvar for bb-board, bb-x, bb-y,
11656 bb-score, bb-detour-count and bb-balls-placed.
11657 Propertize results of rays.
11659 2001-12-19 Karl Fogel <kfogel@red-bean.com>
11661 * isearch.el (isearch-forward, isearch-edit-string): Make doc
11662 strings mention keybinding for `isearch-yank-word-or-char',
11663 rather than `isearch-yank-word', since the former is bound now
11664 and the latter is not.
11665 (isearch-yank-word-or-char): Fix formatting.
11667 2001-12-19 Werner Lemberg <wl@gnu.org>
11669 * language/czech.el, language/european.el, language/slovak.el:
11670 More fixes for language info doc strings.
11672 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
11674 * loadup.el: Add "language" to the load-path.
11676 2001-12-19 Richard M. Stallman <rms@gnu.org>
11678 * international/mule-cmds.el (describe-language-environment):
11679 Fix calls to help-xref-button.
11681 2001-12-19 Miles Bader <miles@gnu.org>
11683 * international/fontset.el: Require `ind-util' when compiling.
11685 2001-12-18 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11687 * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
11688 instead of decompose-composite-char.
11690 2001-12-18 Richard M. Stallman <rms@gnu.org>
11692 * simple.el (eval-expression-print-level)
11693 (eval-expression-print-length): Doc fixes.
11695 * international/mule-diag.el (describe-character-set):
11696 Fix the arg to help-xref-button.
11698 * files.el (directory-free-space-program): New variable.
11699 (directory-free-space-args): New variable.
11700 (insert-directory): Use those two variables for getting free space.
11701 Use file-system-info instead, if that is defined.
11703 * dired.el (dired-free-space-program): Variable deleted.
11704 (dired-free-space-args): Variable deleted.
11705 (dired-insert-directory): Don't try to determine free space.
11707 * files.el (font-lock-defaults): Add risky-local-variables prop.
11708 (hack-one-local-variable): Treat various font-lock variables as risky.
11710 2001-12-18 Werner Lemberg <wl@gnu.org>
11712 * language/chinese.el, language/cyrillic.el:
11713 * language/czech.el, language/european.el, language/greek.el:
11714 * language/hebrew.el, language/indian.el, language/japanese.el:
11715 * language/korean.el, language/lao.el, language/slovak.el:
11716 * language/thai.el, language/tibetan.el, language/vietnamese.el:
11717 Improve documentation strings of coding systems and language infos.
11719 2001-12-18 Werner LEMBERG <wl@gnu.org>
11721 Add support for EUC-TW decoding/encoding.
11723 * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
11724 (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
11725 New auxiliary functions to build `big5-to-cns'.
11726 (big5-to-cns): New translation alist.
11728 * language/chinese.el: Added new coding system `euc-tw' and its
11729 alias `euc-taiwan'.
11730 Updated language `Chinese-CNS' to include euc-tw encoding also.
11731 (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
11734 2001-12-18 Dave Love <fx@gnu.org>
11736 * loadup.el: Add language/utf-8-lang, language/georgian.
11738 * image-file.el (image-file-name-extensions): Add pnm. Doc fix.
11739 (image-file-name-regexps): Doc fix.
11741 * server.el (server-unload-hook): New function.
11743 * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
11744 (lm-crack-copyright): Cope with multi-line copyright `lines'.
11746 * simple.el (newline): Doc fix.
11747 (eval-expression-print-level, eval-expression-print-length): Doc
11749 (next-line, previous-line): Make arg optional.
11750 (newline): Doc fix.
11752 * Makefile.in (DONTCOMPILE): Add various language files.
11754 * international/quail.el (quail-input-string-to-events): Don't use
11757 * progmodes/f90.el (f90-break-line): Avoid infinite recursion
11760 2001-12-17 Richard M. Stallman <rms@gnu.org>
11762 * comint.el (comint-dynamic-list-input-ring-select): New function.
11763 Switches back to the old window configuration.
11764 (comint-dynamic-list-input-ring): Bind RET to that function.
11765 (comint-dynamic-list-input-ring-window-conf): New variable.
11767 2001-12-17 Werner Lemberg <wl@gnu.org>
11769 * international/mule-conf.el: Improve documentation strings of
11772 2001-12-16 Richard M. Stallman <rms@gnu.org>
11774 * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
11775 (dired-mode-map): Bind w to dired-copy-filename-as-kill.
11777 * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
11779 * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
11780 Add a DESCRIPTION for the makefile item.
11782 * find-file.el (ff-other-file-name): New function.
11784 2001-12-16 Eli Zaretskii <eliz@is.elta.co.il>
11786 * international/quail.el (quail-input-string-to-events): Fix last
11789 2001-12-16 Richard M. Stallman <rms@gnu.org>
11791 * isearch.el (isearch-edit-string): When we set isearch-string
11792 to the default, also set isearch-message.
11794 * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
11796 * startup.el (command-line-1): Display startup screen
11797 even if there are command line args.
11798 Add a note about how to go to editing your files.
11799 (fancy-splash-head): Add a note about how to go to your files.
11800 (fancy-splash-outer-buffer): New variable.
11801 (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
11803 * subr.el (with-temp-message): At the end, always discard
11804 the temp message, even by clearing the echo area.
11806 * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
11808 2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
11810 * log-view.el (log-view-message-re, log-view-current-tag):
11811 Recognize Subversion's log output format.
11813 * international/fontset.el: Build the list L at compile time.
11815 * language/ind-util.el (mapthread): Make a closure.
11817 2001-12-15 Richard M. Stallman <rms@gnu.org>
11819 * isearch.el (isearch-start-hscroll): New variable.
11820 (isearch-mode): Set isearch-start-hscroll.
11821 (isearch-update): Restore original hscrolling if possible.
11823 * isearch.el (isearch-edit-string):
11824 Treat isearch-yank-word-or-char specially, like isearch-yank-word.
11826 * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
11827 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
11828 rather than regexp search and (2) copying text properties
11829 already set up on text unchanged from the previous backtrace.
11831 * case-table.el (set-case-syntax-pair):
11832 Detect invalid calls and signal an error.
11834 2001-12-15 Richard M. Stallman <rms@gnu.org>
11836 * language/ind-util.el (range): Function deleted.
11837 (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
11840 * language/devan-util.el (devanagari-range): Renamed from `range'.
11842 (devanagari-regexp-of-hashtbl-keys):
11843 Renamed from `regexp-of-hashtbl-keys'. All calls changed.
11845 2001-12-15 Dave Love <fx@gnu.org>
11847 * language/ind-util.el: Don't require cl.
11848 (indian-glyph-char, indian-glyph-max-char)
11849 (indian-char-glyph): Moved from indian.el
11850 (indian--puthash-char, mapthread): Don't quote lambda.
11851 (indian--map): New function.
11852 (indian--puthash-v, indian--puthash-c, indian--puthash-m)
11853 (indian--puthash-cv): Use it.
11855 * language/indian.el (indian-glyph-char, indian-glyph-max-char)
11856 (indian-char-glyph): Moved to ind-util.el
11858 * language/devan-util.el (devanagari-post-read-conversion):
11861 * language/georgian.el: New file.
11863 * international/mule-cmds.el (locale-language-names): Add various
11864 entries. Remove utf-8 special case.
11865 (locale-charset-language-names, locale-preferred-coding-systems):
11867 (set-language-environment): Process required-features earlier.
11869 * international/quail.el (quail-keyboard-layout-alist):
11871 (quail-keyboard-layout-type): Fix :type.
11872 (quail-choose-completion-string): Simplify.
11873 (quail-update-leim-list-file): Don't get fooled by commented-out code.
11874 (quail-input-string-to-events): Run events through
11875 translation-table-for-input.
11877 * international/mule-conf.el (translation-table-for-input):
11879 (latin-iso8859-14): Amend description.
11880 (file-coding-system-alist): Add entry for utf-8.
11882 * language/utf-8-lang.el: New file.
11884 * international/code-pages.el: New file.
11886 * language/hebrew.el ("Windows-1255"): New language.
11888 * language/european.el ("Welsh", "Latin-7", "Lithuanian")
11889 ("Latvian"): New languages.
11891 2001-12-14 Stefan Monnier <monnier@cs.yale.edu>
11893 * xml.el: Use setq rather than (set 'foo bar).
11894 Use push+nreverse rather than append.
11895 (xml-node-name, xml-node-attributes, xml-node-children):
11896 Use defsubst rather than macros.
11897 (xml-parse-region): Handle a nil return value from xml-parse-tag.
11898 (xml-parse-tag): Don't skip white space. Return nil for a comment.
11899 Concat the two strings surrounding a comment into a single string.
11901 * newcomment.el (comment-indent): Jump to the middle of empty comments.
11903 2001-12-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11905 * select.el (xselect-convert-to-class, xselect-convert-to-name):
11908 2001-12-14 Andre Spiegel <spiegel@gnu.org>
11910 * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
11911 Return nil if FILE is not registered.
11912 (vc-check-master-templates, vc-default-make-version-backups-p):
11915 2001-12-13 David Ponce <david@dponce.com>
11917 * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
11918 (ruler-mode-left-fringe-cols): New macro.
11919 (ruler-mode-right-fringe-cols): New macro.
11920 (ruler-mode-left-scroll-bar-cols): New macro.
11921 (ruler-mode-right-scroll-bar-cols): New macro.
11922 (ruler-mode-ruler): Use above new macros.
11924 2001-12-13 Richard M. Stallman <rms@gnu.org>
11926 * files.el (set-auto-mode): Fix previous change.
11928 2001-12-13 Stefan Monnier <monnier@cs.yale.edu>
11930 * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
11931 (easy-menu-do-define, easy-menu-convert-item-1)
11932 (easy-menu-define-key-intern, easy-menu-get-map): Use it.
11933 (easy-menu-return-item): Only return nil if there is no binding.
11935 2001-12-13 Rajesh Vaidheeswarran <rv@gnu.org>
11937 * whitespace.el (whitespace-version): 3.2
11938 * whitespace.el (whitespace-force-mode-line-update): Replace with
11939 `whitespace-mode-line-update', which is an alias to the correct
11940 function in various emacsen.
11941 * whitespace.el (whitespace-{un,}highlight-the-space):
11942 Add colorized highlighting of the bogus whitespaces in a buffer/file,
11943 using the `whitespace-highlight-face' if
11944 `whitespace-display-spaces-in-color' is set.
11946 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
11948 * international/mule.el (set-auto-coding): Don't search for
11949 "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
11951 2001-12-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11953 * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
11955 * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
11957 * mail/rmailsum.el (rmail-summary-mode): Likewise.
11959 2001-12-13 Richard M. Stallman <rms@gnu.org>
11961 * simple.el (undo): Always set this-command to `undo',
11962 so that the next undo after an error will not begin redoing.
11964 * simple.el (shell-command): Doc fix.
11965 (shell-command-on-region): If there is output an an error,
11966 add "...Shell command failed" to the output.
11968 2001-12-13 David Ponce <david@dponce.com>
11970 * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
11971 (ruler-mode-left-fringe-cols): Function replaced by more efficient
11972 implementation `ruler-mode-extra-left-cols'.
11973 (ruler-mode-ruler): Use above new function. Take into account
11974 that the fringe areas can now be resized.
11976 2001-12-12 Richard M. Stallman <rms@gnu.org>
11978 * international/characters.el (Unicode): Comment out
11979 the specifications for kelvin and angstrom signs.
11981 * international/mule.el (make-translation-table-from-vector):
11982 Allow null elements in VEC.
11984 * international/ucs-tables.el (unify-8859-on-encoding-mode)
11985 (unify-8859-on-decoding-mode): Swap the code in their bodies.
11988 2001-12-11 Richard M. Stallman <rms@gnu.org>
11990 * derived.el (derived-mode-p): Function moved to subr.el.
11992 * subr.el (derived-mode-p): Moved here from derived.el.
11994 * international/mule.el (set-auto-coding): Use set-auto-mode-1.
11996 * files.el (set-auto-mode-1): New subroutine, broken out of
11998 (set-auto-mode, hack-local-variables-prop-line): Use that.
12000 2001-12-11 Dave Love <fx@gnu.org>
12002 * language/thai-util.el, language/thai.el: Add Unicode equivalents.
12004 * language/european.el: Remove autoload cookies. Fix registration
12005 of diacritic composition function.
12007 2001-12-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
12009 * calendar/todo-mode.el: Require time-stamp.
12011 * net/zone-mode.el (zone-mode): Don't use make-local-hook.
12013 2001-12-11 Richard M. Stallman <rms@gnu.org>
12015 * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
12017 * textmodes/ispell.el (ispell-buffer-local-parsing):
12018 Match xml like sgml.
12020 * emacs-lisp/advice.el (ad-compile-function):
12021 Byte compile the function under another (uninterned) name.
12023 * gud.el (gdb): Define and bind gud-jump.
12025 * font-lock.el (font-lock-mode):
12026 Put our function at the end of after-change-functions.
12028 * ediff-diff.el (ediff-cmp-options): Doc fix.
12030 * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
12032 2001-12-10 Richard M. Stallman <rms@gnu.org>
12034 * isearch.el (isearch-yank-word-or-char): New function.
12035 (isearch-mode-map): Bind C-w to that.
12037 * menu-bar.el (menu-bar-mode): Make arg optional.
12039 * simple.el (line-move): Cope if next-single-property-change
12040 or previous-single-property-change returns nil.
12042 * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
12043 Don't use interactive-p; instead, pass the proper args
12044 in (interactive...). Clean up most of the trouble-report strings.
12046 2001-12-10 Eli Zaretskii <eliz@is.elta.co.il>
12048 * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
12049 enqueued messages literally.
12051 2001-12-10 Noah Friedman <friedman@splode.com>
12053 * battery.el (battery-insert-file-contents): Obsolete function
12055 (battery-read-function): Obsolete function removed.
12056 (battery-linux-proc-apm): Use insert-file-contents.
12058 2001-12-07 Stephen Eglen <stephen@gnu.org>
12060 * iswitchb.el (iswitchb-visit-buffer):
12061 Use `select-frame-set-input-focus'--needed when window manager
12062 uses "click to focus" policy.
12064 2001-12-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
12066 * COPYING: Moved back.
12068 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il>
12070 * term/internal.el (IT-character-translations): Add entries for
12073 * international/characters.el: Resurrect the Hebrew category
12074 settings for all Hebrew characters removed by the last change.
12075 Add code for setting the Hebrew category of the Unicode Hebrew
12076 characters. Set syntax entries for Hebrew punctuation characters.
12078 * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
12079 points and directional formatting control characters.
12081 2001-12-07 Dave Love <fx@gnu.org>
12083 * language/lao-util.el: Add Unicode equivalents for rules.
12084 (lao-post-read-conversion): New function.
12086 * language/lao.el: Add Unicode equivalents.
12087 (lao): Add post-read conversion.
12089 * international/latin1-disp.el: Fix some 8-bit-graphic characters.
12090 Use iso2022 encoding.
12091 (latin1-char-displayable-p): Doc fix.
12092 (latin1-display-ucs-per-lynx): New option.
12093 (latin1-display-ucs-per-lynx): New command.
12094 (latin1-display-reset): Special-case arabic.
12095 (ucs-tables): Require.
12096 (latin1-display-sets, latin1-display-setup): Add arabic.
12097 (latin1-display) <variable>: Use function latin1-display.
12098 (latin1-display) <function>: Add mule-unicode stuff.
12099 (latin1-display-check-font): Don't lose if `info' is nil.
12101 * international/iso-transl.el: Insert Latin-1 characters, not
12104 * language/european.el (diacritic-composition-pattern): New constant.
12105 (diacritic-compose-region, diacritic-compose-string)
12106 (diacritic-compose-buffer, diacritic-post-read-conversion)
12107 (diacritic-composition-function): New functions.
12109 * international/utf-8.el (ucs-mule-to-mule-unicode):
12110 New translation table.
12111 (ccl-encode-mule-utf-8): Use it.
12112 (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
12113 (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
12114 (utf-8-subst-table): New variable.
12115 (utf-8-compose-scripts): New option.
12116 (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
12118 * international/ucs-tables.el, international/utf-8-subst.el:
12121 * international/characters.el: Don't set word syntax (the default)
12122 explicitly. Add a diacritic category. Add info for Unicode
12123 equivalents of characters in various Mule charsets and for extra
12124 Unicode characters. Don't define specific categories for
12125 Indian/Devanagari, since they aren't used.
12127 2001-12-06 Richard M. Stallman <rms@gnu.org>
12129 * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
12130 (set-justification-left, set-justification-right): Doc fix.
12132 * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
12133 (bug-f90-mode): Variable deleted.
12135 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
12137 * indent.el (indent-line-function): Default is indent-relative again.
12139 2001-12-07 Miles Bader <miles@gnu.org>
12141 * progmodes/compile.el (compilation-error-regexp-alist):
12142 Added regexps for RXP.
12144 2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
12146 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
12147 Add shift-assignment operators to those highlighted, and highlight
12148 the whole operator rather than just the "=".
12150 2001-12-04 Juanma Barranquero <lektu@terra.es>
12152 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
12153 before saving abbrevs if `save-abbrevs' has the value `silently'.
12155 2001-12-04 Andreas Schwab <schwab@suse.de>
12157 * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
12159 2001-12-04 Colin Walters <walters@debian.org>
12161 * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
12162 for `defmacro*' forms.
12164 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
12167 2001-12-03 Stefan Monnier <monnier@cs.yale.edu>
12169 * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
12171 2001-12-02 Richard M. Stallman <rms@gnu.org>
12173 * files.el (insert-directory): If the df output does not look right,
12174 don't try to use it. Other cleanups in overall code structure.
12176 2001-12-02 Stefan Monnier <monnier@cs.yale.edu>
12178 * textmodes/outline.el (outline-mode-prefix-map):
12179 Add bindings for outline-promote and outline-demote.
12180 (outline-minor-mode-menu-bar-map): New var.
12181 (outline-minor-mode): Use it.
12182 (outline-heading-alist): New var (renamed from outline-level-heading).
12183 (outline-level): Use it.
12184 (outline-insert-heading, outline-promote, outline-demote):
12185 Update to use outline-heading-alist.
12187 * disp-table.el (standard-display-european):
12188 Simplify since the function is not interactive any more.
12189 Don't set the existing buffers to unibyte.
12191 * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
12193 * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
12195 * reveal.el (reveal-mode): Fix reveal-mode's lighter.
12197 * shell.el (shell): Use shell-file-name.
12198 Pop to buffer before calling comint to set COLUMNS properly.
12200 * emacs-lisp/cl.el (svref): New alias.
12202 * progmodes/antlr-mode.el (antlr-c-common-init):
12203 Don't inhibit adaptive-fill-mode any more.
12205 * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
12207 * progmodes/etags.el (tags-with-face): Use make-symbol.
12208 (tags-search, tags-query-replace): Use backquotes.
12210 * textmodes/picture.el (picture-mode-map): Don't use defconst
12213 2001-12-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
12215 * textmodes/reftex-index.el (reftex-index-mode):
12216 Remove make-local-hook.
12218 * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
12220 2001-12-02 Kim F. Storm <storm@cua.dk>
12222 * isearch.el (isearch-resume-enabled): New variable.
12223 (isearch-done): Use that variable.
12225 2001-12-01 Richard M. Stallman <rms@gnu.org>
12227 * wid-edit.el (widget-button-click): Don't move point permanently:
12228 Avoid mouse-set-point--instead select the window,
12229 then do save-excursion, then move point.
12230 Specify the buffer for get-char-property.
12231 Don't use `@' in interactive.
12233 * indent.el (indent-line-function):
12234 Default is indent-to-left-margin again.
12236 * replace.el (query-replace-read-args): Display message
12237 if FROM contains `\n' or `\t'.
12239 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
12241 * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
12243 * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
12245 * emacs-lisp/regexp-opt.el (regexp-opt):
12246 Bind completion-regexp-list to nil.
12248 * progmodes/hideif.el (hif-nexttoken): Move to before first def.
12250 2001-12-01 Eli Zaretskii <eliz@is.elta.co.il>
12252 * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
12253 * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
12256 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
12258 * mail/smtpmail.el: Use with-current-buffer.
12259 (message-make-date, message-make-message-id): Autoload when needed.
12260 (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
12261 headers when missing.
12263 * international/encoded-kb.el (encoded-kbd-mode):
12264 Use define-minor-mode.
12266 * enriched.el (enriched-mode): Use define-minor-mode.
12267 Use dolist and pop and push.
12269 * info.el (Info-find-node-2): Don't call info-insert-file-contents
12270 with the `visit' argument.
12271 (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
12273 * progmodes/hideif.el (hide-ifdef-mode): Only modify
12274 `change-major-mode-hook' locally. Reset invisibility spec.
12276 * man.el (Man-build-section-alist): Remove last Man-match-substring.
12278 2001-11-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12280 * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
12281 Clarify error message.
12283 2001-11-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12285 * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
12287 2001-11-30 Andre Spiegel <spiegel@gnu.org>
12289 * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
12290 don't just return it.
12292 2001-11-30 Eli Zaretskii <eliz@is.elta.co.il>
12294 * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
12295 (menu-bar-read-emacs-man, search-emacs-glossary)
12296 (emacs-index-search, elisp-index-search): New functions.
12297 (apropso-documentation, apropos, apropos-value, apropos-variable)
12298 (apropos-commands): Modify menu item names and help text.
12299 (elisp-index-search, emacs-index-search, emacs-glossary):
12301 (menu-bar-manuals-menu): Move the Ordering Manuals item to a
12303 (info-elisp, info-elintro): New menu items.
12304 (apropos): Modify the menu item name.
12306 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
12308 * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
12310 * textmodes/outline.el (outline-promote, outline-demote): Typo.
12312 * man.el (man-follow-mouse): New function.
12313 (Man-mode-map): Bind mouse-2 to it.
12314 (Man-match-substring): Remove. Replace with `match-string'.
12315 (man): Use the `default-value' argument to `read-string'.
12316 (Man-fontify-manpage): Add mouse-face to cross references.
12318 * emacs-lisp/cl-macs.el (shiftf): Fix more. Simplify.
12320 2001-11-29 Stefan Monnier <monnier@cs.yale.edu>
12322 * emacs-lisp/crm.el (completing-read-multiple): Better preserve
12323 the value of require-match in minibuffer-completion-confirm.
12324 Use crm-local-completion-map.
12326 * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
12327 (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
12328 (cl-make-type-test): Use char-valid-p for `character'.
12330 * info.el (Info-complete-next-re, Info-complete-cache): New vars.
12331 (Info-complete-menu-item): Rewrite. Add the ability to search
12332 several sequential nodes. Add a simple caching mechanism.
12333 (Info-goto-index): New function extracted from Info-index.
12334 (Info-index): Use it. Add completion to the interactive spec.
12335 (Info-menu-update): Simplify call to `Info-complete-menu-item'.
12337 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
12339 * COPYING: Removed.
12341 2001-11-29 Dave Love <fx@gnu.org>
12343 * progmodes/fortran.el: Fontify rewind, backspace. Doc fixes.
12344 (fortran-window-create, fortran-window-create-momentarily):
12345 Rewrite, moving error condition.
12346 (fortran-beginning-do, fortran-beginning-if): Fix regexps.
12347 (fortran-mode-syntax-table): Revert last change.
12349 * international/mule.el: Doc fixes.
12350 (map-charset-chars): New function.
12351 (register-char-codings): Use it to cope with generic chars in
12354 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
12356 * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
12358 * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
12360 * play/studly.el (studlify-word, studlify-region)
12361 (studlify-buffer): Fix doc-string.
12362 (studlify-buffer): Add autoload cookie.
12364 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
12366 * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
12367 (outline-up-heading-all): Remove.
12368 (hide-sublevels): Move to end-of-heading before calling flag-region.
12369 (outline-copy-overlay, outline-discard-overlays): Remove.
12370 (outline-flag-region): Use `remove-overlays'.
12371 Don't move to end-of-heading.
12372 (outline-next-visible-heading, outline-back-to-heading)
12373 (outline-on-heading-p): Use outline-invisible-p.
12374 (outline-font-lock-level): Use outline-up-heading's new arg.
12375 (outline-minor-mode): Simplify.
12376 (outline-map-tree, outline-reveal-toggle-invisible): New funs.
12377 (outline): Put a `reveal-toggle-invisible' property.
12378 (outline-level-heading): New var.
12379 (outline-insert-heading, outline-promote, outline-demote)
12380 (outline-toggle-children): New commands.
12382 * progmodes/hideif.el (hif-end-of-line): New function.
12383 (hide-ifdef-mode): Set line-move-ignore-invisible.
12384 (hide-ifdef-region-internal): New function.
12385 (hide-ifdef-region): Use it.
12386 (hif-defined): Return an integer.
12387 (hif-infix-to-prefix): Remove.
12388 (hif-tokenize): Parse from the buffer rather than from a string.
12389 Correctly tokenize integers. Use forward-comment.
12390 (hif-expr): Use hif-or.
12391 (hif-term): Use hif-and.
12392 (hif-factor): Use hif-not. Handle numbers properly.
12393 Don't require parenthesis around `defined's argument.
12394 (hif-and, hif-or, hif-not): New funs.
12395 (hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
12396 (hif-hide-line): Don't hide the \n before the line.
12397 (hif-possibly-hide): Correctly handle numeric evaluation results.
12399 * progmodes/make-mode.el: Use line-(end|beginning)-position.
12400 (makefile-mode): Set indent-line-function.
12401 (makefile-browser-insert-continuation): Use with-current-buffer.
12402 (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
12404 2001-11-28 Karl Fogel <kfogel@red-bean.com>
12406 * isearch.el (isearch-yank-internal): New helper function.
12407 (isearch-yank-char): New function.
12408 (isearch-yank-word, isearch-yank-line): Rewrite to use
12409 isearch-yank-internal.
12411 2001-11-28 Eli Zaretskii <eliz@is.elta.co.il>
12413 * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
12414 aren't supported. Print a message to that effect if invoked.
12416 2001-11-27 Stephen Eglen <stephen@gnu.org>
12418 * locate.el (locate): Put point at first matching file rather
12419 than top of buffer.
12421 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
12423 * reveal.el: New file.
12425 * progmodes/hideif.el: Misc cleanup.
12426 (hide-ifdef-mode-submap): Put the def in the defvar.
12427 Use substitute-key-definition.
12428 (hide-ifdef-mode): Use define-minor-mode.
12429 (hif-outline-flag-region): Remove.
12430 (hif-show-all): Define in terms of hif-show-ifdef-region.
12431 (hif-after-revert-function): Rename from hif-before-revert-function.
12432 (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
12433 (hif-tokenize): Use with-syntax-table.
12434 (hif-make-range): Use `else' also for `else-p'.
12435 (hif-range-else-p): Remove.
12436 (hif-find-range): Simplify.
12437 (hif-hide-line): Don't bother preserving buffer-modified-p.
12438 (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
12439 Don't use selective-display and inhibit-read-only.
12441 * subr.el (copy-overlay, remove-overlays): New funs.
12443 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
12445 2001-11-27 Sam Steingold <sds@gnu.org>
12447 * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
12448 * lazy-lock.el, mouse-sel.el, mail/feedmail.el
12449 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
12450 * obsolete/c-mode.el, obsolete/cplus-md.el
12451 * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
12452 * term/sun-mouse.el, textmodes/artist.el:
12453 Converted backquote to the new style.
12454 * mouse.el, reposition.el: Likewise (in comments).
12455 * expand.el: Likewise (in a string).
12457 2001-11-27 Richard M. Stallman <rms@gnu.org>
12459 * cus-edit.el (custom-load-symbol): Don't always load locate-library.
12461 2001-11-26 Richard M. Stallman <rms@gnu.org>
12463 * wid-edit.el (widget-toggle-value-create): On graphic terminal,
12464 if :on-glyph or :off-glyph is a list, eval it and store it back.
12465 (checkbox): Quote the values for :on-glyph and :off-glyph.
12467 * cus-start.el (recursive-load-depth-limit): Delete item.
12469 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
12471 * help-fns.el (describe-categories, help-describe-category-set): New.
12472 describe-categories moved here from src/category.c.
12474 2001-11-26 Sam Steingold <sds@gnu.org>
12476 * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
12477 arguments to `insert' are strings.
12479 2001-11-26 Richard M. Stallman <rms@gnu.org>
12481 * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
12483 2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
12485 * international/mule-diag.el: Require help-fns instead of
12488 * help-fns.el: Renamed from help-funs.el.
12490 * startup.el (command-line-1): Don't try to call process-list if
12493 2001-11-26 Sam Steingold <sds@gnu.org>
12495 * frame.el (show-trailing-whitespace): Remove :set argument (the
12496 value was essentially identical to the defalt).
12498 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
12500 * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
12502 * icomplete.el (icomplete-minibuffer-setup): Likewise.
12504 * hilit-chg.el (hilit-chg-set): Likewise.
12506 * speedbar.el (speedbar-mode): Likewise.
12508 * calendar/calendar.el (calendar-mode): Likewise.
12510 * play/yow.el (psychoanalyze-pinhead): Use insert instead of
12513 * play/gamegrid.el (gamegrid-init-buffer): Likewise.
12515 * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
12517 * term/sun-mouse.el (sun-yank-selection): Likewise.
12519 * textmodes/bib-mode.el (return-key-bib): Likewise.
12521 * calendar/appt.el (appt-disp-window): Likewise.
12523 * calendar/diary-lib.el (list-diary-entries): Likewise.
12525 * array.el (array-reconfigure-rows): Likewise.
12527 * filecache.el (file-cache-minibuffer-complete): Likewise.
12529 * obsolete/cplus-md.el (fill-c++-comment): Likewise.
12531 * strokes.el (strokes-prompt-user-save-strokes): Likewise.
12533 * allout.el (outline-version, outline-open-topic)
12534 (outline-rebullet-heading, outline-insert-listified)
12535 (outline-latex-verbatim-quote-curr-line)
12536 (outline-latexify-one-item, outlineify-sticky): Likewise.
12538 * vc.el (vc-next-action-on-file): Likewise.
12539 (vc-dired-mode): Remove make-local-hook.
12541 2001-11-26 Andre Spiegel <spiegel@gnu.org>
12543 * vc.el (vc-find-version): New function.
12544 (vc-version-other-window): Redefined in terms of the above.
12546 * log-view.el (log-view-find-version): New function.
12547 (log-view-mode-map): Bind it to `f'.
12549 2001-11-26 Gerd Moellmann <gerd@gnu.org>
12551 * language/devan-util.el (dev-char-glyph): Escape `"' in
12553 (dev-glyph-glyph, dev-glyph-glyph-2)
12554 (devanagari-compose-syllable-region): Likewise.
12556 2001-11-26 Richard M. Stallman <rms@gnu.org>
12558 * window.el (save-selected-window): No error if saved window is dead.
12560 * help-funs.el (describe-syntax): Put (interactive) after doc string.
12562 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
12564 * international/quail.el (quail-help): Require help-mode in
12567 * iswitchb.el (iswitchb-exhibit): Use insert instead of
12570 * icomplete.el (icomplete-exhibit): Likewise.
12572 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
12574 * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
12575 (diff-hunk-kill): Simplify.
12576 (diff-post-command-hook): Only apply to a single hunk.
12577 (diff-hunk-text): Make `char-offset' non-optional.
12578 (diff-find-text): Return a cons cell.
12579 (diff-find-approx-text): New fun.
12580 (diff-find-source-location): Use it.
12581 (diff-apply-hunk, diff-test-hunk, diff-goto-source):
12582 Adapt to new retval of diff-find-text.
12584 * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
12585 rather than integer- representation of dates.
12587 * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
12589 * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
12590 (syntax-after): New fun.
12592 * help-funs.el (describe-syntax): New fun.
12594 * font-lock.el (font-lock-cache-state, font-lock-cache-position)
12595 (font-lock-ppss-stats, font-lock-ppss): Remove.
12596 (font-lock-fontify-syntactically-region): Remove tuning code.
12597 (font-lock-compile-keywords): Fix off-by-one bug.
12598 (font-lock-set-defaults): Don't set removed vars.
12599 (c-keywords): Add `inline'.
12600 (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
12602 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12603 Set syntax-begin-function.
12604 (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
12605 (lisp-interaction-mode): Don't set local-abbrev-table any more.
12606 (lisp-mode-auto-fill): Use syntax-ppss and obey
12607 comment-auto-fill-only-comments.
12608 (lisp-fill-paragraph): Use syntax-ppss.
12610 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
12612 * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
12613 version of rmail-enable-mime.
12614 (rmail-forward): Use it.
12616 2001-11-25 Richard M. Stallman <rms@gnu.org>
12618 * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
12620 * international/quail.el (quail-keyboard-layout-button):
12621 Define button type.
12622 (quail-keyboard-customize-button): Likewise.
12623 (quail-help): Use those button types. Require `help-mode'.
12624 Avoid altering the argument `package'.
12626 * help-mode.el (help-function, help-variable, help-face)
12627 (help-coding-system, help-input-method, help-character-set):
12628 Define each button type with its own explicit define-button-type.
12630 * language/devan-util.el: Comment out parts of the file
12631 which apparently are garbled.
12633 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
12635 * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
12638 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
12640 * play/snake.el (snake-mode): Remove make-local-hook.
12642 * play/tetris.el (tetris-mode): Likewise.
12644 * play/decipher.el (decipher-mode): Likewise.
12646 * tmm.el (tmm-add-prompt): Likewise.
12648 2001-11-25 Sam Steingold <sds@gnu.org>
12650 * menu-bar.el (menu-bar-apropos-menu): New variable.
12651 Moved all `apropos' bindings to this menu.
12652 (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
12654 2001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
12656 The following changes are for new indian languages support based
12657 on Unicode charset and CDAC fonts.
12659 * international/mule-conf.el: Change indian-1-column charset to
12660 indian-glyph charset.
12662 * international/characters.el: Adjusted for the change of
12663 indian-1-column -> indian-glyph.
12665 * international/fontset.el: Delete the setting for indian-1-column
12666 and add the setting for indian-glyph in the default fontset.
12668 * language/indian.el: Completely re-written.
12670 * language/devanagari.el: Completely re-written.
12672 * language/devan-util.el: Completely re-written.
12674 * language/ind-util.el: New file.
12676 2001-11-24 Richard M. Stallman <rms@gnu.org>
12678 * startup.el (command-line-1): Don't do startup screen
12679 if a subprocess is running. Call the startup screen buffer
12680 "GNU Emacs". Make a special mode-line-format for it.
12682 * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
12683 (browse-url-galeon): Use that variable.
12685 * mail/supercite.el (sc-toggle-var): Don't use set-variable or
12686 eval-expression. Eval and set the variable simply.
12688 * files.el (temporary-file-directory): Use defcustom.
12689 (small-temporary-file-directory): Likewise.
12690 (normal-backup-enable-predicate): Move down in file
12691 after definition of temporary-file-directory.
12693 * bindings.el (last-buffer, unbury-buffer): Doc fixes.
12695 2001-11-24 Colin Walters <walters@debian.org>
12697 * calc/calc-ext.el (calc-init-extensions): Update the rest of the
12698 autoload names to match files renamed on initial calc import.
12700 * calc/calc.el (Commentary): Cleanup, and add logistic curve
12701 fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
12703 2001-11-23 Colin Walters <walters@debian.org>
12705 * Makefile.in (finder_setwins, setwins): Include Calc again.
12707 * calc/calc-rules.el: Add header comment.
12709 2001-11-23 Andre Spiegel <spiegel@gnu.org>
12711 * vc.el (with-vc-properties): Don't bind `filename' locally.
12712 (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
12713 to avoid name clashes. Fix `lisp-indent-function' property for
12716 2001-11-23 Francesco Potorti` <pot@gnu.org>
12718 * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
12720 2001-11-22 Colin Walters <walters@debian.org>
12722 * calc/calc-misc.el (report-calc-bug):
12723 Use `reporter-prompt-for-summary-p'.
12725 * calc/INSTALL, calc/Makefile: Remove.
12727 2001-11-22 Miles Bader <miles@gnu.org>
12729 * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
12730 (reb-match-2, reb-match-3): Add dark-background variants.
12732 2001-11-22 Colin Walters <walters@debian.org>
12734 * calc/calc-misc.el (calc-info): Don't perform voodoo, just
12736 (report-calc-bug): Use reporter.el.
12738 * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
12740 2001-11-21 Richard M. Stallman <rms@gnu.org>
12742 * which-func.el (which-function): Call imenu--make-index-alist
12743 if necessary to get a list of functions.
12744 (which-function-imenu-failed): New variable.
12745 (which-func-update): Handle all visible windows.
12746 (which-func-update-1): New subroutine broken out of which-func-update.
12748 * files.el (temporary-file-directory, null-device)
12749 (small-temporary-file-directory): Definitions moved up.
12751 * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
12752 (cperl-non-problems, cperl-praise): Doc fixes.
12754 * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
12755 (sh-mode-syntax-table): Function restored.
12756 Variable set up for use by function sh-mode-syntax-table.
12757 (sh-set-shell): Set the syntax table.
12759 * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
12761 * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
12763 * international/encoded-kb.el: Don't alter minor-map-alist.
12765 2001-11-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12767 * files.el (auto-save-file-name-transforms): Put remote files in
12768 temporary-file-directory rather than /tmp.
12770 2001-11-21 Colin Walters <walters@debian.org>
12772 * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
12773 of (function ...) wrapper.
12775 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
12777 * derived.el (define-derived-mode): Create the abbrev-table
12778 from inside the `defvar'.
12780 * jit-lock.el (jit-lock-defer-time): New var.
12781 (jit-lock-defer-timer, jit-lock-buffers): New vars.
12782 (jit-lock-mode): Initialize them. Cancel the timers more carefully.
12783 (jit-lock-function): Defer fontification if requested.
12784 (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
12785 (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
12787 (jit-lock-deferred-fontify): New fun.
12789 2001-11-20 Richard M. Stallman <rms@gnu.org>
12791 * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
12792 Set local-abbrev-table to lisp-mode-abbrev-table.
12794 * emacs-lisp/re-builder.el (reb-mode):
12795 Don't use define-derived-mode. Call kill-all-local-variables.
12797 * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
12798 Don't use define-derived-mode.
12800 * help-mode.el (help-mode): Undo 2001-10-07 change.
12802 * replace.el (occur-mode): Undo 2001-5-20 change.
12804 2001-11-20 Jason Rumney <jasonr@gnu.org>
12806 * w32-fns.el (w32-system-coding-system): Change to an alias for
12807 locale-coding-system.
12808 (set-w32-system-coding-system): Document the above change.
12809 Set locale-coding-system instead.
12811 2001-11-20 Richard M. Stallman <rms@gnu.org>
12813 * ruler-mode.el: Add pagination.
12814 (ruler-mode-toggle-show-tab-stops): No need to
12815 test `ruler-mode' variable.
12817 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
12819 * play/landmark.el: Mark lm-mode as special.
12821 * play/gomoku.el: Mark gomoku-mode as special.
12823 2001-11-20 Juanma Barranquero <lektu@terra.es>
12825 * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
12826 (top-level): Bind it to C-c C-b.
12827 (re-builder): Don't re-enter RE Builder Mode.
12829 * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
12831 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
12833 * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
12836 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
12837 to a line without a comment.
12839 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
12841 * dired.el (dired-listing-switches): Mention in the doc string
12842 that some switches are not supported by ls-lisp.el
12844 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
12846 * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
12847 (imenu--create-keymap-2): Remove.
12848 (imenu--create-keymap-1): Simplify, remove third argument.
12849 (imenu--generic-function): Use dolist.
12850 (imenu-find-default): New function.
12851 (imenu--completion-buffer): Use it.
12852 (imenu--mouse-menu): Use popup-menu.
12853 (imenu--menubar-select): Return t rather than calling imenu.
12855 * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
12856 New functions, extracted from fill-region-as-paragraph.
12857 (fill-region-as-paragraph): Use them.
12858 Use an end marker instead of eob.
12859 Ignore whitespace-only fill-prefixes when indenting according to mode.
12860 Simplify the loop that searches for spaces backwards.
12862 * textmodes/picture.el (picture-vertical-step)
12863 (picture-horizontal-step): Don't use defconst for variables.
12865 * mail/mail-extr.el: Use backquote/dolist/mapc/when. Docstring fixes.
12866 (mail-extract-address-components): Downcase domain names.
12867 (mail-extr-delete-char): Remove. Use delete-char instead.
12869 * emulation/pc-select.el: Doc string fixes.
12870 (pc-selection-mode): Don't treat macos as a tty.
12872 * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
12874 * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
12876 * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
12877 (mouse-wheel-progessive-speed): New var.
12878 (mwheel-scroll): Use it and handle float values.
12880 * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
12882 * iswitchb.el (iswitchb-mode): Use define-minor-mode.
12883 (iswitchb): Fix the case where the result was selected with the mouse.
12884 (iswitchb-completion-help): Use the normal *Completions* now that
12885 mouse selection works.
12886 (iswitchb-minibuffer-setup): Simplify.
12888 * newcomment.el (comment-column, comment-style, comment-multi-line)
12889 (comment-auto-fill-only-comments): Remove :group arg.
12890 (comment-padding): Add :type.
12891 (comment-indent-new-line): Ignore comment-auto-fill-only-comments
12892 if called interactively.
12894 2001-11-19 Colin Walters <walters@verbum.org>
12896 * calc/calc.el (toplevel): Add comment and version header.
12897 (calc-init-base): Bump version to 2.02f, update date.
12899 2001-11-19 Richard M. Stallman <rms@gnu.org>
12901 * net/browse-url.el: Support Mozilla and Galeon.
12902 By default, find the installed browser whichever it is.
12903 (browse-url-mozilla): New function.
12904 (browse-url-mozilla-sentinel): New function.
12905 (browse-url-galeon, browse-url-galeon-sentinel): New functions.
12906 (browse-url-default-browser): New function.
12907 (browse-url-process-environment): Use browse-url-browser-display.
12908 (browse-url-browser-display): Renamed from browse-url-netscape-display.
12909 (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
12910 (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
12911 (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
12912 (browse-url-browser-function): New default, new options.
12914 2001-11-19 Sam Steingold <sds@gnu.org>
12916 * bindings.el (last-buffer, unbury-buffer): New function.
12917 (mode-line-unbury-buffer): Use `unbury-buffer'.
12919 2001-11-18 Stephen Eglen <stephen@gnu.org>
12921 * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
12922 control behaviour when no further completion is possible.
12924 2001-11-19 Colin Walters <walters@verbum.org>
12926 * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
12927 (math-showing-full-precision, math-with-extra-prec, math-working)
12928 (calc-with-default-simplification)
12929 (calc-with-trail-buffer): Use backtick.
12930 (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
12931 (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
12932 (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
12933 (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
12934 (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
12935 (Math-num-integerp, Math-bignum-test, Math-equal-int)
12936 (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
12937 (calc-record-compilation-date-macro): Deleted. Callers updated.
12938 (math-format-radix-digit): Move to calc-bin.el.
12940 * calc/calc.el (calc-record-compilation-date): Remove.
12941 (calc-bug-address): Update.
12942 (calc-settings-file): Use `user-init-file'.
12944 * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
12945 Handle null `calc-settings-file'.
12947 * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
12948 * calc/calc-keypd.el (calc-keypad-mode): New.
12949 (calc-do-keypad): Use it.
12950 (calc-keypad-map): Move into `calc-keypad-mode'.
12952 * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
12953 to defalias argument.
12955 * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
12956 (calcFunc-floor): Ditto.
12958 * calc-units.el (calcFunc-usimplify): Ditto.
12960 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
12961 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
12962 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
12963 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
12964 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
12965 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
12966 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
12967 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
12968 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
12969 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
12970 * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
12971 and move them before their first use. Use `when', `unless'.
12972 Remove trailing periods from error forms. Add description and
12973 headers suggested by Emacs Lisp coding conventions.
12975 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
12977 * newcomment.el (comment-indent):
12978 Fix misindentation for comment-only lines.
12979 (comment-indent-new-line): Only obey comment-multi-line if the
12980 comment-ender is not the end-of-line.
12982 2001-11-19 Richard M. Stallman <rms@gnu.org>
12984 * net/net-utils.el (network-connection-service-abbrev-alist):
12987 * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
12988 Advance to start of 3rd sexp by moving fwd and backing over it.
12989 At first three elements, act like defun.
12991 * delsel.el (delete-selection-pre-hook): Handle and resignal
12992 file-supersession errors to interact properly with userlock.el.
12994 2001-11-18 Richard M. Stallman <rms@gnu.org>
12996 * progmodes/fortran.el (fortran-mode-syntax-table):
12997 Specify punctuation syntax for backslash.
12999 * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
13002 * international/mule-util.el (string-to-sequence): Make it obsolete.
13003 (string-to-list, string-to-vector): Implement them directly
13004 using append and vconcat, not with string-to-sequence.
13006 * startup.el (command-line): Set abbrevs-changed to nil after
13007 reading the init file and the abbrevs file.
13009 * isearch.el (isearch): Use magenta2 as bg for (background light)
13011 2001-11-17 Richard M. Stallman <rms@gnu.org>
13013 * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
13015 * simple.el (minibuffer-history-sexp-flag): Doc fix.
13017 2001-11-17 Stefan Monnier <monnier@cs.yale.edu>
13019 * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
13020 If set and if applicable, add a regexp to highlight defun-like
13021 text inside comments and strings.
13022 (font-lock-fontify-keywords-region): Pass that new arg.
13023 (font-lock-set-defaults): Move the code to set `font-lock-keywords'
13024 to the end and pass that new arg.
13025 (c-font-lock-keywords-2): Fix regex for labels.
13026 (font-lock-match-c++-style-declaration-item-and-skip-to-next):
13027 Make it work when LIMIT is several lines further.
13028 (c-font-lock-keywords-3, c++-font-lock-keywords-3)
13029 (objc-font-lock-keywords-3, java-font-lock-keywords-3):
13030 Use backquote and make the regexes for `int a, b, c;' work on
13033 * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
13034 (font-lock-defaults-alist): Don't change it any more.
13035 (reb-subexp-mode-map): Cleanup.
13037 * custom.el (custom-current-group-alist): New var.
13038 (custom-declare-group): Set it.
13039 (custom-current-group): New fun.
13040 (custom-declare-variable, custom-handle-all-keywords):
13041 Use it as a default if no :group argument is specified.
13043 * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
13044 (standard-keyboard-coding-systems): New var.
13045 (set-locale-environment): Use it to decide whether or not to call
13046 set-keyboard-coding-system.
13047 (locale-language-names): Use \"French\" for "fr".
13049 2001-11-17 Richard M. Stallman <rms@gnu.org>
13051 * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
13052 (add-to-list): Delete compatibility code.
13053 (checkdoc-next-message-error): Doc fix.
13055 2001-11-17 Stephen Eglen <stephen@gnu.org>
13057 * locate.el (locate): Show default locate pattern within the
13058 prompt, but don't insert it into the minibuffer contents.
13059 Catch the case when pattern is the empty string.
13061 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il>
13063 * language/european.el ("French"): New language environment.
13065 2001-11-16 Richard M. Stallman <rms@gnu.org>
13067 * calendar/todo-mode.el (todo-save): Fix previous change.
13069 * subr.el (functionp): Do use cdr-safe on object.
13071 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
13073 * bindings.el (mode-line-mode-name): Only put the help-echo property
13074 if the local-map property was put as well.
13075 (global-map): Bind switch-frame, delete-frame, iconify-frame
13076 and make-frame-visible events.
13078 * emacs-lisp/elp.el (elp-not-profilable): New var.
13079 (elp-not-profilable-p): New function.
13080 (elp-instrument-function): Use it. Use backquotes and push.
13082 * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
13083 (byte-stack+-info, byte-compile-last-warned-form)
13084 (byte-compile-last-logged-file): Don't defconst a variable.
13085 (no-byte-compile): Declare.
13086 (byte-compile-file): Don't boundp-check no-byte-compile any more.
13087 (byte-compile-defvar): Leave defconst as is.
13089 * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
13090 (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
13091 (edebug-current-offset, edebug-old-def-name, edebug-error-point)
13092 (edebug-best-error): Don't defconst a variable.
13093 (edebug-read-syntax-table): Use a char-table.
13094 (edebug-lemacs-specific): Remove.
13095 Toplevel: Eliminate check for Lucid Emacs.
13097 * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
13099 * rect.el (move-to-column-force): Mark obsolete.
13100 (operate-on-rectangle, delete-extract-rectangle-line)
13101 (insert-rectangle, delete-whitespace-rectangle-line)
13102 (open-rectangle-line, clear-rectangle-line): Use move-to-column.
13103 (string-rectangle-history): New var.
13104 (string-rectangle, string-insert-rectangle): Use it.
13105 (delete-rectangle-line): Fix pos/column mixup and simplify.
13107 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
13108 (normal-top-level, command-line, command-line-1): Simplify.
13110 * tar-mode.el (tar-mode): Use define-derived-mode.
13112 * view.el (view-mode-enable): Don't use make-local-hook.
13114 * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
13116 2001-11-16 Richard M. Stallman <rms@gnu.org>
13118 * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
13119 if it doesn't make sense as anything else.
13120 Don't recognize a "telephone number" at the beginning of the name.
13121 (mail-extr-leading-garbage): Match non-word characters only.
13123 2001-11-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
13125 * startup.el (command-line-processed): Doc fix.
13127 * apropos.el (apropos-next-label-button): Doc fix.
13129 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
13131 * comint.el (comint-mode): Simplify.
13132 (make-comint-in-buffer): Run `comint-mode' only if necessary.
13134 * subr.el (eval-after-load): Make it work with features as well.
13136 * log-view.el (log-view-mode): Don't mark the buffer unmodified.
13138 * international/mule-cmds.el (describe-input-method): Setup xref.
13139 (set-language-environment): Use functionp.
13140 (locale-language-names, locale-charset-language-names)
13141 (locale-preferred-coding-systems): Defconst and purecopy.
13143 * language/european.el (mac-roman): Add mime-charset property.
13145 2001-11-15 Richard M. Stallman <rms@gnu.org>
13147 * emacs-lisp/cl.el (values, values-list, multiple-value-list)
13148 (multiple-value-apply, nth-value): Use defsubst rather than defalias
13149 to get better doc strings.
13151 2001-11-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
13153 * derived.el: Fix autoload cookie.
13155 2001-11-15 Richard M. Stallman <rms@gnu.org>
13157 * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
13159 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
13161 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
13163 2001-11-15 Richard M. Stallman <rms@gnu.org>
13165 * dired.el (dired-undo): Display a message to explain
13166 that this does not undo file system changes.
13168 2001-11-15 David Kastrup <David.Kastrup@t-online.de>
13170 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
13171 into `unread-command-events' instead of trying keymap
13172 lookups ourselves. This makes mouse-clicks do the right
13173 thing even when keymaps of overlays are involved.
13174 (mouse-drag-drag): Likewise.
13176 2001-11-15 Andreas Schwab <schwab@suse.de>
13178 * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
13179 characters and append anchor to pattern added to auto-mode-alist.
13181 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
13183 * server.el (server-process-filter): Run pre/post-comment-hook
13184 before/after visiting the file.
13186 * info-look.el (makefile-mode): Add info for automake.
13187 (autoconf-mode): Fix the name of the index for automake.
13189 * international/latin-9.el: Give pilcrow punctuation syntax.
13191 2001-11-15 Andre Spiegel <spiegel@gnu.org>
13193 * vc.el: Documentation fixes.
13195 2001-11-14 Stefan Monnier <monnier@cs.yale.edu>
13197 * smerge-mode.el (smerge-match-conflict): Fix typo.
13198 (smerge-diff): Be careful to read match-data early enough.
13200 2001-11-14 Colin Walters <walters@verbum.org>
13202 * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
13203 (calcFunc-subst): Use `defalias' instead of `fset' and
13206 * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
13207 (calcFunc-ceil, calcFunc-round): Ditto.
13209 * calc/calc-bin.el (calcFunc-clip): Ditto.
13211 * calc/calc-ext.el (calcFunc-evalv): Ditto.
13213 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
13215 * calc/calc-misc.el (math-fixnump, math-fixnatnump)
13216 (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
13218 * calc/calc-units.el (calcFunc-unsimplify): Ditto.
13220 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
13221 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
13222 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
13223 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
13224 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
13225 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
13226 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
13227 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
13228 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
13229 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
13230 * calcsel2.el: Style cleanup; don't put closing parens on their
13231 own line, add "foo.el ends here" to each file, and update
13234 * README: Update maintainer.
13236 2001-11-13 Richard M. Stallman <rms@gnu.org>
13238 * progmodes/compile.el (recompile): Use compilation-arguments if
13239 set, so as to be able to M-x recompile the exact command which
13240 created a compilation-mode buffer.
13242 * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
13244 2001-11-13 Gerd Moellmann <gerd@gnu.org>
13246 * mouse.el (mouse-drag-region): Don't run the up-event
13247 handler if window start changed due to the down-mouse event.
13249 2001-11-13 Richard M. Stallman <rms@gnu.org>
13251 * mouse.el (mouse-show-mark): Either move point to the mark
13252 or use highlighting, never both.
13253 (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
13255 2001-11-13 Simon Josefsson <jas@extundo.com>
13257 * mail/smtpmail.el (top-level): Change maintainer to Simon
13258 Josefsson, cleanup the smtpmail.el header.
13260 * mail/smtpmail.el (top-level): Don't require cl or base64.
13261 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
13262 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
13263 Defsubst instead of defmacro.
13264 (smtpmail-intersection): Return value in reverse order.
13265 (smtpmail-open-stream): Use stringp instead of string-to-list.
13266 (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
13267 separated from smtpmail-via-smtp.
13269 * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
13270 rfc2104. Require base64 and cl.
13271 (smtpmail-smtp-service): Doc fix. :type fix.
13272 (smtpmail-debug-info): Doc fix.
13273 (smtpmail-debug-verb, smtpmail-auth-credentials)
13274 (smtpmail-starttls-credentials, smtpmail-auth-supported):
13276 (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
13277 mail-utils (it is autoloaded).
13278 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
13279 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
13280 (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
13281 (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
13282 (smtpmail-via-smtp): Support AUTH.
13283 (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
13285 2001-11-13 Richard M. Stallman <rms@gnu.org>
13287 * ebuff-menu.el (electric-buffer-update-highlight): New function.
13288 (electric-buffer-overlay): New variable.
13289 (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
13290 (electric-buffer-list): Likewise.
13292 * isearch.el (isearch-whitespace-chars): Doc fix.
13293 (isearch-mode): Handle negative search-slow-window-lines correctly.
13295 2001-11-13 Stefan Monnier <monnier@cs.yale.edu>
13297 * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
13299 * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
13300 From Emmanuel Briot <briot@act-europe.fr>.
13302 2001-11-13 Colin Walters <walters@debian.org>
13304 * calc/calc.el (calc-unread-command): Use `unread-command-events'.
13306 * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
13307 "~/.emacs"; use `read-file-name'.
13309 * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
13310 * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
13311 * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
13312 * calc/calc.el: Use `frame-width' instead of `screen-width',
13313 `frame-height' instead of `screen-height', and,
13314 `executing-kbd-macro' instead of `executing-macro'.
13316 * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
13317 correct number of arguments.
13319 * calc/calc-aent.el (calc-do-alg-entry):
13320 Use `blink-paren-function' instead of `blink-paren-hook'.
13322 2001-11-12 Richard M. Stallman <rms@gnu.org>
13324 * calendar/todo-mode.el (todo-save): Add save-excursion
13325 and save-restriction.
13327 * server.el (server-edit, server-done): Doc fix.
13329 * simple.el (clone-indirect-buffer): Error if major mode symbol
13330 has a no-clone-indirect property.
13331 (clone-buffer): Check for obvious errors before reading clone name.
13333 * info.el (Info-mode): Add a no-clone-indirect property.
13335 2001-11-12 Sam Steingold <sds@gnu.org>
13337 * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
13338 set-buffer-modified-p to nil after `vc-exec-after'.
13339 * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
13340 (log-view-mode): Make read-only.
13341 (log-view-current-file): Do final `expand-file-name' in the
13342 current `default-directory'.
13343 (log-view-current-tag): Take an optional `where' arg.
13344 (log-view-diff): New user command.
13346 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
13348 * progmodes/cpp.el (cpp-choose-face): Fix typo.
13350 2001-11-12 Sam Steingold <sds@gnu.org>
13352 * emacs-lisp/cl-indent.el (toplevel): Indent properly
13353 `generic-flet', `generic-labels', `with-accessors',
13354 `with-condition-restarts'.
13356 2001-11-12 Richard M. Stallman <rms@gnu.org>
13358 * dired.el: Many trivial doc fixes.
13359 (dired-get-file-for-visit): New function.
13360 (dired-find-alternate-file, dired-mouse-find-file-other-window)
13361 (dired-view-file, dired-find-file-other-window, dired-display-file)
13362 (dired-find-file): Use dired-get-file-for-visit.
13364 2001-11-12 Alex Schroeder <kensanata@yahoo.com>
13366 * sql.el (sql-mode): Doc change.
13368 * sql.el (sql-mode-syntax-table): The backslash is no longer an
13371 2001-11-12 Colin Walters <walters@debian.org>
13373 * calc/calc-keypd.el (toplevel): Bind mouse buttons.
13374 (calc-do-keypad): Don't attempt to use nonexistent global
13375 mouse-map, use calc-keypad-map.
13376 (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
13377 (calc-keypad-left-click): Don't use mouse-map; update to new event
13379 (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
13380 (calc-keypad-press): Use `unread-command-events' instead of
13381 `unread-command-char'.
13383 * calc/calc-ext.el (calc-init-extensions): Update autoload names
13384 to match files renamed on initial calc import.
13386 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
13388 * textmodes/flyspell.el (flyspell-default-dictionary):
13389 Fix previous change.
13391 2001-11-12 Richard M. Stallman <rms@gnu.org>
13393 * textmodes/flyspell.el (flyspell-default-dictionary):
13396 2001-11-11 Richard M. Stallman <rms@gnu.org>
13398 * calendar/solar.el (solar-sunrise-and-sunset):
13399 Exchange the two extreme values of day-length.
13401 * progmodes/sh-script.el (sh-must-be-shell-mode):
13402 Allow modes derived from sh-mode.
13404 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13405 Turn off error in some re-search-forward calls.
13407 * replace.el (query-replace-skip-read-only): New variable.
13408 (perform-replace): If that variable is non-nil, ignore matches
13409 that have a read-only property.
13411 * derived.el (define-derived-mode): Doc fix.
13413 * server.el (server-buffer-done): Test of server-existing-buffer
13415 (server-existing-buffer): Doc fix.
13417 * textmodes/flyspell.el (flyspell-default-dictionary):
13418 Allow nil as value, and make nil the default.
13420 2001-11-11 Eli Zaretskii <eliz@is.elta.co.il>
13422 * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
13424 (clipboard-yank): Ditto.
13426 2001-11-11 Colin Walters <walters@verbum.org>
13428 The following changes are based on patches from
13429 Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro
\e,A_
\e(Bjohann
13430 <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
13432 * calc/calc.el (toplevel): Require calc-macs.
13433 (calc-minibuffer-size): New.
13434 (calcDigit-nondigit): Use it instead of `buffer-size'.
13435 (calcDigit-backspace): Likewise.
13436 (calcDigit-nondigit): Use `minibuffer-contents' instead of
13438 (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
13440 (calcDigit-key): Use `calc-minibuffer-contains' instead of a
13443 * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
13444 simple `setq' form.
13446 * calc/calc-ext.el: (toplevel): Require calc.
13447 (calc-fancy-prefix-map): New.
13448 (calc-fancy-prefix): Use it.
13449 (calc-fancy-prefix-other-key): New.
13451 * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
13452 (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
13453 (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
13454 (calcAlg-enter): Likewise.
13455 (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
13457 2001-11-10 Richard M. Stallman <rms@gnu.org>
13459 * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
13460 (quietly-read-abbrev-file): Doc fix.
13462 * startup.el (command-line): Read standard abbrev
13463 file (abbrev-file-name), if it exists.
13465 * files.el (save-abbrevs): Default value is t.
13467 * progmodes/compile.el (compile-goto-error): Fix previous change
13468 in the case where subsequent errors have not been parsed yet
13469 because they are in a different source file.
13471 2001-11-10 Peter Kleiweg <kleiweg@let.rug.nl>
13473 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
13474 Merge two regular expressions into one.
13475 (ps-mode): Make local bindings for `comment-start' and
13476 `comment-start-skip'.
13477 (ps-mode-looking-at-nested): Simplify an if-else construct;
13478 use `set-match-data' to set the result.
13480 2001-11-10 Richard M. Stallman <rms@gnu.org>
13482 * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
13484 (flyspell-correct-word): Old definition deleted.
13485 (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
13486 All references renamed too.
13488 2001-11-10 Gerd Moellmann <gerd@gnu.org>
13490 * Makefile.in (finder_setwins, setwins): Exclude Calc.
13492 2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
13494 * wid-edit.el (checklist): Removed `:menu-tag'.
13495 (radio-button-choice): Ditto.
13496 (editable-list): Ditto.
13498 2001-11-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
13500 * play/gomoku.el: Move definitions of constants to the beginning
13501 of file, before their use.
13503 2001-11-09 Richard M. Stallman <rms@gnu.org>
13505 * textmodes/flyspell.el: Use the keymap property
13506 instead of local-map, and don't use a minor-mode map.
13507 (flyspell-mode-map): Variable deleted.
13508 Don't mess with minor-mode-map-alist.
13509 (calling add-minor-mode): Specify nil for keymap.
13510 And always use add-minor-mode, now that it exists.
13511 (flyspell-overlay-keymap-property-name): Set it to `keymap'.
13512 (flyspell-mode-on): Don't locally bind flyspell-mouse-map
13513 or flyspell-local-mouse-map.
13514 (make-flyspell-overlay): Use flyspell-mouse-map directly.
13515 (flyspell-mode): Doc fix.
13516 (flyspell-mode-on): Don't call make-local-hook.
13518 2001-11-09 Sam Steingold <sds@gnu.org>
13520 * emacs-lisp/debug.el (debugger-make-xrefs):
13521 Add buttons to all symbols.
13523 2001-11-09 Andre Spiegel <spiegel@gnu.org>
13525 * vc.el: Add John David Smith to credits.
13527 Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
13529 * vc-hooks.el (vc-error-occured): Backquotified.
13530 (vc-file-prop-obarray): Use prime length for better efficiency.
13532 * vc.el (vc-clear-context): Fill obarray with 0, not nil.
13534 2001-11-09 Eli Zaretskii <eliz@is.elta.co.il>
13536 * info.el (Info-file-list-for-emacs): Add entries for Calc.
13538 2001-11-09 Miles Bader <miles@gnu.org>
13540 * subr.el (functionp): Don't consider macros as functions.
13542 2001-11-08 Miles Bader <miles@gnu.org>
13544 * subr.el (functionp): Make work correctly for macros and unbound
13547 * comint.el (comint-send-input): Fix description of
13548 `comint-process-echoes' in the doc-string.
13550 2001-11-08 Eli Zaretskii <eliz@is.elta.co.il>
13552 * international/mule.el (make-translation-table): Doc fix.
13553 Suggested by Alex Schroeder <alex@gnu.org>.
13555 2001-11-07 Richard M. Stallman <rms@gnu.org>
13557 * info.el (Info-fontify-node): Highlight every third menu item.
13559 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
13561 * cus-edit.el (custom-face-value-create): Don't ignore the
13562 `customized-face' attribute when finding the current face spec.
13564 2001-11-07 Stefan Monnier <monnier@cs.yale.edu>
13566 * subr.el (with-local-quit): New macro.
13567 (make-syntax-table): Always inherit.
13568 (functionp): Be more careful when `object' is a symbol.
13570 * dabbrev.el (dabbrev-completion): Use "*Completions*".
13572 2001-11-07 Paul Eggert <eggert@twinsun.com>
13574 * dired.el (dired-move-to-filename-regexp):
13575 Do not distinguish between ASCII letters and non-ASCII characters.
13576 Don't allow comma except in the form "month day, year".
13577 Don't allow space between month name and comma.
13578 Clean up the code that checks for trailing period, comma, and space.
13579 Remove now-obsolete comments, and add more commentary about
13581 Always gobble up trailing spaces, instead of doing it only sometimes.
13583 2001-11-07 Miles Bader <miles@gnu.org>
13585 * paren.el (show-paren-match-face): Add dark-background variant.
13587 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
13589 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
13590 (lisp-mode-variables): Don't set paragraph-{start,separate}.
13591 Don't disable adaptive-fill-mode.
13592 (lisp-fill-paragraph): Use tab-width rather than 8.
13593 Prevent filling the first line of docstrings.
13595 2001-11-06 Richard M. Stallman <rms@gnu.org>
13597 * play/gomoku.el (gomoku): Doc fix.
13599 * jka-compr.el (jka-compr-partial-uncompress):
13600 Support an alternative of not using dd.
13601 (jka-compr-dd-program): Use defcustom to define this.
13602 (jka-compr-load-suffixes): Use defcustom.
13603 (jka-compr-mode-alist-additions): Use defcustom.
13605 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
13607 * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
13608 Also work when LIMIT is further than the end of line.
13610 2001-11-06 Eli Zaretskii <eliz@is.elta.co.il>
13612 * international/quail.el (quail-update-leim-list-file): Print the
13613 offending file name if some of its quail-define-package forms is broken.
13615 2001-11-05 Richard M. Stallman <rms@gnu.org>
13617 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
13618 of the evaluated form.
13620 2001-11-05 Paul Eggert <eggert@twinsun.com>
13622 * ls-lisp.el (ls-lisp-time-to-seconds): New function.
13623 (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
13624 stamps always line up by default. Also, it uses a slightly
13625 different window to determine whether files are "recent".
13627 2001-11-05 Andrew Innes <andrewi@gnu.org>
13629 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
13630 Don't attempt to remake autoloads before nuking .elc files.
13632 2001-11-04 Richard M. Stallman <rms@gnu.org>
13634 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
13635 previous-single-property-change or next-single-char-property-change
13638 * international/mule-cmds.el (set-locale-environment):
13639 Make it interactive; make arg optional.
13641 * international/mule-diag.el (help-funs): Require help-funs.
13643 2001-11-04 Eli Zaretskii <eliz@is.elta.co.il>
13645 * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
13647 2001-11-04 Miles Bader <miles@gnu.org>
13649 * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
13650 shadow of the splash image grey on a dark background instead of black.
13652 2001-11-03 Stefan Monnier <monnier@cs.yale.edu>
13654 * term.el (all faces): Don't (copy-face 'default <foo>).
13656 * term/xterm.el (function-key-map):
13657 Add entry for `ESC [ 3 ~' -> <delete>
13658 Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
13659 Use inheritance so that .emacs and terminfo take precedence.
13661 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
13663 * tooltip.el (tooltip-delay): Decrease to 0.7.
13664 (tooltip-hide-delay): Enlarge to 10.
13666 2001-11-03 Richard M. Stallman <rms@gnu.org>
13668 * startup.el (fancy-splash-tail): Explain how to recover
13669 from a crash, if there was a crash.
13670 (command-line-1): Reorganize display of startup screen,
13671 to simplify the logic. Use a temp buffer for it.
13673 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
13675 * frame.el (set-background-color, set-foreground-color):
13676 Call face-set-after-frame-default, to propagate the new colors to
13677 the frame's parameters alist.
13679 * calendar/timeclock.el (timeclock-out): Signal an error if
13680 timeclock-last-event is nil.
13682 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
13684 * textmodes/fill.el (fill-context-prefix): Fix braino.
13686 * international/quail.el (quail-help):
13687 Use `help-buffer' and move `help-setup-xref' to beginning.
13689 * international/mule-cmds.el (describe-language-environment):
13690 Use `help-buffer' and move `help-setup-xref' to beginning.
13692 * international/mule-diag.el (list-character-sets)
13693 (sort-listed-character-sets, describe-character-set)
13694 (describe-coding-system, describe-fontset, list-fontsets):
13695 Use `help-buffer' and move `help-setup-xref' to beginning.
13696 (describe-char-after): Use `internal-describe-syntax-value'.
13698 2001-11-02 Richard M. Stallman <rms@gnu.org>
13700 * mouse.el (popup-menu): If the user refuses to select
13701 from a menu, don't try to invoke the menu.
13703 2001-11-02 Miles Bader <miles@gnu.org>
13705 * help-mode.el (help-xref): New button type.
13706 (help-function, help-variable, help-face, help-coding-system)
13707 (help-input-method, help-character-set, help-type, help-symbol)
13708 (help-back, help-info, help-customize-variable, help-customize-face)
13709 (help-function-def, help-variable-def): Use it as a supertype.
13710 Remove `action' property.
13712 * international/mule-diag.el (describe-character-set)
13713 (describe-coding-system): Pass correct args to `help-xref-button'.
13714 (sort-listed-character-sets): New button type.
13715 (list-character-sets): Use it.
13716 (list-charset-chars): New button type.
13717 (list-character-sets-1): Use it.
13719 2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
13721 * indent.el (tab-always-indent, indent-for-tab-command):
13722 Remove redundant `never' setting.
13724 * fill.el (fill-region-as-paragraph): Don't forget to skip
13725 over current whitespace before looking for a preceding space.
13727 2001-11-01 Richard M. Stallman <rms@gnu.org>
13729 * files.el (file-newest-backup): Don't pass backup file name
13730 thru file-name-sans-versions, because it never has version numbers.
13732 * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
13733 to avoid ambiguous nested loops.
13735 * files.el (find-file-noselect): Offer to change buffer-read-only
13736 only when the file's read-only status has changed from before
13737 as well as disagreeing with the buffer's current status.
13738 (buffer-file-read-only): New var, local in all buffers.
13740 * buff-menu.el (buffer-menu): Doc fix.
13741 (buffer-menu-other-window): Doc fix.
13742 (list-buffers, list-buffers-noselect): Doc fix.
13744 2001-11-01 Gerd Moellmann <gerd@gnu.org>
13746 * startup.el (command-line): If the terminal Emacs is running on
13747 has erase char set to ^H, use the Backspace key for deleting
13748 backward, and the Delete key for deleting forward.
13750 2001-11-01 Miles Bader <miles@gnu.org>
13752 * button.el (define-button-type): Make sure every user-defined
13753 button type has a supertype.
13755 2001-10-31 Jason Rumney <jasonr@gnu.org>
13757 * international/mule-cmds.el (locale-language-names): Add chs and
13758 cht as aliases for Chinese-GB and Chinese-BIG5.
13760 2001-10-31 Richard M. Stallman <rms@gnu.org>
13762 * bindings.el (mode-line-frame-identification): Add doc string.
13763 (mode-line-position, mode-line-modes): New variables.
13764 (mode-line-format): Use mode-line-position for the part
13765 that displays the position-in-buffer info.
13766 Use mode-line-modes for the part that displays major and minor modes.
13768 2001-10-31 Sam Steingold <sds@gnu.org>
13770 * emacs-lisp/debug.el (debugger-make-xrefs): New function.
13771 (debugger-setup-buffer): Call it.
13772 (debugger-mode-map): Bind RET and mouse-2.
13774 2001-10-31 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
13776 * startup.el: Document command line option --no-window-system
13777 instead of --no-windows.
13779 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
13781 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
13783 * font-lock.el (java-font-lock-syntactic-face-function): New fun.
13784 (font-lock-defaults-alist): Use it.
13785 From David Ponce <david.ponce@wanadoo.fr>
13787 * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
13788 output of `char-after'.
13790 * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
13792 * simple.el (reindent-then-newline-and-indent): Insert the newline
13793 before indenting the first line.
13794 (undo-get-state, undo-revert-to-state): New funs.
13795 (shell-command): Don't kill the buffer even if empty.
13796 (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
13797 (transpose-subr-end2): Remove.
13798 (transpose-subr): Add `special' arg and simplify.
13799 (transpose-subr-1): Rewrite.
13800 (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
13801 (rfc822-goto-eoh): Simplify.
13803 2001-10-30 Richard M. Stallman <rms@gnu.org>
13805 * enriched.el (enriched-face-ans): Fix previous change.
13807 2001-10-30 Gerd Moellmann <gerd@gnu.org>
13809 * international/iso-acc.el (iso-accents-compose): Remove a
13812 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
13814 * buff-menu.el (list-buffers-noselect): If the buffer's name
13815 starts with a blank, but it visits a file, do show it (for files
13816 whose names start with a blank).
13818 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
13820 * textmodes/fill.el (sentence-end-double-space)
13821 (sentence-end-without-period): Move to paragraphs.el.
13822 (fill-indent-according-to-mode): Change default to t.
13823 (fill-context-prefix): Simplify control-flow and use a more
13824 sophisticated merge that unifies both previous checks.
13825 (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
13826 (fill-nobreak-predicate): Make it into a defcustom'd hook.
13827 (fill-nobreak-p): New fun.
13828 (fill-region-as-paragraph): Use it.
13829 Handle `fill-indent-according-to-mode' slightly differently.
13830 (fill-individual-paragraphs-prefix): Simplify the control-flow.
13831 (fill-individual-paragraphs-citation): Fix.
13833 * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
13834 (paragraph-start): Change default to the `text-mode' value.
13835 (sentence-end-double-space, sentence-end-without-period):
13837 (forward-paragraph): Use `parstart' and `parsep' for temp variables
13838 rather than rebinding `paragraph-start' and `paragraph-separate'.
13840 * indent.el (indent-line-function): Change default to indent-relative.
13841 (tab-always-indent): Add an `never' setting.
13842 (indent-according-to-mode): Handle `indent-relative' and
13843 `indent-relative-maybe' specially.
13844 (indent-for-tab-command): Rename `prefix-arg' to `arg'.
13845 Handle the `never' case for `tab-always-indent'.
13846 Don't call indent-according-to-mode for indent-relative' and
13847 `indent-relative-maybe'.
13848 (insert-tab): Rename `prefix-arg' to `arg'.
13849 (indent-region): Indent the first line as well.
13850 (indent-relative): Don't mark the buffer modified if the indentation
13853 * textmodes/text-mode.el (paragraph-indent-minor-mode):
13854 Don't set paragraph-separate. Set paragraph-start more carefully.
13855 Set indent-line-function.
13856 (paragraph-indent-text-mode): Use it and define-derived-mode.
13857 (text-mode-map): Remove the \t binding.
13858 (text-mode): Simplify now that the default is more favorable.
13860 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
13862 * emacs-lisp/find-func.el (find-function-search-for-symbol):
13863 If the regexp doesn't match, use a looser one.
13864 (find-variable-noselect): Add `file' argument.
13866 * pcvs.el (cvs-mode-commit-hook): New hook.
13867 (cvs-mode-commit): Run it.
13869 * log-edit.el (log-edit): Run hook after `log-edit-files'.
13871 * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
13872 (edebug-instrument-function): Use `find-function-noselect'.
13874 2001-10-29 Richard M. Stallman <rms@gnu.org>
13876 * term.el (term-if-emacs19): Macro deleted.
13877 Callers changed to use progn instead.
13879 * frame.el (blink-cursor-mode): Doc fix.
13881 * files.el (find-backup-file-name): Use make-backup-file-name.
13883 * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
13885 (edebug-set-conditional-breakpoint): Unconditionally use
13886 the former Emacs >=19 definition.
13887 (edebug-mark): Define unconditionally.
13888 (edebug-eval-expression): Always call read-from-minibuffer
13889 and specify history list.
13890 (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
13891 edebug-set-conditional-breakpoint.
13892 (edebug-emacs-version-specific): Function deleted;
13893 do the job at top level.
13894 (edebug-emacs-19-specific): Function deleted, this is the default.
13896 2001-10-29 Sam Steingold <sds@gnu.org>
13898 * w32-fns.el (convert-standard-filename): Handle cygwin-specific
13899 "/cygdrive/LETTER/" pathnames.
13901 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
13903 * faces.el (invert-face): Check for 'unspecified, not for nil,
13904 when testing whether face colors are not specified.
13905 From David.Kastrup@t-online.de (David Kastrup).
13906 (read-face-name): Doc fix.
13907 (make-face-bold, make-face-unbold, make-face-italic)
13908 (make-face-unitalic, make-face-bold-italic, invert-face):
13909 Remove trailing blank from the prompt passed to read-face-name.
13911 2001-10-29 Sam Steingold <sds@gnu.org>
13913 * emacs-lisp/bytecomp.el (byte-recompile-directory):
13914 Report numbers of files skipped and failed too.
13915 (byte-compile-file): Return 'no-byte-compile for skipped files.
13917 2001-10-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13919 * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
13922 2001-10-29 Gerd Moellmann <gerd@gnu.org>
13924 * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
13925 as is on unread-command-events instead of `(SECOND-CHAR)'.
13927 2001-10-29 Andre Spiegel <spiegel@gnu.org>
13929 * vc.el: Mention vc-*-switches in backend API documentation.
13930 (vc-annotate): Adapt doc string to recent change.
13932 2001-10-29 Gerd Moellmann <gerd@gnu.org>
13934 * enriched.el (enriched-face-ans): Handle face attributes
13935 of the form `(FACE1 FACE2 ...)'.
13937 * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
13939 2001-10-29 Alex Schroeder <kensanata@yahoo.com>
13941 * progmodes/sql.el (sql-mysql): Doc change by RMS.
13943 * progmodes/sql.el (sql-db2): Doc change.
13944 (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
13945 (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
13947 2001-10-29 Gerd Moellmann <gerd@gnu.org>
13949 * env.el (substitute-env-vars): Don't quote argument to `rx';
13952 2001-10-28 Per Abrahamsen <abraham@dina.kvl.dk>
13954 * cus-start.el (recursive-load-depth-limit): Added.
13956 2001-10-28 Richard M. Stallman <rms@gnu.org>
13958 * textmodes/ispell.el (version18p, version20p): Vars deleted.
13959 All uses removed--assume Emacs version is >= 20.
13961 * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
13962 by really checking that it is not version 18.
13964 * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
13966 2001-10-28 Miles Bader <miles@gnu.org>
13968 * faces.el (face-attribute): Add INHERIT argument, consider face
13969 inheritance if it's non-nil.
13970 (face-attribute-merged-with): New function.
13971 (face-attribute-specified-or): New macro.
13972 (face-foreground, face-background, face-stipple): Add INHERIT
13973 argument. Use `face-attribute-specified-or'.
13975 2001-10-28 Stefan Monnier <monnier@cs.yale.edu>
13977 * font-lock.el: Require `syntax'.
13978 (font-lock-defaults-alist): Don't define keywords for lisp languages.
13979 Use `c-font-lock-syntactic-face-function' for c languages.
13980 (font-lock-mode): Don't unset vars when turning the mode off.
13981 (font-lock-default-fontify-buffer): Don't unset vars at the end.
13982 (font-lock-extra-managed-props): New var.
13983 (font-lock-default-unfontify-region): Use it.
13984 (font-lock-apply-syntactic-highlight): Flush the syntax cache.
13985 Don't eval the value when there's no match.
13986 (font-lock-ppss-stats): New var.
13987 (font-lock-ppss): New fun.
13988 (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
13989 (font-lock-apply-highlight): Allow `highlight' to set several props.
13990 (font-lock-set-defaults): Use dolist.
13991 (font-lock-unset-defaults): Remove.
13992 (font-lock-match-c-style-declaration-item-and-skip-to-next):
13993 Try to recognize prototypes using `foo P_ ((args))'.
13994 ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
13995 (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
13996 (c-font-lock-syntactic-face-function): New function.
13997 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
13998 (c++-keywords): Use a more sophisticated regexp to handle
13999 shallowly nested templates.
14001 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
14003 * textmodes/sgml-mode.el (sgml-empty-tags): New var.
14004 (sgml-tag): Use it. Cleanup with `cond'.
14005 (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
14006 Mark the overlays and only delete those that are marked.
14007 (sgml-skip-close-p): Remove.
14008 (sgml-value): Replace sgml-skip-close-p with its definition.
14009 (html-tag-alist): Use sgml-xml a bit more.
14010 (html-mode): Set sgml-empty-tags.
14012 * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
14013 (texinfo-update-node, texinfo-sequential-node-update):
14014 Don't bind the obsolete `auto-fill-hook'.
14015 (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
14016 Use `set-buffer' rather than `switch-to-buffer'.
14017 (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
14018 Use `set-buffer' rather than `switch-to-buffer'.
14020 * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
14021 text-mode-syntax-table.
14022 (mail-mode): Use define-derived-mode.
14023 Fix ordering of alternatives in adaptive-fill-regexp.
14024 (mail-mode-map): Don't rely on keymap's internal representation.
14026 2001-10-27 Sam Steingold <sds@gnu.org>
14028 * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
14029 (sgml-xml-guess): Extracted from `html-mode' and generalized.
14030 (sgml-mode-common): Call it.
14031 (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
14032 (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
14033 (html-horizontal-rule, html-image, html-ordered-list):
14034 (html-unordered-list, html-list-item, html-paragraph):
14035 (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
14038 2001-10-26 Masayuki Ataka <ataka@milk.freemail.ne.jp>
14040 * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
14041 (ifnothtml): New alias.
14043 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
14045 * textmodes/text-mode.el (text-mode): Use define-derived-mode.
14046 (toggle-text-mode-auto-fill): Use derived-mode-p.
14048 2001-10-27 Gerd Moellmann <gerd.moellmann@t-online.de>
14050 * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
14051 `mdtm'. From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
14053 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
14055 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
14056 Add make-obsolete cookies, to follow faces.el.
14058 These changes avoid warnings from the byte compiler in faces.el:
14060 * faces.el (internal-get-face): Use facep instead of the obsolete
14061 internal-find-face.
14062 (internal-frob-font-weight, internal-frob-font-slant):
14063 New defaliases for obsolete functions.
14064 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
14065 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
14066 (x-make-font-bold-italic): Use internal-frob-font-weight and
14067 internal-frob-font-slant aliases instead of the obsolete
14068 x-frob-... functions.
14070 2001-10-26 Sam Steingold <sds@gnu.org>
14072 * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
14073 DOCTYPE; set `mode-name' based on it.
14074 (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
14075 (sgml-tag): Close empty tags in XHTML.
14077 2001-10-26 Jason Rumney <jasonr@gnu.org>
14079 * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
14080 when UNICODE is not defined.
14082 2001-10-26 Sam Steingold <sds@gnu.org>
14084 * font-lock.el (c-font-lock-keywords-2): Do not require labels to
14085 be alone on the line.
14087 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
14089 * button.el (button): Special face definition for MS-DOS terminals.
14091 2001-10-26 Sam Steingold <sds@gnu.org>
14093 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
14094 Protect the /= test by checking that the args are non-nil.
14095 (sh-font-lock-close-heredoc): Check eof for being non-nil.
14097 2001-10-26 Tomas Abrahamsson <tab@lysator.liu.se>
14099 * textmodes/artist.el (artist-version): 1.2.4.
14100 (artist-butlast-fn): New variable.
14101 (artist-butlast): New function.
14102 (artist-ellipse-mirror-quadrant): Use it.
14103 (artist-mouse-draw-poly): Use nil for `point-list'.
14104 (artist-mouse-draw-poly): Check for point-list being nil.
14106 2001-10-26 Peter Kleiweg <kleiweg@let.rug.nl>
14108 * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
14110 (ps-mode-menu-main): Submenu with options on/off was replaced with
14112 (ps-mode, ps-run-mode): Define with `define-derived-mode'
14113 (ps-mode): Autoload cookie added on same line as comment
14114 (ps-mode-tabkey, ps-mode-backward-delete-char):
14115 (ps-mode-r-balance): Replace `delete-horizontal-space' and
14116 `indent-to' with `indent-line-to'
14117 (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
14119 (ps-mode-print-region): Use `with-temp-buffer'.
14120 (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'.
14121 (numerous places): Add back-tick and tick around names in
14122 docstrings, fix punctuation in docstrings, remove trailing spaces.
14124 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
14126 * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
14127 (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
14128 (sgml-font-lock-syntactic-keywords): New var.
14129 (sgml-mode-common): Drop the two args.
14130 Don't make buffer-local variables that aren't used.
14131 Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
14132 Don't set `before-string' props from sgml-display-text.
14133 (sgml-mode): Use define-derived-mode.
14134 (sgml-tags-invisible): Use sgml-display-text.
14135 (sgml-quote): New command.
14136 (html-tag-alist): Add args for `span'.
14137 (html-mode): Use define-derived-mode.
14138 Set sgml-display-text and sgml-tag-face-alist.
14140 2001-10-25 Sam Steingold <sds@gnu.org>
14142 * add-log.el (add-log-always-start-new-record): New user option.
14143 (add-change-log-entry): Use it.
14145 2001-10-25 Richard M. Stallman <rms@gnu.org>
14147 * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
14148 bind case-fold-search if FROM is not all lower case.
14150 2001-10-25 Gerd Moellmann <gerd@gnu.org>
14152 * startup.el (normal-top-level): Check for frame-initial-frame
14153 only if it's really used.
14155 * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
14157 * progmodes/compile.el (compilation-parse-errors-filename-function):
14159 (compilation-parse-errors): Use it.
14161 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
14163 * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
14164 interactively so that C-u M-C-x still does edebug.
14165 (checkdoc-sentencespace-region-engine): Don't force a double-space
14166 after `.' if it doesn't look like an end-of-sentence.
14167 (debug-ignored-errors): Add `disambiguate ...'.
14169 2001-10-24 Stefan Monnier <monnier@cs.yale.edu>
14171 * textmodes/texinfo.el (texinfo-environments)
14172 (texinfo-environment-regexp): Hoist.
14173 (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
14174 Only highlight the menu name in menu items.
14175 Setup `@foo ... @end foo' as text clones.
14176 (texinfo-clone-environment): New function.
14177 (texinfo-mode): Simplify auto-fill-inhibit-regexp.
14178 (texinfo-insert-block): Simplify.
14179 (texinfo-insert-quote): Insert a plain " if preceded by \ or if
14180 the command is repeated.
14181 (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
14182 (texinfo-insert-@end): Simplify.
14184 * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
14185 (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
14186 (texinfo-subsubsection-level-regexp)
14187 (texinfo-update-menu-same-level-regexps)
14188 (texinfo-update-menu-higher-regexps)
14189 (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
14191 * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
14192 (derived-mode-p): Autoload.
14194 * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
14195 New vars and functions.
14196 (text-clone-maintain, text-clone-create): New functions.
14198 2001-10-25 Miles Bader <miles@gnu.org>
14200 * facemenu.el (facemenu-add-new-face): Fix variable names.
14202 2001-10-24 Richard M. Stallman <rms@gnu.org>
14204 * facemenu.el (facemenu-unlisted-faces): Improve doc strings
14205 of t and nil values.
14206 (facemenu-set-face): Handle START and END interactively.
14207 (facemenu-set-foreground): Don't use a face; specify color directly.
14208 (facemenu-set-background): Likewise.
14209 (facemenu-set-face-from-menu): Doc fix.
14210 (facemenu-active-faces): Use face-attribute-vector
14211 to handle bare attributes not in faces.
14212 (facemenu-get-face): Don't handle face names fg:... and bg:...
14214 (facemenu-add-new-face): New argument MENU.
14215 New way to handle adding colors to the color menus.
14217 * env.el (substitute-env-vars): Quote the arg to rx.
14219 2001-10-24 Sam Steingold <sds@gnu.org>
14221 * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
14222 Control" and "SGML" groups.
14224 2001-10-24 Martin Stjernholm <bug-cc-mode@gnu.org>
14226 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
14227 Better handling of C++ template args to avoid confusion with `<'
14228 and `>' used as operators in member init expressions.
14230 2001-10-24 Gerd Moellmann <gerd@gnu.org>
14232 * replace.el (perform-replace): Move START and END parameters
14233 to the end of the argument list and make them optional.
14235 * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
14238 * international/fontset.el (x-must-resolve-font-name): New function.
14239 (x-complement-fontset-spec): Use it.
14241 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
14243 * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
14245 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
14246 Turn caadr into caar of cdr.
14248 2001-10-23 Gerd Moellmann <gerd@gnu.org>
14250 * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
14251 of mouse-{1,2} since dragging is on the down event.
14253 * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
14255 * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
14258 * desktop.el (desktop-last-buffer): New variable.
14259 (desktop-create-buffer): Set it.
14260 (desktop-read): Bind it and switch to that buffer.
14262 2001-10-22 Gerd Moellmann <gerd@gnu.org>
14264 * progmodes/compile.el (compilation-set-window-height):
14265 Select old window only if it's still live.
14267 2001-10-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
14269 * help-mode.el (help-buffer): Remove debugging code.
14270 From Stefan Monnier <monnier@cs.yale.edu>.
14272 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
14274 * files.el (file-name-sans-extension, file-name-extension):
14275 Don't count the leading dots in file names as signaling an extension.
14277 2001-10-22 Andre Spiegel <spiegel@gnu.org>
14279 * vc.el (vc-diff-switches): Doc rewritten.
14281 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
14283 * tooltip.el (tooltip-set-param): Doc fix.
14285 * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
14286 127 to sgml-maybe-name-self.
14287 (sgml-name-8bit-mode): Doc fix.
14288 (sgml-char-names-table): New variable.
14289 (sgml-name-char): Support non-ASCII and mule-unicode-*
14290 characters. Doc fix.
14291 (sgml-maybe-name-self): Convert unibyte characters to multibyte.
14293 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
14294 doc string the effect of `left' and `top' parameters in
14295 tooltip-frame-parameters, the default values, and the units.
14296 (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
14297 (tooltip-show): Mention in the doc string the `top' and `left'
14298 parameters in tooltip-frame-parameters, and x-max-tooltip-size.
14300 2001-10-22 Andre Spiegel <spiegel@gnu.org>
14302 Add autoscaling support for vc-annotate.
14303 From J.D. Smith <jdsmith@alum.mit.edu>.
14305 * vc.el (vc-annotate-display-default): Accept colormap scaling
14306 ratio (now deprecated).
14307 (vc-annotate-display-autoscale): Added.
14308 (vc-annotate-add-menu): New autoscaling menu options "Span to
14309 Oldest" and "Span Oldest->Newest". Easymenu support added for
14310 toggle menus driven by customize variable `vc-annotate-display-mode'.
14311 (vc-annotate-display-select): Added.
14312 (vc-annotate): Changed temp-buffer-show-function to
14313 `vc-annotate-display-select'.
14314 (vc-annotate-display): Removed arguments BUFFER and BACKEND.
14315 Added argument OFFSET. Instead of backend function, calls now
14316 generic `vc-annotate-difference'.
14317 (vc-annotate-difference): Added as generic function instead of
14318 backend-specific function. No longer takes argument POINT, but
14319 instead accepts a time OFFSET.
14320 (vc-default-annotate-current-time): Added.
14322 * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
14323 version in vc.el, with
14324 (vc-cvs-annotate-current-time): Added, as override of default.
14325 (vc-cvs-annotate-time): Added. Taken mostly from the (now removed)
14326 `vc-cvs-annotate-difference'.
14328 2001-10-22 Gerd Moellmann <gerd@gnu.org>
14330 * saveplace.el (save-place): Require `saveplace'.
14332 * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
14333 Use `sexp' for :value-type instead of `face'.
14335 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
14337 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
14338 regexps due to 5-digit message IDs.
14340 2001-10-21 Jason Rumney <jasonr@gnu.org>
14342 * term/w32-win.el (redisplay-dont-pause): Don't set.
14344 2001-10-21 Miles Bader <miles@gnu.org>
14346 * help-funs.el (help-manyarg-func-alist): Variable removed.
14348 2001-10-21 Miles Bader <miles@gnu.org>
14350 * help-funs.el (help-manyarg-func-alist): Remove entries for
14351 `insert', `insert-and-inherit', `insert-before-markers',
14352 `insert-before-markers-and-inherit', `message', `message-box',
14353 `message-or-box', `propertize', `format', `encode-time', `append',
14354 `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
14355 `insert-string', `ml-if', `ml-provide-prefix-argument', and
14356 `ml-prefix-argument-loop'.
14358 2001-10-21 Andre Spiegel <spiegel@gnu.org>
14360 * vc.el (vc-diff-internal, vc-coding-system-for-diff)
14361 (vc-default-diff-tree): New functions.
14362 (vc-version-diff): Use them. As a result, coding systems are now
14363 set up properly for all sorts of diffs, and tree diffs can now
14364 also be done locally.
14365 (vc-diff): With a prefix argument, don't require that it's called
14366 from a buffer under version control.
14367 (diff-switches): Remove duplicate definition.
14369 * vc-cvs.el (vc-cvs-diff-tree): New function.
14371 2001-10-21 Miles Bader <miles@gnu.org>
14373 * help-funs.el (help-manyarg-func-alist): Remove entries for
14374 `list', `vector', `make-byte-code', `call-process',
14375 `call-process-region', `string', `+', `-', `*', `/', `max', `min',
14376 `logand', `logior', and `logxor'.
14378 * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
14379 image bits to compensate. Use `make-string' instead of
14380 `make-bool-vector' (XBM apparently wants byte-aligned rows).
14382 2001-10-20 Kim F. Storm <storm@cua.dk>
14384 * simple.el (kill-ring-save): Don't show extent of copied region
14385 if using transient-mark-mode and region is fully visible.
14387 See ChangeLog.9 for earlier changes.
14389 ;; Local Variables:
14390 ;; coding: iso-2022-7bit
14393 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
14394 Copying and distribution of this file, with or without modification,
14395 are permitted provided the copyright notice and this notice are preserved.