(f90-indented-comment-re, f90-directive-comment-re)
[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
780d7bb9
RS
41** Emacs now supports using both X displays and ttys in one session.
42You can also use any number of different ttys.
43
44You can test for the presence of this feature in your Lisp code by
45testing for the `multi-tty' feature.
46
251ad2de
TTN
47** Emacs comes with a new set of icons for Mac OS X.
48OS-X-style icons (an application icon and a relevant document icon)
49were contributed by Kentaro Ohkouchi.
50Source files for these icons can be found in Emacs.app/Contents/Resources.
51
f664fee9
MC
52** Built-in functions (subr) can now have an interactive specification
53that is not a prompt string. If the `intspec' parameter of a `DEFUN'
54starts with a `(', the string is evaluated as a Lisp form.
55
56** set-file-modes is now interactive and can take the mode value in
57symbolic notation thanks to auxiliary functions.
58
90ab5c62
SM
59** split-window-preferred-function specifies whether display-buffer should
60split windows vertically or horizontally.
61
24cdde13
GM
62** Emacsclient has been extended to support opening a new terminal
63frame. Its behavior has been changed to open a new Emacs frame by
64default. Use the -c option to get the old behavior of opening files in
65the currently selected Emacs frame.
66
c0dadae9
MC
67** The refcards are now shipped as PDF files.
68
795a2a94
GM
69** Emacs now supports the SVG image format through librsvg2.
70
75f6af19 71** If you set find-file-confirm-nonexistent-file to t, then C-x C-f
0a963185
SM
72requires confirmation before opening a non-existent file.
73
6dadd99f
NR
74** If the gpm mouse server is running and t-mouse-mode enabled, Emacs uses a
75Unix socket in a GNU/Linux console to talk to server, rather than faking events
76using the client program mev. This C level approach provides mouse
77highlighting, and help echoing in the minibuffer.
78
c2e8590b
TTN
79** The new variable next-error-recenter specifies how next-error should
80recenter the visited source file. Its value can be a number (for example,
810 for top line, -1 for bottom line), or nil for no recentering.
82
d87b5ced 83** The mode-line displays a `@' if the default-directory for the current buffer
1f2e1c75 84is on a remote machine, or a hyphen otherwise.
6c5d503f 85
c9447ae1
GM
86** The mode-line displays a mode menu when mouse-1 is clicked on a minor mode,
87in the same way as it already did for major modes.
88
de3054d5 89** The new command balance-windows-area balances windows both vertically
62e3c31f 90and horizontally.
d466e9fc
SM
91
92** The new command close-display-connection can be used to close a connection
93to a remote display, e.g. because the display is about to become unreachable.
6c5d503f
MA
94
95** The command shell prompts for the default directory, when it is
96called with a prefix, and the default directory is a remote file name.
de3054d5 97This is because some file name handlers (like ange-ftp) are not able to
6c5d503f 98run processes remotely.
aff2ba04
RS
99
100** The new command `display-time-world' starts an updating time display
101using several time zones, in a buffer.
6dadd99f 102\f
0bfd685e 103* Startup Changes in Emacs 23.1
21f7b9d8 104
56e1896b
JL
105** New user option `initial-buffer-choice' specifies what to display
106after starting Emacs: startup screen, *scratch* buffer, visiting a
107file or directory.
108
aa5310e4
DK
109** New alias `argv' for `command-line-args-left'
110This is a convenience alias, so that one can write `(pop argv)'
111inside of --eval command line arguments in order to access
112following arguments.
f8fd7ed3
GM
113
114** The abbrev file is no longer read at startup in batch mode.
c44da964 115\f
0bfd685e 116* Incompatible Editing Changes in Emacs 23.1
b58cb59f 117
406c0f12 118\f
0bfd685e 119* Editing Changes in Emacs 23.1
406c0f12 120
1ac03a31
JL
121+++
122** M-q now fills the region if the region is active and
123`transient-mark-mode' is turned on. Otherwise, it fills the current
ecde850a 124paragraph.
1ac03a31 125
ecde850a 126+++
dc868f13
JL
127** M-$ now checks spelling of the region if the region is active and
128`transient-mark-mode' is turned on. Otherwise, it checks spelling of the
129word at point.
130
6dd697d9
DN
131** TAB now indents the region if the region is active and
132`transient-mark-mode' is turned on.
133
24cdde13
GM
134** C-z now invokes `suspend-frame', C-x C-c now invokes
135`save-buffers-kill-terminal'.
136
a151f82c
SS
137** New command kill-matching-buffers kills buffers whose name matches a regexp.
138
539f5bda
GM
139** `interprogram-paste-function' can now return one string or a list
140of strings. In the latter case, Emacs puts the second and following
141strings on the kill ring.
142
297b8ccd
JL
143** Minibuffer changes:
144
145*** isearch started in the minibuffer searches in the minibuffer history.
146Reverse isearch commands (C-r, C-M-r) search in previous minibuffer
147history elements, and forward isearch commands (C-s, C-M-s) search in
148next history elements. When the reverse search reaches the first history
149element, it wraps to the last history element, and the forward search
150wraps to the first history element. When the search is terminated, the
151history element containing the search string becomes the current.
152
0bfd685e
GM
153\f
154* New Modes and Packages in Emacs 23.1
0091c67e 155
12bbb989
JL
156** The package isearch-multi.el has been added. It implements a new mode
157`isearch-buffers-minor-mode' that allows isearch to search through
158multiple buffers. In this mode a new variable
159`isearch-buffers-next-buffer-function' defines the function to call
160to get the next buffer to search in the series of multiple buffers.
161
1816bda7
MC
162** The package doc-view.el has been added. It supports viewing of PDF,
163PostScript and DVI documents inside an Emacs buffer by converting the
164document to a set of PNG images first. One can also search for a
165regular expression in the document. The commentary of the file explains
166its usage.
167
ddc961c5 168** A new game called `bubbles' has been added.
a0818148 169
dcd6e8d7 170** minibuffer-indicate-depth-mode shows the minibuffer depth in the prompt.
3f7194ed 171
0bfd685e
GM
172\f
173* Changes in Specialized Modes and Packages in Emacs 23.1
61d244ca 174
12bbb989
JL
175** isearch can now search through multiple ChangeLog files.
176When running isearch in a ChangeLog file, if the search fails,
177then another C-s tries searching the previous ChangeLog,
178if there is one (e.g. go from ChangeLog to ChangeLog.12).
179
b9694062
JL
180+++
181** In Dired-x, all command guesses for ! are now added to the default
182list accessible by M-n instead of pushing all guesses temporarily into
183the history list.
184
c3bb6fdb
SM
185** smerge-refine highlights word-level details of changes in conflict.
186It's used automatically as you move through conflicts, see smerge-auto-refine.
187
188** diff-refine-hunk highlights word-level details of changes in a diff hunk.
189It's used automatically as you move through hunks, see diff-auto-refine.
190
e6a01e4e 191** archive-mode has basic support to browse Rar archives.
c3bb6fdb 192
24cdde13
GM
193** talk.el has been extended for multiple tty support.
194
813fb3fe
SM
195** compilation-auto-jump-to-first-error tells `compile' to jump to
196the first error encountered during compilations.
197
b649d2e4
SM
198** In the `copyright' package, you can specify your copyright holders's names.
199Only copyright lines with holders matching copyright-names-regexp will be
200considered for update.
201
e7ce8577
GM
202** eldoc highlights the function argument under point
203with the face `eldoc-highlight-function-argument'.
204
56dada42 205** VC
397c4757
DN
206*** Clicking on the VC mode-line entry now pops the VC menu.
207
9372a958 208*** The VC mode-line entry now has a tooltip that explains the VC file status.
cb223bba 209
082c5622
DN
210*** VC now supports applying VC operations to a set of files at a time.
211
4a11b6b5
ER
212This enables VC to work much more effectively with changeset-oriented
213version-control systems such as Subversion, GNU Arch, Mercurial, and
214Bzr. VC will now pass a multiple-file commit to these systems
215as a single changeset.
216
5d503af9
SM
217** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs.
218
332de56f
GM
219** The appearance of superscript and subscript in TeX is more customizable.
220See the documentation of the variables: tex-fontify-script,
221tex-font-script-display, tex-suscript-height-ratio, and
222tex-suscript-height-minimum.
223
2793c9bb
RW
224** BibTeX mode:
225
226*** New `bibtex-entry-format' options `whitespace', `braces', and
227`string', disabled by default.
228
229*** New variable `bibtex-cite-matcher-alist' contains rules to
0f3cd6b2 230identify cited keys in BibTeX entries, used by `bibtex-find-crossref'.
2793c9bb
RW
231
232*** Command `bibtex-url' now allows multiple URLs per entry.
233
cc213f24
MA
234+++
235** Tramp
236
237*** New connection methods.
238The new methods "plinkx", "plink2", "psftp", "sftp" and "fish" have
239been introduced. There are also new so-called gateway methods
240"tunnel" and "socks".
241
242*** Multihop syntax has been removed.
243The pseudo-method "multi" has been removed. Instead of, multi hops
244can be specified by the new variable `tramp-default-proxies-alist'.
245
246*** More default settings.
247Default values can be set via the variables `tramp-default-user',
248`tramp-default-user-alist' and `tramp-default-host'.
249
250*** Connection information is cached.
251In order to reduce connection setup, information about used
252connections are kept persistent in a file. The name of this file is
253defined in the variable `tramp-persistency-file-name'.
254
255*** Control of remote processes.
256Running processes on a remote host can be controlled by settings in
257`tramp-remote-path' and `tramp-remote-process-environment'.
258
259*** Success of remote copy is checked.
260When the variable `file-precious-flag' is set, the success of a remote
261file copy is checked via the file's checksum.
262
d15f7b68
GM
263** Miscellaneous programming mode changes
264
da26ea8d
GM
265*** The file etc/emacs.py now supports both Python 2 and 3, meaning
266that either version can be used as inferior Python by python.el.
c3f01f42 267
d15f7b68
GM
268*** The variable `fortran-line-length' can change the fixed-form line-length.
269
2ecfb069 270*** (The increasingly misnamed) F90 mode has some support for Fortran 2003.
2fb6c6be
GM
271At present, there are some problems with derived types.
272
d15f7b68
GM
273** Miscellaneous
274
275*** comint-mode uses `start-file-process' now (see Lisp Changes).
cc213f24
MA
276If `default-directory' is a remote file name, subprocesses are started
277on the corresponding remote system.
278
d15f7b68 279*** C-x C-q in dired-mode now runs the command wdired-change-to-wdired-mode,
40aa8257
JL
280and C-x C-q in wdired-mode exits it with asking a question about
281saving changes.
d15f7b68 282
4596901f
GM
283*** The new command `eshell/info' runs info in an eshell buffer.
284
0bfd685e
GM
285\f
286* Changes in Emacs 23.1 on non-free operating systems
8ab314f9 287
672f99b6
JR
288---
289** IPv6 is supported on MS-Windows.
290Emacs now supports IPv6 on Windows XP and later, and earlier versions
291of Windows with third party IPv6 stacks installed. Previously IPv6 was
292supported on other platforms, but not on Windows due to using the winsock
2931.1 header file, even though Emacs was linking to the winsock 2 library.
294
0bfd685e
GM
295\f
296* Incompatible Lisp Changes in Emacs 23.1
8ec65cd7 297
03605a28
MA
298+++
299** The function `dired-call-process' has been removed.
300
0bfd685e
GM
301\f
302* Lisp Changes in Emacs 23.1
8ab314f9 303
b9694062
JL
304+++
305** A list of default values can be specified for the DEFAULT argument of
306functions `read-from-minibuffer', `read-string', `read-command',
307`read-variable', `read-buffer', `completing-read'. Elements of this list
308are available for inserting into the minibuffer by typing `M-n'.
309For empty input these functions return the first element of this list.
310
ab6198b2
SM
311** `frame-inherited-parameters' lets new frames inherit parameters from
312the selected frame.
4f4a84ec
SM
313** New keymap `input-decode-map' overrides like key-translation-map, but
314applies before function-key-map. Also it is terminal-local contrary to
315key-translation-map. Terminal-specific key-sequences are generally added to
316this map rather than to function-key-map now.
317
24cdde13
GM
318** Changes related to multiple tty support.
319
b12f6e85
SM
320*** $TERM is now set to `dumb' for subprocesses. If you want to know the
321$TERM inherited by Emacs you will have to look inside initial-environment.
322
6168122d
SM
323*** $DISPLAY is now dynamically inherited from the frame's `display'.
324
24cdde13
GM
325*** The `window-system' variable has been made frame-local. The new
326`initial-window-system' variable contains the `window-system' value
327for the first frame.
328
329*** You can specify a terminal device (`tty' parameter) and a terminal
330type (`tty-type' parameter) to `make-terminal-frame'.
331
332*** The new function `make-frame-on-tty' allows you to create a new
333frame on another tty device interactively.
334
335*** The function `make-frame-on-display' now works during a tty
336session, and `make-frame-on-tty' works during a graphical session.
337
da406961 338*** New functions: `delete-tty', `suspend-tty', `resume-tty'.
24cdde13 339
419f8f49
SM
340*** A new data type for terminals with functions: `get-device-terminal',
341`terminal-parameters', `terminal-parameter', `set-terminal-parameter'.
24cdde13 342
1816bda7 343*** New hooks: `suspend-tty-functions' and `resume-tty-functions'
92cd6a7c 344are called after a tty frame has been suspended or resumed,
de3054d5 345respectively. The functions are called with the terminal id of the frame
92cd6a7c
DN
346being suspended/resumed as a parameter.
347
01ff458e 348*** New function: `environment'.
da406961 349
4f4a84ec 350*** New variable: `local-function-key-map'.
01ff458e
SM
351This in addition to the global function-key-map variable that
352already existed. The global variable is not used directly any more;
353instead, the local-function-key-map is initialized so as to inherit from
354function-key-map.
da406961 355
82866ad5
SM
356*** `initial-environment' holds the environment inherited from Emacs's parent.
357
24cdde13
GM
358*** The `keyboard-translate-table' variable and the terminal and
359keyboard coding systems have been made terminal-local.
360
1aa423e9
SM
361*** In addition to the global function-key-map, Emacs has terminal-local
362local-function-key-map variables, and uses them instead of the
24cdde13
GM
363global keymaps to set up translations and function key sequences
364relevant to a specific terminal device.
365
366
90ab5c62
SM
367** You can now also pass the value of the `invisible' property to invisible-p
368to check whether it would cause the text to be invisible. Convenient when
369checking invisibility of text which has no buffer position
370(e.g. in before/after-strings).
9f44d41a 371
ea2e3ef4
RS
372** Non-breaking space now acts as whitespace.
373
41bd52f7 374+++
8d371994
RS
375** In `condition-case', a handler can specify "let the debugger run first".
376
377You do this by writing `debug' in the list of conditions to be handled,
378like this:
379
380 (condition-case nil
381 (foo bar)
382 ((debug error) nil))
383
0a963185
SM
384** The `require-match' argument to `completing-read' accepts a new value
385`confirm-only'.
386
c69b0314
SM
387+++
388** The regexp form \(?<num>:<regexp>\) specifies the group number explicitly.
389
9f44d41a
RS
390** New function `window-full-width-p' returns t if a window is as wide
391as its frame.
392
393** The new function `split-string-and-unquote' does (what?)
394
395** The new function `combine-and-quote-strings' does (what?)
396
397** The new function `image-refresh' refreshes all images associated
398with a given image specification.
399
abf13a8b
CY
400+++
401** New variable `user-emacs-directory'.
402Use this instead of "~/.emacs.d".
403
b2b387f9 404+++
0f3cd6b2 405** The new function `start-file-process' is similar to `start-process',
b2b387f9 406but obeys file handlers. The file handler is chosen based on
6dbe7eb4
MA
407`default-directory'. The functions `start-file-process-shell-command'
408and `process-file-shell-command' are also new; they call internally
0f3cd6b2 409`start-file-process' and `process-file', respectively.
b2b387f9 410
64639e26 411+++
41bd52f7
MA
412** `file-remote-p' has new optional parameters IDENTIFICATION and CONNECTED.
413IDENTIFICATION specifies which part of the remote identifier has to be
414returned. With CONNECTED passed non-nil, it is checked whether a
415remote connection has been established already.
64639e26 416
45595a4f
RS
417** The two new functions `looking-at-p' and `string-match-p' can do
418the same matching as `looking-at' and `string-match' without changing
419the match data.
89835619
SM
420
421** The interactive-form of a function can be added post-facto via the
422`interactive-form' symbol property. Mostly useful to add complex interactive
423forms to subroutines.
9bae34bf 424\f
0bfd685e 425* New Packages for Lisp Programming in Emacs 23.1
efeb796b 426
d53a60a6
TTN
427** The new package avl-tree.el deals with the AVL tree data structure.
428
05197f40 429\f
a933dad1 430----------------------------------------------------------------------
5b87ad55 431This file is part of GNU Emacs.
a933dad1 432
5b87ad55
GM
433GNU Emacs is free software; you can redistribute it and/or modify
434it under the terms of the GNU General Public License as published by
64be3a42 435the Free Software Foundation; either version 3, or (at your option)
5b87ad55
GM
436any later version.
437
438GNU Emacs is distributed in the hope that it will be useful,
439but WITHOUT ANY WARRANTY; without even the implied warranty of
440MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
441GNU General Public License for more details.
a933dad1 442
5b87ad55
GM
443You should have received a copy of the GNU General Public License
444along with GNU Emacs; see the file COPYING. If not, write to the
445Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
446Boston, MA 02110-1301, USA.
a933dad1 447
05197f40 448\f
a933dad1
DL
449Local variables:
450mode: outline
451paragraph-separate: "[ \f]*$"
452end:
ab5796a9 453
a533413c 454arch-tag: e759449d-88b3-4de4-9900-3a6c3dfa23e2