(uniquify-buffer-base-name): Undo last change. Should be
[emacs.git] / etc / NEWS
blob2fcd684061f5d72bf105f82a55e5ea4290b4805f
1 GNU Emacs NEWS -- history of user-visible changes.
3 Copyright (C) 2007, 2008 Free Software Foundation, Inc.
4 See the end of the file for license conditions.
6 Please send Emacs bug reports to emacs-pretest-bug@gnu.org.
7 If possible, use M-x report-emacs-bug.
9 This file is about changes in Emacs version 23.
11 See files NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18, and NEWS.1-17
12 for changes in older Emacs versions.
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.
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.
24 * About external Lisp packages
27 * Installation Changes in Emacs 23.1
29 ** The default X toolkit is now Gtk+, rather than Lucid.
31 ** The new configuration option "--enable-font-backend" enables new code
32 for handling fonts by multiple backends (the old font handling codes
33 still exist).  This requires the freetype and fontconfig libraries, and
34 supports local fonts (fonts installed on the machine where Emacs is running).
35 Additionally, the Xft library can be used for antialiasing support.
36 Fontconfig-like font names (e.g. monospace-12) are also accepted.
38 ** The new configuration option "--with-dbus" enables D-Bus language
39 bindings for Emacs.
41 ** The Mac Carbon port is no longer supported.
42 Instead, use... [what?]
44 ** configure now checks for libgif before libungif when searching for
45 a GIF library.
47 ** Support for systems without alloca has been removed.
49 ** Support for Sun windows has been removed.
51 ** Support for many obsolete platforms has been removed.
52 See the list at the end of etc/MACHINES for details.
54 ** The `emacstool' utility has been removed.
56 ** The configure options `--with-gcc', `--without-gcc' have been removed.
57 Configure will use gcc by default.  Set the CC environment variable if
58 you need control over which C compiler is used.
60 ** The configure option `--with-gtk' has been removed. Gtk is now the
61 default toolkit, but you can use --with-x-toolkit=gtk if necessary.
63 * Changes in Emacs 23.1
65 ** Emacs now supports using both X displays and ttys in one session.
66 Start the server (M-x server-start).  Then `emacsclient -t' creates a
67 tty frame connected to the running emacs server.  You can also use any
68 number of different ttys.  `emacsclient -c' creates a new X11 frame on
69 the current $DISPLAY or a tty frame if $DISPLAY is not set.
71 You can test for the presence of this feature in your Lisp code by
72 testing for the `multi-tty' feature.
74 ** The Emacs character set is now a superset of Unicode.  
75 (It has about four times the code space, which should be plenty).
77 The internal encoding used for buffers and strings is now
78 Unicode-based and called `utf-8-emacs'.  utf-8-emacs is backwards
79 compatible with the UTF-8 encoding of Unicode.  The `emacs-mule'
80 coding system can still read and write data in the old internal encoding.
82 Since the internal encoding is also used by default for byte-compiled
83 files -- i.e. the normal coding system for byte-compiled Lisp files is
84 now utf-8-Emacs -- Lisp containing non-ASCII characters which is
85 compiled by Emacs 23 can't be read by earlier versions of Emacs.  Files
86 compiled by Emacs 20, 21, or 22 are loaded correctly as emacs-mule
87 (whether or not they contain multibyte characters), which makes loading
88 them somewhat slower than Emacs 23-compiled files.  Thus it may be worth
89 recompiling existing .elc files which don't need to be shared with older
90 Emacsen.
92 ** There are assorted new coding systems/aliases -- see M-x list-coding-systems.
94 ** There is a new charset implementation with many new charsets.
95 See M-x list-character-sets.  New charsets can be defined conveniently
96 as tables of unicodes.
98 The dimension of a charset is now 1, 2, 3, or 4, and the size of each
99 dimension is no longer limited to 94 or 96.
101 A dynamic charset priority list is used to infer the charset of
102 characters for display.
104 ** There are new Chinese-GBK, Chinese-GB18030, Khmer, Bengali,
105 Punjabi, Gujarati, Oriya, Telugu, Sinhala, and TaiViet language
106 environments.
108 ** Emacs now supports the XEmbed specification.
109 You can embed Emacs in another application on X11.  The new command line option
110 --parent-id is used to pass the parent window id to Emacs.  See
111 http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html
112 for details about XEmbed.
114 ** Emacs comes with a new set of icons for Mac OS X.
115 OS-X-style icons (an application icon and a relevant document icon)
116 were contributed by Kentaro Ohkouchi.
117 Source files for these icons can be found in Emacs.app/Contents/Resources.
118 PNG versions are available as etc/images/icons/emacs*_mac.png.
120 ** Built-in functions (subr) can now have an interactive specification
121 that is not a prompt string.  If the `intspec' parameter of a `DEFUN'
122 starts with a `(', the string is evaluated as a Lisp form.
124 ** set-file-modes is now interactive and can take the mode value in
125 symbolic notation thanks to auxiliary functions.
127 ** split-window-preferred-function specifies whether display-buffer should
128 split windows vertically or horizontally.
130 ** Emacsclient has been extended to support opening a new terminal
131 frame.  Its behavior has been changed to open a new Emacs frame by
132 default.  Use the -c option to get the old behavior of opening files in
133 the currently selected Emacs frame.
135 ** The refcards are now shipped as PDF files.
137 ** Emacs now supports the SVG image format through librsvg2.
139 ** C-SPC C-SPC in transient-mark-mode pushes a mark without activating it.
141 ** transient-mark-mode is now enabled by default.
143 ** If you set find-file-confirm-nonexistent-file to t, then C-x C-f
144 requires confirmation before opening a non-existent file.
146 ** If the gpm mouse server is running and t-mouse-mode enabled, Emacs uses a
147 Unix socket in a GNU/Linux console to talk to server, rather than faking events
148 using the client program mev.  This C level approach provides mouse
149 highlighting, and help echoing in the minibuffer.
151 ** The new variable next-error-recenter specifies how next-error should
152 recenter the visited source file.  Its value can be a number (for example,
153 0 for top line, -1 for bottom line), or nil for no recentering.
155 ** New command recenter-top-bottom moves the current line to window
156 center, top and bottom on successive invokations.
158 ** C-l is bound to the new command recenter-top-bottom, rather than recenter.
160 ** The mode-line displays a `@' if the default-directory for the current buffer
161 is on a remote machine, or a hyphen otherwise.
163 ** The mode-line displays a mode menu when mouse-1 is clicked on a minor mode,
164 in the same way as it already did for major modes.
166 ** The new command balance-windows-area balances windows both vertically
167 and horizontally.
169 ** The new command close-display-connection can be used to close a connection
170 to a remote display, e.g. because the display is about to become unreachable.
172 ** The command shell prompts for the default directory, when it is
173 called with a prefix, and the default directory is a remote file name.
174 This is because some file name handlers (like ange-ftp) are not able to
175 run processes remotely.
177 ** The new command `display-time-world' starts an updating time display
178 using several time zones, in a buffer.
180 ** The new function `format-seconds' converts a number of seconds into a
181 readable string of days, hours, etc.
183 ** The new variables `before-init-time' and `after-init-time' record the
184 value of `current-time' before and after Emacs loads the init files.
186 ** The new function `emacs-uptime' returns the uptime of an Emacs instance.
188 ** The new function `emacs-init-time' returns the duration of the
189 Emacs initialization.
191 ** The minor modes unify-8859-on-encoding-mode, unify-8859-on-decoding-mode
192 are obsolete.
195 * Startup Changes in Emacs 23.1
197 ** New user option `initial-buffer-choice' specifies what to display
198 after starting Emacs: startup screen, *scratch* buffer, visiting a
199 file or directory.
201 ** New alias `argv' for `command-line-args-left'
202 This is a convenience alias, so that one can write `(pop argv)'
203 inside of --eval command line arguments in order to access
204 following arguments.
206 ** The new command-line option `--disable-font-backend' disables the
207 new font backend code at runtime.  This option is only available if
208 Emacs was compiled with font-backend support.
210 ** The abbrev file is no longer read at startup in batch mode.
212 * Incompatible Editing Changes in Emacs 23.1
215 ** In Dired-x, all command guesses for ! are now added to the default
216 list accessible by M-n instead of pushing all guesses temporarily into
217 the history list.
220 * Editing Changes in Emacs 23.1
223 ** C-M-% now shows replacement as it would look in the buffer, with
224 `\N' and `\&' substituted according to the match.  Old behavior can be
225 restored by customizing `query-replace-show-replacement'.
228 ** M-q now fills the region if the region is active and
229 `transient-mark-mode' is turned on.  Otherwise, it fills the current
230 paragraph.
233 ** M-$ now checks spelling of the region if the region is active and
234 `transient-mark-mode' is turned on.  Otherwise, it checks spelling of the
235 word at point.
237 ** TAB now indents the region if the region is active and
238 `transient-mark-mode' is turned on.
240 ** `use-empty-active-region' controls whether an empty active region
241 in Transient Mark mode should make commands operate on that empty region.
243 ** C-z now invokes `suspend-frame', C-x C-c now invokes
244 `save-buffers-kill-terminal'.
246 ** New command kill-matching-buffers kills buffers whose name matches a regexp.
248 ** You can disable kill ring commands from accessing the primary selection
249 by setting `x-select-enable-primary' to nil.
251 ** If `select-active-regions' is t, setting the mark automatically
252 makes the new region into the primary selection (for interaction with
253 other window applications).  If you enable this, you might want to bind
254 `mouse-yank-primary' to Mouse-2.
256 ** If `yank-pop-change-selection' is t, rotating the kill ring
257 also updates the selection or clipboard to the current yank,
258 just as M-w would do so with the text it copies to the kill ring.
260 ** Minibuffer changes:
262 *** In C-x d, if you type M-n you get the visited file name of the
263 current buffer.
265 *** In Dired, a list of commands for ! extracted from mailcap according to
266 file extensions are added to the default list accessible by M-n.
268 *** A list of regexp default values is available via M-n for `occur',
269 `keep-lines', `flush-lines' and `how-many'.  This list includes the active
270 region in transient-mark-mode, the word under the cursor, the last isearch
271 regexp, the last isearch string and the last replacement regexp.
273 *** isearch started in the minibuffer searches in the minibuffer history.
274 Reverse isearch commands (C-r, C-M-r) search in previous minibuffer
275 history elements, and forward isearch commands (C-s, C-M-s) search in
276 next history elements.  When the reverse search reaches the first history
277 element, it wraps to the last history element, and the forward search
278 wraps to the first history element.  When the search is terminated, the
279 history element containing the search string becomes the current.
282 * New Modes and Packages in Emacs 23.1
284 ** FIXME add details of new packages imported from lisp/gnus.
285 [Maybe some information from doc/misc/gnus-coding.texi can be reused]
287 ** The package doc-view.el has been added.  It supports viewing of PDF,
288 PostScript and DVI documents inside an Emacs buffer by converting the
289 document to a set of PNG images first.  One can also search for a
290 regular expression in the document.  The commentary of the file explains
291 its usage.
293 ** The nXML package has been added.  It is a new mode for editing XML
294 documents.  nXML mode allows a schema to be associated with the XML
295 document being edited.  nXML mode uses Relax NG as its schema
296 language.  The schema is used to provide two key features:
298 *** Continuous validation.  nXML validates as you type, highlighting
299 any invalid parts of your document.
301 *** Completion.  nXML can assist you in entering an element name,
302 attribute name or data value by using information about what is
303 allowed by the schema in that context.
305 ** A new game called `bubbles' has been added.  This is a version of
306 the "Same Game" with configurable difficulty level.
308 ** minibuffer-indicate-depth-mode shows the minibuffer depth in the prompt.
310 ** Remember Mode (remember.el) is now included with Emacs.  It is a
311 mode for quickly jotting down things to remember.  Included with
312 remember.el is a backend that can save notes to a Diary file.  Please
313 consult the Remember Manual for usage details.
315 ** D-Bus language bindings for Elisp are provided by the package
316 dbus.el and by extensions to the C modules of Emacs.  D-Bus is an
317 inter-process communication mechanism for applications residing on the
318 same host, based on messages.  See the manual for further details.
320 ** EasyPG is now part of the Emacs distribution.  It is an all-in-one
321 GnuPG interface which includes GnuPG keyring browser, cryptographic
322 operations on regions and files, and automatic encryption of *.gpg
323 files.  See the EasyPG Assistant User's Manual for further details.
325 ** json.el is now included with Emacs.  It is a library for parsing
326 and generating JSON (JavaScript Object Notation).  JSON is a
327 lightweight data-interchange format.
329 ** Auto Composition Mode is a minor mode that composes characters
330 automatically when they are displayed.  It is globally on by default.
331 It uses `auto-composition-function' (default `auto-compose-chars').
334 * Changes in Specialized Modes and Packages in Emacs 23.1
336 ** A new `whitespace' package has been installed, and the pre-existing one
337 renamed to `old-whitespace'.
338 [FIXME someone explain why this is good, if it is...]
340 ** In Change Log mode, the new function `change-log-find-file', bound to
341 C-c C-f, finds the file associated with the current log entry.
343 ** abbrev was rewritten in Elisp and extended with more flexibility.
344 *** New functions: abbrev-get, abbrev-put, abbrev-table-get, abbrev-table-put,
345     abbrev-table-p.
346 *** Special hook `abbrev-expand-functions' obsoletes `pre-abbrev-expand-hook'.
347 *** `make-abbrev-table', `define-abbrev', `define-abbrev-table' all take
348     extra arguments for arbitrary properties.
349 *** New variable `abbrev-minor-mode-table-alist'.
350 *** `local-abbrev-table' can hold a list of abbrev-tables.
351 *** Abbrevs have now the following special properties:
352     `:count', `:system', `:enable-function', `:case-fixed'.
353 *** Abbrev-tables have now the following special properties:
354     `:parents', `:case-fixed', `:enable-function', `:regexp',
355     `abbrev-table-modiff'.
357 ** Help mode.
358 *** New macro `with-help-window' should set up help windows better
359 than `with-output-to-temp-buffer' with `print-help-return-message'.
360 *** New option `help-window-select' permits to customize whether help
361 window shall be automatically selected when invoking help.
362 *** New variable `help-window-point-marker' permits to specify new
363 position of point in help window (for example in `view-lossage').
365 ** view-remove-frame-by-deleting is now by default t
366 since users found iconification of view-mode frames distracting.
368 ** Isearch mode
370 *** New command `isearch-occur' bound to `M-s o' in isearch mode
371 runs `occur' with the current search string.
373 *** isearch can now search through multiple ChangeLog files.
374 When running isearch in a ChangeLog file, if the search fails,
375 then another C-s tries searching the previous ChangeLog,
376 if there is one (e.g. go from ChangeLog to ChangeLog.12).
378 This is enabled if isearch-buffers-multi is non-nil.
380 *** The part of an isearch that failed to match is highlighted in `isearch-fail'
381 face.
383 ** smerge-refine highlights word-level details of changes in conflict.
384 It's used automatically as you move through conflicts, see smerge-auto-refine.
386 ** Diff mode
388 *** diff-refine-hunk highlights word-level details of changes in a diff hunk.
389 It's used automatically as you move through hunks, see
390 diff-auto-refine.  It is bound to `C-c C-b'.
392 *** diff-add-change-log-entries-other-window iterates through the diff
393 buffer and tries to create ChangeLog entries for each change.
394 It is bound to `C-x 4 A'.
396 ** archive-mode has basic support to browse Rar archives.
398 ** talk.el has been extended for multiple tty support.
400 ** compilation-auto-jump-to-first-error tells `compile' to jump to
401 the first error encountered during compilations.
403 ** In the `copyright' package, you can specify your copyright holders' names.
404 Only copyright lines with holders matching copyright-names-regexp will be
405 considered for update.
407 ** eldoc highlights the function argument under point
408 with the face `eldoc-highlight-function-argument'.
410 ** hide-ifdef-mode permits to shadow ifdef-blocks instead of hiding them.
411 See option `hide-ifdef-shadow' and function `hide-ifdef-toggle-shadowing'.
414 ** defcustom accepts new keyword arguments, `:safe' and `:risky', which
415 set a variable's `safe-local-variable' and `risky-local-variable' property.
417 ** Etags changes.
418 *** The --members option is now the default.
420 Use --no-members if you want the old default behaviour of not tagging
421 struct members in C, members variables in C++ and variables in PHP.
423 ** VC
424 *** Clicking on the VC mode-line entry now pops the VC menu.
426 *** The VC mode-line entry now has a tooltip that explains the VC file status.
428 *** VC now supports applying VC operations to a set of files at a time.
430 This enables VC to work much more effectively with changeset-oriented
431 version-control systems such as Subversion, GNU Arch, Mercurial, and
432 Bzr. VC will now pass a multiple-file commit to these systems
433 as a single changeset.
435 *** In VC Annotate mode, you can type V to toggle the annotation visibility.
437 *** In VC Annotate mode, you can type f to show the file revision on
438 the current line.
440 ** log-edit now has a command bound to C-c C-d to show the diff for
441 the files involved.
443 ** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs.
445 ** The appearance of superscript and subscript in TeX is more customizable.
446 See the documentation of the variables: tex-fontify-script,
447 tex-font-script-display, tex-suscript-height-ratio, and
448 tex-suscript-height-minimum.
450 ** BibTeX mode:
452 *** New command `bibtex-initialize' (re)initializes BibTeX buffers. 
454 *** New `bibtex-entry-format' options `whitespace', `braces', and
455 `string', disabled by default.
457 *** New variable `bibtex-cite-matcher-alist' contains rules to
458 identify cited keys in BibTeX entries, used by `bibtex-find-crossref'.
460 *** Command `bibtex-url' allows multiple URLs per entry.
463 ** Tramp
465 *** New connection methods.
466 The new methods "plinkx", "plink2", "psftp", "sftp" and "fish" have
467 been introduced.  There are also new so-called gateway methods
468 "tunnel" and "socks".
470 *** Multihop syntax has been removed.
471 The pseudo-method "multi" has been removed.  Instead of, multi hops
472 can be specified by the new variable `tramp-default-proxies-alist'.
474 *** More default settings.
475 Default values can be set via the variables `tramp-default-user',
476 `tramp-default-user-alist' and `tramp-default-host'.
478 *** Connection information is cached.
479 In order to reduce connection setup, information about used
480 connections are kept persistent in a file.  The name of this file is
481 defined in the variable `tramp-persistency-file-name'.
483 *** Control of remote processes.
484 Running processes on a remote host can be controlled by settings in
485 `tramp-remote-path' and `tramp-remote-process-environment'.
487 *** Success of remote copy is checked.
488 When the variable `file-precious-flag' is set, the success of a remote
489 file copy is checked via the file's checksum.
491 ** Miscellaneous programming mode changes
493 *** The file etc/emacs.py now supports both Python 2 and 3, meaning
494 that either version can be used as inferior Python by python.el.
496 *** Python mode now has `pdbtrack' functionality.  When using pdb to
497 debug a Python program, pdbtrack notices the pdb prompt and displays
498 the source file and line that the program is stopped at, much the same
499 way as gud-mode does for debugging C programs with gdb.
501 *** The variable `fortran-line-length' can change the fixed-form line-length.
503 *** In Fortran mode, M-; is now bound to the standard comment-dwim,
504 rather than fortran-indent-comment.
507 *** (The increasingly misnamed) F90 mode supports Fortran 2003 syntax.
509 ** Gnus package
511 *** The Gnus package has been updated
513 *** In Emacs 23, Gnus uses Emacs' new internal coding system `utf-8-emacs' for
514 saving articles drafts and ~/.newsrc.eld.  These file may not be read
515 correctly in Emacs 22 and below.  If you want to Gnus across different Emacs
516 versions, you may set `mm-auto-save-coding-system' to `emacs-mule'.
518 *** There are many news features, bug fixes and improvements.
520 See the file GNUS-NEWS or the node "No Gnus" in the Gnus manual for details.
522 ** Miscellaneous
524 *** comint-mode uses `start-file-process' now (see Lisp Changes).
525 If `default-directory' is a remote file name, subprocesses are started
526 on the corresponding remote system.
528 *** C-x C-q in dired-mode now runs the command wdired-change-to-wdired-mode,
529 and C-x C-q in wdired-mode exits it with asking a question about
530 saving changes.
532 *** The new command `eshell/info' runs info in an eshell buffer.
534 *** The pcmpl-unix package supports hostname completion for ssh and scp.
536 *** WoMan tries to add locale-specific manual page directories to the
537 search path.  This can be disabled by setting `woman-locale' to nil.
539 *** The new variable `ffap-rfc-directories' specifies a list of local
540 directories in which `ffap-rfc' will first search for RFCs.
542 *** net-utils has an `iwconfig' command, similar to the existing `ifconfig'.
543 It is used to configure wireless interfaces.
546 * Changes in Emacs 23.1 on non-free operating systems
549 ** IPv6 is supported on MS-Windows.
550 Emacs now supports IPv6 on Windows XP and later, and earlier versions
551 of Windows with third party IPv6 stacks installed. Previously IPv6 was
552 supported on other platforms, but not on Windows due to using the winsock
553 1.1 header file, even though Emacs was linking to the winsock 2 library.
555 ** More keys available on MS-Windows.
556 Keys normally associated with IMEs, and some exotic keys not normally found
557 on standard keyboards have been given names so they can be bound to functions
558 inside Emacs.  If there are keys on your keyboard that have not been exposed
559 to Emacs in the past, try C-h k to see if they are available now.
561 Emacs can now bind functions to the extra buttons for media player and
562 browser control present on some keyboards.  These buttons are disabled
563 by default, since enabling them prevents their system-wide use when
564 Emacs has focus.  To enable them, set the variable
565 w32-pass-multimedia-buttons to nil. See the doc string of that variable
566 for the list of extra keys that are available.
568 * Incompatible Lisp Changes in Emacs 23.1
570 ** The behavior of map-char-table has changed.  It may call the
571 specified function with a cons (FROM . TO) as a key if characters in
572 that range have the same value.
574 ** The value of the function `charset-id' is now always 0.
576 ** The functions `register-char-codings' and `coding-system-spec'
577 have been removed.
579 ** The cpXXX coding systems are now supported automatically.  The
580 functions cp-...-codepage, which you had to use in Emacs 22 to enable
581 support for these coding systems, have been deleted.
584 ** The function `dired-call-process' has been removed.
586 ** The variable `byte-compile-warnings' can now be a list starting with `not',
587 meaning to disable the specified warnings. The meaning of this list
588 may therefore be the reverse of what you expect (of course, this is
589 only an issue if you make use of the new `not' syntax). Rather than
590 checking/manipulating elements directly, use the new functions
591 `byte-compile-warning-enabled-p', `byte-compile-disable-warning', and
592 `byte-compile-enable-warning.'
594 ** `mode-name' is no longer guaranteed to be a string.
595 Use `(format-mode-line mode-name)' to ensure a string value.
597 ** The following features have been removed.  They were used for
598 displaying various scripts with specific fonts, and are no longer
599 needed now that OpenType font support is available:
601 *** `devanagari' and `devan-util', and all associated devanagari-* and
602 dev-* functions and variables (formerly used for Devanagari script).
604 *** `kannada' and `knd-util', and all associated kannada-* and knd-*
605 functions and variables (formerly used for Kannada script).
607 *** `malayalam' and `mlm-util', and all associated malayalam-* and
608 mlm-* functions and variables (formerly used for Malayalam script).
610 *** `tamil' and `tml-util, and all associated tamil-* and tml-*
611 functions and variables (formerly used for Tamil script).
614 * Lisp Changes in Emacs 23.1
616 ** The new `buffer-swap-text' function can swap the text between two buffers.
617 This can be useful for modes such as tar-mode, archive-mode, RMAIL.
619 ** `clear-image-cache' can be told to flush only images of a specific file.
621 ** clone-indirect-buffer now runs the clone-indirect-buffer-hook.
623 ** `beginning-of-defun-function' now takes one argument, the count
624  given to `beginning-of-defun'.
626 ** The variable `inhibit-changing-match-data', if non-nil, prevents the
627 search and match primitives from changing the match data.
630 ** New function `match-substitute-replacement' returns the result of
631 `replace-match' without actually using it in the buffer.
633 ** If a local hook function has a non-nil `permanent-local-hook'
634 property, then `kill-all-local-variables' does not remove it from
635 the local value of the hook variable.  This means it remains
636 even if you change major modes.
639 ** A list of default values can be specified for the DEFAULT argument of
640 functions `read-from-minibuffer', `read-string', `read-command',
641 `read-variable', `read-buffer', `completing-read'.  Elements of this list
642 are available for inserting into the minibuffer by typing `M-n'.
643 For empty input these functions return the first element of this list.
645 ** `custom-note-var-changed' tells Custom to treat the change in a certain
646 variable as having been made within Custom.
648 ** `frame-inherited-parameters' lets new frames inherit parameters from
649 the selected frame.
651 ** Commands should use `use-region-p' to test whether there is
652 an active region that they should operate on.
654 ** `region-active-p' returns non-nil when Transient Mark mode
655 is enabled and there is an active region.  This is NOT the best function
656 to use to test whether a command should operate on the region instead
657 of the usual behavior -- for that, use `use-region-p'.
659 ** New keymap `input-decode-map' overrides like key-translation-map, but
660 applies before function-key-map.  Also it is terminal-local contrary to
661 key-translation-map.  Terminal-specific key-sequences are generally added to
662 this map rather than to function-key-map now.
664 ** The new macro `declare-function' suppresses compiler warnings about
665 undefined functions.  The new `check-declare' package verifies that such
666 statements are accurate (i.e. the functions are actually defined in
667 the specified files).
669 ** The new function `read-color' reads a color name using the minibuffer.
671 ** The new function `face-all-attributes' returns an alist
672 describing all the basic attributes of a given face.
674 ** `interprogram-paste-function' can now return one string or a list
675 of strings.  In the latter case, Emacs puts the second and following
676 strings on the kill ring.
678 ** Character code, representation, and charset changes.
680 The character code space is now 0x0..0x3FFFFF with no gap. 
681 Characters of code 0x0..0x10FFFF are Unicode characters of the same code points.
682 Characters of code 0x3FFF80..0x3FFFFF are raw 8-bit bytes.
684 Generic characters no longer exist.  
686 In buffer and string, characters are represented by UTF-8 byte
687 sequence in a multibyte buffer/string.
689 The concept of a charset has changed.  A single character may belong to
690 multiple charsets (e.g. a-grave, U+00E0, belongs to charsets unicode,
691 iso-8859-1, iso-8859-3, etc).
693 *** The new function `characterp' returns t if and only if the argument
694 is a character.  This replaces `char-valid-p', which is now obsolete.
696 *** The new function `max-char' returns the maximum character code
697 (currently it is #x3FFFFF).
699 *** The functions `encode-char' and `decode-char' now accept any character sets.
701 *** The function `define-charset' now accepts a completely different
702 form of arguments (old-style arguments still work).
704 *** The new function `define-charset-alias' defines an alias of a charset.
706 *** The value of the function `char-charset' depends on the current
707 priorities of charsets.
709 *** The new function `charset-priority-list' returns the list of
710 charsets ordered by priority.
712 *** The new function `set-charset-priority' sets priorities of charsets.
714 *** The new function `unibyte-charset' returns the current unibyte
715 charset.  The unibyte charset determines how unibyte/multibyte
716 conversion is done.
718 *** The new function `set-unibyte-charset' sets the unibyte charset.
720 *** The new function `unibyte-string' make a unibyte string from bytes.
722 *** The new function `define-char-code-property' defines a character
723 code property.
725 *** The new function `char-code-property-description' returns the
726 description string of a character code property.
728 *** The function get-char-code-property now accepts many Unicode base
729 character properties.  They are `name', `general-category',
730 `canonical-combining-class', `bidi-class', `decomposition',
731 `decimal-digit-value', `digit-value', `numeric-value', `mirrored',
732 `old-name', `iso-10646-comment', `uppercase', `lowercase', and
733 `titlecase'.
735 *** The new variable `find-word-boundary-function-table' is a
736 char-table of functions to search for a word boundary.
738 *** The new variable `char-script-table' is a char-table of script names.
740 *** The new variable `char-width-table' is a char-table of character widths.
742 *** The new variable `print-charset-text-property' controls how to
743 handle `charset' text property on printing a string.
745 *** The new variable `printable-chars' is a char-table defining if a
746 character is printable or not.
748 *** The functions `modify-syntax-entry' and `modify-category-entry' now
749 accepts a cons of characters as the first argument, and modify all
750 entries in that range of characters.
752 ** Code conversion changes.
754 *** The new function `define-coding-system' should be used to define a
755 coding system instead of `make-coding-system' (which is now obsolete).
757 *** The functions `encode-coding-region' and `decode-coding-region'
758 have an optional 4th argument to specify where the result of
759 conversion should go.
761 *** The functions `encode-coding-string' and `decode-coding-string'
762 have an optional 4th argument specifying a buffer to store the result
763 of conversion.
765 *** The new function `with-coding-priority' executes the body part with
766 the specified coding system priority order.
768 *** The new function `check-coding-systems-region' checks if the text
769 in the region is encodable by the specified coding systems.
771 *** The new function `coding-system-aliases' returns a list of aliases
772 of a coding system.
774 *** The new function `coding-system-charset-list' returns a list of
775 charsets supported by a coding system.
777 *** The new function `coding-system-priority-list' returns a list of
778 coding systems ordered by their priorities.
780 *** The new function `set-coding-system-priority' sets priorities of
781 coding systems.
783 *** The functions `set-coding-priority' and `make-coding-system' are obsolete.
785 ** There is a new input method, Robin, different from Quail.
786 It has three functionalities: 
787  i) a simple input method (converts an ASCII sequence into a string).
788 ii) converts an existing buffer substring into another string
789 iii) reverse conversion (each character produced by a
790 robin rule can hold the original ASCII sequence as a char-code-property)
792 *** The new function `robin-define-package' defines a Robin package.
794 *** The new function `robin-modify-package' modifies an existing Robin package.
796 *** The new function `robin-use-package' starts using a Robin package
797 as an input method.
799 ** Changes related to the new font backend.
801 Which font backends to use can be specified by the X resource "FontBackend".
802 For instance, to use both X core fonts and Xft fonts:
804 Emacs.FontBackend: x,xft
806 If this resource is not set, Emacs tries to use all font backends
807 available on your graphic device.
809 *** New frame parameter `font-backend' specifies a list of
810 font-backends supported by the frame's graphic device.  On X, they are
811 currently `x' and `xft'.
813 *** New function `fontp' checks if the argument is a font-spec or font-entity.
815 *** New function `font-spec' creates a new font-spec object.
817 *** New function `font-get' returns a font property value.
819 *** New function `font-put' sets a font property value.
821 *** New function `list-fonts' returns a list of font-entities matching
822 the given specification.
824 *** New function `list-families' returns a list of family names of
825 available fonts.
827 *** New function `font-font' returns a font-entity best matching with
828 the given specification.
830 *** New function `font-xlfd-name' returns an XLFD name of a given font
831 (font-spec, font-entity, or font-object).
833 *** New function `clear-font-cache' clears all font caches.
835 *** The function `set-fontset-font' now accepts a script name as the
836 second argument, and has an optional 5th argument to control how to
837 set the font.
839 ** Changes related to multiple tty support.
841 *** $TERM is now set to `dumb' for subprocesses.  If you want to know the
842 $TERM inherited by Emacs you will have to look inside initial-environment.
844 *** $DISPLAY is now dynamically inherited from the frame's `display'.
846 *** The `window-system' variable has been made frame-local. The new
847 `initial-window-system' variable contains the `window-system' value
848 for the first frame.
850 *** You can specify a terminal device (`tty' parameter) and a terminal
851 type (`tty-type' parameter) to `make-terminal-frame'.
853 *** The new function `make-frame-on-tty' allows you to create a new
854 frame on another tty device interactively.
856 *** The function `make-frame-on-display' now works during a tty
857 session, and `make-frame-on-tty' works during a graphical session.
859 *** New functions: `delete-tty', `suspend-tty', `resume-tty'.
861 *** A new data type for terminals with functions: `get-device-terminal',
862 `terminal-parameters', `terminal-parameter', `set-terminal-parameter'.
864 *** New hooks: `suspend-tty-functions' and `resume-tty-functions'
865 are called after a tty frame has been suspended or resumed,
866 respectively.  The functions are called with the terminal id of the frame
867 being suspended/resumed as a parameter.
869 *** New function: `environment'.
871 *** New variable: `local-function-key-map'.
872 This in addition to the global function-key-map variable that
873 already existed.  The global variable is not used directly any more;
874 instead, the local-function-key-map is initialized so as to inherit from
875 function-key-map.
877 *** `initial-environment' holds the environment inherited from Emacs's parent.
879 *** The `keyboard-translate-table' variable and the terminal and
880 keyboard coding systems have been made terminal-local.
882 *** In addition to the global function-key-map, Emacs has terminal-local
883 local-function-key-map variables, and uses them instead of the
884 global keymaps to set up translations and function key sequences
885 relevant to a specific terminal device.
888 ** You can now also pass the value of the `invisible' property to invisible-p
889 to check whether it would cause the text to be invisible.  Convenient when
890 checking invisibility of text which has no buffer position
891 (e.g. in before/after-strings).
893 ** Non-breaking space now acts as whitespace.
896 ** In `condition-case', a handler can specify "let the debugger run first".
898 You do this by writing `debug' in the list of conditions to be handled,
899 like this:
901     (condition-case nil
902         (foo bar)
903       ((debug error) nil))
905 ** The `require-match' argument to `completing-read' accepts a new value
906 `confirm-only'.
909 ** The regexp form \(?<num>:<regexp>\) specifies the group number explicitly.
911 ** New function `window-full-width-p' returns t if a window is as wide
912 as its frame.
914 ** The new function `split-string-and-unquote' does (what?)
916 ** The new function `combine-and-quote-strings' does (what?)
918 ** The new function `image-refresh' refreshes all images associated
919 with a given image specification.
922 ** New variable `user-emacs-directory'.
923 Use this instead of "~/.emacs.d".
926 ** The new function `start-file-process' is similar to `start-process',
927 but obeys file handlers.  The file handler is chosen based on
928 `default-directory'.  The functions `start-file-process-shell-command'
929 and `process-file-shell-command' are also new; they call internally
930 `start-file-process' and `process-file', respectively.
932 ** The new function `process-lines' executes an external program and
933 returns its output as a list of lines.
936 ** `file-remote-p' has new optional parameters IDENTIFICATION and CONNECTED.
937 IDENTIFICATION specifies which part of the remote identifier has to be
938 returned.  With CONNECTED passed non-nil, it is checked whether a
939 remote connection has been established already.
941 ** The two new functions `looking-at-p' and `string-match-p' can do
942 the same matching as `looking-at' and `string-match' without changing
943 the match data.
945 ** The interactive-form of a function can be added post-facto via the
946 `interactive-form' symbol property.  Mostly useful to add complex interactive
947 forms to subroutines.
949 * New Packages for Lisp Programming in Emacs 23.1
951 ** The package isearch-multi.el has been added.  It implements a new mode
952 `isearch-buffers-minor-mode' that allows isearch to search through
953 multiple buffers.  In this mode a new variable
954 `isearch-buffers-next-buffer-function' defines the function to call
955 to get the next buffer to search in the series of multiple buffers.
957 ** The new package avl-tree.el deals with the AVL tree data structure.
960 ----------------------------------------------------------------------
961 This file is part of GNU Emacs.
963 GNU Emacs is free software; you can redistribute it and/or modify
964 it under the terms of the GNU General Public License as published by
965 the Free Software Foundation; either version 3, or (at your option)
966 any later version.
968 GNU Emacs is distributed in the hope that it will be useful,
969 but WITHOUT ANY WARRANTY; without even the implied warranty of
970 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
971 GNU General Public License for more details.
973 You should have received a copy of the GNU General Public License
974 along with GNU Emacs; see the file COPYING.  If not, write to the
975 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
976 Boston, MA 02110-1301, USA.
979 Local variables:
980 mode: outline
981 paragraph-separate: "[  \f]*$"
982 end:
984 arch-tag: e759449d-88b3-4de4-9900-3a6c3dfa23e2