]> code.delx.au - gnu-emacs/blob - etc/NEWS
Merge from emacs--rel--22
[gnu-emacs] / etc / NEWS
1 GNU Emacs NEWS -- history of user-visible changes.
2
3 Copyright (C) 2007 Free Software Foundation, Inc.
4 See the end of the file for license conditions.
5
6 Please send Emacs bug reports to emacs-pretest-bug@gnu.org.
7 If possible, use M-x report-emacs-bug.
8
9 This file is about changes in Emacs version 23.
10
11 See files NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18, and NEWS.1-17
12 for changes in older Emacs versions.
13
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.
16
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.
22
23 \f
24 * About external Lisp packages
25
26 \f
27 * Installation Changes in Emacs 23.1
28
29 ** The default X toolkit is now Gtk+, rather than Lucid.
30
31 ** configure now checks for libgif before libungif when searching for
32 a GIF library.
33
34 \f
35 * Changes in Emacs 23.1
36
37 ** If you set find-file-confirm-nonexistent-file to t, then C-x C-f
38 requires confirmation before opening a non-existent file.
39
40 ** If the gpm mouse server is running and t-mouse-mode enabled, Emacs uses a
41 Unix socket in a GNU/Linux console to talk to server, rather than faking events
42 using the client program mev. This C level approach provides mouse
43 highlighting, and help echoing in the minibuffer.
44
45 ** The new variable next-error-recenter specifies how next-error should
46 recenter the visited source file. Its value can be a number (for example,
47 0 for top line, -1 for bottom line), or nil for no recentering.
48
49 ** The mode-line display a `@' if the default-directory for the current buffer
50 is on a remote machine, or a hyphen otherwise.
51 ** The new command balance-window-area balances windows both vertically
52 and horizontally.
53 \f
54 * Startup Changes in Emacs 23.1
55
56 \f
57 * Incompatible Editing Changes in Emacs 23.1
58
59 \f
60 * Editing Changes in Emacs 23.1
61
62 ** New command kill-matching-buffers kills buffers whose name matches a regexp.
63
64 ** Minibuffer changes:
65
66 *** isearch started in the minibuffer searches in the minibuffer history.
67 Reverse isearch commands (C-r, C-M-r) search in previous minibuffer
68 history elements, and forward isearch commands (C-s, C-M-s) search in
69 next history elements. When the reverse search reaches the first history
70 element, it wraps to the last history element, and the forward search
71 wraps to the first history element. When the search is terminated, the
72 history element containing the search string becomes the current.
73
74 \f
75 * New Modes and Packages in Emacs 23.1
76
77 ** css-mode to edit Cascading Style Sheets.
78
79 ** bibtex-style-mode helps you write BibTeX's *.bst files.
80
81 ** vera-mode to edit Vera files.
82
83 ** socks.el (which had been part of W3) is now part of Emacs.
84
85 ** minibuffer-indicate-depth-mode shows the minibuffer depth in the prompt.
86
87 \f
88 * Changes in Specialized Modes and Packages in Emacs 23.1
89
90 ** compilation-auto-jump-to-first-error tells `compile' to jump to
91 the first error encountered during compilations.
92
93 ** In the `copyright' package, you can specify your copyright holders's names.
94 Only copyright lines with holders matching copyright-names-regexp will be
95 considered for update.
96
97 ** VC
98 *** VC backends can provide completion of revision names.
99 *** VC has some support for Bazaar (bzr).
100
101 *** VC has some support for Mercurial (hg).
102
103 ** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs.
104
105 ** BibTeX mode:
106
107 *** New `bibtex-entry-format' options `whitespace', `braces', and
108 `string', disabled by default.
109
110 *** New variable `bibtex-cite-matcher-alist' contains rules to
111 identify cited keys in BibTeX entries, used by `bibtex-find-crossref.
112
113 *** Command `bibtex-url' now allows multiple URLs per entry.
114
115 +++
116 ** Tramp
117
118 *** New connection methods.
119 The new methods "plinkx", "plink2", "psftp", "sftp" and "fish" have
120 been introduced. There are also new so-called gateway methods
121 "tunnel" and "socks".
122
123 *** Multihop syntax has been removed.
124 The pseudo-method "multi" has been removed. Instead of, multi hops
125 can be specified by the new variable `tramp-default-proxies-alist'.
126
127 *** More default settings.
128 Default values can be set via the variables `tramp-default-user',
129 `tramp-default-user-alist' and `tramp-default-host'.
130
131 *** Connection information is cached.
132 In order to reduce connection setup, information about used
133 connections are kept persistent in a file. The name of this file is
134 defined in the variable `tramp-persistency-file-name'.
135
136 *** Control of remote processes.
137 Running processes on a remote host can be controlled by settings in
138 `tramp-remote-path' and `tramp-remote-process-environment'.
139
140 *** Success of remote copy is checked.
141 When the variable `file-precious-flag' is set, the success of a remote
142 file copy is checked via the file's checksum.
143
144 ** comint-mode uses `start-file-process' now (see Lisp Changes).
145 If `default-directory' is a remote file name, subprocesses are started
146 on the corresponding remote system.
147
148 ** C-x C-q in dired-mode now runs the command wdired-change-to-wdired-mode.
149 \f
150 * Changes in Emacs 23.1 on non-free operating systems
151
152 ---
153 ** IPv6 is supported on MS-Windows.
154 Emacs now supports IPv6 on Windows XP and later, and earlier versions
155 of Windows with third party IPv6 stacks installed. Previously IPv6 was
156 supported on other platforms, but not on Windows due to using the winsock
157 1.1 header file, even though Emacs was linking to the winsock 2 library.
158
159 \f
160 * Incompatible Lisp Changes in Emacs 23.1
161
162 +++
163 ** The function `dired-call-process' has been removed.
164
165 \f
166 * Lisp Changes in Emacs 23.1
167
168 +++
169 ** In `condition-case', a handler can specify "let the debugger run first".
170
171 You do this by writing `debug' in the list of conditions to be handled,
172 like this:
173
174 (condition-case nil
175 (foo bar)
176 ((debug error) nil))
177
178 ** The `require-match' argument to `completing-read' accepts a new value
179 `confirm-only'.
180
181 +++
182 ** The regexp form \(?<num>:<regexp>\) specifies the group number explicitly.
183
184 +++
185 ** New variable `user-emacs-directory'.
186 Use this instead of "~/.emacs.d".
187
188 +++
189 ** The new function `image-refresh' refreshes all images associated
190 with a given image specification.
191
192 +++
193 ** The new function `start-file-process is similar to `start-process',
194 but obeys file handlers. The file handler is chosen based on
195 `default-directory'. The functions `start-file-process-shell-command'
196 and `process-file-shell-command' are also new; they call internally
197 `start-file-process and `process-file', respectively.
198
199 +++
200 ** `file-remote-p' has new optional parameters IDENTIFICATION and CONNECTED.
201 IDENTIFICATION specifies which part of the remote identifier has to be
202 returned. With CONNECTED passed non-nil, it is checked whether a
203 remote connection has been established already.
204
205 ** The two new functions `looking-at-p' and `string-match-p' can do
206 the same matching as `looking-at' and `string-match' without changing
207 the match data.
208
209 ** The interactive-form of a function can be added post-facto via the
210 `interactive-form' symbol property. Mostly useful to add complex interactive
211 forms to subroutines.
212 \f
213 * New Packages for Lisp Programming in Emacs 23.1
214
215 \f
216 ----------------------------------------------------------------------
217 This file is part of GNU Emacs.
218
219 GNU Emacs is free software; you can redistribute it and/or modify
220 it under the terms of the GNU General Public License as published by
221 the Free Software Foundation; either version 2, or (at your option)
222 any later version.
223
224 GNU Emacs is distributed in the hope that it will be useful,
225 but WITHOUT ANY WARRANTY; without even the implied warranty of
226 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
227 GNU General Public License for more details.
228
229 You should have received a copy of the GNU General Public License
230 along with GNU Emacs; see the file COPYING. If not, write to the
231 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
232 Boston, MA 02110-1301, USA.
233
234 \f
235 Local variables:
236 mode: outline
237 paragraph-separate: "[ \f]*$"
238 end:
239
240 arch-tag: e759449d-88b3-4de4-9900-3a6c3dfa23e2