(emacs-init-time): New function.
[bpt/emacs.git] / etc / NEWS
CommitLineData
29b7722a 1GNU Emacs NEWS -- history of user-visible changes.
5b87ad55 2
dcb8ac09 3Copyright (C) 2007, 2008 Free Software Foundation, Inc.
5b87ad55 4See the end of the file for license conditions.
a933dad1 5
3f7194ed 6Please send Emacs bug reports to emacs-pretest-bug@gnu.org.
9a21d88b
KS
7If possible, use M-x report-emacs-bug.
8
0bfd685e 9This file is about changes in Emacs version 23.
9a21d88b 10
0bfd685e
GM
11See files NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18, and NEWS.1-17
12for changes in older Emacs versions.
9a21d88b
KS
13
14You can narrow news to a specific version by calling `view-emacs-news'
15with a prefix argument or by typing C-u C-h C-n.
3f7194ed
GM
16
17Temporary note:
18 +++ indicates that the appropriate manual has already been updated.
19 --- means no change in the manuals is called for.
20When you add a new item, please add it without either +++ or ---
21so 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
1abe3a1e
DN
31** The new configuration option "--with-dbus" enables D-Bus language
32bindings for Emacs.
33
15f02f65
GM
34** The Mac Carbon port is no longer supported.
35Instead, use... [what?]
36
9d3cc9b2
GM
37** configure now checks for libgif before libungif when searching for
38a GIF library.
b5ac89f8 39
36e625ec
GM
40** Support for systems without alloca has been removed.
41
07e5c0b0
DN
42** Support for Sun windows has been removed.
43
bb9f7948
EZ
44** Support for many obsolete platforms has been removed.
45See the list at the end of etc/MACHINES for details.
46
48a8be40
GM
47** The `emacstool' utility has been removed.
48
a46ee55c
GM
49** The configure options `--with-gcc', `--without-gcc' have been removed.
50Configure will use gcc by default. Set the CC environment variable if
51you need control over which C compiler is used.
52
53** The configure option `--with-gtk' has been removed. Gtk is now the
54default toolkit, but you can use --with-x-toolkit=gtk if necessary.
4e5cdb4f 55\f
6dadd99f
NR
56* Changes in Emacs 23.1
57
780d7bb9 58** Emacs now supports using both X displays and ttys in one session.
1abe3a1e
DN
59Start the server (M-x server-start). Then `emacsclient -t' creates a
60tty frame connected to the running emacs server. You can also use any
61number of different ttys. `emacsclient -c' creates a new X11 frame on
62the current $DISPLAY or a tty frame if $DISPLAY is not set.
780d7bb9
RS
63
64You can test for the presence of this feature in your Lisp code by
65testing for the `multi-tty' feature.
66
7b476dbe
JD
67** Emacs now supports the XEmbed specification.
68You can embed Emacs in another application on X11. The new command line option
69--parent-id is used to pass the parent window id to Emacs. See
70http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html
71for details about XEmbed.
72
251ad2de
TTN
73** Emacs comes with a new set of icons for Mac OS X.
74OS-X-style icons (an application icon and a relevant document icon)
75were contributed by Kentaro Ohkouchi.
76Source files for these icons can be found in Emacs.app/Contents/Resources.
1518e9a1 77PNG versions are available as etc/images/icons/emacs*_mac.png.
251ad2de 78
f664fee9
MC
79** Built-in functions (subr) can now have an interactive specification
80that is not a prompt string. If the `intspec' parameter of a `DEFUN'
81starts with a `(', the string is evaluated as a Lisp form.
82
83** set-file-modes is now interactive and can take the mode value in
84symbolic notation thanks to auxiliary functions.
85
90ab5c62
SM
86** split-window-preferred-function specifies whether display-buffer should
87split windows vertically or horizontally.
88
24cdde13
GM
89** Emacsclient has been extended to support opening a new terminal
90frame. Its behavior has been changed to open a new Emacs frame by
91default. Use the -c option to get the old behavior of opening files in
92the currently selected Emacs frame.
93
c0dadae9
MC
94** The refcards are now shipped as PDF files.
95
795a2a94
GM
96** Emacs now supports the SVG image format through librsvg2.
97
75f6af19 98** If you set find-file-confirm-nonexistent-file to t, then C-x C-f
0a963185
SM
99requires confirmation before opening a non-existent file.
100
6dadd99f
NR
101** If the gpm mouse server is running and t-mouse-mode enabled, Emacs uses a
102Unix socket in a GNU/Linux console to talk to server, rather than faking events
103using the client program mev. This C level approach provides mouse
104highlighting, and help echoing in the minibuffer.
105
c2e8590b
TTN
106** The new variable next-error-recenter specifies how next-error should
107recenter the visited source file. Its value can be a number (for example,
1080 for top line, -1 for bottom line), or nil for no recentering.
109
1abe3a1e
DN
110** New command recenter-top-bottom moves the current line to window
111center, top and bottom on successive invokations.
112
eb28688c
GM
113** C-l is bound to the new command recenter-top-bottom, rather than recenter.
114
d87b5ced 115** The mode-line displays a `@' if the default-directory for the current buffer
1f2e1c75 116is on a remote machine, or a hyphen otherwise.
6c5d503f 117
c9447ae1
GM
118** The mode-line displays a mode menu when mouse-1 is clicked on a minor mode,
119in the same way as it already did for major modes.
120
de3054d5 121** The new command balance-windows-area balances windows both vertically
62e3c31f 122and horizontally.
d466e9fc
SM
123
124** The new command close-display-connection can be used to close a connection
125to a remote display, e.g. because the display is about to become unreachable.
6c5d503f
MA
126
127** The command shell prompts for the default directory, when it is
128called with a prefix, and the default directory is a remote file name.
de3054d5 129This is because some file name handlers (like ange-ftp) are not able to
6c5d503f 130run processes remotely.
aff2ba04
RS
131
132** The new command `display-time-world' starts an updating time display
133using several time zones, in a buffer.
c4c9b6f9 134
5c4a15b3
GM
135** The new function `format-seconds' converts a number of seconds into a
136readable string of days, hours, etc.
137
790df309
GM
138** The new variable `before-init-time' records the value of `current-time'
139when Emacs begins initialization.
c4c9b6f9
GM
140
141** The new function `emacs-uptime' returns the uptime of an Emacs instance.
142
6dadd99f 143\f
0bfd685e 144* Startup Changes in Emacs 23.1
21f7b9d8 145
56e1896b
JL
146** New user option `initial-buffer-choice' specifies what to display
147after starting Emacs: startup screen, *scratch* buffer, visiting a
148file or directory.
149
aa5310e4
DK
150** New alias `argv' for `command-line-args-left'
151This is a convenience alias, so that one can write `(pop argv)'
152inside of --eval command line arguments in order to access
153following arguments.
f8fd7ed3
GM
154
155** The abbrev file is no longer read at startup in batch mode.
c44da964 156\f
0bfd685e 157* Incompatible Editing Changes in Emacs 23.1
b58cb59f 158
117907d4
JL
159+++
160** In Dired-x, all command guesses for ! are now added to the default
161list accessible by M-n instead of pushing all guesses temporarily into
162the history list.
163
406c0f12 164\f
0bfd685e 165* Editing Changes in Emacs 23.1
406c0f12 166
59b5d020
JL
167+++
168** C-M-% now shows replacement as it would look in the buffer, with
169`\N' and `\&' substituted according to the match. Old behavior can be
170restored by customizing `query-replace-show-replacement'.
171
1ac03a31
JL
172+++
173** M-q now fills the region if the region is active and
174`transient-mark-mode' is turned on. Otherwise, it fills the current
ecde850a 175paragraph.
1ac03a31 176
ecde850a 177+++
dc868f13
JL
178** M-$ now checks spelling of the region if the region is active and
179`transient-mark-mode' is turned on. Otherwise, it checks spelling of the
180word at point.
181
6dd697d9
DN
182** TAB now indents the region if the region is active and
183`transient-mark-mode' is turned on.
184
d03b9b31
RS
185** `use-empty-active-region' controls whether an empty active region
186in Transient Mark mode should make commands operate on that empty region.
187
24cdde13
GM
188** C-z now invokes `suspend-frame', C-x C-c now invokes
189`save-buffers-kill-terminal'.
190
a151f82c
SS
191** New command kill-matching-buffers kills buffers whose name matches a regexp.
192
63571b5a
RS
193** You can disable kill ring commands from accessing the primary selection
194by setting `x-select-enable-primary' to nil.
195
196** If `select-active-regions' is t, setting the mark automatically
197makes the new region into the primary selection (for interaction with
198other window applications). If you enable this, you might want to bind
199`mouse-yank-primary' to Mouse-2.
539f5bda 200
4496b02b
RS
201** If `yank-pop-change-selection' is t, rotating the kill ring
202also updates the selection or clipboard to the current yank,
203just as M-w would do so with the text it copies to the kill ring.
204
297b8ccd
JL
205** Minibuffer changes:
206
dc2f6c05
JL
207*** In C-x d, if you type M-n you get the visited file name of the
208current buffer.
209
117907d4
JL
210*** In Dired, a list of commands for ! extracted from mailcap according to
211file extensions are added to the default list accessible by M-n.
212
213*** A list of regexp default values is available via M-n for `occur',
214`keep-lines', `flush-lines' and `how-many'. This list includes the active
215region in transient-mark-mode, the word under the cursor, the last isearch
216regexp, the last isearch string and the last replacement regexp.
217
297b8ccd
JL
218*** isearch started in the minibuffer searches in the minibuffer history.
219Reverse isearch commands (C-r, C-M-r) search in previous minibuffer
220history elements, and forward isearch commands (C-s, C-M-s) search in
221next history elements. When the reverse search reaches the first history
222element, it wraps to the last history element, and the forward search
223wraps to the first history element. When the search is terminated, the
224history element containing the search string becomes the current.
225
0bfd685e
GM
226\f
227* New Modes and Packages in Emacs 23.1
0091c67e 228
2e282009
GM
229** FIXME add details of new packages imported from lisp/gnus.
230
1816bda7
MC
231** The package doc-view.el has been added. It supports viewing of PDF,
232PostScript and DVI documents inside an Emacs buffer by converting the
233document to a set of PNG images first. One can also search for a
234regular expression in the document. The commentary of the file explains
235its usage.
236
a2e0b5dd
GM
237** The nXML package has been added.
238[FIXME someone who uses this, please write a brief description.]
239
ddc961c5 240** A new game called `bubbles' has been added.
a0818148 241
dcd6e8d7 242** minibuffer-indicate-depth-mode shows the minibuffer depth in the prompt.
3f7194ed 243
15f3eb73
MO
244** Remember Mode (remember.el) is now included with Emacs. It is a
245mode for quickly jotting down things to remember. Included with
246remember.el is a backend that can save notes to a Diary file. Please
247consult the Remember Manual for usage details.
248
9264ee6a
MA
249** D-Bus language bindings for Elisp are provided by the package
250dbus.el and by extensions to the C modules of Emacs. D-Bus is an
251inter-process communication mechanism for applications residing on the
252same host, based on messages. See the manual for further details.
c154c0be 253
c6588a85
MO
254** EasyPG is now part of the Emacs distribution. It is an all-in-one
255GnuPG interface which includes GnuPG keyring browser, cryptographic
256operations on regions and files, and automatic encryption of *.gpg
257files. See the EasyPG Assistant User's Manual for further details.
0bfd685e
GM
258\f
259* Changes in Specialized Modes and Packages in Emacs 23.1
61d244ca 260
e8cbfb8d
DN
261** ChangeLog now has function bound to C-c C-f that finds the file in
262the current log entry.
263
e047f448
SM
264** abbrev was rewritten in Elisp and extended with more flexibility.
265*** New functions: abbrev-get, abbrev-put, abbrev-table-get, abbrev-table-put,
266 abbrev-table-p.
267*** Special hook `abbrev-expand-functions' obsoletes `pre-abbrev-expand-hook'.
268*** `make-abbrev-table', `define-abbrev', `define-abbrev-table' all take
269 extra arguments for arbitrary properties.
270*** New variable `abbrev-minor-mode-table-alist'.
271*** `local-abbrev-table' can hold a list of abbrev-tables.
272*** Abbrevs have now the following special properties:
79415279 273 `:count', `:system', `:enable-function', `:case-fixed'.
e047f448
SM
274*** Abbrev-tables have now the following special properties:
275 `:parents', `:case-fixed', `:enable-function', `:regexp',
276 `abbrev-table-modiff'.
277
0253fffa
MR
278** Help mode.
279*** New macro `with-help-window' should set up help windows better
280than `with-output-to-temp-buffer' with `print-help-return-message'.
281*** New option `help-window-select' permits to customize whether help
282window shall be automatically selected when invoking help.
283*** New variable `help-window-point-marker' permits to specify new
b0d2d4e8 284position of point in help window (for example in `view-lossage').
0253fffa
MR
285
286** view-remove-frame-by-deleting is now by default t
b0d2d4e8 287since users found iconification of view-mode frames distracting.
0253fffa 288
bafbec39
JL
289** Isearch mode
290
291*** New command `isearch-occur' bound to `M-s o' in isearch mode
292runs `occur' with the current search string.
293
294*** isearch can now search through multiple ChangeLog files.
12bbb989
JL
295When running isearch in a ChangeLog file, if the search fails,
296then another C-s tries searching the previous ChangeLog,
297if there is one (e.g. go from ChangeLog to ChangeLog.12).
298
9097e8af
RS
299This is enabled if isearch-buffers-multi is non-nil.
300
c3bb6fdb
SM
301** smerge-refine highlights word-level details of changes in conflict.
302It's used automatically as you move through conflicts, see smerge-auto-refine.
303
25e50a58
DN
304** Diff mode
305
306*** diff-refine-hunk highlights word-level details of changes in a diff hunk.
307It's used automatically as you move through hunks, see
308diff-auto-refine. It is bound to `C-c C-b'.
309
e7940cb5
DN
310*** diff-add-change-log-entries-other-window iterates through the diff
311buffer and tries to create ChangeLog entries for each change.
312It is bound to `C-x 4 A'.
c3bb6fdb 313
e6a01e4e 314** archive-mode has basic support to browse Rar archives.
c3bb6fdb 315
24cdde13
GM
316** talk.el has been extended for multiple tty support.
317
813fb3fe
SM
318** compilation-auto-jump-to-first-error tells `compile' to jump to
319the first error encountered during compilations.
320
b68769f2 321** In the `copyright' package, you can specify your copyright holders' names.
b649d2e4
SM
322Only copyright lines with holders matching copyright-names-regexp will be
323considered for update.
324
e7ce8577
GM
325** eldoc highlights the function argument under point
326with the face `eldoc-highlight-function-argument'.
327
ef6d86b5
MR
328** hide-ifdef-mode permits to shadow ifdef-blocks instead of hiding them.
329See option `hide-ifdef-shadow' and function `hide-ifdef-toggle-shadowing'.
330
b68769f2 331+++
8d5cc579 332** defcustom accepts new keyword arguments, `:safe' and `:risky', which
b68769f2
GM
333set a variable's `safe-local-variable' and `risky-local-variable' property.
334
b0d2d4e8
FP
335** Etags changes.
336*** The --members option is now the default.
337
338Use --no-members if you want the old default behaviour of not tagging
339struct members in C, members variables in C++ and variables in PHP.
340
56dada42 341** VC
397c4757
DN
342*** Clicking on the VC mode-line entry now pops the VC menu.
343
9372a958 344*** The VC mode-line entry now has a tooltip that explains the VC file status.
cb223bba 345
082c5622
DN
346*** VC now supports applying VC operations to a set of files at a time.
347
4a11b6b5
ER
348This enables VC to work much more effectively with changeset-oriented
349version-control systems such as Subversion, GNU Arch, Mercurial, and
350Bzr. VC will now pass a multiple-file commit to these systems
351as a single changeset.
352
b58a65fa
TTN
353*** In VC Annotate mode, you can type V to toggle the annotation visibility.
354
f3ff0fe9
DN
355*** In VC Annotate mode, you can type f to show the file revision on
356the current line.
357
93a142e1
DN
358** log-edit now has a command bound to C-c C-d to show the diff for
359the files involved.
360
5d503af9
SM
361** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs.
362
332de56f
GM
363** The appearance of superscript and subscript in TeX is more customizable.
364See the documentation of the variables: tex-fontify-script,
365tex-font-script-display, tex-suscript-height-ratio, and
366tex-suscript-height-minimum.
367
2793c9bb
RW
368** BibTeX mode:
369
c5578d5f
RW
370*** New command `bibtex-initialize' (re)initializes BibTeX buffers.
371
2793c9bb
RW
372*** New `bibtex-entry-format' options `whitespace', `braces', and
373`string', disabled by default.
374
375*** New variable `bibtex-cite-matcher-alist' contains rules to
0f3cd6b2 376identify cited keys in BibTeX entries, used by `bibtex-find-crossref'.
2793c9bb 377
c5578d5f 378*** Command `bibtex-url' allows multiple URLs per entry.
2793c9bb 379
cc213f24
MA
380+++
381** Tramp
382
383*** New connection methods.
384The new methods "plinkx", "plink2", "psftp", "sftp" and "fish" have
385been introduced. There are also new so-called gateway methods
386"tunnel" and "socks".
387
388*** Multihop syntax has been removed.
389The pseudo-method "multi" has been removed. Instead of, multi hops
390can be specified by the new variable `tramp-default-proxies-alist'.
391
392*** More default settings.
393Default values can be set via the variables `tramp-default-user',
394`tramp-default-user-alist' and `tramp-default-host'.
395
396*** Connection information is cached.
397In order to reduce connection setup, information about used
398connections are kept persistent in a file. The name of this file is
399defined in the variable `tramp-persistency-file-name'.
400
401*** Control of remote processes.
402Running processes on a remote host can be controlled by settings in
403`tramp-remote-path' and `tramp-remote-process-environment'.
404
405*** Success of remote copy is checked.
406When the variable `file-precious-flag' is set, the success of a remote
407file copy is checked via the file's checksum.
408
d15f7b68
GM
409** Miscellaneous programming mode changes
410
da26ea8d
GM
411*** The file etc/emacs.py now supports both Python 2 and 3, meaning
412that either version can be used as inferior Python by python.el.
c3f01f42 413
d15f7b68
GM
414*** The variable `fortran-line-length' can change the fixed-form line-length.
415
a9f480e8
GM
416*** In Fortran mode, M-; is now bound to the standard comment-dwim,
417rather than fortran-indent-comment.
418
b68769f2
GM
419+++
420*** (The increasingly misnamed) F90 mode supports Fortran 2003 syntax.
2fb6c6be 421
cf944fa4
RS
422** Gnus package
423
424*** The Gnus package has been updated
425
426*** There are many news features, bug fixes and improvements.
427
428See the file GNUS-NEWS or the node "No Gnus" in the Gnus manual for details.
429
d15f7b68
GM
430** Miscellaneous
431
432*** comint-mode uses `start-file-process' now (see Lisp Changes).
cc213f24
MA
433If `default-directory' is a remote file name, subprocesses are started
434on the corresponding remote system.
435
d15f7b68 436*** C-x C-q in dired-mode now runs the command wdired-change-to-wdired-mode,
40aa8257
JL
437and C-x C-q in wdired-mode exits it with asking a question about
438saving changes.
d15f7b68 439
4596901f
GM
440*** The new command `eshell/info' runs info in an eshell buffer.
441
1752e205
GM
442*** The pcmpl-unix package supports hostname completion for ssh and scp.
443
3cf86f00
GM
444*** WoMan tries to add locale-specific manual page directories to the
445search path. This can be disabled by setting `woman-locale' to nil.
446
4d1e89e3
GM
447*** The new variable `ffap-rfc-directories' specifies a list of local
448directories in which `ffap-rfc' will first search for RFCs.
449
0bfd685e
GM
450\f
451* Changes in Emacs 23.1 on non-free operating systems
8ab314f9 452
672f99b6
JR
453---
454** IPv6 is supported on MS-Windows.
455Emacs now supports IPv6 on Windows XP and later, and earlier versions
456of Windows with third party IPv6 stacks installed. Previously IPv6 was
457supported on other platforms, but not on Windows due to using the winsock
4581.1 header file, even though Emacs was linking to the winsock 2 library.
459
3280c5c5
JR
460** More keys available on MS-Windows.
461Keys normally associated with IMEs, and some exotic keys not normally found
462on standard keyboards have been given names so they can be bound to functions
463inside Emacs. If there are keys on your keyboard that have not been exposed
464to Emacs in the past, try C-h k to see if they are available now.
465
466Emacs can now bind functions to the extra buttons for media player and
467browser control present on some keyboards. These buttons are disabled
468by default, since enabling them prevents their system-wide use when
469Emacs has focus. To enable them, set the variable
470w32-pass-multimedia-buttons to nil. See the doc string of that variable
471for the list of extra keys that are available.
0bfd685e
GM
472\f
473* Incompatible Lisp Changes in Emacs 23.1
8ec65cd7 474
03605a28
MA
475+++
476** The function `dired-call-process' has been removed.
477
777ea444
GM
478** The variable `byte-compile-warnings' can now be a list starting with `not',
479meaning to disable the specified warnings. The meaning of this list
480may therefore be the reverse of what you expect (of course, this is
481only an issue if you make use of the new `not' syntax). Rather than
482checking/manipulating elements directly, use the new functions
483`byte-compile-warning-enabled-p', `byte-compile-disable-warning', and
484`byte-compile-enable-warning.'
485
69df9d6d
GM
486** `mode-name' is no longer guaranteed to be a string.
487Use `(format-mode-line mode-name)' to ensure a string value.
488
0bfd685e
GM
489\f
490* Lisp Changes in Emacs 23.1
8ab314f9 491
64663f06 492** clone-indirect-buffer now runs the clone-indirect-buffer-hook.
50bfa18a
SM
493** `beginning-of-defun-function' now takes one argument, the count
494 given to `beginning-of-defun'.
495
39d0bf74
RS
496** The variable `inhibit-changing-match-data', if non-nil, prevents the
497search and match primitives from changing the match data.
498
59b5d020
JL
499+++
500** New function `match-substitute-replacement' returns the result of
501`replace-match' without actually using it in the buffer.
502
2d105adf
RS
503** If a local hook function has a non-nil `permanent-local-hook'
504property, then `kill-all-local-variables' does not remove it from
505the local value of the hook variable. This means it remains
506even if you change major modes.
507
b9694062
JL
508+++
509** A list of default values can be specified for the DEFAULT argument of
510functions `read-from-minibuffer', `read-string', `read-command',
511`read-variable', `read-buffer', `completing-read'. Elements of this list
512are available for inserting into the minibuffer by typing `M-n'.
513For empty input these functions return the first element of this list.
514
66dc1ca2
RS
515** `custom-note-var-changed' tells Custom to treat the change in a certain
516variable as having been made within Custom.
517
ab6198b2
SM
518** `frame-inherited-parameters' lets new frames inherit parameters from
519the selected frame.
66dc1ca2 520
c60d543d 521** Commands should use `use-region-p' to test whether there is
d03b9b31
RS
522an active region that they should operate on.
523
c60d543d
RS
524** `region-active-p' returns non-nil when Transient Mark mode
525is enabled and there is an active region. This is NOT the best function
526to use to test whether a command should operate on the region instead
527of the usual behavior -- for that, use `use-region-p'.
528
4f4a84ec
SM
529** New keymap `input-decode-map' overrides like key-translation-map, but
530applies before function-key-map. Also it is terminal-local contrary to
531key-translation-map. Terminal-specific key-sequences are generally added to
532this map rather than to function-key-map now.
533
967b2682
GM
534** The new macro `declare-function' suppresses compiler warnings about
535undefined functions. The new `check-declare' package verifies that such
536statements are accurate (i.e. the functions are actually defined in
537the specified files).
538
d9774611
RS
539** The new function `read-color' reads a color name using the minibuffer.
540
833547aa
RS
541** The new function `face-all-attributes' returns an alist
542describing all the basic attributes of a given face.
543
63571b5a
RS
544** `interprogram-paste-function' can now return one string or a list
545of strings. In the latter case, Emacs puts the second and following
546strings on the kill ring.
547
24cdde13
GM
548** Changes related to multiple tty support.
549
b12f6e85
SM
550*** $TERM is now set to `dumb' for subprocesses. If you want to know the
551$TERM inherited by Emacs you will have to look inside initial-environment.
552
6168122d
SM
553*** $DISPLAY is now dynamically inherited from the frame's `display'.
554
24cdde13
GM
555*** The `window-system' variable has been made frame-local. The new
556`initial-window-system' variable contains the `window-system' value
557for the first frame.
558
559*** You can specify a terminal device (`tty' parameter) and a terminal
560type (`tty-type' parameter) to `make-terminal-frame'.
561
562*** The new function `make-frame-on-tty' allows you to create a new
563frame on another tty device interactively.
564
565*** The function `make-frame-on-display' now works during a tty
566session, and `make-frame-on-tty' works during a graphical session.
567
da406961 568*** New functions: `delete-tty', `suspend-tty', `resume-tty'.
24cdde13 569
419f8f49
SM
570*** A new data type for terminals with functions: `get-device-terminal',
571`terminal-parameters', `terminal-parameter', `set-terminal-parameter'.
24cdde13 572
1816bda7 573*** New hooks: `suspend-tty-functions' and `resume-tty-functions'
92cd6a7c 574are called after a tty frame has been suspended or resumed,
de3054d5 575respectively. The functions are called with the terminal id of the frame
92cd6a7c
DN
576being suspended/resumed as a parameter.
577
01ff458e 578*** New function: `environment'.
da406961 579
4f4a84ec 580*** New variable: `local-function-key-map'.
01ff458e
SM
581This in addition to the global function-key-map variable that
582already existed. The global variable is not used directly any more;
583instead, the local-function-key-map is initialized so as to inherit from
584function-key-map.
da406961 585
82866ad5
SM
586*** `initial-environment' holds the environment inherited from Emacs's parent.
587
24cdde13
GM
588*** The `keyboard-translate-table' variable and the terminal and
589keyboard coding systems have been made terminal-local.
590
1aa423e9
SM
591*** In addition to the global function-key-map, Emacs has terminal-local
592local-function-key-map variables, and uses them instead of the
24cdde13
GM
593global keymaps to set up translations and function key sequences
594relevant to a specific terminal device.
595
596
90ab5c62
SM
597** You can now also pass the value of the `invisible' property to invisible-p
598to check whether it would cause the text to be invisible. Convenient when
599checking invisibility of text which has no buffer position
600(e.g. in before/after-strings).
9f44d41a 601
ea2e3ef4
RS
602** Non-breaking space now acts as whitespace.
603
41bd52f7 604+++
8d371994
RS
605** In `condition-case', a handler can specify "let the debugger run first".
606
607You do this by writing `debug' in the list of conditions to be handled,
608like this:
609
610 (condition-case nil
611 (foo bar)
612 ((debug error) nil))
613
0a963185
SM
614** The `require-match' argument to `completing-read' accepts a new value
615`confirm-only'.
616
c69b0314
SM
617+++
618** The regexp form \(?<num>:<regexp>\) specifies the group number explicitly.
619
9f44d41a
RS
620** New function `window-full-width-p' returns t if a window is as wide
621as its frame.
622
623** The new function `split-string-and-unquote' does (what?)
624
625** The new function `combine-and-quote-strings' does (what?)
626
627** The new function `image-refresh' refreshes all images associated
628with a given image specification.
629
abf13a8b
CY
630+++
631** New variable `user-emacs-directory'.
632Use this instead of "~/.emacs.d".
633
b2b387f9 634+++
0f3cd6b2 635** The new function `start-file-process' is similar to `start-process',
b2b387f9 636but obeys file handlers. The file handler is chosen based on
6dbe7eb4
MA
637`default-directory'. The functions `start-file-process-shell-command'
638and `process-file-shell-command' are also new; they call internally
0f3cd6b2 639`start-file-process' and `process-file', respectively.
b2b387f9 640
967b2682
GM
641** The new function `process-lines' executes an external program and
642returns its output as a list of lines.
643
64639e26 644+++
41bd52f7
MA
645** `file-remote-p' has new optional parameters IDENTIFICATION and CONNECTED.
646IDENTIFICATION specifies which part of the remote identifier has to be
647returned. With CONNECTED passed non-nil, it is checked whether a
648remote connection has been established already.
64639e26 649
45595a4f
RS
650** The two new functions `looking-at-p' and `string-match-p' can do
651the same matching as `looking-at' and `string-match' without changing
652the match data.
89835619
SM
653
654** The interactive-form of a function can be added post-facto via the
655`interactive-form' symbol property. Mostly useful to add complex interactive
656forms to subroutines.
9bae34bf 657\f
0bfd685e 658* New Packages for Lisp Programming in Emacs 23.1
efeb796b 659
9097e8af
RS
660** The package isearch-multi.el has been added. It implements a new mode
661`isearch-buffers-minor-mode' that allows isearch to search through
662multiple buffers. In this mode a new variable
663`isearch-buffers-next-buffer-function' defines the function to call
664to get the next buffer to search in the series of multiple buffers.
665
d53a60a6
TTN
666** The new package avl-tree.el deals with the AVL tree data structure.
667
05197f40 668\f
a933dad1 669----------------------------------------------------------------------
5b87ad55 670This file is part of GNU Emacs.
a933dad1 671
5b87ad55
GM
672GNU Emacs is free software; you can redistribute it and/or modify
673it under the terms of the GNU General Public License as published by
64be3a42 674the Free Software Foundation; either version 3, or (at your option)
5b87ad55
GM
675any later version.
676
677GNU Emacs is distributed in the hope that it will be useful,
678but WITHOUT ANY WARRANTY; without even the implied warranty of
679MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
680GNU General Public License for more details.
a933dad1 681
5b87ad55
GM
682You should have received a copy of the GNU General Public License
683along with GNU Emacs; see the file COPYING. If not, write to the
684Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
685Boston, MA 02110-1301, USA.
a933dad1 686
05197f40 687\f
a933dad1
DL
688Local variables:
689mode: outline
690paragraph-separate: "[ \f]*$"
691end:
ab5796a9 692
a533413c 693arch-tag: e759449d-88b3-4de4-9900-3a6c3dfa23e2