(vc-cvs-annotate-time): Use inhibit-read-only and inhibit-modification-hooks.
[emacs.git] / etc / NEWS
blob4ae9a3b8e6bb6c6b6e7edb154d100254eb11b8bc
1 GNU Emacs NEWS -- history of user-visible changes.
3 Copyright (C) 2007 Free Software Foundation, Inc.
4 See the end of the file for license conditions.
6 Please send Emacs bug reports to emacs-pretest-bug@gnu.org.
7 If possible, use M-x report-emacs-bug.
9 This file is about changes in Emacs version 23.
11 See files NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18, and NEWS.1-17
12 for changes in older Emacs versions.
14 You can narrow news to a specific version by calling `view-emacs-news'
15 with a prefix argument or by typing C-u C-h C-n.
17 Temporary note:
18  +++ indicates that the appropriate manual has already been updated.
19  --- means no change in the manuals is called for.
20 When you add a new item, please add it without either +++ or ---
21 so we will look at it and add it to the manual.
24 * About external Lisp packages
27 * Installation Changes in Emacs 23.1
29 ** The default X toolkit is now Gtk+, rather than Lucid.
31 ** configure now checks for libgif before libungif when searching for
32 a GIF library.
34 ** Support for systems without alloca has been removed.
37 * Changes in Emacs 23.1
39 ** Emacs comes with a new set of icons for Mac OS X.
40 OS-X-style icons (an application icon and a relevant document icon)
41 were contributed by Kentaro Ohkouchi.
42 Source files for these icons can be found in Emacs.app/Contents/Resources.
44 ** Built-in functions (subr) can now have an interactive specification
45 that is not a prompt string.  If the `intspec' parameter of a `DEFUN'
46 starts with a `(', the string is evaluated as a Lisp form.
48 ** set-file-modes is now interactive and can take the mode value in
49 symbolic notation thanks to auxiliary functions.
51 ** split-window-preferred-function specifies whether display-buffer should
52 split windows vertically or horizontally.
54 ** Support for multiple terminal devices and simultaneous graphical
55 and tty frames has been added.  You can test for the presence of this
56 feature in your Lisp code by testing for the `multi-tty' feature.
58 ** Emacsclient has been extended to support opening a new terminal
59 frame.  Its behavior has been changed to open a new Emacs frame by
60 default.  Use the -c option to get the old behavior of opening files in
61 the currently selected Emacs frame.
63 ** The refcards are now shipped as PDF files.
65 ** Emacs now supports the SVG image format through librsvg2.
67 ** The Gtk+ build now uses stock tool bar icons, so that a theme change
68 is visible in Emacs tool bar.
70 ** If you set find-file-confirm-nonexistent-file to t, then C-x C-f
71 requires confirmation before opening a non-existent file.
73 ** If the gpm mouse server is running and t-mouse-mode enabled, Emacs uses a
74 Unix socket in a GNU/Linux console to talk to server, rather than faking events
75 using the client program mev.  This C level approach provides mouse
76 highlighting, and help echoing in the minibuffer.
78 ** The new variable next-error-recenter specifies how next-error should
79 recenter the visited source file.  Its value can be a number (for example,
80 0 for top line, -1 for bottom line), or nil for no recentering.
82 ** The mode-line display a `@' if the default-directory for the current buffer
83 is on a remote machine, or a hyphen otherwise.
85 ** The new command balance-window-area balances windows both vertically
86 and horizontally.
88 ** The new command close-display-connection can be used to close a connection
89 to a remote display, e.g. because the display is about to become unreachable.
91 ** The command shell prompts for the default directory, when it is
92 called with a prefix, and the default directory is a remote file name.
93 This is because some file name handler (like ange-ftp) are not able to
94 run processes remotely.
96 ** The new command `display-time-world' starts an updating time display
97 using several time zones, in a buffer.
99 * Startup Changes in Emacs 23.1
101 ** New user option `initial-buffer-choice' specifies what to display
102 after starting Emacs: startup screen, *scratch* buffer, visiting a
103 file or directory.
106 * Incompatible Editing Changes in Emacs 23.1
109 * Editing Changes in Emacs 23.1
111 ** C-z now invokes `suspend-frame', C-x C-c now invokes
112 `save-buffers-kill-terminal'.
114 ** New command kill-matching-buffers kills buffers whose name matches a regexp.
116 ** Minibuffer changes:
118 *** isearch started in the minibuffer searches in the minibuffer history.
119 Reverse isearch commands (C-r, C-M-r) search in previous minibuffer
120 history elements, and forward isearch commands (C-s, C-M-s) search in
121 next history elements.  When the reverse search reaches the first history
122 element, it wraps to the last history element, and the forward search
123 wraps to the first history element.  When the search is terminated, the
124 history element containing the search string becomes the current.
127 * New Modes and Packages in Emacs 23.1
129 ** The package doc-view.el has been added.  It supports viewing of PDF,
130 PostScript and DVI documents inside an Emacs buffer by converting the
131 document to a set of PNG images first.  One can also search for a
132 regular expression in the document.  The commentary of the file explains
133 its usage.
135 ** A new game called `bubbles' has been added.
137 ** minibuffer-indicate-depth-mode shows the minibuffer depth in the prompt.
140 * Changes in Specialized Modes and Packages in Emacs 23.1
142 ** talk.el has been extended for multiple tty support.
144 ** compilation-auto-jump-to-first-error tells `compile' to jump to
145 the first error encountered during compilations.
147 ** In the `copyright' package, you can specify your copyright holders's names.
148 Only copyright lines with holders matching copyright-names-regexp will be
149 considered for update.
151 ** eldoc highlights the function argument under point
152 with the face `eldoc-highlight-function-argument'.
154 ** VC
155 *** Clicking on the VC mode-line entry now pops the VC menu.
157 *** The VC mode-line entry now has a tooltip.
159 *** VC backends can provide extra menu entries to be added to the "Version Control" menu.
160 This can be used to add menu entries for backend specific functions.
162 *** VC now supports applying VC operations to a set of files at a time.
164 ** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs.
166 ** BibTeX mode:
168 *** New `bibtex-entry-format' options `whitespace', `braces', and
169 `string', disabled by default.
171 *** New variable `bibtex-cite-matcher-alist' contains rules to
172 identify cited keys in BibTeX entries, used by `bibtex-find-crossref.
174 *** Command `bibtex-url' now allows multiple URLs per entry.
177 ** Tramp
179 *** New connection methods.
180 The new methods "plinkx", "plink2", "psftp", "sftp" and "fish" have
181 been introduced.  There are also new so-called gateway methods
182 "tunnel" and "socks".
184 *** Multihop syntax has been removed.
185 The pseudo-method "multi" has been removed.  Instead of, multi hops
186 can be specified by the new variable `tramp-default-proxies-alist'.
188 *** More default settings.
189 Default values can be set via the variables `tramp-default-user',
190 `tramp-default-user-alist' and `tramp-default-host'.
192 *** Connection information is cached.
193 In order to reduce connection setup, information about used
194 connections are kept persistent in a file.  The name of this file is
195 defined in the variable `tramp-persistency-file-name'.
197 *** Control of remote processes.
198 Running processes on a remote host can be controlled by settings in
199 `tramp-remote-path' and `tramp-remote-process-environment'.
201 *** Success of remote copy is checked.
202 When the variable `file-precious-flag' is set, the success of a remote
203 file copy is checked via the file's checksum.
205 ** Miscellaneous programming mode changes
207 *** The variable `fortran-line-length' can change the fixed-form line-length.
209 ** Miscellaneous
211 *** comint-mode uses `start-file-process' now (see Lisp Changes).
212 If `default-directory' is a remote file name, subprocesses are started
213 on the corresponding remote system.
215 *** C-x C-q in dired-mode now runs the command wdired-change-to-wdired-mode,
216 and C-x C-q in wdired-mode exits it with asking a question about
217 saving changes.
219 *** The new command `eshell/info' runs info in an eshell buffer.
222 * Changes in Emacs 23.1 on non-free operating systems
225 ** IPv6 is supported on MS-Windows.
226 Emacs now supports IPv6 on Windows XP and later, and earlier versions
227 of Windows with third party IPv6 stacks installed. Previously IPv6 was
228 supported on other platforms, but not on Windows due to using the winsock
229 1.1 header file, even though Emacs was linking to the winsock 2 library.
232 * Incompatible Lisp Changes in Emacs 23.1
235 ** The function `dired-call-process' has been removed.
238 * Lisp Changes in Emacs 23.1
240 ** Changes related to multiple tty support.
242 *** $TERM is now set to `dumb' for subprocesses.  If you want to know the
243 $TERM inherited by Emacs you will have to look inside initial-environment.
245 *** The `window-system' variable has been made frame-local. The new
246 `initial-window-system' variable contains the `window-system' value
247 for the first frame.
249 *** You can specify a terminal device (`tty' parameter) and a terminal
250 type (`tty-type' parameter) to `make-terminal-frame'.
252 *** The new function `make-frame-on-tty' allows you to create a new
253 frame on another tty device interactively.
255 *** The function `make-frame-on-display' now works during a tty
256 session, and `make-frame-on-tty' works during a graphical session.
258 *** New functions: `delete-tty', `suspend-tty', `resume-tty'.
260 *** New functions: `terminal-id', `terminal-parameters',
261 `terminal-parameter', `set-terminal-parameter',
262 `modify-terminal-parameters'.
264 *** New hooks: `suspend-tty-functions' and `resume-tty-functions'
265 are called after a tty frame has been suspended or resumed,
266 respectively. The functions are called with the terminal id of the frame
267 being suspended/resumed as a parameter.
269 *** New functions: `environment', `let-environment'.
271 *** New variables: `local-key-translation-map', `local-function-key-map'.
272 These are in addition to the global key-translation-map and
273 function-key-map variables that already existed.
275 ??? How do the new variables relate to the old ones?
277 *** `initial-environment' holds the environment inherited from Emacs's parent.
279 *** New frame parameter `display-environment-variable'.
281 *** The `keyboard-translate-table' variable and the terminal and
282 keyboard coding systems have been made terminal-local.
284 *** In addition to the global key-translation-map and
285 function-key-map, Emacs has terminal-local local-key-translation-map
286 and local-function-key-map variables, and uses them instead of the
287 global keymaps to set up translations and function key sequences
288 relevant to a specific terminal device.
291 ** You can now also pass the value of the `invisible' property to invisible-p
292 to check whether it would cause the text to be invisible.  Convenient when
293 checking invisibility of text which has no buffer position
294 (e.g. in before/after-strings).
296 ** Non-breaking space now acts as whitespace.
299 ** In `condition-case', a handler can specify "let the debugger run first".
301 You do this by writing `debug' in the list of conditions to be handled,
302 like this:
304     (condition-case nil
305         (foo bar)
306       ((debug error) nil))
308 ** The `require-match' argument to `completing-read' accepts a new value
309 `confirm-only'.
312 ** The regexp form \(?<num>:<regexp>\) specifies the group number explicitly.
314 ** New function `window-full-width-p' returns t if a window is as wide
315 as its frame.
317 ** The new function `split-string-and-unquote' does (what?)
319 ** The new function `combine-and-quote-strings' does (what?)
321 ** The new function `image-refresh' refreshes all images associated
322 with a given image specification.
325 ** New variable `user-emacs-directory'.
326 Use this instead of "~/.emacs.d".
329 ** The new function `start-file-process is similar to `start-process',
330 but obeys file handlers.  The file handler is chosen based on
331 `default-directory'.  The functions `start-file-process-shell-command'
332 and `process-file-shell-command' are also new; they call internally
333 `start-file-process and `process-file', respectively.
336 ** `file-remote-p' has new optional parameters IDENTIFICATION and CONNECTED.
337 IDENTIFICATION specifies which part of the remote identifier has to be
338 returned.  With CONNECTED passed non-nil, it is checked whether a
339 remote connection has been established already.
341 ** The two new functions `looking-at-p' and `string-match-p' can do
342 the same matching as `looking-at' and `string-match' without changing
343 the match data.
345 ** The interactive-form of a function can be added post-facto via the
346 `interactive-form' symbol property.  Mostly useful to add complex interactive
347 forms to subroutines.
349 * New Packages for Lisp Programming in Emacs 23.1
351 ** The new package avl-tree.el deals with the AVL tree data structure.
354 ----------------------------------------------------------------------
355 This file is part of GNU Emacs.
357 GNU Emacs is free software; you can redistribute it and/or modify
358 it under the terms of the GNU General Public License as published by
359 the Free Software Foundation; either version 3, or (at your option)
360 any later version.
362 GNU Emacs is distributed in the hope that it will be useful,
363 but WITHOUT ANY WARRANTY; without even the implied warranty of
364 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
365 GNU General Public License for more details.
367 You should have received a copy of the GNU General Public License
368 along with GNU Emacs; see the file COPYING.  If not, write to the
369 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
370 Boston, MA 02110-1301, USA.
373 Local variables:
374 mode: outline
375 paragraph-separate: "[  \f]*$"
376 end:
378 arch-tag: e759449d-88b3-4de4-9900-3a6c3dfa23e2