1 2001-10-20 Gerd Moellmann <gerd@gnu.org>
3 * (Version 21.1 released.)
5 2001-10-19 Eli Zaretskii <eliz@is.elta.co.il>
7 * files.el (auto-mode-alist): Associate .indent.pro with
8 Fundamental mode. Suggested by Samuel Padgett <spadgett1@nc.rr.com>.
10 2001-10-18 Sam Steingold <sds@gnu.org>
12 Put the *Compile-Log* buffer in `compilation-mode'.
13 * emacs-lisp/bytecomp.el (byte-goto-log-buffer): New function.
14 (byte-compile-log-1, byte-compile-log-file)
15 (displaying-byte-compile-warnings): Use it
17 2001-10-18 Stefan Monnier <monnier@cs.yale.edu>
19 * mail/smtpmail.el (smtpmail-via-smtp): Use mail-envelope-from if set.
21 * xml.el (xml-parse-tag): Use eq on char-after's return value.
23 2001-10-18 Gerd Moellmann <gerd@gnu.org>
25 * isearch.el (isearch-mode-map): Bind `mouse-movement' to nil.
27 * obsolete/hilit19.el (hilit-lookup-face-create):
28 Call set-face-font only if display-graphic-p.
29 (toplevel): Remove references to window-system.
31 2001-10-18 Miles Bader <miles@gnu.org>
33 * simple.el (what-line): Avoid problems with field properties.
35 2001-10-17 Eli Zaretskii <eliz@is.elta.co.il>
37 * wid-edit.el (widget-field-face, widget-single-line-field-face):
38 Define special colors for a tty.
40 2001-10-17 Francesco Potortì <pot@gnu.org>
42 * comint.el (comint-password-prompt-regexp): Make it less
43 restrictive, letting comint recognize OpenSSH2 passphrase prompts.
45 2001-10-17 John Wiegley <johnw@gnu.org>
47 * eshell/em-unix.el (eshell/cat): Do a quick test if something is
48 a regular file, before checking if it is a directory or symlink.
49 This avoids a call to eshell-file-attributes, which can be
50 expensive in some situations.
52 * eshell/em-ls.el (eshell-ls-dired-initial-args): Added an extra
53 customization variable, to differentiate ls-in-dired from regular
56 2001-10-17 Miles Bader <miles@gnu.org>
58 * custom.el (defface): Mention `:inherit' in doc-string.
60 2001-10-16 Eli Zaretskii <eliz@is.elta.co.il>
62 * paren.el: Update the Commentary with installation instructions.
64 2001-10-15 Dave Love <fx@gnu.org>
66 * international/mule.el (set-auto-coding): Fix regexps for local
67 variables section not to eat newlines.
69 2001-10-15 Miles Bader <miles@gnu.org>
71 * simple.el (display-message-or-buffer): Pass the correct buffer
74 2001-10-14 Stefan Monnier <monnier@cs.yale.edu>
76 * progmodes/executable.el (executable-binary-suffixes): Make varalias.
77 (executable-find): Use exec-suffixes.
78 (executable-set-magic): Don't use make-local-hook.
80 * bindings.el (exec-suffixes): Initialize to a system-dependent value.
82 2001-10-14 Eli Zaretskii <eliz@is.elta.co.il>
84 * bindings.el (completion-ignored-extensions) [ms-dos, windows-nt]:
85 Add .ico, .pif, .lnk, .dll, .drv, .vxd, and .386.
86 Add .so to the Unix and GNU branch.
88 * international/latin-1.el:
89 * international/latin-2.el:
90 * international/latin-3.el:
91 * international/latin-4.el:
92 * international/latin-5.el:
93 * international/latin-8.el:
94 * international/latin-9.el: Add no-byte-compile: t, since
95 Makefile.in instructs make-docfile to look at .el files.
97 2001-10-14 Miles Bader <miles@gnu.org>
99 * button.el (define-button-type): Allow supertype property to be
100 specified with a keyword `:supertype' too.
101 (button-put, make-text-button): Allow button type property to be
102 specified using the keyword `:type' too.
103 (button-type): New function.
104 (button): Add `button-category-symbol' property.
106 2001-10-13 Stefan Monnier <monnier@cs.yale.edu>
108 * bindings.el (esc-map): Revert `j' and `C-j' bindings to
109 indent-new-comment-line from comment-indent-new-line.
111 * textmodes/refill.el (refill-mode):
112 Bind DEL to backward-delete-char-untabify.
113 Set backward-delete-char-untabify-method to `hungry'.
115 * textmodes/bib-mode.el (bib-mode):
116 * play/gomoku.el (gomoku-mode):
117 * textmodes/page-ext.el (pages-directory-mode):
118 * textmodes/scribe.el (scribe-mode): Use define-derived-mode.
120 * textmodes/two-column.el (2C-mode): Don't use make-local-hook.
122 * emacs-lisp/syntax.el (syntax-ppss): Autoload.
124 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
125 Handle here-docs differently.
126 (sh-font-lock-heredoc): Remove.
127 (sh-here-doc-open-re, sh-here-doc-markers, sh-here-doc-re): New vars.
128 (sh-font-lock-here-doc, sh-font-lock-close-heredoc)
129 (sh-font-lock-open-heredoc): New functions.
130 (sh-mode): Don't copy sh-font-lock-syntactic-keywords any more.
131 (sh-font-lock-keywords-1): Use regexp-opt.
132 (sh-in-comment-or-string): Use syntax-ppss.
133 (sh-case, sh-for, sh-indexed-loop, sh-function, sh-if, sh-repeat)
134 (sh-select, sh-tmp-file): Add explicit terminating \n.
136 * net/ange-ftp.el (ange-ftp-raw-send-cmd, ange-ftp-wait-not-busy):
137 Use with-current-buffer.
138 (ange-ftp-cd): New arg `noerror' to prevent signaling an error.
139 (ange-ftp-send-cmd): If a `cd' is used (because of a space in the
140 filename), catch any error that occurs in `ange-ftp-cd'.
141 If an error happened, don't bother sending `cmd' at all.
142 Fix a parenthesis typo.
143 (ange-ftp-write-region): Don't blindly use binary if the remote host
146 * play/pong.el (pong-init): Don't use make-local-hook.
148 2001-10-13 Michael Kifer <kifer@cs.sunysb.edu>
150 * viper-ex.el (ex-edit): Make checks for modified buffer/file.
151 (viper-get-ex-address-subr): More precise addr for the $ marker
153 2001-10-13 Eli Zaretskii <eliz@is.elta.co.il>
155 * version.el (emacs-version): Bump to 21.1.50.
157 2001-10-13 Pavel Janík <Pavel@Janik.cz>
159 * mail/mailalias.el (mail-directory-stream): Do not double
160 variables in the lambda-list.
162 * play/gomoku.el (gomoku-init-display): Ditto.
164 * play/landmark.el (lm-init-display): Ditto.
166 * delim-col.el (delimit-columns-rectangle-max): Ditto.
167 (delimit-columns-rectangle-line): Ditto.
169 2001-10-12 Stefan Monnier <monnier@cs.yale.edu>
171 * newcomment.el (comment-region-internal): Don't rebind
172 invisibility_spec now that the C routines handle it correctly.
174 * help-funs.el (locate-library): Use load-suffixes and abbrev filename.
176 * frame.el (special-display-popup-frame): Obey new specs `same-window'
179 * menu-bar.el (minibuffer-local-*map): Take inheritance into account.
181 * simple.el (minibuffer-local*-map): Remove redundant bindings.
183 * bindings.el (minibuffer-local-map): Also bind next, C-n, C-s, prior,
184 C-p and C-r. Remove redundant bindings from inheriting maps.
186 * progmodes/cperl-mode.el: Merged in changes from v4.32.
187 After 4.23 and: After 4.24:
188 (cperl-contract-levels): Restore position.
189 (cperl-beautify-level): Likewise.
190 (cperl-beautify-regexp): Likewise.
191 (cperl-commentify): Rudimentary support for length=1 runs.
192 (cperl-find-pods-heres): Process 1-char long REx comments too /a#/x
194 (cperl-commentify): Was recognizing length=2 "strings" as length=1.
195 (imenu-example--create-perl-index): Was not enforcing
196 syntaxification-to-the-end.
197 (cperl-invert-if-unless): Allow `for', `foreach'.
198 (cperl-find-pods-heres): Quote `cperl-nonoverridable-face'.
199 Mark qw(), m()x as indentable.
200 (cperl-init-faces): Highlight `sysopen' too.
201 Highlight $var in `for my $var' too.
202 (cperl-invert-if-unless): Was leaving whitespace at end.
203 (cperl-linefeed): Was splitting $var{$foo} if point after `{'.
204 (cperl-calculate-indent): Remove old commented out code.
205 Support (primitive) indentation of qw(), m()x.
207 (cperl-problems): Mention `fill-paragraph' on comment. \"" and
208 q [] with intervening newlines.
209 (cperl-autoindent-on-semi): New customization variable.
210 (cperl-electric-semi): Use `cperl-autoindent-on-semi'.
211 (cperl-tips): Mention how to make CPerl the default mode.
212 (cperl-mode): Support `outline-minor-mode'. From Mark A. Hershberger.
213 (cperl-outline-level): New function.
214 (cperl-highlight-variables-indiscriminately): New customization var.
215 (cperl-init-faces): Use `cperl-highlight-variables-indiscriminately'.
216 From Sean Kamath <kamath@pogo.wv.tek.com>.
217 (cperl-after-block-p): Support CHECK and INIT.
218 (cperl-init-faces, cperl-short-docs): Likewise and "our".
219 From Doug MacEachern <dougm@covalent.net>.
221 (cperl-find-pods-heres): Recognize \"" as a string.
222 Mark whitespace between q and [] as `syntax-type' => `prestring'.
223 Allow whitespace between << and "FOO".
224 (cperl-problems): Remove \"" and q [] with intervening newlines.
225 Mention multiple <<EOF as unsupported.
226 (cperl-highlight-variables-indiscriminately): Doc misprint fixed.
227 (cperl-indent-parens-as-block): New configuration variable.
228 (cperl-calculate-indent): Merge cases of indenting non-BLOCK groups.
229 Use `cperl-indent-parens-as-block'.
230 (cperl-find-pods-heres): Test for =cut without empty line instead of
231 complaining about no =cut.
232 (cperl-electric-pod): Change the REx for POD from "\n\n=" to "^\n=".
233 (cperl-find-pods-heres): Likewise.
234 (cperl-electric-pod): Change `forward-sexp' to `forward-word':
235 POD could've been marked as comment already.
236 (cperl-unwind-to-safe): Unwind before start of POD too.
238 (cperl-forward-re): Throw an error at proper moment REx unfinished.
240 (x-color-defined-p): Make an extra case to peacify the warning.
241 Toplevel: `defvar' to peacify the warnings.
242 (cperl-find-pods-heres): Could access `font-lock-comment-face' in -nw.
243 No -nw-compile time warnings now.
244 (cperl-find-tags): TAGS file had too short substring-to-search.
245 Be less verbose in non-interactive mode.
246 (imenu-example--create-perl-index): Set index-marker after name.
247 (cperl-outline-regexp): New variable.
248 (cperl-outline-level): Made compatible with `cperl-outline-regexp'.
249 (cperl-mode): Made use `cperl-outline-regexp'.
251 (cperl-find-pods-heres): =cut the last thing, no blank line, was error.
252 (cperl-outline-level): Make start-of-file same level as `package'.
254 (cperl-electric-pod): `head1' and `over' electric only if empty.
255 (cperl-unreadable-ok): New variable.
256 (cperl-find-tags): Use `cperl-unreadable-ok', do not fail
257 on an unreadable file.
258 (cperl-write-tags): Use `cperl-unreadable-ok', do not fail
259 on an unreadable directory.
261 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
262 Consider the text between two errors as belonging to the first error.
263 (compilation-goto-locus): Use pop-to-buffer rather than
264 switch-to-buffer-other-frame.
266 * progmodes/awk-mode.el (awk-mode-syntax-table): / has string syntax.
267 (awk-font-lock-syntactic-keywords): New var.
270 * expand.el (expand-c-for-skeleton): Add explicit terminating \n.
272 * faces.el (describe-face): Call help-setup-xref earlier.
274 * jka-compr.el (jka-compr-load-suffixes): New var.
275 (jka-compr-install): Add its content to load-suffixes.
276 (jka-compr-uninstall): Remove its content from load-suffixes.
278 2001-10-12 Sam Steingold <sds@gnu.org>
280 * bindings.el (completion-ignored-extensions): CL-related
281 extensions are platform-independent.
283 * net/ange-ftp.el (ange-ftp-copy-files-async): New function for
284 asynchronous multiple file copying.
286 2001-10-12 Gerd Moellmann <gerd@gnu.org>
288 * emacs-lisp/bytecomp.el (byte-compile-check-lambda-list):
289 Turn error for repeated variables into warning.
291 * emacs-lisp/bytecomp.el (byte-compile-check-lambda-list):
292 New function checking that lambda-list consists of non-constant
293 symbols, that &rest and &optional are followed by variable names,
294 that &rest VAR is the last element, and that variables aren't doubled.
295 (byte-compile-lambda): Use it.
297 2001-10-12 Eli Barzilay <eli@barzilay.org>
299 * calculator.el (calculator-eng-display): Don't call concat
300 with an integer argument.
302 2001-10-12 Miles Bader <miles@gnu.org>
304 * help-mode.el (help-customize-face): New button-type.
306 * faces.el (list-faces-display): Fix args to `help-xref-button'.
307 (describe-face): Fix args to `help-xref-button'.
308 Don't switch to help-buffer around call to `help-setup-xref'.
309 Use `help-buffer' instead of hard-wired "*Help*".
312 2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
314 * net/goto-addr.el (goto-address-mail-regexp): Allow + in username.
316 * help-mode.el (help-buffer): New function.
317 Returns the buffer-name to use for help output.
318 Change all the code to use it instead of hard-coding *Help*.
319 (help-mode-map): Put back the mouse-2 binding.
320 (help-xref-stack): Change the format and make buffer-local.
321 (help-xref-stack-item): Make buffer-local.
322 (help-setup-xref): Do the `push' here rather than in help-do-xref.
323 (help-xref-interned): Display the face doc as well.
324 (help-follow-mouse): Re-introduce.
325 (help-xref-go-back): Adapt to the new use of help-xref-stack.
326 (help-do-xref): Don't `push' any more.
327 (help-follow): Also follow face names.
329 * help-funs.el (describe-function-1): Remove unused `parens' arg.
330 Don't call help-setup-xref anymore and remove its `interactive-p' arg.
331 Autoload and cleanup.
332 (describe-function): Call help-setup-xref.
333 (describe-variable): Call help-setup-xref earlier.
335 * help.el (describe-bindings-internal): New fun moved from keymap.c.
336 (view-lossage): Call help-setup-xref correctly and earlier.
337 (describe-bindings): Call help-setup-xref earlier.
338 (describe-key): Call help-setup-xref. Fix call to describe-function-1.
339 (describe-mode): Don't autoload. Call help-setup-xref earlier.
341 2001-10-11 Gerd Moellmann <gerd@gnu.org>
343 * master.el (master-mode): Use define-minor-mode instead of
344 easy-mmode-define-minor-mode. Add autoload cookie.
345 (Commentary): Remove the line showing how to autoload master-mode,
346 since it's always autoloaded.
348 * master.el: New file.
350 2001-10-11 Dave Love <fx@gnu.org>
352 * emacs-lisp/byte-opt.el (byte-optimize-lapcode)
353 <byte-constref-ops>: Consider byte-constant2 and clarify the code.
354 <const-C varset-X const-C>: Fix car/cdr typo.
356 2001-10-11 Gerd Moellmann <gerd@gnu.org>
358 * emacs-lisp/bytecomp.el (byte-compile-display-log-head-p):
359 New function extracted from byte-compile-log-1.
360 (byte-compile-log-1): Change output to be more in line with
361 the output of other GNU tools.
362 (byte-compile-warn): Emit `warning' instead of `**' for warnings.
363 (byte-compile-report-error): Downcase error message.
364 Use `error' instead of `!!' for error messages.
365 (byte-compile-print-syms): Treat non-interactive case specially.
366 (displaying-byte-compile-warnings): Use backquote.
367 (byte-compile-from-buffer): Bind byte-compile-last-line.
368 (batch-byte-compile): Remove `Done' message.
370 2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
372 * emacs-lisp/copyright.el (copyright): Add final \n.
374 2001-10-11 Miles Bader <miles@gnu.org>
376 * diff.el (diff): Display default values in prompts as
377 `(default ...)', not `(...)'.
379 * info.el (Info-follow-reference): Likewise.
381 2001-10-10 Stefan Monnier <monnier@cs.yale.edu>
383 * emacs-lisp/autoload.el (doc-string-elt): Remove.
385 * newcomment.el (comment-indent): Be a little more robust in case
386 comment-indent-function does funny things.
387 (comment-normalize-vars): Autoload.
388 (comment-region-internal): Fiddle with the visibility spec.
389 (comment-valid-prefix): New function.
390 (comment-indent-new-line): Use it. Ignore adaptive-fill-prefixes
391 that would turn comment-text into non-comment-text.
393 * emacs-lisp/syntax.el: New file.
395 * progmodes/tcl.el: Change maintainer to FSF and remove loads of
397 (tcl-using-emacs-19, tcl-using-emacs-19-23, tcl-using-xemacs-19)
398 (tcl-version, tcl-maintainer, tcl-use-hairy-comment-detector): Remove.
399 (tcl-mode-map): Remove bindings for tcl-beginning-of-defun,
400 tcl-end-of-defun, tcl-mark-defun, tcl-indent-for-comment,
401 tcl-submit-bug-report.
402 (tcl-mode-syntax-table): Leave \f alone.
403 (inferior-tcl-mode-map): Remove bindings for tcl-beginning-of-defun,
404 tcl-end-of-defun, tcl-submit-bug-report.
405 (tcl-xemacs-menu): Fix up and pass it directly to easymenu.
406 (tcl-add-emacs-menu): Remove.
407 (tcl-fill-mode-map, tcl-fill-inferior-map): Moved into the defvar.
408 (tcl-keyword-list): Add `chain'.
409 (tcl-font-lock-syntactic-keywords): New variable.
410 (tcl-pps-has-arg-6): Remove.
411 (tcl-internal-beginning-of-defun, tcl-internal-end-of-defun)
412 (tcl-internal-mark-defun): Remove.
413 (tcl-set-proc-regexp, tcl-set-font-lock-keywords): Use regexp-opt.
414 (tcl-mode): Use define-derived-mode. Simplify.
415 Set comment-indent-function.
416 (tcl-indent-command): Use line-beginning-position and comment-indent.
417 (tcl-calculate-indent): Renamed from calculate-tcl-indent.
418 (tcl-indent-line): Use tcl-calculate-indent.
419 (tcl-indent-exp): Renamed from indent-tcl-exp. Use new names.
420 (tcl-add-log-defun): Renamed from add-log-tcl-defun. Use match-string.
421 (tcl-filter): Use with-current-buffer, simplify.
422 (inferior-tcl-mode): Use define-derived-mode.
423 (tcl-hairy-in-comment): Renamed tcl-in-comment.
424 (tcl-simple-in-comment, tcl-in-comment): Removed.
425 (tcl-files-alist): New function.
426 (tcl-help-snarf-commands): Use it and return the result directly
427 rather than through a global variable.
428 (tcl-reread-help-files): Fix up the call to tcl-help-snarf-commands.
429 (tcl-help-on-word): Provide the default value to completing-read.
431 (tcl-hashify-buffer, tcl-popup-menu): Simplify.
432 (tcl-comment-indent): New function.
433 (tcl-submit-bug-report): Remove.
434 (tcl-uncomment-region, tcl-indent-for-comment, add-log-tcl-defun)
435 (indent-tcl-exp, calculate-tcl-indent, tcl-beginning-of-defun)
436 (tcl-end-of-defun, tcl-mark-defun, tcl-mark): Redefine as aliases.
438 2001-10-10 Miles Bader <miles@gnu.org>
440 * info.el (Info-insert-dir): Don't call `Info-fontify-menu-headers'.
441 (Info-fontify-node): Don't fontify the node if it's already been done.
443 2001-10-10 Gerd Moellmann <gerd@gnu.org>
445 * international/iso-transl.el (iso-transl-e-caret)
446 (iso-transl-i-caret, iso-transl-o-caret, iso-transl-u-caret):
447 Fix duplicates. From Dave Love <d.love@dl.ac.uk>.
449 * simple.el (end-of-buffer): Fix code scrolling specially
452 * startup.el (command-line-1): Bind tab-width to 8.
454 2001-10-10 Pavel Janík <Pavel@Janik.cz>
456 * emulation/tpu-edt.el: Use defalias instead of fset for
457 user-visible commands. From Rob Riepel
458 <riepel@Networking.Stanford.EDU>.
460 2001-10-09 Gerd Moellmann <gerd@gnu.org>
462 * ruler-mode.el: New file.
464 2001-10-09 Miles Bader <miles@gnu.org>
466 * apropos.el (button): New require.
468 * help-funs.el: New file, contents mostly from `help.el'.
469 (describe-variable): Use `condition-case' instead of `ignore-errors'.
471 * help-mode.el: New file, contents mostly from `help.el'.
473 * help.el: Don't require `view' when compiling.
474 (help-with-tutorial, describe-function, describe-function-1)
475 (variable-at-point, describe-variable, locate-library):
476 Functions moved into `help-funs.el'.
477 (help-manyarg-func-alist): Variable moved into `help-funs.el'.
478 (help-mode, help-mode-setup, help-mode-finish, help-button-action)
479 (help-setup-xref, help-xref-following, help-make-xrefs)
480 (help-xref-button, help-insert-xref-button, help-xref-interned)
481 (help-xref-go-back, help-go-back, help-do-xref, help-follow)
482 (help-xref-on-pp): Functions moved into `help-mode.el'.
483 (help-mode-map, help-xref-stack, help-xref-stack-item)
484 (help-highlight-p, help-highlight-face, help-back-label)
485 (help-xref-symbol-regexp, help-xref-mule-regexp)
486 (help-xref-info-regexp): Variables moved into `help-mode.el'.
487 (help-symbol, help-back, help-info, help-customize-variable)
488 (help-function-def, help-variable-def):
489 Button-types moved into `help-mode.el'.
490 (load-symbol-file-load-history, symbol-file):
491 Functions moved into `subr.el'.
492 (symbol-file-load-history-loaded): Variable moved into `subr.el'.
493 (view-lossage): Call `help-setup-xref' instead of doing it manually.
495 * subr.el (symbol-file-load-history-loaded)
496 (load-symbol-file-load-history, symbol-file): Moved from `help.el'.
498 * loadup.el ("button"): Load removed.
500 * button.el (define-button-type): Respect any `supertype' property.
501 (button-type-subtype-p, button-has-type-p): New functions.
503 * rfn-eshadow.el (rfn-eshadow-regexp): Deal correctly with escaped
506 * comint.el (comint-insert-previous-argument): New function.
507 (comint-mode-map): Bind `C-c .' to `comint-input-previous-argument'.
508 (comint-insert-previous-argument-last-start-pos)
509 (comint-insert-previous-argument-last-index): New variables.
511 * apropos.el (apropos-next-label-button): Use the presence of a
512 `apropos-label' property to detect label buttons.
514 2001-10-08 Miles Bader <miles@gnu.org>
516 * button.el (next-button, previous-button): Remove N and WRAP
517 parameters. Don't pay attention to `skip' properties.
518 (forward-button): Implement wrapping, iterating, and skipping here
520 (button-activate): USE-MOUSE-ACTION is optional.
521 (button-nop): Function removed.
522 (default-button): Use `ignore' as default button action.
524 * apropos.el (apropos-next-label-button): Update arguments to
526 (apropos-symbol): Add `skip' property.
527 (apropos-function, apropos-macro, apropos-command)
528 (apropos-variable, apropos-face, apropos-group, apropos-widget)
529 (apropos-plist): New button types.
530 (apropos-label-properties): Variable removed.
531 (apropos-print): Pass button-type to apropos-print-doc, rather
532 than help function and label text.
533 (apropos-print-doc): Remove ACTION and STR args, add TYPE arg.
534 Get button label from TYPE.
536 2001-10-07 Stefan Monnier <monnier@cs.yale.edu>
538 * help.el (help-mode): Use define-derived-mode.
539 (describe-mode): Add optional `buffer' arg.
540 Use it instead of going through help-xref-mode.
541 Avoid doubling the word `minor' when prettifying.
542 (describe-function-1): List the corresponding key bindings.
543 (describe-variable): Say if the var is automatically buffer-local.
544 If the source is `loaddefs.el', look for the real source.
545 (help-xref-mode): Remove.
547 * emacs-lisp/bytecomp.el (byte-compile-file): Return success when
548 the file says no-byte-compile.
550 2001-10-08 Miles Bader <miles@gnu.org>
552 * button.el (next-button, previous-button): Respect `skip' property.
554 2001-10-07 Miles Bader <miles@gnu.org>
556 * woman.el (woman-mode-map): Copy button-buffer-map instead of
557 making a new keymap. Don't bind mouse-2. Bind M-mouse-2 to
558 `woman-follow-word' instead of `woman-mouse-2'.
559 (woman-follow-word): Renamed from `woman-mouse-2'.
560 Follow current unconditionally, since this function is now only
561 bound to M-mouse-2. Use accessor functions.
562 (WoMan-highlight-references): Use `make-text-button'.
563 (woman-xref): New button type.
565 * loadup.el ("faces"): Move load before loading "loaddefs.el".
566 ("button"): New load, just before "help" (which uses it).
568 * help.el (help-mode-map): Make button-buffer-map our parent.
569 Don't bind mouse events or tab/backtab.
570 (help-function, help-variable, help-face, help-coding-system)
571 (help-input-method, help-character-set, help-back, help-info)
572 (help-customize-variable, help-function-def, help-variable-def):
574 (help-button-action): New function.
575 (describe-function-1): Pass help button-types to
576 `help-xref-button' rather than help function and help-echo string.
577 Don't put multiple help-function args in a list to pass them to
578 help-xref-button, just pass them as multiple arguments.
579 Use `help-insert-xref-button' to make [back]-button, rather than
581 (help-xref-button): Take a button-type TYPE as a parameter rather
582 than a function. Remove HELP-ECHO parameter. Remove DATA parameter
583 and add a &rest parameter ARGS to serve the same purpose.
584 Use `make-text-button' to add the button.
585 (help-insert-xref-button): Use `insert-text-button' to add the button.
586 (help-follow-mouse, help-next-ref, help-previous-ref):
588 (help-do-xref): New function.
589 (help-follow): Use `push-button' and `help-do-xref' to do most of
592 * apropos.el (apropos-symbol, apropos-label): New button types.
593 (apropos-symbol-button-display-help)
594 (apropos-label-button-display-help, apropos-next-label-button):
596 (apropos-mode-map): Make button-buffer-map our parent.
597 Don't bind mouse events.
598 (apropos-print, apropos-print-doc): Create buttons instead of text
600 (apropos-mouse-follow): Function removed.
601 (apropos-follow): Use buttons.
603 * button.el: New file.
605 2001-10-07 Gerd Moellmann <gerd@gnu.org>
607 * emacs-lisp/cl.el (most-positive-fixnum, most-negative-fixnum):
610 2001-10-05 Richard M. Stallman <rms@gnu.org>
612 * add-log.el (add-change-log-entry): Skip copyright notice
613 and copying permission notice at start of file, if any.
614 Make use of terms "entry" and "item" accord with Emacs manual.
615 Simplify the logic for moving point while entering or creating
616 an entry and then an item.
617 (add-change-log-entry-other-window): Doc fix.
619 2001-10-06 Miles Bader <miles@gnu.org>
621 * rfn-eshadow.el (read-file-name-electric-shadow): Autoload cookie
622 removed; they apparently don't work with faces.
624 2001-10-05 Sam Steingold <sds@gnu.org>
626 * textmodes/sgml-mode.el (html-xhtml): New user option.
627 (html-tag-alist, html-horizontal-rule, html-image, html-line)
628 (html-ordered-list, html-unordered-list, html-list-item)
629 (html-paragraph, html-checkboxes, html-radio-buttons): Use it.
630 (sgml-skip-close-p): New function.
631 (sgml-value): Use it.
633 2001-10-05 Sam Steingold <sds@gnu.org>
635 * calendar/diary-lib.el (diary-entry-compare): When times are
636 identical, compare the entries lexicographically.
638 2001-10-06 Miles Bader <miles@gnu.org>
640 * rfn-eshadow.el (rfn-eshadow-update-overlay):
641 Use `minibuffer-prompt-end'.
643 * simple.el (previous-matching-history-element): Fix misplaced
646 2001-10-05 Miles Bader <miles@gnu.org>
648 * rfn-eshadow.el: New file.
650 2001-10-05 Miles Bader <miles@gnu.org>
652 * cus-face.el (custom-face-attributes): Make sure each attribute
653 has a valid default value. Remove hacks that mapped `nil' to
654 `off' and used nil to mean `unspecified'. Remove `unspecified'
655 choices from all attributes (unspecified is handled by the parent
657 * cus-edit.el (custom-face-edit-convert-widget)
658 (custom-face-edit-deactivate, custom-face-edit-activate)
659 (custom-face-edit-delete, custom-face-edit-attribute-tag):
661 (custom-face-edit): Specify a custom :convert-widget.
662 (custom-pre-filter-face-spec, custom-post-filter-face-spec):
663 Don't pass in default filters that map between `nil' and `off' and
664 `unspecified' and `nil'.
666 2001-10-05 Gerd Moellmann <gerd@gnu.org>
668 * progmodes/compile.el (compilation-buffer-name): New function.
669 (compile-internal): Use it to determine the name of the
672 2001-10-05 Miles Bader <miles@gnu.org>
674 * progmodes/compile.el (grep-use-null-device): New variable.
675 (grep-command): Mention `grep-use-null-device'.
676 (grep-compute-defaults): Compute `grep-use-null-device' if necessary.
677 Make computation of `grep-command' respect `grep-use-null-device'.
678 (grep): Respect `grep-use-null-device'.
679 Call `grep-compute-defaults' even if grep-command is set, if
680 grep-use-null-device is still tentative.
682 * subr.el (call-process-shell-command): New function.
684 2001-10-05 Miles Bader <miles@gnu.org>
686 * simple.el (previous-matching-history-element)
687 (next-history-element, next-complete-history-element): Use
688 `minibuffer-' functions instead of calling `field-' functions directly.
689 (minibuffer-prompt-end, minibuffer-contents):
690 (minibuffer-contents-no-properties, delete-minibuffer-contents):
691 Functions removed (now subrs).
692 (minibuffer-prompt-width): Use `minibuffer-prompt-end'.
694 * minibuf-eldef.el (minibuf-eldef-setup-minibuffer)
695 (minibuf-eldef-update-minibuffer): Use `minibuffer-' functions
696 instead of calling `field-' functions directly.
697 (minibuf-eldef-setup-minibuffer): Remove unused variable `prompt'.
699 2001-10-05 Gerd Moellmann <gerd@gnu.org>
701 * files.el (find-file-noselect): If file's read-only status has
702 changed on disk, ask if buffer's read-only status should be
703 changed, unless NOWARN is set.
705 * emacs-lisp/cl-macs.el (define-setf-expander): Make it an
706 alias for define-setf-method.
708 * bindings.el: Remove no-byte-compile from file local variables
709 to enable bootstrapping.
711 2001-10-04 Andrew Innes <andrewi@gnu.org>
713 * faces.el (face-font-registry-alternatives) [windows-nt]:
714 Make gb2312 an alias for gb2312.1980.
716 2001-10-04 Stefan Monnier <monnier@cs.yale.edu>
718 * uniquify.el (uniquify-get-proposed-name): Don't assume dirsep is /.
719 (uniquify-reverse-components): Remove.
721 * emacs-lisp/bytecomp.el (byte-recompile-directory):
722 Make sure the file is readable.
723 (byte-compile-file): Don't compile if `no-byte-compile' is set.
724 (byte-compile-defvar): Update to reflect the change in Fdefvar.
725 (batch-byte-recompile-directory): Pass arg=0.
727 * progmodes/perl-mode.el (perl-indent-continued-arguments): New var.
728 (perl-calculate-indent): Use it.
729 (perl-backward-to-noncomment): Use forward-comment.
731 * derived.el (define-derived-mode, derived-mode-make-docstring):
732 Allow `parent' to be nil.
734 * textmodes/nroff-mode.el (nroff-mode-abbrev-table, nroff-mode):
735 Use define-derived-mode.
736 (nroff-mode-map, nroff-mode-syntax-table): Massage.
738 * mail/mailabbrev.el (mail-abbrev-in-expansion-header-p): Simplify.
740 * emacs-lisp/lselect.el: Use facep iso find-face.
742 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
744 (doc-string-elt): Set symbols' prop. Copied from autoload.el.
745 (lisp-font-lock-syntactic-face-function): New function.
746 (lisp-mode-variables): Use it. Make arg optional.
747 (emacs-lisp-mode): Don't pass an arg to lisp-mode-variables.
748 (lisp-mode): Don't pass an arg to lisp-mode-variables.
749 Set comment-start-skip.
751 * emacs-lisp/lisp-mnt.el (lm-history-header): Accept `ChangeLog'.
753 * emacs-lisp/cl-macs.el (frame-parameter): Add a setf method.
754 (ignore-errors): Don't bother using a `err' symbol.
756 * emacs-lisp/autoload.el (autoload-ensure-default-file)
757 (autoload-insert-section-header, autoload-before-p)
758 (autoload-remove-section): New functions.
759 (generate-file-autoloads): Use them.
760 (update-file-autoloads): Use them. Return FILE if there's no cookie.
761 Make sure the autoload file is properly formatted when creating it.
762 (update-autoloads-from-directories): Use them as well.
763 Only update autoloads for files whose timestamp has changed.
764 Add a dummy entry to remember the files which had no autoload cookies.
766 * timer.el (timer-relative-time): Fix computation for negative `micro'.
768 * subr.el (define-key-after): Allow `key' to be longer than 1.
769 (make-local-hook): Make obsolete.
770 (add-hook, remove-hook): Don't use make-local-hook any more.
771 (make-syntax-table): Inherit all chars from s-s-t.
773 2001-10-04 Gerd Moellmann <gerd@gnu.org>
775 This is a fix for a report saying that resuming a search with C-s
776 C-s doesn't use the case-fold-search setting of the previous
777 search (C-s ... M-c ... then C-s C-s).
779 * isearch.el (isearch-last-case-fold-search): New variable.
780 (isearch-mode): Remember value of isearch-case-fold-search
781 in isearch-last-case-fold-search.
782 (isearch-done): Quote value of isearch-case-fold-search.
783 (isearch-repeat): When resuming a search, restore
784 isearch-case-fold-search from isearch-last-case-fold-search.
788 * startup.el (inhibit-startup-buffer-menu): New user-option.
789 (command-line-1): If inhibit-startup-buffer-menu is set, don't
790 display the buffer menu. From Simon Josefsson <jas@extundo.com>.
792 This allows upto 99999 messages in the summary without screwing up
793 the summary sorting. Previously 9999 was the maximum. Added to NEWS.
795 * mail/rmailsum.el (rmail-make-summary-line)
796 (rmail-make-summary-line-1, rmail-summary-next-same-subject)
797 (rmail-summary-goto-msg, rmail-summary-goto-msg):
798 Allow 5-digit message ids instead of 4.
800 This adds expansion of environment variables in the value
801 specified with M-x setenv. Added to NEWS.
803 * env.el (substitute-env-vars): New function.
804 (setenv): Add parameter SUBSTITUTE-ENV-VARS. If set, substitute
805 environment variables in VALUE. Return VALUE.
807 2001-10-04 Gerd Moellmann <gerd@gnu.org>
811 2001-10-03 Stefan Monnier <monnier@cs.yale.edu>
813 * pcvs-util.el (cvs-prefix-define): Typo cons->concat.
815 2001-10-03 Pavel Janík <Pavel@Janik.cz>
817 * emulation/tpu-edt.el: Make messages match original TPU/edt
818 editor. From riepel@Stanford.EDU (Rob Riepel).
820 2001-10-03 Eli Zaretskii <eliz@is.elta.co.il>
822 * rect.el: Update maintainer's email address.
824 2001-10-02 Andreas Schwab <schwab@suse.de>
826 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 227 and 228 for Long
827 and Extended Passive Mode, resp.
829 2001-10-01 Eli Zaretskii <eliz@is.elta.co.il>
831 These changes add support for Calendar-related items in the
832 menu bar on tty's as well:
834 * calendar/calendar.el (calendar-mode-map): Require cal-menu
836 (calendar-mode): Set up activate-menubar-hook unconditionally.
838 * calendar/cal-menu.el (cal-menu-x-popup-menu): New function,
839 calls x-popup-menu only if popup menus are supported.
840 (calendar-mouse-insert-hebrew-diary-entry)
841 (calendar-mouse-insert-islamic-diary-entry)
842 (calendar-mouse-holidays, calendar-mouse-view-diary-entries)
843 (calendar-mouse-view-other-diary-entries)
844 (calendar-mouse-print-dates, calendar-mouse-2-date-menu)
845 (calendar-mouse-cal-tex-menu, cal-tex-mouse-filofax):
846 Call cal-menu-x-popup-menu instead of x-popup-menu.
848 2001-10-01 Gerd Moellmann <gerd@gnu.org>
850 * gs.el (gs-set-ghostview-window-prop): Fix args of `elt'.
852 * emacs-lisp/edebug.el (rx): Add def-edebug-spec.
854 * emacs-lisp/rx.el: New file.
856 2001-10-01 Eli Zaretskii <eliz@is.elta.co.il>
858 * help.el (help-for-help): Doc fix. From Pavel@Janik.cz (Pavel Janik).
860 2001-09-30 Eli Zaretskii <eliz@is.elta.co.il>
862 * frame.el (select-frame-by-name, other-frame): Doc fix.
864 2001-09-29 Eli Zaretskii <eliz@is.elta.co.il>
866 * play/snake.el (snake-score-file): Use temporary-file-directory
867 instead of a literal "/tmp". Suggested by Robert
868 <robert@chezmarshall.freeserve.co.uk>.
870 * play/tetris.el (tetris-score-file): Ditto.
872 2001-09-28 Eli Zaretskii <eliz@is.elta.co.il>
874 * apropos.el (apropos-print): Make the directions inserted at the
875 beginning of the *Apropos* buffer more clear.
877 2001-09-27 Michael Kifer <kifer@cs.sunysb.edu>
879 * ediff-mult.el (ediff-get-meta-info): Installed Gerd's changes.
882 2001-09-27 Stefan Monnier <monnier@cs.yale.edu>
884 * newcomment.el (comment-normalize-vars): Use " \t" rather than
885 "\\s-" when defining comment-end-skip.
887 2001-09-27 Gerd Moellmann <gerd@gnu.org>
889 * mail/feedmail.el (feedmail-queue-send-edit-prompt-help):
890 Call get-buffer-window first second arg `visible'.
892 * international/mule-diag.el (list-input-methods-1):
893 Output something that's independent of Emacs' version.
895 * tar-mode.el (tar-mode-write-file): Don't signal an error by
896 calling byte-to-position with a nil tar-header-offset.
898 2001-09-27 Simon Josefsson <jas@extundo.com>
900 * mail/sendmail.el (send-mail-function): Doc fix.
901 (mail-do-fcc): Error if header-end is not a marker.
902 (mail-do-fcc): Add a comment.
903 (mail-reply-to): Doc fix.
904 (mail-signature): Make ATPOINT optional.
905 (mail-yank-original): Use cond instead of nested if.
907 2001-09-26 Stefan Monnier <monnier@cs.yale.edu>
909 * info.el (Info-on-current-buffer): Default arg to "Top".
911 2001-09-25 Eli Barzilay <eli@barzilay.org>
913 * calculator.el (calculator-copy-displayer): New user-option.
914 (calculator-displayer-prev, calculator-displayer-next):
915 Renamed from calculator-displayed-{left,right}.
916 (calculator, calculator-standard-displayer)
917 (calculator-num-to-string, calculator-update-display)
918 (calculator-copy, calculator-put-value): Bug and display fixes.
920 2001-09-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
922 * ebnf2ps.el: Eliminate make-local-hook calls. Doc fix.
923 (ebnf-version): New version (3.6.1).
925 * ebnf-bnf.el: Fix character range regexp. Doc fix.
926 (ebnf-bnf-non-terminal-chars): New internal const.
927 (ebnf-bnf-lex): Fix code.
929 * ebnf-iso.el: Fix character range regexp. Doc fix.
930 (ebnf-iso-non-terminal-chars): New internal const.
931 (ebnf-iso-lex): Fix code.
933 * ebnf-yac.el: Fix character range regexp. Doc fix.
934 (ebnf-yac-skip-chars): New internal const.
935 (ebnf-yac-skip-code): Fix code.
937 2001-09-24 Stefan Monnier <monnier@cs.yale.edu>
939 * vc.el (vc-checkin): Use vc-delete-automatic-version-backups.
941 * pcvs-parse.el (cvs-parse-commit): Expand the file name before
944 * vc-hooks.el (vc-delete-automatic-version-backups): Handle the
945 case where the file is relative.
947 2001-09-24 Gerd Moellmann <gerd@gnu.org>
949 * xml.el (xml-parse-attlist): Quotes around attributes must be the
950 same on each side. Make sure we properly handle simple quotes.
951 From Daiki Ueno <ueno@unixuser.org>.
953 2001-09-23 Eli Zaretskii <eliz@is.elta.co.il>
955 * mail/sendmail.el (mail-mode): Doc fix. From Simon Josefsson
958 * menu-bar.el (top-level): Minor fixes for text of help-echo in
959 some items of the Options menu.
961 2001-09-22 Stefan Monnier <monnier@cs.yale.edu>
963 * pcvs-parse.el (cvs-parse-commit): Remove the temp files used by VC.
965 * vc-hooks.el (vc-delete-automatic-version-backups):
966 Don't fail if the directory doesn't exist.
968 * diff-mode.el (diff-default-read-only): New var.
971 2001-09-22 Eli Zaretskii <eliz@is.elta.co.il>
973 * hexl.el (hexl-mode-map): Fix the change of 2001-08-23:
974 Use make-keymap instead of copy-keymap, since copying the global
975 keymap messes up the menu bar.
977 * info.el (Info-goto-node, Info-menu): Doc fix. Suggested by
978 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
980 2001-09-21 Eli Zaretskii <eliz@is.elta.co.il>
982 * dired.el (dired-build-subdir-alist): Accept optional arg SWITCHES.
984 * dired-aux.el (dired-insert-subdir): Pass switches to
985 dired-build-subdir-alist.
987 2001-09-21 Stephen Gildea <gildea@stop.mail-abuse.org>
989 * time-stamp.el (time-stamp-string-preprocess): Fix bug that
990 caused %#a and %#b to be mis-formatted.
992 2001-09-20 Eli Zaretskii <eliz@is.elta.co.il>
994 * info.el (Info-file-list-for-emacs): Add elements for ada-mode,
995 ccmode, emacs-mime, and eudc manuals.
997 2001-09-19 Sam Steingold <sds@gnu.org>
999 w32 find cannot be used with `grep-find'.
1000 * progmodes/compile.el (find-program): New variable.
1001 (grep-compute-defaults): Use it to set `grep-find-command'.
1003 2001-09-19 Gerd Moellmann <gerd@gnu.org>
1005 * ps-bdf.el (bdf-read-bitmap): Initialize returned values to defaults.
1007 2001-09-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1009 * ebnf2ps.el: Replace "Prologue" by "Prolog" in PostScript
1010 programming. Doc fix.
1011 (ebnf-version): New version (3.6).
1012 (ebnf-eps-begin): Data fix.
1013 (ebnf-begin-file): Code fix.
1015 * ebnf-bnf.el: Doc fix.
1016 (ebnf-bnf-lex): Fix regexp for non-terminal and terminal tokens.
1018 * ebnf-iso.el, ebnf-otz.el, ebnf-yac.el: Doc fix.
1020 2001-09-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1022 * ps-print.el: Better face mapping for black/white PostScript printers.
1023 Check if mark is active when printing a region. Doc fix.
1024 (ps-print-version): New version number (6.5.5).
1025 (ps-print-color-p): Customization fix.
1026 (ps-black-white-faces): New option.
1027 (ps-black-white-faces-alist): New internal var.
1028 (ps-count-lines-preprint, ps-print-preprint-region): New funs.
1029 (ps-print-region, ps-print-region-with-faces, ps-nb-pages-buffer)
1030 (ps-nb-pages-region): Interactive fix.
1031 (ps-extend-face-list, ps-extend-face, ps-setup, ps-begin-job)
1032 (ps-face-attributes, ps-generate-postscript-with-faces): Code fix.
1034 2001-09-18 Eli Zaretskii <eliz@is.elta.co.il>
1036 * dired.el (dired-move-to-filename-regexp): Allow one digit in the
1037 numeric month value, and allow the Kanji character after it to be
1038 missing (happens with ls-lisp's output on Japanese versions of
1041 2001-09-18 Miles Bader <miles@gnu.org>
1043 * diff-mode.el (diff-mode): Don't make the buffer read-only if
1044 it's empty (and thus probably a new patch file about to be edited).
1046 2001-09-17 Gerd Moellmann <gerd@gnu.org>
1048 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1049 Check for '(' in column 0 of doc string.
1051 * gs.el (gs-set-ghostview-window-prop): Use `elt' instead
1052 of `nth' so that using a vector as bounding-box works.
1053 From David.Kastrup@neuroinformatik.ruhr-uni-bochum.de.
1055 2001-09-17 Andre Spiegel <spiegel@gnu.org>
1057 * vc.el (vc-annotate): Use current workfile version explicitly as
1058 a default, suggested by Gustav Hållberg <gustav@virtutech.se>.
1060 2001-09-16 Eli Zaretskii <eliz@is.elta.co.il>
1062 * ps-bdf.el (bdf-cache-file) <ms-dos>: Use _bdfcache.el, since
1063 convert-standard-filename doesn't guarantee that the .el extension
1066 * dos-fns.el (convert-standard-filename): Replace invalid
1067 characters only after converting dash/underscore to a period.
1068 (original-make-auto-save-file-name): New.
1069 (make-auto-save-file-name): New function, overrides the definition
1070 on files.el and calls the original function via
1071 original-make-auto-save-file-name.
1073 * mail/rmail.el (top-level): Require mule-utils when compiling.
1074 (rmail-decode-babyl-format): Use detect-coding-with-priority
1075 instead of detect-coding-region, to favor detection of emacs-mule
1076 encoded Babyl files written by rmailout.el etc. Suggested by
1077 Kenichi Handa <handa@etl.go.jp>.
1079 2001-09-14 Eli Zaretskii <eliz@is.elta.co.il>
1081 * eshell/em-unix.el (eshell-shuffle-files, eshell-shuffle-files):
1082 Use `equal', not `=', since the device number can be a cons cell.
1084 2001-09-14 Gerd Moellmann <gerd@gnu.org>
1086 * simple.el: Comment out change of 2001-09-13.
1088 2001-09-13 Milan Zamazal <pdm@zamazal.org>
1090 * progmodes/compile.el (grep-compute-defaults): Don't set
1091 grep-command/grep-find-command when it is already non-nil.
1092 (grep-command): Make it a user option.
1093 (grep-find-command): Likewise.
1095 2001-09-13 Michael Kifer <kifer@cs.sunysb.edu>
1097 * viper-cmd.el (viper-replace-char-subr, viper-envelop-ESC-key):
1100 2001-09-13 Eli Zaretskii <eliz@is.elta.co.il>
1102 * files.el (make-auto-save-file-name): If long file names are not
1103 supported on MS-DOS, truncate the file name to DOS 8+3 limits before
1104 generating an auto-save file name from it.
1106 2001-09-13 Gerd Moellmann <gerd@gnu.org>
1108 * ps-print.el (ps-print-region, ps-print-region-with-faces)
1109 (ps-nb-pages-region): Signal an error if called interactively
1110 and the mark is not active.
1112 * simple.el (minibuffer-prompt-modification)
1113 (minibuffer-prompt-insertion): New functions.
1114 (minibuffer-prompt-properties): Use `modification-hooks' and
1115 `insert-in-front-hooks'.
1117 2001-09-12 Richard M. Stallman <rms@gnu.org>
1119 * textmodes/outline.el (outline-regexp): Doc fix.
1120 Initialize it in the defcustom, the usual way.
1122 2001-09-12 Gerd Moellmann <gerd@gnu.org>
1124 * ediff-mult.el (ediff-get-meta-info): Take into account that data
1125 from `ediff-meta-info' properties need not be an overlay.
1126 From David Ponce <dponce@voila.fr>.
1128 * isearch.el (isearch-intersects-p): Fix end checks.
1130 2001-09-11 Eli Zaretskii <eliz@is.elta.co.il>
1132 * gud.el (dbx) <gud-dbx-use-stopformat-p>: Move this case into the
1133 `t' branch of `cond', since Irix 6.1 and up is a special case of
1134 the standard dbx interface.
1136 2001-09-11 Miles Bader <miles@gnu.org>
1138 * comint.el (comint-send-input): When waiting for echoed input,
1139 don't save the expected end position in `echo-end', so that things
1140 work properly even if the buffer is modified elsewhere at the same
1141 time [this happens if `comint-truncate-buffer' is used].
1143 2001-09-11 Gerd Moellmann <gerd@gnu.org>
1145 * textmodes/outline.el (outline-mode): Use `^' and a shy group
1146 when constructing imenu-generic-expression from outline-regexp.
1148 2001-09-10 Eli Zaretskii <eliz@is.elta.co.il>
1150 * eshell/em-unix.el (eshell-shuffle-files): Compare inodes with
1151 `equal' instead of `=', since they can be cons cells. From Nils
1152 Goesche <cartan@cartan.de>.
1154 2001-09-10 Andre Spiegel <spiegel@gnu.org>
1156 * vc.el (vc-annotate): Rewrote doc string.
1158 2001-09-10 Eli Zaretskii <eliz@is.elta.co.il>
1160 * time-stamp.el: Update Stephen Gildea's email address.
1162 2001-09-10 Gerd Moellmann <gerd@gnu.org>
1164 * mail/sendmail.el (mail-send): Obey mail-send-nonascii when
1165 enable-multibyte-characters = nil. From Hallvard B Furuseth
1166 <h.b.furuseth@usit.uio.no>.
1168 2001-09-09 Michael Kifer <kifer@cs.sunysb.edu>
1170 * ediff-init.el (ediff-highest-priority): Bug fix.
1172 * viper-cmd.el (viper-special-read-and-insert-char): New function
1173 that reads a character and uses the current input method or
1174 iso-accents when appropriate.
1176 * viper*.el: Corrections to the comment blocks at the top.
1178 2001-09-09 Eli Zaretskii <eliz@is.elta.co.il>
1180 * info.el (Info-goto-node): Doc fix.
1182 2001-09-07 Gerd Moellmann <gerd@gnu.org>
1184 * isearch.el (isearch-intersects-p): New function.
1185 (isearch-close-unnecessary-overlays): Renamed from *unecessary*,
1186 use isearch-intersects-p, and clean up.
1188 2001-09-07 Eli Zaretskii <eliz@is.elta.co.il>
1190 * textmodes/ispell.el (ispell-dictionary-alist-4): Add "german"
1191 and "german8", for the new German orthography dictionaries.
1192 (ispell-dictionary-alist-5, ispell-dictionary-alist-6): Rearrange
1193 the entries, to keep the line length balanced for loaddefs.el.
1195 2001-09-07 Dr Francis J. Wright <F.J.Wright@qmw.ac.uk>
1197 * comint.el (comint-send-input): Handle comint-process-echoes
1200 2001-09-07 Pavel Janík <Pavel@Janik.cz>
1202 * locate.el (locate-insert-header): Remove unnecessary whitespace.
1204 2001-09-07 Eli Zaretskii <eliz@is.elta.co.il>
1206 * arc-mode.el (archive-dostime): Fix a typo in minutes' computation.
1208 2001-09-07 Gerd Moellmann <gerd@gnu.org>
1210 * server.el (server-switch-buffer):
1211 * textmodes/refer.el (refer-find-entry-internal):
1212 * term/sup-mouse.el (sup-pos-to-window):
1213 * term/bg-mouse.el (bg-window-from-x-y):
1214 * emacs-lisp/edebug.el (edebug-window-live-p):
1215 Use get-window-with-predicate.
1217 * window.el (get-window-with-predicate): Renamed from some-window.
1218 (some-window): Make it an alias.
1220 2001-09-06 Gerd Moellmann <gerd@gnu.org>
1222 * simple.el (undo): Remove positions from buffer-undo-list up to
1223 the next undo boundary only.
1225 2001-09-06 Eli Zaretskii <eliz@is.elta.co.il>
1227 * makefile.nt (install): Don't copy sc.el. Reported by Richard
1228 Kim <ryk@dspwiz.com>
1230 * cus-edit.el (custom-buffer-create-internal): Remove "100%" from
1231 the message "Creating customization items...done".
1233 2001-09-05 Gerd Moellmann <gerd@gnu.org>
1235 * font-lock.el (toplevel): Require `jit-lock' only if
1236 font-lock-support-mode is set to jit-lock-mode.
1238 2001-09-05 Eli Zaretskii <eliz@is.elta.co.il>
1240 * international/quail.el (quail-use-package, quail-inactivate)
1241 (quail-activate): Mention the hooks these functions run in their
1244 2001-09-05 Edward M. Reingold <reingold@iit.edu>
1246 * cal-menu.el (calendar-mouse-view-other-diary-entries): Fix name
1247 of file in header of menu.
1249 2001-09-04 Gerd Moellmann <gerd@gnu.org>
1251 * env.el (setenv): Interactively, if VARIABLE has a current value,
1252 add that to the front of the history, as the doc string says.
1254 * comint.el (comint-send-input): Change help-echo.
1255 From "Dr Francis J. Wright" <F.J.Wright@qmw.ac.uk>.
1257 * bookmark.el (bookmark-write-file): Bind print-length and
1258 print-level to nil. From Tom Capey <tomc@edina.co.uk>.
1260 * obsolete/uncompress.el: Moved there from lisp/.
1262 * comint.el (comint-insert-clicked-input): Goto point-max before
1263 deleting previous input. From "Dr Francis J. Wright"
1264 <F.J.Wright@qmw.ac.uk>.
1266 * simple.el (backward-word): Doc fix.
1268 2001-09-03 Pavel Janík <Pavel@Janik.cz>
1270 * emacs-lisp/levents.el, emacs-lisp/lucid.el, emacs-lisp/pp.el
1271 * uncompress.el, uniquify.el, vc.el, view.el, window.el
1272 * w32-fns.el: Add Keywords header.
1274 2001-09-04 Eli Zaretskii <eliz@is.elta.co.il>
1276 * menu-bar.el: Fix separators in the Edit menu. Bring "Fill" near
1277 "Text Properties". Suggested by Simon Marshall
1278 <Simon.Marshall@midas-kapiti.com>.
1280 2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
1282 * term/mac-win.el (mac-drag-n-drop): Decode file name by
1283 consulting the value of file-name-coding-system.
1285 2001-09-03 Stefan Monnier <monnier@cs.yale.edu>
1287 * help.el (describe-function-1): Save precomputed `file-name' rather
1288 than recomputing it (incorrectly) with `symbol-file'.
1290 2001-09-03 Gerd Moellmann <gerd@gnu.org>
1292 * international/isearch-x.el (isearch-exit-recursive-edit):
1293 Take three parameters, since it's used as an after-change-function.
1295 * emacs-lisp/backquote.el (backquote-backquote-symbol)
1296 (backquote-unquote-symbol, backquote-splice-symbol): Remove `*'
1299 2001-09-02 Milan Zamazal <pdm@zamazal.org>
1301 * progmodes/glasses.el (glasses-convert-to-unreadable):
1302 Consider underscores as in `glasses-make-readable'.
1304 2001-09-02 Eli Zaretskii <eliz@is.elta.co.il>
1306 * progmodes/cmacexp.el (c-macro-preprocessor): Use "gcc -E" for
1307 MS-DOS, since cpp might not be available.
1309 * menu-bar.el (menu-bar-edit-menu) <yank-menu, yank>:
1310 Mention "yank" in the help-echo text.
1311 Suggested by Pavel Janík <Pavel@Janik.cz>.
1313 2001-09-01 Stefan Monnier <monnier@cs.yale.edu>
1315 * newcomment.el (comment-indent): Insert spaces more carefully.
1317 2001-08-31 Eli Zaretskii <eliz@is.elta.co.il>
1319 * mail/emacsbug.el (report-emacs-bug): Make sure *Messages*
1320 exists. From Andy Petrusenco <andy@int.spb.ru>.
1322 * hi-lock.el (hi-lock-unface-buffer): Don't call x-popup-menu if
1323 display-popup-menus-p returns nil. Suggested by Andy Petrusenco
1326 2001-08-31 Gerd Moellmann <gerd@gnu.org>
1328 * isearch.el (isearch-mouse-2): Renamed from isearch-mouse-yank.
1329 Instead of running mouse-yank-at-click, see what the event is
1330 bound to outside Isearch and run that.
1332 2001-08-31 Eli Zaretskii <eliz@is.elta.co.il>
1334 * menu-bar.el (menu-bar-options-menu) <transient-mark-mode>:
1335 Fix the menu entry to mention transient-mark-mode.
1337 2001-08-30 Gerd Moellmann <gerd@gnu.org>
1339 * simple.el (eval-expression-print-level): Fix last change.
1341 * bindings.el (mode-line-coding-system-map): New variable.
1342 (mode-line-mule-info): Give the "%Z" a local-map keymap.
1344 * simple.el (eval-expression-print-level): Change the type
1345 of the defcustom to allow nil.
1347 * emacs-lisp/find-gc.el: Moved here from lisp/.
1349 * international/quail.el (quail-completion-1):
1350 Reverse the ((CHAR . DEFN) ...) list before processing it.
1351 From Kenichi Handa <handa@etl.go.jp>.
1353 * obsolete/rsz-mini.el, obsolete/sun-curs.el, obsolete/sun-fns.el
1354 * obsolete/x-apollo.el, obsolete/x-menu.el: Moved here from lisp/.
1356 2001-08-30 Eli Zaretskii <eliz@is.elta.co.il>
1358 * toolbar/tool-bar.el (tool-bar-mode): Make it a no-op if images
1359 aren't supported. This avoids the annoying gray strip drawn by
1360 the Windows version instead of the missing tool bar.
1362 2001-08-29 Gerd Moellmann <gerd@gnu.org>
1364 * menu-bar.el (menu-bar-options-menu): Make option text, messages
1365 and tooltips more consistent. From "Marshall, Simon"
1366 <Simon.Marshall@midas-kapiti.com>.
1368 * startup.el (fancy-splash-screens): Temporarily set
1369 minor-mode-map-alist to nil while displaying splash screens.
1371 2001-08-29 Pavel Janík <Pavel@Janik.cz>
1373 * buff-menu.el: Add Keywords header.
1374 Doc fix (C-x C-b is bound to list-buffers).
1376 * dired-x.el: Add keyword files to get listed in finder.
1377 Remove confusing notes about GNU Emacs 19.
1379 * dired.el, dired-aux.el: Add Keywords header.
1381 2001-08-28 Andre Spiegel <spiegel@gnu.org>
1383 * vc.el (vc-revert-file): Call the backend even if the FILE's
1384 contents can be reverted locally; pass new arg CONTENTS-DONE
1385 down to the backend.
1387 * vc-cvs.el, vc-rcs.el, vc-sccs.el (vc-*-revert-file): Handle new
1388 optional arg CONTENTS-DONE.
1390 2001-08-28 Andrew Innes <andrewi@gnu.org>
1392 * makefile.nt (DONTCOMPILE): Sync list from makefile.w32-in.
1394 2001-08-28 Eli Zaretskii <eliz@is.elta.co.il>
1396 * makefile.nt (install): Copy more *.el files.
1398 2001-08-28 Gerd Moellmann <gerd@gnu.org>
1400 * dired.el (dired-mode-map): Bind `y' to dired-show-file-type
1401 instead of `w' which is already in use.
1403 * gs.el (gs-load-image): Use sleep-for.
1404 From David.Kastrup@neuroinformatik.ruhr-uni-bochum.de.
1406 2001-08-28 Miles Bader <miles@gnu.org>
1408 * replace.el (query-replace-regexp-eval): Return args from
1409 `interactive' form in correct order.
1411 2001-08-28 Eli Zaretskii <eliz@is.elta.co.il>
1413 * mouse.el (mouse-buffer-menu): If the buffer menu is split by
1414 major modes, don't create panes for modes for which
1415 mouse-buffer-menu-alist returns an empty alist.
1417 2001-08-28 Thien-Thi Nguyen <ttn@gnu.org>
1419 * progmodes/hideshow.el: Update first-line description.
1420 Sync comments w/ maintainer version 5.31.
1422 (hs-isearch-open): Default value now `code'.
1423 Fix docstring to use "code blocks" vs "comment blocks",
1424 as opposed to "block" vs "comment".
1425 (hs-flag-region): Accept `hs-isearch-open' value
1426 of `block' as synonymous w/ `code'.
1427 (hs-hide-block-at-point): For code blocks, pass `code'
1428 to `hs-flag-region' instead of `block'.
1430 2001-08-28 Miles Bader <miles@gnu.org>
1432 * comint.el (comint-next-prompt): Don't loop infinitely if
1433 {next,previous}-single-char-property-change returns its input
1434 position when the search fails.
1436 2001-08-27 Miles Bader <miles@gnu.org>
1438 * comint.el (comint-get-old-input-default): Don't signal an error
1439 if point is not on an input field; instead, return the current
1440 line (using `comint-bol' to skip any prompt, in case we're not
1441 using fields at all).
1443 * man.el (Man-mode-line-format): Variable removed.
1444 (Man-mode): Change `mode-line-buffer-identification' instead of
1447 2001-08-27 Gerd Moellmann <gerd@gnu.org>
1449 * mail/sendmail.el (mail-send-hook): Remove a duplicate defcustom.
1450 From Simon Josefsson <jas@extundo.com>.
1452 2001-08-26 Eli Zaretskii <eliz@is.elta.co.il>
1454 * textmodes/texnfo-upd.el: Remove dots and exclams at end of error
1455 messages. From Pavel Janík <Pavel@Janik.cz>.
1457 * emacs-lisp/levents.el: Specify FSF as Maintainer. From Pavel
1458 Janík <Pavel@Janik.cz>.
1460 * emacs-lisp/lselect.el: Ditto.
1462 * hexl.el (hexl-insert-multibyte-char, hexl-insert-char):
1463 Remove periods from the end of error message strings.
1464 From Pavel Janík <Pavel@Janik.cz>.
1466 * progmodes/antlr-mode.el: Add Keywords header. From Pavel
1467 Janík <Pavel@Janik.cz>.
1469 * net/telnet.el: Ditto.
1471 2001-08-26 Gerd Moellmann <gerd@gnu.org>
1473 * hl-line.el (hl-line-mode): Add args INIT-VALUE, LIGHTER, and
1474 KEYMAP to the call to define-minor-mode.
1476 2001-08-24 Eli Zaretskii <eliz@is.elta.co.il>
1478 * term/internal.el (IT-character-translations) <hebrew-iso8859-8>:
1479 Replace some of the undefined characters with emulations of bidi
1480 formatting characters and Niqud as per SI 1311-1.
1481 (IT-unicode-translations): Ditto.
1482 (IT-display-table-setup, IT-setup-unicode-display):
1483 Fill characters without translations with dos-unsupported-char-glyph.
1485 2001-08-24 Simon Josefsson <jas@extundo.com>
1487 * hl-line.el (hl-line-mode): Don't be a global mode.
1488 (global-hl-line-mode): New function.
1490 2001-08-24 Gerd Moellmann <gerd@gnu.org>
1492 * gs.el (gs-load-image): Wait for GHOSTVIEW window property
1493 being reset by Ghostscript. Don't kill the gs process.
1494 From David.Kastrup@neuroinformatik.ruhr-uni-bochum.de.
1496 2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
1498 * term/mac-win.el: Require scroll-bar.
1500 2001-08-23 Stefan Monnier <monnier@cs.yale.edu>
1502 * ebuff-menu.el (electric-buffer-list): Use list-buffers-noselect.
1504 2001-08-23 Eli Zaretskii <eliz@is.elta.co.il>
1506 * hexl.el (hexl-insert-multibyte-char) New function.
1507 (hexl-quoted-insert, hexl-self-insert-command)
1508 (hexl-insert-hex-char, hexl-insert-decimal-char)
1509 (hexl-insert-octal-char): Call it instead of hexl-insert-char.
1510 Fix the doc strings accordingly.
1511 (hexl-insert-char): Reject characters whose code is above 255.
1513 (hexl-mode-map): Copy the global keymap instead of creating a
1514 sparse keymap, and bind all self-inserting characters to
1515 hexl-self-insert-command.
1517 2001-08-22 Stefan Monnier <monnier@cs.yale.edu>
1519 * wid-edit.el (text): Re-order docstring correctly.
1521 * mail/sendmail.el (mail-mode): Use adaptive-fill-regexp.
1523 * textmodes/fill.el (adaptive-fill-regexp): Admit tabs as well.
1525 2001-08-22 Eli Zaretskii <eliz@is.elta.co.il>
1527 * simple.el (line-number-mode): Mention the variable
1528 line-number-display-limit-width in the doc string.
1530 2001-08-22 Gerd Moellmann <gerd@gnu.org>
1532 * bindings.el (mode-line-unbury-buffer): Add EVENT parameter.
1533 Temporarily select EVENT's window for switching buffers.
1534 (mode-line-bury-buffer): New function.
1535 (mode-line-buffer-identification-keymap): Use it instead of
1536 bury-buffer. Bind down-mouse events to prevent global down-mouse
1537 events from shining through.
1539 2001-08-21 Stefan Monnier <monnier@cs.yale.edu>
1541 * newcomment.el (comment-beginning): Make sure the comment-start
1542 we found isn't a comment-end (in cases where confusion is possible).
1544 2001-08-22 Miles Bader <miles@gnu.org>
1546 * emacs-lisp/bytecomp.el (byte-compile-file): Remove TARGET-FILE
1547 before writing it, so that hard-links don't see new version.
1549 2001-08-21 Gerd Moellmann <gerd@gnu.org>
1551 * gs.el (gs-set-ghostview-colors-window-prop):
1552 Call x-change-window-property with 3rd arg FRAME.
1553 (gs-load-image): Wait for a previous Ghostscript process
1554 to complete before starting a new one.
1556 * image.el (image-type-regexps): Make sure that the TIFF
1557 pattern is only matched at the beginning of a string.
1558 From Markus Rost <rost@math.ohio-state.edu>.
1560 * international/swedish.el: Pre-Mule file removed. From Jonas
1561 Oberg <jonas@gnu.org>.
1563 2001-08-20 Rajesh Vaidheeswarran <rv@gnu.org>
1565 * whitespace.el (whitespace-abort-on-error): Add custom variable
1566 to whitespace to abort a write-file if whitespace is detected in file.
1568 * whitespace.el (whitespace-write-file-hook): Hook to be called
1569 when writing a file. If `whitespace-abort-on-error' is set, the
1570 write will abort on detecting whitespaces.
1571 If `whitespace-auto-cleanup' is set, the file will be cleaned
1572 automatically prior to writing.
1574 * whitespace.el (whitespace-buffer-search): Let's not insert bogus
1575 whitespaces in the error output!
1577 * whitespace.el (whitespace-check-indent-whitespace): Defaults to
1578 `indent-tabs-mode', since the latter notes user preferences on
1581 * whitespace.el (whitespace-version): 3.1. All of the above issues
1582 were raised by François Pinard, which led to the fixes described.
1584 2001-08-20 Gerd Moellmann <gerd@gnu.org>
1586 * textmodes/texnfo-upd.el (texinfo-every-node-update): Remove
1587 some spaces from a message. From Pavel Janík <Pavel@Janik.cz>.
1589 * whitespace.el (whitespace-global-mode): Add autoload cookie.
1591 2001-08-20 Alex Schroeder <alex@gnu.org>
1593 * sql.el (sql-db2): Doc change.
1595 2001-08-20 Alex Schroeder <alex@gnu.org>
1597 * sql.el (sql-postgres): Add the database at the end of the
1598 parameters instead of at the beginning.
1599 (sql-postgres-options): Doc change.
1601 2001-08-17 Gerd Moellmann <gerd@gnu.org>
1603 * custom.el (defcustom): Doc fix.
1605 2001-08-16 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1607 * ps-mule.el (find-composition): Check if (char-after POS)
1608 returns a valid character.
1610 2001-08-16 Eli Zaretskii <eliz@is.elta.co.il>
1612 * hexl.el (hexl-mode, hexl-mode-exit): Adjust hexl-max-address and
1613 original-point for extra CR characters that are added/removed when
1614 the buffer is written/read whose EOL type is -dos.
1616 2001-08-16 Miles Bader <miles@gnu.org>
1618 * simple.el (line-move): Undo previous change.
1620 * comint.el (comint-send-input): Add `inhibit-line-move-field-capture'
1621 property to input-terminating `boundary' overlays to avoid
1622 line-move weirdness.
1624 2001-08-16 Gerd Moellmann <gerd@gnu.org>
1626 * lazy-lock.el (lazy-lock-fontify-region): Widen the current
1627 buffer in a save-restriction. Under one test case with Ediff,
1628 window-scroll-functions are run with a window start that's
1629 temporarily outside of the restriction.
1631 2001-08-16 Robert J. Chassell <bug-texinfo@gnu.org>
1633 * textmodes/texnfo-upd.el: Update copyright notice, fix minor typos.
1634 (texinfo-find-lower-level-node, texinfo-find-higher-level-node)
1635 (texinfo-menu-locate-entry-p, texinfo-start-menu-description)
1636 (texinfo-update-menu-region-beginning)
1637 (texinfo-update-menu-region-end, texinfo-find-pointer): Add new
1638 command, @ifnottex, to regexps, so it is found.
1640 2001-08-16 Andrew Innes <andrewi@gnu.org>
1642 * makefile.nt (DONTCOMPILE): Omit bindings.el.
1643 (DONTCOMPILE): Omit sc.el.
1645 * makefile.w32-in (DONTCOMPILE): Omit bindings.el.
1646 (DONTCOMPILE): Omit sc.el.
1648 2001-08-16 Gerd Moellmann <gerd@gnu.org>
1650 * replace.el (occur): Bind inhibit-read-only to t.
1652 2001-08-16 Miles Bader <miles@gnu.org>
1654 * simple.el (line-move): Pass an ESCAPE-FROM-EDGE argument of t when
1655 calling `constrain-to-field', to avoid problems with comint prompts.
1657 2001-08-15 Gerd Moellmann <gerd@gnu.org>
1659 * emacs-lisp/cl-indent.el (lisp-indent-defmethod): New function.
1660 (toplevel): Set it as `common-lisp-indent-function' for `defmethod'.
1662 * ediff-mult.el (ediff-get-meta-info): Fix the condition
1665 * Makefile.in (DONTCOMPILE): Remove sc.el.
1667 * Makefile.in (finder_setwins): Renamed from nonobsolete_setwins.
1668 Don't include term/.
1670 * mail/sc.el: Moved to obsolete/.
1672 2001-08-14 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1674 * ps-print.el: Change error function arguments to follow Emacs
1675 message convention. Doc fix.
1676 (ps-print-version): New version number (6.5.4).
1677 (coding-system-for-write): Change declaration position to avoid
1678 XEmacs compilation gripes.
1679 (coding-system-for-read, buffer-file-coding-system):
1680 Declarations to avoid XEmacs compilation gripes.
1682 * ps-mule.el: Doc fix.
1683 (ps-mule-encode-header-string): If STRING is not a string, replace
1684 STRING by empty string.
1686 2001-08-14 Eli Zaretskii <eliz@is.elta.co.il>
1688 * frame.el (show-trailing-whitespace): Doc fix.
1690 2001-08-13 Eli Zaretskii <eliz@is.elta.co.il>
1692 * desktop.el (desktop-save): Insert the coding: tag before
1695 2001-08-13 Gerd Moellmann <gerd@gnu.org>
1697 * Makefile.in (TAGS, TAGS-LISP): Remove "loaddefs.el" including
1700 * image.el (image-jpeg-p): Fix call of substring.
1702 2001-08-10 Gerd Moellmann <gerd@gnu.org>
1704 * play/animate.el (animate-string): Doc fix. Use a buffer
1705 name with stars in it.
1706 (animate-sequence): New function.
1707 From Richard Stallman <rms@gnu.org>.
1709 * frame.el (select-frame-set-input-focus): New function
1710 extracted from other-frame.
1711 (other-frame): Use it.
1712 (next-multiframe-window, previous-multiframe-window): Use it.
1714 * isearch.el (isearch-other-meta-char): Don't switch to the
1715 buffer of a window clicked on, when the current buffer is
1718 * image.el (image-jpeg-p): Test for APPn markers in the range
1721 2001-08-09 Gerd Moellmann <gerd@gnu.org>
1723 * desktop.el (desktop-save): Don't use concat to form a file
1724 name, use expand-file-name.
1726 * mouse.el (mouse-delete-window): Do nothing if frame has just
1729 * bindings.el (minor-mode-alist): Use mode-line-minor-mode-keymap
1730 for the minor mode name.
1732 * view.el (toplevel): Use mode-line-minor-mode-keymap for the
1735 * time.el (display-time-string-forms): Use make-mode-line-mouse-map
1736 instead of make-mode-line-mouse2-map.
1738 * subr.el (add-minor-mode): Use mode-line-minor-mode-keymap for
1739 the minor mode name.
1741 * emacs-lisp/easy-mmode.el (define-minor-mode):
1742 Use mode-line-minor-mode-keymap for the minor mode name.
1744 * calendar/calendar.el (calendar-mode-line-format):
1745 Use make-mode-line-mouse-map instead of make-mode-line-mouse2-map.
1747 * bindings.el (make-mode-line-mouse-map): Renamed from
1748 make-mode-line-mouse2-map. Take additional arg MOUSE.
1749 (mode-line-modified): Use mouse-3 instead of mouse-2.
1750 (mode-line-buffer-identification-keymap): Bind keys differently.
1751 (propertized-buffer-identification): Adapt help-echo to new bindings.
1753 * bindings.el (mode-line-format): Specify help-echo for line
1754 number, column number and buffer-percent part of the mode-line.
1756 * image.el (image-type-regexps): Allow whitespace at the start
1757 of the image data for XPM, XBM and PostScript, which are
1759 (image-jpeg-p): Correct calculation of next field offset.
1761 2001-08-08 Pavel Janík <Pavel@Janik.cz>
1763 * battery.el: Fix typo.
1765 2001-08-08 Gerd Moellmann <gerd@gnu.org>
1767 * image.el (image-type-regexps): Allow predicates. Change the way
1768 JPEG images are recognized.
1769 (image-jpeg-p): New function.
1770 (image-type-from-data): Handle predicates in image-type-regexps.
1772 * emacs-lisp/edebug.el (edebug-read-function): Fix handling of
1773 #:, #x, #o, and similar constructs.
1775 2001-08-07 Gerd Moellmann <gerd@gnu.org>
1777 * vc.el (vc-transfer-file): Fix malformed autoload cookie.
1779 * emulation/viper-util.el (viper-file-checked-in-p): Use `and'
1782 * tar-mode.el (tar-extract): Avoid generating a new buffer
1783 for each file visited. From Markus Rost <rost@math.ohio-state.edu>.
1785 * textmodes/paragraphs.el (forward-sentence): Avoid building
1786 a regexp from sentence-end. From Kenichi Handa <handa@etl.go.jp>.
1788 * progmodes/executable.el (executable-set-magic):
1789 If executable-find returns a quoted file name, unquote it before
1792 * image.el (image-type-regexps): For JPEG files, use a regexp
1793 derived from the JFIF spec.
1795 * image.el (image-type-regexps): Use `\`' instead of `^' in
1796 most regular expressions.
1798 2001-08-06 Pavel Janík <Pavel@Janik.cz>
1800 * play/animate.el: Re-insert a reference to re-inserted function.
1802 2001-08-06 Gerd Moellmann <gerd@gnu.org>
1804 * help.el (describe-function-1): Use find-function-search-for-symbol
1805 instead of find-function-noselect because the latter follows aliases.
1807 * play/animate.el (animate-birthday-present): Re-insert.
1809 * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
1810 Handle old-style menu definitions.
1812 2001-08-06 Pavel Janík <Pavel@Janik.cz>
1814 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/page.el,
1815 * textmodes/text-mode.el, textmodes/two-column.el: Keywords added.
1817 * play/studly.el, mail/unrmail.el, emacs-lisp/lucid.el,
1818 * emulation/pc-mode.el, diff.el, textmodes/fill.el, abbrev.el,
1819 * add-log.el, faces.el, mail/sc.el: Specify FSF as Maintainer.
1821 2001-08-05 Pavel Janík <Pavel@Janik.cz>
1823 * textmodes/tildify.el: Milan Zamazal has new address.
1825 2001-08-03 Gerd Moellmann <gerd@gnu.org>
1827 * custom.el (custom-set-variables): Don't test `custom-requests'
1828 properties, check the third element of the options passed to
1829 custom-set-variables instead.
1831 * info.el (info-insert-file-contents): Use info-file-exists-p
1832 instead of file-exists-p.
1834 * play/zone.el (zone-pgm-stress): Use unwind-protect to make sure
1835 the mode-line face is restored. Fix several bugs.
1837 * replace.el (perform-replace): Doc fix.
1839 2001-08-02 Francesco Potortì <pot@gnu.org>
1841 * uniquify.el (uniquify-ref-base, uniquify-ref-filename)
1842 (uniquify-ref-buffer, uniquify-ref-proposed): New functions.
1843 (uniquify-fix-item-base, uniquify-fix-item-filename)
1844 (uniquify-fix-item-buffer, uniquify-fix-item-proposed): Deleted.
1846 (uniquify-set-proposed): Changed to work with a vector item.
1847 (uniquify-rationalize-file-buffer-names): Use a list of arrays for
1848 the fix list, and a list of strings for the non-file buffer
1849 names. Both changes reduce consing.
1850 (uniquify-rationalize-a-list): Local variable renaming.
1851 (uniquify-rationalize-conflicting-sublist): Use member instead of
1853 (uniquify-rename-buffer): Use unless instead of if not.
1855 2001-08-02 Gerd Moellmann <gerd@gnu.org>
1857 * recentf.el (recentf-dump-variable): Handle a value of nil correctly.
1859 * custom.el (custom-set-variables): Set options with :require
1862 * custom.el (defcustom): Doc fix.
1864 * Makefile.in (TAGS, TAGS-LISP): Exclude loaddefs.el.
1866 2001-08-01 Eli Zaretskii <eliz@is.elta.co.il>
1868 * man.el (man): Mention Man-switches in the doc string.
1869 (Man-switches): Mention -a in the doc string.
1871 * textmodes/ispell.el (ispell-alternate-dictionary):
1872 Add /usr/share/lib/dict/words, for Irix.
1874 * bindings.el: Bind shifted and control-shifted kp-* keys to the
1875 corresponding non-kp keys. Suggested by Stephen Gildea
1876 <gildea@stop.mail-abuse.org>.
1878 2001-08-01 Francesco Potortì <pot@gnu.org>
1880 * uniquify.el: These changes correct a corner case that the old
1881 code managed correctly.
1882 (uniquify-fix-item-proposed): Renamed from
1883 uniquify-fix-item-min-proposed.
1884 (uniquify-set-proposed): New function.
1885 (uniquify-rationalize-file-buffer-names): Code reshuffled for
1887 (uniquify-item-greaterp): Substitutes uniquify-item-lessp.
1888 This is equivalent to what the old code did.
1889 (uniquify-rationalize-a-list): Never recompute the proposed
1890 name. Sort the conflicting sublist before rationalising it: this
1891 is equivalent to what the old code did, but one directory element
1892 at a time, and only when necessary.
1893 (uniquify-rationalize-conflicting-sublist): Recompute here the
1896 2001-08-01 Gerd Moellmann <gerd@gnu.org>
1898 * play/animate.el: Add Keywords and Maintainer. Remove a
1899 reference to a removed function.
1901 * play/animate.el (animate-string): Handle case that the string is
1902 longer than the window is wide.
1904 2001-07-31 Gerd Moellmann <gerd@gnu.org>
1906 * desktop.el (desktop-save): Bind coding-system-for-write to
1907 `emacs-mule' for write-region.
1909 * delsel.el (delete-selection-pre-hook): Don't set this-command
1910 to `ignore' if the region is empty.
1912 * international/mule.el (set-keyboard-coding-system):
1913 Set keyboard-coding-system.
1915 * smerge-mode.el (smerge-mode): Check if `font-lock-mode' is bound
1916 before accessing it.
1918 2001-07-30 Andreas Schwab <schwab@suse.de>
1920 * menu-bar.el (toggle-highlight-paren-mode):
1921 Use `(show-paren-mode)' as body.
1923 2001-07-30 Andre Spiegel <spiegel@gnu.org>
1925 * vc.el (vc-checkout-hook): New hook.
1926 (vc-checkout): Run it.
1928 2001-07-30 Eli Zaretskii <eliz@is.elta.co.il>
1930 * progmodes/make-mode.el (makefile-macroassign-regex):
1931 Recognize the ?= operator. From Jonathan Kamens <jik@curl.com>.
1933 2001-07-30 Gerd Moellmann <gerd@gnu.org>
1935 * vc.el (vc-switch-backend): Fix autoload cookie.
1937 * desktop.el (desktop-save): Add `-*- coding: emacs-mule -*-' to
1940 2001-07-30 Simon Josefsson <jas@extundo.com>
1942 * mail/mail-utils.el (mail-strip-quoted-names): Replace text
1943 literally. Reported by Sean Rima <sean@**Delete**.tcob1.net>.
1945 2001-07-27 Gerd Moellmann <gerd@gnu.org>
1947 * emacs-lisp/lisp-mode.el (last-sexp-setup-props): New function.
1948 (last-sexp-toggle-display): Renamed from last-sexp-print.
1949 (last-sexp-toggle-display, eval-last-sexp-1):
1950 Use last-sexp-setup-props.
1952 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button):
1954 (mouse-wheel-change-button): New function.
1955 (mouse-wheel-mode): Use mouse-wheel-{up,down}-button.
1956 (mwheel-scroll): Ditto.
1958 2001-07-26 Gerd Moellmann <gerd@gnu.org>
1960 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Don't search for
1961 `...', compare with unabbreviated printed representation instead.
1962 (last-sexp-print): Bind print-length and print-level to nil.
1964 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Look for a `...'
1965 before assigning text properties. Make properties rear-nonsticky.
1967 * emacs-lisp/lisp-mode.el (last-sexp-print): New function.
1968 (eval-last-sexp-1): Give printed text a `keymap' property and bind
1969 <mouse-2> and <RET> in that map to a function printing the
1970 unabbreviated value.
1972 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): If standard-output
1973 is a buffer, put a text property `printed-value' on the printed
1974 representation, with the Lisp object printed as value.
1976 2001-07-25 Eli Zaretskii <eliz@is.elta.co.il>
1978 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-defun):
1979 Mention the effect of eval-expression-print-length and
1980 eval-expression-print-level in the doc strings. Suggested by
1981 Kevin Gallagher <kevingal@onramp.net>.
1983 2001-07-25 Gerd Moellmann <gerd@gnu.org>
1985 * xt-mouse.el (xterm-mouse-event): Recognize control sequences
1987 (xterm-mouse-translate): Handle the case that we don't get a
1990 * emacs-lisp/find-func.el (find-function-regexp):
1991 Add easy-mmode-define-global-mode to the regexp. Allow newlines
1992 in front of the function name.
1994 * isearch.el (isearch-other-meta-char): Fix last change.
1996 * isearch.el (isearch-other-meta-char): Don't modify mode-line and
1997 similar events for which fake prefix keys are generated. It's no
1998 longer necessary since read_key_sequence doesn't modify these
1999 events for internal purposes anymore.
2001 * files.el (auto-mode-alist): Use nroff-mode for files ending
2002 in `.9'. From Assar Westerlund <assar@stacken.kth.se>.
2004 2001-07-24 Eli Zaretskii <eliz@is.elta.co.il>
2006 * avoid.el (mouse-avoidance-too-close-p): If the frame lacks a
2007 tool-bar-lines parameter, behave as if its value were zero.
2008 (mouse-avoidance-set-pointer-shape): Don't do anything if
2009 x-pointer-shape is not boundp.
2011 2001-07-23 Francesco Potortì <pot@gnu.org>
2013 * uniquify.el: Overall speedup changes when using many buffers.
2014 (uniquify-fix-item-base, uniquify-fix-item-filename)
2015 (uniquify-fix-item-buffer): Changed defmacro to defalias (cosmetic).
2016 (uniquify-fix-item-unrationalized-buffer): Deleted: was the fourth
2017 place in the item, but was never used.
2018 (uniquify-fix-item-min-proposed): New defalias: the fourth place
2019 in the item is now used as cache for the proposed name.
2020 (uniquify-rationalize-file-buffer-names): Move computation made on
2021 newbuffile out of the loop, in the newbuffile-nd local var.
2022 Use dolist (cosmetic change). Compute the proposed name for the most
2023 common case and cache it in the fourth place in the item.
2024 (uniquify-rationalize-file-buffer-names): Used to return a list
2025 of buffer whose name was changed, but that return value was never used.
2026 (uniquify-item-lessp): Replaces uniquify-filename-lessp, works on
2027 the cached proposed name, does much less consing and is quicker.
2028 (uniquify-filename-lessp): Deleted.
2029 (uniquify-rationalize-a-list): Use dolist (cosmetic change).
2030 Do not bind locally the uniquify-possibly-resolvable flag. Use the
2031 cached proposed name is possible.
2032 (uniquify-get-proposed-name): Arguments changed, callers changed.
2033 (uniquify-rationalize-conflicting-sublist): Explicitly reset the
2034 uniquify-possibly-resolvable flag, which is no more bound locally.
2035 (uniquify-rename-buffer): Do not set the old unrationalised-buffer
2036 flag, which does not exist any more.
2038 2001-07-23 Eli Zaretskii <eliz@is.elta.co.il>
2040 * term/internal.el (IT-unicode-translations): Fix the appearance of
2043 * progmodes/compile.el (compile-internal): If EMACS is already
2044 defined in the environment, don't override its value.
2046 2001-07-23 Gerd Moellmann <gerd@gnu.org>
2048 * play/fortune.el: Undo change of 2001-07-13.
2049 Fix autoload cookies. Add types to defcustoms.
2050 (fortune) <defgroup>: Add :link.
2051 (fortune-from-region): Use eq, not eql.
2052 From Dave Love <fx@gnu.org>.
2054 * play/animate.el (animate-birthday-present): Function removed.
2056 * play/animate.el: New file.
2058 2001-07-22 Eli Zaretskii <eliz@is.elta.co.il>
2060 * startup.el (normal-top-level-add-subdirs-to-load-path):
2061 On Windows, put into normal-top-level-add-subdirs-inode-list the
2062 canonicalized names of the directories instead of inode numbers.
2064 2001-07-21 Michael Kifer <kifer@cs.sunysb.edu>
2066 * ediff-util.el: Copyright years.
2067 (ediff-choose-syntax-table): New function.
2068 (ediff-setup): Use ediff-choose-syntax-table.
2069 (ediff-file-checked-out-p,ediff-file-checked-in-p): Check if
2070 vc-state is available.
2071 (ediff-make-temp-file): Use ediff-coding-system-for-write.
2073 * ediff-init.el (ediff-with-syntax-table): New macro, uses
2075 (ediff-coding-system-for-read): From ediff-diff.el.
2076 (ediff-coding-system-for-write): New variable.
2077 (ediff-highest-priority): Fixed the bug having to do with disappearing
2079 (ediff-file-remote-p): Use file-remote-p, if available.
2080 (ediff-listable-file): New function.
2081 (ediff-file-attributes): Use ediff-listable-file.
2083 * ediff-mult.el (ediff-meta-insert-file-info1):
2084 Use ediff-listable-file.
2086 * ediff-ptch.el (ediff-prompt-for-patch-file):
2087 Use ediff-coding-system-for-read.
2088 (ediff-patch-file-internal): Use ediff-coding-system-for-write.
2090 * ediff-diff.el (ediff-coding-system-for-read): Moved to ediff-init.el.
2091 (ediff-match-diff3-line,ediff-get-diff3-group): Improved pattern.
2093 * ediff.el: Date of last update, copyright years.
2095 * ediff-wind.el (ediff-setup-control-frame): Nill->nil.
2097 * viper-ex.el (ex-token-list,ex-cmd-execute): Revamped, courtesy
2099 (ex-cmd-assoc,ex-compile,ex-cmd-one-letr): New functions.
2100 (viper-check-sub,viper-get-ex-command,viper-execute-ex-command):
2102 (viper-get-ex-com-subr,viper-ex,ex-mark): Changed to use the new
2104 (viper-get-ex-address-subr): Convert registers to char data type.
2106 * viper-util.el (viper-int-to-char,viper-char-equal): New functions.
2107 (viper-memq-char): Use viper-int-to-char.
2108 (viper-file-checked-in-p): Use vc-locking-user, if vc doesn't have
2110 (viper-read-key): Use viper-read-key-sequence.
2112 * viper.el (viper-major-mode-modifier-list):
2113 Added inferior-emacs-lisp-mode.
2114 (this-major-mode-requires-vi-state): New function that uses simple
2115 heuristics to decide if vi state is appropriate.
2116 (set-viper-state-in-major-mode): Use this-major-mode-requires-vi-state.
2117 (viper-non-hook-settings): Don't advise read-key-sequence.
2118 (viper-read-key-sequence): New function that replaces the
2119 previously used advice to read-key-sequence.
2121 * viper-cmd.el (viper-test-com-defun,viper-exec-change)
2122 (viper-exec-Change,viper-execute-com,viper-insert,viper-append)
2123 (viper-Append,viper-Insert,viper-open-line,viper-Open-line)
2124 (viper-open-line-at-point,viper-substitute,viper-overwrite)
2125 (viper-replace-char-subr,viper-forward-word,viper-forward-Word):
2126 Got rid of the negative character hack.
2127 (viper-escape-to-state,viper-replace-state-exit-cmd):
2128 Use viper-read-key-sequence.
2129 (viper-envelop-ESC-key): No need for ad-get-orig-definition.
2130 (viper-minibuffer-standard-hook,viper-read-string-with-history):
2131 Don't override existing minibuffer-setup-hook.
2132 (viper-mark-point,viper-goto-mark-subr,viper-brac-function):
2133 Convert registers to char data type.
2134 (viper-autoindent): Use viper-indent-line.
2136 * viper-keym.el: Use viper-exec-key-in-emacs.
2138 2001-07-20 Stefan Monnier <monnier@cs.yale.edu>
2140 * server.el (server-visit-files): Fix variable name typo.
2142 2001-07-20 Gerd Moellmann <gerd@gnu.org&g