-GNU Emacs NEWS -- history of user-visible changes. 2000-10-12
-Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+GNU Emacs NEWS -- history of user-visible changes. 2001-01-16
+Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
See the end for copying conditions.
Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
\f
* Changes in Emacs 21.1
+** The user option `backward-delete-char-untabify-method' controls the
+behaviour of `backward-delete-char-untabify'. [This change was made
+in Emacs 20.3 but not mentioned then.]
+
+** The new user-option `confirm-kill-emacs' can be customized to
+let Emacs ask for confirmation before exiting.
+
+** The <home> and <end> keys now move to the beginning or end of the
+current line, respectively. C-<home> and C-<end> move to the
+beginning and end of the buffer.
+
** In Cperl mode `cperl-invalid-face' should now be a normal face
symbol, not double-quoted.
** Variable `load-path' is no longer customizable because it contains
a version-dependent component.
-** The new user-option `delete-key-deletes-forward' can be set to
+** The new user-option `delete-key-deletes-forward' can be set to
let the Delete function key delete forward instead of backward.
On window systems, the default value of this option is chosen
** The mode line under X is now drawn with shadows by default.
You can change its appearance by modifying the face `mode-line'.
+In particular, setting the `:box' attribute to nil turns off the 3D
+appearance of the mode line. (The 3D appearance makes the mode line
+occupy more space, and thus might cause the first or the last line of
+the window to be partially obscured.)
The variable `mode-line-inverse-video', which was used in older
versions of emacs to make the mode-line stand out, now defaults to nil,
- Mouse-2 on the read-only or modified status in the mode line (`%' or
`*') toggles the status.
-- Mouse-3 on the mode name display a minor-mode menu.
+- Mouse-3 on the mode name displays a minor-mode menu.
** LessTif/Motif file selection dialog.
*** The new function `font-lock-remove-keywords' can be used to remove
font-lock keywords from the current buffer or from a specific major mode.
-*** multiline patterns are now supported.
+*** Multiline patterns are now supported. Modes using this, should
+set font-lock-multiline to t in their font-lock-defaults.
*** `font-lock-syntactic-face-function' allows major-modes to choose
the face used for each string/comment.
*** In Lisp, "(defstruct (foo", "(defun (operator" and similar constructs
are now tagged.
+*** In makefiles, tags the targets.
+
*** In Perl, the --globals option tags global variables. my and local
variables are tagged.
releases have 8859-15. There are new Latin-8 and Latin-9 prefix
(only) and Polish slash input methods in Leim.
++++
+** New language environments `Dutch' and `Spanish'.
+These new environments mainly select appropriate translations
+of the tutorial.
+
+++
** Fortran mode has a new command `fortran-strip-sequence-nos' to
remove text past column 72. The syntax class of `\' in Fortran is now
you need to put it somewhere into Emacs' load path and add the atom
`FOO' to the list `vc-handled-backends'.
+*** The customizable EDT emulation package now supports the EDT
+SUBS command and EDT scroll margins. It also works with more
+terminal/keyboard configurations and it now works under XEmacs.
+See etc/edt-user.doc for more information.
+
** New modes and packages
*** The new global minor mode `minibuffer-electric-default-mode'
*** ansi-color.el translates ANSI terminal escapes into text-properties.
-Please note: if `ansi-color-for-shell-mode' and
+Please note: if `ansi-color-for-comint-mode and
`global-font-lock-mode' are non-nil, loading ansi-color.el will
disable font-lock and add `ansi-color-apply' to
`comint-preoutput-filter-functions' for all shell-mode buffers. This
+++
*** fortune.el uses the fortune program to create mail/news signatures.
-*** whitespace.el ???
+*** whitespace.el is a package for warning about and cleaning bogus
+whitespace in a file.
*** PostScript mode (ps-mode) is a new major mode for editing PostScript
files. It offers: interaction with a PostScript interpreter, including
There are a few Lisp changes which are not backwards-compatible and
may require changes to existing code. Here is a list for reference.
+See the sections below for details.
-** Since `format' preserves text properties, the idiom
-`(format %s foo)' no longer works to remove properties.
+** Since `format' preserves text properties, the idiom
+`(format %s foo)' no longer works to copy and remove properties.
+Use `copy-sequence' and `set-text-properties'.
** Since the `keymap' text property now has significance, some code
which uses both `local-map' and `keymap' properties (for portability)
appropriate for reading truly binary files.
** Code that relies on the obsolete `before-change-function' and
-`after-change-function' to detect buffer changes will now fail.
+`after-change-function' to detect buffer changes will now fail. Use
+`before-change-functions' and `after-change-functions' instead.
** Code that uses `concat' with integer args now gets an error, as
long promised.
* Lisp changes made after edition 2.6 of the Emacs Lisp Manual,
(Display-related features are described in a page of their own below.)
+** The new hook `kbd-macro-termination-hook' is run at the end of of
+function execute-kbd-macro. Functions on this hook are called with no
+args. The hook is run independent of how the macro was terminated
+(signal or normal termination).
+
+++
** Functions `butlast' and `nbutlast' for removing trailing elements
from a list are now available without requiring the CL package.
with the more general `:mask' property.
+++
-** Image specifications accept more `:algorithm's.
+** Image specifications accept more `:conversion's.
** A `?' can be used in a symbol name without escaping it with a
backslash.
This is probably what most current uses of `local-map' want, rather
than replacing the local map.
-** The obsolete variables before-change-function and
-after-change-function are no longer acted upon and have been removed.
+** The obsolete variables `before-change-function' and
+`after-change-function' are no longer acted upon and have been
+removed. Use `before-change-functions' and `after-change-functions'
+instead.
** The function `apropos-mode' runs the hook `apropos-mode-hook'.
Setting `face-font-family-alternatives' allows the user to specify
alternative font families to try if a family specified by a face
-doesn't exist.
+doesn't exist.
Setting `face-font-registry-alternatives' allows the user to specify
all alternative font registry names to try for a face speciying a
`:margin MARGIN'
-MARGIN must be a number >= 0 specifying how many pixels to put as
-margin around the image. Default is 0.
+MARGIN must be either a number >= 0 specifying how many pixels to put
+as margin around the image, or a pair (X . Y) with X specifying the
+horizontal margin and Y specifying the vertical margin. Default is 0.
`:relief RELIEF'
RELIEF is analogous to the `:relief' attribute of faces. Puts a relief
around an image.
-`:algorithm ALGO'
+`:conversion ALGO'
Apply an image algorithm to the image before displaying it.
You can add extra space between tool bar items by setting
`tool-bar-button-margin' to a positive integer specifying a number of
-pixels. Default is 1.
+pixels, or a pair of integers (X . Y) specifying horizontal and
+vertical margins . Default is 1.
You can change the shadow thickness of tool bar buttons by setting
`tool-bar-button-relief' to an integer. Default is 3.
----------------------------------------------------------------------
Copyright information:
-Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
Permission is granted to anyone to make or distribute verbatim copies
of this document as received, in any medium, provided that the