-GNU Emacs NEWS -- history of user-visible changes. 23 Jan 1999
-Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+GNU Emacs NEWS -- history of user-visible changes. 5 Jan 2000
+Copyright (C) 1996, 1997, 1998, 1999, 2000 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
+** New command M-x check-parens can be used to find unbalanced paren
+groups and strings in buffers in Lisp mode (or other modes).
+
+** You can now easily create new *Info* buffers using either M-x clone-buffer
+or C-u m <entry> RET. M-x clone-buffer can also be used on *Help* and
+several other special buffers.
+
** Emacs can now support 'wheeled' mice (such as the MS IntelliMouse)
under XFree86. To enable this, simply put (mwheel-install) in your
.emacs file.
reference parameters are recognized. The modes require font-lock mode
to be enabled.
+*** smerge-mode.el provides `smerge-mode', a simple minor-mode for files
+containing diff3-style conflict markers, such as generated by RCS.
+
*** 5x5.el is a simple puzzle game.
*** hl-line.el provides a minor mode to highlight the current line.
When you add a new item, please add it without either +++ or ---
so I will know I still need to look at it -- rms.
+** Variables `beginning-of-defun' and `end-of-defun', can be used to
+define handlers for the functions of the same names. Major modes can
+define these locally instead of rebinding M-C-a etc. if the normal
+definitions of the functions are not appropriate for the mode.
+
+** easy-mmode-define-minor-mode now takes an additional BODY argument
+and is renamed `define-minor-mode'.
+
+** If an abbrev has only a hook, and that hook has a non-nil
+`no-self-insert' property, the return value of the hook specifies
+whether an expansion has been done or not. If it returns nil, no
+expansion has been performed. The character leading to the call of
+the hook will then be self-inserted.
+
** The function `intern-soft' now accepts a symbol as first argument.
In this case, that exact symbol is looked up in the specified obarray,
and the function's value is nil if it is not found.
saved table is restored, even in case of an abnormal exit. Value is
what BODY returns.
+** Regular expressions now support Perl's non-greedy *? +? and ??
+operators.
+
** The optional argument BUFFER of function file-local-copy has been
removed since it wasn't used by anything.
FILE is a file name. If FILE isn't an absolute name, it will be
searched relative to `data-directory'.
+- `:data DATA'
+
+DATA is a string containing sound data. Either :file or :data
+may be present, but not both.
+
- `:volume VOLUME'
VOLUME must be an integer in the range 0..100 or a float in the range
** keywordp is a new predicate to test efficiently for an object being
a keyword symbol.
+
+** Changes to garbage collection
+
+*** The function garbage-collect now additionally returns the number
+of live and free strings.
+
+*** There is a new variable `strings-consed' holding the number of
+strings that have been consed so far.
+
\f
* New Lisp-level Display features in Emacs 21.1
+++
** Support functions for colors on text-only terminals.
-The function `face-register-tty-color' can be used to define colors
-for use on TTY frames. It maps a color name to a color number on the
-terminal. Emacs defines a couple of default color mappings by
+The function `tty-color-define' can be used to define colors for use
+on TTY and MSDOS frames. It maps a color name to a color number on
+the terminal. Emacs defines a couple of common color mappings by
default. You can get defined colors with a call to
-`tty-defined-colors'. The function `face-clear-tty-colors' can be
+`defined-colors'. The function `tty-color-clear' can be
used to clear the mapping table.
+** Unified support for colors independent of frame type.
+
+The new functions `defined-colors', `color-defined-p', `color-values',
+and `display-color-p' work for any type of frame. On frames whose
+type is neither x nor w32, these functions transparently map X-style
+color specifications to the closest colors supported by the frame
+display. Lisp programs should use these new functions instead of the
+old `x-defined-colors', `x-color-defined-p', `x-color-values', and
+`x-display-color-p'. (The old function names are still available for
+compatibility; they are now aliases of the new names.) Lisp programs
+should no more look at the value of the variable window-system to
+modify their color-related behavior.
+
+The primitives `color-gray-p' and `color-supported-p' also work for
+any frame type.
+
+++
** The minibuffer prompt is now actually inserted in the minibuffer.
forward-paragraph, beginning-of-line, etc., stop moving when they come
to the boundary between fields; beginning-of-line and end-of-line will
not let the point move past the field boundary, but other movement
-commands continue into the next field if repeated.
+commands continue into the next field if repeated. Stopping at field
+boundaries can be suppressed programmatically by binding
+`inhibit-field-text-motion' to a non-nil value around calls to these
+functions.
Now that the minibuffer prompt is inserted into the minibuffer, it is in
a separate field from the user-input part of the buffer, so that common
building images from data. When this is done, no `:file' property
may be present in the image specification.
+`:data DATA'
+
+Get image data from DATA. (As of this writing, this is not yet
+supported for image type `postscript'). Either :file or :data may be
+present in an image specification, but not both. All image types
+support strings as DATA, some types allow additional types of DATA.
+
*** Supported image types
**** XBM, image type `xbm'.
XPM images can be built from memory instead of files. In that case,
add a `:data' property instead of a `:file' property.
-`:data DATA'
-
-DATA must be a string containing an XPM image. The contents of the
-string are of the same format as that of XPM files.
-
The XPM library uses libz in its implementation so that it is able
to display compressed images.
**** JPEG, image type `jpeg'
Support for JPEG images requires the external library `libjpeg',
-package `jpegsrc.v6a.tar.gz', or later. There are no additional image
-properties defined.
+package `jpegsrc.v6a.tar.gz', or later. Additional image properties
+are:
**** TIFF, image type `tiff'
(defun display-anim (buffer file idx max first-time)
(when (= idx max)
(setq idx 0))
- (let ((img (create-image file nil :index idx)))
+ (let ((img (create-image file nil nil :index idx)))
(save-excursion
(set-buffer buffer)
(goto-char (point-min))
** Iso Accents mode now supports Latin-3 as an alternative.
+** The command next-error now opens blocks hidden by hideshow.
+
** The function using-unix-filesystems has been replaced by the
functions add-untranslated-filesystem and remove-untranslated-filesystem.
Each of these functions takes the name of a drive letter or directory
----------------------------------------------------------------------
Copyright information:
-Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+Copyright (C) 1996, 1997, 1998, 1999, 2000 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