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