1 2000-12-13 Kenichi Handa <handa@etl.go.jp>
3 * international/characters.el: Fix cases and syntaxes for
4 mule-unicode-0100-24ff.
6 * dired.el (dired-move-to-filename-regexp): Fixed for the case
7 that a Japanese character is not appended after day and year.
9 * info.el (Info-suffix-list): Change format for a command that
11 (info-insert-file-contents): Adjusted for the above change.
13 2000-12-12 Andreas Schwab <schwab@suse.de>
15 * tar-mode.el (tar-extract): Base the name of the subfile buffer
16 on the name of the tar buffer. Verify that the existing buffer is
17 visiting the same subfile.
19 2000-12-12 Dave Love <fx@gnu.org>
21 * subdirs.el: Add obsolete.
23 2000-12-12 Gerd Moellmann <gerd@gnu.org>
25 * mail/rmailsum.el (rmail-summary-expunge)
26 (rmail-summary-expunge-and-save): Use rmail-expunge-confirmed
27 instead of rmail-confirm-expunge.
29 * replace.el (perform-replace): Don't use an empty match adjacent
30 to a non-empty match when computing the next match before the
31 replacement is performed.
33 2000-12-12 Milan Zamazal <pdm@freesoft.cz>
35 * progmodes/glasses.el: Use `define-minor-mode' for the minor mode
36 definition (patch by Stefan Monnier).
37 (glasses-mode): Use jit-lock instead of `after-change-functions'
38 (patch by Stefan Monnier).
40 2000-12-12 Miles Bader <miles@gnu.org>
42 * info.el (Info-last-preorder): Don't barf on nodes without a prev.
43 (Info-scroll-down): Respect `Info-scroll-prefer-subnodes'.
45 2000-12-12 Andrew Choi <akochoi@i-cable.com>
47 * term/mac-win.el: Remove load for ls-lisp.
49 * loadup.el: Load ls-lisp for system-type macos.
51 2000-12-12 Miles Bader <miles@gnu.org>
53 * simple.el (delete-horizontal-space): Add BACKWARD-ONLY parameter.
54 Respect field end too.
55 (just-one-space): Respect fields as `delete-horizontal-space'.
56 (newline-and-indent, reindent-then-newline-and-indent): Use
57 `delete-horizontal-space'.
59 2000-12-11 Stefan Monnier <monnier@cs.yale.edu>
61 * newcomment.el (comment-indent-new-line): Use delete-horizontal-space
62 (so as to obey the field property in the minibuffer).
64 * obsolete/c-mode.el: Moved from lisp/progmodes.
65 * obsolete/auto-show.el: Moved from lisp.
66 * obsolete/ooutline.el: Moved from lisp/textmodes.
68 2000-12-11 Carsten Dominik <dominik@strw.leidenuniv.nl>
70 * progmodes/idlwave.el: Updated to IDLWAVE version 4.7. Too many
71 changes to list them here.
73 * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.7. Too
74 many changes to list them here.
76 * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.7. Too
77 many changes to list them here.
79 * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.7.
81 2000-12-11 Gerd Moellmann <gerd@gnu.org>
83 * simple.el (kill-new): Don't try to setcar kill-ring if it is
86 * cus-edit.el (custom-save-variables, custom-save-faces):
89 * hscroll.el: Moved to `obsolete' subdir.
91 2000-12-11 Miles Bader <miles@gnu.org>
93 * window.el (window-text-height): Function removed (now in C).
95 2000-12-10 Stefan Monnier <monnier@cs.yale.edu>
97 * log-edit.el (log-edit-parent-buffer): New var.
98 (log-edit): Set it. Add BUFFER argument.
99 (log-edit-done): Use char-before.
100 Don't bother checking validity of vc-comment-ring.
101 Only bury the buffer if log-edit popped it up.
103 * pcvs.el: Update references to CVS-Edit (now Log-Edit).
104 (cvs-mode-diff-help): Remove.
105 (cvs-mode-commit): Use the new `log-edit' BUFFER argument.
106 (cvs-mode-marked): Set up the default for CMD manually.
108 * pcvs-defs.el (cvs-mode-diff-map): Use minibuffer menu prompt.
109 Remove binding for ? now made unnecessary.
111 2000-12-10 Carsten Dominik <dominik@strw.leidenuniv.nl>
113 * textmodes/reftex.el (reftex-scanning-info-available-p): New
115 (reftex-TeX-master-file): Check for `tex-main-file' early enough.
117 * textmodes/reftex-global.el (reftex-create-tags-file): Fixed bug
118 when master file is not open.
120 2000-12-09 Stefan Monnier <monnier@cs.yale.edu>
122 * progmodes/ada-stmt.el: Update `maintainer'.
124 2000-12-09 Stephen Gildea <gildea@alum.mit.edu>
126 * time-stamp.el (time-stamp-old-format-warn): Reorder custom
127 choices to match documentation string.
129 2000-12-09 Miles Bader <miles@gnu.org>
131 * minibuf-eldef.el: New file.
133 * window.el (fit-window-to-buffer): Don't pass last argument to
134 pos-visible-in-window-p, now that its meaning is inverted.
136 2000-12-08 Eli Zaretskii <eliz@is.elta.co.il>
138 * image.el (create-image): Doc fix; spotted by Per Cederqvist
139 <ceder@lysator.liu.se>.
141 2000-12-08 Stefan Monnier <monnier@cs.yale.edu>
143 * autoinsert.el (auto-insert-alist): Add missing final \n.
145 * pcvs-defs.el (cvs-menu): Move. Make submenu for diff commands.
146 (cvs-menu-map): Remove.
147 * pcvs.el (cvs-menu): Use `cvs-menu' rather than `cvs-menu-map'.
148 (cvs-mode-quit): Turn it back into a plain function.
150 * textmodes/texnfo-upd.el (texinfo-chapter-level-regexp)
151 (texinfo-filter): Remove (move to texinfo.el).
153 * textmodes/texinfo.el: Move the (require 'cl) to the front of the
154 file where it's more visible.
155 (texinfo-filter, texinfo-chapter-level-regexp): New variables
156 moved from texnfo-upd.el (for AUCTeX's compatibility, originally).
157 (texinfo-mode): Use texinfo-chapter-level-regexp for page-delimiter.
158 (texinfo-inside-macro-p): Only catch `scan-error's.
159 (texinfo-inside-env-p): Make better use of the match info.
160 (texinfo-insert-quote): Collapse calls to `texinfo-inside-macro-p'.
161 (texinfo-insert-@end): Slight re-organization.
162 Also remove useless `looking-at' call.
164 2000-12-08 Andrew Innes <andrewi@gnu.org>
166 * w32-fns.el: Add clipboard support from term/w32-win.el, so it is
167 accessible in -nw mode.
169 * term/w32-win.el: Remove stuff about selection timeout, which is
170 irrelevant on Windows. Move clipboard support to w32-fns.el, so
171 it is accessible in -nw mode.
173 2000-12-08 Dave Love <fx@gnu.org>
175 * emacs-lisp/lisp-mode.el (lisp-mode): Set
176 font-lock-keywords-case-fold-search.
178 2000-12-08 Gerd Moellmann <gerd@gnu.org>
180 * textmodes/ispell.el (ispell): Doc fix.
182 2000-12-08 Kenichi Handa <handa@etl.go.jp>
184 * international/quail.el (quail-insert-decode-map): Check the
185 frame width of a window displaying the current buffer, not that of
187 (quail-help): Make sure that the help buffer has window before
188 inserting text in it.
190 2000-12-07 Sam Steingold <sds@gnu.org>
192 * loadup.el: Load emacs-lisp/backquote instead of autoloading.
193 Backquote is used in isearch.el, so autoloading saves nothing.
195 2000-12-07 Eli Zaretskii <eliz@is.elta.co.il>
197 * startup.el (normal-top-level-add-subdirs-to-load-path): Ignore
198 the CVS and RCS subdirectories case-insensitively.
200 * dired.el (dired-insert-directory): If file-system-info is
201 fboundp, call it instead of invoking dired-free-space-program.
203 2000-12-07 Gerd Moellmann <gerd@gnu.org>
205 * server.el (server-visit-files): Push files on file-name-history.
207 * progmodes/cc-langs.el: Update copyright.
209 * progmodes/idlw-shell.el, progmodes/idlwave.el: Update copyright.
211 * bindings.el (mode-line-mode-menu): Add glasses-mode.
213 * bindings.el (mode-line-mode-menu): Reverse the order
214 of define-keys so that the menu appears in alphabetical order.
216 2000-12-07 Milan Zamazal <pdm@freesoft.cz>
218 * progmodes/glasses.el (glasses-mode): Update mode line at the end
221 2000-12-07 Dave Love <fx@gnu.org>
223 * jka-compr.el (jka-compr-compression-info-list): Fix :type.
225 * facemenu.el (facemenu-unlisted-faces): Fix value.
227 2000-12-07 Stefan Monnier <monnier@cs.yale.edu>
229 * font-lock.el (font-lock-default-fontify-region):
230 Include the terminating \n (off-by-one error).
231 (font-lock-set-defaults): Use dolist.
233 * derived.el (define-derived-mode): Don't use combine-run-hooks.
235 2000-12-07 Kenichi Handa <handa@etl.go.jp>
237 * international/mule-cmds.el (describe-language-environment): Fix
238 for the case that an input method title is not string but a list.
240 * ps-bdf.el (bdf-read-font-info): Modify the kludgy code for fonts
241 of wrong SIZE record.
243 2000-12-06 Dave Love <fx@gnu.org>
245 * newcomment.el (comment-region, comment-dwim): Doc fix.
247 * textmodes/texinfo.el: Require tex-mode when compiling.
248 (texinfo-update-node): Doc fix.
249 (texinfo-imenu-generic-expression): Add @anchor.
250 (texinfo-font-lock-keywords): Add @uref.
251 (texinfo-inside-macro-p): Don't use ignore-errors.
252 (texinfo-insert-quote): Match more contexts.
254 * international/mule.el (decode-char, encode-char): Doc fix.
255 (auto-coding-alist): Customize.
257 * files.el (load-file): Fix change of 2000-03-12.
259 * wid-edit.el (widget-text-keymap): Doc fix.
261 2000-12-06 Andrew Innes <andrewi@gnu.org>
263 * makefile.w32-in (lisp): Set to an absolute directory, namely
266 2000-12-06 Eli Zaretskii <eliz@is.elta.co.il>
268 * emacs-lisp/autoload.el (update-file-autoloads): Use raw-text to
269 read generated-autoload-file, and set buffer-file-coding-system to
270 raw-text-unix after reading the file.
272 * international/mule-conf.el (file-coding-system-alist): Use
273 raw-text for reading loaddefs.el and raw-text-unix for writing
276 2000-12-06 Gerd Moellmann <gerd@gnu.org>
278 * replace.el (occur): Make line-number-width 1 smaller for the
279 colon following the line number.
281 * startup.el (fancy-splash-text, command-line-1): Use
282 `File' for the menu name instead of `Files'.
284 * tmm.el: Update copyright.
286 * cus-start.el: Add entry for even-window-heights.
288 2000-12-06 Miles Bader <miles@gnu.org>
290 * faces.el (frame-set-background-mode): Avoid stomping on
291 locally modified faces.
293 2000-12-06 Kenichi Handa <handa@etl.go.jp>
295 * international/fontset.el: Correct the font registries for
296 japanese-jisx0213-1 and japanese-jisx0213-2.
298 2000-12-05 Gerd Moellmann <gerd@gnu.org>
300 * textmodes/reftex-toc.el (reftex-toc-menu): Fix typo.
302 * iswitchb.el: Update customization commentary.
304 2000-12-05 Rob Riepel <riepel@Stanford.EDU>
306 * emulation/tpu-edt.el (tpu-help): Fixed previous screen logic.
307 (tpu-search-highlight): Fixed comparison of overlay end positions.
308 (tpu-trim-line-ends): Implemented trimming logic locally.
310 * emulation/tpu-extras.el (tpu-write-file-hook)
311 (tpu-set-cursor-bound): Replaced picture-clean with
314 2000-12-05 Kenichi Handa <handa@etl.go.jp>
316 * language/chinese.el (chinese-iso-8bit): Change mime-charset name
318 (cn-gb, gb2312): New aliases for chinese-iso-8bit.
320 2000-12-04 Dave Love <fx@gnu.org>
322 * emacs-lisp/cl-indent.el: Remove erroneous spec for condition-case.
324 2000-12-04 Gerd Moellmann <gerd@gnu.org>
326 * mail/rmailsum.el (rmail-summary-expunge)
327 (rmail-summary-expunge-and-save): Ask for confirmation with
328 rmail-expunge-confirmed.
330 * mail/rmail.el (rmail-expunge-confirmed): New function.
331 (rmail-expunge): Use it.
333 * progmodes/etags.el (tag-partial-file-name-match-p): New function.
334 (etags-recognize-tags-table, find-tag-in-order): New
335 functionality: interpret file names as tags.
337 2000-12-04 Eli Zaretskii <eliz@is.elta.co.il>
339 * info.el (Info-scroll-prefer-subnodes): New defcustom.
340 (Info-scroll-up): If Info-scroll-prefer-subnodes is nil, don't
341 visit the first subnode until the bottom of the current node is
344 2000-12-04 Gerd Moellmann <gerd@gnu.org>
346 * format.el (format-decode): Don't change buffer's undo list.
348 2000-12-04 Kenichi Handa <handa@etl.go.jp>
350 * faces.el (face-font-registry-alternatives): Add entries for CJK
351 fonts. Doc-string adjusted for the actual usage of this data.
353 * international/fontset.el: Change the font registries for CJK
354 fonts in the default fontset. Don't append '*' to registries.
356 2000-12-03 Stefan Monnier <monnier@cs.yale.edu>
358 * emacs-lisp/easy-mmode.el (define-derived-mode)
359 (easy-mmode-derived-mode-p): Remove (moved to derived.el).
361 * derived.el (define-derived-mode): Revived, moved from easy-mmode.el.
362 (derived-mode-p): New function.
363 (derived-mode-make-docstring): Add `docstring' argument.
364 Use it if available and complete it if necessary.
366 2000-12-03 Andreas Schwab <schwab@suse.de>
368 * type-break.el (type-break): Don't make parent of itself.
370 2000-12-03 Miles Bader <miles@gnu.org>
372 * simple.el (delete-trailing-whitespace): Don't delete newlines too.
374 2000-12-02 Stefan Monnier <monnier@cs.yale.edu>
376 * textmodes/tex-mode.el (tex-start-shell): Obey shell-file-name.
377 (tex-main-file, tex-file): Simplify.
378 (tex-generate-zap-file-name): Use subst-char-in-string.
379 (tex-strip-dots): Remove.
381 * tmm.el (tmm-get-keymap): Eval the menu name in `menu-item'.
383 * textmodes/ispell.el (check-ispell-version): Don't use match-beginning
384 to check if the match succeeded.
386 2000-12-02 Gerd Moellmann <gerd@gnu.org>
388 * startup.el (use-fancy-splash-screens-p): New function.
389 (command-line-1): Use it to determine whether or not to use
390 a fancy splash screen.
392 2000-12-02 Andreas Schwab <schwab@suse.de>
394 * emacs-lisp/eldoc.el (eldoc): Don't make parent of itself.
396 2000-12-02 Eli Zaretskii <eliz@is.elta.co.il>
398 * international/mule.el (make-char): Fix last change.
400 * textmode/texinfo.el (texinfo-open-quote, texinfo-close-quote):
402 (texinfo-insert-quote): Don't call tex-insert-quote, to avoid
403 autoloading tex-mode; instead, do the same manually. Use
404 texinfo-open-quote and texinfo-close-quote. Insert literal quote
405 with numeric argument. Docstring fix.
406 (toplevel): Require cl when compiling.
408 * international/mule.el (make-char): Doc fix.
410 2000-12-02 Jason Rumney <jasonr@gnu.org>
412 * term/w32-win.el (x-select-enable-clipboard): Customize (as per
413 the Emacs Lisp manual)
415 2000-12-02 Eli Zaretskii <eliz@is.elta.co.il>
417 * dos-w32.el (find-buffer-file-type-coding-system): Doc fix.
419 * term/pc-win.el (x-select-enable-clipboard): Customize (as per
420 the Emacs Lisp manual).
422 2000-12-02 Gerd Moellmann <gerd@gnu.org>
424 * simple.el (next-line-add-newlines): Change default to nil.
426 2000-12-01 Eli Zaretskii <eliz@is.elta.co.il>
428 * files.el (revert-buffer, recover-file): Bind
429 coding-system-for-read to emacs-mule-unix, not to no-conversion.
431 2000-12-01 Gerd Moellmann <gerd@gnu.org>
433 * hi-lock.el (hi-lock-refontify): Call jit-lock-refontify.
435 * play/5x5.el (5x5-play-solution):
437 2000-12-01 Miles Bader <miles@gnu.org>
439 * window.el (fit-window-to-buffer): Handle non-nil `truncate-lines'.
441 2000-12-01 Kenichi Handa <handa@etl.go.jp>
443 * international/mule-diag.el (describe-char-after): Fix typo.
444 (describe-character-set, non-iso-charset-alist): Fix typo.
446 2000-12-01 Miles Bader <miles@gnu.org>
448 * image-file.el (image-file-name-regexp): Automatically add
449 upper-case variants of each filename extension in
450 `image-file-name-extensions', since they seem to be common.
452 * simple.el (minibuffer-contents)
453 (minibuffer-contents-no-properties, delete-minibuffer-contents):
455 * filecache.el (file-cache-directory-name)
456 (file-cache-minibuffer-complete): Ignore the minibuffer prompt.
458 2000-12-01 Milan Zamazal <Milan.Zamazal@qbizm.com>
460 * filecache.el (file-cache-minibuffer-complete): Don't try to
461 delete the minibuffer prompt.
463 2000-11-30 Dave Love <fx@gnu.org>
465 * cus-start.el: Fix read-buffer-function type.
467 2000-11-30 Gerd Moellmann <gerd@gnu.org>
469 * md5.el: Removed. There's a built-in function, now.
471 2000-11-30 Markus Rost <rost@math.ohio-state.edu>
473 * mail/rmail.el (rmail-set-message-counters): Don't use "D"
474 as dummy 0-th char of rmail-deleted-vector.
476 2000-11-30 Eli Zaretskii <eliz@is.elta.co.il>
478 * ps-print.el (ps-end-job): Bind case-fold-search only after
479 switching to ps-spool-buffer.
481 2000-11-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
483 * ps-print.el: Line number font customization. PostScript: Lines and
484 PageCount are initialized on each page. Doc Fix.
485 (ps-print-version): New version number (6.3.2).
486 (ps-lpr-switches, ps-font-info-database, ps-font-size)
487 (ps-header-font-size, ps-header-title-font-size, ps-left-header)
488 (ps-right-header): Customization fix.
489 (ps-setup, ps-select-font, ps-begin-file, ps-header-sheet, ps-end-job):
491 (ps-end-with-control-d, ps-line-number-font, ps-line-number-font-size):
494 2000-11-30 Gerd Moellmann <gerd@gnu.org>
496 * bs.el: Fix typos and spelling errors.
497 (bs-appearance) <defgroup>: Renamed from bs-appearence.
498 (bs-configuration): Doc fix.
500 * bs.el: Undo mistaken change of 2000-11-28. Update copyright.
502 2000-11-30 Rob Riepel <riepel@Stanford.EDU>
504 * emulation/tpu-edt.el (tpu-version): New version.
505 (tpu-search-overlay, tpu-replace-overlay): New initial range.
506 (tpu-original-mode-line): Variable deleted.
507 (tpu-mark-flag): New initial value.
508 (tpu-set-mode-line): Don't redefine mode-line-format. Add
509 tpu-mark-flag to minor-mode-alist.
510 (tpu-update-mode-line): New mark flag logic.
511 (tpu-get): Use find-file-wildcards.
512 (tpu-search-highlight): Move overlay less, reset overlay properly.
513 (tpu-unselect): Deactivate mark.
514 (tpu-lm-replace): Reset overlay properly.
515 (tpu-forward-line): Use forward-visible-line.
516 (tpu-edt-on): Set transient mark mode. ispell autoloads deleted.
518 * emulation/tpu-extras.el (tpu-forward-line): Use
519 forward-visible-line.
521 2000-11-30 Per Abrahamsen <abraham@dina.kvl.dk>
523 * cus-edit.el (custom-face-value-create): Always emphasize tag.
525 2000-11-30 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
527 * calendar/diary-lib.el (diary-entry-time): Anchor pattern correctly
528 and skip whitespace and newlines.
530 2000-11-30 Stefan Monnier <monnier@cs.yale.edu>
532 * emacs-lisp/cl.el (third...tenth): Really undo change of 2000-08-05.
534 2000-11-29 Gerd Moellmann <gerd@gnu.org>
536 * help.el (describe-function-1): Regexp-quote function name
537 when used as part of a regexp.
539 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Use
540 face-attribute instead of face-foreground and face-background.
541 (tool-bar-add-item): Likewise, and handle unspecified colors.
543 * enriched.el (enriched-face-ans): Use face-attribute instead
544 of face-foreground and face-background.
546 * faces.el (face-foreground, face-background, face-stipple):
547 Return nil if attribute is unspecified, for backward
550 * files.el (auto-mode-alist): Add an entry for antlr-mode.
552 * play/5x5.el: Remove version info.
554 * toolbar/tool-bar.el (tool-bar-mode): Doc fix.
556 * frame.el (blink-cursor-mode): Doc fix.
558 2000-11-29 Christoph Wedler <Christoph.Wedler@sap.com>
560 * antlr-mode.el: New commands to run ANTLR from within Emacs and
561 to create Makefile rules.
562 (antlr-tool-command): New user option.
563 (antlr-ask-about-save): New user option.
564 (antlr-makefile-specification): New user option.
565 (antlr-file-formats-alist): New variable.
566 (antlr-special-file-formats): New variable.
567 (antlr-unknown-file-formats): New user option.
568 (antlr-help-unknown-file-text): New variable.
569 (antlr-help-rules-intro): New variable.
570 (antlr-mode-map): Add [C-c C-r] for `antlr-run-tool'.
571 (antlr-mode-menu): Add entries.
572 (antlr-file-dependencies): New function.
573 (antlr-directory-dependencies): New function.
574 (antlr-superclasses-glibs): New function.
575 (antlr-run-tool): New command.
576 (antlr-makefile-insert-variable): New function.
577 (antlr-insert-makefile-rules): New function.
578 (antlr-show-makefile-rules): New command.
580 * antlr-mode.el: More Emacs/XEmacs stuff.
581 (antlr-no-action-keywords): New constant with value nil.
582 (antlr-font-lock-keywords-alist): Use it. Old value would break
583 syntax highlighting in Emacs-21.0.
584 (antlr-default-directory): Emacs/XEmacs dependend function.
585 (antlr-read-shell-command): Ditto.
586 (antlr-with-displaying-help-buffer): Ditto.
588 2000-11-29 Christoph Wedler <Christoph.Wedler@sap.com>
590 * antlr-mode.el: imenu, parsing and highlighting changes.
591 (antlr-imenu-create-index-function): Don't create extra submenus
592 for definitions in different grammar classes. It is not necessary
593 for the menu and would make command `imenu' awkward to use.
594 (antlr-skip-file-prelude): With ANTLR-2.7+, you can specify named
595 header actions and more than one.
596 (antlr-font-lock-tokendef-face): Changed color.
597 (antlr-font-lock-tokenref-face): Changed color.
598 (antlr-font-lock-additional-keywords): Also highlight lowercase.
599 (antlr-mode-syntax-table): New variable.
600 (antlr-mode): Populate and use it instead `java-mode-syntax-table'.
601 (antlr-with-syntax-table): Don't copy syntax table.
603 2000-11-29 Christoph Wedler <Christoph.Wedler@sap.com>
605 * antlr-mode.el: Minor changes: language setting.
606 (antlr-language-alist): The value for file option "language" can
607 be both an identifier and a string.
608 Reported by Rajesh Radhakrishnan <radhakrs@email.uc.edu>.
609 (antlr-language-limit-n-regexp): Change accordingly.
611 2000-11-29 Christoph Wedler <Christoph.Wedler@sap.com>
613 * antlr-mode.el: Minor changes: tabs, hiding.
614 (antlr-tab-offset-alist): Set `indent-tabs-mode' to nil instead t.
615 (antlr-action-visibility): Also allow value nil to also hide the
616 braces. Renamed from `antlr-tiny-action-length'.
617 Suggested by Jay@aol.com.
618 (antlr-hide-actions): Change accordingly. Hide line if completely
619 hidden action is on a line of its own.
621 2000-11-29 Stefan Monnier <monnier@cs.yale.edu>
623 * subr.el (combine-run-hooks): Only run-hooks if there's a hook to run.
625 * sort.el (sort-columns): Don't concat strings with numbers.
627 2000-11-29 Dave Love <fx@gnu.org>
629 * cus-edit.el (face): Fix :format.
631 * mail/feedmail.el: Require smtpmail when compiling.
632 (mail-do-fcc): Autoload.
633 (feedmail) <defgroup>: Fix :link.
634 (feedmail-nuke-body-in-fcc): Fix :type.
635 (feedmail-send-it): Add autoload cookie.
637 2000-11-29 Stefan Monnier <monnier@cs.yale.edu>
639 * newcomment.el (comment-indent): Save excursion around call to
640 comment-indent-function.
642 2000-11-29 Miles Bader <miles@gnu.org>
644 * subr.el (member-ignore-case): Return the tail of the list who's
645 car matches, like `member', not the matching element itself.
647 2000-11-29 Kenichi Handa <handa@etl.go.jp>
649 * xml.el (xml-parse-tag): Fix finding opening tag. A tag name
650 should not contain `\n'.
652 2000-11-28 Gerd Moellmann <gerd@gnu.org>
654 * hi-lock.el (hi-lock-refontify): Call jit-lock-refontify.
656 * hscroll.el: Add hints to `automatic-hscrolling' to doc strings.
658 * dired-aux.el (dired-do-create-files): Construct default file
659 name for dired-mark-read-file-name so that when the user enters
660 just RET, the target file will end up in the target directory.
662 * abbrev.el (prepare-abbrev-list-buffer): Get the value of
663 local-abbrev-table before changing buffers because it might
664 have a buffer-local binding.
666 2000-11-28 Miles Bader <miles@gnu.org>
668 * simple.el (delete-horizontal-space): Handle fields more generally.
670 2000-11-28 Gerd Moellmann <gerd@gnu.org>
672 * simple.el (delete-horizontal-space): Handle minibuffer prompt.
674 2000-11-28 Dave Love <fx@gnu.org>
676 * progmodes/ps-mode.el (ps-mode): Set comment-start and
677 comment-start-skip locally.
679 * progmodes/fortran.el (fortran-mode): Don't set
680 fortran-comment-line-start-skip. Set comment-start to
681 fortran-comment-line-start.
682 (fortran-fill-paragraph) <non-empty-comment>: Remove regexp group.
683 (fortran-comment-line-start-skip): Simplify slightly.
685 2000-11-28 Gerd Moellmann <gerd@gnu.org>
687 * play/5x5.el: Remove RCS keyword.
689 * bs.el: Mistaken commit, undone 2000-11-30.
691 2000-11-28 Milan Zamazal <pdm@freesoft.cz>
693 * textmodes/tildify.el (tildify-string-alist): Add
694 `plain-tex-mode' here.
696 2000-11-28 Colin Walters <walters@cis.ohio-state.edu>
698 * chistory.el (Command-history-setup): Remove extraneous `keymap'
701 2000-11-28 Miles Bader <miles@gnu.org>
703 * cus-face.el (custom-face-attributes): Add post-filter function
704 for :box. Make pre-filter function for :box handle all cases.
706 * wid-edit.el (widget-choose): Make sure pop-up window is large
707 enough to display all the choices, as there's no way to scroll it.
709 2000-11-28 Kenichi Handa <handa@etl.go.jp>
711 * international/mule-conf.el: Make the coding system no-conversion
712 safe for all characters.
714 2000-11-27 Dave Love <fx@gnu.org>
716 * net/ldap.el (ldap) <defgroup>: Add :version.
718 * tooltip.el (tooltip-use-echo-area): Doc fix.
720 * cus-start.el <minibuffer-prompt-properties>: Add version.
721 <read-buffer-function>: Add.
723 * apropos.el (apropos-print): Add help-echo to active text.
725 * term/x-win.el (x-select-enable-clipboard): Customize (per lispref).
727 2000-11-27 Gerd Moellmann <gerd@gnu.org>
729 * mail/rmail.el (rmail-automatic-folder-directives): Add a custom
730 type, group and version.
732 2000-11-27 Eli Zaretskii <eliz@is.elta.co.il>
734 * select.el (x-get-selection): Docstring fix.
736 2000-11-27 Dave Pearson <davep@hagbard.demon.co.uk>
738 * play/5x5.el (5x5-play-solution): Bind hinhibit-quit to t.
740 2000-11-27 Andrew Innes <andrewi@gnu.org>
742 * makefile.nt (.SUFFIXES): Add .SUFFIXES.
744 * makefile.w32-in (.SUFFIXES): Add .SUFFIXES.
746 2000-11-27 Miles Bader <miles@gnu.org>
748 * dired.el (dired-get-filename): Return filename verbatim if
749 LOCALP is `verbatim'.
750 * dired-aux.el (dired-add-entry): Call `dired-get-filename' with
751 `verbatim' so that we don't inadvertently delete a non-existant
754 2000-11-27 Kenichi Handa <handa@etl.go.jp>
756 * international/characters.el: Specify cases and syntaxes for
757 mule-unicode-0100-24ff.
759 2000-11-27 Gerd Moellmann <gerd@gnu.org>
761 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Handle case
762 that foreground and/or background colors of the face `tool-bar'
765 2000-11-27 Miles Bader <miles@gnu.org>
767 * wid-edit.el (widget-field-buffer, widget-field-start)
768 (widget-field-end): Handle widget field `pseudo-overlays'.
769 (widget-field-value-delete): Delete WIDGET from `widget-field-new'
770 if it's there instead of in `widget-field-list'.
772 * help.el (help-manyarg-func-alist): Correct entry for `vconcat'.
773 (help-make-xrefs): Delete extraneous newlines at the end of the
776 2000-11-25 Jason Rumney <jasonr@gnu.org>
778 * startup.el (command-line): Call set-locale-environment after
779 Window System init file is read, as it can result in a call to
782 2000-11-25 Eli Zaretskii <eliz@is.elta.co.il>
784 * simple.el (shell-command): Mention the effect of the prefix
785 argument in the doc string.
787 2000-11-25 Miles Bader <miles@gnu.org>
789 * cus-face.el (custom-face-attributes): Add "None" choice to :stipple.
791 * wid-edit.el (widget-field-value-delete): Don't try to delete
792 overlay when it's the `pseudo-overlay' that exists at some points.
794 2000-11-24 Jason Rumney <jasonr@gnu.org>
796 * international/mule-cmds.el (locale-language-names): Add "jp" as
797 a non-standard alternative for Japanese.
799 2000-11-24 Andre Spiegel <spiegel@gnu.org>
801 * vc-hooks.el: Require 'cl during compilation.
803 2000-11-24 Gerd Moellmann <gerd@gnu.org>
805 * faces.el (face-set-after-frame-default): Let face attributes
806 specified for new frames override frame parameters.
808 * startup.el (command-line): Fix computation of the source file
809 for user-init-file when user-init-file is a compiled file.
811 2000-11-24 Miles Bader <miles@gnu.org>
813 * cus-edit.el (custom-filter-face-spec, custom-pre-filter-face-spec)
814 (custom-post-filter-face-spec): New functions.
815 (custom-face-set, custom-face-value-create): Filter the face spec
816 before and after customization.
817 (custom-face-set): If VALUE specifies a null face, pass a
818 non-null-but-otherwise-ignored face-spec instead to `face-spec-set'.
819 * cus-face.el (custom-face-attributes): Remove SET and GET
820 functions. Add some IN-FILTER and OUT-FILTER functions in the few
821 cases they're needed.
823 * wid-edit.el (checkbox): Add a small `X' to the the :on-glyph, so
824 that it's distinguishable from the :off-glyph on dark-background
825 displays. Set its background color too.
827 * cus-start.el (all): Restore entry for `mode-line-inverse-video',
828 so that people can easily turn it off.
830 2000-11-24 Michael Kifer <kifer@cs.sunysb.edu>
832 * ediff-diff.el: Moved variables around to have it compile under NT.
834 * ediff-help.el (ediff-use-long-help-message): Made it customizable.
836 * ediff-init.el (ediff-abbrev-jobname): Use capitalize.
838 * ediff-wind.el (ediff-skip-unsuitable-frames): Deleted the
839 redundant skip-small-frames test.
841 * viper-cmd.el (viper-change-state-to-vi): Disable overwrite mode.
842 (viper-downgrade-to-insert): protect against errors in hooks.
844 * viper-init.el (viper-vi-state-hook,viper-insert-state-hook)
845 (viper-replace-state-hook,viper-emacs-state-hook): Do cursor handling.
846 (viper-restore-cursor-type,viper-set-insert-cursor-type): New
849 * viper-util.el (viper-memq-char): Bug fixes.
851 * viper.el (viper-mode): Fix cursor handling.
853 2000-11-24 Kenichi Handa <handa@etl.go.jp>
855 * international/mule-diag.el (list-iso-charset-chars): For
856 two-byte charset, fix the `while' condition.
857 (list-non-iso-charset-chars): Fix the `while' condition.
859 2000-11-23 Stefan Monnier <monnier@cs.yale.edu>
861 * subr.el (add-hook, remove-hook): Don't call make-local-hook
862 if the variable is make-variable-buffer-local.
864 * progmodes/ada-stmt.el (ada-template-map): Initialize
865 and bind it to C-c t in ada-mode-map.
866 (ada-stmt-mode-hook): New function extracted from old code.
867 Only change the buffer-local side of skeleton-*.
868 (ada-mode-hook): Use it.
870 2000-11-23 Eli Zaretskii <eliz@is.elta.co.il>
872 * iswitchb.el (iswitchb-minibuf-depth): New variable.
873 (iswitchb-read-buffer): Record in iswitchb-minibuf-depth the value
874 we expect to be returned by minibuffer-depth once we prompt the
875 user in the minibuffer.
876 (iswitchb-entryfn-p): If minibuffer-depth returns the same value
877 as recorded in iswitchb-minibuf-depth, return non-nil.
879 2000-11-23 Eli Zaretskii <eliz@is.elta.co.il>
881 * hscroll.el (turn-on-hscroll, hscroll-mode, hscroll-global-mode)
882 (hscroll-window-maybe): Docstring fix.
884 2000-11-23 Dave Love <fx@gnu.org>
886 * rect.el (string-rectangle): Don't test delete-selection-mode.
888 2000-11-23 Gerd Moellmann <gerd@gnu.org>
890 * avoid.el (mouse-avoidance-too-close-p): Return nil if mouse
893 * dired-aux.el (dired-add-entry): Don't call dired-get-filename
894 with `no-dir'; we want the directory part to be able to remove
897 2000-11-22 Stefan Monnier <monnier@cs.yale.edu>
899 * textmodes/outline.el (outline-flag-region):
900 Don't bind inhibit-read-only since we don't modify the buffer.
901 (outline-isearch-open-invisible): Don't jump to overlay-start
902 since we're trying to unhide text around point.
903 (outline-discard-overlays): Use dolist.
905 * autoinsert.el (auto-insert-alist): Add `provide' to elisp skeleton.
907 2000-11-22 Gerd Moellmann <gerd@gnu.org>
909 * mail/rmail.el (rmail-confirm-expunge): Default to
912 2000-11-22 Stefan Monnier <monnier@cs.yale.edu>
914 * textmodes/tex-mode.el (tex-font-lock-keywords-1):
915 Fix ARG regexp to skip quoted braces.
916 (tex-font-lock-keywords-2): Fix ARG regexp to skip quoted braces.
917 Remove `bf' and `it' from `bold' and `italic' (they were wrong and
918 are (correctly) handled separately).
919 Remove `caption' and `footnote' from `citations': they contain text.
920 Don't highlight `textmd', `texttt' and `textrm' with bold-italic.
921 (latex-skeleton-end-hook): New function.
922 (latex-mode): Use it.
923 (tex-start-tex-marker): Remove.
924 (tex-send-tex-command): Don't set tex-start-tex-marker.
925 (tex-error-parse-syntax-table): New var.
926 (tex-compilation-parse-errors): Use it.
927 Ignore tex-start-tex-marker. Don't bother with marker-position.
928 (tex-validate-buffer): Don't bother with marker-position.
930 * textmodes/flyspell.el (flyspell-prog-text-faces): New var.
931 (flyspell-generic-progmode-verify): Use it.
933 2000-11-22 Sam Steingold <sds@gnu.org>
935 * simple.el (delete-trailing-whitespace): New interactive
938 * progmodes/ada-mode.el (ada-mode): Use it instead of
939 `ada-remove-trailing-spaces'.
940 (ada-remove-trailing-spaces): Removed.
942 * textmodes/two-column.el (2C-merge): Recommend it in the doc.
944 * textmodes/picture.el (picture-clean): Removed.
945 (picture-mode-exit): Call it instead of `picture-clean'.
947 2000-11-22 Gerd Moellmann <gerd@gnu.org>
949 * frame.el (show-cursor-in-non-selected-windows): Doc fix.
951 * hi-lock.el (hi-lock-refontify): Don't call non-existent
952 jit-lock-fontify-buffer; it should anyway be unneccessary to
953 do anything special when jit-lock is active.
954 (hi-yellow, hi-pink, hi-green, hi-blue): Fix defface specs.
956 2000-11-22 Dave Love <fx@gnu.org>
958 * calendar/todo-mode.el (todo-top-priorities): Use
959 todo-tmp-buffer-name. From Milan Zamazal <Milan.Zamazal@qbizm.com>.
961 * language/chinese.el, language/cyrillic.el:
962 * language/devanagari.el, language/ethiopic.el, language/greek.el:
963 * language/hebrew.el, language/indian.el, language/japanese.el:
964 * language/korean.el, language/lao.el, language/misc-lang.el:
965 * language/thai.el, language/tibetan.el, language/vietnamese.el:
968 * cus-edit.el (custom-buffer-create-internal): Save some consing.
969 (custom-variable-set): Improve validation error mesage.
971 * rect.el (string-rectangle): Revert last change.
972 (string-rectangle-line): New arg DELETE.
973 (string-rectangle): Check delete-selection-mode.
975 * emacs-lisp/edebug.el (edebug-version)
976 (edebug-maintainer-address): Deleted.
977 (edebug-submit-bug-report): Just alias to report-emacs-bug.
978 (edebug-read-function): Account for other `'#' read forms.
979 (edebug-mode-menus): Make some items toggles.
980 (edebug-outside-unread-command-event, unread-command-event):
981 Remove these to avoid warnings.
983 2000-11-22 David Ponce <david@dponce.com>
985 * recentf.el (recentf-menu-items-for-commands)
986 (recentf-make-menu-items, recentf-make-menu-item)
987 (recentf-filter-changer): Added :help and :active menu-item properties.
989 (recentf-build-dir-rules, recentf-dump-variable)
990 (recentf-edit-list, recentf-open-files-item)
991 (recentf-open-files): Replaced unnecessary `mapcar' with new
994 2000-11-23 Miles Bader <miles@gnu.org>
996 * faces.el (menu): Make inverse-video on ttys too.
998 2000-11-22 Stefan Monnier <monnier@cs.yale.edu>
1000 * simple.el (comment-line-break-function): Use the new name
1001 indent-new-comment-line -> comment-indent-new-line.
1002 (clone-indirect-buffer): Don't ignore NORECORD.
1003 (next-completion): Properly handle the case where items are adjacent.
1005 * mouse.el (popup-menu): Stupid typo.
1007 2000-11-22 Gerd Moellmann <gerd@gnu.org>
1009 * emacs-lisp/authors.el: Remove autoload cookies, add author,
1010 maintainer, keywords tags.
1012 * rect.el (replace-rectangle): Don't call string-rectangle-line
1013 with too many arguments.
1015 2000-11-22 Andre Spiegel <spiegel@gnu.org>
1017 * ediff-util.el (ediff-file-checked-out-p)
1018 (ediff-file-checked-in-p): Call vc-state instead of
1019 vc-locking-user, which no longer exists.
1021 * emulation/viper-util.el (viper-file-checked-in-p): Same as above.
1023 2000-11-22 Dave Love <fx@gnu.org>
1025 * md5.el (md5): Provide.
1026 (md5): Fix error call.
1028 2000-11-22 Miles Bader <miles@gnu.org>
1030 * textmodes/refill.el (refill-adjust-ignorable-overlay)
1031 (refill-fill-paragraph-at): Remove debugging code.
1033 * calendar/calendar.el (generate-calendar-window): When we don't
1034 call `fit-window-to-buffer', make sure the top line is fully visible.
1036 * image-file.el (insert-image-file): Don't make `read-only'
1037 property rear-nonsticky.
1039 * isearch.el (isearch-original-minibuffer-message-timeout): New var.
1040 (isearch-mode): Set `minibuffer-message-timeout' to nil, after
1041 stashing away its original value.
1042 (isearch-edit-string): Temporarily restore `minibuffer-message-timeout'
1043 in the recursive edit.
1044 Bind `isearch-original-minibuffer-message-timeout' to protect it.
1045 (isearch-done): Restore `minibuffer-message-timeout'.
1047 * cus-start.el: Remove entry for `mode-line-inverse-video'.
1049 2000-11-21 Stefan Monnier <monnier@cs.yale.edu>
1051 * progmodes/ada-mode.el (ada-mode): `set '' -> `setq'.
1053 * find-lisp.el (find-lisp-find-files-internal):
1054 Use dolist, when and file-name-as-directory.
1056 * emacs-lisp/edebug.el (edebug-form-spec prop): Use dolist.
1057 (define-derived-mode, define-minor-mode): Add specs.
1059 * window.el: General comment and spacing fixes.
1060 (save-selected-window): Use backquotes.
1061 (window-safely-shrinkable-p): New function.
1062 (shrink-window-if-larger-than-buffer): Use it.
1064 * subr.el (make-local-hook): Docstring fix.
1066 * shell.el (shell-mode): Use define-derived-mode.
1068 * newcomment.el (comment-indent): Insert comment before calling
1069 comment-indent-function. Don't insert in column 0.
1070 (comment-dwim): Indent before inserting comment.
1072 * isearch.el (isearch-mode-map): Fix docstring. Init in defvar.
1073 (minibuffer-local-isearch-map): Init in defvar. Use inheritance.
1074 (isearch-clean-overlays, isearch-range-invisible, isearch-unread):
1075 Use mapc rather than map.
1077 * files.el (find-buffer-visiting): Compare all attributes before
1078 declaring two files identical (rather than just their inode-no).
1079 (auto-mode-alist): Use \' rather than $.
1081 * which-func.el: Update maintainer line.
1083 * pcvs.el (uniquify-buffer-file-name): Remove advice.
1084 * uniquify.el (uniquify-list-buffers-directory-modes): New var.
1085 (uniquify-buffer-file-name): Use it.
1087 2000-11-22 Miles Bader <miles@gnu.org>
1089 * cus-start.el: Add entry for `minibuffer-prompt-properties'.
1090 * simple.el (minibuffer-avoid-prompt): New function.
1092 2000-11-21 Gerd Moellmann <gerd@gnu.org>
1094 * Makefile.in (.SUFFIXES): Add .SUFFIXES.
1096 2000-11-21 Miles Bader <miles@gnu.org>
1098 * emacs-lisp/advice.el (ad-special-forms): Correct the conditional
1099 inclusion of `track-mouse'.
1101 * textmodes/refill.el (refill-ignorable-overlay): New variable.
1102 (refill-adjust-ignorable-overlay): New function.
1103 (refill-fill-paragraph-at): Use `refill-ignorable-overlay' to fill
1104 only the paragraph's tail if possible.
1105 Update `refill-ignorable-overlay'.
1106 (refill-mode): Initialize/cleanup `refill-ignorable-overlay'.
1108 * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
1109 point inside the fill-prefix.
1111 * textmodes/refill.el (refill-post-command-function): Don't reset
1112 refill-doit in the case where a self-insertion command doesn't
1113 case a refill. Use `refill-fill-paragraph-at', getting position
1115 (refill-after-change-function): Set `refill-doit' to END.
1116 (refill-fill-paragraph-at): New function, mostly from old
1117 refill-fill-paragraph.
1118 (refill-fill-paragraph): Use `refill-fill-paragraph-at'.
1119 (refill-pre-command-function): New function.
1120 (refill-mode): Add it to `pre-command-hook'.
1122 2000-11-20 Gerd Moellmann <gerd@gnu.org>
1124 * textmodes/artist.el (artist-mode): Fix autoload cookie.
1126 * font-lock.el (java-keywords): Add MATCH-HIGHLIGHT part for
1129 2000-11-20 Andre Spiegel <spiegel@gnu.org>
1131 * vc.el, vc-hooks.el: Undo prev change (moved functions back to
1134 * vc-rcs.el (vc-rcs-state): Before calling vc-workfile-unchanged-p,
1137 * vc-cvs.el (vc-cvs-checkout): Fix bug that broke C-x v ~-style
1140 2000-11-20 Dave Love <fx@gnu.org>
1142 * Makefile.in (DONTCOMPILE): Omit bindings.el.
1144 2000-11-20 Eli Barzilay <eli@www.barzilay.org>
1146 * calculator.el (calculator-paste): Use `if' instead of `and'
1148 (calculator-help): Don't use electric-describe-mode for XEmacs.
1150 2000-11-19 Gerd Moellmann <gerd@gnu.org>
1152 * info.el (info-menu-5): Doc fix.
1154 * textmodes/artist.el: New file.
1156 2000-11-19 Andre Spiegel <spiegel@gnu.org>
1158 * vc-rcs.el (vc-rcs-state): Call vc-workfile-unchanged-p only here,
1159 and differentiate according to checkout model.
1160 (vc-rcs-fetch-master-state): Don't call vc-workfile-unchanged-p,
1161 since this function is only concerned with master state.
1163 * vc-hooks.el (vc-workfile-unchanged-p,
1164 vc-default-workfile-unchanged-p): Moved here from vc.el.
1166 * vc.el (vc-workfile-unchanged-p,
1167 vc-default-workfile-unchanged-p): See above.
1169 2000-11-19 Miles Bader <miles@gnu.org>
1171 * image-file.el (insert-image-file): Make `intangible' and
1172 `read-only' properties rear-nonsticky too.
1174 2000-11-18 Gerd Moellmann <gerd@gnu.org>
1176 * ps-print.el: Update copyright notice.
1178 * tooltip.el (tooltip-x-offset, tooltip-y-offset): New user-options.
1179 (tooltip-show): Use the offsets.
1181 * bindings.el (mode-line-modified): Fix a typo.
1182 (mode-line-toggle-modified, mode-line-widen)
1183 (mode-line-abbrev-mode, mode-line-auto-fill-mode): Fix typos.
1185 2000-11-17 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1187 * ps-print.el (toplevel): Test for find-coding-system being
1188 fboundp before calling ps-x-find-coding-system.
1190 2000-11-16 Stefan Monnier <monnier@cs.yale.edu>
1192 * vc.el (vc-version-diff): Bind inhibit-read-only when inserting text.
1193 (vc-version-backup-file): Docstring fix.
1195 2000-11-16 Gerd Moellmann <gerd@gnu.org>
1197 * files.el (basic-save-buffer): Don't add a newline if
1198 find-file-literally is non-nil.
1199 (find-file-literally): Extend doc string.
1201 * sort.el (sort-columns): If sort-fold-case it non-nil, invoke
1202 sort(1) with the `-f' argument.
1204 2000-11-16 Andre Spiegel <spiegel@gnu.org>
1206 * vc.el: Updated backend documentation.
1207 (vc-default-check-headers): New function.
1209 * vc-{cvs,rcs,sccs}.el: Functions reordered.
1211 * vc.el (vc-revert-buffer): Ask for confirmation if file seems
1213 (vc-do-command): In the asynchronous case, output messages only if
1214 the minibuffer is not active.
1216 * vc-cvs.el (vc-cvs-revert): Use `cvs unedit' only if
1217 `vc-cvs-use-edit' is on.
1218 (vc-cvs-checkout): When this is used for reverting the workfile,
1219 make a backup of the original contents and revert to that in case
1221 (vc-cvs-print-log, vc-cvs-diff): Use asynchronous mode only for
1222 remote repositories.
1224 * vc.el (vc-annotate): Changed handling of prefix arg; now asks
1225 for both version and ratio in the minibuffer.
1227 * vc-cvs.el (vc-cvs-annotate-command): New optional arg VERSION.
1228 Use vc-do-command to perform the annotation, not call-process.
1230 2000-11-16 Kenichi Handa <handa@etl.go.jp>
1232 * international/quail.el (quail-start-translation): Don't call
1233 `message' before reading key sequence.
1235 2000-11-16 Miles Bader <miles@lsi.nec.co.jp>
1237 * net/ange-ftp.el (ange-ftp-file-modtime): Don't use `caddr'.
1239 2000-11-16 Kenichi Handa <handa@etl.go.jp>
1241 * window.el (fit-window-to-buffer): Be sure to acquire at least
1242 one text line even if the buffer is empty.
1244 2000-11-16 Gerd Moellmann <gerd@gnu.org>
1246 * net/ange-ftp.el (ange-ftp-file-writable-p)
1247 (ange-ftp-file-readable-p, ange-ftp-file-executable-p): Bind
1248 ange-ftp-process-verbose to nil.
1250 2000-11-15 Dave Love <fx@gnu.org>
1252 * wid-edit.el (widget-specify-field, widget-specify-button): If
1253 :help-echo is a function, set help-echo of overlay to
1255 (widget-mouse-help): New function.
1256 (widget-echo-help): Rewritten for :help-echo functions only taking
1259 * net/eudc-bob.el (eudc-bob-can-display-inline-images): Use
1261 (eudc-bob-display-jpeg) <!eudc-xemacs-p>: Test create-image bound
1262 and that JPEG is available.
1263 (eudc-bob-toggle-inline-display): Avoid non-existent `imagep'.
1265 * international/mule-cmds.el (locale-charset-language-names):
1268 2000-11-15 Gerd Moellmann <gerd@gnu.org>
1270 * faces.el (face-set-after-frame-default): If
1271 `inhibit-default-face-x-resources' is bound, don't intialize the
1272 default face from X resources.
1274 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
1276 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
1277 Don't set EMACSLOADPATH.
1279 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
1281 * textmodes/texinfo.el (texinfo-insert-@uref): Renamed from
1282 texinfo-insert-@url.
1283 (texinfo-insert-@url): A defalias for texinfo-insert-@uref.
1284 (texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
1286 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
1288 * emacs-lisp/checkdoc.el (checkdoc-minor-mode) <defvar>: Remove.
1289 (checkdoc-minor-mode-map): New map, replaces checkdoc-minor-keymap.
1290 (checkdoc-minor-keymap): Backward compatibility.
1291 (checkdoc-minor-menu): Don't bother checking checkdoc-minor-keymap.
1292 (checkdoc-minor-mode) <defun>: Use easy-mmode-define-minor-mode.
1293 (checkdoc-this-string-valid-engine): Be a bit more strict
1294 to avoid matching substrings of `...' quoted vars/funs.
1295 (checkdoc-defun-info): Only look for `interactive' if alone.
1296 (debug-ignored-errors): Add "arg doesn't appear in docstring".
1298 * progmodes/compile.el (grep): `tag-default' can be nil.
1300 * newcomment.el (comment-indent): Paren typo.
1302 2000-11-14 Dave Love <fx@gnu.org>
1304 * calculator.el: New maintainer version.
1306 * diff-mode.el (diff-imenu-generic-expression): Modify unidiff pattern.
1308 * cmuscheme.el: Doc fixes.
1309 (cmuscheme) <defgroup>: Use `scheme' as parent.
1310 (cmuscheme-program-name): Remove. Change uses to
1311 scheme-program-name.
1313 * xscheme.el (scheme-program-name): Don't define here.
1315 * progmodes/scheme.el (scheme-program-name): New variable
1316 (originally in cmuscheme).
1318 2000-11-14 Miles Bader <miles@gnu.org>
1320 * window.el (fit-window-to-buffer): Handle windows without mode-lines.
1321 Handle header-lines. Don't loop forever if we can't enlarge the
1322 window anymore. Simplify a bit.
1324 2000-11-14 Kenichi Handa <handa@etl.go.jp>
1326 * window.el (fit-window-to-buffer): Don't check
1327 window-text-height. Assure that the last line is fully visible.
1329 * international/quail.el (quail-show-guidance-buf): Call
1330 fit-window-to-buffer to assure the enough height of the guidance
1332 (quail-update-guidance): Avoid making the guidance buffer shorter.
1334 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
1336 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Use `keep'
1337 rather than `prepend' and add an interesting comment.
1338 (tex-math-face, tex-font-lock-syntactic-face-function):
1339 New face and function to use it.
1340 (tex-define-common-keys, tex-mode-map): Use menu-item rather
1341 than `menu-enable' symbol property.
1342 (tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe.
1343 (tex-mode): Add some latex-mode commands for auto-selection.
1344 Use tex-font-lock-syntactic-face-function.
1345 (tex-insert-quote): Simplify.
1346 (tex-shell): New mode.
1347 (tex-start-shell): Use it.
1348 (tex-shell-proc, tex-shell-buf): New functions.
1349 (tex-send-command): Use it.
1350 (tex-main-file): Fix the meaning of the new arg REALFILE.
1351 (tex-send-tex-command): New function split from `tex-start-tex'.
1352 Set compilation-last-buffer and compilation-parsing-end.
1354 * newcomment.el (comment-indent-default): Stick \s<\s< to the left
1355 when it follows non-comment text on the line.
1357 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1358 Set font-lock-defaults.
1359 (lisp-mode-shared-map): Init inside the defvar.
1360 (emacs-lisp-mode, lisp-mode, lisp-interaction-mode):
1361 Use define-derived-mode.
1363 2000-11-14 Miles Bader <miles@lsi.nec.co.jp>
1365 * faces.el (header-line): Use `:box nil' for color/gs displays too.
1367 2000-11-14 Gerd Moellmann <gerd@gnu.org>
1369 * emacs-lisp/byte-opt.el (byte-compile-unfold-lambda): Don't
1370 recursively optimize body because that can lead to infinite
1371 recursion; see comment there.
1373 2000-11-13 Eli Zaretskii <eliz@is.elta.co.il>
1375 * faces.el (face-spec-set-match-display): Revert the change from
1376 2000-10-24. Add a FIXME for after v21.1.
1378 2000-11-13 Miles Bader <miles@gnu.org>
1380 * textmodes/fill.el (skip-line-prefix): New function.
1381 (fill-region-as-paragraph, fill-region): Return the fill-prefix.
1382 (fill-paragraph): Don't leave point inside the fill-prefix.
1383 * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
1384 point inside the fill-prefix.
1386 2000-11-13 Miles Bader <miles@lsi.nec.co.jp>
1388 * calendar/calendar.el (generate-calendar-window): Use
1389 `fit-window-to-buffer'.
1391 2000-11-12 Stefan Monnier <monnier@cs.yale.edu>
1393 * gud.el (gud-minor-mode): New var.
1394 (gud-symbol, gud-val): New functions.
1395 (gud-find-file): Copy gud-minor-mode to the new buffer.
1396 (gud-menu-map): Include entries for commands that are not always
1397 available, using :enable to (de)activate them.
1398 (gud-minor-mode-map): New map. Add it to minor-mode-map-alist.
1399 (gud-mode-map): New map.
1400 (gud-gdb-find-file, gud-sdb-find-file, gud-dbx-find-file)
1401 (gud-xdb-find-file, gud-perldb-find-file, gud-pdb-find-file):
1402 Don't set up gud's menu (it's done by the minor-mode).
1403 (gud-minibuffer-local-map): New.
1404 Replace gdb-minibuffer-local-map and pdb-minibuffer-local-map.
1405 (gud-query-cmdline): New function.
1406 (gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it. Set gud-minor-mode.
1407 (gud-mode): Use define-derived-mode.
1408 Don't set up gud's menu (it's done by the minor-mode).
1409 (gud-chop-words): Remove.
1410 (gud-common-init): Use split-string instead.
1411 (gud-new-keymap, gud-make-debug-menu): Eradicate.
1413 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
1414 Add keyword arg :name.
1416 * diff-mode.el (diff-mode-menu): Add entry for applying hunk.
1417 (diff-count-matches, diff-split-hunk): New functions.
1418 (diff-mode-map): Bind C-c C-s to diff-split-hunk.
1420 * pcvs-info.el (cvs-fi-conflict-face): New var.
1422 * progmodes/sh-script.el (sh-mode-syntax-table) <defvar>:
1423 Make it into a simple syntax-table, shared among all submodes.
1424 (sh-heredoc-face): Re-introduce.
1425 (sh-font-lock-syntactic-face-function): New function.
1426 (sh-mode): Use it. Also use define-derived-mode.
1427 Remove old bogus setting of indent-region-function.
1428 (sh-set-shell): Don't set the syntax-table any more.
1429 (sh-mode-syntax-table) <defun>: Remove.
1431 2000-11-12 Miles Bader <miles@gnu.org>
1433 * textmodes/flyspell.el (flyspell-mode-on): Only output welcome
1434 message if interactive.
1436 2000-11-12 Dave Love <fx@gnu.org>
1438 * mail/feedmail.el: Fix header,
1439 (feedmail) <defgroup>: Add :link.
1441 * view.el: Use local-map property, not keymap on mode-line string.
1443 * scroll-all.el (scroll-all-mode): Customize variable. Add
1444 autoload cookie to function.
1446 * lazy-lock.el: Remove compatibility code.
1448 * finder.el (finder-known-keywords): Add `files', remove `vms'.
1449 (finder-help-echo): New variable.
1450 (finder-mouse-face-on-line): Add help-echo stuff.
1451 (finder-list-keywords, finder-list-matches): Use mapc.
1453 * faces.el (face-font-registry-alternatives): Add :version.
1455 * progmodes/etags.el (visit-tags-table-buffer): Beware of `t' in
1458 * net/browse-url.el (browse-url-browser-function): Update :version.
1460 * mail/sendmail.el (mail-font-lock-keywords): Use [:alpha:], not a-z.
1461 (mail-mode): Use [:alnum:] in some regexps.
1463 2000-11-10 Dave Love <fx@gnu.org>
1465 * ediff.el (ediff-regions-internal, ediff-documentation):
1466 * ediff-vers.el (rcs-ediff-view-revision): Put temp buffer into
1469 * ediff-util.el (ediff-status-info, ediff-debug-info): Put temp
1470 buffer into fundamental mode.
1471 (ediff-set-difference): Use copy-sequence if available.
1473 * ediff-ptch.el (ediff-dispatch-file-patching-job): Check
1474 ediff-patch-map non-nil.
1475 (ediff-fixup-patch-map, ediff-fixup-patch-map)
1476 (ediff-fixup-patch-map, ediff-patch-file-internal): Put temp
1477 buffer into fundamental mode.
1479 * ediff-merg.el (state-or-merge): Defvar when compiling.
1481 2000-11-10 Jason Rumney <jasonr@gnu.org>
1483 * w32-fns.el (w32-add-charset-info): New function.
1484 (w32-charset-info-alist): Use it.
1486 2000-11-10 Gerd Moellmann <gerd@gnu.org>
1488 * faces.el (face-font-registry-alternatives): New user-option.
1490 2000-11-10 Stefan Monnier <monnier@cs.yale.edu>
1492 * textmodes/texinfo.el (texinfo-block-default): New var.
1493 (texinfo-insert-block): Use it. Insert a newline if needed.
1495 * textmodes/fill.el (fill-indent-according-to-mode): New var.
1496 (fill-region-as-paragraph): Use it.
1498 * textmodes/tex-mode.el (standard-latex-block-names): Add "math".
1499 (latex-mode): Tweak tex-*-(head|trail)er regexps.
1500 Tweak paragraph regexps to allow a leading [ \t]*.
1501 (tex-latex-block): Insert a newline if necessary.
1502 (latex-insert-item): Only insert a newline if necessary.
1503 (tex-guess-main-file): New function.
1504 (tex-main-file): Use it. Add arg `realfile'. Trim `.tex'.
1505 Set tex-main-file if TeX-master is provided.
1506 (tex-latex-indent-syntax-table): Map ( and ) to punctuation.
1508 2000-11-10 Gerd Moellmann <gerd@gnu.org>
1510 * startup.el (command-line): Set the default tooltip-mode
1511 to t for graphical displays which implement x-show-tip.
1513 * tooltip.el (tooltip-mode): Add a comment about startup.el
1514 setting the default value of this user-option.
1516 2000-11-09 Stefan Monnier <monnier@cs.yale.edu>
1518 * font-lock.el (font-lock-*-face) <defvar>: Move.
1519 (font-lock-defaults-alist): Mark obsolete.
1520 (font-lock-mode, font-lock-mode-hook) <defvar>: Remove.
1521 (font-lock-mode): Use define-minor-mode.
1522 (font-lock-support-mode): Tweak type to default to jit-lock-mode.
1523 (font-lock-turn-off-thing-lock): Be more explicit.
1524 (font-lock-apply-syntactic-highlight): Use string-to-syntax after eval.
1525 (font-lock-syntactic-face-function): New var.
1526 (font-lock-fontify-syntactically-region): Use it.
1527 (font-lock-doc-face): New.
1529 * pcvs.el (cvs-enabledp): Ignore errors.
1530 (cvs-commit-filelist): Never query.
1531 (cvs-mode-insert): Always add a terminating / in the initial prompt.
1532 (cvs-mode-diff-backup): Use cvs-partition rather than delete-if-not.
1533 (cvs-do-removal): Use cvs-partition rather than delete-if.
1534 Use cvs-insert-strings, cvs-pop-to-buffer-same-frame and
1537 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1538 Allow `next' to jump to after the end of the last match.
1540 2000-11-09 Gerd Moellmann <gerd@gnu.org>
1542 * simple.el (byte-compiling-files-p): New function.
1544 * textmodes/ispell.el (toplevel): Use byte-compiling-files-p
1547 * emacs-lisp/bytecomp.el (byte-compile-current-file): Bind it to
1550 * textmodes/ispell.el (ispell-library-path): Don't call
1551 check-ispell-version when byte-compiling because that starts
1552 an ispell process, and ispell might not be installed.
1553 (toplevel): Don't set up a menu when byte-compiling.
1555 * emacs-lisp/bytecomp.el (byte-compile-current-file): Don't bind
1556 it, so that a boundp test can be used to determine if we're
1557 currently byte-compiling.
1559 2000-11-09 Dave Love <fx@gnu.org>
1561 * pcvs.el (uniquify-buffer-file-name): Wrap advice in
1564 2000-11-09 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1566 * ps-print.el: Patch for variable initialization when spooling. Doc
1568 (ps-output-list): Fun eliminated.
1569 (ps-begin-file, ps-begin-job): Code fix.
1571 2000-11-08 Dave Love <fx@gnu.org>
1573 * ediff-wind.el (ediff-control-frame-parameters): Zero
1576 2000-11-08 Gerd Moellmann <gerd@gnu.org>
1578 * simple.el (shell-command, display-message-or-buffer)
1579 (shell-command-on-region): Mention resize-mini-windows in the doc
1581 (display-message-or-buffer): Take the value of resize-mini-windows
1584 2000-11-07 Gerd Moellmann <gerd@gnu.org>
1586 * macros.el (insert-kbd-macro): Print semi-colons as `?\;'.
1588 * dired.el (dired-between-files): Add `^. find' as an alternative
1589 to the regular expression, for find-dired.
1591 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
1593 * textmodes/texnfo-upd.el: Require texinfo.
1594 (defmacro, defgroup): Remove.
1595 (texinfo-section-to-generic-alist): Remove.
1596 Use texinfo-section-list instead (i.e. level is changed string->int).
1597 (texinfo-filter): New function.
1598 (texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp)
1599 (texinfo-subsection-level-regexp, texinfo-section-level-regexp):
1600 Use it. And use regexp-opt.
1601 (texinfo-find-higher-level-node, texinfo-hierarchic-level)
1602 (texinfo-update-menu-region-beginning)
1603 (texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps)
1604 (texinfo-update-the-node, texinfo-sequentially-update-the-node)
1605 (texinfo-update-menu-same-level-regexps): Update.
1606 (texinfo-update-node, texinfo-every-node-update)
1607 (texinfo-sequential-node-update): Remove autoload cookie.
1609 * textmodes/texinfo.el (texinfo-section-list): Change majorheading.
1610 (texinfo-font-lock-syntactic-keywords): Use syntax-strings.
1611 (texinfo-chapter-level-regexp): Remove.
1612 (texinfo-mode): Hard code texinfo-chapter-level-regexp.
1614 2000-11-06 Dave Love <fx@gnu.org>
1616 * autoinsert.el (auto-insert-alist) <latex-mode>: Use \documentclass.
1618 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1621 2000-11-06 Kenichi Handa <handa@etl.go.jp>
1623 * composite.el (composition-function-table): Variable declaration
1624 moved to src/composite.c.
1625 (compose-chars-after): New optional arg object.
1627 2000-11-06 Gerd Moellmann <gerd@gnu.org>
1629 * bindings.el (mode-line-toggle-read-only)
1630 (mode-line-toggle-modified, mode-line-widen)
1631 (mode-line-abbrev-mode, mode-line-auto-fill-mode): New functions.
1632 (make-mode-line-mouse2-map): Rewritten.
1633 (mode-line-modified, mode-line-format, minor-mode-alist): Use new
1634 functions so that C-h k can show something with a doc string.
1636 * startup.el (fancy-splash-delay): Set to 10 seconds.
1637 (fancy-splash-max-time): New user-option.
1638 (fancy-splash-stop-time): New variable.
1639 (fancy-splash-screens): Set it. Catch `stop-splashing'.
1640 (fancy-splash-screens-1): Throw `stop-splashing' when current
1641 time is greater than fancy-splash-stop-time.
1643 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
1645 * vc-hooks.el (vc-insert-file): Don't assume byte==char.
1647 * pcvs.el (cvs-mode-marked): New arg `noquery'.
1648 Prompt user for a file rather than raising an error.
1649 (cvs-enabledp): Fix call to cvs-mode-marked.
1650 (cvs-insert-file): New function (extracted from cvs-mode-insert).
1651 (cvs-mode-insert): Use it. Change the init prompt' value.
1652 (cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
1654 * emacs-lisp/ewoc.el (ewoc-goto-prev, ewoc-goto-next):
1655 Don't pass default arg to ewoc-locate.
1656 (ewoc-collect): Return result in the right order.
1658 * log-edit.el (log-edit-show-files): Use cvs-insert-strings.
1660 * cvs-status.el (cvs-tree-merge): Use cvs-butlast (avoid CL).
1661 (cvs-status-get-tags): Fix regexp.
1662 (cvs-status-trees, cvs-status-cvstrees):
1663 Combine after change hooks and don't sit-for.
1664 (cvs-tree-use-jisx0208): Rename from cvs-tree-dstr-2byte-ready.
1665 (cvs-tree-char-*): Rename from cvs-tree-dstr-char-*.
1666 Use make-char rather than hard-coded cryptic data.
1667 (cvs-status-cvstrees): Convert the buffer to multibyte if necessary.
1669 * pcvs-defs.el (cvs-menu): Add entries for tree and insert.
1671 * pcvs-util.el (cvs-butlast, cvs-nbutlast): New (copied from CL).
1672 (cvs-insert-strings): New function.
1674 2000-11-06 Miles Bader <miles@lsi.nec.co.jp>
1676 * mwheel.el (mouse-wheel-scroll-amount): Renamed from
1677 `mwheel-scroll-amount'.
1678 (mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
1679 (mouse-wheel-mode): Use (featurep 'xemacs) instead of
1680 string-matching against the version string.
1682 2000-11-06 Kenichi Handa <handa@etl.go.jp>
1684 * language/thai.el ("Thai"): Set a lisp form that produces
1685 composed string in `sample-text' language info.
1687 * language/tibetan.el ("Tibetan"): Set a lisp form that produces
1688 composed string in `sample-text' language info.
1690 * international/mule-cmds.el (describe-language-environment): Eval
1691 `sample-text' data and insert the result.
1693 * international/mule-conf.el (compound-text): Define this coding
1694 system here. Make x-ctext and ctext aliases of it.
1696 * language/european.el (compound-text, ctext): Moved to
1697 international/mule-conf.el.
1699 2000-11-05 Andrew Innes <andrewi@gnu.org>
1701 * w32-fns.el (w32-version): New function.
1703 2000-11-05 Stefan Monnier <monnier@cs.yale.edu>
1705 * progmodes/awk-mode.el: Update copyright.
1706 (awk-mode-abbrev-table): Remove.
1707 (awk-font-lock-keywords): Use regexp-opt.
1708 (awk-mode): Use define-derived-mode.
1710 * emacs-lisp/regexp-opt.el (regexp-opt-group): Sort the strings
1711 when extracting a suffix.
1713 2000-11-04 Andre Spiegel <spiegel@gnu.org>
1715 * vc-hooks.el (vc-insert-file): Rewritten. Don't bother about
1718 2000-11-04 Jason Rumney <jasonr@gnu.org>
1720 * language/european.el (decode-mac-roman): Test against r1 not r0.
1722 2000-11-03 Stefan Monnier <monnier@cs.yale.edu>
1724 * progmodes/icon.el (icon-mode-map): Don't rebind \t.
1725 (icon-mode): Define indent-line-function.
1726 (icon-comment-indent): Simplify.
1727 (icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
1729 * emacs-lisp/find-func.el (find-function-do-it): Quote the hook.
1731 * pcvs.el (cvs-mode-add-change-log-entry-other-window):
1732 Bind change-log-default-mode to defeat the caching done on it.
1733 Don't bother saving excursion any more.
1735 * menu-bar.el (minibuffer maps): Use dolist rather than mapcar.
1737 * frame.el (after-setting-font-hook): Rename hooks -> hook.
1738 (set-frame-font): Use the new name (and the old for compatibility).
1740 * toolbar/tool-bar.el (tool-bar-mode):
1741 * time.el (display-time-mode):
1742 * recentf.el (recentf-mode):
1743 * paren.el (show-paren-mode):
1744 * mwheel.el (mouse-wheel-mode):
1745 * msb.el (msb-mode):
1746 * jka-compr.el (auto-compression-mode):
1747 * image-file.el (auto-image-file-mode):
1748 * hl-line.el (hl-line-mode):
1749 * delsel.el (delete-selection-mode):
1750 * autoinsert.el (auto-insert-mode):
1751 * complete.el (partial-completion-mode): Drop unneeded positional args.
1753 * info.el (Info-mode):
1754 * comint.el (comint-mode): Don't bother with make-local-hook.
1756 * log-edit.el (log-edit-menu): New menu.
1758 2000-11-03 Miles Bader <miles@gnu.org>
1760 * wid-edit.el (widget-end-of-line): Reinstate, with a new
1761 definition, so that trailing spaces are handled properly.
1762 (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
1764 2000-11-03 Gerd Moellmann <gerd@gnu.org>
1766 * startup.el (fancy-splash-text, fancy-splash-text): Use a single
1768 (fancy-splash-screens): Set tab-width to 20.
1770 2000-11-03 Dave Love <fx@gnu.org>
1772 * comint.el (comint-completion-addsuffix): Fix custom type.
1774 2000-11-02 Stefan Monnier <monnier@cs.yale.edu>
1776 * font-lock.el (font-lock-buffers): Remove.
1777 (font-lock-global-modes): Define with easy-mmode-define-global-mode.
1778 (font-lock-change-major-mode): Remove.
1779 (turn-on-font-lock-if-enabled): Only apply to the current buffer.
1780 (font-lock-default-fontify-region): Extend the multiline
1781 fontification to whole lines.
1782 (font-lock-fontify-anchored-keywords)
1783 (font-lock-fontify-keywords-region): If matching just one
1784 line (with \n) only mark the \n as multiline.
1786 * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
1787 Correctly handle the case where several :group args are supplied.
1789 (easy-mmode-define-global-mode): Allow :extra-args.
1790 Correctly handle the case where several :group args are supplied.
1792 2000-11-02 Miles Bader <miles@gnu.org>
1794 * calendar/calendar.el (diary-face, calendar-today-face)
1795 (holiday-face): Remove dependency on `window-system'.
1797 2000-11-02 Ken Raeburn <raeburn@gnu.org>
1799 * Makefile.in (emacs): Set EMACSLOADPATH always.
1800 (update-authors, .el.elc, compile-files): Don't do it explicitly
1802 (compile-files): Bomb out if compilation of a file fails.
1804 2000-11-02 Dave Love <fx@gnu.org>
1806 * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
1808 2000-11-02 Eli Zaretskii <eliz@is.elta.co.il>
1810 * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
1811 punctuation in the warning inserted into the *mail* buffer.
1813 2000-11-02 Gerd Moellmann <gerd@gnu.org>
1815 * emacs-lisp/authors.el (authors-public-domain-files): New variable.
1816 (authors-public-domain-p): New function.
1817 (authors-print): Use it.
1819 * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
1821 * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
1823 2000-11-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1825 * ps-print.el: Extension for even/odd printing. Doc fix.
1826 (ps-print-version): New version number (6.3.1).
1827 (ps-even-or-odd-pages): Customization fix.
1828 (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
1829 (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
1830 (ps-page-count): Var replaced by `ps-page-column'.
1831 (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
1832 (ps-print-sheet-p): New fun.
1834 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
1836 * tooltip.el (tooltip-gud-tips-setup): New function.
1837 (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
1838 (tooltip-mode): Call tooltip-gud-tips-setup.
1839 (tooltip-gud-tips): Use `gud-basic-call' instead of
1840 process-send-string, so the prompt gets frobbed appropriately.
1841 Handle nil return value from `tooltip-gud-print-command'.
1843 2000-11-01 Eric M. Ludlam <zappo@ultranet.com>
1845 * comint.el (comint-add-to-input-history): New function.
1846 (comint-send-input): Use `comint-add-to-input-history'.
1848 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
1850 * info.el (info-menu-header): New face.
1851 (Info-fontify-menu-headers): New function.
1852 (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
1854 * info.el (Info-insert-dir): Don't include blank lines at
1855 beginning of additional dir files (one is added automatically).
1857 2000-11-01 Stefan Monnier <monnier@cs.yale.edu>
1859 * emacs-lisp/easy-mmode.el (define-minor-mode):
1860 Revert the latest changes.
1861 Allow the three positional arguments to be skipped and replaced
1862 by keyword arguments.
1863 Add a :toggle argument to determine whether a nil arg means toggle
1864 or means turn-on. The default is unchanged.
1865 Add a call to force-mode-line-update.
1867 2000-11-01 Dave Love <fx@gnu.org>
1869 * emacs-lisp/elp.el (elp-restore-function): Remove autoload
1872 2000-11-01 Miles Bader <miles@lsi.nec.co.jp>
1874 * calendar/calendar.el (diary-face, holiday-face): Add
1875 dark-background variants.
1877 2000-10-31 Sam Steingold <sds@gnu.org>
1879 * textmodes/tex-mode.el (tex-file): Use `default-directory' when
1880 `tex-main-file' does not have directory in it.
1882 2000-10-31 Stefan Monnier <monnier@cs.yale.edu>
1884 * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
1886 2000-10-31 Thien-Thi Nguyen <ttn@gnu.org>
1888 * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
1891 2000-10-31 Gerd Moellmann <gerd@gnu.org>
1893 * files.el (find-file-noselect): When we expand a wildcard, return
1894 a list of buffers, as we should do according to the doc string.
1896 2000-10-31 Ken Raeburn <raeburn@gnu.org>
1898 * loadup.el (top level): Adjust load path if program name is
1899 "../src/bootstrap-emacs", in case it's not dumped and thus the
1900 load path adjustment hasn't already been done.
1902 2000-10-31 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1904 * ps-print.el: Fix bug on selected pages for printing. Use
1905 `color-values' for Emacs 21. Ensure fontification when jit-lock
1906 is on. Try to avoid warning messages when compiling. Doc Fix.
1907 (ps-print-version): New version number (6.3).
1908 (ps-color-device): Use `color-values' to determine if device
1910 (ps-color-values): Try to use `x-color-values' when using XEmacs.
1911 (ps-print-page-p): Changed from defsubst to defun.
1912 (ps-page-number): Changed from defmacro to defun.
1913 (ps-header-sheet, ps-header-page): Fix bug on selected pages for
1915 (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
1916 (ps-end-file, ps-dummy-page): Funs eliminated.
1917 (ps-print-color-scale): Changed default value.
1918 (ps-page-n-up, ps-print-page-p): New internal vars.
1919 (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
1920 (ps-plot-region, ps-generate, ps-end-job): Code fix.
1922 * delim-col.el: Little programming improvement.
1923 (delimit-columns-str): New macro.
1924 (delimit-columns-region, delimit-columns-rectangle): Code fix.
1926 2000-10-31 Kenichi Handa <handa@etl.go.jp>
1928 * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
1929 Moved to european.el.
1930 (ccl-encode-mac-roman-font, fontset-mac): Modified for
1931 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
1932 (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
1933 (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
1935 2000-10-30 Dave Love <fx@gnu.org>
1937 * progmodes/cc-menus.el (imenu-generic-expression)
1938 (imenu-progress-message): Only defvar when compiling.
1940 * emacs-lisp/elp.el (elp-unload-hook): New function.
1942 * loadhist.el (unload-feature): Call elp-restore-function,
1943 checking for symbols; don't use elp-restore-all.
1944 (loadhist-hook-functions): Doc fix.
1946 2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
1948 * log-edit.el (log-edit-confirm): Fix the default.
1950 2000-10-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1952 * delim-col.el: Little fix: replace delimit-columns-align-columns by
1953 delimit-columns-format.
1954 (delimit-columns-region, delimit-columns-rectangle): Code fix.
1956 2000-10-30 Miles Bader <miles@lsi.nec.co.jp>
1958 * comint.el (comint-replace-by-expanded-history): Don't use
1959 comint-get-old-input (we're not looking at *old* input).
1960 (comint-get-old-input-default): If using fields, signal an error
1961 when the point is not in an input field.
1963 2000-10-30 Kenichi Handa <handa@etl.go.jp>
1965 * international/mule-conf.el: New charsets mule-unicode-2500-33ff
1966 and mule-unicode-e000-ffff.
1968 * international/mule.el (decode-char, encode-char): New functions.
1969 (make-coding-system): Accept a symbol of translation table as a
1970 value of property `safe-chars'.
1972 * international/mule-cmds.el (encode-coding-char): Check property
1973 safe-chars instead of safe-charsets.
1975 * international/fontset.el (fontset-default): Modified for
1976 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
1977 (x-font-name-charset-alist): Likewise.
1978 (ccl-encode-unicode-font): New CCL program. Record it in
1979 font-ccl-encoder-alist to be used for fonts "ISO10646-1".
1981 * language/european.el (mac-roman-decoder, mac-roman-encoder):
1982 New translation tables.
1983 (decode-mac-roman, encode-mac-roman): Definition of these CCL
1984 programs are modified and moved from mac-win.el.
1985 (mac-roman): Definition of this coding system is modified and
1986 moved from mac-win.el.
1988 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
1990 * ediff-wind.el (ediff-setup-control-frame): Enclose
1991 face-attribute in condition-case to avoid errors in older emacsen.
1993 2000-10-29 Miles Bader <miles@gnu.org>
1995 * custom.el (custom-add-to-group): Allow multiple entries for a
1996 given value OPTION, as long as their widget types are different.
1997 * cus-edit.el (custom-face-value-create): If face name doesn't end
1998 with "face", add such here (similar to custom group widgets).
2000 * comint.el (comint-highlight-prompt): Add :type.
2002 2000-10-28 John Wiegley <johnw@gnu.org>
2004 * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
2005 Changed this function to operate on a temporary buffer instead of
2006 the main buffer. This not only keeps flyspell from marking a
2007 buffer as changed that wasn't, but it solves the jumpy cursor
2008 problem when attempts are made to edit incorrect words.
2009 (flyspell-maybe-correct-doubling): Same change as for
2010 `flyspell-maybe-correct-transposition'.
2012 * calendar/timeclock.el (timeclock-log): Doc fix.
2013 (timeclock-last-event): Doc fix.
2014 (timeclock-log): Kill the timelog buffer after appending a new
2016 (timeclock-find-discrep): Use a temp buffer to read in the
2017 timelog, instead of visiting the file.
2018 (timeclock-log-data): A new function, along with a host of helper
2019 functions, for the purpose of making timelog data accessible to
2022 * eshell/esh-mode.el (window-height test): Make certain that
2023 `eshell-stringify-t' is non-nil.
2024 (eshell-password-prompt-regexp): Changed to a much simpler
2026 (eshell-send-input): If `eshell-invoke-directly' returns t,
2027 directly invoke the parsed command using `eval'. This improves
2028 turn-around time on simple commands by a factor of three or
2029 greater, such as cd, ls, pwd, etc. -- which get used very often.
2030 It also conserves thousands of cons cells per call (since
2031 `eshell-do-eval' consumes memory like a Cookie Monster set loose
2032 in the Pacific Cookie Company).
2034 * eshell/esh-test.el (eshell-test): Whitespace fix.
2036 * eshell/em-ls.el (eshell-ls-insert-directory): Make
2037 `eshell-ls-initial-args' nil when inserting directory contents.
2039 * eshell/em-script.el (eshell-script-initialize): Add names to
2040 `eshell-complex-commands, since `source' and `.' are complex.
2042 * eshell/esh-cmd.el (eshell-rewrite-for-command)
2043 (eshell-rewrite-while-command): Use `eshell-protect' instead of
2044 `eshell-copy-handles'.
2045 (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
2047 (eshell-separate-commands): Whitespace fix.
2048 (eshell-complex-commands): Added a new list of names, for
2049 determining whether a given command is as simple as it looks.
2050 (eshell-invoke-directly): New function. Returns t if a command
2051 should be invoked directly (using `eval'), rather than indirectly
2052 using `eshell-do-eval'.
2053 (eshell-do-eval): Whitespace fix.
2055 * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
2056 which provides an emulation of the DOS shell behavior of assuming
2057 that cp/mv/ln should copy/move/link to the current directory.
2058 (eshell-remove-entries): Added a doc string.
2059 (eshell-shuffle-files): Removed the check for `target' being null.
2060 (eshell-mvcp-template, eshell-mvcpln-template): Renamed
2061 `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
2062 it to do a smarter check of whether a destination was provided.
2063 (eshell/mv, eshell/cp): Enable `:preserve-args'.
2064 (eshell/ln): Enable `:preserve-args', and use
2065 `eshell-mvcpln-template' to implement the body of the function.
2066 (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
2067 (eshell/du, eshell/diff, eshell/locate): Stringify the argument
2068 list after flattening it. This makes it possible to cat files
2069 with numerical names.
2070 (eshell-unix-initialize): Added several names to
2071 `eshell-complex-commands.
2072 (eshell-unix-command-complex-p): Return t if a given command name
2073 may result in external processes being invoked.
2075 * eshell/em-glob.el (eshell-glob-show-progress): Make this
2076 variable nil by default, since it slows down glob processing by a
2077 factor of two or more, and increases memory consumption.
2079 * eshell/em-smart.el: Added a note about how memory consumptive
2080 smart display mode can be (at least this is true in Emacs 21).
2081 (eshell-smart-initialize): Whitespace fix.
2082 (eshell-refresh-windows): Use `if' instead of `when'.
2083 (eshell-smart-scroll-window): Calling `save-current-buffer' was
2085 (eshell-currently-handling-window): Added a missing global
2088 * eshell/em-ls.el (eshell-do-ls): Code simplification.
2089 (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
2091 (eshell-ls-exclude-hidden): Added this variable in addition to
2092 `eshell-ls-exclude-regexp'. This one prevents files beginning
2093 with . from even being read, which can improve memory consumption
2095 (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
2096 read file entries beginning with a dot. In home directories with
2097 lots of hidden files, fully two-thirds of the time spent in ls is
2098 used to read directory entries that are immediately thrown away.
2099 (eshell-ls-initial-args): Added back this configuration variable,
2100 for specifying default initial arguments to every call to ls.
2101 Much faster than using an alias to do the same thing.
2102 (eshell-do-ls): Use `eshell-ls-initial-args', if set.
2103 (eshell-ls-dir): Whitespace change.
2105 * eshell/em-dirs.el (eshell/pwd): Small code simplification.
2107 * eshell/esh-util.el: Don't require `ange-ftp' if it's not
2109 (eshell-stringify-t): Added a customization variable, to indicate
2110 whether `t' should be rendered as a string at all. If not, one
2111 can still determine if the result of an expression is true using
2112 "file-exists-p FILE && echo true".
2113 (eshell-stringify): If `eshell-stringify-t' is nil, don't
2116 * eshell/esh-module.el: Whitespace fix.
2118 * eshell/em-alias.el (eshell-alias-initialize): Added
2119 `eshell-command-aliased-p' to `eshell-complex-commands'.
2120 (eshell-command-aliased-p): New function that returns t if a
2121 command name names an aliased.
2123 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
2125 * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
2126 redrawing the screen when changing cursor color.
2127 (viper-insert-state-pre-command-sentinel)
2128 (viper-replace-state-pre-command-sentinel)
2129 (viper-replace-state-post-command-sentinel):
2130 Use viper-preserve-cursor-color.
2131 Many functions changed to use viper= instead of = when comparing
2133 * viper-util.el (viper-memq-char,viper=): New functions for
2134 working with characters.
2135 (viper-change-cursor-color): Fixed buglet.
2136 Many functions changed to use viper= instead of = when comparing
2138 * viper.el (viper-insert-state-mode-list): Added eshell.
2140 * ediff-init.el (ediff-before-setup-hook): New hook.
2141 Several typos fixed in various docstrings.
2142 * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
2143 * ediff-nult.el (ediff-before-session-group-setup-hooks): New
2145 (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
2146 * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
2147 (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
2148 (ediff-get-selected-buffers): New function.
2149 * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
2150 (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
2151 save-window-excursion.
2152 * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
2153 termination check in while loop.
2154 * ediff.el (ediff-get-default-file-name): Better defaults when in
2156 (ediff-files,ediff-merge-files,ediff-files3)
2157 (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
2159 2000-10-28 Dave Love <fx@gnu.org>
2161 * info.el (Info-fontify-node): Add help-echo for menu items.
2163 2000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
2165 * startup.el (normal-top-level): If the value of $TERM indicates
2166 we are running from xterm or one of its work-alikes, default to a
2167 light background mode.
2169 Support for -fg, -bg, and -rv command-line arguments for TTYs:
2170 * faces.el (tty-handle-reverse-video): New function.
2171 (tty-create-frame-with-faces): Call it.
2173 * frame.el (frame-notice-user-settings): Don't apply
2174 default-frame-alist and initial-frame-alist to MS-DOS frames.
2175 Call tty-handle-reverse-video, frame-set-background-mode, and
2176 face-set-after-frame-default for non-MS-DOS frames.
2178 * startup.el (tty-long-option-alist): New variable.
2179 (tty-handle-args): New function.
2180 (command-line): Call tty-handle-args.
2182 * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
2183 startup.el now does that for all character-terminal frames.
2185 2000-10-28 Miles Bader <miles@gnu.org>
2187 * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
2188 `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
2189 global. If :global is followed by a non-nil but non-t value,
2190 make the mode buffer-local, but also generate a `global-MODE'
2191 version using `easy-mmode-define-global-mode'. Add
2192 :conditional-turn-on keyword argument.
2194 2000-10-28 Dave Love <fx@gnu.org>
2196 * international/latin1-disp.el (latin1-char-displayable-p): Don't
2199 2000-10-27 Eli Zaretskii <eliz@is.elta.co.il>
2201 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2202 Don't call find-buffer-file-type-coding-system. Instead, just
2203 set eol-type to -unix if inhibit-eol-conversion is in effect, or
2204 if the file is on an untranslated filesystem.
2205 (add-untranslated-filesystem): Use "D" instead of "f" inside
2208 2000-10-27 Dave Love <fx@gnu.org>
2210 * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
2211 (refill-mode): Use it.
2213 2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
2215 * international/quail.el (quail-activate): Don't make-local-hook.
2217 2000-10-27 Andre Spiegel <spiegel@gnu.org>
2219 * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
2220 manual backups and file.~<rev>.~ for automatic ones.
2221 (vc-make-version-backup): Don't do it on MS-DOS without long file
2224 * vc.el (vc-version-other-window): If an automatic backup of the
2225 desired version exists, rename it instead of copying it.
2227 * vc-cvs.el (vc-cvs-checkin): Check both status and error message
2228 after command. If there's an unexpected error, signal it instead
2230 (vc-cvs-merge-news): Be prepared for no news at all.
2232 2000-10-27 Miles Bader <miles@lsi.nec.co.jp>
2234 * shell.el (shell): Add BUFFER argument.
2235 * comint.el (make-comint-in-buffer): New function.
2236 (make-comint): Use it.
2238 * faces.el (face-spec-choose): Change syntax so that the list of
2239 attribute-value pairs is now the cdr of each clause, not the cadr.
2240 Detect old-style entries, and handle them. Use pop.
2242 2000-10-26 Stefan Monnier <monnier@cs.yale.edu>
2244 * cus-edit.el (custom-mode-map): Use a sparse map.
2245 (custom-mode): Don't bother with make-local-hook.
2247 * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
2249 * vc.el (vc-start-entry): Only erase the buffer if comment is set.
2251 2000-10-26 Vinicius Jose Latorre <vinicius@cpqd.com.br>
2253 * ps-print.el: Avoid compilation gripes.
2254 (ps-print-version): New version number (6.2.1).
2256 2000-10-26 Dave Love <fx@gnu.org>
2258 * menu-bar.el: Modify some menu item help strings.
2259 (menu-bar-help-menu): Add link to MORE.STUFF.
2261 * cus-edit.el (custom-mode): Add `special' mode-class property.
2263 * wid-browse.el (widget-browse-mode): Likewise.
2265 * wid-edit.el (widget-specify-field): Revert to using local-map
2266 property, not keymap.
2268 2000-10-26 Miles Bader <miles@lsi.nec.co.jp>
2270 * wid-edit.el (widget-field-end): When checking for a `boundary'
2271 field, do so in the correct buffer.
2273 * simple.el (undo): Correctly distinguish between numeric and
2274 non-numeric prefix args in non-transient-mark-mode, as per the doc
2275 string. When in transient-mark-mode, treat all prefix-args as
2278 * simple.el (previous-matching-history-element): Miscellaneous cleanup.
2279 Position point on match. Handle N == 0 correctly.
2281 * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
2282 (comint-mode-map): Reverse order of `comint-write-output' and
2283 `comint-append-output-to-file'.
2284 (comint-append-output-to-file): Reinstate this function, for the
2285 benefit of the menu.
2287 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
2289 * vc.el (vc-version-other-window): Bind `file'.
2291 2000-10-25 Gerd Moellmann <gerd@gnu.org>
2293 * Makefile.in (update-authors): New target for maintenance purposes.
2295 * emacs-lisp/authors.el (batch-update-authors): New function.
2296 (authors-fixed-entries): New defconst.
2297 (authors-add-fixed-entries): New function.
2298 (authors): Call it.: Don't process lispref/.
2300 2000-10-25 Jason Rumney <jasonr@gnu.org>
2302 * cus-edit.el (custom-button-face, custom-button-pressed-face):
2303 Merge x w32 and mac definitions.
2305 2000-10-25 Gerd Moellmann <gerd@gnu.org>
2307 * menu-bar.el (menu-bar-options-menu): Add a help string for
2310 2000-10-25 Stephen Gildea <gildea@alum.mit.edu>
2312 * time-stamp.el (time-stamp-string-preprocess):
2313 Fix a wrong type argument error.
2315 2000-10-25 Miles Bader <miles@gnu.org>
2317 * recentf.el (recentf-mode): Variable removed.
2318 (recentf-mode): Use `define-minor-mode'.
2320 * mwheel.el (mouse-wheel-mode): New global minor mode.
2321 (mwheel-install): Use `mouse-wheel-mode'.
2323 2000-10-25 Dave Love <fx@gnu.org>
2325 * progmodes/cperl-mode.el (cperl-mode):
2326 Set normal-auto-fill-function correctly.
2328 * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
2329 inherit from global-map and don't nullify menu-bar and tool-bar
2332 2000-10-25 Miles Bader <miles@lsi.nec.co.jp>
2334 * wid-edit.el (widget-field-at): New function.
2335 (widget-at, widget-field-activate): Use it.
2336 (widget-tabable-at): Use `widget-at'.
2337 (widget-specify-field): If the terminating character of the widget
2338 field (which is read-only) is a newline, put it into a special
2339 `boundary' field so that C-n/C-p act more naturally.
2340 (widget-field-end): Also don't subtract one if a special
2341 `boundary' field has been added after the widget field.
2343 * comint.el (comint-output-filter, comint-send-input): Don't
2344 bother adding stickiness fields to overlays to fool the field
2345 code, since it should notice the overlay insertion-types now.
2347 * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
2348 Replace with aliases of the normal emacs b-o-l/e-o-l functions.
2349 (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
2351 2000-10-24 Gerd Moellmann <gerd@gnu.org>
2353 * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
2354 (authors): Set file coding system to iso-2022-7bit. Add
2355 file-local variables to output buffer.
2357 * files.el (after-find-file): Don't print any warnings if
2360 2000-10-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
2362 * ps-print.el (ps-generate): Fix odd/even pages printing bug.
2364 * delim-col.el: Now there is a column formatting mechanism.
2365 Modified to customization mechanisms convention. Doc fix.
2366 (columns): New group for delim-col.
2367 (delimit-columns-before, delimit-columns-after)
2368 (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
2369 (delimit-columns-end): New vars.
2370 (delimit-columns-customize, delimit-columns-format): New funs.
2371 (delimit-columns-region, delimit-columns-rectangle)
2372 (delimit-columns-rectangle-line): Modified to support column
2375 2000-10-24 Dave Love <fx@gnu.org>
2377 * log-edit.el (log-edit): Add :version and a :group for vc.
2379 2000-10-24 Gerd Moellmann <gerd@gnu.org>
2381 * files.el (after-find-file): Don't print a message ``New file''
2384 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
2385 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
2386 get duplicate tool-bar entries because we'll see the global ones
2387 on more than one path through keymaps.
2389 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
2391 * progmodes/cmacexp.el: Change Francesco's email address.
2393 2000-10-24 Kenichi Handa <handa@etl.go.jp>
2395 * window.el (fit-window-to-buffer): Adjust point of the window
2396 buffer, not that of the current buffer.
2398 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
2400 * progmodes/cmacexp.el: Update the euthor's email address.
2402 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
2404 * faces.el (face-spec-set-match-display): Add `graphic' display
2405 type (the inverse of `tty'). Use `display-graphic-p' instead of
2406 the window-system variable.
2408 2000-10-24 Kenichi Handa <handa@etl.go.jp>
2410 * international/isearch-x.el (isearch-with-input-method): Call
2411 input-method-function with the first event in
2412 unread-command-events.
2414 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
2416 * faces.el (face-default-spec, face-user-default-spec): Make
2419 2000-10-24 Andrew Choi <akochoi@i-cable.com>
2421 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
2424 * term/mac-win.el: Remove definitions of mac-roman-lower and
2425 mac-roman-upper, require dired, and define instead of set
2426 mac-ready-for-drag-n-drop to avoid compilation error.
2428 2000-10-23 Andrew Innes <andrewi@gnu.org>
2430 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
2431 superfluous calls to subst-char-in-string; instead apply
2432 expand-file-name after convert-standard-filename to ensure
2433 expected directory separators are used.
2435 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
2437 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
2439 2000-10-23 Dave Love <fx@gnu.org>
2441 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
2442 (tool-bar-add-item): Set foreground and background for XBM icons.
2444 * international/latin1-disp.el (latin1-char-displayable-p): New
2445 function (from Handa).
2446 (latin1-display-check-font): Use it.
2448 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
2449 using :key-sequence, making it much more usable. Use nconc, not
2451 (imenu--create-keymap-1): Avoid append.
2453 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
2455 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
2457 [the following changes fix a bug where `define-minor-mode' didn't
2458 correctly generate :require clauses for defcustoms in compiled files]
2459 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
2460 (byte-compile-log-file, byte-compile-log-1): Don't set
2461 `byte-compile-current-file' to nil. Instead set
2462 `byte-compile-last-logged-file' to it. Test whether
2463 byte-compile-current-file equals byte-compile-last-logged-file
2464 instead of whether its nil.
2465 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
2467 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
2469 * textmodes/refill.el: Fix var names in doc.
2470 (refill-mode): Don't bother with make-local-hook anymore.
2472 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
2474 * faces.el (face-user-default-spec, face-default-spec): New functions.
2475 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
2476 (frame-set-background-mode, face-set-after-frame-default):
2477 Use `face-user-default-spec'. Simplify code slightly.
2479 * woman.el (woman-italic-face, woman-bold-face)
2480 (woman-unknown-face): Add dark-background variants.
2481 (woman-default-faces): Renamed from `woman-colour-faces'.
2482 Set using the stored defaults, rather than using hard-wired colors.
2483 (woman-monochrome-faces): Renamed from `woman-black-faces'.
2484 Just make the foreground `unspecified' rather than "black".
2485 (woman-menu): Rename menu entries accordingly.
2487 * faces.el (header-line): Make more reasonable on mono/grayscale
2490 2000-10-23 Andrew Choi <akochoi@i-cable.com>
2492 * cus-edit.el (custom-button-face): Use 3D look for mac.
2493 (custom-button-pressed-face): Likewise.
2495 * faces.el (set-face-attributes-from-resources): Handle mac frames
2496 in the same way as x and w32 frames.
2497 (face-valid-attribute-values): Likewise.
2498 (read-face-attribute): Likewise.
2499 (defined-colors): Likewise.
2500 (color-defined-p): Likewise.
2501 (color-values): Likewise.
2502 (display-grayscale-p): Likewise.
2503 (face-set-after-frame-default): Likewise.
2504 (mode-line): Same default face as for x and w32.
2505 (tool-bar): Likewise.
2507 * frame.el: Remove call to frame-notice-user-settings at end of
2510 * info.el (Info-fontify-node): make underlines invisible for mac
2511 as for x, pc, and w32 frame types.
2513 * term/mac-win.el: New file.
2515 2000-10-22 Dave Love <fx@gnu.org>
2517 * textmodes/refill.el: New file.
2519 2000-10-22 Andre Spiegel <spiegel@gnu.org>
2521 * vc-hooks.el (vc-version-backup-file-name): New optional args
2523 (vc-delete-automatic-version-backups, vc-make-version-backup):
2525 (vc-before-save): Use the latter.
2526 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
2529 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
2530 expected by vc[-hooks].el.
2532 * vc.el (vc-checkout): Added `-p' suffix in call to
2533 vc-make-version-backups-p; use vc-make-version-backup to actually
2535 (vc-version-other-window, vc-version-backup-file): Handle both
2536 automatic and manual backups.
2537 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
2540 2000-10-22 Miles Bader <miles@gnu.org>
2542 * comint.el (comint-highlight-input, comint-highlight-prompt):
2543 Renamed, `-face' at end removed.
2544 (comint-send-input, comint-output-filter): Use renamed faces.
2546 * window.el (fit-window-to-buffer): Change defaulting of
2547 MAX-HEIGHT slightly.
2549 * faces.el (color-values, color-defined-p): Use `member', not
2550 `memq', because it works correctly for strings.
2551 (frame-set-background-mode): Actually, "unspecified-fg" and
2552 "unspecified-bg" *are* strings. Use `member', not `memq', and
2553 `equal', not `eq', when a string value is possible.
2555 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
2557 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
2559 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
2561 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
2562 sh-electric-rparen, sh-electric-less and sh-electric-hash.
2563 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
2564 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
2565 (sh-font-lock-syntactic-keywords): Use them.
2566 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
2567 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
2568 (sh-mode): Don't override font-lock-unfontify-region-function.
2569 Use a copy of sh-font-lock-syntactic-keywords.
2570 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
2571 Don't call sh-scan-buffer since font-lock does it on the fly.
2572 (sh-get-indent-info): Use `face' rather than `syntax-table'
2573 text-property to detect here-documents.
2574 Replace sh-special-syntax with sh-st-punc.
2575 (sh-prev-line): Use `face' rather than `syntax-table'
2576 text-property to skip over here-documents.
2577 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
2578 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
2579 (sh-electric-less, sh-set-here-doc-region)
2580 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
2581 (sh-scan-buffer, sh-rescan-buffer): Remove.
2583 2000-10-21 Andrew Innes <andrewi@gnu.org>
2585 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
2586 remote (ange-ftp) file names.
2588 2000-10-21 Miles Bader <miles@gnu.org>
2590 * window.el (fit-window-to-buffer): New function.
2591 (shrink-window-if-larger-than-buffer): Use it.
2592 (window-text-height): Don't expect minibuffers to have mode-lines.
2594 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
2595 * international/quail.el (quail-update-guidance): Use
2596 `fit-window-to-buffer' instead of `set-window-text-height'.
2598 * international/quail.el (quail-show-guidance-buf): Make sure
2599 guidance window really has enough room.
2600 (quail-update-guidance): If quail-guidance-win is already shown,
2601 make sure its height is OK.
2603 * window.el (window-text-height, set-window-text-height):
2605 (shrink-window-if-larger-than-buffer): Use `window-text-height'
2606 instead of `window-height' & `mode-line-window-height-fudge'.
2607 (mode-line-window-height-fudge): Add FACE parameter.
2608 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
2609 instead of `enlarge-window' & `mode-line-window-height-fudge'.
2611 2000-10-20 Miles Bader <miles@gnu.org>
2613 * window.el (height-affecting-face-attributes): Use `defconst'.
2615 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
2616 New function, conditionally aliased to `mode-line-window-height-fudge'.
2617 (ispell-help): Use it.
2618 (ispell-choices-win-default-height): Don't include mode-line fudge.
2619 (ispell-choices-win-default-height): New function.
2620 (ispell-show-choices, ispell-command-loop): Use function
2621 `ispell-choices-win-default-height' instead of variable.
2623 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
2625 * window.el (mode-line-window-height-fudge): New variable.
2626 (height-affecting-face-attributes): New variable.
2627 (mode-line-window-height-fudge): New function.
2628 (shrink-window-if-larger-than-buffer): Use it.
2629 * help.el (resize-temp-buffer-window): Likewise.
2631 * info.el (Info-fontify-node): Add support for @subsubsection
2632 titles, which use `Info-title-4-face'.
2633 (Info-title-4-face): New face.
2634 (Info-title-3-face): Inherit from Info-title-4-face instead of
2637 2000-10-19 Jason Rumney <jasonr@gnu.org>
2639 * dired.el (dired-insert-directory): Do not let errors signalled by
2640 attempt to run dired-free-space-program prevent dired from working.
2642 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
2644 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
2646 2000-10-19 Gerd Moellmann <gerd@gnu.org>
2648 * dirtrack.el (dirtrack): Fix call to run-hooks.
2650 * cmuscheme.el (cmuscheme-program-name): Renamed from
2651 scheme-program-name because xscheme.el contains a defcustom with
2652 the same name. As a consequence, customizing group `cmuscheme'
2653 loaded `xscheme' which redefined run-scheme.
2654 (run-scheme): Use cmuscheme-program-name.
2656 * ps-print.el (ps-print-emacs-type): Move into the
2659 * play/doctor.el (doctor-death): Update the Samaritans'
2660 anonymous address, and add a website for Befrienders International.
2662 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
2664 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
2665 Avoid compilation gripes. Doc fix.
2666 (ps-print-version): New version number (6.2).
2667 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
2668 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
2669 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
2670 (ps-x-extent-priority, ps-x-extent-start-position)
2671 (ps-x-face-font-instance, ps-x-find-coding-system)
2672 (ps-x-font-instance-properties, ps-x-make-color-instance)
2673 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
2674 avoid compilation gripes without defining functions.
2675 (ps-e-find-composition): Alias for function find-composition, to have a
2676 suitable function depending on Emacs version.
2677 (ps-color-device, ps-color-values, ps-face-foreground-name)
2678 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
2679 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
2680 (ps-print-ensure-fontified): Function definitions surrounded by
2681 `eval-and-compile' to avoid compilation gripes.
2682 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
2683 by symbol-value to avoid compilation gripes.
2684 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
2685 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
2687 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
2689 * startup.el (normal-top-level): Call `frame-set-background-mode'
2690 after `frame-notice-user-settings' because the latter doesn't call
2691 the former on a tty.
2693 * faces.el (frame-set-background-mode): `unspecified' &c are
2694 symbols, not strings.
2696 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
2698 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
2699 why some "light*" colors are deliberately absent from the alist.
2701 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
2702 Change colors for tty's, as suggested by Miles Bader.
2704 2000-10-19 Kenichi Handa <handa@etl.go.jp>
2706 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
2707 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
2708 for ISO10646-1 fonts.
2709 (x-font-name-charset-alist): Add an entry for "iso10646-1".
2711 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
2713 * faces.el (frame-set-background-mode): If a tty frame defines a
2714 background color, use that to compute the background mode, instead
2715 of always defaulting to "dark".
2717 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
2719 * comint.el (comint-write-output): New function.
2720 (comint-mode-map): Add it to the menu.
2721 Bind `C-c C-s' to comint-write-output.
2723 2000-10-18 Gerd Moellmann <gerd@gnu.org>
2725 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
2726 Use fancy-splash-delay.
2728 2000-10-18 Alex Schroeder <alex@gnu.org>
2730 * progmodes/sql.el (sql-sybase-options): New option.
2731 (sql-sybase): Use it. Add sql-database to the list of parameters
2732 provided for login. The options -w 2048 -n are not used any more.
2734 * comint.el (comint-read-input-ring): Bugfix such that the first
2735 and the last entry of the input ring file are not lost.
2737 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
2739 * ps-print.el: Internal variable changes to defcustom,
2740 make-local-hook changes to defvar. Doc fix.
2741 (ps-print-version): New version number (6.1).
2742 (ps-setup, ps-do-despool): Code fix.
2743 (ps-printer-name): Customization fix.
2744 (ps-printer-name-option): Now is a defcustom instead of an
2746 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
2747 (ps-print-begin-column-hook): Now are defvar instead of
2750 2000-10-18 Miles Bader <miles@gnu.org>
2752 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
2753 (comint-kill-output): Changed into an alias for `comint-delete-output',
2755 (comint-mode-map): Rename references to comint-kill-output.
2757 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
2759 * diff-mode.el (diff-header-face, diff-file-header-face)
2760 (diff-changed-face): Add bold and italic attributes to tty faces.
2761 (diff-function-face): New face.
2762 (diff-font-lock-keywords): Use it.
2764 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
2766 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
2767 Remove commented-out call to force-mode-line-update.
2768 (comint-kill-output): Use `forward-line 0' instead of
2769 beginning-of-line to make sure we get past the prompt.
2771 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
2773 * diff-mode.el (diff-header-face, diff-file-header-face):
2774 Add specific setting for dark background.
2775 (diff-context-face): Renamed from diff-comment-face.
2776 Set explicitly rather than inheriting from font-lock-comment-face.
2778 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2780 * startup.el (command-line): Move the code which sets the default
2781 TTY colors to before before-init-hook.
2783 2000-10-17 Gerd Moellmann <gerd@gnu.org>
2785 * jit-lock.el (jit-lock-stealth-time): Doc fix.
2787 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2789 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
2790 extensions, for MS-DOS.
2792 * diff-mode.el (diff-header-face, diff-file-header-face)
2793 (diff-changed-face): Define tty-specific colors.
2795 2000-10-17 Gerd Moellmann <gerd@gnu.org>
2797 * startup.el (fancy-splash-text): Realign the text.
2799 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2801 * font-lock.el (font-lock-comment-face): Define a separate default
2802 for dark-background tty's.
2804 2000-10-17 Miles Bader <miles@gnu.org>
2806 * help.el (resize-temp-buffer-window): Add hack to avoid last line
2807 being obscured by whizzy mode-lines on graphics displays.
2809 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2811 * info.el (Info-title-1-face, Info-title-2-face)
2812 (Info-title-3-face): Define colors for tty's.
2813 (info-header-node): Remove unneeded tty-specific definition.
2815 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
2817 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
2818 reverse from the frame parameters, and don't invert foreground and
2821 2000-10-16 Miles Bader <miles@gnu.org>
2823 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
2824 string "*Info*". Call propertized-buffer-identification to spruce
2827 2000-10-16 Gerd Moellmann <gerd@gnu.org>
2829 * help.el: Provide `help' for the sake of define-minor-mode
2830 which generates defcustoms with requires.
2832 * jit-lock.el (jit-lock-after-change): If we're in text that
2833 matches a multi-line font-lock pattern, make sure the whole text
2834 will be redisplayed.
2836 * emacs-lisp/authors.el (authors-add): Don't add an entry if
2837 author's name is unknown.
2839 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
2840 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
2841 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
2842 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
2843 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
2844 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
2845 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
2846 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
2847 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
2848 Add author information.
2850 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
2852 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
2853 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
2854 full-color version (using the Gimp) to eliminate dithering artifacts.
2856 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
2858 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
2860 * simple.el (syntax-flag-table, string-to-syntax): Remove.
2862 2000-10-15 Dave Love <fx@gnu.org>
2864 * progmodes/sh-script.el: Require skeleton and comint when
2867 * pcomplete.el (pcomplete) <defgroup>: Add :version.
2869 * whitespace.el: Doc fixes.
2870 (top-level): Don't add hooks here.
2871 (whitespace-running-emacs): Deleted.
2872 (timer): Don't require.
2873 (whitespace): Add back :version conditional on xemacs test.
2874 (whitespace-spacetab-regexp, whitespace-indent-regexp)
2875 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
2876 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
2877 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
2878 Avoid specific xemacs test.
2879 (whitespace-global-mode): New option.
2880 (whitespace-global-mode): New command.
2881 (whitespace-unload-hook): New function.
2883 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
2884 (Info-fontify-node, Info-goto-node, Info-mode-menu)
2885 (Info-fontify-node): `Goto' goes to `Go to'.
2886 (Info-fontify-node): Add help-echo to xref links.
2888 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
2890 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
2892 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
2894 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
2895 Use plist-get and allow :inherit.
2897 * emacs-lisp/cl-macs.el (cl-do-arglist):
2898 Use plist-get and plist-member instead of memq.
2900 * emacs-lisp/ewoc.el (ewoc-location): New function.
2901 (ewoc-enter-after, ewoc-enter-before): Document return value.
2902 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
2903 Don't need make-local-hook any more.
2904 (cvs-addto-collection): Return the new tin.
2905 (cvs-mode-insert): Jump to the new line.
2907 * jit-lock.el (jit-lock-fontify-buffer): Remove.
2909 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
2911 * font-lock.el (font-lock-syntactically-fontified): New var.
2912 (font-lock-fontify-syntactic-keywords-region): Use it.
2913 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
2915 * diff-mode.el (diff-find-file-name): Fix regexp.
2917 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
2918 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
2920 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
2921 (sh-mode-syntax-table): Add punctuation syntax for < and >.
2922 (sh-mode): Don't make all vars local here.
2924 (sh-set-shell): Use dolist. Don't set indent-region-function.
2925 (sh-mode-syntax-table): Use pop.
2926 (sh-remember-variable): Use push.
2927 (sh-help-string-for-variable): Use memq.
2928 (sh-safe-backward-sexp): Remove.
2929 (sh-safe-forward-sexp): Add ARG.
2930 (sh-get-indent-info, sh-prev-stmt): Use it.
2931 (sh-prev-line): Simplify by using forward-comment.
2932 (sh-this-is-a-continuation): Simplify.
2933 (sh-learn-buffer-indent): Use dolist.
2934 (sh-do-nothing): Remove.
2935 (sh-set-char-syntax, sh-set-here-doc-region):
2936 Use inhibit-modification-hooks.
2937 (sh-name-style): Use mapcar and push.
2938 (sh-load-style): Use dolist.
2939 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
2940 (sh-case, sh-while-getopts): Use propertize directly rather
2941 than sh-electric-rparen.
2943 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
2945 * textmodes/tex-mode.el: Require CL when compiling.
2946 (tex-mode-syntax-table): Init immediately.
2947 (tex-mode-map): Bind M-RET to latex-insert-item.
2948 (latex-mode): Set indent-line-function to latex-indent.
2949 (tex-common-initialization): Don't setup the syntax-table any more.
2950 (latex-insert-item): New skeleton.
2951 (tex-next-unmatched-end): Fix copy/paste braino.
2952 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
2953 (latex-indent, latex-find-indent): New functions.
2954 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
2955 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
2956 (tex-compilation-parse-errors): Use with-syntax-table.
2958 2000-10-15 Miles Bader <miles@gnu.org>
2960 * font-lock.el (font-lock-comment-face): Change dark-background,
2961 color, non-tty, default to `chocolate1'.
2963 2000-10-13 John Wiegley <johnw@gnu.org>
2965 * eshell/esh-util.el (require): Added a missing `require' form,
2966 needed when compiling (for an ange-ftp macro definition).
2968 2000-10-13 Dave Love <fx@gnu.org>
2970 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
2972 2000-10-13 Gerd Moellmann <gerd@gnu.org>
2974 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
2977 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
2978 transparent -colors 8).
2980 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
2982 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
2983 that breaks with old list format timestamps.
2984 (time-stamp-warn-inactive, time-stamp-old-format-warn)
2985 (time-stamp-count, time-stamp-conversion-warn): Improved doc
2988 2000-10-13 John Wiegley <johnw@gnu.org>
2990 * align.el, pcomplete.el, calendar/timeclock.el,
2991 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
2993 * calendar/timeclock.el (timeclock-find-discrep): A fix to some
2994 faulty math, where holiday hours were being computing as seconds.
2996 2000-10-13 John Wiegley <johnw@gnu.org>
2998 * desktop.el (desktop-buffer-modes-to-save): Added a global for
2999 specifying what "other" kinds of buffers should be saved. This
3000 used to be hard-coded.
3001 (desktop-buffer-misc-functions): A global for specifying how
3002 auxiliary data should be determined for special buffer types.
3003 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
3004 instead of hard-coding the special buffer types.
3005 (desktop-save): Run `desktop-buffer-misc-functions' to gather
3006 auxiliary data, instead of hard-coding for Info buffers and dired.
3007 (desktop-buffer-info-misc-data): Aux function for determining Info
3008 buffer auxiliary info.
3009 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
3010 (desktop-buffer-info): Changed this function to use the info
3012 (desktop-create-buffer): Be a little more careful about what
3013 `minor-mode' means before calling it. This is important for some
3016 2000-10-13 John Wiegley <johnw@gnu.org>
3018 * eshell/esh-util.el: Added a global form which declares an
3019 autoload for `parse-time-string', if that function is not already
3020 defined, and if parse-time.el is available on the user's system.
3022 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
3023 to be aware of ange-ftp user info.
3024 (eshell-do-ls): Bind `ange-cache'. Also, use
3025 `eshell-file-attributes'.
3026 (eshell-ls-annotate): Use `eshell-file-attributes'.
3027 (eshell-ls-file): Made the user-id printing code a bit smarter.
3029 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
3030 allow identification of alias user ids in remote directories.
3031 It's manual, but there's no other way to know when the current
3032 user on the local machine, is also the owning user on the remote
3034 (fboundp): Bind `ange-cache'.
3035 (eshell-directory-files-and-attributes): Re-organized the logic a
3036 bit to use `eshell-file-attributes' instead of `file-attributes'.
3037 The former is more sensitive to directories that are read via FTP,
3038 and knows how to use ange-ftp to determine full attribute
3039 information, instead of just the name and last modtime.
3040 (eshell-current-ange-uids): Return the current user id when in a
3042 (eshell-parse-ange-ls): Parse a full directory listing that has
3043 been returned by ange-ftp.
3044 (eshell-file-attributes): This beefed up version of
3045 `file-attributes' is only special if the user is currently in a
3046 remote directory, in which case it does a lot of work to find out
3047 what the real attributes of a file are, as they appear on the
3048 remote machine. This makes usage of remote directories (i.e.,
3049 ange-ftp pathnames) much more useful. You can now use Eshell as a
3050 full-fledged FTP client, with much more manipulation ability than
3053 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
3054 variable, which means that Eshell's du should always be preferred
3055 in remote directories.
3056 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
3057 just `file-attributes'.
3058 (eshell-mvcp-template): Bind `ange-cache', to improve performance
3059 when reading remote directories. This is an Eshell-specific
3060 variable (not part of ange-ftp).
3061 (eshell/ln): Bind `ange-cache'.
3062 (eshell/du): Added some extra logic for determining when to use
3063 Eshell's du (which is slow), and when to use the external version
3064 (which may or may not exist).
3066 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
3067 `eshell-interactive-process', rather than using
3068 `get-buffer-process', since backgrounded processes don't count in
3069 the context of this function's logic.
3071 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
3072 `forward-char', so that null strings are parsed correctly.
3074 2000-09-13 John Wiegley <johnw@gnu.org>
3076 * eshell/em-pred.el (eshell-pred-file-type,
3077 eshell-pred-file-links, eshell-pred-file-size): Use
3078 `eshell-file-attributes'. This is more correct over ange-ftp.
3080 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
3081 that remote file globbing is more efficient.
3083 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
3084 gathering the files and attributes within a directory.
3086 * eshell/em-unix.el (eshell/cat): If any of the files passed on
3087 the command line is a special file (not a regular file, directory
3088 or symlink), always attempt to call the external version of cat.
3090 2000-09-13 John Wiegley <johnw@gnu.org>
3092 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
3093 Eshell-friendly version of find-tag.
3095 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
3097 * image-file.el (image-file-name-extensions)
3098 (image-file-name-regexps): Add autoload cookies.
3100 2000-10-13 Kenichi Handa <handa@etl.go.jp>
3102 * international/mule-cmds.el (select-safe-coding-system): If FROM
3103 is string, show it in *Warning* buffer.
3105 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
3107 * startup.el (normal-top-level): Use display-popup-menus-p instead
3109 (command-line): Use display-graphic-p instead of window-system.
3110 (command-line-1): Use display-popup-menus-p and display-mouse-p
3111 instead of window-system.
3113 2000-10-12 Sam Steingold <sds@gnu.org>
3115 * tooltip.el (tooltip-use-echo-area): New user variable.
3116 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
3118 2000-10-12 Dave Love <fx@gnu.org>
3120 * recentf.el: Maintainer's checkdoc fixes.
3122 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
3123 character class, not ASCII when matching file names.
3124 (fancy-splash-head): Add trailing slash to URL.
3125 (command-line): Don't require XPM support for toolbar.
3127 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
3128 (cperl-invalid-face): Revert last change.
3129 (cperl-init-faces): Quote cperl-invalid-face.
3131 2000-10-12 Kenichi Handa <handa@etl.go.jp>
3133 * startup.el (fancy-splash-text): Remove superfluous quote.
3135 2000-10-12 Gerd Moellmann <gerd@gnu.org>
3137 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
3138 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
3139 (command-line-1): Don't use fancy-splash-pending-command.
3140 (fancy-splash-screens-1): Goto point-min after inserting text.
3142 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
3144 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
3145 instead of shared-lisp-mode-map.
3147 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
3149 * faces.el (header-line): Change tty-variant to use underlining.
3151 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
3152 (isearch-highlight): Restore lazy-isearch face properties at old
3153 position, and suppress them at new position.
3154 (isearch-dehighlight): Restore lazy-isearch face properties.
3155 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
3156 over the real isearch overlay, but in that case, don't give it a
3157 face property. Use `push'.
3159 2000-10-12 Kenichi Handa <handa@etl.go.jp>
3161 * man.el (Man-getpage-in-background): Fix previous change.
3162 Decode the process output only when we are in multibyte mode.
3164 2000-10-11 Dave Love <fx@gnu.org>
3166 * info.el (Info-mode-menu): Fix some help.
3167 (info-tool-bar-map): Add entry for Info-last.
3169 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
3170 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
3171 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
3172 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
3173 * toolbar/search-replace.xpm, toolbar/exit.xpm:
3174 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
3175 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
3176 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
3177 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
3178 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
3179 Reduce colour requirements to 25 overall. (Probably wants
3180 revisiting from the originals to reduce further.)
3182 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
3184 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
3185 buffer-file-coding-system, instead of raw-text.
3186 (dehexlify-buffer): Bind coding-system-for-read to
3187 buffer-file-coding-system, instead of raw-text.
3189 2000-10-11 Sam Steingold <sds@gnu.org>
3191 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
3192 `underline' - fixes the bug introduced on 2000-09-21.
3194 2000-10-11 Dave Love <fx@gnu.org>
3196 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
3198 (scheme-mode): Doc fix.
3199 (scheme-font-lock-keywords-1): Match `define-syntax'.
3201 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
3203 * faces.el (frame-set-background-mode): Pay attention to saved
3204 face specs as well as default ones. Only do anything if the
3205 bg-mode or display-type has actually changed. Use `dolist'.
3206 (region): Make dark-background `region' face less in-your-face.
3208 2000-10-10 Sam Steingold <sds@gnu.org>
3210 * chistory.el, ielm.el, ledit.el:
3211 * progmodes/inf-lisp.el, progmodes/scheme.el:
3212 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
3214 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
3216 * textmodes/texinfo.el: Update copyright and fix typo.
3218 * desktop.el (desktop-modes-not-to-save): New var.
3219 (desktop-save-buffer-p): Use it.
3220 Also, obey desktop-buffers-not-to-save even for non-file buffers.
3221 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
3223 2000-10-10 Dave Love <fx@gnu.org>
3225 * toolbar/tool-bar.el (tool-bar-add-item)
3226 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
3229 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
3230 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
3231 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
3232 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
3233 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
3234 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
3235 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
3236 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
3237 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
3238 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
3239 the .xpms; probably need retouching.
3241 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
3243 * subr.el (add-to-list): Add optional argument APPEND.
3244 * battery.el (display-battery): Use `add-to-list'.
3246 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
3248 * play/zone.el (zone-timer, zone-wc-tbl): Rework
3249 these vars as symbol properties.
3250 (zone, zone-when-idle, zone-leave-me-alone)
3251 (zone-pgm-whack-chars): Use new symbol properties.
3253 * battery.el (display-battery): Doc spelling fix.
3255 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
3258 2000-10-09 Dave Love <fx@gnu.org>
3260 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
3261 has been initialized before calling tool-bar-setup.
3262 (tool-bar-add-item-from-menu): Add autoload cookie.
3264 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
3266 * menu-bar.el (send-mail-item-name): New function.
3267 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
3268 of mail-user-agent in the menu. Don't display the "Send Mail"
3269 item if mail-user-agent is nil or its value is ignore.
3270 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
3271 if read-mail-command is nil or its value is ignore.
3273 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
3275 2000-10-09 Miles Bader <miles@gnu.org>
3277 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
3279 * toolbar/left_arrow.xpm: Correct image size.
3281 * jka-compr.el: Don't call `jka-compr-install' when loading (it
3282 will be done by the definition of `auto-compression-mode' if
3283 necessary. Move code to uninstall existing file-name handler
3284 before definition of `auto-compression-mode'.
3286 * image-file.el (auto-image-file-mode): Move to the end of the
3287 file, because `define-minor-mode' actually calls the mode-function
3288 if the associated variable is non-nil, which requires that all
3289 needed functions be already defined.
3291 * mouse.el (popup-menu): Balance parens.
3293 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
3295 * mouse.el (popup-menu): Move the command call outside the loop
3296 so that popup-menu returns whatever the command returns.
3298 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
3299 (initialize-new-tags-table): Use run-hook-with-args-until-success.
3300 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
3301 (tags-table-format-functions): Renamed from tags-table-format-hooks.
3303 * vc.el (vc-version-diff): diff-switches can be a list.
3304 Use relative filenames for prettier output.
3306 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
3307 (vc-post-command-functions): Remove old-VC compatibility code.
3309 * newcomment.el (comment-indent-default): Autoload.
3311 * font-lock.el (font-lock-defaults): Make buffer-local.
3312 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
3313 (font-lock-choose-keywords):
3314 Ignore LEVEL unless KEYWORDS is a list of syms.
3315 (c-keywords, c++-keywords, objc-keywords, java-keywords):
3316 Don't wrap regexp-opt things in \(...\) unnecessarily.
3318 * jit-lock.el: Don't require font-lock any more.
3319 (jit-lock-functions): Make buffer-local.
3320 (jit-lock-saved-fontify-buffer-function): Remove.
3321 (jit-lock-mode): Remove autoload cookie.
3322 Remove font-lock specific code.
3323 (jit-lock-unregister): Don't bother handling complex hooks any more.
3324 (jit-lock-refontify): New function.
3325 (jit-lock-fontify-buffer): Use it.
3326 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
3327 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
3328 Add optional args START and END.
3329 Never call font-lock-fontify-region directly.
3330 (jit-lock-function, jit-lock-stealth-fontify): Use it.
3332 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
3334 2000-10-08 Dave Love <fx@gnu.org>
3336 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
3338 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
3340 * play/studly.el (studlify-region, studlify-word): Add autoload
3343 * play/morse.el (morse-region, unmorse-region): Add autoload
3346 * play/spook.el (spook-phrases-file): Use expand-file-name, not
3349 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
3350 insist on symbols starting with word syntax.
3351 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
3352 (eval-defun-1): Doc fix.
3353 (indent-sexp): Use nconc to build up indent-stack.
3355 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
3356 Gnus with little use.
3357 (mail-setup-hook): Add mail-abbrevs-setup to options.
3359 * recentf.el: Doc fixes.
3361 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
3364 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
3365 without timezone and (8) with timezone to enforce some whitespace.
3366 Simplify code somewhat.
3368 * options.el (list-options): Doc that you should use customize.
3370 * iswitchb.el (iswitchb-mode): Add :require.
3372 * info.el (Info-goto-node, Info-menu): Doc fix.
3373 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
3374 (info-tool-bar-map): New variable.
3375 (Info-mode): Use it.
3376 (Info-edit-map): Define all in defvar.
3377 (speedbar-attached-frame): Avoid compiler warning.
3379 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
3380 (global-map): Bind [tool-bar] to a filtered map.
3381 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
3382 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
3384 (tool-bar-setup): Adjust calls of tool-bar-add-item.
3386 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
3387 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
3388 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
3389 icons, except up_arrow, which is left-arrow rotated.
3391 * imenu.el (imenu-add-to-menubar): Fix last change.
3393 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
3395 * generic-x.el (rul-generic-mode): Remove eval-when-compile
3396 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
3398 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
3400 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
3401 typos in doc strings.
3403 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
3404 the doc strings how to customize Font Lock faces.
3406 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
3407 computing growth when dragging the header line.
3409 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
3411 * simple.el (kill-line): Doc fix.
3413 2000-10-08 Miles Bader <miles@gnu.org>
3415 * faces.el (secondary-selection): Make foreground visible on tty.
3417 * jka-compr.el (auto-compression-mode): Move to the end of the
3418 file, because `define-minor-mode' actually calls the mode-function
3419 if the associated variable is non-nil, which requires that all
3420 needed functions be already defined.
3421 (with-auto-compression-mode): Add autoload cookie.
3423 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
3425 * files.el (find-backup-file-name) [ms-dos]: If support for long
3426 file names is not available, behave as if version-control were set
3429 2000-10-07 Dave Love <fx@gnu.org>
3431 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
3432 (browse-url-gnome-moz): New function.
3433 (browse-url-browser-function): Use it.
3434 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
3436 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
3438 * indent.el (tab-always-indent): New var.
3439 (indent-for-tab-command): Use it.
3441 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
3442 raise an error. This way it can still default to a sane value.
3444 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
3446 * startup.el (fancy-splash-screens): Use local rather than global map.
3447 Don't use `update-menu-bindings' any more.
3448 Get rid of assumptions about keymap representation.
3450 2000-10-06 Dave Love <fx@gnu.org>
3452 * textmodes/fill.el (sentence-end-double-space)
3453 (sentence-end-without-period): Doc fix.
3454 (adaptive-fill-regexp): Purecopy.
3455 (unjustify-current-line): Use line-end-position.
3456 (fill-individual-paragraphs-prefix): Use line-beginning-position.
3458 * net/eudc-vars.el (eudc): Add :version, :link.
3460 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
3462 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
3463 Fix for define-minor-mode.
3464 (function-at-point): Alias to function-called-at-point.
3466 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
3468 * simple.el (backward-word): Doc fix.
3470 * image-file.el (image-file-name-regexp): image-file-regexps ->
3471 image-file-name-regexps.
3472 (image-file-name-extensions): Add pbm.
3474 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
3476 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
3477 and add filename to the names so that diff-mode can jump to source.
3479 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
3480 (tex-font-lock-keywords, tex-font-lock-keywords-2)
3481 (tex-font-lock-keywords-1): Remove.
3482 (font-lock-turn-on-thing-lock): Use jit-lock-register.
3483 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
3484 (font-lock-default-fontify-region):
3485 Expand beg..end correctly when just following a multiline region.
3486 (font-lock-fontify-anchored-keywords):
3487 Include the anchor text as part of the multiline.
3489 2000-10-06 Gerd Moellmann <gerd@gnu.org>
3491 * loadup.el (toplevel): Load `loaddefs' before `help' because the
3492 latter needs the autoloaded define-minor-mode macro during the
3495 * startup.el (command-line): For now, activate tool-bar-mode only
3496 if XPM images are supported.
3498 * mouse.el (mouse-drag-header-line): Don't allow resizing a
3499 window by dragging a header-line at the top of the frame; that's
3500 confusing because the header-line doesn't move.
3501 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
3502 of treating the event as a list. Some cleanup.
3504 2000-10-06 Miles Bader <miles@gnu.org>
3506 * simple.el (display-message-or-buffer): New function.
3507 (shell-command-on-region): Use `display-message-or-buffer'.
3509 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
3512 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
3513 (smbclient-prompt-regexp): Add usage note to doc string.
3514 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
3515 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
3516 Use add-hook for adding the comint filter function, and only do so
3517 if it's not already in the global hook list.
3518 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
3519 to `make-local-variable'.
3520 (nslookup-font-lock-keywords): Remove prompt entry.
3521 (nslookup): Don't set the process-filter.
3522 (finger): Exit the loop correctly when the regexps list runs out.
3523 (ftp, smbclient, smbclient-list-shares):
3524 Set the real major mode immediately, not after execing.
3525 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
3527 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
3529 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
3531 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
3533 * which-func.el (which-func-format): Remove spurious space.
3534 (which-func-mode): Don't make it permanent-local.
3535 (which-func-ff-hook): Allow which-func-maxout to be nil.
3536 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
3537 (which-func-mode): Simplify.
3538 Use post-command-idle-hook rather than post-command-hook.
3539 Go through all buffers and update their state.
3540 (which-function): Also try add-log-current-defun-function.
3542 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
3543 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
3544 Update call to with-vc-properties accordingly.
3545 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
3546 (vc-revert-buffer): More careful about window selection and deletion.
3547 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
3549 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
3550 (cvs-retrieve-revision): Reuse a pre-existing buffer.
3551 (cvs-dired-action): Change the default to quickdir.
3553 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
3554 if comment-indent-function returns nil.
3555 (comment-indent-default): New function.
3556 (comment-indent-function): Use it and document the new semantics.
3558 * image-file.el: Docstring fixes.
3560 * help.el (help-xref-on-pp): Use match-string.
3561 (describe-variable): New arg BUFFER.
3562 Store the current buffer in the help-xref-stack.
3563 (temp-buffer-resize-mode): Use define-minor-mode.
3565 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
3566 consistently with its docstring.
3567 Set jit-lock-first-unfontify-pos in an idempotent way.
3568 (jit-lock-register): Autoload and add arg CONTEXTUAL.
3570 2000-10-05 Alex Schroeder <alex@gnu.org>
3572 * sql.el (sql-mysql-options): New variable.
3573 (sql-mysql): Use it.
3575 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
3577 * image.el (image): New group.
3579 * smerge-mode.el (smerge-mine-face, smerge-other-face)
3580 (smerge-base-face, smerge-markers-face): Add dark-background variants.
3582 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
3584 * net/net-utils.el (nslookup-font-lock-keywords)
3585 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
3586 Ignore the value of wqindow-system; always define keywords
3588 2000-10-05 Kenichi Handa <handa@etl.go.jp>
3590 * startup.el (fancy-splash-screens): Remove the code for
3591 debugging; `(trace-to-stderr "EXITTT\n")'.
3593 2000-10-05 Miles Bader <miles@gnu.org>
3595 * diff-mode.el (diff-goto-source): Update call to
3596 `diff-hunk-status-msg' to reflect new REV variable.
3598 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
3600 * progmodes/icon.el (icon-mode):
3601 Don't gratuitously override the default for comment-column.
3603 * vc-hooks.el (vc-mode-line): Fix interactive spec.
3605 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
3606 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
3607 (jit-lock-functions): New var.
3608 (jit-lock-function-1): Use it if non-nil.
3609 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
3610 Set the `fontified' property before doing the fontification to avoid
3611 repeatedly going through the same error.
3612 Don't turn errors into messages.
3613 (jit-lock-register, jit-lock-unregister): New functions.
3615 * dired.el (dired-mark-pop-up): Turn comment into docstring.
3616 Use with-current-buffer.
3618 * dired-aux.el (dired-do-create-files, dired-kill-tree):
3619 Turn comment into docstring.
3621 * apropos.el (apropos-mode): Use define-derived-mode.
3623 2000-10-04 Gerd Moellmann <gerd@gnu.org>
3625 * startup.el (fancy-splash-pending-command): New variable.
3626 (fancy-splash-pre-command): New function.
3627 (fancy-splash-screens): Rewritten.
3628 (command-line-1): If fancy-splash-pending-command is set, call it
3631 2000-10-04 Dave Love <fx@gnu.org>
3633 * toolbar/tool-bar.el (tool-bar-setup): New function.
3634 (tool-bar-mode): Use it.
3636 * subr.el (substitute-key-definition): Doc fix.
3637 (play-sound-file): New command.
3639 2000-10-04 Andre Spiegel <spiegel@gnu.org>
3641 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
3642 vc-version-backup-file-name): New functions.
3644 * files.el (basic-save-buffer): Call vc-before-save before saving.
3646 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
3647 vc-cvs-stay-local-p.
3649 * vc.el (vc-revert-buffer): Handle empty diff properly.
3650 (vc-version-backup-file): New function.
3651 (vc-checkout): Create a version backup if necessary.
3652 (vc-checkin): If a version backup file exists, delete it.
3653 (vc-version-diff): Diff locally using version backups, if available.
3654 (vc-revert-file): If there's a version backup, revert locally.
3655 (vc-transfer-file): Use version backup for base version, if
3656 available. If not, ask for confirmation whether to get it from the
3657 server. Update mode line before check-in.
3659 2000-10-04 Dave Love <fx@gnu.org>
3661 * toolbar/tool-bar.el (tool-bar-setup): New function.
3662 (tool-bar-mode): Use it.
3664 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
3666 * net/net-utils.el (nslookup-font-lock-keywords)
3667 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
3668 Only set if window-system is non-nil
3669 (net-utils-run-program): Returns buffer.
3670 (network-connection-reconnect): Added this function.
3673 Incorporates extensive cleanup and docfixes by
3674 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
3675 Uses cl compile-time macros.
3676 (generic-mode-name, generic-comment-list)
3677 (generic-keywords-list, generic-font-lock-expressions)
3678 (generic-mode-function-list, generic-mode-syntax-table):
3680 (generic-mode-alist): Renamed to generic-mode-list.
3681 (generic-find-file-regexp): Default changed to "^#".
3682 (generic-read-type): Uses completing read on generic-mode-list.
3683 (generic-mode-sanity-check): removed this function.
3684 (generic-add-to-auto-mode): Removed this function
3685 (generic-mode-internal): Bind mode-specific definitions
3686 into function instead of putting them in alist.
3687 (generic-mode-set-comments): Reworked extensively.
3688 (generic-mode-find-file-hook): Simplified regexp searching
3689 (generic-make-keywords-list): Omit extra pair of parens
3691 * find-lisp.el (find-lisp-find-files-internal):
3692 Make sure directory name ends with "/".
3694 * generic-x.el (apache-conf-generic-mode):
3695 Regexp now allows leading whitespace.
3696 (rc-generic-mode): Added eval-when-compile
3697 around generic-make-keywords-list.
3698 Deleted duplicate regexp
3699 (rul-generic-mode): Added eval-when-compile
3700 around generic-make-keywords-list.
3701 (etc-fstab-generic-mode): New generic mode.
3702 (rul-generic-mode): Removed one eval-when-compile
3703 which caused a max-specpdl-size exceeded error.
3705 2000-10-04 Miles Bader <miles@gnu.org>
3707 * simple.el (minibuffer-temporary-goal-position): New variable.
3708 (next-history-element): Try to keep the position of point in the
3709 input string constant.
3711 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
3712 (dired-do-create-files): If there's only one file, pass it in as
3713 the DEFAULT arg to dired-mark-read-file-name.
3715 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
3717 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
3718 (diff-goto-source): Be smarter when choosing REVERSE or not.
3720 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
3721 (texinfo-mode-menu): Add an explicit shortcut for update all.
3723 2000-10-03 Andre Spiegel <spiegel@gnu.org>
3725 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
3726 factorize backend-specific code cleanly (this was essentially
3727 conceived by Stefan Monnier).
3728 (vc-unregister): Function removed.
3729 (vc-revert-file): New function.
3730 (vc-revert-buffer): Delegate some of the work to it.
3732 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
3733 default branch unconditionally.
3734 (vc-rcs-set-default-branch): New function.
3735 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
3736 (vc-rcs-checkin): If an appropriate default branch has been set,
3737 force creation of that branch.
3738 (vc-rcs-receive-file): Rewritten to contain only backend-specific
3739 code (as suggested by Stefan Monnier).
3741 2000-10-02 Gerd Moellmann <gerd@gnu.org>
3743 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
3744 highlighting overlay with a different face over the overlay
3745 isearch uses to highlight the current match because that can lead
3746 to bad face combinations.
3748 * loadup.el (toplevel): Load faces before isearch.
3750 * isearch.el (isearch-faces): New custom group.
3751 (isearch): New defface; was already tested for in the code.
3752 (isearch-lazy-highlight-face): Changed to defface from defcustom.
3753 (isearch-highlight): Always use face `isearch'.
3755 2000-10-02 Dave Love <fx@gnu.org>
3757 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
3758 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
3759 comparison of opcode with operand.
3761 2000-10-03 Miles Bader <miles@gnu.org>
3763 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
3764 buffer, since the echo area will now grow to accommodate them.
3766 2000-10-02 Andre Spiegel <spiegel@gnu.org>
3768 * vc-hooks.el (vc-registered): If FILE used to be registered under
3769 a certain backend, try that one first.
3771 * vc.el (vc-responsible-backend): Undo the previous change in the
3772 argument list. Handle multiple backends correctly.
3773 (vc-find-new-backend): Function removed.
3774 (vc-register): Use vc-responsible-backend, as before.
3775 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
3777 2000-10-02 Gerd Moellmann <gerd@gnu.org>
3779 * startup.el (fancy-splash-head): Change message below the
3782 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
3784 * diff-mode.el (diff-goto-source): Emit a status message.
3785 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
3786 (diff-test-hunk): Fix doc string.
3787 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
3788 (diff-advance-after-apply-hunk): New variable.
3789 (diff-apply-hunk): Don't return a value.
3791 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
3793 * vc.el (vc-editable-p): Minor optimization.
3794 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
3795 (vc-find-new-backend): New function split from vc-responsible-backend.
3796 (vc-register): Use it.
3797 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
3798 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
3799 (vc-default-unregister, vc-revert-buffer): Docstring fix.
3800 (vc-clear-headers): Don't use find-file.
3801 (vc-revert-buffer): Use `and' again (must have been a braino).
3802 (vc-switch-backend): Only prompt if requested.
3803 Short circuit if nothing is to be done.
3804 Don't use vc-resynch-buffer which could lose unsaved editing.
3805 (vc-default-receive-file): Update call to vc-unregister.
3806 (with-vc-file, vc-next-action-on-file):
3807 Use vc-backend rather than vc-registered.
3808 (vc-next-action-on-file): Use intern-soft.
3809 Deal with read-only *vc-diff* buffer.
3810 (vc-transfer-file): Docstring fix.
3812 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
3813 (vc-rcs-receive-file): Avoid with-vc-properties.
3814 Update call to vc-unregister.
3815 Use constant `RCS' rather than (dynamically bound) var `backend'.
3817 2000-10-01 Andre Spiegel <spiegel@gnu.org>
3819 * vc.el (vc-next-action-on-file): Update mode line only if file
3821 (vc-start-entry): New argument initial-contents. Don't visit the file
3822 if it isn't already visited. Brought documentation up-to-date.
3823 (vc-next-action, vc-register): Updated calls to vc-start-entry.
3824 (vc-checkin): New optional arg initial-contents, which is passed to
3826 (vc-finish-logentry): Make sure to bury log buffer only if there
3827 really is one. Call `vc-resynch-buffer' on log-file, not
3829 (vc-default-comment-history, vc-default-wash-log): New functions.
3830 (vc-index-of): Removed.
3831 (vc-transfer-file): Make do without the above.
3832 (vc-default-receive-file): Call comment-history unconditionally. Pass
3833 the resulting string to vc-checkin, instead of inserting it into the
3836 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
3837 unconditionally. Use the comments as initial contents of the log
3838 entry buffer. Document the trick to force branch creation with no
3841 2000-10-01 Miles Bader <miles@gnu.org>
3843 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
3844 `recenter' with an arg to prevent redrawing the display.
3846 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
3848 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
3850 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
3852 * progmodes/c-mode.el (c-mode):
3853 Don't gratuitously override the default for comment-column.
3855 * textmodes/tex-mode.el (latex-metasection-list): New var.
3856 (latex-imenu-create-index): Use it.
3857 Move the regexp construction outside loops (and use push).
3858 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
3859 (tex-font-lock-keywords): Moved from font-lock.el.
3860 (tex-comment-indent): Remove.
3861 (tex-common-initialization): Don't set comment-indent-function.
3862 (latex-block-default): New var.
3863 (tex-latex-block): Use it to provide a default choice.
3864 Add any unknown choice to latex-block-names.
3865 Insert [...] after {...}.
3866 (tex-last-unended-begin): Simplify regexp.
3867 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
3868 (latex-forward-sexp-1, latex-forward-sexp): New functions.
3869 (latex-mode): Set forward-sexp-function.
3871 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
3872 Add regexp for @ignore ... @end ignore.
3873 (texinfo-heading-face): New face.
3874 (texinfo-font-lock-keywords): Use it.
3875 (texinfo-mode-menu): New menu.
3876 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
3878 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
3879 (texinfo-section-types-regexp, texinfo-section-level-regexp)
3880 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
3882 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
3884 * delsel.el (delete-selection-mode): Use define-minor-mode.
3886 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
3888 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
3890 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
3892 2000-09-30 Gerd Moellmann <gerd@gnu.org>
3894 * replace.el (keep-lines-read-args): New function.
3895 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
3896 read arguments interactively. Add parameters RSTART and REND.
3897 Operate on the active region in Transient Mark mode.
3899 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
3901 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
3902 (authors-obsolete-files-regexps): New variable.
3903 (authors-add): Don't record changes in obsolete files.
3905 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
3907 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
3909 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
3910 (comment-indent): Make sure there's a space between code and comment.
3911 Shift comments left to avoid going past fill-column.
3913 2000-09-29 Gerd Moellmann <gerd@gnu.org>
3915 * startup.el (startup-echo-area-message): New function.
3916 (display-startup-echo-area-message): Use it.
3917 (fancy-splash-screens): Rewritten to use keymaps and a timer.
3918 (fancy-splash-default-action): New function.
3919 (fancy-splash-screens-1): New function.
3920 (fancy-splash-head): Put a help-echo and a keymap under the image.
3922 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
3924 * diff-mode.el (diff-add-log-file-name): Remove.
3925 (diff-mode): Use add-log-buffer-file-name-function.
3927 * add-log.el (find-change-log): New arg BUFFER-FILE.
3928 (add-log-file-name): Obey add-log-file-name-function.
3929 (add-log-buffer-file-name-function): New var.
3930 (add-change-log-entry): Use it.
3932 2000-09-29 Miles Bader <miles@gnu.org>
3934 * image-file.el (image-file-name-extensions): New variable.
3935 (image-file-name-regexps): Renamed from `image-file-regexps'.
3936 New default value is nil. Call `auto-image-file-mode'.
3937 (image-file-name-regexp): New function.
3938 (auto-image-file-mode): New minor mode.
3939 (insert-image-file): Don't make conditional on the image-file
3940 handler being enabled.
3941 (image-file-handler): Make the call here conditional instead.
3942 (set-image-file-handler-enabled, enable-image-file-handler)
3943 (disable-image-file-handler): Functions removed.
3945 * emacs-lisp/authors.el (authors-print): Rephrase many-files
3948 2000-09-29 Gerd Moellmann <gerd@gnu.org>
3950 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
3951 it's a function from CL.
3952 (latex-imenu-create-index): Replace eval-when-compile with progn
3953 because latex-section-alist is not bound while compiling.
3955 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
3957 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
3958 (outline-mode): Use define-derived-mode.
3960 * progmodes/perl-mode.el (perl-mode):
3961 * progmodes/awk-mode.el (awk-mode):
3962 * progmodes/asm-mode.el (asm-mode):
3963 Don't gratuitously override the default for comment-column.
3965 * emacs-lisp/lisp.el (lisp-complete-symbol):
3966 Distinguish the let-binding case from the funcall case.
3967 (forward-sexp-function): New variable.
3968 (forward-sexp): Use it.
3970 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
3971 (easy-mmode-defmap): Remove the now useless autoload.
3973 * time.el (display-time-mode): Use define-minor-mode.
3975 * subr.el (add-minor-mode): Don't eval NAME.
3976 Don't depend on the presence of TOGGLE-FUN for any special behavior.
3977 Use if rather than cond.
3979 * simple.el (read-expression-map): Define more properly.
3980 (comment-indent-hook): Remove.
3981 (string-to-syntax): Bug fix.
3983 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
3984 (cvs-ediff-diff): Fix typo.
3985 (cvs-revert-if-needed): Don't bother preserving read-only.
3987 * paren.el (show-paren-mode): Use define-minor-mode.
3989 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
3990 (toggle-auto-compression): Remove.
3991 (jka-compr-build-file-regexp): Remove useless grouping.
3993 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
3994 Avoid user-reserved bindings.
3995 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
3996 (diff-header-face): Revert to grey85.
3998 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
4000 * complete.el (partial-completion-mode) <defcustom>: Remove.
4001 (partial-completion-mode): Use define-minor-mode.
4002 (PC-do-completion): Understand `completion-auto-help = delay'
4003 to mean to popup the completion buffer only the second time.
4004 (PC-include-file-all-completions, PC-include-file-all-completions)
4005 (PC-include-file-all-completions): Don't quote lambda.
4007 * comint.el (comint-mode-hook): Docstring fix.
4008 (comint-mode): Use define-derived-mode.
4009 (comint-mode-map): Remove obsolete comment.
4010 (make-comint): Minor stylistic change.
4011 (comint-insert-clicked-input): Be more careful to find the overlay.
4012 Use this-command-keys rather than hardcoding mouse-2.
4014 * font-lock.el: Replace confusing (,@ with ,
4015 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
4016 Don't use regexp-opt-depth. Spice up the regexp for args.
4017 Don't distinguish between cmds that can take an opt arg or not.
4018 Use `append' and `prepend' rather than `keep'.
4020 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
4021 (latex-outline-regexp): New var.
4022 (latex-outline-level): New fun.
4023 (latex-section-alist): New var.
4024 (latex-imenu-create-index): Use it. Use `push' as well.
4025 (tex-shell-map): Initialize it properly.
4026 (tex-mode): Minor stylistic change.
4027 (plain-tex-mode): Use define-derived-mode.
4028 (latex-mode): Use define-derived-mode.
4029 Construct the paragraph regexps in a more readable way.
4030 Set the buffer-local outline-{level,regexp} vars.
4031 (slitex-mode): Derive from latex-mode.
4032 (tex-common-initialization): Don't kill-all-vars anymore.
4033 Add setting for comment-add and font-lock-defaults.
4034 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
4035 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
4036 (tex-start-tex): New arg DIR (and send a chdir command for it).
4037 Also display the shell buffer and save it in tex-last-buffer-texed.
4038 (tex-region): Use expand-file-name rather than concat.
4039 Remove code made useless by changes in tex-start-tex.
4040 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
4042 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
4044 2000-09-28 Dave Love <fx@gnu.org>
4046 * eshell/eshell.el (eshell) <defgroup>: Add :version.
4048 2000-09-28 Gerd Moellmann <gerd@gnu.org>
4050 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
4053 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
4055 * info.el (Info-extract-pointer): Undo last change.
4056 Instead, fix the position of the `bound' arg to re-search-backward.
4058 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
4060 * info.el (Info-extract-pointer):
4061 Widen more carefully, to avoid finding pointers in other nodes.
4062 (Info-index): Use push.
4064 2000-09-27 Gerd Moellmann <gerd@gnu.org>
4066 * frame.el (set-frame-font): Remove call to obsolete function
4068 (set-foreground-color, set-background-color): Likewise for
4069 frame-update-face-colors.
4071 2000-09-27 Miles Bader <miles@gnu.org>
4073 * image-file.el: New file.
4075 2000-09-27 Gerd Moellmann <gerd@gnu.org>
4077 * frame.el (frame-notice-user-settings): Don't call
4078 frame-update-faces, which is a no-op now.
4080 * ediff-wind.el (ediff-control-frame-parameters): Add zero
4083 2000-09-27 Dave Love <fx@gnu.org>
4085 * mouse.el: Fix last change.
4087 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
4089 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
4091 2000-09-22 Kenichi Handa <handa@etl.go.jp>
4093 * international/quail.el (quail-help): The output message is
4096 2000-09-26 Dave Love <fx@gnu.org>
4098 * mouse.el (popup-menu): If POSITION is nil, set it using
4101 2000-09-25 Sam Steingold <sds@gnu.org>
4103 * net/browse-url.el (browse-url-file-url): Check for null maps.
4105 2000-09-26 Gerd Moellmann <gerd@gnu.org>
4107 * frame.el (frame-notice-user-settings): Don't add a
4108 tool-bar-lines frame parameter to default-frame-alist in batch mode.
4110 * frame.el (frame-notice-user-settings):
4111 Make tool-bar-mode and default-frame-alist consistent.
4113 * toolbar/tool-bar.el (tool-bar-help): New function.
4115 2000-09-25 Gerd Moellmann <gerd@gnu.org>
4117 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
4118 current-load-list in top-level forms. Else this leaks a cons cell
4119 every time a defun is called.
4121 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
4123 2000-09-25 Dave Love <fx@gnu.org>
4125 * startup.el (fancy-splash-head): Check XPM is available.
4127 * autoinsert.el (auto-insert): Doc fix.
4128 (auto-insert-alist): Following GNU notices, don't say `copyright
4129 _by_'. Use line-beginning-position.
4130 (auto-insert): Check buffer-file-name is non-nil before use.
4132 2000-09-25 Gerd Moellmann <gerd@gnu.org>
4134 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
4135 starting with `@def' or `@multitable', in addition to ones
4136 specified by the user in auto-fill-inhibit-regexp.
4138 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
4140 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
4141 rmail-dont-reply-to-names matches the empty string.
4143 2000-09-25 Gerd Moellmann <gerd@gnu.org>
4145 * startup.el (command-line-1, fancy-splash-text): Change the
4146 text to sound more friendly.
4148 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
4150 * progmodes/hideshow.el: Update author email address.
4151 Generally, sync w/ maintainer version 5.22.
4152 (hs-hide-all-non-comment-function): New var.
4153 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
4154 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
4155 (hs-show-region): Delete this command.
4156 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
4158 2000-09-22 Dave Love <fx@gnu.org>
4160 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
4161 (hl-line-highlight): Specify buffer when moving overlay.
4163 * progmodes/fortran.el (fortran-mode): Locally set
4164 normal-auto-fill-function.
4165 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
4166 (fortran-mode-map): Adjust auto-fill menu entry.
4168 2000-09-22 Gerd Moellmann <gerd@gnu.org>
4170 * vc-rcs.el (toplevel): Require `vc' when compiling.
4172 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
4174 2000-09-22 Andre Spiegel <spiegel@gnu.org>
4176 * vc.el (vc-switch-backend): Signal an error if the file is not
4177 registered under the new backend.
4179 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
4180 without explicit revision number.
4182 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
4184 * diff-mode.el (diff-file-header-face): Reset to its previous value.
4185 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
4186 (diff-xor): New function.
4187 (diff-find-source-location): Use it. Fix a stupid name clash.
4188 (diff-hunk-status-msg): New function.
4189 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
4190 (diff-test-hunk): Use diff-find-source-location.
4191 (diff-goto-source): Favor the `reverse'.
4192 (diff-hunk-text): Properly handle one-sided context diffs.
4193 (diff-apply-hunk): When done, advance to the next hunk.
4195 2000-09-21 Gerd Moellmann <gerd@gnu.org>
4197 * startup.el (command-line): If frame was created with a non-zero
4198 tool-bar-lines parameter, switch tool-bar-mode on.
4200 * add-log.el (change-log-date-face, change-log-name-face)
4201 (change-log-email-face, change-log-file-face)
4202 (change-log-list-face, change-log-conditionals-face)
4203 (change-log-function-face, change-log-acknowledgement-face):
4204 New faces, inheriting from font-lock faces.
4205 (change-log-font-lock-keywords): Use them.
4207 2000-09-21 Dave Love <fx@gnu.org>
4209 * progmodes/cperl-mode.el (top-level): Clean up
4210 `eval-when-compile's and assorted defvars.
4211 (cperl-invalid-face): Don't double-quote value. Change custom
4213 (cperl-mode): Set normal-auto-fill-function and don't zap
4215 (cperl-imenu--function-name-regexp-perl): Renamed from
4216 imenu-example--function-name-regexp-perl.
4217 (cperl-imenu--create-perl-index): Renamed from
4218 imenu-example--create-perl-index.
4219 (cperl-xsub-scan): Don't require cl.
4221 * msb.el (msb-mode-map): Use substitute-key-definition.
4222 (msb-mode): Use msb-mode-map.
4224 2000-09-21 Andre Spiegel <spiegel@gnu.org>
4226 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
4228 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
4229 (vc-switch-backend): New function.
4230 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
4231 (vc-register): Fix prompt.
4232 (vc-unregister, vc-default-unregister): New functions.
4233 (vc-version-diff): Handle empty buffer in sentinel.
4235 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
4236 (vc-rcs-state-heuristic): Use it to guess the state of files with
4238 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
4239 been set with -b, but not created yet.
4240 (vc-rcs-fetch-master-state): With non-strict locking, compare file
4241 contents in order to find the state.
4242 (vc-rcs-checkin): Allow creation of branches with no changes.
4243 (vc-rcs-unregister, vc-rcs-receive-file)
4244 (vc-rcs-set-non-strict-locking): New functions.
4246 * vc-hooks.el (vc-name): Force correct computation of the value
4247 in case it is missing.
4249 2000-09-21 Gerd Moellmann <gerd@gnu.org>
4251 * startup.el (fancy-splash-tail): Use a different foreground
4252 color on a dark frame background.
4254 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
4256 * info.el: Use the correct capitalization when making Info-mode
4257 and Info-edit-mode `special' modes.
4259 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
4261 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
4262 (diff-mode): Add support for add-log.el.
4263 (diff-hunk-text): Use char offsets rather than line offsets.
4264 (diff-find-source-location): Replace LINE with line-offset (nil
4265 if not found) and always set POS to a meaningful position.
4266 Adapt to the new char-offsets.
4267 (diff-apply-hunk): Drop support for the unused `select' POPUP.
4268 Adapt to the new diff-find-source-location.
4269 (diff-goto-source): Adapt to the new diff-find-source-location.
4271 * add-log.el (add-log-file-name): New function (split out of
4272 add-change-log-entry).
4273 (add-change-log-entry): Use it.
4274 Call add-log-file-name-function with the changelog file name if
4275 the current buffer is not associated with any file.
4276 Avoid find-file if the selected window is dedicated.
4278 * diff-mode.el (diff-find-source-location):
4279 Move code from diff-apply-hunk. Return buffer rather than file.
4280 (diff-apply-hunk): Use the new result from diff-find-source-location.
4281 (diff-goto-source): Use the new diff-find-source-location.
4283 2000-09-20 Dave Love <fx@gnu.org>
4285 * iswitchb.el: Some doc fixes.
4286 (iswitchb-mode-map): Define completely initially. Inherit
4287 minibuffer-local-map.
4288 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
4290 (iswitchb-global-map): New variable.
4291 (iswitchb-summaries-to-end): Amalgamate regexps.
4292 (iswitchb-mode): New.
4293 (iswitchb-mode-hook): New variable.
4294 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
4297 2000-09-20 Gerd Moellmann <gerd@gnu.org>
4299 * ehelp.el (electric-help): New defgroup.
4300 (electric-help-shrink-window): New user-option.
4301 (with-electric-help): Use it.
4303 * window.el (shrink-window-if-larger-than-buffer): If face
4304 `mode-line' has a :box, and we're on a graphical frame, add 1
4305 to the needed window height.
4307 * frame.el (frame-notice-user-settings): Add a last parameter nil
4308 to a call to `append', because the last list passed to `append' is
4309 not copied, and so subsequent calls to assq-delete-all will modify
4310 default-frame-alist.
4312 * startup.el (fancy-splash-image): Change :type.
4313 (fancy-splash-head): Use an XBM image if appropriate.
4314 (command-line-1): Show splash screens in more cases.
4316 * startup.el (fancy-splash-text): Don't quote faces.
4318 * dired.el (dired-font-lock-keywords): Undo last change.
4319 (dired-readin): Bind indent-tabs-mode to nil.
4321 * startup.el (fancy-splash-head): If frame's background mode
4322 is `dark', change the black background of the image to gray.
4323 (fancy-splash-screens): Display startup echo area message.
4324 (display-startup-echo-area-message): New function.
4326 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
4328 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
4330 * info.el (info-header-node): Tweak for color ttys.
4332 * faces.el (face-valid-attribute-values): Make sure directories we
4333 search for stipples both exist and are readable before trying to
4336 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
4337 in the dry-run case.
4339 * jka-compr.el (with-auto-compression-mode): New macro.
4341 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
4342 (custom-group-tag-face, custom-variable-tag-face): Use relative
4343 :height and inherit from `variable-pitch' face instead of
4345 * hi-lock.el (hi-black-hb): Likewise.
4347 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
4348 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
4349 toolbar-add-item, if image doesn't have a mask add a `:mask
4352 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
4354 * diff-mode.el: Docstring fixes.
4355 (diff-header-face, diff-comment-face): New faces.
4356 (diff-font-lock-keywords): Highlight a bit differently.
4357 (diff-find-source-location): Don't return SPAN any more.
4358 (diff-hunk-text): Don't bother erasing the temp buffer.
4359 (diff-find-text): Drop argument LINE.
4360 (diff-apply-hunk): Update calls to diff-find-text.
4361 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
4363 * calendar/calendar.el: Docstring fixes.
4364 (calendar-make-alist): Don't quote lambda.
4365 (calendar-star-date): Use make-local-variable.
4367 2000-09-19 Dave Love <fx@gnu.org>
4369 * toolbar/tool-bar.el: Renamed from toolbar.el.
4370 Change `toolbar' to `tool-bar' generally in symbols.
4371 Make some items invisible in `special' major modes.
4372 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
4375 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
4377 (fancy-splash-delay, fancy-splash-image): Remove :version here.
4379 2000-09-19 Gerd Moellmann <gerd@gnu.org>
4381 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
4383 * files.el (find-file-suppress-same-file-warnings): New user-option.
4384 (find-file-noselect): Use it.
4386 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
4387 (fancy-splash-screen): Defgroup.
4389 * add-log.el (change-log-font-lock-keywords): Match names
4390 more exactly for the case that font-lock-constant-face is
4393 2000-09-19 Richard M. Stallman <rms@gnu.org>
4395 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
4397 2000-09-19 Andre Spiegel <spiegel@gnu.org>
4399 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
4401 2000-09-19 Gerd Moellmann <gerd@gnu.org>
4403 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
4404 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
4405 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
4406 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
4407 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
4408 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
4409 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
4410 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
4411 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
4412 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
4413 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
4414 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
4416 * startup.el (fancy-splash-text): New variable.
4417 (fancy-splash-delay, fancy-splash-image): New user-options.
4418 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
4419 (fancy-splash-screens): New functions.
4420 (command-line-1): If display has a `display' frame parameter, has
4421 colors, and we have XPM support, show more fancy splash screens.
4423 2000-09-19 Dave Love <fx@gnu.org>
4425 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
4426 with null `help'. Use modern backquote syntax.
4428 2000-09-19 Gerd Moellmann <gerd@gnu.org>
4430 * font-lock.el (font-lock-mode): Change message telling the user
4431 that ``the buffer is too big''.
4433 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
4434 for instance for the case that tab-width is 2.
4436 2000-09-18 Gerd Moellmann <gerd@gnu.org>
4438 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
4439 toolbar-add-item, if image doesn't have a mask add a `:mask
4442 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
4444 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
4445 and return a cons if it's non-nil.
4446 (diff-apply-hunk): Try to jump to the line in the source text
4447 corresponding to the position of point in the in the hunk.
4449 * info.el (Info-title-3-face, Info-title-2-face)
4450 (Info-title-1-face): Use face inheritance and relative sizes
4451 instead of hard-wiring things.
4453 * faces.el (secondary-selection): Make dark-background variant sane.
4455 2000-09-16 Andrew Innes <andrewi@gnu.org>
4457 * makefile.w32-in (compile-files-CMD): No need to make .elc files
4458 read-only, since they aren't under VC now.
4460 2000-09-17 Dave Love <fx@gnu.org>
4462 * tmm.el: Replace mapcar with mapc in several places.
4464 * loadhist.el (unload-feature): Maybe call elp-restore-list and
4467 * international/latin1-disp.el: New file.
4469 * calendar/cal-move.el (scroll-calendar-left)
4470 (scroll-calendar-right): Make arg optional (for active mode line).
4472 * calendar/calendar.el (calendar-mode-line-format): Make fields
4474 (calendar-read-date, calendar-read-date, calendar-window-list):
4476 (calendar-month-name): Use aref, not sref.
4478 * view.el (minor-mode-alist): Propertize the string.
4480 * international/characters.el (standard-case-table): Add entries
4483 2000-09-18 Miles Bader <miles@gnu.org>
4485 * info.el (info-node, info-xref): Add dark-background variants.
4487 * faces.el (header-line): Change defaults to be less confusing
4488 when mixed with mode-lines.
4490 * info.el (Info-fontify-node): Make a few cleanups.
4491 Add extra `help-echo' and `local-map' props to node xrefs.
4492 Use header-specific faces for node-names & xrefs.
4493 (Info-use-header-line): New variable.
4494 (info-header-xref, info-header-node): New faces.
4495 (Info-setup-header-line): New function.
4496 (Info-select-node): Call Info-setup-header-line when enabled.
4497 (Info-extract-pointer): Work even if the header line is hidden.
4498 (Info-header-line): New variable.
4500 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
4502 * vms-patch.el (print-region-function): Don't quote lambda.
4504 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
4506 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
4507 (lm-get-header-re): Allow spaces between the header and the colon.
4508 (lm-header): Allow $ in non-RCS headers.
4509 (lm-header-multiline): Put the strings back into order.
4510 Stop at an empty line. Don't require two space chars if the
4511 line is clearly not another header line.
4513 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
4514 (popup-menu-popup): Remove.
4516 2000-09-15 Gerd Moellmann <gerd@gnu.org>
4518 * toolbar/toolbar.el (toolbar-add-item): Use the same image
4519 specification if or if not tool-bar item contains an `:enabled'
4522 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
4523 current buffer has no file name.
4525 2000-09-15 Dave Love <fx@gnu.org>
4527 * strokes.el: Sync with maintainer's current version with changes
4528 for Emacs, but avoid runtime cl and levents.
4529 (toplevel): Change autoloads and compilation requires.
4530 (strokes-version, strokes-bug-address, strokes-lift): Values
4532 (strokes-xpm-header, strokes-insinuated): New variable.
4533 (strokes): Add :link.
4534 (strokes-mode): Customized.
4535 (strokes-while-inhibiting-garbage-collector): New macro.
4536 (strokes-remassoc): Avoid remove-if.
4537 (strokes-fix-button2-command): Don't use ad-do-it.
4538 (strokes-insinuate): New function.
4539 (strokes-button-press-event-p, strokes-button-release-event-p):
4540 New functions, used instead of non-`strokes-' versions..
4541 (strokes-mouse-event-p): Rewritten.
4542 (strokes-event-closest-point): Avoid event-point.
4543 (strokes-get-grid-position): Avoid cdadr, caadr
4544 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
4546 (strokes-help): Use with-output-to-temp-buffer.
4547 (strokes-window-configuration-changed-p): New function.
4548 (strokes-update-window-configuration): Use buffer-live-p,
4549 strokes-window-configuration-changed-p.
4550 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
4551 (strokes-char-face): New face.
4552 (strokes-char-table, strokes-base64-chars): New variable.
4553 (strokes-xpm-for-stroke, strokes-list-strokes)
4554 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
4555 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
4556 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
4557 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
4558 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
4561 2000-09-15 Gerd Moellmann <gerd@gnu.org>
4563 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
4565 * image.el (create-image): Doc fix.
4567 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
4568 instead of `:heuristic-mask t'.
4570 2000-09-14 Andrew Innes <andrewi@gnu.org>
4572 * makefile.w32-in: Revert to Unix line endings.
4574 2000-09-14 Andrew Innes <andrewi@gnu.org>
4576 * makefile.w32-in: Add bootstrap support. Also copy lisp source
4579 * makefile.nt (DONTCOMPILE): Fix typo.
4581 * shell.el (shell-write-history-on-exit): New function.
4582 (shell-dumb-shell-regexp): New custom variable.
4583 (shell-mode): Make shell-write-history-on-exit the process
4584 sentinel if shell name matches shell-dumb-shell-regexp.
4586 * w32-fns.el: Comment out before-init-hook function which resets
4587 source-directory based; this breaks bootstrap.
4589 2000-09-14 Dave Love <fx@gnu.org>
4591 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
4592 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
4593 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
4594 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
4595 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
4596 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
4597 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
4598 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
4599 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
4601 * toolbar/toolbar.el: New.
4603 * subdirs.el: Add toolbar.
4605 2000-09-14 Gerd Moellmann <gerd@gnu.org>
4607 * indent.el (indent-for-tab-command): Doc fix.
4609 2000-09-14 Alex Schroeder <alex@gnu.org>
4611 * ansi-color.el (ansi-colors): Doc change.
4612 (ansi-color-get-face): Simplified regexp.
4613 (ansi-color-faces-vector): Added more faces, doc change.
4614 (ansi-color-names-vector): Doc change.
4615 (ansi-color-regexp): Simplified regexp.
4616 (ansi-color-parameter-regexp): New regexp.
4617 (ansi-color-filter-apply): Doc change.
4618 (ansi-color-filter-region): Doc change.
4619 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
4620 deal with zero length parameters.
4621 (ansi-color-apply-on-region): Doc change.
4622 (ansi-color-map): Doc change.
4623 (ansi-color-map-update): Removed debugging message.
4624 (ansi-color-get-face-1): Added condition-case to trap
4625 args-out-of-range errors.
4626 (ansi-color-get-face): Doc change.
4627 (ansi-color-make-face): Removed.
4628 (ansi-color-for-shell-mode): New option.
4630 2000-09-13 Kenichi Handa <handa@etl.go.jp>
4632 * international/quail.el (quail-start-translation): Translate KEY
4633 if necessary even if it doesn't have any mapping in the current
4635 (quail-start-conversion): Likewise.
4636 (quail-help): The output message is improved.
4638 2000-09-13 Miles Bader <miles@gnu.org>
4640 * comint.el (comint-output-filter): Revert to using
4641 `insert-before-markers'. Add bletcherous hack to undo damage
4642 caused by `insert-before-markers'. Put `front-sticky' property on
4643 overlays created here so that the field code understands how the
4644 overlay works. Use a let when making comint-last-prompt-overlay,
4645 so that the code is easier to read.
4647 2000-09-13 Dave Love <fx@gnu.org>
4649 * wid-edit.el (widget-default-format-handler): DTRT when
4650 doc-property is a function.
4652 2000-09-12 Francesco Potorti` <pot@gnu.org>
4654 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
4655 filed name if it's not there.
4657 2000-09-12 Dave Love <fx@gnu.org>
4659 * simple.el (read-mail-command): Doc fix.
4660 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
4662 * vc.el (vc-dired-listing-switches): Fix :version.
4664 * vc-hooks.el: Doc fixes.
4666 * subr.el (add-minor-mode): Use toggle-fun arg.
4668 * speedbar.el: Add :version to several defcustoms.
4670 * imenu.el (imenu--truncate-items, imenu--cleanup)
4671 (imenu--generic-function): Avoid mapcar.
4672 (imenu--replace-spaces): Function removed.
4673 (imenu--completion-buffer): Use subst-char-in-string.
4674 (imenu-add-to-menubar): Use keymap inheritance.
4676 2000-09-12 Miles Bader <miles@gnu.org>
4678 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
4679 (diff-mode-map): Bind `diff-test-hunk'.
4680 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
4682 2000-09-11 Gerd Moellmann <gerd@gnu.org>
4684 * bytecomp.el (byte-compile-defvar): Undo last change
4685 because it breaks '(make-variable-buffer-local (defvar ...)'
4686 which is used at least in dired.
4688 2000-09-12 Kenichi Handa <handa@etl.go.jp>
4690 * international/quail.el (quail-define-package): Docstring
4693 2000-09-12 Kenichi Handa <handa@etl.go.jp>
4695 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
4696 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
4697 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
4698 docstring of "chinese-py".
4700 * international/quail.el (quail-translation-docstring): New
4702 (quail-show-keyboard-layout): Docstring modified.
4703 (quail-select-current): Likewise.
4704 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
4705 infinite recursive call.
4706 (quail-help): Check quail-translation-docstring. Format of the
4708 (quail-help-insert-keymap-description): Adjusted for the above
4711 2000-09-11 Gerd Moellmann <gerd@gnu.org>
4713 * bytecomp.el (byte-compile-defvar): Only cons onto
4714 current-load-list in top-level forms. Else this leaks a cons cell
4715 every time a defun is called.
4717 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
4719 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
4720 Now understands non-unified diffs. Some functionality moved into
4721 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
4722 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
4723 modify anything. Only reposition point in the patched file if the
4724 patch succeeds. Only pop up another window if POPUP is true.
4725 Emit a message describing what happened if successful, and at what
4726 line-offset. Automatically detect reversed hunks and do something
4728 (diff-hunk-text, diff-find-text): New functions.
4729 (diff-filter-lines): Function removed.
4730 (diff-test-hunk): New function.
4731 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
4733 2000-09-10 Dave Love <fx@gnu.org>
4735 * textmodes/tildify.el: Minor doc/commentary fixes.
4736 (tildify) <defgroup>: Add :version.
4738 * faces.el (face-x-resources): Make custom type more specific.
4739 (frame-background-mode): Use mapc.
4740 (region) <defcustom>: Add :version.
4742 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
4744 * vc-sccs.el (vc-sccs-register):
4745 * vc-rcs.el (vc-rcs-register):
4746 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
4747 * vc.el (vc-register): Clear file's properties.
4749 2000-09-08 Gerd Moellmann <gerd@gnu.org>
4751 * faces.el (face-spec-set): Only face-spec-reset-face when
4754 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
4756 * help.el (help-insert-xref-button): Fix a typo in doc string.
4758 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
4760 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4761 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
4764 * menu-bar.el (read-mail-item-name): New function.
4765 (menu-bar-tools-menu): Use it to compute and display the package
4767 (menu-bar-tools-menu): Fix typo in GUD's help string.
4769 2000-09-07 Dave Love <fx@gnu.org>
4771 * diff-mode.el (diff-mouse-goto-source): New function.
4773 * vc-sccs.el: Doc fixes.
4774 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
4776 * vc-rcs.el: Doc fixes.
4777 (vc-rcs-register-switches, vc-rcs-checkin-switches)
4778 (vc-rcs-checkout-switches, vc-rcs-header)
4779 (vc-rcs-master-templates): Add or change :version.
4781 * vc-cvs.el: Doc fixes.
4782 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
4783 (vc-cvs-stay-local): Add :version.
4785 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
4787 2000-09-07 Kenichi Handa <handa@etl.go.jp>
4789 * international/quail.el (quail-help): Fix previous change.
4791 2000-09-07 Gerd Moellmann <gerd@gnu.org>
4793 * faces.el (color-values): Doc fix.
4795 * faces.el (frame-set-background-mode): Use frame-parameter
4796 instead of frame-parameters.
4798 * frame.el (filtered-frame-list): Reduce consing.
4799 (frames-on-display-list): Call frame-parameter instead of
4802 2000-09-07 Kenichi Handa <handa@etl.go.jp>
4804 * language/devan-util.el (devanagari-to-indian-region): In the
4805 loop, change the following char, not preceding char.
4807 2000-09-07 Gerd Moellmann <gerd@gnu.org>
4809 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
4810 instead of frame-parameters.
4812 * faces.el (set-face-attribute): Simplify by calling
4813 internal-set-lisp-face-attribute with FRAME being 0.
4815 * vc.el: Remove `Id' version control keyword.
4817 2000-09-07 Kenichi Handa <handa@etl.go.jp>
4819 * help.el (help-make-xrefs): Adjusted for the change of
4820 help-xref-mule-regexp.
4821 (help-insert-xref-button): New function.
4823 * international/mule-cmds.el (help-xref-mule-regexp-template):
4824 Include the pattern for character set.
4827 * international/quail.el: Don't require face.
4829 (quail-other-command): Dummy command to make quail-help work better.
4830 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
4831 (quail-keyboard-layout-substitution): New variable.
4832 (quail-update-keyboard-layout): New function.
4833 (quail-keyboard-layout-type): New customizable variable.
4834 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
4835 (quail-keyboard-translate): Pay attention to
4836 quail-keyboard-layout-substitution.
4837 (quail-insert-kbd-layout): New function.
4838 (quail-show-keyboard-layout): New function.
4839 (quail-get-translation): If the definition is a vector of length
4840 1, and the element is a string of length 1, return the character
4842 (quail-update-current-translations): Fix the case of
4843 relative-index out of range.
4844 (quail-build-decode-map, quail-insert-decode-map): New Functions.
4845 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
4846 Show key sequences for all available characters.
4847 (quail-help-insert-keymap-description): Don't show such verbose
4848 key bindings as quail-self-insert-command.
4850 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4851 Format changed, and each element now have extra documentations.
4852 (tit-process-header): Delete invalid characters from TIT-PROMPT.
4853 Adjusted for the change of quail-cxterm-package-ext-info.
4855 2000-09-06 Gerd Moellmann <gerd@gnu.org>
4857 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
4858 requiring it leads to a recursive loading of vc.el and vc-hooks.el
4861 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4863 * vc.el: (toplevel): Don't require `dired' at run-time.
4864 (vc-dired-resynch-file): Remove autoload cookie.
4866 2000-09-05 Andre Spiegel <spiegel@gnu.org>
4868 * vc.el: Made several backend functions optional.
4869 (vc-default-responsible-p): New function.
4870 (vc-merge): Use RET for first version to trigger merge-news, not
4872 (vc-annotate): Handle backends that do not support annotation.
4873 (vc-default-merge-news): Removed. The existence of a merge-news
4874 implementation is now checked on caller sites.
4876 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
4879 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
4880 special case that has been removed from the default in vc-hooks.el.
4882 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4884 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
4886 2000-09-05 Andre Spiegel <spiegel@gnu.org>
4888 * vc-hooks.el: Require vc during compilation.
4889 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
4890 macro `with-vc-properties' in vc.el.
4891 (vc-file-getprop): Doc fix.
4892 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
4894 * vc.el: Require dired-aux during compilation.
4895 (vc-name-assoc-file): Moved to vc-sccs.el.
4896 (with-vc-properties): New macro.
4897 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
4898 vc-finish-steal): Use it.
4899 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
4900 to the backend-specific function is now supposed to do the checkout,
4902 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
4904 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
4905 set file properties; that gets done in the generic code now.
4907 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
4908 Changed parameter list, added code from vc.el that does the
4909 checkout, possibly with a double-take.
4911 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
4912 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
4913 the above under the new name.
4914 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
4915 parameter list, added checkout command.
4916 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
4917 properties; that gets done in the generic code now.
4919 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4921 * vc.el: Docstring fixes (courtesy of checkdoc).
4923 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
4925 * vc.el (vc-checkout-writable-buffer-hook)
4926 (vc-checkout-writable-buffer): Remove.
4927 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
4928 (vc-log-mode): Make it into a clean derived major mode.
4929 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
4930 vc-log-mode if log-edit is not available.
4931 (vc-dired-mode-map): Don't set-keymap-parent yet.
4932 (vc-dired-mode): Do set-keymap-parent here.
4933 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
4935 2000-09-05 Gerd Moellmann <gerd@gnu.org>
4937 * faces.el (set-face-attribute, face-spec-reset-face)
4938 (face-spec-set): Avoid consing by removing calls to `apply'.
4940 * frame.el (frame-parameter): Move to C code.
4942 2000-09-05 Dave Love <fx@gnu.org>
4944 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
4945 insert-before-markers-and-inherit. Now checked systematically!
4947 2000-09-05 Alex Schroeder <alex@gnu.org>
4949 * sql.el (sql-postgres): Use sql-postgres-options.
4950 (sql-postgres-options): New variable.
4952 2000-09-05 Alex Schroeder <alex@gnu.org>
4954 * sql.el (sql-mode-menu): Work around missing variable mark-active
4956 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
4957 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
4960 2000-09-04 Gerd Moellmann <gerd@gnu.org>
4962 * vc.el (vc-dired-resynch-file): Add autoload cookie.
4964 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
4966 * Makefile.in (DONTCOMPILE): Fix typo in file name.
4968 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4970 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
4971 don't support anything else under SCCS yet.
4973 * vc-hooks.el: Minor doc fixes.
4975 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4977 * vc.el (vc-next-action-on-file): Do not visit the file if it's
4978 not necessary. If verbose in state `needs-patch', do the same as
4979 under `up-to-date'. When NOT verbose and `needs-patch', check out
4980 latest version instead of `merge-news'.
4981 (vc-next-action-dired): Don't mess with default-directory here; it
4982 breaks other parts of dired. It is the job of the
4983 backend-specific functions to adjust it temporarily if they need it.
4984 (vc-next-action): Remove a special CVS case.
4985 (vc-clear-headers): New optional arg FILE.
4986 (vc-checkin, vc-checkout): Set properties vc-state and
4987 vc-checkout-time properly.
4988 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
4989 (vc-print-log): Use new backend function `show-log-entry'.
4990 (vc-cancel-version): Do the checks in a different order. Added a
4991 FIXME concerning RCS-only code.
4993 * vc-rcs.el (vc-rcs-show-log-entry): New function.
4994 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
4996 * vc-cvs.el (vc-cvs-show-log-entry): New function.
4998 * vc-hooks.el (vc-default-mode-line-string): Show state
4999 `needs-patch' as a `-' too.
5001 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5003 * vc.el (vc-responsible-backend): New optional arg REGISTER.
5004 (vc-default-could-register): New function.
5005 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
5006 (vc-resynch-buffer): Call vc-dired-resynch-file.
5007 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
5008 vc-resynch-buffer instead of vc-resynch-window.
5009 (vc-next-action-dired): Don't redisplay here, that gets done as a
5010 result of the individual file operations.
5011 (vc-retrieve-snapshot): Corrected prompt order.
5013 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
5015 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
5017 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
5018 hostname regexps. Updated all callers.
5019 (vc-cvs-responsible-p): Handle directories as well.
5020 (vc-cvs-could-register): New function.
5021 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
5022 properties up-to-date.
5024 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
5025 user whether to create one.
5027 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5029 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
5030 check out a non-existing file.
5032 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
5033 workfile does not exist.
5035 * vc.el (vc-version-diff): Use `require' to check for existence of
5038 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5040 * vc-cvs.el (vc-cvs-registered): Use new function
5041 vc-cvs-parse-entry to do the actual work.
5043 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5045 * vc-hooks.el (vc-find-backend-function): If function doesn't
5046 exist, return nil instead of error.
5047 (vc-call-backend): Doc fix.
5049 * vc.el (vc-do-command): Doc fix.
5050 (vc-finish-logentry): When checking in from vc-dired, choose the
5051 right backend for logentry check.
5052 (vc-dired-mode-map): Inherit from dired-mode-map.
5053 (vc-dired-mode): Local value of dired-move-to-filename-regexp
5055 (vc-dired-state-info): Removed, updated caller.
5056 (vc-default-dired-state-info): Use parentheses instead of hyphens.
5057 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
5058 (vc-dired-listing-switches): New variable.
5059 (vc-directory): Use it, instead of dired-listing-switches.
5061 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
5062 (vc-cvs-dir-state): New function.
5063 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
5064 (vc-cvs-parse-entry): New function, also to be used in
5067 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5069 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
5070 *or* single-window-frames.
5072 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5074 * vc.el (vc-update-changelog): Split into generic part and default
5075 implementation. Doc string adapted.
5076 (vc-default-update-changelog): New function. Call the `rcs2log'
5077 script in exec-directory, to fix a long-standing nuisance.
5079 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
5080 simply signals an error.
5082 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5084 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
5085 control-flow more clear and to avoid running `cvs' twice.
5087 * vc.el (vc-next-action-on-file): Doc fix.
5088 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
5089 (vc-print-log): Eval `file' before constructing the continuation.
5091 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5093 * vc.el (vc-next-action-on-file): Corrected several messages.
5094 (vc-merge): Add prefix arg `merge-news'; handle it.
5096 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
5097 is not reached. It is.
5098 (vc-cvs-merge): Set state to 'edited after merge.
5099 (vc-cvs-merge-news): Set workfile version to nil if not known.
5100 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
5102 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
5103 via stdout. (Merge from main line.)
5105 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5107 * vc.el (vc-finish-logentry): Thinko in the "same comment"
5110 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5112 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
5113 against kill-all-local-variables.
5114 (vc-log-edit): Don't save vc-parent-buffer any more.
5115 (vc-last-comment-match): Initialize to an empty string.
5116 (vc-post-command-functions): New hook.
5117 (vc-do-command): Run it.
5118 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
5119 (vc-finish-logentry): Only add the comment to the ring if it's
5120 different from the last comment entered.
5121 (vc-new-comment-index): New function.
5122 (vc-previous-comment): Use it. Make the minibuffer message
5123 slightly less terse.
5124 (vc-comment-search-reverse): Make it work forward as well. Don't
5125 set vc-comment-ring-index if no match is found. Use
5126 vc-new-comment-index.
5127 (vc-comment-search-forward): Use vc-comment-search-reverse.
5128 (vc-dired-mode-map): Don't inherit from dired-mode-map since
5129 define-derived-mode will do it for us. Bind `v' to a keymap that
5130 inherits from vc-prefix-map so that we can bind `vt' without
5132 (vc-retrieve-snapshot): Parenthesis typo.
5134 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
5135 to 1. Make sure to switch to *vc* before looking for an error
5136 message. Use vc-parse-buffer.
5138 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5140 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
5142 (vc-retrieve-snapshot): Split into two parts.
5143 (vc-default-retrieve-snapshot): New function.
5145 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
5146 (vc-cvs-retrieve-snapshot): New function (untested).
5147 (vc-cvs-stay-local): Default to t.
5148 (vc-cvs-remote-p): New function and property.
5149 (vc-cvs-state): Stay local only if the above is t.
5150 (vc-handle-cvs): Removed.
5151 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
5152 done via vc-handled-backends now.
5153 (vc-cvs-header): Escape Id.
5155 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5157 * vc.el (vc-do-command): Remove unused commands.
5158 (vc-version-diff): Make sure default-directory ends with a slash.
5159 Move the window commands into a vc-exec-after.
5160 (vc-print-log): Move more of the code into the `vc-exec-after'.
5162 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5164 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
5165 (vc-print-log): Search current revision from beginning of buffer.
5166 (vc-revert-buffer): Clear echo area after the diff is finished.
5167 (vc-prefix-map): Removed definition of "t" for terse display in vc
5169 (vc-dired-mode-map): Inherit from dired-mode-map. Added
5170 definition of "vt" for terse display.
5171 (vc-dired-mode): Fix dired-move-to-filename-regexp.
5173 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5175 * vc.el (vc-exec-after): Avoid caddr.
5177 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5179 * vc.el (vc-exec-after): New function.
5180 (vc-do-command): Use it to add a termination message for async
5182 (vc-checkout): Try to handle a missing-backend situation.
5183 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
5184 of a directory with a backend using async diffs.
5185 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
5188 * vc-sccs.el (vc-sccs-state-heuristic): Use
5189 file-ownership-preserved-p.
5191 * vc-rcs.el (vc-rcs-state-heuristic): Use
5192 file-ownership-preserved-p.
5193 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
5195 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5197 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
5200 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
5201 when there are no changes.
5203 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5205 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
5207 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
5209 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5211 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
5213 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
5214 the `fset' outside of the defvar so that it works even if
5215 vc-prefix-map was already defined.
5216 (vc-setup-buffer): New function, split out of vc-do-command.
5217 (vc-do-command): Allow BUFFER to be t to mean `just use the
5218 current buffer without any fuss'.
5219 (vc-version-diff): Change the `diff' backend operation to just put
5220 the diff in the current buffer without erasing it. Always use
5221 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
5222 shrink-window-if-larger-than-buffer.
5223 (vc-print-log): Change the `print-log' backend operation to just
5224 put the log in the current buffer without erasing it. Protect
5225 shrink-window-if-larger-than-buffer.
5226 (vc-update-change-log): Fix setd typo.
5228 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
5229 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
5231 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
5232 (vc-rcs-diff): Insert in the current buffer and remove unused arg
5235 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
5236 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
5237 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
5239 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5241 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
5242 not possible, use vc-BACKEND-workfile-unchanged-p.
5243 (vc-default-workfile-unchanged-p): New function. Delegates to a
5244 full vc-BACKEND-diff.
5246 * vc-hooks.el (vc-simple-command): Removed.
5248 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
5249 instead of vc-simple-command.
5250 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
5251 avoid doing a diff when opening a file.
5252 (vc-rcs-state): Added check for unlocked-changes.
5253 (vc-rcs-header): Escape Id.
5254 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
5255 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
5258 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
5259 (vc-sccs-diff): Remove optional arg CMP.
5260 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
5261 SCCS-specific function.
5263 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
5266 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5268 * vc.el (vc-editable-p): Renamed from vc-writable-p.
5269 (with-vc-file, vc-merge): Use vc-editable-p.
5270 (vc-do-command): Remove unused var vc-file and fix the
5271 doubly-defined `status' var. Add a user message when starting an
5273 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
5274 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
5275 Use with-current-buffer.
5276 (vc-buffer-sync): Use unless.
5277 (vc-next-action-on-file): If the file is 'edited by read-only,
5278 make it read-write instead of trying to commit.
5279 (vc-version-diff, vc-update-change-log): Use `setq
5280 default-directory' rather than `cd'.
5281 (vc-log-edit): Don't forget to set default-directory in the
5284 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
5285 (vc-sccs-state-heuristic): Use file-writable-p instead of
5287 (vc-sccs-checkout): Use `unless'.
5289 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
5290 of comparing userids.
5291 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
5292 Simplify the logic by eliminating unreachable code.
5293 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
5294 just do a recursive call if we need to retry.
5295 (vc-rcs-checkout): Handle the case where rcs is missing by making
5296 the buffer read-write if requested and re-signalling the error.
5298 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
5300 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5302 * vc-hooks.el (vc-handled-backends): Docstring change.
5303 (vc-ignore-vc-files): Mark obsolete.
5304 (vc-registered): Check vc-ignore-vc-files.
5305 (vc-find-file-hook, vc-file-not-found-hook): Don't check
5308 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
5310 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5312 * vc.el (vc-checkout): Don't do anything special for ange-ftp
5313 files since ange-ftp already has vc-registered return nil.
5315 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
5316 (vc-sccs-workfile-version): Use with-temp-buffer and new
5317 vc-parse-buffer and don't bother setting the property.
5318 (vc-sccs-add-triple): Use with-current-buffer and
5320 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
5322 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
5323 derives from the old vc-parse-buffer but uses the revision number
5324 rather than the date (much easier to compare robustly).
5325 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
5326 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
5327 locking-user more directly. Check strict locking and set
5328 checkout-model appropriately.
5329 (vc-rcs-parse-locks): Remove.
5330 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
5331 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
5332 (vc-rcs-system-release): Use with-current-buffer and
5334 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
5336 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
5337 (vc-simple-command): Docstring fix.
5338 (vc-registered): Align the way the file-handler is called with the
5339 way the function itself works.
5340 (vc-file-owner): Remove.
5342 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
5343 extraction of fields and call to file-attributes because of a
5344 temporary bug in rcp.el.
5345 (vc-cvs-fetch-status): Use with-current-buffer.
5347 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5349 * vc.el (vc-do-command): Use file-relative-name.
5350 (vc-responsible-backend): Use vc-backend if possible.
5351 (vc-create-snapshot): Improve the `interactive' spec. Add support
5352 for branches and dispatch to backend-specific `create-snapshot'.
5353 (vc-default-create-snapshot): New function, containing the bulk of
5354 the old vc-create-snapshot.
5355 (vc-retrieve-snapshot): Improve the interactive spec.
5357 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
5358 (vc-backend-hook-functions): Remove.
5359 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
5360 (vc-backend): Reintroduce the test for `file = nil' now that I
5361 know why it was there (and added a comment to better remember).
5363 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
5364 code from vc-sccs-hooks.el.
5365 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
5367 (vc-sccs-responsible-p): Use expand-file-name instead of concat
5368 and file-directory-p instead of file-exists-p.
5369 (vc-sccs-check-headers): Simplify the regexp.
5371 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
5372 from vc-rcs-hooks.el. Don't require 'vc anymore.
5373 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
5374 file-directory-p instead of file-exists-p.
5376 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
5377 from vc-cvs-hooks.el.
5378 (proto vc-cvs-registered): Require 'vc-cvs instead of
5379 'vc-cvs-hooks. Don't require 'vc anymore.
5380 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
5381 file-directory-p instead of file-exists-p.
5382 (vc-cvs-create-snapshot): New function, replacing
5384 (vc-cvs-assign-name): Remove.
5386 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5388 * vc-cvs.el (vc-cvs-header): New var.
5390 * vc-rcs.el (vc-rcs-exists): Remove.
5391 (vc-rcs-header): New var.
5393 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
5394 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
5395 (vc-sccs-header): New var.
5397 * vc.el (vc-do-command): Get rid of the `last' argument.
5398 (vc-header-alist): Remove, replaced by vc-X-header.
5399 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
5400 (vc-dired-hook): Use expand-file-name instead of concat.
5401 (vc-directory): Use file-name-as-directory.
5402 (vc-snapshot-precondition, vc-create-snapshot)
5403 (vc-retrieve-snapshot): Allow the command to operate on any
5406 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
5407 just removing the 'WORKFILE argument or by removing the 'MASTER
5408 argument and replacing `file' with (vc-name file).
5410 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5412 * vc.el: Update Copyright and add a crude list of backend funs.
5413 (vc-writable-p): New function.
5414 (with-vc-file): Use vc-writable-p.
5415 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
5416 (vc-register): Avoid vc-name.
5417 (vc-locking-user): Remove.
5418 (vc-steal-lock): Make the `owner' arg non-optional.
5419 (vc-merge): Use vc-writable-p instead of vc-locking-user and
5421 (vc-default-dired-state-info): Use vc-state instead of
5422 vc-locking-user and return special strings for special states.
5423 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
5424 and get rid of one of the special CVS cases.
5425 (vc-cancel-version): prettify error message with \\[...].
5426 (vc-rename-master): New function.
5427 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
5428 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
5429 the CVS special case generic.
5430 (vc-default-record-rename): Remove.
5431 (vc-file-tree-walk-internal): Only call FUNC for files that are
5432 under control of some VC backend and replace `concat' with
5434 (vc-file-tree-walk): Update docstring.
5435 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
5436 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
5438 * vc-sccs.el (vc-sccs-rename-file): Renamed from
5439 vc-sccs-record-rename. Use `find-file-noselect' rather than
5440 `find-file' and call `vc-rename-master' to do the actual move.
5441 (vc-sccs-diff): Remove unused `backend' variable.
5443 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
5444 to delay loading of vc-sccs until it is really used.
5445 (vc-sccs-master-templates): Preload.
5446 (vc-sccs-state): Update call to vc-sccs-parse-locks.
5447 (vc-sccs-project-dir): Remove (merged into
5448 vc-sccs-search-project-dir).
5449 (vc-sccs-search-project-dir): Rewrite using file name handling ops
5450 rather than `concat', make sure it is preloaded and don't bother
5451 to check that the file actually exists.
5452 (vc-sccs-parse-locks): Remove unused `file' argument, remove
5453 `locks' argument (use buffer's content instead) and eliminate n^2
5456 * vc-rcs.el: Update Copyright.
5457 (vc-rcs-rename-file): New function.
5458 (vc-rcs-diff): Remove unused `backend' variable.
5460 * vc-hooks.el: Update Copyright.
5461 (vc-backend): Don't accept a nil argument any more.
5462 (vc-up-to-date-p): Turn into a defsubst.
5463 (vc-possible-master): New function.
5464 (vc-check-master-templates): Use `vc-possible-master' and allow
5465 funs in vc-X-master-templates to return a non-existent file.
5467 * vc-cvs.el: Update Copyright.
5468 (vc-cvs-diff): Remove unused `backend' variable.
5469 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
5471 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
5473 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5475 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
5476 since it can be called from vc-rcs.el.
5477 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
5479 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5481 * vc.el (vc-version-diff): Expand file name read from the
5482 minibuffer. Handle the case when a previous version number can't
5483 be guessed. Give suitable messages when there were no differences
5485 (vc-clear-headers): Call backend-specific implementation, if one
5487 (vc-cancel-version): Made error checks generic. When done, clear
5488 headers generically, too.
5490 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
5491 from vc-clear-headers in vc.el.
5493 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
5495 (vc-rcs-latest-on-branch-p): Made second argument VERSION
5496 optional. Handle the case when it's not there.
5498 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5500 * vc.el (vc-locking-user): Moved from vc-hooks.el.
5502 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5504 * vc-hooks.el (vc-loadup): Remove.
5505 (vc-find-backend-function): Use `require'. Also, handle the case
5506 where vc-BACKEND-hooks.el doesn't exist.
5507 (vc-call-backend): Cleanup.
5509 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5511 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
5512 vc-rcs-grab-templates)
5513 (vc-rcs-registered): Remove. The default function works as well.
5514 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
5515 vc-sccs-grab-templates)
5516 (vc-sccs-registered): Remove. The default function works as well.
5518 * vc.el (vc-version-diff): Left out a vc- in call to
5520 (vc-default-dired-state-info, vc-default-record-rename)
5521 (vc-default-merge-news): Update for the new backend argument.
5523 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
5524 using the default function.
5525 (vc-call-backend): If calling the default function, pass it the
5526 backend as first argument. Update the docstring accordingly.
5527 (vc-default-state-heuristic, vc-default-mode-line-string): Update
5528 for the new backend argument.
5529 (vc-make-backend-sym): Renamed from vc-make-backend-function.
5530 (vc-find-backend-function): Use the new name.
5531 (vc-default-registered): New function.
5533 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5535 * vc.el (vc-merge): Use vc-find-backend-function.
5537 * vc-hooks.el (vc-backend-functions): Remove.
5538 (vc-loadup): Don't setup 'vc-functions.
5539 (vc-find-backend-function): New function.
5540 (vc-call-backend): Use above fun and populate 'vc-functions
5542 (vc-backend-defines): Remove.
5544 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5546 * vc.el (vc-register): Put a FIXME note for a newly found bug.
5547 Call vc-call-backend without the leading vc-.
5548 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
5549 (vc-check-headers): Call vc-call-backend without the leading vc-.
5550 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
5551 (vc-annotate-display): Replace confusing use of `cond' with `or'.
5552 Call vc-call-backend without the leading vc-.
5554 * vc-cvs.el (tail): Provide vc-cvs.
5555 * vc-sccs.el (tail): Provide vc-sccs.
5556 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
5558 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
5559 (vc-make-backend-function, vc-call): Pass names without leading
5560 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
5561 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
5562 (vc-call-backend): Always try to load vc-X-hooks.
5563 (vc-registered): Remove vc- in call to vc-call-backend.
5565 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5567 * vc.el (vc-process-filter): New function.
5568 (vc-do-command): Setup `vc-process-filter' for the async process.
5569 (vc-maybe-resolve-conflicts): New function to reduce
5570 code-duplication. Additionally, it puts the buffer in
5571 `smerge-mode' if applicable.
5572 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
5573 calling `merge-news'.
5574 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
5575 (vc-log-edit): New function. Replacement for `vc-log-mode' by
5576 interfacing to log-edit.el.
5577 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
5578 log-edit is available.
5579 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
5581 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5583 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
5584 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
5585 defvar and the initialization.
5586 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
5588 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
5589 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
5591 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
5593 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5595 * vc.el (vc-file-clear-masterprops): Removed.
5596 (vc-checkin, vc-revert-buffer): Removed calls to the above.
5597 (vc-version-diff): Use buffer-size without argument.
5598 (vc-register): Heed vc-initial-comment.
5600 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
5603 * vc-rcs.el (vc-rcs-register): Parse command output to find master
5604 file name and workfile version.
5605 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
5607 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
5608 vc-file-clear-masterprops.
5610 * vc-sccs.el (vc-sccs-checkout): Removed call to
5611 vc-file-clear-masterprops. If writable, set vc-state to 'edited
5612 rather than user login name.
5615 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5617 * vc.el (vc-workfile-unchanged-p): Remove unused argument
5618 `want-differences-if-changed' and simplify.
5619 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
5620 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
5621 output (which is invalid for async vc-diff) to decide whether to
5622 do the revert silently or not.
5624 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5626 * vc-hooks.el (vc-loadup): Load files quietly.
5627 (vc-call-backend): Oops, brain fart.
5629 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5631 * vc-cvs.el (vc-cvs-state): Typo.
5632 (vc-cvs-merge-news): Return the status code rather than the error msg.
5634 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5636 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
5637 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
5638 vc-state or vc-up-to-date-p.
5639 (vc-merge): Use vc-backend-defines to check whether merging is
5640 possible. Set state to 'edited after successful merge.
5642 * vc-hooks.el (vc-locking-user): If locked by the calling user,
5643 return that name. Redocumented.
5645 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5647 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
5648 new `vc-state' semantics.
5649 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
5650 'vc-locking-user to the current user.
5651 (vc-merge): Inline vc-backend-merge. Comment out code that I
5652 don't understand and hence can't adapt to the new `vc-state' and
5653 `vc-locking-user' semantics.
5654 (vc-backend-merge): Remove.
5656 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
5657 rather than 'vc-locking-user.
5659 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
5661 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
5662 (vc-state): Don't use 'reserved any more. Just use the same
5663 convention as the one used for vc-<backend>-state where the
5664 locking user (as a string) is returned.
5665 (vc-locking-user): Update, based on the above convention. The
5666 'vc-locking-user property has disappeared.
5667 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
5669 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
5670 with a heuristic one.
5671 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
5672 (vc-cvs-checkin): Do a trivial parse to set the state in case of
5673 error. That allows us to get to 'needs-merge even in the
5674 stay-local case. There's still no way to detect 'needs-patch in
5675 such a setup (or to force an update for that matter).
5676 (vc-cvs-logentry-check): Remove, the default works as well.
5678 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5680 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
5682 * vc.el (vc-do-command): kill-all-local-variables, to reset any
5683 major-mode in which the buffer might have been put earlier. Use
5684 `remove' and `when'. Allow `okstatus' to be `async' and use
5685 `start-process' in this case.
5686 (vc-version-diff): Handle the case where the diff looks empty
5687 because of the use of an async process.
5689 2000-09-04 Andre Spiegel <spiegel@gnu.org>
5691 * vc.el (vc-next-action-on-file): Removed optional parameter
5692 `simple'. Recompute state unconditionally.
5693 (vc-default-toggle-read-only): Removed.
5695 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
5696 (vc-toggle-read-only): Undid prev change.
5698 * vc-cvs.el (vc-cvs-stay-local): Renamed from
5699 vc-cvs-simple-toggle. Redocumented.
5700 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
5701 (vc-cvs-toggle-read-only): Removed.
5703 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5705 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
5706 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
5707 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
5708 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
5709 still is. So maybe it should be removed.
5710 (vc-head-version, vc-find-binary): Remove.
5711 (vc-recompute-state): Move from vc-hooks.el.
5712 (vc-next-action-on-file): Add a `simple' argument to allow
5713 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
5714 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
5715 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
5716 (vc-dired-mode-map): Properly defvar it.
5717 (vc-print-log): Call log-view-mode if available.
5718 (small-temporary-file-directory): defvar instead of use boundp.
5719 (vc-merge-news): Moved to vc-cvs.el.
5720 (vc-default-merge-news): New function.
5722 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
5723 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
5724 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
5725 unknown `vc-latest-version' function. It should probably refer to
5726 vc-workfile-version or somesuch, but it's very unclear to me and I
5727 don't have SCCS to test things.
5729 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
5730 (vc-sccs-state-heuristic): Fix typo.
5731 (vc-sccs-workfile-unchanged-p): Add missing argument.
5733 * vc-rcs.el: Require vc and vc-rcs-hooks.
5734 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
5735 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
5736 (vc-release-greater-or-equal-p): Move from vc.
5737 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
5738 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
5739 (vc-rcs-checkout): Add a missing `new-version' argument in the
5740 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
5742 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
5743 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
5744 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
5745 than the apparently unbound `workfile-version'.
5747 * vc-hooks.el (vc-master-templates): Def the obsolete var.
5748 (vc-file-prop-obarray): Use `make-vector'.
5749 (vc-backend-functions): Add new hookable functions
5750 vc-toggle-read-only, vc-record-rename and vc-merge-news.
5751 (vc-loadup): If neither backend nor default functions exist, use
5752 the backend function rather than nil.
5753 (vc-call-backend): If the function if not bound yet, try to load
5754 the non-hook file to see if it provides it.
5755 (vc-call): New macro plus use it wherever possible.
5756 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
5757 nor `vc-find-binary' since it's only called from
5758 vc-mistrust-permission which is only used once the backend is known.
5759 (vc-checkout-model): Fix parenthesis.
5760 (vc-recompute-state, vc-prefix-map): Move to vc.el.
5762 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
5763 (vc-cvs-release, vc-cvs-system-release): Remove.
5764 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
5765 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
5767 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
5768 (vc-cvs-toggle-read-only): First cut at a function to allow a
5769 cvs-status-free vc-toggle-read-only.
5770 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
5771 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
5772 vc-cvs-status. Also set vc-state rather than vc-locking-user.
5773 (vc-cvs-checkout): Modify access rights directly if the user
5774 requested not to use `cvs edit'. And refresh the mode line.
5776 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
5777 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
5779 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
5781 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
5782 workfile' that got lost when the code was extracted from vc.el.
5783 And merged the tail with the rest of the code (not possible in the
5784 old vc.el where the tail was shared among all backends). And
5785 explicitly set the state to 'edited if `writable' is set.
5787 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
5788 (vc-cvs-state): Be careful to return the value from
5790 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
5791 property but return it instead. Also be careful to handle a nil
5792 or "" `rev' when workfile is non-nil (it was handled properly when
5795 * vc.el: Removed those pesky unnecessary `(function' quotes.
5796 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
5797 directly in the defvar.
5798 (vc-do-command): Bind inhibit-read-only so as to properly handle
5799 the case where the destination buffer has been made read-only.
5800 (vc-diff): Delegate to vc-version-diff in all cases.
5801 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
5802 (vc-annotate-mode-variables): Removed (code moved partly to
5803 defvars and partly to vc-annotate-add-menu).
5804 (vc-annotate-mode): Turned into a derived-mode.
5805 (vc-annotate-add-menu): Moved in code in
5806 vc-annotate-mode-variables.
5807 (vc-update-change-log): Use make-temp-file if available.
5809 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
5811 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
5812 `vc-checkout-model' updated to `vc-cvs-update-model'.
5814 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5816 * vc.el (vc-next-action-on-file): Added handling of state
5818 (vc-checkout-carefully): Is now practically obsolete, unless the
5819 above is too slow to be enabled unconditionally.
5820 (vc-update-change-log): Fixed typo.
5822 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
5824 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
5825 Now handles state `unlocked-changes'.
5826 (vc-sccs-workfile-unchanged-p): New function, to support the above.
5828 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
5830 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
5831 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
5833 (vc-rcs-workfile-unchanged-p): Renamed from
5834 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
5835 function yet, but supposed to become one soon.
5837 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
5839 (vc-call-backend): Changed error message.
5840 (vc-state): Added description of state `unlocked-changes'.
5842 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5844 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
5845 always return t in CVS-controlled directories.
5847 * vc.el (vc-responsible-backend): New function.
5848 (vc-register): Largely rewritten.
5849 (vc-admin): Removed (implementation moved into vc-register).
5850 (vc-checkin): Redocumented.
5851 (vc-finish-logentry): If no backend defined yet (because we are in
5852 the process of registering), use the responsible backend.
5854 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
5855 Updated function lists.
5856 (vc-call-backend): Fixed typo.
5858 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
5860 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
5861 Removed query option. Redocumented.
5863 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5865 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
5867 * vc.el: Updated callers of `vc-checkout-required' to use
5868 `vc-checkout-model'.
5870 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5872 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
5873 stuff updated to reference this function instead of the old
5874 `vc-backend-release-p'.
5876 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5878 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
5879 vc-checkout-model. Return appropriate values. Updated callers.
5881 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5883 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
5884 (vc-backend-revert): Function moved into `vc-revert';
5885 `vc-next-action' must be updated to accomodate this change.
5886 (vc-backend-steal): Function moved into `vc-finish-steal'.
5887 (vc-backend-logentry-check): Function moved into
5888 `vc-finish-logentry'.
5889 (vc-backend-printlog): Function moved into `vc-print-log'.
5890 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
5891 (vc-backend-assign-name): Function moved into
5892 `vc-create-snapshot'.
5894 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5896 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
5897 Rename to vc-checkout-model. Return appropriate values.
5900 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
5901 to vc-checkout-model.
5902 (vc-checkout-required): Rename to vc-checkout-model.
5903 Re-implement and re-comment.
5904 (vc-after-save): Use vc-checkout-model.
5906 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5908 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
5909 Update to use the vc-BACKEND-diff functions instead.
5910 `vc-diff' is now working.
5912 * vc-rcs.el (vc-rcs-logentry-check): New function.
5914 * vc-cvs.el (vc-cvs-logentry-check): New function.
5916 * vc-sccs.el (vc-sccs-diff): Function changed name from
5917 `vc-backend-diff'. This makes `vc-diff' work.
5919 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
5920 of functions possibly implemented in a vc-BACKEND library.
5921 (vc-checkout-required): Fix bug that caused an error to be
5922 signaled during `vc-after-save'.
5925 This checkin is made with our new VC code base for the very first time.
5926 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
5928 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
5929 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
5931 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
5932 updated to `vc-uses-locking'.
5933 (vc-checkout-required): Call to backend function.
5934 `vc-checkout-required' updated to `vc-uses-locking' instead.
5936 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
5937 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
5939 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
5940 to match the split into various backends.
5941 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
5942 (vc-retrieve-snapshot): Bug fix.
5944 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5946 * vc-sccs.el (vc-sccs-release): Doc fix.
5948 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5950 * vc.el (vc-next-action-on-file): Bug found and fixed.
5951 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
5952 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
5954 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
5955 (vc-rcs-checkout): Name space cleaned up. No more revision number
5956 crunching function names that are not prefixed with vc-rcs.
5957 (vc-rcs-checkout-model): Function added. References to
5958 `vc-checkout-model' replaced.
5960 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5962 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
5963 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
5964 still need to be split, and implemented for RCS).
5966 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5968 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
5970 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
5971 required by the vc.el file.
5973 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
5974 required by the vc.el file.
5975 (vc-rcs-exists): Function added.
5977 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
5978 required by the vc.el file.
5980 * vc.el (vc-admin): Updated to handle selection of appropriate
5981 backend. Current implementation is crufty and need re-thinking.
5983 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
5985 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5987 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
5988 beginning of annotate buffers correctly.
5990 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
5991 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
5992 functionality updated quite a lot to support multiple backends.
5993 Variables `vc-annotate-mode', `vc-annotate-buffers',
5994 `vc-annotate-backend' added.
5996 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
5997 `vc-annotate-difference' added to supported backend functions.
5999 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
6001 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
6002 Use with-temp-file instead of /bin/sh. Merged from mainline
6004 2000-09-04 Martin Lorentzson <martinl@gnu.org>
6006 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
6008 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
6010 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
6012 2000-09-04 Martin Lorentzson <martinl@gnu.org>
6014 * vc-hooks.el: vc-state-heuristic added to
6015 vc-backend-hook-functions.
6017 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
6019 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
6021 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
6022 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
6023 state to `reserved'.
6025 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
6026 `vc-checkout-required'. Rename the `locked' state to `reserved'.
6028 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
6030 * vc-rcs-hooks.el: Implement new state model. Hardly anything
6033 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
6035 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
6036 if defined. (Merged from main line, slightly adapted.)
6038 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
6039 millenium problem (merged from mainline).
6041 2000-09-04 Martin Lorentzson <martinl@gnu.org>
6043 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
6044 part and moved the non-BACKEND stuff to vc.el.
6046 * vc.el: Split the annotate feature into a BACKEND specific part
6047 and moved it from the vc-cvs.el file to this one.
6049 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
6051 * vc-hooks.el: Implement new state model.
6052 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
6053 (vc-locking-user): Simplify. Now only needed if the file is
6054 locked by somebody else.
6055 (vc-lock-from-permissions): Remove. Functionality is in
6056 vc-sccs-hooks.el and vc-rcs-hooks.el now.
6057 (vc-mode-line-string): New name for former vc-status. Adapted.
6058 (vc-mode-line): Adapt to use the above. Remove optional parameter.
6060 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
6061 Various simplifications and adaptations all over the place.
6063 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
6064 Simplify and adapt the rest.
6066 * vc.el (vc-resynch-window): Add TODO comment: check for
6067 interaction with view mode according to recent RCS change.
6068 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
6070 2000-09-04 Martin Lorentzson <martinl@gnu.org>
6072 * vc.el: Convert the remaining function comments to docstrings.
6074 2000-09-04 Martin Lorentzson <martinl@gnu.org>
6076 * vc.el (vc-backend-release, vc-release-greater-or-equal)
6077 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
6078 (vc-minor-part, vc-previous-version): Functions that operate and
6079 compare revision numbers got proper documentation. Comments added
6080 about their possible removal.
6082 2000-09-04 Martin Lorentzson <martinl@gnu.org>
6084 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
6085 the vc-backend.el files.
6087 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
6089 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
6090 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
6091 (vc-rcs-previous-version): Functions added.
6093 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
6095 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
6097 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
6099 * vc-hooks.el (vc-master-templates): Is really obsolete.
6100 Comment out the definition for now. What is the right procedure
6102 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
6104 (vc-default-registered): Remove.
6105 (vc-check-master-templates): New function; does mostly what the
6107 (vc-locking-user): Don't rely on the backend to set the property.
6109 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
6110 Rewrite documentation.
6111 (vc-rcs-templates-grabbed): New variable.
6112 (vc-rcs-grab-templates): New function.
6113 (vc-rcs-registered): Rewrite to use above mechanism.
6115 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
6116 Rewrite documentation.
6117 (vc-sccs-templates-grabbed): New variable.
6118 (vc-sccs-grab-templates): New function.
6119 (vc-sccs-registered): Rewrite to use above mechanism.
6120 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
6121 Don't throw the result, simply return it.
6123 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
6124 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
6125 (vc-cvs-registered): Does the check itself now. Simplify.
6127 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
6130 2000-09-04 Martin Lorentzson <martinl@gnu.org>
6132 * vc-cvs.el (vc-cvs-diff): New function.
6134 * vc-sccs.el (vc-sccs-diff): New function.
6136 * vc-rcs.el (vc-rcs-diff): New function.
6137 (vc-rcs-checkout): Bug (typo) found and fixed.
6138 (vc-rcs-register-switches): New variable.
6140 * vc.el (vc-backend-diff): Function removed and placed in the
6143 2000-09-04 Martin Lorentzson <martinl@gnu.org>
6145 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
6147 * vc.el (vc-backend-checkout): Function removed and replaced in
6148 the vc-backend.el files.
6150 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
6152 * vc.el (vc-backend-admin): Removed and replaced in the
6153 vc-backend.el files.
6155 * vc.el (Martin): Removed all the annotate functionality since it
6156 is CVS backend specific.
6158 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
6160 * spec.txt: Added specification of vc-state.
6162 * vc-sccs-hooks.el (vc-sccs-master-properties):
6163 Remove handling of vc-latest-version and
6164 vc-your-latest-version. What used to be vc-latest-version, is now
6165 returned as vc-workfile-version.
6166 (vc-sccs-workfile-version): Adapt.
6168 2000-09-04 Dave Love <fx@gnu.org>
6170 * vc.el: [Merged from mainline.]
6171 (vc-dired-mode): Make the dired-move-to-filename-regexp
6172 regexp match the date, to avoid treating date as file size.
6173 Add YYYY S option to WESTERN/
6175 2000-09-04 Dave Love <fx@gnu.org>
6177 * vc.el: Require `compile' when compiling.
6178 (vc-logentry-check-hook): New option.
6179 (vc-steal-lock): Use compose-mail.
6180 (vc-dired-mode-map): Defvar when compiling.
6181 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
6182 vc-sccs.el and renamed. Callers changed.
6183 (vc-backend-checkout, vc-backend-logentry-check)
6184 (vc-backend-merge-news): Doc fix.
6185 (vc-default-logentry-check): New function.
6186 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
6187 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
6188 (vc-backend-merge): Doc fix. Use backend functions.
6189 (vc-check-headers): Use backend functions.
6191 * vc-cvs.el: Require vc when compiling.
6192 (vc-cvs-register-switches): Doc fix.
6193 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
6194 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
6195 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
6196 New functions (code from vc.el).
6197 (vc-annotate-display-default): Fix interactive spec.
6198 (vc-annotate-time-span): Doc fix.
6200 * vc-rcs.el: Require vc when compiling.
6201 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
6202 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
6203 (vc-rcs-checkin): New functions (code from vc.el).
6204 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
6206 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
6208 * vc-sccs.el: Require vc when compiling.
6209 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
6210 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
6212 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
6214 (vc-sccs-add-triple, vc-sccs-record-rename)
6215 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
6216 (vc-sccs-admin): Doc fix.
6218 2000-09-04 Martin Lorentzson <martinl@gnu.org>
6220 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
6221 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
6222 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
6225 * vc-sccs.el (vc-admin-sccs): Added from vc.el
6227 * vc-cvs.el: Moved the annotate functionality from vc.el.
6228 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
6230 2000-09-04 Dave Love <fx@gnu.org>
6232 * vc.el (vc-backend-release): Call vc-system-release.
6234 * vc-sccs.el (vc-sccs-system-release):
6235 Renamed from vc-sccs-backend-release.
6237 * vc-rcs.el (vc-rcs-system-release):
6238 Renamed from vc-rcs-backend-release.
6240 * vc-cvs.el (vc-cvs-system-release):
6241 Renamed from vc-cvs-backend-release.
6243 2000-09-04 Dave Love <fx@gnu.org>
6245 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
6247 (vc-backend-release): Dispatch to backend functions.
6248 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
6249 probably needs attention.]
6251 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
6252 (vc-sccs-backend-release): New function.
6254 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
6255 (vc-cvs-backend-release): New function.
6257 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
6259 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
6260 (vc-default-dired-state-info): New function.
6261 (vc-dired-state-info): Dispatch to backends.
6262 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
6264 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
6265 from vc.el and renamed.
6267 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
6269 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
6270 (vc-version-other-window, vc-backend-assign-name): Removed
6271 references to vc-latest-version; sometimes changed into
6272 vc-workfile-version.
6274 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
6275 vc-rcs-master-workfile-version.
6276 (vc-rcs-workfile-version): Use the above. Don't call
6277 vc-latest-version (that was unreachable code, anyway).
6278 (vc-rcs-fetch-master-properties): Doc fix.
6280 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
6281 (vc-backend-hook-functions): Removed them from this list, too.
6282 (vc-fetch-properties): Removed.
6283 (vc-workfile-version): Doc fix.
6285 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
6286 (vc-rcs-workfile-version, vc-rcs-locking-user)
6287 (vc-rcs-uses-locking): Use it.
6289 * vc-hooks.el (vc-consult-rcs-headers):
6290 Moved into vc-rcs-hooks.el, under the name
6291 vc-rcs-consult-headers.
6293 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
6295 (vc-cvs-find-master): Use this name only; correct different
6296 versions of the name.
6298 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
6300 (vc-sccs-locking-user): Use the latter.
6302 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
6305 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
6307 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
6308 functions are implementation details of those two backends.
6310 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
6312 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
6313 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
6315 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
6316 (vc-sccs-parse-locks): SCCS-specific code moved here from
6319 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
6320 code moved here from vc-hooks.
6322 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
6323 into back-end specific parts and removed. Callers not updated
6324 yet; because I guess these callers will disappear into back-end
6325 specific files anyway.
6327 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
6329 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
6330 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
6333 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
6334 Store yes/no in the property, and return t/nil. Updated all
6337 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
6338 vc-sccs-uses-locking. Don't set property.
6339 (vc-sccs-locking-user): Don't set property.
6341 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
6342 vc-cvs-uses-locking. Don't set property here; leave that to
6344 (vc-cvs-locking-user): Reflect above change. Streamlined.
6346 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
6347 vc-rcs-uses-locking.
6348 (vc-rcs-locking-user): Reflect above change.
6350 2000-09-04 Dave Love <fx@gnu.org>
6352 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
6354 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
6356 * vc-hooks.el (vc-checkout-model): Punt to backends.
6358 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
6360 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
6362 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
6365 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
6368 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
6369 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
6371 * vc-hooks.el (vc-default-locking-user): New function.
6372 (vc-locking-user, vc-workfile-version): Punt to backends.
6374 2000-09-04 Dave Love <fx@gnu.org>
6376 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
6377 (vc-master-workfile-version): Moved from vc-hooks.
6379 * vc-rcs-hooks.el: Fix duplicate code in last change.
6381 * vc-rcs-hooks.el: Require vc-hooks when compiling.
6382 (vc-rcs-master-templates): Improve :type.
6383 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
6384 vc-master-workfile-version): Moved from vc-hooks.
6386 * vc-sccs-hooks.el: Require vc-hooks when compiling.
6387 (vc-sccs-master-templates): Improve :type.
6388 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
6390 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
6392 * vc-cvs-hooks.el: Require vc-hooks when compiling.
6393 (vc-cvs-master-templates): Improve :type. Use
6394 vc-cvs-find-cvs-master.
6395 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
6397 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
6399 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
6400 Moved to vc-cvs-hooks.
6402 * vc-hooks.el: Add doc strings in various places. Simplify the
6404 (vc-handled-backends): New user variable.
6405 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
6408 2000-09-04 Dave Love <fx@gnu.org>
6410 * vc.el: Some doc fixes for autoloaded and interactive functions.
6411 Fix compilation warnings from ediff stuff.
6412 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
6414 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
6416 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
6418 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
6420 2000-09-04 Dave Love <fx@gnu.org>
6422 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
6424 (vc-make-backend-function, vc-loadup, vc-call-backend)
6425 (vc-backend-defines): New functions.
6427 * vc-hooks.el: Various doc fixes.
6428 (vc-default-back-end, vc-follow-symlinks): Custom fix.
6429 (vc-match-substring): Function removed. Callers changed to use
6431 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
6434 2000-09-04 Dave Love <fx@gnu.org>
6436 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
6438 (vc-sccs-project-dir, vc-search-sccs-project-dir)
6439 (vc-sccs-registered): Doc fix.
6441 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
6442 (vc-cvs-registered): Doc fix.
6444 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
6445 (vc-rcs-registered): Doc fix.
6447 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
6449 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
6451 * vc-hooks.el: vc-registered has been renamed
6452 vc-default-registered. Some functions have been moved to the
6453 backend specific files. they all support the
6454 vc-BACKEND-registered functions.
6456 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
6458 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
6460 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
6462 2000-09-04 Dave Love <fx@gnu.org>
6464 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
6465 menu-bar-update-hook.
6467 * help.el (help-manyarg-func-alist): Add
6468 find-operation-coding-system.
6470 * wid-edit.el (widget-sexp-validate): Fix garbled code.
6472 * custom.el (custom-set-variables): Print message about errors in
6475 2000-09-03 Andrew Innes <andrewi@gnu.org>
6477 * makefile.w32-in: Change to DOS line endings.
6479 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
6481 * mouse.el (mouse-popup-menubar): Supply the prompt string for
6482 minor-mode keymaps, if they don't have one.
6484 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
6486 * eshell/esh-module.el (eval-when-compile): Don't lose if
6487 esh-module.el's file name is truncated to DOS 8+3 limits.
6489 2000-09-01 John Wiegley <johnw@gnu.org>
6491 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
6492 predicate, which caused entries in the completion list to be
6495 2000-08-30 John Wiegley <johnw@gnu.org>
6497 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
6498 sending to subprocesses. Also, hook pre-command-hook if
6499 `eshell-send-direct-to-subprocesses' is non-nil.
6500 (eshell-send-direct-to-subprocesses): New config variable. If t,
6501 subprocess input is send immediately.
6502 (eshell-toggle-direct-send): New function.
6503 (eshell-self-insert-command): New function.
6504 (eshell-intercept-commands): New function.
6505 (eshell-send-input): If direct subprocess sending is enabled,
6506 don't echo any input to the Eshell buffer. Let the subprocess
6507 handle that. This requires "stty echo" in bash, for example.
6509 2000-08-28 John Wiegley <johnw@gnu.org>
6511 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
6512 completion function for Eshell's implementation of `unset'.
6514 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
6516 * info.el (Info-directory-list): Doc fix.
6518 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
6520 * filecache.el (file-cache-add-directory-using-find): Don't quote
6521 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
6523 2000-08-31 Kenichi Handa <handa@etl.go.jp>
6525 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
6528 2000-08-30 Andrew Innes <andrewi@gnu.org>
6530 * timer.el (run-with-idle-timer): Undo last change, so that timer
6531 is not activated immediately if Emacs is already idle. Some
6532 existing code relies on this behaviour.
6534 2000-08-30 Miles Bader <miles@gnu.org>
6536 * frame.el (set-frame-font): Do completion of font-name for
6539 2000-08-30 Kenichi Handa <handa@etl.go.jp>
6541 * international/quail.el (quail-start-translation): Bind locally
6542 last-command-event, last-command, and this-command.
6543 (quail-start-conversion): Likewise.
6544 (quail-self-insert-command): Fix docstring.
6546 2000-08-29 Gerd Moellmann <gerd@gnu.org>
6548 * progmodes/executable.el
6549 (executable-make-buffer-file-executable-if-script-p): Check that
6550 buffer contains at least 2 characters.
6552 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
6554 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
6556 2000-08-29 Dave Love <fx@gnu.org>
6558 * diff-mode.el (diff-mode) <defgroup>: Add :version.
6559 (diff-mode-shared-map): Bind mouse-2.
6560 (diff-imenu-generic-expression): New variable.
6561 (diff-mode): Use it.
6563 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
6564 (mouse-popup-menubar): Add minor mode menus.
6565 (popup-menu): Check for lookup-key returning number.
6567 2000-08-29 Miles Bader <miles@gnu.org>
6569 * comint.el (comint-send-input): Create overlays using the proper
6570 front/read-advance arguments.
6572 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6574 * ps-print.el: Even/odd pages printing. Doc fix.
6575 (ps-print-version): New version number (6.0).
6576 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
6577 (ps-background, ps-begin-file, ps-begin-job): Code fix.
6578 (ps-print-duplex-feature): Variable eliminated.
6579 (ps-even-or-odd-pages): New variable.
6581 * progmodes/ebnf2ps.el: Doc fix.
6582 (ebnf-version): New version (3.3).
6583 (ebnf-user-arrow): Change variable customization to sexp.
6584 (ebnf-user-arrow): Function eliminated.
6585 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
6587 2000-08-29 Kenichi Handa <handa@etl.go.jp>
6589 * help.el (help-xref-mule-regexp): New variable.
6590 (help-make-xrefs): Handle help-xref-mule-regexp.
6592 * international/mule-cmds.el (help-xref-mule-regexp-template): New
6594 (describe-input-method): Temporarily activate the specfied input
6595 method to display the information.
6596 (describe-language-environment): Hyperlinks to mule related items.
6598 * international/mule-diag.el (charset-multibyte-form-string): New
6600 (list-character-sets-1): Use charset-multibyte-form-string.
6601 (describe-character-set): New function.
6602 (describe-coding-system): Hyperlinks to safe character sets.
6604 * international/quail.el (quail-help): New arg PACKAGE.
6605 Hyperlinks to mule related items.
6606 (quail-help-insert-keymap-description): Use
6607 substitute-command-keys instead of describe-bindings.
6608 (quail-translation-help): Hyperlinks to mule related items.
6610 2000-08-28 John Wiegley <johnw@gnu.org>
6612 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
6613 have a defsubst call itself. Made `eshell-flatten-list' back into
6616 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
6617 catch, in case re-centering point at bottom messes up the display.
6618 This happens frequently in Emacs 21, due I believe to variable
6621 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
6622 to call `find-tag-interactive'.
6624 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
6625 the list of remember directories.
6627 2000-08-28 John Wiegley <johnw@gnu.org>
6629 * align.el: Test align-region-separate to see if it's a symbol.
6631 2000-08-28 John Wiegley <johnw@gnu.org>
6633 * eshell/esh-util.el (eshell-flatten-list): Made this function
6634 into a defsubst form. It gets used very frequently, although
6635 calls don't occur all that often.
6637 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
6640 * eshell/esh-cmd.el (eshell-rewrite-while-command):
6641 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
6643 (eshell-copy-handles): Created a new macro for duplicating the
6644 current set of open handles. This is needed by the looping
6646 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
6647 is not incorrectly stomped on.
6649 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
6650 declaration for pcomplete-use-paring.
6651 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
6652 value of eshell-cmpl-use-paring.
6653 * pcomplete.el (pcomplete-use-paring): New config variable, to
6654 indicate whether paring should be used.
6655 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
6656 completion alternatives that have already been used.
6658 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
6659 bound to C-c C-y, which will repeat the previous N arguments
6660 (based on prefix argument).
6661 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
6663 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
6664 if there is no *Help* buffer. This is for XEmacs, which renames
6665 its help buffers uniquely. TODO: Find out what the current buffer
6668 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
6669 first entry that correlates to a passwd/group number. Later
6670 entries (used for group/user name aliasing to multiple IDs) are
6673 * eshell/em-xtra.el (eshell/expr):
6674 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
6675 (eshell-grep, eshell/diff, eshell/locate):
6676 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
6677 argument list, before passing it to the system command.
6679 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
6680 `find-tag' for use at final position in Eshell buffers (which
6681 otherwise triggers an error on Emacs 21).
6682 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
6683 buffer, if it is currently bound to `find-tag'.
6685 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
6686 in the list of matched Makefile names.
6687 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
6688 directory, prefer its contents to Makefile.
6690 * eshell/em-dirs.el (eshell/cd): cd commands that look up
6691 directory parts (like "cd old new", or "cd =regexp"), are now case
6692 sensitive on non-Windows/DOS platforms.
6694 * eshell/esh-mode.el (eshell-parse-command-input): When a user
6695 types RET after an open delimiter (like "), display a message
6696 indicating that Eshell is waiting for the closing delimiter.
6698 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
6699 environment variables.
6701 * eshell/em-unix.el (eshell/diff): Added logic to fail more
6702 gracefully if the user enters incorrect arguments.
6704 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
6707 * eshell/esh-var.el (eshell-interpolate-variable):
6708 * eshell/esh-mode.el (eshell-move-argument):
6709 * eshell/em-unix.el (eshell-du-sum-directory):
6710 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
6711 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
6714 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
6715 to ensure the `preserve' flag gets propagated when doing recursive
6718 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
6720 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
6721 Don't convert \n into \0177 in memory.
6722 (eshell-read-history, eshell-write-history): Convert \n to \0177,
6723 and back again, when reading and writing.
6725 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
6727 * eshell/esh-util.el (eshell-processp): Added to relieve constant
6728 testing of `fboundp' on `processp'.
6730 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
6731 (eshell/jobs): Don't call process-list if it is not bound.
6732 (eshell-gather-process-output): Support systems where async
6733 subprocesses aren't supported.
6734 (eshell-scratch-buffer, eshell-last-sync-output-start): New
6737 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
6738 eshell-do-eval returns t.
6739 (eshell-do-pipelines-synchronously): New defmacro.
6740 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
6741 when async subprocesses aren't supported.
6742 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
6743 if async subprocesses aren't supported.
6744 (eshell-resume-command): Don't assume STATUS is a string.
6746 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
6748 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
6749 (eshell-close-target, eshell-get-target): Use eshell-processp.
6750 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
6752 (eshell-get-target, eshell-create-handles): Doc fix.
6754 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
6756 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
6757 criterion to include commands that output something, as long as it
6758 leaves both the command and the end-of-buffer visible when the
6760 (eshell-review-quick-commands): Adjust the help doc string
6763 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
6765 * locate.el (locate): Cleaned up locate command's interactive prompting
6766 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
6768 * filecache.el (file-cache-case-fold-search): New variable
6769 (file-cache-assoc-function): New variable
6770 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
6771 Use file-cache-case-fold-search variable
6772 (file-cache-add-file): Use file-cache-assoc-function
6773 (file-cache-delete-file): likewise
6774 (file-cache-directory-name): likewise
6775 (file-cache-debug-read-from-minibuffer): likewise
6777 2000-08-28 Gerd Moellmann <gerd@gnu.org>
6779 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
6780 (abbrev-table-name): New function.
6781 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
6782 If non-nil list local abbrev, only.
6784 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
6786 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
6787 from Gnus support code, and use special article copy buffer
6788 `(gnus-original-article-buffer)' instead. This allows to get rid
6789 of article-hide-headers usage (which breaks in the latest Gnus
6790 version). Thanks to Detlev Zundel.
6792 2000-08-28 Kenichi Handa <handa@etl.go.jp>
6794 * international/quail.el (quail-use-package): Hide "... loaded"
6796 (quail-start-translation, quail-start-conversion): Likewise.
6798 * international/kkc.el (kkc-region): Hide "... loaded" message.
6800 2000-08-27 Dave Love <fx@gnu.org>
6802 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
6804 2000-08-27 Miles Bader <miles@gnu.org>
6806 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
6808 2000-08-27 Kenichi Handa <handa@etl.go.jp>
6810 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
6811 'ja-dic-cnv), not (require 'skkdic-cnv).
6813 2000-08-26 Miles Bader <miles@gnu.org>
6815 * faces.el (face-x-resources): Add entry for :inherit.
6816 * cus-face.el (custom-face-attributes): Add support for :inherit
6817 attribute. Add support for relative face heights.
6818 (custom-face-attributes-get): Treat `nil' as being a default value
6819 for :inherit (as well as `unspecified').
6821 * faces.el (set-face-attribute): Update doc string.
6822 (face-attribute-name-alist): Add :inherit.
6823 (face-valid-attribute-values): Handle :inherit.
6824 (face-read-string): Rephrase prompt to be less confusing.
6825 Assume that DEFAULT is a string, since we must return a string.
6826 (face-read-integer): Use `format' to turn DEFAULT into an
6827 acceptable default for face-read-string. Match NEW-VALUE against
6828 the string "unspecified", not the symbol `unspecified', since
6829 that's what face-read-string returns.
6830 (read-face-attribute): Lookup a name for old-value in valid, and
6831 use it as a default if we find one. Treat all values from
6832 face-read-string as strings. If the default is used, don't do any
6833 more processing on the value, just use the old value directly.
6834 (read-face-and-attribute, modify-face): Tweak prompt.
6835 (read-face-name): Don't assume prompt ends with a space.
6837 * faces.el (describe-face): Add support for :inherit attribute.
6839 2000-08-25 Kenichi Handa <handa@etl.go.jp>
6841 * terminal.el (terminal-emulator): Fix args to `concat'. Now
6842 concat doesn't accept interger.
6844 * international/kkc.el: Remove SKK from Keywords. Require
6845 ja-dic-utl instead of skkdic-utl.
6847 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
6848 Provide ja-dic-cnv instead of skkdic-cnv.
6849 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
6850 (iso-2022-7bit-short): Add safe-charsets property.
6851 (skkdic-convert-postfix): Search Japanese chou-on character in
6852 addition to Hiragana character.
6853 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
6854 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
6855 (batch-skkdic-convert): Likewise.
6857 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
6858 Provide ja-dic-utl instead of skkdic-utl.
6859 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
6861 2000-08-24 Dave Love <fx@gnu.org>
6863 * disp-table.el (standard-display-default): Make the test of `l'
6866 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
6869 * international/iso-ascii.el: Make pilcrow convenient string
6870 consistent with section.
6871 (iso-ascii-display): Set up multibyte characters as well as
6874 2000-08-24 Kenichi Handa <handa@etl.go.jp>
6876 * international/mule-cmds.el (reset-language-environment): Set
6877 default-process-coding-system to '(undecided . iso-latin-1), which
6878 makes process I/O almost consistent with file I/O. Call this
6879 function when mule-cmds.el[c] is loaded.
6881 2000-08-22 Andrew Innes <andrewi@gnu.org>
6883 * makefile.w32-in: New file.
6885 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
6887 * comint.el (comint-output-filter): Compare end of
6888 comint-last-output-overlay with the start of the newly inserted
6889 text, not the end, when deciding whether to extend it.
6890 Set saved-point's insertion type to advance after insertion.
6892 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
6893 since this is now done independently of font-lock mode.
6895 2000-08-21 Gerd Moellmann <gerd@gnu.org>
6897 * server.el (server-kill-new-buffers): New user option.
6898 (server-existing-buffer): New buffer-local variable.
6899 (server-visit-files): When using an existing buffer, set
6900 server-existing-buffer to t.
6901 (server-buffer-done): If server-kill-new-buffers is t, kill the
6902 buffer, unless it was already present before visiting it with
6905 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
6907 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
6908 even if the display doesn't support colors: some displays will
6909 support bold/underline faces.
6911 2000-08-21 Gerd Moellmann <gerd@gnu.org>
6913 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
6915 * startup.el (command-line): If user's init file had an error,
6916 add explanatory text to *Messages*.
6918 2000-08-21 Kenichi Handa <handa@etl.go.jp>
6920 * man.el (Man-getpage-in-background): Decode the process output by
6921 the system locale coding system.
6923 2000-08-20 Dave Love <fx@gnu.org>
6925 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
6926 Don't test x-popup-menu.
6927 (function) <complete-function>: Complete only fbound symbols.
6928 <validate, value>: New.
6929 (variable) <complete-function>: Complete only bound symbols.
6930 (coding-system): Add :base-only, :complete-function, :validate,
6931 :value, :prompt-match.
6932 (widget-coding-system-prompt-value): Use read-coding-system and
6934 (editable-field): Add :help-echo.
6935 (widget-push-button-gui, widget-push-button-cache)
6936 (widget-gui-action, widget-editable-list-gui): COmment out, along
6938 (widget-at): Make arg optional.
6939 (widget-echo-help): Adjust for current help-echo calling sequence.
6940 (widget-specify-field, widget-specify-button)
6941 (widget-specify-insert, widget-get-sibling, widget-image-find)
6942 (widget-convert, widget-insert, widget-leave-text)
6943 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
6944 (widget-setup, widget-field-find, widget-before-change)
6945 (widget-after-change, widget-default-complete)
6946 (widget-default-create, widget-default-delete)
6947 (widget-push-button-value-create, editable-field)
6948 (widget-field-prompt-value, widget-field-validate)
6949 (widget-choice-value-create, widget-choice-action)
6950 (widget-choice-validate, widget-checklist-add-item)
6951 (widget-radio-add-item, widget-radio-chosen)
6952 (widget-radio-value-inline, widget-editable-list-value-create)
6953 (widget-editable-list-entry-create)
6954 (widget-documentation-link-add)
6955 (widget-documentation-string-value-create)
6956 (widget-regexp-validate, widget-file-complete)
6957 (widget-sexp-validate, widget-plist-convert-widget)
6958 (widget-plist-convert-widget, widget-alist-convert-widget)
6959 (widget-alist-convert-widget, widget-color-complete): Simplify,
6960 particularly to avoid bindings which aren't optimized out.
6962 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
6964 (down-list, backward-up-list, up-list, kill-sexp)
6965 (backward-kill-sexp, mark-sexp): Make arg optional.
6966 (lisp-complete-symbol): Add optional arg PREDICATE.
6968 * cus-start.el: Add display-buffer-reuse-frames,
6969 file-coding-system-alist.
6971 2000-08-20 Gerd Moellmann <gerd@gnu.org>
6973 * startup.el (command-line): Clear realized faces after
6974 modifying TTY color mappings.
6976 2000-08-20 Miles Bader <miles@gnu.org>
6978 * faces.el (face-attr-match-p): Don't return true if ATTRS are
6979 merely a subset of FACE's attributes.
6981 2000-08-19 Miles Bader <miles@gnu.org>
6983 * comint.el (comint-output-filter): Save the point with a marker,
6984 not just a buffer position.
6986 * international/mule.el (set-buffer-process-coding-system): Make
6987 interactive prompt less confusing.
6989 2000-08-19 Gerd Moellmann <gerd@gnu.org>
6991 * hilit-chg.el: General cleanup of doc strings, comments and
6994 2000-08-19 Miles Bader <miles@gnu.org>
6996 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
6997 Compiler macro removed; beginning-of-line is no longer always
6998 equivalent to forward-line, in the presence of fields.
7000 * comint.el (comint-output-filter): Remove ad-hoc saving of
7001 restriction, and just use save-restriction, now that it works
7002 correctly. Don't adjust comint-last-input-start to account for
7003 our insertion; it shouldn't have moved because we don't use
7004 insert-before-markers anymore. Comment out call to
7005 `force-mode-line-update'; why is it here?
7007 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
7008 while checking for prompt to delete. Use `forward-line 0'
7009 instead of beginning-of-line.
7010 (gud-filter): Temporarily widen gud comint buffer while
7013 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
7015 * progmodes/sh-script.el: Big bag of typos.
7017 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
7018 check since ispell-process is not bound when ispell is not yet loaded.
7020 2000-08-18 Dave Love <fx@gnu.org>
7022 * image.el (find-image): Copy `spec' before using plist-put.
7024 2000-08-18 Gerd Moellmann <gerd@gnu.org>
7026 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
7029 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
7030 backward-kill-sexp, analogous to kill-sexp.
7032 * progmodes/icon.el (icon-indent-line)
7033 (icon-is-continuation-line): Handle comments specially.
7035 2000-08-17 Ken Stevens <k.stevens@ieee.org>
7037 * ispell.el: Set to standard author/maintainer/keyword fields.
7038 Fine tuning to menu map appearance and operation, and added help.
7039 Remove `start' and `end' error messages when compiling.
7040 (ispell-choices-win-default-height): Fixed comment string.
7041 (ispell-dictionary-alist-1): Fixed regexp in castellano and
7042 castellano8 dictionaries.
7043 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
7044 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
7045 dictionary, added italiano dictionary.
7046 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
7048 (ispell-tex-skip-alists): Added psfig support.
7049 (ispell-skip-html): Renamed from ispell-skip-sgml.
7050 (ispell-begin-skip-region-regexp, ispell-skip-region)
7051 (ispell-minor-check): Improved html skipping support to skip across
7052 code, and recognize `&' commands without propper `;' syntax;
7053 (ispell-process-line): Fix alignment error when manually
7054 correcting spelling.
7055 (ispell): Fix comment string.
7056 (ispell-add-per-file-word-list): Always put word list on new line.
7058 2000-08-17 Gerd Moellmann <gerd@gnu.org>
7060 * format.el (format-encode-run-method): Fix error message to say
7061 `encode' instead of `decode'. Use save-window-excursion around
7062 shell-command-on-region as in format-decode-run-method because
7063 shell-command-on-region can display a buffer with error output.
7064 (format-decode): Don't record undo information for the decoding.
7065 (format-annotate-function): Add parameter FORMAT-COUNT. Make
7066 that number part of the temporary buffer name so that more than
7067 one decoding using a temporary buffer can happen safely.
7069 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
7070 of `A-z' in the regexp.
7072 * hilit-chg.el: Fix typos in commentary.
7074 * help.el (view-emacs-news): Rewritten for new naming scheme
7077 * startup.el (command-line): Pop to *Messages* in case an error
7078 is signaled while loading user-init-file.
7080 2000-08-17 Andreas Schwab <schwab@suse.de>
7082 * files.el (insert-directory): Don't lose original file name,
7083 undoing an undocumented change.
7085 2000-08-17 Alex Schroeder <alex@gnu.org>
7087 * sql.el (sql-magic-go): Use comint-bol.
7088 (sql-copy-column): Use comint-line-beginning-position.
7089 (comint-line-beginning-position): Define a replacement for
7090 comint-line-beginning-position if it is not fboundp.
7092 2000-08-17 Alex Schroeder <alex@gnu.org>
7094 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
7095 it didn't have any effect anyway.
7097 2000-08-17 Alex Schroeder <alex@gnu.org>
7099 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
7100 --pset and pager=off instead of sending \\o|cat at the beginning
7103 2000-08-17 Miles Bader <miles@gnu.org>
7105 * progmodes/octave-inf.el: Add compatibility definition of
7106 comint-line-beginning-position.
7108 2000-08-17 Kenichi Handa <handa@etl.go.jp>
7110 * startup.el (normal-top-level): Look in each dir in load-path for
7111 a leim-list.el file too. This assures of loading leim-list.el
7112 that is created at Emacs installation time even if a user have his
7115 2000-08-17 Miles Bader <miles@gnu.org>
7117 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
7118 foreground color to black if the background is dark.
7120 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
7122 * loadhist.el (unload-feature): Typo.
7124 * finder.el (finder-compile-keywords):
7125 * cus-dep.el (custom-make-dependencies): Add local-variable settings
7126 to the generated file.
7128 * mail/mh-e.el (mh-make-local-vars):
7129 Replace make-variable-buffer-local with make-local-variable.
7132 * options.el (Edit-options-{set,toggle,t,nil}):
7133 * mail/mailabbrev.el (mail-abbrevs-mode):
7134 * textmodes/tex-mode.el (tex-expand-files):
7135 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
7137 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
7139 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
7140 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
7141 Allow going past the last element.
7142 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
7143 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
7144 (cvs-mouse-toggle-mark): Don't move point.
7145 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
7147 * progmodes/compile.el (grep): Provide a default set of files.
7148 (next-error): Docstring fix.
7149 (compilation-find-file): Avoid find-file (fails in a dedicated window).
7151 * emacs-lisp/easy-mmode.el (define-minor-mode):
7152 Use `symbol-value' to keep the byte-compiler quiet.
7154 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
7155 (diff-find-source-location): New fun, extracted from diff-goto-source.
7156 (diff-goto-source): Use it.
7157 (diff-next-complex-hunk, diff-filter-lines): New function.
7158 (diff-apply-hunk): New command.
7160 * smerge-mode.el (smerge-mode-menu): Doc fix.
7162 * msb.el (msb-mode): Define it in terms of define-minor-mode.
7164 2000-08-16 Dave Love <fx@gnu.org>
7166 * windmove.el (windmove) <defgroup>: Add :version.
7168 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
7169 (goto-address-fontify-p, goto-address-highlight-p)
7170 (goto-address-url-face, goto-address-url-mouse-face)
7171 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
7172 (goto-address-url-regexp): Use thing-at-point-url-regexp.
7173 (goto-address-fontify, goto-address-at-mouse): Simplify,
7174 (goto-address-at-point): browse-url-url-at-point,
7175 goto-address-find-address-at-point can return nil.
7176 (goto-address-find-address-at-point): Return nil on failure.
7178 * align.el (align) <defgroup>: Add :version.
7180 * calculator.el (calculator): Add :version.
7181 (calculator): Use two lines for calculator window if `modeline'
7184 * play/5x5.el: Doc fixes.
7185 (5x5) <defgroup>: Add :version.
7187 * play/fortune.el (fortune) <defgroup>: Add :version.
7188 (fortune-append): Fix error message.
7189 (fortune-from-region): Doc fix.
7191 * play/pong.el (pong): Doc fix.
7193 * play/morse.el: Keywords, commentary, autoloads.
7195 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
7197 * desktop.el (desktop-save): Don't look at symbol-value of a
7198 member of minor-mode-alist, unless it is boundp.
7200 2000-08-16 Sam Steingold <sds@gnu.org>
7202 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
7203 `while'; use `with-current-buffer' instead of `save-excursion'.
7204 Removed unnecessary kludges now that "*Buffer List*" is excluded.
7206 2000-08-16 Kenichi Handa <handa@etl.go.jp>
7208 * international/ccl.el (declare-ccl-program): Docstring modified.
7209 (ccl-execute-with-args): Likewise.
7211 2000-08-16 Miles Bader <miles@gnu.org>
7213 * progmodes/sql.el: Add compatibility definition of
7214 comint-line-beginning-position.
7216 2000-08-15 Gerd Moellmann <gerd@gnu.org>
7218 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
7219 'buffer-menu' property.
7220 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
7222 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
7223 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
7226 * buff-menu.el (list-buffers-noselect): Don't display the
7227 *Buffer List* buffer.
7229 * font-lock.el: Require jit-lock to prevent a very late
7230 `Loading jit-lock' message.
7232 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
7233 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
7236 2000-08-15 Miles Bader <miles@gnu.org>
7238 * textmodes/ispell.el (ispell-graphic-p): New constant.
7239 (ispell-choices-win-default-height, ispell-help): Use
7240 `ispell-graphic-p' instead of `xemacsp'.
7242 2000-08-15 Dave Love <fx@gnu.org>
7244 * simple.el: Autoload widget-convert when compiling.
7245 (mail-user-agent): Doc fix.
7247 * help.el (function-called-at-point, variable-at-point): Use
7249 (help-manyarg-func-alist): Add insert-and-inherit.
7251 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
7253 * delsel.el (delsel-unload-hook): New function.
7255 * find-file.el: Doc fixes. Move provide to end.
7256 (ff) <defgroup>: Add :link.
7257 (ff-goto-click): Deleted.
7258 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
7259 Use mouse-set-point.
7261 * textmodes/tildify.el: Doc fixes.
7262 (tildify) <defgroup>: Add:version.
7264 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
7265 (glasses-custom-set): Use set-default, not set.
7266 (minor-mode-alist): Propertize the lighter.
7267 (glasses-mode): Provide optional arg.
7269 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
7270 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
7271 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
7272 option. Provide :type.
7273 (cwarn-configuration): Provide :type.
7274 (cwarn-mode): Doc fix.
7276 * add-log.el (change-log-merge): Doc fix.
7277 (change-log-redate): New command.
7279 * net/browse-url.el (browse-url-filename-alist): Add a clause for
7281 (browse-url): Use dolist, not mapcar.
7282 (browse-url-at-point): Check for null url.
7283 (browse-url-event-buffer, browse-url-event-point): Functions
7285 (browse-url-at-mouse, browse-url-netscape): Simplify.
7287 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
7289 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
7290 Fix previous change to mapcan.
7291 (msb--init-file-alist, msb--add-separators)
7292 (msb--make-keymap-menu): Simplify.
7293 (msb--choose-file-menu): Use copy-sequence.
7294 (msb-mode-map): Add title to keymap.
7295 (msb-unload-hook): New function.
7297 * bs.el: Fix indentation.
7298 (bs) <defgroup>: Add :links.
7300 (bs-apply-sort-faces): Don't use window-system.
7301 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
7303 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
7305 * calendar/timeclock.el (timeclock-file): Run .timelog through
7306 convert-standard-filename.
7308 2000-08-14 Gerd Moellmann <gerd@gnu.org>
7310 * emacs-lisp/authors.el: New file.
7312 * paren.el (show-paren-priority): New user option.
7313 (show-paren-function): Set overlay priorities to
7314 show-paren-priority.
7316 2000-08-14 Miles Bader <miles@gnu.org>
7318 * comint.el (comint-bol): Use `forward-line 0' instead of calling
7319 beginning-of-line with inhibit-field-text-motion bound.
7321 2000-08-14 Gerd Moellmann <gerd@gnu.org>
7323 * calendar/timeclock.el: New file.
7325 2000-08-14 David Ponce <david@dponce.com>
7327 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
7328 `widget-button-click'. so that one can use left mouse button to
7329 click on dialog buttons.
7331 2000-08-14 Emmanuel Briot <briot@gnat.com>
7333 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
7334 identifiers, since XML is case sensitive
7336 2000-08-12 Miles Bader <miles@gnu.org>
7338 * comint.el (comint-output-filter): Don't bother frobbing
7339 window-start, it doesn't seem to be necessary.
7341 * comint.el (comint-send-string, comint-send-region): Make into
7342 real functions. Snapshot the prompt before sending.
7344 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
7346 * info.el (Info-find-emacs-command-nodes): Rewrite to use
7347 technique similar to Info-index, instead of relying on specific
7348 names of relevant Index nodes.
7349 (Info-goto-emacs-command-node): Bind Info-history to nil when
7350 going to the first node found by Info-find-emacs-command-nodes.
7352 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
7354 * menu-bar.el (menu-bar-help-menu): Add a :help string.
7356 2000-08-10 Miles Bader <miles@gnu.org>
7358 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
7360 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
7362 * info.el (Info-file-list-for-emacs): More elements for the
7363 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
7366 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
7368 * comint.el (comint-send-input): Make the newline boundary overlay
7369 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
7370 (comint-output-filter): Use `insert' instead of
7371 `insert-before-markers'. Extend comint-last-output-overlay when
7372 necessary since we can't rely on insert-before-markers to do it.
7373 * gud.el (gud-filter): Use `with-current-buffer' instead of
7374 save-excursion when inserting the output, so that point gets
7375 updated correctly; the old method relied on a rather dodgy
7376 side-effect of comint-output-filter to avoid the effect of
7379 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
7381 * files.el (recover-file): Call insert-directory instead of
7382 invoking `ls' directly.
7384 2000-08-10 Miles Bader <miles@gnu.org>
7386 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
7387 (comint-last-prompt-overlay): New variables.
7388 (comint-output-filter): Implement prompt highlighting.
7389 (comint-snapshot-last-prompt): New function.
7390 (comint-send-input): Snapshot the last prompt.
7391 Use comint-highlight-input-face.
7392 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
7393 Use defface instead of defcustom.
7394 (send-invisible, comint-send-eof): Snapshot the last prompt.
7395 (comint-delchar-or-maybe-eof): Use comint-send-eof.
7396 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
7398 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
7400 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
7401 (regexp-opt-group): Use a list of chars for `letters'.
7402 (regexp-opt-charset): `chars' is now a list of chars.
7403 Use a char-table rather than a vector so it works for multibyte chars.
7405 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
7406 Set cvs-minor-current-files to the selected fileinfo.
7407 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
7408 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
7410 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
7412 * files.el (insert-directory): Don't call access-file on
7413 directories on DOS and Windows.
7415 2000-08-09 Kenichi Handa <handa@etl.go.jp>
7417 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
7418 longer if necessary.
7419 (ccl-embed-code): Call ccl-embed-data to store CODE in
7422 2000-08-09 Miles Bader <miles@gnu.org>
7424 * comint.el (comint-output-filter): Properly handle the case where
7425 the text surrounded by comint-last-output-overlay was deleted.
7427 2000-08-08 Gerd Moellmann <gerd@gnu.org>
7429 * info.el (Info-insert-dir): Use Info-additional-directory-list if
7431 (Info-file-list-for-emacs): Remove "info" from the list because
7432 that leads to trying to use the documentation from file `info'
7433 in various situations where it isn't appropriate, for instance
7436 * ffap.el (ffap-read-file-or-url-internal): Handle case that
7437 DIR and/or STRING are nil.
7439 * progmodes/compile.el (compilation-setup): Make variable
7440 compilation-error-screen-columns buffer-local, as some comment
7441 in the code suggests it should be.
7443 * files.el (auto-mode-interpreter-regexp): New variable.
7444 (set-auto-mode): Use it.
7446 * indent.el (indent-for-tab-command): Doc fix.
7448 * mouse-sel.el (mouse-sel-mode): Doc fix.
7450 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
7453 * help.el (print-help-return-message): When
7454 display-buffer-reuse-frames is set, let the help window been quit,
7455 instead of deleting it, which might delete a reused frame.
7457 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
7459 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
7460 rename a directory to a name that differs only by its letter case.
7462 2000-08-08 Kenichi Handa <handa@etl.go.jp>
7464 * international/quail.el (quail-define-rules): Handle Quail decode
7465 map correctly. Add code for supporting annotations.
7466 (quail-install-decode-map): New function.
7467 (quail-defrule-internal): New optional arguments decode-map and
7469 (quail-advice): New function.
7471 2000-08-07 Sam Steingold <sds@gnu.org>
7473 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
7474 `defconst', `define-condition', `with-slots'.
7475 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
7477 2000-08-03 Miles Bader <miles@gnu.org>
7479 * comint.el (comint-use-prompt-regexp-instead-of-fields):
7481 (comint-prompt-regexp, comint-get-old-input): Document dependence on
7482 comint-use-prompt-regexp-instead-of-fields.
7483 (comint-send-input): Add `input' field property to stuff we send to
7484 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
7485 (comint-output-filter): Add `output' field property to process
7486 output, if comint-use-prompt-regexp-instead-of-fields is nil.
7487 (comint-replace-by-expanded-history)
7488 (comint-get-old-input-default, comint-show-output)
7489 (comint-backward-matching-input, comint-forward-matching-input)
7490 (comint-next-prompt, comint-previous-prompt): Use field
7491 properties if comint-use-prompt-regexp-instead-of-fields is nil.
7492 (comint-line-beginning-position): New function.
7493 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
7494 (comint-replace-by-expanded-history-before-point): Use
7495 comint-line-beginning-position and line-end-position.
7496 (comint-last-output-overlay): New variable.
7497 (comint-mode): Make `comint-last-output-overlay' buffer-local.
7499 * shell.el (shell-prompt-pattern): Doc change.
7500 (shell-backward-command): Use line-beginning-position.
7502 * gud.el (gud-gdb-complete-command): Use
7503 comint-line-beginning-position.
7505 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
7506 comint-bol doesn't actually go to the beginning of the line.
7508 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
7509 if comint-use-prompt-regexp-instead-of-fields is non-nil.
7510 (try-expand-line-all-buffers): Likewise.
7512 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
7513 explicitly matching comint-prompt-regexp.
7514 (sql-copy-column): Use comint-line-beginning-position instead of
7515 explicitly matching comint-prompt-regexp.
7517 * progmodes/octave-inf.el (inferior-octave-complete): Use
7518 comint-line-beginning-position.
7520 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
7522 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
7523 looking for a prompt, use `forward-line 0' instead of
7524 `beginning-of-line', to avoid getting caught by an input field.
7526 2000-08-07 Gerd Moellmann <gerd@gnu.org>
7528 * files.el (shell-quote-wildcard-pattern): Make sure to return
7529 PATTERN, in the Unix case.
7531 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
7533 * play/zone.el (zone): Discard any pending input before running
7534 the randomly-chosen pgm.
7536 2000-08-07 Kenichi Handa <handa@etl.go.jp>
7538 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
7539 checking the existence of any multibyte characters.
7541 2000-08-06 Gerd Moellmann <gerd@gnu.org>
7543 * help.el (describe-mode): Test minor-mode symbol for being
7544 bound before testing its value for being nil.
7546 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
7547 `first', `second', and `third'.
7549 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
7550 (second): Make it an alias for `cadr'.
7552 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
7554 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
7555 types of display support faces now.
7557 2000-08-05 Gerd Moellmann <gerd@gnu.org>
7559 * pcvs.el (require): Require `cl' during compilation, only.
7561 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
7562 (toplevel): Remove `remq' and `remove' from autoloads.
7563 (cl-fake-autoloads): New variable. If set, arrange for an error
7564 when CL functions etc. are autoloaded.
7566 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
7568 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
7570 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
7571 popped up, but the user clicks outside the menu, return an empty
7572 regexp (that causes unhighlight-regexp to have no effect).
7574 * menu-bar.el (menu-bar-games-menu): Add Zone.
7576 * hi-lock.el (toplevel): Require font-lock.
7578 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7580 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
7581 (ebnf-8-bit-chars): New var for bug fix.
7582 (ebnf-string): Bug fix.
7584 2000-08-03 Sam Steingold <sds@gnu.org>
7586 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
7587 instead of `buffer-string'.
7588 (require 'cl): Always, not just when compiling.
7589 `ignore-errors' in `interactive', `list*', `defun*' &c make this
7592 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
7594 * international/mule-cmds.el (select-safe-coding-system): Make
7595 the message text about selecting a safe coding system more clear.
7597 2000-08-02 Gerd Moellmann <gerd@gnu.org>
7599 * hi-lock.el: New file.
7601 * play/zone.el: New file.
7603 * replace.el (occur): Set tab-width in the *Occur* buffer to the
7604 value of tab-width in the original buffer. Choose a line number
7605 format that's a multiple of the original buffer's tab width, so
7606 that lines appear right.
7608 * textmodes/ispell.el (ispell): New function, replacing an alias.
7609 Spell-check active region if in transient-mark-mode and mark
7610 is active; otherwise spell-check buffer.
7612 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7614 * ps-mule.el: Fix a customization problem on
7615 ps-mule-font-info-database-default.
7617 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
7619 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
7620 display-mouse-p instead of window-system.
7621 (ebrowse-member-mode-map): Ditto.
7623 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7625 * progmodes/ebnf2ps.el: Update ps-print functions call.
7626 Indentation fix. Doc fix.
7627 (ebnf-version): New version number (3.2).
7628 (ebnf-format-color, ebnf-begin-job): Code fix.
7630 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
7632 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
7633 font lock support on window-system.
7634 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
7636 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
7637 display-color-p, if fboundp, instead of window-system.
7639 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
7641 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
7642 instead of window-system.
7644 * wid-edit.el (widget-choose): Use display-mouse-p instead of
7646 (widget-choice-mouse-down-action): Use display-popup-menus-p
7647 instead of window-system.
7649 * strokes.el (strokes-file): Run the file name through
7650 convert-standard-filename.
7651 (strokes-mode): Call display-mouse-p instead of looking at
7652 window-system. Change the error message accordingly.
7654 * progmodes/cpp.el (toplevel): Support faces on tty's.
7656 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
7657 (lm-plot-square, lm-init-display): Don't use window-system.
7659 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
7660 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
7662 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
7663 instead of looking at window-system.
7665 2000-07-30 Gerd Moellmann <gerd@gnu.org>
7667 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
7668 of testing if iswitchb-prepost-hooks is bound, because the
7669 latter will always be true when invoking a recursive minibuffer
7670 from an active Iswitchb buffer.
7672 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
7674 * files.el (shell-quote-wildcard-pattern): New function.
7675 (insert-directory): Call it. Only prepend "\" to command on Unix
7676 and GNU/Linux systems.
7678 2000-07-30 Gerd Moellmann <gerd@gnu.org>
7680 * eshell/esh-groups.el: Change custom :link file names
7681 from `eshell.info' to `eshell'.
7683 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
7685 * dired.el (dired-build-subdir-alist): Expand subdirectory names
7686 correctly in recursive ange-ftp listings.
7688 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7690 * ps-print.el: Fix bug 1: if ps-font-size-internal,
7691 ps-header-font-size-internal and
7692 ps-header-title-font-size-internal variables are not set,
7693 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
7694 face text property is (foreground-color . COLOR) or
7695 `(background-color . COLOR)', ps-print crashes. Doc fix.
7696 (ps-print-version): New version number (5.2.4).
7697 (ps-plot-region): Code fix.
7698 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
7699 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
7702 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
7704 * glasses.el (glasses-make-readable): Fix uncapitalization of
7705 identifiers like `myXMLDocument'.
7707 2000-07-28 Karl Fogel <kfogel@red-bean.com>
7709 * mail/mail-hist.el (mail-hist-previous-input)
7710 (mail-hist-next-input): Do the obvious code factorization.
7711 (mail-hist-retrieve-and-insert): New func, contains common
7713 If inserting a message body, leave point at top.
7715 2000-07-28 Sam Steingold <sds@gnu.org>
7717 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
7718 Use `<=', not `<' to compare times!
7719 (ange-ftp-ls): Remove.
7721 2000-07-27 Gerd Moellmann <gerd@gnu.org>
7723 * play/cookie1.el: Add explanation of how to make cookie.el
7724 compatible with strfile(1) to comment.
7726 * subr.el (remove, remq): New functions.
7728 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
7729 escape `*' in regexps.
7730 (midnight-find): Reverse order of arguments in the funcall of
7733 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
7736 * play/meese.el: Add Commentary section.
7738 2000-07-27 Alex Schroeder <alex@gnu.org>
7740 * sql.el (sql-ms): Added autoload cookie.
7741 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
7742 (sql-oracle): Ditto.
7743 (sql-help): Doc change.
7745 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
7746 types and exceptions.
7748 2000-07-27 Alex Schroeder <alex@gnu.org>
7750 * sql.el (sql-placeholder-history): New variable.
7751 (sql-query-placeholders-and-send): New function that will query
7752 the user and replace placeholders with user input.
7753 (sql-oracle): If running on NT, set comint-input-sender to
7754 sql-query-placeholders-and-send.
7756 (sql-stop): If in the SQLi buffer, insert stop notification, else
7757 present it as a message.
7759 2000-07-27 Alex Schroeder <alex@gnu.org>
7761 * sql.el (sql-input-ring-separator): Doc change.
7762 (sql-input-ring-file-name): Doc change.
7763 (sql-interactive-mode): Use `sql-input-ring-separator' and
7764 `sql-input-ring-file-name' to set the comint-mode equivalents
7765 without making them local variables.
7766 (sql-stop): Don't bind `sql-input-ring-separator' and
7767 `sql-input-ring-file-name' dynamically to their comint-mode
7770 2000-07-27 Kenichi Handa <handa@etl.go.jp>
7772 * international/mule.el (register-char-codings): New function.
7773 (make-coding-system): Handle `safe-chars' specification in the arg
7776 * international/mule-cmds.el
7777 (find-coding-systems-region-subset-p): This function deleted.
7778 (sort-coding-systems-predicate): New variable.
7779 (sort-coding-systems): New function.
7780 (find-coding-systems-region): Use
7781 find-coding-systems-region-internal.
7782 (find-coding-systems-string): Use find-coding-systems-region.
7783 (find-coding-systems-for-charsets): Check
7784 char-coding-system-table.
7785 (select-safe-coding-system-accept-default-p): New variable.
7786 (select-safe-coding-system): Mostly rewritten. New argument
7788 (select-message-coding-system): Call select-safe-coding-system
7789 with ACCEPT-DEFAULT-P arg.
7790 (reset-language-environment): Reset default-sendmail-coding-system
7791 to the default value iso-latin-1.
7792 (set-language-environment): Don't set the obsolete variable
7793 charset-origin-alist.
7795 * international/codepage.el (cp-coding-system-for-codepage-1):
7796 Give `safe-chars' property to make-coding-system.
7798 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
7799 calling select-message-coding-system twice.
7801 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
7802 instead of `safe-charsets'.
7803 (cyrillic-alternativnyj): Likewise.
7804 (ccl-encode-alternativnyj): Don't check the charset
7807 2000-07-27 Kenichi Handa <handa@etl.go.jp>
7809 * composite.el (compose-chars-after): Preserve match data.
7811 2000-07-26 Sam Steingold <sds@gnu.org>
7813 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
7814 (ange-ftp-real-file-newer-than-file-p): New function.
7815 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
7816 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
7818 * tooltip.el (tooltip-float-time): Removed (use `float-time').
7819 * midnight.el (midnight-float-time): Ditto.
7821 2000-07-26 Andreas Schwab <schwab@suse.de>
7823 * files.el (normal-backup-enable-predicate): Correct
7824 interpretation of the return value of compare-strings.
7826 2000-07-26 Gerd Moellmann <gerd@gnu.org>
7828 * isearch.el (isearch-resume): New function.
7829 (isearch-done): Add something to command-history to resume
7831 (isearch-yank-line, isearch-yank-word): Use
7832 buffer-substring-no-properties instead of buffer-substring.
7834 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
7835 of flyspell-mouse-map.
7837 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
7838 duplicate definition.
7839 (makefile-mode): Remove duplicate setting of local-abbrev-table.
7841 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
7842 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
7844 2000-07-25 Sam Steingold <sds@gnu.org>
7846 * net/ange-ftp.el: Get modtime over the net.
7847 (ange-ftp-file-modtime): New function.
7848 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7849 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
7851 (ange-ftp-dot-to-slash): New function.
7852 (ange-ftp-fix-name-for-vms): Use it.
7854 * midnight.el (midnight-buffer-display-time): Use
7855 `with-current-buffer'.
7857 2000-07-25 Gerd Moellmann <gerd@gnu.org>
7859 * find-dired.el: Update copyright notice.
7860 (find-dired): Offer to kill a running `find'.
7862 * enriched.el (enriched-face-ans): For a `foreground-color'
7863 property, return '(("x-color" COLOR))' so that COLOR will be
7864 output as a parameter of the x-color annotation. Likewise for the
7865 `background-color' property. In the case of normal face
7866 properties, don't return annotations for unspecified foreground
7867 and background face attributes.
7869 2000-07-25 Kenichi Handa <handa@etl.go.jp>
7871 * language/japan-util.el (japanese-katakana-region): Fix handling
7874 2000-07-25 Miles Bader <miles@gnu.org>
7876 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
7877 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
7880 2000-07-24 Andrew Innes <andrewi@gnu.org>
7882 * timer.el (timer-activate-when-idle): Add optional parameter
7883 DONT-WAIT. Update docstring.
7884 (run-with-idle-timer): Specify extra parameter to
7885 timer-activate-when-idle, so that timer will be activated
7886 immediately if Emacs is already idle.
7888 * w32-fns.el (w32-using-nt): Fix docstring.
7890 2000-07-24 Dave Love <fx@gnu.org>
7892 * mouse.el (popup-menu): Set last-command-event.
7893 (mouse-major-mode-menu-prefix): Declare.
7895 2000-07-24 Gerd Moellmann <gerd@gnu.org>
7897 * textmodes/flyspell.el: Update to author's version 1.5d.
7899 * progmodes/hideshow.el: Update copyright notice.
7901 * vcursor.el: Set maintainer to FSF, since author cannot
7904 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
7906 * info.el (Info-goto-emacs-key-command-node): Leave a space after
7909 * mouse.el (popup-menu): Run the keymap through indirect-function,
7910 in case it was defined with define-prefix-key. If the menu is a
7911 list of keymaps, look up the binding of user's choice in each one
7913 (mouse-popup-menubar): If the global and local menu-bar keymaps
7914 don't have a prompt string, create one and insert it into the
7915 keymap. Don't barf if current-local-map returns nil.
7917 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
7919 * dired.el (dired-sort-R-check): Added to allow recursive listing
7921 (dired-sort-other): Use it.
7923 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7925 * Release of cc-mode 5.27
7927 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7929 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
7930 c-beginning-of-statement-1 that caused a bad case of recursion
7931 which could consume a lot of CPU in large classes in languages
7932 that have in-expression classes (i.e. Java and Pike).
7934 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
7935 statements before top level constructs (i.e. case 6 is moved
7936 before case 5 and is now case 4) to catch in-expression
7937 classes in top level expressions correctly.
7939 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7941 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
7942 objc-method-intro. Case 4 removed and case 5I added.
7944 * cc-langs.el (c-append-paragraph-start): New variable used by
7945 c-common-init to get paragraph-start correct.
7946 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
7947 initialize paragraph-start to make it correct both with and
7948 without the javadoc special case.
7950 * cc-mode.el (java-mode): Use c-append-paragraph-start to
7951 initialize paragraph-start for javadoc markup.
7953 * cc-vars.el (c-style-variables-are-local-p): Incompatible
7954 change by defaulting this to t. It's motivated by the
7955 confusing behavior that otherwise arise from the style system
7956 when editing both java and non-java files at the same time
7957 (see the comments about style setting in c-common-init).
7959 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7961 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
7962 similar to the one in c-fill-paragraph to check the fill
7963 prefix from the adaptive fill function for sanity.
7965 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7967 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
7970 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7972 * cc-mode.texi Documented the change of cpp-macro.
7974 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7976 * cc-align.el (c-lineup-multi-inher): Handle lines with
7977 leading comma nicely. Extended to handle member initializers
7980 * cc-engine.el: (c-beginning-of-inheritance-list,
7981 c-guess-basic-syntax): Fixed recognition of inheritance lists
7982 when the lines begins with a comma.
7984 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
7986 * cc-vars.el (c-offsets-alist): Changed default for
7987 member-init-cont to c-lineup-multi-inher since it now handles
7988 member initializers and indents better for leading commas.
7990 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7992 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
7993 handling that caused class open lines to be recognized as
7994 statement-conts in some cases.
7996 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
7997 guessed by the adaptive fill function unless point is on the
7998 first line of a block comment.
8000 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
8001 when the buffer ends with a macro continuation char.
8003 * cc-engine.el (c-guess-basic-syntax): Added support for
8004 function definitions as statements in Pike. The first
8005 statement in a lambda block is now labeled defun-block-intro
8006 instead of statement-block-intro.
8008 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
8009 so that the class surrounding point is selected, not the one
8010 innermost in the state.
8012 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
8013 recognition of switch labels having hanging multiline
8016 * cc-engine.el (c-beginning-of-member-init-list): Broke out
8017 some code in c-guess-basic-syntax to a separate function.
8018 * cc-engine.el (c-just-after-func-arglist-p): Fixed
8019 recognition of member inits with multiple line arglists.
8020 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
8021 member-init-cont when the commas are in funny places.
8023 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8025 * cc-defs.el (c-auto-newline): Removed this macro since it's
8028 * cc-engine.el (c-looking-at-bos): New helper function.
8029 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
8030 inexpr and toplevel classes apart in Pike.
8032 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
8035 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
8036 constant, since "class" can introduce an in-expression class
8039 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8041 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
8042 indentation on cpp-macro lines.
8044 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
8045 a syntax modifier like comment-intro, to make it possible to
8046 get syntactic indentation for preprocessor directives. It's
8047 incompatible wrt to lineup functions on cpp-macro, but it has
8048 no observable effect in the 99.9% common case where cpp-macro
8051 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8053 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
8054 member-init-cont when the preceding arglist is several lines.
8056 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8058 * cc-styles.el (c-style-alist): The basic offset for the BSD
8059 style corrected to 8.
8061 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8063 * cc-styles.el (c-style-alist): Adjusted the indentation of
8064 brace list openers in the gnu style.
8066 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8068 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
8070 * cc-cmds.el (c-electric-brace, c-electric-slash,
8071 c-electric-star, c-electric-semi&comma, c-electric-colon,
8072 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
8073 when c-syntactic-indentation is nil.
8075 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
8076 we were left at comments preceding the first statement when
8077 reaching the beginning of the buffer.
8079 * cc-vars.el (c-syntactic-indentation): New variable to turn
8080 off all syntactic indentation.
8082 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8084 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
8085 between the text and the block comment ender when it hangs,
8086 depending on how many there are before the fill.
8088 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8090 * cc-engine.el (c-beginning-of-closest-statement): New helper
8091 function to go back to the closest preceding statement start,
8092 which could be inside a conditional statement.
8093 * cc-engine.el (c-guess-basic-syntax): Use
8094 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
8096 * cc-engine.el (c-guess-basic-syntax): Better handling of
8097 arglist-intro, arglist-cont-nonempty and arglist-close when
8098 the arglist is nested inside parens. Cases 7A, 7C and 7F
8101 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
8102 up-to-date with javadoc 1.2.
8104 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8106 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
8107 multiline Pike type decls.
8109 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8111 * cc-cmds.el (c-indent-new-comment-line): Always break
8112 multiline comments in multiline mode, regardless of
8115 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8117 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
8118 fully::qualified::names in C++ member init lists. Preamble in
8121 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8123 * cc-langs.el (c-common-init): Handling of obsolete variables
8124 moved to c-initialize-cc-mode. More compatible style override
8125 when using global style variables.
8126 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
8127 variables moved here.
8129 * cc-mode.texi: Documented the special behavior of
8130 c-special-indent-hook as a style variable. Don't talk about
8131 doing (c-make-styles-buffer-local t) in a mode hook, since
8132 that's already too late to work right.
8134 * cc-styles.el (c-make-styles-buffer-local): Flag style
8135 variable localness in c-style-variables-are-local-p to make
8136 the compatibility measure in c-common-init work well.
8138 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
8139 longer contain set-from-style.
8140 * cc-styles.el (c-initialize-builtin-style): Don't check for
8141 set-from-style on c-special-indent-hook.
8142 * cc-styles.el (c-copy-tree): Obsolete. The standard function
8143 copy-alist is sufficient now.
8145 * cc-styles.el (c-set-style, c-set-style-1,
8146 c-get-style-variables): Fixes to variable initialization so
8147 that duplicate entries in styles have the same effect
8148 regardless of DONT-OVERRIDE.
8150 * cc-styles.el (c-set-style-2): Fixed bug where the
8151 initialization of inheriting styles failed when the
8152 dont-override flag is set.
8154 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
8157 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8159 * cc-defs.el (c-forward-comment): Removed the workaround
8160 introduced in 5.38 since it had worse side-effects. If a line
8161 contains the string "//\"", it regarded the // as a comment
8162 start since the \ temporarily doesn't have escape syntax.
8164 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
8166 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
8167 ada-xref.el before ada-prj.el, so that the Project menu is created
8168 when ada-prj tries to add to it.
8169 (ada-activate-keys-for-case): Suppress the characters that are not
8170 part of the Ada syntax. Better compatibility with else-mode
8171 (ada-adjust-case-interactive): When auto-casing is not active,
8172 correctly insert newlines (used to insert only ^M). Prevent the
8173 syntax table from being changed in case of an error
8174 (or '_' becomes part of a word and some commands are confused).
8175 Do nothing if ada-auto-case is nil.
8176 (ada-after-keyword-p): Ignore keywords that are also attributes
8177 (ada-batch-reformat): Update usage comment
8178 (ada-call-from-contextual-menu): New function
8179 (ada-case-read-exceptions): Reinitialize the casing exception list
8180 first to nil first, so that the casing exception file can be
8182 (ada-check-defun-name): Handles "configure" keyword for gnatdist
8184 (ada-compile-goto-error): Fix regexp used to detect a file:line
8185 anywhere in the error message
8186 (ada-contextual-menu-last-point): New variable
8187 (ada-create-keymap): If the variable delete-key-deletes-forward is
8188 t on XEmacs, it means that DEL should delete one character
8190 (ada-create-menu): Use :included instead of :visible for XEmacs.
8191 New submenu "Options".
8192 (ada-end-stmt-re): Correctly indent "select ... then abort"
8194 (ada-fill-comment-paragraph): Correctly delete all leading '--'
8195 even if they don't match ada-fill-comment-prefix Fix handling of
8196 paragraphs on the first or last line of a file.
8197 (ada-format-paramlist): Fix handling of default parameter values.
8198 (ada-get-body-name): New function.
8199 (ada-get-current-indent): Optimized by searchling directly for an
8200 existing generic part or a statement outside of it. Handle
8201 ada-indent-align-comments when indenting comments Replaced some
8202 regexps by testing directly the next character. This results in a
8203 huge speedup on some files. New indentation scheme for renames
8204 statements. Stop looking for the 'while' or 'for' associated with
8205 a 'loop' at the first semicolon encountered. A "return" can also
8206 match an anonymous access subprogram declaration.
8207 (ada-get-indent-noindent): Ignore strings and comments when
8208 looking for the keywords "record" and "private".
8209 (ada-goto-matching-decl-start): When matching "if", make sure we
8210 are not in fact seeing "end if". Ignore "when" statements except
8211 when initial keyword was "begin". Fix handling of nested
8212 procedures. Add a recursive call to this function to skip over
8213 other 'end' statmts. Fix indentation for "when .. => begin"
8214 (ada-in-open-paren-p): Fix indentation for complex boolean
8215 expressions, where 'and then', 'or else' and parenthesis
8216 statements are mixed up.
8217 (ada-in-paramlist-p): Skip comments while searching for the
8218 beginning Fix handling of operator declarations.
8219 (ada-indent-align-comments): New variable
8220 (ada-indent-current): Change the syntax table only in the
8221 protected section, so that we are sure it is restored correctly.
8222 (ada-indent-on-previous-lines): Use ada-use-indent and
8223 ada-with-indent Correctly indent "select ... then"
8224 (ada-indent-region): Slight speedup.
8225 (ada-indent-renames): New variable.
8226 (ada-last-which-function-subprog, ada-last-which-function-line):
8228 (ada-looking-at-semi-private): Correctly indent the 'private'
8229 keyword when it is the first word in a package declaration.
8230 (ada-loose-case-word): Stop searching if at the end of the buffer.
8231 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
8232 even if point is not initially at the end of the word.
8233 (ada-matching-decl-start-re): Add "when".
8234 (ada-mode): Add support for abbrev-mode, outline-mode and
8235 which-func-mode Override the old find-file.el entry in
8236 ff-special-constructs since it is using the obsolete
8237 ada-spec-suffix variable
8238 (ada-no-auto-case): New function
8239 (ada-scan-paramlist): When parsing the argument type, accept
8240 spaces (as in "X 'Class", generated by Rational Rose).
8241 (ada-other-file-name): No longer loads the other file.
8242 (ada-popup-menu): Save and restore the current buffer and cursor
8243 position before and after displaying the menu.
8244 (ada-search-ignore-complex-boolean): New function.
8245 (ada-uncomment-region): Emacs21 already knows how to delete
8246 comments not starting in the first column.
8247 (ada-use-indent): New variable
8248 (ada-which-function): New function.
8249 (ada-with-indent): New variable
8250 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
8251 can be batch-compiled from the command line.
8253 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
8254 Add to the menu when the file is loaded, not in ada-mode-hook.
8255 Add -toolbar to the default ddd command Switches moved from
8256 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
8257 ada-prj-default-comp-opt
8258 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
8259 Reference Manual to the menu
8260 (ada-check-current): rewritten as a call to ada-compile-current
8261 (ada-compile): Removed.
8262 (ada-compile-application, ada-compile-current, ada-check-current):
8263 Set the compilation-search-path so that compile.el automatically
8264 finds the sources in src_dir. Automatic scrollong of the
8265 compilation buffer. C-uC-cC-c asks for confirmation before
8267 (ada-compile-current): New parameter, prj-field
8268 (ada-complete-identifier): Load the .ali file before doing
8270 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
8271 conform to gnatmake's behavior.
8272 (ada-find-file-in-dir): New function
8273 (ada-find-references): Set the environment variables for gnatfind
8274 (ada-find-src-file-in-dir): New function.
8275 (ada-first-non-nil): Removed
8276 (ada-gdb-application): Add support for jdb, the java debugger.
8277 (ada-get-ada-file-name): Load the original-file first if not done
8279 (ada-get-all-references): Handles the new ali syntax (parent types
8280 are found between <>).
8281 (ada-initialize-runtime-library): New function
8282 (ada-mode-hook): Always load a project file when a file is opened,
8283 so that the casing exceptions are correctly read.
8284 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
8285 (ada-parse-prj-file): Use find-file-noselect instead of find-file
8286 to open the project file, since the latter does not work with
8287 speedbar Get default values before loading the prj file, or the
8288 default executable file name is wrong. Use the absolute value of
8289 src_dir to initialize ada-search-directories and
8290 compilation-search-path,... Add the standard runtime library to
8291 the search path for find-file.
8292 (ada-prj-default-debugger): Was missing an opening '{'
8293 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
8295 (ada-prj-default-gnatmake-opt): New variable
8296 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
8297 buffers, the project file is the default one Save the windows
8298 configuration before displaying the menu.
8299 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
8300 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
8301 ...) regexp-quote identifiers names to support operators +,
8303 (ada-remote): New function.
8304 (ada-run-application): Erase the output buffer before starting the
8305 run Support remote execution of the application. Use
8306 call-process, or the arguments are incorrectly parsed
8307 (ada-set-default-project-file): Reread the content of the active
8308 project file, not the one from the current buffer When a project
8309 file is set as the default project, all directories are
8310 automatically associated with it.
8311 (ada-set-environment): New function
8312 (ada-treat-cmd-string): New special variable ${current}
8313 (ada-treat-cmd-string): Revised. The substitution is now done for
8314 any ${...} substring
8315 (ada-xref-current): If no body was found, compiles the spec
8316 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
8317 compiler to get rid of command line length limitations.
8318 (ada-xref-get-project-field): New function
8319 (ada-xref-project-files): New variable
8320 (ada-xref-runtime-library-specs-path)
8321 (ada-xref-runtime-library-ali-path): New variables
8322 (ada-xref-set-default-prj-values): Default run command now does a
8323 cd to the build directory. New field: main_unit Provide a default
8324 file name even if the current buffer has no prj file.
8327 Rewritten to show a tabbed-dialog.
8328 (ada-prj-add-ada-menu): Remove the map and name parameters.
8329 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
8331 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
8332 (ada-prj-load-from-file): New function
8333 (ada-prj-save): Always save fields that depend on the current buffer
8334 (ada-prj-show-value): New function
8336 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
8337 Ada mode. This will allow us to display the Ada menu in any buffer
8338 we want (for project items).
8339 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
8340 number of spaces in the header.
8342 2000-07-24 Dave Love <fx@gnu.org>
8344 * ediff-init.el (ediff-region-help-echo): Bind face-help.
8346 2000-07-23 Noah Friedman <friedman@splode.com>
8348 * type-break.el (type-break): perform autosave.
8349 Suggested by Stephen Gildea <gildea@intouchsys.com>.
8350 (type-break-do-query): Cancel query schedule while performing
8351 actual query, to avoid possibility of a second query being made
8352 while first one is already in progress.
8353 (type-break-time-stamp-format): New variable.
8354 (type-break-time-stamp): New function.
8355 (type-break-time-warning): Use it.
8356 (type-break-keystroke-warning): Use it.
8357 (type-break-noninteractive-query): Use it.
8359 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
8361 Use add-minor-mode to set minor-mode-alist, if available.
8362 (eldoc-echo-area-use-multiline-p): New user option.
8363 (eldoc-echo-area-multiline-supported-p): New variable.
8364 (eldoc-docstring-format-sym-doc): Use them.
8365 (eldoc-mode): If not using idle timers, append to local post and
8366 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
8367 (eldoc-display-message-no-interference-p): Don't interfere with
8369 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
8370 (eldoc-function-arglist): New function.
8371 (eldoc-function-argstring): Use it.
8373 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
8374 auto save directory exists before calling directory-files.
8376 2000-07-23 Dave Love <fx@gnu.org>
8378 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
8381 2000-07-21 Dave Love <fx@gnu.org>
8383 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
8384 now passed to the function. It now works properly.
8386 * smerge-mode.el (smerge-mode-menu): Fill it out.
8388 2000-07-20 Gerd Moellmann <gerd@gnu.org>
8390 * info-look.el (info-lookup): If *info* is shown in another frame
8391 on the same display, select that frame, instead of switching to
8392 the Info buffer in another window of the selected frame.
8394 * simple.el (universal-argument-map): Bind numeric keypad keys
8395 kp-0 to kp-9 and kp-subtract.
8396 (digit-argument): Handle these keys.
8398 2000-07-20 Dave Love <fx@gnu.org>
8400 * net/goto-addr.el (goto-address-fontify): Don't bother with
8401 buffer-modified and read-only stuff -- irrelevant with overlays.
8402 Put an extra property on the overlays and use it to clean up in
8403 case goto-address is re-run.
8405 2000-07-19 Richard M. Stallman <rms@gnu.org>
8407 * timer.el (run-with-idle-timer): Doc fix.
8409 * mail/mail-utils.el (mail-strip-quoted-names):
8410 Handle case where <...> appears inside "...".
8411 Use replace-match to edit the string more simply.
8412 (rmail-dont-reply-to): Cope with an unmatched ".
8414 2000-07-19 Dave Love <fx@gnu.org>
8416 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
8419 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
8420 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
8421 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
8423 2000-07-19 Gerd Moellmann <gerd@gnu.org>
8425 * textmodes/refer.el: Correct maintainer's email address.
8427 * progmodes/hideif.el: Correct author's email address.
8428 Fix typo in comment.
8432 * mail/mailheader.el: Correct author's mail address.
8434 * gnus/parse-time.el: Correct author's mail address.
8436 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
8438 * comint.el (comint-highlight-input, comint-highlight-face):
8440 (comint-input-ring-file-name): Change custom type.
8441 (comint-mode-map): Bind mouse-2.
8442 (comint-insert-clicked-input): New function.
8443 (comint-send-input): Handle input highlighting.
8445 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
8447 * mouse.el (popup-menu): New function.
8448 (mouse-major-mode-menu): Use it.
8450 2000-07-18 Dave Love <fx@gnu.org>
8452 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
8455 2000-07-18 Gerd Moellmann <gerd@gnu.org>
8457 * faces.el (face-font-selection-order)
8458 (face-font-family-alternatives): Add custom type.
8460 2000-07-18 Dave Love <fx@gnu.org>
8462 * cus-edit.el (custom-variable-reset-saved)
8463 (custom-variable-reset-standard): Remove unused bindings.
8465 * rect.el (open-rectangle-line): Remove unused let.
8467 * hl-line.el (hl-line-highlight): Check hl-line-mode.
8469 2000-07-18 Gerd Moellmann <gerd@gnu.org>
8471 * cdl.el: Fix `Maintainer' keyword.
8473 * play/pong.el: Add author's email address.
8475 2000-07-17 Sam Steingold <sds@gnu.org>
8477 * files.el (insert-directory): Call `split-string' instead of
8480 2000-07-18 Gerd Moellmann <gerd@gnu.org>
8482 * mail/vms-pmail.el: Change maintainer to FSF.
8484 * net/goto-addr.el: Change maintainer to FSF.
8486 * info.el (Info-title-face-alist): Removed.
8488 2000-07-18 David Ponce <david@dponce.com>
8490 * recentf.el (recentf-open-files): New command that works like
8491 `recentf-open-more-files', but shows the whole list of files (not just
8492 those omitted from the menu). Useful if you don't use a menu-bar!
8493 (recentf-open-more-files) Modified to use `recentf-open-files'.
8495 (recentf-open-files, recentf-open-more-files)
8496 (recentf-edit-list): Dialogs use `recentf-dialog-mode'
8498 (recentf-dialog-mode): New mode for dialogs. You can now just type
8499 "q" to cancel the dialogs.
8501 2000-07-18 David Ponce <david@dponce.com>
8503 * recentf.el: This is a major update of recentf.el. It adds new
8504 features to better organize the recentf menu and "More..." buffer.
8506 Using new provided menu filtering functions you can now organize the
8511 - by user defined rules
8513 Finally, with the new `recentf-filter-changer' customizable filter you
8514 can define a ring of filters and dynamically (via the menu) cycle on
8515 each menu organization in the ring (a la msb).
8517 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
8519 * eshell/eshell.el (eshell): Replace links to eshell.info with
8520 links to eshell, to avoid problems on systems where the manual is
8521 installed as `eshell'.
8522 * eshell/esh-cmd.el (eshell-cmd): Ditto.
8523 * eshell/em-smart.el (eshell-smart): Ditto.
8524 * eshell/em-banner.el (eshell-banner): Ditto.
8525 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
8527 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
8528 same-file check in the MS-DOS version (it does support inodes).
8530 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
8532 * eshell/eshell.el (eshell-directory-name):
8533 Run default directory name through convert-standard-filename.
8535 2000-07-18 Kenichi Handa <handa@etl.go.jp>
8537 * international/mule-cmds.el (select-safe-coding-system):
8538 Fix typo in the comment.
8540 * language/european.el (compound-text):
8541 Force katakana-jisx0201 to be designated to G1.
8543 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
8544 Don't translate some national variant characters of latin-jisx0201.
8545 (x-ctext): Force katakana-jisx0201 to be designated to G1.
8547 * international/kkc.el (kkc-after-update-conversion-functions):
8549 (kkc-update-conversion): Run functions in it at the tail.
8551 2000-07-16 John Wiegley <johnw@gnu.org>
8553 * lisp/align.el (align-newline-and-indent):
8554 Adding new function. for auto-aligning blocks of code on RET.
8555 (align-region): Fixed badly formatted minibuffer message.
8557 2000-07-17 Kenichi Handa <handa@etl.go.jp>
8559 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
8560 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
8561 the conversion list at first if appropriate.
8562 (kkc-next): Don't update kkc-next-count here.
8563 (kkc-prev): Don't update kkc-prev-count here.
8564 (kkc-show-conversion-list-update): Fix setting up of conversion
8567 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
8569 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
8571 2000-07-16 Dave Love <fx@gnu.org>
8573 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
8574 function to be more specific.
8576 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
8577 non-string help-echo.
8578 (widget-types-convert-widget): Defsubst it.
8579 (widget-echo-help): Try to cope with a help-echo function of two
8582 2000-07-15 Jason Rumney <jasonr@gnu.org>
8584 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
8585 Declare as obsolete.
8587 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
8589 2000-07-14 Gerd Moellmann <gerd@gnu.org>
8591 * hilit-chg.el: Fix typo.
8593 2000-07-14 Dave Love <fx@gnu.org>
8595 * info.el (Info-mode-menu): Fix use of :help, :enable.
8597 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
8599 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
8601 2000-07-13 Dave Love <fx@gnu.org>
8603 * emacs-lisp/easymenu.el: Doc fixes.
8604 (easy-menu-remove): Defalias to ignore.
8606 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
8607 Call throw correctly.
8609 2000-07-13 Gerd Moellmann <gerd@gnu.org>
8611 * faces.el (frame-background-mode): Doc fix.
8613 * simple.el (eval-expression-print-length): Change custom type to
8614 allow entering nil as value.
8616 2000-07-13 Dave Love <fx@gnu.org>
8618 * progmodes/fortran.el (fortran-imenu-generic-expression):
8619 Change definition layout.
8620 (fortran-mode-menu): Reinstate customize entries.
8622 * cus-edit.el (custom-group-menu-create, customize-menu-create):
8623 Use :filter, per old XEmacs code.
8625 2000-07-12 Gerd Moellmann <gerd@gnu.org>
8627 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
8628 event when deciding what to send to the terminal.
8630 2000-07-12 Dave Love <fx@gnu.org>
8632 * cus-start.el: Add optional version as 4th element of specs and
8633 use it for several things new in v21. Remove load-path. Fix type
8634 of line-number-display-limit.
8636 2000-07-11 Dave Love <fx@gnu.org>
8638 * progmodes/fortran.el: Don't require easymenu.
8639 Use repeat counts in various regexps.
8640 (fortran-mode-syntax-table): Defvar directly.
8641 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
8642 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
8643 Use defvar, not defconst.
8644 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
8645 (fortran-mode): Set fortran-comment-line-start-skip,
8646 fortran-comment-line-start-skip, dabbrev-case-fold-search.
8647 (fortran-comment-indent): Use defsubst.
8648 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
8649 Use fortran-comment-indent, not fortran-comment-indent-function.
8650 (fortran-comment-region, fortran-electric-line-number): Simplify.
8651 (fortran-auto-fill): New function.
8652 (fortran-do-auto-fill): Deleted.
8653 (fortran-find-comment-start-skip):
8654 Check for non-null comment-start-skip.
8655 (fortran-auto-fill-mode, fortran-fill-statement):
8656 Use fortran-auto-fill.
8657 (fortran-fill): Use fortran-auto-fill. Check for null
8658 comment-start-skip. Simplify final clause and use end-of-line finally.
8660 * widget.el (widget-plist-member): New alias.
8662 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
8664 * eshell/esh-module.el (toplevel): Reference
8665 byte-compile-current-file only if it is bound.
8667 2000-07-10 Gerd Moellmann <gerd@gnu.org>
8669 * dired.el: Don't require `dired-aux'.
8671 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
8673 * dired-aux.el (dired-show-file-type): New function.
8674 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
8675 (dired-show-file-type): Add autoload.
8677 2000-07-10 Kenichi Handa <handa@etl.go.jp>
8679 * international/mule-diag.el (describe-font): Adjusted for the
8680 change of fontset-info.
8681 (print-fontset): Likewise.
8683 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
8685 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
8687 2000-07-07 Gerd Moellmann <gerd@gnu.org>
8689 * bindings.el: Bind `[delete]' to delete-char.
8691 * dired.el (dired-find-alternate-file): New function.
8692 (dired-mode-map): Bind `a' to dired-find-alternate-file.
8693 (toplevel): Require dired-aux when compiling.
8694 (dired-buffers): Move defvar within file to avoid compiler warning.
8696 * info.el (Info-last-search): Variable removed.
8697 (Info-search-history): New variable.
8698 (Info-search): New Info-search-history.
8700 * battery.el, info-look.el: Change author's mail address.
8702 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
8704 * mail/rmail.el (rmail-clear-headers): Don't throw an error
8705 if rmail-ignored-headers is nil.
8706 (rmail-retry-failure): Bind rmail-ignored-headers and
8707 rmail-displayed-headers to nil.
8709 2000-07-06 Gerd Moellmann <gerd@gnu.org>
8711 * lpr.el (lpr-page-header-switches): Add `-h' switch.
8712 (print-region-1): Don't hard code `-h' here.
8714 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
8716 2000-07-01 Francesco Potorti` <pot@gnu.org>
8718 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
8719 exim can use "your message" instead of "the message".
8721 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
8723 * facemenu.el: Docstrings fixes.
8724 (facemenu-get-face): Don't use internal-find-face.
8725 (facemenu-iterate): Rename arg to match the docstring.
8727 * newcomment.el (uncomment-region): Be more careful when skipping
8728 backwards over `=' not to bump into BOBP.
8730 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
8732 * ediff-diff.el (ediff-wordify): Use syntax table.
8733 * ediff-init.el (ediff-has-face-support-p): Use
8734 ediff-color-display-p.
8735 (ediff-color-display-p): Use display-color-p, changed to defun
8737 Got rid of special cases for NeXT and OS/2.
8738 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
8741 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
8743 * emacs-lisp/lucid.el: Require CL.
8744 (copy-tree, remprop): Remove, it's provided by CL.
8745 (map-keymap): Define in terms of cl-map-keymap.
8746 (extent-property, set-extent-end-glyph): New functions.
8748 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
8750 2000-07-05 Gerd Moellmann <gerd@gnu.org>
8752 * Makefile.in (DONTCOMPILE): Add comment that the name may
8753 not be changed without changing the make-dist script.
8755 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
8756 (cl-mapc): Use mapc instead of cl-old-mapc.
8758 2000-07-05 Andrew Innes <andrewi@gnu.org>
8760 * makefile.nt: Add support for `bootstrap' and related targets.
8762 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
8764 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
8765 (easy-menu-do-define): Use `menu-item' format.
8766 Handle case where easy-menu-create-menu returns a symbol.
8767 Manually call the potential top-level filter in the function binding.
8768 (easy-menu-filter-return): New arg NAME.
8769 Convert to a keymap if MENU is an XEmacs menu.
8770 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
8771 (easy-menu-converted-items-table, easy-menu-convert-item):
8772 New var and fun to memoize easy-menu-convert-item-1.
8773 (easy-menu-do-add-item): Use it.
8774 (easy-menu-create-menu): Use easy-menu-convert-item.
8775 Wrap easy-menu-filter-return around any :filter specification.
8776 Don't convert the menu if a filter was specified.
8777 Tell easy-menu-make-symbol not to check for MENU being an expression.
8778 (easy-menu-make-symbol): New arg NOEXP.
8780 2000-07-05 Gerd Moellmann <gerd@gnu.org>
8782 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
8783 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
8784 (eval-defun): If called with prefix arg, instrument code for
8787 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
8788 similar to that of eval-defun.
8790 2000-07-04 Dave Love <fx@gnu.org>
8792 * hl-line.el (hl-line-overlay): Make it permanent-local.
8794 * calendar/todo-mode.el: Replaced with a working version, based on
8795 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
8797 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
8799 * paths.el (prune-directory-list): New function.
8800 (Info-default-directory-list): Rewritten to more methodically
8801 enumerate a big list of possible info directories (based on the
8802 list used by the standalone info reader).
8804 * info.el (info-initialize): Use prune-directory-list to remove
8805 non-existent directories from Info-directory-list.
8807 * paths.el (Info-default-directory-list): Try a list of possible
8808 info-directories instead of a single one. Add the possible
8809 info directory "/usr/share/info".
8811 * woman.el (woman-man.conf-path): Explicitly include the debian
8812 man-db config file "/etc/manpath.config".
8813 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
8814 are present in `manpath.config'.
8815 (woman-manpath): Include "/usr/share/man".
8817 2000-07-03 Gerd Moellmann <gerd@gnu.org>
8819 * frame.el (blink-cursor-mode): Don't hide cursor initially.
8821 * startup.el (command-line): Initialize blink-cursor based
8824 * frame.el (blink-cursor): Default to nil if not running under
8827 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
8828 (face-x-resources): Remove duplicate entry for :font.
8830 * textmodes/refer.el (refer-find-entry-internal): Use some-window
8831 instead of cycling through windows with next-window.
8833 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
8834 of cycling through windows with next-window.
8836 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
8837 of cycling through windows with next-window.
8839 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
8840 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
8841 instead of cycling through windows with next-window.
8843 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
8844 instead of cycling through windows with next-window.
8846 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
8847 of cycling through windows with next-window.
8849 * terminal.el (te-process-output): Use walk-windows instead of
8850 cycling through windows with next-window.
8852 * server.el (server-switch-buffer): Use some-window instead of
8853 cycling through windows with next-window.
8855 * window.el (some-window): New function.
8856 (walk-windows): Remove reference to walk-windows-start.
8858 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
8860 2000-07-03 Richard Stallman <rms@gnu.org>
8862 * window.el (walk-windows): Guarantee termination by keeping a list
8863 of all the windows already handled.
8865 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
8867 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
8870 * man.el (Man-notify-when-ready): Don't use window-system. If
8871 Man-notify-method is newframe, and the display is not
8872 multi-frame, select the frame created for the man page.
8873 (Man-init-defvars): Doc fix.
8875 2000-06-28 Gerd Moellmann <gerd@gnu.org>
8877 * faces.el (region): Change background color for light background.
8879 * ediff-wind.el (ediff-setup-control-frame): Remove :box
8880 attribute from mode-line face of Ediff control frame.
8882 * replace.el (query-replace-map): Bind `e' like `E'.
8884 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
8886 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
8887 Change name to "Select All".
8889 * dos-fns.el (convert-standard-filename): Fix last change.
8891 2000-06-27 Gerd Moellmann <gerd@gnu.org>
8893 * help.el (describe-variable): Don't insert a second `'s' in front
8894 of the string `value is shown below'. Since the syntax-table is
8895 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
8896 an existing `'s', so that this won't be deleted.
8898 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
8899 * pcmpl-unix.el: New files.
8901 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
8903 * wid-edit.el (widget-member): Use the new plist-member.
8905 2000-06-26 Gerd Moellmann <gerd@gnu.org>
8907 * replace.el (perform-replace): Undo change of 2000-04-04.
8908 Instead, move backward 1 character at the end of the loop when
8911 * faces.el (fringe): Change face for different backgrounds.
8913 * eshell/esh-module.el (toplevel): Load defgroup's differently;
8916 * eshell/*.el: Change spelling of the Free Software Foundation.
8918 * eshell/esh-toggle.el: Removed.
8920 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
8922 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
8925 2000-06-26 Alex Schroeder <alex@gnu.org>
8927 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
8928 `define-key'; instead of checking `(emacs-version)' check for
8929 `set-keymap-parent' and `set-keymap-name' directly. Add entries
8930 for `;' and `o' which might be electric.
8932 (sql-electric-stuff): New user option.
8933 (sql-magic-go): New function which uses `sql-electric-stuff'.
8934 (sql-magic-semicolon): New function which uses
8935 `sql-electric-stuff'.
8937 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
8940 (sql-oracle-options): New variable.
8941 (sql-oracle): Use it.
8943 (sql-imenu-generic-expression): Doc change.
8944 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
8947 (sql-informix): Added command line parameter "-" to force
8948 sql-informix-program to use stdout.
8950 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
8952 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
8953 (cp864-decode-table): Doc fix.
8954 (cp720-decode-table): New variable, supports the Arabic OEM
8955 codepage used by Windows.
8956 (cp737-decode-table): New, Greek OEM codepage used by Windows.
8958 2000-06-23 Dave Love <fx@gnu.org>
8960 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
8961 (font-lock-fontify-anchored-keywords): Use
8962 line-beginning-position.
8963 (global-font-lock-mode): Use mapc.
8965 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
8967 * eshell/esh-module.el: Require CL when compiling.
8969 2000-06-23 Gerd Moellmann <gerd@gnu.org>
8971 * comint.el (comint-substitute-in-file-name): Call replace-match
8972 with second and third arg t.
8974 * cus-edit.el (custom-button-face, custom-button-pressed-face):
8975 Specify foreground color.
8977 * faces.el (tool-bar, mode-line, header-line): Specify foreground
8980 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
8982 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
8983 cddr instead of cdddr.
8985 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
8986 instead of copy-list.
8988 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
8991 * subdirs.el: Add eshell subdirectory.
8993 * eshell: New subdirectory containing the Eshell package.
8995 * pcomplete.el: New file.
8997 2000-06-23 Paul Eggert <eggert@twinsun.com>
8999 * mail/mailpost.el (post-mail-send-it): Make sure file has
9000 proper permissions from birth.
9002 * files.el (basic-save-buffer-2): When temporarily setting
9003 file modes, set them to current modes plus 0200, not to 0777.
9005 * emerge.el (emerge-make-temp-file): Make sure file has proper
9006 permissions from birth.
9008 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
9010 * files.el (make-backup-file-name-1): On DOS/Windows, run the
9011 backup file name through convert-standard-filename.
9013 * dos-fns.el (convert-standard-filename): Convert leading
9014 directories as well. When long file names are supported, convert
9015 characters that are invalid in Windows file names.
9017 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9019 * ps-print.el: Fix bug: if ^L is the very first buffer character,
9020 ps-print crashes. New feature: page selection for printing. Create
9021 raw-text-unix coding system for XEmacs. Doc fix.
9022 (ps-print-version): New version number (5.2.3).
9023 (ps-plot-region): Bug fix.
9024 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
9025 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
9026 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
9028 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
9029 (ps-last-page): New vars.
9031 2000-06-21 Gerd Moellmann <gerd@gnu.org>
9033 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
9034 empty option string.
9036 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
9038 * man.el (man): Doc fix.
9040 2000-06-21 Kenichi Handa <handa@etl.go.jp>
9042 * international/mule-cmds.el (set-language-info-alist): Docstring
9045 2000-06-20 Gerd Moellmann <gerd@gnu.org>
9047 * version.el (emacs-version): Use ISO date format.
9049 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
9050 instead of `M-backspace'.
9052 * simple.el (turn-off-auto-fill): New function.
9054 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
9056 * jit-lock.el (with-buffer-prepared-for-jit-lock):
9057 Renamed from with-buffer-prepared-for-font-lock and use
9058 inhibit-modification-hooks rather than setting *-change-functions.
9059 Update all functions to use the new name.
9060 (jit-lock-first-unfontify-pos): New semantics (and doc).
9061 (jit-lock-mode): Make non-interactive.
9062 Don't automatically turn on font-lock.
9063 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
9064 Always use jit-lock-after-change.
9065 Remove and restore font-lock-after-change-function.
9066 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
9067 (jit-lock-after-unfontify-buffer): Remove.
9068 (jit-lock-stealth-fontify):
9069 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
9070 (jit-lock-after-change): Set the `fontified' text-prop to nil.
9072 2000-06-20 Sam Steingold <sds@gnu.org>
9074 * emacs-lisp/cl-indent.el (toplevel): Indent
9075 `print-unreadable-object' properly. Untabify.
9077 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
9079 * textmodes/reftex.el (reftex-find-citation-regexp-format):
9080 Support for bibentry.
9081 (reftex-compile-variables): Fixed problem with end of section-re.
9083 * texmodes/reftex-dcr.el (reftex-view-crossref,
9084 reftex-view-crossref-from-bibtex):
9085 Deal with changed `reftex-find-citation-regexp-format'.
9086 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
9087 Replaced `remprop' with `put'.
9088 (reftex-view-crossref, reftex-view-crossref-when-idle):
9089 Support for bibentry.
9091 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
9092 New entry for bibentry package.
9094 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
9095 Regexp also matches "\nobibliography".
9097 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
9098 Call `reftex-ensure-write-access' before doing anything.
9099 (reftex-ensure-write-access): New function.
9101 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
9103 * progmodes/idlwave.el: File re-installed (update to version 4.2)
9105 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
9107 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
9109 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
9112 2000-06-20 Dave Love <fx@gnu.org>
9114 * faces.el (frame-background-mode): Use set-default, not set, in
9116 (frame-update-faces, frame-update-face-colors): Define with
9119 * enriched.el (enriched-decode-foreground)
9120 (enriched-decode-background): Don't use internal-find-face.
9122 * apropos.el: Doc fixes.
9124 * cus-edit.el (customize-changed-options): Check arg.
9125 (customize-version-lessp): Don't require decimal point.
9127 * custom.el (defcustom, defgroup): Doc fix.
9129 * newcomment.el (comment) <defgroup>: Add :version.
9130 (comment-multi-line): Doc fix.
9132 * emulation/mlsupport.el (define-hooked-local-abbrev,
9133 define-hooked-global-abbrev): Fix, using define-abbrev.
9135 2000-06-19 Gerd Moellmann <gerd@gnu.org>
9137 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
9140 2000-06-19 Dave Love <fx@gnu.org>
9142 * menu-bar.el (menu-bar-options-save): New function.
9143 (menu-bar-options-menu): Use it.
9144 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
9147 2000-06-19 Andreas Schwab <schwab@suse.de>
9149 * progmodes/etags.el (tags-query-replace): Put new parameters
9150 START and END at the end, for backward compatibility.
9152 2000-06-19 Kenichi Handa <handa@etl.go.jp>
9154 * international/codepage.el:
9155 (cp-coding-system-for-codepage-1): Delete special codes for
9156 generating xxx-dos coding system because now a CCL based coding
9157 system can handle EOL conversion by default.
9159 * international/mule.el (make-coding-system): Generate subsidiary
9160 coding systems for EOL handling variants even for a CCL based
9163 2000-06-19 Kenichi Handa <handa@etl.go.jp>
9165 * international/isearch-x.el (isearch-minibuffer-input-method)
9166 (isearch-minibuffer-input-method-function): These variables
9168 (isearch-with-input-method): Don't use the above variables.
9169 (isearch-process-search-multibyte-characters): Likewise. Call
9170 read-string with the arg INHERIT-INPUT-METHOD t.
9172 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
9174 * font-lock.el (font-lock-after-fontify-buffer)
9175 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
9177 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
9178 Use consistent make-local-variable style for font-lock-fontified.
9179 (jit-lock-fontify-buffer):
9180 Don't bother checking for font-lock-mode and jit-lock-mode.
9182 * time.el: Remove trailing ^M that prevent CVS-merging.
9184 2000-06-16 Gerd Moellmann <gerd@gnu.org>
9186 * Makefile.in (distclean): New target.
9188 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
9190 * Makefile.in (srcdir): Define for update-subdirs.
9192 2000-06-16 Gerd Moellmann <gerd@gnu.org>
9194 * find-lisp.el: New file.
9196 2000-06-16 Andrew Innes <andrewi@gnu.org>
9198 * time.el (display-time-mail-function): New variable, to allow
9199 external packages to indicate when new mail is available.
9200 (display-time-update): Use it.
9202 2000-06-16 Kenichi Handa <handa@etl.go.jp>
9204 * international/mule.el (mule-version): Change version name to
9205 SAKAKI. AOI has already been used by Meadow.
9207 * international/quail.el (quail-show-guidance-buf): To find the
9208 bottom window (but minibuffer), pay attention to the height of
9211 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
9213 * arc-mode.el (archive-mode-map): Use the new menu-item format for
9214 menu-bar menus. Add help strings. Don't remove the Edit menu
9215 from the menu bar, as the menu bar has enough space now.
9217 * Makefile.in (SHELL): Make sure /bin/sh is used.
9219 * woman.el (woman-man-buffer): Fix bold and underlined CJK
9220 characters, which use series of two ^H characters instead of one.
9222 2000-06-15 Gerd Moellmann <gerd@gnu.org>
9224 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
9225 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
9227 (Info-find-node-2): Try a case-sensitive search first, then
9228 do a case-insensitive search.
9230 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
9233 * complete.el (PC-env-vars-alist): New variable.
9234 (PC-complete-as-file-name): New function.
9235 (partial-completion-mode): Initialize PC-env-vars-alist from
9236 process-environment.
9237 (PC-do-completion): Handle completion of env vars.
9239 * info.el (Info-set-mode-line): Show file name in mode line,
9240 use `*Info*' instead of `Info:'.
9242 * startup.el (command-line-1): Change copyright messages to year
9245 2000-06-15 Dave Love <fx@gnu.org>
9247 * net/goto-addr.el (goto-address-fontify): Use keymap property,
9250 2000-06-15 Kenichi Handa <handa@etl.go.jp>
9252 * international/mule.el (set-buffer-file-coding-system): Almost
9253 rewritten to handle `undecided' as no-op.
9255 2000-06-14 Gerd Moellmann <gerd@gnu.org>
9257 * Makefile.in: New file.
9259 * Makefile: Removed.
9261 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
9262 (goto-address-highlight-keymap): Bind C-c RET.
9264 2000-06-14 Kenichi Handa <handa@etl.go.jp>
9266 * mail/sendmail.el (sendmail-send-it): The temporary buffer
9267 inherits buffer-file-coding-system of the current buffer.
9269 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
9270 0. Give correct argument to set-auto-coding-function.
9271 (tar-expunge): For goto-char, use (point-min), not 0.
9272 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
9273 (tar-subfile-save-buffer): Likewize.
9275 * international/mule.el
9276 (after-insert-file-set-buffer-file-coding-system): Call
9277 set-buffer-file-coding-system with the arg FORCE t.
9279 2000-06-13 Gerd Moellmann <gerd@gnu.org>
9281 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
9282 nil. Contemporary sendmails issue an X-Authentication-Warning if
9283 the sender is set with `-f'.
9285 2000-06-13 Dave Love <fx@gnu.org>
9287 * help.el (describe-function-1): Kluge around cases of functions
9288 fset to subrs whose doc doesn't match their symbol-name.
9290 * image.el (insert-image): Default STRING to a space.
9292 * info.el Doc fixes.
9293 (Info-build-node-completions): Match Ref tags.
9295 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
9297 * frame.el (display-multi-frame-p, display-multi-font-p): New
9298 defaliases for display-graphic-p.
9300 * hl-line.el: Fixed a typo in commentary.
9302 2000-06-13 Kenichi Handa <handa@etl.go.jp>
9304 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
9307 2000-06-12 Dave Love <fx@gnu.org>
9309 * image.el (insert-image): Save a little consing.
9311 2000-06-12 Kenichi Handa <handa@etl.go.jp>
9313 * language/tibet-util.el: Convert all tibetan-1-column characters
9314 to the corresponding tibetan characters.
9315 (tibetan-add-components): Delete code for the special treatment of
9318 * language/tibetan.el (tibetan-composable-pattern): Fix previous
9320 (tibetan-vowel-transcription-alist): More rules added.
9321 (tibetan-composite-vowel-alist): New variable.
9322 (tibetan-precomposition-rule-alist): More rules added.
9324 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
9326 * startup.el (command-line): Only call menu-bar-mode if interactive.
9328 * thingatpt.el (toplevel symbol-properties):
9329 * textmodes/makeinfo.el (makeinfo-compile):
9330 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
9331 * progmodes/hideif.el (hif-compress-define-list)
9332 (hide-ifdef-use-define-alist):
9333 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
9334 (ange-ftp-vms-add-file-entry):
9335 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
9336 * man.el (Man-build-man-command):
9337 * mail/rnewspost.el (news-reply-header-hook):
9338 * info.el (Info-insert-dir):
9339 * emulation/mlconvert.el (backward-word, forward-word, setq):
9340 * emacs-lisp/gulp.el (gulp-send-requests):
9341 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
9342 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
9343 (byte-optimize-apply, end of file):
9344 * emacs-lisp/advice.el (ad-advice-class-completion-table)
9345 (ad-make-freeze-definition):
9346 * startup.el (command-line, command-line-1): Don't quote lambdas.
9348 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
9349 (cvs-cleanup-removed): New function.
9350 (cvs-cleanup-functions): New var.
9351 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
9352 some flexibility in specifying additional entries to auto-cleanup.
9353 (cvs-quickdir): New function.
9354 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
9355 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
9356 (cvs-mode-find-file): Check that we are on a filename or dirname
9357 when invoked through a mouse-click.
9358 (cvs-full-path): Remove.
9359 (cvs-dired-action): Re-introduced.
9360 (cvs-dired-noselect): Use it.
9361 (vc-post-command-functions): use this new hook if available.
9363 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
9364 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
9365 (cvs-filename-map, cvs-dirname-map): Remove.
9366 (cvs-default-action): Remove.
9367 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
9368 if the arg is really a keymap.
9369 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
9370 Don't hardcode the mapping from state (aka type) to face, but check
9371 the var cvs-fi-<type>-face instead.
9372 (cvs-fileinfo-from-entries): New function.
9374 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
9376 (cvs-find-file-and-jump): Change default to be safer.
9377 (cvs-mode-diff-map): Define it as a function as well.
9378 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
9379 Bind mouse-2 in this global map rather than with text-properties.
9381 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
9382 file to resolve the ambiguity between C(conflict) and C(need-merge).
9384 2000-06-12 Kenichi Handa <handa@etl.go.jp>
9386 * international/mule.el (set-buffer-file-coding-system): If
9387 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
9390 2000-06-12 Dave Love <fx@gnu.org>
9392 * wid-edit.el (widget-specify-button): Really suppress the face if
9395 2000-06-11 Gerd Moellmann <gerd@gnu.org>
9397 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
9399 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
9401 * imenu.el (imenu-generic-expression): Docstring fix.
9403 * composite.el (composition-function-table): Move the `put'
9404 below the autoload cookie so we can load the file before loaddefs.
9406 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
9408 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
9409 Handle easy-mmode-define-global-mode.
9410 For complex macros like define-minor-mode that can generate
9411 several autoload entries, try to autoload entries in the
9414 * emacs-lisp/easy-mmode.el (define-minor-mode):
9415 If KEYMAP is a symbol, just use it.
9416 Use byte-compile-current-file and load-file-name to infer the
9417 proper :require to pass to defcustom.
9418 Wrap the hook var into `progn' so as not to autoload it.
9419 Add a :autoload-end cookie.
9420 Be more careful about the evaluation of KEYMAP.
9421 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
9422 (define-derived-mode): Move define-abbrev-table outside of defvar.
9424 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
9426 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
9427 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
9428 (backup-compiled-files): Ignore errors during `tar'.
9429 (bootstrap): Make autoloads before elc files.
9431 2000-06-10 Kenichi Handa <handa@etl.go.jp>
9433 * international/mule.el (set-buffer-file-coding-system): If one of
9434 undecided-XXX is specified, change only EOL conversion.
9436 * international/mule-conf.el (unix): New alias for the coding
9437 system undecided-unix.
9439 2000-06-09 Dave Love <fx@gnu.org>
9441 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
9443 * progmodes/executable.el: Byte compile dynamic.
9444 (executable-insert): Change custom type.
9445 (executable-find): Add autoload cookie.
9446 (executable-make-buffer-file-executable-if-script-p): New
9447 function. After Noah Friedman.
9449 * files.el (after-save-hook): Customize, with
9450 executable-make-buffer-file-executable-if-script-p as an option.
9452 2000-06-09 Kenichi Handa <handa@etl.go.jp>
9454 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
9455 "tib24p-mule.bdf" for Tibetan.
9457 * composite.el (decompose-composite-char): Declare it as obsolete.
9459 * man.el (Man-fontify-manpage): Pay attention to underline and
9460 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
9462 2000-06-08 Gerd Moellmann <gerd@gnu.org>
9464 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
9465 Set maintainer to FSF since author isn't reachable.
9467 2000-06-08 Dave Love <fx@gnu.org>
9469 * international/mule-cmds.el (select-safe-coding-system): If
9470 DEFAULT-CODING-SYSTEM is not specified, also check the most
9471 preferred coding-system if buffer-file-coding-system is
9472 `undecided'. From Handa.
9474 2000-06-08 Kenichi Handa <handa@etl.go.jp>
9476 * international/mule.el
9477 (after-insert-file-set-buffer-file-coding-system): If the buffer
9478 size is greater than INSERTED, judget that we are not visiting.
9480 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
9482 * whitespace.el (defgroup whitespace): Comment out `:version'.
9483 XEmacs 20.4 has problems defining the group with this present.
9484 We'll have this commented out till get resolve the problem.
9486 2000-06-07 John Wiegley <johnw@gnu.org>
9488 * align.el (align-dq-string-modes, align-sq-string-modes)
9489 (align-open-comment-modes): Add pyhton-mode.
9490 (align-rules-list): Use get-text-property instead of
9492 (align-rules-list): Add python-assignment.
9493 (align-rules-list): Change perl-comma-delimiter to
9494 basic-comma-delimiter. Use if for Perl modes and python-mode.
9495 (align-rules-list): Add python-chain-logic and
9496 basic-line-continuation.
9498 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
9500 * apropos.el (apropos-mode-hook): New user variable.
9501 (apropos-mode): Run apropos-mode-hook.
9503 2000-06-07 David Ponce <david@dponce.com>
9505 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
9506 commands. Require `wid-edit' at run-time.
9508 2000-06-07 David Ponce <david@dponce.com>
9510 * recentf.el: Added some "Commentary".
9511 (recentf-open-more-files, recentf-edit-list): Minor changes to
9512 move the point at the top of the file list. This behaviour is
9513 consistent with the menu one when the list contains a lot of
9515 (recentf-cleanup): Now displays the number of items removed from
9517 (recentf-relative-filter) New menu filter to show filenames
9518 relative to `default-directory'.
9520 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9522 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
9523 with/without giving an error if PostScript printer doesn't have this
9524 kind of page size. Zebra Stripe continues or restarts on next page.
9525 Manual/automatic paper feeding. Switch or not the header.
9526 (ps-print-version): New version number (5.2.2).
9527 (ps-windows-system): Include emx as a Windows system.
9528 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
9529 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
9530 (ps-background-text): Code fix.
9531 (ps-error-handler-message, ps-user-defined-prologue)
9532 (ps-print-prologue-header, ps-printer-name)
9533 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
9534 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
9535 (ps-use-face-background): Customization fix.
9536 (ps-n-up-database): Data fix.
9537 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
9538 (ps-switch-header): New vars.
9539 (ps-xemacs-color-name, ps-face-foreground-name)
9540 (ps-face-background-name, ps-boolean-constant): New funs.
9542 2000-06-07 Dave Love <fx@gnu.org>
9544 * allout.el: New version from Manheimer.
9546 2000-06-07 Kenichi Handa <handa@etl.go.jp>
9548 * textmodes/fill.el (fill-find-break-point): Check the validity of
9551 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
9553 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
9554 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
9555 Call display-color-p and display-mouse-p instead of looking at
9558 2000-06-06 Dave Love <fx@gnu.org>
9560 * image.el (find-image): Doc fix. Return nil if image not found.
9561 (put-image, insert-image): Make STRING arg optional.
9563 2000-06-06 Kenichi Handa <handa@etl.go.jp>
9565 * language/vietnamese.el: Remove eval-when-compile.
9566 (viet-viscii-nonascii-translation-table): Define it as a
9567 translation table made from viet-viscii-decode-table.
9568 (viet-viscii-encode-table): Define it as a translation table made
9569 from the reverse map of above.
9570 (viet-vscii-nonascii-translation-table): Define it as a
9571 translation table made from viet-vscii-decode-table.
9572 (viet-vscii-encode-table): Define it as a translation table made
9573 from the reverse map of above.
9574 (ccl-decode-viscii): Use translate-character.
9575 (ccl-encode-viscii, ccl-encode-viscii-font)
9576 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
9579 * language/cyrillic.el: Remove eval-when-compile.
9580 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
9581 translation table made from cyrillic-koi8-r-decode-table.
9582 (cyrillic-koi8-r-encode-table): Define it as a translation table
9583 made from the reverse map of above.
9584 (ccl-decode-koi8): Use translate-character.
9585 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
9586 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
9587 a translation table made from cyrillic-alternativnyj-decode-table.
9588 (cyrillic-alternativnyj-encode-table): Define it as a translation
9589 table made from the reverse map of above.
9590 (ccl-decode-alternativnyj): Use translate-character.
9591 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
9594 * international/mule-diag.el (non-iso-charset-alist): Specify
9595 translation table symbol instead of translation table itself.
9596 (list-block-of-chars): CHARSET may be a translation table symbol.
9598 * international/mule.el (make-coding-system): If CODING-SYSTEM
9599 already exists, override it.
9601 * international/fontset.el: Use family `proportional' for Tibetan
9604 * international/ccl.el (ccl-compile-translate-character): Don't
9605 check if Rrr has property translation-table.
9606 (ccl-compile-map-multiple): Modified to avoid compiler warning.
9608 2000-06-05 Gerd Moellmann <gerd@gnu.org>
9610 * info.el: Bind case-fold-search to t when searching in case
9611 a user sets it to nil in a hook.
9613 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
9615 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9616 * hl-line.el (hl-line-mode): Use the new :global key argument.
9618 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
9619 (tar-clip-time-string): Prepend a space.
9620 (tar-grind-file-mode): Construct a string rather than modifying one.
9621 (tar-header-block-summarize): Fix docstring.
9622 Use `format' rather than an error-prone set of copy-loops.
9624 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
9625 (diff-goto-source, diff-unified->context, diff-context->unified)
9626 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
9627 understand the format output by the `-p' argument to diff.
9629 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
9630 (sh-re-done): Use defconst.
9631 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
9632 (sh-help-string-for-variable, sh-guess-basic-offset):
9633 Don't quote lambdas.
9634 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
9635 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
9637 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
9638 (mh-letter-mode): Derive from text-mode.
9639 This implicitly means that it now calls kill-all-local-variables.
9640 Also remove the Emacs-18 compatibility code.
9642 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
9643 Make use of symbol-property doc-string-elt.
9644 Use memq rather than a sequence of eq.
9645 (doc-string-elt): Fix the wrong or missing previously unused values.
9646 (autoload-print-form): New function extracted from
9647 generate-file-autoloads to allow recursion when handling progn
9648 so that defvar's and defun's docstrings are properly printed.
9649 (generate-file-autoloads): Use it.
9651 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
9652 Use find-file-hooks in the minor-mode function.
9653 Be careful not to loop indefinitely in the post-command-hook function.
9655 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
9657 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
9659 * ediff-diff.el (ediff-exec-process): Use --binary for fine
9660 differences whenever appropriate.
9661 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
9662 * viper.el (find-file, find-file-other-window): Get viper to do
9665 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
9667 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
9668 (jit-lock-fontify-buffer): New function for JIT refontification.
9669 (jit-lock-mode): Fix docstring.
9670 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
9671 Remove jit-lock-after-change from the _local_ hook.
9672 (jit-lock-function-1): Fix docstring.
9674 * info.el (Info-on-current-buffer): Initialize info.
9676 * newcomment.el (comment-indent): Ignore comment-indent-hook.
9678 * progmodes/tcl.el (tcl-indent-for-comment):
9679 Ignore comment-indent-hook.
9681 * emacs-lisp/easy-mmode.el: Require CL during compilation.
9682 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
9683 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
9684 and improve to use the lighter to guess the capitalization.
9685 (define-minor-mode): Inline code from easy-mmode-define-toggle.
9686 Add keyword arguments to specify global-ness or the custom group.
9687 Add local-map and help-echo properties to the lighter.
9688 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
9689 (easy-mmode-define-global-mode): New macro.
9691 2000-06-02 Dave Love <fx@gnu.org>
9693 * wid-edit.el: byte-compile-dynamic since we typically don't use
9694 all the widgets. Don't require cl or widget. Remove
9695 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
9696 (widget-read-event): Removed. Callers changed to use read-event.
9697 (widget-button-release-event-p): Renamed from
9698 button-release-event-p.
9699 (widget-field-add-space, widget-field-use-before-change):
9701 (widget-specify-field): Use keymap property, not local-map.
9702 (widget-specify-button): Obey :suppress-face.
9703 (widget-specify-insert): Use modern backquote syntax.
9704 (widget-image-directory): Renamed from widget-glyph-directory.
9705 (widget-image-enable): Renamed from widget-glyph-enable.
9706 (widget-image-find): Replaces widget-glyph-find.
9707 (widget-button-pressed-face): Move defvar.
9708 (widget-image-insert): Replaces widget-glyph-insert.
9709 (widget-convert): Use keywordp.
9710 (widget-leave-text, widget-children-value-delete): Use mapc.
9711 (widget-keymap): Remove XEmacs stuff.
9712 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
9713 (widget-button-click): Don't set point at the click, but re-centre
9714 if we scroll out of window. Rewritten for images v. glyphs &c.
9715 (widget-tabable-at): Use POS arg, not point.
9716 (widget-beginning-of-line, widget-end-of-line)
9717 (widget-item-value-create, widget-sublist, widget-princ-to-string)
9718 (widget-sexp-prompt-value, widget-echo-help): Simplify.
9719 (widget-default-create): Use widget-image-insert; some rewriting.
9720 (widget-visibility-value-create)
9721 (widget-push-button-value-create, widget-toggle-value-create): Use
9722 widget-image-insert.
9723 (checkbox): Create on and off images dynamically.
9724 (documentation-link): Change :help-echo.
9725 (widget-documentation-link-echo-help): Remove.
9727 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
9729 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
9731 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
9732 (easy-mmode-define-toggle, define-minor-mode): Use it.
9733 (easy-mmode-define-keymap): Docstring fix.
9734 (define-derived-mode): Default PARENT to fundamental-mode.
9735 Add the derived-mode-parent symbol-property.
9736 (easy-mmode-derived-mode-p): New function.
9738 2000-06-02 Dave Love <fx@gnu.org>
9740 * files.el (convert-standard-filename): Doc fix.
9741 (normal-backup-enable-predicate): New function.
9742 (backup-enable-predicate): Use it to replace the lambda form.
9744 * calendar/todo-mode.el: [This needs more work on the outline
9746 (todo) <defgroup>: Add :version.
9747 (todo-add-category): Don't use pushnew.
9748 (todo-cmd-raise): Fix typo.
9749 (todo-top-priorities): Change temp buffer name.
9750 (todo-category-alist): Avoid redundant lambda.
9751 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
9752 Use outline-next-heading.
9754 * autoarg.el: Rewritten to use define-minor-mode.
9755 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
9756 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
9758 2000-06-02 Kenichi Handa <handa@etl.go.jp>
9760 * isearch.el (isearch-other-meta-char): Fix previous change.
9762 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
9764 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
9765 (log-edit-done): Only add the comment to the ring if it's different
9766 from the last comment entered.
9768 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
9770 2000-06-01 Dave Love <fx@gnu.org>
9772 * hl-line.el: Rewritten using define-minor-mode.
9774 * help.el (describe-function-1): Distinguish special form from
9775 builtin function. Sanity-check presence of arglist for builtins.
9777 2000-06-01 Kenichi Handa <handa@etl.go.jp>
9779 * international/characters.el: Fix syntax/category setting of
9782 * language/tibet-util.el (tibetan-add-components): Fixes for new
9783 encoding of Tibetan characters.
9784 (tibetan-decompose-precomposition-alist): New variable.
9785 (tibetan-decompose-region): Convert precomposed characters to
9786 non-precomposed characters.
9787 (tibetan-decompose-string): Likewise.
9788 (tibetan-composition-function): Fix args to
9789 thibetan-compose-string.
9791 * language/tibetan.el (tibetan-composable-pattern): More
9792 characters included.
9793 (tibetan-consonant-transcription-alist): Rule for "R" added.
9794 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
9796 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
9798 * language/lao-util.el (lao-composition-function): Fix args to
9801 * language/thai-util.el (thai-composition-function): Fix args to
9804 * isearch.el (isearch-update): Set disable-point-adjustment to t
9805 to prevent the point moving to the end of a composition when a
9806 part of a composition is searched.
9807 (isearch-other-meta-char): If the key invoking this command can be
9808 mapped by function-key-map to a printing char, call
9809 isearch-process-search-char directly.
9811 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
9813 * emacs-lisp/bytecomp.el:
9815 * international/mule-cmds.el:
9816 * international/mule-util.el:
9817 * international/mule.el:
9820 * faces.el: Update calls to make-obsolete with a WHEN argument.
9822 * byte-run.el (make-obsolete, make-obsolete-variable):
9823 Add an optional WHEN argument and change the format of the
9824 symbol-property information.
9825 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
9826 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
9827 new obsolete-symbol-property format and print WHEN if it is provided.
9829 2000-05-31 Dave Love <fx@gnu.org>
9831 * loadhist.el (loadhist-hook-functions): Remove
9832 before-change-function, after-change-function.
9833 (unload-feature): Deal with symbols which are both bound and
9836 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
9837 before-change-function, after-change-function.
9839 * simple.el (newline): Don't bind before-change-function,
9840 after-change-function.
9842 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
9844 * whitespace.el (whitespace-rescan-timer-time): Update interval
9845 set to 600 seconds (10 minutes) instead of 60 seconds since
9846 a large number of whitespace buffers causes emacs to `freeze'
9847 for a considerable amount of time.
9849 * whitespace.el: Updated email address
9851 2000-05-31 Dave Love <fx@gnu.org>
9853 * add-log.el (change-log-font-lock-keywords) <function>: Add
9854 pattern for function of change.
9855 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
9856 acknowledgements patterns.
9858 2000-05-31 Kenichi Handa <handa@etl.go.jp>
9860 * isearch.el (isearch-printing-char): If keyboard coding system is
9861 being used, call isearch-process-search-multibyte-characters.
9863 * international/isearch-x.el: Mostly rewritten.
9865 * international/quail.el (quail-start-conversion): Don't include
9866 unhandled events in the returned events, but set them in
9867 unread-command-events. Exit if all inputs are deleted.
9869 2000-05-30 Jason Rumney <jasonr@gnu.org>
9871 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
9873 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
9874 Reenable code to create initial fontsets.
9875 Use set-fontset-font in place of put-charset-property.
9877 2000-05-30 Gerd Moellmann <gerd@gnu.org>
9879 * progmodes/perl-mode.el (perl-indent-line): When looking for a
9880 label, ensure that the first colon isn't followed by another.
9882 * paths.el (Info-default-directory-list): Doc fix.
9884 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
9885 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
9886 send a query containing USER only, not USER@HOST.
9888 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
9889 and rmail-msgend to compute the restriction at the end, instead of
9892 2000-05-29 Gerd Moellmann <gerd@gnu.org>
9894 * dabbrev.el (dabbrev-expand): Don't display messages in the
9895 echo area if the minibuffer window is active.
9897 * jit-lock.el (jit-lock-mode): Add after change function to
9900 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
9902 * antlr-mode.el: New commands: hide/unhide actions,
9903 upcase/downcase literals.
9904 (antlr-tiny-action-length): New user option.
9905 (antlr-hide-actions): New command. Suggested by
9906 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
9907 (antlr-mode-map): New binding [C-c C-v].
9908 (antlr-mode-menu): New entries.
9909 (antlr-downcase-literals): New command.
9910 (antlr-upcase-literals): Ditto.
9912 * antlr-mode.el: Minor changes: indendation, mode-name.
9913 (antlr-indent-line): Indent cpp directive at column 0.
9914 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
9916 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
9917 (antlr-font-lock-additional-keywords): Workaround for intentional
9918 bug in XEmacs version of font-lock.
9919 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
9920 be used by a smarter version of `buffers-menu-grouping-function'.
9922 2000-05-29 Gerd Moellmann <gerd@gnu.org>
9924 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
9925 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
9927 2000-05-29 Kenichi Handa <handa@etl.go.jp>
9929 * international/encoded-kb.el
9930 (encoded-kbd-iso2022-designation-map): Pay attention to that
9931 charset-iso-final-char return -1 for eight-bit-control and
9934 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
9936 * speedbar.el (speedbar-use-images, speedbar-update-flag)
9937 (speedbar-easymenu-definition-base): Use display-graphic-p where
9938 available, instead of window-system.
9940 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
9942 * international/codepage.el (cp-coding-system-for-codepage-1): Add
9943 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
9946 2000-05-26 Dave Love <fx@gnu.org>
9948 * disp-table.el (standard-display-underline): Don't use
9951 * mail/reporter.el: Maintainer change. Doc fixes.
9952 (reporter-version): Deleted.
9954 * emacs-lisp/elp.el: Maintainer change.
9955 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
9957 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
9959 * add-log.el (add-change-log-entry): Merge the current entry with the
9960 previous one if the previous one is empty.
9962 2000-05-26 Dave Love <fx@gnu.org>
9964 * loadhist.el (unload-feature): Fix interactive spec [from
9965 lijnzaad@ebi.ac.uk].
9967 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
9968 subr-arity to check primitives.
9969 (byte-compile-flush-pending, byte-compile-file-form-progn)
9970 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
9971 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
9974 2000-05-26 Kenichi Handa <handa@etl.go.jp>
9976 * international/fontset.el: Set family names of non-latin charsets
9977 in default fontset to "*".
9979 * international/mule-diag.el (print-fontset): Combine family part
9980 and registry part of the fontname by "-*-" instead of "-".
9982 * international/mule-cmds.el (encode-coding-char): Make strings
9983 multibyte before calling encode-coding-string.
9985 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
9987 * derived.el: Fix keywords.
9988 (define-derived-mode): Only define if needed.
9990 * simple.el (fill-comment, comment-column, comment-start)
9991 (comment-start-skip, comment-end, comment-indent-function)
9992 (block-comment-start, block-comment-end, indent-for-comment)
9993 (set-comment-column, kill-comment, comment-padding, comment-region)
9994 (comment-multi-line, indent-new-comment-line): Remove.
9996 * bindings.el (esc-map): Change ; to comment-dwim and use the new
9997 function names for comment operations.
9999 * newcomment.el: Add abundant autoload cookies.
10000 (comment-style): Don't depend on runtime data at compile-time.
10001 (comment-indent-hook): Remove.
10002 (comment-indent): Check if comment-indent-hook is bound.
10003 (comment-region): Docstring fix.
10005 2000-05-25 Dave Love <fx@gnu.org>
10007 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
10008 byte-code-function-p.
10010 * mail/rmailsum.el: Add provide.
10012 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
10014 * smerge-mode.el (smerge-diff-switches): Don't use list* in
10017 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
10019 * ediff-diff.el (ediff-exec-process): delete --binary option from
10020 non-buffer ediff jobs.
10022 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
10024 * hilit-chg.el (highlight-changes-mode): Ask about color or
10025 grayscale support, not about window-system.
10027 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
10029 (ffap-highlight): Always default to t.
10031 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
10032 display-popup-menus-p instead of looking at window-system.
10034 * disp-table.el (standard-display-g1, standard-display-graphic):
10035 Only refuse to use string glyphs on X and MS-Windows.
10037 * avoid.el: Remove window-system from commentary, suggest to use
10038 display-*-p instead.
10040 * apropos.el (apropos-print): Use display-mouse-p instead of
10043 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
10045 * international/codepage.el (cp-decoding-vector-for-codepage):
10046 Fill up unsupported characters with their own codes. From Kenichi
10049 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
10051 * international/mule-diag.el (describe-char-after): Use
10052 display-graphic-p instead of window-system, so that this function
10055 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
10057 * international/codepage.el (cp-make-coding-systems-for-codepage):
10058 Remove the eight-bit-graphic and eight-bit-control charsets from
10059 the list of charsets which we convert into `?'.
10061 2000-05-25 Kenichi Handa <handa@etl.go.jp>
10063 * international/mule-conf.el: Specify CHARSET-ID explicitely for
10065 (mule-unicode-0100-24ff, japanese-jisx0213-1,
10066 japanese-jisx0213-2): New charsets.
10068 * international/fontset.el: Setup default fontset for new charsets.
10070 2000-05-24 Dave Love <fx@gnu.org>
10072 * info.el (Info-find-node-2): Restructure [following "Vadim
10073 S. Solomin" <sovs@uic.nnov.ru>].
10075 * icomplete.el: Fix header for Finder.
10077 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
10079 * rmailout.el (rmail-output-to-rmail-file): Added optional param
10082 * rmail.el (rmail-automatic-folder-directives): New user variable.
10083 (rmail-show-message): Add call to `rmail-auto-file' during
10085 (rmail-auto-file): New function.
10087 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
10089 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
10091 (ediff-test-utility,ediff-diff-mandatory-option)
10092 (ediff-reset-diff-options): Utilities for proper initialization of
10093 ediff-diff-options and ediff-diff3-options on Windows.
10095 * ediff-init.el (ediff-merge-filename-prefix): New customizable
10098 * ediff-mult.el (ediff-filegroup-action): Use
10099 ediff-merge-filename-prefix.
10101 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
10103 * viper-ex.el (ex-write): Set selective display to nil.
10105 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
10107 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
10108 aliases for hebrew-iso-8bit.
10110 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
10112 * woman.el: New version from Francis J. Wright
10113 <F.J.Wright@Maths.QMW.ac.uk>.
10114 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
10115 names in environment variables regardless of the path separator.
10116 (woman-topic-all-completions-1): Don't call file-name-directory-p
10117 on all files, since woman-file-regexp already filters out any
10120 2000-05-24 Kenichi Handa <handa@etl.go.jp>
10122 * international/quail.el (quail-start-translation): Don't change
10123 modified-p of the current buffer.
10124 (quail-start-conversion): Likewise.
10126 * international/kkc.el (kkc-region): Don't change modified-p of
10127 the current buffer.
10129 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
10130 conform to RFC1468.
10131 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
10133 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
10135 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
10136 (speedbar-insert-button): Invisible text property fix.
10137 (speedbar-directory-plus): Renamed from speedbar-directory-+
10138 (speedbar-directory-minus): Renamed from speedbar-directory--
10139 (speedbar-page-plus): Renamed from speedbar-file-+
10140 (speedbar-page-minus): Renamed from speedbar-file--
10141 (speedbar-page): Renamed from speedbar-file-
10142 (speedbar-tag): Renamed from speedbar-tag-
10143 (speedbar-tag-plus): Renamed from speedbar-tag-+
10144 (speedbar-tag-minus): Renamed from speedbar-tag--
10145 (speedbar-expand-image-button-alist): Use above renames.
10147 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
10148 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
10149 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
10150 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
10151 * sb-pg.xpm: Renamed from sb-file.xpm
10152 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
10153 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
10155 2000-05-24 Kenichi Handa <handa@etl.go.jp>
10157 * international/quail.el (quail-show-guidance-buf): Set
10158 current-input-method of the guidance buffer to the name of the
10159 curren input method.
10161 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
10163 * progmodes/compile.el (compile-internal): Style typo.
10165 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
10166 quote vars and functions in the docstring.
10168 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
10170 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
10171 Don't quote lambdas.
10173 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
10175 2000-05-23 Gerd Moellmann <gerd@gnu.org>
10177 * startup.el (command-line): Determine source file of compiled
10178 user init file differently. Warn if compiled user init file
10179 is older than its source file.
10181 * ffap.el (ffap-url-regexp): Add `https'.
10183 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
10185 * files.el (make-backup-file-name-1): Replace slashes with `!'
10186 rather than `|' (which is not allowed on Windows). Replace the
10187 drive letters with a string "drive_X".
10189 2000-05-23 Gerd Moellmann <gerd@gnu.org>
10191 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
10193 * files.el (interpreter-mode-alist): Add `bash2'.
10195 2000-05-22 Dave Love <fx@gnu.org>
10197 * loadhist.el (feature-symbols, file-provides, file-requires): Use
10199 (feature-file): Avoid calling symbol-name. Doc fix.
10200 (file-set-intersect, file-dependents): Use dolist, not mapcar.
10201 (loadhist-hook-functions): Add mouse-position-function.
10202 (unload-feature): Change uses of mapcar.
10204 * files.el (parse-colon-path): Doc fix.
10205 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
10206 (set-auto-mode): Use mapc.
10208 * complete.el (PC-look-for-include-file): Use :alnum: character
10210 (partial-completion-mode): Add autoload cookie.
10212 2000-05-22 Sam Steingold <sds@gnu.org>
10214 * info.el (Info-fontify-node): Fixed the call to
10215 `add-text-properties' (bug introduced on 2000-05-18).
10217 2000-05-22 Dave Love <fx@gnu.org>
10219 * bindings.el: Remove debug-ignored-errors set in other files.
10221 * progmodes/etags.el: Add to debug-ignored-errors.
10222 (visit-tags-table-buffer): Clear out buffers holding old tables
10223 when making a new list.
10224 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
10227 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
10229 (cmpl-string-case-type): Use character classes.
10232 * textmodes/ispell.el:
10235 * progmodes/compile.el: Add to debug-ignored-errors.
10237 * dabbrev.el: Add to debug-ignored-errors.
10238 (dabbrev-completion): Use mapc.
10240 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
10242 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
10243 (woman-mapcan, woman-parse-man.conf)
10244 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
10245 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
10246 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
10247 path syntax better.
10248 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
10249 (woman-manpath): Call woman-parse-man.conf.
10250 (woman-emulation): New defcustom, defaults to nroff.
10251 (woman-font-support): New defconst.
10252 (woman-use-symbol-font): New defcustom.
10253 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
10255 Many functions: Doc fix.
10257 2000-05-22 Kenichi Handa <handa@etl.go.jp>
10259 * international/quail.el (quail-simple-translation-keymap): Map
10260 128..255 to quail-self-insert-command.
10261 (quail-keyboard-layout-alist): Add definition for "pc102-de".
10263 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
10265 * help.el (help-manyarg-func-alist): Typo.
10267 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
10268 intervals which makes it heaps simpler.
10270 * newcomment.el (comment-region-internal): Go back to BEG after quoting
10271 the nested comment markers.
10273 * subr.el (remove-hook): Don't turn the hook's value into a list.
10275 2000-05-21 Dave Love <fx@gnu.org>
10277 * edmacro.el (edmacro-parse-keys): Return vector if any elements
10278 are invalid characters.
10280 * international/mule-util.el (detect-coding-with-priority): Use
10281 mapc. Remove redundant lambda.
10283 * international/mule-diag.el (list-non-iso-charset-chars)
10284 (describe-fontset): Remove redundant lambda.
10286 * emulation/crisp.el (brief-mode): New alias.
10288 * emacs-lisp/ring.el (ring-elements): New function.
10290 * emacs-lisp/easymenu.el (easy-menu-create-menu)
10291 (easy-menu-do-add-item): Use keywordp.
10293 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
10295 * replace.el: Doc and error message fixes.
10296 (replace-highlight): Use facep, not internal-find-face.
10298 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
10300 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
10302 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
10303 (log-edit-insert-changelog): Drop `:' as well.
10305 * log-view.el: Fix file description.
10306 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
10308 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
10309 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
10311 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
10312 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
10313 Print a status message if the toggle is called interactively.
10314 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
10315 for global minor modes and use `defcustom' for them.
10316 Use add-minor-mode.
10317 (easy-mmode-define-derived-mode): Remove.
10318 (define-derived-mode): Fancier default docstring.
10319 (easy-mmode-define-navigation): Signal an error rather than (ding).
10321 * newcomment.el (comment-styles): New `box-multi'.
10322 (comment-normalize-vars): Better default for comment-continue to
10323 avoid whitespace-only continuations.
10324 (comment-search-forward): Always move even in the no-syntax case.
10325 (comment-padright): Only obey N if it's only obeyed for padleft.
10326 (comment-make-extra-lines): Better handling of empty continuations.
10327 Use `=' for the filler if comment-start has only one character.
10328 (uncomment-region): Try handling the special `=' filler.
10329 (comment-region): Allow LINES even if MULTI is nil.
10330 (comment-box): Choose box style based on comment-style.
10332 2000-05-20 Kenichi Handa <handa@etl.go.jp>
10334 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
10335 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
10337 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
10339 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
10340 and insert, not subst-char-in-region.
10342 * international/mule-diag.el (list-character-sets-1): Handle
10343 charsets eight-bit-control and eight-bit-graphic.
10344 (list-iso-charset-chars): Likewise.
10345 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
10346 charactes as is. Use indent-to to align characters.
10348 * international/mule-cmds.el (find-multibyte-characters): Never
10349 exclude charsets eight-bit-control and eight-bit-graphic.
10351 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
10353 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
10354 Don't quote lambdas.
10356 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
10358 2000-05-19 Gerd Moellmann <gerd@gnu.org>
10360 * gud.el (gud-jdb-directories): Doc fix.
10362 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
10364 * newcomment.el: New file.
10366 2000-05-19 Gerd Moellmann <gerd@gnu.org>
10368 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
10370 2000-05-18 Andreas Schwab <schwab@suse.de>
10372 * dired.el (dired-between-files): Also skip lines beginning with
10375 2000-05-18 Gerd Moellmann <gerd@gnu.org>
10377 * msb.el (msb-menu-cond): Add choice `user'.
10379 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10381 * ps-print.el: Compatibility, customization and doc fix.
10382 (ps-printer-name-option): Replace defconst by defvar.
10383 (ps-postscript-code-directory): XEmacs compatibility.
10384 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
10386 (ps-user-defined-prologue, ps-print-prologue-header)
10387 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
10388 compatibility and code fix.
10389 (ps-print-background-image, ps-print-background-text):
10391 (ps-line-number-start, ps-n-up-on): New vars.
10393 2000-05-18 Espen Skoglund <esk@ira.uka.de>
10395 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
10396 the indent-comment function to just return the appropriate indent.
10398 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
10400 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
10401 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
10402 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
10404 2000-05-18 Dave Love <fx@gnu.org>
10406 * info.el (Info-fontify-node): Add intangible property as well as
10409 * calendar/appt.el (appt-make-list): Match all lines of entry.
10410 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
10412 2000-05-18 Kenichi Handa <handa@etl.go.jp>
10414 * international/mule-diag.el (describe-char-after): Call
10415 internal-char-font, not char-font. If internal-char-font returns
10416 nil, display "-- none --".
10418 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
10420 * image.el (image-type-available-p): Don't reference image-types
10423 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
10425 * autoarg.el (autoarg-mode): Typo in the :set argument.
10427 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
10429 * startup.el (command-line-1): Don't signal an error if the
10430 directory for auto-save-list files does not yet exist.
10432 2000-05-17 Kenichi Handa <handa@etl.go.jp>
10434 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
10436 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
10438 * subr.el (remove-hook): `setq' hook-value, not `set'.
10440 2000-05-16 Sam Steingold <sds@gnu.org>
10442 * info.el (debug-ignored-errors): More errors to ignore.
10444 2000-05-16 Dave Love <fx@gnu.org>
10446 * cus-edit.el: Don't require cl or easymenu.
10447 (custom-variable-prompt): Test standard-value property, not
10450 2000-05-16 Sam Steingold <sds@gnu.org>
10452 * subr.el (add-hook): `setq' hook-value, not `set'.
10454 2000-05-16 Gerd Moellmann <gerd@gnu.org>
10456 * startup.el (command-line-1): Mention the FAQ in the startup
10459 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
10461 * progmodes/compile.el (compilation-parse-errors): Collect
10462 `nomessage' regexps last.
10464 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
10466 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
10467 to the function name.
10469 2000-05-15 Dave Love <fx@gnu.org>
10471 * speedbar.el (speedbar-recenter): Typo.
10472 (speedbar-expand-line): Make arg optional.
10473 (speedbar-mode): Avoid a compiler warning.
10475 2000-05-15 Gerd Moellmann <gerd@gnu.org>
10477 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
10478 user-specified option string is empty.
10480 * mouse.el (mouse-yank-at-click): Doc fix.
10482 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
10484 * term/internal.el (IT-character-translations): More updates of
10485 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
10488 2000-05-15 Gerd Moellmann <gerd@gnu.org>
10490 * env.el (getenv): New function, interactively callable.
10491 (setenv, getenv): Remove autoload cookies.
10493 * loadup.el: Load `env'.
10495 * progmodes/f90.el: Change author's mail address.
10497 2000-05-14 Dave Love <fx@gnu.org>
10499 * mail/rmail.el (rmail-show-message-hook): Customize and offer
10500 goto-addr as an option.
10502 * help.el (help-xref-stack): Doc fix.
10503 (help-xref-following): New variable.
10504 (help-make-xrefs): Use it.
10505 (help-xref-go-back): Use position information from stack element.
10506 (help-follow): Make position in stack element a pair. Use
10507 help-xref-following.
10509 * autoarg.el: New file.
10511 * faces.el: Declare more functions obsolete.
10513 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
10514 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
10515 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
10516 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
10517 Remove all the setup-...-environment functions.
10519 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
10521 * speedbar.el: Updated the commentary section. xemacs20p now uses
10522 >= when detecting. Require `defimage' safely.
10523 (speedbar-easymenu-definition-base): Add toggle for images.
10524 (speedbar-easymenu-definition-special): Add flush cache & expand.
10525 (speedbar-visiting-tag-hook): Set new defaults. Added options.
10526 (speedbar-reconfigure-keymaps-hook): New variable.
10527 (speedbar-frame-parameters): Updated documentation.
10528 (speedbar-use-imenu-flag): Updated custom tag
10529 (speedbar-dynamic-tags-function-list): New variable.
10530 (speedbar-tag-hierarchy-method): Updated doc & custom.
10531 (speedbar-indentation-width, speedbar-indentation-width) New
10533 (speedbar-hide-button-brackets-flag): Customizable.
10534 (speedbar-vc-indicator): Doc update.
10535 (speedbar-ignored-path-expressions): Updated default value.
10536 (speedbar-supported-extension-expressions): Updated default value.
10537 (speedbar-syntax-table): Remove {} paren status.
10538 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
10539 as "+". Added overlay aliases.
10540 (speedbar-mode): Use `speedbar-mode-line-update' instead of
10541 `force-mode-line-update'.
10542 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
10543 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
10545 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
10546 (speedbar-item-info-tag-helper): Revamped to handle a wider range
10547 of arbitrary text, and new helper functions.
10548 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
10550 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
10551 (speedbar-directory-buttons): Update path search/expansion.
10552 (speedbar-make-tag-line): Pay attention to
10553 `speedbar-indentation-width'. Use more care w/ invisible
10555 (speedbar-change-expand-button-char): Call
10556 `speedbar-insert-image-button-maybe'.
10557 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
10558 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
10559 (speedbar-trim-words-tag-hierarchy)
10560 (speedbar-simple-group-tag-hierarchy): New functions
10561 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
10562 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
10564 (speedbar-mouse-set-point): New function
10565 (speedbar-power-click): Updated documentation.
10566 (speedbar-line-token, speedbar-goto-this-file): Handle more types
10567 of tag prefix text.
10568 (speedbar-expand-line, speedbar-contract-line): Make more robust
10570 (speedbar-expand-line): Takes universal argument to flush the
10572 (speedbar-flush-expand-line): New function.
10573 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
10574 Use new generator insertion method.
10575 (speedbar-fetch-dynamic-tags): New function.
10576 (speedbar-fetch-dynamic-imenu): Removed code now handled in
10577 `speedbar-fetch-dynamic-imenu'.
10578 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
10579 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
10580 "Revert Buffer" menu items.
10581 (speedbar-buffer-buttons-engine): Be smarter when creating a
10582 filename tag (for expansion purposes.).
10583 (speedbar-highlight-one-tag-line,
10584 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
10585 (speedbar-recenter): New functions.
10586 (defimage-speedbar): Image loading abstraction.
10587 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
10588 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
10589 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
10590 (speedbar-tag-type, speedbar-tag-mail): New images.
10591 (speedbar-expand-image-button-alist): New variable.
10592 (speedbar-insert-image-button-maybe): Insert an image over some
10595 2000-05-13 Kenichi Handa <handa@etl.go.jp>
10597 * international/mule-cmds.el (encode-coding-char): An ASCII
10598 character is always encodable.
10600 * international/mule-conf.el: Add more information in descriptions
10603 * international/mule-diag.el (describe-char-after): New function.
10604 (describe-font-internal): Adjusted for the change of font-info.
10605 (describe-font): Likewise.
10606 (print-fontset): Rewritten for the new fontset implementation.
10607 (describe-fontset): Include fontset alias names in completion.
10608 (list-fontsets): Adjusted for the change of print-fontset.
10610 * simple.el (what-cursor-position): If DETAIL is non-nil, call
10611 describe-char-after instead of displaying the detail in the echo
10613 (syntax-code-table): Format changed.
10614 (string-to-syntax): Adjusted for the above change.
10616 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
10618 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
10620 2000-05-12 Dave Love <fx@gnu.org>
10622 * calendar/todo-mode.el: Remove some compatibility stuff and CL
10623 dependence. Use line-{beginning,end}-position, not
10624 point-at{b,e}ol. Some doc fixes.
10625 (todo-position): New function. Fix callers of position to use it.
10626 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
10628 2000-05-12 Gerd Moellmann <gerd@gnu.org>
10630 * time.el (display-time-mail-icon): Use `:ascent center'.
10632 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
10633 handling FTP security extensions.
10635 2000-05-11 Dave Love <fx@gnu.org>
10637 * calendar/todo-mode.el: New file.
10639 2000-05-11 Gerd Moellmann <gerd@gnu.org>
10641 * comint.el (comint-read-input-ring): Move reference to
10642 comint-input-ring-size outside of the save-excursion. It was
10643 causing the default value to be the only one ever seen.
10645 * font-lock.el: Update copyright. Remove Simon Marshall's email
10646 address on request from him.
10648 * subr.el (substitute-key-definition): Add comment describing
10649 the meaning of PREFIX.
10651 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
10653 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
10655 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
10656 (add-minor-mode): Don't make the variable buffer-local and add a
10657 reference to define-minor-mode in the docstring.
10659 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
10660 HEADER/FOOTER and fix bug with trailing empty directory.
10661 (cvs-append-to-ignore): Use vc-editable-p if available.
10662 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
10663 (vc-do-command): Tweak advice to handle the new VC.
10665 * log-view.el (log-view-goto-rev): New function for the new VC.
10666 (log-view-minor-wrap): Use mark-active.
10668 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
10669 (log-edit-changelog-full-paragraphs): New var.
10670 (log-edit-insert-changelog): Remove a lonely leading `* file'.
10671 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
10672 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
10673 (log-edit-changelog-ours-p, log-edit-changelog-entries)
10674 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
10675 Replace the `cvs' prefix with `log-edit'.
10677 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
10679 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
10680 (diff-font-lock-defaults): Explicitly turn off multiline.
10681 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
10682 (diff-ediff-patch): Fix call to ediff-patch-file.
10683 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
10686 * frame.el (automatic-hscrolling): Typo.
10688 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
10690 2000-05-09 Sam Steingold <sds@goems.com>
10692 * apropos.el (apropos-print): use `describe-face' instead of
10693 `customize-face-other-window'.
10695 2000-05-09 Dave Love <fx@gnu.org>
10697 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
10699 * help.el (describe-variable): Have customize button pop the
10700 help-xref stack when invoked.
10701 (help-xref-symbol-regexp): Add `face'.
10702 (help-make-xrefs): Check for quoted face names and adapt regexp
10703 submatch numbers to cope.
10704 (help-xref-interned): Maybe insert face doc too. Separate
10705 sections with a line of hyphens.
10707 * faces.el: Some doc fixes. Declare some functions obsolete.
10708 (describe-face): Add customize button. Return the help
10711 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
10713 * term/internal.el (IT-character-translations): Fix last change.
10715 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
10717 * woman.el: New file
10718 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
10720 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
10722 * term/internal.el (IT-character-translations): Update ASCII
10723 simulations for greek-iso8859-7, add latin-iso8859-14 and
10726 * international/mule-cmds.el (set-language-info-alist): Call
10727 define-prefix-command with 3 arguments, to make the map suitable
10730 2000-05-07 Dave Love <fx@gnu.org>
10732 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
10734 2000-05-05 Dave Love <fx@gnu.org>
10736 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
10737 list in doc string. Don't quote keyword symbols.
10738 * emacs-lisp/cl.el: Likewise
10739 * emacs-lisp/cl-seq.el: Likewise
10741 2000-05-05 Gerd Moellmann <gerd@gnu.org>
10743 * abbrev.el (abbrev-mode): Make ARG optional.
10745 2000-05-04 Gerd Moellmann <gerd@gnu.org>
10747 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
10749 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
10751 * subr.el (substitute-key-definition): Clarify documentation.
10753 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
10755 * glasses.el (glasses-convert-to-unreadable): Use
10756 `glasses-separator' instead of the hard-wired "_".
10757 (glasses-mode): Call `glasses-make-unreadable' only in a single
10760 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
10762 * term/internal.el (cjk-codepages-alist): Add associations for
10763 Chinese and Korean codepages. Remove FIXME comment.
10765 2000-05-03 Dave Love <fx@gnu.org>
10767 * time.el (display-time-mail-face, display-time-use-mail-icon):
10769 (display-time-mail-icon): New variable.
10770 (display-time-string-forms): Use the above. Fix the local-map.
10772 2000-05-03 Gerd Moellmann <gerd@gnu.org>
10774 * replace.el (query-replace-map): Add binding for `E'.
10775 (query-replace-help): Extend help text.
10776 (perform-replace): Allow editing the replacement string.
10778 * make-mode.el (makefile-mode-abbrev-table): New variable.
10779 (makefile-mode): Set local abbrev table to
10780 makefile-mode-abbrev-table.
10781 (makefile-font-lock-keywords): Fontify includes and conditionals.
10783 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
10784 set TOGGLE's value.
10786 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
10787 mail-interactive-insert-alias.
10788 (mail-abbrev-complete-alias): New command.
10789 (mail-mode-map): Bind it to `M-TAB'.
10791 2000-05-03 Kenichi Handa <handa@etl.go.jp>
10793 * language/lao-util.el (lao-compose-region): New function.
10795 2000-05-02 Gerd Moellmann <gerd@gnu.org>
10797 * files.el (recover-session): Make directories as necessary
10798 if they don't exist yet.
10800 * calendar/cal-french.el
10801 (french-calendar-multibyte-special-days-array)
10802 (french-calendar-special-days-array): Change French text.
10803 (calendar-french-date-string): Change output.
10804 (calendar-goto-french-date): Likewise.
10806 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
10808 * wid-edit.el (widget-default-active): Obey `:always-active'.
10809 (widget-documentation-string-value-create): Set `:always-active'.
10811 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
10813 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
10814 default prefix to `~/_emacs.d/auto-save.list/_s'.
10815 (normal-top-level): Create the directory for auto-save files, if
10816 it doesn't already exist (in the ms-dos case only).
10818 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
10820 * international/mule-cmds.el (set-language-environment): Don't
10821 concat an integer (dos-codepage), use format instead.
10823 2000-05-02 Dave Love <fx@gnu.org>
10825 * help.el (help-xref-on-pp): Check for constant symbols.
10827 2000-04-29 Gerd Moellmann <gerd@gnu.org>
10829 * startup.el (normal-top-level): Put a condition-case around
10830 the code loading subdirs.el.
10832 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10834 * ps-print.el: Upside-down and face background color printing,
10835 line number step, doc fix.
10836 (ps-print-version): New version number (5.2).
10837 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
10838 (ps-face-attribute-list, ps-plot-with-face): Code fix.
10839 (ps-spool-config): Var fix.
10840 (ps-printer-name-option): Const fix.
10841 (ps-print-upside-down, ps-use-face-background)
10842 (ps-line-number-step): New vars.
10843 (ps-window-system, ps-lp-system): New consts.
10844 (ps-face-background): New fun.
10846 2000-04-28 Richard Stallman <rms@gnu.org>
10848 * files.el (make-auto-save-file-name):
10849 Apply auto-save-file-name-transforms to visited file name
10850 before generating auto save file name.
10851 (auto-save-file-name-transforms): New variable.
10853 * files.el (backup-enable-predicate):
10854 Correctly test for a file under a temporary directory.
10856 2000-04-28 Gerd Moellmann <gerd@gnu.org>
10858 * subr.el (add-minor-mode): Rewritten.
10860 2000-04-28 Kenichi Handa <handa@etl.go.jp>
10862 * mail/sendmail.el (sendmail-send-it): Set
10863 buffer-file-coding-system to the selected coding system for MIME
10866 2000-04-27 Gerd Moellmann <gerd@gnu.org>
10868 * dired.el (dired-move-to-filename-regexp): Allow format where
10869 YYYY is followed by two spaces.
10871 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
10872 in the second character class of the regexp.
10874 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
10877 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
10880 * subr.el (add-minor-mode): Use `set' instead of `setq'.
10882 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
10885 2000-04-27 Sen Nagata <sen@eccosys.com>
10887 * emacs-lisp/crm.el (crm-completion-table): New variable.
10888 (crm-collection-fn, crm-test-completion)
10889 (completing-read-multiple): Use it.
10891 2000-04-27 Dave Love <fx@gnu.org>
10893 * help.el (locate-library): Use mapc.
10894 (help-manyarg-func-alist): Add call-process-region.
10896 2000-04-26 Gerd Moellmann <gerd@gnu.org>
10898 * subr.el (add-minor-mode): Make argument MAP optional.
10900 * desktop.el (desktop-save): Save list of minor modes.
10901 (desktop-create-buffer): Restore minor modes.
10902 (desktop-minor-mode-table): New user-option.
10904 * subr.el (add-minor-mode): New function.
10906 * image.el (find-image): New function.
10907 (defimage): Rewritten to find image at load time.
10909 * startup.el (normal-top-level-add-to-load-path): Handle
10910 case that the default directory is not in load-path.
10912 * help.el: Old patch from Stefan Monnier.
10913 (help-xref-on-pp): New function.
10914 (describe-variable): Use it to display xrefs in a symbol's value.
10916 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
10918 * cus-edit.el (custom-face): Fix parenthesis.
10920 2000-04-26 Kenichi Handa <handa@etl.go.jp>
10922 * mail/rmail.el (rmail-expunge): When there are no deleted
10923 messages, do nothing.
10925 2000-04-26 Dave Love <fx@gnu.org>
10927 * international/mule-cmds.el (locale-translation-file-name):
10929 (set-locale-environment): Set it here (at runtime).
10931 2000-04-25 Gerd Moellmann <gerd@gnu.org>
10933 * replace.el (perform-replace): Add parameters START and END. Use
10934 them instead of the check for a region in Transient Mark mode.
10935 (query-replace-read-args): Return two more list elements for the
10936 start and end of the region in Transient Mark mode.
10937 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10938 (map-query-replace-regexp, replace-string, replace-regexp): Add
10939 optional last arguments START and END and pass them to
10942 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
10943 form with additional arguments for perform-replace.
10945 * progmodes/etags.el (tags-query-replace): Add parameters START
10946 and END. Construct a form with additional arguments for
10949 * simple.el (shell-command): Set default directory for "*Shell
10950 Command Output" buffer.
10952 * language/european.el (iso-latin-4): Fix typo.
10954 * emacs-lisp/crm.el: New file.
10956 2000-04-24 Dave Love <fx@gnu.org>
10958 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
10959 (Custom-reset-saved, Custom-reset-standard)
10960 (custom-group-value-create, custom-group-set, custom-group-save)
10961 (custom-group-reset-current, custom-group-reset-saved)
10962 (custom-group-reset-standard): Use mapc.
10963 (custom-buffer-create-internal): Disable undo when creating items.
10965 (custom-face): Avoid redundant lambda.
10967 2000-04-24 Gerd Moellmann <gerd@gnu.org>
10969 * startup.el (auto-save-list-file-prefix): Set default to
10970 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
10972 2000-04-24 Sam Steingold <sds@gnu.org>
10974 * time-stamp.el (time-stamp-string-preprocess): Always convert
10975 `field-result' to a string.
10977 2000-04-24 Gerd Moellmann <gerd@gnu.org>
10979 * frame.el (scrolling): New group.
10980 (automatic-hscrolling): New user-option.
10982 * startup.el (command-line-x-option-alist): Add `-lsp' and
10985 2000-04-19 Dave Love <fx@gnu.org>
10987 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
10988 (cl-mapc): Rename from mapc. Fix the funcall.
10990 2000-04-19 Gerd Moellmann <gerd@gnu.org>
10992 * simple.el (clone-indirect-buffer-other-window): New command.
10993 (clone-indirect-buffer): Add optional arg NORECROD.
10994 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
10996 * help.el (resize-temp-buffer-window): Use count-screen-lines.
10998 * window.el (count-screen-lines): New function.
10999 (shrink-window-if-larger-than-buffer): Use count-screen-lines
11000 instead of window-buffer-height.
11002 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
11003 non-existing variable comint-input-sentinel.
11004 (inferior-lisp-args-to-list): Removed.
11005 (inferior-lisp): Use split-string instead of
11006 inferior-lisp-args-to-list.
11008 * hexl.el (hexl-insert-hex-string): New command.
11010 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
11013 2000-04-18 Gerd Moellmann <gerd@gnu.org>
11015 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
11016 at the start of an existing but empty folder.
11018 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11020 * ps-mule.el: Customization fix, doc fix.
11021 (ps-multibyte-buffer): Customization fix.
11023 2000-04-17 Richard M. Stallman <rms@gnu.org>
11025 * subr.el (read-passwd): Use read-char-exclusive.
11027 2000-04-17 Gerd Moellmann <gerd@gnu.org>
11029 * textmodes/texinfo.el (texinfo-insert-@email)
11030 (texinfo-insert-@emph, texinfo-insert-@quotation)
11031 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
11032 (texinfo-mode-map): Add key bindings for them.
11034 * files.el (basic-save-buffer-2): Use a template with `$'
11035 instead of `#' for VMS.
11037 * simple.el (clone-indirect-buffer): New function.
11039 2000-04-16 Stephen Eglen <stephen@gnu.org>
11041 * iswitchb.el (iswitchb-case): New function. If the user input
11042 contains any upper-case characters, the search is made
11045 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
11047 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
11049 (texinfo-font-lock-syntactic-keywords): New var.
11050 (texinfo-font-lock-keywords): Remove comment regexp.
11051 (texinfo-insert-block): New function.
11052 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
11053 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
11054 and font-lock-defaults. Use regexp-opt for outline-regexp.
11055 (texinfo-environments): New var.
11056 (texinfo-environment-regexp): Use regexp-opt and
11057 texinfo-environments.
11059 * textmodes/ispell.el (ispell-menu-map-needed): Check that
11060 ispell-process is bound since this might be eval'd before ispell
11062 (ispell-message): Use a tiny bit less magic and a bit more hard
11063 data to figure out what kind of sc-cite-regexp to use.
11065 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
11067 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
11068 (insert-cyclic-diary-entry): Unquote the lambda.
11070 * gud.el (gud-jdb-build-source-files-list): Fix typo.
11072 * files.el (backup-enable-predicate): Unquote the lambda.
11074 * cus-edit.el (custom-face, face): Unquote the lambda.
11076 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11078 * ps-print.el: Check for line-beginning-position definition.
11080 * ps-print.el: Fix counting lines in a region.
11081 (ps-print-version): New version number (5.1.5).
11082 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
11083 (ps-printing-region): Fun code fix.
11085 2000-04-15 Gerd Moellmann <gerd@gnu.org>
11087 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
11088 to file-directory-p.
11090 2000-04-14 Gerd Moellmann <gerd@gnu.org>
11092 * gud.el (gud-jdb-build-source-files-list): Check that directory
11093 exists before calling directory-files.
11095 2000-04-13 Dave Love <fx@gnu.org>
11097 * emacs-lisp/trace.el: Change maintainer. Use new backquote
11100 * emacs-lisp/cl-specs.el: Remove when, unless.
11102 * emacs-lisp/cl-extra.el: Don't quote keywords.
11103 (cl-old-mapc): New variable.
11105 (cl-map-intervals): Use with-current-buffer. Don't check for
11106 next-property-change.
11107 (cl-map-overlays): Use with-current-buffer.
11109 (copy-tree, remprop): Define unconditionally.
11111 * emacs-lisp/cl-compat.el (keywordp): Remove.
11113 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
11115 (edebug-spec): Enable keywordp.
11117 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
11120 * cus-start.el: Use keywordp.
11122 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
11124 * diary-lib.el (include-other-diary-files): Fix the fix of
11125 2000-02-18 by doing a save-excursion.
11127 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11129 * ps-print.el: Customization fix, doc fix.
11130 (ps-print-version): New version number (5.1.4).
11131 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
11132 (ps-print-preprint): Adjust code.
11133 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
11134 (ps-print-prologue-header, ps-print-control-characters)
11135 (ps-spool-config): Customization fix.
11137 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
11139 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
11140 converted to the new menu-item format, names silightly changed,
11141 help strings added.
11143 Support for spelling without async subprocesses:
11145 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
11146 (ispell-session-buffer): New variables.
11147 (ispell-start-process, ispell-process-status,
11148 ispell-accept-output, ispell-send-string): New functions, for
11149 Ispell invocation when async subprocesses aren't supported.
11150 (ispell-word, ispell-pdict-save, ispell-command-loop,
11151 ispell-process-line, ispell-buffer-local-parsing): Replace calls
11152 to process-send-string with calls to ispell-send-string, and
11153 accept-process-output with ispell-accept-output.
11154 (ispell-init-process): Call ispell-process-status instead of
11155 process-status with.
11156 (ispell-init-process): Call ispell-start-process. Call
11157 ispell-accept-output and ispell-send-string. Don't call
11158 process-kill-without-query and kill-process if they are unbound.
11159 (ispell-async-processp): New function.
11161 2000-04-12 Dave Love <fx@gnu.org>
11163 * info.el: Add debug-ignored-errors.
11164 (Info-mode-menu): Add some items.
11165 (Info-directory): Add autoload cookie.
11167 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
11168 Modify `truncate-lines'. Make `describe-language-environment'
11169 always visible and add help. Modify `describe-key' help. Invoke
11170 Info-directory from `info'. New entry `emacs-manual'.
11172 2000-04-10 Gerd Moellmann <gerd@gnu.org>
11174 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
11175 propertized-buffer-identification.
11176 (ebrowse-update-member-buffer-mode-line): Likewise.
11177 (ebrowse--mode-strings): Removed.
11178 (ebrowse--mode-line-props): Removed.
11180 * files.el (auto-mode-alist): Add `EBROWSE'.
11182 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
11183 space before testing for end of buffer.
11184 (ebrowse-load): Removed.
11185 (ebrowse-revert-tree-buffer-from-file): Rewritten.
11186 (ebrowse-create-tree-buffer): Rewritten.
11187 (ebrowse-tree-mode): Read tree from buffer.
11189 * progmodes/ebrowse-ffh.el: Removed.
11191 2000-04-10 Kenichi Handa <handa@etl.go.jp>
11193 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
11195 2000-04-10 Gerd Moellmann <gerd@gnu.org>
11197 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
11198 at the wrong place.
11200 2000-04-09 Dave Love <fx@gnu.org>
11202 * files.el (backup-enable-predicate): Use
11203 temporary-file-directory, small-temporary-file-directory.
11204 (make-backup-file-name-function, backup-directory-alist): New
11206 (make-backup-file-name-1): New function.
11207 (make-backup-file-name): Use it.
11208 (find-backup-file-name): Likewise. Use format for clarity, not
11210 (file-newest-backup): Use make-backup-file-name.
11212 2000-04-09 Gerd Moellmann <gerd@gnu.org>
11214 * progmodes/ebrowse-ffh.el: New file.
11216 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
11218 (ebrowse-load): Add autoload.
11220 * finder.el (finder-commentary): Add autoload cookie.
11222 * mail/rfc2368.el: Correct author's email address.
11224 * progmodes/ebrowse.el: New file.
11226 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
11228 (easy-menu-do-add-item): Ditto.
11229 (easy-menu-define): Extend doc string.
11231 * jit-lock.el (with-buffer-unmodified): Use
11232 restore-buffer-modified-p.
11233 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
11234 (jit-lock-function, jit-lock-stealth-fontify): Don't use
11235 with-buffer-unmodified.
11237 2000-04-08 Dave Love <fx@gnu.org>
11239 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
11242 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
11244 * viper-util.el (viper-put-on-search-overlay): New subroutine.
11245 (viper-flash-search-pattern): No operation when using Emacs
11246 doesn't support face.
11247 Use `viper-put-on-search-overlay'.
11249 2000-04-04 Gerd Moellmann <gerd@gnu.org>
11251 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
11254 * progmodes/make-mode.el: Some doc fixes.
11255 (makefile-mode-abbrev-table): New variable.
11256 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
11257 (makefile-font-lock-keywords): Fontify includes and conditionals.
11258 (toplevel): Require `dabbrev' and `add-log' when compiling.
11260 * replace.el (perform-replace): Don't move forward one char
11261 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
11262 to do that because it leaves point 1 position after the last
11263 replacement, after everything has been replaced.
11265 * jit-lock.el (with-buffer-unmodified): New macro.
11266 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
11268 (jit-lock-function-1): Extracted from jit-lock-function; not
11269 preserving buffer's modified state.
11270 (jit-lock-function, jit-lock-stealth-fontify): Call
11271 jit-lock-function-1.
11273 * mail/rfc2368.el: Remove supernumerary copyright line.
11275 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
11277 * glasses.el: Provide facilities for inserting space before left
11278 parentheses and uncapitalization of identifiers.
11279 (glasses-mode): Try to remove old overlays in all cases.
11281 2000-04-03 Gerd Moellmann <gerd@gnu.org>
11283 * progmodes/compile.el (compile-internal): Display the compilation
11284 buffer in a different frame, if it's already displayed there.
11286 * mail/rfc2368.el: New file.
11288 * simple.el (sendmail-user-agent-compose): Recognize a `body'
11289 header and insert its value as mail body.
11291 * subr.el (member-ignore-case): New function.
11293 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
11294 (dabbrev--find-expansion): Ignore buffers matching a regexp
11295 from dabbrev-ignored-regexps.
11297 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
11298 to extensions handled by gzip.
11300 2000-04-03 Richard M. Stallman <rms@gnu.org>
11302 * files.el (insert-directory): List the total free space
11303 along with the used space.
11305 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
11306 line is followed by one that matches CITATION-REGEXP, end the
11309 2000-04-03 Markus Rost <rost@delysid.gnu.org>
11311 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
11312 (rmail-make-basic-summary-line): Use that option.
11314 2000-04-03 Kenichi Handa <handa@etl.go.jp>
11316 * international/mule-cmds.el (encoded-string-description):
11317 Rewritten. Try pretty description for ISO 2022 escape sequences
11318 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
11319 for hexadecimal format.
11321 2000-04-01 Dave Love <fx@gnu.org>
11323 * cpp.el: Change customization group to `c' from `C'.
11325 * vcursor.el (vcursor-move): Use display-color-p.
11327 * international/mule-util.el: Provide mule-utils.
11328 (string-to-sequence): Simplify and speed up.
11330 * international/mule.el (make-coding-system): Purecopy doc-string.
11332 * international/mule-cmds.el: Various menu changes.
11333 (describe-specified-language-support): Handle `Default'.
11334 (set-language-info): Purecopy `info'.
11336 2000-03-31 Andrew Innes <andrewi@gnu.org>
11338 * vc.el (vc-backend-diff): Return the correct status if we had to
11339 retry the rcsdiff command without the --brief option.
11341 2000-03-31 Dave Love <fx@gnu.org>
11343 * help.el (help-manyarg-func-alist): Correct several omissions.
11345 * add-log.el: Don't require cl, fortran.
11346 (add-log-current-defun-function): Doc fix.
11347 (change-log-version-number-regexp-list): Remove SCCS part. Doc
11349 (change-log-version-rcs): Function deleted.
11350 (change-log-version-number-search): Doc fix. Use
11351 vc-workfile-version. Avoid CL dolist.
11352 (add-change-log-entry): Just call add-log-current-defun to get
11353 defun. Simplify somewhat.
11354 (change-log-get-method-definition-1): Likewise.
11355 (add-log-current-defun): Return nil if calling
11356 add-log-current-defun-function does so. Move Fortran stuff to
11357 fortran.el. Return string without properties.
11359 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
11360 and :alpha: char classes.
11362 * mail/supercite.el: Defvar curline when compiling.
11363 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
11364 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
11365 rather than a-zA-Z0-9 to allow non-ASCII characters.
11367 2000-03-31 Gerd Moellmann <gerd@gnu.org>
11369 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
11371 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11372 Re-enable new code.
11374 * lpr.el (print-region-1): Use -d to specify printer name for
11375 systems `usg-unix-v*, `dgux', `hpux', `irix'.
11377 2000-03-31 Dave Love <fx@gnu.org>
11379 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
11380 for function definition in symbol's function value slot first
11381 instead of first consulting byte-compile-function-environment.
11383 2000-03-31 Kenichi Handa <handa@etl.go.jp>
11385 * language/european.el ("Polish"): New language environment.
11386 (setup-polish-environment): New function.
11388 2000-03-30 Gerd Moellmann <gerd@gnu.org>
11390 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11393 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
11394 trying to `load' the symbol of an autoload instead of the file
11395 recorded in the autoload. Fix error messages.
11397 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11399 * ps-print.el: PostScript programming fix for ghostview, doc fix.
11400 (ps-print-version): New version number (5.1.3).
11401 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
11402 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
11403 (ps-generate-postscript-with-faces): Code fix.
11404 (ps-color-values): XEmacs compatibility.
11405 (ps-print-background-image, ps-print-background-text, ps-printer-name)
11406 (ps-default-fg, ps-default-bg): Adjust customization.
11407 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
11408 (ps-color-scale): Renaming old ps-color-value fun.
11409 (ps-print-headers): Replace ps-print-header group to avoid conflict
11410 with ps-print-header variable.
11411 (ps-print-miscellany): New group.
11412 (ps-format-color, ps-rgb-color): New funs.
11413 (ps-default-foreground): New var.
11414 (ps-printer-name-option): New const.
11416 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
11418 * net/net-utils.el:
11419 (network-connection-host, network-connection-service): New variables
11420 (network-connection-mode): New mode, derived from comint-mode
11421 (network-connection-mode-setup): New function, saves host and
11422 service information in local variables.
11425 (locate-word-at-point): Added this function
11426 (locate): Default to using locate-word-at-point as input
11427 Run dired-mode-hook
11429 2000-03-29 Dave Love <fx@gnu.org>
11431 * calendar/appt.el: Doc fixes.
11432 (appt-check): Convert min-to-app to a string before passing to
11433 appt-disp-window-function or concat.
11434 (appt-delete-window): Remove test for frame-root-window.
11435 (appt-select-lowest-window, appt-convert-time): Simplify.
11437 * emacs-lisp/bytecomp.el: Doc fixes.
11438 (byte-compile-file-form-autoload): Update
11439 byte-compile-function-environment.
11441 2000-03-29 Andreas Schwab <schwab@suse.de>
11443 * emacs-lisp/autoload.el: Also print defsubst doc string
11446 * dired.el (dired-insert-directory): If dired-free-space-program
11447 failed just delete its output.
11449 2000-03-29 Dave Love <fx@gnu.org>
11451 * international/iso-cvt.el: Move provide to end. Doc fixes.
11452 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
11453 (iso-iso2sgml, iso-sgml2iso): New functions.
11454 (iso-cvt-define-menu): Fix some entries and use backquote for
11457 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
11459 2000-03-28 Gerd Moellmann <gerd@gnu.org>
11461 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
11462 ISO-DATE. If non-nil, return date in ISO 8601 format.
11464 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
11466 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
11467 if it ever becomes used.
11468 (log-edit-mode-hook): Default to vc-log-mode-hook.
11469 (log-edit-mode): Fix the docstring.
11471 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
11474 2000-03-26 Dave Love <fx@gnu.org>
11476 * net/browse-url.el (browse-url): Re-fix case of
11477 browse-url-browser-function being an alist.
11478 (browse-url): Add :link to defgroup.
11480 * files.el: Doc fixes.
11481 (file-truename): Include `[' in wildcard characters.
11482 (automount-dir-prefix): Customize.
11483 (find-file-wildcards): Add :version.
11484 (find-file-noselect): Simplify a mapcar call.
11486 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
11487 compatible with inf-lisp version.
11488 (eval-defun-1): Fix custom-declare-variable case.
11490 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
11492 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
11494 2000-03-24 Gerd Moellmann <gerd@gnu.org>
11496 * Makefile (COMPILE_FIRST): New macro.
11497 (compile-files): Compile files from COMPILE_FIRST first.
11499 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
11502 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
11503 matching open parenthesis in column 0 to defun-prompt-regexp
11504 only if open-paren-in-column-0-is-defun-start is set.
11506 * sun-curs.el: Require CL at compile-time only.
11508 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
11509 instead of copy-list which is a function from CL.
11510 (msb--choose-menu, msb--mode-menu-cond)
11511 (msb--create-buffer-menu-2): Use dolist instead of mapc.
11512 (msb--init-file-alist): Use mapcar instead of mapcan.
11513 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
11514 `(' in column 0 in doc string.
11515 (msb--add-separators): Use mapcar instead of mapcan.
11517 * cus-dep.el: Require CL at compile-time only.
11519 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
11521 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
11522 (byte-compile-warnings): New warning `noruntime'.
11523 (byte-compile-constants, byte-compile-variables): Fix docstring.
11524 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
11525 execute `eval-whenc-compile's body.
11526 (byte-compile-unresolved-functions): Fix docstring.
11527 (byte-compile-eval): New function.
11528 (byte-compile-callargs-warn): Check if the function will be available
11529 at runtime (via property `byte-compile-noruntime').
11530 (byte-compile-print-syms): New function.
11531 (byte-compile-warn-about-unresolved-functions): Also warn about
11532 `noruntime' functions (and use `byte-compile-print-syms').
11533 (byte-compile-file): Capitalize the message.
11535 2000-03-24 Gerd Moellmann <gerd@gnu.org>
11537 * mail/rmail.el (rmail-confirm-expunge): New user-option.
11538 (rmail-expunge): Ask for confirmation depending on the setting
11539 of rmail-confirm-expunge.
11541 2000-03-23 Gerd Moellmann <gerd@gnu.org>
11543 * Makefile (bootstrap-clean): If $(emacs) exists, build
11544 loaddefs.el first. A loaddefs.el that's not up-to-date might
11545 cause a bootstrap failure because things don't autoload as
11548 2000-03-23 Dave Love <fx@gnu.org>
11550 * net/browse-url.el: Restore previous use of
11551 browse-url-maybe-new-window.
11553 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11555 * ps-print.el: Skip banner page fix.
11556 (ps-print-version): New version number (5.1.2).
11557 (ps-begin-file, ps-end-file, ps-generate): Code fix.
11559 2000-03-23 Dave Pearson <davep@davep.org>
11561 * net/quickurl.el Changed the type of parameter passed to the
11562 function defined by `quickurl-format-function'. Before only the
11563 text of the URL was passed. Now the whole URL structure is passed
11564 and the function is responsible for extracting the parts it
11565 requires. Changed the default of `quickurl-format-function'
11567 (quickurl-insert): Changed the `funcall' of
11568 `quickurl-format-function' to match the above change.
11569 (quickurl-list-insert): Changed the `url' case so that it makes
11570 use of `quickurl-format-function', previous to this the format was
11573 2000-03-22 Gerd Moellmann <gerd@gnu.org>
11575 * startup.el: Change some spellings for the X Window System.
11577 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
11579 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
11580 up the code and the regexp and make sure the cursor is temporarily
11581 moved to the suspicious line while querying the user.
11583 2000-03-22 Jason Rumney <jasonr@gnu.org>
11585 * w32-fns.el (w32-charset-info-alist): Initialize.
11587 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11589 * ps-print.el: N-up last page fix.
11590 (ps-print-version): New version number (5.1.1).
11591 (ps-end-file, ps-end-job, ps-generate): Code fix.
11593 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
11595 * files.el (find-file-run-dired): Update docstring.
11596 (find-directory-functions): New hook.
11597 (find-file-noselect): Run find-directory-functions rather than
11598 calling dired directly.
11600 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
11602 * pcvs.el: Add a minimal leading commentary.
11603 (cvs-make-cvs-buffer): Change the header part by removing the startup
11604 message and adding a `Module' entry. Also replace the FOOTER and
11605 HEADER special fileinfos with the new support in ewoc for updating
11606 its own footer and header.
11607 (cvs-update-header): Update to use the header/footer of the ewoc.
11608 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
11609 (cvs-is-within-p): New function.
11610 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
11611 to only examine some subset of the buffers.
11613 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
11614 `format' instead of our own ad-hoc functions.
11615 Remove HEADER and FOOTER cases, now handled in the EWOC.
11616 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
11618 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
11619 output to avoid scaring the user.
11620 (cvs-parse-table): Catch message for non-up-to-date commits.
11622 * pcvs-defs.el (cvs-startup-message): Remove.
11623 (cvs-global-menu): New autoloaded menu.
11625 * pcvs-util.el (cvs-string-fill): Remove.
11627 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
11628 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
11629 PP part of it and also make it work for footers and headers.
11630 (ewoc-create): Drop POS and BUFFER arguments.
11631 Use the DLL's dummy node to store the end-of-footer position.
11632 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
11633 (ewoc-refresh): Remove unused `header' variable.
11634 (ewoc-(get|set)-hf): New functions.
11636 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
11637 log-view-*-(message|file) and use easy-mmode-define-navigation.
11638 (log-view-message-re): Match SCCS format as well.
11639 And match the revision line rather than the dashed separator line.
11640 (log-view-mode): Use the new define-derived-mode.
11641 (log-view-current-tag): Fill in with an actual implementation.
11643 * cvs-status.el (cvs-status-(prev|next)): Rename from
11644 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
11645 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
11646 to let the output "breathe" a little more (more readable).
11647 (cvs-status-mode): Use the new define-derived-mode.
11649 * smerge-mode.el (smerge-auto-leave): New function and variable.
11650 (smerge-basic-map): Rename from smerge-basic-keymap.
11651 Change the bindings for smerge-diff-*.
11652 (smerge-*-map): Use easy-mmode-defmap.
11653 (smerge-(next|prev)): Use easy-mmode-define-navigation.
11654 (smerge-keep-*): Use smerge-auto-leave.
11656 2000-03-21 Jason Rumney <jasonr@gnu.org>
11658 * cus-edit.el (custom-button-face): Use 3D look for w32.
11659 (custom-button-pressed-face): Likewise.
11661 2000-03-21 Gerd Moellmann <gerd@gnu.org>
11663 * progmodes/etags.el (tags-case-fold-search): New user-option.
11664 (tags-loop-eval): New function. Bind case-fold-search around eval
11665 depending on the value of tags-case-fold-search.
11666 (tags-loop-continue): Use tags-loop-eval.
11667 (find-tag-in-order): Bind case-fold-search depending on the value
11668 of tags-case-fold-search.
11670 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
11672 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
11673 (diff-end-of-hunk): Return the end position for use in
11674 `easy-mmode-define-navigation'.
11675 (diff-recenter): Remove.
11676 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
11677 of `easy-mmode-define-navigation'.
11678 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
11679 previous renaming) and fix to use new names.
11680 (diff-merge-strings): Use \n as separator: simpler, faster.
11681 (diff-mode): Use `define-derived-mode'.
11683 * derived.el (define-derived-mode): Don't autoload anymore.
11684 Prefer the macro-only version provided by easy-mmode.el.
11686 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
11687 `easy-mmode-define-derived-mode'.
11688 Use `combine-run-hooks'.
11689 (easy-mmode-define-navigation): New macro.
11691 * subr.el (combine-run-hooks): New function.
11693 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
11695 * term/x-win.el: Fontsets related initialization is simplified.
11697 * international/mule-diag.el (describe-font): Don't refer to
11698 global-fontset-alist, instead call font-list.
11699 (describe-fontset, list-fontsets, mule-diag): Likewise.
11700 (print-fontset): Adjusted for the change of fontset
11703 * international/fontset.el (x-charset-registries): Variable
11704 removed, instead the corresponding data is stored in the default
11706 (register-alternate-fontnames): Function removed.
11707 (resolved-ascii-font): Variable removed.
11708 (x-compose-font-name): Ignore the second argument REDOCE.
11709 (x-complement-fontset-spec): Complement only an ASCII font and
11710 element for those charsets than can use that ASCII font.
11711 (generate-fontset-menu): Don't refer to global-fontset-alist,
11712 instead call fontset-list.
11713 (uninstantiated-fontset-alist): Variable removed.
11714 (x-style-funcs-alist): Likewise.
11715 (fontset-default-styles): Likewise.
11716 (x-modify-font-name): Function removed.
11717 (create-fontset-from-fontset-spec): Ignore the argument
11719 (create-fontset-from-ascii-font): Docsting adjusted for the above
11721 (instantiate-fontset, resolve-fontset-name): Functions removed.
11722 (fontset-list): Now implemented by C code.
11724 * faces.el (read-face-font): Fix TABLE arg to completing-read.
11725 (describe-face): Include `font' attribute in the description.
11727 2000-03-21 Kenichi Handa <handa@etl.go.jp>
11729 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
11731 2000-03-20 Gerd Moellmann <gerd@gnu.org>
11733 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
11734 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
11735 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
11737 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
11738 about behavior of set-buffer-modified-p wrt redisplay.
11740 2000-03-19 Richard M. Stallman <rms@gnu.org>
11742 * view.el (view-mode-disable): Kill local binding of view-read-only.
11744 2000-03-18 Gerd Moellmann <gerd@gnu.org>
11746 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
11747 is a string, convert it to a syntax cell using string-to-syntax.
11749 * simple.el (syntax-code-table, syntax-flag-table): New variables.
11750 (string-to-syntax): New function.
11752 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
11753 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
11754 try to use passive ftp mode.
11756 2000-03-17 Gerd Moellmann <gerd@gnu.org>
11758 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
11760 * simple.el (append-to-buffer): Update point of windows after
11763 * abbrev.el (inverse-add-abbrev): Identify word by first moving
11764 forward then moving backward. Reindent.
11766 * frame.el (other-frame): Call x-focus-frame only if
11767 focus-follows-mouse is off.
11769 2000-03-17 Dave Love <fx@gnu.org>
11771 * pcvs-util.el (cvs-strings->string): Rename
11772 replace-regexps-in-string.
11774 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
11776 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
11777 regexp for labels cannot span several lines.
11779 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
11780 `(setq :<key> ':<key>)' to the macro expansion.
11782 2000-03-16 Dave Love <fx@gnu.org>
11784 * progmodes/f90.el (f90): Put custom group under `languages', not
11786 (f90-mode-hook): Customize.
11787 (f90-mode): Set add-log-current-defun-function.
11788 (f90-current-defun): New function.
11790 2000-03-16 Gerd Moellmann <gerd@gnu.org>
11792 * cus-edit.el (custom-variable-tag-face): Handle case that
11793 default face's height is not a number.
11794 (custom-face-tag-face, custom-group-tag-face-1)
11795 (custom-group-tag-face): Ditto.
11796 (custom-group-tag-face-1): Add :group.
11798 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
11800 2000-03-15 Gerd Moellmann <gerd@gnu.org>
11802 * pcvs-defs.el (toplevel): Remove autoload cookie for form
11803 requiring easymenu.
11805 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11807 * ps-print.el: PostScript user-defined prologue, PostScript error
11809 (ps-print-version): New version number (5.1).
11810 (ps-user-defined-prologue, ps-error-handler-message)
11811 (ps-print-prologue-0, ps-error-handler-alist): New vars.
11812 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
11813 (ps-insert-string): New function.
11815 2000-03-15 Kenichi Handa <handa@etl.go.jp>
11817 * international/ccl.el (ccl-compile-expression): Don't generate
11818 invalid self-assignment code.
11820 2000-03-14 Dave Love <fx@gnu.org>
11822 * subr.el (replace-regexp-in-string): Renamed from
11823 replace-regexps-in-string. Doc fix.
11825 2000-03-12 Dave Love <fx@gnu.org>
11827 * cus-edit.el: Doc fixes.
11828 (customize-set-variable, customize-save-variable): Rename args for
11830 (custom-variable-tag-face, custom-face-tag-face)
11831 (custom-group-tag-face-1, custom-group-tag-face): Modify from
11832 style which user identify as hyperlink.
11833 (hook): Don't add undefined functions to the hook.
11834 (debug-ignored-errors): Transfer message from bindings.el.
11836 2000-03-12 Gerd Moellmann <gerd@gnu.org>
11838 * recentf.el (recentf-keep-non-readable-files-p): Remove
11839 double/nested definition.
11841 2000-03-12 Dave Love <fx@gnu.org>
11843 * facemenu.el (facemenu-get-face): Use display-color-p.
11844 * enriched.el (enriched-decode-foreground): Likewise.
11845 (enriched-decode-background): Likewise.
11846 * isearch.el (isearch-highlight): Likewise.
11847 * info-look.el (info-lookup): Likewise.
11848 * simple.el (completion-setup-function): Likewise.
11850 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
11853 * bindings.el (mode-line-format): Fix line-number and
11854 column-number items. Add help-echo for the background.
11855 (mode-line-mule-info): Modify help-echo.
11857 * avoid.el (mouse-avoidance-mode): Add autoload cookie to defcustom.
11859 * files.el (load-file): Allow completion to .elc.
11861 * man.el: Doc fixes.
11862 (Man-init-defvars): Use display-color-p to set fontification.
11864 * play/hanoi.el (hanoi-internal): Don't use oddp.
11866 2000-03-12 Gerd Moellmann <gerd@gnu.org>
11868 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
11870 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
11872 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
11874 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
11877 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
11879 * font-lock.el (font-lock-keywords): Fix the doc now that
11880 regexp-opt-depth is unnecessary.
11881 (save-buffer-state): Set an edebug spec.
11882 (font-lock-fontify-anchored-keywords): Properly handle the case when
11883 the matcher goes past the limit.
11885 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
11886 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
11888 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
11889 dll.el and cookie.el (from Elib) with heavy renaming and other
11892 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
11893 Autoload the functions used.
11894 (easy-mmode-define-syntax): Fix CL typo.
11895 (easy-mmode-define-derived-mode): Improve the docstring generation.
11897 2000-03-10 Gerd Moellmann <gerd@gnu.org>
11899 * textmodes/texinfo.el (texinfo-version): Variable and function
11902 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
11904 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
11905 allow more flexibility.
11906 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
11908 (easy-mmode-defmap, easy-mmode-defsyntax)
11909 (easy-mmode-define-derived-mode): New macros.
11911 2000-03-09 Didier Verna <didier@xemacs.org>
11913 * rect.el (replace-rectangle): New function.
11915 2000-03-09 Dave Love <fx@gnu.org>
11917 * progmodes/fortran.el (fortran-comment-line-start): Define as
11919 (fortran-comment-line-start-skip): Don't match cpp stuff.
11920 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
11921 (fortran-mode-map): Remove over-eager custom-menu-create for now.
11922 (fortran-mode): Don't set fortran-comment-line-start-skip,
11923 fortran-comment-line-start here. Set comment-start,
11924 add-log-current-defun.
11925 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
11926 (fortran-current-defun): New function.
11928 2000-03-09 Gerd Moellmann <gerd@gnu.org>
11930 * emacs-lisp/re-builder.el: New file.
11932 * mouse.el (mouse-drag-region): Don't run up-event handler
11933 if hscroll has changed.
11935 * octave-mod.el (octave-font-lock-keywords): To font-lock the
11936 builtin operators, use `font-lock-builtin-face' for Emacs and
11937 `font-lock-preprocessor-face' otherwise.
11939 * font-lock.el (lisp-font-lock-keywords-1): Highlight
11940 `(defun (setf foo)' differently.
11942 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
11944 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
11945 (regexp-opt): Update comment and adapt the code the new meaning of
11946 the `paren' argument of regex-opt-group for shy-groups.
11947 (regexp-opt-depth): Handle shy groups as well as backslashed
11949 (regexp-opt-group): Turn the leading comment into a docstring.
11950 Allow `paren' to be a string (the string to use to open a group).
11951 Remove open-presuf and close-presuf. Instead of checking for `all
11952 one-char' and then later on check for `several one-char', handle
11953 both cases close together. Also apply a more generic algorithm
11954 for suffixes (the mirror image of the algorithm used for
11955 prefixes). Use shy-groups. Use nreverse rather than reverse.
11956 (regexp-opt-try-suffix): Removed.
11958 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
11959 from comint-mode-map, so we can just inherit from it. Also, move
11960 the initialization into the `defvar' since there's no docstring
11961 anyway and it's fairly short.
11962 (inferior-scheme-mode): Define it as derived-mode: the code is
11963 shorter and this way we inherit from comint-mode-map rather than
11966 * subr.el (replace-regexps-in-string): Properly handle the case
11967 where we match an empty string.
11969 * comint.el (comint-exec-1): Add the current-dir to the exec-path
11970 when the command has a directory component (such as "./testml").
11971 Also fix a typo in the comment.
11973 2000-03-08 Gerd Moellmann <gerd@gnu.org>
11975 * Makefile (compile-files): Compile files one by one because
11976 that's the only way to ensure a clean compilation environment for
11977 each individual file.
11979 * frame.el (other-frame): Call x-focus-frame.
11981 2000-03-07 Dave Love <fx@gnu.org>
11983 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
11984 :require to defcustom.
11986 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
11989 * files.el (auto-mode-alist): Add configure.in.
11991 * progmodes/autoconf.el: New file.
11993 2000-03-07 Gerd Moellmann <gerd@gnu.org>
11995 * mail/mh-e.el: Change maintainer to `none'.
11997 * recentf.el (recentf-keep-non-readable-files-p): Quote args
11998 to remove-hook and add-hook.
12000 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
12002 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
12004 (mail-send): Test mail-send-nonascii also for the new `mime' value.
12005 (sendmail-send-it): Conditionally add MIME headers specifying the
12006 used character set.
12008 2000-03-07 Dave Love <fx@gnu.org>
12010 * winner.el: Fix keywords, autoload cookies. Split
12011 eval-when-compile form to avoid compilation failure.
12013 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
12015 * international/mule.el: Modify comment about coding system
12016 property `coding-category'.
12017 (make-coding-system): New argument EOL-TYPE. Pay attention to
12018 coding-category property of PROPERTIES.
12020 * international/mule-conf.el (coding-category-utf-8,
12021 coding-category-utf-16-be, coding-category-utf-16-le): New coding
12022 categories. Include them in the argument for set-coding-priority.
12024 * international/mule-cmds.el (reset-language-environment): Include
12025 coding-category-utf-8, coding-category-utf-16-be, and
12026 coding-category-utf-16-le in the argument for set-coding-priority.
12027 (reset-language-environment): Initialize coding-category-utf-8,
12028 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
12030 2000-03-06 Karl Fogel <kfogel@red-bean.com>
12032 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
12033 code abstracted out of `bookmark-jump-noselect'. Now tries info
12034 extensions as well as compression extensions.
12035 (bookmark-jump-noselect): Use above new func.
12037 2000-03-03 Gerd Moellmann <gerd@gnu.org>
12039 * strokes.el: Change maintainer's mail address.
12041 2000-03-03 Kenichi Handa <handa@etl.go.jp>
12043 * international/mule-diag.el (list-character-sets): Make help-echo
12044 string by substitute-command-keys.
12045 (list-character-sets): Likewise.
12046 (sort-listed-character-sets): Call help-setup-xref.
12048 2000-03-02 Gerd Moellmann <gerd@gnu.org>
12050 * time.el (display-time-mail-file): Add `none' to the list of
12053 2000-03-01 Dave Love <fx@gnu.org>
12055 * help.el (help-xref-go-back): Don't try to set position.
12057 * international/mule-diag.el (list-character-sets): Call
12058 help-setup-xref. Add help-echo to xrefs.
12059 (list-character-sets-1): Add help-echo to xrefs.
12061 2000-03-02 Gerd Moellmann <gerd@gnu.org>
12063 * frame.el (blink-cursor-mode): Switch cursor on when turning
12066 * add-log.el (add-log-current-defun): Add support for
12069 * mail/rmail.el (rmail-quit-hook): New variable.
12071 2000-03-01 Dave Love <fx@gnu.org>
12073 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
12075 * help.el (help-xref-button): Add help-echo arg.
12076 (describe-function-1, describe-variable, help-make-xrefs): Use it.
12078 * faces.el (list-faces-display): Supply help-echo with
12081 * facemenu.el (list-text-properties-at): Set help-xref-stack to
12084 2000-03-01 Gerd Moellmann <gerd@gnu.org>
12086 * image.el (defimage): Look for image files in load-path.
12088 * frame.el (busy-cursor-delay-seconds): Change type to
12091 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
12093 * recentf.el (recentf): Added version tag to the defgroup of
12096 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
12098 * recentf.el (recentf-cleanup): Changed to remove excluded file
12100 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
12101 action to select/unselect a file.
12102 (recentf-edit-list): Code cleanup and improvement.
12103 (recentf-open-more-files-action): `recentf-open-more-files' button
12104 widget action to open a file.
12105 (recentf-open-more-files): No more use standard completion but
12107 (recentf-more-collection): Deleted.
12108 (recentf-more-history): Deleted.
12109 (recentf-setup-more-completion): Deleted.
12111 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
12113 * recentf.el (recentf-mode): No more needs that Emacs is running
12114 under a window-system.
12116 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
12118 * recentf.el (recentf-edit-list): New command to edit the recent
12119 list which allow the user to remove files.
12120 (recentf-edit-selected-items): New global variable, used by
12121 `recentf-edit-list' to hold the list of files to be removed from
12123 (recentf-make-menu-items): Updated to display a "Edit list..."
12124 menu item. Minor code cleanup.
12126 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
12128 * recentf.el (recentf-open-more-files): New command to open files
12129 that are not displayed in the menu.
12130 (recentf-more-collection): New global variable holding the set of
12131 permissible completions used by `recentf-open-more-files'.
12132 (recentf-more-history): New global variable holding the history list
12133 used by `recentf-open-more-files' completion.
12134 (recentf-setup-more-completion): New function to setup completion for
12135 `recentf-open-more-files'.
12136 (recentf-make-menu-items): Updated to display a "More..." menu item.
12138 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
12140 * recentf.el (recentf-menu-action): Doc fixed.
12142 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
12144 * recentf.el (recentf-menu-filter): Doc updated.
12145 (recentf-update-menu-hook): Allow menu filters to force menu update.
12146 (recentf-make-menu-items): New menu filter handling.
12147 (recentf-make-menu-item): New helper function.
12148 (recentf-menu-elements): New menu handling function.
12149 (recentf-sort-ascending): Updated to new menu filter handling.
12150 (recentf-sort-descending): Updated to new menu filter handling.
12151 (recentf-sort-basenames-ascending): New menu filter function.
12152 (recentf-sort-basenames-descending): New menu filter function.
12153 (recentf-show-basenames): New menu filter function.
12154 (recentf-show-basenames-ascending): New menu filter function.
12155 (recentf-show-basenames-descending): New menu filter function.
12157 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
12159 * diary-lib.el (list-diary-entries): Don't try to go forward at
12160 the end of the buffer.
12162 2000-02-29 Kenichi Handa <handa@etl.go.jp>
12164 * international/mule-diag.el (list-character-sets): Completely
12166 (sort-listed-character-sets): New function.
12167 (list-character-sets-1): Completely rewritten.
12168 (list-character-sets-2): New function.
12169 (non-iso-charset-alist): New variable.
12170 (decode-codepage-char): New function.
12171 (charset-history): New variable.
12172 (read-charset) (list-block-of-chars)
12173 (list-iso-charset-chars)
12174 (list-non-iso-charset-chars)
12175 (list-charset-chars): New functions.
12176 (mule-diag): Call list-character-sets-2, not
12177 list-character-sets-2.
12178 (dump-charsets): Likewise.
12180 2000-02-29 Gerd Moellmann <gerd@gnu.org>
12182 * dired-x.el (dired-filename-at-point): Add `@' to valid
12183 file name characters.
12184 (dired-filename-at-point): Handle ange-ftp file names.
12186 * frame.el (frame-notice-user-settings): Use assq-delete-all
12187 instead of assoc-delete-all.
12188 (frame-notice-user-settings): Ditto.
12190 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
12193 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
12195 * calculator.el (calculator-use-menu): New option.
12196 (calculator-initial-bindings): Changed some bindings to work as
12198 (calculator-forced-input): Removed.
12199 (calculator-restart-other-mode): New variable.
12200 (calculator-mode-map): Set up menu.
12202 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
12204 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
12207 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
12209 * viper-cmd.el (viper-envelop-ESC-key): added the option to
12210 translate all ESC key sequences.
12211 (viper-goto-mark-subr): restore markers for files for which
12213 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
12214 * viper-util.el (viper-set-replace-overlay-glyphs,
12215 viper-set-replace-overlay): always check if the replacement
12217 * viper.el (viper-vi-state-mode-list): added major modes.
12218 * ediff-wind.el: minor comment changes.
12219 * ediff.el: copyright notice date fix.
12221 2000-02-27 Jason Rumney <jasonr@gnu.org>
12223 * faces.el (face-font-family-alternatives): Add arial to helv.
12224 (mode-line, header-line, tool-bar): Same default as x for w32.
12225 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
12226 face-font-family-alternatives from working.
12227 * term/w32-win.el (mouse-set-font): Do not build fontset from
12230 2000-02-25 Sam Steingold <sds@goems.com>
12232 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
12235 2000-02-25 Richard M. Stallman <rms@gnu.org>
12237 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
12239 2000-02-25 Gerd Moellmann <gerd@gnu.org>
12241 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
12244 * frame.el (busy-cursor-delay-seconds): New option.
12246 2000-02-24 Gerd Moellmann <gerd@gnu.org>
12248 * frame.el (show-cursor-in-non-selected-windows): New option.
12250 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
12252 * diary-lib.el (include-other-diary-files): Undo the selective
12253 display in any included file and don't kill it.
12255 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
12257 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
12258 bar. Menu items converted to (menu-item format, help strings
12260 [downcase, upcase]: Don't enable on MS-DOS.
12261 [symlink, symlinks]: Don't show if make-symbolic-link is not
12263 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
12265 2000-02-23 Dave Love <fx@gnu.org>
12267 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
12268 (backward-kill-word): Revert addition of * to interactive spec --
12271 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
12272 (backward-kill-sentence, kill-sentence): Likewise.
12274 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
12275 scratch buffer name.
12276 (gud-format-command): Use int-to-string in ?l case. Simplify
12279 * term/w32-win.el (internal-face-interactive): Update prompt for
12280 new read-face-name.
12282 * mail/footnote.el (footnote): Add :version to defgroup.
12283 (footnote-section-tag-regexp): Customize.
12284 (footnote-start-tag, footnote-end-tag): New option.
12285 (footnote-latin-regexp): New variable.
12286 (Footnote-latin): New function.
12287 (footnote-style-alist): Add element for latin style.
12288 (footnote-style): Moved.
12289 (Footnote-goto-footnote): Use eq to test arg.
12291 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
12293 * emacs-lisp/byte-opt.el: Change old backquote syntax.
12294 (byte-compile-trueconstp): Include keywords.
12295 (byte-optimize-quote, byte-optimize-lapcode): Use
12296 byte-compile-const-symbol-p.
12297 (byte-optimize-char-before): New optimization.
12299 * emacs-lisp/bytecomp.el: Change old backquote syntax.
12300 (byte-compile-const-symbol-p): New function.
12301 (byte-compile-constp, byte-compile-out-toplevel)
12302 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
12305 * subr.el (define-key-after): Default AFTER to t. Doc fix.
12307 2000-02-23 Kenichi Handa <handa@etl.go.jp>
12309 * international/encoded-kb.el: Be sure to update minor-mode-alist
12310 and minor-mode-map-alist.
12311 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
12312 codes SS2 and SS3 correctly.
12313 (encoded-kbd-self-insert-ccl): New function.
12314 (encoded-kbd-setup-keymap): New function.
12315 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
12316 by calling encoded-kbd-setup-keymap.
12318 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
12320 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
12323 2000-02-22 Dave Love <fx@gnu.org>
12325 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
12326 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
12328 (lisp-mode-syntax-table): Set up for #|...|# comments.
12329 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
12330 classes. Match `defface'.
12331 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
12332 (eval-defun-1): Fix for defcustom.
12333 (lisp-indent-region): Doc fix.
12335 * subr.el (when, unless, split-string): Doc fix.
12336 (read-passwd): Move call of clear-this-command-keys to the right
12338 (replace-regexps-in-string): New function.
12340 2000-02-22 Gerd Moellmann <gerd@gnu.org>
12342 * help.el (describe-variable): Set syntax table to
12343 emacs-lisp-mode-syntax-table when moving forward over the
12346 2000-02-22 Dave Love <fx@gnu.org>
12348 * xt-mouse.el: Doc fixes.
12349 (xterm-mouse-position-function): New function, replacing advice of
12351 (xterm-mouse-mode): Use it. Don't turn on under a window system.
12353 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
12355 2000-02-21 Gerd Moellmann <gerd@gnu.org>
12357 * format.el (format-annotate-single-property-change): Handle
12358 properties.with dotted-list values.
12359 (format-proper-list-p): New function.
12361 * enriched.el (enriched-face-ans): Handle '(foreground-color
12362 . COLOR) and (background-color . COLOR).
12364 2000-02-20 Dave Love <fx@gnu.org>
12366 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
12367 and assignments to it.
12368 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
12370 (make-flyspell-overlay): Use it.
12371 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
12373 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
12374 (lm-get-header-re): Defun, not defsubst.
12375 (lm-get-package-name): Defun, not defsubst. Simplify.
12376 (lm-version): Doc fix. Simplify.
12377 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
12378 (lm-crack-address, lm-last-modified-date, lm-commentary)
12379 (lm-verify, lm-synopsis): Simplify.
12380 (lm-report-bug): Require emacsbug. Use compose-mail.
12382 2000-02-20 Gerd Moellmann <gerd@gnu.org>
12384 * dired.el (dired-mode): Call propertized-buffer-identification
12385 to set mode-line-buffer-identification to something having
12386 the right text properties.
12388 * bindings.el (propertized-buffer-identification): New function.
12390 2000-02-20 Dave Love <fx@gnu.org>
12392 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
12393 check for t-mouse too.
12395 * cus-start.el: Make echo-keystrokes `number'.
12397 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
12399 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
12400 Don't call ring-empty-p unless tags-location-ring is bound.
12401 From Noah Friedman <friedman@splode.com>.
12403 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
12405 * progmodes/hideshow.el (hs-flag-region): No longer use
12406 `intangible' overlay property.
12408 (hs-toggle-hiding): New command.
12409 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
12411 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
12412 Fix omission bug: Run `hs-minor-mode-hook' for both activation
12415 2000-02-18 Gerd Moellmann <gerd@gnu.org>
12417 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
12419 2000-02-17 Gerd Moellmann <gerd@gnu.org>
12421 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
12423 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
12424 of `*' to handle `(* ... *)' comments.
12426 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
12428 * faces.el (list-faces-display): Use display-mouse-p instead of
12431 * menu-bar.el (global-map): Menu-bar items converted to the new
12432 format (menu-item..., rearranged for better CUA compliance, and
12433 their names changed for better clarity. Help strings added.
12435 * international/mule-cmds.el (mule-menu-keymap)
12436 (describe-language-environment-map, set-coding-system-map)
12437 (setup-language-environment-map): Convert to new (menu-item...
12438 form, add help strings. Change names of menu items for better
12439 clarity. "Mule" menu-bar item removed (it's now in the "Options"
12442 2000-02-17 Gerd Moellmann <gerd@gnu.org>
12444 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
12447 2000-02-16 Dave Love <fx@gnu.org>
12449 * faces.el: Don't require custom. Add more specific :groups to
12451 (set-face-attribute): Purecopy args.
12452 (read-face-name): Default to name at point and use it in prompt.
12453 Remove colon from arg in all callers.
12454 (list-faces-display): Hyperlink to face descriptions and customize
12457 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
12459 * wid-edit.el (widget-match-inline): An atom never matches a
12462 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12464 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
12465 at ':' characters by call to split-string.
12467 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12469 * textmodes/bibtex.el: Added RCS version identification.
12471 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12473 * textmodes/bibtex.el: Some temporary comments removed.
12474 (bibtex-field-name, bibtex-entry-type): Made the relationship
12476 (bibtex-field-const): Allow capital letters.
12477 (bibtex-start-of-string): Deleted because unused.
12479 * textmodes/bibtex.el: Unified some nomenclature. We no longer
12480 use the term 'reference' to describe a bibtex entry as a whole.
12481 Further, reference keys are no longer called 'labels'.
12482 (bibtex-keys): Renamed to bibtex-reference-keys.
12483 (bibtex-reformat-previous-labels): Renamed to
12484 bibtex-reformat-previous-reference-keys.
12485 (bibtex-reference-type): Renamed to bibtex-entry-type.
12486 (bibtex-reference-head): Renamed to bibtex-entry-head.
12487 (bibtex-reference-maybe-empty-head): Renamed to
12488 bibtex-entry-maybe-empty-head.
12489 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
12490 (bibtex-search-reference): Renamed to bibtex-search-entry.
12491 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
12492 bibtex-enclosing-entry-maybe-empty-head.
12493 (bibtex-entry-field-alist, bibtex-entry-head,
12494 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
12495 bibtex-map-entries, bibtex-search-entry,
12496 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
12497 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
12498 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
12499 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
12500 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
12501 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
12502 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
12504 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12506 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
12508 (bibtex-format-field-delimiters): New function, functionality
12509 extracted from bibtex-format-entry.
12510 (bibtex-autokey-get-yearfield-digits): New function, functionality
12511 extracted from bibtex-autokey-get-yearfield.
12513 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
12514 entries in order to avoid stack overflow in the regexp matcher if
12515 field contents become large.
12516 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
12517 bibtex-field-string-part-not-braced,
12518 bibtex-field-string-part-no-inner-braces,
12519 bibtex-field-string-part-1-inner-brace,
12520 bibtex-field-string-part-2-inner-braces,
12521 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
12522 bibtex-field-string-quoted, bibtex-field-string,
12523 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
12524 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
12525 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
12526 as parsing is now performed by the following functions.
12527 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
12528 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
12529 bibtex-parse-field-string, bibtex-search-forward-field-string,
12530 bibtex-parse-association, bibtex-field-name-for-parsing,
12531 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
12532 bibtex-search-forward-field, bibtex-search-backward-field,
12533 bibtex-start-of-field, bibtex-end-of-field,
12534 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
12535 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
12536 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
12537 bibtex-parse-string, bibtex-search-forward-string,
12538 bibtex-search-backward-string, bibtex-start-of-string,
12539 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
12540 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
12541 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
12542 entries. Instead of reporting the results of the parsing by
12543 match-beginning or match-end, these functions return data structures
12544 that hold the corresponding positions.
12545 (bibtex-enclosing-field): Changed to also report field boundaries by
12546 return values rather than by match-beginning or match-end. The
12547 following functions have been adapted to use the new parsing
12549 (bibtex-skip-to-valid-entry, bibtex-search-reference,
12550 bibtex-enclosing-field, bibtex-format-entry,
12551 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
12552 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
12553 bibtex-print-help-message, bibtex-end-of-entry,
12554 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
12555 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
12556 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
12557 method for parsing.
12558 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
12559 bibtex-map-entries, bibtex-flash-head,
12560 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
12561 bibtex-autokey-change, bibtex-autokey-get-namefield,
12562 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
12563 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
12564 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
12565 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
12566 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
12567 order to make the new binding of case-fold-search immediately
12570 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12572 * textmodes/bibtex.el: Copyright notice is up to date.
12573 Added constant 'bibtex-maintainer-salutation.
12575 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
12576 than make-temp-name, use match-string-no-properties and eliminate
12577 a quadratic behavior when building bibtex-strings.
12579 * bibtex.el (bibtex-reference-key): Accept string entries whose
12580 reference key contains upper case letters.
12582 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12584 * bibtex.el (bibtex-reference-head): Allow entries to start with
12587 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12589 * bibtex.el: Hiding of entry bodies is not longer provided by
12590 bibtex.el directly. Instead the hideshow package can be used.
12591 Added a special bibtex entry to hs-special-modes-alist.
12592 (bibtex-hs-forward-sexp): Added for hideshow.el.
12594 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12596 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
12597 at ':' characters by call to split-string.
12599 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12601 * textmodes/bibtex.el: Added RCS version identification.
12603 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12605 * textmodes/bibtex.el: Some temporary comments removed.
12606 (bibtex-field-name, bibtex-entry-type): Made the relationship
12608 (bibtex-field-const): Allow capital letters.
12609 (bibtex-start-of-string): Deleted because unused.
12611 * textmodes/bibtex.el: Unified some nomenclature. We no longer
12612 use the term 'reference' to describe a bibtex entry as a whole.
12613 Further, reference keys are no longer called 'labels'.
12614 (bibtex-keys): Renamed to bibtex-reference-keys.
12615 (bibtex-reformat-previous-labels): Renamed to
12616 bibtex-reformat-previous-reference-keys.
12617 (bibtex-reference-type): Renamed to bibtex-entry-type.
12618 (bibtex-reference-head): Renamed to bibtex-entry-head.
12619 (bibtex-reference-maybe-empty-head): Renamed to
12620 bibtex-entry-maybe-empty-head.
12621 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
12622 (bibtex-search-reference): Renamed to bibtex-search-entry.
12623 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
12624 bibtex-enclosing-entry-maybe-empty-head.
12625 (bibtex-entry-field-alist, bibtex-entry-head,
12626 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
12627 bibtex-map-entries, bibtex-search-entry,
12628 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
12629 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
12630 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
12631 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
12632 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
12633 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
12634 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
12636 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12638 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
12640 (bibtex-format-field-delimiters): New function, functionality
12641 extracted from bibtex-format-entry.
12642 (bibtex-autokey-get-yearfield-digits): New function, functionality
12643 extracted from bibtex-autokey-get-yearfield.
12645 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
12646 entries in order to avoid stack overflow in the regexp matcher if
12647 field contents become large.
12648 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
12649 bibtex-field-string-part-not-braced,
12650 bibtex-field-string-part-no-inner-braces,
12651 bibtex-field-string-part-1-inner-brace,
12652 bibtex-field-string-part-2-inner-braces,
12653 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
12654 bibtex-field-string-quoted, bibtex-field-string,
12655 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
12656 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
12657 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
12658 as parsing is now performed by the following functions.
12659 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
12660 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
12661 bibtex-parse-field-string, bibtex-search-forward-field-string,
12662 bibtex-parse-association, bibtex-field-name-for-parsing,
12663 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
12664 bibtex-search-forward-field, bibtex-search-backward-field,
12665 bibtex-start-of-field, bibtex-end-of-field,
12666 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
12667 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
12668 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
12669 bibtex-parse-string, bibtex-search-forward-string,
12670 bibtex-search-backward-string, bibtex-start-of-string,
12671 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
12672 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
12673 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
12674 entries. Instead of reporting the results of the parsing by
12675 match-beginning or match-end, these functions return data structures
12676 that hold the corresponding positions.
12677 (bibtex-enclosing-field): Changed to also report field boundaries by
12678 return values rather than by match-beginning or match-end. The
12679 following functions have been adapted to use the new parsing
12681 (bibtex-skip-to-valid-entry, bibtex-search-reference,
12682 bibtex-enclosing-field, bibtex-format-entry,
12683 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
12684 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
12685 bibtex-print-help-message, bibtex-end-of-entry,
12686 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
12687 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
12688 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
12689 method for parsing.
12690 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
12691 bibtex-map-entries, bibtex-flash-head,
12692 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
12693 bibtex-autokey-change, bibtex-autokey-get-namefield,
12694 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
12695 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
12696 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
12697 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
12698 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
12699 order to make the new binding of case-fold-search immediately
12702 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12704 * textmodes/bibtex.el: Copyright notice is up to date.
12705 Added constant 'bibtex-maintainer-salutation.
12707 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
12708 than make-temp-name, use match-string-no-properties and eliminate
12709 a quadratic behavior when building bibtex-strings.
12711 * bibtex.el (bibtex-reference-key): Accept string entries whose
12712 reference key contains upper case letters.
12714 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12716 * bibtex.el (bibtex-reference-head): Allow entries to start with
12719 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12721 * bibtex.el: Hiding of entry bodies is not longer provided by
12722 bibtex.el directly. Instead the hideshow package can be used.
12723 Added a special bibtex entry to hs-special-modes-alist.
12724 (bibtex-hs-forward-sexp): Added for hideshow.el.
12726 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
12728 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
12729 proceedings entry type (for cross referencing). Thanks to Wagner
12730 Toledo Correa for the suggestion.
12732 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
12734 2000-02-14 Kenichi Handa <handa@etl.go.jp>
12736 * international/characters.el: Setup case table for Vietnamese.
12738 2000-02-12 Gerd Moellmann <gerd@gnu.org>
12740 * uniquify.el (toplevel): Require CL at compile time.
12741 (uniquify-push): Removed.
12743 * shadowfile.el (shadow-when): Removed.
12745 * tempo.el (tempo-dolist, tempo-mapc): Removed.
12746 (tempo-process-and-insert-string): Use dolist instead of
12749 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
12750 regexp for paragraph-start.
12752 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
12755 2000-02-10 Dave Love <fx@gnu.org>
12757 * wid-edit.el: (widgets) [defgroup]: Remove url link.
12758 (widget-color-choice-list, widget-color-history, widget-mouse-help):
12760 (widget-specify-field, widget-specify-button): Don't use
12761 widget-mouse-help as help-echo property.
12762 (default): Use #'ignore for :validate and :mouse-down-action.
12763 (checkbox): Add help-echo.
12764 (widget-sexp-validate): Rewritten to clarify error messages.
12765 (character): Use char-valid-p in :match function.
12766 (widget-color-complete): Use facemenu-color-alist.
12767 (widget-color-action): Use facemenu-read-color.
12769 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
12770 set up `caar' &c that we now have.
12772 2000-02-09 Ray Blaak <blaak@gnu.org>
12774 * delphi.el: Make resourcestring a declaration region, like const
12777 2000-02-09 Dave Love <fx@gnu.org>
12779 * bindings.el (mode-line-input-method-map): New variable.
12780 (mode-line-mule-info): Use it; fix last change.
12781 (mode-line-mode-menu): Move definition.
12782 (mode-line-mouse-sensitive-p): Deleted.
12783 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
12784 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
12787 * startup.el (command-line-1): Don't call
12788 make-mode-line-mouse-sensitive.
12790 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
12792 * mail/rmail.el (rmail-retry-failure): Use
12793 rmail-beginning-of-message before rmail-toggle-header, because the
12794 former toggles headers.
12796 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
12798 * diff-mode.el (diff-kill-junk): New interactive function.
12799 (diff-reverse-direction): Use delete-and-extract-region.
12800 (diff-post-command-hook): Restrict the area so that the hook also works
12801 outside of any diff hunk. This is necessary for the minor-mode.
12802 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
12803 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
12805 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
12806 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
12807 so that it can be used more easily in <foo>-mode-hook. Also make sure
12808 to avoid duplicate entries.
12809 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
12810 (font-lock-remove-keywords): Just as was done for `add', allow it to
12811 work even if font-lock-mode is nil. Also make sure we don't modify
12812 any pre-existing list by forcing a copy-sequence. Finally rename
12813 `major-mode' to `mode'.
12814 (font-lock-fontify-syntactic-anchored-keywords)
12815 (font-lock-fontify-anchored-keywords)
12816 (font-lock-fontify-keywords-region): Use line-end-position.
12817 Don't make `font-lock-multiline' local (it's now done in
12818 font-lock-set-defaults).
12819 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
12820 move the `font-lock-fontified' creation to inside the `unless'.
12822 2000-02-06 Andrew Innes <andrewi@gnu.org>
12824 * term/w32-win.el (x-handle-args): Comment out call to message,
12825 which occurs before window system is initialized.
12827 * makefile.nt: Add support for recompiling lisp code.
12829 2000-02-04 Dave Love <fx@gnu.org>
12831 * bindings.el (mode-line-mule-info): Fix/extend last change.
12833 * completion.el: Replace completion-dolist with dolist.
12835 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
12838 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
12840 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
12841 environment names before they go into the section regexp.
12843 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
12844 char class in regexp.
12846 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
12847 `case-fold-search' to nil.
12849 * progmodes/idlwave.el (idlwave-template): Respect
12850 `idlwave-abbrev-change-case'.
12851 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
12852 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
12853 idlwave-while): respect `idlwave-reserved-word-upcase'.
12854 (idlwave-rw-case): New function.
12855 (idlwave-statement-match): Fixed problem with assignment regexp.
12856 (idlwave-font-lock-keywords): Improved regexp for keyword
12858 (idlwave-surround): New argument LENGTH to support padding of
12859 operators longer than 1 char.
12861 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
12862 idlwave-shell-expression-overlay. Implemented printing of
12863 expressions on higher levels of the calling stack.
12864 (idlwave-shell-display-level-in-calling-stack): Restore stack
12866 (idlwave-retrieve-expression-from-level): New function.
12867 (idlwave-shell-last-calling-stack): Variable removed.
12868 (idlwave-shell-reset): Argument action reversed (`visible' to
12869 `hidden'). Also remove stop-line overlay.
12870 (idlwave-shell-calling-stack-routine): New variable.
12871 (idlwave-shell-parse-stack-and-display): Messages now display
12872 negative level numbers.
12873 (idlwave-shell-mode): Set `modeline-format'.
12874 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
12875 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
12877 (idlwave-shell-print-expression-function): New option.
12879 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
12880 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
12881 `tool-bar' instead of `toolbar'.
12883 2000-02-02 Dave Love <fx@gnu.org>
12885 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
12886 emacs-lisp-mode-hook. Don't check for defalias being defined.
12888 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
12889 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
12890 the new builtins directly.
12892 * whitespace.el (whitespace): Add :version to defgroup.
12894 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
12897 * thingatpt.el (sexp-at-point, symbol-at-point)
12898 (number-at-point, list-at-point): Add autoload cookie.
12900 * recentf.el (recentf): Add :version to defgroup.
12902 * quickurl.el (quickurl): Add :version to defgroup.
12904 * elide-head.el (elide-head): Use point-marker more.
12906 * bs.el (bs): Add :version to defgroup.
12908 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
12910 * progmodes/delphi.el (delphi): Add :version to defgroup.
12912 2000-02-02 Gerd Moellmann <gerd@gnu.org>
12914 * ange-ftp.el (ange-ftp-write-region): Handle case that
12915 succeeding process operation sets a different coding system.
12917 * calculator.el: New file.
12919 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
12921 * frame.el (frames-on-display-list, framep-on-display): New
12923 (display-mouse-p, display-popup-menus-p, display-graphic-p)
12924 (display-selections-p, display-screens, display-pixel-width)
12925 (display-pixel-height, display-mm-width, display-mm-height)
12926 (display-backing-store, display-save-under, display-planes)
12927 (display-color-cells, display-visual-class): New functions.
12929 * term/tty-colors.el (tty-color-gray-shades): New function.
12931 * faces.el (display-color-p): Use framep-on-display.
12932 (display-grayscale-p): New function.
12934 2000-01-31 Dave Love <fx@gnu.org>
12936 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
12937 (create-fontset-from-x-resource): Don't concat integers.
12939 2000-01-31 Inge Frick <inge@nada.kth.se>
12941 * view.el: Some changes in documentation. Removed some trailing
12942 whitespace. Changed some parameter names to agree with
12944 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
12945 window is not deleted. Modifies change 1998-04-26.
12947 2000-01-31 Gerd Moellmann <gerd@gnu.org>
12949 * windmove.el: New file.
12951 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
12952 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
12953 progmodes/ebnf-yac.el: Update copyright and license info.
12955 * jit-lock.el (jit-lock-function): Widen before calculating end
12957 (jit-lock-stealth-chunk-start): Rewritten.
12959 * info.el (Info-title-face-alist): Removed.
12960 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
12962 (Info-fontify-node): Use these faces.
12964 2000-01-30 Gerd Moellmann <gerd@gnu.org>
12966 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
12967 (cl-macro-list1): Recognize `&allow-other-keys' instead of
12968 `&allow-other-keywords'.
12970 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
12971 the list of directories scanned heuristically.
12973 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
12976 2000-01-30 Jason Rumney <jasonr@gnu.org>
12978 * w32-fns.el: Define w32-tty-standard-colors.
12980 * startup.el (command-line): Use w32-tty-standard-colors when in
12983 2000-01-30 Dave Love <fx@gnu.org>
12985 * jka-compr.el (jka-compr-load): Fix up load-history.
12987 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
12989 * emacs-lisp/cl-macs.el: Revert previous change.
12991 2000-01-29 Dave Love <fx@gnu.org>
12993 * facemenu.el: Purecopy various strings.
12995 * timezone.el (timezone-fix-time): Window against 69 for two-digit
12996 years. Deal with three-digit years.
12998 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
12999 defconst, purecopy.
13000 (help-back-label): Purecopy it.
13002 2000-01-18 Gerd Moellmann <gerd@gnu.org>
13004 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
13005 variable. If non-nil, order the buffer list according to the
13006 currently selected frame.
13007 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
13008 non-nil, pass the selected frame to function buffer-list.
13010 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
13012 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
13014 2000-01-28 Dave Love <fx@gnu.org>
13016 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
13018 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
13019 Don't use lisp-indent-hook property.
13022 * subr.el: Move out indent and edebug specs for when and unless.
13024 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
13027 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
13030 2000-01-28 Gerd Moellmann <gerd@gnu.org>
13032 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
13033 `collecting' as synonym for `collect'.
13035 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
13036 for the case it contains spaces.
13038 * simple.el (what-cursor-position): Change formatting of
13041 * frame.el (delete-other-frames): New function.
13042 (toplevel): Bind it to C-x 5 1.
13044 * sort.el (sort-numeric-base): New option.
13045 (sort-numeric-fields): If number starts with `0' or `0[xX[',
13046 interpret it as octal or hexadecimal. Use sort-numeric-base
13049 * progmodes/glasses.el: New file.
13051 2000-01-27 Gerd Moellmann <gerd@gnu.org>
13053 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
13054 userids differently.
13056 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
13057 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
13058 progmodes/ebnf-yac.el: New files.
13060 2000-01-26 Dave Love <fx@gnu.org>
13062 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
13063 on a function with an empty body. [From Eric Ludlam.]
13065 2000-01-25 Andre Spiegel <spiegel@gnu.org>
13067 * vc.el (vc-version-diff): Make sure file name is expanded.
13069 2000-01-25 Gerd Moellmann <gerd@gnu.org>
13071 * scroll-bar.el (scroll-bar-timer): Variable removed.
13072 (scroll-bar-toolkit-scroll): Don't use a timer.
13074 2000-01-25 Kenichi Handa <handa@etl.go.jp>
13076 * language/thai-util.el (thai-composition-function): Delete
13079 2000-01-24 Dave Love <fx@gnu.org>
13081 * fortran.el (fortran-mode): Use beginning-of-defun-function,
13082 end-of-defun-function.
13084 * font-lock.el (turn-on-font-lock): Don't depend on window-system
13087 2000-01-22 Jason Rumney <jasonr@gnu.org>
13089 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
13090 conflicts with new face support.
13092 2000-01-22 Richard M. Stallman <rms@gnu.org>
13094 * replace.el (query-replace): Rename last arg to DELIMITED.
13095 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
13096 (query-replace-regexp): Likewise.
13098 2000-01-20 Richard M. Stallman <rms@gnu.org>
13100 * subr.el (with-syntax-table): Use make-symbol, not gensym.
13102 * emacs-lisp/lisp.el (beginning-of-defun-function):
13103 Variable renamed from beginning-of-defun.
13104 Do not call make-variable-buffer-local.
13105 (beginning-of-defun-raw): Use new variable name; doc fix.
13106 (beginning-of-defun): Doc fix.
13107 (end-of-defun-function): Variable renamed from end-of-defun.
13108 Do not call make-variable-buffer-local.
13109 (end-of-defun): Use new variable name; doc fix.
13111 * subr.el (dolist, dotimes): Copied from cl-macs.el
13114 * mail/undigest.el (rmail-digest-end-regexps):
13115 Variable replaces rmail-digest-end-regexp.
13116 Allows multiple regexps for detecting the end line.
13117 (undigestify-rmail-message): Corresponding changes.
13119 2000-01-19 Dave Love <fx@gnu.org>
13121 * files.el (user-init-file): Don't declare here -- is primitive.
13123 * startup.el (command-line): Check for compiled user-init-file and
13124 set to uncompiled version if necessary.
13126 2000-01-18 Gerd Moellmann <gerd@gnu.org>
13128 * mail/undigest.el (rmail-digest-end-regexp): New user option.
13129 (undigestify-rmail-message): Use it.
13131 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
13133 2000-01-17 Gerd Moellmann <gerd@gnu.org>
13135 * tmm.el (tmm-goto-completions): Adapt to prompt being part
13138 2000-01-14 Gerd Moellmann <gerd@gnu.org>
13140 * emacs-lisp/copyright.el (copyright-update): Removed the
13141 requirement for a trailing space from `copyright-regexp', to
13142 support copyrights with owner specified on a separate line..
13144 * align.el: New file.
13146 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
13148 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
13150 2000-01-13 Dave Love <fx@gnu.org>
13152 * ph.el: Removed. (Obsoleted by EUDC.)
13154 2000-01-13 Gerd Moellmann <gerd@gnu.org>
13156 * net/eudc.el (toplevel): Remove autoloaded code installing
13157 menu with easymenu, because that causes build problems.
13159 * frame.el (frame-notice-user-settings): New variable.
13160 (frame-notice-user-settings): Don't modify frame parameters
13161 if called a second time.
13163 2000-01-13 Richard M. Stallman <rms@gnu.org>
13165 * frame.el (frame-notice-user-settings):
13166 Notice default-frame-parameters even for non-window frames.
13168 2000-01-13 Gerd Moellmann <gerd@gnu.org>
13170 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
13172 (eudc-bob-can-display-inline-images): Extend for Emacs.
13173 (eudc-bob-toggle-inline-display): Ditto.
13174 (eudc-bob-display-jpeg): Ditto.
13176 2000-01-12 Gerd Moellmann <gerd@gnu.org>
13178 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
13179 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
13180 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
13182 * add-log.el (add-change-log-entry): Fix error trying an `(insert
13185 * subdirs.el: Add `net' directory.
13187 * net: New directory.
13189 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
13190 eval-last-sexp. Don't bind debug-on-error here.
13191 (eval-last-sexp): New function. Bind debug-on-error if
13192 eval-expression-debug-on-error is non-nil.
13193 (eval-defun-2, eval-defun): Likewise.
13195 * simple.el (eval-expression): Don't bind debug-on-error if
13196 eval-expression-debug-on-error is nil. Detect changed
13197 debug-on-error, and propagate new value to global binding, if
13198 eval-expression-debug-on-error is non-nil,
13199 (eval-expression-debug-on-error): Change doc string.
13201 2000-01-11 Richard M. Stallman <rms@gnu.org>
13203 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
13205 * emacs-lisp/lisp-mode.el (with-syntax-table):
13206 Set up lisp-indent-function property.
13208 * subr.el (with-syntax-table): Moved from simple.el.
13210 * simple.el (with-syntax-table): Moved to subr.el.
13212 2000-01-11 Gerd Moellmann <gerd@gnu.org>
13214 * tmm.el (tmm-shortcut): Delete region after prompt instead
13217 * textmodes/fill.el (fill-common-string-prefix): New function.
13218 (fill-context-prefix): Use the longest common prefix of first
13219 and second line fill prefix, if there is one.
13221 2000-01-11 Richard M. Stallman <rms@gnu.org>
13223 * array.el (array-mode): Don't use make-variable-buffer-local.
13224 Use make-local-variable for `truncate-lines'.
13226 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
13228 * add-log.el (add-log-current-defun): Handle user-defined
13229 add-log-current-function returning nil,
13231 * add-log.el (add-change-log-entry): Insert version number
13232 if having found a current function
13234 * add-log.el (add-log-current-defun): Call
13235 `add-log-current-defun-function'. Try matches at level 0 and
13236 level 1. Strip whitespace from defun found.
13238 2000-01-10 John Wiegley <johnw@gnu.org>
13240 * allout.el (isearch-done/outline-provisions): Added `edit'
13241 argument to correspond with the current definition of
13244 2000-01-10 Dave Love <fx@gnu.org>
13246 * elide-head.el (elide-head): Use point-marker, not point.
13248 2000-01-10 Gerd Moellmann <gerd@gnu.org>
13250 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
13251 before and after the year 2000.
13253 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
13254 Add ispell- prefix.
13256 2000-01-10 Ken Stevens <k.stevens@ieee.org>
13258 * ispell.el: Only define dictionaries in menus when they exist.
13259 (version18p): New variable.
13260 (version20p): New variable.
13261 (xemacsp): New variable.
13262 (ispell-choices-win-default-height): Fix for XEmacs visibility.
13263 (ispell-dictionary-alist1): Added Brasileiro dictionary.
13264 (ispell-dictionary-alist6): Russian command lines no longer accept
13265 run-together words.
13266 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
13267 (ispell-dictionary-alist): Add koi8-r to customize definition.
13268 (check-ispell-version): Added documentation string. Returns
13269 library path when called non-interactively.
13270 (ispell-menu-map-needed): Uses new variables.
13271 (ispell-library-path): New variable.
13272 (ispell-decode-string): XEmacs fix for bogus variable bindings.
13273 (ispell-word): Improved documentation string. Test for valid
13274 character mappings. Correctly check typed in word changes that can
13275 result in single words split into multiple words. Returns
13277 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
13278 replace in recursive query replace mode. Help message for
13279 recursive edit mode.
13280 (ispell-show-choices): Protect against bad framepop bindings.
13281 (ispell-help): Fix to work with XEmacs.
13282 (ispell-highlight-spelling-error): Use new variables.
13283 (ispell-overlay-window): Fix to work with XEmacs.
13284 (ispell-parse-output): Passed and returns location information
13285 tracking spelling corrections. Doesn't recheck same word on
13287 (ispell-init-process): Protect against bogus XEmacs variable binding.
13288 Fix call to single argument in sleep-for. Use new variables.
13289 (ispell-region): Passed and returns location information tracking
13290 spelling corrections. Doesn't check same word on current line.
13291 Improved documentation string. Doesn't resend a line already
13292 checked to the ispell process - fixes bug in LaTeX parsing.
13293 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
13294 (ispell-skip-region): No longer skips <TT> in SGML.
13295 (ispell-process-line): Tracks location information with spelling
13296 corrections. Added documentation string. Accounts for words
13297 already accepted on this line. Don't allow query-replace on line
13298 starting with math characters. Doesn't resend a line already sent
13299 to ispell process. Fixes alignment error bug.
13301 2000-01-10 Richard M. Stallman <rms@gnu.org>
13303 * dired-x.el (dired-guess-shell-alist-default):
13304 Suggest xloadimage, which is free, not xv, which isn't.
13306 * ange-ftp.el (ange-ftp-file-name-nondirectory):
13307 Don't ever include the host name or user name in the value.
13309 2000-01-09 Gerd Moellmann <gerd@gnu.org>
13311 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
13314 2000-01-09 Stephen Eglen <stephen@gnu.org>
13316 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
13319 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
13321 * cus-edit.el (custom-hook-convert-widget): Fix comment.
13323 2000-01-09 Gerd Moellmann <gerd@gnu.org>
13325 * progmodes/cperl-mode.el: Replace ^F with ^L.
13327 * sendmail.el (toplevel): Provide `sendmail' when compiling
13328 before `require'ing rmail and mailalias to prevent infinite
13331 2000-01-08 Dave Love <fx@gnu.org>
13333 * emacs-lisp/backquote.el: Remove inappropriate customization
13334 (allowing custom.el to use backquote).
13336 2000-01-07 Dave Love <fx@gnu.org>
13338 * add-log.el (add-log-debugging): Deleted.
13339 (add-change-log-entry): Treat a backup FILE-NAME as its parent
13340 file. Remove debugging code.
13341 (change-log-get-method-definition, change-log-name): Add doc.
13342 (change-log-sortable-date-at): New function.
13343 (change-log-merge): New command.
13345 * time.el (display-time-string-forms): Make the Mail string active.
13346 (display-time-update): Provide help-echo for load average.
13348 * bindings.el (make-mode-line-mouse2-map): New function.
13349 (mode-line-modified): Use it and simplify.
13350 (mode-line-mule-info): Provide help-echo info.
13351 (minor-mode-alist): Activate the strings.
13352 (make-mode-line-mouse-sensitive): Simplify for
13353 mode-line-buffer-identification.
13355 2000-01-07 Gerd Moellmann <gerd@gnu.org>
13357 * play/pong.el: New file.
13359 2000-01-06 Dave Love <fx@gnu.org>
13361 * array.el: Assorted cleanups for compiler warnings, doc strings,
13362 `array-' prefix for symbols.
13364 2000-01-05 Dave Love <fx@gnu.org>
13366 * textmodes/outline.el (outline-mode-menu-bar-map): Add
13367 outline-headers-as-kill.
13368 (outline-mode): Define imenu-generic-expression.
13369 (outline-headers-as-kill): New command.
13371 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
13372 from paragraph-start.
13373 (paragraph-indent-minor-mode): New command.
13375 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
13376 M-C-e, M-C-h, C-j, C-xnd, TAB.
13377 (fortran-mode): Set beginning-of-defun, end-of-defun.
13378 (fortran-column-ruler): Simplify.
13379 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
13380 (fortran-with-subprogram-narrowing): Likewise.
13381 (fortran-indent-subprogram): Call mark-defun.
13382 (fortran-check-for-matching-do): Change narrowing.
13384 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
13385 (cl-lucid-hash-tag): Delete.
13386 (cl-hash-table-p): Correct test for native table.
13387 (cl-hash-table-count): Use hash-table-count.
13389 * browse-url.el (browse-url): Fix case of
13390 browse-url-browser-function being an alist.
13392 2000-01-05 Carsten Dominik <cd@gnu.org>
13394 * textmodes/reftex-vars.el (reftex-parse-file-extension)
13395 (reftex-index-phrase-file-extension): New options.
13397 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
13398 Use new option `reftex-index-phrase-file-extension'.
13400 * textmodes/reftex.el (reftex-access-parse-file): Use new option
13401 `reftex-parse-file-extension'.
13403 2000-01-05 Dave Love <fx@gnu.org>
13405 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
13406 (beginning-of-defun-raw): Use it.
13407 (end-of-defun): New variable.
13408 (end-of-defun): Use it.
13409 (check-parens): New command.
13411 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
13413 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
13414 (hs-show-block): Don't use `mapcar' when not accumulating.
13416 Fix buglet in local variables initialization.
13418 2000-01-05 Andreas Schwab <schwab@suse.de>
13420 * hscroll.el (hscroll): Doc fix.
13422 2000-01-05 Carsten Dominik <cd@gnu.org>
13424 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
13427 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
13428 file idlw-rinfo.el.
13429 (idlwave-customize): load must read file idlw-shell.el.
13430 (idlwave-create-customize-menu): load must read file idlw-shell.el.
13432 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
13434 * progmodes/idlw-shell.el: Also provide idlwave-shell
13435 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
13436 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
13438 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
13439 both reftex-dcr and reftex-vcr.
13441 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
13443 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
13445 * ps-print.el: PostScript code now is in separate files, doc fix.
13446 (ps-print-version): New version number (5.0.3).
13447 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
13449 (ps-spool-config): Initialization fix.
13450 (ps-print-prologue-1, ps-print-prologue-2)
13451 (ps-print-duplex-feature): PostScript code moved to separated file.
13452 (ps-background-image): Little code reformating.
13453 (ps-begin-file, ps-begin-job): Fix code.
13454 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
13455 (ps-prologue-file): New fun.
13457 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
13459 * ps-vars.el: Eliminated.
13461 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
13464 * ps-print.el: ps-vars eliminated, doc fix.
13465 (ps-print-version): New version number (5.0.2).
13466 (ps-spool-config): Initialization fix.
13467 (ps-print-customize): New fun.
13469 2000-01-04 Gerd Moellmann <gerd@gnu.org>
13471 * autorevert.el (auto-revert-mode): Return value of
13474 2000-01-04 Dave Love <fx@gnu.org>
13476 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
13479 2000-01-03 Dave Love <fx@gnu.org>
13481 * elide-head.el (elide-head) [defgroup]: Add :version.
13483 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
13484 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
13485 `cl-hash-table-p', not `hash-table-p'.
13486 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
13488 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
13490 * faces.el (face-read-integer, read-face-attribute)
13491 (color-defined-p, color-values): unspecified-{f,b}g are now
13494 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
13496 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
13497 at comment end, and re-insert them after filling.
13499 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
13501 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
13502 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
13503 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
13505 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
13507 * term/x-win.el (xw-defined-colors): Call color-supported-p,
13508 the new name of face-color-supported-p.
13510 * term/w32-win.el (xw-defined-colors): Likewise.
13512 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
13514 * simple.el (completion-setup-function): Count completion-size
13515 from minibuffer-prompt-end, not from point-min.
13517 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
13519 * faces.el (read-face-attribute, defined-colors, color-defined-p):
13520 Pass the frame to tty-color-* functions.
13521 (display-color-p, frame-set-background-mode): Pass the frame to
13522 tty-display-color-p.
13524 * term/tty-colors.el (tty-defined-color-alist): Renamed from
13526 (tty-color-alist, tty-modify-color-alist): New functions.
13527 (tty-color-define, tty-color-clear, tty-color-approximate)
13528 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
13529 an optional parameter FRAME.
13531 2000-01-01 Gerd Moellmann <gerd@gnu.org>
13533 * image.el (create-image, defimage): Don't assume image data is a
13536 * image.el (defimage): Handle specifications containing :data
13538 (image-type-from-data): New function.
13539 (image-type-from-file-header): Use it.
13540 (create-image): Add parameter DATA-P.
13542 See ChangeLog.8 for earlier changes.
13544 ;; Local Variables:
13545 ;; coding: iso-2022-7bit