Daniel Engeler <engeler at gmail.com>
[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
79475ffb
GM
31** Fonts are handled by new code capable of dealing with multiple font
32backends. This requires the freetype and fontconfig libraries, and
33supports local fonts (fonts installed on the machine where Emacs is
34running). Additionally, the Xft library can be used for antialiasing
e4434ecc 35support, the otf library for complex text layout by OpenType fonts,
0408f858
CY
36and the m17n library for text shaping. Emacs now accepts font names
37supplied in the fontconfig format (e.g. "monospace-12:bold") and GTK
38format (e.g. "Monospace Bold 12").
2b7a2553 39
1abe3a1e
DN
40** The new configuration option "--with-dbus" enables D-Bus language
41bindings for Emacs.
42
15f02f65 43** The Mac Carbon port is no longer supported.
79475ffb 44Instead, use... [FIXME what?]
15f02f65 45
9d3cc9b2
GM
46** configure now checks for libgif before libungif when searching for
47a GIF library.
b5ac89f8 48
36e625ec
GM
49** Support for systems without alloca has been removed.
50
07e5c0b0
DN
51** Support for Sun windows has been removed.
52
bb9f7948
EZ
53** Support for many obsolete platforms has been removed.
54See the list at the end of etc/MACHINES for details.
55
48a8be40
GM
56** The `emacstool' utility has been removed.
57
a46ee55c
GM
58** The configure options `--with-gcc', `--without-gcc' have been removed.
59Configure will use gcc by default. Set the CC environment variable if
60you need control over which C compiler is used.
61
0caa490b 62** The configure option `--with-gtk' has been removed. Gtk is now the
a46ee55c 63default toolkit, but you can use --with-x-toolkit=gtk if necessary.
4e5cdb4f 64\f
6dadd99f
NR
65* Changes in Emacs 23.1
66
1d69bd9b
SM
67** Apropos
68*** `apropos-library' describes the elements defined in a given library.
69*** Set `apropos-compact-layout' is you want a more compact (but wider) layout.
2e3d43ac 70
c876b227 71** scroll-preserve-screen-position also preserves the column position.
34200787 72** Completion.
14c24780
SM
73*** `completion-styles' can be customized to choose your favorite completion.
74*** The default completion styles include a form of partial-completion.
75*** The new command `minibuffer-force-complete chooses one of the possible
76completions, rather than stopping at the common prefix.
34200787 77*** `completion-auto-help' can be set to `lazy' to list the completions only
ba5ff07b
SM
78if you repeat the completion. This was already supported in
79`partial-completion-mode'.
80
780d7bb9 81** Emacs now supports using both X displays and ttys in one session.
1abe3a1e
DN
82Start the server (M-x server-start). Then `emacsclient -t' creates a
83tty frame connected to the running emacs server. You can also use any
84number of different ttys. `emacsclient -c' creates a new X11 frame on
85the current $DISPLAY or a tty frame if $DISPLAY is not set.
780d7bb9
RS
86
87You can test for the presence of this feature in your Lisp code by
88testing for the `multi-tty' feature.
89
0caa490b 90** The Emacs character set is now a superset of Unicode.
d82c3d44
GM
91(It has about four times the code space, which should be plenty).
92
93The internal encoding used for buffers and strings is now
94Unicode-based and called `utf-8-emacs'. utf-8-emacs is backwards
95compatible with the UTF-8 encoding of Unicode. The `emacs-mule'
96coding system can still read and write data in the old internal encoding.
97
98Since the internal encoding is also used by default for byte-compiled
99files -- i.e. the normal coding system for byte-compiled Lisp files is
100now utf-8-Emacs -- Lisp containing non-ASCII characters which is
101compiled by Emacs 23 can't be read by earlier versions of Emacs. Files
102compiled by Emacs 20, 21, or 22 are loaded correctly as emacs-mule
103(whether or not they contain multibyte characters), which makes loading
104them somewhat slower than Emacs 23-compiled files. Thus it may be worth
105recompiling existing .elc files which don't need to be shared with older
106Emacsen.
107
d82c3d44
GM
108** There are assorted new coding systems/aliases -- see M-x list-coding-systems.
109
110** There is a new charset implementation with many new charsets.
111See M-x list-character-sets. New charsets can be defined conveniently
112as tables of unicodes.
113
114The dimension of a charset is now 1, 2, 3, or 4, and the size of each
115dimension is no longer limited to 94 or 96.
116
117A dynamic charset priority list is used to infer the charset of
118characters for display.
119
19095422
KH
120** There are new Chinese-GBK, Chinese-GB18030, Khmer, Bengali,
121Punjabi, Gujarati, Oriya, Telugu, Sinhala, and TaiViet language
d82c3d44
GM
122environments.
123
7b476dbe
JD
124** Emacs now supports the XEmbed specification.
125You can embed Emacs in another application on X11. The new command line option
126--parent-id is used to pass the parent window id to Emacs. See
127http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html
128for details about XEmbed.
129
55f9bad5 130** Controlling the frame opacity
ed25242f
GM
131The opacity of a frame can now be controlled by setting
132the `alpha' frame parameter, on a compositing window manager
133(e.g. Compiz, Beryl and Compiz Fusion) for the X Window System.
55f9bad5
GM
134
135The alpha parameter should be an integer between 0 (transparent) and
136100 (opaque) or a float number between 0.0 and 1.0. Optionally, the
137opacity can be set by a cons cell; the first item controls the
138opacity of an active frame, and the second item controls that of
139non-active frames.
140
141 (set-frame-parameter nil 'alpha 80)
142 (set-frame-parameter nil 'alpha 0.8)
143 (set-frame-parameter nil 'alpha '(100 70)) ; (<active> [<inactive>])
144 (set-frame-parameter nil 'alpha nil)
145
146Note that the threshold opacity of a frame is defined by the variable
147`frame-alpha-lower-limit' (default 20), so that the user may not lose
148control of the frame.
fec8ef06 149
58e707fe
GM
150** Emacs comes with a new set of default icons.
151Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png.
152The Emacs 22 icon is available as `emacs22.png' in the same location.
251ad2de 153
f664fee9
MC
154** Built-in functions (subr) can now have an interactive specification
155that is not a prompt string. If the `intspec' parameter of a `DEFUN'
156starts with a `(', the string is evaluated as a Lisp form.
157
158** set-file-modes is now interactive and can take the mode value in
159symbolic notation thanks to auxiliary functions.
160
e3a35600
MR
161** Changes affecting display-buffer
162*** New value nil for split-height-threshold inhibits vertical splitting
163unless there's no other window.
164*** New option split-width-threshold controls horizontal splitting.
165*** A window can be split horizontally even when it's not full-width.
166*** New option split-window-preferred-function can be set to a function
167to override the default splitting mechanism of display-buffer.
90ab5c62 168
0408f858
CY
169** Menu Bar changes
170
171*** The Options menu contains a new entry to turn on Longlines mode.
172
173*** In the Options menu, the "Set Default Font" item applies the
174selected font to the `default' face on all frames, not just the
175current frame. This font setting will be saved if the "Save Options"
176item is used. Furthermore, if Emacs is compiled with both GTK and
177Fontconfig support, the "Set Default Font" item uses the GTK font
178selection dialog instead of an Emacs pop-up menu.
179
24cdde13
GM
180** Emacsclient has been extended to support opening a new terminal
181frame. Its behavior has been changed to open a new Emacs frame by
182default. Use the -c option to get the old behavior of opening files in
183the currently selected Emacs frame.
184
c0dadae9
MC
185** The refcards are now shipped as PDF files.
186
795a2a94
GM
187** Emacs now supports the SVG image format through librsvg2.
188
75f6af19 189** If you set find-file-confirm-nonexistent-file to t, then C-x C-f
0a963185
SM
190requires confirmation before opening a non-existent file.
191
6dadd99f
NR
192** If the gpm mouse server is running and t-mouse-mode enabled, Emacs uses a
193Unix socket in a GNU/Linux console to talk to server, rather than faking events
194using the client program mev. This C level approach provides mouse
195highlighting, and help echoing in the minibuffer.
196
3ae459e5
CY
197** Recentering changes
198
199*** The new variable next-error-recenter specifies how next-error should
c2e8590b
TTN
200recenter the visited source file. Its value can be a number (for example,
2010 for top line, -1 for bottom line), or nil for no recentering.
202
3ae459e5 203*** New command recenter-top-bottom moves the current line to window
1abe3a1e
DN
204center, top and bottom on successive invokations.
205
3ae459e5 206*** C-l is bound to the new command recenter-top-bottom, rather than recenter.
eb28688c 207
d87b5ced 208** The mode-line displays a `@' if the default-directory for the current buffer
1f2e1c75 209is on a remote machine, or a hyphen otherwise.
6c5d503f 210
c9447ae1
GM
211** The mode-line displays a mode menu when mouse-1 is clicked on a minor mode,
212in the same way as it already did for major modes.
213
de3054d5 214** The new command balance-windows-area balances windows both vertically
62e3c31f 215and horizontally.
d466e9fc
SM
216
217** The new command close-display-connection can be used to close a connection
218to a remote display, e.g. because the display is about to become unreachable.
6c5d503f
MA
219
220** The command shell prompts for the default directory, when it is
221called with a prefix, and the default directory is a remote file name.
de3054d5 222This is because some file name handlers (like ange-ftp) are not able to
6c5d503f 223run processes remotely.
aff2ba04
RS
224
225** The new command `display-time-world' starts an updating time display
226using several time zones, in a buffer.
c4c9b6f9 227
1b21ee06
MO
228** Directory-local variables are now found in .dir-settings.el. See
229also `set-directory-project' and `define-project-bindings'.
230
5c4a15b3
GM
231** The new function `format-seconds' converts a number of seconds into a
232readable string of days, hours, etc.
233
9f871ce2
GM
234** The new variables `before-init-time' and `after-init-time' record the
235value of `current-time' before and after Emacs loads the init files.
c4c9b6f9
GM
236
237** The new function `emacs-uptime' returns the uptime of an Emacs instance.
238
b3cf10d7
JL
239** The new function `emacs-init-time' returns the duration of the
240Emacs initialization.
241
d82c3d44
GM
242** The minor modes unify-8859-on-encoding-mode, unify-8859-on-decoding-mode
243are obsolete.
244
307f3501
GM
245** The new commands `pp-macroexpand-expression' and `pp-macroexpand-last-sexp'
246pretty-print macro expansions.
247
6dadd99f 248\f
0bfd685e 249* Startup Changes in Emacs 23.1
21f7b9d8 250
3063e326
JL
251** The option `inhibit-startup-screen' (with aliases to old names
252`inhibit-splash-screen' and `inhibit-startup-message') doesn't inhibit
253display of the initial message in the *scratch* buffer. If you don't
254want to display the initial message in the *scratch* buffer at startup,
255you can set the option `initial-scratch-message' to nil.
256
56e1896b
JL
257** New user option `initial-buffer-choice' specifies what to display
258after starting Emacs: startup screen, *scratch* buffer, visiting a
259file or directory.
260
aa5310e4
DK
261** New alias `argv' for `command-line-args-left'
262This is a convenience alias, so that one can write `(pop argv)'
263inside of --eval command line arguments in order to access
264following arguments.
f8fd7ed3
GM
265
266** The abbrev file is no longer read at startup in batch mode.
c44da964 267\f
0bfd685e 268* Incompatible Editing Changes in Emacs 23.1
b58cb59f 269
117907d4
JL
270+++
271** In Dired-x, all command guesses for ! are now added to the default
272list accessible by M-n instead of pushing all guesses temporarily into
273the history list.
274
e405fa5f 275** The following input methods were removed in Emacs 22.2, but this was
9a930d75 276not advertised: danish-alt-postfix, esperanto-alt-postfix,
e405fa5f
RS
277finnish-alt-postfix, german-alt-postfix, icelandic-alt-postfix,
278norwegian-alt-postfix, scandinavian-alt-postfix, spanish-alt-postfix,
279and swedish-alt-postfix. Use the versions without "alt-", which are
280identical.
0b0914ae 281
406c0f12 282\f
0bfd685e 283* Editing Changes in Emacs 23.1
406c0f12 284
3ae459e5
CY
285** Mark changes
286
59b5d020 287+++
3ae459e5
CY
288*** Transient Mark mode is now on by default.
289
290+++
291*** mark-even-if-inactive now defaults to t
292
293+++
294*** When Transient Mark mode is on, C-SPC C-SPC pushes a mark without activating it.
59b5d020 295
1ac03a31 296+++
3ae459e5
CY
297*** When Transient Mark mode is on, M-q now fills the region if the
298region is active. Otherwise, it fills the current paragraph.
1ac03a31 299
ecde850a 300+++
3ae459e5
CY
301*** When Transient Mark mode is on, M-$ now checks spelling of the
302region if the region is active. Otherwise, it checks spelling of the
dc868f13
JL
303word at point.
304
3ae459e5
CY
305*** When Transient Mark mode is on, TAB now indents the region if the
306region is active.
6dd697d9 307
3ae459e5
CY
308*** `use-empty-active-region' controls whether an empty active region
309in Transient Mark mode should make commands operate on that empty
310region.
311
312** Temporarily active regions
313
314*** The new variable shift-select-mode, non-nil by default, controls
315shift-selection. When Shift Select mode is on, shift-translated
316motion keys (e.g. S-left and S-down) activate and extend a temporary
317region, similar to mouse-selection.
318
319*** Temporarily active regions, created using shift-selection or
320mouse-selection, are not necessarily deactivated in the next command.
321They are only deactivated after point motion commands that are not
322shift-translated, or after commands that would ordinarily deactivate
323the mark in Transient Mark mode (e.g., any command that modifies the
324buffer).
325
326+++
327** C-M-% now shows replacement as it would look in the buffer, with
328`\N' and `\&' substituted according to the match. Old behavior can be
329restored by customizing `query-replace-show-replacement'.
d03b9b31 330
24cdde13
GM
331** C-z now invokes `suspend-frame', C-x C-c now invokes
332`save-buffers-kill-terminal'.
333
a151f82c
SS
334** New command kill-matching-buffers kills buffers whose name matches a regexp.
335
63571b5a
RS
336** You can disable kill ring commands from accessing the primary selection
337by setting `x-select-enable-primary' to nil.
338
339** If `select-active-regions' is t, setting the mark automatically
340makes the new region into the primary selection (for interaction with
341other window applications). If you enable this, you might want to bind
342`mouse-yank-primary' to Mouse-2.
539f5bda 343
4496b02b
RS
344** If `yank-pop-change-selection' is t, rotating the kill ring
345also updates the selection or clipboard to the current yank,
346just as M-w would do so with the text it copies to the kill ring.
347
505d8756 348** Minibuffer changes
297b8ccd 349
23d2b215
JL
350*** Minibuffer input of shell commands now comes with completion.
351
352*** Operations like C-x b and C-x C-f which use switch-to-buffer do not fail
353any more when used in a minibuffer or a dedicated window. Instead, they
354fallback on using pop-to-buffer which will use some other window.
355
d47a29c1
JL
356*** When M-n in the minibuffer reaches the end of the list of defaults,
357it adds the completion list to the end, so next M-n continues putting
358completion items to the minibuffer. The same principle applies to
359incremental search commands as well: C-s or C-M-s starts searching
360the default values and after the end of defaults they continue
361searching minibuffer completion items.
f3ed2b83 362
dc2f6c05
JL
363*** In C-x d, if you type M-n you get the visited file name of the
364current buffer.
365
a300181f
JL
366*** A list of default commands extracted from mailcap according to
367file extensions are available in the list of default values
368accessible by M-n in the minibuffer that reads a shell command
369for M-! (shell-command) and fills a list of commands for the current
370file, and in Dired for ! (dired-do-shell-command) that fills a list of
371commands for the intersection of file types of marked Dired files.
117907d4
JL
372
373*** A list of regexp default values is available via M-n for `occur',
374`keep-lines', `flush-lines' and `how-many'. This list includes the active
375region in transient-mark-mode, the word under the cursor, the last isearch
376regexp, the last isearch string and the last replacement regexp.
377
297b8ccd
JL
378*** isearch started in the minibuffer searches in the minibuffer history.
379Reverse isearch commands (C-r, C-M-r) search in previous minibuffer
380history elements, and forward isearch commands (C-s, C-M-s) search in
381next history elements. When the reverse search reaches the first history
382element, it wraps to the last history element, and the forward search
383wraps to the first history element. When the search is terminated, the
384history element containing the search string becomes the current.
385
505d8756
GM
386** New faces
387
388*** `mode-line-emphasis' is used to highlight certain mode-line information;
389for example while waiting for a VC command to finish.
390
505d8756
GM
391** Face changes
392
393*** The new function `face-all-attributes' returns an alist describing
394all the basic attributes of a given face.
395
f20186fd
GM
396*** FIXME face-remap
397
0bfd685e
GM
398\f
399* New Modes and Packages in Emacs 23.1
0091c67e 400
2e282009 401** FIXME add details of new packages imported from lisp/gnus.
143cecdb 402[Maybe some information from doc/misc/gnus-coding.texi can be reused]
2e282009 403
1816bda7
MC
404** The package doc-view.el has been added. It supports viewing of PDF,
405PostScript and DVI documents inside an Emacs buffer by converting the
406document to a set of PNG images first. One can also search for a
407regular expression in the document. The commentary of the file explains
408its usage.
409
c06c430f
MO
410** The nXML package has been added. It is a new mode for editing XML
411documents. nXML mode allows a schema to be associated with the XML
412document being edited. nXML mode uses Relax NG as its schema
413language. The schema is used to provide two key features:
414
415*** Continuous validation. nXML validates as you type, highlighting
416any invalid parts of your document.
417
418*** Completion. nXML can assist you in entering an element name,
419attribute name or data value by using information about what is
420allowed by the schema in that context.
a2e0b5dd 421
0329d8a3
GM
422** A new game called `bubbles' has been added. This is a version of
423the "Same Game" with configurable difficulty level.
a0818148 424
dcd6e8d7 425** minibuffer-indicate-depth-mode shows the minibuffer depth in the prompt.
3f7194ed 426
15f3eb73
MO
427** Remember Mode (remember.el) is now included with Emacs. It is a
428mode for quickly jotting down things to remember. Included with
429remember.el is a backend that can save notes to a Diary file. Please
430consult the Remember Manual for usage details.
431
9264ee6a
MA
432** D-Bus language bindings for Elisp are provided by the package
433dbus.el and by extensions to the C modules of Emacs. D-Bus is an
434inter-process communication mechanism for applications residing on the
435same host, based on messages. See the manual for further details.
c154c0be 436
8f377a4b 437** zeroconf.el offers service discovery and service publishing
b2ca37cd
MA
438interfaces according to the zeroconf specification. It communicates
439with Avahi, a zeroconf implementation, via D-Bus messages on systems
440which have installed this software.
8f377a4b 441
c6588a85
MO
442** EasyPG is now part of the Emacs distribution. It is an all-in-one
443GnuPG interface which includes GnuPG keyring browser, cryptographic
444operations on regions and files, and automatic encryption of *.gpg
445files. See the EasyPG Assistant User's Manual for further details.
e11910e2 446
c06c430f
MO
447** json.el is now included with Emacs. It is a library for parsing
448and generating JSON (JavaScript Object Notation). JSON is a
449lightweight data-interchange format.
450
e11910e2
GM
451** Auto Composition Mode is a minor mode that composes characters
452automatically when they are displayed. It is globally on by default.
453It uses `auto-composition-function' (default `auto-compose-chars').
454
85efdcf3
JB
455** The package linum.el is now included with Emacs. It it a new minor
456mode to display line numbers for the current buffer.
457
f6b26818
RW
458** proced.el has been added. It operates on processes like dired.
459Proced makes an Emacs buffer containing a listing of the current processes
460(using ps(1)). You can use the normal Emacs commands to move around in
461this buffer, and special Proced commands to operate on the processes listed.
462
7ef39c6e
GM
463** bug-reference.el provides clickable links to bug reports.
464
0bfd685e
GM
465\f
466* Changes in Specialized Modes and Packages in Emacs 23.1
61d244ca 467
c2d0b538
SM
468** Icomplete: `icomplete-prospects-height' supercedes `icomplete-prospects-length'.
469
c934813f
GM
470** A new `whitespace' package has been installed, and the pre-existing one
471renamed to `old-whitespace'.
472[FIXME someone explain why this is good, if it is...]
473
e047f448
SM
474** abbrev was rewritten in Elisp and extended with more flexibility.
475*** New functions: abbrev-get, abbrev-put, abbrev-table-get, abbrev-table-put,
a3709a8c 476 abbrev-table-p, abbrev-insert, abbrev-table-menu.
e047f448
SM
477*** Special hook `abbrev-expand-functions' obsoletes `pre-abbrev-expand-hook'.
478*** `make-abbrev-table', `define-abbrev', `define-abbrev-table' all take
479 extra arguments for arbitrary properties.
480*** New variable `abbrev-minor-mode-table-alist'.
481*** `local-abbrev-table' can hold a list of abbrev-tables.
482*** Abbrevs have now the following special properties:
79415279 483 `:count', `:system', `:enable-function', `:case-fixed'.
e047f448
SM
484*** Abbrev-tables have now the following special properties:
485 `:parents', `:case-fixed', `:enable-function', `:regexp',
486 `abbrev-table-modiff'.
487
505d8756 488** Help mode
0253fffa
MR
489*** New macro `with-help-window' should set up help windows better
490than `with-output-to-temp-buffer' with `print-help-return-message'.
491*** New option `help-window-select' permits to customize whether help
492window shall be automatically selected when invoking help.
493*** New variable `help-window-point-marker' permits to specify new
b0d2d4e8 494position of point in help window (for example in `view-lossage').
0253fffa
MR
495
496** view-remove-frame-by-deleting is now by default t
b0d2d4e8 497since users found iconification of view-mode frames distracting.
0253fffa 498
bafbec39
JL
499** Isearch mode
500
501*** New command `isearch-occur' bound to `M-s o' in isearch mode
502runs `occur' with the current search string.
503
504*** isearch can now search through multiple ChangeLog files.
12bbb989
JL
505When running isearch in a ChangeLog file, if the search fails,
506then another C-s tries searching the previous ChangeLog,
507if there is one (e.g. go from ChangeLog to ChangeLog.12).
508
9097e8af
RS
509This is enabled if isearch-buffers-multi is non-nil.
510
4c24d241
GM
511*** The part of an isearch that failed to match is highlighted in `isearch-fail'
512face.
513
320bc739
JL
514*** `C-h C-h' in isearch mode displays isearch-specific Help screen,
515`C-h b' displays all isearch key bindings, `C-h k' displays the full
516documentation of the given isearch key sequence, `C-h m' displays
517documentation of isearch mode. All the rest Help commands exit isearch mode
518and execute their global definitions.
519
e6a01e4e 520** archive-mode has basic support to browse Rar archives.
c3bb6fdb 521
24cdde13
GM
522** talk.el has been extended for multiple tty support.
523
76be286d
DN
524** Compile and grep modes
525
526*** The mode-line entry for the *compilation* and *grep* buffer is color coded.
527It has different colors for to show that: (a) the command is still
528running, (b) successful completion, (c) error.
529
530*** compilation-auto-jump-to-first-error tells `compile' to jump to
813fb3fe
SM
531the first error encountered during compilations.
532
b68769f2 533** In the `copyright' package, you can specify your copyright holders' names.
b649d2e4
SM
534Only copyright lines with holders matching copyright-names-regexp will be
535considered for update.
536
59ba20a2
GM
537** The `copyright' package looks for copyright at the end of the buffer
538if `copyright-at-end-flag' is non-nil (change-log-mode sets this).
539
e7ce8577
GM
540** eldoc highlights the function argument under point
541with the face `eldoc-highlight-function-argument'.
542
ef6d86b5
MR
543** hide-ifdef-mode permits to shadow ifdef-blocks instead of hiding them.
544See option `hide-ifdef-shadow' and function `hide-ifdef-toggle-shadowing'.
545
b68769f2 546+++
8d5cc579 547** defcustom accepts new keyword arguments, `:safe' and `:risky', which
b68769f2
GM
548set a variable's `safe-local-variable' and `risky-local-variable' property.
549
505d8756 550** Etags changes
b0d2d4e8
FP
551*** The --members option is now the default.
552
553Use --no-members if you want the old default behaviour of not tagging
554struct members in C, members variables in C++ and variables in PHP.
555
56dada42 556** VC
76be286d 557
082c5622 558*** VC now supports applying VC operations to a set of files at a time.
4a11b6b5 559This enables VC to work much more effectively with changeset-oriented
494da8c4
DN
560version-control systems such as Subversion, GNU Arch, Mercurial, Git
561and Bzr. VC will now pass a multiple-file commit to these systems as
562a single changeset.
4a11b6b5 563
e1aec6fb 564*** vc-dir is a new command that displays file names and their VC
15947a44 565status. It allows to apply various VC operations to a file or a
a4586856
DN
566set of files.
567
568*** Clicking on the VC mode-line entry now pops the VC menu.
569
570*** The VC mode-line entry now has a tooltip that explains the VC file status.
571
b58a65fa
TTN
572*** In VC Annotate mode, you can type V to toggle the annotation visibility.
573
f3ff0fe9
DN
574*** In VC Annotate mode, you can type f to show the file revision on
575the current line.
576
117d3cc5
DN
577*** vc-git supports the "git grep" command.
578
76be286d
DN
579*** Asynchronous VC commands display [Waiting...] in the mode-line
580of the corresponding buffer as long as the asynchronous process is
581active.
582
494da8c4
DN
583*** Log entries can be modified using the key "e" in log-view.
584For now only CVS, RCS, SCCS and SVN support this functionality.
585This is done by the `modify-change-comment' backend function.
b592c357 586
db86064f
ER
587*** VC Support for Meta-CVS has been removed for lack of maintainer able
588to update it to the new VC.
589
15947a44
DN
590** smerge-refine highlights word-level details of changes in conflict.
591It's used automatically as you move through conflicts, see smerge-auto-refine.
592
593** Diff mode
594
595*** diff-refine-hunk highlights word-level details of changes in a diff hunk.
596It's used automatically as you move through hunks, see
597diff-auto-refine. It is bound to `C-c C-b'.
598
599*** diff-add-change-log-entries-other-window iterates through the diff
600buffer and tries to create ChangeLog entries for each change.
601It is bound to `C-x 4 A'.
602
93a142e1
DN
603** log-edit now has a command bound to C-c C-d to show the diff for
604the files involved.
605
15947a44
DN
606** In Change Log mode, the new function `change-log-find-file', bound to
607C-c C-f, finds the file associated with the current log entry.
608
5d503af9
SM
609** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs.
610
332de56f
GM
611** The appearance of superscript and subscript in TeX is more customizable.
612See the documentation of the variables: tex-fontify-script,
613tex-font-script-display, tex-suscript-height-ratio, and
614tex-suscript-height-minimum.
615
505d8756 616** BibTeX mode
2793c9bb 617
0caa490b 618*** New command `bibtex-initialize' (re)initializes BibTeX buffers.
c5578d5f 619
2793c9bb
RW
620*** New `bibtex-entry-format' options `whitespace', `braces', and
621`string', disabled by default.
622
623*** New variable `bibtex-cite-matcher-alist' contains rules to
0f3cd6b2 624identify cited keys in BibTeX entries, used by `bibtex-find-crossref'.
2793c9bb 625
c5578d5f 626*** Command `bibtex-url' allows multiple URLs per entry.
2793c9bb 627
cc213f24
MA
628+++
629** Tramp
630
631*** New connection methods.
632The new methods "plinkx", "plink2", "psftp", "sftp" and "fish" have
633been introduced. There are also new so-called gateway methods
634"tunnel" and "socks".
635
636*** Multihop syntax has been removed.
637The pseudo-method "multi" has been removed. Instead of, multi hops
638can be specified by the new variable `tramp-default-proxies-alist'.
639
640*** More default settings.
641Default values can be set via the variables `tramp-default-user',
642`tramp-default-user-alist' and `tramp-default-host'.
643
644*** Connection information is cached.
645In order to reduce connection setup, information about used
646connections are kept persistent in a file. The name of this file is
647defined in the variable `tramp-persistency-file-name'.
648
649*** Control of remote processes.
650Running processes on a remote host can be controlled by settings in
651`tramp-remote-path' and `tramp-remote-process-environment'.
652
653*** Success of remote copy is checked.
654When the variable `file-precious-flag' is set, the success of a remote
655file copy is checked via the file's checksum.
656
dc7f8d57
GM
657** Calendar and diary
658
571388b0 659+++
dc7f8d57
GM
660*** There is a new date style, `iso', essentially year/month/day.
661The variable `european-calendar-style' is obsolete - use `calendar-date-style'.
662Similarly, the commands `american-calendar' and `european-calendar'
663should be replaced by `calendar-set-date-style'.
664
36c0514c 665+++
eee6134c
GM
666*** The calendar namespace has been rationalized.
667All functions and variables now begin with a `calendar-', `diary-', or
668`holiday-' prefix. The various calendar systems have secondary
669prefixes, eg `calendar-french-'. The old names you are likely to use
670directly still exist, for the time being, as aliases, but please start
671using the new names.
672
95d8772f
GM
673*** The function `holiday-chinese' computes holidays on the Chinese calendar.
674It has been used to add items to the list `holiday-oriental-holidays'.
675
676*** `diary-remind' accepts a negative number -DAYS as a shorthand for
677the list (1 2 ... DAYS).
678
d15f7b68
GM
679** Miscellaneous programming mode changes
680
da26ea8d
GM
681*** The file etc/emacs.py now supports both Python 2 and 3, meaning
682that either version can be used as inferior Python by python.el.
c3f01f42 683
4c24d241
GM
684*** Python mode now has `pdbtrack' functionality. When using pdb to
685debug a Python program, pdbtrack notices the pdb prompt and displays
686the source file and line that the program is stopped at, much the same
687way as gud-mode does for debugging C programs with gdb.
688
d15f7b68
GM
689*** The variable `fortran-line-length' can change the fixed-form line-length.
690
a9f480e8
GM
691*** In Fortran mode, M-; is now bound to the standard comment-dwim,
692rather than fortran-indent-comment.
693
b68769f2
GM
694+++
695*** (The increasingly misnamed) F90 mode supports Fortran 2003 syntax.
2fb6c6be 696
cf944fa4
RS
697** Gnus package
698
699*** The Gnus package has been updated
700
143cecdb
RS
701*** In Emacs 23, Gnus uses Emacs' new internal coding system `utf-8-emacs' for
702saving articles drafts and ~/.newsrc.eld. These file may not be read
703correctly in Emacs 22 and below. If you want to Gnus across different Emacs
704versions, you may set `mm-auto-save-coding-system' to `emacs-mule'.
705
cf944fa4
RS
706*** There are many news features, bug fixes and improvements.
707
708See the file GNUS-NEWS or the node "No Gnus" in the Gnus manual for details.
709
d15f7b68
GM
710** Miscellaneous
711
7ef39c6e
GM
712*** goto-address.el provides two new minor modes, goto-address-mode and
713goto-address-prog-mode, which buttonize URLS and email addresses.
714
d15f7b68 715*** comint-mode uses `start-file-process' now (see Lisp Changes).
cc213f24
MA
716If `default-directory' is a remote file name, subprocesses are started
717on the corresponding remote system.
718
d15f7b68 719*** C-x C-q in dired-mode now runs the command wdired-change-to-wdired-mode,
40aa8257
JL
720and C-x C-q in wdired-mode exits it with asking a question about
721saving changes.
d15f7b68 722
4596901f
GM
723*** The new command `eshell/info' runs info in an eshell buffer.
724
1752e205
GM
725*** The pcmpl-unix package supports hostname completion for ssh and scp.
726
3cf86f00
GM
727*** WoMan tries to add locale-specific manual page directories to the
728search path. This can be disabled by setting `woman-locale' to nil.
729
4d1e89e3
GM
730*** The new variable `ffap-rfc-directories' specifies a list of local
731directories in which `ffap-rfc' will first search for RFCs.
732
d2c98acc 733*** net-utils has an `iwconfig' command, similar to the existing `ifconfig'.
b7bfcc8a 734It is used to configure wireless interfaces.
d2c98acc 735
0bfd685e
GM
736\f
737* Changes in Emacs 23.1 on non-free operating systems
8ab314f9 738
203553fd
JPW
739** Case is now considered significant in completion on MS-Windows.
740The default value of `completion-ignore-case' is now nil on
741MS-Windows, the same as it is for other operating systems. The
742variable doesn't apply to reading a file name -- in that case Emacs
743heeds `read-file-name-completion-ignore-case' instead.
744
672f99b6
JR
745---
746** IPv6 is supported on MS-Windows.
747Emacs now supports IPv6 on Windows XP and later, and earlier versions
2660a9da 748of Windows with third party IPv6 stacks installed. In Emacs 22, IPv6 was
672f99b6
JR
749supported on other platforms, but not on Windows due to using the winsock
7501.1 header file, even though Emacs was linking to the winsock 2 library.
751
0d22595d 752---
6e344060
JR
753** Busy cursor (hourglass) now displays on MS-Windows.
754When Emacs is busy, an hourglass mouse cursor is displayed on Windows.
2660a9da
JR
755In Emacs 22 only X supported the busy cursor.
756
757---
758** Battery status is available on MS-Windows
759Emacs can now display the battery status in the mode-line when enabled with
760display-battery-mode or from the Options menu. More verbose battery
761information is also available with the command `battery'. In Emacs 22
762battery status was supported only on GNU/Linux and Mac.
6e344060 763
3280c5c5
JR
764** More keys available on MS-Windows.
765Keys normally associated with IMEs, and some exotic keys not normally found
766on standard keyboards have been given names so they can be bound to functions
767inside Emacs. If there are keys on your keyboard that have not been exposed
768to Emacs in the past, try C-h k to see if they are available now.
769
770Emacs can now bind functions to the extra buttons for media player and
771browser control present on some keyboards. These buttons are disabled
772by default, since enabling them prevents their system-wide use when
773Emacs has focus. To enable them, set the variable
0caa490b 774w32-pass-multimedia-buttons to nil. See the doc string of that variable
3280c5c5 775for the list of extra keys that are available.
2660a9da 776
0bfd685e
GM
777\f
778* Incompatible Lisp Changes in Emacs 23.1
8ec65cd7 779
fd9440c5 780** Variables cannot be both buffer-local and frame-local any more.
a9b08254
JL
781** The argument DEFAULT of minibuffer input functions `read-from-minibuffer',
782`read-string', `completing-read', `read-buffer', `read-command',
783`read-variable' now can be a list of default values. The elements of
784this list are available for inserting to the minibuffer with `M-n'.
785If the user enters empty input, the first element is used as the default.
786
fc944cd4 787** `functionp' returns nil for special forms.
65f81a0b 788I.e., it only returns t for objects that can be passed to `funcall'.
fc944cd4 789
58555d81 790+++
4972c361
SM
791** The multibyteness of process filters is determined by the coding-system
792used for decoding. The functions `process-filter-multibyte-p' and
793`set-process-filter-multibyte' are obsolete.
794
d82c3d44
GM
795** The behavior of map-char-table has changed. It may call the
796specified function with a cons (FROM . TO) as a key if characters in
797that range have the same value.
798
799** The value of the function `charset-id' is now always 0.
800
801** The functions `register-char-codings' and `coding-system-spec'
802have been removed.
803
6a6b4d7d
KH
804** The cpXXX coding systems are now supported automatically. The
805functions cp-...-codepage, which you had to use in Emacs 22 to enable
806support for these coding systems, have been deleted.
d82c3d44 807
03605a28
MA
808+++
809** The function `dired-call-process' has been removed.
810
777ea444 811** The variable `byte-compile-warnings' can now be a list starting with `not',
0caa490b 812meaning to disable the specified warnings. The meaning of this list
777ea444 813may therefore be the reverse of what you expect (of course, this is
0caa490b 814only an issue if you make use of the new `not' syntax). Rather than
777ea444
GM
815checking/manipulating elements directly, use the new functions
816`byte-compile-warning-enabled-p', `byte-compile-disable-warning', and
817`byte-compile-enable-warning.'
818
69df9d6d
GM
819** `mode-name' is no longer guaranteed to be a string.
820Use `(format-mode-line mode-name)' to ensure a string value.
821
85a1f98d
GM
822** The following features have been removed. They were used for
823displaying various scripts with specific fonts, and are no longer
824needed now that OpenType font support is available:
825
826*** `devanagari' and `devan-util', and all associated devanagari-* and
827dev-* functions and variables (formerly used for Devanagari script).
828
829*** `kannada' and `knd-util', and all associated kannada-* and knd-*
830functions and variables (formerly used for Kannada script).
831
832*** `malayalam' and `mlm-util', and all associated malayalam-* and
833mlm-* functions and variables (formerly used for Malayalam script).
834
835*** `tamil' and `tml-util, and all associated tamil-* and tml-*
836functions and variables (formerly used for Tamil script).
6a6b4d7d 837
0bfd685e
GM
838\f
839* Lisp Changes in Emacs 23.1
8ab314f9 840
a1562258
SM
841** The variable window-point-insertion-type determines the insertion-type
842of the marker used for window-point.
843
8ba31f36
SM
844** minibuffer-local-must-match-filename-map is now named
845minibuffer-local-filename-must-match-map.
846
e2947429
SM
847** `all-completions' may now return the base size in the last cdr.
848Since this means the returned list is not properly nil-terminated, this
849is an incompatible change and is thus enabled by the new variable
850completion-all-completions-with-base-size.
851
852** New function `apply-partially' for curried application.
853
d87be1df
SM
854** `fill-forward-paragraph-function' specifies which function the filling
855code should use to find paragraph boundaries.
856
3ae459e5
CY
857** The variable `this-command-keys-shift-translated' is non-nil if the
858key sequence invoking the current command was found by
859shift-translation.
860
861** The new interactive spec code ^ says to first call
862handle-shift-selection if shift-select-mode is non-nil, before reading
863the command arguments.
864
8bf5c8a6
GM
865** When deleting a terminal, the special hook `delete-terminal-functions'
866is run.
58555d81 867
e5c4079c
SM
868** The `read-shell-command' function does what its name says, with completion.
869It uses the minibuffer-local-shell-command-map for that.
870
871** The `buffer-swap-text' function can swap the text between two buffers.
13cda5f9
SM
872This can be useful for modes such as tar-mode, archive-mode, RMAIL.
873
a2bc5bdd
SM
874** `clear-image-cache' can be told to flush only images of a specific file.
875
64663f06 876** clone-indirect-buffer now runs the clone-indirect-buffer-hook.
d82c3d44 877
50bfa18a 878** `beginning-of-defun-function' now takes one argument, the count
d82c3d44 879 given to `beginning-of-defun'.
50bfa18a 880
39d0bf74
RS
881** The variable `inhibit-changing-match-data', if non-nil, prevents the
882search and match primitives from changing the match data.
883
59b5d020
JL
884+++
885** New function `match-substitute-replacement' returns the result of
886`replace-match' without actually using it in the buffer.
887
426e6ba0
CY
888** The new variable `replace-search-function' determines the function
889to use for searching in query-replace and replace-string.
890
891** The new variable `replace-re-search-function' determines the
892function to use for searching in `query-replace-regexp',
893`replace-regexp', + `query-replace-regexp-eval', and
894`map-query-replace-regexp'.
895
2d105adf
RS
896** If a local hook function has a non-nil `permanent-local-hook'
897property, then `kill-all-local-variables' does not remove it from
898the local value of the hook variable. This means it remains
899even if you change major modes.
900
b9694062
JL
901+++
902** A list of default values can be specified for the DEFAULT argument of
903functions `read-from-minibuffer', `read-string', `read-command',
904`read-variable', `read-buffer', `completing-read'. Elements of this list
905are available for inserting into the minibuffer by typing `M-n'.
906For empty input these functions return the first element of this list.
907
66dc1ca2
RS
908** `custom-note-var-changed' tells Custom to treat the change in a certain
909variable as having been made within Custom.
910
ab6198b2
SM
911** `frame-inherited-parameters' lets new frames inherit parameters from
912the selected frame.
66dc1ca2 913
c60d543d 914** Commands should use `use-region-p' to test whether there is
d03b9b31
RS
915an active region that they should operate on.
916
c60d543d
RS
917** `region-active-p' returns non-nil when Transient Mark mode
918is enabled and there is an active region. This is NOT the best function
919to use to test whether a command should operate on the region instead
920of the usual behavior -- for that, use `use-region-p'.
921
3ae459e5
CY
922** If a command sets `transient-mark-mode' to (only . OLDVAL), that
923means to activate transient-mark-mode temporarily, until the next
924unshifted point motion command or mark deactivation. Afterwards,
925reset transient-mark-mode to the value OLDVAL. The values `only' and
926`identity', introduced in Emacs 22, are now deprecated.
927
4f4a84ec
SM
928** New keymap `input-decode-map' overrides like key-translation-map, but
929applies before function-key-map. Also it is terminal-local contrary to
930key-translation-map. Terminal-specific key-sequences are generally added to
931this map rather than to function-key-map now.
932
967b2682
GM
933** The new macro `declare-function' suppresses compiler warnings about
934undefined functions. The new `check-declare' package verifies that such
935statements are accurate (i.e. the functions are actually defined in
936the specified files).
937
8bf5c8a6
GM
938** `ignore-errors' is now a standard macro (does not require the CL package).
939
d9774611
RS
940** The new function `read-color' reads a color name using the minibuffer.
941
63571b5a
RS
942** `interprogram-paste-function' can now return one string or a list
943of strings. In the latter case, Emacs puts the second and following
944strings on the kill ring.
945
d82c3d44
GM
946** Character code, representation, and charset changes.
947
0caa490b 948The character code space is now 0x0..0x3FFFFF with no gap.
d82c3d44
GM
949Characters of code 0x0..0x10FFFF are Unicode characters of the same code points.
950Characters of code 0x3FFF80..0x3FFFFF are raw 8-bit bytes.
951
0caa490b 952Generic characters no longer exist.
d82c3d44
GM
953
954In buffer and string, characters are represented by UTF-8 byte
955sequence in a multibyte buffer/string.
956
957The concept of a charset has changed. A single character may belong to
958multiple charsets (e.g. a-grave, U+00E0, belongs to charsets unicode,
959iso-8859-1, iso-8859-3, etc).
960
961*** The new function `characterp' returns t if and only if the argument
db4f9d2a 962is a character. This replaces `char-valid-p', which is now obsolete.
d82c3d44
GM
963
964*** The new function `max-char' returns the maximum character code
965(currently it is #x3FFFFF).
966
967*** The functions `encode-char' and `decode-char' now accept any character sets.
968
969*** The function `define-charset' now accepts a completely different
970form of arguments (old-style arguments still work).
971
972*** The new function `define-charset-alias' defines an alias of a charset.
973
974*** The value of the function `char-charset' depends on the current
975priorities of charsets.
976
977*** The new function `charset-priority-list' returns the list of
978charsets ordered by priority.
979
980*** The new function `set-charset-priority' sets priorities of charsets.
981
d82c3d44
GM
982*** The new function `unibyte-string' make a unibyte string from bytes.
983
984*** The new function `define-char-code-property' defines a character
985code property.
986
987*** The new function `char-code-property-description' returns the
988description string of a character code property.
989
990*** The function get-char-code-property now accepts many Unicode base
991character properties. They are `name', `general-category',
992`canonical-combining-class', `bidi-class', `decomposition',
993`decimal-digit-value', `digit-value', `numeric-value', `mirrored',
994`old-name', `iso-10646-comment', `uppercase', `lowercase', and
995`titlecase'.
996
997*** The new variable `find-word-boundary-function-table' is a
998char-table of functions to search for a word boundary.
999
1000*** The new variable `char-script-table' is a char-table of script names.
1001
1002*** The new variable `char-width-table' is a char-table of character widths.
1003
1004*** The new variable `print-charset-text-property' controls how to
1005handle `charset' text property on printing a string.
1006
1007*** The new variable `printable-chars' is a char-table defining if a
1008character is printable or not.
1009
1010*** The functions `modify-syntax-entry' and `modify-category-entry' now
1011accepts a cons of characters as the first argument, and modify all
1012entries in that range of characters.
ca7871a3
SM
1013+++
1014*** `translation-table-for-input' is now obsolete.
d82c3d44 1015
505d8756 1016** Code conversion changes
d82c3d44
GM
1017
1018*** The new function `define-coding-system' should be used to define a
1019coding system instead of `make-coding-system' (which is now obsolete).
1020
1021*** The functions `encode-coding-region' and `decode-coding-region'
1022have an optional 4th argument to specify where the result of
1023conversion should go.
1024
1025*** The functions `encode-coding-string' and `decode-coding-string'
1026have an optional 4th argument specifying a buffer to store the result
1027of conversion.
1028
1029*** The new function `with-coding-priority' executes the body part with
1030the specified coding system priority order.
1031
1032*** The new function `check-coding-systems-region' checks if the text
1033in the region is encodable by the specified coding systems.
1034
1035*** The new function `coding-system-aliases' returns a list of aliases
1036of a coding system.
1037
1038*** The new function `coding-system-charset-list' returns a list of
1039charsets supported by a coding system.
1040
1041*** The new function `coding-system-priority-list' returns a list of
1042coding systems ordered by their priorities.
1043
1044*** The new function `set-coding-system-priority' sets priorities of
1045coding systems.
1046
1047*** The functions `set-coding-priority' and `make-coding-system' are obsolete.
1048
1049** There is a new input method, Robin, different from Quail.
0caa490b 1050It has three functionalities:
d82c3d44
GM
1051 i) a simple input method (converts an ASCII sequence into a string).
1052ii) converts an existing buffer substring into another string
1053iii) reverse conversion (each character produced by a
1054robin rule can hold the original ASCII sequence as a char-code-property)
1055
1056*** The new function `robin-define-package' defines a Robin package.
1057
1058*** The new function `robin-modify-package' modifies an existing Robin package.
1059
1060*** The new function `robin-use-package' starts using a Robin package
1061as an input method.
1062
505d8756 1063** Changes related to the new font backend
2b7a2553 1064
b19aa6dd
GM
1065Which font backends to use can be specified by the X resource "FontBackend".
1066For instance, to use both X core fonts and Xft fonts:
2b7a2553 1067
b19aa6dd 1068Emacs.FontBackend: x,xft
2b7a2553 1069
b19aa6dd
GM
1070If this resource is not set, Emacs tries to use all font backends
1071available on your graphic device.
d82c3d44
GM
1072
1073*** New frame parameter `font-backend' specifies a list of
1074font-backends supported by the frame's graphic device. On X, they are
1075currently `x' and `xft'.
1076
1077*** New function `fontp' checks if the argument is a font-spec or font-entity.
1078
1079*** New function `font-spec' creates a new font-spec object.
1080
1081*** New function `font-get' returns a font property value.
1082
1083*** New function `font-put' sets a font property value.
1084
1085*** New function `list-fonts' returns a list of font-entities matching
1086the given specification.
1087
1088*** New function `list-families' returns a list of family names of
1089available fonts.
1090
1091*** New function `font-font' returns a font-entity best matching with
1092the given specification.
1093
1094*** New function `font-xlfd-name' returns an XLFD name of a given font
1095(font-spec, font-entity, or font-object).
1096
1097*** New function `clear-font-cache' clears all font caches.
1098
1099*** The function `set-fontset-font' now accepts a script name as the
1100second argument, and has an optional 5th argument to control how to
1101set the font.
1102
505d8756 1103** Changes related to multiple tty support
24cdde13 1104
b12f6e85
SM
1105*** $TERM is now set to `dumb' for subprocesses. If you want to know the
1106$TERM inherited by Emacs you will have to look inside initial-environment.
1107
6168122d
SM
1108*** $DISPLAY is now dynamically inherited from the frame's `display'.
1109
0caa490b 1110*** The `window-system' variable has been made frame-local. The new
24cdde13 1111`initial-window-system' variable contains the `window-system' value
bbe3eb99
GM
1112for the first frame. `window-system' is also now a function that
1113takes a frame argument.
24cdde13
GM
1114
1115*** You can specify a terminal device (`tty' parameter) and a terminal
1116type (`tty-type' parameter) to `make-terminal-frame'.
1117
1118*** The new function `make-frame-on-tty' allows you to create a new
1119frame on another tty device interactively.
1120
1121*** The function `make-frame-on-display' now works during a tty
1122session, and `make-frame-on-tty' works during a graphical session.
1123
da406961 1124*** New functions: `delete-tty', `suspend-tty', `resume-tty'.
24cdde13 1125
419f8f49
SM
1126*** A new data type for terminals with functions: `get-device-terminal',
1127`terminal-parameters', `terminal-parameter', `set-terminal-parameter'.
24cdde13 1128
1816bda7 1129*** New hooks: `suspend-tty-functions' and `resume-tty-functions'
92cd6a7c 1130are called after a tty frame has been suspended or resumed,
de3054d5 1131respectively. The functions are called with the terminal id of the frame
92cd6a7c
DN
1132being suspended/resumed as a parameter.
1133
01ff458e 1134*** New function: `environment'.
da406961 1135
4f4a84ec 1136*** New variable: `local-function-key-map'.
01ff458e
SM
1137This in addition to the global function-key-map variable that
1138already existed. The global variable is not used directly any more;
1139instead, the local-function-key-map is initialized so as to inherit from
1140function-key-map.
da406961 1141
82866ad5
SM
1142*** `initial-environment' holds the environment inherited from Emacs's parent.
1143
24cdde13
GM
1144*** The `keyboard-translate-table' variable and the terminal and
1145keyboard coding systems have been made terminal-local.
1146
1aa423e9
SM
1147*** In addition to the global function-key-map, Emacs has terminal-local
1148local-function-key-map variables, and uses them instead of the
24cdde13
GM
1149global keymaps to set up translations and function key sequences
1150relevant to a specific terminal device.
1151
1152
90ab5c62
SM
1153** You can now also pass the value of the `invisible' property to invisible-p
1154to check whether it would cause the text to be invisible. Convenient when
1155checking invisibility of text which has no buffer position
1156(e.g. in before/after-strings).
9f44d41a 1157
ea2e3ef4
RS
1158** Non-breaking space now acts as whitespace.
1159
41bd52f7 1160+++
8d371994
RS
1161** In `condition-case', a handler can specify "let the debugger run first".
1162
1163You do this by writing `debug' in the list of conditions to be handled,
1164like this:
1165
1166 (condition-case nil
1167 (foo bar)
1168 ((debug error) nil))
1169
0a963185
SM
1170** The `require-match' argument to `completing-read' accepts a new value
1171`confirm-only'.
1172
c69b0314
SM
1173+++
1174** The regexp form \(?<num>:<regexp>\) specifies the group number explicitly.
1175
9f44d41a
RS
1176** New function `window-full-width-p' returns t if a window is as wide
1177as its frame.
1178
1179** The new function `split-string-and-unquote' does (what?)
1180
1181** The new function `combine-and-quote-strings' does (what?)
1182
1183** The new function `image-refresh' refreshes all images associated
1184with a given image specification.
1185
abf13a8b
CY
1186+++
1187** New variable `user-emacs-directory'.
1188Use this instead of "~/.emacs.d".
1189
b2b387f9 1190+++
0f3cd6b2 1191** The new function `start-file-process' is similar to `start-process',
b2b387f9 1192but obeys file handlers. The file handler is chosen based on
6dbe7eb4
MA
1193`default-directory'. The functions `start-file-process-shell-command'
1194and `process-file-shell-command' are also new; they call internally
0f3cd6b2 1195`start-file-process' and `process-file', respectively.
b2b387f9 1196
967b2682
GM
1197** The new function `process-lines' executes an external program and
1198returns its output as a list of lines.
1199
64639e26 1200+++
41bd52f7
MA
1201** `file-remote-p' has new optional parameters IDENTIFICATION and CONNECTED.
1202IDENTIFICATION specifies which part of the remote identifier has to be
1203returned. With CONNECTED passed non-nil, it is checked whether a
1204remote connection has been established already.
64639e26 1205
45595a4f
RS
1206** The two new functions `looking-at-p' and `string-match-p' can do
1207the same matching as `looking-at' and `string-match' without changing
1208the match data.
89835619
SM
1209
1210** The interactive-form of a function can be added post-facto via the
1211`interactive-form' symbol property. Mostly useful to add complex interactive
1212forms to subroutines.
9bae34bf 1213\f
0bfd685e 1214* New Packages for Lisp Programming in Emacs 23.1
efeb796b 1215
20202f5e 1216** find-cmd.el can build `find' commands using lisp syntax.
6dfcbe31 1217
9097e8af
RS
1218** The package isearch-multi.el has been added. It implements a new mode
1219`isearch-buffers-minor-mode' that allows isearch to search through
1220multiple buffers. In this mode a new variable
1221`isearch-buffers-next-buffer-function' defines the function to call
1222to get the next buffer to search in the series of multiple buffers.
1223
d53a60a6
TTN
1224** The new package avl-tree.el deals with the AVL tree data structure.
1225
05197f40 1226\f
a933dad1 1227----------------------------------------------------------------------
5b87ad55 1228This file is part of GNU Emacs.
a933dad1 1229
ab73e885 1230GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 1231it under the terms of the GNU General Public License as published by
ab73e885
GM
1232the Free Software Foundation, either version 3 of the License, or
1233(at your option) any later version.
5b87ad55
GM
1234
1235GNU Emacs is distributed in the hope that it will be useful,
1236but WITHOUT ANY WARRANTY; without even the implied warranty of
1237MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1238GNU General Public License for more details.
a933dad1 1239
5b87ad55 1240You should have received a copy of the GNU General Public License
ab73e885 1241along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
a933dad1 1242
05197f40 1243\f
a933dad1
DL
1244Local variables:
1245mode: outline
1246paragraph-separate: "[ \f]*$"
1247end:
ab5796a9 1248
a533413c 1249arch-tag: e759449d-88b3-4de4-9900-3a6c3dfa23e2