Lines Matching +refs:cvs +refs:mode +refs:mark +refs:matching +refs:files

7 	* files.el (auto-mode-alist): Associate .indent.pro with
8 Fundamental mode. Suggested by Samuel Padgett <spadgett1@nc.rr.com>.
12 Put the *Compile-Log* buffer in `compilation-mode'.
25 * isearch.el (isearch-mode-map): Bind `mouse-movement' to nil.
95 Makefile.in instructs make-docfile to look at .el files.
111 * textmodes/refill.el (refill-mode):
115 * textmodes/bib-mode.el (bib-mode):
116 * play/gomoku.el (gomoku-mode):
117 * textmodes/page-ext.el (pages-directory-mode):
118 * textmodes/scribe.el (scribe-mode): Use define-derived-mode.
120 * textmodes/two-column.el (2C-mode): Don't use make-local-hook.
130 (sh-mode): Don't copy sh-font-lock-syntactic-keywords any more.
186 * progmodes/cperl-mode.el: Merged in changes from v4.32.
211 (cperl-tips): Mention how to make CPerl the default mode.
212 (cperl-mode): Support `outline-minor-mode'. From Mark A. Hershberger.
245 Be less verbose in non-interactive mode.
249 (cperl-mode): Made use `cperl-outline-regexp'.
266 * progmodes/awk-mode.el (awk-mode-syntax-table): / has string syntax.
268 (awk-mode): Use it.
283 * net/ange-ftp.el (ange-ftp-copy-files-async): New function for
304 * help-mode.el (help-customize-face): New button-type.
310 Require `help-mode'.
316 * help-mode.el (help-buffer): New function.
319 (help-mode-map): Put back the mouse-2 binding.
339 (describe-mode): Don't autoload. Call help-setup-xref earlier.
343 * master.el (master-mode): Use define-minor-mode instead of
344 easy-mmode-define-minor-mode. Add autoload cookie.
345 (Commentary): Remove the line showing how to autoload master-mode,
399 (tcl-mode-map): Remove bindings for tcl-beginning-of-defun,
400 tcl-end-of-defun, tcl-mark-defun, tcl-indent-for-comment,
402 (tcl-mode-syntax-table): Leave \f alone.
403 (inferior-tcl-mode-map): Remove bindings for tcl-beginning-of-defun,
407 (tcl-fill-mode-map, tcl-fill-inferior-map): Move into the defvar.
412 (tcl-internal-mark-defun): Remove.
414 (tcl-mode): Use define-derived-mode. Simplify.
422 (inferior-tcl-mode): Use define-derived-mode.
425 (tcl-files-alist): New function.
428 (tcl-reread-help-files): Fix up the call to tcl-help-snarf-commands.
436 (tcl-end-of-defun, tcl-mark-defun, tcl-mark): Redefine as aliases.
462 * ruler-mode.el: New file.
471 * help-mode.el: New file, contents mostly from `help.el'.
478 (help-mode, help-mode-setup, help-mode-finish, help-button-action)
482 (help-xref-on-pp): Functions moved into `help-mode.el'.
483 (help-mode-map, help-xref-stack, help-xref-stack-item)
486 (help-xref-info-regexp): Variables moved into `help-mode.el'.
489 Button-types moved into `help-mode.el'.
507 (comint-mode-map): Bind `C-c .' to `comint-input-previous-argument'.
538 * help.el (help-mode): Use define-derived-mode.
539 (describe-mode): Add optional `buffer' arg.
540 Use it instead of going through help-xref-mode.
545 (help-xref-mode): Remove.
556 * woman.el (woman-mode-map): Copy button-buffer-map instead of
568 * help.el (help-mode-map): Make button-buffer-map our parent.
596 (apropos-mode-map): Make button-buffer-map our parent.
626 * textmodes/sgml-mode.el (html-xhtml): New user option.
643 * simple.el (previous-matching-history-element): Fix misplaced
686 * simple.el (previous-matching-history-element)
701 * files.el (find-file-noselect): If file's read-only status has
727 * progmodes/perl-mode.el (perl-indent-continued-arguments): New var.
731 * derived.el (define-derived-mode, derived-mode-make-docstring):
734 * textmodes/nroff-mode.el (nroff-mode-abbrev-table, nroff-mode):
735 Use define-derived-mode.
736 (nroff-mode-map, nroff-mode-syntax-table): Massage.
742 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
746 (lisp-mode-variables): Use it. Make arg optional.
747 (emacs-lisp-mode): Don't pass an arg to lisp-mode-variables.
748 (lisp-mode): Don't pass an arg to lisp-mode-variables.
763 Only update autoloads for files whose timestamp has changed.
764 Add a dummy entry to remember the files which had no autoload cookies.
780 (isearch-mode): Remember value of isearch-case-fold-search
813 * pcvs-util.el (cvs-prefix-define): Typo cons->concat.
834 * calendar/calendar.el (calendar-mode-map): Require cal-menu
836 (calendar-mode): Set up activate-menubar-hook unconditionally.
895 * tar-mode.el (tar-mode-write-file): Don't signal an error by
941 * pcvs-parse.el (cvs-parse-commit): Expand the file name before
955 * mail/sendmail.el (mail-mode): Doc fix. From Simon Josefsson
963 * pcvs-parse.el (cvs-parse-commit): Remove the temp files used by VC.
968 * diff-mode.el (diff-default-read-only): New var.
969 (diff-mode): Use it.
973 * hexl.el (hexl-mode-map): Fix the change of 2001-08-23:
994 * info.el (Info-file-list-for-emacs): Add elements for ada-mode,
1024 Check if mark is active when printing a region. Doc fix.
1044 * diff-mode.el (diff-mode): Don't make the buffer read-only if
1071 on files.el and calls the original function via
1077 encoded Babyl files written by rmailout.el etc.
1082 * eshell/em-unix.el (eshell-shuffle-files, eshell-shuffle-files):
1103 * files.el (make-auto-save-file-name): If long file names are not
1111 and the mark is not active.
1146 * textmodes/outline.el (outline-mode): Use `^' and a shy group
1151 * eshell/em-unix.el (eshell-shuffle-files): Compare inodes with
1207 * arc-mode.el (archive-dostime): Fix a typo in minutes' computation.
1237 font-lock-support-mode is set to jit-lock-mode.
1335 * menu-bar.el (menu-bar-options-menu) <transient-mark-mode>:
1336 Fix the menu entry to mention transient-mark-mode.
1342 * bindings.el (mode-line-coding-system-map): New variable.
1343 (mode-line-mule-info): Give the "%Z" a local-map keymap.
1359 * toolbar/tool-bar.el (tool-bar-mode): Make it a no-op if images
1370 minor-mode-map-alist to nil while displaying splash screens.
1377 * dired-x.el: Add keyword files to get listed in finder.
1388 * vc-cvs.el, vc-rcs.el, vc-sccs.el (vc-*-revert-file): Handle new
1397 * makefile.nt (install): Copy more *.el files.
1401 * dired.el (dired-mode-map): Bind `y' to dired-show-file-type
1444 * man.el (Man-mode-line-format): Variable removed.
1445 (Man-mode): Change `mode-line-buffer-identification' instead of
1446 `mode-line-format'.
1467 * progmodes/antlr-mode.el: Add Keywords header. From Pavel
1474 * hl-line.el (hl-line-mode): Add args INIT-VALUE, LIGHTER, and
1475 KEYMAP to the call to define-minor-mode.
1488 * hl-line.el (hl-line-mode): Don't be a global mode.
1489 (global-hl-line-mode): New function.
1514 (hexl-mode-map): Copy the global keymap instead of creating a
1522 * mail/sendmail.el (mail-mode): Use adaptive-fill-regexp.
1528 * simple.el (line-number-mode): Mention the variable
1533 * bindings.el (mode-line-unbury-buffer): Add EVENT parameter.
1535 (mode-line-bury-buffer): New function.
1536 (mode-line-buffer-identification-keymap): Use it instead of
1579 `indent-tabs-mode', since the latter notes user preferences on
1590 * whitespace.el (whitespace-global-mode): Add autoload cookie.
1613 * hexl.el (hexl-mode, hexl-mode-exit): Adjust hexl-max-address and
1717 in Isearch mode.
1730 * bindings.el (minor-mode-alist): Use mode-line-minor-mode-keymap
1731 for the minor mode name.
1733 * view.el (toplevel): Use mode-line-minor-mode-keymap for the
1734 minor mode name.
1736 * time.el (display-time-string-forms): Use make-mode-line-mouse-map
1737 instead of make-mode-line-mouse2-map.
1739 * subr.el (add-minor-mode): Use mode-line-minor-mode-keymap for
1740 the minor mode name.
1742 * emacs-lisp/easy-mmode.el (define-minor-mode):
1743 Use mode-line-minor-mode-keymap for the minor mode name.
1745 * calendar/calendar.el (calendar-mode-line-format):
1746 Use make-mode-line-mouse-map instead of make-mode-line-mouse2-map.
1748 * bindings.el (make-mode-line-mouse-map): Rename from
1749 make-mode-line-mouse2-map. Take additional arg MOUSE.
1750 (mode-line-modified): Use mouse-3 instead of mouse-2.
1751 (mode-line-buffer-identification-keymap): Bind keys differently.
1754 * bindings.el (mode-line-format): Specify help-echo for line
1755 number, column number and buffer-percent part of the mode-line.
1759 text files.
1783 * tar-mode.el (tar-extract): Avoid generating a new buffer
1793 * image.el (image-type-regexps): For JPEG files, use a regexp
1816 * textmodes/text-mode.el, textmodes/two-column.el: Keywords added.
1819 * emulation/pc-mode.el, diff.el, textmodes/fill.el, abbrev.el,
1836 the mode-line face is restored. Fix several bugs.
1916 * smerge-mode.el (smerge-mode): Check if `font-lock-mode' is bound
1921 * menu-bar.el (toggle-highlight-paren-mode):
1922 Use `(show-paren-mode)' as body.
1931 * progmodes/make-mode.el (makefile-macroassign-regex):
1948 * emacs-lisp/lisp-mode.el (last-sexp-setup-props): New function.
1956 (mouse-wheel-mode): Use mouse-wheel-{up,down}-button.
1961 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Don't search for
1965 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Look for a `...'
1968 * emacs-lisp/lisp-mode.el (last-sexp-print): New function.
1973 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): If standard-output
1979 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-defun):
1992 Add easy-mmode-define-global-mode to the regexp. Allow newlines
1997 * isearch.el (isearch-other-meta-char): Don't modify mode-line and
2002 * files.el (auto-mode-alist): Use nroff-mode for files ending
2103 (viper-get-ex-com-subr, viper-ex, ex-mark): Change to use the new
2113 * viper.el (viper-major-mode-modifier-list):
2114 Add inferior-emacs-lisp-mode.
2115 (this-major-mode-requires-vi-state): New function that uses simple
2117 (set-viper-state-in-major-mode): Use this-major-mode-requires-vi-state.
2133 (viper-mark-point, viper-goto-mark-subr, viper-brac-function):
2141 * server.el (server-visit-files): Fix variable name typo.
2167 follow coding conventions in generated files.
2179 * server.el (server-visit-files): Handle the case the specified
2189 * server.el (server-process-filter, server-visit-files):
2212 * progmodes/tcl.el (tcl-fill-mode-map): Use tcl-indent-exp.
2213 (tcl-mode): Use tcl-add-log-defun.
2231 * progmodes/ada-mode.el (ada-mode): Avoid unneeded version checks.
2254 * eshell/esh-mode.el (eshell-send-invisible): Rename from
2260 * which-func.el (which-func-mode): Doc fix.
2263 * calculator.el, calendar/todo-mode.el, complete.el, cus-dep.el,
2287 * net/quickurl.el, net/snmp-mode.el, net/webjump.el,
2288 * net/zone-mode.el, pcomplete.el, progmodes/antlr-mode.el,
2290 * progmodes/cperl-mode.el, progmodes/cpp.el, progmodes/cwarn.el,
2296 * progmodes/m4-mode.el, progmodes/mantemp.el,
2297 * progmodes/meta-mode.el, progmodes/octave-inf.el,
2298 * progmodes/ps-mode.el, progmodes/scheme.el, progmodes/simula.el,
2325 * textmodes/sgml-mode.el: A fix to follow coding conventions.
2352 * which-func.el (which-func-mode): Doc fix.
2358 * progmodes/hideshow.el (hs-minor-mode): Use make-local-variable.
2360 * progmodes/make-mode.el (makefile-browse): Use make-local-variable.
2378 * pcvs-parse.el, pcvs-util.el, pcvs.el, progmodes/ada-mode.el,
2391 conventions in Elisp files with known maintainers.
2402 * eshell/esh-mode.el, eshell/esh-module.el, eshell/esh-opt.el,
2405 conventions in Elisp files.
2409 * emulation/pc-mode.el, emulation/viper-cmd.el,
2429 * midnight.el, patcomp.el, pcmpl-cvs.el, pcmpl-gnu.el,
2436 to follow coding conventions in files without maintainer or in files
2447 * emacs-lisp/helper.el, emacs-lisp/lisp-mode.el,
2469 * term/tty-colors.el, terminal.el, textmodes/bib-mode.el,
2472 * textmodes/tex-mode.el, textmodes/text-mode.el,
2476 files maintained by FSF.
2480 * arc-mode.el: A fix to follow coding conventions.
2501 * which-func.el (which-func-mode, which-func-ff-hook)
2502 (which-function-mode): Remove references to which-func-mode-global.
2516 to the extension list, for antlr-mode. From Christoph Wedler
2522 (vc-dired-mode-map): Fix the madness.
2524 * vc-hooks.el (vc-mode): Dummy function for doc purposes.
2540 * progmodes/ada-mode.el: Ditto.
2597 * emacs-lisp/easy-mmode.el (define-minor-mode): Use eval-after-load
2598 to delay the call to <mode> for global minor modes.
2603 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Bind TAB
2627 field problem with MIME-mode.
2629 * mail/rmailout.el (rmail-output): Fix bug in MIME-mode.
2634 MIME-mode.
2638 * bindings.el (mode-line-mule-info): Don't show the tip with
2643 * calendar/todo-mode.el (todo-top-priorities): Use delete-region
2653 * font-lock.el (c-font-lock-keywords-3): When matching something
2673 libraries if auto-compression-mode is on.
2743 (which-function-mode): This is now the "real" name of the function.
2744 (which-func-mode): Now an alias.
2745 (which-func-mode-global): Name deleted.
2747 * progmodes/hideshow.el (hs-minor-mode-map): Use mouse-2, not
2783 * files.el (auto-mode-alist): Add configure.ac (autoconf).
2788 * emacs-lisp/lisp-mode.el (eval-last-sexp): Doc fix.
2830 loadup time, by concatenating together all of Eshell's .elc files.
2834 * eshell/esh-mode.el: Disabled a test that often yields false failures.
2843 * textmodes/sgml-mode.el (sgml-mode-map): Fix thinko.
2850 * progmodes/antlr-mode.el (antlr-mode):
2859 * dired.el (dired-mark-pop-up): Fix last change.
2872 * textmodes/tex-mode.el (tex-validate-buffer): Add help-echo to
2878 * tar-mode.el (tar-header-block-summarize): Add help-echo to
2883 * progmodes/sh-script.el (sh-mark-line): Add help-echo to
2901 (dired-mark-pop-up): Remove help-echo property from the file name.
2909 * arc-mode.el (archive-summarize-files): Add help-echo to
2917 * textmodes/sgml-mode.el: Move `provide' to the end. Update copyright.
2918 (sgml-mode-map): Use `make-keymap' rather than make the keymap by hand.
2926 (html-mode): Don't force `imenu-sort-function'.
2930 * tar-mode.el: Fix the copyright notice.
2936 * tar-mode.el (tar-extract): Call generate-new-buffer-name to
2972 * textmodes/texinfo.el (texinfo-mode-syntax-table): Change syntax
2985 * diff-mode.el (diff-font-lock-keywords): Fix unanchored regexp.
2989 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
2992 (perl-mode): Use them.
3040 .gpg files as binary. Suggested by Karl Berry <karl@gnu.org>.
3044 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Add a doc string.
3096 * textmodes/tex-mode.el (latex-find-indent): Handle the BOBP case.
3103 * textmodes/tex-mode.el (tex-feed-input, tex-display-shell):
3134 * textmodes/outline.el (outline-mode): Fix font-lock-defaults.
3162 * textmodes/tex-mode.el (tex-mode-syntax-table): Add ^.
3165 (tex-mode-map): Inherit from text-mode-map, but rebind \t to
3167 (latex-mode-map, plain-tex-mode-map): New keymaps.
3168 Inherit from tex-mode-map.
3170 since it's now done right by define-derived-mode.
3171 (latex-mode): Set skeleton-end-hook to nil.
3180 * progmodes/perl-mode.el (perl-mode): Use define-derived-mode.
3183 (perl-mark-function): Cleanup the namespace.
3228 * diff-mode.el (diff-jump-to-old-file, diff-update-on-the-fly):
3230 (diff-mode, diff-minor-mode, diff-find-source-location): Update.
3236 (occur-mode): Use define-derived-mode.
3248 * startup.el (command-line-1): When >2 files visited,
3263 * textmodes/artist.el (artist-mode): Fix a typo. From Pavel
3271 * pcvs-defs.el (cvs-mode-map): Bind "z" to `kill-this-buffer'
3272 and [RET] to `cvs-mode-find-file'.
3308 * makefile.w32-in (compile-files-CMD, bootstrap-clean-CMD):
3328 because it's more efficient for large files.
3334 (rmail-mode): Handle the case of finding Rmail files.
3347 * startup.el (fancy-splash-screens): Ignore events on the mode-line.
3355 * files.el (switch-to-buffer-other-window)
3385 * emacs-lisp/lisp-mode.el (lisp-mode):
3401 * gud.el (gud-jdb-build-source-files-list): Fix paren typo.
3403 * pcvs-defs.el (cvs-mode-map): Don't rebind `undo'.
3405 * files.el (auto-mode-alist): Add *.perl and fix the *.<rev> case.
3410 the init files which influence font selection, clear the face
3413 * Makefile.in (compile-files): Redirect output of chmod to /dev/null.
3417 * smerge-mode.el (smerge-mode): Force font-lock-multiline to t.
3472 * eshell/em-unix.el (eshell-shuffle-files):
3485 * arc-mode.el (archive-int-to-mode): Construct the string directly.
3486 (archive-mode): Use capitalize.
3491 * emacs-lisp/lisp-mode.el (lisp-interaction-mode): Doc fix.
3495 * tar-mode.el (tar-extract): Pay attention to the value of
3537 mode-line-process of rmail-view-buffer.
3591 * mail/rmailedit.el (rmail-edit-mode-hook): Add :version.
3601 * mail/rmail.el (rmail-mode-map): Use rmail-sort-by-labels
3609 (rmail-summary-mode): Doc fix.
3613 * mail/rmailedit.el (rmail-edit-mode): Doc fix.
3614 (rmail-edit-mode-hook): New user-option.
3627 * progmodes/cperl-mode.el (cperl-font-lock-keywords)
3630 (cperl-mode, cperl-load-font-lock-keywords, cperl-init-faces)
3634 * diff-mode.el (diff-nonexistent-face, diff-font-lock-keywords):
3645 * progmodes/cc-mode.el: `c-electric-delete-forward' is now bound
3685 * diff-mode.el (diff-nonexistant-face): New face.
3690 * font-lock.el (font-lock-mode): Doc fix.
3711 * dired-aux.el (dired-do-create-files, dired-do-copy)
3769 * progmodes/make-mode.el (makefile-font-lock-keywords):
3811 * eshell/esh-mode.el (eshell-non-interactive-p): Move to eshell.el.
3813 * eshell/eshell.el (eshell-non-interactive-p): Move from esh-mode.el.
3836 (calendar-mode-map, calendar-mode): Use display-popup-menus-p
3879 * sql.el (sql-mode-menu): Add highlighting entries.
3910 (custom-deps, autoloads, .el.elc, compile-files-CMD, compile-files-SH)
3935 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Don't invoke CVS as
3951 * pcvs-defs.el (cvs-mode-map): Bind C-o like in dired.
3952 (cvs-menu): Add a few entries.
3954 * pcvs.el (cvs-addto-collection): Don't merge MESSAGE fileinfos.
3955 (cvs-update-filter): Only advertise `cvs-mode-delete-lock' if the
3957 (cvs-mode-mark-on-state, cvs-mode-display-file): New functions.
3958 (cvs-mode-find-file): Look for cvs-header-face rather than
3959 cvs-dirname-face (which doesn't exist).
3960 (cvs-mode-find-file): Allow `other' to be set to `dont-select'.
3962 * pcvs-parse.el (cvs-parse-run-table): Remove misleading text.
3966 * emulation/pc-select.el (pc-selection-mode): Don't turn on
3992 * eshell/em-hist.el (eshell-previous-matching-input):
4015 * simple.el (completion-list-mode-finish): New function.
4016 (toplevel): Add completion-list-mode-finish to temp-buffer-show-hook.
4067 * server.el (server-visit-files): Set server-existing-buffer correctly.
4068 (server-visit-files): Run server-visit-hook after going to
4071 * bindings.el (mode-line-modified): Unify help messages.
4082 quail-misc-package-ext-info to 8+3 before matching them against
4091 * simple.el (normal-erase-is-backspace-mode): Doc fix.
4095 * textmodes/sgml-mode.el: Add unknown maintainer.
4097 (html-mode-map): Use set-keymap-parent.
4139 * emulation/pc-select.el (pc-selection-mode):
4140 Call normal-erase-is-backspace-mode instead of binding
4147 normal-erase-is-backspace-mode.
4151 (normal-erase-is-backspace-mode): Rename from
4152 delete-key-deletes-forward-mode. Doc fix.
4181 (hexl-mode-map): Bind C-Home and C-End to hexl-beginning-of-buffer
4187 * icomplete.el (icomplete-mode): Treat an argument like other
4299 * simple.el (transient-mark-mode): Mention ESC ESC ESC in the doc
4304 * files.el (backup-directory-alist): Fix typo.
4317 * simple.el (transient-mark-mode): Mention C-g in the doc string.
4336 * generic.el (generic-mode-set-comments): Use "" rather than nil
4355 * image.el (image-type-regexps): Change type for PS files
4442 * Makefile.in, makefile.w32-in (COMPILE_FIRST): Add cc-mode.el
4450 * Release of cc-mode 5.28.
4454 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
4456 Remove the hardcoded switch to "java" style in Java mode.
4501 * progmodes/cc-mode.el (c-mode, c++-mode, java-mode, objc-mode)
4502 (pike-mode): Populate the default abbrev tables to reindent for
4504 Abbrev mode is therefore turned on by default now. (Note that
4505 this doesn't apply to idl-mode, since IDL afaik doesn't have
4543 prefix is now kludged further to check for filladapt-mode
4546 both adaptive-fill-mode and filladapt-mode.
4598 * progmodes/cc-mode.el:
4601 (pike-mode): Initialize paragraph settings pikedoc recognition.
4606 association list on this to specify mode specific regexps.
4607 The default value now use a special regexp in Pike mode to
4640 * progmodes/cc-cmds.el: Use `indent-according-to-mode' instead of direct
4683 * progmodes/cc-langs.el, progmodes/cc-mode.el: Added regexps for
4684 complete keyword lists. `c-keywords' is set to a regexp matching
4719 * progmodes/cc-mode-19.el: Fixes so that checks that must be done at
4724 * progmodes/cc-defs.el: Make sure cc-mode-19 is loaded both at compile
4735 features: It ensures that files always are loaded from the
4741 compile-time) between all files.
4750 * progmodes/cc-mode-19.el: Patch the byte compiler in Emacs 19
4762 * progmodes/cc-cmds.el, progmodes/cc-langs.el, progmodes/cc-mode.el:
4764 Moved all mode init stuff from cc-langs.el to cc-mode.el,
4779 * progmodes/cc-langs.el (c-mode-menu): Use c-fn-region-is-active-p.
4781 * progmodes/cc-mode.el (c-prepare-bug-report-hooks): Hook variable to
4809 * pcvs-util.el (cvs-bury-buffer): Bodiless `if' statements cause
4828 * ehelp.el (electric-help-mode-hook): Add defcustom.
4830 * mail/sendmail.el (mail-mode): Activate case-folding in
4835 * bindings.el (mode-line-mode-menu): `glasses-mode' might be unbound.
4875 (viper-get-ex-com-subr, viper-ex, ex-mark): Change to use the new
4930 (hs-minor-mode-map): Change bindings to use `C-c @' prefix.
4931 (hs-minor-mode-hook): Include `:version' in defcustom form.
4960 value of point on the mark ring.
4973 (find-tag-in-order): Use it to deal with compressed source files.
5012 * vc-cvs.el, vc-rcs.el, vc-sccs.el (vc-*-print-log): Output to
5016 * vc-cvs.el (vc-cvs-checkin): When removing the sticky tag,
5027 mode-line-key-binding. Handle any event on a string.
5054 (sh-mode): Remove `make-local-variable' for unused var
5081 * pcvs.el (cvs-ignore-marks-modif): Use `rassoc' rather than `member*'.
5082 (cvs-mode-add-change-log-entry-other-window):
5085 * pcvs-util.el (cvs-bury-buffer): In doubt, don't delete window.
5087 * pcvs-defs.el (cvs-buffer-name-alist): Use *cvs-info* for
5090 * pcvs-parse.el (cvs-parse-table): Add another ignored message.
5095 * textmodes/sgml-mode.el (sgml-mode-common): Correct value of
5098 (html-autoview-mode): Don't bother using make-local-hook.
5113 * emulation/viper.el (viper-vi-state-mode-list): Add cperl-mode.
5115 * which-func.el (which-func-modes): Add cperl-mode.
5116 (which-func-mode-global): Use define-minor-mode.
5119 (cperl-mode): Add support.
5120 (emacs-lisp-mode): List all entries from elisp manual, whether
5123 * add-log.el (add-log-current-defun): Accept `cperl-mode' as well.
5125 * progmodes/cperl-mode.el (cperl-mode): Set major-mode to cperl-mode
5131 Check major-mode for `cperl-mode' as well.
5133 * progmodes/cperl-mode.el: Updated to author version 4.23.
5200 as used in mode-line-format.
5208 * play/dunnet.el (dun-mode): Set major-mode to `dun-mode'.
5232 * files.el (insert-file-contents-literally):
5422 * msb.el (msb-mode): Call the update-buffers function explicitly
5469 point to the mark is equal to the distance of point from the new
5470 point, move point instead of the mark.
5480 (generic-ignore-files-regexp): New defcustom.
5481 (generic-mode-find-file-hook): If the file's name matches the
5482 regexp in `generic-ignore-files-regexp', don't enter
5483 default-generic-mode. Doc fix.
5503 * textmodes/tex-mode.el (tex-shell-running):
5519 (Info-mode-menu): Add it to the menu.
5535 * hi-lock.el (hi-lock-find-patterns): Don't activate font-lock-mode.
5556 (speedbar-buffers-line-path): Return file for tags, and dir for files.
5561 for remote files.
5568 Better handling of the diff mode.
5585 * faces.el (mode-line): Set :line-width property to -1.
5589 * complete.el (partial-completion-mode): Doc fix.
5591 * simple.el (delete-key-deletes-forward-mode):
5605 * emacs-lisp/re-builder.el (reb-mode): Quote the hook name.
5617 * which-func.el (which-func-mode): Invert which-func-mode-global.
5637 * eshell/esh-mode.el (eshell-skip-prompt-function):
5642 * forms.el (forms-mode-hooks):
5649 * progmodes/dcl-mode.el (dcl-calc-command-indent-function):
5650 * progmodes/ada-mode.el (ada-popup-key): Fix :type.
5667 * simple.el (previous-matching-history-element)
5668 (next-matching-history-element): Doc fix.
5678 (change-log-mode) <font-lock-defaults>: Set SYNTAX-BEGIN.
5685 * progmodes/make-mode.el (makefile-mode): Set SYNTAX-BEGIN member
5695 * hi-lock.el (hi-lock-mode): Toggling hi-lock-mode now affects all
5706 unfontify and, if a support mode is active, will not refontify the
5708 font-lock-unfontify and font-lock support-mode-specific calls,
5710 (hi-lock-find-patterns): Do not turn on hi-lock-mode even if
5739 * textmodes/nroff-mode.el (nroff-mode): Set the SYNTAX-BEGIN part
5770 * skeleton.el (skeleton-internal-1): Always push the mark for @.
5792 * progmodes/f90.el (f90-mode): Remove startup message.
5794 * vc-cvs.el: Remove autoloads. Require vc when compiling.
5799 to use delete-key-deletes-forward-mode.
5807 * vc-rcs.el, vc-cvs.el, vc-sccs.el (vc-BACKEND-diff-switches):
5830 * simple.el (delete-key-deletes-forward-mode): Treat `kp-delete'
5839 * hi-lock.el (hi-lock-mode, hi-lock-line-face-buffer): Doc fix.
5840 (hi-lock-find-patterns): Turn on font-lock-mode, if it is not
5845 * files.el (save-buffer): Don't give message if (buffer-file-name)
5874 correct the frame size and sync tool-bar-mode.
5912 * pcvs.el (cvs-mark-fis-dead): New function.
5913 (cvs-mode-add): Use it.
5914 (cvs-mode-add-change-log-entry-other-window):
5919 * vc-cvs.el: Replaced (require 'vc) with a bunch of
5924 * files.el (confirm-kill-emacs): Doc fix.
5940 * ansi-color.el (ansi-color-for-comint-mode): Add :version.
5941 (ansi-color-for-comint-mode-on, ansi-color-process-output):
5947 * menu-bar.el (menu-bar-files-menu): Add menu items for
5975 * simple.el (transient-mark-mode): Doc fix.
5989 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Undo the change
6004 * simple.el (transient-mark-mode): Document the fact that many
6005 commands act on the region when mark is active.
6036 * makefile.w32-in (DONTCOMPILE): Add various term files.
6040 * Makefile.in (DONTCOMPILE): Add various term files.
6044 * man.el (Man-default-man-entry, Man-mode): Doc fix.
6082 * vc-cvs.el (vc-cvs-mode-line-string): Doc & comment fix.
6087 * smerge-mode.el (smerge-font-lock-keywords): Relax submatch 1.
6089 * emacs-lisp/easy-mmode.el (define-minor-mode): Docstring fix.
6116 * diff-mode.el (diff-mode): Disable preliminary support for `compile'.
6143 tool-bar-mode is on, increase the frame's size by some lines for
6168 * textmodes/outline.el (outline-mode) <font-lock-defaults>:
6173 * font-lock.el (font-lock-mode): Doc fix.
6213 * textmodes/texinfo.el (texinfo-mode): Use backward-paragraph
6238 * viper.el: Call initial-major-mode on startup.
6247 diff mode, if available.
6331 * simple.el (delete-key-deletes-forward-mode): Bind <backspace>
6334 * textmodes/flyspell.el (mail-mode-flyspell-verify): Check in
6361 (ansi-color-for-comint-mode): Fix :version.
6383 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Bind `backspace'
6409 * progmodes/ada-mode.el (ada-popup-key): Fix last change.
6411 * progmodes/fortran.el (fortran-mode-map): Modify Customization
6426 * comint.el (comint-goto-process-mark): Don't print a message
6427 when running in batch mode.
6433 ensure that eval-after-load works for files dumped with Emacs.
6463 * files.el (confirm-kill-emacs): New user-option.
6480 * vc-cvs.el (vc-cvs-header): Fix :type.
6484 * progmodes/ada-mode.el (ada-popup-key): Fix :type.
6529 coincided with the process-mark. New text would then be added
6569 (ansi-color-for-comint-mode): Change :type property to choice.
6581 that cumulative mode actually works.
6590 ansi-color-apply-sequence such that cumulative mode actually works.
6607 * ansi-color.el (ansi-color-for-comint-mode): Doc change.
6629 put onto font-lock-mode-hook. This lambda expression will check
6639 (ansi-color-for-comint-mode): New option.
6640 (ansi-color-for-comint-mode-on): Set ansi-color-for-comint-mode.
6641 (ansi-color-for-comint-mode-off): Ditto.
6642 (ansi-color-for-comint-mode-filter): Ditto.
6643 (ansi-color-process): New function. Uses ansi-color-for-comint-mode to
6647 (ansi-color-for-shell-mode-set): Remove.
6648 (ansi-color-for-shell-mode): Remove.
6652 * ansi-color.el (ansi-color-for-shell-mode-set): New function with
6653 the lambda expression from the ansi-color-for-shell-mode :set
6654 property. Additionally, modify shell-mode-hook to enable or
6655 disable font-lock-mode for future shell buffers.
6656 (ansi-color-for-shell-mode): The :set property calls
6657 ansi-color-for-shell-mode-set instead of a lambda expression.
6661 * ansi-color.el (ansi-color-for-shell-mode): Doc change.
6699 * vc-cvs.el (vc-cvs-latest-on-branch-p): Remove.
6700 (vc-cvs-checkout): Rename arg WRITABLE to EDITABLE.
6717 (isearch-mode): Add isearch-done to kbd-macro-termination-hook
6742 * mail/sendmail.el (mail-mode): Doc fix.
6775 (isearch-mode): Set signal-hook-function to isearch-done.
6812 * whitespace.el (whitespace-global-mode): Fix typo.
6859 * progmodes/cperl-mode.el (cperl-invalid-face): Don't double-quote
6868 * calendar/todo-mode.el (todo): Add :link, :version.
6871 (todo-insert-item, todo-mode, todo-cp, todo-show): Fix autoload cookie.
6876 (comint-read-input-ring): Ignore entries matching
6882 (lm-copyright-mark): New function.
6894 * textmodes/flyspell.el (mail-mode-flyspell-verify): Spell-check
6898 Use mail-mode-hook instead of mail-setup-hook.
6900 instance, winds up in Mail mode without abbrevs.
6925 * simple.el (delete-key-deletes-forward-mode): Bind backspace
6926 and delete in isearch-mode-map.
6958 (ls-lisp-delete-matching, ls-lisp-handle-switches)
6968 * textmodes/texinfo.el (texinfo-mode): Set fill-column to 70.
6985 * term.el (term-char-mode): Define all non-ascii self-inserting
7005 * emacs-lisp/edebug.el (define-minor-mode): Improve the spec
7014 * smerge-mode.el (smerge-basic-map): Use `=' rather than `d'.
7017 (smerge-mode): Don't assume font-lock doesn't move point.
7030 * simple.el (delete-key-deletes-forward-mode): Simplify.
7044 of XML files.
7055 `generic-mode' and then remove.
7056 (generic-mode): Inline generic-read-type.
7057 (define-generic-mode): Push the symbol name rather than the symbol
7058 onto generic-mode-list.
7102 * files.el (insert-directory-safely): New function.
7115 * mail/sendmail.el (mail-mode): Set `comment-start' to the yank prefix.
7149 * simple.el (delete-key-deletes-forward-mode): Fix typo in docstring.
7180 * tooltip.el (tooltip-mode): Signal an error if x-show-tip
7193 (input-mode-8-bit): Remove.
7219 * pcvs.el (cvs-diff-backup-extractor): Return full-path for file.
7220 (cvs-execute-single-file): Don't change directory.
7287 * window.el (mode-line-window-height-fudge): Function removed.
7288 (height-affecting-face-attributes, mode-line-window-height-fudge):
7293 (ispell-help): Don't use ispell-mode-line-window-height-fudge.
7297 (ispell-mode-line-window-height-fudge): Function removed.
7313 * simple.el (delete-key-deletes-forward-mode): Treat ms-dos and
7317 if not fboundp. Switch delete-forward mode for the <delete> key
7332 * startup.el (command-line): Call delete-key-deletes-forward-mode,
7336 (delete-key-deletes-forward-mode): New function.
7385 * tar-mode.el (tar-extract): Base the name of the subfile buffer
7405 * progmodes/glasses.el: Use `define-minor-mode' for the minor mode
7407 (glasses-mode): Use jit-lock instead of `after-change-functions'
7434 * obsolete/c-mode.el: Moved from lisp/progmodes.
7473 (cvs-mode-diff-help): Remove.
7474 (cvs-mode-commit): Use the new `log-edit' BUFFER argument.
7475 (cvs-mode-marked): Set up the default for CMD manually.
7477 * pcvs-defs.el (cvs-mode-diff-map): Use minibuffer menu prompt.
7513 * pcvs-defs.el (cvs-menu): Move. Make submenu for diff commands.
7514 (cvs-menu-map): Remove.
7515 * pcvs.el (cvs-menu): Use `cvs-menu' rather than `cvs-menu-map'.
7516 (cvs-mode-quit): Turn it back into a plain function.
7525 (texinfo-mode): Use texinfo-chapter-level-regexp for page-delimiter.
7535 accessible in -nw mode.
7539 it is accessible in -nw mode.
7543 * emacs-lisp/lisp-mode.el (lisp-mode):
7573 * server.el (server-visit-files): Push files on file-name-history.
7579 * bindings.el (mode-line-mode-menu): Add glasses-mode.
7581 * bindings.el (mode-line-mode-menu): Reverse the order
7586 * progmodes/glasses.el (glasses-mode): Update mode line at the end
7601 * derived.el (define-derived-mode): Don't use combine-run-hooks.
7615 * textmodes/texinfo.el: Require tex-mode when compiling.
7625 * files.el (load-file): Fix change of 2000-03-12.
7657 * faces.el (frame-set-background-mode): Avoid stomping on
7725 * emacs-lisp/easy-mmode.el (define-derived-mode)
7726 (easy-mmode-derived-mode-p): Remove (moved to derived.el).
7728 * derived.el (define-derived-mode): Revived, moved from easy-mmode.el.
7729 (derived-mode-p): New function.
7730 (derived-mode-make-docstring): Add `docstring' argument.
7743 * textmodes/tex-mode.el (tex-start-shell): Obey shell-file-name.
7770 autoloading tex-mode; instead, do the same manually.
7795 * files.el (revert-buffer, recover-file):
7871 (tpu-original-mode-line): Variable deleted.
7872 (tpu-mark-flag): New initial value.
7873 (tpu-set-mode-line): Don't redefine mode-line-format.
7874 Add tpu-mark-flag to minor-mode-alist.
7875 (tpu-update-mode-line): New mark flag logic.
7878 (tpu-unselect): Deactivate mark.
7881 (tpu-edt-on): Set transient mark mode. ispell autoloads deleted.
7913 * files.el (auto-mode-alist): Add an entry for antlr-mode.
7917 * toolbar/tool-bar.el (tool-bar-mode): Doc fix.
7919 * frame.el (blink-cursor-mode): Doc fix.
7923 * progmodes/antlr-mode.el: New commands to run ANTLR from within
7933 (antlr-mode-map): Add [C-c C-r] for `antlr-run-tool'.
7934 (antlr-mode-menu): Add entries.
7943 * progmodes/antlr-mode.el: More Emacs/XEmacs stuff.
7953 * progmodes/antlr-mode.el: imenu, parsing and highlighting changes.
7962 (antlr-mode-syntax-table): New variable.
7963 (antlr-mode): Populate and use it instead `java-mode-syntax-table'.
7968 * progmodes/antlr-mode.el: Minor changes: language setting.
7976 * progmodes/antlr-mode.el: Minor changes: tabs, hiding.
7977 (antlr-tab-offset-alist): Set `indent-tabs-mode' to nil instead t.
8008 car matches, like `member', not the matching element itself.
8021 * dired-aux.el (dired-do-create-files): Construct default file
8022 name for dired-mark-read-file-name so that when the user enters
8039 * progmodes/ps-mode.el (ps-mode): Set comment-start and
8042 * progmodes/fortran.el (fortran-mode): Don't set
8057 Add `plain-tex-mode' here.
8190 * cus-start.el (all): Restore entry for `mode-line-inverse-video',
8204 * viper-cmd.el (viper-change-state-to-vi): Disable overwrite mode.
8214 * viper.el (viper-mode): Fix cursor handling.
8228 Initialize and bind it to C-c t in ada-mode-map.
8229 (ada-stmt-mode-hook): New function extracted from old code.
8231 (ada-mode-hook): Use it.
8244 * hscroll.el (turn-on-hscroll, hscroll-mode, hscroll-global-mode)
8249 * rect.el (string-rectangle): Don't test delete-selection-mode.
8275 * textmodes/tex-mode.el (tex-font-lock-keywords-1):
8283 (latex-mode): Use it.
8298 * progmodes/ada-mode.el (ada-mode): Use it instead of
8305 (picture-mode-exit): Call it instead of `picture-clean'.
8318 * calendar/todo-mode.el (todo-top-priorities): Use
8333 (string-rectangle): Check delete-selection-mode.
8339 (edebug-mode-menus): Make some items toggles.
8350 (recentf-edit-list, recentf-open-files-item)
8351 (recentf-open-files): Replace unnecessary `mapcar' with new
8400 (isearch-mode): Set `minibuffer-message-timeout' to nil, after
8407 * cus-start.el: Remove entry for `mode-line-inverse-video'.
8411 * progmodes/ada-mode.el (ada-mode): `set '' -> `setq'.
8413 * find-lisp.el (find-lisp-find-files-internal):
8417 (define-derived-mode, define-minor-mode): Add specs.
8426 * shell.el (shell-mode): Use define-derived-mode.
8432 * isearch.el (isearch-mode-map): Fix docstring. Init in defvar.
8437 * files.el (find-buffer-visiting): Compare all attributes before
8438 declaring two files identical (rather than just their inode-no).
8439 (auto-mode-alist): Use \' rather than $.
8466 (refill-mode): Initialize/cleanup `refill-ignorable-overlay'.
8480 (refill-mode): Add it to `pre-command-hook'.
8484 * textmodes/artist.el (artist-mode): Fix autoload cookie.
8497 * vc-cvs.el (vc-cvs-checkout): Fix bug that broke C-x v ~-style
8508 (calculator-help): Don't use electric-describe-mode for XEmacs.
8541 * bindings.el (mode-line-modified): Fix a typo.
8542 (mode-line-toggle-modified, mode-line-widen)
8543 (mode-line-abbrev-mode, mode-line-auto-fill-mode): Fix typos.
8557 * files.el (basic-save-buffer): Don't add a newline if
8569 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Functions reordered.
8576 * vc-cvs.el (vc-cvs-revert): Use `cvs unedit' only if
8577 `vc-cvs-use-edit' is on.
8578 (vc-cvs-checkout): When this is used for reverting the workfile,
8581 (vc-cvs-print-log, vc-cvs-diff): Use asynchronous mode only for
8587 * vc-cvs.el (vc-cvs-annotate-command): New optional arg VERSION.
8644 (texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
8648 * emacs-lisp/checkdoc.el (checkdoc-minor-mode) <defvar>: Remove.
8649 (checkdoc-minor-mode-map): New map, replaces checkdoc-minor-keymap.
8652 (checkdoc-minor-mode) <defun>: Use easy-mmode-define-minor-mode.
8654 to avoid matching substrings of `...' quoted vars/funs.
8666 * diff-mode.el (diff-imenu-generic-expression): Modify unidiff pattern.
8679 * window.el (fit-window-to-buffer): Handle windows without mode-lines.
8695 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Use `keep'
8699 (tex-define-common-keys, tex-mode-map): Use menu-item rather
8701 (tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe.
8702 (tex-mode): Add some latex-mode commands for auto-selection.
8705 (tex-shell): New mode.
8716 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8718 (lisp-mode-shared-map): Init inside the defvar.
8719 (emacs-lisp-mode, lisp-mode, lisp-interaction-mode):
8720 Use define-derived-mode.
8752 * gud.el (gud-minor-mode): New var.
8754 (gud-find-file): Copy gud-minor-mode to the new buffer.
8757 (gud-minor-mode-map): New map. Add it to minor-mode-map-alist.
8758 (gud-mode-map): New map.
8761 Don't set up gud's menu (it's done by the minor-mode).
8765 (gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it. Set gud-minor-mode.
8766 (gud-mode): Use define-derived-mode.
8767 Don't set up gud's menu (it's done by the minor-mode).
8775 * diff-mode.el (diff-mode-menu): Add entry for applying hunk.
8777 (diff-mode-map): Bind C-c C-s to diff-split-hunk.
8779 * pcvs-info.el (cvs-fi-conflict-face): New var.
8781 * progmodes/sh-script.el (sh-mode-syntax-table) <defvar>:
8785 (sh-mode): Use it. Also use define-derived-mode.
8788 (sh-mode-syntax-table) <defun>: Remove.
8792 * textmodes/flyspell.el (flyspell-mode-on): Only output welcome
8800 * view.el: Use local-map property, not keymap on mode-line string.
8802 * scroll-all.el (scroll-all-mode): Customize variable.
8807 * finder.el (finder-known-keywords): Add `files', remove `vms'.
8820 (mail-mode): Use [:alnum:] in some regexps.
8826 fundamental mode.
8829 buffer into fundamental mode.
8836 buffer into fundamental mode.
8854 * textmodes/fill.el (fill-indent-according-to-mode): New var.
8857 * textmodes/tex-mode.el (standard-latex-block-names): Add "math".
8858 (latex-mode): Tweak tex-*-(head|trail)er regexps.
8869 * startup.el (command-line): Set the default tooltip-mode
8872 * tooltip.el (tooltip-mode): Add a comment about startup.el
8879 (font-lock-mode, font-lock-mode-hook) <defvar>: Remove.
8880 (font-lock-mode): Use define-minor-mode.
8881 (font-lock-support-mode): Tweak type to default to jit-lock-mode.
8888 * pcvs.el (cvs-enabledp): Ignore errors.
8889 (cvs-commit-filelist): Never query.
8890 (cvs-mode-insert): Always add a terminating / in the initial prompt.
8891 (cvs-mode-diff-backup): Use cvs-partition rather than delete-if-not.
8892 (cvs-do-removal): Use cvs-partition rather than delete-if.
8893 Use cvs-insert-strings, cvs-pop-to-buffer-same-frame and
8894 cvs-bury-buffer.
8901 * simple.el (byte-compiling-files-p): New function.
8903 * textmodes/ispell.el (toplevel): Use byte-compiling-files-p
8945 * dired.el (dired-between-files): Add `^. find' as an alternative
8969 (texinfo-mode): Hard code texinfo-chapter-level-regexp.
8973 * autoinsert.el (auto-insert-alist) <latex-mode>: Use \documentclass.
8975 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8986 * bindings.el (mode-line-toggle-read-only)
8987 (mode-line-toggle-modified, mode-line-widen)
8988 (mode-line-abbrev-mode, mode-line-auto-fill-mode): New functions.
8989 (make-mode-line-mouse2-map): Rewritten.
8990 (mode-line-modified, mode-line-format, minor-mode-alist): Use new
9004 * pcvs.el (cvs-mode-marked): New arg `noquery'.
9006 (cvs-enabledp): Fix call to cvs-mode-marked.
9007 (cvs-insert-file): New function (extracted from cvs-mode-insert).
9008 (cvs-mode-insert): Use it. Change the init prompt' value.
9009 (cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
9015 * log-edit.el (log-edit-show-files): Use cvs-insert-strings.
9017 * cvs-status.el (cvs-tree-merge): Use cvs-butlast (avoid CL).
9018 (cvs-status-get-tags): Fix regexp.
9019 (cvs-status-trees, cvs-status-cvstrees):
9021 (cvs-tree-use-jisx0208): Rename from cvs-tree-dstr-2byte-ready.
9022 (cvs-tree-char-*): Rename from cvs-tree-dstr-char-*.
9024 (cvs-status-cvstrees): Convert the buffer to multibyte if necessary.
9026 * pcvs-defs.el (cvs-menu): Add entries for tree and insert.
9028 * pcvs-util.el (cvs-butlast, cvs-nbutlast): New (copied from CL).
9029 (cvs-insert-strings): New function.
9036 (mouse-wheel-mode): Use (featurep 'xemacs) instead of
9037 string-matching against the version string.
9062 * progmodes/awk-mode.el: Update copyright.
9063 (awk-mode-abbrev-table): Remove.
9065 (awk-mode): Use define-derived-mode.
9073 auto-save-mode.
9081 * progmodes/icon.el (icon-mode-map): Don't rebind \t.
9082 (icon-mode): Define indent-line-function.
9088 * pcvs.el (cvs-mode-add-change-log-entry-other-window):
9089 Bind change-log-default-mode to defeat the caching done on it.
9097 * toolbar/tool-bar.el (tool-bar-mode):
9098 * time.el (display-time-mode):
9099 * recentf.el (recentf-mode):
9100 * paren.el (show-paren-mode):
9101 * mwheel.el (mouse-wheel-mode):
9102 * msb.el (msb-mode):
9103 * jka-compr.el (auto-compression-mode):
9104 * image-file.el (auto-image-file-mode):
9105 * hl-line.el (hl-line-mode):
9106 * delsel.el (delete-selection-mode):
9107 * autoinsert.el (auto-insert-mode):
9108 * complete.el (partial-completion-mode): Drop unneeded positional args.
9110 * info.el (Info-mode):
9111 * comint.el (comint-mode): Don't bother with make-local-hook.
9134 (font-lock-global-modes): Define with easy-mmode-define-global-mode.
9135 (font-lock-change-major-mode): Remove.
9140 (font-lock-fontify-keywords-region): If matching just one
9141 line (with \n) only mark the \n as multiline.
9143 * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
9146 (easy-mmode-define-global-mode): Allow :extra-args.
9157 (update-authors, .el.elc, compile-files): Don't do it explicitly here.
9158 (compile-files): Bomb out if compilation of a file fails.
9171 * emacs-lisp/authors.el (authors-public-domain-files): New variable.
9175 * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
9194 (tooltip-mode): Call tooltip-gud-tips-setup.
9211 beginning of additional dir files (one is added automatically).
9215 * emacs-lisp/easy-mmode.el (define-minor-mode):
9221 Add a call to force-mode-line-update.
9234 * textmodes/tex-mode.el (tex-file): Use `default-directory' when
9239 * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
9248 * files.el (find-file-noselect): When we expand a wildcard, return
9287 (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
9288 (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
9368 * eshell/esh-mode.el (window-height test): Make certain that
9405 (eshell-shuffle-files): Remove the check for `target' being null.
9414 list after flattening it. This makes it possible to cat files
9426 smart display mode can be (at least this is true in Emacs 21).
9437 `eshell-ls-exclude-regexp'. This one prevents files beginning
9442 lots of hidden files, fully two-thirds of the time spent in ls is
9482 * viper.el (viper-insert-state-mode-list): Add eshell.
9499 (ediff-files, ediff-merge-files, ediff-files3)
9500 (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
9510 light background mode.
9518 Call tty-handle-reverse-video, frame-set-background-mode, and
9530 * emacs-lisp/easy-mmode.el (define-minor-mode):
9531 Generate `turn-on-MODE' and `turn-off-MODE' functions unless the mode
9533 make the mode buffer-local, but also generate a `global-MODE'
9534 version using `easy-mmode-define-global-mode'.
9554 (refill-mode): Use it.
9570 * vc-cvs.el (vc-cvs-checkin): Check both status and error message
9573 (vc-cvs-merge-news): Be prepared for no news at all.
9587 * cus-edit.el (custom-mode-map): Use a sparse map.
9588 (custom-mode): Don't bother with make-local-hook.
9604 * cus-edit.el (custom-mode): Add `special' mode-class property.
9606 * wid-browse.el (widget-browse-mode): Likewise.
9617 non-numeric prefix args in non-transient-mark-mode, as per the doc
9618 string. When in transient-mark-mode, treat all prefix-args as
9621 * simple.el (previous-matching-history-element): Miscellaneous cleanup.
9624 * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
9625 (comint-mode-map): Reverse order of `comint-write-output' and
9660 * recentf.el (recentf-mode): Variable removed.
9661 (recentf-mode): Use `define-minor-mode'.
9663 * mwheel.el (mouse-wheel-mode): New global minor mode.
9664 (mwheel-install): Use `mouse-wheel-mode'.
9668 * progmodes/cperl-mode.el (cperl-mode):
9700 * files.el (after-find-file): Don't print any warnings if
9724 * files.el (after-find-file): Don't print a message ``New file''
9772 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]:
9795 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
9799 [the following changes fix a bug where `define-minor-mode' didn't
9800 correctly generate :require clauses for defcustoms in compiled files]
9812 (refill-mode): Don't bother with make-local-hook anymore.
9818 (frame-set-background-mode, face-set-after-frame-default):
9846 (mode-line): Same default face as for x and w32.
9871 * vc-cvs.el (vc-cvs-make-version-backups-p): Add `-p' suffix as
9893 (frame-set-background-mode): Actually, "unspecified-fg" and
9903 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
9910 (sh-mode): Don't override font-lock-unfontify-region-function.
9934 (window-text-height): Don't expect minibuffers to have mode-lines.
9948 instead of `window-height' & `mode-line-window-height-fudge'.
9949 (mode-line-window-height-fudge): Add FACE parameter.
9951 instead of `enlarge-window' & `mode-line-window-height-fudge'.
9957 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
9958 New function, conditionally aliased to `mode-line-window-height-fudge'.
9960 (ispell-choices-win-default-height): Don't include mode-line fudge.
9967 * window.el (mode-line-window-height-fudge): New variable.
9969 (mode-line-window-height-fudge): New function.
9986 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
10030 * startup.el (normal-top-level): Call `frame-set-background-mode'
10034 * faces.el (frame-set-background-mode): `unspecified' &c are
10054 * faces.el (frame-set-background-mode): If a tty frame defines a
10055 background color, use that to compute the background mode, instead
10061 (comint-mode-map): Add it to the menu.
10096 (comint-mode-map): Rename references to comint-kill-output.
10100 * diff-mode.el (diff-header-face, diff-file-header-face)
10108 Remove commented-out call to force-mode-line-update.
10114 * diff-mode.el (diff-header-face, diff-file-header-face):
10130 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
10133 * diff-mode.el (diff-header-face, diff-file-header-face)
10148 being obscured by whizzy mode-lines on graphics displays.
10164 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
10170 * help.el: Provide `help' for the sake of define-minor-mode
10181 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
10216 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
10217 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
10219 (whitespace-global-mode): New option.
10220 (whitespace-global-mode): New command.
10224 (Info-fontify-node, Info-goto-node, Info-mode-menu)
10242 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
10244 (cvs-addto-collection): Return the new tin.
10245 (cvs-mode-insert): Jump to the new line.
10249 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
10253 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
10255 * diff-mode.el (diff-find-file-name): Fix regexp.
10261 (sh-mode-syntax-table): Add punctuation syntax for < and >.
10262 (sh-mode): Don't make all vars local here.
10265 (sh-mode-syntax-table): Use pop.
10285 * textmodes/tex-mode.el: Require CL when compiling.
10286 (tex-mode-syntax-table): Init immediately.
10287 (tex-mode-map): Bind M-RET to latex-insert-item.
10288 (latex-mode): Set indent-line-function to latex-indent.
10351 `minor-mode' means before calling it. This is important for some
10371 (eshell-directory-files-and-attributes): Re-organized the logic a
10392 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
10420 gathering the files and attributes within a directory.
10422 * eshell/em-unix.el (eshell/cat): If any of the files passed on
10428 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
10459 Use character class, not ASCII when matching file names.
10463 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
10480 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
10481 instead of shared-lisp-mode-map.
10498 Decode the process output only when we are in multibyte mode.
10502 * info.el (Info-mode-menu): Fix some help.
10527 * progmodes/cperl-mode.el (cperl-invalid-face): Double-quote
10532 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
10534 (scheme-mode): Doc fix.
10539 * faces.el (frame-set-background-mode): Pay attention to saved
10541 bg-mode or display-type has actually changed. Use `dolist'.
10548 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
10573 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
10595 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
10617 will be done by the definition of `auto-compression-mode' if
10619 before definition of `auto-compression-mode'.
10621 * image-file.el (auto-image-file-mode): Move to the end of the
10622 file, because `define-minor-mode' actually calls the mode-function
10641 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
10656 (jit-lock-mode): Remove autoload cookie.
10671 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
10673 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
10684 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10686 (lisp-mode-shared-map): Rename from shared-lisp-mode-map.
10705 * iswitchb.el (iswitchb-mode): Add :require.
10708 (Info-mode-menu): Bind beginning-of-buffer, Info-edit.
10710 (Info-mode): Use it.
10723 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
10730 * generic-x.el (rul-generic-mode): Remove eval-when-compile
10738 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
10741 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
10752 * jka-compr.el (auto-compression-mode): Move to the end of the
10753 file, because `define-minor-mode' actually calls the mode-function
10756 (with-auto-compression-mode): Add autoload cookie.
10760 * files.el (find-backup-file-name) [ms-dos]: If support for long
10776 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
10798 Fix for define-minor-mode.
10811 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
10812 and add filename to the names so that diff-mode can jump to source.
10827 latter needs the autoloaded define-minor-mode macro during the
10830 * startup.el (command-line): For now, activate tool-bar-mode only
10836 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
10844 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
10850 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
10853 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
10859 Set the real major mode immediately, not after execing.
10869 (which-func-mode): Don't make it permanent-local.
10871 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
10872 (which-func-mode): Simplify.
10884 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
10885 (cvs-retrieve-revision): Reuse a pre-existing buffer.
10886 (cvs-dired-action): Change the default to quickdir.
10888 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
10898 (temp-buffer-resize-mode): Use define-minor-mode.
10900 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
10914 * smerge-mode.el (smerge-mine-face, smerge-other-face)
10930 * diff-mode.el (diff-goto-source): Update call to
10935 * progmodes/icon.el (icon-mode):
10938 * vc-hooks.el (vc-mode-line): Fix interactive spec.
10941 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
10950 * dired.el (dired-mark-pop-up): Turn comment into docstring.
10953 * dired-aux.el (dired-do-create-files, dired-kill-tree):
10956 * apropos.el (apropos-mode): Use define-derived-mode.
10969 (tool-bar-mode): Use it.
10979 * files.el (basic-save-buffer): Call vc-before-save before saving.
10981 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
10982 vc-cvs-stay-local-p.
10992 server. Update mode line before check-in.
10997 (tool-bar-mode): Use it.
11011 (generic-mode-name, generic-comment-list)
11013 (generic-mode-function-list, generic-mode-syntax-table):
11015 (generic-mode-alist): Rename to generic-mode-list.
11017 (generic-read-type): Uses completing read on generic-mode-list.
11018 (generic-mode-sanity-check): Remove this function.
11019 (generic-add-to-auto-mode): Remove this function.
11020 (generic-mode-internal): Bind mode-specific definitions
11022 (generic-mode-set-comments): Rework extensively.
11023 (generic-mode-find-file-hook): Simplify regexp searching.
11026 * find-lisp.el (find-lisp-find-files-internal):
11029 * generic-x.el (apache-conf-generic-mode):
11031 (rc-generic-mode): Add eval-when-compile
11034 (rul-generic-mode): Add eval-when-compile
11036 (etc-fstab-generic-mode): New generic mode.
11037 (rul-generic-mode): Remove one eval-when-compile
11046 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
11047 (dired-do-create-files): If there's only one file, pass it in as
11048 the DEFAULT arg to dired-mark-read-file-name.
11052 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
11056 (texinfo-mode-menu): Add an explicit shortcut for update all.
11119 * diff-mode.el (diff-goto-source): Emit a status message.
11154 * vc.el (vc-next-action-on-file): Update mode line only if file
11183 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
11187 * progmodes/c-mode.el (c-mode):
11190 * textmodes/tex-mode.el (latex-metasection-list): New var.
11204 (latex-mode): Set forward-sexp-function.
11210 (texinfo-mode-menu): New menu.
11213 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
11219 * delsel.el (delete-selection-mode): Use define-minor-mode.
11232 Operate on the active region in Transient Mark mode.
11234 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
11237 (authors-obsolete-files-regexps): New variable.
11238 (authors-add): Don't record changes in obsolete files.
11242 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
11259 * diff-mode.el (diff-add-log-file-name): Remove.
11260 (diff-mode): Use add-log-buffer-file-name-function.
11271 New default value is nil. Call `auto-image-file-mode'.
11273 (auto-image-file-mode): New minor mode.
11280 * emacs-lisp/authors.el (authors-print): Rephrase many-files
11285 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
11292 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
11293 (outline-mode): Use define-derived-mode.
11295 * progmodes/perl-mode.el (perl-mode):
11296 * progmodes/awk-mode.el (awk-mode):
11297 * progmodes/asm-mode.el (asm-mode):
11308 * time.el (display-time-mode): Use define-minor-mode.
11310 * subr.el (add-minor-mode): Don't eval NAME.
11318 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
11319 (cvs-ediff-diff): Fix typo.
11320 (cvs-revert-if-needed): Don't bother preserving read-only.
11322 * paren.el (show-paren-mode): Use define-minor-mode.
11324 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
11328 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
11330 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
11333 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
11335 * complete.el (partial-completion-mode) <defcustom>: Remove.
11336 (partial-completion-mode): Use define-minor-mode.
11342 * comint.el (comint-mode-hook): Docstring fix.
11343 (comint-mode): Use define-derived-mode.
11344 (comint-mode-map): Remove obsolete comment.
11355 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
11361 (tex-mode): Minor stylistic change.
11362 (plain-tex-mode): Use define-derived-mode.
11363 (latex-mode): Use define-derived-mode.
11366 (slitex-mode): Derive from latex-mode.
11443 tool-bar-lines frame parameter to default-frame-alist in batch mode.
11446 Make tool-bar-mode and default-frame-alist consistent.
11469 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
11488 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
11491 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
11498 * progmodes/fortran.el (fortran-mode): Locally set
11500 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
11501 (fortran-mode-map): Adjust auto-fill menu entry.
11519 * diff-mode.el (diff-file-header-face): Reset to its previous value.
11533 tool-bar-lines parameter, switch tool-bar-mode on.
11544 * progmodes/cperl-mode.el (top-level): Clean up
11548 (cperl-mode): Set normal-auto-fill-function and don't zap
11556 * msb.el (msb-mode-map): Use substitute-key-definition.
11557 (msb-mode): Use msb-mode-map.
11571 (vc-rcs-state-heuristic): Use it to guess the state of files with
11591 * info.el: Use the correct capitalization when making Info-mode
11592 and Info-edit-mode `special' modes.
11596 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
11597 (diff-mode): Add support for add-log.el.
11613 * diff-mode.el (diff-find-source-location):
11621 (iswitchb-mode-map): Define completely initially.
11624 fundamental-mode.
11627 (iswitchb-mode): New.
11628 (iswitchb-mode-hook): New variable.
11639 `mode-line' has a :box, and we're on a graphical frame, add 1
11654 (dired-readin): Bind indent-tabs-mode to nil.
11656 * startup.el (fancy-splash-head): If frame's background mode
11663 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
11671 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
11674 * jka-compr.el (with-auto-compression-mode): New macro.
11689 * diff-mode.el: Docstring fixes.
11718 * files.el (find-file-suppress-same-file-warnings): New user-option.
11749 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
11765 * font-lock.el (font-lock-mode): Change message telling the user
11779 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
11792 * makefile.w32-in (compile-files-CMD): No need to make .elc files
11805 (scroll-calendar-right): Make arg optional (for active mode line).
11807 * calendar/calendar.el (calendar-mode-line-format): Make fields
11813 * view.el (minor-mode-alist): Propertize the string.
11823 when mixed with mode-lines.
11857 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
11869 (strokes-mode): Customized.
11885 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
11918 (shell-mode): Make shell-write-history-on-exit the process
11963 (ansi-color-for-shell-mode): New option.
11989 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
12001 * subr.el (add-minor-mode): Use toggle-fun arg.
12013 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
12014 (diff-mode-map): Bind `diff-test-hunk'.
12054 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
12074 (frame-background-mode): Use mapc.
12081 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
12106 * diff-mode.el (diff-mouse-goto-source): New function.
12116 * vc-cvs.el: Doc fixes.
12117 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
12118 (vc-cvs-stay-local): Add :version.
12130 * faces.el (frame-set-background-mode): Use frame-parameter
12211 * vc-hooks.el (vc-default-mode-line-string): Remove CVS special
12214 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
12239 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
12262 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
12263 (vc-log-mode): Make it into a clean derived major mode.
12264 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
12265 vc-log-mode if log-edit is not available.
12266 (vc-dired-mode-map): Don't set-keymap-parent yet.
12267 (vc-dired-mode): Do set-keymap-parent here.
12289 * sql.el (sql-mode-menu): Work around missing variable mark-active
12291 (sql-mode): Add call to easy-menu-add for XEmacs compatibility.
12292 (sql-interactive-mode): Add call to easy-menu-add for XEmacs
12299 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
12331 * vc-cvs.el (vc-cvs-show-log-entry): New function.
12333 * vc-hooks.el (vc-default-mode-line-string): Show state
12350 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
12352 (vc-cvs-remote-p): Rename to vc-cvs-stay-local-p.
12354 (vc-cvs-responsible-p): Handle directories as well.
12355 (vc-cvs-could-register): New function.
12356 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
12367 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
12371 diff-mode.
12375 * vc-cvs.el (vc-cvs-registered): Use new function
12376 vc-cvs-parse-entry to do the actual work.
12387 (vc-dired-mode-map): Inherit from dired-mode-map.
12388 (vc-dired-mode): Local value of dired-move-to-filename-regexp
12396 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
12397 (vc-cvs-dir-state): New function.
12398 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
12399 (vc-cvs-parse-entry): New function, also to be used in
12400 vc-cvs-registered.
12419 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
12420 control-flow more clear and to avoid running `cvs' twice.
12423 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
12431 * vc-cvs.el (vc-cvs-workfile-version): Remove comment that this
12433 (vc-cvs-merge): Set state to 'edited after merge.
12434 (vc-cvs-merge-news): Set workfile version to nil if not known.
12435 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
12437 * vc-cvs.el, vc-rcs.el, vc-sccs.el (vc-*-checkout): Switch off
12463 (vc-dired-mode-map): Don't inherit from dired-mode-map since
12464 define-derived-mode will do it for us. Bind `v' to a keymap that
12469 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
12480 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
12481 (vc-cvs-retrieve-snapshot): New function (untested).
12482 (vc-cvs-stay-local): Default to t.
12483 (vc-cvs-remote-p): New function and property.
12484 (vc-cvs-state): Stay local only if the above is t.
12485 (vc-handle-cvs): Remove.
12486 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
12488 (vc-cvs-header): Escape Id.
12504 (vc-dired-mode-map): Inherit from dired-mode-map.
12506 (vc-dired-mode): Fix dired-move-to-filename-regexp.
12570 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status):
12572 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
12598 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
12633 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
12638 (vc-ignore-vc-files): Mark obsolete.
12639 (vc-registered): Check vc-ignore-vc-files.
12641 vc-ignore-vc-files.
12643 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
12648 files since ange-ftp already has vc-registered return nil.
12677 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer.
12680 (vc-cvs-fetch-status): Use with-current-buffer.
12712 * vc-cvs-hooks.el: Merge into vc-cvs.el
12713 * vc-cvs.el: Merge in code from vc-cvs-hooks.el.
12714 (proto vc-cvs-registered): Require 'vc-cvs instead of
12715 'vc-cvs-hooks. Don't require 'vc anymore.
12716 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
12718 (vc-cvs-create-snapshot): New function, replacing
12719 vc-cvs-assign-name.
12720 (vc-cvs-assign-name): Remove.
12724 * vc-cvs.el (vc-cvs-header): New var.
12742 * vc-rcs.el, vc-sccs.el, vc-cvs.el: Update calls to vc-do-command by either
12767 (vc-file-tree-walk-internal): Only call FUNC for files that are
12803 * vc-cvs.el: Update Copyright.
12804 (vc-cvs-diff): Remove unused `backend' variable.
12805 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
12807 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
12862 (vc-default-state-heuristic, vc-default-mode-line-string):
12889 * vc-cvs.el (tail): Provide vc-cvs.
12906 `smerge-mode' if applicable.
12910 (vc-log-edit): New function. Replacement for `vc-log-mode' by
12912 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
12919 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
12921 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
12926 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
12942 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Remove call to
12961 * vc-hooks.el (vc-loadup): Load files quietly.
12966 * vc-cvs.el (vc-cvs-state): Typo.
12967 (vc-cvs-merge-news): Return the status code rather than the error msg.
12972 (vc-dired-mark-locked): Replace usage of vc-locking-user with
13002 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
13004 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
13006 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
13007 (vc-cvs-checkin): Do a trivial parse to set the state in case of
13011 (vc-cvs-logentry-check): Remove, the default works as well.
13015 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
13018 major-mode in which the buffer might have been put earlier.
13033 * vc-cvs.el (vc-cvs-stay-local): Rename from
13034 vc-cvs-simple-toggle. Redocumented.
13035 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
13036 (vc-cvs-toggle-read-only): Remove.
13040 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
13048 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
13050 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
13051 (vc-dired-mode-map): Properly defvar it.
13052 (vc-print-log): Call log-view-mode if available.
13054 (vc-merge-news): Move to vc-cvs.el.
13097 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
13098 (vc-cvs-release, vc-cvs-system-release): Remove.
13099 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
13100 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
13102 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
13103 (vc-cvs-toggle-read-only): First cut at a function to allow a
13104 cvs-status-free vc-toggle-read-only.
13105 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
13106 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
13107 vc-cvs-status. Also set vc-state rather than vc-locking-user.
13108 (vc-cvs-checkout): Modify access rights directly if the user
13109 requested not to use `cvs edit'. And refresh the mode line.
13111 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
13112 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
13116 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
13122 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
13123 (vc-cvs-state): Be careful to return the value from
13124 vc-cvs-parse-state.
13125 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
13131 (vc-annotate-mode-map, vc-annotate-mode-syntax-table):
13137 (vc-annotate-mode-variables): Remove (code moved partly to
13139 (vc-annotate-mode): Turned into a derived-mode.
13141 vc-annotate-mode-variables.
13146 * vc-cvs.el (vc-cvs-revert, vc-cvs-checkout): References to
13147 `vc-checkout-model' updated to `vc-cvs-update-model'.
13179 * vc-cvs-hooks.el (vc-cvs-registered): Fix bug that caused it to
13193 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
13200 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
13231 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
13249 * vc-cvs.el (vc-cvs-logentry-check): New function.
13263 * vc-cvs.el (vc-cvs-revert, vc-cvs-checkout): Function calls to
13264 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
13312 * vc-cvs.el (vc-cvs-admin): Add the query-only option as
13322 * vc-cvs.el (vc-cvs-annotate-difference): Update to handle
13328 Variables `vc-annotate-mode', `vc-annotate-buffers',
13336 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
13345 * vc-cvs-hooks.el (vc-cvs-registered): Update.
13360 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
13373 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
13378 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
13382 and moved it from the vc-cvs.el file to this one.
13392 (vc-mode-line-string): New name for former vc-status. Adapted.
13393 (vc-mode-line): Adapt to use the above. Remove optional parameter.
13395 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
13402 interaction with view mode according to recent RCS change.
13420 the vc-backend.el files.
13428 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
13458 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
13459 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
13460 (vc-cvs-registered): Does the check itself now. Simplify.
13462 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
13467 * vc-cvs.el (vc-cvs-diff): New function.
13476 backend files.
13480 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
13483 the vc-backend.el files.
13488 vc-backend.el files.
13506 (vc-dired-mode): Make the dired-move-to-filename-regexp
13515 (vc-dired-mode-map): Defvar when compiling.
13526 * vc-cvs.el: Require vc when compiling.
13527 (vc-cvs-register-switches): Doc fix.
13529 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
13530 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
13562 * vc-cvs.el: Moved the annotate functionality from vc.el.
13563 (vc-cvs-admin, vc-cvs-fetch-status): Add from vc.el.
13575 * vc-cvs.el (vc-cvs-system-release):
13576 Rename from vc-cvs-backend-release.
13580 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Move to
13581 backend files.
13589 * vc-cvs.el (vc-cvs-release): Move from vc.el.
13590 (vc-cvs-backend-release): New function.
13592 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
13594 (vc-fetch-cvs-status): Move to vc-cvs.el and renamed.
13599 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status):
13628 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
13630 (vc-cvs-find-master): Use this name only; correct different
13654 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
13660 specific files anyway.
13676 * vc-cvs-hooks.el (vc-cvs-checkout-model): Rename to
13677 vc-cvs-uses-locking. Don't set property here; leave that to
13679 (vc-cvs-locking-user): Reflect above change. Streamlined.
13693 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
13695 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
13703 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
13704 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
13727 * vc-cvs-hooks.el: Require vc-hooks when compiling.
13728 (vc-cvs-master-templates): Improve :type.
13729 Use vc-cvs-find-cvs-master.
13730 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Move here
13732 (vc-vc-find-cvs-master): Rename to vc-cvs-find-cvs-master.
13734 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
13735 Move to vc-cvs-hooks.
13738 minor mode setup.
13747 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
13751 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
13776 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
13777 (vc-cvs-registered): Doc fix.
13784 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
13788 backend specific files. they all support the
13799 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar):
13817 minor-mode keymaps, if they don't have one.
13832 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
13846 * eshell/esh-var.el (pcomplete/eshell-mode/unset):
13893 * diff-mode.el (diff-mode) <defgroup>: Add :version.
13894 (diff-mode-shared-map): Bind mouse-2.
13896 (diff-mode): Use it.
13898 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
13899 (mouse-popup-menubar): Add minor mode menus.
13956 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
13993 * eshell/esh-mode.el (eshell-repeat-argument): Add function,
13996 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
14014 * eshell/esh-mode.el (eshell-find-tag): Add a special version of
14017 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
14029 * eshell/esh-mode.el (eshell-parse-command-input): When a user
14039 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
14043 * eshell/esh-mode.el (eshell-move-argument):
14049 * eshell/em-unix.el (eshell-shuffle-files): Add use of `apply',
14228 since this is now done independently of font-lock mode.
14234 (server-visit-files): When using an existing buffer, set
14300 (backward-kill-sexp, mark-sexp): Make arg optional.
14340 `force-mode-line-update'; why is it here?
14410 for old NEWS files.
14417 * files.el (insert-directory): Don't lose original file name,
14429 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
14468 * mail/mailabbrev.el (mail-abbrevs-mode):
14469 * textmodes/tex-mode.el (tex-expand-files):
14470 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
14477 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
14478 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
14479 (cvs-mouse-toggle-mark): Don't move point.
14480 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
14482 * progmodes/compile.el (grep): Provide a default set of files.
14486 * emacs-lisp/easy-mmode.el (define-minor-mode):
14489 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
14495 * smerge-mode.el (smerge-mode-menu): Doc fix.
14497 * msb.el (msb-mode): Define it in terms of define-minor-mode.
14533 member of minor-mode-alist, unless it is boundp.
14601 (minor-mode-alist): Propertize the lighter.
14602 (glasses-mode): Provide optional arg.
14605 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
14609 (cwarn-mode): Doc fix.
14629 (msb-mode-map): Add title to keymap.
14636 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
14662 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
14698 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
14716 * files.el (recover-file): Call insert-directory instead of
14731 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
14740 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
14741 Set cvs-minor-current-files to the selected fileinfo.
14742 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
14743 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
14747 * files.el (insert-directory): Don't call access-file on
14778 * files.el (auto-mode-interpreter-regexp): New variable.
14779 (set-auto-mode): Use it.
14783 * mouse-sel.el (mouse-sel-mode): Doc fix.
14785 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
14794 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
14824 (comint-backward-matching-input, comint-forward-matching-input)
14832 (comint-mode): Make `comint-last-output-overlay' buffer-local.
14848 explicitly matching comint-prompt-regexp.
14850 explicitly matching comint-prompt-regexp.
14863 * files.el (shell-quote-wildcard-pattern): Make sure to return
14878 * help.el (describe-mode): Test minor-mode symbol for being
14881 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
14921 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
14944 Spell-check active region if in transient-mark-mode and mark
14954 * progmodes/ebrowse.el (ebrowse-tree-mode-map):
14956 (ebrowse-member-mode-map): Ditto.
14986 (strokes-mode): Call display-mouse-p instead of looking at
15009 * files.el (shell-quote-wildcard-pattern): New function.
15080 (sql-mode-oracle-font-lock-keywords): Add PL/SQL keywords, data
15098 (sql-interactive-mode): Use `sql-input-ring-separator' and
15099 `sql-input-ring-file-name' to set the comint-mode equivalents
15102 `sql-input-ring-file-name' dynamically to their comint-mode
15158 * files.el (normal-backup-enable-predicate):
15172 * progmodes/make-mode.el (makefile-mode-abbrev-table):
15174 (makefile-mode): Remove duplicate setting of local-abbrev-table.
15176 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
15177 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
15228 (mouse-major-mode-menu-prefix): Declare.
15260 * Release of cc-mode 5.27
15285 * progmodes/cc-mode.el (java-mode): Use c-append-paragraph-start to
15291 when editing both java and non-java files at the same time
15364 * progmodes/cc-langs.el, progmodes/cc-mode.el
15441 multiline comments in multiline mode, regardless of
15453 moved to c-initialize-cc-mode. More compatible style override
15455 * progmodes/cc-mode.el (c-initialize-cc-mode): Handling of obsolete
15490 * progmodes/ada-mode.el: Got rid of all byte-compiler warnings on
15494 part of the Ada syntax. Better compatibility with else-mode.
15507 files.
15527 huge speedup on some files. New indentation scheme for renames
15533 (ada-goto-matching-decl-start): When matching "if", make sure we
15557 (ada-matching-decl-start-re): Add "when".
15558 (ada-mode): Add support for abbrev-mode, outline-mode and
15559 which-func-mode Override the old find-file.el entry in
15574 (ada-xemacs): Evaluate it at compile time too, so that ada-mode.el
15578 Add to the menu when the file is loaded, not in ada-mode-hook.
15606 (ada-mode-hook): Always load a project file when a file is opened,
15643 (ada-xref-project-files): New variable.
15661 Ada mode. This will allow us to display the Ada menu in any buffer
15683 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
15685 Use add-minor-mode to set minor-mode-alist, if available.
15689 (eldoc-mode): If not using idle timers, append to local post and
15693 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
15697 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
15698 auto save directory exists before calling directory-files.
15710 * smerge-mode.el (smerge-mode-menu): Fill it out.
15765 (comint-mode-map): Bind mouse-2.
15772 (mouse-major-mode-menu): Use it.
15776 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
15791 * hl-line.el (hl-line-highlight): Check hl-line-mode.
15801 * files.el (insert-directory): Call `split-string' instead of
15814 * recentf.el (recentf-open-files): New command that works like
15815 `recentf-open-more-files', but shows the whole list of files (not just
15817 (recentf-open-more-files) Modified to use `recentf-open-files'.
15819 (recentf-open-files, recentf-open-more-files)
15820 (recentf-edit-list): Dialogs use `recentf-dialog-mode'
15822 (recentf-dialog-mode): New mode for dialogs. You can now just type
15831 recent files list:
15851 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
15893 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
15919 * info.el (Info-mode-menu): Fix use of :help, :enable.
15935 * faces.el (frame-background-mode): Doc fix.
15944 (fortran-mode-menu): Reinstate customize entries.
15964 (fortran-mode-syntax-table): Defvar directly.
15968 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
15969 (fortran-mode): Set fortran-comment-line-start-skip,
15979 (fortran-auto-fill-mode, fortran-fill-statement):
15998 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
16016 (dired-mode-map): Bind `a' to dired-find-alternate-file.
16106 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
16118 * calendar/todo-mode.el: Replaced with a working version, based on
16143 * frame.el (blink-cursor-mode): Don't hide cursor initially.
16191 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
16204 attribute from mode-line face of Ediff control frame.
16210 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
16219 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
16222 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
16223 * pcmpl-unix.el: New files.
16251 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
16284 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
16287 (global-font-lock-mode): Use mapc.
16301 * faces.el (tool-bar, mode-line, header-line): Specify foreground
16312 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
16326 * files.el (basic-save-buffer-2): When temporarily setting
16334 * files.el (make-backup-file-name-1): On DOS/Windows, run the
16373 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
16385 (jit-lock-mode): Make non-interactive.
16387 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
16418 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
16438 * faces.el (frame-background-mode): Use set-default, not set, in
16468 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
16501 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
16504 Don't bother checking for font-lock-mode and jit-lock-mode.
16537 * arc-mode.el (archive-mode-map): Use the new menu-item format for
16557 * info.el (Info-set-mode-line): Show file name in mode line,
16567 (partial-completion-mode): Initialize PC-env-vars-alist from
16595 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
16652 * startup.el (command-line): Only call menu-bar-mode if interactive.
16656 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
16674 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
16675 (cvs-cleanup-removed): New function.
16676 (cvs-cleanup-functions): New var.
16677 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
16679 (cvs-quickdir): New function.
16680 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
16681 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
16682 (cvs-mode-find-file): Check that we are on a filename or dirname
16684 (cvs-full-path): Remove.
16685 (cvs-dired-action): Re-introduced.
16686 (cvs-dired-noselect): Use it.
16689 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
16690 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
16691 (cvs-filename-map, cvs-dirname-map): Remove.
16692 (cvs-default-action): Remove.
16693 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
16695 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
16697 the var cvs-fi-<type>-face instead.
16698 (cvs-fileinfo-from-entries): New function.
16700 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
16702 (cvs-find-file-and-jump): Change default to be safer.
16703 (cvs-mode-diff-map): Define it as a function as well.
16704 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
16707 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
16735 Handle easy-mmode-define-global-mode.
16736 For complex macros like define-minor-mode that can generate
16740 * emacs-lisp/easy-mmode.el (define-minor-mode):
16747 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
16748 (define-derived-mode): Move define-abbrev-table outside of defvar.
16754 (backup-compiled-files): Ignore errors during `tar'.
16755 (bootstrap): Make autoloads before elc files.
16767 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
16775 * files.el (after-save-hook): Customize, with
16815 (align-open-comment-modes): Add python-mode.
16820 basic-comma-delimiter. Use if for Perl modes and python-mode.
16826 * apropos.el (apropos-mode-hook): New user variable.
16827 (apropos-mode): Run apropos-mode-hook.
16831 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
16837 (recentf-open-more-files, recentf-edit-list): Minor changes to
16840 files.
16941 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16942 * hl-line.el (hl-line-mode): Use the new :global key argument.
16944 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
16946 (tar-grind-file-mode): Construct a string rather than modifying one.
16950 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
16964 (mh-letter-mode): Derive from text-mode.
16977 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
16978 Use find-file-hooks in the minor-mode function.
16995 (jit-lock-mode): Fix docstring.
17008 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
17009 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
17011 (define-minor-mode): Inline code from easy-mmode-define-toggle.
17015 (easy-mmode-define-global-mode): New macro.
17058 (easy-mmode-define-toggle, define-minor-mode): Use it.
17060 (define-derived-mode): Default PARENT to fundamental-mode.
17061 Add the derived-mode-parent symbol-property.
17062 (easy-mmode-derived-mode-p): New function.
17066 * files.el (convert-standard-filename): Doc fix.
17070 * calendar/todo-mode.el: [This needs more work on the outline
17077 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
17080 * autoarg.el: Rewritten to use define-minor-mode.
17081 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
17082 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
17090 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
17098 * hl-line.el: Rewritten using define-minor-mode.
17205 * progmodes/perl-mode.el (perl-indent-line): When looking for a
17223 * jit-lock.el (jit-lock-mode): Add after change function to
17228 * progmodes/antlr-mode.el: New commands: hide/unhide actions,
17233 (antlr-mode-map): New binding [C-c C-v].
17234 (antlr-mode-menu): New entries.
17238 * progmodes/antlr-mode.el: Minor changes: indentation, mode-name.
17240 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
17242 * progmodes/antlr-mode.el: XEmacs bug workaround, XEmacs hint.
17245 (antlr-mode): Set symbol property `mode-name' to "Antlr".
17314 (define-derived-mode): Only define if needed.
17340 * smerge-mode.el (smerge-diff-switches): Don't use list* in
17350 * hilit-chg.el (highlight-changes-mode): Ask about color or
17443 on all files, since woman-file-regexp already filters out any
17491 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
17496 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
17511 * files.el (make-backup-file-name-1): Replace slashes with `!'
17519 * files.el (interpreter-mode-alist): Add `bash2'.
17530 * files.el (parse-colon-path): Doc fix.
17531 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
17532 (set-auto-mode): Use mapc.
17536 (partial-completion-mode): Add autoload cookie.
17545 * bindings.el: Remove debug-ignored-errors set in other files.
17612 * emulation/crisp.el (brief-mode): New alias.
17632 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
17634 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
17635 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
17640 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
17642 Use add-minor-mode.
17643 (easy-mmode-define-derived-mode): Remove.
17644 (define-derived-mode): Fancier default docstring.
17679 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
17682 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
17694 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
17698 * dired.el (dired-between-files): Also skip lines beginning with
17751 * autoarg.el (autoarg-mode): Typo in the :set argument.
17756 directory for auto-save-list files does not yet exist.
17790 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
17799 (speedbar-mode): Avoid a compiler warning.
17869 (speedbar-mode): Use `speedbar-mode-line-update' instead of
17870 `force-mode-line-update'.
17871 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
17947 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
17951 * calendar/todo-mode.el: Remove some compatibility stuff and CL
17966 * calendar/todo-mode.el: New file.
17985 (add-minor-mode): Don't make the variable buffer-local and add a
17986 reference to define-minor-mode in the docstring.
17988 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
17990 (cvs-append-to-ignore): Use vc-editable-p if available.
17991 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
17995 (log-view-minor-wrap): Use mark-active.
17997 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
18004 Replace the `cvs' prefix with `log-edit'.
18008 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
18017 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
18072 * abbrev.el (abbrev-mode): Make ARG optional.
18078 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
18086 (glasses-mode): Call `glasses-make-unreadable' only in a single
18107 * make-mode.el (makefile-mode-abbrev-table): New variable.
18108 (makefile-mode): Set local abbrev table to
18109 makefile-mode-abbrev-table.
18112 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
18118 (mail-mode-map): Bind it to `M-TAB'.
18126 * files.el (recover-session): Make directories as necessary
18144 (normal-top-level): Create the directory for auto-save files, if
18177 * files.el (make-auto-save-file-name):
18182 * files.el (backup-enable-predicate):
18187 * subr.el (add-minor-mode): Rewritten.
18209 * subr.el (add-minor-mode): Use `set' instead of `setq'.
18227 * subr.el (add-minor-mode): Make argument MAP optional.
18231 (desktop-minor-mode-table): New user-option.
18233 * subr.el (add-minor-mode): New function.
18263 Use them instead of the check for a region in Transient Mark mode.
18265 start and end of the region in Transient Mark mode.
18331 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
18361 (texinfo-mode-map): Add key bindings for them.
18363 * files.el (basic-save-buffer-2): Use a template with `$'
18376 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
18381 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
18382 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
18396 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
18399 * gud.el (gud-jdb-build-source-files-list): Fix typo.
18401 * files.el (backup-enable-predicate): Unquote the lambda.
18416 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
18421 * gud.el (gud-jdb-build-source-files-list): Check that directory
18422 exists before calling directory-files.
18453 * diary-lib.el (include-other-diary-files): Fix the fix of
18493 (Info-mode-menu): Add some items.
18503 * progmodes/ebrowse.el (ebrowse-tree-mode):
18505 (ebrowse-update-member-buffer-mode-line): Likewise.
18506 (ebrowse--mode-strings): Remove.
18507 (ebrowse--mode-line-props): Remove.
18509 * files.el (auto-mode-alist): Add `EBROWSE'.
18516 (ebrowse-tree-mode): Read tree from buffer.
18531 * files.el (backup-enable-predicate):
18577 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
18580 * progmodes/make-mode.el: Some doc fixes.
18581 (makefile-mode-abbrev-table): New variable.
18582 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
18605 (glasses-mode): Try to remove old overlays in all cases.
18620 (dabbrev--find-expansion): Ignore buffers matching a regexp
18628 * files.el (insert-directory): List the total free space
18745 (network-connection-mode): New mode, derived from comint-mode.
18746 (network-connection-mode-setup): New function, saves host and
18751 Run dired-mode-hook
18789 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
18791 (log-edit-mode-hook): Default to vc-log-mode-hook.
18792 (log-edit-mode): Fix the docstring.
18803 * files.el: Doc fixes.
18809 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
18820 (compile-files): Compile files from COMPILE_FIRST first.
18825 matching open parenthesis in column 0 to defun-prompt-regexp
18832 (msb--choose-menu, msb--mode-menu-cond)
18899 * progmodes/make-mode.el (makefile-warn-suspicious-lines):
18915 * files.el (find-file-run-dired): Update docstring.
18920 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
18923 (cvs-make-cvs-buffer): Change the header part by removing the startup
18927 (cvs-update-header): Update to use the header/footer of the ewoc.
18928 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
18929 (cvs-is-within-p): New function.
18930 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
18933 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
18936 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
18938 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
18940 (cvs-parse-table): Catch message for non-up-to-date commits.
18942 * pcvs-defs.el (cvs-startup-message): Remove.
18943 (cvs-global-menu): New autoloaded menu.
18945 * pcvs-util.el (cvs-string-fill): Remove.
18960 (log-view-mode): Use the new define-derived-mode.
18963 * cvs-status.el (cvs-status-(prev|next)): Rename from
18964 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
18965 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
18967 (cvs-status-mode): Use the new define-derived-mode.
18969 * smerge-mode.el (smerge-auto-leave): New function and variable.
18992 * diff-mode.el (diff-mode-*-map): Use `easy-mmode-defmap'.
19001 (diff-mode): Use `define-derived-mode'.
19003 * derived.el (define-derived-mode): Don't autoload anymore.
19006 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
19007 `easy-mmode-define-derived-mode'. Use `combine-run-hooks'.
19051 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
19058 * view.el (view-mode-disable): Kill local binding of view-read-only.
19068 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
19069 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
19070 try to use passive ftp mode.
19074 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
19087 * pcvs-util.el (cvs-strings->string): Rename replace-regexps-in-string.
19101 (f90-mode-hook): Customize.
19102 (f90-mode): Set add-log-current-defun-function.
19152 * recentf.el (recentf-keep-non-readable-files-p):
19164 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
19167 * bindings.el (mode-line-format): Fix line-number and
19169 (mode-line-mule-info): Modify help-echo.
19171 * avoid.el (mouse-avoidance-mode): Add autoload cookie to defcustom.
19173 * files.el (load-file): Allow completion to .elc.
19182 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
19199 * cvs-status.el, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
19200 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
19209 (easy-mmode-define-derived-mode): Improve the docstring generation.
19222 (easy-mmode-define-derived-mode): New macros.
19233 (fortran-mode-map): Remove over-eager custom-menu-create for now.
19234 (fortran-mode): Don't set fortran-comment-line-start-skip,
19270 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
19271 from comint-mode-map, so we can just inherit from it. Also, move
19274 (inferior-scheme-mode): Define it as derived-mode: the code is
19275 shorter and this way we inherit from comint-mode-map rather than
19287 * Makefile (compile-files): Compile files one by one because
19295 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
19300 * files.el (auto-mode-alist): Add configure.in.
19308 * recentf.el (recentf-keep-non-readable-files-p): Quote args
19373 * frame.el (blink-cursor-mode): Switch cursor on when turning
19374 the mode off.
19377 Autoconf mode.
19383 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
19394 * image.el (defimage): Look for image files in load-path.
19408 (recentf-open-more-files-action): `recentf-open-more-files' button
19410 (recentf-open-more-files): No more use standard completion but widgets.
19417 * recentf.el (recentf-mode): No more needs that Emacs is running
19423 list which allow the user to remove files.
19425 `recentf-edit-list' to hold the list of files to be removed from
19432 * recentf.el (recentf-open-more-files): New command to open files
19435 permissible completions used by `recentf-open-more-files'.
19437 used by `recentf-open-more-files' completion.
19439 `recentf-open-more-files'.
19501 (calculator-restart-other-mode): New variable.
19502 (calculator-mode-map): Set up menu.
19512 (viper-goto-mark-subr): Restore markers for files for which
19518 * viper.el (viper-vi-state-mode-list): Add major modes.
19525 (mode-line, header-line, tool-bar): Same default as x for w32.
19542 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer writable.
19552 * diary-lib.el (include-other-diary-files): Undo the selective
19557 * dired.el (dired-mode-map): Don't remove "Edit" from the menu bar.
19588 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
19606 * international/encoded-kb.el: Be sure to update minor-mode-alist
19607 and minor-mode-map-alist.
19612 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
19615 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte characters.
19616 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t locally.
19620 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
19621 (lisp-mode-map, lisp-interaction-mode-map): Define all inside defvar.
19622 (lisp-mode-syntax-table): Set up for #|...|# comments.
19625 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
19636 emacs-lisp-mode-syntax-table when moving forward over the
19644 (xterm-mouse-mode): Use it. Don't turn on under a window system.
19661 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
19677 * dired.el (dired-mode): Call propertized-buffer-identification
19678 to set mode-line-buffer-identification to something having
19685 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
19704 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
19705 Fix omission bug: Run `hs-minor-mode-hook' for both activation
19716 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
19755 * textmodes/bibtex.el (bibtex-mode): Replace manual splitting of path
19787 (bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode)
19842 (bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode)
19853 (bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode)
19864 * textmodes/bibtex.el (bibtex-mode): Use with-temp-buffer rather
19905 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
19935 * bindings.el (mode-line-input-method-map): New variable.
19936 (mode-line-mule-info): Use it; fix last change.
19937 (mode-line-mode-menu): Move definition.
19938 (mode-line-mouse-sensitive-p): Delete.
19939 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
19940 (make-mode-line-mouse-sensitive): Delete. Body moved to top level.
19943 make-mode-line-mouse-sensitive.
19952 * diff-mode.el (diff-kill-junk): New interactive function.
19955 outside of any diff hunk. This is necessary for the minor-mode.
19956 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
19957 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
19960 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
19961 so that it can be used more easily in <foo>-mode-hook. Also make sure
19963 (font-lock-update-removed-keyword-alist): Rename `major-mode'->`mode'.
19965 work even if font-lock-mode is nil. Also make sure we don't modify
19967 `major-mode' to `mode'.
19985 * bindings.el (mode-line-mule-info): Fix/extend last change.
19989 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist, dotimes.
20024 (idlwave-shell-mode): Set `modeline-format'.
20025 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
20036 emacs-lisp-mode-hook. Don't check for defalias being defined.
20058 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
20092 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
20127 w32 console mode.
20170 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
20203 progmodes/ebnf-yac.el: New files.
20226 * fortran.el (fortran-mode): Use beginning-of-defun-function,
20265 * files.el (user-init-file): Don't declare here -- is primitive.
20324 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
20333 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Rename from
20349 * emacs-lisp/lisp-mode.el (with-syntax-table):
20367 * array.el (array-mode): Don't use make-variable-buffer-local.
20421 replace in recursive query replace mode. Help message for
20422 recursive edit mode.
20460 for .png files.
20468 * progmodes/cperl-mode.el: Replace ^F with ^L.
20490 * bindings.el (make-mode-line-mouse2-map): New function.
20491 (mode-line-modified): Use it and simplify.
20492 (mode-line-mule-info): Provide help-echo info.
20493 (minor-mode-alist): Activate the strings.
20494 (make-mode-line-mouse-sensitive): Simplify for
20495 mode-line-buffer-identification.
20508 * textmodes/outline.el (outline-mode-menu-bar-map):
20510 (outline-mode): Define imenu-generic-expression.
20513 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
20515 (paragraph-indent-minor-mode): New command.
20517 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
20519 (fortran-mode): Set beginning-of-defun, end-of-defun.
20521 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Delete.
20523 (fortran-indent-subprogram): Call mark-defun.
20524 (fortran-check-for-matching-do): Change narrowing.
20587 * ps-print.el: PostScript code now is in separate files, doc fix.
20596 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
20613 * autorevert.el (auto-revert-mode): Return value of auto-revert-mode.
20617 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
20661 (display-color-p, frame-set-background-mode): Pass the frame to