1 2002-09-07 Colin Walters <walters@debian.org>
3 * progmodes/compile.el (compile-internal): Add optional argument
6 * diff.el (diff): Add optional argument no-async, and use the
9 * files.el (diff-buffer-with-file): Use it.
11 2002-09-07 John Paul Wallington <jpw@shootybangbang.com>
13 * emacs-lisp/cl-indent.el (extended-loop-p): Doc fix.
15 * emacs-lisp/find-func.el (find-function-recenter-line): Add
18 2002-09-06 Stefan Monnier <monnier@cs.yale.edu>
20 * menu-bar.el (menu-bar-make-mm-toggle): New macro.
21 (showhide-menu-bar, showhide-toolbar, menu-bar-toggle-auto-compression)
22 (toggle-highlight-paren-mode, toggle-global-lazy-font-lock-mode):
23 Remove. Use the minor mode function directly instead.
24 (menu-bar-mode): Add message and customize-mark-as-set and return
25 the new value as do other minor modes.
27 * edmacro.el (edmacro-subseq): Don't use cl-push/cl-pop.
29 2002-09-06 Simon Marshall <simon@gnu.org>
31 * progmodes/etags.el (find-tag-tag, complete-tag):
32 Bind completion-ignore-case based on tags-case-fold-search, so that
33 case-sensitivity of tag completion matches that of tag search.
35 2002-09-06 Juanma Barranquero <lektu@terra.es>
37 * calendar/solar.el (calendar-time-display-form): Fix spacing.
39 * double.el (double-prefix-only): Likewise.
41 * emacs-lisp/easymenu.el (easy-menu-define): Likewise.
43 * emacs-lisp/find-func.el (find-function-search-for-symbol): Likewise.
45 * emacs-lisp/float.el (string-to-float): Likewise.
47 * emacs-lisp/rx.el (rx): Likewise.
49 * faces.el (copy-face): Likewise.
51 * hilit-chg.el (highlight-changes-colours)
52 (highlight-changes-active-string)
53 (highlight-changes-passive-string)
54 (highlight-changes-rotate-faces, global-highlight-changes): Likewise.
56 * international/mule.el (decode-char): Likewise.
58 * progmodes/idlwave.el (idlwave-support-inheritance)
59 (idlwave-routine-entry-compare): Likewise.
61 * progmodes/idlw-shell.el (idlwave-shell-use-breakpoint-glyph):
64 * progmodes/pascal.el (pascal-start-keywords): Likewise.
66 * progmodes/sh-script.el (sh-indent-for-fi, sh-indent-for-done):
69 * progmodes/vhdl-mode.el (vhdl-progress-interval)
70 (vhdl-corresponding-begin): Likewise.
72 * simple.el (choose-completion-string-functions): Likewise.
74 * textmodes/reftex.el (reftex-TeX-master-file): Likewise.
76 * textmodes/fill.el (fill-nonuniform-paragraphs)
77 (fill-individual-paragraphs): Likewise.
79 * vcursor.el (vcursor-toggle-vcursor-map): Likewise.
81 * warnings.el (warning-level-aliases): Likewise.
83 * speedbar.el (speedbar-mode): Fix spacing and typos.
85 * textmodes/reftex-vars.el (reftex-label-menu-flags): Fix typo.
87 2002-09-05 Markus Rost <rost@math.ohio-state.edu>
89 * textmodes/table.el (table-command-prefix): Fix type.
91 2002-09-05 Andre Spiegel <spiegel@gnu.org>
93 * vc-hooks.el Don't require vc.el at compile-time; it causes
94 recursive requirements during bootstrap.
96 2002-09-05 Kenichi Handa <handa@etl.go.jp>
98 * international/mule.el (decode-char): Cancel the previous change.
100 2002-09-04 Mats Lidell <matsl@contactor.se> (tiny change)
102 * language/european.el ("Swedish"): New set-language-info-alist call.
104 2002-09-04 Richard M. Stallman <rms@gnu.org>
106 * help-fns.el (help-with-tutorial): Properly set up
107 completion-reference-buffer in the *Completion* buffer.
109 2002-09-04 John Paul Wallington <jpw@shootybangbang.com>
111 * startup.el (use-fancy-splash-screens-p): If `fancy-splash-frame'
112 returns nil, return nil.
114 2002-09-04 Andre Spiegel <spiegel@gnu.org>
116 * vc-hooks.el: Require vc.el at compile-time.
117 (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
118 Moved here from vc.el.
120 * vc.el (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
121 Moved to vc-hooks.el.
123 * vc-rcs.el (vc-rcs-state): Don't require vc.el.
125 2002-09-04 Kenichi Handa <handa@etl.go.jp>
127 * international/mule.el (decode-char): Translate a character by
128 utf-8-translation-table-for-decode only when
129 utf-8-fragment-on-decoding is non-nil.
131 2002-09-02 Stefan Monnier <monnier@cs.yale.edu>
133 * textmodes/text-mode.el (paragraph-indent-text-mode-abbrev-table)
134 (paragraph-indent-text-mode-syntax-table, paragraph-indent-text-mode):
135 Use text-mode's syntax-table and abbrev-table.
136 (text-mode): Set require-final-newline to t.
138 * newcomment.el (comment-make-extra-lines): Only use the
139 dummy `=' char when there's really nothing else.
140 Don't remove spaces if it leads to an incorrect comment.
142 * pcvs.el (cvs-run-process): Use a pty rather than a pipe to work
143 around the cvs/ssh/libc bug.
144 (cvs-update-header): Understand `cvs admin -m<rev>:<msg>' syntax.
145 (defun-cvs-mode): Use the new `declare' thingy.
146 (cvs-edit-log-text-at-point, cvs-mode-edit-log, cvs-do-edit-log)
147 (cvs-edit-log-minor-wrap, cvs-edit-log-filelist): New funs.
148 (cvs-mode-undo): Use `cvs add' for (CONFLICT. REMOVED).
150 * pcvs-parse.el (cvs-parse-table): Create a `need-update'
151 node rather than a message for new directories.
152 (cvs-parse-status): Add support for `Entry Invalid'.
154 * smerge-mode.el (smerge-diff-buffer-name): Default to *vc-diff*.
155 (smerge-combine-with-next): New function.
156 (smerge-diff): Don't output `wrote /tmp/foo' messages.
157 Insert message if no diffs were found.
159 * mail/sendmail.el (mail-mode): Don't set local-abbrev-table.
160 (mail-mode-abbrev-table): Set to text-mode-abbrev-table.
162 2002-09-02 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
164 * net/tramp.el: Version 2.0.15 released.
165 (require 'base64): Most modern Emacsen have the base64
166 encode/decode functions built in, so test to see if they are bound
167 before we go blindly requiring base64.el.
168 From Steve Youngs <youngs@xemacs.org>.
169 (tramp-feature-write-region-fix): XEmacs doesn't have a
170 'find-operation-coding-system' and this variable doesn't seem to
171 be used anywhere so wrap it in (unless (featurep 'xemacs)).
172 From Steve Youngs <youngs@xemacs.org>.
173 (tramp-methods): Remove duplicate definition of ssh1-old and ssh2-old.
174 (tramp-open-connection-su): Use user name "root" if no user name
177 From Michael Albinus <Michael.Albinus@alcatel.de>:
178 * net/tramp.el (tramp-invoke-ange-ftp):
179 (tramp-ange-ftp-file-name-p): Check for Xemacs.
180 (tramp-do-copy-or-rename-file): Don't pass KEEP-DATE to
181 tramp-invoke-ange-ftp 'rename.
182 (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
183 tramp-invoke-ange-ftp 'write-region.
184 (tramp-handle-set-file-modes): Change order of FILENAME and MODE
185 passing to tramp-invoke-ange-ftp 'set-file-modes.
186 (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called
187 again after activating `ange-ftp'.
189 2002-09-02 Kim F. Storm <storm@cua.dk>
191 * ido.el (ido-ignore-item-temp-list): New variable.
192 (ido-read-internal): Don't set ido-default-item if the default is
193 member of ido-ignore-item-temp-list.
194 Don't return first match for C-j if no text is entered.
195 (ido-buffer-internal): Check for empty string return.
196 (ido-make-buffer-list1): Use member instead of memq.
197 (ido-window-buffer-p): Likewise.
198 (ido-get-bufname): Ignore buffers on ido-ignore-item-temp-list.
199 (ido-ignore-item-p): Ignore items on ido-ignore-item-temp-list.
201 * replace.el (multi-occur): Made "ido-aware":
202 Changed prompt to use C-j instead of RET to end.
203 Set ido-ignore-item-temp-list to the selected buffers so far, so
204 they are automatically excluded from the list of choices.
205 Use add-to-list instead of push.
207 2002-09-01 Richard M. Stallman <rms@gnu.org>
209 * term/x-win.el (function-key-map): Define S-iso-lefttab.
211 2002-09-01 Kim F. Storm <storm@cua.dk>
213 * edmacro.el (edit-kbd-macro): Recognize new default binding for
214 C-x e in addition to old binding.
216 2002-09-01 Mario Lang <mlang@debian.org>
218 * files.el (save-some-buffers-action-alist): New variable.
219 (save-some-buffers): Use that.
220 (diff-buffer-with-file): New function.
222 2002-09-01 Richard M. Stallman <rms@gnu.org>
224 * ruler-mode.el (defgroup ruler-mode): Use `convenience' as parent.
226 * dired.el (defgroup dired): Use `files' as parent.
227 (dired-get-filename): Ignore handler if it has safe-magic prop.
229 * jka-compr.el (jka-compr-handler): Add safe-magic property.
231 2002-08-31 Richard M. Stallman <rms@gnu.org>
233 * simple.el (kill-line): Use end-of-visible-line to determine
234 if rest of line is blank.
235 (end-of-visible-line): Cope if end-of-line moved back over
236 invisible intangible chars at end of line.
238 * simple.el (completion-setup-function): Don't use directory-sep-char.
240 2002-09-01 Glenn Morris <gmorris@ast.cam.ac.uk>
242 * progmodes/f90.el (f90-menu): Remove ":active" keyword where not
244 (f90-menu, f90-add-imenu-menu): Use lookup-key.
245 Remove (eval-when-compile) for free variables.
247 2002-08-31 Andreas Schwab <schwab@suse.de>
249 * font-core.el (font-lock-change-mode): Avoid changing buffer
252 2002-08-30 Stefan Monnier <monnier@cs.yale.edu>
254 * emacs-lisp/easymenu.el (easy-menu-filter-return):
255 Handle the case where the filter returns a single menu entry.
256 (easy-menu-add): Improve docstring.
257 (easy-menu-current-active-maps): Remove.
258 (easy-menu-get-map): Use current-active-maps.
260 * cus-edit.el (custom-unlispify-menu-entry): Don't remove
261 the -p prefix from variables since they shouldn't have it anyway.
262 (custom-group-menu-create, customize-menu-create):
263 Only cdr if applicable, since custom-menu-create might return
264 a vector (i.e. a single menu entry).
266 2002-08-30 Edward M. Reingold <reingold@emr.cs.iit.edu>
268 * calendar/diary-lib.el (diary-mail-entries): Don't overwrite
269 user's value of diary-list-include-blanks, but generate message
270 instead if there are no entries.
272 2002-08-30 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
274 * ps-print.el (ps-lp-system): Fixed typo in `usg-unix-v'.
276 2002-08-30 Markus Rost <rost@math.ohio-state.edu>
278 * menu-bar.el (menu-bar-read-mail): Doc fix.
280 2002-08-30 John Paul Wallington <jpw@shootybangbang.com>
282 * ibuffer.el (ibuffer-update): Revert expansion of `caddr'.
283 (ibuffer-fontification-alist): Check hidden buffer case isn't
284 visiting a file and change its face to italic.
286 2002-08-30 Juanma Barranquero <lektu@terra.es>
288 * replace.el (occur-mode): Add interactive declaration.
290 * bs.el (bs-message-without-log): Fix typo.
292 * font-core.el (font-lock-defaults): Likewise.
294 * font-lock.el (font-lock-add-keywords): Likewise.
296 * mouse-copy.el (mouse-copy-work-around-drag-bug): Likewise.
298 * textmodes/bibtex.el (bibtex-mode): Likewise.
300 * emulation/viper-ex.el (ex-compile-command): Likewise.
302 * progmodes/idlwave.el (idlwave-max-extra-continuation-indent):
305 * progmodes/dcl-mode.el (dcl-calc-cont-indent-relative): Likewise.
307 * allout.el (my-mark-marker): Likewise.
309 2002-08-30 Simon Josefsson <jas@extundo.com>
311 * mail/smtpmail.el (smtpmail-via-smtp): Delete process buffer
312 unless s-debug-info is enabled.
314 2002-08-29 John Paul Wallington <jpw@shootybangbang.com>
316 * ibuffer.el (ibuffer-update): Use `minibufferp'. Expand `caddr'.
318 * mwheel.el (mouse-wheel-up-button): Doc fix.
320 2002-08-29 Juanma Barranquero <lektu@terra.es>
322 * replace.el (occur-mode-hook): New hook.
323 (occur-mode): Use it.
324 (occur-hook): Set default to nil.
326 2002-08-29 Stefan Monnier <monnier@cs.yale.edu>
328 * net/ange-ftp.el: Use match-string and drop useless `function's.
329 (ange-ftp-get-process): Bind `ange-ftp-this-user' and
330 `ange-ftp-this-host' before running ange-ftp-process-startup-hook.
331 (ange-ftp-ls-parser): Use `switches' arg instead of dynamic binding.
332 (ange-ftp-parse-dired-listing): Update the calls.
333 (dired-local-variables-file): Declare to shut quieten the compiler.
334 (ange-ftp-file-entry-active-p): Remove.
335 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
336 Don't exclude dangling symlinks.
337 (ange-ftp-file-name-completion-1): Make predicate optional.
338 (ange-ftp-parse-list-func-alist): Use add-to-list to update.
339 (ange-ftp-fix-name-for-bs2000): Use subst-char-in-string.
340 (ange-ftp-bs2000-posix-hook-installed): Remove.
341 (ange-ftp-add-bs2000-posix-host): Don't use it anymore.
342 (ange-ftp-bs2000-cd-to-posix): Use `ange-ftp-this-user' and
343 `ange-ftp-this-host' instead of `user' and `host'.
345 2002-08-29 Richard M. Stallman <rms@gnu.org>
347 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
348 Decide here whether to print which form we're compiling.
349 If we do that, still print file and line. Make file name
350 relative to default-directory. Print fewer newlines.
351 (byte-compile-log-file): Print something even if no file.
352 Print messages for entering and leaving directories,
353 and set default-directory.
354 (displaying-byte-compile-warnings): Only sometimes bind warning-series.
355 (byte-compile-warning-series): New function.
356 (byte-compile-file): Set byte-compile-last-logged-file, don't bind it.
357 (byte-compile-display-log-head-p): Function deleted.
359 * warnings.el (warning-series): Now can be a marker, not an integer.
360 (display-warning): Handle new value for warning-series.
362 * emacs-lisp/bytecomp.el (byte-compile-log-file): Use \f.
363 (byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file
366 2002-08-29 Kim F. Storm <storm@cua.dk>
368 * kmacro.el: Change default bindings from F7/F8 to F3/F4.
369 Change default binding of C-x e to kmacro-end-or-call-macro.
370 (kmacro-call-repeat-key, kmacro-call-repeat-with-arg): New custom
372 (kmacro-get-prefix-arg): New function.
373 (kmacro-repeat-on-last-key): Rename from kmacro-repeat-loop and
374 improve. Callers changed.
375 (kmacro-call-macro): Repeat macro by repeating last key or
376 key defined in kmacro-call-repeat-key. New third arg non-nil
377 means to end current macro.
378 (kmacro-end-or-call-macro): Call kmacro-call-macro appropriately
379 to get repeat last key functionality.
380 (kmacro-start-macro-or-insert-counter): Improve doc string.
382 2002-08-28 Luc Teirlinck <teirllm@mail.auburn.edu>
384 * files.el (find-buffer-visiting): Compare file attributes
385 using buffer-file-truename.
387 2002-08-28 Richard M. Stallman <rms@gnu.org>
389 * files.el (make-auto-save-file-name, make-backup-file-name-1):
390 Don't use directory-sep-char.
392 2002-08-28 Juanma Barranquero <lektu@terra.es>
394 * replace.el (occur-hook): Renamed from `occur-mode-hook'.
395 (occur-mode): Remove call to `occur-mode-hook'.
396 (occur-rename-buffer): Fix reference to `occur-mode-hook' in docstring.
397 (occur-1): Add call to `occur-hook'.
399 * subr.el (make-variable-frame-localizable): Alias for
400 `make-variable-frame-local'.
402 2002-08-28 Miles Bader <miles@gnu.org>
404 * rfn-eshadow.el (read-file-name-electric-shadow-properties)
405 (read-file-name-electric-shadow-tty-properties)
406 (read-file-name-electric-shadow-mode): Remove compatibility defs.
408 * comint.el (comint-carriage-motion): Start at START.
410 2002-08-27 Francesco Potorti` <pot@gnu.org>
412 * net/ange-ftp.el (ange-ftp-skip-msgs): Skip the 530 response
413 given by vsFTPd when accessed with a kerberised FTP client.
415 2002-08-27 Richard M. Stallman <rms@gnu.org>
417 * files.el (find-alternate-file):
418 Bind kill-buffer-query-functions locally, don't set it.
420 2002-08-27 Andreas Schwab <schwab@suse.de>
422 * kmacro.el (kmacro-start-macro): Doc fix.
424 2002-08-27 Carsten Dominik <dominik@sand.science.uva.nl>
426 * textfile/reftex-ref.el (reftex-goto-label): New command.
428 * textfile/reftex-vars.el (reftex-part-resets-chapter): New option.
430 * textfile/reftex-parse.el (reftex-roman-number): New function.
431 (reftex-section-number): Better handling of parts: No chapter
434 * textfile/reftex.el (reftex-highlight-overlays): Added a third
436 (reftex-mode-menu): Added entry for `reftex-toc-recenter.
437 Also moved `reftex-reset-mode' to top level.
439 * textfile/reftex-toc.el (reftex-toc-recenter): New command.
440 (reftex-toc-pre-command-hook): Don't remove highlight overlay.
441 (reftex-toc-post-command-hook): Use overlay no 2 for highlighting.
443 * textfile/reftex-sel.el (reftex-get-offset): Get offset of
444 document pointer *before* position, not after.
445 (reftex-insert-docstruct): Get offset of document pointer *before*
448 * textfiles/reftex-parse.el (reftex-where-am-I): Prefer marker
449 match over section title match.
451 * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
452 which determines on a per-file-basis if BibTeX is being used
453 locally for citations.
454 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
455 cooperation with chapterbib.
456 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
457 better cooperation with chapterbib.
459 * textfiles/reftex-dcr.el (reftex-view-cr-cite):
460 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
462 2002-08-26 Kim F. Storm <storm@cua.dk>
464 * subr.el (suppress-keymap): Use command remapping instead of
465 substitute-key-definition to undefine self-inserting keys.
467 2002-08-26 Juanma Barranquero <lektu@terra.es>
469 * makefile.w32-in (WINS): Add calc and obsolete.
471 2002-08-26 Stefan Monnier <monnier@cs.yale.edu>
473 * emacs-lisp/easy-mmode.el (define-minor-mode):
474 Use customize-mark-as-set for global minor modes.
476 2002-08-25 Miles Bader <miles@gnu.org>
478 * rfn-eshadow.el (file-name-shadow-properties-custom-type):
479 Renamed from `read-file-name-electric-shadow-properties-custom-type'.
481 (file-name-shadow-properties): Renamed from
482 `read-file-name-electric-shadow-properties'.
483 (file-name-shadow-tty-properties): Renamed from
484 `read-file-name-electric-shadow-tty-properties'.
485 (file-name-shadow): Renamed from `read-file-name-electric-shadow'.
486 (rfn-eshadow-setup-minibuffer): Update references to renamed variables.
487 (file-name-shadow-mode): Renamed from
488 `read-file-name-electric-shadow-mode'. Update references to
491 2002-08-24 Sam Steingold <sds@gnu.org>
493 * subr.el (eval-after-load): Do not call
494 load-symbol-file-load-history (deleted yesterday).
496 2002-08-24 John Paul Wallington <jpw@shootybangbang.com>
498 * startup.el (normal-splash-screen): Ensure splash buffer is
499 killed. Use tabs in output. Fix test whether previous buffer was
502 * progmodes/simula.el (simula-abbrev-keyword-default)
503 (simula-abbrev-keyword, simula-abbrev-stdproc-default)
504 (simula-abbrev-stdproc): Doc fix - escape open parens in column 0.
506 * apropos.el (command-apropos): Use `defalias' instead of `fset'.
508 * mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix.
510 2002-08-24 Glenn Morris <gmorris@ast.cam.ac.uk>
512 * progmodes/f90.el (f90-xemacs-flag, f90-xemacs-menu)
513 (f90-menu-bar-menu, f90-change-case-menu, f90-font-lock-on)
514 (f90-font-lock-off, f90-font-lock-menu): Delete.
515 Use easy-menu-define instead.
516 (f90-mode): Use easy-menu-add.
517 No longer (require 'imenu) when compiling.
518 (f90-mark-subprogram, f90-indent-region, f90-fill-region)
519 (f90-abbrev-start): Use fboundp.
520 (f90-imenu-flag): Delete - use imenu--index-alist instead.
522 2002-08-23 Richard M. Stallman <rms@gnu.org>
524 * loadhist.el (unload-feature): Distinguish functions from
525 variables in load-history.
526 (feature-symbols): Doc fix.
528 * files.el (ange-ftp-completion-hook-function): Add safe-magic prop.
530 * subr.el (symbol-file-load-history-loaded)
531 (load-symbol-file-load-history): Deleted.
532 (symbol-file): Don't call load-symbol-file-load-history.
534 2002-08-23 Andre Spiegel <spiegel@gnu.org>
536 * vc-hooks.el (vc-kill-buffer-hook): Add it to kill-buffer-hook again.
538 2002-08-22 Katsumi Yamaoka <yamaoka@jpl.org> (tiny change)
540 * frame.el (select-frame-by-name, select-frame-set-input-focus):
541 Always call x-focus-frame, if using x.
542 Use set-mouse-position on all systems, if focus-follows-mouse.
544 2002-08-22 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
546 * net/tramp.el: Version 2.0.14 released.
547 (tramp-shell-prompt-pattern): New variable.
548 (tramp-actions-before-shell, tramp-multi-actions)
549 (tramp-find-shell, tramp-open-connection-multi)
550 (tramp-open-connection-setup-interactive-shell): Use it.
551 (tramp-open-connection-telnet, tramp-open-connection-rsh)
552 (tramp-open-connection-su): Mention `tramp-shell-prompt-pattern'
554 (tramp-bug): Report `tramp-shell-prompt-pattern'.
555 (tramp-process-one-multi-action, tramp-process-one-action):
556 Make message clearer so people don't confuse it with Emacs asking
557 them a question if the regexp happens to end with "?".
558 (tramp-verbose): Change default value from 10 to 9. Also change
559 some logging levels so that 10 is reserved for stuff which is
560 needed for debugging only, but 9 catches everything that people
561 might like to see in order to see that Tramp is actually working.
563 2002-08-22 Kim F. Storm <storm@cua.dk>
565 * emacs-lisp/authors.el (authors-aliases, authors-fixed-entries):
566 Corrected spelling mistakes (for Joseph Arceneaux).
568 2002-08-21 Glenn Morris <gmorris@ast.cam.ac.uk>
570 * progmodes/f90.el: eval-when-compile a few defvars.
571 (f90-xemacs-flag): Wrap in eval-and-compile.
572 (f90-font-lock-keywords): Doc fix.
573 (f90-mode-abbrev-table): Work with or without 6th arg of define-abbrev.
574 (f90-mark-subprogram-overlay): Variable deleted.
575 (f90-mark-subprogram): Remove overlay bit. Don't be silent about
577 (f90-abbrev-start): unread-command-event is obsolete in XEmacs.
579 2002-08-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
581 * tramp.el: Version 2.0.13 released.
582 (tramp-handle-write-region): Don't check to see if remote end is
583 awake after sending data to remote host: we want to send "EOF" not
584 "echo are you awake"...
585 (tramp-maybe-open-connection): Swap args for tramp-time-diff.
586 (tramp-yn-prompt-regexp): New variable.
587 (tramp-action-yn): New function, using it.
588 (tramp-feature-write-region-fix): New internal variable. Not yet
589 used. Should be used in `tramp-handle-write-region'.
591 2002-08-21 Kim F. Storm <storm@cua.dk>
593 * bindings.el (mode-line-format): Moved global-mode-string last.
594 (mode-line-position): Moved %p first. Added padding to %l/%c to
595 eliminate jumpyness in modeline. Use (%l,%c) format if both
596 line-number-mode and column-number-mode are enabled.
598 2002-08-20 Martin Stjernholm <bug-cc-mode@gnu.org>
600 * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed a bug
601 that could cause an infinite loop if something that looks like
602 a macro begins in the middle of a line.
604 * progmodes/cc-engine.el (c-parse-state): Fixed a bug that
605 could cause `c-state-cache' to contain two conses in sequence
606 when there's an unbalanced open paren in a macro.
608 2002-08-20 Glenn Morris <gmorris@ast.cam.ac.uk>
610 * progmodes/fortran.el (fortran-current-defun): Use save-excursion.
612 * imenu.el (imenu--generic-function): Use mapc.
613 (imenu-syntax-alist): Doc fix.
615 2002-08-20 Richard M. Stallman <rms@gnu.org>
617 * font-core.el (font-lock-change-mode): New function.
618 (font-lock-mode): Use font-lock-change-mode instead of
619 font-lock-unfontify-buffer.
620 (font-lock-maximum-size, font-lock-verbose): Add defvars.
622 2002-08-20 Carsten Dominik <dominik@astro.uva.nl>
624 * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
625 which determines on a per-file-basis if BibTeX is being used
626 locally for citations.
627 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
628 cooperation with chapterbib.
629 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
630 better cooperation with chapterbib.
632 * textfiles/reftex-dcr.el (reftex-view-cr-cite):
633 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
635 2002-08-20 Kim F. Storm <storm@cua.dk>
637 * kmacro.el: Major rework based on discussions with RMS.
638 Most important change is that C-x C-k is now bound to a keymap
639 with keyboard macro related commands. The original binding on
640 C-x C-k is moved to C-x C-k e.
642 * binding.el: Remove macro related bindings (now in kmacro.el).
644 * edmacro.el: Remove C-x C-k binding (now in kmacro.el).
646 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
648 * help-fns.el (help-split-fundoc): Replace the function name
649 from the docstring with the one that should be displayed.
650 (help-make-usage): Understand CL style arglists.
651 (describe-function-1): Adapt to the new behavior of help-split-fundoc.
652 (describe-variable): Use delete-region.
654 2002-08-19 Kenichi Handa <handa@etl.go.jp>
656 * international/mule.el (sgml-xml-auto-coding-function):
657 Call re-search-forward with NOERROR t.
659 2002-08-19 Miles Bader <miles@gnu.org>
661 [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
662 * comint.el (comint-inhibit-carriage-motion): New variable.
663 (comint-carriage-motion): Argument STRING removed. New arguments
664 START and END; interpret characters between START and END rather
665 than using special comint state.
666 (comint-output-filter): Call `comint-carriage-motion'.
667 (comint-output-filter-functions): Don't add `comint-carriage-motion'.
668 * ielm.el (inferior-emacs-lisp-mode):
669 Give `comint-inhibit-carriage-motion' a local value of t.
671 2002-08-18 Richard M. Stallman <rms@gnu.org>
673 * textmodes/table.el: New file.
675 * font-core.el (font-lock-mode): Set change-major-mode-hook locally.
677 2002-08-18 Andreas Schwab <schwab@suse.de>
679 * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
681 2002-08-17 Carsten Dominik <dominik@astro.uva.nl>
683 * textmodes/reftex.el (reftex-mode): Create special syntax tables.
684 (reftex-syntax-table): Set a default in case this is being used
685 outside a LaTeX file.
686 (reftex-syntax-table-for-bib): Set a default in case this is being
687 used outside a LaTeX file.
689 2002-08-17 Richard M. Stallman <rms@gnu.org>
691 * tar-mode.el (tar-subfile-mode): Use add-hook and remove-hook,
692 and use write-file-functions instead of local-write-file-hooks.
693 (tar-untar-buffer): Don't try to extract directories.
695 * menu-bar.el (fringe-mode): Set to nil.
697 * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
699 2002-08-15 Richard M. Stallman <rms@gnu.org>
701 * calendar/appt.el (appt-delete): Use substring-no-properties.
702 (appt-make-list): Don't use prin1-to-string; use the string unchanged.
704 2002-08-15 Jan Nieuwenhuizen <janneke@gnu.org> (tiny change)
706 * server.el (server-process-filter): Simplify code.
707 (server-goto-line-column): New function.
708 (server-visit-files): Use server-goto-line-column.
709 Offer to revert only if file has changed.
711 2002-08-15 Richard M. Stallman <rms@gnu.org>
713 * files.el (recover-this-file): New function.
714 (after-find-file): Recommend recover-this-file.
716 * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
717 to change-major-mode-hook when font lock is enabled.
719 * simple.el (toggle-truncate-lines): Force redisplay.
720 Display status message.
722 2002-08-15 Carsten Dominik <dominik@sand.science.uva.nl>
724 * textmodes/reftex.el (reftex-mode): Moved the creation of special
725 syntax tables to top-level.
727 2002-08-15 David Kastrup <David.Kastrup@t-online.de>
729 * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
730 use `hash-table-size' instead of `length'.
732 2002-08-14 Stefan Monnier <monnier@cs.yale.edu>
734 * help-fns.el (locate-library): Use locate-file(-completion).
735 (help-split-fundoc): Tighten the regexp and recognize a usage-info
736 where the function name is `fn'.
737 (help-function-arglist): Follow aliases and macros.
738 (describe-function-1): Use keymapp.
739 If the docstring contains a usage info, use it even if the function is
740 not a subroutine. Find usage info in aliases' docstring if necessary.
741 (describe-variable): Get the value before setting up the *Help* buffer.
743 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
744 Use find-file-hook instead of find-file-hooks.
745 (define-minor-mode): Get rid of this silly `togglep'.
746 Add an explicit `toggle' argument (used for interactive calls).
747 Emit a warning when a nil argument turns the mode off.
749 * language/ethio-util.el (setup-ethiopic-environment-internal)
750 (exit-ethiopic-environment): Use find-file-hook and
751 write-file-functions instead of find-file-hooks and write-file-hooks.
753 * window.el (handle-select-window): Don't do anything if the window
754 has disappeared since the event was generated.
755 (split-window-save-restore-data): Use push and with-current-buffer.
759 * obsolete/hilit19.el:
760 * completion.el (dynamic-completion-mode):
761 * emacs-lisp/find-func.el (find-function-search-for-symbol):
762 Use find-file-hook instead of find-file-hooks.
764 * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
765 (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
766 (imenu-space-replacement): Allow nil value.
767 (imenu--completion-buffer): Use new vars and simplify.
768 Fix handling of minibuffer-setup-hook.
769 Use minibuffer-completion-help instead of rolling our own.
770 (imenu-choose-buffer-index): Use the new var.
772 * startup.el (command-line): Load custom-file if not done yet.
774 2002-08-14 Kenichi Handa <handa@etl.go.jp>
776 * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
777 the selection data string. Always return cons of type and string.
778 (selection-converter-alist): Add (UTF8_STRING .
779 xselect-convert-to-string).
781 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
783 * newcomment.el (comment-region): Force `lines' when `block' is set.
785 2002-08-12 Richard M. Stallman <rms@gnu.org>
787 * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag)
788 (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
789 (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
790 (menu-bar-toggle-cua-mode, menu-bar-read-mail)
791 (menu-bar-help-extra-packages, help-with-tutorial-spec-language)
792 (menu-bar-text-mode-auto-fill): New commands, used
793 in menu bar menus instead of lambda expressions.
795 (menu-bar-showhide-fringe-menu-customize-left)
796 (menu-bar-showhide-fringe-menu-customize-right)
797 (menu-bar-showhide-fringe-menu-customize-disable)
798 (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
800 (menu-bar-options-menu): Use toggle-truncate-lines.
801 (showhide-date-time): Call customize-mark-as-set.
803 * emacs-lisp/find-func.el (find-function-search-for-symbol):
804 Obey `definition-name' properties.
806 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
807 Put `definition-name' properties on the functions whose
808 names are constructed.
810 * textmodes/page-ext.el (pages-target-buffer): Add defvar.
811 Renamed from target-buffer.
812 (pages-directory, pages-copy-header-and-position): Uses changed.
814 * calendar/appt.el (appt-make-list): Correct the parsing of
815 each appointment from time-string.
817 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
819 * scroll-all.el (scroll-all-mode): Use define-minor-mode.
820 (scroll-all-mode) <defcustom>: Delete.
821 (running-xemacs): Delete.
822 (minor-mode-alist): Don't manipulate it directly.
824 2002-08-10 Kenichi Handa <handa@etl.go.jp>
826 * international/mule-cmds.el (search-unencodable-char): New function.
827 (select-safe-coding-system): Show unencodable characters.
828 (unencodable-char-position): Deleted, and implemented in C in coding.c.
830 2002-04-09 John Wiegley <johnw@gnu.org>
832 * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it.
833 * em-cmpl.el (eshell-cmpl-ignore-case): Ditto.
834 * em-dirs.el (eshell/cd): Ditto.
835 * em-glob.el (eshell-glob-case-insensitive): Ditto.
836 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
837 * esh-ext.el (eshell-binary-suffixes): Ditto.
839 2002-08-09 Richard M. Stallman <rms@gnu.org>
841 * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
843 * simple.el (set-variable): Give locality status in prompt.
845 2002-08-09 Benjamin Rutt <rutt@cis.ohio-state.edu>
847 * simple.el (set-variable): If given a prefix argument, set
848 variable buffer-locally.
850 2002-08-09 John Paul Wallington <jpw@shootybangbang.com>
852 * font-core.el (font-lock-function): Make it buffer-local.
854 2002-08-08 Richard M. Stallman <rms@gnu.org>
856 * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
857 (checkdoc-message-interactive, checkdoc-interactive-loop)
858 (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
860 Update checkdoc-spellcheck-documentation-flag correctly.
861 (checkdoc-ispell-docstring-engine): Don't test for
862 checkdoc-autofix-flag = nil.
864 2002-08-07 John Paul Wallington <jpw@shootybangbang.com>
866 * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
868 * wid-browse.el (widget-minor-mode): Fix doc typo.
870 2002-08-07 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
872 * net/tramp.el: Version 2.0.12 released.
873 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
874 Comment out possibly obsolete "echo hello" commands.
875 (tramp-run-real-handler): If operation is
876 `ange-ftp-hook-function', use first arg as the real operation.
877 (tramp-check-ls-commands): Use / instead of \ as directory
878 separator. (Relevant for XEmacs on Windows.)
879 (tramp-maybe-open-connection): Use tramp-wait-for-output when
880 waiting for the "are you awake" command. Use a different string
881 for the "are you awake" command.
882 (tramp-send-command): New optional arg NEVEROPEN means to never
883 invoke tramp-maybe-open-connection.
884 (tramp-maybe-open-connection): Use it
886 2002-08-07 Richard M. Stallman <rms@gnu.org>
888 * warnings.el (warning-prefix-function, warning-series)
889 (warning-fill-prefix, warning-group-format): Add autoload cookies.
891 2002-08-07 Kenichi Handa <handa@etl.go.jp>
893 * international/mule-cmds.el (select-safe-coding-system):
894 Call pop-to-buffer inside save-window-excursion and save-excursion.
896 2002-08-06 John Paul Wallington <jpw@shootybangbang.com>
898 * help-fns.el (describe-function-1): Skip arglist note if
899 function's definition is a keymap.
901 2002-08-06 Sam Steingold <sds@gnu.org>
903 * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
904 and `mail-user-agent' instead of straight sendmail.
905 (diary-modified, diary-entries-list, displayed-year)
906 (displayed-month, entry, date, number, date-string, d-file)
907 (original-date): Defvar without binding to avoid compiler warnings.
909 2002-08-05 Alan Shutko <ats@acm.org>
911 * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
912 (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
913 (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
915 * ibuf-ext.el (ibuffer-list-buffer-modes): New.
916 (ibuffer-filter-by-used-mode): New.
918 2002-08-05 John Paul Wallington <jpw@shootybangbang.com>
920 * ediff-util.el (ediff-copy-list): Use `defalias' instead of
921 `fset' and `symbol-function'.
923 2002-08-05 John Wiegley <johnw@gnu.org>
925 * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
926 value unless pcomplete-cycle-cutoff-length is non-nil.
928 2002-04-09 John Paul Wallington <jpw@shootybangbang.com>
930 * esh-util.el (eshell-under-cygwin-p): New function.
931 * em-cmpl.el (eshell-cmpl-ignore-case): Use it.
932 * em-dirs.el (eshell/cd): Ditto.
933 * em-glob.el (eshell-glob-case-insensitive): Ditto.
934 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
935 * esh-ext.el (eshell-binary-suffixes): Ditto.
937 2002-08-05 Richard M. Stallman <rms@gnu.org>
939 * international/mule-cmds.el (select-safe-coding-system): Check for
940 non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
942 * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
944 2002-08-05 Gerd Moellmann <gerd@gnu.org>
946 * image.el (image-jpeg-p): Accept "Exif" marker.
948 2002-08-05 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
950 * net/tramp.el: Version 2.0.11 released.
951 (tramp-perl-file-attributes): Print uid and gid as signed integers.
952 (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
953 Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
955 (tramp-find-file-exists-command): Check for `ls -d' last, after
956 all the variants on `test -e'.
957 (tramp-post-connection): Erase buffer before finding a command to
958 check if file exists.
960 2002-08-05 David Kastrup <David.Kastrup@t-online.de>
962 * calc/calc.el (math-format-stack-value): Revert a broken
963 if->when replacement and reformat so that this does not happen
964 again. Fixes a pretty lethal line formatting/yanking bug.
966 2002-08-04 John Paul Wallington <jpw@shootybangbang.com>
968 * startup.el (fancy-splash-frame): Check selected frame last.
970 2002-08-04 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
972 * net/tramp.el: Version 2.0.10 released.
973 (tramp-uudecode): New shell function `tramp_uudecode' to decode to
974 standard output even if `uudecode -p' and `uudecode -o -' don't work.
975 (tramp-post-connection): After finding the right shell, wait a
976 bit. This is a kludge to avoid a race condition, even though I
977 don't understand why there is a race condition in the first place.
978 (tramp-post-connection): Install the `tramp_uudecode' shell
979 function on the remote host.
980 (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
981 (tramp-bug): Include more variables in the report.
983 2002-08-04 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
985 * net/tramp.el: Version 2.0.9 released.
986 (tramp-bug): Add wording about additional info to include in bug
988 (tramp-find-shell): Set $PS1 for invocation of second shell (for
990 (tramp-find-shell): Shell prompt must match at end of buffer.
991 Do this also for fallback shell prompt.
992 (tramp-find-shell): More debugging output.
993 (tramp-find-inline-encoding): When checking the decoding command,
994 some commands fail when reading from /dev/null. So we pass a
995 known string through the encoding command and pass that through
996 the decoding command. So we know whether the decoding command can
997 deal with some real input.
999 2002-08-04 Andreas Schwab <schwab@suse.de>
1001 * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
1003 2002-08-03 Andrew Choi <akochoi@shaw.ca>
1005 * term/mac-win.el: Set keys to enable mouse wheel support.
1007 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1009 * net/tramp.el: Version 2.0.8.
1010 (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
1012 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1014 * net/tramp.el: Version 2.0.7.
1015 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
1016 (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
1017 because of `format' and say so in the docstring.
1019 2002-08-03 Glenn Morris <gmorris@ast.cam.ac.uk>
1021 * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
1023 (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
1024 (f90-type-def-re): Fix value.
1026 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1028 * net/tramp.el: Version 2.0.6.
1029 (tramp-default-method): Change to "ssh" from "sm".
1030 (tramp-wrong-passwd-regexp): Restructure. Add additional alternative.
1031 (tramp-su-program): New internal variable for method parameter.
1032 (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
1033 New variables. Very short Perl one-liner, but requires Perl
1034 module MIME::Base64 to be installed on the remote site.
1035 (tramp-perl-encode, tramp-perl-decode): New base64
1036 encoder/decoder. From Juanma Barranquero <lektu@terra.es>.
1037 (tramp-handle-file-truename): Invoke Ange-FTP properly (even
1038 though Ange-FTP doesn't do anything for this operation).
1039 (tramp-handle-set-visited-file-modtime): Comment change.
1040 (tramp-handle-make-directory): Save-excursion.
1041 (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
1042 twice, once is enough.
1043 (tramp-action-permission-denied): Show *tramp/foo* buffer so the
1044 user knows what's wrong.
1045 (tramp-post-connection): Support the two Perl encoders and decoders.
1046 (tramp-coding-commands): Ditto. Add some todo items.
1048 2002-08-02 Richard M. Stallman <rms@gnu.org>
1050 * international/mule.el (merge-coding-systems): New function.
1051 (set-buffer-file-coding-system): Use merge-coding-systems.
1052 Change prompt for args.
1053 (revert-buffer-with-coding-system): New command.
1055 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
1056 Add bindings for revert-buffer-with-coding-system.
1057 (set-coding-system-map): Clarify menu item info for
1058 set-buffer-file-coding-system.
1059 (set-coding-system-map): Reorder and add separators.
1061 * emacs-lisp/edebug.el (edebug-eval-top-level-form):
1062 Use eval-expression.
1064 * subr.el (atomic-change-group): Doc fix.
1066 2002-07-31 Colin Walters <walters@debian.org>
1068 * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
1069 defvaralias for compatibility.
1070 (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
1071 defvaralias for compatibility.
1073 2002-07-31 John Paul Wallington <jpw@shootybangbang.com>
1075 * ibuffer.el (ibuffer-fontification-alist):
1076 Use `font-lock-constant-face' instead of `font-lock-reference-face'.
1078 2002-07-31 John Wiegley <johnw@gnu.org>
1080 * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
1081 prevent adding the symbol `pcomplete' to
1082 shell-dynamic-complete-functions to many times.
1084 2002-07-31 Markus Rost <rost@math.ohio-state.edu>
1086 * help-fns.el (describe-function-1): Test function for
1087 obsolescence only if it is a symbol.
1089 * ediff.el (ediff-backup): New autoloaded command.
1091 2002-07-31 Richard M. Stallman <rms@gnu.org>
1093 * makefile.w32-in (compile-after-backup): Renamed from `compile'.
1094 Use `compile-always'.
1095 (bootstrap): Use `compile', not `compile-files'. Use `update-subdirs'.
1096 (compile): Renamed from `compile-files'.
1097 (compile-CMD, compile-SH): Renamed from `compile-files-*'.
1099 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
1100 Check that (car elt) is a string.
1102 * pcomplete.el (pcomplete-entries): Doc fix.
1104 * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
1106 2002-07-31 Andreas Schwab <schwab@suse.de>
1108 * dired.el: Hide disabling of dired-find-alternate-file behind
1111 2002-07-31 Juanma Barranquero <lektu@terra.es>
1113 * makefile.w32-in: Revert some changes from 2002-07-23 because they
1114 don't work on MSVC/nmake builds.
1115 (update-subdirs-CMD): Generate the right list of subdirectories.
1116 From Tak Ota <Takaaki.Ota@am.sony.com>.
1118 2002-07-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1120 * net/tramp.el: New version 2.0.5.
1121 (tramp-methods): Remove inline encoding method parameters.
1122 The encoding is now autodetected. Also shorten the list of
1123 methods (u/m distinction gone) and rename the remaining methods to
1124 have longer, but more mnemonic, names.
1125 (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
1126 (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
1127 matched at end of buffer anyway.
1128 (tramp-yesno-prompt-regexp): New variable, for questions where the
1129 user should say "yes" or "no".
1130 (tramp-file-name-structure-unified)
1131 (tramp-file-name-structure-separate): Allow dash in method names.
1132 (tramp-actions-before-shell): New variable, contains list of
1133 pattern/action pairs. Output sent by remote end is scanned for
1134 the patterns, then the actions are executed.
1135 (tramp-multi-actions): Like `tramp-actions-before-shell', but
1136 executed for each hop in a multi-hop connection.
1137 (tramp-last-cmd-time): New variable. If nothing has been sent to
1138 remote end for 60 seconds, look to see if the remote end is still
1140 (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
1142 (tramp-perl-encode, tramp-perl-decode): New variables, these
1143 require the MIME::Base64 module on the remote end.
1144 (tramp-handle-file-attributes): Restructure logic.
1145 (tramp-handle-file-attributes-with-ls)
1146 (tramp-handle-file-attributes-with-perl): More debugging.
1147 (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
1148 (tramp-handle-make-directory, tramp-handle-delete-directory)
1149 (tramp-handle-delete-file, tramp-handle-insert-directory):
1151 (tramp-handle-shell-command): Use `when', not `if'.
1152 (tramp-handle-file-local-copy, tramp-handle-write-region):
1153 Adapt to autodetection of inline encoding.
1154 (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
1155 variable ange-ftp-name-format is defined before binding it.
1156 (tramp-action-login, tramp-action-password, tramp-action-succeed)
1157 (tramp-action-permission-denied, tramp-action-yesno):
1158 Functions called from `tramp-actions-before-shell'.
1159 (tramp-multi-action-login, tramp-multi-action-password)
1160 (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
1161 Functions called from `tramp-multi-actions'.
1162 (tramp-process-one-action, tramp-process-actions):
1163 Pattern matching and action invocation code for
1164 `tramp-actions-before-shell'.
1165 (tramp-process-one-multi-action, tramp-process-multi-actions):
1166 Same for `tramp-multi-actions'.
1167 (tramp-open-connection-telnet, tramp-open-connection-rsh)
1168 (tramp-open-connection-su): Process actions instead of hardwired logic.
1169 (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
1170 (tramp-multi-connect-su): Ditto.
1171 (tramp-post-connection): New method for tramp_encode and
1172 tramp_decode scripts.
1173 (tramp-post-connection): Invoke inline autodetection code.
1174 (tramp-coding-commands): List of inline codings.
1175 (tramp-find-inline-encoding): This is the inline autodetection code.
1176 (tramp-maybe-open-connection): If nothing was sent to connection
1177 for 60 seconds, look if it connection is still alive.
1178 (tramp-send-command): Remember that something was sent to the
1180 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
1181 Use backticks for constructing alist.
1182 (tramp-get-encoding-command, tramp-set-encoding-command)
1183 (tramp-get-decoding-command, tramp-set-decoding-command)
1184 (tramp-get-encoding-function, tramp-set-encoding-function)
1185 (tramp-get-decoding-function, tramp-set-decoding-function):
1186 Use for results of inline autodetection.
1187 (tramp-get-encoding-command, tramp-get-decoding-command)
1188 (tramp-get-encoding-function, tramp-get-decoding-function):
1189 Remove these old functions.
1191 2002-07-30 Kenichi Handa <handa@etl.go.jp>
1193 * language/indian.el (in-is13194): Give correct `safe-chars' property.
1194 (devanagari): Define it as an alias of in-is13194.
1196 * international/mule.el (safe-chars):
1197 Put `char-table-extra-slots' property with value 0.
1199 * files.el (revert-buffer): Fix previous change.
1201 2002-07-29 Richard M. Stallman <rms@gnu.org>
1203 * bindings.el (help-echo): If global-mode-string is non-nil,
1204 display some spaces after it.
1206 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
1207 Don't call string-match on non-string.
1208 (displaying-byte-compile-warnings):
1210 * textmodes/ispell.el (check-ispell-version): Bind default-directory
1211 to avoid errors. Kill the old temp buffer at the beginning.
1213 2002-07-29 Glenn Morris <gmorris@ast.cam.ac.uk>
1215 * scroll-all.el (scroll-all-mode): Make argument optional. Doc fix.
1217 2002-07-29 John Paul Wallington <jpw@shootybangbang.com>
1219 * scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if'
1222 2002-07-29 Kenichi Handa <handa@etl.go.jp>
1224 * international/mule.el (ctext-post-read-conversion): Add support
1225 for embedded utf-8 encoding (ESC % G ... ESC % @).
1227 2002-07-28 Kenichi Handa <handa@etl.go.jp>
1229 * files.el (revert-buffer): Before calling insert-file-contents,
1230 kill the local variable buffer-file-coding-system.
1232 2002-07-28 Richard M. Stallman <rms@gnu.org>
1234 * bindings.el (mode-line-format): Handle vc-mode specially.
1235 Move mode-line-position to after global-mode-string.
1236 (mode-line-modes): Move the starting 3 spaces out of here.
1237 (mode-line-position): Separate with a space, not dashes.
1239 * vc-hooks.el: Don't add to minor-mode-alist.
1241 * emacs-lisp/edebug.el (edebug-debugger):
1242 If inside redisplay, just return.
1244 * emacs-lisp/debug.el (debug): If inside redisplay, just return.
1246 * info.el (Info-find-index-name): Improve last change.
1248 2002-07-27 Richard M. Stallman <rms@gnu.org>
1250 * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
1252 * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
1255 2002-07-27 Markus Rost <rost@math.ohio-state.edu>
1257 * ps-print.el: Update copyright year.
1258 (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
1260 2002-07-26 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1262 * eshell/eshell.el (eshell): Numeric prefix arg means to switch
1263 to the session with that number. Old behavior still available
1264 with nonumeric prefix args.
1266 2002-07-08 Simon Josefsson <jas@extundo.com>
1268 * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
1270 2002-07-26 Juanma Barranquero <lektu@terra.es>
1272 * warnings.el (lwarn, warn, warning-levels): Doc fix.
1273 (warning-suppress-log-types): Fix typo.
1274 (display-warning): Fix typo. Remove useless assignment to free variable
1277 2002-07-25 Markus Rost <rost@math.ohio-state.edu>
1279 * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
1281 2002-07-25 Sam Steingold <sds@gnu.org>
1283 * replace.el (occur-rename-buffer): New command.
1284 (occur-mode-map): Bind "r" to it. Added keybindings for
1285 `kill-this-buffer', `clone-buffer' and `quit-window'.
1287 2002-07-25 Kevin Ryde <user42@zip.com.au>
1289 * info.el (Info-find-index-name): Search for a function definition
1292 2002-07-25 David Ponce <david@dponce.com>
1294 * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
1295 Don't recompute `entry' on each iteration.
1296 (byte-compile-delete-first): Make it defsubst.
1298 2002-07-25 Sam Steingold <sds@gnu.org>
1300 * progmodes/cc-engine.el (c-search-uplist-for-classkey):
1301 When `search-end' is a cons, use its car.
1303 2002-07-25 Dave Love <fx@gnu.org>
1305 * obsolete/c-mode.el: Deleted.
1307 2002-07-25 Carsten Dominik <dominik@astro.uva.nl>
1309 * textmodes/reftex.el (reftex-compile-variables):
1310 Simplified regular expression.
1312 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
1313 Simplified the regexp.
1315 * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
1316 (reftex-extract-bib-entries-from-thebibliography):
1317 Use `reftex-get-bibkey-default' to get a default regex.
1318 (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
1319 get a default regex.
1321 * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
1322 XEmacs compatibility (got OK from RMS).
1324 * textmodes/reftex-index.el (reftex-index-mode): Likewise.
1326 * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
1327 (reftex-select-bib-mode): Likewise.
1329 2002-07-25 Colin Walters <walters@debian.org>
1331 * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
1334 2002-07-24 Dave Love <fx@gnu.org>
1336 * international/mule.el (set-auto-coding): Doc fix.
1338 * international/utf-16.el: New file.
1340 * language/european.el ("German", "French", "Spanish", "Turkish"):
1341 Add alternative coding systems.
1342 ("Dutch"): Likewise. Add input method.
1343 ("Welsh", "Latin-7"): Add nonascii-translation.
1345 * language/georgian.el ("Georgian"): Add nonascii-translation.
1347 * international/titdic-cnv.el: Doc fixes.
1348 (tit-process-header): Add coding cookie.
1349 (titdic-convert): Force writing as iso-2022-7bit.
1351 * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
1353 * international/mule-cmds.el: Doc fixes.
1354 (unencodable-char-position): New.
1355 (select-safe-coding-system): Use it to indicate problematic
1356 characters and add extra explanation. Avoid checking auto-coding
1357 for compressed files.
1358 (leim-list-header): Add coding cookie.
1359 (input-method-verbose-flag): Modify :type.
1360 (locale-language-names): Add bs, wa. Modify cy.
1362 2002-07-24 Richard M. Stallman <rms@gnu.org>
1364 * emacs-lisp/bytecomp.el (byte-compile-log-warning):
1365 Bind warning-group-format.
1367 * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
1368 (byte-compile-cl-warn): Use that variable.
1369 (byte-compile-find-cl-functions): New function.
1370 (displaying-byte-compile-warnings):
1371 Call byte-compile-find-cl-functions.
1373 * warnings.el (warning-levels): Add %s to the strings.
1374 (warning-group-format): New variable.
1375 (warning-suppress-log-types): Renamed from warning-suppress-log.
1376 (warning-suppress-types): Renamed from warning-suppress.
1377 (display-warning): Implement those changes.
1379 2002-07-23 Richard M. Stallman <rms@gnu.org>
1381 * warnings.el: Add `provide' call.
1383 * files.el (basic-save-buffer-2): If there's an error writing the file,
1384 unrename the backup file if it was just made.
1385 (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
1386 (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
1387 when a backup was just made by renaming. Otherwise it's nil.
1389 * wid-edit.el (widget-convert): Handle an argument that's a keyword.
1390 Recognize explicit :args specification.
1392 * international/mule-cmds.el (select-safe-coding-system):
1393 Don't ask for confirmation of mismatch if find-file-literally was used.
1395 2002-07-23 Markus Rost <rost@math.ohio-state.edu>
1397 * add-log.el (add-log-current-defun): Fix typo in documentation.
1399 2002-07-22 Markus Rost <rost@math.ohio-state.edu>
1401 * add-log.el (add-log-mailing-address): Fix type. Can be a string.
1403 * ido.el (ido-separator): Fix type.
1405 2002-07-23 Andrew Innes <andrewi@gnu.org>
1407 * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
1408 (DONTCOMPILE): Add various language files.
1409 (DONTCOMPILE): Remove term/xterm.el.
1410 (finder-inf.el): Remove.
1411 (update-authors): New target.
1412 (TAGS-LISP): Remove $(lispsource).
1413 (compile-always): Renamed from `compile-files'.
1414 (compile): New target, adapted from `compile-files'.
1415 (compile-calc): New target.
1416 (recompile): Change `.' to $(lisp).
1417 (bootstrap): Add update-subdirs and finder-data
1418 to dependencies; change compile-files to compile.
1420 2002-07-22 Andre Spiegel <spiegel@gnu.org>
1422 * vc.el (vc-next-action-on-file): Preserve find-file-literally.
1424 2002-07-22 Dan Nicolaescu <dann@ics.uci.edu>
1426 * simple.el (undo, undo-more): Adjust messages when undoing in a
1429 2002-07-22 John Paul Wallington <jpw@shootybangbang.com>
1431 * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
1432 (browse-url-lynx-input-delay): Add custom type and group.
1434 * cus-start.el (double-click-fuzz): Added.
1436 2002-07-22 Alan Shutko <ats@acm.org>
1438 * calendar/solar.el (diary-sabbath-candles): Add optional MARK
1439 parameter, specifying what face or character to use in the
1440 calendar display. These will now return (MARK . ENTRY).
1442 * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
1443 parameter, specifying what face or character to use in the
1444 calendar display. These will now return (MARK . ENTRY).
1446 * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
1447 (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
1448 MARK parameter, specifying what face or character to use in the
1449 calendar display. These will now return (MARK . ENTRY).
1451 * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
1452 from diary-sexp-entry and pass it to mark-visible-calendar-date.
1453 (list-sexp-diary-entries): Update doc string for new docs for ....
1454 If diary-sexp-entry returns a cons, only add the text to the diary
1456 (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
1457 . STRING) to specify what face or character mark should be used in
1458 the calendar display.
1459 (diary-date, diary-block, diary-float, diary-anniversary)
1460 (diary-cyclic): Add optional MARK parameter, specifying what face
1461 or character to use in the calendar display. These will now
1462 return (MARK . ENTRY).
1464 * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
1465 (calendar-holiday-list, diary-french-date, diary-mayan-date)
1466 (diary-julian-date, diary-astro-day-number, diary-chinese-date)
1467 (diary-islamic-date, list-islamic-diary-entries)
1468 (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
1469 (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
1470 (diary-rosh-hodesh, list-hebrew-diary-entries)
1471 (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
1472 (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
1473 (diary-sunrise-sunset, diary-sabbath-candles):
1474 Remove interactive flag from autoloads.
1476 2002-07-22 Carsten Dominik <dominik@astro.uva.nl>
1478 * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
1479 (reftex-bibliography-commands): New option.
1480 (reftex-toc-split-windows-horizontally): New option
1481 (reftex-toc-split-windows-horizontally-fraction): New option
1482 (reftex-include-file-commands): New option.
1483 (reftex-cite-format-builtin): Added ?n for nocite.
1485 * textmodes/reftex-index.el (reftex-query-index-phrase):
1486 Use `reftex-index-verify-function'.
1488 * textmodes/reftex-toc.el (reftex-re-enlarge):
1489 Handle horizontal splitting.
1490 (reftex-toc): Handle horizontal splitting
1491 (reftex-last-window-width): New variable.
1493 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
1494 Use `reftex-bibliography-commands'.
1495 (reftex-locate-bibliography-files): Regexp relaxed to allow for
1496 cases where \bibliography is not the first thing on the line.
1498 * textmodes/reftex.el (reftex-compile-variables):
1499 Use `reftex-include-file-commands'.
1500 (reftex-type-query-prompt): Changed defconst to defvar.
1501 (reftex-type-query-help, reftex-typekey-to-format-alist)
1502 (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
1503 (reftex-special-env-parsers, reftex-label-mac-list)
1504 (reftex-label-env-list, reftex-typekey-list)
1505 (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
1506 (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
1507 (reftex-no-follow-message, reftex-no-info-message): Likewise.
1508 (reftex-mode): Define systax table for bibtex parsing.
1509 (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
1511 * textmodes/reftex-cite.el (reftex-format-names): %a as name
1512 format lists all names.
1513 (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
1514 (reftex-with-special-syntax-for-bib): New macro.
1516 2002-07-21 Richard M. Stallman <rms@gnu.org>
1518 * international/ucs-tables.el (ucs-quail-activate):
1519 Cope if buffer-file-coding-system is nil.
1521 * bindings.el (last-buffer): Use buffer-list with frame arg.
1522 Create *scratch* if no other choice exists. Fix bugs.
1524 2002-07-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1526 * net/tramp.el: Bump version to 2.0.2.
1527 (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
1528 longer names. Use old names "sm1", "sm2" and so on for methods
1529 invoking "ssh -1" or "ssh -2".
1530 (tramp-multi-file-name-structure-separate): Typo, its name was set
1531 to "tramp-file-name-structure-separate". Trivial patch.
1532 From Steve Youngs <youngs@xemacs.org>.
1533 (tramp-multi-sh-program): New variable.
1534 (tramp-open-connection-multi): Use it. Now you can use multi
1535 methods from Windows (at least in principle).
1536 (tramp-do-copy-or-rename-via-buffer): New function.
1537 (tramp-do-copy-or-rename-file): Use it. Change and simplify
1538 logic. Omit special case of invoking rcp directly to copy the files.
1539 (tramp-open-connection-su, tramp-multi-connect-telnet)
1540 (tramp-multi-connect-rlogin, tramp-multi-connect-su)
1541 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
1542 Use backticks in format-spec for brevity and to avoid
1543 character/number confusion in XEmacs.
1545 2002-07-20 Richard M. Stallman <rms@gnu.org>
1547 * wid-edit.el (widget-documentation-string-value-create):
1548 Say "Hide Rest", not just "Hide".
1550 * cus-edit.el (custom-variable-value-create):
1551 Say "Show Value", not just "Show". Also "Hide Value".
1552 Output a newline before the doc string.
1553 (custom-face-value-create): Say "Show Face" and "Hide Face".
1555 * files.el (toggle-read-only): Clean up the hint message.
1557 * emacs-lisp/bytecomp.el: Use warnings.el.
1558 (byte-compile-warning-prefix): New function.
1559 (byte-compile-log-file): Return page start position.
1560 (byte-compile-log-warning): New function.
1561 (byte-compile-warn): Use byte-compile-log-warning.
1562 (byte-compile-report-error): Likewise. Also use error-message-string.
1563 (displaying-byte-compile-warnings): Bind warning-series.
1564 Don't bind or use byte-compile-warnings-point-max.
1565 Don't display the log buffer at the end.
1566 (byte-compile-warnings-point-max): Variable deleted.
1567 (byte-compile-log-1): Rewrite for trace info, not used for warnings.
1568 (byte-compile-last-warned-form, byte-compile-last-logged-file):
1571 * warnings.el: New file.
1573 2002-07-19 Richard M. Stallman <rms@gnu.org>
1575 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
1576 and `values-list' from list of CL functions.
1578 2002-07-19 John Paul Wallington <jpw@shootybangbang.com>
1580 * emacs-lisp/bytecomp.el (compile-defun):
1581 Bind `read-with-symbol-positions' to current buffer.
1583 2002-07-19 Andre Spiegel <spiegel@gnu.org>
1585 * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
1586 delete anything that comes after LIMIT from the buffer.
1588 * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
1589 if this is really an RCS master file.
1591 * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
1593 2002-07-19 Juanma Barranquero <lektu@terra.es>
1595 * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
1596 (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
1597 (unread-command-char, executing-macro, post-command-idle-hook)
1598 (post-command-idle-delay): Move obsolescence declarations to subr.el.
1600 * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
1601 (baud-rate, compiled-function-p, define-function, unread-command-char)
1602 (executing-macro, post-command-idle-hook, post-command-idle-delay):
1603 Move obsolescence declarations from emacs-lisp/bytecomp.el.
1604 (directory-sep-char, mode-line-inverse-video):
1605 Add obsolescence declaration.
1607 2002-07-18 J.D. Smith <jdsmith@as.arizona.edu>
1609 * progmodes/idlwave.el: Updated to IDLWAVE version 4.14. Too many
1610 changes to list them here.
1612 * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
1613 Too many changes to list them here.
1615 * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
1616 Too many changes to list them here.
1618 * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
1619 only minor documentation changes.
1621 2002-07-18 Dave Love <fx@gnu.org>
1623 * info-look.el: Support current auto{conf,make} manuals.
1625 2002-07-18 Juanma Barranquero <lektu@terra.es>
1627 * bindings.el (last-buffer): Add missing frame argument.
1629 2002-07-18 Richard M. Stallman <rms@gnu.org>
1631 * timer.el (timer-inc-time): Doc fix.
1633 * replace.el (keep-lines, flush-lines): Interactively report
1634 read-only error before reading regexp argument.
1636 * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
1638 * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
1639 frame parameters like bury-buffer.
1641 * simple.el (choose-completion-delete-max-match):
1642 Handle minibuffer prompts explicitly.
1644 2002-07-18 Juanma Barranquero <lektu@terra.es>
1646 * international/mule-util.el (string-to-sequence, truncate-string):
1647 Add autoload cookie to obsolescence declaration.
1649 * rect.el (move-to-column-force): Likewise.
1651 * composite.el (decompose-composite-char): Likewise; also remove
1654 2002-07-18 Kim F. Storm <storm@cua.dk>
1656 * loadup.el: Load international/utf-8 before international/characters.
1658 2002-07-17 Dave Love <fx@gnu.org>
1660 * international/ucs-tables.el: Optimize tables. Deal with some
1662 (ucs-mule-to-mule-unicode): New.
1663 (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
1665 (ucs-fragment-8859): Modified consistent with ucs-unify-8859.
1666 (unify-8859-on-encoding-mode): Doc mod. Fix custom version.
1667 (unify-8859-on-decoding-mode): Doc mod. Change code. Fix custom
1668 version. Add custom dependencies.
1669 (ucs-insert): Check for null from decode-char.
1670 (translation-table-for-input, ucs-quail-activate)
1671 (ucs-minibuffer-setup, ccl-encode-unicode-font)
1672 (ucs-tables-unload-hook): New.
1674 * international/mule.el (define-translation-hash-table): New.
1675 (decode-char): Use utf-8-translation-table-for-decode.
1676 (encode-char): Use ucs-mule-to-mule-unicode.
1678 * international/characters.el: Fix settings of U+2000-U+2027.
1681 * international/mule-cmds.el (locale-language-names): Fix be, add
1682 sr_YU@cyrillic, modify tg.
1683 (locale-charset-language-names): Put @euro last.
1685 * language/cyrillic.el (cyrillic-koi8-r-decode-table)
1686 (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
1687 (cyrillic-koi8-r-decode-table): Make unbound after use.
1688 (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
1689 factor. Use utf-8-translation-table-for-decode.
1690 (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
1691 (cyrillic-unify-encoding): New function.
1692 (cyrillic-koi8): Modify safe-chars, valid-codes.
1693 Remove charset-origin-alist.
1694 (Cp878, cp866): New alias.
1695 (ccl-encode-8859-5-font): New.
1696 (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
1697 (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
1698 Remove redundant parens.
1699 ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
1700 (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
1701 (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
1702 (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
1703 ("Cyrillic-ALT"): Change input method.
1704 ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
1706 * international/utf-8.el (utf-8-subst-table)
1707 (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
1708 (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
1709 (utf-8-ccl-regs, utf-8-translate-cjk): New.
1710 (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
1711 (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
1712 (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
1713 (mule-utf-8): Remove pre-write-conversion.
1714 (utf-8-post-read-conversion): Comment out.
1716 * international/ccl.el (ccl-command-table): Add lookup-integer,
1718 (ccl-extended-code-table): Add lookup-int-const-tbl,
1719 lookup-char-const-tbl.
1720 (ccl-compile-lookup-integer, ccl-compile-lookup-character)
1721 (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
1723 (define-ccl-program): Doc update.
1725 * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
1726 (utf-8-subst-table): Don't set.
1728 2002-07-17 Kenichi Handa <handa@etl.go.jp>
1730 * international/mule.el (define-coding-system-alias):
1731 Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
1732 eol-type is not auto-detection.
1734 * international/mule-diag.el (print-coding-system-briefly):
1735 Fix the handling of an alias of which eol-type is not auto-detection.
1737 * international/mule-conf.el (us-ascii): Define it as an alias of
1740 2002-07-17 Juanma Barranquero <lektu@terra.es>
1742 * help-fns.el (describe-function-1): Put empty line before "Not
1745 * timer.el (timer-set-time-with-usecs): Mark obsolete.
1747 2002-07-16 Stefan Monnier <monnier@cs.yale.edu>
1749 * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
1750 Make sure to change the global tool-bar-map.
1752 * vc.el (vc-default-comment-history): Hard code *vc*.
1753 This is because print-log always prints there now.
1754 (vc-annotate-font-lock-keywords): New var.
1755 (vc-annotate-mode): Use it. Set truncate-lines as well.
1756 (vc-annotate-display-select): Unify the two error reports.
1757 (vc-annotate-offset): New var.
1758 (vc-annotate-lines): New fun extracted from vc-annotate-display.
1759 (vc-annotate-display): Use it, via font-lock.
1761 * help-fns.el (help-split-fundoc, help-function-arglist)
1762 (help-make-usage): New funs, extracted from describe-function-1.
1763 (describe-function-1): Use them.
1765 * help.el (help-key-description): Show the untranslated keys
1766 when they start with ESC and the ESC was not translated.
1768 * help-mode.el (view): Always require.
1769 (help-xref-mule-regexp): Don't use defconst for variables.
1770 (help-setup-xref): Keep the last 10 elements of the stack.
1771 (help-xref-override-view-map): New var.
1772 (help-make-xrefs): Use it instead of building a new map each time.
1773 (help-function-def): Allow help-fun to take a buffer as arg.
1775 * diff-mode.el (diff-reverse-direction): Simplify.
1776 (diff-after-change-function): Fix typo.
1777 (diff-post-command-hook): Take care of edge cases.
1778 (diff-current-defun): Do `goto-char' after setting the mode.
1780 * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
1781 Fold mouse-sel-bindings into it.
1782 (mouse-sel-bound-events): Turn it into an alist.
1783 (mouse-insert-selection): Delegate to mouse-yank-at-click if
1784 mouse-sel-default-bindings asks for it.
1786 2002-07-16 Andre Spiegel <spiegel@gnu.org>
1788 * files.el: Bind toggle-read-only to C-x C-q.
1789 (toggle-read-only): Display a warning message if the file is under
1792 * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
1793 (vc-toggle-read-only): Explain in the doc string that users can bind
1795 (vc-checkout-model): Change doc string to refer to vc-next-action,
1796 not vc-toggle-read-only.
1798 * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
1799 comparing to file on disk. Fix the case when claiming the lock
1800 on a file that has unlocked changes.
1801 (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
1803 2002-07-16 Richard M. Stallman <rms@gnu.org>
1805 * simple.el (choose-completion-string): Doc fix.
1807 * cus-edit.el: New operation :custom-standard-value.
1808 (Custom-reset-standard): Use it.
1809 (custom-variable, custom-face): Define it.
1810 (custom-variable-standard-value, custom-face-standard-value): New fns.
1811 (custom-face-save): Don't save a face whose value is standard.
1812 (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
1814 * cus-edit.el (custom-face-edit-fix-value):
1815 If VALUE is not a list, pass it thru.
1817 * compare-w.el (compare-windows-whitespace): Always allow newline
1818 even if it does not have whitespace syntax.
1820 2002-07-16 Juanma Barranquero <lektu@terra.es>
1822 * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
1824 2002-07-15 Juanma Barranquero <lektu@terra.es>
1826 * help-fns.el (describe-variable): Show documentation for aliased
1827 variable if alias does not have its own.
1829 2002-07-15 Mike Williams <mdub@bigfoot.com>
1831 * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
1832 cut/paste functions.
1834 2002-07-14 Richard M. Stallman <rms@gnu.org>
1836 * files.el (find-alternate-file): Offer to save a modified buffer.
1837 Handle kill-buffer-query-functions better.
1839 * startup.el (normal-splash-screen, fancy-splash-text):
1840 Update name of help menu item for ordering printed manuals.
1842 * emacs-lisp/checkdoc.el: Fix doc typos.
1844 2002-07-14 Stefan Monnier <monnier@cs.yale.edu>
1846 * textmodes/tex-mode.el: Set encoding to utf-8.
1847 (tex-start-options): Make it into always-a-string.
1848 Remove silly custom options that are covered by the other var.
1849 (tex-start-commands): Fix docstring.
1850 (tex-open-quote, tex-close-quote): Add options.
1851 (tex-command): Provide default.
1852 (tex-font-lock-keywords-1): Highlight $$...$$.
1853 (tex-font-lock-keywords-2): Fix latin-1 chars.
1854 (tex-mode-map): Remove redundant \t binding.
1855 (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
1856 (latex-mode): Use add-hook for fill-nobreak-predicate.
1857 (tex-common-initialization): Set indent-tabs-mode to nil.
1858 (tex-insert-quote): Undo magic if invoked twice in a row.
1859 (latex-fill-nobreak-predicate): Don't use narrowing.
1860 (tex-latex-block): Don't cons uselessly.
1861 (tex-last-unended-begin): Signal user-friendlier error.
1862 (tex-goto-last-unclosed-latex-block): Don't catch signal.
1863 (tex-start-tex): Switch order of tex-start-options and
1864 tex-start-commands to make it obey docstrings.
1866 2002-07-14 Mike Williams <mdub@bigfoot.com>
1868 * mouse-sel.el (mouse-sel-bound-events): New constant.
1869 (mouse-sel-bindings): Save/restore original mouse-bindings.
1871 2002-07-13 Stefan Monnier <monnier@cs.yale.edu>
1873 * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
1874 (cl-hack-byte-compiler): Avoid infinite require loop.
1876 * net/ange-ftp.el: Use hash-tables.
1877 (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
1878 (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
1879 (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
1880 Replace with make-hash-table, maphash, gethash, puthash and remhash.
1881 (ange-ftp-hash-entry-exists-p): Rewrite.
1882 (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
1883 Change mapatom -> maphash.
1884 (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
1885 Update to new calling mode.
1887 * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
1888 (ebrowse-hash-table-to-alist): Delete.
1889 (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
1890 (ebrowse-tags-complete-symbol): Use the hashtable for completion.
1892 * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
1893 Improve the regexp used when unquoting.
1894 (sgml-pretty-print): New function.
1895 (sgml-get-context): Better handling of improperly nested tags.
1896 (sgml-show-context): Don't use the FULL arg of sgml-get-context.
1898 2002-07-13 Andreas Schwab <schwab@suse.de>
1900 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
1901 inherited table entry.
1903 2002-07-13 Glenn Morris <gmorris@ast.cam.ac.uk>
1905 * calendar/timeclock.el (timeclock-in): Handle the case where no
1906 log file exists (ie the very first call).
1908 2002-07-13 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1910 * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
1913 * net/tramp.el (tramp-multi-file-name-structure-unified):
1914 Add missing slash and move colon from start to end of each hop.
1915 (tramp-multi-file-name-hop-structure-unified): Move colon from
1916 start to end of each hop.
1918 2002-07-13 Kim F. Storm <storm@cua.dk>
1920 * progmodes/compile.el (grep-tree): Fixed autoload.
1921 Corrected use of undefined variable `match-files-aliases'.
1923 2002-07-12 Glenn Morris <gmorris@ast.cam.ac.uk>
1925 * calendar/timeclock.el (timeclock-get-workday-function):
1926 `timeclock-workday' is not a valid option, rather a possible
1929 2002-07-12 Richard M. Stallman <rms@gnu.org>
1931 * net/ange-ftp.el (ange-ftp-write-region):
1932 Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
1933 to ange-ftp-real-write-region.
1935 * replace.el (flush-lines, keep-lines): Convert REND to a marker.
1937 * help-fns.el (help-with-tutorial): Display completion list right away.
1939 * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
1941 * startup.el (command-line): Set memory-signal-data.
1942 (fancy-splash-text, normal-splash-screen):
1943 Mention "Read the Emacs Manual" or C-h r.
1944 Rearrange the initial help to put the help cmds on left
1945 and the actions (exit, undo) on the right. Other small
1946 text clarifications.
1947 (fancy-splash-text, actions page): Add blank line to balance help page.
1949 * help.el (help-map): Add binding for info-emacs-manual.
1950 (print-help-return-message): Doc fix.
1952 * strokes.el (strokes-help): Call print-help-return-message
1953 while inside with-output-to-temp-buffer.
1955 * info.el (info-emacs-manual): New function.
1956 (Info-use-header-line): Doc fix.
1958 * emacs-lisp/cl.el (multiple-value-call): Add alias.
1960 * progmodes/compile.el (compilation-normalize-filename):
1961 New subroutine, taken out of compilation-parse-errors.
1962 (compilation-parse-errors): Use that, and for directories too.
1963 Don't check whether a directory really exists.
1965 2002-07-12 Juanma Barranquero <lektu@terra.es>
1967 * help-fns.el (describe-variable): Put `defvaralias' info before the
1968 documentation (patch from John Paul Wallington
1969 <jpw@shootybangbang.com>). Remove useless "Documentation:" string.
1971 * timer.el (timer-set-time-with-usecs): Fix documentation.
1972 Simplify extraction of time data.
1974 2002-07-12 John Paul Wallington <jpw@shootybangbang.com>
1976 * help-fns.el (describe-variable): Mention if the variable is an alias.
1978 2002-07-12 Kenichi Handa <handa@etl.go.jp>
1980 * international/mule-cmds.el (locale-language-names): Change "mk"
1981 (Macedoninan), "ru" (Russian), and "sp" (Serbian with Cyrillic
1982 alphabet) to "Cyrillic-ISO".
1984 2002-07-11 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1986 * net/tramp.el (tramp-default-method): New default method "sm"
1987 which I guess to be good for most people.
1988 (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
1989 Ange-FTP) for some user/host combinations.
1990 (tramp-file-name-structure, tramp-file-name-regexp)
1991 (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
1992 (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
1993 (tramp-make-multi-tramp-file-format): New default value which
1994 unifies the filename syntax between Tramp and Ange-FTP. The new
1995 syntax is "/method:user@host:path". Note the colon after the method.
1996 (tramp-handle-file-name-directory): Don't return "/" when
1997 completing a remote root directory (where the filename looks like
1998 "/method:user@host:/").
1999 (tramp-handle-ange-ftp): Deleted.
2000 (tramp-disable-ange-ftp): New function, called at toplevel,
2001 deletes Ange-FTP from file-name-handler-alist.
2002 (tramp-handle-make-symbolic-link): Implement.
2004 2002-07-10 Juanma Barranquero <lektu@terra.es>
2006 * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
2008 * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
2009 (speedbar-vc-do-check): Likewise.
2010 (speedbar-obj-do-check): Likewise.
2011 (speedbar-mouse-hscroll): Likewise.
2012 (speedbar-file-lists): Likewise.
2014 * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
2016 2002-07-09 Ole Aamot <ole@gnu.org>
2018 * compile.el (compilation-error-regexp-alist):
2019 Recognize Valgrind messages.
2021 2002-07-09 Juanma Barranquero <lektu@terra.es>
2023 * faces.el (face-id): Fix typo.
2025 * hexl.el (hexl-mode): Likewise.
2027 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
2029 * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
2031 * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
2032 (speedbar-desired-buffer): Likewise.
2033 (speedbar-line-file): Likewise.
2034 (speedbar-special-mode-key-map): Fix typo.
2035 (speedbar-dynamic-tags-function-list): Likewise.
2036 (speedbar-use-images): Likewise.
2037 (speedbar-up-directory): Likewise.
2038 (speedbar-item-info): Likewise.
2039 (speedbar-set-timer): Likewise.
2040 (speedbar-insert-button): Likewise.
2041 (speedbar-make-button): Likewise.
2042 (speedbar-make-tag-line): Likewise.
2043 (speedbar-insert-files-at-point): Likewise.
2044 (speedbar-update-special-contents): Likewise.
2045 (speedbar-find-selected-file): Likewise.
2046 (speedbar-add-indicator): Likewise.
2047 (speedbar-do-function-pointer): Likewise.
2048 (speedbar-goto-this-file): Likewise.
2049 (speedbar-line-path): Likewise.
2050 (speedbar-mouse-event-p): Likewise.
2051 (speedbar-dir-follow): Likewise.
2052 (speedbar-tag-find): Likewise.
2053 (speedbar-fetch-etags-command): Likewise.
2054 (speedbar-fetch-etags-arguments): Likewise.
2055 (speedbar-toggle-etags): Likewise.
2056 (speedbar-extract-one-symbol): Likewise.
2057 (speedbar-parse-c-or-c++tag): Likewise.
2058 (speedbar-unhighlight-one-tag-line): Likewise.
2059 (speedbar-directory-face): Likewise.
2060 (defimage-speedbar): Likewise.
2061 (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
2062 (defimage-speedbar): Likewise.
2064 2002-07-09 Miles Bader <miles@gnu.org>
2066 * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
2067 to nil when prompting for a filename.
2069 2002-07-09 Kenichi Handa <handa@etl.go.jp>
2071 * files.el (insert-directory): Be sure to bind
2072 coding-system-for-write to the just decided coding-system-for-read.
2074 2002-07-09 Kim F. Storm <storm@cua.dk>
2076 * ido.el (ido-make-merged-file-list): Move fully matching item to
2078 (ido-find-common-substring): Return substring instead of t.
2080 2002-07-08 Juanma Barranquero <lektu@terra.es>
2082 * info.el (Info-directory-list): Fix docstring.
2084 2002-07-08 Miles Bader <miles@gnu.org>
2086 * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
2089 2002-07-08 Kim F. Storm <storm@cua.dk>
2091 * files.el (after-find-file): Don't check for read-only status
2092 of files just created (and not yet saved on disk).
2094 * ido.el (ido-completion-help): Changed xemacs specific code to
2095 avoid byte compiler warning in GNU emacs.
2096 (ido-set-matches1): Use regexp-quote instead of identity.
2097 (ido-complete-space): New function.
2098 (ido-define-mode-map): Bind it to SPACE.
2100 2002-07-07 Stefan Monnier <monnier@cs.yale.edu>
2102 * font-lock.el (font-lock-default-unfontify-region):
2103 Use remove-list-of-text-properties.
2104 (font-lock-extra-managed-props): Doc fix.
2106 * facemenu.el: Move `provide' to the end.
2107 (facemenu-read-color): Don't cons unnecessarily.
2109 * language/ind-util.el (indian-make-hash):
2110 * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
2111 (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
2113 * subr.el (insert-string): Update the obsolete info.
2114 (makehash): Move from C and mark obsolete.
2116 * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
2117 aliases to also work for interactive functions.
2118 Use the same wrapper for subroutines.
2119 (cancel-debug-on-entry): Get rid of the now-useless wrapper.
2120 (debug-on-entry-1): Correctly skip docstrings and interactive forms.
2122 * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
2123 automatic environment name update.
2124 (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
2126 2002-07-07 Richard M. Stallman <rms@gnu.org>
2128 * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
2130 * emacs-lisp/advice.el (ad-compile-function):
2131 Disable cl-function warnings if cl is loaded.
2133 * files.el (safe-local-eval-forms): New user option.
2134 (hack-one-local-variable-eval-safep): Support it.
2135 Also allow `safe-local-eval-function' property to be a function
2136 or a list of functions.
2137 (c-add-style): Delete `safe-local-eval-function' property.
2139 * files.el (after-find-file): Make buffer read-only if file is
2140 marked that way, even for root.
2142 * files.el (save-some-buffers): Doc fix.
2144 * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
2146 2002-07-06 Francesco Potorti` <pot@gnu.org>
2148 * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
2149 .sx[dmicw] file suffixes for Open office data files.
2151 * files.el (auto-mode-alist): Likewise.
2153 * international/mule.el (auto-coding-alist): Likewise.
2155 2002-07-05 Kim F. Storm <storm@cua.dk>
2157 * emulation/cua-rect.el (cua--rectangle-operation): Don't call
2158 FCT if current column is outside rectangle.
2159 (cua--delete-rectangle): Do nothing if zero width or out of bounds.
2161 2002-07-04 Stefan Monnier <monnier@cs.yale.edu>
2163 * net/ange-ftp.el: Use add-hook and find-file-hook.
2164 (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
2165 (ange-ftp-ls-parser): Make it into a function.
2166 Ignore trailing @ in symlink targets.
2167 (ange-ftp-file-entry-p): Ignore FTP errors.
2168 (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
2169 to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
2171 2002-07-04 Per Abrahamsen <abraham@dina.kvl.dk>
2173 * simple.el (toggle-truncate-lines): New command.
2175 2002-07-04 Miles Bader <miles@gnu.org>
2177 * comint.el (comint-displayed-dynamic-completions): New variable.
2178 (comint-dynamic-list-completions): Be more careful about choosing
2179 when to scroll an existing completions window.
2181 2002-07-03 Andreas Schwab <schwab@suse.de>
2183 * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
2186 2002-07-03 Juanma Barranquero <lektu@terra.es>
2188 * net/tramp.el (tramp-send-eof): Fix typo.
2189 (tramp-kill-process): Likewise.
2191 * play/dunnet.el (dun-physobj-desc): Likewise.
2193 * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
2195 * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
2196 (timeclock-workday-elapsed): Likewise.
2198 * allout.el (outline-goto-prefix): Likewise.
2200 * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
2201 (tpu-delete-to-bol): Likewise.
2203 * subr.el (chars-in-region): Add obsolescence declaration for
2206 2002-07-03 Miles Bader <miles@gnu.org>
2208 * faces.el (header-line): Don't use a `common' clause for
2209 inheriting from the mode-line face, since we can't override it,
2210 and we don't want it for ttys.
2212 2002-07-02 Richard M. Stallman <rms@gnu.org>
2214 * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
2216 * files.el (hack-one-local-variable-constantp): New function.
2217 (hack-one-local-variable-eval-safep): New function.
2218 Check for `eval:' calling fn with `safe-local-eval-function' property.
2219 (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
2220 (c-add-style, c-set-style): Add safe-local-eval-function property.
2222 * files.el (insert-directory): Handle --dired option to ls.
2224 * files.el (file-remote-p): New function.
2226 * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
2228 * startup.el (fancy-splash-screens): Switch to a chosen frame.
2229 (fancy-splash-frame): Choose the right frame to use.
2230 (use-fancy-splash-screens-p): Check dimensions of the right frame
2233 * emacs-lisp/bytecomp.el (byte-compile-warning-types):
2234 Rename cl-func to cl-functions. Enable it by default.
2235 (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
2236 if the file loads cl.
2237 (byte-compile-initial-macro-environment): For eval-and-compile,
2238 use byte-compile-eval-before-compile to eval.
2239 (byte-compile-eval-before-compile): New function to turn off
2240 cl-functions when appropriate, for eval-and-compile.
2241 (byte-compile-warnings): Doc fix.
2243 2002-07-02 Dave Love <fx@gnu.org>
2245 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option.
2246 (byte-compile-cl-warn): New function.
2247 (byte-compile-form): Use it, to warn about calling cl functions.
2248 (byte-compile-warning-types): Doc fix.
2250 2002-07-02 Juanma Barranquero <lektu@terra.es>
2252 * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
2254 * textmodes/reftex-cite.el (reftex-citation): Fix typo.
2256 * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
2259 2002-07-02 Kim F. Storm <storm@cua.dk>
2261 * emacs-lisp/bindat.el: New file.
2263 2002-07-01 Sam Steingold <sds@gnu.org>
2265 * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
2266 before `tex-main-file' because if the current buffer is new, its
2267 file might not exist yet, and then `tex-main-file' will
2268 incorrectly return "foo.tex.tex".
2270 2002-07-01 Juanma Barranquero <lektu@terra.es>
2272 * ido.el (ido-minibuffer-setup-hook): Doc fix.
2274 2002-07-01 Dave Love <fx@gnu.org>
2276 Make strokes a proper minor mode, and don't try to overload
2277 mouse-2, which doesn't work satisfactorily.
2279 * strokes.el: Doc fixes.
2280 (strokes-mode): Defcustom deleted; replaced by minor mode def with
2281 re-written function.
2282 (strokes-while-inhibiting-garbage-collector): Comment out.
2283 (define-stroke, strokes-fix-button2-command, strokes-insinuated)
2284 (strokes-insinuate, global-set-stroke, describe-stroke)
2285 (load-user-strokes, save-strokes, strokes-bug-address)
2286 (strokes-click-command): Deleted.
2287 (strokes-execute-stroke): Remove strokes-click-p case.
2288 (strokes-describe-stroke): Remove strokes-click-p stuff.
2289 (strokes-help): Fix.
2290 (strokes-report-bug): Alias to report-emacs-bug.
2291 (strokes-prompt-user-save-strokes): Modify format of the file.
2292 (strokes-mode-map, strokes-unload-hook): New.
2293 (strokes-buffer-name): Don't customize.
2295 2002-07-01 Richard M. Stallman <rms@gnu.org>
2297 * info.el (Info-index): Get immediate error if used in `dir'.
2299 * textmodes/picture.el (picture-forward-column)
2300 (picture-move-down): Never deactivate the mark.
2302 2002-06-30 Simon Josefsson <jas@extundo.com>
2304 * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
2305 menu entry into balloon help.
2307 2002-06-30 Andreas Schwab <schwab@suse.de>
2309 * files.el (directory-free-space-args): Don't use `-P' on Darwin.
2310 * term/mac-win.el: Don't set it here.
2312 2002-06-29 Stefan Monnier <monnier@cs.yale.edu>
2314 * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
2316 2002-06-29 Andreas Schwab <schwab@suse.de>
2318 * term/mac-win.el: Use directory-free-space-program instead of
2319 obsolete variable dired-free-space-program. On Darwin, don't set
2320 directory-free-space-program, shell-file-name and
2321 process-connection-type; set directory-free-space-args to not
2322 include `-P' and use utf-8 for file name coding system.
2324 * simple.el (shell-command-on-region): Handle errors and signals
2325 from shell command execution.
2326 (display-message-or-buffer): Fix last change.
2327 (shell-command-default-error-buffer): Doc fix.
2329 * dired.el (dired-view-file): Quote file name for
2330 dired-run-shell-command.
2332 2002-06-29 Kim F. Storm <storm@cua.dk>
2334 * kmacro.el: New file.
2336 2002-06-28 John Wiegley <johnw@gnu.org>
2338 * pcmpl-cvs.el: Added my name as the maintainer of this file.
2340 2002-06-28 Andreas Schwab <schwab@suse.de>
2342 * shell.el (explicit-bash-args): New user option.
2344 2002-06-28 Kim F. Storm <storm@cua.dk>
2348 2002-06-28 Stefan Monnier <monnier@cs.yale.edu>
2350 * derived.el (define-derived-mode): Preserve the `mode-class' rather
2351 than the `special' symbol property.
2352 (derived-mode-class): Make it obsolete.
2354 2002-06-27 Andreas Schwab <schwab@suse.de>
2356 * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
2358 2002-06-27 Juanma Barranquero <lektu@terra.es>
2360 * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
2361 (meta-flag): Likewise.
2363 * international/mule-util.el (string-to-sequence): Likewise.
2365 * subr.el (char-bytes): Likewise.
2366 (make-local-hook): Likewise.
2367 (baud-rate): Remove redundant info from docstring.
2369 * faces.el (frame-update-faces): Fix obsolescence declaration.
2370 (internal-get-face): Remove redundant info from docstring and
2371 fix obsolescence declaration.
2373 * rect.el (move-to-column-force): Likewise.
2375 * help-fns.el (describe-function-1): Use semicolon instead of dot.
2376 (describe-variable): Likewise.
2378 2002-06-27 Stefan Monnier <monnier@cs.yale.edu>
2380 * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
2381 (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
2382 (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
2383 (mouse-wheel-follow-mouse): Change default to t.
2384 (mwheel-event-button): Return the basic event symbol.
2385 (mwheel-scroll): Work with non-mouse events.
2386 (mouse-wheel-mode): Use the new vars.
2387 (mwheel-install): Obey `uninstall'.
2389 * term/xterm.el (function-key-map): Add some bindings.
2391 * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
2392 Rename from delay-uniquify-rationalize-file-buffer-names.
2393 Only rationalize if the buffer is under uniquify control.
2394 (uniquify-delayed-rationalize-file-buffer-names):
2395 Rename from delayed-uniquify-rationalize-file-buffer-names.
2397 2002-06-27 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2399 * net/tramp.el (tramp-file-name-structure)
2400 (tramp-multi-file-name-hop-structure): Split for easier readability.
2401 (tramp-handle-make-symbolic-link): Use user/host/method/... from
2402 LINKNAME, not FILENAME.
2403 (tramp-handle-verify-visited-file-modtime):
2404 Call tramp-ange-ftp-file-name-p with right parameters.
2405 (tramp-handle-verify-visited-file-modtime): `insert' does not
2406 work for integers, convert them to strings first.
2407 (tramp-handle-ange-ftp): New function to perform setup for
2408 replacing Ange-FTP with Tramp.
2409 (tramp-repair-jka-compr): New function to factor out some
2410 previously top-level code. Call the function at top-level.
2412 2002-06-27 Juanma Barranquero <lektu@terra.es>
2414 * composite.el (decompose-composite-char): Fix docstring.
2416 * faces.el (describe-face): Capitalize "not documented" message.
2418 * help-fns.el (describe-variable): Likewise.
2419 (describe-function-1): Likewise. Also, document the obsolescence
2420 of the function, if applicable.
2422 2002-06-26 Juanma Barranquero <lektu@terra.es>
2424 * info.el (info-menu-5): Fix documentation.
2425 (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
2427 2002-06-26 Richard M. Stallman <rms@gnu.org>
2429 * emacs-lisp/cl.el (values): Simplify definition.
2431 * simple.el (shell-command): Match & only at end of whole command.
2432 (display-message-or-buffer): Don't use the echo area
2433 if output buffer is visible.
2435 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
2437 * progmodes/cperl-mode.el: Many trivial doc fixes.
2438 (cperl-non-problems): Definition deleted.
2439 (cperl-menu): Don't refer to cperl-non-problems.
2440 (cperl-word-at-point): Add doc string.
2441 (cperl-beautify-regexp-piece): Fix error message.
2442 (cperl-invert-if-unless): Fix error message.
2444 * dired.el (dired-find-alternate-file): Mark as disabled.
2446 2002-06-25 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2448 * net/tramp.el (tramp-ftp-method): New user option.
2449 (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
2450 (with-parsed-tramp-file-name): New macro for the usual big `let'
2451 statement to dissect a file-name.
2452 (tramp-handle-make-symbolic-link, tramp-handle-load)
2453 (tramp-handle-file-name-directory)
2454 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2455 (tramp-handle-file-truename, tramp-handle-file-directory-p)
2456 (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
2457 (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
2458 Use the new macro and forward call to Ange-FTP if applicable.
2459 (tramp-make-ange-ftp-file-name): New helper function to convert a
2460 file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
2461 (tramp-default-method-alist): New user option.
2462 (tramp-find-default-method): Use it.
2463 (tramp-sh-extra-args): New variable.
2464 (tramp-find-shell): Use it.
2465 (tramp-open-connection-rsh): Support a kludgy feature for the
2466 "-p" option to ssh. If host name is given as "host#42", uses the
2469 2002-06-25 Andreas Schwab <schwab@suse.de>
2471 * replace.el (occur-1): Avoid invalid message format string.
2473 2002-06-24 Stefan Monnier <monnier@cs.yale.edu>
2475 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
2476 Check for `noruntime' even if the function has a known sig.
2477 (byte-compile-file, byte-compile-output-docform):
2478 Don't hard code point-min = 1.
2480 * pcvs.el (cvs-parse-process): Don't save/restore point.
2481 Fix last change not to introduce spurious dir FIs.
2482 (cvs-move-to-goal-column): New function extracted from
2483 cvs-mode-previous-line.
2484 (cvs-mode-previous-line, cvs-mode-next-line): Use it.
2485 (cvs-addto-collection): Use it to preserve point.
2486 (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
2488 * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
2489 Don't require the first element to be modifier-free.
2491 * pcvs-parse.el (cvs-parse-table):
2492 Handle `nothing known about' with more care.
2494 * pcvs.el (cvs-fileinfo-kill): Remove.
2495 (cvs-parse-process): Add `old-fis' argument.
2496 (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
2498 * descr-text.el (describe-property-list): Make sure there's
2499 a space between the property name and its value.
2500 (describe-text-properties): Don't kill a pre-existing buffer.
2502 * mwheel.el: Undo last patch from Stephen Gildea for now.
2504 2002-06-24 Kim F. Storm <storm@cua.dk>
2506 * emulation/keypad.el: Added :require 'keypad to defcustoms.
2508 2002-06-23 Stefan Monnier <monnier@cs.yale.edu>
2510 * subr.el (event-start, event-end, event-click-count):
2511 Accept non-mouse events as well.
2512 (read-key): New function.
2513 (read-quoted-char): Use it. Use this-single-command-raw-keys as well.
2515 * files.el: Rename (and mark as obsolete)
2516 find-file-hooks to find-file-hook,
2517 find-file-not-found-hooks to find-file-not-found-functions,
2518 write-file-hooks to write-file-functions,
2519 write-contents-hooks to write-contents-functions.
2520 Mark local-write-file-hooks as obsolete.
2521 (locate-file-completion): Don't cons uselessly. Use test-completion.
2522 (basic-save-buffer): Use (point-min) rather than 1.
2523 (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
2525 * help-fns.el (describe-variable): Only use `buffer' is still live.
2526 Use `delete-region' instead of save-excursion + delete-char.
2527 Document the obsolescence of the variable, if applicable.
2529 2002-06-23 Glenn Morris <gmorris@ast.cam.ac.uk>
2531 * progmodes/f90.el (f90-do-auto-fill): Respect the value of
2532 comment-auto-fill-only-comments.
2534 2002-06-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2536 * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
2537 This is not a handled operation.
2539 2002-06-21 Kim F. Storm <storm@cua.dk>
2541 * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
2542 work again. Corrected error in check for C-u initiated prefix.
2544 * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
2546 2002-06-21 Richard M. Stallman <rms@gnu.org>
2548 * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
2549 to browse-url-at-point.
2551 * play/zone.el (zone-idle): Var deleted.
2553 * international/iso-acc.el (iso-languages) <french>:
2554 `~ ' now generates `~', `~,' definition deleted.
2556 * format.el (format-annotate-function): Copy multibyte flag
2557 and selective-display into the new temp buffer.
2559 * edmacro.el (edmacro-fix-menu-commands):
2560 Discard `help-echo' events. Handle (menu-bar) events.
2561 Simplify by converting key sequence to a list and then back to vector.
2563 2002-06-21 Stephen Gildea <gildea@stop.mail-abuse.org>
2565 * mwheel.el: Allow arbitrary keys for scrolling, add a third
2566 scrolling speed, fix an unwind-protect.
2567 (mouse-wheel-scroll-amount): Now a three-element list.
2568 (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
2569 (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
2570 (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
2573 2002-06-21 Andreas Schwab <schwab@suse.de>
2575 * files.el (find-file-read-args): Add new argument `mustmatch' and
2576 pass it down to read-file-name.
2577 (find-file, find-file-other-window, find-file-other-frame)
2578 (find-file-read-only, find-file-read-only-other-window)
2579 (find-file-read-only-other-frame): Use it and fix prompts.
2581 2002-06-21 Stefan Monnier <monnier@cs.yale.edu>
2583 * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
2585 2002-06-20 Emmanuel Briot <briot@act-europe.fr>
2587 * progmodes/ada-mode.el: Update copyright notice.
2588 Synchronize with GNAT release 3.15a1.
2589 Do not attempt to load ada-support, which is only for compatibility
2590 with older Emacs versions, and is not needed for Emacs 21.
2591 Fix various calls to count-lines, that didn't work correctly when the
2592 buffer was narrowed.
2593 (ada-continuation-indent): New variable.
2594 (ada-contextual-menu): New entry "List local references", faster than
2596 (ada-mode): New alignment rules provided by S. Leake.
2597 Add support for which-function-mode.
2598 (ada-get-current-indent): Fix indentation of named parameter lists and
2599 nested boolean expressions.
2600 (ada-indent-on-previous-lines): Fix indentation of labels.
2601 (ada-search-prev-end-stmt): Fix searching of the previous
2602 end-statement, specially with regards to nested subprograms.
2603 (comment-region advice): Initially disabled, for better compatibility
2605 (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
2607 * progmodes/ada-xref.el: Update copyright notice.
2608 (ada-xref-create-ali): The default is now not to create automatically
2609 the ALI files by compiling the unit, since this isn't always reliable
2610 and requires an up-to-date project file.
2611 (ada-prj-default-comp-cmd): No longer use gcc directly to compile
2612 a file, but use gnatmake instead, since this gives access to the GNAT
2614 (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
2615 (ada-load-project-hook): New variable, for support of GNAT
2617 (ada-update-project-menu): Fix the detection of the project file name.
2618 (ada-add-keymap): Change key binding for ada-find-file, that conflicted
2619 with another binding in ada-mode.el.
2620 (ada-add-menu): New menu "List Local References", to list the reference
2621 to the entity only in the current file, instead of looking in the whole
2622 project. Much faster.
2623 (ada-find-references): New parameters arg and local-only.
2624 (ada-find-any-references): New parameters local-only and append.
2625 (ada-goto-declaration): Fix handling of predefined entities in xref.
2626 (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
2627 still compatible with GNAT 3.14 of course. Fix various calls to
2628 count-lines, that didn't work correctly when the buffer was narrowed.
2630 * progmodes/ada-prj.el: Update copyright.
2631 (ada-prj-load-directory): Make sure we do not use one of the new Emacs
2632 21 dialogs to select the file, since we want a directory name only.
2633 (ada-customize): Add support for the new GNAT project files.
2635 2002-06-20 Francesco Potorti` <pot@gnu.org>
2637 * progmodes/etags.el (tag-implicit-name-match-p): New function.
2638 (etags-recognize-tags-table): Use it for implicit tag names.
2640 2002-06-20 Miles Bader <miles@gnu.org>
2642 * comint.el (comint-get-old-input-default): Strip text properties
2645 * comint.el (comint-output-filter): Run output-filter functions
2646 before setting up the prompt.
2648 * international/characters.el: Re-enable code giving word syntax
2649 to certain japanese-jisx0208 characters.
2651 2002-06-19 Glenn Morris <gmorris@ast.cam.ac.uk>
2653 * progmodes/f90.el (f90-type-def-re): Fix value.
2654 (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
2656 2002-06-18 Stefan Monnier <monnier@cs.yale.edu>
2658 * international/quail.el (quail-help): Don't assume the buffer
2659 is displayed in the same frame.
2661 * emacs-lisp/debug.el (cancel-debug-on-entry):
2662 * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
2664 * pcvs.el (cvs-vc-command-advice): Handle the case where args
2665 are passed to `cvs' before the command name.
2666 (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
2668 * pcvs-info.el (cvs-add-face): Minor rewrite.
2669 (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
2671 * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
2672 regexp when they don't match comment-foo any more.
2674 2002-06-18 Juanma Barranquero <lektu@terra.es>
2676 * filesets.el (filesets-update-pre010505): Fix typo.
2678 * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
2680 * emulation/edt.el (edt-substitute): Fix typo.
2682 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
2684 * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
2686 * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
2688 2002-06-17 Richard M. Stallman <rms@gnu.org>
2690 * facemenu.el (facemenu-map): Rename to Describe Text
2691 to Describe Properties and use describe-text-properties.
2693 * simple.el (what-cursor-position): Use describe-char.
2695 * descr-text.el (describe-char): Moved from mule-diag.el, renamed
2696 from describe-char-after. Now calls describe-text-properties.
2697 (describe-property-list): Renamed from describe-text-properties.
2698 (describe-text-properties): Renamed from describe-text-at.
2699 New arg OUTPUT-BUFFER.
2700 (describe-text-properties-1):
2701 New subroutine, broken out from describe-text-properties.
2702 Output a newline before each section of the output.
2704 * international/mule-diag.el (describe-char-after):
2705 Moved to descr-text.el.
2707 2002-06-17 Eli Zaretskii <eliz@is.elta.co.il>
2709 * international/mule.el (ctext-pre-write-conversion): Fix the values
2710 of FROM and TO if we create a new buffer.
2712 2002-06-17 John Paul Wallington <jpw@shootybangbang.com>
2714 * comint.el (comint-insert-clicked-input): Insert clicked-on
2715 previous input without properties.
2717 2002-06-16 Andrew Choi <akochoi@shaw.ca>
2719 * term/mac-win.el (scalable-fonts-allowed): Set to t.
2721 2002-06-15 Colin Walters <walters@debian.org>
2723 * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
2725 (cvs-highlight): Delete.
2726 (cvs-add-face): Use `font-lock-face'. Always add properties.
2728 * ibuffer.el (ibuffer-movement-cycle): New variable.
2729 (ibuffer-backward-line, ibuffer-forward-line): Use it.
2731 2002-06-15 Richard M. Stallman <rms@gnu.org>
2733 * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
2734 (batch-byte-recompile-directory): Undo previous change.
2736 * comint.el (comint-skip-input): New function.
2737 (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
2738 (comint-stop-subjob): Use comint-skip-input.
2740 * ielm.el (ielm-eval-input): Use error-message-string.
2741 (ielm-format-error, ielm-format-errors): Functions deleted.
2743 2002-06-14 Kim F. Storm <storm@cua.dk>
2745 * progmodes/compile.el (grep-tree): Doc fixes.
2746 Added SUBDIRS arg for non-interactive use.
2748 2002-06-14 Juanma Barranquero <lektu@terra.es>
2750 * comint.el (comint-snapshot-last-prompt):
2751 Bind `inhibit-read-only' to t to support read-only prompts.
2752 (comint-output-filter): Likewise.
2754 2002-06-14 Miles Bader <miles@gnu.org>
2756 * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
2757 (pop): Move the call to `car' outside the prog1, as the compiler
2758 then generates better code.
2760 2002-06-13 Richard M. Stallman <rms@gnu.org>
2762 * play/zone.el (zone-timer): New variable holds the idle timer.
2763 (zone): Don't fiddle with the idle timer at all.
2764 (zone-when-idle): Put the idle timer in zone-timer.
2765 If one is already set up, cancel it and make a new one.
2766 (zone-leave-me-alone): Likewise.
2768 2002-06-13 Jason Rumney <jasonr@gnu.org>
2770 * w32-fns.el (w32-charset-info-alist): Reorder.
2772 2002-06-13 Andreas Schwab <schwab@suse.de>
2774 * files.el (auto-mode-alist): Move entry for ".in" to the end.
2776 2002-06-13 Miles Bader <miles@gnu.org>
2778 * comint.el (comint-mode): Don't set `font-lock-defaults'.
2779 (comint-mode-hook): Turn on font-lock by default.
2781 2002-06-12 Karl Fogel <kfogel@red-bean.com>
2783 * bookmark.el (bookmark-file-or-variation-thereof):
2784 Restore vc-backend check, thanks to Robert Thorpe for noticing.
2786 2002-06-12 Eli Zaretskii <eliz@is.elta.co.il>
2788 * textmodes/bibtex.el: Change the maintainer to "none".
2790 2002-06-12 Juanma Barranquero <lektu@terra>
2792 * term/w32-win.el (x-handle-switch): Fix handling of
2793 x-invocation-args for switches with arguments.
2795 2002-06-12 Stefan Monnier <monnier@cs.yale.edu>
2797 * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
2798 without first making sure it's bound.
2800 2002-06-12 Richard M. Stallman <rms@gnu.org>
2802 * info.el (Info-fontify-node): Compute header line specially
2803 if node has no next, previous or up links.
2804 Hide the part of the first line that is used in the header.
2805 Use Info-next-link-keymap, etc.
2806 (Info-next-link-keymap, Info-prev-link-keymap)
2807 (Info-up-link-keymap): New variables.
2809 * international/mule-diag.el (describe-char-after): Doc fix.
2811 * view.el (view-mode-enter): Clarify echo area message.
2813 * info.el (Info-select-node): Turn header line on or off here.
2814 (Info-setup-header-line): Function deleted.
2815 (Info-mode): Make Info-header-line local.
2816 (Info-fontify-node): Ignore Info-use-header-line.
2817 Unconditionally compute what the header line should be, and
2818 store it on the `header-line' property of the node's first char.
2819 Bind [header-line down-mouse-1].
2820 Use `keymap' property, not `local-map'.
2821 Bind [mouse-2] for mouse clicks on the node line in the text.
2823 * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
2825 2002-06-12 Miles Bader <miles@gnu.org>
2827 * comint.el (comint-send-input): Properly handle empty and
2828 no-newline input regions.
2830 2002-06-12 Colin Walters <walters@gnu.org>
2832 * calc/calc.el: Use `when', `unless'.
2833 (calc-trail-mode): Use an italic `font-lock-face'.
2834 (calc-refresh): Ditto.
2836 2002-06-12 Colin Walters <walters@debian.org>
2838 * font-core.el (font-lock-core-only): Variable deleted.
2840 (font-lock-set-defaults): Variable alist settings moved back into
2841 font-lock-set-defaults-1.
2842 (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
2843 is specifically excluded by the user.
2845 * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
2847 * help-mode.el (help-mode): Don't set `font-lock-defaults'.
2849 * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
2851 * info.el (Info-mode): Don't set `font-lock-defaults'.
2853 * replace.el (occur-mode): Don't set `font-lock-defaults'.
2855 * help-mode.el (help-highlight-p, help-highlight-face):
2856 Variable was unused; delete.
2857 (help-make-xrefs): Doc fix.
2859 2002-06-11 Richard M. Stallman <rms@gnu.org>
2861 * format.el (format-alist): Document new element PRESERVE.
2862 (format-write-file): Implement PRESERVE elt for a format.
2864 * files.el (make-auto-save-file-name): Rename local `filename' to
2867 2002-06-10 Richard M. Stallman <rms@gnu.org>
2869 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
2870 (ebrowse-copy-list): Function deleted.
2872 * eshell/em-unix.el (eshell/diff): Use copy-sequence.
2874 * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
2876 * eshell/esh-util.el (eshell-copy-list): Function deleted.
2877 (eshell-sublist): Use copy-sequence.
2878 (eshell-copy-tree): Make it an alias for copy-tree.
2880 * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
2882 * subr.el (copy-list): Moved to cl.el.
2883 (copy-tree): Don't use copy-list or cl-pop.
2885 2002-06-10 Miles Bader <miles@gnu.org>
2887 Make comint use text properties for highlighting instead of overlays:
2888 * comint.el (comint-last-output-overlay): Variable removed.
2889 (comint-send-input, comint-output-filter): Use text properties
2890 instead of overlays.
2891 (comint-insert-clicked-input): Rewrite to work with text
2892 properties as well as overlays
2893 (comint-snapshot-last-prompt): Snapshot using text properties.
2894 (comint-get-old-input-default, comint-extract-string): Don't copy
2897 * simple.el (line-move-finish): Inhibit field motion when
2898 computing `line-end'.
2900 * files.el (revert-buffer): Correct typo: variable name is
2901 `buffer-file-format', not `buffer-file-formats'.
2903 * comint.el (comint-send-input, comint-output-filter): Use the
2904 `font-lock-face' property instead of `face'. Don't check the
2905 highlight-enabling variables anymore.
2906 (comint-highlight-input, comint-highlight-prompt): Variables removed.
2908 * faces.el (display-supports-face-attributes-p): New function.
2909 (face-spec-set-match-display): Support `supports' predicate.
2910 (italic): Try underlining for displays that don't support real italics.
2911 * cus-edit.el (custom-display): Add support for `supports' predicate.
2912 * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
2913 instead of 8-bit, for consistency with the rest of emacs.
2914 (tty-color-canonicalize): Only copy COLOR if we need to change it.
2915 (tty-color-approximate): Scale values from `color-name-rgb-alist'
2916 appropriately. Return the whole color description, rather than
2917 just the RGB values.
2918 (tty-color-standard-values): New function. Code mostly taken from
2919 `tty-color-translate'.
2920 (tty-color-translate, tty-color-values): Use `tty-color-desc' to
2922 (tty-color-desc): Do color lookup here instead of calling
2923 `tty-color-translate' and `tty-color-by-index'; this is now the
2924 main place to do it.
2926 2002-06-09 Martin Stjernholm <bug-cc-mode@gnu.org>
2928 * progmodes/cc-style.el (c-set-style, c-set-style-1):
2929 Add another state for the `dont-override' flag where it only keeps
2930 globally set variables.
2932 2002-06-08 Colin Walters <walters@gnu.org>
2934 * descr-text.el (describe-text-properties): Sort the output by the
2935 size of the values. Put `font-lock-face' property on property names.
2936 (toplevel): Provide `descr-text'.
2938 * international/mule-diag.el (describe-char-after): When there are
2939 text properties, require `descr-text', and just call
2940 `describe-text-properties'.
2942 * international/mule.el (sgml-html-meta-auto-coding-function):
2944 (auto-coding-from-file-contents): Delete; merge functionality into
2946 (set-auto-coding): Move tests from `auto-coding-functions' so that
2947 they have a lower priority than coding: tags.
2948 Put `auto-coding-regexp-alist' tests before coding: tag tests.
2949 (sgml-xml-auto-coding-function): Simply `intern' the match, and
2950 test if it's a valid coding system.
2951 (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
2953 2002-06-08 Colin Walters <walters@verbum.org>
2955 * subr.el (copy-list): Moved here from cl.el.
2956 (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
2958 * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
2959 subr.el. Add a defalias with the old name.
2961 * emacs-lisp/cl.el (copy-list): Moved to subr.el.
2963 * replace.el (occur-mode): Don't set up categories. Do set
2964 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2965 (occur-1): Pass `list-matching-lines-face' and
2966 `list-matching-lines-buffer-name-face'.
2967 (occur-engine): Use `font-lock-face' instead of categories.
2969 * info.el (Info-mode): Don't set up categories. Do set
2970 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2971 (Info-fontify-menu-headers): Use `font-lock-face' instead of
2973 (Info-fontify-node): Ditto.
2975 * ibuffer.el (ibuffer-category-alist): Delete.
2976 (ibuffer-get-category): Delete.
2977 (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
2979 (ibuffer-compile-format): Don't treat `name' category specially.
2980 (ibuffer-column name): Use `font-lock-face'.
2981 (filename-and-process): Ditto.
2982 (ibuffer-buffer-name-category): Renamed to
2983 `ibuffer-buffer-name-face'. Don't use categories.
2984 (ibuffer-update-title-and-summary): Use `font-lock-face'.
2985 (ibuffer-insert-filter-group): Ditto.
2986 (ibuffer-mode): Don't set up categories. Do set
2987 `font-lock-defaults', and be sure to set `font-lock-core-only'.
2988 (ibuffer-compile-format): Don't pass third argument
2989 to column functions.
2990 (filename-and-process): Ditto.
2992 * ibuf-macs.el (define-ibuffer-column): Don't create a third
2993 argument for the generated function.
2995 * font-core.el (font-lock-category-alist): Delete.
2996 (turn-on-font-lock-if-enabled): Don't use it.
2997 (font-lock-symbol-category-alist): Delete.
2998 (font-lock-default-function): Use new `char-property-alias-alist'
2999 to make `font-lock-face' an alias for `face' when font-lock mode
3001 (font-lock-core-only): New variable.
3002 (font-lock-set-defaults): Use it.
3004 2002-06-08 Richard M. Stallman <rms@gnu.org>
3006 * files.el (find-file-noselect-1): Undo previous change.
3008 * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
3010 2002-06-07 Karl Fogel <kfogel@red-bean.com>
3012 * bookmark.el (bookmark-file-or-variation-thereof): Just use
3013 Info-suffix-list, as suggested by Stefan Monnier.
3015 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il>
3017 * select.el (xselect-convert-to-string): If VALUE is a string,
3018 return a cons of TYPE and the string.
3020 2002-06-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3022 * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
3023 Fix the table to contain correct characters.
3025 2002-06-04 Richard M. Stallman <rms@gnu.org>
3027 * simple.el: Don't require cl.
3029 2002-06-03 Richard M. Stallman <rms@gnu.org>
3031 * dired.el (dired-do-shell-command): Doc fix in autoload.
3033 * info.el (Info-extract-pointer): Ignore Info-header-line.
3035 * progmodes/cc-mode.el (c-postprocess-file-styles):
3036 Do nothing except in CC modes.
3038 * international/mule-cmds.el (select-safe-coding-system):
3039 When computing auto-cs, narrow to FROM...TO.
3040 Put save-excursion outside save-restriction.
3041 New arg FILE; use that for set-auto-coding.
3043 2002-06-01 Richard M. Stallman <rms@gnu.org>
3045 * simple.el (choose-completion-string-functions): Doc fix.
3046 (choose-completion-string): Add doc string.
3048 2002-06-01 Kim F. Storm <storm@cua.dk>
3050 * simple.el: Reworked previous change.
3051 (choose-completion-string1): Merged back into choose-completion-string.
3052 (choose-completion-string): Run choose-completion-string-functions
3053 after checking for proper minibuffer window. Added mini-p arg to
3054 the hook functions. Insert choice if all hook functions return nil.
3055 (choose-completion-string-functions): Doc update.
3057 2002-06-01 Sam Steingold <sds@gnu.org>
3059 * files.el (auto-mode-alist): Strip trailing ".in" from the file
3060 name when deciding the mode (for config.h.in, Makefile.in etc).
3062 2002-06-01 Thien-Thi Nguyen <ttn@gnu.org>
3064 * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
3065 ?/ and ?* entries to support /* */ style comments.
3066 (prolog-font-lock-keywords): New var.
3067 (prolog-mode): Enable font-locking; set `font-lock-defaults'.
3069 2002-06-01 Kim F. Storm <storm@cua.dk>
3071 * simple.el (choose-completion-string-functions): New special hook.
3072 (choose-completion-string1): Renamed from choose-completion-string.
3073 (choose-completion-string): Run choose-completion-string-functions
3074 until success, and only call choose-completion-string1 if it fails.
3076 2002-05-31 Stefan Monnier <monnier@cs.yale.edu>
3078 * textmodes/ispell.el (autoloaded toplevel): Don't use
3079 ispell-library-directory without checking that it's bound.
3081 2002-05-31 Kim F. Storm <storm@cua.dk>
3083 * emulation/cua-base.el (cua--last-deleted-region-pos)
3084 (cua--last-deleted-region-text): New aux variables.
3085 (cua-delete-region): Set them.
3086 (cua-repeat-replace-region): Use them to find the replacement text.
3088 2002-05-31 Juanma Barranquero <lektu@terra.es>
3090 * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
3093 2002-05-31 Kim F. Storm <storm@cua.dk>
3095 * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
3096 (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
3097 New custom variables.
3098 (grep-compute-defaults): Compute grep-tree-command's default value.
3099 (grep-expand-command-macros): New aux function.
3100 (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
3101 (grep-tree): New command like grep-find but extended prompting.
3103 2002-05-30 Richard M. Stallman <rms@gnu.org>
3105 * files.el (find-file-default): Add defvar for var already used.
3107 * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
3109 * subr.el (open-network-stream, open-network-stream-nowait)
3110 (open-network-stream-server, process-kill-without-query):
3111 Moved from simple.el.
3113 * simple.el (open-network-stream, open-network-stream-nowait)
3114 (open-network-stream-server, process-kill-without-query):
3117 * simple.el (byte-compiling-files-p): Function deleted.
3119 * textmodes/ispell.el (ispell-library-directory): Renamed from
3120 ispell-library-path. If Ispell is not installed, init to nil.
3121 (check-ispell-version): Doc fix.
3122 (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
3123 initialize this unconditionally when ispell-menu-map-needed is t.
3124 Local `path' renamed to `dir'.
3126 2002-05-30 Miles Bader <miles@gnu.org>
3128 * calc/calc.el (calc-show-banner): New variable.
3129 (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
3130 (calc-mode-var-list): Add `calc-show-banner'.
3131 * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
3132 (calc-toggle-banner): New function.
3133 * calc/calc-help.el (calc-d-prefix-help): Add `@'.
3135 2002-05-29 Richard M. Stallman <rms@gnu.org>
3137 * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
3138 When recognizing a def... construct, make that indentation
3139 tentative, so that it can be overridden if the list in question
3140 is not actually an expression.
3141 (common-lisp-indent-call-method): New subroutine.
3143 * emacs-lisp/bytecomp.el (batch-byte-compile-file):
3144 Delete the output file if we get a file-error.
3146 * tooltip.el (tooltip-mouse-motions-active): New variable.
3147 (tooltip-activate-mouse-motions): Don't kill track-mouse local
3148 if it was not made by us.
3150 * mouse.el (mouse-set-font): Avoid misleading error message
3151 if user makes no selection.
3153 * info.el (Info-setup-header-line): Don't hide the links line.
3155 * files.el (find-file-noselect-1): Return the buffer we created
3156 even if it has been killed within `after-find-file'.
3158 * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
3160 2002-05-29 Kim F. Storm <storm@cua.dk>
3162 * simple.el (open-network-stream-server): Pass on optional args
3163 sentinel and filter to make-network-process (from Luke Gorrie).
3165 2002-05-28 Colin Walters <walters@gnu.org>
3167 * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
3169 * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
3170 (byte-compile-delete-first): New function.
3171 (byte-compile-read-position): New variable.
3172 (byte-compile-last-position): New variable.
3173 (byte-compile-current-buffer): New variable.
3174 (byte-compile-log-1): Use it.
3175 (byte-compile-set-symbol-position): New function.
3176 (byte-compile-obsolete, byte-compile-callargs-warn)
3177 (byte-compile-arglist-warn, byte-compile-arglist-warn)
3178 (byte-compile-print-syms, byte-compile-file-form-defmumble)
3179 (byte-compile-check-lambda-list, byte-compile-lambda)
3180 (byte-compile-form, byte-compile-variable-ref)
3181 (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
3182 (byte-compile-condition-case, byte-compile-defun)
3183 (byte-compile-defvar, byte-compile-autoload)
3184 (byte-compile-lambda-form): Use it.
3185 (byte-compile-from-buffer): Set it, and bind
3186 `read-with-symbol-positions' and `read-symbol-positions-list'.
3188 * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
3190 2002-05-28 Kim F. Storm <storm@cua.dk>
3192 * files.el (read-directory-name): New function.
3193 (cd): Use it instead of read-file-name.
3195 2002-05-27 Kim F. Storm <storm@cua.dk>
3197 * simple.el (push-mark-command): Added optional NOMSG arg.
3199 * emulation/cua-base.el (cua-set-mark): Align pop to mark
3200 behaviour with standard set-mark-command.
3201 (cua--pre-command-handler): Use push-mark-command.
3202 (cua-repeat-replace-region): Improve functionality when
3203 repeated after moving point or changing buffer.
3205 2002-05-26 Colin Walters <walters@verbum.org>
3207 * startup.el (command-line): Use `when', `unless'.
3208 (command-line-1): New argument "--nosplash". Handle it.
3210 * startup.el (inhibit-splash-screen): New variable alias for
3211 `inhibit-startup-message'.
3213 * replace.el (perform-replace): Document return value. Use `pop'.
3215 2002-05-26 Glenn Morris <gmorris@ast.cam.ac.uk>
3217 * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
3218 and slightly changed behaviour, for `f90-previous-block-start' and
3219 `f90-next-block-end'.
3220 (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
3222 2002-05-26 Simon Josefsson <jas@extundo.com>
3224 * fringe.el (set-fringe-mode): Work when updating
3225 `default-frame-alist'.
3227 2002-05-26 Kim F. Storm <storm@cua.dk>
3229 * emulation/cua-base.el (cua--repeat-replace-text): New variable.
3230 (cua-repeat-replace-region): New command.
3231 (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
3232 Misc improvements to the commantary.
3234 2002-05-26 Simon Josefsson <jas@extundo.com>
3236 * fringe.el (fringe-query-style): New fringe style "minimal".
3238 2002-05-24 Simon Josefsson <jas@extundo.com>
3240 * rot13.el (rot13-translate-table): New variable.
3241 (rot13, rot13-string, rot13-region): New functions.
3243 2002-05-25 Martin Stjernholm <bug-cc-mode@gnu.org>
3245 * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
3246 of wrong anchoring, e.g. for else-if compounds.
3248 2002-05-25 Miles Bader <miles@gnu.org>
3250 * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
3251 (menu-bar-showhide-fringe-menu-customize-right)
3252 (menu-bar-showhide-fringe-menu-customize-disable):
3253 Use proper calling convention for `customize-set-value'.
3254 Require `fringe' before setting variable.
3256 2002-05-25 Kim F. Storm <storm@cua.dk>
3258 * emulation/cua-base.el (cua--self-insert-char-p): New function.
3260 * emulation/cua-gmrk.el (cua--init-global-mark): Install default
3261 binding in cua--global-mark-keymap using cua--self-insert-char-p
3262 to handle all global self inserting characters in gmark mode.
3264 * emulation/cua-rect.el (cua--init-rectangles): Install default
3265 binding in cua--rectangle-keymap using cua--self-insert-char-p
3266 to handle all global self inserting characters in rectangle mode.
3268 2002-05-24 Stefan Monnier <monnier@cs.yale.edu>
3270 * net/ange-ftp.el (read-file-name-internal): Remove the
3271 `ange-ftp' property.
3272 (ange-ftp-real-read-file-name-internal): Remove.
3274 2002-05-24 Glenn Morris <gmorris@ast.cam.ac.uk>
3276 * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
3278 (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
3279 (f90-previous-block-start): New navigation commands.
3281 2002-05-20 Simon Josefsson <jas@extundo.com>
3283 * fringe.el: New file.
3285 * menu-bar.el (menu-bar-options-save): Add fringe-mode.
3286 (menu-bar-showhide-fringe-menu): New menu.
3287 (menu-bar-showhide-menu): Add Fringe sub-menu.
3289 2002-05-23 Colin Walters <walters@verbum.org>
3291 * replace.el (occur-engine): Include all text properties except
3292 mouse-face on the newline at the end of occurences.
3294 2002-05-23 Kim F. Storm <storm@cua.dk>
3296 * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
3297 (apropos-false-hit-str, apropos-true-hit-doc): New functions.
3298 (apropos-command, apropos-value, apropos-documentation-internal)
3299 (apropos-documentation-check-doc-file)
3300 (apropos-documentation-check-elc-file): Use them to filter out
3301 false matches where only one keyword matches, but more than once.
3303 * apropos.el (apropos-show-scores, apropos-orig-regexp)
3304 (apropos-all-regexp, apropos-synonyms, apropos-words)
3305 (apropos-all-words): New variables.
3306 (aprpos-words-to-regexp, apropos-rewrite-regexp)
3307 (apropos-calc-scores, apropos-score-str, apropos-score-doc)
3308 (apropos-score-symbol): New functions.
3309 (apropos-command, apropos, apropos-value, apropos-documentation):
3310 Allow keywords in addition to regexp. Added scoring.
3311 (apropos-documentation-check-doc-file)
3312 (apropos-documentation-check-elc-file): Added scoring.
3313 (apropos-print): Sort according to score.
3315 2002-05-22 Colin Walters <walters@cis.ohio-state.edu>
3317 * info.el (Info-mode-hook): Change `font-lock-mode' to
3318 `turn-on-font-lock'.
3320 * font-core.el (font-lock-function): New variable.
3321 (font-lock-default-function): New function, created from
3323 (font-lock-mode): Just funcall `font-lock-function'.
3324 (font-lock-symbol-category-alist): New variable.
3326 2002-05-22 Markus Rost <rost@math.ohio-state.edu>
3328 * files.el (file-newest-backup): Use file-name-sans-versions.
3330 * diff.el (diff-latest-backup-file): Replace the main code by
3331 a call of file-newest-backup.
3333 2002-05-22 Mike Williams <mdub@bigfoot.com>
3335 * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
3338 2002-05-21 Stefan Monnier <monnier@cs.yale.edu>
3340 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
3341 the last patch works around the wu-ftpd misfeature that prompted
3342 the disabling of this optimization.
3344 2002-05-21 Colin Walters <walters@gnu.org>
3346 * international/mule.el (make-coding-system): Doc fixes.
3348 * international/mule.el (auto-coding-functions): New variable.
3349 (auto-coding-from-file-contents): Use it.
3350 (set-auto-coding): Update docs.
3351 (sgml-xml-auto-coding-function): New function.
3353 * international/mule-util.el (truncate-string-to-width):
3354 New optional argument `ellipsis'. Add commented-out test suite, and
3355 change coding to iso-2022-7bit.
3357 2002-05-21 Colin Walters <walters@verbum.org>
3359 * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
3360 (font-lock-multiline, font-lock-fontified, font-lock-mode)
3361 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
3362 (font-lock-global-modes): Moved to font-core.el.
3363 (font-lock-set-defaults-1): Partially moved to font-core.el.
3365 * font-core.el: New file, with functions taken from font-lock.el.
3366 (font-lock-category-alist): New variable.
3367 (font-lock-mode): Use it.
3368 (font-lock-set-defaults): Partially taken from font-lock.el.
3369 Only load font-lock.el when necessary.
3371 * loadup.el: Add font-core.el.
3373 * replace.el (occur-mode-hook): New variable.
3374 (occur-fontify-region-function): Deleted.
3375 (occur-mode): Don't use it. Set up `font-lock-category-alist'
3377 (occur-fontify-on-property): Deleted.
3378 (occur-engine): Use categories from `font-lock-category-alist'.
3380 * info.el (Info-fontify): Deleted.
3381 (Info-select-node): Don't use it.
3382 (Info-mode-hook): New variable.
3383 (Info-mode): Set up categories.
3384 (Info-fontify-menu-headers, Info-fontify-node): Use categories.
3386 * ibuffer.el (ibuffer-formats): Update docs.
3387 (ibuffer-category-alist): New variable.
3388 (ibuffer-get-category): New function.
3389 (ibuffer-compile-make-eliding-form): Use category property instead
3391 (ibuffer-compile-format): Pass current ibuffer buffer to column
3393 (ibuffer-buffer-name-category): New function.
3394 (ibuffer-compile-format): If the current column is a `name'
3395 column, figure out the appropriate category to put on it.
3396 (filename-and-process): Use category property.
3397 (ibuffer-fontify-region-function): Deleted.
3398 (ibuffer-unfontify-region-function): Deleted.
3399 (ibuffer-update-title-and-summary): Use category properties.
3400 (ibuffer-insert-filter-group): Ditto.
3401 (ibuffer-mode): Set up category properties.
3403 2002-05-21 Colin Walters <walters@debian.org>
3405 * replace.el (occur-engine): Increment globalcount all at once
3406 after searching a buffer.
3407 (occur-mode-map): Don't escape plain "o".
3409 * ibuf-macs.el (define-ibuffer-column): Add third argument
3412 * ibuffer.el (toplevel): Require font-lock, to get the face
3414 (ibuffer-use-fontification): Deleted.
3415 (column filename-and-process): New column.
3416 (ibuffer-formats): Use it by default.
3417 (ibuffer-name-map, ibuffer-mode-name-map)
3418 (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
3419 (ibuffer-do-save, ibuffer-do-toggle-modified)
3420 (ibuffer-do-toggle-read-only, ibuffer-do-delete)
3421 (ibuffer-do-kill-on-deletion-marks): Include name in definition.
3422 (ibuffer): New optional argument `formats'.
3424 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il>
3426 * indent.el (indent-rigidly): Mention how to remove all indentation.
3428 2002-05-21 Colin Walters <walters@gnu.org>
3430 * international/mule-diag.el (describe-char-after): Order display
3431 of text properties by the size of their value, for clarity.
3433 2002-05-20 Stefan Monnier <monnier@cs.yale.edu>
3435 * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
3436 (ange-ftp-file-name-completion): Don't cons unnecessarily.
3437 (ange-ftp-send-cmd): Always `cd' before doing `ls'.
3439 * wid-edit.el (widget-color-complete):
3440 * progmodes/etags.el (tags-complete-tags-table-file):
3441 * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
3443 * textmodes/outline.el (outline-reveal-toggle-invisible):
3444 Reverse the meaning of the second arg.
3446 * reveal.el (reveal-post-command): Reverse the semantics of
3447 reveal-toggle-invisible and support isearch-open-invisible-temporary.
3449 2002-05-20 Markus Rost <rost@math.ohio-state.edu>
3451 * mail/sendmail.el (mail-recover-1): Remove (debug).
3452 (mail-signature): Fix :type.
3453 (mail-default-directory): New user option.
3454 (mail, mail-recover): Use that option.
3456 2002-05-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3458 * international/mule.el (auto-coding-alist): Use emacs-mule
3459 for auto-save files.
3461 2002-05-20 Miles Bader <miles@gnu.org>
3463 * files.el (find-file-read-args): Don't trash existing value of
3464 `minibuffer-setup-hook', just add our hook to it.
3466 2002-05-19 Markus Rost <rost@math.ohio-state.edu>
3468 * international/ucs-tables.el (unify-8859-on-encoding-mode)
3469 (unify-8859-on-decoding-mode): Change :version attributes to strings.
3471 * simple.el (yank-excluded-properties): Change :version attribute
3474 * dired.el (dired-view-command-alist): Change :version attribute
3477 * xscheme.el (xscheme-start-hook): Change :version attribute to a
3480 * find-dired.el (find-dired): Implement revert-buffer-function.
3482 * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
3484 2002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk>
3486 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
3487 (f90-get-present-comment-type): Fix earlier change.
3488 (f90-comment-indent): Doc fix.
3489 (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
3490 (f90-looking-at-if-then): Remove lets.
3491 (f90-looking-at-where-or-forall): Handle if split over lines.
3492 (f90-change-keywords): Doc fix.
3494 2002-05-19 Richard M. Stallman <rms@gnu.org>
3496 * indent.el (indent-region): Make COLUMN arg optional.
3498 * files.el (find-file-read-args): New function.
3499 (find-file, find-file-other-window, find-file-other-frame)
3500 (find-file-read-only, find-file-read-only-other-window)
3501 (find-file-read-only-other-frame): Use it.
3503 * custom.el (custom-load-symbol): Verify that LOADED is a string.
3505 * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
3506 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3507 (archive-zip-update-case): Use locate-file to decide whether
3509 (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
3511 * files.el (locate-file): Doc fix.
3513 2002-05-19 John Paul Wallington <jpw@shootybangbang.com>
3515 * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
3518 2002-05-18 Stefan Monnier <monnier@cs.yale.edu>
3520 * uniquify.el (uniquify-rationalize-file-buffer-names):
3521 Always strip the trailing / even if the file is not a directory.
3523 2002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk>
3525 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
3526 initialization in the defvar.
3527 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
3528 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
3529 (f90-font-lock-4): Move the doc strings.
3530 (f90-menu-bar-menu): New internal variable to hold the top-level menu.
3531 (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
3532 (f90-mode-abbrev-table): Initialize in the defvar, with
3533 define-abbrev-table.
3535 2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
3537 * tar-mode.el (tar-octal-time): Fix last change.
3539 2002-05-18 Markus Rost <rost@math.ohio-state.edu>
3541 * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
3542 (report-emacs-bug): Store the prompt in
3543 `report-emacs-bug-text-prompt'. Move Configuration/Important
3544 settings information after the user's report.
3545 (report-emacs-bug-hook): Unclutter by deleting the content of
3546 `report-emacs-bug-text-prompt'.
3548 2002-05-17 Thomas Morgan <tlm@pocketmail.com>
3550 * forms.el (forms-jump-record, forms-insert-record)
3551 (forms-delete-record): Calculate lines from the beginning of the
3552 accessible portion rather than from the beginning of the buffer.
3554 2002-05-16 Eli Zaretskii <eliz@is.elta.co.il>
3556 * ps-mule.el (eval-and-compile): Add a trivial replacement for a
3557 possibly missing encode-char.
3558 (ps-mule-font-info-database-bdf): Add associations for Unicode
3560 (ps-mule-font-info-database-ps-bdf): Doc fix.
3561 (ps-mule-encode-ucs2): New function for encoding Unicode characters.
3563 * tar-mode.el (tar-octal-time): Fix the last argument of logior.
3565 2002-05-16 Stefan Monnier <monnier@cs.yale.edu>
3567 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3568 Find funs defined with defun-cvs-mode.
3569 (find-function-space-re): New const. Skips comments as well.
3570 (find-function-regexp, find-variable-regexp): Use it.
3572 * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
3573 (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
3574 (cvs-mode-set-flags): Don't cons unnecessarily.
3576 2002-05-16 Colin Walters <walters@debian.org>
3578 * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
3579 "Simple Calculator".
3580 (menu-bar-tools-menu) <calc>: New.
3582 2002-05-16 Juanma Barranquero <lektu@terra.es>
3584 * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
3586 * filesets.el (filesets-ormap): Fix typo.
3588 * faces.el (describe-face): Fix typo.
3590 2002-05-15 Stefan Monnier <monnier@cs.yale.edu>
3592 * emacs-lisp/easymenu.el (easy-menu-make-symbol):
3593 Don't treat (lambda () ...) as an expression.
3595 2002-05-15 John Paul Wallington <jpw@shootybangbang.com>
3597 * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
3599 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
3601 * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
3603 2002-05-14 Glenn Morris <gmorris@ast.cam.ac.uk>
3605 * progmodes/fortran.el (fortran-directive-re): New name for
3606 fortran-preprocessor-re. All usage updated.
3607 (fortran-calculate-indent): Give directives zero indentation.
3609 2002-05-14 Jason Rumney <jasonr@gnu.org>
3611 * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
3612 displayed text and internal name as string.
3614 2002-05-14 Kim F. Storm <storm@cua.dk>
3616 * emulation/cua-rect.el (cua--rectangle-operation):
3617 Don't highlight empty lines in rectangles.
3619 * emulation/keypad.el: Improved commentary.
3620 (keypad-setup, keypad-shifted-setup): Added choice to setup
3621 Numeric keypad with decimal key; value is selected character.
3622 (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
3623 (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
3624 (keypad-setup): Arg list changed to support the new options.
3626 2002-05-14 Richard M. Stallman <rms@gnu.org>
3628 * dabbrev.el (dabbrev-case-distinction): New option.
3629 (dabbrev--try-find): Handle dabbrev-case-distinction.
3630 (dabbrev--search): Clean up the code.
3631 (dabbrev-upcase-means-case-search): Doc fix.
3632 (dabbrev-case-replace): Fix custom tags and docs.
3634 2002-05-14 Jochen K
\e,A|
\e(Bpper <jochen@jochen-kuepper.de>
3636 * calc/calc-units.el (math-standard-units): Update from CODATA.
3638 2002-05-14 Stefan Monnier <monnier@cs.yale.edu>
3640 * skeleton.el (skeleton-transformation): Default to `identity'.
3641 (skeleton-insert): Use `move-after' markers and `insert' rather
3642 than rely on insert-before-markers.
3643 (skeleton-internal-1): Handle `> \n' specially so that the newline
3644 is inserted before the first line is indented.
3646 2002-05-14 Mike Williams <mdub@bigfoot.com>
3648 * textmodes/sgml-mode.el (sgml-tag):
3649 Default skeleton-transformation to `identity'.
3651 2002-05-14 Francesco Potorti` <pot@gnu.org>
3653 * shell.el (shell-mode): Make second part of initialisation
3654 depend on whether comint-input-ring is empty, rather than depend
3657 2002-05-14 Richard M. Stallman <rms@gnu.org>
3659 * files.el (make-auto-save-file-name):
3660 Delete the auto-save file after make-temp-file creates it.
3662 2002-05-13 Kim F. Storm <storm@cua.dk>
3664 * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
3665 (cua-mode): Print Enabled/Disabled messages if interactive.
3666 Disable delete-selection-mode and pc-selection-mode when cua-mode
3667 is enabled; reenable if cua-mode is turned off.
3668 Remember setting of transient-mark-mode when cua-mode is enabled;
3669 restore if cua-mode is disabled.
3671 2002-05-13 Richard M. Stallman <rms@gnu.org>
3673 * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
3675 2002-05-13 Colin Walters <walters@gnu.org>
3677 * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
3679 * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
3680 (ibuffer-redisplay-engine): Handle it.
3682 * add-log.el (add-log-mailing-address): Can be a list, too.
3683 (add-change-log-entry): If `add-log-mailing-address' is a list,
3686 2002-05-12 Colin Walters <walters@debian.org>
3688 * replace.el (occur-1): New optional argument `buf-name'.
3689 (occur-revert-function): Use it.
3691 (occur-1): Handle plurals.
3693 (occur-engine): If there are no more matches, then finish
3694 searching the current buffer.
3696 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3698 * net/ange-ftp.el (ange-ftp-try-passive-mode)
3699 (ange-ftp-passive-host-alist): Change :version attributes to be
3702 2002-05-12 Markus Rost <rost@math.ohio-state.edu>
3704 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
3707 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3708 Handle more whitespace/newline combinations in symbol definitions.
3710 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il>
3713 * vc-cvs.el (vc-cvs-global-switches)
3714 (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
3715 * textmodes/sgml-mode.el (sgml-xml-mode)
3716 * ruler-mode.el (ruler-mode)
3717 * replace.el (query-replace-skip-read-only)
3718 * progmodes/fortran.el (fortran-preprocessor-re)
3719 * net/ange-ftp.el (ange-ftp-passive-host-alist)
3720 * mail/sendmail.el (mail-use-dsn)
3721 * faces.el (mode-line-inactive, minibuffer-prompt)
3722 * add-log.el (add-log-always-start-new-record): Change all
3723 post-21.1 :version attributes to 21.4.
3725 2002-05-12 Richard M. Stallman <rms@gnu.org>
3727 * mail/smtpmail.el (smtpmail-mail-address): New variable.
3728 (smtpmail-send-it): Bind and use that instead of `mail-address'.
3729 (smtpmail-via-smtp): Likewise.
3731 * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
3732 (ansi-color-apply-sequence): Avoid duplicates in combined face list.
3734 * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
3736 * subr.el (functionp): Catch errors in indirect-function.
3738 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3740 * net/ldap.el (ldap-search-internal): Unfold folded lines before
3743 * cus-edit.el (customize-set-value): Rename `var' to `variable'
3744 and `val' to `value'.
3745 (customize-save-variable): Rename `var' to `'variable.
3747 2002-05-12 Glenn Morris <gmorris@ast.cam.ac.uk>
3749 * progmodes/fortran.el (fortran-preprocessor-re): New variable.
3750 Use it for font-locking and indentation.
3751 (fortran-previous-statement, fortran-next-statement): Make them
3752 skip over preprocessor lines.
3753 (fortran-calculate-indent): Use fortran-preprocessor-re.
3755 2002-05-10 Kim F. Storm <storm@cua.dk>
3757 * emulation/cua-base.el (cua-enable-cua-keys)
3758 (cua-enable-register-prefix): Added value for `other' choice.
3760 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
3762 * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
3763 (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
3764 (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
3765 Run a named function.
3766 (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
3767 (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
3770 2002-05-10 Kim F. Storm <storm@cua.dk>
3772 * emulation/cua-base.el (cua-mode): Misc. changes to use
3773 emulation-mode-map-alists instead of minor-mode-map-alist.
3775 2002-05-09 Richard M. Stallman <rms@gnu.org>
3777 * mail/rmail.el (rmail-show-message):
3778 Catch error in check-coding-system.
3780 * progmodes/compile.el (compilation-error-regexp-alist):
3781 New element to recognize Python error messages.
3783 * shell.el (shell-replace-by-expanded-directory):
3784 If there's already a / at the end, don't add one.
3786 2002-05-09 Colin Walters <walters@verbum.org>
3788 * ibuffer.el (ibuffer-mode-map): Add :enable guards for
3789 `ibuffer-filter-disable', `ibuffer-pop-filter',
3790 `ibuffer-or-filter', `ibuffer-negate-filter',
3791 `ibuffer-decompose-filter', `ibuffer-save-filters',
3792 `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
3793 `ibuffer-save-filter-groups',
3794 `ibuffer-switch-to-saved-filter-groups',
3795 `ibuffer-delete-saved-filter-groups'.
3797 * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
3799 2002-05-09 Markus Rost <rost@math.ohio-state.edu>
3801 * woman.el (woman-menu): Move symbol before the comment so that
3802 find-function-search-for-symbol finds it.
3804 2002-05-10 Miles Bader <miles@gnu.org>
3806 * facemenu.el (list-colors-display): Don't use
3807 `display-color-cells' unless the display class is one for which
3808 that info is relevant.
3810 2002-05-09 Simon Josefsson <jas@extundo.com>
3812 * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
3814 (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
3817 2002-05-09 Kim F. Storm <storm@cua.dk>
3819 * wid-edit.el (checkbox): New check-mark image.
3821 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3823 * filesets.el (filesets-running-xemacs): Fix last change.
3825 2002-05-08 Markus Rost <rost@math.ohio-state.edu>
3827 * help-fns.el (describe-function-1): If the source is
3828 `loaddefs.el', look for the real source. This is necessary only
3831 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3832 Add autoload cookie.
3833 (find-function-regexp): Include
3834 "\(quote " to match the defaliases in loaddefs.el.
3836 * filesets.el (filesets-conditional-sort): Use copy-sequence,
3838 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
3839 Defvar them to nil if running in Emacs.
3841 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3843 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
3844 to flyspell overlays.
3846 * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
3848 2002-05-08 Richard M. Stallman <rms@gnu.org>
3850 * diff.el (diff-regexp-alist): Doc fix.
3852 * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
3854 2002-05-08 Simon Marshall <simon@gnu.org>
3856 * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
3857 the frame name as the car of a menu entry, rather than the frame.
3859 2002-05-08 Juanma Barranquero <lektu@terra.es>
3861 * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
3864 2002-05-07 Colin Walters <walters@verbum.org>
3866 * replace.el (occur-unfontify-region-function): Delete.
3867 (occur-mode): Don't use it.
3868 (occur-engine): Respect `keep-props'.
3869 (occur-accumulate-lines): If we're moving forward, decrement;
3870 don't increment, and vice versa.
3872 2002-05-08 Toru Tomabechi <Toru.Tomabechi@orient.unil.ch>
3874 * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
3875 (tibetan-canonicalize-for-unicode-regexp): New variables.
3876 (tibetan-canonicalize-for-unicode-region): New function.
3877 (tibetan-strict-unicode): New variable.
3878 (tibetan-pre-write-canonicalize-for-unicode): New function.
3880 2002-05-07 Markus Rost <rost@math.ohio-state.edu>
3882 * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
3883 the autoload-cookie. Remove comment.
3885 * ffap.el (ffap): Don't hide it behind the autoload-cookie.
3887 * rect.el (close-rectangle): Don't hide it behind the
3890 2002-05-07 Juanma Barranquero <lektu@terra.es>
3892 * windmove.el (windmove-default-keybindings): Add optional
3893 parameter to allow using a modifier other than 'shift.
3895 2002-05-07 Thomas Link <t.link@gmx.at>
3898 (filesets-external-viewers): Fix customization problem.
3899 (filesets-some): Replaces cl's `some'. Calls changed.
3900 (filesets-member): Replaces cl's `member*'. Calls changed.
3901 (filesets-ormap): New function.
3903 2002-05-07 John Paul Wallington <jpw@shootybangbang.com>
3905 * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
3908 2002-05-07 Colin Walters <walters@gnu.org>
3910 * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
3911 (ibuffer-clear-filter-groups): Likewise.
3912 (ibuffer-kill-filter-group): Likewise.
3913 (ibuffer-kill-line): Likewise.
3914 (ibuffer-read-filter-group-name): New function.
3915 (ibuffer-jump-to-filter-group): Use it.
3916 (ibuffer-kill-filter-group): Likewise.
3917 (ibuffer-yank-filter-group): Likewise.
3918 (ibuffer-decompose-filter-group): New function.
3920 * ibuffer.el (ibuffer-mode-map): Bind it. Add :enable guard
3921 around `ibuffer-filters-to-filter-group' menu item. Fix :enable
3922 guards for `ibuffer-pop-filter-group' and
3923 `ibuffer-clear-filter-groups'.
3925 2002-05-06 Markus Rost <rost@math.ohio-state.edu>
3927 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3928 Use with-syntax-table.
3930 2002-05-06 Francesco Potorti` <pot@gnu.org>
3932 * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
3934 2002-05-05 Markus Rost <rost@math.ohio-state.edu>
3936 * time-stamp.el (time-stamp-format): Doc fix: escape open
3937 parenthesis in column 0.
3939 2002-05-04 Richard M. Stallman <rms@gnu.org>
3941 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
3942 Handle both cases: when the menu item has cached info
3943 and when it doesn't.
3945 * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
3946 (filesets-open-file-function, filesets-save-buffer-function): Likewise.
3947 (filesets-tree-max-level): Doc fix.
3948 (filesets-commands, filesets-external-viewers)
3949 (filesets-ingroup-patterns): Mark as risky.
3950 (filesets-cache-hostname-flag): Doc fix.
3951 (filesets-menu-cache-file): Doc fix. Mark as risky.
3952 (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
3953 Don't defcustom them if running in Emacs.
3955 2002-05-04 Thomas Link <t.link@gmx.at>
3957 * filesets.el (filesets-ingroup-collect-files):
3958 Fix problem with inclusion groups' :scan-depth property.
3960 2002-05-04 Colin Walters <walters@verbum.org>
3962 * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
3963 "Default" group earlier. Push killed group on
3964 `ibuffer-filter-group-kill-ring'.
3965 (ibuffer-kill-line): Document. Don't push killed group ourselves.
3966 (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
3967 (ibuffer-insert-filter-group-before): New function, broken out
3968 from `ibuffer-yank'.
3969 (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
3971 * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
3972 (ibuffer-mode-view-menu): Unused variables; deleted.
3973 (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
3975 2002-05-04 John Paul Wallington <jpw@shootybangbang.com>
3977 * ibuffer.el (ibuffer-mode-groups-popup): New variable.
3978 (toplevel): Bind filter group menu entries in it. Add :enable
3979 forms for some menu items.
3980 (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
3981 to `ibuffer-mouse-popup-menu'.
3982 (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
3983 group name, and if so, pop up a filter group menu.
3985 2002-05-04 Jason Rumney <jasonr@gnu.org>
3987 * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
3988 (mwheel-scroll): Recognize nil scroll amount as documented.
3990 * term/w32-win.el (mouse-wheel-scroll-line)
3991 (mouse-wheel-scroll-screen): Remove.
3992 ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
3994 * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
3996 2002-05-04 Markus Rost <rost@math.ohio-state.edu>
3998 * emacs-lisp/find-func.el (find-function-search-for-symbol):
3999 Bind case-fold-search when searching.
4001 2002-05-04 Eli Zaretskii <eliz@is.elta.co.il>
4003 * apropos.el (apropos-print): Fix the reference to mouse-2.
4005 2002-05-04 Daniel Pfeiffer <occitan@esperanto.org>
4007 * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
4009 2002-05-04 Kim F. Storm <storm@cua.dk>
4011 * cus-edit.el (custom-buffer-verbose-help): New variable.
4012 (custom-buffer-create-internal): Remove verbose introduction
4013 in customization buffer when it is nil.
4015 2002-05-03 Dave Love <fx@gnu.org>
4017 * international/mule-cmds.el (select-safe-coding-system):
4018 Don't offer coding systems that use locking shift.
4019 Ask for confirmation if chosen coding system disagrees with
4020 a `coding:' spec in the file.
4022 2002-05-03 John Wiegley <johnw@gnu.org>
4024 * eshell/esh-var.el (eshell-modify-global-environment): Added this
4025 customization variable, which will cause any "export" commands
4026 within any eshell buffer to modify the global Emacs environment.
4027 It defaults to nil, which means that such commands will only
4028 modify that Eshell buffer's environment.
4029 (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
4031 * eshell/em-cmpl.el (eshell-command-completions-alist):
4032 Improve default completion targets for objdump, nm and readelf.
4034 2002-05-03 Colin Walters <walters@verbum.org>
4036 * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
4037 (gamegrid-add-score-with-update-game-score):
4038 Use `shared-game-score-directory'. Correctly handle non-setuid case.
4040 2002-05-02 Colin Walters <walters@verbum.org>
4042 * replace.el (occur-mode-map): Bind "q" to `delete-window'.
4043 (occur-1): If one of the buffers we're searching is the *Occur*
4044 buffer itself, handle it by creating a temporary buffer. If any
4045 of the buffers being searched are killed, note that in the search
4046 result message. Also, set local variables before we possibly kill
4049 2002-05-02 Kim F. Storm <storm@cua.dk>
4051 * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
4052 (menu-bar-options-save): Added cua-mode.
4053 (menu-bar-options-menu): Added toggle for cua-mode.
4054 Disable toggle for transient-mark-mode if cua-mode is enabled.
4056 * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
4059 2002-05-01 Richard M. Stallman <rms@gnu.org>
4061 * help.el (view-todo): New function.
4062 (help-map): Bind C-h C-t to view-todo.
4063 (help-for-help): Change the text.
4065 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk>
4067 * progmodes/f90.el: Yet more doc string, commment and whitespace
4069 (f90-imenu-flag): New name for internal variable f90-imenu.
4070 (f90-blocks-re, f90-program-block-re, f90-end-if-re)
4071 (f90-no-break-re): Use regexp-opt.
4072 (f90-end-type-re): Add closing "\\>".
4073 (f90-indent-region): Correctly indent comments embedded in
4075 (f90-indent-new-line): Make it indent the current line, as it should.
4076 (f90-line-continued, f90-get-present-comment-type)
4077 (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
4078 (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
4079 (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
4080 (f90-change-keywords): Minor code tidying.
4082 * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
4083 typo `fortran-strip-sqeuence-nos'.
4085 2002-05-01 Eli Zaretskii <eliz@is.elta.co.il>
4087 * simple.el (clone-indirect-buffer-other-window): Fix a typo in
4090 2002-05-01 Kim F. Storm <storm@cua.dk>
4092 * emulation/cua-base.el (cua--pre-command-handler):
4093 Only interpret delete-selection property if mark-active.
4094 (cua-mode): Fixed require in defcustom.
4096 2002-05-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4098 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
4101 2002-05-01 Colin Walters <walters@verbum.org>
4103 * textmodes/tex-mode.el (tex-validate-buffer):
4104 Use `occur-revert-arguments' instead of setting `occur-nlines' and
4105 `occur-buffer'. Don't test for `input-pending-p' in loop.
4106 Set text property `occur-target' instead of `occur'.
4108 2002-04-30 John Wiegley <johnw@gnu.org>
4110 * align.el (align-region): Fixed the fix to align-region, because
4111 the "name" argument was appearing twice.
4113 2002-05-01 Martin Stjernholm <bug-cc-mode@gnu.org>
4115 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
4116 to handle protection labels, one which doesn't get confused by
4119 * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
4120 functions that have "class" or "struct" in the return type as
4123 2002-04-30 Kim F. Storm <storm@cua.dk>
4125 * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
4126 Options" to "New Options..."; rephrase tooltip.
4127 Rephrase tooltip for "Specific Option...".
4128 Added "Saved Options" item. [from Simon Marshall]
4130 2002-04-30 Richard M. Stallman <rms@gnu.org>
4132 * time.el (display-time-mail-directory)
4133 (display-time-mail-function): Doc fixes.
4135 * ediff-hook.el: Remove autoload cookies.
4137 * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
4139 * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
4141 * align.el (align-region): Fix call to `message'.
4142 Check that (car rule) is a symbol.
4144 * autoinsert.el (auto-insert-directory): Doc fix.
4146 * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
4148 * descr-text.el: New file, broken out of facemenu.el.
4150 * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
4152 2002-04-29 Markus Rost <rost@math.ohio-state.edu>
4154 * mail/emacsbug.el (report-emacs-bug-hook):
4155 Use replace-match only if search was successful.
4157 2002-04-29 Richard M. Stallman <rms@gnu.org>
4159 * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
4161 * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
4162 if the user edits the Emacs version number in the text.
4164 * filesets.el (filesets-running-xemacs): Make defvar unconditional.
4165 (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
4166 (filesets-error): Simplify definition and make conditional
4167 on filesets-running-xemacs.
4168 (filesets-find-file-using): Renamed from fsfind-file-using.
4170 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
4172 * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
4173 (Info-read-node-name-1): Complete file names.
4174 (Info-complete-menu-item): Don't cons unnecessarily.
4176 * files.el (locate-file): New fun.
4177 (locate-file-completion): Rename from load-completion and generalize.
4178 (load-library): Use it.
4179 (make-auto-save-file-name): Expand caddr.
4181 * newcomment.el (comment-fill-column): New var.
4182 (comment-indent): Use it.
4183 (comment-or-uncomment-region): New fun.
4184 (comment-dwim): Use it.
4186 2002-04-29 Colin Walters <walters@verbum.org>
4188 * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
4189 (ibuffer-kill-line): Copy the filter group data structure when killing.
4190 (ibuffer-yank): Handle case where we're yanking on the default
4192 (ibuffer-delete-saved-filter-groups): Doc fix.
4194 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4195 Test whether or not update-game-score is setuid, and do the right
4198 2002-04-29 Kim F. Storm <storm@cua.dk>
4200 * subr.el (remove-yank-excluded-properties): New helper function.
4201 (insert-for-yank, insert-buffer-substring-as-yank): Use it.
4203 * simple.el (yank-excluded-properties): Added help-echo to list.
4205 2002-04-29 Glenn Morris <gmorris@ast.cam.ac.uk>
4207 * autoinsert.el (auto-insert-directory): Doc fix.
4209 * progmodes/f90.el: Add/change doc strings for many inline
4210 functions. Whitespace changes.
4211 (f90-indent-line-no, f90-update-line): Minor code changes.
4213 2002-04-29 Kim F. Storm <storm@cua.dk>
4215 * emulation/cua-base.el: New file.
4217 * emulation/cua-rect.el: New file.
4219 * emulation/cua-gmrk.el: New file.
4221 * emulation/keypad.el: New file.
4223 2002-04-29 Triet Hoai Lai <thlai@ee.usyd.edu.au>
4225 * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
4226 (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
4227 New Vietnamese coding system.
4229 * language/viet-util.el: Update Commentary section.
4231 2002-04-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4233 * filesets.el (filesets-data): Doc fix.
4234 (filesets-running-xemacs): Define even when compiling.
4236 * recentf.el (recentf-cancel-dialog): Remove dot at the end of
4239 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
4241 * textmodes/fill.el (fill-context-prefix): Fix last change with
4242 yet-another-approach.
4244 2002-04-28 Markus Rost <rost@math.ohio-state.edu>
4246 * net/ange-ftp.el (ange-ftp-passive-host-alist)
4247 (ange-ftp-bs2000-additional-pubsets): Fix custom type.
4249 * files.el (small-temporary-file-directory): Fix custom type.
4251 2002-04-28 Glenn Morris <gmorris@ast.cam.ac.uk>
4253 * progmodes/f90.el (f90-xemacs-flag): New variable.
4254 (f90-mark-subprogram-overlay): New variable.
4255 (f90-mark-subprogram): Now it highlights the subprogram.
4256 (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
4257 Fix highlighting of various "type" forms.
4259 2002-04-28 Colin Walters <walters@verbum.org>
4261 * ibuffer.el (ibuffer-mode): Additional documentation on filter
4264 2002-04-28 John Paul Wallington <jpw@shootybangbang.com>
4266 * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
4267 ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
4269 2002-04-28 Richard M. Stallman <rms@gnu.org>
4271 * mail/sendmail.el (mail-recover-1): Decrease non-random-len
4272 by 1 for the newly-readded #.
4274 * files.el (make-auto-save-file-name): Specify # as suffix
4275 in the non-file-visiting case.
4277 * subr.el (make-temp-file): New arg SUFFIX.
4279 * filesets.el: New file.
4281 * replace.el (occur-accumulate-lines): Avoid incf and decf.
4282 (occur-engine-add-prefix): New function.
4283 (occur-engine): Avoid using macrolet, incf and decf.
4284 Use occur-engine-add-prefix instead.
4285 Rename `l' to `lines' and `c' to `matches'.
4287 * replace.el (occur-engine, occur-mode-mouse-goto)
4288 (occur-mode-find-occurrence, occur-mode-goto-occurrence)
4289 (occur-mode-goto-occurrence-other-window)
4290 (occur-mode-display-occurrence): A position is just a marker,
4293 * replace.el (occur-revert-arguments):
4294 Renamed from occur-revert-properties. All uses changed.
4296 2002-04-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4298 * recentf.el (recentf-menu-before): Use string to specify path in
4301 * international/mule-cmds.el (read-language-name): Take care of
4304 2002-04-27 Richard M. Stallman <rms@gnu.org>
4306 * custom.el (custom-load-symbol): Moved from cus-edit.el.
4307 (custom-load-recursion): Likewise.
4309 * cus-edit.el (custom-load-symbol): Moved to custom.el.
4310 (custom-load-recursion): Likewise.
4312 * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
4313 generated by easymenu are now lowercase.
4315 2002-04-27 Richard M. Stallman <rms@gnu.org>
4317 * menu-bar.el (menu-bar-update-buffers): Add menu items
4318 Next Buffer and Previous Buffer.
4320 * simple.el (next-buffer, prev-buffer): New commands.
4321 Bind C-x left and C-x right to them.
4323 * info.el (Info-header-line): Mark it as risky-local-variable.
4325 * subr.el (insert-for-yank): Replace `category' property
4326 with whatever properties it stands for.
4328 * subr.el (member-ignore-case): Ignore non-strings in LIST.
4330 2002-04-27 Miles Bader <miles@gnu.org>
4332 * faces.el (read-face-name): Format the prompt correctly when
4335 2002-04-26 Andrew Choi <akochoi@shaw.ca>
4337 * term/mac-win.el: Don't call ediff-toggle-multiframe.
4338 Set default directory. Set process-connection-type to nil.
4340 2002-04-26 Richard M. Stallman <rms@gnu.org>
4342 * loadup.el: Explicitly load cus-face and timer.
4344 * isearch.el: Don't require timer.
4346 * faces.el: Don't require cus-face.
4348 * cus-edit.el (customize-face): Use read-face-name
4349 and handle multiple faces.
4350 (customize-face-other-window): Make it work similarly.
4352 * faces.el (read-face-name): New defaulting features.
4353 New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
4354 (list-faces-display): Use the face, not its name string,
4355 as arg when running customize-face.
4356 Put a `read-face-name' prop on the entire line.
4357 (describe-face): Handle multiple faces via read-face-name.
4359 * textmodes/tex-mode.el (tex-start-options): New variable.
4360 (tex-start-commands): New variable.
4361 (tex-start-options-string): Variable deleted.
4362 (tex-start-tex): Use tex-start-options and tex-start-commands,
4363 not tex-start-options-string.
4364 (tex-command): Doc fix.
4366 2002-04-26 Sam Steingold <sds@gnu.org>
4368 * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
4369 not in the authinfo/netrc, keep `cred' at nil.
4371 2002-04-26 Gerd Moellmann <gerd@gnu.org>
4373 * find-file.el: Remove Ada-specific example code.
4375 2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
4377 * ediff-hooks.el: Put back the autoloads.
4379 2002-04-25 Colin Walters <walters@verbum.org>
4381 * ibuffer.el (define column process): Use `ibuffer-aif'.
4383 * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
4385 (ibuffer-yank): Be sure to `setq' after we use `nconc'.
4386 (ibuffer-save-filter-groups): Correctly structure filter groups.
4387 (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
4390 2002-04-25 Simon Josefsson <jas@extundo.com>
4392 * mail/sendmail.el (mail-use-dsn): New variable to request
4393 delivery status notification from MTA.
4394 (sendmail-send-it): Use it.
4396 * mail/smtpmail.el (smtpmail-queue-counter): New variable.
4397 (smtpmail-send-it): Use it to construct new queue filenames
4398 (needed if you send more than one message per second, which is
4399 possible if you use Gnus Agent).
4401 * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
4403 (smtpmail-try-auth-methods): Support netrc data.
4404 (netrc-parse): Autoload netrc.
4406 2002-04-25 Colin Walters <walters@verbum.org>
4408 * replace.el (multi-occur-by-filename-regexp): Doc fix.
4409 (occur-engine): Go to `point-min'. Make nlines argument actually
4410 mean number of context lines. Handle it. Pad digits to the right.
4412 * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
4413 `ibuffer-filter-groups'. All users updated.
4414 (ibuffer-show-empty-filter-groups): New variable.
4415 (ibuffer-saved-filter-groups): New variable.
4416 (ibuffer-maybe-save-stuff): Renamed from
4417 `ibuffer-maybe-save-saved-filters'. Callers updated.
4418 Handle `ibuffer-saved-filter-groups'.
4419 (ibuffer-hidden-filtering-groups): Renamed to
4420 `ibuffer-hidden-filter-groups'.
4421 (ibuffer-filter-group-kill-ring): New variable.
4422 (ibuffer-save-with-custom): Doc fix.
4423 (ibuffer-set-filter-groups-by-mode): New function.
4424 (ibuffer-clear-filter-groups): New function.
4425 (ibuffer-current-filter-groups-with-position): Renamed from
4426 `ibuffer-current-filter-groups'. Callers updated.
4427 (ibuffer-kill-filter-group): New function.
4428 (ibuffer-kill-line): New function.
4429 (ibuffer-yank): New function.
4430 (ibuffer-save-filter-groups): New function.
4431 (ibuffer-delete-saved-filter-groups): New function.
4432 (ibuffer-switch-to-saved-filter-groups): New function.
4433 (ibuffer-mark-on-buffer): Add optional arguments for adding a
4434 specific mark, and marking on a specific group.
4436 * ibuffer.el (ibuffer-formats): Doc fix.
4437 (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
4438 Bind new functions from ibuf-ext.el. Add menu entries for them.
4439 Remove superfluous tooltips.
4440 (ibuffer-toggle-marks): If on a group name, then toggle marks just
4442 (ibuffer-mark-interactive): Handle filter groups.
4443 (ibuffer-mark-forward, ibuffer-unmark-forward)
4444 (ibuffer-mark-for-delete, ibuffer-unmark-backward)
4445 (ibuffer-mark-for-delete-backwards): Update docs.
4446 (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
4447 to `ibuffer-current-filter-groups-with-position'.
4448 (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
4449 (ibuffer-mode): Add some documentation about filter groups.
4451 2002-04-25 Andreas Schwab <schwab@suse.de>
4453 * find-dired.el (find-name-dired): Don't quote pattern twice.
4455 2002-04-26 Miles Bader <miles@gnu.org>
4457 * cus-edit.el (customize-face, customize-face-other-window):
4458 Use default instead of initial-input for suggested face.
4460 2002-04-25 Gerd Moellmann <gerd@gnu.org>
4462 * cus-edit.el (customize-face-other-window, customize-face):
4463 Interactively, when point is on text with a face, suggest to
4464 customize that face.
4466 2002-04-25 Glenn Morris <gmorris@ast.cam.ac.uk>
4468 * progmodes/f90.el: General tidy-up of commentary and some doc
4471 2002-04-24 Glenn Morris <gmorris@ast.cam.ac.uk>
4473 * scroll-all.el (scroll-all-function-all) New function to do the
4475 (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
4476 scroll-all-page-down-all, scroll-all-page-up-all,
4477 scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
4478 Make them use scroll-all-function-all.
4480 * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
4481 with line-beginning-position.
4482 (f90-get-end-of-line): Removed and replaced with line-end-position.
4483 (f90-match-piece): Removed and replaced with match-string.
4484 (f90-current-indentation): Remove `current-column'.
4485 (f90-get-present-comment-type): Use match-string rather than
4487 (f90-match-end): Use line-beginning-position, line-end-position
4488 rather than beginning-of-line, end-of-line.
4489 (f90-startup-message): Variable removed.
4491 2002-04-24 Colin Walters <walters@verbum.org>
4493 * replace.el (occur-accumulate-lines): Add optional argument
4494 `no-props'. Handle it.
4495 (occur-engine): Use it.
4497 * ibuf-ext.el (toplevel): Remove byte-compile-dynamic. Try to set
4498 up autoloads manually.
4499 (ibuffer-split-list): New function.
4500 (ibuffer-filtering-groups): New variable.
4501 (ibuffer-hidden-filtering-groups): New variable.
4502 (ibuffer-mouse-toggle-filter-group): New function.
4503 (ibuffer-toggle-filter-group): New function.
4504 (ibuffer-toggle-filter-group-1): New function.
4505 (ibuffer-forward-filter-group): New function.
4506 (ibuffer-backward-filter-group): New funtion.
4507 (ibuffer-generate-filter-groups): New function.
4508 (ibuffer-filters-to-filter-group): New function.
4509 (ibuffer-pop-filter-group): New function.
4510 (ibuffer-jump-to-filter-group): New function.
4511 (ibuffer-do-occur): Just use `occur-read-primary-args'
4513 * ibuffer.el (ibuffer-filter-group-name-face): New.
4514 (ibuffer-mode-map): Bind and add menu entries for most new
4515 functions; also, bind the arrow keys to the movement functions.
4516 (ibuffer-mode-filter-group-map): New.
4517 (ibuffer-mouse-toggle-mark): Handle group names.
4518 (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
4519 (ibuffer-skip-properties): New function.
4520 (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
4521 group names. Also, handle new properties.
4522 (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
4523 Move error handling to `ibuffer-current-buffer'.
4524 (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
4525 (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
4526 (ibuffer-toggle-marks): Add optional group argument.
4527 (ibuffer-mark-interactive): Skip group names.
4528 (ibuffer-current-buffer): Clean up error handling.
4529 (ibuffer-fontify-region-function): Fontify group names.
4530 (ibuffer-map-lines): Add extra group argument. Handle it.
4531 (ibuffer-current-filter-groups): New function.
4532 (ibuffer-redisplay): Handle hidden filtering groups.
4533 (ibuffer-sort-bufferlist): New function, taken from
4534 `ibuffer-insert-buffers-and-marks'.
4535 (ibuffer-insert-filter-group): New function.
4536 (ibuffer-redisplay-engine): Renamed from
4537 `ibuffer-insert-buffers-and-marks'. Handle new filtering groups.
4538 (ibuffer): Add filter-groups argument. Handle it.
4539 Use `save-selected-window'.
4540 (ibuffer-mode): Make `ibuffer-filtering-groups' and
4541 `ibuffer-hidden-filtering-groups' buffer-local.
4543 * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
4545 2002-04-24 Richard M. Stallman <rms@gnu.org>
4547 * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
4548 (easy-menu-define-key-intern): Function deleted; callers intern
4549 and then call easy-menu-define-key.
4550 (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
4551 (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
4552 (easy-menu-name-match): New function.
4553 (add-submenu): New function.
4554 (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
4556 2002-04-24 Eli Zaretskii <eliz@is.elta.co.il>
4558 * menu-bar.el (menu-bar-adv-search-menu)
4559 (menu-bar-adv-search-menu): Improve the help text.
4561 2002-04-24 Simon Josefsson <jas@extundo.com>
4563 * net/netrc.el: New file.
4565 2002-04-24 Thomas DeWeese <tdeweese@rochester.rr.com>
4567 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
4568 Check if any of the available selection sources has new content
4569 and if so it will return that content.
4571 2002-04-24 Miles Bader <miles@gnu.org>
4573 * menu-bar.el (buffers-menu-show-directories)
4574 (buffers-menu-show-status): New variables.
4575 (menu-bar-update-buffers-1): Use them.
4577 2002-04-24 Martin Stjernholm <mast@lysator.liu.se>
4579 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
4580 from `c-do-auto-fill' and point is at or near the limit of the
4581 comment. Fixed bug when the prefix from `c-guess-fill-prefix'
4582 is longer than the text on the first line of the comment when
4585 2002-04-24 Miles Bader <miles@gnu.org>
4587 * menu-bar.el (menu-bar-update-buffers-1): Make sure
4588 `uniquify-buffer-name-style' is bound.
4590 2002-04-23 Colin Walters <walters@verbum.org>
4592 * replace.el (toplevel): Require `cl' while compiling.
4593 (occur-buffer, occur-nlines): Delete.
4594 (occur-revert-properties): Rename to `occur-revert-properties'.
4595 (occur-mode): Handle it. Set up font lock.
4596 (occur-revert-function): Simply apply `occur-1'.
4597 (occur-mode-find-occurence, occur-mode-mouse-goto)
4598 (occur-mode-goto-occurrence-other-window)
4599 (occur-mode-display-occurrence): Handle buffer property.
4600 (list-matching-lines-face): Use defcustom.
4601 (list-matching-lines-buffer-name-face): New variable.
4602 (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
4604 (occur-read-primary-args): Move out of `occur'.
4605 (occur): Delete. Now simply call `occur-1'.
4606 (multi-occur, multi-occur-by-filename-regexp): New functions.
4607 (occur-1): New function.
4608 (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
4609 previous implementation of `occur'; taken from ibuf-ext.el.
4610 (occur-fontify-on-property): New function.
4611 (occur-fontify-region-function, occur-unfontify-region-function):
4614 * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
4616 * ibuf-ext.el (ibuffer-depropertize-string): Delete.
4617 (ibuffer-occur-match-face): Delete.
4618 (ibuffer-occur-props, ibuffer-occur-mode): Delete.
4619 (ibuffer-occur-mouse-display-occurence): Delete.
4620 (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
4621 (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
4622 (ibuffer-occur-engine): Moved to replace.el.
4623 (ibuffer-do-occur): Simply call `occur-1'.
4625 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4626 Handle the case where we're already viewing the score file.
4628 2002-04-23 Andreas Schwab <schwab@suse.de>
4630 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
4633 2002-04-23 Miles Bader <miles@gnu.org>
4635 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
4636 directory separator if there's no directory. Don't display
4637 directories at all if uniquify is active. Some code cleanup.
4638 (uniquify-buffer-name-style): Declare (but don't initialize).
4640 * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
4641 for command menu entries, since the low-level menu code modifies
4642 them. Cache the resulting list.
4643 (menu-bar-buffers-menu-command-entries): New variable.
4645 * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
4646 Add separator line before commands
4647 Remove old crufty code that tried to line things up by adding
4648 spaces to entries (it doesn't work).
4649 Move `Frames' submenu after the normal buffers, and add a
4650 separator line before it.
4651 (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
4653 2002-04-22 Richard M. Stallman <rms@gnu.org>
4655 * files.el (after-find-file): Use %s to output MSG.
4657 * dired.el (dired-mouse-find-file-other-window):
4658 Handle events that move out of the window.
4660 2002-04-23 Martin Stjernholm <mast@lysator.liu.se>
4662 * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
4663 was moved to the following line when it was at the first line
4664 of a block comment where comment-start-skip matched to eol.
4666 2002-04-22 Richard M. Stallman <rms@gnu.org>
4668 * simple.el (line-move-finish): Find beg and end of line
4669 before calling line-move-to-column. Do consider intangible
4670 when finding the end. Take more care in analyzing the results
4671 of intangibility after line-move-to-column.
4673 2002-04-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4675 * international/mule-diag.el (list-input-methods-1): Doc fix
4676 (LEIM is now part of the standard distribution).
4678 * tmm.el (tmm-completion-prompt): Doc fix.
4680 * hilit-chg.el (global-highlight-changes): Capitalize status texts.
4682 2002-04-22 Edward M. Reingold <reingold@emr.cs.iit.edu>
4684 * diary-lib.el (include-other-diary-files): Allow modifying
4685 included buffer, to turn off selective display.
4687 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4689 * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
4690 pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
4691 emacsen that doesn't support it.
4693 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4695 * progmodes/cc-align.el, progmodes/cc-engine.el,
4696 progmodes/cc-styles.el, progmodes/cc-vars.el
4697 (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
4698 Find correct anchor for statement-cont in top level constructs.
4699 Analyze variable initializations in top level constructs as
4700 topmost-intro-cont instead of statement-cont. That is an
4701 incompatible change but it gives better consistency. The new
4702 lineup function c-lineup-topmost-intro-cont' compensates for
4703 it and is now put on topmost-intro-cont by default.
4705 * progmodes/cc-align.el, progmodes/cc-engine.el,
4706 progmodes/cc-langs.el (c-lineup-argcont): Lineup function
4707 contributed by Kevin Ryde.
4709 (c-in-gcc-asm-p): Function to recognize asm statements.
4710 Contributed by Kevin Ryde.
4712 (c-opt-asm-stmt-key): New language variable to recognize the
4713 beginning of asm statements.
4715 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4717 * progmodes/cc-engine.el (c-guess-basic-syntax):
4718 Detect variable declarations after class and struct declarations
4719 correctly. Fixed limit error when finding the anchor for
4720 template-args-cont and topmost-intro-cont.
4722 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4724 * progmodes/cc-cmds.el (c-beginning-of-defun)
4725 (c-declaration-limits): Find the "line oriented" declaration
4726 start too, just like the "line oriented" end is found.
4728 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4730 * progmodes/cc-vars.el (c-offsets-alist): A more sane default
4731 for `inexpr-statement'. This is not compatible, though.
4732 I think the benefit of a good default style outweights that in
4733 this case. Besides, `inexpr-statement' is not very common.
4735 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4737 * progmodes/cc-cmds.el (c-electric-delete-forward):
4738 Fix silly bug that caused it to delete backwards in hungry delete
4739 mode. (It's amazing that this bug hasn't been reported.)
4741 * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
4742 Extracted the code to get the declaration limits from
4743 `c-mark-function' to a new `c-declaration-limits'.
4745 (c-indent-defun): Use the same method to get the limits of the
4746 declaration or macro as `c-mark-function'.
4748 * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
4749 list initializers correctly (but costly; it ought to be
4750 integrated into `c-beginning-of-statement-1').
4752 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4754 * progmodes/cc-cmds.el, progmodes/cc-engine.el
4755 (c-beginning-of-defun, c-end-of-defun, c-mark-function):
4756 Rewritten to detect the declaration limits better.
4757 Now handles K&R argdecls, class definitions followed by variables etc.
4759 (c-in-knr-argdecl): Broke out the K&R argdecl test in
4760 `c-beginning-of-decl-1' to this new function.
4762 (c-end-of-statement-1, c-end-of-decl-1):
4763 Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
4764 handles declarations that continue after the block.
4766 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
4767 Added an option to restrict matching to the top level of the
4770 * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
4771 New regexp to recognize declarations that continue after the block.
4773 (c-syntactic-eol): New regexp to match a "syntactic" eol.
4775 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4777 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
4778 that often caused the backward limit to be lost at the top
4779 level. This improves performance a bit.
4781 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
4782 New function that works like `re-search-forward' but only returns
4783 matches in syntactically significant text.
4785 * progmodes/cc-engine.el: Fixed a faster and more accurate way
4786 to recognize K&R argdecls.
4788 (c-beginning-of-decl-1): New function that put point at the
4789 beginning of the declaration. It handles K&R argdecl blocks.
4791 (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
4792 code with one that doesn't depend on the current indentation.
4793 The anchor position for `knr-argdecl' has also changed, but in
4794 a way that is unlikely to cause compatibility problems.
4796 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4798 * progmodes/cc-defs.el, progmodes/cc-engine.el
4799 (c-forward-comment): `forward-comment' in XEmacs skips over
4800 line continuations in the backward direction. Correct for
4801 that. Also made this a defun since it has grown too large now
4804 * progmodes/cc-langs.el: More convenient and decentralized
4805 setup of the language specific variables. The regexp-opt
4806 mangling is also done at compile time now.
4808 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4810 * progmodes/cc-cmds.el (c-indent-line-or-region):
4811 Call `c-indent-line' directly instead of through
4812 `indent-according-to-mode' so that this function always
4813 indents syntactically.
4815 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
4816 where a class beginning with a nested class could cause an
4817 infinite loop (the state outside the narrowed out class is
4820 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4822 * progmodes/cc-align.el, progmodes/cc-cmds.el,
4823 progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
4824 the context sensitive analysis inside macros is restricted to
4825 the bodies of #define's; other things, like #if expressions,
4826 never have anything in common with their surroundings.
4827 The old `cpp-macro-cont' syntax is now used in situations where
4828 the syntactic analysis isn't applicable, and a new syntactic
4829 element `cpp-define-intro' is used to add indentation in
4832 (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
4833 better reflect its use.
4835 * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
4836 continuation backslashes in the detection of `arglist-cont-nonempty'.
4838 * progmodes/cc-align.el: Use the vector form in the return
4839 value in all cases where lineup functions return absolute columns.
4841 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4843 * progmodes/cc-engine.el (c-add-stmt-syntax)
4844 (c-guess-basic-syntax): Anchor `brace-list-intro' and
4845 `bracec-list-close' better for brace lists nested inside expressions.
4847 * progmodes/cc-engine.el, progmodes/cc-langs.el,
4848 progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
4849 various language specific variables and their initialization.
4850 The keyword regexps are now lists that are combined with
4851 regexp-opt. Some variables have changed names to fit better
4852 with the naming convention.
4854 * progmodes/cc-defs.el, progmodes/cc-vars.el
4855 (c-buffer-is-cc-mode): The value is the mode symbol of the
4856 original CC Mode mode.
4858 (c-major-mode-is): Compare against the buffer local variable
4859 `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
4861 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4863 * progmodes/cc-engine.el (c-forward-syntactic-ws)
4864 (c-backward-syntactic-ws, c-forward-token-1)
4865 (c-backward-token-1, c-in-literal, c-literal-limits)
4866 (c-collect-line-comments, c-literal-type, c-on-identifier)
4867 (c-guess-basic-syntax): These functions are now considered part
4868 of the "CC Mode API" and may be used by other code.
4869 That's signified by making their documentation into docstrings.
4871 (c-whack-state, c-hack-state, c-skip-case-statement-forward):
4872 Removed these internal functions since they aren't used.
4874 (c-forward-to-cpp-expression): Classified this function as internal.
4876 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4878 * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
4879 Simplified these regexps; the class keywords they contain
4880 ought to be enough to avoid false matches, so checking for
4881 following identifiers etc is just unnecessary (and might also
4882 fail for oddly formatted code).
4884 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4886 * progmodes/cc-engine.el, progmodes/cc-cmds.el
4887 (c-forward-comment-lc): New function that behaves like
4888 `c-forward-comment', with the exception that line
4889 continuations are treated as whitespace.
4891 (c-beginning-of-statement): Use `c-forward-comment-lc', to
4892 work correctly in macros and other places where line
4893 continuations should be treated as whitespace.
4895 * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
4896 normal label in a switch block as a case label, to get
4897 consistent lineup with the case labels.
4899 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
4900 in skipping over a macro that ends with an empty line.
4902 * progmodes/cc-styles.el: Require cc-align since styles added
4903 with `c-add-style' often contains references to functions
4904 defined there, and so the `c-valid-offset' check might
4905 otherwise complain on them.
4907 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4909 * progmodes/cc-align.el, progmodes/cc-mode.texi,
4910 progmodes/cc-vars.el: Added two new lineup functions:
4912 (c-lineup-knr-region-comment): A new lineup function to get
4913 (what most people think is) better indentation of comments in
4914 the "K&R region" between the function header and its body.
4916 (c-lineup-gcc-asm-reg): New lineup function for better
4917 indentation inside gcc asm blocks. Contributed by Kevin Ryde.
4919 (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
4920 `c-lineup-knr-region-comment' in the default offset
4921 configuration, since these two functions have little impact
4922 outside their intended use, and they generally do the right
4923 thing when they kick in.
4925 * progmodes/cc-engine.el (c-guess-continued-construct)
4926 (c-guess-basic-syntax): Handle nested functions in all
4927 languages, not just Pike. In C and C++ there's a gcc
4928 extension for this, and it also gives better treatment of
4929 macros that are followed by blocks.
4931 * progmodes/cc-langs.el (c-symbol-key): Made this variable
4932 mode specific, to handle Pike special symbols like `== better.
4934 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4936 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
4937 progmodes/cc-vars.el (c-report-syntactic-errors): A new
4938 variable to control the syntactic error messages. It defaults
4939 to off; since CC Mode ignores most syntactic errors it might
4940 as well ignore them all for the sake of consistency.
4942 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4944 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
4945 Optimization. Can give a noticeable speedup if there's a
4946 large preceding function or class body.
4948 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4950 * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
4951 efficient and correct insertion functions in many places.
4952 Always inherit text properties correctly if the text is
4953 permanent. Also do it for speed in temporary insertions,
4954 since I figure it's less work to continue the surrounding text
4955 properties than to break them.
4957 * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
4958 completion to make it easier to enter lists.
4960 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4962 * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
4963 c-state-cache was clobbered.
4965 * progmodes/cc-cmds.el, progmodes/cc-engine.el
4966 (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
4969 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4971 * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
4972 open parens in macros (if point isn't in the same one).
4974 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4976 * progmodes/cc-cmds.el (c-context-open-line): New function
4977 that is the `open-line' equivalent to `c-context-line-break'.
4979 * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
4980 for Emacs 21 since `indent-new-comment-line' has been changed
4981 to `comment-indent-new-line' there.
4983 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4985 * progmodes/cc-engine.el, progmodes/cc-langs.el
4986 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
4987 New variables containing the character sets used to recognize
4988 statement/declaration boundaries. These variables might help
4989 to support languages like javascript and awk, where newlines
4990 sometimes delimits statements.
4992 (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
4993 the set of statement delimiting characters, to allow it to be
4994 changed dynamically and per-mode.
4996 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
4998 * progmodes/cc-engine.el (c-looking-at-bos)
4999 (c-looking-at-inexpr-block, c-add-stmt-syntax)
5000 (c-guess-basic-syntax): Treat blocks directly inside function
5001 calls like "bare" statements inside function calls, and not
5002 like in-expression statements. This to make indentation of
5003 such blocks consistent with other statements inside macro calls.
5005 * progmodes/cc-engine.el (c-guess-basic-syntax):
5006 Made arglist-cont anchor correctly in arglists that contain statements.
5008 * progmodes/cc-engine.el (c-guess-basic-syntax):
5009 Fixed consistent anchoring of defun-block-intro in defuns in code
5010 blocks (can only occur in Pike).
5012 * progmodes/cc-engine.el (c-looking-at-inexpr-block)
5013 (c-looking-at-inexpr-block-backward): Changed the arguments to
5014 require containing sexps and paren state, for better efficiency.
5016 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5018 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
5019 progmodes/cc-vars.el: Improved anchoring of statement and
5020 handling of labels in front of substatements.
5022 (c-guess-continued-construct, c-guess-basic-syntax):
5023 Improved and unified anchoring at statements. Statements beginning
5024 with comments or labels are now avoided, by going out of
5025 blocks and containing statements if necessary. This nesting
5026 handling also fixes the case when there's a statement after a
5027 block open brace. Added the syntactic symbol `substatement-label'.
5029 (c-electric-colon): Map the new `substatement-label' to
5030 `label' when consulting `c-hanging-colons-alist'.
5032 (c-offsets-alist): Added substatement-label. Updated the
5033 comments for the new anchoring positions at statements.
5035 * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
5036 anchor points for knr-argdecl-intro and access-label.
5037 They used to refer to some point on the same line, a bug which was
5038 neutralized by a kludge in `c-get-syntactic-indentation' which
5039 ignored such anchor points.
5041 (c-get-syntactic-indentation): Removed the kludge that was
5042 necessary due to buggy anchor points.
5044 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
5045 the absence of a comma before arglist-close (case 7A) in any
5046 language, since there's nothing better to do that case anyway.
5047 Added special case to make in-expression statements be
5048 recognized as normal arglist-cont if we're directly in a macro
5049 arglist, for consistency with other "bare" statements.
5051 * progmodes/cc-engine.el (c-looking-at-bos): Added optional
5052 limit arg for backward searches.
5054 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
5055 Anchor gcc in-expression statements at the surrounding open
5056 parenthesis. Treat a class body as an in-expression class if
5057 it's used in an object clone expression in Pike.
5059 * progmodes/cc-engine.el (c-get-offset)
5060 (c-get-syntactic-indentation): Allow several anchor positions
5061 in the list of syntactic symbols. Only the first is used as
5062 the base for the offset calculation.
5064 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5066 * progmodes/cc-cmds.el (c-indent-defun): Indent the current
5067 macro if inside one at the top level. Do not throw an error
5068 if used at the top level outside a macro.
5070 * progmodes/cc-cmds.el (c-backslash-region): Do tab width
5071 alignment only if the backslashes can't be aligned with
5072 surrounding backslashes.
5074 * progmodes/cc-engine.el (c-end-of-macro): New function.
5076 * progmodes/cc-engine.el (c-least-enclosing-brace):
5077 Rewritten to not be destructive.
5079 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5081 * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
5082 line break when point is inside the content of it; if it's in
5083 the cpp keyword a normal line break is done.
5085 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
5086 cpp-macro-cont inside the argument list to a #define.
5088 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5090 * progmodes/cc-defs.el (c-forward-comment): Implemented a
5091 kludge to avoid the problem most forward-comment incarnations
5092 have with `\' together with comment parsing.
5094 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5096 * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
5097 which could cause the state returned by `c-parse-state' to
5098 lack a closed paren element. That in turn could result in
5099 very long searches, since it's common that they start from the
5100 last preceding close brace.
5102 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5104 * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
5105 treat else-if as a single continuation, since that'd make it
5106 hard to get the right anchor point when there's a line break
5107 between the two keywords. This change causes else-clause to
5108 be anchored on the closest preceding else-if and not always on
5109 the starting if, but that doesn't affect the indentation for
5110 any reasonably sane style. Also introduced a noerror flag.
5112 (c-beginning-of-closest-statement): Removed;
5113 c-beginning-of-statement-1 now avoids the problem this one solved.
5115 * progmodes/cc-engine.el (c-guess-continued-construct)
5116 (c-guess-basic-syntax): Better and more uniform anchor points
5117 for 'statement-cont and 'substatement. The effect is
5118 noticeable mostly when there's a label on the same line as the
5119 beginning of the statement, or when there are more stuff
5120 before the start of the statement.
5122 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
5123 Added flag to disable looking at the type of the surrounding paren
5124 since that confuses c-beginning-of-statement-1 and a couple of
5127 * progmodes/cc-engine.el (c-guess-basic-syntax):
5128 Avoid stepping to the previous statement in case 18.
5129 Improvements in recognition of statement blocks on the top level.
5131 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5133 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5134 (c-crosses-statement-barrier-p): Rewritten to get a well
5135 defined and documented behavior. This fixes some tricky cases
5136 in recognition of do-while constructs.
5138 (c-backward-to-start-of-do, c-backward-to-start-of-if):
5139 Removed; use c-beginning-of-statement-1 instead.
5141 (c-guess-continued-construct, c-guess-basic-syntax):
5142 Various fixes to not depend on the bugs previously in
5143 c-beginning-of-statement-1. Cleanups in cases 18 and 17 to
5144 use the new behavior of c-beginning-of-statement-1 better.
5145 Fixed recognition of catch blocks inside macros.
5147 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
5148 in skipping over a macro.
5150 * progmodes/cc-langs.el (c-label-kwds): New variable to
5151 contain the appropriate c-*-label-kwds value.
5153 * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
5154 evaluation bug that caused the widget for
5155 c-block-comment-prefix to bug out.
5157 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5159 * progmodes/cc-engine.el (c-guess-basic-syntax):
5160 Improved recognition of statements: They are now recognized in
5161 contexts where they normally can't occur, e.g. on the top level or
5162 in function call arguments. This is mainly useful to recognize
5163 statements in macros at the top level, and in arguments to
5164 macros. The cases has been moved around quite a bit, and case
5165 10 has been copied to case 18. (The cases has not been
5166 renumbered because of this.)
5168 (c-guess-continued-construct): New function which has the
5169 rules which are common between cases 10 and 18.
5171 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5172 (c-backward-to-start-of-do, c-backward-to-start-of-if):
5173 Fixes so that they really obey the passed limits.
5175 (c-safe-position): Return nil if the state doesn't contain a
5178 (c-guess-basic-syntax): Fixes some too short limits in calls
5179 to c-beginning-of-statement-1. Some fixes for top level
5180 analysis in ObjC mode.
5182 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5183 Fixed bug in do-while statements where the body is not a block.
5185 * progmodes/cc-styles.el (c-set-style):
5186 Reset c-special-indent-hook to its global value if in override mode.
5187 Fixes problem where functions on that hook remained after
5190 * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
5191 Use c-benign-error to report the c-strict-syntax-p error.
5193 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5195 * progmodes/cc-align.el, progmodes/cc-defs.el,
5196 progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
5197 Several fixes to treat macros as code and not literals and to
5198 handle line continuations transparently.
5200 (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
5201 through whitespace and line continuations, but not comments
5204 (c-in-literal): No longer recognizes macros as literals by
5205 default. An extra flag argument is required to do that.
5207 (c-macro-start, c-query-macro-start)
5208 (c-query-and-set-macro-start): Added a cache for the macro
5211 (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
5212 more speed when limits are given. Workaround for bad behavior
5213 in forward-comment in some emacsen when it hits a buffer limit
5214 with a large repeat count.
5216 (c-lineup-macro-cont): Improved behavior when
5217 c-syntactic-indentation-in-macros is nil.
5219 (c-syntactic-indentation-in-macros, c-backslash-max-column)
5220 (c-auto-align-backslashes): New customization variables to
5221 control macro handling.
5223 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
5224 Fixes to handle line continuations.
5226 * progmodes/cc-defs.el, progmodes/cc-styles.el
5227 (c-get-style-variables, c-set-offset): Report style errors
5228 with message and ding instead of error signal. This to avoid
5229 interrupted mode init if there's some style problem.
5231 (c-benign-error): New macro to report errors that doesn't need
5232 to interrupt the operation.
5234 * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
5236 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5238 * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
5239 Removed most of the c-state-cache fiddling, since the global
5240 state cache now handles this.
5242 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
5243 when there's an open paren at the very first char of the
5244 visible buffer region.
5246 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
5247 Cache the state globally and invalidate it below every buffer
5248 change with the new after change function
5249 `c-check-state-cache'. This gives a considerable performance
5250 boost when editing large functions or classes.
5252 * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
5254 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5256 * progmodes/cc-engine.el, progmodes/cc-langs.el,
5257 progmodes/cc-align.el: Improvements to syntactic analysis
5260 (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
5261 by `c-guess-basic-syntax'.
5263 (c-parse-state): Fixed bug with braces inside macros when
5264 using cached state info.
5266 (c-forward-to-cpp-expression): New function to aid in
5267 syntactic analysis inside macros.
5269 (c-beginning-of-statement-1, c-backward-syntactic-ws):
5270 Fixes to work better inside macros.
5272 (c-forward-syntactic-ws): Whitespace between the # and the
5273 command should be allowed in preprocessor directives.
5275 (c-lineup-macro-cont): New lineup function to get context
5276 sensitive indentation inside macros.
5278 (c-offsets-alist): Made `c-lineup-macro-cont' the default for
5281 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5283 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5284 (c-forward-syntactic-ws): Fixes to handle continued lines.
5286 (c-backward-to-start-of-if, c-guess-basic-syntax):
5287 Do syntactic analysis inside macros.
5289 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5291 * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
5292 possible by the more flexible state cache.
5294 * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
5295 (c-whack-state-after, c-hack-state)
5296 (c-narrow-out-enclosing-class, c-guess-basic-syntax):
5297 Improved the state cache system. It now can use partial info from
5298 an old cached state to calculate a new one at a different
5299 position. Removed some kludges to avoid the state cache.
5300 The new functions `c-whack-state-before' and `c-whack-state-after'
5301 replace the now obsolete `c-whack-state'.
5303 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5304 Optimized backing through a macro. This can speed things up
5305 quite a bit when there are long macros before point.
5307 (c-beginning-of-macro): Do not ignore the limit.
5309 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5311 * progmodes/cc-cmds.el (c-electric-continued-statement):
5312 Fixed a bug where the keyword wasn't reindented correctly if
5313 followed by another keyword or identifier.
5315 * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
5316 pairs that are in macros. Fixes some cases where e.g. the
5317 second of two "do { } while (0)" macros after each other
5318 indented differently.
5320 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5322 * progmodes/cc-engine.el (c-beginning-of-macro)
5323 (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
5324 directive when it begins a line, to allow for script
5325 interpreter lines like "#!/usr/bin/pike" at the beginning of
5328 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5330 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
5331 Recognize brace blocks inside a parenthesis expression as
5332 inexpr-statement. Useful when writing statements as macro arguments.
5334 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5336 * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
5337 (c-mask-comment): Broke out the comment masking code from
5338 `c-fill-paragraph' to a new function `c-mask-comment', to be
5339 able to do the same thing in `c-do-auto-fill'. This should
5340 make auto-fill-mode behave better.
5342 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5344 * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
5345 Check `executing-macro' to avoid blinking parens when macros
5348 * progmodes/cc-mode.el, progmodes/cc-styles.el
5349 (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
5350 consistency with `c-setup-paragraph-variables' (which was
5351 placed there due to the dependency from `c-set-style').
5353 * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
5354 incomplete initialization from the style variable fallbacks if
5355 there already is a style called "user" defined when CC Mode
5356 starts up for the first time.
5358 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5360 * progmodes/cc-cmds.el, progmodes/cc-vars.el
5361 (c-comment-indent, c-indent-comment-alist): Added new variable
5362 `c-indent-comment-alist' to allow better control over
5365 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5367 * progmodes/cc-align.el (c-lineup-C-comments): Try to match
5368 both `comment-start-skip' and the comment prefix on the
5369 current line with the comment starter, so that we line up
5370 comments which matches `c-comment-prefix-regexp' on the first
5371 line (after the `/') without the need to make
5372 `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
5374 * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
5375 (c-set-style-1, c-setup-paragraph-variables): Moved the
5376 variable initialization based on `c-comment-prefix-regexp' to
5377 a new function `c-setup-paragraph-variables', which is now
5378 used both at mode init and when a style that sets
5379 `c-comment-prefix-regexp' is activated.
5381 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5383 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
5384 Better handling of C++ template args to avoid confusion with
5385 `<' and `>' used as operators in member init expressions.
5387 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5389 * progmodes/cc-engine.el (c-most-enclosing-brace)
5390 (c-least-enclosing-brace): Added optional second arg to limit
5391 the search to before a certain point.
5393 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
5394 which could cause incorrect analysis if a cached state is used
5395 (usually only happens when an electric key reindents a line).
5397 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5399 * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
5400 insulation. This time for XEmacs 21.
5402 * progmodes/cc-engine.el, progmodes/cc-langs.el:
5403 Improved handling of inheritance lists:
5405 (c-beginning-of-inheritance-list): Rewritten to use a more
5406 syntactically correct method that doesn't get confused by
5407 badly placed linebreaks and comments.
5409 (c-guess-basic-syntax): Several fixes to the handling of
5410 inheritance lists in combination with templates. 'inher-intro
5411 is now anchored on the start of the class declaration and not
5412 the indentation of the current line. Switched places on cases
5413 5D.3 and 5D.4 and made them use more syntactically correct methods.
5415 (c-inher-key): Removed since the code in
5416 `c-guess-basic-syntax' now uses token-based search.
5418 * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
5419 Added a submenu to access some toggles.
5421 (c-toggle-syntactic-indentation): New function to toggle the
5422 variable `c-syntactic-indentation'.
5424 * progmodes/cc-styles.el (c-set-style): Improved the error
5425 message for incorrect offsets a bit.
5427 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5429 * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
5430 sexp follows point immediately, instead find the closest
5431 following open paren that ends on another line.
5433 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5435 * progmodes/cc-align.el (c-lineup-cascaded-calls):
5436 New indentation function.
5438 * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
5439 directives with whitespace between the '#' and the name.
5441 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5443 * progmodes/cc-engine.el (c-forward-syntactic-ws)
5444 (c-backward-syntactic-ws): Handle line continuations as
5445 whitespace. Don't move past a macro if that'd take us past
5448 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5450 * progmodes/cc-engine.el (c-beginning-of-macro)
5451 (c-forward-syntactic-ws): Multiline strings begin with `#"' in
5452 Pike, and that shouldn't be confused with a preprocessor directive.
5454 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5456 * progmodes/cc-cmds.el: Extended the kludge to interoperate
5457 with the delsel and pending-del packages wrt to the new
5458 function `c-electric-delete-forward'.
5460 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5462 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
5463 the block itself, i.e. only indent the contents in it.
5465 * progmodes/cc-styles.el (c-set-style): Use the default
5466 argument to completing-read instead of initial-contents, if
5467 the function is recent enough to support it.
5469 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5471 * progmodes/cc-mode.el (c-mode-help-address):
5472 Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
5473 I've almost never seen a bug reported this way that should go
5474 to that list, but it's rather common that the reports concern
5475 the combination CC Mode and XEmacs instead.
5477 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5479 * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
5480 brace-elseif-brace and brace-catch-brace are active and
5481 there's a "else if"-block before the catch block.
5483 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
5484 Detect function headers that span lines.
5486 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5488 * progmodes/cc-cmds.el (c-electric-brace)
5489 (c-electric-semi&comma, c-electric-colon, c-electric-paren):
5490 Check for last on line only for doing the auto-newline-mode
5491 stuff, not for the reindentation.
5493 * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
5494 handling of c-syntactic-indentation: When it's nil, indent the
5495 new lines but don't reindent the current one. Reindent the
5496 line only when the inserted brace comes first on it, instead
5499 * progmodes/cc-cmds.el (c-electric-brace)
5500 (c-electric-semi&comma): Fixed two places where
5501 c-syntactic-indentation wasn't heeded.
5503 * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
5506 * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
5507 little harder to find a fallback position when an orphan else
5508 is found. Fixed case where an else following a do-while
5509 statement could be associated with an if inside the do-while.
5511 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5513 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
5514 for the fallback to add a single space after the comment prefix.
5516 * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
5517 behavior in some special cases, especially for single-line comments.
5518 Avoid breaking up a comment starter or ender.
5520 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5522 * progmodes/cc-cmds.el (c-outline-level): Applied patch from
5523 the Emacs sources to make this work in invisible text.
5525 * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
5526 not be confused by a later ':' on the same line as the label.
5528 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5530 * progmodes/cc-cmds.el, progmodes/cc-mode.el
5531 (c-electric-delete, c-electric-delete-forward):
5532 Split `c-electric-delete' into two functions where
5533 `c-electric-delete-forward' always deletes forward and
5534 `c-electric-delete' only contains the code necessary for
5535 XEmacs to choose between backward and forward deletion.
5536 `c-electric-delete-forward' is now bound to C-d to get the
5537 electric behavior on that key too.
5539 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5541 * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
5542 use of c-comment-prefix-regexp, which caused an error when
5545 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5547 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
5548 (c-default-style): Removed the hardcoded switch to "java" style
5549 in Java mode. It's instead taken care of by the default value
5550 for c-default-style.
5552 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
5554 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
5555 was triggered by equal signs in string literals.
5557 2002-04-21 Kim F. Storm <storm@cua.dk>
5559 * subr.el (insert-buffer-substring-no-properties): New function.
5560 (insert-buffer-substring-as-yank): New function.
5562 2002-04-21 Glenn Morris <gmorris@ast.cam.ac.uk>
5564 * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
5565 (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
5566 prefix from scroll commands. Ignore end-of-buffer errors from
5568 (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
5570 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
5573 * files.el: (auto-mode-alist): .f95 files in f90-mode.
5575 * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
5576 a DO statement irrespective of numeric label.
5578 2002-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
5580 * files.el (auto-save-file-name-transforms): Doc fix.
5581 Add third element to "uniquify" filenames.
5582 (make-auto-save-file-name): Use new element of
5583 auto-save-file-name-transforms.
5584 * startup.el (command-line): Add third element to
5585 auto-save-file-name-transforms.
5587 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
5589 * files.el (file-name-non-special): Don't mangle the 0'th arg and the
5590 return value of file-name-completion and file-name-all-completions.
5592 2002-04-19 Glenn Morris <gmorris@ast.cam.ac.uk>
5594 * progmodes/f90.el: Update maintainer.
5595 (f90-line-continued): Recognize blank/comment lines embedded in
5597 (f90-looking-at-program-block-start): No extra indentation after
5598 function or subroutine keyword appears in single quotes.
5600 2002-04-19 Miles Bader <miles@gnu.org>
5602 * custom.el (customize-mark-to-save, customize-mark-as-set)
5603 (custom-quote): Moved here from `cus-edit.el'.
5604 * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
5605 (custom-quote): Moved to `custom.el'.
5607 2002-04-18 Richard M. Stallman <rms@gnu.org>
5609 * facemenu.el (list-text-properties-at): Command deleted.
5611 * rect.el (insert-rectangle): Use insert-for-yank.
5613 * register.el (insert-register): Use insert-for-yank.
5614 (describe-register-1): Discard text props in yank-excluded-properties.
5616 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
5617 Fix parts in construction of `menu-item' item at end.
5619 * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
5621 * subr.el (insert-for-yank): New function.
5623 * simple.el (yank-excluded-properties): New user option.
5624 (yank-pop, yank): Use insert-for-yank.
5626 2002-04-19 Kim F. Storm <storm@cua.dk>
5628 * simple.el (pop-to-mark-command): Do not set this-command.
5629 (set-mark-command): Always jump to mark when called with arg.
5631 2002-04-18 Francesco Potorti` <pot@gnu.org>
5633 * comint.el (comint-watch-for-password-prompt): Remove whitespace
5634 at the beginning of password prompts.
5636 2002-04-18 Andrew Innes <andrewi@gnu.org>
5638 * facemenu.el: Remove require of wid-edit.
5640 2002-04-17 Colin Walters <walters@verbum.org>
5642 * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
5644 (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
5645 (ibuffer-current-state-list): Reinstate optional argument; now
5646 just call `point' inside the mapping function.
5648 2002-04-17 Francesco Potorti` <pot@gnu.org>
5650 * dired-aux.el (dired-star-subst-regexp)
5651 (dired-quark-subst-regexp): New constants.
5652 (dired-do-shell-command, dired-shell-stuff-it): Use them.
5653 (dired-do-shell-command): Raise an error if both `*' and `?'
5654 substitution marks are used in the same command.
5655 (dired-shell-stuff-it): Substitute all instances of `*' and `?'
5656 in a command given via dired-do-shell-command.
5658 * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
5660 2002-04-16 Jason Rumney <jasonr@gnu.org>
5662 * international/mule-cmds.el (locale-preferred-coding-systems):
5665 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
5667 * term.el (term-emulate-terminal): Fix last change.
5669 2002-04-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5671 * bindings.el (mode-line-mode-menu): Update names to reflect
5674 2002-04-16 Mike Williams <mdub@bigfoot.com>
5676 * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
5679 2002-04-16 Michael Kifer <kifer@cs.stonybrook.edu>
5681 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
5682 (viper-ex-print-buf-name): New variable.
5683 (viper-ex-print-buf): New variable.
5684 (ex-token-alist): Invoke ex-print on ":print" Ex commands.
5685 (ex-g-marks): New variable.
5686 (ex-print): New function.
5687 (ex-print-display-lines): New function.
5689 * viper.el (viper-set-hooks): Add window-setup-hook, which sets
5692 * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
5693 when the window is not in its own frame.
5694 (ediff-clone-buffer-for-region-comparison): More robust window
5695 arrangement while prompting for regions to compare.
5696 (ediff-make-cloned-buffer): Use generate-new-buffer-name.
5697 (ediff-inferior-compare-regions): Deleted unused vars
5698 ctl-buf and quit-now.
5700 2002-04-15 Richard M. Stallman <rms@gnu.org>
5702 * facemenu.el (facemenu-add-new-face): Use this only for faces.
5704 (facemenu-add-new-color): New function.
5705 (facemenu-set-foreground, facemenu-set-background):
5706 Use facemenu-add-new-color.
5708 2002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
5710 * ediff-init.el (ediff-current-diff-face-A)
5711 (ediff-current-diff-face-B, ediff-current-diff-face-C)
5712 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
5713 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
5714 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
5715 (ediff-even-diff-face-B, ediff-even-diff-face-C)
5716 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
5717 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
5718 (ediff-odd-diff-face-Ancestor): Add special color definitions for
5719 tty and MS-DOS displays.
5721 2002-04-15 Andrew Innes <andrewi@gnu.org>
5723 * facemenu.el: Require wid-edit.
5725 2002-04-15 Miles Bader <miles@gnu.org>
5727 * faces.el (highlight): Force foreground to be black on a tty, so
5728 this face is readable on a dark-background tty.
5729 * wid-edit.el (widget-field-face, widget-single-line-field-face):
5732 2002-04-14 Kim F. Storm <storm@cua.dk>
5734 * simple.el (pop-to-mark-command, push-mark-command): New commands.
5735 (set-mark-command): Use them.
5736 Enhanced functionality when command is repeated:
5737 - If first command set the mark (no prefix arg), repeat temporarily
5738 enables transient-mark-mode.
5739 - If first command jumped to mark off ring (with argument),
5740 repeat (with or without arg) jump to next mark off ring.
5741 - Use C-u C-u prefix to set mark after jump.
5742 (exchange-point-and-mark): Temporarily enable transient-mark-mode
5745 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5747 * speedbar.el (speedbar-tag-hierarchy-method)
5748 (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
5750 2002-04-14 Mike Williams <mdub@bigfoot.com>
5752 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
5753 beginning of buffer.
5755 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5757 * speedbar.el (speedbar-generic-item-info)
5758 (speedbar-sort-tags): Doc fix.
5759 (speedbar-add-supported-extension): Fix typo in interactive spec.
5761 2002-04-13 Colin Walters <walters@verbum.org>
5763 * ibuffer.el (ibuffer-forward-line): Just skip header if we're
5764 only moving one line forward.
5765 (ibuffer-map-lines): Preserve point position even if we delete
5766 lines. Only call mapping functions with buffer and mark
5767 arguments; the other two were unused.
5768 (ibuffer-redisplay, ibuffer-update): Always skip special areas.
5770 * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
5772 * calc/calc-bin.el (math-format-radix-float): Use `when'.
5774 * calc/calc.el (math-format-number): Load `calc-ext' before we
5775 call `math-group-float'.
5777 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
5778 Renamed from `gamegrid-add-score'.
5779 (gamegrid-add-score-insecure): Restored from the old
5780 `gamegrid-add-score'.
5781 (gamegrid-add-score): Just dispatch on `system-type' to one of the
5782 previous two functions.
5784 2002-04-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5786 * iswitchb.el: Update commentary to include new function
5787 iswitchb-exclude-nonmatching.
5789 2002-04-12 John Wiegley <johnw@gnu.org>
5791 * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
5792 operating systems to the regexp used to detect a script's interpreter.
5794 2002-04-12 Eli Zaretskii <eliz@is.elta.co.il>
5796 * frame.el (frames-on-display-list): Use `equal' to compare the
5797 `display' frame parameter to the argument DISPLAY.
5799 2002-04-12 Dave Love <fx@gnu.org>
5801 * help.el (string-key-binding): Deal with margin events.
5803 2002-04-12 Francesco Potorti` <pot@gnu.org>
5805 * comint.el (comint-password-prompt-regexp): Match " SMB password".
5807 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
5809 * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
5811 * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
5813 * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
5814 (buffer-syntactic-context-depth): New funs.
5816 * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
5819 * emacs-lisp/debug.el (debug-on-entry): Use push.
5820 (debugger-make-xrefs): Don't assume point-min == 1.
5822 * progmodes/cc-engine.el (c-backward-to-start-of-if):
5823 Don't assume point-min == 1.
5825 * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
5826 (etags-list-tags, etags-tags-apropos, select-tags-table):
5827 Don't assume point-min == 1.
5829 2002-04-12 Mike Williams <mdub@bigfoot.com>
5831 * textmodes/sgml-mode.el (sgml-guess-indent): New function.
5833 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
5835 * textmodes/fill.el (fill-context-prefix): Fix up last change.
5837 * simple.el (line-move): Use memq rather than or.
5838 (transpose-sexps): Don't presume as much of forward-sexp's behavior.
5839 (do-auto-fill): Use fill-move-to-break-point.
5840 (syntax-code-table): Remove.
5842 * textmodes/fill.el (canonically-space-region): Obey sentence-end.
5843 Don't add spaces at end of sentences at end of line.
5844 (fill-move-to-break-point): Make sure the result is always greater
5845 than linebeg, so we ensure forward progress.
5846 (fill-region-as-paragraph): Compare to `to' rather than eobp.
5847 (fill-paragraph): Don't rebind fill-paragraph-function.
5849 2002-04-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5851 * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
5853 2002-04-11 Andreas Schwab <schwab@suse.de>
5855 * files.el (file-name-non-special): Handle return value of t from
5856 `file-name-completion'.
5858 2002-04-10 Stefan Monnier <monnier@cs.yale.edu>
5860 * textmodes/fill.el (fill-context-prefix): Match the two prefixes
5861 differently to avoid pathological exponential-time case.
5862 (adaptive-fill-regexp): Add ! and %.
5863 (fill-delete-prefix): Remove indentation while removing prefix.
5864 (fill-delete-newlines): Obey sentence-end.
5865 (fill-move-to-break-point, fill-newline): New functions extracted
5866 from fill-region-as-paragraph.
5867 (fill-region-as-paragraph): Use them.
5868 Don't fiddle with fill-indent-according-to-mode.
5870 2002-04-10 Colin Walters <walters@verbum.org>
5872 * play/snake.el (snake-score-file): Default to just "snake-scores".
5874 * play/tetris.el (tetris-score-file): Likewise.
5876 * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
5877 use `update-game-score'.
5879 * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
5880 (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
5881 ourselves; take it as an argument. Caller updated.
5882 (ibuffer-mode): Make mode-class special.
5884 2002-04-10 Richard M. Stallman <rms@gnu.org>
5886 * dired.el (dired-view-command-alist): New variable.
5887 (dired-view-file): Use external viewers for some files names.
5889 * mouse.el (mouse-drag-region-1): Display region highlight
5890 only in the selected window.
5892 * subr.el (remove-hook): When there are no more local hooks,
5893 kill the buffer-local value.
5895 * isearch.el (isearch-mode): Don't call make-frame-visible
5896 if frame is already visible.
5898 * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
5900 2002-04-09 Emmanuel Briot <briot@act-europe.fr>
5902 * progmodes/ada-prj.el: Add support for the new project file
5903 fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
5904 Fix widget handling for Emacs 21. ada-mode now only supports a single
5905 active project file, instead of one per buffer. This is far less
5908 * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
5909 (ada-func-or-proc-name): Get real subprogram name, after change in
5912 * progmodes/ada-xref.el: Ada-mode no longer supports a different
5913 project file per buffer. This was too complex. Instead, there is
5914 now a single active project file at any given time, and the user
5915 can switch the active one through the Ada menu. This revision
5916 also provides better handling of the Windows command line, and the
5917 various available shells on that platform. ada-mode is now fully
5918 integrated with the GNU visual debugger gvd, see
5919 http://libre.act-europe.fr.
5920 (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
5921 This is only available with GNAT 3.14.
5922 (ada-prj-gnatfind-switches, ada-cd-command): New variable.
5923 (ada-quote-cmd): New function.
5924 (ada-initialize-runtime-library): Get the location of the actual
5925 runtime the compiler will be using, including support for
5926 cross-platform environments.
5927 (ada-treat-cmd-string): Add support for the new variable
5928 ${full_current} add support for debug-pre-cmd and debug-post-cmd,
5929 two commands to run just prior to running the debugger, and just
5930 after starting it. This provide better support for cross-platform
5931 and remote debugging.
5932 (ada-get-absolute-dir): Remove, replace with expand-file-name.
5933 (ada-gdb-application): New parameter executable-name.
5934 (ada-get-ali-file-name): Better handling of separate packages.
5935 Checkin on behalf of the ada-mode maintainer.
5937 * progmodes/ada-mode.el (ada-case-exception-file)
5938 (ada-indent-handle-comment-special): New variables.
5939 (ada-case-exception-substring): New variable. Casing exceptions
5940 can now also be defined for substrings, in addition to full
5941 identifier names. This provides more flexibility.
5942 (ada-align-list): New fun, provide support for align.el in ada-mode.
5943 (ada-procedure-start-regexp): Add support for operators and
5944 generic formal subprograms and packages.
5945 (ada-imenu-comment-re): New variable.
5946 (ada-imenu-generic-expression): Add support for protected types.
5947 (ada-mode): Set comment-start only after running ada-mode-hook, so
5948 that the user can change ada-comment-start in the hook.
5949 Add support for ispell in comments. Add support for align.el.
5950 (ada-save-exception-file, ada-create-case-exception-substring)
5951 (ada-adjust-case-substring): New functions.
5952 (ada-get-current-indent): Properly handles keywords with uppercases.
5953 (ada-goto-matching-end): Rewritten, fixes problems in the handling
5955 (ada-untab-hard): Do not touch the contents of comments and strings.
5957 2002-04-09 Mike Williams <mdub@bigfoot.com>
5959 * textmodes/sgml-mode.el (sgml-lexical-context):
5960 Use sgml-parse-tag-backward to find start point.
5961 (sgml-looking-back-at): Doc fix.
5963 2002-04-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5965 * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
5968 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
5970 * autorevert.el (auto-revert-mode, global-auto-revert-mode):
5971 Use define-minor-mode.
5972 (auto-revert-buffers): Use with-current-buffer.
5973 Avoid changing the minor modes.
5975 * international/iso-acc.el (iso-accents-accent-key): Use `vector'
5976 rather than char-to-string since last-input-char can be any event.
5978 * international/titdic-cnv.el (tit-dictionary):
5979 Use defvar for non-constants.
5981 * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
5982 (global-cwarn-mode): Use easy-mmode-define-global-mode.
5983 (cwarn-font-lock-keywords): New function.
5984 Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
5985 (cwarn-font-lock-match): New macro.
5986 (cwarn-font-lock-match-assignment-in-expression)
5987 (cwarn-font-lock-match-dangerous-semicolon)
5988 (cwarn-font-lock-match-reference): Use it.
5990 * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
5991 Use defvar rather than defconst since it's meant to be settable.
5992 (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
5993 (cperl-fix-line-spacing): Add missing \ in [ t].
5995 * loadup.el: Call ucs-unify-8859 directly rather than
5996 unify-8859-on-encoding-mode.
5997 (fns-*.el): Don't use it anymore. Keep the load-history in purespace.
5999 * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
6000 (sgml-mode): Use it for comment-line-break-function.
6002 2002-04-08 Jason Rumney <jasonr@gnu.org>
6004 * international/mule-cmds.el (reset-language-environment):
6005 Handle coding-systems not being defined yet.
6007 2002-04-08 Sam Steingold <sds@gnu.org>
6009 * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
6010 (vc-cvs-checkin): Use it.
6012 2002-04-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6014 * files.el (display-time-string): Fix last change.
6016 2002-04-07 Sam Steingold <sds@gnu.org>
6018 * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
6020 2002-04-07 Jason Rumney <jasonr@gnu.org>
6022 * international/mule-cmds.el (set-default-coding-systems)
6023 (reset-language-environment): Preserve eols on
6024 default-process-coding-system.
6025 (coding-system-change-text-conversion): Fix case where CODING is nil.
6027 2002-04-07 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6029 * subr.el (play-sound): Move here from simple.el.
6031 * simple.el (play-sound): Move to subr.el.
6033 2002-04-06 Richard M. Stallman <rms@gnu.org>
6035 * files.el (display-time-string-forms): Mark as risky.
6037 * enriched.el (enriched-decode-foreground, enriched-decode-background):
6038 Use proper format for desired elts of `face' property.
6039 Don't test display-color-p; make the properties unconditionally.
6041 * progmodes/compile.el (compilation-error-regexp-alist):
6042 New alternatives for FILE:LINE.COL and for ranges of columns and lines.
6044 2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
6046 * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
6047 for customization type.
6048 Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
6050 2002-04-06 Mike Williams <mdub@bigfoot.com>
6052 * textmodes/xml-lite.el: Remove.
6054 2002-04-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6056 * simple.el (play-sound): New function (uses play-sound-internal).
6058 2002-04-04 Richard M. Stallman <rms@gnu.org>
6060 * files.el (mode-line-format, mode-line-modified)
6061 (mode-line-mule-info, mode-line-buffer-identification)
6062 (mode-line-modes, mode-line-position): Explicitly mark as risky.
6063 (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
6065 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
6067 * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
6068 Use (syntax-table), not old-syntax-table.
6070 * enriched.el (enriched-decode-foreground)
6071 (enriched-decode-background): Don't call facemenu-get-face.
6073 2002-04-04 Mike Williams <mdub@bigfoot.com>
6075 * textmodes/sgml-mode.el: Add missing require.
6076 (sgml-lexical-context): Fix up CDATA detection for boundary cases.
6078 2002-04-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
6080 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
6081 spot indicated by text property `cvs-goal-column', if present.
6083 * pcvs-info.el (cvs-fileinfo-pp): Use text property
6084 `cvs-goal-column' to indicate position of file name (if present).
6086 2002-04-03 Richard M. Stallman <rms@gnu.org>
6088 * mail/mailabbrev.el (mail-abbrev-complete-alias):
6089 Call mail-abbrev-make-syntax-table.
6091 * format.el (format-deannotate-region): Doc fix.
6093 * enriched.el (enriched-face-ans): Delete special treatment
6094 for fg:... and bg:... faces.
6095 (enriched-decode-foreground): Return a list that specifies
6096 the foreground color, rather than creating a face.
6097 (enriched-decode-background): Likewise.
6099 * shell.el (shell-mode): Don't reinit comint-input-ring
6100 if that was already done.
6102 2002-04-03 Edward M. Reingold <reingold@emr.cs.iit.edu>
6104 * solar.el (solar-spring-or-summer-season): Delete.
6105 (solar-northern-spring-or-summer-season): New variable.
6106 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
6109 * solar.el (diary-sabbath-candles-minutes): New variable.
6110 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
6112 * calendar.el (update-calendar-mode-line): Force mode-line update.
6113 Make date under the cursor available as `date' in
6114 calendar-mode-line-format.
6115 Eval items in calendar-mode-line-format list.
6117 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
6118 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
6120 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
6122 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
6123 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
6124 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6125 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
6127 * cal-tex.el: Change all instances (interactive "P") to
6129 (cal-tex-cursor-month): Add hfill and newline at end of month that
6131 (cal-tex-preamble): Change to LaTeX2e.
6132 (cal-tex-cursor-filofax-year): Don't use default month names in
6133 LaTeX macros in case user changes them.
6134 (cal-tex-month-name): New function. Used throughout in case user
6135 has done something funny with month names.
6137 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
6138 (diary-rosh-hodesh): Spelling correction.
6140 2002-04-03 Mike Williams <mdub@bigfoot.com>
6142 * textmodes/sgml-mode.el (sgml-lexical-context)
6143 (sgml-parse-tag-backward): Extend support for CDATA to include
6144 conditional sections.
6146 2002-04-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6148 * cus-start.el: Rename `autoselect-window' to
6149 `mouse-autoselect-window'.
6151 2002-04-02 Richard M. Stallman <rms@gnu.org>
6153 * files.el (hack-one-local-variable):
6154 Clear text props from string value.
6156 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
6158 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6159 (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
6161 (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
6163 (f90-procedures-re): Add `null' and `cpu_time' from F95.
6164 (f90-font-lock-keywords-1): Minor reorganization so we don't need
6165 `override' any more.
6166 (f90-font-lock-keywords-3): Use `keep' rather than `override'.
6167 (f90-indent-subprogram): Use indent-region.
6168 (f90-break-line): Use indent-according-to-mode.
6170 2002-04-02 Mike Williams <mdub@bigfoot.com>
6172 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
6173 sgml-insert-end-tag. Simplify by using sgml-lexical-context.
6174 (sgml-get-context): Remove use of sgml-inside-tag-p.
6175 (sgml-inside-tag-p): Remove.
6176 (sgml-looking-back-at): Short-circuit at beg of buffer.
6177 (sgml-lexical-context, sgml-calculate-indent): Add support for
6180 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
6182 * help.el (help-key-description): New fun.
6183 (describe-key-briefly, describe-key): Use it and
6184 this-single-command-raw-keys plus new arg `untranslated'.
6186 * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
6187 (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
6188 (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
6189 (sgml-insert-end-tag): New funs taken from xml-lite.el.
6190 (sgml-calculate-indent): Use them.
6191 (sgml-slash-matching): Rename from sgml-slash.
6192 (sgml-slash): Copied from xml-lite and changed to use
6193 sgml-slash-matching and sgml-quick-keys.
6195 * international/mule-cmds.el (standard-keyboard-coding-systems):
6196 Add koi8-u and koi8-r.
6198 * eshell/.cvsignore: New file.
6200 * eshell/esh-groups.el: Remove.
6202 * progmodes/tcl.el: Change maintainer.
6203 (tcl-electric-hash-style): Change default to nil.
6204 (tcl-imenu-generic-expression): Use tcl-proc-regexp.
6205 (tcl-do-auto-fill): Remove.
6206 (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
6208 2002-04-01 Mike Williams <mdub@bigfoot.com>
6210 * textmodes/sgml-mode.el: Doc fixes.
6211 (sgml-mode): Set indent-line-function to sgml-indent-line.
6212 (sgml-calculate-indent): Add an explicit check for 'text syntax,
6213 to protect against future enhancements to sgml-lexical-context.
6214 (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
6216 * textmodes/xml-lite.el: Removed much redundant stuff.
6217 (xml-lite-parse-tag-backward): Simplify parsing by assuming we
6218 always start within text. Make use of sgml-unclosed-tag-p.
6220 2002-04-01 Ville Skytt
\e,Ad
\e(B <ville.skytta@xemacs.org>
6222 * tcl.el (tcl-imenu-generic-expression): New value.
6223 (tcl-imenu-create-index-function): Function deleted.
6224 (tcl-mode): Check for filladapt-mode.
6225 Use tcl-imenu-generic-expression instead of
6226 tcl-imenu-create-index-function.
6227 (inferior-tcl-mode): Doc fix.
6228 Change not legally significant.
6230 2002-04-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6232 * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
6234 * window.el (handle-select-window): New function.
6237 2002-04-01 Richard M. Stallman <rms@gnu.org>
6239 * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
6241 * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
6242 tool-bar-add-item, and new arg MAP.
6243 (tool-bar-add-item): Now calls tool-bar-local-item.
6244 (tool-bar-local-item-from-menu): Renamed from
6245 tool-bar-add-item-from-menu, and new arg IN-MAP.
6246 (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
6248 * help-fns.el (help-with-tutorial): Allow various ways
6249 to specify the text in the [...] line, in handling the <...> line.
6251 * progmodes/idlw-rinfo.el (idlwave-system-routines):
6252 WOLRDTITLE => WORLDTITLE. SUPRESS_VALUE => SUPPRESS_VALUE.
6254 * subr.el (redraw-modeline): Define alias.
6256 2002-03-31 Richard M. Stallman <rms@gnu.org>
6258 * files.el (file-expand-wildcards): Use save-match-data.
6260 * files.el (format-alist): Mark as risky.
6262 * simple.el (kill-new): Doc fix.
6264 * emacs-lisp/byte-opt.el (side-effect-free-fns)
6265 (side-effect-and-error-free-fns): Add many functions, remove some.
6267 2002-03-30 Richard M. Stallman <rms@gnu.org>
6269 * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
6271 2002-03-30 Eli Zaretskii <eliz@gnu.org>
6273 * font-lock.el (save-buffer-state): Fix last change.
6275 * files.el (auto-save-file-name-transforms): Fix last change.
6277 * startup.el (command-line): Fix last change.
6279 2002-03-29 Richard M. Stallman <rms@gnu.org>
6281 * subr.el (play-sound-file): Moved to simple.el.
6283 * simple.el (play-sound-file): Moved from subr.el, made unconditional.
6285 2002-03-29 Colin Walters <walters@verbum.org>
6287 * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
6288 instead of `forward-line'.
6289 (ibuffer-forward-line): Be sure to skip over special properties
6292 * calc/calc.el (calc-was-split): Var deleted.
6293 (calc): Remove reference to it.
6296 (calc-init-base): Ditto.
6298 * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
6300 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
6302 * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
6303 instead of nil when point is outside of any tag.
6304 (sgml-beginning-of-tag): Adjust to the change.
6305 (sgml-calculate-indent): Use the new info returned by
6306 sgml-lexical-context. Try to handle unclosed tags.
6308 * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
6309 at unclosed tags unless it is at indentation.
6310 Kill nested unclosed tags.
6311 (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
6312 (xml-lite-mode): Use sgml-indent-line instead.
6314 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
6316 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
6319 * startup.el (command-line): Recompute auto-save-file-name-transforms
6320 using the updated value of temporary-file-directory.
6322 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
6324 * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
6325 even with an empty context. Don't save excursion any more.
6326 Don't complain about unmatched start-tags in sgml-unclosed-tags.
6327 Ignore end-tags in sgml-empty-tags.
6328 (xml-lite-get-context, xml-lite-calculate-indent)
6329 (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
6330 (xml-lite-indent-line): Use back-to-indentation.
6332 * textmodes/sgml-mode.el (sgml-basic-offset): New var.
6333 (sgml-name-re, sgml-attrs-re): New consts.
6334 (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
6335 (sgml-mode): Use them.
6336 (sgml-lexical-context): Default to (point-min) if nothing else works.
6337 (sgml-calculate-indent): Indent slightly differently.
6338 (sgml-indent-line): Use back-to-indentation.
6339 (sgml-parse-dtd): New function.
6340 (sgml-unclosed-tags): New var.
6341 (html-mode): Set it.
6343 2002-03-29 Simon Marshall <simon.marshall@misys.com>
6345 * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
6347 2002-03-29 Richard M. Stallman <rms@gnu.org>
6349 * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
6350 Use FILTER arg in dired-get-marked-files to exclude directories.
6351 (dired-nondirectory-p): New function.
6353 * dired.el (dired-get-marked-files): New arg FILTER
6354 allows selection of some files.
6356 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
6358 2002-03-29 Eric M. Ludlam <eric@siege-engine.com>
6360 * speedbar.el (speedbar-default-directory-list): Made robust
6361 against deleted directories.
6363 2002-03-28 Richard M. Stallman <rms@gnu.org>
6365 * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
6368 * progmodes/compile.el (compilation-handle-exit):
6369 If compilation-window-height is 0, display status in echo area.
6371 * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
6373 * rect.el (replace-rectangle): Add autoload.
6375 * files.el: Mark many more variables as risky.
6376 (hack-one-local-variable): Recognize several additional
6379 * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
6381 2002-03-28 Stefan Monnier <monnier@cs.yale.edu>
6383 * textmodes/xml-lite.el (xml-lite-in-string-p):
6384 Use sgml-lexical-context.
6385 (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
6386 (xml-lite-get-context): Check that open/close tags match.
6387 Don't stop scanning while we're ignoring matching tags.
6389 * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
6390 (sgml-mode-syntax-table): Use it.
6391 (sgml-tag-syntax-table, sgml-tag-name-re): New const.
6392 (sgml-tags-invisible): Use it.
6393 (sgml-lexical-context): New fun.
6394 (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
6395 (sgml-quote): Accept \n as entity reference terminator.
6396 (sgml-calculate-indent, sgml-indent-line): New funs.
6398 2002-03-28 Andre Spiegel <spiegel@gnu.org>
6400 * vc-cvs.el (vc-cvs-global-switches): New user option.
6401 (vc-cvs-command): New function. Update all callers of
6402 `vc-do-command' in vc-cvs.el to use this instead.
6404 2002-03-27 Andrew Innes <andrewi@gnu.org>
6406 * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
6407 relying on shell globbing.
6409 2002-03-27 Colin Walters <walters@debian.org>
6411 * ibuffer.el (ibuffer-help-buffer-modes): New variable.
6412 (ibuffer-fontification-alist): Use it.
6413 (ibuffer-backward-line): Handle `ibuffer-summary' area.
6414 (ibuffer-forward-line): Ditto.
6416 * ibuf-ext.el (sorter mode-name): Doc fix.
6417 (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
6418 (operation query-replace): Use new `noerror' arg for
6419 `query-replace-read-args'.
6420 (operation query-replace-regexp): Ditto.
6422 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
6424 * textmodes/xml-lite.el: Fix copyright notice.
6425 (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
6426 (xml-lite-indent-comment-offset): Remove.
6427 (xml-lite-calculate-indent): Use new name. Use natural alignment
6429 (xml-lite-in-string-p): Simplify.
6431 2002-03-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6433 * allout.el (outline-layout): Doc fix.
6435 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
6437 * textmodes/xml-lite.el: Don't require `custom'.
6438 (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
6439 (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
6440 (xml-lite-get-context): Drop nested tags not just for comments.
6441 (xml-lite-indent-line): Be more careful about moving point.
6442 (xml-lite-insert-end-tag, xml-lite-slash):
6443 Use indent-according-to-mode instead of xml-lite-indent-line.
6444 (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
6445 Set sgml-xml-mode. Don't call force-mode-line-update.
6446 (xml-lite-mode-map): Don't bind TAB.
6448 2002-03-27 Zoltan Kemenczy <zoltan@ieee.org>
6450 * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
6452 (gud-jdb-build-source-files-list): Comment clarification.
6453 (gud-jdb-massage-args): Reworked into loop-based argument list
6454 processing in order to support -classpath and -sourcepath argument
6456 (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
6457 to gud-jdb-classpath to obtain search list.
6458 (gud-jdb-parse-classpath-string): Remove any trailing slashes from
6459 directory names in classpath/sourcepath lists, update comment.
6460 (jdb): Add setting of gud-jdb-sourcepath, update comment.
6461 (gud-find-class): Add gud-jdb-sourcepath use, and correct
6462 behaviour for the case when classpath is not used--backward
6465 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
6467 * Makefile.in (compile, compile-always): Don't try to compile
6468 non-existent files or files in empty directories.
6470 2002-03-26 Michael Ernst <mernst@alum.mit.edu>
6472 * compare-w.el (compare-windows-whitespace): Match all whitespace.
6474 * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
6475 copy of standard Lisp directories.
6477 * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
6478 Support "next has longname" link type.
6480 2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
6482 * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
6483 (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
6485 (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
6486 (end-of-xml-tag): Remove.
6487 (xml-lite-get-context): Better handling of comments.
6488 (xml-lite-calculate-indent): Use xml-lite-in-string-p.
6489 (xml-lite-parse-tag-backward): Rewrite.
6491 2002-03-26 Juanma Barranquero <lektu@terra.es>
6493 * makefile.w32-in (WINS): Add the toolbar directory.
6495 2002-03-26 Richard M. Stallman <rms@gnu.org>
6497 * subr.el (substring-no-properties): Function deleted (now in C).
6499 2002-03-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6501 * mwheel.el (mouse-wheel-mode): Use global-set-key and
6504 2002-03-24 Richard M. Stallman <rms@gnu.org>
6506 * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
6508 * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
6509 to query-replace-read-args.
6511 * progmodes/compile.el (compilation-forget-errors):
6512 Don't adjust compilation-parsing-end if it's nil.
6514 * replace.el (query-replace-read-args): New optional arg NOERROR.
6515 (perform-replace): Use save-window-excursion around recursive edit.
6517 2002-03-24 Colin Walters <walters@verbum.org>
6519 * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
6520 non-nil, then always use another window.
6522 2002-03-24 Gerd Moellmann <gerd@gnu.org>
6524 * subr.el (macro-declaration-function): New function. Set the
6525 variable macro-declaration-function to it.
6527 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6528 Handle declarations in macro definitions.
6530 2002-03-24 Eli Zaretskii <eliz@is.elta.co.il>
6532 * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
6534 * enriched.el (enriched-face-ans): Support FACE of the form
6535 (:foreground COLOR) and (:background COLOR).
6536 (enriched-decode-foreground, enriched-decode-background): Set the
6537 fore- and background colors of the faces we create, since facemenu
6540 2002-03-24 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6542 * mwheel.el (mouse-wheel-mode): Use the result of
6543 current-global-map instead of the variable `global-map'.
6545 2002-03-23 Richard M. Stallman <rms@gnu.org>
6547 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
6548 broken out of sendmail-pre-abbrev-expand-hook.
6549 (sendmail-pre-abbrev-expand-hook): Use it.
6551 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
6553 * Makefile.in (finder-inf.el): Remove.
6554 (finder-data): Don't depend on finder-inf.el any more.
6555 (compile, compile-always): Handle the case where some files
6556 from DONTCOMPILE are missing (it tried to compile them).
6557 (bootstrap-clean): Use src/emacs only if executable.
6558 (bootstrap): Update subdirs.el and finder-inf.el.
6560 * finder.el: Don't load finder-inf.el during byte-compilation.
6562 * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
6563 Don't consider cvs-removed files as under VC control.
6564 VC wouldn't handle them properly anyway and it confuses
6565 vc-file-not-found-hook.
6567 * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
6568 Add autoload cookie.
6570 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
6572 * calendar/calendar.el (calendar): Doc fix.
6574 2002-03-22 Juanma Barranquero <lektu@terra.es>
6576 * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
6577 (gomoku-font-lock-X-face): Likewise.
6578 (gomoku-font-lock-keywords): Use faces instead of variables.
6580 2002-03-21 Stefan Monnier <monnier@cs.yale.edu>
6582 * Makefile.in (bootstrap): Make sure subdirs.el is ready.
6584 2002-03-21 Kim F. Storm <storm@cua.dk>
6586 * simple.el (open-network-stream, open-network-stream-nowait)
6587 (open-network-stream-server): Use featurep to test for
6588 supported networking features.
6590 2002-03-21 Thien-Thi Nguyen <ttn@gnu.org>
6592 * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
6593 directions as the last action.
6595 2002-03-21 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6597 * startup.el (fancy-splash-tail, normal-splash-screen):
6600 * novice.el (disabled-command-hook): Clarify output text to match
6603 2002-03-20 Jason Rumney <jasonr@gnu.org>
6605 * frame.el (display-images-p): Do not explicitly check display type.
6607 2002-03-20 pmr-sav <pmr-sav@hamm.pajato.com>
6610 Eliminate compilation warnings due to `rfc822-addresses'.
6611 (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
6612 warning free compile.
6614 2002-03-20 Michael Kifer <kifer@cs.stonybrook.edu>
6616 * ediff-diff.el (ediff-install-fine-diff-if-necessary):
6617 Take the current highlighting style into account.
6618 (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
6619 (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
6621 * ediff-init.el (ediff-patch-job): New macro.
6623 * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
6624 (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
6626 * ediff-ptch.el (ediff-map-patch-buffer):
6627 Use ediff-make-new-meta-list-header.
6628 (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
6630 * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
6631 (ediff-select-difference): Take highlighting style into account.
6632 (ediff-clone-buffer-for-region-comparison): New function.
6633 (ediff-inferior-compare-regions): Added comparison of current diff
6636 * ediff.el (ediff-clone-buffer-for-region-comparison)
6637 (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
6639 2002-03-19 pmr-sav <pmr-sav@hamm.pajato.com>
6641 * mail-utils.el (rmail-dont-reply-to):
6642 Overhaul to correctly apply the regular
6643 expressions in the variable `rmail-dont-reply-to-names' to the list of
6644 destination addresses. Contributed by lorentey@elte.hu.
6646 * rmail.el (rmail-dont-reply-to-names):
6647 Modify the documentation to make it email
6648 address centric rather than login name centric. Contributed by
6651 2002-03-18 Colin Walters <walters@verbum.org>
6653 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
6654 we don't require `cl' at runtime.
6655 (sorting mode mode-name): Don't take the symbol-name of a string.
6657 * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
6658 line after setting the mark.
6659 (ibuffer-insert-buffers-and-marks): Invert the test for
6660 `ibuffer-sorting-reversep'.
6662 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
6664 * international/ucs-tables.el (unify-8859-on-decoding-mode)
6665 (unify-8859-on-encoding-mode): Remove autoload cookie.
6667 2002-03-18 Andre Spiegel <spiegel@gnu.org>
6669 * vc-rcs.el (vc-rcs-register): Fix handling of
6670 vc-[rcs-]register-switches.
6671 (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
6672 Variables removed, since they weren't used yet.
6674 * vc-cvs.el (vc-cvs-register): Fix handling of
6675 vc-[cvs-]register-switches.
6677 * vc-sccs.el (vc-sccs-register): Fix handling of
6678 vc-[sccs-]register-switches.
6680 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
6682 * loadup.el ("emacs-lisp/backquote"): Load earlier.
6683 ("international/ucs-tables"): Load and turn on
6684 unify-8859-on-encoding-mode unconditionally.
6685 (emacs-version): Use `defconst' rather than `setq'.
6687 * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
6689 2002-03-18 Richard M. Stallman <rms@gnu.org>
6691 * menu-bar.el (menu-bar-options-menu): Cope if
6692 text-mode-hook is not a list.
6694 2002-03-17 Richard M. Stallman <rms@gnu.org>
6696 * emulation/pc-select.el (pc-selection-mode):
6697 Alter the existing global map, don't replace it.
6699 * files.el (list-directory): Set default-directory at the end.
6701 * dabbrev.el (dabbrev--goto-start-of-abbrev):
6702 Put a limit on field-beginning search.
6704 2002-03-17 Simon Josefsson <jas@extundo.com>
6706 * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
6707 (browse-url-mosaic): Use it.
6709 * net/browse-url.el (browse-url-filename-alist): Don't begin
6710 docstring with *, you don't want to set this one with M-x set-variable.
6712 * net/browse-url.el: Put * in user option doc strings.
6714 2002-03-17 Stefan Monnier <monnier@cs.yale.edu>
6716 * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
6717 (sgml-xml-guess): Simplify.
6718 (sgml-mode-common): Remove (move into sgml-mode).
6719 (sgml-mode): Add code from sgml-mode-common.
6720 Remove redundant setting of indent-line-function.
6721 Don't set skeleton-transformation when in XML mode.
6723 * international/mule-diag.el (describe-char-after):
6724 Use `internal-describe-syntax-value' again (got lost somewhere).
6726 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
6727 Use unify-8859-on-decoding-mode.
6728 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
6729 (ucs-insert): Give an error if the unicode char can't be created.
6731 * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
6732 (cvs-parse-status): Handle the "used to have a conflict" marker.
6734 2002-03-17 Kim F. Storm <storm@cua.dk>
6736 The following changes are related to the enhanced network process
6739 * simple.el: Update copyright.
6740 (clone-process): Use make-network-process to clone network
6741 processes. Get command list via (process-contact ... t).
6742 Use set-process-query-on-exit-flag and process-query-on-exit-flag
6743 instead of process-kill-without-query.
6744 (open-network-stream): Replaces C-version from process.c.
6745 (open-network-stream-nowait, open-network-stream-server): New funs.
6746 (process-kill-without-query): Replaces C-version from process.c.
6748 * files.el: Update copyright.
6749 (save-buffers-kill-emacs): Also check for active server
6750 processes. Use process-query-on-exit-flag. Only list processes
6751 which has the query-on-exit flag set in connection with user query.
6753 * shadowfile.el: Update copyright.
6754 (shadow-save-buffers-kill-emacs): Also check for active server
6755 processes. Use process-query-on-exit-flag.
6757 2002-03-16 Simon Marshall <simon.marshall@misys.com>
6759 * imenu.el (imenu-menubar-modified-tick): Renamed from
6760 imenu-update-menubar-modified-tick.
6761 (imenu-update-menubar): Update imenu-menubar-modified-tick
6762 whenever outer condition succeeds.
6764 * lazy-lock.el (save-buffer-state):
6765 Bind inhibit-modification-hooks and buffer-file-truename
6766 instead of before-change-functions and after-change-functions.
6768 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
6770 * international/codepage.el (codepage-setup): Don't define a
6771 codepage if it is already defined.
6773 * textmodes/po.el (po-content-type-charset-alist): Convert the
6774 car of each association to a string.
6775 (po-find-file-coding-system-guts): If the charset matches a name
6776 of a codepage, set up that codepage and return it as a coding
6777 system to decode the file.
6778 (po-find-charset): Search for the Charset= header even if we've
6780 <top-level>: Remove the setup for all known codepages: it seems
6781 to cause crashes in the CCL driver.
6783 2002-03-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6785 * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
6786 (bibtex-entry-field-alist): Doc fix.
6788 2002-03-16 Richard M. Stallman <rms@gnu.org>
6790 * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
6791 Move definition above cperl-outline-regexp.
6793 * bindings.el (mode-line-mule-info): In computing help-echo prop,
6794 avoid using save-window-excursion. And compile the function.
6796 2002-03-15 Stefan Monnier <monnier@cs.yale.edu>
6798 * files.el (load-completion): New function.
6799 (load-library): Use it.
6801 2002-03-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6803 * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
6804 to match the actual code.
6806 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
6808 * textmodes/po.el (po-find-file-coding-system-guts):
6809 Use with-temp-buffer instead of po-with-temp-buffer.
6811 * international/mule-conf.el (file-coding-system-alist): Add an
6812 association for PO files.
6814 * textmodes/po.el: New file.
6816 2002-03-15 Gerd Moellmann <gerd@gnu.org>
6818 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6819 Fix simple loop indentation.
6821 2002-03-14 Miles Bader <miles@gnu.org>
6823 * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
6825 2002-03-14 Richard M. Stallman <rms@gnu.org>
6827 * textmodes/picture.el (picture-insert)
6828 (picture-clear-column, picture-draw-rectangle):
6829 Use move-to-column, not move-to-column-force.
6831 * dired.el (dired-readin): Clear out undo list.
6832 (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
6833 (dired-delete-entry): New function.
6834 (dired-internal-do-deletions): Use dired-fun-in-all-buffers
6835 and dired-delete-entry, to update this buffer (and others).
6837 * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
6839 * facemenu.el (facemenu-add-new-face):
6840 Pass region args to facemenu-set-face, when there is a region.
6841 (facemenu-set-foreground, facemenu-set-background)
6842 (facemenu-add-face): Doc fixes.
6844 * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
6846 2002-03-14 Miles Bader <miles@gnu.org>
6848 * emacs-lisp/debug.el: Require `button'.
6849 (debugger-mode-map): Set the parent keymap to `button-buffer-map',
6850 to get TAB and <backtab> bindings.
6852 * net/rlogin.el (rlogin-carriage-filter): Function removed.
6853 (rlogin): Don't install the `rlogin-carriage-filter' filter, as
6854 comint removes carriage returns itself now.
6856 * rfn-eshadow.el (rfn-eshadow-update-overlay):
6857 Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
6858 getting hosed by our own intangible property.
6860 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
6862 * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
6863 Add fortran-comment-line-start-skip to comment-start-skip.
6864 (fortran-comment-indent): Keep whole-line comments in column 0.
6865 (fortran-find-comment-start-skip): New arg `all'.
6866 If ALL is nil, make sure we only match comment-start-skip if we
6867 can't match fortran-comment-line-start-skip.
6868 Fix bug that made it return t but without moving point when
6869 matching '!'! (a false-comment followed by a real comment).
6870 (fortran-indent-comment): Use new `all' argument above.
6871 Be careful not to add an incorrect comment-starter like "C"
6873 (fortran-split-line): When splitting a comment, reuse the comment
6874 starter from the current line rather than fortran-comment-line-start.
6875 (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
6876 cleaner behavior of fortran-find-comment-start-skip.
6877 (fortran-fill): Don't be confused by ! inside a comment.
6878 (fortran-break-line): Minor cleanup and simplification.
6880 2002-03-13 Francesco Potorti` <pot@gnu.org>
6882 * progmodes/etags.el (tag-exact-file-name-match-p)
6883 (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
6886 2002-03-12 Colin Walters <walters@debian.org>
6888 * ibuffer.el (ibuffer-redisplay-current): Don't move point when
6889 redisplaying a line.
6891 2002-03-12 Jan D. <Jan.Djarv@mbox200.swipnet.se>
6893 * term/x-win.el (emacs-session-restore): Take previous id as
6895 (emacs-session-save): Add comment that return t means cancel shutdown
6897 * startup.el (command-line): Must check that x-session-previous-id
6898 is bound also, for non-X platforms.
6900 2002-03-12 Gerd Moellmann <gerd@gnu.org>
6902 * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
6903 (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
6905 (extended-loop-p, common-lisp-loop-part-indentation): New functions.
6906 (common-lisp-indent-function-1): Renamed from
6907 common-lisp-indent-function.
6908 (common-lisp-indent-function): Handle loop forms specially.
6909 (lisp-indent-defmethod): Use car/cdr instead of first/rest.
6910 (lisp-backquote-indentation): New user option.
6912 2002-03-12 Francesco Potorti` <pot@gnu.org>
6914 * progmodes/etags.el (tag-exact-file-name-match-p)
6915 (tag-file-name-match-p, tag-partial-file-name-match-p):
6916 Assume that the header of a tags section has either a number
6917 or nothing after the last comma.
6919 2002-03-11 Richard M. Stallman <rms@gnu.org>
6921 * imenu.el (imenu-update-menubar-modified-tick): New variable.
6922 (imenu-update-menubar): Don't call imenu--make-index-alist
6923 if buffer has not changed since last time.
6925 * desktop.el (desktop-buffer-handlers): Doc fix.
6926 (desktop-buffer-file): Explicitly return BUF.
6928 * paren.el (show-paren-function): Move back in other direction
6929 to verify the match is correct.
6931 * mail/supercite.el (sc-select-attribution): Accept whatever value
6932 we get in CHOICE; there is no value meaning "try again".
6934 2002-03-11 Colin Walters <walters@verbum.org>
6936 * shell.el (toplevel): Revert previous change to use pcomplete.
6937 (shell-mode): Ditto.
6938 (shell-pcomplete-setup-done): Remove.
6939 (shell-pcomplete): Ditto.
6940 (shell-pcomplete-reverse): Ditto.
6942 * comint.el: Remove documentation on setting up pcomplete.
6944 2002-03-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6946 * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
6949 * image.el (image-type-from-file-header): Make temporary buffer
6952 * subr.el (add-to-list): Doc fix.
6954 2002-03-11 Miles Bader <miles@gnu.org>
6956 * pcomplete.el (pcomplete-entries): Expand environment variables
6959 2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
6961 * play/mpuz.el: Use defface instead of facemenu-get-face.
6963 2002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se>
6965 * startup.el (command-line): Add call to emacs-session-restore if
6966 both x-session-id and x-session-previous-id are strings.
6968 * term/x-win.el (x-handle-smid): New function.
6969 (emacs-session-filename): New function.
6970 (emacs-session-save): New function.
6971 (emacs-save-session-functions): New variable.
6972 (emacs-session-restore): New function.
6974 2002-03-09 Eli Zaretskii <eliz@is.elta.co.il>
6976 * simple.el (shell-command-on-region): Call push-mark with
6977 non-nil second arg, to suppress the "Mark set" message.
6979 2002-03-08 Richard M. Stallman <rms@gnu.org>
6981 * textmodes/picture.el (picture-forward-column): New arg `interactive'
6982 is non-nil for an interactive call. Use instead of interactive-p.
6983 (picture-backward-column): Likewise.
6985 * tar-mode.el (tar-untar-buffer): New function.
6987 * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
6988 Put the mouse-face on the entire xref, like the local keymap.
6990 * find-dired.el (find-name-dired): Use shell-quote-argument.
6992 2002-03-08 Daniel Pfeiffer <occitan@esperanto.org>
6994 * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
6995 (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
6996 (mpuz-allow-double-multiplicator): New options for nicer look and
6998 (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
6999 (mpuz-check-all-solved, mpuz-random-puzzle)
7000 (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
7001 (mpuz-show-solution): Functions streamlined and removed french
7002 style space before punctuation, added face support and optional
7003 solving of trivial results.
7005 2002-03-07 Colin Walters <walters@verbum.org>
7007 * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
7009 * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
7010 instead of "recency" for clarity.
7011 (ibuffer-compile-format): Document more. Handle new "summarizer"
7013 (ibuffer-fontify-region-function): Ditto.
7014 (ibuffer-insert-buffer-line): Ditto.
7015 (ibuffer-map-lines): Ditto.
7016 (ibuffer-insert-buffers-and-marks): Ditto.
7017 (ibuffer-update-title-and-summary): Renamed from
7018 `ibuffer-update-title'. Handle "summarizer" columns.
7019 (ibuffer-clear-summary-columns): New function.
7021 * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
7023 2002-03-07 Gerd Moellmann <gerd@gnu.org>
7025 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7026 Use the other-window instead of the other-frame functions when
7027 the window is dedicated.
7029 2002-03-06 ShengHuo ZHU <zsh@cs.rochester.edu>
7031 * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
7032 with SILENT so that a new field can be added.
7034 2002-03-06 Eli Zaretskii <eliz@is.elta.co.il>
7036 * files.el (make-auto-save-file-name): Make sure the produced file
7037 name does not contain characters that are invalid for DOS/Windows
7040 * dos-fns.el, w32-fns.el (make-auto-save-file-name):
7041 Remove replacement functions.
7043 2002-03-06 Gerd Moellmann <gerd@gnu.org>
7045 * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
7048 * vc.el (vc-branch-part): Add autoload cookie. This function can
7049 be called from vc-rcs-find-most-recent-rev when visiting a file
7050 checked into RCS in a CVS sandbox.
7052 2002-03-06 Andreas Schwab <schwab@suse.de>
7054 * progmodes/hideif.el: Augment expression parser to handle
7055 conditional expressions.
7056 (hif-token-regexp): Also match `?' and `:'.
7057 (hif-tokenize): Handle `?' and ':' as tokens.
7058 (hif-expr): Parse conditional expressions.
7059 (hif-or-expr): Parse `||' expressions.
7060 (hif-and-expr): Renamed from hif-term.
7061 (hif-conditional): New function to evaluate a conditional
7064 2002-03-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7066 * language/czech.el ("Czech"): Fix the documentation.
7068 * language/slovak.el ("Slovak"): Likewise.
7070 2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
7072 * xml.el (xml-parse-attlist): Accept empty strings.
7074 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
7076 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
7077 all terminals now support highlighting of some kind.
7079 * language/european.el (mac-roman): Fix the safe-chars property.
7081 2002-03-05 Andre Spiegel <spiegel@gnu.org>
7083 * vc.el (vc-transfer-file): Use `make-temp-file'.
7084 (vc-default-update-changelog): Remove conditional use of
7087 * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
7089 2002-03-05 Michael Kifer <kifer@cs.stonybrook.edu>
7091 * ediff-init.el: Comments.
7093 * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
7096 * ediff-mult.el (ediff-intersect-directories)
7097 (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
7099 (ediff-draw-dir-diffs): Now supports the "C" command in directory
7101 (ediff-dir-diff-copy-file): New function that implements copying
7102 of files from one Ediff dir to another
7103 (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
7104 (ediff-append-custom-diff): Better error msgs.
7106 * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
7107 (ediff-inferior-compare-regions): Use
7108 ediff-clone-buffer-for-region-comparison. Better and simpler interface.
7110 * ediff.el (ediff-directories-internal): Cleanup.
7111 (ediff-clone-buffer-for-region-comparison): Better interface.
7113 2002-03-04 Richard M. Stallman <rms@gnu.org>
7115 * emacs-lisp/easy-mmode.el (define-minor-mode):
7116 Use "P" in interactive spec of minor mode commands.
7118 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
7120 * faces.el (face-spec-choose): Allow `t' to appear before the end.
7121 (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
7122 (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
7123 (variable-pitch, trailing-whitespace): Don't use the old-style entries.
7124 (mode-line-inactive, header-line): Move the `t' section to the
7125 beginning so the `:inherit' setting can be shared.
7127 2002-03-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7129 * net/snmp-mode.el: Require tempo when compiling to prevent
7130 warnings. Update copyright notice.
7132 * help.el (describe-key-briefly, describe-key): Interpret `undefined'
7133 like not defined at all.
7135 2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
7137 * textmodes/sgml-mode.el: Change maintainer to FSF.
7138 (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
7139 (sgml-tags-invisible, sgml-beginning-of-tag):
7140 Allow _ : and non-ASCII in tag names, as required for XML.
7141 (sgml-name-char): Don't assume anything about charsets handled by
7144 * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
7145 where one of the buffers is narrowed.
7147 * hexl.el (hexlify-command, dehexlify-command): Remove.
7148 (hexlify-buffer, dehexlify-buffer): Use call-process-region
7149 rather than shell-command-on-region.
7151 * newcomment.el (comment-forward): Use forward-comment to skip
7152 over whitespace (or comments) even when comment-use-syntax is nil.
7154 * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
7156 * textmodes/xml-lite.el: New file.
7158 2002-03-03 Richard M. Stallman <rms@gnu.org>
7160 * textmodes/artist.el (artist-system): Use make-temp-file.
7162 * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
7164 * mail/sendmail.el (mail-recover-1): Increase non-random-len
7165 by 1 since we changed make-auto-save-file-name to add one
7166 fewer character to the buffer name.
7167 (mail-recover): Really show point at the right place
7168 in the *Directory* buffer.
7170 * files.el (make-auto-save-file-name): Use make-temp-file.
7172 * terminal.el (te-create-terminfo): Use make-temp-file
7173 to create the source file in a safe way.
7175 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
7177 * cus-start.el: Rename automatic-hscroll-step and
7178 automatic-hscroll-margin into hscroll-step and hscroll-margin.
7180 * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
7181 (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
7183 * mouse.el (mouse-region-delete-keys): Add deletechar.
7185 2002-03-03 Sam Steingold <sds@gnu.org>
7187 * play/snake.el (snake-score-file): Fixed parens (broken by the
7189 * play/tetris.el (tetris-score-file): Ditto.
7191 2002-03-03 Richard M. Stallman <rms@gnu.org>
7193 * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
7195 * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
7197 * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
7198 (gamegrid-make-mono-tty-face): Fix usage of condition-case.
7200 2002-03-03 Thien-Thi Nguyen <ttn@gnu.org>
7202 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
7203 instead of `buffer-substring-no-properties' to support enriched mode.
7205 2002-03-02 Richard M. Stallman <rms@gnu.org>
7207 * find-dired.el (find-grep-dired): Call shell-quote-argument.
7208 Specify the -e option.
7209 Rename arg to `regexp'.
7211 2002-03-02 Milan Zamazal <pdm@zamazal.org>
7213 * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
7215 2002-03-02 Miles Bader <miles@gnu.org>
7217 * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
7218 event-modifiers before looking up in `mouse-wheel-scroll-amount'.
7219 If there's no applicable modifiers entry in the alist in
7220 `mouse-wheel-scroll-amount', fall back to the default, not to
7221 nil (which causes full screen scrolls).
7223 2002-03-01 Andreas Schwab <schwab@suse.de>
7225 * textmodes/texnfo-upd.el (texinfo-start-menu-description):
7226 Remove extra paren in regexp.
7228 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il>
7230 * mouse.el (mouse-show-mark): Use display-mouse-p, not
7231 display-graphic-p, to decide whether to move point or use the
7234 2002-02-28 Colin Walters <walters@verbum.org>
7236 * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
7238 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
7239 `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
7240 (calc-temp-file-name): Use `make-temp-file'.
7242 2002-02-28 Richard M. Stallman <rms@gnu.org>
7244 * font-lock.el (java-font-lock-extra-types):
7245 Match java.net.URL, etc.
7247 2002-02-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7249 * hexl.el (hexl-options): Doc fix.
7250 Update Commentary section.
7252 * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
7255 2002-02-28 Andre Spiegel <spiegel@gnu.org>
7257 * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
7258 the user to do that first.
7259 (vc-update): New function.
7261 * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
7262 which calls vc-update. Use the term "Base Version" instead of
7263 "Last Version" for the entries "Revert" and "Compare".
7265 2002-02-28 Kim F. Storm <storm@cua.dk>
7267 * simple.el (shell-command-on-region): Report non-zero exit
7268 status in mode line instead of buffer.
7270 2002-02-27 Richard M. Stallman <rms@gnu.org>
7272 * comint.el (comint-preoutput-filter-functions): Doc fix.
7273 (comint-output-filter-functions, comint-input-filter-functions)
7274 (comint-redirect-filter-functions): Likewise.
7276 (comint-redirect-preoutput-filter): Do the local-hook
7277 handling of t when running comint-redirect-filter-functions.
7278 (comint-output-filter): Likewise for comint-preoutput-filter-functions.
7280 2002-02-26 Richard M. Stallman <rms@gnu.org>
7282 * paths.el (remote-shell-program): Add doc string.
7284 2002-02-26 Colin Walters <walters@debian.org>
7286 * ibuf-ext.el (sorter mode-name): New.
7287 (ibuffer-do-occur): Don't quote ibuffer-marked-char.
7289 * calc/calc-ext.el (calc-scroll-left): Call scroll-left
7290 interactively, so they do something.
7291 (calc-scroll-right): Ditto.
7293 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
7295 * international/mule.el (ctext-pre-write-conversion): Handle the
7296 case when FROM is a string, and when we are called from
7297 build_annotations_2.
7299 2002-02-26 Richard M. Stallman <rms@gnu.org>
7301 * rect.el (clear-rectangle-line): Reindent to the same column
7302 that move-to-column reached when it tried to go to endcol.
7304 * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
7306 2002-02-26 Ivar Rummelhoff <ivarru@math.uio.no>
7308 * winner.el (winner-boring-buffers, winner-set): A window which
7309 displays a buffer whose name is in the list
7310 `winner-boring-buffers', will no longer be restored by `winner-undo'.
7311 (winner-sorted-window-list): Used to improve comparison between
7312 window configurations.
7313 (winner-win-data): Simplified and moved.
7314 (winner-conf): Simplified (now uses `winner-win-data').
7315 (winner-change-fun, winner-save-old-configurations)
7316 (winner-save-(un)conditionally, winner-redo): Changes made while in
7317 the minibuffer will be ignored. (Such changes are undone upon
7318 exit for the minibuffer, anyway.)
7319 (winner-set-conf): Preserve selected window whenever possible.
7320 (winner-make-point-alist): Simplified.
7321 (winner-mode, winner-save-unconditionally): Save current window
7322 configuration on entering minibuffer.
7323 (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
7324 since it does not change the overall behavior of Emacs.
7326 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
7328 * international/mule-conf.el (compound-text): Renamed back from
7329 compound-text-no-extensions.
7330 (ctext-no-compositions): Remove the mime-charset property.
7331 (compound-text-with-extensions): Renamed from compound-text.
7332 (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
7334 2002-02-26 Juanma Barranquero <lektu@terra.es>
7336 * faces.el (list-faces-display): Fix typo.
7338 2002-02-25 Richard M. Stallman <rms@gnu.org>
7340 * frame.el (focus-follows-mouse): Doc fix.
7342 2002-02-26 Miles Bader <miles@gnu.org>
7344 * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
7345 to `define-key', since it no longer accepts the latter.
7347 2002-02-25 Jason Rumney <jasonr@gnu.org>
7349 * term/w32-win.el (mouse-wheel-scroll-line): Use car of
7350 mouse-wheel-scroll-amount.
7352 * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
7355 * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
7357 2002-02-25 Andre Spiegel <spiegel@gnu.org>
7359 * vc.el (vc-diff-switches-list): Fix prev change, making the macro
7360 consistent with the others that take a backend name as a symbol.
7362 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
7364 2002-02-25 Kim F. Storm <no-spam@cua.dk>
7366 * comint.el (comint-replace-by-expanded-filename): Do nothing if
7367 comint-match-partial-filename returns nil.
7369 * shell.el (shell-pcomplete-setup-done): New variable.
7370 (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
7371 (shell-pcomplete-reverse): Ditto.
7373 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
7375 * ps-print.el (ps-print-printer): Added `lpr' customize group member.
7377 2002-02-25 Juanma Barranquero <lektu@terra.es>
7379 * subr.el (save-match-data): Doc fix.
7381 * ielm.el (ielm-prompt): Allow customization; make it read-only.
7383 2002-02-25 Kim F. Storm <storm@cua.dk>
7385 * shell.el (shell-mode-map): Add "Complete" header so completion
7386 menu is shown on the menu bar in shell mode.
7388 2002-02-25 Stefan Monnier <monnier@cs.yale.edu>
7390 * ielm.el (ielm-match-data): New var.
7391 (inferior-emacs-lisp-mode): Make it buffer-local.
7392 (ielm-eval-input): Use it to preserve match-data between inputs.
7394 2002-02-24 Juanma Barranquero <lektu@terra.es>
7396 * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
7398 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
7400 * cus-edit.el (custom-unlispify-remove-prefixes): Add to
7401 `custom-buffer' customize group.
7403 2002-02-23 Kim F. Storm <storm@cua.dk>
7405 * help.el (where-is): Use remap-command.
7407 * help-fns.el (describe-function-1): Use remap-command.
7409 * subr.el (global-set-key, local-set-key): Undo 2002-02-06
7410 change (no longer accept a symbol for the KEY argument).
7412 2002-02-23 Colin Walters <walters@debian.org>
7414 * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
7415 * calc/calcalg2.el (math-solve-get-sign): Ditto.
7417 * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
7418 in generated function.
7420 * ibuf-ext.el (ibuffer-old-time): Change to hours.
7421 (ibuffer-mark-old-buffers): Handle it.
7423 * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
7424 (toplevel): Bind them.
7425 (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
7426 not necessary now that we use pcomplete.
7428 * comint.el: Document how use new pcomplete completion facility.
7430 2002-02-23 Richard M. Stallman <rms@gnu.org>
7432 * mail/rmailsum.el (rmail-summary-output): Properly advance
7433 to next message, by calling rmail-summary-goto-msg.
7435 * net/browse-url.el (browse-url-galeon): Specify --existing
7436 for an existing window. Use --noraise rather than --no-raise.
7439 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
7441 * progmodes/etags.el (find-tag-noselect, find-tag)
7442 (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
7443 Fix a typo in doc strings.
7445 2002-02-20 Deepak Goel <deego@glue.umd.edu>
7447 * play/snake.el (snake-velocity-queue, snake-update-velocity)
7448 (snake-final-x-velocity, snake-final-y-velocity):
7449 New variable and functions. Store user's keypresses
7450 into a queue and pop from the queue each subsequent turn.
7451 (snake-update-game, snake-move-left)
7452 (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
7453 (snake-start-game): Use that queue.
7454 (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
7455 (snake-use-color-flag): Likewise.
7456 (snake-mode): Rename uses of those variables.
7458 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
7460 Support for ICCCM Extended Segments in X selections:
7462 * international/mule-conf.el (ctext-no-compositions): New coding
7464 (compount-text-no-extensions): Renamed from compound-text.
7465 (x-ctext-no-extensions, ctext-no-extensions): Aliases for
7466 compound-text-no-extensions.
7467 (compound-text): Redefined using post-read and pre-write conversions.
7469 * international/mule.el (non-standard-icccm-encodings-alist)
7470 (non-standard-designations-alist): New variables.
7471 (ctext-post-read-conversion, ctext-pre-write-conversion):
7474 2002-02-21 Jonathan Kamens <jik@kamens.brookline.ma.us>
7476 * vc.el (vc-default-init-version): Update documentation to
7477 indicate that the backend can override the default init version.
7478 (vc-register): Use the backend init-version function, if it
7479 exists, to determine the initial version of a file.
7480 (vc-diff-switches-list): Don't symbol-quote backend, since it's
7481 already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
7483 * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
7484 not version-controlled. This is necessary, e.g., if the file has
7485 just been reverted, and thus was previously under version control
7486 but isn't any longer.
7487 (vc-find-file-hook): Likewise.
7489 2002-02-21 Martin Lorentzson <Martin.Lorentzson@telia.com>
7491 * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
7492 (vc-cvs-sticky-tag-display): New variable.
7493 (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
7494 (vc-cvs-checkin): If the input revision is a valid symbolic tag
7495 name, we create it as a branch, commit and switch to it.
7496 (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
7497 (vc-cvs-valid-symbolic-tag-name-p): New function.
7498 (vc-cvs-parse-sticky-tag): New function.
7499 (vc-cvs-parse-entry): Added parsing of sticky tags.
7501 2002-02-21 Per Abrahamsen <abraham@dina.kvl.dk>
7503 * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
7504 nil, and then explicitly set the standard-value to t.
7506 2002-02-20 Sam Steingold <sds@gnu.org>
7508 * textmodes/flyspell.el (flyspell-mode): Autoload the variable
7509 since it is used in the menu bar.
7511 2002-02-20 Richard M. Stallman <rms@gnu.org>
7513 * simple.el (shell-command-on-region): Display the exit status
7514 when a command fails.
7516 * subr.el (add-hook): Doc fix.
7518 * frame.el (other-frame): Doc fix.
7520 * simple.el (yank): Clear `field' property.
7522 2002-02-20 Tom Tromey <tromey@cachet>
7524 * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
7525 natural paragraph boundaries. Don't fail at beginning of buffer.
7527 2002-02-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7529 * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
7530 call the argument "arg" to match plain next-line and
7531 previous-line. From Kevin Ryde <user42@zip.com.au>.
7533 2002-02-19 Sam Steingold <sds@gnu.org>
7535 * mwheel.el (mouse-wheel-scroll-amount): Can specify different
7536 scroll amounts for different modifiers now.
7537 (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
7539 (mouse-wheel-mode): Ditto.
7541 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
7543 * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
7544 around function body.
7546 * net/browse-url.el (browse-url-maybe-new-window): Reverse the
7547 sense of the comparison, to match the doc strings of functions
7548 that use this macro.
7550 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
7552 * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
7554 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
7555 * menu-bar.el (menu-bar-mode): Ditto.
7557 2002-02-18 Andreas Schwab <schwab@suse.de>
7559 * replace.el (query-replace-regexp-eval): Doc fix.
7561 2002-02-18 Colin Walters <walters@verbum.org>
7563 * calc/calcalg2.el (math-solve-get-int): Convert return value from
7564 `math-get-from-counter' to a string before calling `concat' on it.
7566 * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
7567 (calc-public-autoloads): Obsolete; remove.
7568 (calc-private-autoloads): Ditto.
7569 (calc-add-autoloads): Ditto.
7571 * calc/calc-macs.el (calc-with-default-simplification): Use &rest
7574 2002-02-17 Jason Rumney <jasonr@gnu.org>
7576 * w32-win.el (x-option-alist, x-long-option-alist)
7577 (x-switch-definitions): Remove, use command-line-x-option-alist
7578 instead to be consistent with X.
7579 (x-handle-initial-switch): New function.
7581 2002-02-17 Eli Zaretskii <eliz@is.elta.co.il>
7583 * faces.el (mode-line-inactive, header-line): Add the :inherit
7584 attribute for the tty case.
7586 2002-02-17 stanislav shalunov <shalunov@internet2.edu>
7588 * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
7589 invoked from Rmail with full headers displayed.
7591 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7593 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
7595 * textmodes/paragraphs.el (mark-paragraph): Ditto.
7597 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
7599 * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
7600 (menu-bar-tools-menu): Removed speedbar.
7602 * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
7603 and `flyspell-mode' entries.
7605 * textmodes/flyspell.el (flyspell): Add to ispell group.
7607 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7609 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
7611 (mark-defun): Mark more if repeated.
7613 2002-02-17 Colin Walters <walters@verbum.org>
7615 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
7617 * ibuffer.el (ibuffer-truncate-lines): New option.
7618 (ibuffer-mode): Use it.
7620 2002-02-17 Kim F. Storm <storm@cua.dk>
7622 * cus-start.el: Add mouse-highlight.
7624 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
7626 * Makefile.in (DONTCOMPILE): Remove cus-start.el.
7628 * cus-start.el: Add automatic-hscroll-margin and
7629 automatic-hscroll-step.
7631 2002-02-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7633 * cus-start.el (x-autoselect-window): Allow customization.
7635 * eshell/em-alias.el (eshell-alias-initialize): Do not use
7638 * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
7640 * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
7642 * eshell/em-glob.el (eshell-glob-initialize): Likewise.
7644 * eshell/em-hist.el (eshell-hist-initialize): Likewise.
7646 * eshell/em-pred.el (eshell-pred-initialize): Likewise.
7648 * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
7650 * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
7652 * eshell/em-smart.el (eshell-smart-initialize): Likewise.
7654 * eshell/em-unix.el (eshell-unix-initialize): Likewise.
7656 * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
7658 * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
7660 * eshell/esh-io.el (eshell-io-initialize): Likewise.
7662 * eshell/esh-mode.el (eshell-mode): Likewise.
7664 * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
7666 * eshell/esh-var.el (eshell-var-initialize): Likewise.
7668 * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
7670 * progmodes/idlwave.el (idlwave-mode): Likewise.
7672 * textmodes/reftex-sel.el (reftex-select-label-mode)
7673 (reftex-select-bib-mode): Likewise.
7675 2002-02-16 John Wiegley <johnw@gnu.org>
7677 * eshell/em-hist.el (eshell-hist-initialize): When in the
7678 minibuffer, use the global value of `eshell-history-ring', and
7679 never save it to disk, or ask to save it to disk. This allows
7680 users of session.el to control whether its global state should be
7682 (eshell-add-command-to-history): Don't write Eshell's history out
7683 to disk, let the governing mode control that upon exit.
7685 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
7687 * eshell/eshell.el (eshell-command): Before reading from the
7688 minibuffer, add eshell-add-command-to-history to
7689 minibuffer-exit-hook, and remove it after read-from-minibuffer
7692 * eshell/em-hist.el (eshell-add-input-to-history): New function,
7693 with most of the code from eshell-add-to-history.
7694 (eshell-add-command-to-history): New function, to record in
7695 eshell-history the commands run via eshell-command.
7696 (eshell-add-to-history): Call eshell-add-command-to-history to do
7699 2002-02-16 John Wiegley <johnw@gnu.org>
7701 * eshell/esh-ext.el (eshell-external-command): Added a fix for
7702 XEmacs' new dired.el, which adds a global entry in the
7703 `file-name-handler-alist'.
7705 2002-02-16 John Wiegley <johnw@gnu.org>
7707 * align.el (align-region): Added a missing name argument.
7709 2002-02-16 John Wiegley <johnw@gnu.org>
7711 * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
7712 after the #! of a shell interpretor specification.
7714 2002-02-15 Richard M. Stallman <rms@gnu.org>
7716 * help.el (describe-key-briefly): Make output in INSERT case
7717 look just like what is displayed in the normal case.
7719 2002-02-15 Andreas Schwab <schwab@suse.de>
7721 * textmodes/tex-mode.el (tex-font-lock-keywords-2):
7722 Require non-letter after specials.
7724 2002-02-15 Eli Zaretskii <eliz@is.elta.co.il>
7726 * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
7728 2002-02-15 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7730 * simple.el (mark-word): Mark more if repeated.
7731 * textmodes/paragraphs.el (mark-paragraph): Ditto.
7732 (mark-end-of-sentence): Ditto.
7734 2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
7736 * wid-edit.el (widgetp): Made it more robust.
7738 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
7740 * facemenu.el (describe-text-done): New function.
7741 (describe-text-mode-map): New variable.
7742 (describe-text-mode-hook): New option.
7743 (describe-text-mode): New function.
7744 (describe-text-widget): New function.
7745 (describe-text-sexp): New function.
7746 (describe-text-properties): New function.
7747 (describe-text-category): New command.
7748 (describe-text-at): New command.
7749 (facemenu-menu): Replace `list-text-properties-at' with
7750 `describe-text-at' in the menu.
7752 * wid-edit.el (widgetp): New function.
7753 * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
7755 * emacs-lisp/pp.el (pp-to-string): Autoloaded.
7757 * wid-browse.el: Removed version and x-url keywords.
7759 2002-02-13 Kim F. Storm <storm@cua.dk>
7761 * cus-start.el (mode-line-in-non-selected-windows):
7762 Allow customization.
7764 2002-02-13 Richard M. Stallman <rms@gnu.org>
7766 * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
7767 Tell bibtex-parse-keys to output no progress messages.
7769 2002-02-12 Eli Zaretskii <eliz@is.elta.co.il>
7771 * progmodes/pascal.el (pascal-imenu-generic-expression):
7772 Add menu-title and fix parentheses.
7774 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
7776 * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
7777 (menu-bar-options-menu): Don't set default value for `truncate-lines'.
7779 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
7781 * menu-bar.el (menu-bar-options-save): Only save
7782 `current-language-environment' and `default-input-method' when
7783 marked as customized.
7785 * international/mule-cmds.el
7786 (setup-specified-language-environment):
7787 Mark `current-language-environment' as customized.
7788 (set-input-method): Mark `default-input-method' as customized when
7789 called interactively.
7790 (toggle-input-method): Ditto.
7792 2002-02-11 Colin Walters <walters@verbum.org>
7794 * ibuffer.el (ibuffer-switch-format): Supply required argument for
7795 `ibuffer-current-formats'.
7797 2002-02-11 Miles Bader <miles@gnu.org>
7799 * faces.el (mode-line-inactive): Add dark-background variant.
7801 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
7803 * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
7804 * menu-bar.el (menu-bar-mode): Ditto.
7805 * cus-edit.el (customize-mark-to-save): Always save variables
7806 without a standard value.
7808 * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
7809 (menu-bar-options-save): Ditto.
7810 (menu-bar-showhide-menu): Ditto.
7811 (menu-bar-options-menu): Ditto.
7812 (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
7813 (menu-bar-scroll-bar-none): Remove.
7814 (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
7815 expressions instead.
7817 * cus-edit.el (customize-set-value): Return value.
7818 (customize-set-variable): Ditto.
7819 (customize-save-variable): Ditto.
7820 (customize-set-variable): Load dependencies before setting value.
7821 (custom-load-symbol): Autoload it.
7822 (customize-mark-as-set): New function.
7824 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
7826 * cus-start.el: Don't warn about "x-*" symbols when building a
7829 2002-02-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7831 * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
7833 (strokes-help): Do not use doubled with-output-to-temp-buffer.
7834 Fix the help string.
7835 (strokes-prompt-user-save-strokes): Fix typo.
7836 (strokes-list-strokes): Use proper exit-action argument for
7837 view-buffer. Update copyright notice.
7839 * international/mule-diag.el: Various doc and message fixes.
7840 (non-iso-charset-alist): Add mac-roman. Don't add entries for
7841 codepages already present.
7842 (list-block-of-chars): Display space for null entries in
7843 translation table. Display tab specially.
7844 (list-non-iso-charset-chars): Check for null charsets. Use pop
7845 for clarity. Don't break 8-bit sets into sections between ranges.
7846 (list-charset-chars): Avoid indent-tabs-mode.
7847 (describe-char-after): Maybe use the text property for syntax
7848 table information. Maybe report char-code-property-table info.
7849 Maybe report character's unicode. Tweak printing of list info.
7850 (list-input-methods): Add xref buttons.
7851 (dump-charsets, dump-codings): Deleted (obsolete).
7852 From Dave Love <fx@gnu.org>.
7854 2002-02-10 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7856 * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
7858 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
7860 * viper-util.el (viper-read-key-sequence): Fix so it'll read
7861 fast key sequences in emacs native mode
7862 (viper-events-to-keys): Delete.
7864 * viper.el (describe-key, describe-key-briefly): Get rid of
7865 viper-events-to-keys.
7867 * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
7869 * ediff-wind.el (ediff-setup-control-frame):
7870 Use ediff-has-gutter-support.
7872 * ediff-util.el (ediff-dispose-of-variant-according-to-user):
7873 check if buff is alive.
7875 * ediff.el: Typo in comment.
7877 2002-02-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7879 * menu-bar.el (menu-bar-options-save): Take care of
7880 line-number-mode and column-number-mode variables.
7881 (menu-bar-showhide-menu): New menu-items "Show Line Number" and
7882 "Show Column Number" in "Show/Hide" menu.
7884 2002-02-09 Richard M. Stallman <rms@gnu.org>
7886 * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
7888 2002-02-09 Kim F. Storm <storm@cua.dk>
7890 * faces.el (mode-line-inactive): New face for mode-line for
7891 non-selected windows.
7892 (mode-line): Doc fix: Only used for selected window.
7894 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7896 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
7897 name to "Insert Diary Entry".
7899 2002-02-08 Stefan Monnier <monnier@cs.yale.edu>
7901 * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
7902 (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
7904 2002-02-08 Richard M. Stallman <rms@gnu.org>
7906 * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
7908 2002-02-08 Andreas Schwab <schwab@suse.de>
7910 * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
7913 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7915 * net/ange-ftp.el (ange-ftp-process-handle-line)
7916 (ange-ftp-set-xfer-size): If the file's size is a float, divide
7917 by 1024 instead of using ash.
7919 * international/mule-cmds.el (select-safe-coding-system):
7920 State the buffer's name in the message popped in the *Warning* buffer,
7921 and make sure the offending buffer is displayed.
7923 2002-02-07 Markus Rost <rost@math.ohio-state.edu>
7925 * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
7927 2002-02-07 Richard M. Stallman <rms@gnu.org>
7929 * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
7931 * register.el (list-registers): New command.
7932 (describe-register-1): New subroutine, taken out of view-register.
7934 * emacs-lisp/copyright.el (copyright-regexp):
7935 Delete the unibyte copyright symbol; it's redundant.
7936 Fix a spazz in the multibyte encoding here.
7938 2002-02-07 Dave Love <fx@gnu.org>
7940 * language/cyril-util.el (cyrillic-encode-koi8-r-char)
7941 (cyrillic-encode-alternativnyj-char): Get translation tables from
7942 symbol properties, not as variables.
7943 (standard-display-cyrillic-translit): Include unicodes.
7945 2002-02-06 Kim F. Storm <storm@cua.dk>
7947 * help.el (where-is): Report remapped commands.
7949 * help-fns.el (describe-function-1): Ditto.
7951 * subr.el (global-set-key, local-set-key): Accept a symbol for the
7952 KEY argument (like define-key).
7954 2002-02-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7956 * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
7958 2002-02-06 Richard M. Stallman <rms@gnu.org>
7960 * mail/mailabbrev.el: Require sendmail only at compile time.
7961 (mail-mode-header-syntax-table): Var deleted.
7962 (mail-abbrev-syntax-table): Init to nil, will compute when needed.
7963 (sendmail-pre-abbrev-expand-hook): Only temporarily change
7964 local-abbrev-table and the syntax table.
7965 Compute mail-abbrev-syntax-table if that has not been done.
7967 * progmodes/compile.el (grep-compute-defaults): Definition moved up.
7969 * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
7970 (debugger-frame-number): Figure out the offset directly.
7971 (debugger-setup-buffer): Don't use debugger-frame-offset.
7972 (debugger-frame, debugger-frame-clear): Likewise.
7973 (debugger-jump): Don't alter debugger-frame-offset.
7975 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
7976 Replace foo-p as var name with foo-flag, not foo-p-flag.
7978 * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
7979 (highlight-changes-passive-string): Default to -Chg.
7980 (highlight-changes-global-modes): Doc fix.
7982 * dired.el (dired-get-filename): Add /: when appropriate
7983 to avoid taking a local name as remote.
7985 * files.el (file-name-non-special): Add special handling for
7986 file-name-sans-versions, file-name-completion, and
7987 file-name-all-completions.
7989 * isearch.el (isearch-update): Don't update display in kbd macro.
7990 (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
7992 * subr.el (force-mode-line-update): Doc fix.
7994 * subr.el (atomic-change-group, prepare-change-group)
7995 (activate-change-group, accept-change-group, cancel-change-group):
7998 * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
7999 (transpose-subr-1): Use atomic-change-group.
8001 * subr.el (add-minor-mode): Include the mode's lighter string
8002 in the minor mode menu item name.
8004 * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
8005 rmail-count-screen-lines starting from (point-min).
8007 * startup.el (use-fancy-splash-screens-p): Need 19 lines,
8008 beyond the image height, to use the fancy splash screen.
8010 * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
8011 (text-mode): Set text-mode-variant here.
8013 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
8015 * play/pong.el (pong-height): Don't use height that exceeds the
8017 (pong-border-options): Make the border colors slightly more bright.
8019 * play/gamegrid.el (gamegrid-display-type): Treat any
8020 color-capable display as color-x, if display-color-p is fboundp.
8021 (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
8022 (gamegrid-make-color-tty-face): Use the value of color, not the
8023 symbol itself. Don't call gamegrid-color.
8025 2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
8027 * gud.el (gud-refresh): Call recenter only after we are sure we
8028 are in the right window.
8030 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
8032 * cus-edit.el (customize-mark-to-save): New function.
8033 * menu-bar.el (menu-bar-options-save): Rewrote.
8035 2002-02-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8037 * cus-start.el (x-use-underline-position-properties):
8038 Allow customization.
8040 2002-02-04 Simon Josefsson <jas@extundo.com>
8042 * dired.el (dired-load-hook, dired-mode-hook)
8043 (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
8045 2002-02-03 Colin Walters <walters@verbum.org>
8047 * ibuf-ext.el (ibuffer-filter-format-alist)
8048 (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
8050 * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
8051 is now the Emacs CVS tree.
8052 (ibuffer-formats): Doc fix.
8053 (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
8054 (ibuffer-current-format): Use them.
8055 (ibuffer-recompile-formats, ibuffer-check-formats)
8056 (ibuffer-switch-format, ibuffer-update-title):
8057 Add support for ibuffer-filter-format-alist.
8058 (define-ibuffer-column process): Remove unncessary consing.
8060 * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
8061 for a summary column.
8063 2002-02-03 Andreas Schwab <schwab@suse.de>
8065 * window.el (save-selected-window): Move macro before first use.
8066 (balance-windows): Fix misplaced parenthesis.
8068 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8070 * calculator.el (calculator-displayers): Doc fixes.
8072 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8074 * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
8075 (menu-bar-options-save): Save also the value of `display-time-mode'.
8076 (showhide-date-time): New function.
8077 (menu-bar-showhide-menu): New menu-item "Date and time".
8079 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
8081 * mail/rmail.el (rmail): Use find-buffer-visiting instead of
8082 get-file-buffer to check for rmail buffer existence.
8084 * term.el (term-emulate-terminal): Extract proper command string
8085 which is supplied to term-command-hook.
8087 2002-02-03 Richard M. Stallman <rms@gnu.org>
8089 * international/quail.el (quail-help): Don't call help-setup-xref.
8091 * international/mule-cmds.el (describe-input-method):
8092 Call help-setup-xref here.
8093 (describe-current-input-method): Doc fix.
8095 * novice.el (disabled-command-hook): Clarify output text.
8096 Indent the paragraph from the command's doc string.
8098 * dabbrev.el (dabbrev--goto-start-of-abbrev):
8099 Exit loop on beginning of field rather than bobp.
8101 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
8103 * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
8104 the message text into the *mail* buffer, and restore the pruned
8107 * mail/rmail.el (rmail-redecode-body): Prune the headers before
8108 looking for X-Coding-System header, and restore the pruned state
8111 2002-02-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8113 * cus-edit.el (customize-save-variable): Fix typo in prompt.
8115 These changes integrate new version of flyspell.el from its
8116 maintainer, Manuel Serrano:
8118 * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
8119 (flyspell-mode-on, flyspell-notify-misspell)
8120 (flyspell-small-region, flyspell-external-point-words)
8121 (flyspell-large-region): Use it
8122 (flyspell-before-incorrect-word-string)
8123 (flyspell-after-incorrect-word-string): New user options.
8124 (make-flyspell-overlay): Use them.
8125 (flyspell-version): New function.
8126 (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
8127 definitions to use :weight.
8128 (flyspell-insert-function): New user option.
8129 (flyspell-auto-correct-word, flyspell-correct-word)
8130 (flyspell-xemacs-correct): Use it.
8131 (flyspell-define-abbrev): New function.
8132 (flyspell-auto-correct-word, flyspell-correct-word)
8133 (flyspell-xemacs-correct): Use it.
8134 (make-flyspell-overlay): Use `evaporate' property.
8135 (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
8136 (flyspell-emacs-popup): Use `session' instead of `accept'.
8137 (flyspell-auto-correct-previous-pos): New variable.
8138 (flyspell-auto-correct-previous-hook)
8139 (flyspell-auto-correct-previous-word): New functions.
8141 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
8143 * novice.el (enable-command): If Emacs was invoked as "emacs -q",
8144 don't alter the user's ~/.emacs.
8145 (disable-command): If user-init-file is nil or does not exist,
8146 default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
8147 But don't alter the init file if Emacs was invoked as "emacs -q"
8149 2002-02-01 Stefan Monnier <monnier@cs.yale.edu>
8151 * mail/sendmail.el (mail-mode): Undo half of last change.
8153 * indent.el (indent-for-tab-command): Remove spurious code.
8155 * hi-lock.el (hi-lock-find-patterns): Save restriction.
8157 2002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
8159 * calendar/time-date.el: Moved from lisp/gnus.
8161 * calendar/parse-time.el: Ditto.
8163 2002-01-31 Richard M. Stallman <rms@gnu.org>
8165 * international/iso-acc.el (iso-languages): Fix ", " in French.
8167 * cus-start.el (history-length): Specify customization for it.
8169 * emacs-lisp/debug.el (debugger-setup-buffer):
8170 When an eval-buffer frame was reading from a buffer,
8171 insert indication of the buffer position.
8172 (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
8173 (debugger-frame-clear, debugger-frame): Error on non-frame line.
8175 * simple.el (shell-command-on-region): Err if no mark
8176 before reading the command string.
8178 * hl-line.el (hl-line-highlight, hl-line-unhighlight):
8179 Definitions moved down after hl-line-mode var's definition.
8181 * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
8182 (hilit-chg-set-face-on-change): Rename arg.
8183 (hilit-chg-make-ov): Detect error earlier.
8185 * ediff-hook.el: Delete autoload cookies.
8187 * comint.el (comint-scroll-show-maximum-output): Default is t.
8189 * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
8190 (batch-byte-compile-if-not-done): New function.
8192 * Makefile.in (compile): New target.
8193 (compile-always): Renamed from compile-files.
8194 (compile-after-backup): Renamed from compile.
8195 (bootstrap): Depend on compile-always, not compile-files.
8197 * emulation/pc-select.el (pc-select-save-and-set-mode):
8198 Properly use MODE-VAR.
8200 2002-01-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8202 * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
8203 Version" to "About Emacs".
8204 (menu-bar-options-save): Add `default-frame-alist'
8206 (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
8207 of the variable `scroll-bar-mode'.
8209 * startup.el (normal-splash-screen, display-splash-screen):
8210 New functions (separated from command-line-1).
8211 (command-line-1): Use them.
8213 2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
8215 * calendar/calendar.el (generate-calendar-month): Doc fix.
8217 2002-01-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8219 * time.el (display-time-mail-directory): New option.
8220 (display-time-mail-function): Update doc-string.
8221 (display-time-mail-icon): Use XPM image when available.
8222 (display-time-string-forms): Use more descriptive text as
8224 (display-time-mail-check-directory): New function.
8225 (display-time-update): Use it.
8227 * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
8228 Quote `window-system'.
8230 * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
8231 Add Keywords header. Update Commentary section.
8232 Update copyright notice.
8234 * menu-bar.el (menu-bar-scroll-bar-right)
8235 (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
8236 (showhide-menu-bar): New functions.
8237 (menu-bar-showhide-menu): New submenu "Show/Hide".
8238 (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
8240 Update copyright notice.
8242 2002-01-27 Eli Zaretskii <eliz@is.elta.co.il>
8244 * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
8246 2002-01-26 Evgeny Roubinchtein <evgenyr@cs.washington.edu>
8248 * pc-select.el (pc-selection-mode-hook)
8249 (pc-select-saved-settings-alist, pc-select-map)
8250 (pc-select-saved-global-map, pc-select-key-bindings-alist)
8251 (pc-select-default-key-bindings, pc-select-extra-key-bindings)
8252 (pc-select-meta-moves-sexps-key-bindings)
8253 (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
8255 (pc-select-define-keys, pc-select-restore-keys): New functions.
8256 (pc-select-add-to-alist, pc-select-save-and-set-var)
8257 (pc-select-save-and-set-mode, pc-select-restore-var)
8258 (pc-select-restore-mode): New macros.
8259 (pc-selection-mode): Completely rewrote the body of the function;
8260 the main goal was to make pc-selection-mode "turn-off"-able, like
8261 other minor modes. Use define-minore-mode instead of just a
8262 defun. Store the key bindings into four alists:
8263 pc-select-default-key-bindings, pc-select-extra-key-bindings,
8264 pc-select-meta-moves-sexps-key-bindings, and
8265 pc-select-tty-key-bindings; then have the pc-select-define-keys
8266 function walk those alists instead of calling define-key
8267 repeatedly. When the mode is turned on, set the
8268 keybindings in global-map and remember the old keybindings; when
8269 the mode is turned off, restore the previously-saved keybindings.
8270 (pc-selection-mode defcustom): Reflect the fact that the mode is
8271 now "turn-off"-able.
8273 2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
8275 * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
8276 returns t, don't treat that as an error.
8278 2002-01-25 Jason Rumney <jasonr@gnu.org>
8280 * faces.el (face-font-registry-alternatives) [windows-nt]:
8281 Add ms-oemlatin as an alternative for iso8859-1.
8283 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
8285 * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
8286 args and the absence of an entry. Don't add -f each time.
8288 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
8290 * emacs-lisp/cl-seq.el (mismatch): Doc fix.
8292 Support for more than 8 colors on character terminals:
8294 * term/rxvt.el: New file.
8296 * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
8298 * term/xterm.el (xterm-standard-colors): New variable.
8299 (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
8300 (xterm-rxvt-set-background-mode): New functions.
8301 (toplevel): Call xterm-register-default-colors,
8302 xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
8303 Add support for more keys from xterm's terminfo entry.
8305 * facemenu.el (list-colors-display): If the argument is nil, don't
8306 show more colors that the number returned by display-color-cells.
8308 * term/pc-win.el (msdos-color-values): Reverse the order of the
8309 colors, since tty-color-define now preserves the registration order.
8311 * w32-fns.el (w32-tty-standard-colors): Reverse the order.
8313 * term/tty-colors.el (tty-standard-colors): Reverse the order.
8314 (tty-register-default-colors): New function; code moved from
8315 startup.el's command-line.
8316 (tty-modify-color-alist): Use nconc instead of cons, to preserve
8317 the order the colors where registered.
8319 * frame.el (display-color-cells): Use tty-display-color-cells.
8321 * startup.el (command-line): Call tty-register-default-colors.
8323 2002-01-25 Richard M. Stallman <rms@gnu.org>
8325 * subr.el (remove): Doc fix.
8327 2002-01-24 Richard M. Stallman <rms@gnu.org>
8329 * progmodes/compile.el (compilation-handle-exit):
8330 Add a compilation-handle-exit property to the "finished" message.
8331 (compilation-parse-errors): Stop parsing when that property is seen.
8333 * subr.el (substring-no-properties): New function.
8334 (copy-without-properties): Function deleted.
8336 * term/x-win.el (x-handle-geometry): Put sizes on both
8337 initial-frame-alist and default-frame-alist.
8339 * cus-edit.el (custom-save-all): Bind file-precious-flag to t
8342 * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
8344 * calendar/calendar.el (generate-calendar-month): Doc fix.
8346 2002-01-23 Richard M. Stallman <rms@gnu.org>
8348 * play/tetris.el (tetris): New defgroup.
8349 (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
8350 (tetris-default-tick-period): Convert to defcustom.
8351 Added * in docstring to indicate user variable.
8352 (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
8353 (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
8354 (tetris-buffer-height, tetris-width, tetris-height)
8355 (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
8357 2002-01-22 Stefan Monnier <monnier@cs.yale.edu>
8359 * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
8360 and is already matched by adaptive-fill-regexp.
8362 2002-01-22 Richard M. Stallman <rms@gnu.org>
8364 * bindings.el (mode-line-copied-mode-name): New variable.
8365 (mode-line-mode-name): Don't modify mode-name itself!
8366 Instead, make a copy and reuse it.
8368 * subr.el (copy-without-properties): New function.
8370 * progmodes/sh-script.el (sh-set-shell): Doc fix.
8372 * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
8373 slash if DIR is just slash.
8375 * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
8377 2002-01-21 Richard M. Stallman <rms@gnu.org>
8379 * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
8381 * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
8384 * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
8386 * ibuffer.el: Don't require ibuf-ext at load time.
8387 (ibuffer): Require ibuf-ext here.
8389 2002-01-21 Francesco Potorti` <pot@gnu.org>
8391 * generic-x.el (apache-conf-generic-mode): Highlight the first
8392 word in a line even if preceded by blanks.
8394 2002-01-21 Richard M. Stallman <rms@gnu.org>
8396 * window.el (window-body-height): Handle minibuffer window specially.
8397 Otherwise, don't return less than 1.
8399 2002-01-20 Thomas Dorner <Thomas.Dorner@start.de>
8401 * ange-ftp.el: Added support for BS2000, and for raw ftp
8402 login commands (needed in some circumstances).
8403 (ange-ftp-raw-login): New custom var.
8404 (ange-ftp-normal-login): Perform login with raw ftp commands, if
8405 ange-ftp-raw-login is set and account password is needed.
8406 (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
8407 (ange-ftp-bs2000-filename-pubset-regexp)
8408 (ange-ftp-bs2000-filename-username-regexp)
8409 (ange-ftp-bs2000-filename-prefix-regexp)
8410 (ange-ftp-bs2000-name-template): New consts.
8411 (ange-ftp-bs2000-short-filename-regexp)
8412 (ange-ftp-bs2000-fix-name-regexp-reverse)
8413 (ange-ftp-bs2000-fix-name-regexp): New consts.
8414 (ange-ftp-bs2000-special-prefix): New custom var.
8415 (ange-ftp-fix-name-for-bs2000)
8416 (ange-ftp-fix-dir-name-for-bs2000): New funs.
8417 (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
8418 (ange-ftp-bs2000-posix-hook-installed): New vars.
8419 (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
8420 (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
8421 (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
8422 (ange-ftp-bs2000-filename-regexp): New const.
8423 (ange-ftp-bs2000-additional-pubsets): New custom var.
8424 (ange-ftp-bs2000-cd-to-posix): New fun.
8426 2002-01-20 Colin Walters <walters@verbum.org>
8428 * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
8429 with `byte-compile-dynamic'.
8430 (ibuffer-default-directory, toplevel): Doc files.
8432 2002-01-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8434 * tempo.el (tempo-define-template): Doc fix.
8436 * scroll-bar.el (scroll-bar-mode): Make argument optional.
8438 2002-01-20 Jason Rumney <jasonr@gnu.org>
8440 * w32-vars.el: New file.
8442 * loadup.el [windows-nt]: Load it.
8444 * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
8445 and make them defcustoms.
8447 * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
8449 2002-01-19 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8451 * language/tibet-util.el (tibetan-decompose-region)
8452 (tibetan-decompose-string): Fix typo in docstring.
8454 * ruler-mode.el (ruler-mode): New keyword. Fix :version.
8456 2002-01-18 Richard M. Stallman <rms@gnu.org>
8458 * comint.el (comint-redirect-send-command-to-process):
8459 Restore previous current buffer.
8461 * window.el (window-body-height): New function.
8463 2002-01-18 Zoltan Kemenczy <kemenczy@rogers.com>
8465 * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
8466 "Finish Function" menu map entries for jdb mode.
8467 (gud-jdb-use-classpath): New customization variable.
8468 (gud-jdb-command-name): Add customization.
8469 (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
8470 (gud-jdb-classpath-string): New variable.
8471 (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
8472 (gud-jdb-build-source-files-list): Likewise.
8473 (gud-jdb-massage-args): Record any command argument classpath
8474 string in `gud-jdb-classpath-string'.
8475 (gud-jdb-lowest-stack-level): New function, finds bottom of current
8476 java call stack in jdb output.
8477 (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
8478 (gud-jdb-parse-classpath-string): New functions.
8479 (gud-jdb-marker-filter): Search/detect classpath information in
8480 jdb's output. marker regexp updated to match oldjdb and jdb output
8481 formats. Expand search for source files to include new/old methods
8482 using new functions above. Do not allow `gud-marker-acc' to grow
8484 (jdb): Set classpath information (if available) as jdb is started.
8485 Change `gud-break' and `gud-remove'
8486 to use new %c ("class") escape in format strings.
8487 Add `gud-finish', `gud-up', `gud-down' command string functions, and
8488 add them to the local menu map. Update `comint-prompt-regexp' for
8489 jdb and oldjdb. If attaching to an already running java VM and
8490 configured to use classpath, send command to query for classpath,
8491 else use previous method for finding and parsing java
8492 sources. Set `gud-jdb-find-source' function accordingly.
8493 (gud-mode): Doc fix.
8494 (gud-format-command): Add support for new %c ("class") escape.
8495 (gud-find-class): New function in support of %c escape.
8497 2002-01-17 Richard M. Stallman <rms@gnu.org>
8499 * ibuf-ext.el: Enable byte-compile-dynamic.
8501 2002-01-17 Jason Rumney <jasonr@gnu.org>
8503 * term/w32-win.el: Restore conditional require of fontset.
8505 2002-01-16 Richard M. Stallman <rms@gnu.org>
8507 * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
8509 (mouse-drag-region): New function. For a click in the echo area,
8512 * ibuf-ext.el: Delete the autoloads for functions defined with
8513 ibuffer-specific commands.
8515 * help.el (describe-distribution): Really call view-file.
8517 * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
8518 (ange-ftp-get-process): Pass that arg.
8520 * comint.el (comint-simple-send): Fix previous change.
8522 * net/telnet.el (telnet-simple-send): Fix previous change.
8524 * progmodes/sql.el (sql-escape-newlines-and-send)
8525 (sql-query-placeholders-and-send): Fix previous change.
8527 2002-01-16 Colin Walters <walters@verbum.org>
8529 * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
8530 URL, Compatibility headers. Update copyright notice.
8531 * ibuf-macs.el (toplevel): Require `cl' when compiling.
8533 2002-01-16 Andrew Choi <akochoi@cse.cuhk.edu.hk>
8535 * startup.el (command-line): Set EOL mnemonics for the Mac.
8537 2002-01-16 Andreas Schwab <schwab@suse.de>
8539 * mail/feedmail.el (feedmail): Fix :link spec.
8541 2002-01-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8543 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
8546 * net/eudc.el: New maintainer. Change author's address.
8547 (eudc-pre-select-window-configuration, eudc-insertion-marker):
8549 (eudc-insert-selected): Function removed.
8550 (eudc-select): Reimplemented.
8551 (eudc-expand-inline): Delete the strings only after its expansion
8552 is chosen not before.
8554 * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
8555 Minor coding style fixes.
8557 * net/eudcb-ldap.el: New maintainer. Change author's address.
8558 (eudc-attribute-display-method-alist): Display mail with
8561 * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
8562 * net/eudc-vars.el: New maintainer. Change author's address.
8564 * net/eudc-bob.el: New maintainer. Change author's address.
8565 (eudc-bob-mail-keymap): New keymap for e-mail addresses.
8566 (eudc-display-mail): New function.
8567 (eudc-bob-play-sound-at-point): Remove XEmacs case.
8569 2002-01-15 Richard M. Stallman <rms@gnu.org>
8571 * emacs-lisp/autoload.el (make-autoload):
8572 Don't handle define-ibuffer-column, define-ibuffer-filter,
8573 define-ibuffer-sorter, and define-ibuffer-op.
8575 2002-01-14 Richard M. Stallman <rms@gnu.org>
8577 * calendar/calendar.el (diary-date-forms): Doc fix.
8579 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
8581 * startup.el (command-line): Register the default tty colors even
8582 if the terminal doesn't seem to support colors.
8583 <tty-long-option-alist>: New option --color.
8584 (tty-handle-args): Parse the --color arg.
8586 * term/tty-colors.el (tty-color-mode-alist): New variable.
8588 2002-01-14 Stefan Monnier <monnier@cs.yale.edu>
8590 * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
8591 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
8593 (ange-ftp-hook-function): Preserve match-data.
8594 (ange-ftp-insert-directory): Typo.
8595 (ange-ftp-shell-command): Check if regexp matched.
8597 2002-01-13 Richard M. Stallman <rms@gnu.org>
8599 * international/mule-cmds.el: help-map bindings moved to help.el.
8601 * help.el (view-echo-area-messages): New function.
8602 (help-map): Add `e' binding. Delete obsolete `d' binding.
8603 Change old Info bindings C-f, C-k and C-i to F, K, S.
8604 Move view-emacs-FAQ from F to C-f.
8605 Move view-emacs-problems from P to C-e.
8606 Bindings moved here from mule-cmds.el.
8607 C-l binding for describe-language-environment deleted
8608 (help-for-help): Update for all these changes.
8610 * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
8612 2002-01-13 Dave Love <fx@gnu.org>
8614 * emacs-lisp/copyright.el: Doc fixes.
8615 (copyright-regexp): Add Latin-9 copyright sign.
8616 Match comment delimiters in year lists.
8617 (copyright-current-year): Initialize to load-time year.
8619 2002-01-13 Andreas Schwab <schwab@suse.de>
8621 * dired-aux.el (dired-do-shell-command): Doc fix.
8623 2002-01-13 Jan Djarv <Jan.Djarv@mbox200.swipnet.se>
8625 * startup.el (command-line-x-option-alist): New options "-fs",
8626 "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
8628 * term/x-win.el (x-handle-initial-switch): New function.
8630 2002-01-13 Colin Walters <walters@debian.org>
8632 * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
8633 define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
8635 * emacs-lisp/lisp-mode.el (toplevel): Ditto.
8637 * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
8639 2002-01-12 Richard M. Stallman <rms@gnu.org>
8641 * net/browse-url.el (browse-url-grail):
8642 Use browse-url-maybe-new-window.
8644 * net/telnet.el (telnet-simple-send):
8645 Handle comint-input-sender-no-newline like comint-simple-send.
8647 * progmodes/sql.el (sql-query-placeholders-and-send):
8648 Handle comint-input-sender-no-newline like comint-simple-send.
8649 (sql-escape-newlines-and-send): Likewise.
8651 * comint.el (comint-input-sender): Doc fix.
8652 (comint-input-sender-no-newline): New variable.
8653 (comint-simple-send): If comint-input-sender-no-newline,
8654 don't output newline, but maybe send eof.
8655 (comint-send-input): New arg NO-NEWLINE.
8656 (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
8658 2002-01-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8660 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8661 Prevent delaying when executing keyboard macros.
8663 2002-01-12 Richard M. Stallman <rms@gnu.org>
8665 * simple.el (line-move): If we can't move enough lines,
8666 go to beginning or end of line.
8668 * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
8671 * help.el (describe-mode): Call help-setup-xref in the help buffer.
8672 Switch buffers only after calling `help-buffer'.
8674 * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
8675 only when they are surrounded by whitespace.
8676 Use dired-mark-separator when adding one file name to a command.
8677 (dired-do-shell-command): Verify that * is surrounded by whitespace.
8678 Ask for confirmation if * or ? is not surrounded by whitespace.
8679 (dired-bunch-files): Re-reverse the partial file list when it is used.
8681 2002-01-12 Richard M. Stallman <rms@gnu.org>
8683 * comint.el (comint-dynamic-list-completions): Repeating the command
8684 after displaying a completion list scrolls the list.
8686 2002-01-12 Eli Zaretskii <eliz@is.elta.co.il>
8688 * files.el (find-file-noselect): Don't consider a buffer as
8689 visiting a file literally if it is in hexl-mode.
8691 * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
8693 2002-01-11 Richard M. Stallman <rms@gnu.org>
8695 * startup.el (initial-scratch-message): Fix custom type, add group.
8697 * mail/rmail.el (rmail-decode-babyl-format): Disable undo
8698 around the decode-coding-region call.
8700 * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
8701 after displaying a completion list scrolls the list.
8703 2002-01-11 Eli Zaretskii <eliz@is.elta.co.il>
8705 * version.el (emacs-version): Bump to 21.2.50.
8707 2002-01-10 Thien-Thi Nguyen <ttn@giblet.glug.org>
8709 * play/zone.el (zone-timeout): New var.
8710 (zone-hiding-modeline): New macro.
8711 (zone-call): New func.
8713 (zone): Init `modeline-hidden-level' symbol property.
8714 Use `zone-call' instead of `funcall'.
8716 (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
8718 (zone-pgm-stress): Use `zone-hiding-modeline'.
8720 (zone-pgm-stress-destress): New zone program.
8722 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
8724 * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
8726 2002-01-09 Richard M. Stallman <rms@gnu.org>
8728 * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
8730 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
8732 * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
8735 2002-01-08 Richard M. Stallman <rms@gnu.org>
8737 * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
8739 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
8741 * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
8743 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8745 * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
8746 Do not use make-local-hook.
8748 2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
8750 * international/quail.el (quail-start-translation)
8751 (quail-start-conversion): Bind last-command-event, last-command,
8752 and this-command in the first let. This fixes the change from
8755 2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
8757 * ediff-hook.el: Add an autoload cookie.
8759 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8761 * net/eudcb-ph.el, net/ldap.el: New maintainer. New e-mail
8762 address of the author.
8764 2002-01-08 Richard M. Stallman <rms@gnu.org>
8766 * replace.el (occur-mode-goto-occurrence-other-window): New command.
8767 (occur-mode-map): Bind `o' to that.
8769 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
8771 * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
8772 new macro that replaces viper-emacs-p and viper-xemacs-p in many
8773 cases. Used to reduce the number of warnings.
8775 * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
8776 (viper-standard-value): Move here from viper.el.
8777 (viper-set-unread-command-events): Move to viper-util.el
8778 (viper-check-minibuffer-overlay): Make sure
8779 viper-minibuffer-overlay is moved to cover the entire input field.
8781 * viper-util.el: use viper-cond-compile-for-xemacs-or-emacs.
8782 (viper-read-key-sequence, viper-set-unread-command-events)
8783 (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
8785 * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
8787 * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
8789 * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
8791 * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
8792 (viper-event-vector-p): Move to viper-util.el
8794 * viper.el (viper-standard-value): Move to viper-cmd.el.
8795 Use viper-cond-compile-for-xemacs-or-emacs.
8797 * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8799 * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8801 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
8802 New macro designed to be used in many places where ediff-emacs-p or
8803 ediff-xemacs-p was previously used. Reduces the number of warnings.
8804 Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
8806 (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
8807 (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
8808 (ediff-whitespace-diff-region-p, ediff-get-region-contents):
8809 Move to ediff-util.el.
8810 (ediff-event-key): Moved here.
8812 * ediff-merge.el: Got rid of unreferenced variables.
8814 * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8816 * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8817 (ediff-cleanup-mess): Improve the way windows are set up after
8819 (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
8820 (ediff-dispose-of-variant-according-to-user): New function
8821 designed to be smarter and also understands indirect buffers.
8822 (ediff-highlight-diff-in-one-buffer)
8823 (ediff-unhighlight-diff-in-one-buffer)
8824 (ediff-unhighlight-diffs-totally-in-one-buffer)
8825 (ediff-highlight-diff, ediff-highlight-diff)
8826 (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
8827 (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
8828 (ediff-get-region-contents, ediff-make-current-diff-overlay):
8830 (ediff-format-bindings-of): New function by Hannu Koivisto
8832 (ediff-setup): Make sure the merge buffer is always widened and
8834 (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
8835 result of a merge into a file visited by another buffer.
8836 (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
8837 is visited by another buffer and ask to save/delete that buffer.
8838 (ediff-verify-file-merge-buffer): New function to do the above.
8840 * ediff-vers.el: Load ediff-init.el at compile time.
8842 * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
8844 * ediff.el (ediff-windows, ediff-regions-wordwise)
8845 (ediff-regions-linewise): Use indirect buffers to improve
8846 robustness and make it possible to compare regions of the same
8847 buffer (even overlapping regions).
8848 (ediff-clone-buffer-for-region-comparison)
8849 (ediff-clone-buffer-for-window-comparison): New functions.
8850 (ediff-files-internal): Refuse to compare identical files.
8851 (ediff-regions-internal): Get rid of the warning about comparing
8852 regions of the same buffer.
8854 * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
8855 Plus the following fixes courtesy of Dave Love: Doc fixes.
8856 (ediff-word-1): Use word class and move - to the
8857 front per regexp documentation.
8858 (ediff-wordify): Bind forward-word-function outside loop.
8859 (ediff-copy-to-buffer): Use insert-buffer-substring rather than
8860 consing buffer contents.
8861 (ediff-goto-word): Move syntax table setting outside loop.
8863 2002-01-07 Richard M. Stallman <rms@gnu.org>
8865 * dired.el (dired-copy-filename-as-kill): Call kill-append
8866 if following a kill command.
8868 * help-fns.el (describe-variable, describe-function):
8871 2002-01-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8873 * net/ldap.el (ldap-search-internal): Skip error message from
8874 ldapsearch. Allow listing attribute names only. Do not open
8877 * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
8878 call non-existent function.
8880 * net/eudc.el (top-level): Revert previous change.
8882 * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
8883 variables to prevent warning from byte-compiler.
8885 * net/eudc.el (top-level): Use eudc-xemacs-p instead of
8886 string-match on emacs-version again.
8888 * enriched.el (enriched-make-annotation): Fix the change from
8890 (enriched-handle-display-prop): Return proper values.
8892 * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
8893 Use proper attribute name labeledUri instead of deprecated labeledUrl.
8895 2002-01-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8897 * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
8898 editing an empty hotlist.
8900 * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
8901 Use buffer-string instead of buffer-substring for the whole buffer.
8903 * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
8906 * net/eudc-bob.el (eudc-bob-can-display-inline-images)
8907 (eudc-bob-display-jpeg): Use fboundp instead of boundp.
8908 (eudc-bob-save-object): Make the buffer unibyte.
8909 (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
8910 object to external program.
8912 2002-01-05 Andre Spiegel <spiegel@gnu.org>
8914 * vc.el (vc-branch-part): Return nil if there's no `.'
8915 (vc-default-previous-version): Renamed from vc-previous-version.
8916 New args BACKEND and FILE. Return nil for revision numbers
8918 (vc-version-diff): Call vc-BACKEND-previous-version.
8919 (vc-steal-lock): Steal lock before composing mail, so that no mail
8920 is sent when the stealing goes wrong. And we'll actually see the
8921 error in that case now.
8922 (vc-finish-steal): Removed.
8924 * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
8925 the lock, so that we see expanded headers.
8926 (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
8927 (vc-rcs-minor-part, vc-rcs-previous-version): Removed. These are
8928 available from vc.el. Updated all callers.
8930 2002-01-05 Richard M. Stallman <rms@gnu.org>
8932 * enriched.el (enriched-make-annotation): Doc fix.
8934 * format.el (format-replace-strings, format-subtract-regions)
8935 (format-annotate-region, format-annotate-location)
8936 (format-annotate-atomic-property-change)
8937 (format-annotate-single-property-change): Doc fixes.
8939 2002-01-05 Jason Rumney <jasonr@gnu.org>
8941 * term/w32-win.el: Require fontset unconditionally.
8942 (w32-handle-scroll-bar-event): Remove.
8944 2002-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8946 * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
8947 copyrights to be updated.
8949 2002-01-04 Eli Zaretskii <eliz@is.elta.co.il>
8951 * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
8954 * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
8956 2002-01-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8958 * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
8959 (ldap-ignore-attribute-codings): Change the default value to allow
8960 encoding/decoding of attributes.
8961 (ldap-coding-system): Use UTF-8 as the coding-system. Doc fix.
8963 2002-01-03 Richard M. Stallman <rms@gnu.org>
8965 * files.el (basic-save-buffer): Undo previous change.
8967 * calendar/diary-lib.el (diary-block): Doc fix.
8969 * custom.el (defcustom): Fix syntax of previous change.
8971 2002-01-03 Per Abrahamsen <abraham@dina.kvl.dk>
8973 * custom.el (defcustom): Documented :tag, :link and :load.
8975 2002-01-03 Eli Zaretskii <eliz@is.elta.co.il>
8977 * mail/sendmail.el (mail-recover-1): New function.
8978 (mail-recover): Switch to the *mail* buffer right away.
8979 Use buffer-auto-save-file-name instead of calling
8980 make-auto-save-file-name. Call dired-noselect instead of invoking
8981 `ls' directly. Bind coding-system-for-read to emacs-mule-unix
8982 before reading the auto-save file. If the buffer's auto-save file
8983 does not exist, call mail-recover-1 to allow recovery from past
8986 2002-01-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8988 * time.el (display-time-load-average-threshold): Fix defcustom
8989 (add type and group).
8991 * net/ange-ftp.el (ange-ftp-shell-command): Remove port
8992 specification from the hostname.
8994 2002-01-02 Richard M. Stallman <rms@gnu.org>
8996 * facemenu.el (facemenu-active-faces):
8997 Use face-attributes-as-vector, not face-attributes-vector.
8999 2002-01-02 Chris Hanson <cph@aarau.ai.mit.edu>
9001 * xscheme.el: Eleven years of updates on a private copy.
9003 Extensive changes to support multiple xscheme buffers:
9004 (run-scheme): Break up into new functions to facilitate starting
9005 processes in other buffers.
9006 (xscheme-start, xscheme-read-command-line): New functions.
9007 (start-scheme, select-scheme)
9008 (default-xscheme-runlight)
9009 (global-set-scheme-interaction-buffer)
9010 (local-set-scheme-interaction-buffer)
9011 (local-clear-scheme-interaction-buffer)
9012 (exit-scheme-interaction-mode)
9013 (verify-xscheme-buffer): New functions.
9014 (xscheme-process-name, xscheme-buffer-name)
9015 (xscheme-runlight): New internal vars.
9016 (default-xscheme-runlight): New const.
9017 (xscheme-start-process): Add args for the process/buffer names.
9018 (reset-scheme): Pass process/buffer names.
9019 (scheme-interaction-mode): Initialize new local vars.
9020 (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
9021 (xscheme-select-process-buffer, xscheme-process-buffer)
9022 (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
9023 (xscheme-goto-output-point, xscheme-write-message-1): Use new
9024 var xscheme-process-name.
9025 (xscheme-start-process): Initialize xscheme-process-name and
9026 xscheme-buffer-name in the process buffer. Pass buffer name to
9027 xscheme-modeline-initialize.
9028 (xscheme-modeline-initialize): Add argument to specify buffer name
9030 (xscheme-process-sentinel): Make sure sentinel is run in the
9031 process buffer so it sees its local vars.
9032 (xscheme-process-filter-initialize, xscheme-set-runlight):
9033 More elaborate logic to handle multiple-buffer mode lines.
9035 (xscheme-enter-input-wait): Re-enable control-G handler upon
9036 entering input wait.
9038 (scheme-interaction-mode): Add arg to preserve local vars.
9039 (xscheme-enter-interaction-mode)
9040 (xscheme-enter-debugger-mode): Preserve local vars.
9041 (xscheme-start-process): Clobber local vars.
9043 (scheme-interaction-mode-commands): Allow end user to add commands
9044 to scheme-interaction-mode keymap.
9045 (scheme-interaction-mode-commands-alist): New variable.
9047 (xscheme-send-string): Don't use insert-before-markers.
9049 Implement a per-buffer kill ring:
9050 (xscheme-insert-expression)
9051 (xscheme-rotate-yank-pointer, xscheme-yank)
9052 (xscheme-yank-pop, xscheme-yank-push): New functions.
9053 (xscheme-expressions-ring)
9054 (xscheme-expressions-ring-yank-pointer)
9055 (xscheme-expressions-ring-max): New variables.
9056 (xscheme-send-string-1): Call xscheme-insert-expression to save
9058 (xscheme-yank-previous-send): Now an alias for xscheme-yank.
9059 (xscheme-previous-send): Deleted variable.
9061 (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
9062 (xscheme-send-control-g-interrupt): Use process-send-string rather
9065 (xscheme-send-region): Insert a newline after an expression that
9066 is submitted in the interaction buffer, for consistency with
9067 recent changes to Edwin.
9069 (xscheme-delete-output): New function mimics comint-delete-output.
9070 (xscheme-last-input-end): New internal variable.
9071 (xscheme-process-filter-output): Update xscheme-last-input-end.
9073 (xscheme-send-control-g-interrupt): Make sure that
9074 xscheme-control-g-disabled-p is looked up in the right buffer.
9076 (xscheme-enable-control-g): Clear C-g message if visible.
9077 (xscheme-control-g-message-string): New internal var.
9078 (xscheme-send-control-g-interrupt): Use new var.
9080 (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
9081 Delay after sending interrupt in order to work around race condition.
9083 (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
9084 (xscheme-send-char): Use xscheme-send-char rather than send-string
9085 to send single char.
9087 (xscheme-process-filter, xscheme-process-filter-alist):
9088 Add support for evaluating expressions outside of the call-excursion.
9089 (xscheme-process-filter:string-action-noexcursion): New func.
9091 (xscheme-write-value): Change output string to match that used by
9094 (xscheme-coerce-prompt): Don't write a space after a command
9095 prompt. The PROMPT-FOR-COMMAND- procedures will take care of this
9098 (reset-scheme): Delete process after killing it.
9100 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
9102 * bindings.el (function-key-map): Don't bind shifted keypad
9105 2002-01-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9107 * enriched.el (enriched-handle-display-prop): Remove unused variables.
9108 (enriched-mode): Doc fix.
9110 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
9112 * international/ucs-tables.el (ucs-8859-8-alist): Comment away
9115 2002-01-01 Richard M. Stallman <rms@gnu.org>
9117 * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
9119 2001-12-31 Richard M. Stallman <rms@gnu.org>
9121 * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
9122 * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
9123 * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
9124 * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
9125 * progmodes/cperl-mode.el, progmodes/idlwave.el:
9126 * progmodes/sh-script.el, progmodes/vhdl-mode.el:
9127 Adapt face definitions to use :weight and :slant.
9129 * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
9131 * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
9133 * font-lock.el (initializing from font-lock-face-attributes):
9134 Use :weight and :slant, not :bold and :italic.
9136 2001-12-31 Per Abrahamsen <abraham@dina.kvl.dk>
9138 * cus-edit.el (custom-face-edit-fix-value): New function.
9139 (custom-face-edit): Use it, to convert :italic and :bold to new forms.
9141 2001-12-30 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9143 * progmodes/octave-mod.el (octave-abbrev-table):
9144 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
9145 * progmodes/fortran.el (fortran-mode-abbrev-table):
9146 * progmodes/f90.el (f90-mode-abbrev-table):
9147 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
9148 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
9149 predefined abbrevs as "system" abbrevs.
9151 2001-12-30 Richard M. Stallman <rms@gnu.org>
9153 * info.el (Info-fontify-node): For a **** underline line, put the
9154 invisible and intangible props on the following newline, but not
9155 on the previous newline or the last char of the previous line.
9157 * faces.el (face-set-after-frame-default): Don't change `default' face.
9159 * faces.el (minibuffer-prompt): Adopt some default colors.
9161 * replace.el (query-replace-read-args): Immediate error if read-only.
9163 * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
9164 Display the output buffer in a more intelligent way.
9166 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
9168 * ls-lisp.el (insert-directory): Modify the "total" line wording,
9169 in accordance with files.el's insert-directory.
9171 2001-12-29 Richard M. Stallman <rms@gnu.org>
9173 * files.el (basic-save-buffer): If a before-write hook displays
9174 an echo area message, pause before calling basic-save-buffer-1.
9176 2001-12-29 Markus Rost <rost@math.ohio-state.edu>
9178 * textmodes/reftex-global.el (reftex-query-replace-document)
9179 (reftex-change-label): Doc fix.
9181 * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
9183 * progmodes/etags.el (tags-query-replace): Doc fix.
9185 2001-12-29 Richard M. Stallman <rms@gnu.org>
9187 * progmodes/compile.el (compile-internal): Fix previous change.
9189 2001-12-28 Richard M. Stallman <rms@gnu.org>
9191 * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
9192 shrink the windows above as necessary to get space.
9193 (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
9195 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
9196 This fixes a bug that treated all files as directories.
9197 (ange-ftp-insert-directory): Explicitly follow symlinks.
9199 * international/iso-transl.el (iso-transl-char-map) Eliminate the
9200 alias symbols--put the translated sequences here directly.
9202 * progmodes/cc-mode.el (c-mode-abbrev-table)
9203 (c++-mode-abbrev-table, objc-mode-abbrev-table)
9204 (java-mode-abbrev-table, pike-mode-abbrev-table):
9205 Mark all the predefined abbrevs as "system" abbrevs.
9207 * mail/sendmail.el (mail-envelope-from): Fix custom type.
9208 (sendmail-send-it): Check mail-specify-envelope-from
9209 and mail-envelope-from in the mail buffer at start.
9211 2001-12-28 Simon Josefsson <jas@extundo.com>
9213 * mail/sendmail.el (mail-envelope-from): Fix :type.
9214 (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
9216 2001-12-28 Richard M. Stallman <rms@gnu.org>
9218 * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
9220 * simple.el (line-move-invisible): New subroutine.
9221 (line-move-to-column): New subroutine--smarter about advancing over
9222 invisible parts of a line, or lines, but only as long as hpos grows.
9223 (line-move-finish): New subroutine: repeatedly processes desired
9224 column, intangibility, and fields.
9225 (line-move): Use those subroutines.
9226 When moving lines downward, skip invisible text first rather than last.
9228 2001-12-27 Richard M. Stallman <rms@gnu.org>
9230 * international/mule-diag.el (describe-char-after):
9231 Describe the text properties of the char after point.
9233 * help.el (describe-key): Doc fix.
9235 2001-12-26 Markus Rost <rost@math.ohio-state.edu>
9237 * find-dired.el (find-dired-sentinel): Precede exit message by
9238 two spaces, to match the regexp in dired-between-files.
9240 2001-12-28 Miles Bader <miles@gnu.org>
9242 * wid-edit.el (widget-toggle-value-create): Don't eval actual
9243 images (which are lists too).
9245 2001-12-27 Eli Zaretskii <eliz@is.elta.co.il>
9247 * language/european.el: Fix the doc string of "Latin-5" language
9250 2001-12-26 Richard M. Stallman <rms@gnu.org>
9252 * textmodes/flyspell.el (flyspell-mode-map): New keymap,
9253 defined as before 2001-11-09.
9254 (add-minor-mode call): Specify the keymap.
9256 * progmodes/compile.el (compile-internal):
9257 Set TERM variable in process-environment.
9259 2001-12-25 Richard M. Stallman <rms@gnu.org>
9261 * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
9264 * startup.el (command-line): Convert command line args
9265 to Emacs internal representation using locale-coding-system.
9267 2001-12-25 Eli Zaretskii <eliz@is.elta.co.il>
9269 * international/fontset.el: Don't require ind-util when compiling.
9271 2001-12-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9273 * emulation/tpu-edt.el (tpu-reset-screen-size):
9274 Use set-frame-height and set-frame-width instead of set-screen-height
9275 and set-screen-width.
9277 * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
9278 of obsolete set-screen-width.
9280 * locate.el (locate): Remove dot at the end of error argument.
9282 * emerge.el (emerge-show-file-name): Use frame-height instead of
9283 obsolete screen-height.
9285 * mail/mh-utils.el (mh-show-msg): Likewise.
9286 (mh-handle-process-error): Use frame-width instead of obsolete
9289 2001-12-25 Richard M. Stallman <rms@gnu.org>
9291 * window.el (balance-windows): Use new PRESERVE-BEFORE arg
9292 to enlarge-window. Use save-selected-window. Don't try
9293 to resize windows that end at the bottom "level".
9294 Retry changing the sizes until the windows get the desired sizes.
9295 Discount the minibuffer when computing total height available.
9297 * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
9298 (debugger-make-xrefs): Only make a button for the first symbol
9301 2001-12-24 Eli Zaretskii <eliz@is.elta.co.il>
9303 * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
9304 Call IT-setup-unicode-display here instead of adding it to
9305 dos-codepage-setup-hook, so that Unicode display tables are set
9306 before dos-codepage-setup-hook runs.
9308 2001-12-24 Richard M. Stallman <rms@gnu.org>
9310 * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
9311 (nslookup-mode-abbrev-table): Don't define it.
9312 (smbclient-mode-abbrev-table): Don't define it.
9313 (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
9314 (nslookup-mode, smbclient-mode): Likewise.
9315 (network-connection-service-abbrev-alist): Variable deleted.
9316 (network-connection-mode-setup): Don't set up abbrev table.
9318 * faces.el (minibuffer-prompt): New face.
9319 (minibuffer-prompt-properties): Add `face' property.
9321 * replace.el (occur-mode-display-occurrence): New function.
9322 (occur-mode-map): Bind C-o to it.
9324 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
9326 * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
9327 (viper-special-read-and-insert-char): Make C-m work right in the r
9329 (viper-buffer-search-enable): Fixed format string.
9331 * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
9332 instead of viper-info-on-file.
9333 (ex-set-visited-file-name): New function.
9335 * viper.el (viper-emacs-state-mode-list): Added mail-mode.
9337 * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
9340 * ediff-init.el: Fixed some doc strings.
9342 * ediff-util.el (ediff-after-quit-hook-internal): New variable.
9343 Got rid of make-local-hook.
9345 * ediff-wind.el (ediff-setup-control-frame): Got rid of
9348 2001-12-23 Richard M. Stallman <rms@gnu.org>
9350 * term/x-win.el (x-handle-geometry): Put height and width
9351 on default-frame-alist, left and top on initial-frame-alist.
9352 * term/w32-win.el (x-handle-geometry): Likewise.
9354 * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
9356 * play/yow.el (yow): Use an arg to distinguish interactive calls,
9359 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9361 * emacs-lisp/elint.el (elint-unknown-builtin-args):
9362 Remove mocklisp entries.
9364 * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
9367 * emulation/mlconvert.el: File removed.
9369 * emulation/mlsupport.el: Moved to obsolete.
9371 * obsolete/mlsupport.el: Moved there from lisp/emulation.
9373 * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
9375 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9376 Remove mocklisp case.
9378 * help-fns.el (describe-function-1): Remove mocklisp function case.
9380 2001-12-22 Miles Bader <miles@gnu.org>
9382 * textmodes/refill.el (refill-mode): Don't barf when redundantly
9383 turning refill-mode off.
9385 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9387 * time.el (display-time-load-average-threshold): New variable.
9388 (display-time-update): Use it.
9390 These changes allow cycling through past 1, 5 and 15 minutes
9391 load-average displayed in the mode-line.
9393 * time.el (display-time-default-load-average): New customizable option.
9394 (display-time-load-average): New variable.
9395 (display-time-cycle-load-average): New function.
9396 (display-time-update): Use them.
9398 2001-12-21 Richard M. Stallman <rms@gnu.org>
9400 * apropos.el (apropos-print): SPACING is now nil or a separator string.
9401 (apropos-documentation, apropos-value): Pass a suitable string.
9403 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
9405 * dired.el (dired-free-space-program, dired-free-space-args):
9406 Aliases for back-compatibility.
9408 * info.el (Info-select-node): If Info-use-header-line is nil, set
9409 header-line-format to nil.
9410 (Info-fontify-node): Don't put a keymap text property on the
9411 heading if we are not going to display the header line. Remove
9412 any such text properties left over from past visits to this node.
9414 * ls-lisp.el (insert-directory): Insert the amount of free disk
9415 space, like files.el's insert-directory does.
9417 * files.el (directory-free-space-program):
9418 Mention file-system-info in the doc string.
9419 (get-free-disk-space): New function; code moved from insert-directory.
9420 (insert-directory): Call get-free-disk-space to get the amount of
9423 2001-12-21 Richard M. Stallman <rms@gnu.org>
9425 * help.el (view-order-manuals, view-emacs-news, describe-copying)
9426 (describe-distribution, describe-project): Use view-file.
9428 * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
9430 * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
9432 * emacs-lisp/easy-mmode.el (define-minor-mode):
9433 Make no arg by default in an interactive call,
9434 so that repeating the command toggles again.
9436 * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
9438 2001-12-21 Christoph Wedler <Christoph.Wedler@sap.com>
9440 * antlr-mode.el: More sophisticated indentation of cpp directive.
9441 (antlr-indent-at-bol-alist): New user option.
9442 (antlr-indent-line): Use it.
9443 (antlr-indent-style): New user option.
9444 (antlr-mode): Use it.
9445 (antlr-indent-item-regexp): Customize.
9447 * antlr-mode.el: Syntax highlighting changes.
9448 (antlr-font-lock-literal-regexp): New user option.
9449 (antlr-font-lock-syntax-face): New face used for :, |, ....
9450 (antlr-font-lock-default-face): New face.
9451 (antlr-font-lock-additional-keywords): Use them.
9453 * antlr-mode.el: New command to insert options -- variables.
9454 (antlr-mode-map): New binding [C-c C-o].
9455 (antlr-mode-menu): New submenus.
9456 (antlr-options-use-submenus): New user option.
9457 (antlr-tool-version): New user option.
9458 (antlr-options-auto-colon): New user option.
9459 (antlr-options-style): New user option.
9460 (antlr-options-push-mark): New user option.
9461 (antlr-options-assign-string): New user option.
9462 (antlr-options-headings): New variable.
9464 * antlr-mode.el: New command to insert options -- specific.
9465 (antlr-options-alists): New variable.
9466 (antlr-read-value): New function.
9467 (antlr-read-boolean): New function.
9468 (antlr-language-option-extra): New function.
9469 (antlr-language-limit-n-regexp): Change default to higher LIMIT.
9470 (antlr-c++-mode-extra): New function.
9471 (antlr-grammar-tokens): New function.
9472 (antlr-imenu-create-index-function): New optional argument.
9474 * antlr-mode.el: New command to insert options -- functions.
9475 (antlr-insert-option): New command.
9476 (antlr-insert-option-interactive): New function.
9477 (antlr-options-menu-filter): New function.
9478 (antlr-option-kind): New function.
9479 (antlr-scan-lists): New alias.
9480 (antlr-scan-lists-internal): New function.
9481 (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
9482 (antlr-option-level): New function.
9483 (antlr-syntactic-grammar-depth): New function.
9484 (antlr-option-location): New function.
9485 (antlr-insert-option-do): New function.
9486 (antlr-option-spec): New function.
9487 (antlr-version-string): New function.
9488 (antlr-insert-option-existing): New function.
9489 (antlr-insert-option-space): New function.
9490 (antlr-insert-option-area): New function.
9492 * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
9493 with narrowing. Menu change. Miscellaneous.
9494 (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
9495 (antlr-mode-map): New bindings for characters in ":;|&(){}".
9496 (antlr-electric-character): New command.
9497 (antlr-class-header-regexp): New variable.
9498 (antlr-font-lock-additional-keywords): Use it.
9499 (antlr-imenu-create-index-function): Use it.
9500 (antlr-file-dependencies): Use it.
9501 (antlr-indent-line): Also works with restrictions.
9502 (antlr-indent-command): Interactive spec - changes the buffer.
9503 (antlr-language-for-option): Deletia.
9504 (antlr-language-option): New function, defined instead.
9505 (antlr-mode): Use it.
9507 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
9509 * jka-compr.el (jka-compr-partial-uncompress): Use null-device
9510 instead of a literal /dev/null.
9512 * Makefile.in (distclean): Remove Makefile in the build
9513 directory, not in the source directory.
9515 2001-12-21 Simon Josefsson <jas@extundo.com>.
9517 * mail/smtpmail.el (smtpmail-send-queued-mail):
9518 Use with-temp-buffer instead of find-file-noselect, and bind
9519 coding-system-for-read to no-conversion when reading the queued
9520 messages. (Simon's code modified slightly by Eli Zaretskii.)
9522 2001-12-20 Werner Lemberg <wl@gnu.org>
9524 * international/mule-diag.el (describe-coding-system)
9525 (print-coding-system-briefly): Make printed output have a similar
9526 format as describe-character-set.
9528 2001-12-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9530 * play/blackbox.el (bb-member): Remove, use member instead.
9531 (bb-delete): Remove, use delete instead.
9532 Update copyright notice. Defvar for bb-board, bb-x, bb-y,
9533 bb-score, bb-detour-count and bb-balls-placed.
9534 Propertize results of rays.
9536 2001-12-19 Karl Fogel <kfogel@red-bean.com>
9538 * isearch.el (isearch-forward, isearch-edit-string): Make doc
9539 strings mention keybinding for `isearch-yank-word-or-char',
9540 rather than `isearch-yank-word', since the former is bound now
9541 and the latter is not.
9542 (isearch-yank-word-or-char): Fix formatting.
9544 2001-12-19 Werner Lemberg <wl@gnu.org>
9546 * language/czech.el, language/european.el, language/slovak.el:
9547 More fixes for language info doc strings.
9549 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
9551 * loadup.el: Add "language" to the load-path.
9553 2001-12-19 Richard M. Stallman <rms@gnu.org>
9555 * international/mule-cmds.el (describe-language-environment):
9556 Fix calls to help-xref-button.
9558 2001-12-19 Miles Bader <miles@gnu.org>
9560 * international/fontset.el: Require `ind-util' when compiling.
9562 2001-12-18 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9564 * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
9565 instead of decompose-composite-char.
9567 2001-12-18 Richard M. Stallman <rms@gnu.org>
9569 * simple.el (eval-expression-print-level)
9570 (eval-expression-print-length): Doc fixes.
9572 * international/mule-diag.el (describe-character-set):
9573 Fix the arg to help-xref-button.
9575 * files.el (directory-free-space-program): New variable.
9576 (directory-free-space-args): New variable.
9577 (insert-directory): Use those two variables for getting free space.
9578 Use file-system-info instead, if that is defined.
9580 * dired.el (dired-free-space-program): Variable deleted.
9581 (dired-free-space-args): Variable deleted.
9582 (dired-insert-directory): Don't try to determine free space.
9584 * files.el (font-lock-defaults): Add risky-local-variables prop.
9585 (hack-one-local-variable): Treat various font-lock variables as risky.
9587 2001-12-18 Werner Lemberg <wl@gnu.org>
9589 * language/chinese.el, language/cyrillic.el:
9590 * language/czech.el, language/european.el, language/greek.el:
9591 * language/hebrew.el, language/indian.el, language/japanese.el:
9592 * language/korean.el, language/lao.el, language/slovak.el:
9593 * language/thai.el, language/tibetan.el, language/vietnamese.el:
9594 Improve documentation strings of coding systems and language infos.
9596 2001-12-18 Werner LEMBERG <wl@gnu.org>
9598 Add support for EUC-TW decoding/encoding.
9600 * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
9601 (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
9602 New auxiliary functions to build `big5-to-cns'.
9603 (big5-to-cns): New translation alist.
9605 * language/chinese.el: Added new coding system `euc-tw' and its
9607 Updated language `Chinese-CNS' to include euc-tw encoding also.
9608 (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
9611 2001-12-18 Dave Love <fx@gnu.org>
9613 * loadup.el: Add language/utf-8-lang, language/georgian.
9615 * image-file.el (image-file-name-extensions): Add pnm. Doc fix.
9616 (image-file-name-regexps): Doc fix.
9618 * server.el (server-unload-hook): New function.
9620 * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
9621 (lm-crack-copyright): Cope with multi-line copyright `lines'.
9623 * simple.el (newline): Doc fix.
9624 (eval-expression-print-level, eval-expression-print-length): Doc
9626 (next-line, previous-line): Make arg optional.
9629 * Makefile.in (DONTCOMPILE): Add various language files.
9631 * international/quail.el (quail-input-string-to-events): Don't use
9634 * progmodes/f90.el (f90-break-line): Avoid infinite recursion
9637 2001-12-17 Richard M. Stallman <rms@gnu.org>
9639 * comint.el (comint-dynamic-list-input-ring-select): New function.
9640 Switches back to the old window configuration.
9641 (comint-dynamic-list-input-ring): Bind RET to that function.
9642 (comint-dynamic-list-input-ring-window-conf): New variable.
9644 2001-12-17 Werner Lemberg <wl@gnu.org>
9646 * international/mule-conf.el: Improve documentation strings of
9649 2001-12-16 Richard M. Stallman <rms@gnu.org>
9651 * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
9652 (dired-mode-map): Bind w to dired-copy-filename-as-kill.
9654 * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
9656 * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
9657 Add a DESCRIPTION for the makefile item.
9659 * find-file.el (ff-other-file-name): New function.
9661 2001-12-16 Eli Zaretskii <eliz@is.elta.co.il>
9663 * international/quail.el (quail-input-string-to-events): Fix last
9666 2001-12-16 Richard M. Stallman <rms@gnu.org>
9668 * isearch.el (isearch-edit-string): When we set isearch-string
9669 to the default, also set isearch-message.
9671 * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
9673 * startup.el (command-line-1): Display startup screen
9674 even if there are command line args.
9675 Add a note about how to go to editing your files.
9676 (fancy-splash-head): Add a note about how to go to your files.
9677 (fancy-splash-outer-buffer): New variable.
9678 (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
9680 * subr.el (with-temp-message): At the end, always discard
9681 the temp message, even by clearing the echo area.
9683 * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
9685 2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
9687 * log-view.el (log-view-message-re, log-view-current-tag):
9688 Recognize Subversion's log output format.
9690 * international/fontset.el: Build the list L at compile time.
9692 * language/ind-util.el (mapthread): Make a closure.
9694 2001-12-15 Richard M. Stallman <rms@gnu.org>
9696 * isearch.el (isearch-start-hscroll): New variable.
9697 (isearch-mode): Set isearch-start-hscroll.
9698 (isearch-update): Restore original hscrolling if possible.
9700 * isearch.el (isearch-edit-string):
9701 Treat isearch-yank-word-or-char specially, like isearch-yank-word.
9703 * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
9704 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
9705 rather than regexp search and (2) copying text properties
9706 already set up on text unchanged from the previous backtrace.
9708 * case-table.el (set-case-syntax-pair):
9709 Detect invalid calls and signal an error.
9711 2001-12-15 Richard M. Stallman <rms@gnu.org>
9713 * language/ind-util.el (range): Function deleted.
9714 (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
9717 * language/devan-util.el (devanagari-range): Renamed from `range'.
9719 (devanagari-regexp-of-hashtbl-keys):
9720 Renamed from `regexp-of-hashtbl-keys'. All calls changed.
9722 2001-12-15 Dave Love <fx@gnu.org>
9724 * language/ind-util.el: Don't require cl.
9725 (indian-glyph-char, indian-glyph-max-char)
9726 (indian-char-glyph): Moved from indian.el
9727 (indian--puthash-char, mapthread): Don't quote lambda.
9728 (indian--map): New function.
9729 (indian--puthash-v, indian--puthash-c, indian--puthash-m)
9730 (indian--puthash-cv): Use it.
9732 * language/indian.el (indian-glyph-char, indian-glyph-max-char)
9733 (indian-char-glyph): Moved to ind-util.el
9735 * language/devan-util.el (devanagari-post-read-conversion):
9738 * language/georgian.el: New file.
9740 * international/mule-cmds.el (locale-language-names): Add various
9741 entries. Remove utf-8 special case.
9742 (locale-charset-language-names, locale-preferred-coding-systems):
9744 (set-language-environment): Process required-features earlier.
9746 * international/quail.el (quail-keyboard-layout-alist):
9748 (quail-keyboard-layout-type): Fix :type.
9749 (quail-choose-completion-string): Simplify.
9750 (quail-update-leim-list-file): Don't get fooled by commented-out code.
9751 (quail-input-string-to-events): Run events through
9752 translation-table-for-input.
9754 * international/mule-conf.el (translation-table-for-input):
9756 (latin-iso8859-14): Amend description.
9757 (file-coding-system-alist): Add entry for utf-8.
9759 * language/utf-8-lang.el: New file.
9761 * international/code-pages.el: New file.
9763 * language/hebrew.el ("Windows-1255"): New language.
9765 * language/european.el ("Welsh", "Latin-7", "Lithuanian")
9766 ("Latvian"): New languages.
9768 2001-12-14 Stefan Monnier <monnier@cs.yale.edu>
9770 * xml.el: Use setq rather than (set 'foo bar).
9771 Use push+nreverse rather than append.
9772 (xml-node-name, xml-node-attributes, xml-node-children):
9773 Use defsubst rather than macros.
9774 (xml-parse-region): Handle a nil return value from xml-parse-tag.
9775 (xml-parse-tag): Don't skip white space. Return nil for a comment.
9776 Concat the two strings surrounding a comment into a single string.
9778 * newcomment.el (comment-indent): Jump to the middle of empty comments.
9780 2001-12-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9782 * select.el (xselect-convert-to-class, xselect-convert-to-name):
9785 2001-12-14 Andre Spiegel <spiegel@gnu.org>
9787 * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
9788 Return nil if FILE is not registered.
9789 (vc-check-master-templates, vc-default-make-version-backups-p):
9792 2001-12-13 David Ponce <david@dponce.com>
9794 * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
9795 (ruler-mode-left-fringe-cols): New macro.
9796 (ruler-mode-right-fringe-cols): New macro.
9797 (ruler-mode-left-scroll-bar-cols): New macro.
9798 (ruler-mode-right-scroll-bar-cols): New macro.
9799 (ruler-mode-ruler): Use above new macros.
9801 2001-12-13 Richard M. Stallman <rms@gnu.org>
9803 * files.el (set-auto-mode): Fix previous change.
9805 2001-12-13 Stefan Monnier <monnier@cs.yale.edu>
9807 * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
9808 (easy-menu-do-define, easy-menu-convert-item-1)
9809 (easy-menu-define-key-intern, easy-menu-get-map): Use it.
9810 (easy-menu-return-item): Only return nil if there is no binding.
9812 2001-12-13 Rajesh Vaidheeswarran <rv@gnu.org>
9814 * whitespace.el (whitespace-version): 3.2
9815 * whitespace.el (whitespace-force-mode-line-update): Replace with
9816 `whitespace-mode-line-update', which is an alias to the correct
9817 function in various emacsen.
9818 * whitespace.el (whitespace-{un,}highlight-the-space):
9819 Add colorized highlighting of the bogus whitespaces in a buffer/file,
9820 using the `whitespace-highlight-face' if
9821 `whitespace-display-spaces-in-color' is set.
9823 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
9825 * international/mule.el (set-auto-coding): Don't search for
9826 "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
9828 2001-12-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9830 * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
9832 * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
9834 * mail/rmailsum.el (rmail-summary-mode): Likewise.
9836 2001-12-13 Richard M. Stallman <rms@gnu.org>
9838 * simple.el (undo): Always set this-command to `undo',
9839 so that the next undo after an error will not begin redoing.
9841 * simple.el (shell-command): Doc fix.
9842 (shell-command-on-region): If there is output an an error,
9843 add "...Shell command failed" to the output.
9845 2001-12-13 David Ponce <david@dponce.com>
9847 * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
9848 (ruler-mode-left-fringe-cols): Function replaced by more efficient
9849 implementation `ruler-mode-extra-left-cols'.
9850 (ruler-mode-ruler): Use above new function. Take into account
9851 that the fringe areas can now be resized.
9853 2001-12-12 Richard M. Stallman <rms@gnu.org>
9855 * international/characters.el (Unicode): Comment out
9856 the specifications for kelvin and angstrom signs.
9858 * international/mule.el (make-translation-table-from-vector):
9859 Allow null elements in VEC.
9861 * international/ucs-tables.el (unify-8859-on-encoding-mode)
9862 (unify-8859-on-decoding-mode): Swap the code in their bodies.
9865 2001-12-11 Richard M. Stallman <rms@gnu.org>
9867 * derived.el (derived-mode-p): Function moved to subr.el.
9869 * subr.el (derived-mode-p): Moved here from derived.el.
9871 * international/mule.el (set-auto-coding): Use set-auto-mode-1.
9873 * files.el (set-auto-mode-1): New subroutine, broken out of
9875 (set-auto-mode, hack-local-variables-prop-line): Use that.
9877 2001-12-11 Dave Love <fx@gnu.org>
9879 * language/thai-util.el, language/thai.el: Add Unicode equivalents.
9881 * language/european.el: Remove autoload cookies. Fix registration
9882 of diacritic composition function.
9884 2001-12-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9886 * calendar/todo-mode.el: Require time-stamp.
9888 * net/zone-mode.el (zone-mode): Don't use make-local-hook.
9890 2001-12-11 Richard M. Stallman <rms@gnu.org>
9892 * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
9894 * textmodes/ispell.el (ispell-buffer-local-parsing):
9895 Match xml like sgml.
9897 * emacs-lisp/advice.el (ad-compile-function):
9898 Byte compile the function under another (uninterned) name.
9900 * gud.el (gdb): Define and bind gud-jump.
9902 * font-lock.el (font-lock-mode):
9903 Put our function at the end of after-change-functions.
9905 * ediff-diff.el (ediff-cmp-options): Doc fix.
9907 * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
9909 2001-12-10 Richard M. Stallman <rms@gnu.org>
9911 * isearch.el (isearch-yank-word-or-char): New function.
9912 (isearch-mode-map): Bind C-w to that.
9914 * menu-bar.el (menu-bar-mode): Make arg optional.
9916 * simple.el (line-move): Cope if next-single-property-change
9917 or previous-single-property-change returns nil.
9919 * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
9920 Don't use interactive-p; instead, pass the proper args
9921 in (interactive...). Clean up most of the trouble-report strings.
9923 2001-12-10 Eli Zaretskii <eliz@is.elta.co.il>
9925 * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
9926 enqueued messages literally.
9928 2001-12-10 Noah Friedman <friedman@splode.com>
9930 * battery.el (battery-insert-file-contents): Obsolete function
9932 (battery-read-function): Obsolete function removed.
9933 (battery-linux-proc-apm): Use insert-file-contents.
9935 2001-12-07 Stephen Eglen <stephen@gnu.org>
9937 * iswitchb.el (iswitchb-visit-buffer):
9938 Use `select-frame-set-input-focus'--needed when window manager
9939 uses "click to focus" policy.
9941 2001-12-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9943 * COPYING: Moved back.
9945 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il>
9947 * term/internal.el (IT-character-translations): Add entries for
9950 * international/characters.el: Resurrect the Hebrew category
9951 settings for all Hebrew characters removed by the last change.
9952 Add code for setting the Hebrew category of the Unicode Hebrew
9953 characters. Set syntax entries for Hebrew punctuation characters.
9955 * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
9956 points and directional formatting control characters.
9958 2001-12-07 Dave Love <fx@gnu.org>
9960 * language/lao-util.el: Add Unicode equivalents for rules.
9961 (lao-post-read-conversion): New function.
9963 * language/lao.el: Add Unicode equivalents.
9964 (lao): Add post-read conversion.
9966 * international/latin1-disp.el: Fix some 8-bit-graphic characters.
9967 Use iso2022 encoding.
9968 (latin1-char-displayable-p): Doc fix.
9969 (latin1-display-ucs-per-lynx): New option.
9970 (latin1-display-ucs-per-lynx): New command.
9971 (latin1-display-reset): Special-case arabic.
9972 (ucs-tables): Require.
9973 (latin1-display-sets, latin1-display-setup): Add arabic.
9974 (latin1-display) <variable>: Use function latin1-display.
9975 (latin1-display) <function>: Add mule-unicode stuff.
9976 (latin1-display-check-font): Don't lose if `info' is nil.
9978 * international/iso-transl.el: Insert Latin-1 characters, not
9981 * language/european.el (diacritic-composition-pattern): New constant.
9982 (diacritic-compose-region, diacritic-compose-string)
9983 (diacritic-compose-buffer, diacritic-post-read-conversion)
9984 (diacritic-composition-function): New functions.
9986 * international/utf-8.el (ucs-mule-to-mule-unicode):
9987 New translation table.
9988 (ccl-encode-mule-utf-8): Use it.
9989 (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
9990 (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
9991 (utf-8-subst-table): New variable.
9992 (utf-8-compose-scripts): New option.
9993 (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
9995 * international/ucs-tables.el, international/utf-8-subst.el:
9998 * international/characters.el: Don't set word syntax (the default)
9999 explicitly. Add a diacritic category. Add info for Unicode
10000 equivalents of characters in various Mule charsets and for extra
10001 Unicode characters. Don't define specific categories for
10002 Indian/Devanagari, since they aren't used.
10004 2001-12-06 Richard M. Stallman <rms@gnu.org>
10006 * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
10007 (set-justification-left, set-justification-right): Doc fix.
10009 * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
10010 (bug-f90-mode): Variable deleted.
10012 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
10014 * indent.el (indent-line-function): Default is indent-relative again.
10016 2001-12-07 Miles Bader <miles@gnu.org>
10018 * progmodes/compile.el (compilation-error-regexp-alist):
10019 Added regexps for RXP.
10021 2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
10023 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
10024 Add shift-assignment operators to those highlighted, and highlight
10025 the whole operator rather than just the "=".
10027 2001-12-04 Juanma Barranquero <lektu@terra.es>
10029 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
10030 before saving abbrevs if `save-abbrevs' has the value `silently'.
10032 2001-12-04 Andreas Schwab <schwab@suse.de>
10034 * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
10036 2001-12-04 Colin Walters <walters@debian.org>
10038 * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
10039 for `defmacro*' forms.
10041 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
10044 2001-12-03 Stefan Monnier <monnier@cs.yale.edu>
10046 * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
10048 2001-12-02 Richard M. Stallman <rms@gnu.org>
10050 * files.el (insert-directory): If the df output does not look right,
10051 don't try to use it. Other cleanups in overall code structure.
10053 2001-12-02 Stefan Monnier <monnier@cs.yale.edu>
10055 * textmodes/outline.el (outline-mode-prefix-map):
10056 Add bindings for outline-promote and outline-demote.
10057 (outline-minor-mode-menu-bar-map): New var.
10058 (outline-minor-mode): Use it.
10059 (outline-heading-alist): New var (renamed from outline-level-heading).
10060 (outline-level): Use it.
10061 (outline-insert-heading, outline-promote, outline-demote):
10062 Update to use outline-heading-alist.
10064 * disp-table.el (standard-display-european):
10065 Simplify since the function is not interactive any more.
10066 Don't set the existing buffers to unibyte.
10068 * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
10070 * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
10072 * reveal.el (reveal-mode): Fix reveal-mode's lighter.
10074 * shell.el (shell): Use shell-file-name.
10075 Pop to buffer before calling comint to set COLUMNS properly.
10077 * emacs-lisp/cl.el (svref): New alias.
10079 * progmodes/antlr-mode.el (antlr-c-common-init):
10080 Don't inhibit adaptive-fill-mode any more.
10082 * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
10084 * progmodes/etags.el (tags-with-face): Use make-symbol.
10085 (tags-search, tags-query-replace): Use backquotes.
10087 * textmodes/picture.el (picture-mode-map): Don't use defconst
10090 2001-12-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10092 * textmodes/reftex-index.el (reftex-index-mode):
10093 Remove make-local-hook.
10095 * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
10097 2001-12-02 Kim F. Storm <storm@cua.dk>
10099 * isearch.el (isearch-resume-enabled): New variable.
10100 (isearch-done): Use that variable.
10102 2001-12-01 Richard M. Stallman <rms@gnu.org>
10104 * wid-edit.el (widget-button-click): Don't move point permanently:
10105 Avoid mouse-set-point--instead select the window,
10106 then do save-excursion, then move point.
10107 Specify the buffer for get-char-property.
10108 Don't use `@' in interactive.
10110 * indent.el (indent-line-function):
10111 Default is indent-to-left-margin again.
10113 * replace.el (query-replace-read-args): Display message
10114 if FROM contains `\n' or `\t'.
10116 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
10118 * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
10120 * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
10122 * emacs-lisp/regexp-opt.el (regexp-opt):
10123 Bind completion-regexp-list to nil.
10125 * progmodes/hideif.el (hif-nexttoken): Move to before first def.
10127 2001-12-01 Eli Zaretskii <eliz@is.elta.co.il>
10129 * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
10130 * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
10133 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
10135 * mail/smtpmail.el: Use with-current-buffer.
10136 (message-make-date, message-make-message-id): Autoload when needed.
10137 (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
10138 headers when missing.
10140 * international/encoded-kb.el (encoded-kbd-mode):
10141 Use define-minor-mode.
10143 * enriched.el (enriched-mode): Use define-minor-mode.
10144 Use dolist and pop and push.
10146 * info.el (Info-find-node-2): Don't call info-insert-file-contents
10147 with the `visit' argument.
10148 (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
10150 * progmodes/hideif.el (hide-ifdef-mode): Only modify
10151 `change-major-mode-hook' locally. Reset invisibility spec.
10153 * man.el (Man-build-section-alist): Remove last Man-match-substring.
10155 2001-11-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10157 * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
10158 Clarify error message.
10160 2001-11-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10162 * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
10164 2001-11-30 Andre Spiegel <spiegel@gnu.org>
10166 * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
10167 don't just return it.
10169 2001-11-30 Eli Zaretskii <eliz@is.elta.co.il>
10171 * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
10172 (menu-bar-read-emacs-man, search-emacs-glossary)
10173 (emacs-index-search, elisp-index-search): New functions.
10174 (apropso-documentation, apropos, apropos-value, apropos-variable)
10175 (apropos-commands): Modify menu item names and help text.
10176 (elisp-index-search, emacs-index-search, emacs-glossary):
10178 (menu-bar-manuals-menu): Move the Ordering Manuals item to a
10180 (info-elisp, info-elintro): New menu items.
10181 (apropos): Modify the menu item name.
10183 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
10185 * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
10187 * textmodes/outline.el (outline-promote, outline-demote): Typo.
10189 * man.el (man-follow-mouse): New function.
10190 (Man-mode-map): Bind mouse-2 to it.
10191 (Man-match-substring): Remove. Replace with `match-string'.
10192 (man): Use the `default-value' argument to `read-string'.
10193 (Man-fontify-manpage): Add mouse-face to cross references.
10195 * emacs-lisp/cl-macs.el (shiftf): Fix more. Simplify.
10197 2001-11-29 Stefan Monnier <monnier@cs.yale.edu>
10199 * emacs-lisp/crm.el (completing-read-multiple): Better preserve
10200 the value of require-match in minibuffer-completion-confirm.
10201 Use crm-local-completion-map.
10203 * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
10204 (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
10205 (cl-make-type-test): Use char-valid-p for `character'.
10207 * info.el (Info-complete-next-re, Info-complete-cache): New vars.
10208 (Info-complete-menu-item): Rewrite. Add the ability to search
10209 several sequential nodes. Add a simple caching mechanism.
10210 (Info-goto-index): New function extracted from Info-index.
10211 (Info-index): Use it. Add completion to the interactive spec.
10212 (Info-menu-update): Simplify call to `Info-complete-menu-item'.
10214 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10216 * COPYING: Removed.
10218 2001-11-29 Dave Love <fx@gnu.org>
10220 * progmodes/fortran.el: Fontify rewind, backspace. Doc fixes.
10221 (fortran-window-create, fortran-window-create-momentarily):
10222 Rewrite, moving error condition.
10223 (fortran-beginning-do, fortran-beginning-if): Fix regexps.
10224 (fortran-mode-syntax-table): Revert last change.
10226 * international/mule.el: Doc fixes.
10227 (map-charset-chars): New function.
10228 (register-char-codings): Use it to cope with generic chars in
10231 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10233 * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
10235 * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
10237 * play/studly.el (studlify-word, studlify-region)
10238 (studlify-buffer): Fix doc-string.
10239 (studlify-buffer): Add autoload cookie.
10241 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
10243 * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
10244 (outline-up-heading-all): Remove.
10245 (hide-sublevels): Move to end-of-heading before calling flag-region.
10246 (outline-copy-overlay, outline-discard-overlays): Remove.
10247 (outline-flag-region): Use `remove-overlays'.
10248 Don't move to end-of-heading.
10249 (outline-next-visible-heading, outline-back-to-heading)
10250 (outline-on-heading-p): Use outline-invisible-p.
10251 (outline-font-lock-level): Use outline-up-heading's new arg.
10252 (outline-minor-mode): Simplify.
10253 (outline-map-tree, outline-reveal-toggle-invisible): New funs.
10254 (outline): Put a `reveal-toggle-invisible' property.
10255 (outline-level-heading): New var.
10256 (outline-insert-heading, outline-promote, outline-demote)
10257 (outline-toggle-children): New commands.
10259 * progmodes/hideif.el (hif-end-of-line): New function.
10260 (hide-ifdef-mode): Set line-move-ignore-invisible.
10261 (hide-ifdef-region-internal): New function.
10262 (hide-ifdef-region): Use it.
10263 (hif-defined): Return an integer.
10264 (hif-infix-to-prefix): Remove.
10265 (hif-tokenize): Parse from the buffer rather than from a string.
10266 Correctly tokenize integers. Use forward-comment.
10267 (hif-expr): Use hif-or.
10268 (hif-term): Use hif-and.
10269 (hif-factor): Use hif-not. Handle numbers properly.
10270 Don't require parenthesis around `defined's argument.
10271 (hif-and, hif-or, hif-not): New funs.
10272 (hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
10273 (hif-hide-line): Don't hide the \n before the line.
10274 (hif-possibly-hide): Correctly handle numeric evaluation results.
10276 * progmodes/make-mode.el: Use line-(end|beginning)-position.
10277 (makefile-mode): Set indent-line-function.
10278 (makefile-browser-insert-continuation): Use with-current-buffer.
10279 (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
10281 2001-11-28 Karl Fogel <kfogel@red-bean.com>
10283 * isearch.el (isearch-yank-internal): New helper function.
10284 (isearch-yank-char): New function.
10285 (isearch-yank-word, isearch-yank-line): Rewrite to use
10286 isearch-yank-internal.
10288 2001-11-28 Eli Zaretskii <eliz@is.elta.co.il>
10290 * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
10291 aren't supported. Print a message to that effect if invoked.
10293 2001-11-27 Stephen Eglen <stephen@gnu.org>
10295 * locate.el (locate): Put point at first matching file rather
10296 than top of buffer.
10298 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
10300 * reveal.el: New file.
10302 * progmodes/hideif.el: Misc cleanup.
10303 (hide-ifdef-mode-submap): Put the def in the defvar.
10304 Use substitute-key-definition.
10305 (hide-ifdef-mode): Use define-minor-mode.
10306 (hif-outline-flag-region): Remove.
10307 (hif-show-all): Define in terms of hif-show-ifdef-region.
10308 (hif-after-revert-function): Rename from hif-before-revert-function.
10309 (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
10310 (hif-tokenize): Use with-syntax-table.
10311 (hif-make-range): Use `else' also for `else-p'.
10312 (hif-range-else-p): Remove.
10313 (hif-find-range): Simplify.
10314 (hif-hide-line): Don't bother preserving buffer-modified-p.
10315 (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
10316 Don't use selective-display and inhibit-read-only.
10318 * subr.el (copy-overlay, remove-overlays): New funs.
10320 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
10322 2001-11-27 Sam Steingold <sds@gnu.org>
10324 * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
10325 * lazy-lock.el, mouse-sel.el, mail/feedmail.el
10326 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
10327 * obsolete/c-mode.el, obsolete/cplus-md.el
10328 * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
10329 * term/sun-mouse.el, textmodes/artist.el:
10330 Converted backquote to the new style.
10331 * mouse.el, reposition.el: Likewise (in comments).
10332 * expand.el: Likewise (in a string).
10334 2001-11-27 Richard M. Stallman <rms@gnu.org>
10336 * cus-edit.el (custom-load-symbol): Don't always load locate-library.
10338 2001-11-26 Richard M. Stallman <rms@gnu.org>
10340 * wid-edit.el (widget-toggle-value-create): On graphic terminal,
10341 if :on-glyph or :off-glyph is a list, eval it and store it back.
10342 (checkbox): Quote the values for :on-glyph and :off-glyph.
10344 * cus-start.el (recursive-load-depth-limit): Delete item.
10346 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
10348 * help-fns.el (describe-categories, help-describe-category-set): New.
10349 describe-categories moved here from src/category.c.
10351 2001-11-26 Sam Steingold <sds@gnu.org>
10353 * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
10354 arguments to `insert' are strings.
10356 2001-11-26 Richard M. Stallman <rms@gnu.org>
10358 * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
10360 2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
10362 * international/mule-diag.el: Require help-fns instead of
10365 * help-fns.el: Renamed from help-funs.el.
10367 * startup.el (command-line-1): Don't try to call process-list if
10370 2001-11-26 Sam Steingold <sds@gnu.org>
10372 * frame.el (show-trailing-whitespace): Remove :set argument (the
10373 value was essentially identical to the defalt).
10375 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10377 * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
10379 * icomplete.el (icomplete-minibuffer-setup): Likewise.
10381 * hilit-chg.el (hilit-chg-set): Likewise.
10383 * speedbar.el (speedbar-mode): Likewise.
10385 * calendar/calendar.el (calendar-mode): Likewise.
10387 * play/yow.el (psychoanalyze-pinhead): Use insert instead of
10390 * play/gamegrid.el (gamegrid-init-buffer): Likewise.
10392 * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
10394 * term/sun-mouse.el (sun-yank-selection): Likewise.
10396 * textmodes/bib-mode.el (return-key-bib): Likewise.
10398 * calendar/appt.el (appt-disp-window): Likewise.
10400 * calendar/diary-lib.el (list-diary-entries): Likewise.
10402 * array.el (array-reconfigure-rows): Likewise.
10404 * filecache.el (file-cache-minibuffer-complete): Likewise.
10406 * obsolete/cplus-md.el (fill-c++-comment): Likewise.
10408 * strokes.el (strokes-prompt-user-save-strokes): Likewise.
10410 * allout.el (outline-version, outline-open-topic)
10411 (outline-rebullet-heading, outline-insert-listified)
10412 (outline-latex-verbatim-quote-curr-line)
10413 (outline-latexify-one-item, outlineify-sticky): Likewise.
10415 * vc.el (vc-next-action-on-file): Likewise.
10416 (vc-dired-mode): Remove make-local-hook.
10418 2001-11-26 Andre Spiegel <spiegel@gnu.org>
10420 * vc.el (vc-find-version): New function.
10421 (vc-version-other-window): Redefined in terms of the above.
10423 * log-view.el (log-view-find-version): New function.
10424 (log-view-mode-map): Bind it to `f'.
10426 2001-11-26 Gerd Moellmann <gerd@gnu.org>
10428 * language/devan-util.el (dev-char-glyph): Escape `"' in
10430 (dev-glyph-glyph, dev-glyph-glyph-2)
10431 (devanagari-compose-syllable-region): Likewise.
10433 2001-11-26 Richard M. Stallman <rms@gnu.org>
10435 * window.el (save-selected-window): No error if saved window is dead.
10437 * help-funs.el (describe-syntax): Put (interactive) after doc string.
10439 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10441 * international/quail.el (quail-help): Require help-mode in
10444 * iswitchb.el (iswitchb-exhibit): Use insert instead of
10447 * icomplete.el (icomplete-exhibit): Likewise.
10449 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
10451 * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
10452 (diff-hunk-kill): Simplify.
10453 (diff-post-command-hook): Only apply to a single hunk.
10454 (diff-hunk-text): Make `char-offset' non-optional.
10455 (diff-find-text): Return a cons cell.
10456 (diff-find-approx-text): New fun.
10457 (diff-find-source-location): Use it.
10458 (diff-apply-hunk, diff-test-hunk, diff-goto-source):
10459 Adapt to new retval of diff-find-text.
10461 * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
10462 rather than integer- representation of dates.
10464 * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
10466 * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
10467 (syntax-after): New fun.
10469 * help-funs.el (describe-syntax): New fun.
10471 * font-lock.el (font-lock-cache-state, font-lock-cache-position)
10472 (font-lock-ppss-stats, font-lock-ppss): Remove.
10473 (font-lock-fontify-syntactically-region): Remove tuning code.
10474 (font-lock-compile-keywords): Fix off-by-one bug.
10475 (font-lock-set-defaults): Don't set removed vars.
10476 (c-keywords): Add `inline'.
10477 (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
10479 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10480 Set syntax-begin-function.
10481 (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
10482 (lisp-interaction-mode): Don't set local-abbrev-table any more.
10483 (lisp-mode-auto-fill): Use syntax-ppss and obey
10484 comment-auto-fill-only-comments.
10485 (lisp-fill-paragraph): Use syntax-ppss.
10487 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
10489 * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
10490 version of rmail-enable-mime.
10491 (rmail-forward): Use it.
10493 2001-11-25 Richard M. Stallman <rms@gnu.org>
10495 * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
10497 * international/quail.el (quail-keyboard-layout-button):
10498 Define button type.
10499 (quail-keyboard-customize-button): Likewise.
10500 (quail-help): Use those button types. Require `help-mode'.
10501 Avoid altering the argument `package'.
10503 * help-mode.el (help-function, help-variable, help-face)
10504 (help-coding-system, help-input-method, help-character-set):
10505 Define each button type with its own explicit define-button-type.
10507 * language/devan-util.el: Comment out parts of the file
10508 which apparently are garbled.
10510 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10512 * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
10515 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
10517 * play/snake.el (snake-mode): Remove make-local-hook.
10519 * play/tetris.el (tetris-mode): Likewise.
10521 * play/decipher.el (decipher-mode): Likewise.
10523 * tmm.el (tmm-add-prompt): Likewise.
10525 2001-11-25 Sam Steingold <sds@gnu.org>
10527 * menu-bar.el (menu-bar-apropos-menu): New variable.
10528 Moved all `apropos' bindings to this menu.
10529 (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
10531 2001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
10533 The following changes are for new indian languages support based
10534 on Unicode charset and CDAC fonts.
10536 * international/mule-conf.el: Change indian-1-column charset to
10537 indian-glyph charset.
10539 * international/characters.el: Adjusted for the change of
10540 indian-1-column -> indian-glyph.
10542 * international/fontset.el: Delete the setting for indian-1-column
10543 and add the setting for indian-glyph in the default fontset.
10545 * language/indian.el: Completely re-written.
10547 * language/devanagari.el: Completely re-written.
10549 * language/devan-util.el: Completely re-written.
10551 * language/ind-util.el: New file.
10553 2001-11-24 Richard M. Stallman <rms@gnu.org>
10555 * startup.el (command-line-1): Don't do startup screen
10556 if a subprocess is running. Call the startup screen buffer
10557 "GNU Emacs". Make a special mode-line-format for it.
10559 * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
10560 (browse-url-galeon): Use that variable.
10562 * mail/supercite.el (sc-toggle-var): Don't use set-variable or
10563 eval-expression. Eval and set the variable simply.
10565 * files.el (temporary-file-directory): Use defcustom.
10566 (small-temporary-file-directory): Likewise.
10567 (normal-backup-enable-predicate): Move down in file
10568 after definition of temporary-file-directory.
10570 * bindings.el (last-buffer, unbury-buffer): Doc fixes.
10572 2001-11-24 Colin Walters <walters@debian.org>
10574 * calc/calc-ext.el (calc-init-extensions): Update the rest of the
10575 autoload names to match files renamed on initial calc import.
10577 * calc/calc.el (Commentary): Cleanup, and add logistic curve
10578 fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
10580 2001-11-23 Colin Walters <walters@debian.org>
10582 * Makefile.in (finder_setwins, setwins): Include Calc again.
10584 * calc/calc-rules.el: Add header comment.
10586 2001-11-23 Andre Spiegel <spiegel@gnu.org>
10588 * vc.el (with-vc-properties): Don't bind `filename' locally.
10589 (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
10590 to avoid name clashes. Fix `lisp-indent-function' property for
10593 2001-11-23 Francesco Potorti` <pot@gnu.org>
10595 * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
10597 2001-11-22 Colin Walters <walters@debian.org>
10599 * calc/calc-misc.el (report-calc-bug):
10600 Use `reporter-prompt-for-summary-p'.
10602 * calc/INSTALL, calc/Makefile: Remove.
10604 2001-11-22 Miles Bader <miles@gnu.org>
10606 * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
10607 (reb-match-2, reb-match-3): Add dark-background variants.
10609 2001-11-22 Colin Walters <walters@debian.org>
10611 * calc/calc-misc.el (calc-info): Don't perform voodoo, just
10613 (report-calc-bug): Use reporter.el.
10615 * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
10617 2001-11-21 Richard M. Stallman <rms@gnu.org>
10619 * which-func.el (which-function): Call imenu--make-index-alist
10620 if necessary to get a list of functions.
10621 (which-function-imenu-failed): New variable.
10622 (which-func-update): Handle all visible windows.
10623 (which-func-update-1): New subroutine broken out of which-func-update.
10625 * files.el (temporary-file-directory, null-device)
10626 (small-temporary-file-directory): Definitions moved up.
10628 * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
10629 (cperl-non-problems, cperl-praise): Doc fixes.
10631 * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
10632 (sh-mode-syntax-table): Function restored.
10633 Variable set up for use by function sh-mode-syntax-table.
10634 (sh-set-shell): Set the syntax table.
10636 * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
10638 * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
10640 * international/encoded-kb.el: Don't alter minor-map-alist.
10642 2001-11-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10644 * files.el (auto-save-file-name-transforms): Put remote files in
10645 temporary-file-directory rather than /tmp.
10647 2001-11-21 Colin Walters <walters@debian.org>
10649 * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
10650 of (function ...) wrapper.
10652 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
10654 * derived.el (define-derived-mode): Create the abbrev-table
10655 from inside the `defvar'.
10657 * jit-lock.el (jit-lock-defer-time): New var.
10658 (jit-lock-defer-timer, jit-lock-buffers): New vars.
10659 (jit-lock-mode): Initialize them. Cancel the timers more carefully.
10660 (jit-lock-function): Defer fontification if requested.
10661 (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
10662 (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
10664 (jit-lock-deferred-fontify): New fun.
10666 2001-11-20 Richard M. Stallman <rms@gnu.org>
10668 * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
10669 Set local-abbrev-table to lisp-mode-abbrev-table.
10671 * emacs-lisp/re-builder.el (reb-mode):
10672 Don't use define-derived-mode. Call kill-all-local-variables.
10674 * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
10675 Don't use define-derived-mode.
10677 * help-mode.el (help-mode): Undo 2001-10-07 change.
10679 * replace.el (occur-mode): Undo 2001-5-20 change.
10681 2001-11-20 Jason Rumney <jasonr@gnu.org>
10683 * w32-fns.el (w32-system-coding-system): Change to an alias for
10684 locale-coding-system.
10685 (set-w32-system-coding-system): Document the above change.
10686 Set locale-coding-system instead.
10688 2001-11-20 Richard M. Stallman <rms@gnu.org>
10690 * ruler-mode.el: Add pagination.
10691 (ruler-mode-toggle-show-tab-stops): No need to
10692 test `ruler-mode' variable.
10694 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
10696 * play/landmark.el: Mark lm-mode as special.
10698 * play/gomoku.el: Mark gomoku-mode as special.
10700 2001-11-20 Juanma Barranquero <lektu@terra.es>
10702 * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
10703 (top-level): Bind it to C-c C-b.
10704 (re-builder): Don't re-enter RE Builder Mode.
10706 * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
10708 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
10710 * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
10713 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
10714 to a line without a comment.
10716 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
10718 * dired.el (dired-listing-switches): Mention in the doc string
10719 that some switches are not supported by ls-lisp.el
10721 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
10723 * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
10724 (imenu--create-keymap-2): Remove.
10725 (imenu--create-keymap-1): Simplify, remove third argument.
10726 (imenu--generic-function): Use dolist.
10727 (imenu-find-default): New function.
10728 (imenu--completion-buffer): Use it.
10729 (imenu--mouse-menu): Use popup-menu.
10730 (imenu--menubar-select): Return t rather than calling imenu.
10732 * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
10733 New functions, extracted from fill-region-as-paragraph.
10734 (fill-region-as-paragraph): Use them.
10735 Use an end marker instead of eob.
10736 Ignore whitespace-only fill-prefixes when indenting according to mode.
10737 Simplify the loop that searches for spaces backwards.
10739 * textmodes/picture.el (picture-vertical-step)
10740 (picture-horizontal-step): Don't use defconst for variables.
10742 * mail/mail-extr.el: Use backquote/dolist/mapc/when. Docstring fixes.
10743 (mail-extract-address-components): Downcase domain names.
10744 (mail-extr-delete-char): Remove. Use delete-char instead.
10746 * emulation/pc-select.el: Doc string fixes.
10747 (pc-selection-mode): Don't treat macos as a tty.
10749 * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
10751 * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
10753 * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
10754 (mouse-wheel-progessive-speed): New var.
10755 (mwheel-scroll): Use it and handle float values.
10757 * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
10759 * iswitchb.el (iswitchb-mode): Use define-minor-mode.
10760 (iswitchb): Fix the case where the result was selected with the mouse.
10761 (iswitchb-completion-help): Use the normal *Completions* now that
10762 mouse selection works.
10763 (iswitchb-minibuffer-setup): Simplify.
10765 * newcomment.el (comment-column, comment-style, comment-multi-line)
10766 (comment-auto-fill-only-comments): Remove :group arg.
10767 (comment-padding): Add :type.
10768 (comment-indent-new-line): Ignore comment-auto-fill-only-comments
10769 if called interactively.
10771 2001-11-19 Colin Walters <walters@verbum.org>
10773 * calc/calc.el (toplevel): Add comment and version header.
10774 (calc-init-base): Bump version to 2.02f, update date.
10776 2001-11-19 Richard M. Stallman <rms@gnu.org>
10778 * net/browse-url.el: Support Mozilla and Galeon.
10779 By default, find the installed browser whichever it is.
10780 (browse-url-mozilla): New function.
10781 (browse-url-mozilla-sentinel): New function.
10782 (browse-url-galeon, browse-url-galeon-sentinel): New functions.
10783 (browse-url-default-browser): New function.
10784 (browse-url-process-environment): Use browse-url-browser-display.
10785 (browse-url-browser-display): Renamed from browse-url-netscape-display.
10786 (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
10787 (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
10788 (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
10789 (browse-url-browser-function): New default, new options.
10791 2001-11-19 Sam Steingold <sds@gnu.org>
10793 * bindings.el (last-buffer, unbury-buffer): New function.
10794 (mode-line-unbury-buffer): Use `unbury-buffer'.
10796 2001-11-18 Stephen Eglen <stephen@gnu.org>
10798 * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
10799 control behaviour when no further completion is possible.
10801 2001-11-19 Colin Walters <walters@verbum.org>
10803 * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
10804 (math-showing-full-precision, math-with-extra-prec, math-working)
10805 (calc-with-default-simplification)
10806 (calc-with-trail-buffer): Use backtick.
10807 (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
10808 (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
10809 (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
10810 (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
10811 (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
10812 (Math-num-integerp, Math-bignum-test, Math-equal-int)
10813 (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
10814 (calc-record-compilation-date-macro): Deleted. Callers updated.
10815 (math-format-radix-digit): Move to calc-bin.el.
10817 * calc/calc.el (calc-record-compilation-date): Remove.
10818 (calc-bug-address): Update.
10819 (calc-settings-file): Use `user-init-file'.
10821 * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
10822 Handle null `calc-settings-file'.
10824 * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
10825 * calc/calc-keypd.el (calc-keypad-mode): New.
10826 (calc-do-keypad): Use it.
10827 (calc-keypad-map): Move into `calc-keypad-mode'.
10829 * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
10830 to defalias argument.
10832 * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
10833 (calcFunc-floor): Ditto.
10835 * calc-units.el (calcFunc-usimplify): Ditto.
10837 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
10838 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
10839 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
10840 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
10841 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
10842 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
10843 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
10844 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
10845 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
10846 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
10847 * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
10848 and move them before their first use. Use `when', `unless'.
10849 Remove trailing periods from error forms. Add description and
10850 headers suggested by Emacs Lisp coding conventions.
10852 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
10854 * newcomment.el (comment-indent):
10855 Fix misindentation for comment-only lines.
10856 (comment-indent-new-line): Only obey comment-multi-line if the
10857 comment-ender is not the end-of-line.
10859 2001-11-19 Richard M. Stallman <rms@gnu.org>
10861 * net/net-utils.el (network-connection-service-abbrev-alist):
10864 * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
10865 Advance to start of 3rd sexp by moving fwd and backing over it.
10866 At first three elements, act like defun.
10868 * delsel.el (delete-selection-pre-hook): Handle and resignal
10869 file-supersession errors to interact properly with userlock.el.
10871 2001-11-18 Richard M. Stallman <rms@gnu.org>
10873 * progmodes/fortran.el (fortran-mode-syntax-table):
10874 Specify punctuation syntax for backslash.
10876 * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
10879 * international/mule-util.el (string-to-sequence): Make it obsolete.
10880 (string-to-list, string-to-vector): Implement them directly
10881 using append and vconcat, not with string-to-sequence.
10883 * startup.el (command-line): Set abbrevs-changed to nil after
10884 reading the init file and the abbrevs file.
10886 * isearch.el (isearch): Use magenta2 as bg for (background light)
10888 2001-11-17 Richard M. Stallman <rms@gnu.org>
10890 * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
10892 * simple.el (minibuffer-history-sexp-flag): Doc fix.
10894 2001-11-17 Stefan Monnier <monnier@cs.yale.edu>
10896 * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
10897 If set and if applicable, add a regexp to highlight defun-like
10898 text inside comments and strings.
10899 (font-lock-fontify-keywords-region): Pass that new arg.
10900 (font-lock-set-defaults): Move the code to set `font-lock-keywords'
10901 to the end and pass that new arg.
10902 (c-font-lock-keywords-2): Fix regex for labels.
10903 (font-lock-match-c++-style-declaration-item-and-skip-to-next):
10904 Make it work when LIMIT is several lines further.
10905 (c-font-lock-keywords-3, c++-font-lock-keywords-3)
10906 (objc-font-lock-keywords-3, java-font-lock-keywords-3):
10907 Use backquote and make the regexes for `int a, b, c;' work on
10910 * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
10911 (font-lock-defaults-alist): Don't change it any more.
10912 (reb-subexp-mode-map): Cleanup.
10914 * custom.el (custom-current-group-alist): New var.
10915 (custom-declare-group): Set it.
10916 (custom-current-group): New fun.
10917 (custom-declare-variable, custom-handle-all-keywords):
10918 Use it as a default if no :group argument is specified.
10920 * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
10921 (standard-keyboard-coding-systems): New var.
10922 (set-locale-environment): Use it to decide whether or not to call
10923 set-keyboard-coding-system.
10924 (locale-language-names): Use \"French\" for "fr".
10926 2001-11-17 Richard M. Stallman <rms@gnu.org>
10928 * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
10929 (add-to-list): Delete compatibility code.
10930 (checkdoc-next-message-error): Doc fix.
10932 2001-11-17 Stephen Eglen <stephen@gnu.org>
10934 * locate.el (locate): Show default locate pattern within the
10935 prompt, but don't insert it into the minibuffer contents.
10936 Catch the case when pattern is the empty string.
10938 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il>
10940 * language/european.el ("French"): New language environment.
10942 2001-11-16 Richard M. Stallman <rms@gnu.org>
10944 * calendar/todo-mode.el (todo-save): Fix previous change.
10946 * subr.el (functionp): Do use cdr-safe on object.
10948 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
10950 * bindings.el (mode-line-mode-name): Only put the help-echo property
10951 if the local-map property was put as well.
10952 (global-map): Bind switch-frame, delete-frame, iconify-frame
10953 and make-frame-visible events.
10955 * emacs-lisp/elp.el (elp-not-profilable): New var.
10956 (elp-not-profilable-p): New function.
10957 (elp-instrument-function): Use it. Use backquotes and push.
10959 * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
10960 (byte-stack+-info, byte-compile-last-warned-form)
10961 (byte-compile-last-logged-file): Don't defconst a variable.
10962 (no-byte-compile): Declare.
10963 (byte-compile-file): Don't boundp-check no-byte-compile any more.
10964 (byte-compile-defvar): Leave defconst as is.
10966 * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
10967 (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
10968 (edebug-current-offset, edebug-old-def-name, edebug-error-point)
10969 (edebug-best-error): Don't defconst a variable.
10970 (edebug-read-syntax-table): Use a char-table.
10971 (edebug-lemacs-specific): Remove.
10972 Toplevel: Eliminate check for Lucid Emacs.
10974 * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
10976 * rect.el (move-to-column-force): Mark obsolete.
10977 (operate-on-rectangle, delete-extract-rectangle-line)
10978 (insert-rectangle, delete-whitespace-rectangle-line)
10979 (open-rectangle-line, clear-rectangle-line): Use move-to-column.
10980 (string-rectangle-history): New var.
10981 (string-rectangle, string-insert-rectangle): Use it.
10982 (delete-rectangle-line): Fix pos/column mixup and simplify.
10984 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
10985 (normal-top-level, command-line, command-line-1): Simplify.
10987 * tar-mode.el (tar-mode): Use define-derived-mode.
10989 * view.el (view-mode-enable): Don't use make-local-hook.
10991 * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
10993 2001-11-16 Richard M. Stallman <rms@gnu.org>
10995 * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
10996 if it doesn't make sense as anything else.
10997 Don't recognize a "telephone number" at the beginning of the name.
10998 (mail-extr-leading-garbage): Match non-word characters only.
11000 2001-11-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11002 * startup.el (command-line-processed): Doc fix.
11004 * apropos.el (apropos-next-label-button): Doc fix.
11006 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
11008 * comint.el (comint-mode): Simplify.
11009 (make-comint-in-buffer): Run `comint-mode' only if necessary.
11011 * subr.el (eval-after-load): Make it work with features as well.
11013 * log-view.el (log-view-mode): Don't mark the buffer unmodified.
11015 * international/mule-cmds.el (describe-input-method): Setup xref.
11016 (set-language-environment): Use functionp.
11017 (locale-language-names, locale-charset-language-names)
11018 (locale-preferred-coding-systems): Defconst and purecopy.
11020 * language/european.el (mac-roman): Add mime-charset property.
11022 2001-11-15 Richard M. Stallman <rms@gnu.org>
11024 * emacs-lisp/cl.el (values, values-list, multiple-value-list)
11025 (multiple-value-apply, nth-value): Use defsubst rather than defalias
11026 to get better doc strings.
11028 2001-11-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11030 * derived.el: Fix autoload cookie.
11032 2001-11-15 Richard M. Stallman <rms@gnu.org>
11034 * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
11036 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
11038 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
11040 2001-11-15 Richard M. Stallman <rms@gnu.org>
11042 * dired.el (dired-undo): Display a message to explain
11043 that this does not undo file system changes.
11045 2001-11-15 David Kastrup <David.Kastrup@t-online.de>
11047 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
11048 into `unread-command-events' instead of trying keymap
11049 lookups ourselves. This makes mouse-clicks do the right
11050 thing even when keymaps of overlays are involved.
11051 (mouse-drag-drag): Likewise.
11053 2001-11-15 Andreas Schwab <schwab@suse.de>
11055 * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
11056 characters and append anchor to pattern added to auto-mode-alist.
11058 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
11060 * server.el (server-process-filter): Run pre/post-comment-hook
11061 before/after visiting the file.
11063 * info-look.el (makefile-mode): Add info for automake.
11064 (autoconf-mode): Fix the name of the index for automake.
11066 * international/latin-9.el: Give pilcrow punctuation syntax.
11068 2001-11-15 Andre Spiegel <spiegel@gnu.org>
11070 * vc.el: Documentation fixes.
11072 2001-11-14 Stefan Monnier <monnier@cs.yale.edu>
11074 * smerge-mode.el (smerge-match-conflict): Fix typo.
11075 (smerge-diff): Be careful to read match-data early enough.
11077 2001-11-14 Colin Walters <walters@verbum.org>
11079 * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
11080 (calcFunc-subst): Use `defalias' instead of `fset' and
11083 * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
11084 (calcFunc-ceil, calcFunc-round): Ditto.
11086 * calc/calc-bin.el (calcFunc-clip): Ditto.
11088 * calc/calc-ext.el (calcFunc-evalv): Ditto.
11090 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
11092 * calc/calc-misc.el (math-fixnump, math-fixnatnump)
11093 (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
11095 * calc/calc-units.el (calcFunc-unsimplify): Ditto.
11097 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
11098 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
11099 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
11100 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
11101 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
11102 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
11103 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
11104 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
11105 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
11106 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
11107 * calcsel2.el: Style cleanup; don't put closing parens on their
11108 own line, add "foo.el ends here" to each file, and update
11111 * README: Update maintainer.
11113 2001-11-13 Richard M. Stallman <rms@gnu.org>
11115 * progmodes/compile.el (recompile): Use compilation-arguments if
11116 set, so as to be able to M-x recompile the exact command which
11117 created a compilation-mode buffer.
11119 * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
11121 2001-11-13 Gerd Moellmann <gerd@gnu.org>
11123 * mouse.el (mouse-drag-region): Don't run the up-event
11124 handler if window start changed due to the down-mouse event.
11126 2001-11-13 Richard M. Stallman <rms@gnu.org>
11128 * mouse.el (mouse-show-mark): Either move point to the mark
11129 or use highlighting, never both.
11130 (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
11132 2001-11-13 Simon Josefsson <jas@extundo.com>
11134 * mail/smtpmail.el (top-level): Change maintainer to Simon
11135 Josefsson, cleanup the smtpmail.el header.
11137 * mail/smtpmail.el (top-level): Don't require cl or base64.
11138 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
11139 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
11140 Defsubst instead of defmacro.
11141 (smtpmail-intersection): Return value in reverse order.
11142 (smtpmail-open-stream): Use stringp instead of string-to-list.
11143 (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
11144 separated from smtpmail-via-smtp.
11146 * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
11147 rfc2104. Require base64 and cl.
11148 (smtpmail-smtp-service): Doc fix. :type fix.
11149 (smtpmail-debug-info): Doc fix.
11150 (smtpmail-debug-verb, smtpmail-auth-credentials)
11151 (smtpmail-starttls-credentials, smtpmail-auth-supported):
11153 (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
11154 mail-utils (it is autoloaded).
11155 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
11156 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
11157 (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
11158 (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
11159 (smtpmail-via-smtp): Support AUTH.
11160 (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
11162 2001-11-13 Richard M. Stallman <rms@gnu.org>
11164 * ebuff-menu.el (electric-buffer-update-highlight): New function.
11165 (electric-buffer-overlay): New variable.
11166 (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
11167 (electric-buffer-list): Likewise.
11169 * isearch.el (isearch-whitespace-chars): Doc fix.
11170 (isearch-mode): Handle negative search-slow-window-lines correctly.
11172 2001-11-13 Stefan Monnier <monnier@cs.yale.edu>
11174 * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
11176 * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
11177 From Emmanuel Briot <briot@act-europe.fr>.
11179 2001-11-13 Colin Walters <walters@debian.org>
11181 * calc/calc.el (calc-unread-command): Use `unread-command-events'.
11183 * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
11184 "~/.emacs"; use `read-file-name'.
11186 * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
11187 * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
11188 * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
11189 * calc/calc.el: Use `frame-width' instead of `screen-width',
11190 `frame-height' instead of `screen-height', and,
11191 `executing-kbd-macro' instead of `executing-macro'.
11193 * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
11194 correct number of arguments.
11196 * calc/calc-aent.el (calc-do-alg-entry):
11197 Use `blink-paren-function' instead of `blink-paren-hook'.
11199 2001-11-12 Richard M. Stallman <rms@gnu.org>
11201 * calendar/todo-mode.el (todo-save): Add save-excursion
11202 and save-restriction.
11204 * server.el (server-edit, server-done): Doc fix.
11206 * simple.el (clone-indirect-buffer): Error if major mode symbol
11207 has a no-clone-indirect property.
11208 (clone-buffer): Check for obvious errors before reading clone name.
11210 * info.el (Info-mode): Add a no-clone-indirect property.
11212 2001-11-12 Sam Steingold <sds@gnu.org>
11214 * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
11215 set-buffer-modified-p to nil after `vc-exec-after'.
11216 * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
11217 (log-view-mode): Make read-only.
11218 (log-view-current-file): Do final `expand-file-name' in the
11219 current `default-directory'.
11220 (log-view-current-tag): Take an optional `where' arg.
11221 (log-view-diff): New user command.
11223 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11225 * progmodes/cpp.el (cpp-choose-face): Fix typo.
11227 2001-11-12 Sam Steingold <sds@gnu.org>
11229 * emacs-lisp/cl-indent.el (toplevel): Indent properly
11230 `generic-flet', `generic-labels', `with-accessors',
11231 `with-condition-restarts'.
11233 2001-11-12 Richard M. Stallman <rms@gnu.org>
11235 * dired.el: Many trivial doc fixes.
11236 (dired-get-file-for-visit): New function.
11237 (dired-find-alternate-file, dired-mouse-find-file-other-window)
11238 (dired-view-file, dired-find-file-other-window, dired-display-file)
11239 (dired-find-file): Use dired-get-file-for-visit.
11241 2001-11-12 Alex Schroeder <kensanata@yahoo.com>
11243 * sql.el (sql-mode): Doc change.
11245 * sql.el (sql-mode-syntax-table): The backslash is no longer an
11248 2001-11-12 Colin Walters <walters@debian.org>
11250 * calc/calc-keypd.el (toplevel): Bind mouse buttons.
11251 (calc-do-keypad): Don't attempt to use nonexistent global
11252 mouse-map, use calc-keypad-map.
11253 (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
11254 (calc-keypad-left-click): Don't use mouse-map; update to new event
11256 (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
11257 (calc-keypad-press): Use `unread-command-events' instead of
11258 `unread-command-char'.
11260 * calc/calc-ext.el (calc-init-extensions): Update autoload names
11261 to match files renamed on initial calc import.
11263 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11265 * textmodes/flyspell.el (flyspell-default-dictionary):
11266 Fix previous change.
11268 2001-11-12 Richard M. Stallman <rms@gnu.org>
11270 * textmodes/flyspell.el (flyspell-default-dictionary):
11273 2001-11-11 Richard M. Stallman <rms@gnu.org>
11275 * calendar/solar.el (solar-sunrise-and-sunset):
11276 Exchange the two extreme values of day-length.
11278 * progmodes/sh-script.el (sh-must-be-shell-mode):
11279 Allow modes derived from sh-mode.
11281 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
11282 Turn off error in some re-search-forward calls.
11284 * replace.el (query-replace-skip-read-only): New variable.
11285 (perform-replace): If that variable is non-nil, ignore matches
11286 that have a read-only property.
11288 * derived.el (define-derived-mode): Doc fix.
11290 * server.el (server-buffer-done): Test of server-existing-buffer
11292 (server-existing-buffer): Doc fix.
11294 * textmodes/flyspell.el (flyspell-default-dictionary):
11295 Allow nil as value, and make nil the default.
11297 2001-11-11 Eli Zaretskii <eliz@is.elta.co.il>
11299 * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
11301 (clipboard-yank): Ditto.
11303 2001-11-11 Colin Walters <walters@verbum.org>
11305 The following changes are based on patches from
11306 Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro
\e,A_
\e(Bjohann
11307 <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
11309 * calc/calc.el (toplevel): Require calc-macs.
11310 (calc-minibuffer-size): New.
11311 (calcDigit-nondigit): Use it instead of `buffer-size'.
11312 (calcDigit-backspace): Likewise.
11313 (calcDigit-nondigit): Use `minibuffer-contents' instead of
11315 (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
11317 (calcDigit-key): Use `calc-minibuffer-contains' instead of a
11320 * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
11321 simple `setq' form.
11323 * calc/calc-ext.el: (toplevel): Require calc.
11324 (calc-fancy-prefix-map): New.
11325 (calc-fancy-prefix): Use it.
11326 (calc-fancy-prefix-other-key): New.
11328 * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
11329 (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
11330 (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
11331 (calcAlg-enter): Likewise.
11332 (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
11334 2001-11-10 Richard M. Stallman <rms@gnu.org>
11336 * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
11337 (quietly-read-abbrev-file): Doc fix.
11339 * startup.el (command-line): Read standard abbrev
11340 file (abbrev-file-name), if it exists.
11342 * files.el (save-abbrevs): Default value is t.
11344 * progmodes/compile.el (compile-goto-error): Fix previous change
11345 in the case where subsequent errors have not been parsed yet
11346 because they are in a different source file.
11348 2001-11-10 Peter Kleiweg <kleiweg@let.rug.nl>
11350 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
11351 Merge two regular expressions into one.
11352 (ps-mode): Make local bindings for `comment-start' and
11353 `comment-start-skip'.
11354 (ps-mode-looking-at-nested): Simplify an if-else construct;
11355 use `set-match-data' to set the result.
11357 2001-11-10 Richard M. Stallman <rms@gnu.org>
11359 * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
11361 (flyspell-correct-word): Old definition deleted.
11362 (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
11363 All references renamed too.
11365 2001-11-10 Gerd Moellmann <gerd@gnu.org>
11367 * Makefile.in (finder_setwins, setwins): Exclude Calc.
11369 2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
11371 * wid-edit.el (checklist): Removed `:menu-tag'.
11372 (radio-button-choice): Ditto.
11373 (editable-list): Ditto.
11375 2001-11-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11377 * play/gomoku.el: Move definitions of constants to the beginning
11378 of file, before their use.
11380 2001-11-09 Richard M. Stallman <rms@gnu.org>
11382 * textmodes/flyspell.el: Use the keymap property
11383 instead of local-map, and don't use a minor-mode map.
11384 (flyspell-mode-map): Variable deleted.
11385 Don't mess with minor-mode-map-alist.
11386 (calling add-minor-mode): Specify nil for keymap.
11387 And always use add-minor-mode, now that it exists.
11388 (flyspell-overlay-keymap-property-name): Set it to `keymap'.
11389 (flyspell-mode-on): Don't locally bind flyspell-mouse-map
11390 or flyspell-local-mouse-map.
11391 (make-flyspell-overlay): Use flyspell-mouse-map directly.
11392 (flyspell-mode): Doc fix.
11393 (flyspell-mode-on): Don't call make-local-hook.
11395 2001-11-09 Sam Steingold <sds@gnu.org>
11397 * emacs-lisp/debug.el (debugger-make-xrefs):
11398 Add buttons to all symbols.
11400 2001-11-09 Andre Spiegel <spiegel@gnu.org>
11402 * vc.el: Add John David Smith to credits.
11404 Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
11406 * vc-hooks.el (vc-error-occured): Backquotified.
11407 (vc-file-prop-obarray): Use prime length for better efficiency.
11409 * vc.el (vc-clear-context): Fill obarray with 0, not nil.
11411 2001-11-09 Eli Zaretskii <eliz@is.elta.co.il>
11413 * info.el (Info-file-list-for-emacs): Add entries for Calc.
11415 2001-11-09 Miles Bader <miles@gnu.org>
11417 * subr.el (functionp): Don't consider macros as functions.
11419 2001-11-08 Miles Bader <miles@gnu.org>
11421 * subr.el (functionp): Make work correctly for macros and unbound
11424 * comint.el (comint-send-input): Fix description of
11425 `comint-process-echoes' in the doc-string.
11427 2001-11-08 Eli Zaretskii <eliz@is.elta.co.il>
11429 * international/mule.el (make-translation-table): Doc fix.
11430 Suggested by Alex Schroeder <alex@gnu.org>.
11432 2001-11-07 Richard M. Stallman <rms@gnu.org>
11434 * info.el (Info-fontify-node): Highlight every third menu item.
11436 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
11438 * cus-edit.el (custom-face-value-create): Don't ignore the
11439 `customized-face' attribute when finding the current face spec.
11441 2001-11-07 Stefan Monnier <monnier@cs.yale.edu>
11443 * subr.el (with-local-quit): New macro.
11444 (make-syntax-table): Always inherit.
11445 (functionp): Be more careful when `object' is a symbol.
11447 * dabbrev.el (dabbrev-completion): Use "*Completions*".
11449 2001-11-07 Paul Eggert <eggert@twinsun.com>
11451 * dired.el (dired-move-to-filename-regexp):
11452 Do not distinguish between ASCII letters and non-ASCII characters.
11453 Don't allow comma except in the form "month day, year".
11454 Don't allow space between month name and comma.
11455 Clean up the code that checks for trailing period, comma, and space.
11456 Remove now-obsolete comments, and add more commentary about
11458 Always gobble up trailing spaces, instead of doing it only sometimes.
11460 2001-11-07 Miles Bader <miles@gnu.org>
11462 * paren.el (show-paren-match-face): Add dark-background variant.
11464 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
11466 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
11467 (lisp-mode-variables): Don't set paragraph-{start,separate}.
11468 Don't disable adaptive-fill-mode.
11469 (lisp-fill-paragraph): Use tab-width rather than 8.
11470 Prevent filling the first line of docstrings.
11472 2001-11-06 Richard M. Stallman <rms@gnu.org>
11474 * play/gomoku.el (gomoku): Doc fix.
11476 * jka-compr.el (jka-compr-partial-uncompress):
11477 Support an alternative of not using dd.
11478 (jka-compr-dd-program): Use defcustom to define this.
11479 (jka-compr-load-suffixes): Use defcustom.
11480 (jka-compr-mode-alist-additions): Use defcustom.
11482 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
11484 * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
11485 Also work when LIMIT is further than the end of line.
11487 2001-11-06 Eli Zaretskii <eliz@is.elta.co.il>
11489 * international/quail.el (quail-update-leim-list-file): Print the
11490 offending file name if some of its quail-define-package forms is broken.
11492 2001-11-05 Richard M. Stallman <rms@gnu.org>
11494 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
11495 of the evaluated form.
11497 2001-11-05 Paul Eggert <eggert@twinsun.com>
11499 * ls-lisp.el (ls-lisp-time-to-seconds): New function.
11500 (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
11501 stamps always line up by default. Also, it uses a slightly
11502 different window to determine whether files are "recent".
11504 2001-11-05 Andrew Innes <andrewi@gnu.org>
11506 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
11507 Don't attempt to remake autoloads before nuking .elc files.
11509 2001-11-04 Richard M. Stallman <rms@gnu.org>
11511 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
11512 previous-single-property-change or next-single-char-property-change
11515 * international/mule-cmds.el (set-locale-environment):
11516 Make it interactive; make arg optional.
11518 * international/mule-diag.el (help-funs): Require help-funs.
11520 2001-11-04 Eli Zaretskii <eliz@is.elta.co.il>
11522 * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
11524 2001-11-04 Miles Bader <miles@gnu.org>
11526 * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
11527 shadow of the splash image grey on a dark background instead of black.
11529 2001-11-03 Stefan Monnier <monnier@cs.yale.edu>
11531 * term.el (all faces): Don't (copy-face 'default <foo>).
11533 * term/xterm.el (function-key-map):
11534 Add entry for `ESC [ 3 ~' -> <delete>
11535 Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
11536 Use inheritance so that .emacs and terminfo take precedence.
11538 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
11540 * tooltip.el (tooltip-delay): Decrease to 0.7.
11541 (tooltip-hide-delay): Enlarge to 10.
11543 2001-11-03 Richard M. Stallman <rms@gnu.org>
11545 * startup.el (fancy-splash-tail): Explain how to recover
11546 from a crash, if there was a crash.
11547 (command-line-1): Reorganize display of startup screen,
11548 to simplify the logic. Use a temp buffer for it.
11550 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
11552 * frame.el (set-background-color, set-foreground-color):
11553 Call face-set-after-frame-default, to propagate the new colors to
11554 the frame's parameters alist.
11556 * calendar/timeclock.el (timeclock-out): Signal an error if
11557 timeclock-last-event is nil.
11559 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
11561 * textmodes/fill.el (fill-context-prefix): Fix braino.
11563 * international/quail.el (quail-help):
11564 Use `help-buffer' and move `help-setup-xref' to beginning.
11566 * international/mule-cmds.el (describe-language-environment):
11567 Use `help-buffer' and move `help-setup-xref' to beginning.
11569 * international/mule-diag.el (list-character-sets)
11570 (sort-listed-character-sets, describe-character-set)
11571 (describe-coding-system, describe-fontset, list-fontsets):
11572 Use `help-buffer' and move `help-setup-xref' to beginning.
11573 (describe-char-after): Use `internal-describe-syntax-value'.
11575 2001-11-02 Richard M. Stallman <rms@gnu.org>
11577 * mouse.el (popup-menu): If the user refuses to select
11578 from a menu, don't try to invoke the menu.
11580 2001-11-02 Miles Bader <miles@gnu.org>
11582 * help-mode.el (help-xref): New button type.
11583 (help-function, help-variable, help-face, help-coding-system)
11584 (help-input-method, help-character-set, help-type, help-symbol)
11585 (help-back, help-info, help-customize-variable, help-customize-face)
11586 (help-function-def, help-variable-def): Use it as a supertype.
11587 Remove `action' property.
11589 * international/mule-diag.el (describe-character-set)
11590 (describe-coding-system): Pass correct args to `help-xref-button'.
11591 (sort-listed-character-sets): New button type.
11592 (list-character-sets): Use it.
11593 (list-charset-chars): New button type.
11594 (list-character-sets-1): Use it.
11596 2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
11598 * indent.el (tab-always-indent, indent-for-tab-command):
11599 Remove redundant `never' setting.
11601 * fill.el (fill-region-as-paragraph): Don't forget to skip
11602 over current whitespace before looking for a preceding space.
11604 2001-11-01 Richard M. Stallman <rms@gnu.org>
11606 * files.el (file-newest-backup): Don't pass backup file name
11607 thru file-name-sans-versions, because it never has version numbers.
11609 * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
11610 to avoid ambiguous nested loops.
11612 * files.el (find-file-noselect): Offer to change buffer-read-only
11613 only when the file's read-only status has changed from before
11614 as well as disagreeing with the buffer's current status.
11615 (buffer-file-read-only): New var, local in all buffers.
11617 * buff-menu.el (buffer-menu): Doc fix.
11618 (buffer-menu-other-window): Doc fix.
11619 (list-buffers, list-buffers-noselect): Doc fix.
11621 2001-11-01 Gerd Moellmann <gerd@gnu.org>
11623 * startup.el (command-line): If the terminal Emacs is running on
11624 has erase char set to ^H, use the Backspace key for deleting
11625 backward, and the Delete key for deleting forward.
11627 2001-11-01 Miles Bader <miles@gnu.org>
11629 * button.el (define-button-type): Make sure every user-defined
11630 button type has a supertype.
11632 2001-10-31 Jason Rumney <jasonr@gnu.org>
11634 * international/mule-cmds.el (locale-language-names): Add chs and
11635 cht as aliases for Chinese-GB and Chinese-BIG5.
11637 2001-10-31 Richard M. Stallman <rms@gnu.org>
11639 * bindings.el (mode-line-frame-identification): Add doc string.
11640 (mode-line-position, mode-line-modes): New variables.
11641 (mode-line-format): Use mode-line-position for the part
11642 that displays the position-in-buffer info.
11643 Use mode-line-modes for the part that displays major and minor modes.
11645 2001-10-31 Sam Steingold <sds@gnu.org>
11647 * emacs-lisp/debug.el (debugger-make-xrefs): New function.
11648 (debugger-setup-buffer): Call it.
11649 (debugger-mode-map): Bind RET and mouse-2.
11651 2001-10-31 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
11653 * startup.el: Document command line option --no-window-system
11654 instead of --no-windows.
11656 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
11658 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
11660 * font-lock.el (java-font-lock-syntactic-face-function): New fun.
11661 (font-lock-defaults-alist): Use it.
11662 From David Ponce <david.ponce@wanadoo.fr>
11664 * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
11665 output of `char-after'.
11667 * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
11669 * simple.el (reindent-then-newline-and-indent): Insert the newline
11670 before indenting the first line.
11671 (undo-get-state, undo-revert-to-state): New funs.
11672 (shell-command): Don't kill the buffer even if empty.
11673 (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
11674 (transpose-subr-end2): Remove.
11675 (transpose-subr): Add `special' arg and simplify.
11676 (transpose-subr-1): Rewrite.
11677 (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
11678 (rfc822-goto-eoh): Simplify.
11680 2001-10-30 Richard M. Stallman <rms@gnu.org>
11682 * enriched.el (enriched-face-ans): Fix previous change.
11684 2001-10-30 Gerd Moellmann <gerd@gnu.org>
11686 * international/iso-acc.el (iso-accents-compose): Remove a
11689 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
11691 * buff-menu.el (list-buffers-noselect): If the buffer's name
11692 starts with a blank, but it visits a file, do show it (for files
11693 whose names start with a blank).
11695 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
11697 * textmodes/fill.el (sentence-end-double-space)
11698 (sentence-end-without-period): Move to paragraphs.el.
11699 (fill-indent-according-to-mode): Change default to t.
11700 (fill-context-prefix): Simplify control-flow and use a more
11701 sophisticated merge that unifies both previous checks.
11702 (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
11703 (fill-nobreak-predicate): Make it into a defcustom'd hook.
11704 (fill-nobreak-p): New fun.
11705 (fill-region-as-paragraph): Use it.
11706 Handle `fill-indent-according-to-mode' slightly differently.
11707 (fill-individual-paragraphs-prefix): Simplify the control-flow.
11708 (fill-individual-paragraphs-citation): Fix.
11710 * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
11711 (paragraph-start): Change default to the `text-mode' value.
11712 (sentence-end-double-space, sentence-end-without-period):
11714 (forward-paragraph): Use `parstart' and `parsep' for temp variables
11715 rather than rebinding `paragraph-start' and `paragraph-separate'.
11717 * indent.el (indent-line-function): Change default to indent-relative.
11718 (tab-always-indent): Add an `never' setting.
11719 (indent-according-to-mode): Handle `indent-relative' and
11720 `indent-relative-maybe' specially.
11721 (indent-for-tab-command): Rename `prefix-arg' to `arg'.
11722 Handle the `never' case for `tab-always-indent'.
11723 Don't call indent-according-to-mode for indent-relative' and
11724 `indent-relative-maybe'.
11725 (insert-tab): Rename `prefix-arg' to `arg'.
11726 (indent-region): Indent the first line as well.
11727 (indent-relative): Don't mark the buffer modified if the indentation
11730 * textmodes/text-mode.el (paragraph-indent-minor-mode):
11731 Don't set paragraph-separate. Set paragraph-start more carefully.
11732 Set indent-line-function.
11733 (paragraph-indent-text-mode): Use it and define-derived-mode.
11734 (text-mode-map): Remove the \t binding.
11735 (text-mode): Simplify now that the default is more favorable.
11737 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
11739 * emacs-lisp/find-func.el (find-function-search-for-symbol):
11740 If the regexp doesn't match, use a looser one.
11741 (find-variable-noselect): Add `file' argument.
11743 * pcvs.el (cvs-mode-commit-hook): New hook.
11744 (cvs-mode-commit): Run it.
11746 * log-edit.el (log-edit): Run hook after `log-edit-files'.
11748 * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
11749 (edebug-instrument-function): Use `find-function-noselect'.
11751 2001-10-29 Richard M. Stallman <rms@gnu.org>
11753 * term.el (term-if-emacs19): Macro deleted.
11754 Callers changed to use progn instead.
11756 * frame.el (blink-cursor-mode): Doc fix.
11758 * files.el (find-backup-file-name): Use make-backup-file-name.
11760 * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
11762 (edebug-set-conditional-breakpoint): Unconditionally use
11763 the former Emacs >=19 definition.
11764 (edebug-mark): Define unconditionally.
11765 (edebug-eval-expression): Always call read-from-minibuffer
11766 and specify history list.
11767 (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
11768 edebug-set-conditional-breakpoint.
11769 (edebug-emacs-version-specific): Function deleted;
11770 do the job at top level.
11771 (edebug-emacs-19-specific): Function deleted, this is the default.
11773 2001-10-29 Sam Steingold <sds@gnu.org>
11775 * w32-fns.el (convert-standard-filename): Handle cygwin-specific
11776 "/cygdrive/LETTER/" pathnames.
11778 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
11780 * faces.el (invert-face): Check for 'unspecified, not for nil,
11781 when testing whether face colors are not specified.
11782 From David.Kastrup@t-online.de (David Kastrup).
11783 (read-face-name): Doc fix.
11784 (make-face-bold, make-face-unbold, make-face-italic)
11785 (make-face-unitalic, make-face-bold-italic, invert-face):
11786 Remove trailing blank from the prompt passed to read-face-name.
11788 2001-10-29 Sam Steingold <sds@gnu.org>
11790 * emacs-lisp/bytecomp.el (byte-recompile-directory):
11791 Report numbers of files skipped and failed too.
11792 (byte-compile-file): Return 'no-byte-compile for skipped files.
11794 2001-10-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11796 * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
11799 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11801 * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
11802 as is on unread-command-events instead of `(SECOND-CHAR)'.
11804 2001-10-29 Andre Spiegel <spiegel@gnu.org>
11806 * vc.el: Mention vc-*-switches in backend API documentation.
11807 (vc-annotate): Adapt doc string to recent change.
11809 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11811 * enriched.el (enriched-face-ans): Handle face attributes
11812 of the form `(FACE1 FACE2 ...)'.
11814 * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
11816 2001-10-29 Alex Schroeder <kensanata@yahoo.com>
11818 * progmodes/sql.el (sql-mysql): Doc change by RMS.
11820 * progmodes/sql.el (sql-db2): Doc change.
11821 (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
11822 (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
11824 2001-10-29 Gerd Moellmann <gerd@gnu.org>
11826 * env.el (substitute-env-vars): Don't quote argument to `rx';
11829 2001-10-28 Per Abrahamsen <abraham@dina.kvl.dk>
11831 * cus-start.el (recursive-load-depth-limit): Added.
11833 2001-10-28 Richard M. Stallman <rms@gnu.org>
11835 * textmodes/ispell.el (version18p, version20p): Vars deleted.
11836 All uses removed--assume Emacs version is >= 20.
11838 * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
11839 by really checking that it is not version 18.
11841 * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
11843 2001-10-28 Miles Bader <miles@gnu.org>
11845 * faces.el (face-attribute): Add INHERIT argument, consider face
11846 inheritance if it's non-nil.
11847 (face-attribute-merged-with): New function.
11848 (face-attribute-specified-or): New macro.
11849 (face-foreground, face-background, face-stipple): Add INHERIT
11850 argument. Use `face-attribute-specified-or'.
11852 2001-10-28 Stefan Monnier <monnier@cs.yale.edu>
11854 * font-lock.el: Require `syntax'.
11855 (font-lock-defaults-alist): Don't define keywords for lisp languages.
11856 Use `c-font-lock-syntactic-face-function' for c languages.
11857 (font-lock-mode): Don't unset vars when turning the mode off.
11858 (font-lock-default-fontify-buffer): Don't unset vars at the end.
11859 (font-lock-extra-managed-props): New var.
11860 (font-lock-default-unfontify-region): Use it.
11861 (font-lock-apply-syntactic-highlight): Flush the syntax cache.
11862 Don't eval the value when there's no match.
11863 (font-lock-ppss-stats): New var.
11864 (font-lock-ppss): New fun.
11865 (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
11866 (font-lock-apply-highlight): Allow `highlight' to set several props.
11867 (font-lock-set-defaults): Use dolist.
11868 (font-lock-unset-defaults): Remove.
11869 (font-lock-match-c-style-declaration-item-and-skip-to-next):
11870 Try to recognize prototypes using `foo P_ ((args))'.
11871 ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
11872 (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
11873 (c-font-lock-syntactic-face-function): New function.
11874 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
11875 (c++-keywords): Use a more sophisticated regexp to handle
11876 shallowly nested templates.
11878 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
11880 * textmodes/sgml-mode.el (sgml-empty-tags): New var.
11881 (sgml-tag): Use it. Cleanup with `cond'.
11882 (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
11883 Mark the overlays and only delete those that are marked.
11884 (sgml-skip-close-p): Remove.
11885 (sgml-value): Replace sgml-skip-close-p with its definition.
11886 (html-tag-alist): Use sgml-xml a bit more.
11887 (html-mode): Set sgml-empty-tags.
11889 * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
11890 (texinfo-update-node, texinfo-sequential-node-update):
11891 Don't bind the obsolete `auto-fill-hook'.
11892 (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
11893 Use `set-buffer' rather than `switch-to-buffer'.
11894 (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
11895 Use `set-buffer' rather than `switch-to-buffer'.
11897 * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
11898 text-mode-syntax-table.
11899 (mail-mode): Use define-derived-mode.
11900 Fix ordering of alternatives in adaptive-fill-regexp.
11901 (mail-mode-map): Don't rely on keymap's internal representation.
11903 2001-10-27 Sam Steingold <sds@gnu.org>
11905 * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
11906 (sgml-xml-guess): Extracted from `html-mode' and generalized.
11907 (sgml-mode-common): Call it.
11908 (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
11909 (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
11910 (html-horizontal-rule, html-image, html-ordered-list):
11911 (html-unordered-list, html-list-item, html-paragraph):
11912 (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
11915 2001-10-26 Masayuki Ataka <ataka@milk.freemail.ne.jp>
11917 * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
11918 (ifnothtml): New alias.
11920 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
11922 * textmodes/text-mode.el (text-mode): Use define-derived-mode.
11923 (toggle-text-mode-auto-fill): Use derived-mode-p.
11925 2001-10-27 Gerd Moellmann <gerd.moellmann@t-online.de>
11927 * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
11928 `mdtm'. From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
11930 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
11932 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
11933 Add make-obsolete cookies, to follow faces.el.
11935 These changes avoid warnings from the byte compiler in faces.el:
11937 * faces.el (internal-get-face): Use facep instead of the obsolete
11938 internal-find-face.
11939 (internal-frob-font-weight, internal-frob-font-slant):
11940 New defaliases for obsolete functions.
11941 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
11942 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
11943 (x-make-font-bold-italic): Use internal-frob-font-weight and
11944 internal-frob-font-slant aliases instead of the obsolete
11945 x-frob-... functions.
11947 2001-10-26 Sam Steingold <sds@gnu.org>
11949 * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
11950 DOCTYPE; set `mode-name' based on it.
11951 (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
11952 (sgml-tag): Close empty tags in XHTML.
11954 2001-10-26 Jason Rumney <jasonr@gnu.org>
11956 * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
11957 when UNICODE is not defined.
11959 2001-10-26 Sam Steingold <sds@gnu.org>
11961 * font-lock.el (c-font-lock-keywords-2): Do not require labels to
11962 be alone on the line.
11964 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
11966 * button.el (button): Special face definition for MS-DOS terminals.
11968 2001-10-26 Sam Steingold <sds@gnu.org>
11970 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
11971 Protect the /= test by checking that the args are non-nil.
11972 (sh-font-lock-close-heredoc): Check eof for being non-nil.
11974 2001-10-26 Tomas Abrahamsson <tab@lysator.liu.se>
11976 * textmodes/artist.el (artist-version): 1.2.4.
11977 (artist-butlast-fn): New variable.
11978 (artist-butlast): New function.
11979 (artist-ellipse-mirror-quadrant): Use it.
11980 (artist-mouse-draw-poly): Use nil for `point-list'.
11981 (artist-mouse-draw-poly): Check for point-list being nil.
11983 2001-10-26 Peter Kleiweg <kleiweg@let.rug.nl>
11985 * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
11987 (ps-mode-menu-main): Submenu with options on/off was replaced with
11989 (ps-mode, ps-run-mode): Define with `define-derived-mode'
11990 (ps-mode): Autoload cookie added on same line as comment
11991 (ps-mode-tabkey, ps-mode-backward-delete-char):
11992 (ps-mode-r-balance): Replace `delete-horizontal-space' and
11993 `indent-to' with `indent-line-to'
11994 (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
11996 (ps-mode-print-region): Use `with-temp-buffer'.
11997 (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'.
11998 (numerous places): Add back-tick and tick around names in
11999 docstrings, fix punctuation in docstrings, remove trailing spaces.
12001 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
12003 * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
12004 (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
12005 (sgml-font-lock-syntactic-keywords): New var.
12006 (sgml-mode-common): Drop the two args.
12007 Don't make buffer-local variables that aren't used.
12008 Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
12009 Don't set `before-string' props from sgml-display-text.
12010 (sgml-mode): Use define-derived-mode.
12011 (sgml-tags-invisible): Use sgml-display-text.
12012 (sgml-quote): New command.
12013 (html-tag-alist): Add args for `span'.
12014 (html-mode): Use define-derived-mode.
12015 Set sgml-display-text and sgml-tag-face-alist.
12017 2001-10-25 Sam Steingold <sds@gnu.org>
12019 * add-log.el (add-log-always-start-new-record): New user option.
12020 (add-change-log-entry): Use it.
12022 2001-10-25 Richard M. Stallman <rms@gnu.org>
12024 * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
12025 bind case-fold-search if FROM is not all lower case.
12027 2001-10-25 Gerd Moellmann <gerd@gnu.org>
12029 * startup.el (normal-top-level): Check for frame-initial-frame
12030 only if it's really used.
12032 * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
12034 * progmodes/compile.el (compilation-parse-errors-filename-function):
12036 (compilation-parse-errors): Use it.
12038 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
12040 * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
12041 interactively so that C-u M-C-x still does edebug.
12042 (checkdoc-sentencespace-region-engine): Don't force a double-space
12043 after `.' if it doesn't look like an end-of-sentence.
12044 (debug-ignored-errors): Add `disambiguate ...'.
12046 2001-10-24 Stefan Monnier <monnier@cs.yale.edu>
12048 * textmodes/texinfo.el (texinfo-environments)
12049 (texinfo-environment-regexp): Hoist.
12050 (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
12051 Only highlight the menu name in menu items.
12052 Setup `@foo ... @end foo' as text clones.
12053 (texinfo-clone-environment): New function.
12054 (texinfo-mode): Simplify auto-fill-inhibit-regexp.
12055 (texinfo-insert-block): Simplify.
12056 (texinfo-insert-quote): Insert a plain " if preceded by \ or if
12057 the command is repeated.
12058 (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
12059 (texinfo-insert-@end): Simplify.
12061 * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
12062 (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
12063 (texinfo-subsubsection-level-regexp)
12064 (texinfo-update-menu-same-level-regexps)
12065 (texinfo-update-menu-higher-regexps)
12066 (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
12068 * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
12069 (derived-mode-p): Autoload.
12071 * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
12072 New vars and functions.
12073 (text-clone-maintain, text-clone-create): New functions.
12075 2001-10-25 Miles Bader <miles@gnu.org>
12077 * facemenu.el (facemenu-add-new-face): Fix variable names.
12079 2001-10-24 Richard M. Stallman <rms@gnu.org>
12081 * facemenu.el (facemenu-unlisted-faces): Improve doc strings
12082 of t and nil values.
12083 (facemenu-set-face): Handle START and END interactively.
12084 (facemenu-set-foreground): Don't use a face; specify color directly.
12085 (facemenu-set-background): Likewise.
12086 (facemenu-set-face-from-menu): Doc fix.
12087 (facemenu-active-faces): Use face-attribute-vector
12088 to handle bare attributes not in faces.
12089 (facemenu-get-face): Don't handle face names fg:... and bg:...
12091 (facemenu-add-new-face): New argument MENU.
12092 New way to handle adding colors to the color menus.
12094 * env.el (substitute-env-vars): Quote the arg to rx.
12096 2001-10-24 Sam Steingold <sds@gnu.org>
12098 * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
12099 Control" and "SGML" groups.
12101 2001-10-24 Martin Stjernholm <bug-cc-mode@gnu.org>
12103 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
12104 Better handling of C++ template args to avoid confusion with `<'
12105 and `>' used as operators in member init expressions.
12107 2001-10-24 Gerd Moellmann <gerd@gnu.org>
12109 * replace.el (perform-replace): Move START and END parameters
12110 to the end of the argument list and make them optional.
12112 * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
12115 * international/fontset.el (x-must-resolve-font-name): New function.
12116 (x-complement-fontset-spec): Use it.
12118 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
12120 * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
12122 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
12123 Turn caadr into caar of cdr.
12125 2001-10-23 Gerd Moellmann <gerd@gnu.org>
12127 * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
12128 of mouse-{1,2} since dragging is on the down event.
12130 * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
12132 * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
12135 * desktop.el (desktop-last-buffer): New variable.
12136 (desktop-create-buffer): Set it.
12137 (desktop-read): Bind it and switch to that buffer.
12139 2001-10-22 Gerd Moellmann <gerd@gnu.org>
12141 * progmodes/compile.el (compilation-set-window-height):
12142 Select old window only if it's still live.
12144 2001-10-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
12146 * help-mode.el (help-buffer): Remove debugging code.
12147 From Stefan Monnier <monnier@cs.yale.edu>.
12149 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
12151 * files.el (file-name-sans-extension, file-name-extension):
12152 Don't count the leading dots in file names as signaling an extension.
12154 2001-10-22 Andre Spiegel <spiegel@gnu.org>
12156 * vc.el (vc-diff-switches): Doc rewritten.
12158 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
12160 * tooltip.el (tooltip-set-param): Doc fix.
12162 * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
12163 127 to sgml-maybe-name-self.
12164 (sgml-name-8bit-mode): Doc fix.
12165 (sgml-char-names-table): New variable.
12166 (sgml-name-char): Support non-ASCII and mule-unicode-*
12167 characters. Doc fix.
12168 (sgml-maybe-name-self): Convert unibyte characters to multibyte.
12170 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
12171 doc string the effect of `left' and `top' parameters in
12172 tooltip-frame-parameters, the default values, and the units.
12173 (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
12174 (tooltip-show): Mention in the doc string the `top' and `left'
12175 parameters in tooltip-frame-parameters, and x-max-tooltip-size.
12177 2001-10-22 Andre Spiegel <spiegel@gnu.org>
12179 Add autoscaling support for vc-annotate.
12180 From J.D. Smith <jdsmith@alum.mit.edu>.
12182 * vc.el (vc-annotate-display-default): Accept colormap scaling
12183 ratio (now deprecated).
12184 (vc-annotate-display-autoscale): Added.
12185 (vc-annotate-add-menu): New autoscaling menu options "Span to
12186 Oldest" and "Span Oldest->Newest". Easymenu support added for
12187 toggle menus driven by customize variable `vc-annotate-display-mode'.
12188 (vc-annotate-display-select): Added.
12189 (vc-annotate): Changed temp-buffer-show-function to
12190 `vc-annotate-display-select'.
12191 (vc-annotate-display): Removed arguments BUFFER and BACKEND.
12192 Added argument OFFSET. Instead of backend function, calls now
12193 generic `vc-annotate-difference'.
12194 (vc-annotate-difference): Added as generic function instead of
12195 backend-specific function. No longer takes argument POINT, but
12196 instead accepts a time OFFSET.
12197 (vc-default-annotate-current-time): Added.
12199 * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
12200 version in vc.el, with
12201 (vc-cvs-annotate-current-time): Added, as override of default.
12202 (vc-cvs-annotate-time): Added. Taken mostly from the (now removed)
12203 `vc-cvs-annotate-difference'.
12205 2001-10-22 Gerd Moellmann <gerd@gnu.org>
12207 * saveplace.el (save-place): Require `saveplace'.
12209 * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
12210 Use `sexp' for :value-type instead of `face'.
12212 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
12214 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
12215 regexps due to 5-digit message IDs.
12217 2001-10-21 Jason Rumney <jasonr@gnu.org>
12219 * term/w32-win.el (redisplay-dont-pause): Don't set.
12221 2001-10-21 Miles Bader <miles@gnu.org>
12223 * help-funs.el (help-manyarg-func-alist): Variable removed.
12225 2001-10-21 Miles Bader <miles@gnu.org>
12227 * help-funs.el (help-manyarg-func-alist): Remove entries for
12228 `insert', `insert-and-inherit', `insert-before-markers',
12229 `insert-before-markers-and-inherit', `message', `message-box',
12230 `message-or-box', `propertize', `format', `encode-time', `append',
12231 `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
12232 `insert-string', `ml-if', `ml-provide-prefix-argument', and
12233 `ml-prefix-argument-loop'.
12235 2001-10-21 Andre Spiegel <spiegel@gnu.org>
12237 * vc.el (vc-diff-internal, vc-coding-system-for-diff)
12238 (vc-default-diff-tree): New functions.
12239 (vc-version-diff): Use them. As a result, coding systems are now
12240 set up properly for all sorts of diffs, and tree diffs can now
12241 also be done locally.
12242 (vc-diff): With a prefix argument, don't require that it's called
12243 from a buffer under version control.
12244 (diff-switches): Remove duplicate definition.
12246 * vc-cvs.el (vc-cvs-diff-tree): New function.
12248 2001-10-21 Miles Bader <miles@gnu.org>
12250 * help-funs.el (help-manyarg-func-alist): Remove entries for
12251 `list', `vector', `make-byte-code', `call-process',
12252 `call-process-region', `string', `+', `-', `*', `/', `max', `min',
12253 `logand', `logior', and `logxor'.
12255 * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
12256 image bits to compensate. Use `make-string' instead of
12257 `make-bool-vector' (XBM apparently wants byte-aligned rows).
12259 2001-10-20 Kim F. Storm <storm@cua.dk>
12261 * simple.el (kill-ring-save): Don't show extent of copied region
12262 if using transient-mark-mode and region is fully visible.
12264 See ChangeLog.9 for earlier changes.
12266 ;; Local Variables:
12267 ;; coding: iso-2022-7bit
12270 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
12271 Copying and distribution of this file, with or without modification,
12272 are permitted provided the copyright notice and this notice are preserved.