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