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