From 8e8223e20f0a77272aa5970e1f90c4e77fb20f32 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 30 Oct 2001 08:51:51 +0000 Subject: [PATCH] *** empty log message *** --- etc/NEWS | 35 ++++++++++++++++++++++++- lisp/ChangeLog | 71 ++++++++++++++++++++++++++++++++++++++++++++------ src/ChangeLog | 13 +++++++++ 3 files changed, 110 insertions(+), 9 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index a616b99b760..358b5bbb43c 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -8,6 +8,16 @@ For older news, see the file ONEWS * Changes in Emacs 21.2 +** tab-always-indent can be set to `never' to make sure indent-for-tab-command +always tabs rather than indents. + +** in fill, you can now customize fill-nobreak-predicate and two +sample predicates are provided (fill-single-word-nobreak-p and +fill-french-nobreak-p). + +** In texinfo-mode, if font-lock is used then updating one of the `foo's +in `@foo ... @end foo' updates the other one on the fly. + ** New user option `add-log-always-start-new-record'. When this option is enabled, M-x add-change-log-entry will always start a new record regardless of when the last record is. @@ -25,7 +35,7 @@ instead of using default-major-mode. ** Byte compiler warning and error messages have been brought more in line with the output of other GNU tools. -** Lisp-mode now uses font-lock-docstring-face for the docstrings. +** Lisp-mode now uses font-lock-doc-face for the docstrings. ** perl-mode has a new variable `perl-indent-continued-arguments'. @@ -88,6 +98,29 @@ SQL buffer. * Lisp Changes in Emacs 21.2 +** The default value of paragraph-start and indent-line-function has +been changed to reflect the one used in text-mode rather than the one +used in indented-text-mode. + +** New function `text-clone-create'. Text clones are chunks of text +that are kept identical by transparently propagating changes from one +clone to the other. + +** font-lock can manage arbitrary text-properties beside `face'. +*** the FACENAME returned in font-lock-keywords can be a list +of the form (face FACE PROP1 VAL1 PROP@ VAL2 ...) so you can set +other properties than `face'. +*** font-lock-extra-managed-props can be set to make sure those extra +properties are automatically cleaned up by font-lock. + +** The new function `run-mode-hooks' and the new macro `delay-mode-hooks' +are used by define-derived-mode to make sure the mode hook for the +parent mode is run at the end of the child mode. + +** `provide' and `featurep' now accept an optional second argument +to test/provide subfeatures. Also `provide' now checks `after-load-alist' +and run any code associated with the provided feature. + ** The variable `compilation-parse-errors-filename-function' can be used to transform filenames found in compilation output. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 87a890b3c30..17a24e2fa1b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,59 @@ +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 `always' setting. + (indent-according-to-mode): Handle `indent-relative' and + `indent-relative-maybe' specially. + (indent-for-tab-command): Rename `prefix-arg' to `arg'. + Handle the `always; 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. @@ -28,17 +84,17 @@ 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). + 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. + (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. + * 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 @@ -61,8 +117,7 @@ * 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. + * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers. 2001-10-29 Alex Schroeder diff --git a/src/ChangeLog b/src/ChangeLog index dd8430ec342..1bcf208d283 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,16 @@ +2001-10-29 Stefan Monnier + + * xmenu.c: Include coding.h and charset.h. + (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT. + (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part. + (single_submenu, xmenu_show): Use ENCODE_SYSTEM. + Explicitly set wv->help. Use `TRUE' rather than `True'. + (menu_help_callback): Use empty_string. + + * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos. + (Fx_popup_dialog): Explicitly init f. + (w32_menu_display_help): Use empty_string. + 2001-10-29 Richard M. Stallman * fns.c (Frequire): Detect recursive try to require the same -- 2.39.5