(org-confirm-shell-link-function, org-confirm-elisp-link-function): Doc fixes.
[bpt/emacs.git] / etc / NEWS
CommitLineData
29b7722a 1GNU Emacs NEWS -- history of user-visible changes.
5b87ad55 2
0bfd685e 3Copyright (C) 2007 Free Software Foundation, Inc.
5b87ad55 4See the end of the file for license conditions.
a933dad1 5
3f7194ed 6Please send Emacs bug reports to emacs-pretest-bug@gnu.org.
9a21d88b
KS
7If possible, use M-x report-emacs-bug.
8
0bfd685e 9This file is about changes in Emacs version 23.
9a21d88b 10
0bfd685e
GM
11See files NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18, and NEWS.1-17
12for changes in older Emacs versions.
9a21d88b
KS
13
14You can narrow news to a specific version by calling `view-emacs-news'
15with a prefix argument or by typing C-u C-h C-n.
3f7194ed
GM
16
17Temporary note:
18 +++ indicates that the appropriate manual has already been updated.
19 --- means no change in the manuals is called for.
20When you add a new item, please add it without either +++ or ---
21so we will look at it and add it to the manual.
22
05197f40 23\f
9c576ea0
KS
24* About external Lisp packages
25
9c576ea0 26\f
0bfd685e 27* Installation Changes in Emacs 23.1
c58dccad 28
3f7194ed
GM
29** The default X toolkit is now Gtk+, rather than Lucid.
30
9d3cc9b2
GM
31** configure now checks for libgif before libungif when searching for
32a GIF library.
b5ac89f8 33
36e625ec
GM
34** Support for systems without alloca has been removed.
35
48a8be40
GM
36** The `emacstool' utility has been removed.
37
4e5cdb4f 38\f
6dadd99f
NR
39* Changes in Emacs 23.1
40
251ad2de
TTN
41** Emacs comes with a new set of icons for Mac OS X.
42OS-X-style icons (an application icon and a relevant document icon)
43were contributed by Kentaro Ohkouchi.
44Source files for these icons can be found in Emacs.app/Contents/Resources.
45
f664fee9
MC
46** Built-in functions (subr) can now have an interactive specification
47that is not a prompt string. If the `intspec' parameter of a `DEFUN'
48starts with a `(', the string is evaluated as a Lisp form.
49
50** set-file-modes is now interactive and can take the mode value in
51symbolic notation thanks to auxiliary functions.
52
90ab5c62
SM
53** split-window-preferred-function specifies whether display-buffer should
54split windows vertically or horizontally.
55
24cdde13
GM
56** Support for multiple terminal devices and simultaneous graphical
57and tty frames has been added. You can test for the presence of this
58feature in your Lisp code by testing for the `multi-tty' feature.
59
60** Emacsclient has been extended to support opening a new terminal
61frame. Its behavior has been changed to open a new Emacs frame by
62default. Use the -c option to get the old behavior of opening files in
63the currently selected Emacs frame.
64
c0dadae9
MC
65** The refcards are now shipped as PDF files.
66
795a2a94
GM
67** Emacs now supports the SVG image format through librsvg2.
68
75f6af19 69** If you set find-file-confirm-nonexistent-file to t, then C-x C-f
0a963185
SM
70requires confirmation before opening a non-existent file.
71
6dadd99f
NR
72** If the gpm mouse server is running and t-mouse-mode enabled, Emacs uses a
73Unix socket in a GNU/Linux console to talk to server, rather than faking events
74using the client program mev. This C level approach provides mouse
75highlighting, and help echoing in the minibuffer.
76
c2e8590b
TTN
77** The new variable next-error-recenter specifies how next-error should
78recenter the visited source file. Its value can be a number (for example,
790 for top line, -1 for bottom line), or nil for no recentering.
80
1f2e1c75
NR
81** The mode-line display a `@' if the default-directory for the current buffer
82is on a remote machine, or a hyphen otherwise.
6c5d503f 83
62e3c31f
SM
84** The new command balance-window-area balances windows both vertically
85and horizontally.
d466e9fc
SM
86
87** The new command close-display-connection can be used to close a connection
88to a remote display, e.g. because the display is about to become unreachable.
6c5d503f
MA
89
90** The command shell prompts for the default directory, when it is
91called with a prefix, and the default directory is a remote file name.
92This is because some file name handler (like ange-ftp) are not able to
93run processes remotely.
aff2ba04
RS
94
95** The new command `display-time-world' starts an updating time display
96using several time zones, in a buffer.
6dadd99f 97\f
0bfd685e 98* Startup Changes in Emacs 23.1
21f7b9d8 99
56e1896b
JL
100** New user option `initial-buffer-choice' specifies what to display
101after starting Emacs: startup screen, *scratch* buffer, visiting a
102file or directory.
103
c44da964 104\f
0bfd685e 105* Incompatible Editing Changes in Emacs 23.1
b58cb59f 106
406c0f12 107\f
0bfd685e 108* Editing Changes in Emacs 23.1
406c0f12 109
6dd697d9
DN
110** TAB now indents the region if the region is active and
111`transient-mark-mode' is turned on.
112
24cdde13
GM
113** C-z now invokes `suspend-frame', C-x C-c now invokes
114`save-buffers-kill-terminal'.
115
a151f82c
SS
116** New command kill-matching-buffers kills buffers whose name matches a regexp.
117
297b8ccd
JL
118** Minibuffer changes:
119
120*** isearch started in the minibuffer searches in the minibuffer history.
121Reverse isearch commands (C-r, C-M-r) search in previous minibuffer
122history elements, and forward isearch commands (C-s, C-M-s) search in
123next history elements. When the reverse search reaches the first history
124element, it wraps to the last history element, and the forward search
125wraps to the first history element. When the search is terminated, the
126history element containing the search string becomes the current.
127
0bfd685e
GM
128\f
129* New Modes and Packages in Emacs 23.1
0091c67e 130
1816bda7
MC
131** The package doc-view.el has been added. It supports viewing of PDF,
132PostScript and DVI documents inside an Emacs buffer by converting the
133document to a set of PNG images first. One can also search for a
134regular expression in the document. The commentary of the file explains
135its usage.
136
ddc961c5 137** A new game called `bubbles' has been added.
a0818148 138
dcd6e8d7 139** minibuffer-indicate-depth-mode shows the minibuffer depth in the prompt.
3f7194ed 140
0bfd685e
GM
141\f
142* Changes in Specialized Modes and Packages in Emacs 23.1
61d244ca 143
e6a01e4e 144** archive-mode has basic support to browse Rar archives.
24cdde13
GM
145** talk.el has been extended for multiple tty support.
146
813fb3fe
SM
147** compilation-auto-jump-to-first-error tells `compile' to jump to
148the first error encountered during compilations.
149
b649d2e4
SM
150** In the `copyright' package, you can specify your copyright holders's names.
151Only copyright lines with holders matching copyright-names-regexp will be
152considered for update.
153
e7ce8577
GM
154** eldoc highlights the function argument under point
155with the face `eldoc-highlight-function-argument'.
156
56dada42 157** VC
397c4757
DN
158*** Clicking on the VC mode-line entry now pops the VC menu.
159
9372a958 160*** The VC mode-line entry now has a tooltip that explains the VC file status.
cb223bba 161
082c5622
DN
162*** VC now supports applying VC operations to a set of files at a time.
163
5d503af9
SM
164** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs.
165
2793c9bb
RW
166** BibTeX mode:
167
168*** New `bibtex-entry-format' options `whitespace', `braces', and
169`string', disabled by default.
170
171*** New variable `bibtex-cite-matcher-alist' contains rules to
172identify cited keys in BibTeX entries, used by `bibtex-find-crossref.
173
174*** Command `bibtex-url' now allows multiple URLs per entry.
175
cc213f24
MA
176+++
177** Tramp
178
179*** New connection methods.
180The new methods "plinkx", "plink2", "psftp", "sftp" and "fish" have
181been introduced. There are also new so-called gateway methods
182"tunnel" and "socks".
183
184*** Multihop syntax has been removed.
185The pseudo-method "multi" has been removed. Instead of, multi hops
186can be specified by the new variable `tramp-default-proxies-alist'.
187
188*** More default settings.
189Default values can be set via the variables `tramp-default-user',
190`tramp-default-user-alist' and `tramp-default-host'.
191
192*** Connection information is cached.
193In order to reduce connection setup, information about used
194connections are kept persistent in a file. The name of this file is
195defined in the variable `tramp-persistency-file-name'.
196
197*** Control of remote processes.
198Running processes on a remote host can be controlled by settings in
199`tramp-remote-path' and `tramp-remote-process-environment'.
200
201*** Success of remote copy is checked.
202When the variable `file-precious-flag' is set, the success of a remote
203file copy is checked via the file's checksum.
204
d15f7b68
GM
205** Miscellaneous programming mode changes
206
207*** The variable `fortran-line-length' can change the fixed-form line-length.
208
209** Miscellaneous
210
211*** comint-mode uses `start-file-process' now (see Lisp Changes).
cc213f24
MA
212If `default-directory' is a remote file name, subprocesses are started
213on the corresponding remote system.
214
d15f7b68 215*** C-x C-q in dired-mode now runs the command wdired-change-to-wdired-mode,
40aa8257
JL
216and C-x C-q in wdired-mode exits it with asking a question about
217saving changes.
d15f7b68 218
4596901f
GM
219*** The new command `eshell/info' runs info in an eshell buffer.
220
0bfd685e
GM
221\f
222* Changes in Emacs 23.1 on non-free operating systems
8ab314f9 223
672f99b6
JR
224---
225** IPv6 is supported on MS-Windows.
226Emacs now supports IPv6 on Windows XP and later, and earlier versions
227of Windows with third party IPv6 stacks installed. Previously IPv6 was
228supported on other platforms, but not on Windows due to using the winsock
2291.1 header file, even though Emacs was linking to the winsock 2 library.
230
0bfd685e
GM
231\f
232* Incompatible Lisp Changes in Emacs 23.1
8ec65cd7 233
03605a28
MA
234+++
235** The function `dired-call-process' has been removed.
236
0bfd685e
GM
237\f
238* Lisp Changes in Emacs 23.1
8ab314f9 239
24cdde13
GM
240** Changes related to multiple tty support.
241
b12f6e85
SM
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.
244
6168122d
SM
245*** $DISPLAY is now dynamically inherited from the frame's `display'.
246
24cdde13
GM
247*** The `window-system' variable has been made frame-local. The new
248`initial-window-system' variable contains the `window-system' value
249for the first frame.
250
251*** You can specify a terminal device (`tty' parameter) and a terminal
252type (`tty-type' parameter) to `make-terminal-frame'.
253
254*** The new function `make-frame-on-tty' allows you to create a new
255frame on another tty device interactively.
256
257*** The function `make-frame-on-display' now works during a tty
258session, and `make-frame-on-tty' works during a graphical session.
259
da406961 260*** New functions: `delete-tty', `suspend-tty', `resume-tty'.
24cdde13 261
419f8f49
SM
262*** A new data type for terminals with functions: `get-device-terminal',
263`terminal-parameters', `terminal-parameter', `set-terminal-parameter'.
24cdde13 264
1816bda7 265*** New hooks: `suspend-tty-functions' and `resume-tty-functions'
92cd6a7c 266are called after a tty frame has been suspended or resumed,
e4019195 267respectively. The functions are called with the terminal id of the frame
92cd6a7c
DN
268being suspended/resumed as a parameter.
269
da406961
RS
270*** New functions: `environment', `let-environment'.
271
272*** New variables: `local-key-translation-map', `local-function-key-map'.
273These are in addition to the global key-translation-map and
274function-key-map variables that already existed.
275
276??? How do the new variables relate to the old ones?
277
82866ad5
SM
278*** `initial-environment' holds the environment inherited from Emacs's parent.
279
24cdde13
GM
280*** The `keyboard-translate-table' variable and the terminal and
281keyboard coding systems have been made terminal-local.
282
283*** In addition to the global key-translation-map and
284function-key-map, Emacs has terminal-local local-key-translation-map
285and local-function-key-map variables, and uses them instead of the
286global keymaps to set up translations and function key sequences
287relevant to a specific terminal device.
288
289
90ab5c62
SM
290** You can now also pass the value of the `invisible' property to invisible-p
291to check whether it would cause the text to be invisible. Convenient when
292checking invisibility of text which has no buffer position
293(e.g. in before/after-strings).
9f44d41a 294
ea2e3ef4
RS
295** Non-breaking space now acts as whitespace.
296
41bd52f7 297+++
8d371994
RS
298** In `condition-case', a handler can specify "let the debugger run first".
299
300You do this by writing `debug' in the list of conditions to be handled,
301like this:
302
303 (condition-case nil
304 (foo bar)
305 ((debug error) nil))
306
0a963185
SM
307** The `require-match' argument to `completing-read' accepts a new value
308`confirm-only'.
309
c69b0314
SM
310+++
311** The regexp form \(?<num>:<regexp>\) specifies the group number explicitly.
312
9f44d41a
RS
313** New function `window-full-width-p' returns t if a window is as wide
314as its frame.
315
316** The new function `split-string-and-unquote' does (what?)
317
318** The new function `combine-and-quote-strings' does (what?)
319
320** The new function `image-refresh' refreshes all images associated
321with a given image specification.
322
abf13a8b
CY
323+++
324** New variable `user-emacs-directory'.
325Use this instead of "~/.emacs.d".
326
b2b387f9
MA
327+++
328** The new function `start-file-process is similar to `start-process',
329but obeys file handlers. The file handler is chosen based on
6dbe7eb4
MA
330`default-directory'. The functions `start-file-process-shell-command'
331and `process-file-shell-command' are also new; they call internally
332`start-file-process and `process-file', respectively.
b2b387f9 333
64639e26 334+++
41bd52f7
MA
335** `file-remote-p' has new optional parameters IDENTIFICATION and CONNECTED.
336IDENTIFICATION specifies which part of the remote identifier has to be
337returned. With CONNECTED passed non-nil, it is checked whether a
338remote connection has been established already.
64639e26 339
45595a4f
RS
340** The two new functions `looking-at-p' and `string-match-p' can do
341the same matching as `looking-at' and `string-match' without changing
342the match data.
89835619
SM
343
344** The interactive-form of a function can be added post-facto via the
345`interactive-form' symbol property. Mostly useful to add complex interactive
346forms to subroutines.
9bae34bf 347\f
0bfd685e 348* New Packages for Lisp Programming in Emacs 23.1
efeb796b 349
d53a60a6
TTN
350** The new package avl-tree.el deals with the AVL tree data structure.
351
05197f40 352\f
a933dad1 353----------------------------------------------------------------------
5b87ad55 354This file is part of GNU Emacs.
a933dad1 355
5b87ad55
GM
356GNU Emacs is free software; you can redistribute it and/or modify
357it under the terms of the GNU General Public License as published by
64be3a42 358the Free Software Foundation; either version 3, or (at your option)
5b87ad55
GM
359any later version.
360
361GNU Emacs is distributed in the hope that it will be useful,
362but WITHOUT ANY WARRANTY; without even the implied warranty of
363MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
364GNU General Public License for more details.
a933dad1 365
5b87ad55
GM
366You should have received a copy of the GNU General Public License
367along with GNU Emacs; see the file COPYING. If not, write to the
368Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
369Boston, MA 02110-1301, USA.
a933dad1 370
05197f40 371\f
a933dad1
DL
372Local variables:
373mode: outline
374paragraph-separate: "[ \f]*$"
375end:
ab5796a9 376
a533413c 377arch-tag: e759449d-88b3-4de4-9900-3a6c3dfa23e2