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