changeset 39552:fa9fb33863fe

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Fri, 05 Oct 2001 09:13:21 +0000
parents 4e108e81543a
children 71d39c72c6e5
files etc/NEWS lisp/ChangeLog
diffstat 2 files changed, 131 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Thu Oct 04 19:40:06 2001 +0000
+++ b/etc/NEWS	Fri Oct 05 09:13:21 2001 +0000
@@ -6,6 +6,46 @@
 For older news, see the file ONEWS
 
 
+* Changes in Emacs 21.2
+
+** When pure storage overflows while dumping, Emacs now prints how
+much pure storage it will approximately need.
+
+** M-x setenv now expands environment variables of the form `$foo' and
+`${foo}' in the specified new value of the environment variable.  To
+include a `$' in the value, use `$$'.
+
+** New user option `inhibit-startup-buffer-menu'.
+When loading many files, for instance with `emacs *', Emacs normally
+displays a buffer menu.  This option turns the buffer menu off.
+
+** Rmail now displays 5-digit message ids in its summary buffer.
+
+
+* Lisp Changes in Emacs 21.2
+
+** Variable aliases have been implemented
+
+- Macro: defvaralias ALIAS-VAR BASE-VAR
+
+This defines the symbol ALIAS-VAR as a variable alias for symbol
+BASE-VAR.  This means that retrieving the value of ALIAS-VAR returns
+the value of BASE-VAR, and changing the value of ALIAS-VAR changes the
+value of BASE-VAR.
+
+- Function: indirect-variable VARIABLE
+
+This function returns the variable at the end of the chain of aliases
+of VARIABLE.  If VARIABLE is not a symbol, or if VARIABLE is not
+defined as an alias, the function returns VARIABLE.
+
+It might be noteworthy that variables aliases work for all kinds of
+variables, including buffer-local and frame-local variables.
+
+** Functions from `post-gc-hook' are run at the end of garbage
+collection.  The hook is run with GC inhibited, so use it with care.
+
+
 * Installation Changes in Emacs 21.1
 
 See the INSTALL file for information on installing extra libraries and
--- a/lisp/ChangeLog	Thu Oct 04 19:40:06 2001 +0000
+++ b/lisp/ChangeLog	Fri Oct 05 09:13:21 2001 +0000
@@ -3,6 +3,97 @@
 	* faces.el (face-font-registry-alternatives) [windows-nt]: Make
 	gb2312 an alias for gb2312.1980.
 
+2001-10-04  Stefan Monnier  <monnier@cs.yale.edu>
+
+	* uniquify.el (uniquify-get-proposed-name): Don't assume dirsep is /.
+	(uniquify-reverse-components): Remove.
+
+	* emacs-lisp/bytecomp.el (byte-recompile-directory):
+	Make sure the file is readable.
+	(byte-compile-file): Don't compile if `no-byte-compile' is set.
+	(byte-compile-defvar): Update to reflect the change in Fdefvar.
+	(batch-byte-recompile-directory): Pass arg=0.
+
+	* progmodes/perl-mode.el (perl-indent-continued-arguments): New var.
+	(perl-calculate-indent): Use it.
+	(perl-backward-to-noncomment): Use forward-comment.
+
+	* derived.el (define-derived-mode, derived-mode-make-docstring):
+	Allow `parent' to be nil.
+
+	* textmodes/nroff-mode.el (nroff-mode-abbrev-table, nroff-mode):
+	Use define-derived-mode.
+	(nroff-mode-map, nroff-mode-syntax-table): Massage.
+
+	* mail/mailabbrev.el (mail-abbrev-in-expansion-header-p): Simplify.
+
+	* emacs-lisp/lselect.el: Use facep iso find-face.
+
+	* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
+	Use regexp-opt.
+	(doc-string-elt): Set symbols' prop.  Copied from autoload.el.
+	(lisp-font-lock-syntactic-face-function): New function.
+	(lisp-mode-variables): Use it.  Make arg optional.
+	(emacs-lisp-mode): Don't pass an arg to lisp-mode-variables.
+	(lisp-mode): Don't pass an arg to lisp-mode-variables.
+	Set comment-start-skip.
+
+	* emacs-lisp/lisp-mnt.el (lm-history-header): Accept `ChangeLog'.
+
+	* emacs-lisp/cl-macs.el (frame-parameter): Add a setf method.
+	(ignore-errors): Don't bother using a `err' symbol.
+
+	* emacs-lisp/autoload.el (autoload-ensure-default-file)
+	(autoload-insert-section-header, autoload-before-p)
+	(autoload-remove-section): New functions.
+	(generate-file-autoloads): Use them.
+	(update-file-autoloads): Use them.  Return FILE if there's no cookie.
+	Make sure the autoload file is properly formatted when creating it.
+	(update-autoloads-from-directories): Use them as well.
+	Only update autoloads for files whose timestamp has changed.
+	Add a dummy entry to remember the files which had no autoload cookies.
+
+	* timer.el (timer-relative-time): Fix computation for negative `micro'.
+
+	* subr.el (define-key-after): Allow `key' to be longer than 1.
+	(make-local-hook): Make obsolete.
+	(add-hook, remove-hook): Don't use make-local-hook any more.
+	(make-syntax-table): Inherit all chars from s-s-t.
+
+2001-10-04  Gerd Moellmann  <gerd@gnu.org>
+
+	This is a fix for a report saying that resuming a search with C-s
+	C-s doesn't use the case-fold-search setting of the previous
+	search (C-s ... M-c ... then C-s C-s).
+
+	* isearch.el (isearch-last-case-fold-search): New variable.
+	(isearch-mode): Remember value of isearch-case-fold-search
+	in isearch-last-case-fold-search.
+	(isearch-done): Quote value of isearch-case-fold-search.
+	(isearch-repeat): When resuming a search, restore
+	isearch-case-fold-search from isearch-last-case-fold-search.
+
+	Added to NEWS.
+
+	* startup.el (inhibit-startup-buffer-menu): New user-option.
+	(command-line-1): If inhibit-startup-buffer-menu is set, don't
+	display the buffer menu.  From Simon Josefsson <jas@extundo.com>.
+
+	This allows upto 99999 messages in the summary without screwing up
+	the summary sorting.  Previously 9999 was the maximum.  Added to NEWS.
+
+	* mail/rmailsum.el (rmail-make-summary-line)
+	(rmail-make-summary-line-1, rmail-summary-next-same-subject)
+	(rmail-summary-goto-msg, rmail-summary-goto-msg):
+	Allow 5-digit message ids instead of 4.
+
+	This adds expansion of environment variables in the value
+	specified with M-x setenv.  Added to NEWS.
+
+	* env.el (substitute-env-vars): New function.
+	(setenv): Add parameter SUBSTITUTE-ENV-VARS.  If set, substitute
+	environment variables in VALUE.  Return VALUE.
+
 2001-10-03  Stefan Monnier  <monnier@cs.yale.edu>
 
 	* pcvs-util.el (cvs-prefix-define): Typo cons->concat.