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