X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/e5d1dee9111cd8088bfbff62c831e3345d14c99b..e61889649743a8e88fc5bddeacc597b2f47cfe9b:/lisp/ChangeLog diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 171adba767..82e39f4475 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,313 @@ +2001-10-31 Richard M. Stallman + + * bindings.el (mode-line-frame-identification): Add doc string. + (mode-line-position, mode-line-modes): New variables. + (mode-line-format): Use mode-line-position for the part + that displays the position-in-buffer info. Use + mode-line-modes for the part that displays major and minor modes. + +2001-10-31 Sam Steingold + + * emacs-lisp/debug.el (debugger-make-xrefs): New function. + (debugger-setup-buffer): Call it. + (debugger-mode-map): Bind RET and mouse-2. + +2001-10-31 Pavel Jan,Bm(Bk + + * startup.el: Document command line option --no-window-system + instead of --no-windows. + +2001-10-30 Stefan Monnier + + * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip. + + * font-lock.el (java-font-lock-syntactic-face-function): New fun. + (font-lock-defaults-alist): Use it. + From David Ponce + + * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare + output of `char-after'. + + * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e. + + * simple.el (reindent-then-newline-and-indent): Insert the newline + before indenting the first line. + (undo-get-state, undo-revert-to-state): New funs. + (shell-command): Don't kill the buffer even if empty. + (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1) + (transpose-subr-end2): Remove. + (transpose-subr): Add `special' arg and simplify. + (transpose-subr-1): Rewrite. + (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p. + (rfc822-goto-eoh): Simplify. + +2001-10-30 Richard M. Stallman + + * enriched.el (enriched-face-ans): FIx previous change. + +2001-10-30 Gerd Moellmann + + * international/iso-acc.el (iso-accents-compose): Remove a + superfluous setq. + +2001-10-30 Eli Zaretskii + + * buff-menu.el (list-buffers-noselect): If the buffer's name + starts with a blank, but it visits a file, do show it (for files + whose names start with a blank). + +2001-10-30 Stefan Monnier + + * textmodes/fill.el (sentence-end-double-space) + (sentence-end-without-period): Move to paragraphs.el. + (fill-indent-according-to-mode): Change default to t. + (fill-context-prefix): Simplify control-flow and use a more + sophisticated merge that unifies both previous checks. + (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs. + (fill-nobreak-predicate): Make it into a defcustom'd hook. + (fill-nobreak-p): New fun. + (fill-region-as-paragraph): Use it. + Handle `fill-indent-according-to-mode' slightly differently. + (fill-individual-paragraphs-prefix): Simplify the control-flow. + (fill-individual-paragraphs-citation): Fix. + + * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode. + (paragraph-start): Change default to the `text-mode' value. + (sentence-end-double-space, sentence-end-without-period): + Move from fill.el. + (forward-paragraph): Use `parstart' and `parsep' for temp variables + rather than rebinding `paragraph-start' and `paragraph-separate'. + + * indent.el (indent-line-function): Change default to indent-relative. + (tab-always-indent): Add an `never' setting. + (indent-according-to-mode): Handle `indent-relative' and + `indent-relative-maybe' specially. + (indent-for-tab-command): Rename `prefix-arg' to `arg'. + Handle the `never' case for `tab-always-indent'. + Don't call indent-according-to-mode for indent-relative' and + `indent-relative-maybe'. + (insert-tab): Rename `prefix-arg' to `arg'. + (indent-region): Indent the first line as well. + (indent-relative): Don't mark the buffer modified if the indentation + is unchanged. + + * textmodes/text-mode.el (paragraph-indent-minor-mode): + Don't set paragraph-separate. Set paragraph-start more carefully. + Set indent-line-function. + (paragraph-indent-text-mode): Use it and define-derived-mode. + (text-mode-map): Remove the \t binding. + (text-mode): Simplify now that the default is more favorable. + +2001-10-29 Stefan Monnier + + * emacs-lisp/find-func.el (find-function-search-for-symbol): + If the regexp doesn't match, use a looser one. + (find-variable-noselect): Add `file' argument. + + * pcvs.el (cvs-mode-commit-hook): New hook. + (cvs-mode-commit): Run it. + + * log-edit.el (log-edit): Run hook after `log-edit-files'. + + * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec. + (edebug-instrument-function): Use `find-function-noselect'. + +2001-10-29 Richard M. Stallman + + * term.el (term-if-emacs19): Macro deleted. + Callers changed to use progn instead. + + * frame.el (blink-cursor-mode): Doc fix. + + * files.el (find-backup-file-name): Use make-backup-file-name. + + * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to + window-live-p. + (edebug-set-conditional-breakpoint): Unconditionally use + the former Emacs >=19 definition. + (edebug-mark): Define unconditionally. + (edebug-eval-expression): Always call read-from-minibuffer + and specify history list. + (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p, + edebug-set-conditional-breakpoint. + (edebug-emacs-version-specific): Function deleted; + do the job at top level. + (edebug-emacs-19-specific): Function deleted, this is the default. + +2001-10-29 Sam Steingold + + * w32-fns.el (convert-standard-filename): Handle cygwin-specific + "/cygdrive/LETTER/" pathnames. + +2001-10-29 Eli Zaretskii + + * faces.el (invert-face): Check for 'unspecified, not for nil, + when testing whether face colors are not specified. + From David.Kastrup@t-online.de (David Kastrup). + (read-face-name): Doc fix. + (make-face-bold, make-face-unbold, make-face-italic) + (make-face-unitalic, make-face-bold-italic, invert-face): + Remove trailing blank from the prompt passed to read-face-name. + +2001-10-29 Sam Steingold + + * emacs-lisp/bytecomp.el (byte-recompile-directory): + Report numbers of files skipped and failed too. + (byte-compile-file): Return 'no-byte-compile for skipped files. + +2001-10-29 Kai Gro,A_(Bjohann + + * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n' + and `M p'. + +2001-10-29 Gerd Moellmann + + * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR + as is on unread-command-events instead of `(SECOND-CHAR)'. + +2001-10-29 Andre Spiegel + + * vc.el: Mention vc-*-switches in backend API documentation. + (vc-annotate): Adapt doc string to recent change. + +2001-10-29 Gerd Moellmann + + * enriched.el (enriched-face-ans): Handle face attributes + of the form `(FACE1 FACE2 ...)'. + + * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers. + +2001-10-29 Alex Schroeder + + * progmodes/sql.el (sql-mysql): Doc change by RMS. + + * progmodes/sql.el (sql-db2): Doc change. + (sql-help): Doc change by Christian Egli . + (sql-mysql): Doc change by Christian Egli . + +2001-10-29 Gerd Moellmann + + * env.el (substitute-env-vars): Don't quote argument to `rx'; + it's a macro. + +2001-10-28 Per Abrahamsen + + * cus-start.el (recursive-load-depth-limit): Added. + +2001-10-28 Richard M. Stallman + + * textmodes/ispell.el (version18p, version20p): Vars deleted. + All uses removed--assume Emacs version is >= 20. + + * mail/supercite.el (sc-emacs-features): Test for "Emacs 19" + by really checking that it is not version 18. + + * emacs-lisp/lisp-mode.el (eval-defun): Doc fix. + +2001-10-28 Miles Bader + + * faces.el (face-attribute): Add INHERIT argument, consider face + inheritance if it's non-nil. + (face-attribute-merged-with): New function. + (face-attribute-specified-or): New macro. + (face-foreground, face-background, face-stipple): Add INHERIT + argument. Use `face-attribute-specified-or'. + +2001-10-28 Stefan Monnier + + * font-lock.el: Require `syntax'. + (font-lock-defaults-alist): Don't define keywords for lisp languages. + Use `c-font-lock-syntactic-face-function' for c languages. + (font-lock-mode): Don't unset vars when turning the mode off. + (font-lock-default-fontify-buffer): Don't unset vars at the end. + (font-lock-extra-managed-props): New var. + (font-lock-default-unfontify-region): Use it. + (font-lock-apply-syntactic-highlight): Flush the syntax cache. + Don't eval the value when there's no match. + (font-lock-ppss-stats): New var. + (font-lock-ppss): New fun. + (font-lock-fontify-syntactically-region): Use it and syntax.ppss. + (font-lock-apply-highlight): Allow `highlight' to set several props. + (font-lock-set-defaults): Use dolist. + (font-lock-unset-defaults): Remove. + (font-lock-match-c-style-declaration-item-and-skip-to-next): + Try to recognize prototypes using `foo P_ ((args))'. + ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst. + (c-font-lock-keywords-2): Fix last change to still use Anders' trick. + (c-font-lock-syntactic-face-function): New function. + (font-lock-match-c++-style-declaration-item-and-skip-to-next) + (c++-keywords): Use a more sophisticated regexp to handle + shallowly nested templates. + +2001-10-27 Stefan Monnier + + * textmodes/sgml-mode.el (sgml-empty-tags): New var. + (sgml-tag): Use it. Cleanup with `cond'. + (sgml-tags-invisible): Make sgml-tags-invisible buffer-local. + Mark the overlays and only delete those that are marked. + (sgml-skip-close-p): Remove. + (sgml-value): Replace sgml-skip-close-p with its definition. + (html-tag-alist): Use sgml-xml a bit more. + (html-mode): Set sgml-empty-tags. + + * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ... + (texinfo-update-node, texinfo-sequential-node-update): + Don't bind the obsolete `auto-fill-hook'. + (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list): + Use `set-buffer' rather than `switch-to-buffer'. + (texinfo-multi-file-update): Use "Top" rather than `up-node-name'. + Use `set-buffer' rather than `switch-to-buffer'. + + * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from + text-mode-syntax-table. + (mail-mode): Use define-derived-mode. + Fix ordering of alternatives in adaptive-fill-regexp. + (mail-mode-map): Don't rely on keymap's internal representation. + +2001-10-27 Sam Steingold + + * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'. + (sgml-xml-guess): Extracted from `html-mode' and generalized. + (sgml-mode-common): Call it. + (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'. + (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line) + (html-horizontal-rule, html-image, html-ordered-list): + (html-unordered-list, html-list-item, html-paragraph): + (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of + `html-xhtml'. + +2001-10-26 Masayuki Ataka + + * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function. + (ifnothtml): New alias. + +2001-10-27 Stefan Monnier + + * textmodes/text-mode.el (text-mode): Use define-derived-mode. + (toggle-text-mode-auto-fill): Use derived-mode-p. + +2001-10-27 Gerd Moellmann + + * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for + `mdtm'. From "Forrest Cahoon" . + +2001-10-26 Eli Zaretskii + + * term/pc-win.el (x-frob-font-slant, x-frob-font-weight): + Add make-obsolete cookies, to follow faces.el. + + These changes avoid warnings from the byte compiler in faces.el: + + * faces.el (internal-get-face): Use facep instead of the obsolete + internal-find-face. + (internal-frob-font-weight, internal-frob-font-slant): + New defaliases for obsolete functions. + (x-make-font-bold, x-make-font-demibold, x-make-font-unbold) + (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic) + (x-make-font-bold-italic): Use internal-frob-font-weight and + internal-frob-font-slant aliases instead of the obsolete + x-frob-... functions. + 2001-10-26 Sam Steingold * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the @@ -17,14 +327,13 @@ 2001-10-26 Eli Zaretskii - * button.el (button): Special face definition for MS-DOS - terminals. + * button.el (button): Special face definition for MS-DOS terminals. 2001-10-26 Sam Steingold * progmodes/sh-script.el (sh-font-lock-syntactic-keywords): Protect the /= test by checking that the args are non-nil. - (sh-font-lock-close-heredoc): check eof for being non-nil. + (sh-font-lock-close-heredoc): Check eof for being non-nil. 2001-10-26 Tomas Abrahamsson @@ -49,11 +358,26 @@ (ps-mode-print-buffer, ps-mode-print-region): Use `funcall' instead of `eval'. (ps-mode-print-region): Use `with-temp-buffer'. - (ps-run-start): Use of `mapconcat'. Use `apply' instead of - `eval'. + (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'. (numerous places): Add back-tick and tick around names in docstrings, fix punctuation in docstrings, remove trailing spaces. +2001-10-25 Stefan Monnier + + * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments. + (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common. + (sgml-font-lock-syntactic-keywords): New var. + (sgml-mode-common): Drop the two args. + Don't make buffer-local variables that aren't used. + Don't set sgml-font-lock-keywords-2 now that it uses `eval instead. + Don't set `before-string' props from sgml-display-text. + (sgml-mode): Use define-derived-mode. + (sgml-tags-invisible): Use sgml-display-text. + (sgml-quote): New command. + (html-tag-alist): Add args for `span'. + (html-mode): Use define-derived-mode. + Set sgml-display-text and sgml-tag-face-alist. + 2001-10-25 Sam Steingold * add-log.el (add-log-always-start-new-record): New user option. @@ -86,7 +410,7 @@ 2001-10-24 Stefan Monnier * textmodes/texinfo.el (texinfo-environments) - (texinfo-environment-regexp): Hoisted. + (texinfo-environment-regexp): Hoist. (texinfo-font-lock-keywords): Use `italic' and `bold' faces. Only highlight the menu name in menu items. Setup `@foo ... @end foo' as text clones. @@ -103,7 +427,7 @@ (texinfo-subsubsection-level-regexp) (texinfo-update-menu-same-level-regexps) (texinfo-update-menu-higher-regexps) - (texinfo-update-menu-lower-regexps): Hoisted to eliminate warnings. + (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings. * derived.el (define-derived-mode): Use {delay,run}-mode-hooks. (derived-mode-p): Autoload. @@ -136,7 +460,7 @@ 2001-10-24 Sam Steingold * mouse.el (mouse-buffer-menu-mode-groups): Added "Version - Control" group. + Control" and "SGML" groups. 2001-10-24 Martin Stjernholm