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