changeset 40487:8c17e2ae6bf5

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 30 Oct 2001 08:51:51 +0000
parents b5f06f88b686
children 554167b7ed9e
files etc/NEWS lisp/ChangeLog src/ChangeLog
diffstat 3 files changed, 110 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Tue Oct 30 08:08:12 2001 +0000
+++ b/etc/NEWS	Tue Oct 30 08:51:51 2001 +0000
@@ -8,6 +8,16 @@
 
 * 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 @@
 ** 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 @@
 
 * 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.
 
--- a/lisp/ChangeLog	Tue Oct 30 08:08:12 2001 +0000
+++ b/lisp/ChangeLog	Tue Oct 30 08:51:51 2001 +0000
@@ -1,3 +1,59 @@
+2001-10-30  Stefan Monnier  <monnier@cs.yale.edu>
+
+	* 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  <monnier@cs.yale.edu>
+
+	* 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  <rms@gnu.org>
 
 	* term.el (term-if-emacs19): Macro deleted.
@@ -28,17 +84,17 @@
 2001-10-29  Eli Zaretskii  <eliz@is.elta.co.il>
 
 	* 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  <sds@gnu.org>
 
-	* 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  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
@@ -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  <kensanata@yahoo.com>
 
--- a/src/ChangeLog	Tue Oct 30 08:08:12 2001 +0000
+++ b/src/ChangeLog	Tue Oct 30 08:51:51 2001 +0000
@@ -1,3 +1,16 @@
+2001-10-29  Stefan Monnier  <monnier@cs.yale.edu>
+
+	* 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  <rms@gnu.org>
 
 	* fns.c (Frequire): Detect recursive try to require the same