(special-mode-map): New var.
[bpt/emacs.git] / etc / NEWS
index 0e88ea6..eaaf924 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -33,10 +33,9 @@ backends.  This requires the freetype and fontconfig libraries, and
 supports local fonts (fonts installed on the machine where Emacs is
 running).  Additionally, the Xft library can be used for antialiasing
 support, the otf library for complex text layout by OpenType fonts,
-and the m17n library for text shaping.  Fontconfig-like font names
-(e.g. monospace-12) are accepted.  The old font handling code can
-be used by passing the configure option `--disable-font-backend'
-(also available as a run-time option).
+and the m17n library for text shaping.  Emacs now accepts font names
+supplied in the fontconfig format (e.g. "monospace-12:bold") and GTK
+format (e.g. "Monospace Bold 12").
 
 ** The new configuration option "--with-dbus" enables D-Bus language
 bindings for Emacs.
@@ -65,6 +64,31 @@ default toolkit, but you can use --with-x-toolkit=gtk if necessary.
 \f
 * Changes in Emacs 23.1
 
+** `underline-minimum-offset' keeps the underline away from the baseline.
+
+** Info displays breadcrumbs in the header of the page.
+See Info-breadcrumbs-depth to control it.
+
+** Emacs now supports serial port access on GNU/Linux, Unix, and
+Windows.  `serial-term' starts an interactive terminal,
+`make-serial-process' and `serial-process-configure' provide a Lisp
+interface.  The serial port can be configured at runtime with the
+mode-line mouse menu.
+
+** Apropos
+*** `apropos-library' describes the elements defined in a given library.
+*** Set `apropos-compact-layout' is you want a more compact (but wider) layout.
+
+** scroll-preserve-screen-position also preserves the column position.
+** Completion.
+*** `completion-styles' can be customized to choose your favorite completion.
+*** The default completion styles include a form of partial-completion.
+*** The new command `minibuffer-force-complete chooses one of the possible
+completions, rather than stopping at the common prefix.
+*** `completion-auto-help' can be set to `lazy' to list the completions only
+if you repeat the completion.  This was already supported in
+`partial-completion-mode'.
+
 ** Emacs now supports using both X displays and ttys in one session.
 Start the server (M-x server-start).  Then `emacsclient -t' creates a
 tty frame connected to the running emacs server.  You can also use any
@@ -114,6 +138,26 @@ You can embed Emacs in another application on X11.  The new command line option
 http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html
 for details about XEmbed.
 
+** Controlling the frame opacity
+The opacity of a frame can now be controlled by setting
+the `alpha' frame parameter, on a compositing window manager
+(e.g. Compiz, Beryl and Compiz Fusion) for the X Window System.
+
+The alpha parameter should be an integer between 0 (transparent) and
+100 (opaque) or a float number between 0.0 and 1.0.  Optionally, the
+opacity can be set by a cons cell; the first item controls the
+opacity of an active frame, and the second item controls that of
+non-active frames.
+
+ (set-frame-parameter nil 'alpha 80)
+ (set-frame-parameter nil 'alpha 0.8)
+ (set-frame-parameter nil 'alpha '(100 70)) ; (<active> [<inactive>])
+ (set-frame-parameter nil 'alpha nil)
+
+Note that the threshold opacity of a frame is defined by the variable
+`frame-alpha-lower-limit' (default 20), so that the user may not lose
+control of the frame.
+
 ** Emacs comes with a new set of default icons.
 Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png.
 The Emacs 22 icon is available as `emacs22.png' in the same location.
@@ -125,8 +169,24 @@ starts with a `(', the string is evaluated as a Lisp form.
 ** set-file-modes is now interactive and can take the mode value in
 symbolic notation thanks to auxiliary functions.
 
-** split-window-preferred-function specifies whether display-buffer should
-split windows vertically or horizontally.
+** Changes affecting display-buffer
+*** New value nil for split-height-threshold inhibits vertical splitting
+unless there's no other window.
+*** New option split-width-threshold controls horizontal splitting.
+*** A window can be split horizontally even when it's not full-width.
+*** New option split-window-preferred-function can be set to a function
+to override the default splitting mechanism of display-buffer.
+
+** Menu Bar changes
+
+*** The Options menu contains a new entry to turn on Longlines mode.
+
+*** In the Options menu, the "Set Default Font" item applies the
+selected font to the `default' face on all frames, not just the
+current frame.  This font setting will be saved if the "Save Options"
+item is used.  Furthermore, if Emacs is compiled with both GTK and
+Fontconfig support, the "Set Default Font" item uses the GTK font
+selection dialog instead of an Emacs pop-up menu.
 
 ** Emacsclient has been extended to support opening a new terminal
 frame.  Its behavior has been changed to open a new Emacs frame by
@@ -176,6 +236,9 @@ run processes remotely.
 ** The new command `display-time-world' starts an updating time display
 using several time zones, in a buffer.
 
+** Directory-local variables are now found in .dir-settings.el.  See
+also `set-directory-project' and `define-project-bindings'.
+
 ** The new function `format-seconds' converts a number of seconds into a
 readable string of days, hours, etc.
 
@@ -190,6 +253,9 @@ Emacs initialization.
 ** The minor modes unify-8859-on-encoding-mode, unify-8859-on-decoding-mode
 are obsolete.
 
+** The new commands `pp-macroexpand-expression' and `pp-macroexpand-last-sexp'
+pretty-print macro expansions.
+
 \f
 * Startup Changes in Emacs 23.1
 
@@ -208,10 +274,6 @@ This is a convenience alias, so that one can write `(pop argv)'
 inside of --eval command line arguments in order to access
 following arguments.
 
-** The new command-line option `--disable-font-backend' disables the
-new font backend code at runtime.  This option is not available if
-Emacs was compiled without font-backend support.
-
 ** The abbrev file is no longer read at startup in batch mode.
 \f
 * Incompatible Editing Changes in Emacs 23.1
@@ -221,6 +283,13 @@ Emacs was compiled without font-backend support.
 list accessible by M-n instead of pushing all guesses temporarily into
 the history list.
 
+** The following input methods were removed in Emacs 22.2, but this was
+not advertised: danish-alt-postfix, esperanto-alt-postfix,
+finnish-alt-postfix, german-alt-postfix, icelandic-alt-postfix,
+norwegian-alt-postfix, scandinavian-alt-postfix, spanish-alt-postfix,
+and swedish-alt-postfix.  Use the versions without "alt-", which are
+identical.
+
 \f
 * Editing Changes in Emacs 23.1
 
@@ -305,8 +374,12 @@ searching minibuffer completion items.
 *** In C-x d, if you type M-n you get the visited file name of the
 current buffer.
 
-*** In Dired, a list of commands for ! extracted from mailcap according to
-file extensions are added to the default list accessible by M-n.
+*** A list of default commands extracted from mailcap according to
+file extensions are available in the list of default values
+accessible by M-n in the minibuffer that reads a shell command
+for M-!  (shell-command) and fills a list of commands for the current
+file, and in Dired for ! (dired-do-shell-command) that fills a list of
+commands for the intersection of file types of marked Dired files.
 
 *** A list of regexp default values is available via M-n for `occur',
 `keep-lines', `flush-lines' and `how-many'.  This list includes the active
@@ -331,9 +404,17 @@ for example while waiting for a VC command to finish.
 *** The new function `face-all-attributes' returns an alist describing
 all the basic attributes of a given face.
 
+*** S-down-mouse-1 now pops up a menu for changing the default font
+and text size of the default face in the current buffer.  The face is
+changed via face remapping (see below).
+
+*** FIXME face-remap
+
 \f
 * New Modes and Packages in Emacs 23.1
 
+** rst-mode for ReSTructured-Text files.
+
 ** FIXME add details of new packages imported from lisp/gnus.
 [Maybe some information from doc/misc/gnus-coding.texi can be reused]
 
@@ -370,6 +451,11 @@ dbus.el and by extensions to the C modules of Emacs.  D-Bus is an
 inter-process communication mechanism for applications residing on the
 same host, based on messages.  See the manual for further details.
 
+** zeroconf.el offers service discovery and service publishing
+interfaces according to the zeroconf specification.  It communicates
+with Avahi, a zeroconf implementation, via D-Bus messages on systems
+which have installed this software.
+
 ** EasyPG is now part of the Emacs distribution.  It is an all-in-one
 GnuPG interface which includes GnuPG keyring browser, cryptographic
 operations on regions and files, and automatic encryption of *.gpg
@@ -391,19 +477,20 @@ Proced makes an Emacs buffer containing a listing of the current processes
 (using ps(1)).  You can use the normal Emacs commands to move around in
 this buffer, and special Proced commands to operate on the processes listed.
 
+** bug-reference.el provides clickable links to bug reports.
+
 \f
 * Changes in Specialized Modes and Packages in Emacs 23.1
 
+** Icomplete: `icomplete-prospects-height' supercedes `icomplete-prospects-length'.
+
 ** A new `whitespace' package has been installed, and the pre-existing one
 renamed to `old-whitespace'.
 [FIXME someone explain why this is good, if it is...]
 
-** In Change Log mode, the new function `change-log-find-file', bound to
-C-c C-f, finds the file associated with the current log entry.
-
 ** abbrev was rewritten in Elisp and extended with more flexibility.
 *** New functions: abbrev-get, abbrev-put, abbrev-table-get, abbrev-table-put,
-    abbrev-table-p.
+    abbrev-table-p, abbrev-insert, abbrev-table-menu.
 *** Special hook `abbrev-expand-functions' obsoletes `pre-abbrev-expand-hook'.
 *** `make-abbrev-table', `define-abbrev', `define-abbrev-table' all take
     extra arguments for arbitrary properties.
@@ -441,18 +528,11 @@ This is enabled if isearch-buffers-multi is non-nil.
 *** The part of an isearch that failed to match is highlighted in `isearch-fail'
 face.
 
-** smerge-refine highlights word-level details of changes in conflict.
-It's used automatically as you move through conflicts, see smerge-auto-refine.
-
-** Diff mode
-
-*** diff-refine-hunk highlights word-level details of changes in a diff hunk.
-It's used automatically as you move through hunks, see
-diff-auto-refine.  It is bound to `C-c C-b'.
-
-*** diff-add-change-log-entries-other-window iterates through the diff
-buffer and tries to create ChangeLog entries for each change.
-It is bound to `C-x 4 A'.
+*** `C-h C-h' in isearch mode displays isearch-specific Help screen,
+`C-h b' displays all isearch key bindings, `C-h k' displays the full
+documentation of the given isearch key sequence, `C-h m' displays
+documentation of isearch mode.  All the rest Help commands exit isearch mode
+and execute their global definitions.
 
 ** archive-mode has basic support to browse Rar archives.
 
@@ -471,6 +551,9 @@ the first error encountered during compilations.
 Only copyright lines with holders matching copyright-names-regexp will be
 considered for update.
 
+** The `copyright' package looks for copyright at the end of the buffer
+if `copyright-at-end-flag' is non-nil (change-log-mode sets this).
+
 ** eldoc highlights the function argument under point
 with the face `eldoc-highlight-function-argument'.
 
@@ -489,16 +572,23 @@ struct members in C, members variables in C++ and variables in PHP.
 
 ** VC
 
+*** VC now supports applying VC operations to a set of files at a time.
+This enables VC to work much more effectively with changeset-oriented
+version-control systems such as Subversion, GNU Arch, Mercurial, Git
+and Bzr.  VC will now pass a multiple-file commit to these systems as
+a single changeset.
+
+*** vc-dir is a new command that displays file names and their VC
+status.  It allows to apply various VC operations to a file or a
+set of files.
+
 *** Clicking on the VC mode-line entry now pops the VC menu.
 
 *** The VC mode-line entry now has a tooltip that explains the VC file status.
 
-*** VC now supports applying VC operations to a set of files at a time.
-
-This enables VC to work much more effectively with changeset-oriented
-version-control systems such as Subversion, GNU Arch, Mercurial, and
-Bzr.  VC will now pass a multiple-file commit to these systems
-as a single changeset.
+*** In VC Annotate mode, for VC systems that support changesets, you can
+see the diff for the whole changeset (not only for the current file)
+by using the vc-annotate-show-changeset-diff-revision-at-line function.
 
 *** In VC Annotate mode, you can type V to toggle the annotation visibility.
 
@@ -511,9 +601,36 @@ the current line.
 of the corresponding buffer as long as the asynchronous process is
 active.
 
+*** Log entries can be modified using the key "e" in log-view.
+For now only CVS, RCS, SCCS and SVN support this functionality.
+This is done by the `modify-change-comment' backend function.
+
+*** In log-view-mode, for VC systems that support changesets, you can
+see the diff for the whole changeset (not only for the current file)
+by typing the D key or using the "Changeset Diff" menu entry.
+
+*** VC Support for Meta-CVS has been removed for lack of maintainer able
+to update it to the new VC.
+
+** smerge-refine highlights word-level details of changes in conflict.
+It's used automatically as you move through conflicts, see smerge-auto-refine.
+
+** Diff mode
+
+*** diff-refine-hunk highlights word-level details of changes in a diff hunk.
+It's used automatically as you move through hunks, see
+diff-auto-refine.  It is bound to `C-c C-b'.
+
+*** diff-add-change-log-entries-other-window iterates through the diff
+buffer and tries to create ChangeLog entries for each change.
+It is bound to `C-x 4 A'.
+
 ** log-edit now has a command bound to C-c C-d to show the diff for
 the files involved.
 
+** In Change Log mode, the new function `change-log-find-file', bound to
+C-c C-f, finds the file associated with the current log entry.
+
 ** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs.
 
 ** The appearance of superscript and subscript in TeX is more customizable.
@@ -570,6 +687,20 @@ The variable `european-calendar-style' is obsolete - use `calendar-date-style'.
 Similarly, the commands `american-calendar' and `european-calendar'
 should be replaced by `calendar-set-date-style'.
 
++++
+*** The calendar namespace has been rationalized.
+All functions and variables now begin with a `calendar-', `diary-', or
+`holiday-' prefix.  The various calendar systems have secondary
+prefixes, eg `calendar-french-'.  The old names you are likely to use
+directly still exist, for the time being, as aliases, but please start
+using the new names.
+
+*** The function `holiday-chinese' computes holidays on the Chinese calendar.
+It has been used to add items to the list `holiday-oriental-holidays'.
+
+*** `diary-remind' accepts a negative number -DAYS as a shorthand for
+the list (1 2 ... DAYS).
+
 ** Miscellaneous programming mode changes
 
 *** The file etc/emacs.py now supports both Python 2 and 3, meaning
@@ -603,6 +734,9 @@ See the file GNUS-NEWS or the node "No Gnus" in the Gnus manual for details.
 
 ** Miscellaneous
 
+*** goto-address.el provides two new minor modes, goto-address-mode and
+goto-address-prog-mode, which buttonize URLS and email addresses.
+
 *** comint-mode uses `start-file-process' now (see Lisp Changes).
 If `default-directory' is a remote file name, subprocesses are started
 on the corresponding remote system.
@@ -627,17 +761,30 @@ It is used to configure wireless interfaces.
 \f
 * Changes in Emacs 23.1 on non-free operating systems
 
+** Case is now considered significant in completion on MS-Windows.
+The default value of `completion-ignore-case' is now nil on
+MS-Windows, the same as it is for other operating systems.  The
+variable doesn't apply to reading a file name -- in that case Emacs
+heeds `read-file-name-completion-ignore-case' instead.
+
 ---
 ** IPv6 is supported on MS-Windows.
 Emacs now supports IPv6 on Windows XP and later, and earlier versions
-of Windows with third party IPv6 stacks installed.  Previously IPv6 was
+of Windows with third party IPv6 stacks installed.  In Emacs 22, IPv6 was
 supported on other platforms, but not on Windows due to using the winsock
 1.1 header file, even though Emacs was linking to the winsock 2 library.
 
 ---
 ** Busy cursor (hourglass) now displays on MS-Windows.
 When Emacs is busy, an hourglass mouse cursor is displayed on Windows.
-Previously only X supported the busy cursor.
+In Emacs 22 only X supported the busy cursor.
+
+---
+** Battery status is available on MS-Windows
+Emacs can now display the battery status in the mode-line when enabled with
+display-battery-mode or from the Options menu.  More verbose battery
+information is also available with the command `battery'.  In Emacs 22
+battery status was supported only on GNU/Linux and Mac.
 
 ** More keys available on MS-Windows.
 Keys normally associated with IMEs, and some exotic keys not normally found
@@ -651,11 +798,19 @@ by default, since enabling them prevents their system-wide use when
 Emacs has focus.  To enable them, set the variable
 w32-pass-multimedia-buttons to nil.  See the doc string of that variable
 for the list of extra keys that are available.
+
 \f
 * Incompatible Lisp Changes in Emacs 23.1
 
+** Variables cannot be both buffer-local and frame-local any more.
+** The argument DEFAULT of minibuffer input functions `read-from-minibuffer',
+`read-string', `completing-read', `read-buffer', `read-command',
+`read-variable' now can be a list of default values.  The elements of
+this list are available for inserting to the minibuffer with `M-n'.
+If the user enters empty input, the first element is used as the default.
+
 ** `functionp' returns nil for special forms.
-I.e. it only returns t for objects that can be passed `funcall'.
+I.e., it only returns t for objects that can be passed to `funcall'.
 
 +++
 ** The multibyteness of process filters is determined by the coding-system
@@ -708,6 +863,22 @@ functions and variables (formerly used for Tamil script).
 \f
 * Lisp Changes in Emacs 23.1
 
+** The variable window-point-insertion-type determines the insertion-type
+of the marker used for window-point.
+
+** minibuffer-local-must-match-filename-map is now named
+minibuffer-local-filename-must-match-map.
+
+** `all-completions' may now return the base size in the last cdr.
+Since this means the returned list is not properly nil-terminated, this
+is an incompatible change and is thus enabled by the new variable
+completion-all-completions-with-base-size.
+
+** New function `apply-partially' for curried application.
+
+** `fill-forward-paragraph-function' specifies which function the filling
+code should use to find paragraph boundaries.
+
 ** The variable `this-command-keys-shift-translated' is non-nil if the
 key sequence invoking the current command was found by
 shift-translation.
@@ -716,7 +887,8 @@ shift-translation.
 handle-shift-selection if shift-select-mode is non-nil, before reading
 the command arguments.
 
-** When deleting a terminal, run the special hook `delete-terminal-functions'.
+** When deleting a terminal, the special hook `delete-terminal-functions'
+is run.
 
 ** The `read-shell-command' function does what its name says, with completion.
 It uses the minibuffer-local-shell-command-map for that.
@@ -738,6 +910,14 @@ search and match primitives from changing the match data.
 ** New function `match-substitute-replacement' returns the result of
 `replace-match' without actually using it in the buffer.
 
+** The new variable `replace-search-function' determines the function
+to use for searching in query-replace and replace-string.
+
+** The new variable `replace-re-search-function' determines the
+function to use for searching in `query-replace-regexp',
+`replace-regexp', + `query-replace-regexp-eval', and
+`map-query-replace-regexp'.
+
 ** If a local hook function has a non-nil `permanent-local-hook'
 property, then `kill-all-local-variables' does not remove it from
 the local value of the hook variable.  This means it remains
@@ -780,6 +960,8 @@ undefined functions.  The new `check-declare' package verifies that such
 statements are accurate (i.e. the functions are actually defined in
 the specified files).
 
+** `ignore-errors' is now a standard macro (does not require the CL package).
+
 ** The new function `read-color' reads a color name using the minibuffer.
 
 ** `interprogram-paste-function' can now return one string or a list
@@ -853,6 +1035,8 @@ character is printable or not.
 *** The functions `modify-syntax-entry' and `modify-category-entry' now
 accepts a cons of characters as the first argument, and modify all
 entries in that range of characters.
++++
+*** `translation-table-for-input' is now obsolete.
 
 ** Code conversion changes
 
@@ -921,6 +1105,9 @@ currently `x' and `xft'.
 
 *** New function `font-get' returns a font property value.
 
+*** New function `font-face-attributes' returns a plist of face
+attributes set by a font.
+
 *** New function `font-put' sets a font property value.
 
 *** New function `list-fonts' returns a list of font-entities matching
@@ -1054,6 +1241,11 @@ forms to subroutines.
 \f
 * New Packages for Lisp Programming in Emacs 23.1
 
+** The new major mode `special-mode' is intended as a parent for
+major modes such as those that set the "'mode-class 'special" property.
+
+** find-cmd.el can build `find' commands using lisp syntax.
+
 ** The package isearch-multi.el has been added.  It implements a new mode
 `isearch-buffers-minor-mode' that allows isearch to search through
 multiple buffers.  In this mode a new variable
@@ -1066,10 +1258,10 @@ to get the next buffer to search in the series of multiple buffers.
 ----------------------------------------------------------------------
 This file is part of GNU Emacs.
 
-GNU Emacs is free software; you can redistribute it and/or modify
+GNU Emacs is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 3, or (at your option)
-any later version.
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
 
 GNU Emacs is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -1077,9 +1269,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
-along with GNU Emacs; see the file COPYING.  If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-Boston, MA 02110-1301, USA.
+along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
 
 \f
 Local variables: