]> code.delx.au - gnu-emacs/blob - etc/NEWS
Add a list of minibuffer default values.
[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 ** Support for systems without alloca has been removed.
35
36 ** The `emacstool' utility has been removed.
37
38 \f
39 * Changes in Emacs 23.1
40
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
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
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
59 ** split-window-preferred-function specifies whether display-buffer should
60 split windows vertically or horizontally.
61
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
67 ** The refcards are now shipped as PDF files.
68
69 ** Emacs now supports the SVG image format through librsvg2.
70
71 ** If you set find-file-confirm-nonexistent-file to t, then C-x C-f
72 requires confirmation before opening a non-existent file.
73
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
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
83 ** The mode-line displays a `@' if the default-directory for the current buffer
84 is on a remote machine, or a hyphen otherwise.
85
86 ** The mode-line displays a mode menu when mouse-1 is clicked on a minor mode,
87 in the same way as it already did for major modes.
88
89 ** The new command balance-windows-area balances windows both vertically
90 and horizontally.
91
92 ** The new command close-display-connection can be used to close a connection
93 to a remote display, e.g. because the display is about to become unreachable.
94
95 ** The command shell prompts for the default directory, when it is
96 called with a prefix, and the default directory is a remote file name.
97 This is because some file name handlers (like ange-ftp) are not able to
98 run processes remotely.
99
100 ** The new command `display-time-world' starts an updating time display
101 using several time zones, in a buffer.
102 \f
103 * Startup Changes in Emacs 23.1
104
105 ** New user option `initial-buffer-choice' specifies what to display
106 after starting Emacs: startup screen, *scratch* buffer, visiting a
107 file or directory.
108
109 ** New alias `argv' for `command-line-args-left'
110 This is a convenience alias, so that one can write `(pop argv)'
111 inside of --eval command line arguments in order to access
112 following arguments.
113
114 ** The abbrev file is no longer read at startup in batch mode.
115 \f
116 * Incompatible Editing Changes in Emacs 23.1
117
118 \f
119 * Editing Changes in Emacs 23.1
120
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
124 paragraph.
125
126 +++
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
129 word at point.
130
131 ** TAB now indents the region if the region is active and
132 `transient-mark-mode' is turned on.
133
134 ** C-z now invokes `suspend-frame', C-x C-c now invokes
135 `save-buffers-kill-terminal'.
136
137 ** New command kill-matching-buffers kills buffers whose name matches a regexp.
138
139 ** `interprogram-paste-function' can now return one string or a list
140 of strings. In the latter case, Emacs puts the second and following
141 strings on the kill ring.
142
143 ** Minibuffer changes:
144
145 *** isearch started in the minibuffer searches in the minibuffer history.
146 Reverse isearch commands (C-r, C-M-r) search in previous minibuffer
147 history elements, and forward isearch commands (C-s, C-M-s) search in
148 next history elements. When the reverse search reaches the first history
149 element, it wraps to the last history element, and the forward search
150 wraps to the first history element. When the search is terminated, the
151 history element containing the search string becomes the current.
152
153 \f
154 * New Modes and Packages in Emacs 23.1
155
156 ** The package doc-view.el has been added. It supports viewing of PDF,
157 PostScript and DVI documents inside an Emacs buffer by converting the
158 document to a set of PNG images first. One can also search for a
159 regular expression in the document. The commentary of the file explains
160 its usage.
161
162 ** A new game called `bubbles' has been added.
163
164 ** minibuffer-indicate-depth-mode shows the minibuffer depth in the prompt.
165
166 \f
167 * Changes in Specialized Modes and Packages in Emacs 23.1
168
169 +++
170 ** In Dired-x, all command guesses for ! are now added to the default
171 list accessible by M-n instead of pushing all guesses temporarily into
172 the history list.
173
174 ** smerge-refine highlights word-level details of changes in conflict.
175 It's used automatically as you move through conflicts, see smerge-auto-refine.
176
177 ** diff-refine-hunk highlights word-level details of changes in a diff hunk.
178 It's used automatically as you move through hunks, see diff-auto-refine.
179
180 ** archive-mode has basic support to browse Rar archives.
181
182 ** talk.el has been extended for multiple tty support.
183
184 ** compilation-auto-jump-to-first-error tells `compile' to jump to
185 the first error encountered during compilations.
186
187 ** In the `copyright' package, you can specify your copyright holders's names.
188 Only copyright lines with holders matching copyright-names-regexp will be
189 considered for update.
190
191 ** eldoc highlights the function argument under point
192 with the face `eldoc-highlight-function-argument'.
193
194 ** VC
195 *** Clicking on the VC mode-line entry now pops the VC menu.
196
197 *** The VC mode-line entry now has a tooltip that explains the VC file status.
198
199 *** VC now supports applying VC operations to a set of files at a time.
200
201 This enables VC to work much more effectively with changeset-oriented
202 version-control systems such as Subversion, GNU Arch, Mercurial, and
203 Bzr. VC will now pass a multiple-file commit to these systems
204 as a single changeset.
205
206 ** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs.
207
208 ** The appearance of superscript and subscript in TeX is more customizable.
209 See the documentation of the variables: tex-fontify-script,
210 tex-font-script-display, tex-suscript-height-ratio, and
211 tex-suscript-height-minimum.
212
213 ** BibTeX mode:
214
215 *** New `bibtex-entry-format' options `whitespace', `braces', and
216 `string', disabled by default.
217
218 *** New variable `bibtex-cite-matcher-alist' contains rules to
219 identify cited keys in BibTeX entries, used by `bibtex-find-crossref.
220
221 *** Command `bibtex-url' now allows multiple URLs per entry.
222
223 +++
224 ** Tramp
225
226 *** New connection methods.
227 The new methods "plinkx", "plink2", "psftp", "sftp" and "fish" have
228 been introduced. There are also new so-called gateway methods
229 "tunnel" and "socks".
230
231 *** Multihop syntax has been removed.
232 The pseudo-method "multi" has been removed. Instead of, multi hops
233 can be specified by the new variable `tramp-default-proxies-alist'.
234
235 *** More default settings.
236 Default values can be set via the variables `tramp-default-user',
237 `tramp-default-user-alist' and `tramp-default-host'.
238
239 *** Connection information is cached.
240 In order to reduce connection setup, information about used
241 connections are kept persistent in a file. The name of this file is
242 defined in the variable `tramp-persistency-file-name'.
243
244 *** Control of remote processes.
245 Running processes on a remote host can be controlled by settings in
246 `tramp-remote-path' and `tramp-remote-process-environment'.
247
248 *** Success of remote copy is checked.
249 When the variable `file-precious-flag' is set, the success of a remote
250 file copy is checked via the file's checksum.
251
252 ** Miscellaneous programming mode changes
253
254 *** The file etc/emacs.py now supports both Python 2 and 3, meaning
255 that either version can be used as inferior Python by python.el.
256
257 *** The variable `fortran-line-length' can change the fixed-form line-length.
258
259 ** Miscellaneous
260
261 *** comint-mode uses `start-file-process' now (see Lisp Changes).
262 If `default-directory' is a remote file name, subprocesses are started
263 on the corresponding remote system.
264
265 *** C-x C-q in dired-mode now runs the command wdired-change-to-wdired-mode,
266 and C-x C-q in wdired-mode exits it with asking a question about
267 saving changes.
268
269 *** The new command `eshell/info' runs info in an eshell buffer.
270
271 \f
272 * Changes in Emacs 23.1 on non-free operating systems
273
274 ---
275 ** IPv6 is supported on MS-Windows.
276 Emacs now supports IPv6 on Windows XP and later, and earlier versions
277 of Windows with third party IPv6 stacks installed. Previously IPv6 was
278 supported on other platforms, but not on Windows due to using the winsock
279 1.1 header file, even though Emacs was linking to the winsock 2 library.
280
281 \f
282 * Incompatible Lisp Changes in Emacs 23.1
283
284 +++
285 ** The function `dired-call-process' has been removed.
286
287 \f
288 * Lisp Changes in Emacs 23.1
289
290 +++
291 ** A list of default values can be specified for the DEFAULT argument of
292 functions `read-from-minibuffer', `read-string', `read-command',
293 `read-variable', `read-buffer', `completing-read'. Elements of this list
294 are available for inserting into the minibuffer by typing `M-n'.
295 For empty input these functions return the first element of this list.
296
297 ** `frame-inherited-parameters' lets new frames inherit parameters from
298 the selected frame.
299 ** New keymap `input-decode-map' overrides like key-translation-map, but
300 applies before function-key-map. Also it is terminal-local contrary to
301 key-translation-map. Terminal-specific key-sequences are generally added to
302 this map rather than to function-key-map now.
303
304 ** Changes related to multiple tty support.
305
306 *** $TERM is now set to `dumb' for subprocesses. If you want to know the
307 $TERM inherited by Emacs you will have to look inside initial-environment.
308
309 *** $DISPLAY is now dynamically inherited from the frame's `display'.
310
311 *** The `window-system' variable has been made frame-local. The new
312 `initial-window-system' variable contains the `window-system' value
313 for the first frame.
314
315 *** You can specify a terminal device (`tty' parameter) and a terminal
316 type (`tty-type' parameter) to `make-terminal-frame'.
317
318 *** The new function `make-frame-on-tty' allows you to create a new
319 frame on another tty device interactively.
320
321 *** The function `make-frame-on-display' now works during a tty
322 session, and `make-frame-on-tty' works during a graphical session.
323
324 *** New functions: `delete-tty', `suspend-tty', `resume-tty'.
325
326 *** A new data type for terminals with functions: `get-device-terminal',
327 `terminal-parameters', `terminal-parameter', `set-terminal-parameter'.
328
329 *** New hooks: `suspend-tty-functions' and `resume-tty-functions'
330 are called after a tty frame has been suspended or resumed,
331 respectively. The functions are called with the terminal id of the frame
332 being suspended/resumed as a parameter.
333
334 *** New function: `environment'.
335
336 *** New variable: `local-function-key-map'.
337 This in addition to the global function-key-map variable that
338 already existed. The global variable is not used directly any more;
339 instead, the local-function-key-map is initialized so as to inherit from
340 function-key-map.
341
342 *** `initial-environment' holds the environment inherited from Emacs's parent.
343
344 *** The `keyboard-translate-table' variable and the terminal and
345 keyboard coding systems have been made terminal-local.
346
347 *** In addition to the global function-key-map, Emacs has terminal-local
348 local-function-key-map variables, and uses them instead of the
349 global keymaps to set up translations and function key sequences
350 relevant to a specific terminal device.
351
352
353 ** You can now also pass the value of the `invisible' property to invisible-p
354 to check whether it would cause the text to be invisible. Convenient when
355 checking invisibility of text which has no buffer position
356 (e.g. in before/after-strings).
357
358 ** Non-breaking space now acts as whitespace.
359
360 +++
361 ** In `condition-case', a handler can specify "let the debugger run first".
362
363 You do this by writing `debug' in the list of conditions to be handled,
364 like this:
365
366 (condition-case nil
367 (foo bar)
368 ((debug error) nil))
369
370 ** The `require-match' argument to `completing-read' accepts a new value
371 `confirm-only'.
372
373 +++
374 ** The regexp form \(?<num>:<regexp>\) specifies the group number explicitly.
375
376 ** New function `window-full-width-p' returns t if a window is as wide
377 as its frame.
378
379 ** The new function `split-string-and-unquote' does (what?)
380
381 ** The new function `combine-and-quote-strings' does (what?)
382
383 ** The new function `image-refresh' refreshes all images associated
384 with a given image specification.
385
386 +++
387 ** New variable `user-emacs-directory'.
388 Use this instead of "~/.emacs.d".
389
390 +++
391 ** The new function `start-file-process is similar to `start-process',
392 but obeys file handlers. The file handler is chosen based on
393 `default-directory'. The functions `start-file-process-shell-command'
394 and `process-file-shell-command' are also new; they call internally
395 `start-file-process and `process-file', respectively.
396
397 +++
398 ** `file-remote-p' has new optional parameters IDENTIFICATION and CONNECTED.
399 IDENTIFICATION specifies which part of the remote identifier has to be
400 returned. With CONNECTED passed non-nil, it is checked whether a
401 remote connection has been established already.
402
403 ** The two new functions `looking-at-p' and `string-match-p' can do
404 the same matching as `looking-at' and `string-match' without changing
405 the match data.
406
407 ** The interactive-form of a function can be added post-facto via the
408 `interactive-form' symbol property. Mostly useful to add complex interactive
409 forms to subroutines.
410 \f
411 * New Packages for Lisp Programming in Emacs 23.1
412
413 ** The new package avl-tree.el deals with the AVL tree data structure.
414
415 \f
416 ----------------------------------------------------------------------
417 This file is part of GNU Emacs.
418
419 GNU Emacs is free software; you can redistribute it and/or modify
420 it under the terms of the GNU General Public License as published by
421 the Free Software Foundation; either version 3, or (at your option)
422 any later version.
423
424 GNU Emacs is distributed in the hope that it will be useful,
425 but WITHOUT ANY WARRANTY; without even the implied warranty of
426 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
427 GNU General Public License for more details.
428
429 You should have received a copy of the GNU General Public License
430 along with GNU Emacs; see the file COPYING. If not, write to the
431 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
432 Boston, MA 02110-1301, USA.
433
434 \f
435 Local variables:
436 mode: outline
437 paragraph-separate: "[ \f]*$"
438 end:
439
440 arch-tag: e759449d-88b3-4de4-9900-3a6c3dfa23e2