Mercurial > emacs
annotate etc/NEWS.21 @ 99881:2842e1343bee
* files.el (confirm-nonexistent-file-or-buffer): Allow
`after-completion' value to request confirm only after TAB.
(confirm-nonexistent-file-or-buffer): New function.
(read-buffer-to-switch, find-file, find-file-other-window)
(find-file-other-frame, find-file-read-only)
(find-file-read-only-other-window)
(find-file-read-only-other-frame): Use it.
(switch-to-buffer-other-window, switch-to-buffer-other-frame): Doc
fix.
* minibuffer.el (minibuffer-complete-and-exit): Change
`confirm-only' value of minibuffer-completion-confirm to
`confirm', and handle a `confirm-after-completion' value.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 24 Nov 2008 19:13:45 +0000 |
parents | cbf5528cf447 |
children | c90853557b90 |
rev | line source |
---|---|
71203
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1 GNU Emacs NEWS -- history of user-visible changes. 2006-05-31 |
75774
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
2 |
79776 | 3 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
75774
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
4 Free Software Foundation, Inc. |
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
5 See the end of the file for license conditions. |
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
6 |
71203
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
7 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
8 This file is about changes in emacs version 21. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
9 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
10 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
11 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
12 * Emacs 21.4 is a bug-fix release with no user-visible changes. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
13 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
14 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
15 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
16 * Installation changes in Emacs 21.3 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
17 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
18 ** Support for GNU/Linux on little-endian MIPS and on IBM S390 has |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
19 been added. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
20 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
21 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
22 * Changes in Emacs 21.3 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
23 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
24 ** The obsolete C mode (c-mode.el) has been removed to avoid problems |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
25 with Custom. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
26 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
27 ** UTF-16 coding systems are available, encoding the same characters |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
28 as mule-utf-8. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
29 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
30 ** There is a new language environment for UTF-8 (set up automatically |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
31 in UTF-8 locales). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
32 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
33 ** Translation tables are available between equivalent characters in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
34 different Emacs charsets -- for instance `e with acute' coming from the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
35 Latin-1 and Latin-2 charsets. User options `unify-8859-on-encoding-mode' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
36 and `unify-8859-on-decoding-mode' respectively turn on translation |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
37 between ISO 8859 character sets (`unification') on encoding |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
38 (e.g. writing a file) and decoding (e.g. reading a file). Note that |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
39 `unify-8859-on-encoding-mode' is useful and safe, but |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
40 `unify-8859-on-decoding-mode' can cause text to change when you read |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
41 it and write it out again without edits, so it is not generally advisable. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
42 By default `unify-8859-on-encoding-mode' is turned on. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
43 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
44 ** In Emacs running on the X window system, the default value of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
45 `selection-coding-system' is now `compound-text-with-extensions'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
46 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
47 If you want the old behavior, set selection-coding-system to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
48 compound-text, which may be significantly more efficient. Using |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
49 compound-text-with-extensions seems to be necessary only for decoding |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
50 text from applications under XFree86 4.2, whose behavior is actually |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
51 contrary to the compound text specification. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
52 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
53 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
54 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
55 * Installation changes in Emacs 21.2 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
56 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
57 ** Support for BSD/OS 5.0 has been added. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
58 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
59 ** Support for AIX 5.1 was added. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
60 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
61 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
62 * Changes in Emacs 21.2 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
63 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
64 ** Emacs now supports compound-text extended segments in X selections. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
65 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
66 X applications can use `extended segments' to encode characters in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
67 compound text that belong to character sets which are not part of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
68 list of approved standard encodings for X, e.g. Big5. To paste |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
69 selections with such characters into Emacs, use the new coding system |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
70 compound-text-with-extensions as the value of selection-coding-system. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
71 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
72 ** The default values of `tooltip-delay' and `tooltip-hide-delay' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
73 were changed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
74 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
75 ** On terminals whose erase-char is ^H (Backspace), Emacs |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
76 now uses normal-erase-is-backspace-mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
77 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
78 ** When the *scratch* buffer is recreated, its mode is set from |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
79 initial-major-mode, which normally is lisp-interaction-mode, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
80 instead of using default-major-mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
81 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
82 ** The new option `Info-scroll-prefer-subnodes' causes Info to behave |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
83 like the stand-alone Info reader (from the GNU Texinfo package) as far |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
84 as motion between nodes and their subnodes is concerned. If it is t |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
85 (the default), Emacs behaves as before when you type SPC in a menu: it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
86 visits the subnode pointed to by the first menu entry. If this option |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
87 is nil, SPC scrolls to the end of the current node, and only then goes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
88 to the first menu item, like the stand-alone reader does. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
89 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
90 This change was already in Emacs 21.1, but wasn't advertised in the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
91 NEWS. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
92 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
93 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
94 * Lisp Changes in Emacs 21.2 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
95 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
96 ** The meanings of scroll-up-aggressively and scroll-down-aggressively |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
97 have been interchanged, so that the former now controls scrolling up, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
98 and the latter now controls scrolling down. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
99 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
100 ** The variable `compilation-parse-errors-filename-function' can |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
101 be used to transform filenames found in compilation output. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
102 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
103 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
104 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
105 * Installation Changes in Emacs 21.1 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
106 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
107 See the INSTALL file for information on installing extra libraries and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
108 fonts to take advantage of the new graphical features and extra |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
109 charsets in this release. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
110 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
111 ** Support for GNU/Linux on IA64 machines has been added. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
112 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
113 ** Support for LynxOS has been added. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
114 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
115 ** There are new configure options associated with the support for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
116 images and toolkit scrollbars. Use the --help option in `configure' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
117 to list them. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
118 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
119 ** You can build a 64-bit Emacs for SPARC/Solaris systems which |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
120 support 64-bit executables and also on Irix 6.5. This increases the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
121 maximum buffer size. See etc/MACHINES for instructions. Changes to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
122 build on other 64-bit systems should be straightforward modulo any |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
123 necessary changes to unexec. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
124 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
125 ** There is a new configure option `--disable-largefile' to omit |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
126 Unix-98-style support for large files if that is available. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
127 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
128 ** There is a new configure option `--without-xim' that instructs |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
129 Emacs to not use X Input Methods (XIM), if these are available. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
130 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
131 ** `movemail' defaults to supporting POP. You can turn this off using |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
132 the --without-pop configure option, should that be necessary. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
133 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
134 ** This version can be built for the Macintosh, but does not implement |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
135 all of the new display features described below. The port currently |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
136 lacks unexec, asynchronous processes, and networking support. See the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
137 "Emacs and the Mac OS" appendix in the Emacs manual, for the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
138 description of aspects specific to the Mac. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
139 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
140 ** Note that the MS-Windows port does not yet implement various of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
141 new display features described below. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
142 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
143 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
144 * Changes in Emacs 21.1 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
145 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
146 ** Emacs has a new redisplay engine. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
147 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
148 The new redisplay handles characters of variable width and height. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
149 Italic text can be used without redisplay problems. Fonts containing |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
150 oversized characters, i.e. characters larger than the logical height |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
151 of a font can be used. Images of various formats can be displayed in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
152 the text. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
153 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
154 ** Emacs has a new face implementation. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
155 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
156 The new faces no longer fundamentally use X font names to specify the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
157 font. Instead, each face has several independent attributes--family, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
158 height, width, weight and slant--that it may or may not specify. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
159 These attributes can be merged from various faces, and then together |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
160 specify a font. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
161 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
162 Faces are supported on terminals that can display color or fonts. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
163 These terminal capabilities are auto-detected. Details can be found |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
164 under Lisp changes, below. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
165 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
166 ** Emacs can display faces on TTY frames. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
167 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
168 Emacs automatically detects terminals that are able to display colors. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
169 Faces with a weight greater than normal are displayed extra-bright, if |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
170 the terminal supports it. Faces with a weight less than normal and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
171 italic faces are displayed dimmed, if the terminal supports it. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
172 Underlined faces are displayed underlined if possible. Other face |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
173 attributes such as `overline', `strike-through', and `box' are ignored |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
174 on terminals. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
175 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
176 The command-line options `-fg COLOR', `-bg COLOR', and `-rv' are now |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
177 supported on character terminals. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
178 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
179 Emacs automatically remaps all X-style color specifications to one of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
180 the colors supported by the terminal. This means you could have the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
181 same color customizations that work both on a windowed display and on |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
182 a TTY or when Emacs is invoked with the -nw option. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
183 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
184 ** New default font is Courier 12pt under X. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
185 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
186 ** Sound support |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
187 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
188 Emacs supports playing sound files on GNU/Linux and FreeBSD (Voxware |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
189 driver and native BSD driver, a.k.a. Luigi's driver). Currently |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
190 supported file formats are RIFF-WAVE (*.wav) and Sun Audio (*.au). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
191 You must configure Emacs with the option `--with-sound=yes' to enable |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
192 sound support. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
193 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
194 ** Emacs now resizes mini-windows if appropriate. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
195 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
196 If a message is longer than one line, or minibuffer contents are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
197 longer than one line, Emacs can resize the minibuffer window unless it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
198 is on a frame of its own. You can control resizing and the maximum |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
199 minibuffer window size by setting the following variables: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
200 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
201 - User option: max-mini-window-height |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
202 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
203 Maximum height for resizing mini-windows. If a float, it specifies a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
204 fraction of the mini-window frame's height. If an integer, it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
205 specifies a number of lines. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
206 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
207 Default is 0.25. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
208 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
209 - User option: resize-mini-windows |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
210 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
211 How to resize mini-windows. If nil, don't resize. If t, always |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
212 resize to fit the size of the text. If `grow-only', let mini-windows |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
213 grow only, until they become empty, at which point they are shrunk |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
214 again. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
215 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
216 Default is `grow-only'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
217 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
218 ** LessTif support. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
219 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
220 Emacs now runs with the LessTif toolkit (see |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
221 <http://www.lesstif.org>). You will need version 0.92.26, or later. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
222 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
223 ** LessTif/Motif file selection dialog. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
224 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
225 When Emacs is configured to use LessTif or Motif, reading a file name |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
226 from a menu will pop up a file selection dialog if `use-dialog-box' is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
227 non-nil. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
228 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
229 ** File selection dialog on MS-Windows is supported. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
230 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
231 When a file is visited by clicking File->Open, the MS-Windows version |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
232 now pops up a standard file selection dialog where you can select a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
233 file to visit. File->Save As also pops up that dialog. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
234 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
235 ** Toolkit scroll bars. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
236 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
237 Emacs now uses toolkit scroll bars if available. When configured for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
238 LessTif/Motif, it will use that toolkit's scroll bar. Otherwise, when |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
239 configured for Lucid and Athena widgets, it will use the Xaw3d scroll |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
240 bar if Xaw3d is available. You can turn off the use of toolkit scroll |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
241 bars by specifying `--with-toolkit-scroll-bars=no' when configuring |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
242 Emacs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
243 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
244 When you encounter problems with the Xaw3d scroll bar, watch out how |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
245 Xaw3d is compiled on your system. If the Makefile generated from |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
246 Xaw3d's Imakefile contains a `-DNARROWPROTO' compiler option, and your |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
247 Emacs system configuration file `s/your-system.h' does not contain a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
248 define for NARROWPROTO, you might consider adding it. Take |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
249 `s/freebsd.h' as an example. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
250 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
251 Alternatively, if you don't have access to the Xaw3d source code, take |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
252 a look at your system's imake configuration file, for example in the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
253 directory `/usr/X11R6/lib/X11/config' (paths are different on |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
254 different systems). You will find files `*.cf' there. If your |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
255 system's cf-file contains a line like `#define NeedWidePrototypes NO', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
256 add a `#define NARROWPROTO' to your Emacs system configuration file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
257 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
258 The reason for this is that one Xaw3d function uses `double' or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
259 `float' function parameters depending on the setting of NARROWPROTO. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
260 This is not a problem when Imakefiles are used because each system's |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
261 imake configuration file contains the necessary information. Since |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
262 Emacs doesn't use imake, this has do be done manually. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
263 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
264 ** Tool bar support. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
265 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
266 Emacs supports a tool bar at the top of a frame under X. For details |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
267 of how to define a tool bar, see the page describing Lisp-level |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
268 changes. Tool-bar global minor mode controls whether or not it is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
269 displayed and is on by default. The appearance of the bar is improved |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
270 if Emacs has been built with XPM image support. Otherwise monochrome |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
271 icons will be used. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
272 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
273 To make the tool bar more useful, we need contributions of extra icons |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
274 for specific modes (with copyright assignments). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
275 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
276 ** Tooltips. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
277 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
278 Tooltips are small X windows displaying a help string at the current |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
279 mouse position. The Lisp package `tooltip' implements them. You can |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
280 turn them off via the user option `tooltip-mode'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
281 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
282 Tooltips also provides support for GUD debugging. If activated, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
283 variable values can be displayed in tooltips by pointing at them with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
284 the mouse in source buffers. You can customize various aspects of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
285 tooltip display in the group `tooltip'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
286 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
287 ** Automatic Hscrolling |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
288 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
289 Horizontal scrolling now happens automatically if |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
290 `automatic-hscrolling' is set (the default). This setting can be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
291 customized. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
292 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
293 If a window is scrolled horizontally with set-window-hscroll, or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
294 scroll-left/scroll-right (C-x <, C-x >), this serves as a lower bound |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
295 for automatic horizontal scrolling. Automatic scrolling will scroll |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
296 the text more to the left if necessary, but won't scroll the text more |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
297 to the right than the column set with set-window-hscroll etc. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
298 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
299 ** When using a windowing terminal, each Emacs window now has a cursor |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
300 of its own. By default, when a window is selected, the cursor is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
301 solid; otherwise, it is hollow. The user-option |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
302 `cursor-in-non-selected-windows' controls how to display the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
303 cursor in non-selected windows. If nil, no cursor is shown, if |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
304 non-nil a hollow box cursor is shown. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
305 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
306 ** Fringes to the left and right of windows are used to display |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
307 truncation marks, continuation marks, overlay arrows and alike. The |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
308 foreground, background, and stipple of these areas can be changed by |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
309 customizing face `fringe'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
310 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
311 ** The mode line under X is now drawn with shadows by default. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
312 You can change its appearance by modifying the face `mode-line'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
313 In particular, setting the `:box' attribute to nil turns off the 3D |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
314 appearance of the mode line. (The 3D appearance makes the mode line |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
315 occupy more space, and thus might cause the first or the last line of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
316 the window to be partially obscured.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
317 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
318 The variable `mode-line-inverse-video', which was used in older |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
319 versions of emacs to make the mode-line stand out, is now deprecated. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
320 However, setting it to nil will cause the `mode-line' face to be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
321 ignored, and mode-lines to be drawn using the default text face. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
322 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
323 ** Mouse-sensitive mode line. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
324 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
325 Different parts of the mode line have been made mouse-sensitive on all |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
326 systems which support the mouse. Moving the mouse to a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
327 mouse-sensitive part in the mode line changes the appearance of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
328 mouse pointer to an arrow, and help about available mouse actions is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
329 displayed either in the echo area, or in the tooltip window if you |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
330 have enabled one. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
331 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
332 Currently, the following actions have been defined: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
333 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
334 - Mouse-1 on the buffer name in the mode line goes to the next buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
335 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
336 - Mouse-3 on the buffer-name goes to the previous buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
337 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
338 - Mouse-2 on the read-only or modified status in the mode line (`%' or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
339 `*') toggles the status. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
340 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
341 - Mouse-3 on the major mode name displays a major mode menu. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
342 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
343 - Mouse-3 on the mode name displays a minor-mode menu. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
344 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
345 ** Hourglass pointer |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
346 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
347 Emacs can optionally display an hourglass pointer under X. You can |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
348 turn the display on or off by customizing group `cursor'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
349 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
350 ** Blinking cursor |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
351 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
352 M-x blink-cursor-mode toggles a blinking cursor under X and on |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
353 terminals having terminal capabilities `vi', `vs', and `ve'. Blinking |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
354 and related parameters like frequency and delay can be customized in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
355 the group `cursor'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
356 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
357 ** New font-lock support mode `jit-lock-mode'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
358 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
359 This support mode is roughly equivalent to `lazy-lock' but is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
360 generally faster. It supports stealth and deferred fontification. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
361 See the documentation of the function `jit-lock-mode' for more |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
362 details. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
363 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
364 Font-lock uses jit-lock-mode as default support mode, so you don't |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
365 have to do anything to activate it. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
366 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
367 ** The default binding of the Delete key has changed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
368 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
369 The new user-option `normal-erase-is-backspace' can be set to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
370 determine the effect of the Delete and Backspace function keys. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
371 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
372 On window systems, the default value of this option is chosen |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
373 according to the keyboard used. If the keyboard has both a Backspace |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
374 key and a Delete key, and both are mapped to their usual meanings, the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
375 option's default value is set to t, so that Backspace can be used to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
376 delete backward, and Delete can be used to delete forward. On |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
377 keyboards which either have only one key (usually labeled DEL), or two |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
378 keys DEL and BS which produce the same effect, the option's value is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
379 set to nil, and these keys delete backward. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
380 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
381 If not running under a window system, setting this option accomplishes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
382 a similar effect by mapping C-h, which is usually generated by the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
383 Backspace key, to DEL, and by mapping DEL to C-d via |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
384 `keyboard-translate'. The former functionality of C-h is available on |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
385 the F1 key. You should probably not use this setting on a text-only |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
386 terminal if you don't have both Backspace, Delete and F1 keys. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
387 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
388 Programmatically, you can call function normal-erase-is-backspace-mode |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
389 to toggle the behavior of the Delete and Backspace keys. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
390 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
391 ** The default for user-option `next-line-add-newlines' has been |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
392 changed to nil, i.e. C-n will no longer add newlines at the end of a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
393 buffer by default. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
394 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
395 ** The <home> and <end> keys now move to the beginning or end of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
396 current line, respectively. C-<home> and C-<end> move to the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
397 beginning and end of the buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
398 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
399 ** Emacs now checks for recursive loads of Lisp files. If the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
400 recursion depth exceeds `recursive-load-depth-limit', an error is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
401 signaled. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
402 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
403 ** When an error is signaled during the loading of the user's init |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
404 file, Emacs now pops up the *Messages* buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
405 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
406 ** Emacs now refuses to load compiled Lisp files which weren't |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
407 compiled with Emacs. Set `load-dangerous-libraries' to t to change |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
408 this behavior. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
409 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
410 The reason for this change is an incompatible change in XEmacs's byte |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
411 compiler. Files compiled with XEmacs can contain byte codes that let |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
412 Emacs dump core. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
413 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
414 ** Toggle buttons and radio buttons in menus. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
415 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
416 When compiled with LessTif (or Motif) support, Emacs uses toolkit |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
417 widgets for radio and toggle buttons in menus. When configured for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
418 Lucid, Emacs draws radio buttons and toggle buttons similar to Motif. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
419 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
420 ** The menu bar configuration has changed. The new configuration is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
421 more CUA-compliant. The most significant change is that Options is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
422 now a separate menu-bar item, with Mule and Customize as its submenus. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
423 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
424 ** Item Save Options on the Options menu allows saving options set |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
425 using that menu. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
426 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
427 ** Highlighting of trailing whitespace. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
428 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
429 When `show-trailing-whitespace' is non-nil, Emacs displays trailing |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
430 whitespace in the face `trailing-whitespace'. Trailing whitespace is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
431 defined as spaces or tabs at the end of a line. To avoid busy |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
432 highlighting when entering new text, trailing whitespace is not |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
433 displayed if point is at the end of the line containing the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
434 whitespace. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
435 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
436 ** C-x 5 1 runs the new command delete-other-frames which deletes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
437 all frames except the selected one. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
438 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
439 ** The new user-option `confirm-kill-emacs' can be customized to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
440 let Emacs ask for confirmation before exiting. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
441 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
442 ** The header line in an Info buffer is now displayed as an emacs |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
443 header-line (which is like a mode-line, but at the top of the window), |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
444 so that it remains visible even when the buffer has been scrolled. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
445 This behavior may be disabled by customizing the option |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
446 `Info-use-header-line'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
447 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
448 ** Polish, Czech, German, and French translations of Emacs' reference card |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
449 have been added. They are named `pl-refcard.tex', `cs-refcard.tex', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
450 `de-refcard.tex' and `fr-refcard.tex'. Postscript files are included. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
451 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
452 ** An `Emacs Survival Guide', etc/survival.tex, is available. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
453 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
454 ** A reference card for Dired has been added. Its name is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
455 `dired-ref.tex'. A French translation is available in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
456 `fr-drdref.tex'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
457 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
458 ** C-down-mouse-3 is bound differently. Now if the menu bar is not |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
459 displayed it pops up a menu containing the items which would be on the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
460 menu bar. If the menu bar is displayed, it pops up the major mode |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
461 menu or the Edit menu if there is no major mode menu. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
462 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
463 ** Variable `load-path' is no longer customizable through Customize. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
464 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
465 You can no longer use `M-x customize-variable' to customize `load-path' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
466 because it now contains a version-dependent component. You can still |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
467 use `add-to-list' and `setq' to customize this variable in your |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
468 `~/.emacs' init file or to modify it from any Lisp program in general. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
469 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
470 ** C-u C-x = provides detailed information about the character at |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
471 point in a pop-up window. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
472 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
473 ** Emacs can now support 'wheeled' mice (such as the MS IntelliMouse) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
474 under XFree86. To enable this, use the `mouse-wheel-mode' command, or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
475 customize the variable `mouse-wheel-mode'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
476 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
477 The variables `mouse-wheel-follow-mouse' and `mouse-wheel-scroll-amount' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
478 determine where and by how much buffers are scrolled. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
479 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
480 ** Emacs' auto-save list files are now by default stored in a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
481 sub-directory `.emacs.d/auto-save-list/' of the user's home directory. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
482 (On MS-DOS, this subdirectory's name is `_emacs.d/auto-save.list/'.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
483 You can customize `auto-save-list-file-prefix' to change this location. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
484 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
485 ** The function `getenv' is now callable interactively. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
486 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
487 ** The new user-option `even-window-heights' can be set to nil |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
488 to prevent `display-buffer' from evening out window heights. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
489 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
490 ** The new command M-x delete-trailing-whitespace RET will delete the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
491 trailing whitespace within the current restriction. You can also add |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
492 this function to `write-file-hooks' or `local-write-file-hooks'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
493 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
494 ** When visiting a file with M-x find-file-literally, no newlines will |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
495 be added to the end of the buffer even if `require-final-newline' is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
496 non-nil. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
497 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
498 ** The new user-option `find-file-suppress-same-file-warnings' can be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
499 set to suppress warnings ``X and Y are the same file'' when visiting a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
500 file that is already visited under a different name. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
501 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
502 ** The new user-option `electric-help-shrink-window' can be set to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
503 nil to prevent adjusting the help window size to the buffer size. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
504 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
505 ** New command M-x describe-character-set reads a character set name |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
506 and displays information about that. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
507 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
508 ** The new variable `auto-mode-interpreter-regexp' contains a regular |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
509 expression matching interpreters, for file mode determination. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
510 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
511 This regular expression is matched against the first line of a file to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
512 determine the file's mode in `set-auto-mode' when Emacs can't deduce a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
513 mode from the file's name. If it matches, the file is assumed to be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
514 interpreted by the interpreter matched by the second group of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
515 regular expression. The mode is then determined as the mode |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
516 associated with that interpreter in `interpreter-mode-alist'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
517 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
518 ** New function executable-make-buffer-file-executable-if-script-p is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
519 suitable as an after-save-hook as an alternative to `executable-chmod'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
520 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
521 ** The most preferred coding-system is now used to save a buffer if |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
522 buffer-file-coding-system is `undecided' and it is safe for the buffer |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
523 contents. (The most preferred is set by set-language-environment or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
524 by M-x prefer-coding-system.) Thus if you visit an ASCII file and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
525 insert a non-ASCII character from your current language environment, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
526 the file will be saved silently with the appropriate coding. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
527 Previously you would be prompted for a safe coding system. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
528 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
529 ** The many obsolete language `setup-...-environment' commands have |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
530 been removed -- use `set-language-environment'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
531 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
532 ** The new Custom option `keyboard-coding-system' specifies a coding |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
533 system for keyboard input. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
534 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
535 ** New variable `inhibit-iso-escape-detection' determines if Emacs' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
536 coding system detection algorithm should pay attention to ISO2022's |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
537 escape sequences. If this variable is non-nil, the algorithm ignores |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
538 such escape sequences. The default value is nil, and it is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
539 recommended not to change it except for the special case that you |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
540 always want to read any escape code verbatim. If you just want to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
541 read a specific file without decoding escape codes, use C-x RET c |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
542 (`universal-coding-system-argument'). For instance, C-x RET c latin-1 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
543 RET C-x C-f filename RET. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
544 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
545 ** Variable `default-korean-keyboard' is initialized properly from the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
546 environment variable `HANGUL_KEYBOARD_TYPE'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
547 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
548 ** New command M-x list-charset-chars reads a character set name and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
549 displays all characters in that character set. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
550 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
551 ** M-x set-terminal-coding-system (C-x RET t) now allows CCL-based |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
552 coding systems such as cpXXX and cyrillic-koi8. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
553 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
554 ** Emacs now attempts to determine the initial language environment |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
555 and preferred and locale coding systems systematically from the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
556 LC_ALL, LC_CTYPE, and LANG environment variables during startup. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
557 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
558 ** New language environments `Polish', `Latin-8' and `Latin-9'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
559 Latin-8 and Latin-9 correspond respectively to the ISO character sets |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
560 8859-14 (Celtic) and 8859-15 (updated Latin-1, with the Euro sign). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
561 GNU Intlfonts doesn't support these yet but recent X releases have |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
562 8859-15. See etc/INSTALL for information on obtaining extra fonts. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
563 There are new Leim input methods for Latin-8 and Latin-9 prefix (only) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
564 and Polish `slash'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
565 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
566 ** New language environments `Dutch' and `Spanish'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
567 These new environments mainly select appropriate translations |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
568 of the tutorial. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
569 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
570 ** In Ethiopic language environment, special key bindings for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
571 function keys are changed as follows. This is to conform to "Emacs |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
572 Lisp Coding Convention". |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
573 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
574 new command old-binding |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
575 --- ------- ----------- |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
576 f3 ethio-fidel-to-sera-buffer f5 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
577 S-f3 ethio-fidel-to-sera-region f5 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
578 C-f3 ethio-fidel-to-sera-mail-or-marker f5 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
579 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
580 f4 ethio-sera-to-fidel-buffer unchanged |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
581 S-f4 ethio-sera-to-fidel-region unchanged |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
582 C-f4 ethio-sera-to-fidel-mail-or-marker unchanged |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
583 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
584 S-f5 ethio-toggle-punctuation f3 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
585 S-f6 ethio-modify-vowel f6 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
586 S-f7 ethio-replace-space f7 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
587 S-f8 ethio-input-special-character f8 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
588 S-f9 ethio-replace-space unchanged |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
589 C-f9 ethio-toggle-space f2 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
590 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
591 ** There are new Leim input methods. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
592 New input methods "turkish-postfix", "turkish-alt-postfix", |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
593 "greek-mizuochi", "TeX", and "greek-babel" are now part of the Leim |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
594 package. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
595 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
596 ** The rule of input method "slovak" is slightly changed. Now the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
597 rules for translating "q" and "Q" to "`" (backquote) are deleted, thus |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
598 typing them inserts "q" and "Q" respectively. Rules for translating |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
599 "=q", "+q", "=Q", and "+Q" to "`" are also deleted. Now, to input |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
600 "`", you must type "=q". |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
601 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
602 ** When your terminal can't display characters from some of the ISO |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
603 8859 character sets but can display Latin-1, you can display |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
604 more-or-less mnemonic sequences of ASCII/Latin-1 characters instead of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
605 empty boxes (under a window system) or question marks (not under a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
606 window system). Customize the option `latin1-display' to turn this |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
607 on. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
608 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
609 ** M-; now calls comment-dwim which tries to do something clever based |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
610 on the context. M-x kill-comment is now an alias to comment-kill, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
611 defined in newcomment.el. You can choose different styles of region |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
612 commenting with the variable `comment-style'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
613 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
614 ** New user options `display-time-mail-face' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
615 `display-time-use-mail-icon' control the appearance of mode-line mail |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
616 indicator used by the display-time package. On a suitable display the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
617 indicator can be an icon and is mouse-sensitive. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
618 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
619 ** On window-systems, additional space can be put between text lines |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
620 on the display using several methods |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
621 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
622 - By setting frame parameter `line-spacing' to PIXELS. PIXELS must be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
623 a positive integer, and specifies that PIXELS number of pixels should |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
624 be put below text lines on the affected frame or frames. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
625 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
626 - By setting X resource `lineSpacing', class `LineSpacing'. This is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
627 equivalent to specifying the frame parameter. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
628 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
629 - By specifying `--line-spacing=N' or `-lsp N' on the command line. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
630 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
631 - By setting buffer-local variable `line-spacing'. The meaning is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
632 the same, but applies to the a particular buffer only. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
633 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
634 ** The new command `clone-indirect-buffer' can be used to create |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
635 an indirect buffer that is a twin copy of the current buffer. The |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
636 command `clone-indirect-buffer-other-window', bound to C-x 4 c, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
637 does the same but displays the indirect buffer in another window. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
638 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
639 ** New user options `backup-directory-alist' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
640 `make-backup-file-name-function' control the placement of backups, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
641 typically in a single directory or in an invisible sub-directory. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
642 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
643 ** New commands iso-iso2sgml and iso-sgml2iso convert between Latin-1 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
644 characters and the corresponding SGML (HTML) entities. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
645 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
646 ** New X resources recognized |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
647 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
648 *** The X resource `synchronous', class `Synchronous', specifies |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
649 whether Emacs should run in synchronous mode. Synchronous mode |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
650 is useful for debugging X problems. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
651 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
652 Example: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
653 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
654 emacs.synchronous: true |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
655 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
656 *** The X resource `visualClass, class `VisualClass', specifies the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
657 visual Emacs should use. The resource's value should be a string of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
658 the form `CLASS-DEPTH', where CLASS is the name of the visual class, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
659 and DEPTH is the requested color depth as a decimal number. Valid |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
660 visual class names are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
661 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
662 TrueColor |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
663 PseudoColor |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
664 DirectColor |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
665 StaticColor |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
666 GrayScale |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
667 StaticGray |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
668 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
669 Visual class names specified as X resource are case-insensitive, i.e. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
670 `pseudocolor', `Pseudocolor' and `PseudoColor' all have the same |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
671 meaning. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
672 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
673 The program `xdpyinfo' can be used to list the visual classes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
674 supported on your display, and which depths they have. If |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
675 `visualClass' is not specified, Emacs uses the display's default |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
676 visual. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
677 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
678 Example: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
679 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
680 emacs.visualClass: TrueColor-8 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
681 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
682 *** The X resource `privateColormap', class `PrivateColormap', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
683 specifies that Emacs should use a private colormap if it is using the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
684 default visual, and that visual is of class PseudoColor. Recognized |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
685 resource values are `true' or `on'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
686 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
687 Example: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
688 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
689 emacs.privateColormap: true |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
690 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
691 ** Faces and frame parameters. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
692 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
693 There are four new faces `scroll-bar', `border', `cursor' and `mouse'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
694 Setting the frame parameters `scroll-bar-foreground' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
695 `scroll-bar-background' sets foreground and background color of face |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
696 `scroll-bar' and vice versa. Setting frame parameter `border-color' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
697 sets the background color of face `border' and vice versa. Likewise |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
698 for frame parameters `cursor-color' and face `cursor', and frame |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
699 parameter `mouse-color' and face `mouse'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
700 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
701 Changing frame parameter `font' sets font-related attributes of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
702 `default' face and vice versa. Setting frame parameters |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
703 `foreground-color' or `background-color' sets the colors of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
704 `default' face and vice versa. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
705 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
706 ** New face `menu'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
707 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
708 The face `menu' can be used to change colors and font of Emacs' menus. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
709 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
710 ** New frame parameter `screen-gamma' for gamma correction. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
711 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
712 The new frame parameter `screen-gamma' specifies gamma-correction for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
713 colors. Its value may be nil, the default, in which case no gamma |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
714 correction occurs, or a number > 0, usually a float, that specifies |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
715 the screen gamma of a frame's display. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
716 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
717 PC monitors usually have a screen gamma of 2.2. smaller values result |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
718 in darker colors. You might want to try a screen gamma of 1.5 for LCD |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
719 color displays. The viewing gamma Emacs uses is 0.4545. (1/2.2). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
720 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
721 The X resource name of this parameter is `screenGamma', class |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
722 `ScreenGamma'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
723 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
724 ** Tabs and variable-width text. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
725 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
726 Tabs are now displayed with stretch properties; the width of a tab is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
727 defined as a multiple of the normal character width of a frame, and is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
728 independent of the fonts used in the text where the tab appears. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
729 Thus, tabs can be used to line up text in different fonts. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
730 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
731 ** Enhancements of the Lucid menu bar |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
732 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
733 *** The Lucid menu bar now supports the resource "margin". |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
734 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
735 emacs.pane.menubar.margin: 5 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
736 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
737 The default margin is 4 which makes the menu bar appear like the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
738 LessTif/Motif one. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
739 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
740 *** Arrows that indicate sub-menus are now drawn with shadows, as in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
741 LessTif and Motif. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
742 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
743 ** A block cursor can be drawn as wide as the glyph under it under X. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
744 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
745 As an example: if a block cursor is over a tab character, it will be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
746 drawn as wide as that tab on the display. To do this, set |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
747 `x-stretch-cursor' to a non-nil value. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
748 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
749 ** Empty display lines at the end of a buffer may be marked with a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
750 bitmap (this is similar to the tilde displayed by vi and Less). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
751 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
752 This behavior is activated by setting the buffer-local variable |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
753 `indicate-empty-lines' to a non-nil value. The default value of this |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
754 variable is found in `default-indicate-empty-lines'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
755 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
756 ** There is a new "aggressive" scrolling method. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
757 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
758 When scrolling up because point is above the window start, if the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
759 value of the buffer-local variable `scroll-up-aggressively' is a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
760 number, Emacs chooses a new window start so that point ends up that |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
761 fraction of the window's height from the top of the window. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
762 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
763 When scrolling down because point is below the window end, if the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
764 value of the buffer-local variable `scroll-down-aggressively' is a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
765 number, Emacs chooses a new window start so that point ends up that |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
766 fraction of the window's height from the bottom of the window. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
767 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
768 ** You can now easily create new *Info* buffers using either |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
769 M-x clone-buffer, C-u m <entry> RET or C-u g <entry> RET. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
770 M-x clone-buffer can also be used on *Help* and several other special |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
771 buffers. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
772 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
773 ** The command `Info-search' now uses a search history. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
774 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
775 ** Listing buffers with M-x list-buffers (C-x C-b) now shows |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
776 abbreviated file names. Abbreviations can be customized by changing |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
777 `directory-abbrev-alist'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
778 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
779 ** A new variable, backup-by-copying-when-privileged-mismatch, gives |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
780 the highest file uid for which backup-by-copying-when-mismatch will be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
781 forced on. The assumption is that uids less than or equal to this |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
782 value are special uids (root, bin, daemon, etc.--not real system |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
783 users) and that files owned by these users should not change ownership, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
784 even if your system policy allows users other than root to edit them. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
785 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
786 The default is 200; set the variable to nil to disable the feature. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
787 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
788 ** The rectangle commands now avoid inserting undesirable spaces, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
789 notably at the end of lines. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
790 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
791 All these functions have been rewritten to avoid inserting unwanted |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
792 spaces, and an optional prefix now allows them to behave the old way. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
793 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
794 ** The function `replace-rectangle' is an alias for `string-rectangle'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
795 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
796 ** The new command M-x string-insert-rectangle is like `string-rectangle', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
797 but inserts text instead of replacing it. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
798 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
799 ** The new command M-x query-replace-regexp-eval acts like |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
800 query-replace-regexp, but takes a Lisp expression which is evaluated |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
801 after each match to get the replacement text. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
802 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
803 ** M-x query-replace recognizes a new command `e' (or `E') that lets |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
804 you edit the replacement string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
805 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
806 ** The new command mail-abbrev-complete-alias, bound to `M-TAB' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
807 (if you load the library `mailabbrev'), lets you complete mail aliases |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
808 in the text, analogous to lisp-complete-symbol. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
809 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
810 ** The variable `echo-keystrokes' may now have a floating point value. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
811 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
812 ** If your init file is compiled (.emacs.elc), `user-init-file' is set |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
813 to the source name (.emacs.el), if that exists, after loading it. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
814 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
815 ** The help string specified for a menu-item whose definition contains |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
816 the property `:help HELP' is now displayed under X, on MS-Windows, and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
817 MS-DOS, either in the echo area or with tooltips. Many standard menus |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
818 displayed by Emacs now have help strings. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
819 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
820 -- |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
821 ** New user option `read-mail-command' specifies a command to use to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
822 read mail from the menu etc. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
823 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
824 ** The environment variable `EMACSLOCKDIR' is no longer used on MS-Windows. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
825 This environment variable was used when creating lock files. Emacs on |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
826 MS-Windows does not use this variable anymore. This change was made |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
827 before Emacs 21.1, but wasn't documented until now. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
828 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
829 ** Highlighting of mouse-sensitive regions is now supported in the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
830 MS-DOS version of Emacs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
831 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
832 ** The new command `msdos-set-mouse-buttons' forces the MS-DOS version |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
833 of Emacs to behave as if the mouse had a specified number of buttons. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
834 This comes handy with mice that don't report their number of buttons |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
835 correctly. One example is the wheeled mice, which report 3 buttons, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
836 but clicks on the middle button are not passed to the MS-DOS version |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
837 of Emacs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
838 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
839 ** Customize changes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
840 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
841 *** Customize now supports comments about customized items. Use the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
842 `State' menu to add comments, or give a prefix argument to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
843 M-x customize-set-variable or M-x customize-set-value. Note that |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
844 customization comments will cause the customizations to fail in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
845 earlier versions of Emacs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
846 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
847 *** The new option `custom-buffer-done-function' says whether to kill |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
848 Custom buffers when you've done with them or just bury them (the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
849 default). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
850 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
851 *** If Emacs was invoked with the `-q' or `--no-init-file' options, it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
852 does not allow you to save customizations in your `~/.emacs' init |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
853 file. This is because saving customizations from such a session would |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
854 wipe out all the other customizationss you might have on your init |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
855 file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
856 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
857 ** If Emacs was invoked with the `-q' or `--no-init-file' options, it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
858 does not save disabled and enabled commands for future sessions, to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
859 avoid overwriting existing customizations of this kind that are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
860 already in your init file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
861 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
862 ** New features in evaluation commands |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
863 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
864 *** The commands to evaluate Lisp expressions, such as C-M-x in Lisp |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
865 modes, C-j in Lisp Interaction mode, and M-:, now bind the variables |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
866 print-level, print-length, and debug-on-error based on the new |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
867 customizable variables eval-expression-print-level, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
868 eval-expression-print-length, and eval-expression-debug-on-error. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
869 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
870 The default values for the first two of these variables are 12 and 4 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
871 respectively, which means that `eval-expression' now prints at most |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
872 the first 12 members of a list and at most 4 nesting levels deep (if |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
873 the list is longer or deeper than that, an ellipsis `...' is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
874 printed). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
875 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
876 <RET> or <mouse-2> on the printed text toggles between an abbreviated |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
877 printed representation and an unabbreviated one. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
878 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
879 The default value of eval-expression-debug-on-error is t, so any error |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
880 during evaluation produces a backtrace. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
881 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
882 *** The function `eval-defun' (C-M-x) now loads Edebug and instruments |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
883 code when called with a prefix argument. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
884 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
885 ** CC mode changes. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
886 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
887 Note: This release contains changes that might not be compatible with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
888 current user setups (although it's believed that these |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
889 incompatibilities will only show in very uncommon circumstances). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
890 However, since the impact is uncertain, these changes may be rolled |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
891 back depending on user feedback. Therefore there's no forward |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
892 compatibility guarantee wrt the new features introduced in this |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
893 release. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
894 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
895 *** The hardcoded switch to "java" style in Java mode is gone. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
896 CC Mode used to automatically set the style to "java" when Java mode |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
897 is entered. This has now been removed since it caused too much |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
898 confusion. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
899 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
900 However, to keep backward compatibility to a certain extent, the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
901 default value for c-default-style now specifies the "java" style for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
902 java-mode, but "gnu" for all other modes (as before). So you won't |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
903 notice the change if you haven't touched that variable. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
904 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
905 *** New cleanups, space-before-funcall and compact-empty-funcall. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
906 Two new cleanups have been added to c-cleanup-list: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
907 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
908 space-before-funcall causes a space to be inserted before the opening |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
909 parenthesis of a function call, which gives the style "foo (bar)". |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
910 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
911 compact-empty-funcall causes any space before a function call opening |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
912 parenthesis to be removed if there are no arguments to the function. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
913 It's typically useful together with space-before-funcall to get the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
914 style "foo (bar)" and "foo()". |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
915 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
916 *** Some keywords now automatically trigger reindentation. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
917 Keywords like "else", "while", "catch" and "finally" have been made |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
918 "electric" to make them reindent automatically when they continue an |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
919 earlier statement. An example: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
920 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
921 for (i = 0; i < 17; i++) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
922 if (a[i]) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
923 res += a[i]->offset; |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
924 else |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
925 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
926 Here, the "else" should be indented like the preceding "if", since it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
927 continues that statement. CC Mode will automatically reindent it after |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
928 the "else" has been typed in full, since it's not until then it's |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
929 possible to decide whether it's a new statement or a continuation of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
930 the preceding "if". |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
931 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
932 CC Mode uses Abbrev mode to achieve this, which is therefore turned on |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
933 by default. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
934 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
935 *** M-a and M-e now moves by sentence in multiline strings. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
936 Previously these two keys only moved by sentence in comments, which |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
937 meant that sentence movement didn't work in strings containing |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
938 documentation or other natural language text. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
939 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
940 The reason it's only activated in multiline strings (i.e. strings that |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
941 contain a newline, even when escaped by a '\') is to avoid stopping in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
942 the short strings that often reside inside statements. Multiline |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
943 strings almost always contain text in a natural language, as opposed |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
944 to other strings that typically contain format specifications, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
945 commands, etc. Also, it's not that bothersome that M-a and M-e misses |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
946 sentences in single line strings, since they're short anyway. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
947 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
948 *** Support for autodoc comments in Pike mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
949 Autodoc comments for Pike are used to extract documentation from the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
950 source, like Javadoc in Java. Pike mode now recognize this markup in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
951 comment prefixes and paragraph starts. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
952 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
953 *** The comment prefix regexps on c-comment-prefix may be mode specific. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
954 When c-comment-prefix is an association list, it specifies the comment |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
955 line prefix on a per-mode basis, like c-default-style does. This |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
956 change came about to support the special autodoc comment prefix in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
957 Pike mode only. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
958 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
959 *** Better handling of syntactic errors. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
960 The recovery after unbalanced parens earlier in the buffer has been |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
961 improved; CC Mode now reports them by dinging and giving a message |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
962 stating the offending line, but still recovers and indent the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
963 following lines in a sane way (most of the time). An "else" with no |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
964 matching "if" is handled similarly. If an error is discovered while |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
965 indenting a region, the whole region is still indented and the error |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
966 is reported afterwards. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
967 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
968 *** Lineup functions may now return absolute columns. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
969 A lineup function can give an absolute column to indent the line to by |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
970 returning a vector with the desired column as the first element. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
971 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
972 *** More robust and warning-free byte compilation. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
973 Although this is strictly not a user visible change (well, depending |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
974 on the view of a user), it's still worth mentioning that CC Mode now |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
975 can be compiled in the standard ways without causing trouble. Some |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
976 code have also been moved between the subpackages to enhance the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
977 modularity somewhat. Thanks to Martin Buchholz for doing the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
978 groundwork. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
979 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
980 *** c-style-variables-are-local-p now defaults to t. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
981 This is an incompatible change that has been made to make the behavior |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
982 of the style system wrt global variable settings less confusing for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
983 non-advanced users. If you know what this variable does you might |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
984 want to set it to nil in your .emacs, otherwise you probably don't |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
985 have to bother. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
986 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
987 Defaulting c-style-variables-are-local-p to t avoids the confusing |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
988 situation that occurs when a user sets some style variables globally |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
989 and edits both a Java and a non-Java file in the same Emacs session. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
990 If the style variables aren't buffer local in this case, loading of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
991 the second file will cause the default style (either "gnu" or "java" |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
992 by default) to override the global settings made by the user. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
993 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
994 *** New initialization procedure for the style system. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
995 When the initial style for a buffer is determined by CC Mode (from the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
996 variable c-default-style), the global values of style variables now |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
997 take precedence over the values specified by the chosen style. This |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
998 is different than the old behavior: previously, the style-specific |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
999 settings would override the global settings. This change makes it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1000 possible to do simple configuration in the intuitive way with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1001 Customize or with setq lines in one's .emacs file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1002 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1003 By default, the global value of every style variable is the new |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1004 special symbol set-from-style, which causes the value to be taken from |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1005 the style system. This means that in effect, only an explicit setting |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1006 of a style variable will cause the "overriding" behavior described |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1007 above. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1008 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1009 Also note that global settings override style-specific settings *only* |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1010 when the initial style of a buffer is chosen by a CC Mode major mode |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1011 function. When a style is chosen in other ways --- for example, by a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1012 call like (c-set-style "gnu") in a hook, or via M-x c-set-style --- |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1013 then the style-specific values take precedence over any global style |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1014 values. In Lisp terms, global values override style-specific values |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1015 only when the new second argument to c-set-style is non-nil; see the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1016 function documentation for more info. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1017 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1018 The purpose of these changes is to make it easier for users, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1019 especially novice users, to do simple customizations with Customize or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1020 with setq in their .emacs files. On the other hand, the new system is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1021 intended to be compatible with advanced users' customizations as well, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1022 such as those that choose styles in hooks or whatnot. This new system |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1023 is believed to be almost entirely compatible with current |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1024 configurations, in spite of the changed precedence between style and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1025 global variable settings when a buffer's default style is set. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1026 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1027 (Thanks to Eric Eide for clarifying this explanation a bit.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1028 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1029 **** c-offsets-alist is now a customizable variable. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1030 This became possible as a result of the new initialization behavior. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1031 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1032 This variable is treated slightly differently from the other style |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1033 variables; instead of using the symbol set-from-style, it will be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1034 completed with the syntactic symbols it doesn't already contain when |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1035 the style is first initialized. This means it now defaults to the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1036 empty list to make all syntactic elements get their values from the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1037 style system. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1038 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1039 **** Compatibility variable to restore the old behavior. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1040 In case your configuration doesn't work with this change, you can set |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1041 c-old-style-variable-behavior to non-nil to get the old behavior back |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1042 as far as possible. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1043 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1044 *** Improvements to line breaking and text filling. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1045 CC Mode now handles this more intelligently and seamlessly wrt the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1046 surrounding code, especially inside comments. For details see the new |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1047 chapter about this in the manual. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1048 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1049 **** New variable to recognize comment line prefix decorations. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1050 The variable c-comment-prefix-regexp has been added to properly |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1051 recognize the line prefix in both block and line comments. It's |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1052 primarily used to initialize the various paragraph recognition and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1053 adaptive filling variables that the text handling functions uses. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1054 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1055 **** New variable c-block-comment-prefix. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1056 This is a generalization of the now obsolete variable |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1057 c-comment-continuation-stars to handle arbitrary strings. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1058 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1059 **** CC Mode now uses adaptive fill mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1060 This to make it adapt better to the paragraph style inside comments. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1061 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1062 It's also possible to use other adaptive filling packages inside CC |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1063 Mode, notably Kyle E. Jones' Filladapt mode (http://wonderworks.com/). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1064 A new convenience function c-setup-filladapt sets up Filladapt for use |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1065 inside CC Mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1066 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1067 Note though that the 2.12 version of Filladapt lacks a feature that |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1068 causes it to work suboptimally when c-comment-prefix-regexp can match |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1069 the empty string (which it commonly does). A patch for that is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1070 available from the CC Mode web site (http://www.python.org/emacs/ |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1071 cc-mode/). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1072 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1073 **** The variables `c-hanging-comment-starter-p' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1074 `c-hanging-comment-ender-p', which controlled how comment starters and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1075 enders were filled, are not used anymore. The new version of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1076 function `c-fill-paragraph' keeps the comment starters and enders as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1077 they were before the filling. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1078 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1079 **** It's now possible to selectively turn off auto filling. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1080 The variable c-ignore-auto-fill is used to ignore auto fill mode in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1081 specific contexts, e.g. in preprocessor directives and in string |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1082 literals. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1083 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1084 **** New context sensitive line break function c-context-line-break. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1085 It works like newline-and-indent in normal code, and adapts the line |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1086 prefix according to the comment style when used inside comments. If |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1087 you're normally using newline-and-indent, you might want to switch to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1088 this function. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1089 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1090 *** Fixes to IDL mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1091 It now does a better job in recognizing only the constructs relevant |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1092 to IDL. E.g. it no longer matches "class" as the beginning of a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1093 struct block, but it does match the CORBA 2.3 "valuetype" keyword. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1094 Thanks to Eric Eide. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1095 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1096 *** Improvements to the Whitesmith style. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1097 It now keeps the style consistently on all levels and both when |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1098 opening braces hangs and when they don't. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1099 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1100 **** New lineup function c-lineup-whitesmith-in-block. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1101 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1102 *** New lineup functions c-lineup-template-args and c-indent-multi-line-block. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1103 See their docstrings for details. c-lineup-template-args does a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1104 better job of tracking the brackets used as parens in C++ templates, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1105 and is used by default to line up continued template arguments. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1106 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1107 *** c-lineup-comment now preserves alignment with a comment on the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1108 previous line. It used to instead preserve comments that started in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1109 the column specified by comment-column. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1110 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1111 *** c-lineup-C-comments handles "free form" text comments. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1112 In comments with a long delimiter line at the start, the indentation |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1113 is kept unchanged for lines that start with an empty comment line |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1114 prefix. This is intended for the type of large block comments that |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1115 contain documentation with its own formatting. In these you normally |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1116 don't want CC Mode to change the indentation. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1117 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1118 *** The `c' syntactic symbol is now relative to the comment start |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1119 instead of the previous line, to make integers usable as lineup |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1120 arguments. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1121 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1122 *** All lineup functions have gotten docstrings. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1123 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1124 *** More preprocessor directive movement functions. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1125 c-down-conditional does the reverse of c-up-conditional. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1126 c-up-conditional-with-else and c-down-conditional-with-else are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1127 variants of these that also stops at "#else" lines (suggested by Don |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1128 Provan). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1129 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1130 *** Minor improvements to many movement functions in tricky situations. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1131 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1132 ** Dired changes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1133 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1134 *** New variable `dired-recursive-deletes' determines if the delete |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1135 command will delete non-empty directories recursively. The default |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1136 is, delete only empty directories. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1137 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1138 *** New variable `dired-recursive-copies' determines if the copy |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1139 command will copy directories recursively. The default is, do not |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1140 copy directories recursively. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1141 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1142 *** In command `dired-do-shell-command' (usually bound to `!') a `?' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1143 in the shell command has a special meaning similar to `*', but with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1144 the difference that the command will be run on each file individually. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1145 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1146 *** The new command `dired-find-alternate-file' (usually bound to `a') |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1147 replaces the Dired buffer with the buffer for an alternate file or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1148 directory. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1149 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1150 *** The new command `dired-show-file-type' (usually bound to `y') shows |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1151 a message in the echo area describing what type of file the point is on. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1152 This command invokes the external program `file' do its work, and so |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1153 will only work on systems with that program, and will be only as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1154 accurate or inaccurate as it is. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1155 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1156 *** Dired now properly handles undo changes of adding/removing `-R' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1157 from ls switches. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1158 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1159 *** Dired commands that prompt for a destination file now allow the use |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1160 of the `M-n' command in the minibuffer to insert the source filename, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1161 which the user can then edit. This only works if there is a single |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1162 source file, not when operating on multiple marked files. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1163 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1164 ** Gnus changes. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1165 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1166 The Gnus NEWS entries are short, but they reflect sweeping changes in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1167 four areas: Article display treatment, MIME treatment, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1168 internationalization and mail-fetching. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1169 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1170 *** The mail-fetching functions have changed. See the manual for the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1171 many details. In particular, all procmail fetching variables are gone. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1172 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1173 If you used procmail like in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1174 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1175 (setq nnmail-use-procmail t) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1176 (setq nnmail-spool-file 'procmail) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1177 (setq nnmail-procmail-directory "~/mail/incoming/") |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1178 (setq nnmail-procmail-suffix "\\.in") |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1179 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1180 this now has changed to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1181 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1182 (setq mail-sources |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1183 '((directory :path "~/mail/incoming/" |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1184 :suffix ".in"))) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1185 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1186 More information is available in the info doc at Select Methods -> |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1187 Getting Mail -> Mail Sources |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1188 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1189 *** Gnus is now a MIME-capable reader. This affects many parts of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1190 Gnus, and adds a slew of new commands. See the manual for details. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1191 Separate MIME packages like RMIME, mime-compose etc., will probably no |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1192 longer work; remove them and use the native facilities. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1193 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1194 The FLIM/SEMI package still works with Emacs 21, but if you want to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1195 use the native facilities, you must remove any mailcap.el[c] that was |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1196 installed by FLIM/SEMI version 1.13 or earlier. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1197 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1198 *** Gnus has also been multilingualized. This also affects too many |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1199 parts of Gnus to summarize here, and adds many new variables. There |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1200 are built-in facilities equivalent to those of gnus-mule.el, which is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1201 now just a compatibility layer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1202 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1203 *** gnus-mule.el is now just a compatibility layer over the built-in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1204 Gnus facilities. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1205 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1206 *** gnus-auto-select-first can now be a function to be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1207 called to position point. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1208 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1209 *** The user can now decide which extra headers should be included in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1210 summary buffers and NOV files. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1211 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1212 *** `gnus-article-display-hook' has been removed. Instead, a number |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1213 of variables starting with `gnus-treat-' have been added. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1214 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1215 *** The Gnus posting styles have been redone again and now work in a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1216 subtly different manner. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1217 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1218 *** New web-based backends have been added: nnslashdot, nnwarchive |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1219 and nnultimate. nnweb has been revamped, again, to keep up with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1220 ever-changing layouts. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1221 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1222 *** Gnus can now read IMAP mail via nnimap. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1223 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1224 *** There is image support of various kinds and some sound support. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1225 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1226 ** Changes in Texinfo mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1227 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1228 *** A couple of new key bindings have been added for inserting Texinfo |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1229 macros |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1230 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1231 Key binding Macro |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1232 ------------------------- |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1233 C-c C-c C-s @strong |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1234 C-c C-c C-e @emph |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1235 C-c C-c u @uref |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1236 C-c C-c q @quotation |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1237 C-c C-c m @email |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1238 C-c C-o @<block> ... @end <block> |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1239 M-RET @item |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1240 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1241 *** The " key now inserts either " or `` or '' depending on context. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1242 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1243 ** Changes in Outline mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1244 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1245 There is now support for Imenu to index headings. A new command |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1246 `outline-headers-as-kill' copies the visible headings in the region to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1247 the kill ring, e.g. to produce a table of contents. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1248 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1249 ** Changes to Emacs Server |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1250 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1251 *** The new option `server-kill-new-buffers' specifies what to do |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1252 with buffers when done with them. If non-nil, the default, buffers |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1253 are killed, unless they were already present before visiting them with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1254 Emacs Server. If nil, `server-temp-file-regexp' specifies which |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1255 buffers to kill, as before. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1256 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1257 Please note that only buffers are killed that still have a client, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1258 i.e. buffers visited with `emacsclient --no-wait' are never killed in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1259 this way. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1260 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1261 ** Both emacsclient and Emacs itself now accept command line options |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1262 of the form +LINE:COLUMN in addition to +LINE. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1263 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1264 ** Changes to Show Paren mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1265 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1266 *** Overlays used by Show Paren mode now use a priority property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1267 The new user option show-paren-priority specifies the priority to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1268 use. Default is 1000. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1269 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1270 ** New command M-x check-parens can be used to find unbalanced paren |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1271 groups and strings in buffers in Lisp mode (or other modes). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1272 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1273 ** Changes to hideshow.el |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1274 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1275 *** Generalized block selection and traversal |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1276 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1277 A block is now recognized by its start and end regexps (both strings), |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1278 and an integer specifying which sub-expression in the start regexp |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1279 serves as the place where a `forward-sexp'-like function can operate. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1280 See the documentation of variable `hs-special-modes-alist'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1281 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1282 *** During incremental search, if Hideshow minor mode is active, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1283 hidden blocks are temporarily shown. The variable `hs-headline' can |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1284 be used in the mode line format to show the line at the beginning of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1285 the open block. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1286 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1287 *** User option `hs-hide-all-non-comment-function' specifies a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1288 function to be called at each top-level block beginning, instead of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1289 the normal block-hiding function. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1290 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1291 *** The command `hs-show-region' has been removed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1292 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1293 *** The key bindings have changed to fit the Emacs conventions, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1294 roughly imitating those of Outline minor mode. Notably, the prefix |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1295 for all bindings is now `C-c @'. For details, see the documentation |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1296 for `hs-minor-mode'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1297 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1298 *** The variable `hs-show-hidden-short-form' has been removed, and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1299 hideshow.el now always behaves as if this variable were set to t. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1300 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1301 ** Changes to Change Log mode and Add-Log functions |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1302 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1303 *** If you invoke `add-change-log-entry' from a backup file, it makes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1304 an entry appropriate for the file's parent. This is useful for making |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1305 log entries by comparing a version with deleted functions. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1306 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1307 **** New command M-x change-log-merge merges another log into the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1308 current buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1309 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1310 *** New command M-x change-log-redate fixes any old-style date entries |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1311 in a log file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1312 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1313 *** Change Log mode now adds a file's version number to change log |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1314 entries if user-option `change-log-version-info-enabled' is non-nil. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1315 Unless the file is under version control the search for a file's |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1316 version number is performed based on regular expressions from |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1317 `change-log-version-number-regexp-list' which can be customized. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1318 Version numbers are only found in the first 10 percent of a file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1319 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1320 *** Change Log mode now defines its own faces for font-lock highlighting. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1321 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1322 ** Changes to cmuscheme |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1323 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1324 *** The user-option `scheme-program-name' has been renamed |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1325 `cmuscheme-program-name' due to conflicts with xscheme.el. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1326 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1327 ** Changes in Font Lock |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1328 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1329 *** The new function `font-lock-remove-keywords' can be used to remove |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1330 font-lock keywords from the current buffer or from a specific major mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1331 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1332 *** Multi-line patterns are now supported. Modes using this, should |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1333 set font-lock-multiline to t in their font-lock-defaults. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1334 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1335 *** `font-lock-syntactic-face-function' allows major-modes to choose |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1336 the face used for each string/comment. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1337 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1338 *** A new standard face `font-lock-doc-face'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1339 Meant for Lisp docstrings, Javadoc comments and other "documentation in code". |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1340 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1341 ** Changes to Shell mode |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1342 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1343 *** The `shell' command now accepts an optional argument to specify the buffer |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1344 to use, which defaults to "*shell*". When used interactively, a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1345 non-default buffer may be specified by giving the `shell' command a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1346 prefix argument (causing it to prompt for the buffer name). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1347 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1348 ** Comint (subshell) changes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1349 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1350 These changes generally affect all modes derived from comint mode, which |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1351 include shell-mode, gdb-mode, scheme-interaction-mode, etc. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1352 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1353 *** Comint now by default interprets some carriage-control characters. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1354 Comint now removes CRs from CR LF sequences, and treats single CRs and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1355 BSs in the output in a way similar to a terminal (by deleting to the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1356 beginning of the line, or deleting the previous character, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1357 respectively). This is achieved by adding `comint-carriage-motion' to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1358 the `comint-output-filter-functions' hook by default. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1359 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1360 *** By default, comint no longer uses the variable `comint-prompt-regexp' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1361 to distinguish prompts from user-input. Instead, it notices which |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1362 parts of the text were output by the process, and which entered by the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1363 user, and attaches `field' properties to allow emacs commands to use |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1364 this information. Common movement commands, notably beginning-of-line, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1365 respect field boundaries in a fairly natural manner. To disable this |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1366 feature, and use the old behavior, customize the user option |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1367 `comint-use-prompt-regexp-instead-of-fields'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1368 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1369 *** Comint now includes new features to send commands to running processes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1370 and redirect the output to a designated buffer or buffers. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1371 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1372 *** The command M-x comint-redirect-send-command reads a command and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1373 buffer name from the mini-buffer. The command is sent to the current |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1374 buffer's process, and its output is inserted into the specified buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1375 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1376 The command M-x comint-redirect-send-command-to-process acts like |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1377 M-x comint-redirect-send-command but additionally reads the name of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1378 the buffer whose process should be used from the mini-buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1379 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1380 *** Packages based on comint now highlight user input and program prompts, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1381 and support choosing previous input with mouse-2. To control these features, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1382 see the user-options `comint-highlight-input' and `comint-highlight-prompt'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1383 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1384 *** The new command `comint-write-output' (usually bound to `C-c C-s') |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1385 saves the output from the most recent command to a file. With a prefix |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1386 argument, it appends to the file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1387 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1388 *** The command `comint-kill-output' has been renamed `comint-delete-output' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1389 (usually bound to `C-c C-o'); the old name is aliased to it for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1390 compatibility. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1391 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1392 *** The new function `comint-add-to-input-history' adds commands to the input |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1393 ring (history). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1394 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1395 *** The new variable `comint-input-history-ignore' is a regexp for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1396 identifying history lines that should be ignored, like tcsh time-stamp |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1397 strings, starting with a `#'. The default value of this variable is "^#". |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1398 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1399 ** Changes to Rmail mode |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1400 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1401 *** The new user-option rmail-user-mail-address-regexp can be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1402 set to fine tune the identification of the correspondent when |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1403 receiving new mail. If it matches the address of the sender, the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1404 recipient is taken as correspondent of a mail. If nil, the default, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1405 `user-login-name' and `user-mail-address' are used to exclude yourself |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1406 as correspondent. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1407 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1408 Usually you don't have to set this variable, except if you collect |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1409 mails sent by you under different user names. Then it should be a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1410 regexp matching your mail addresses. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1411 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1412 *** The new user-option rmail-confirm-expunge controls whether and how |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1413 to ask for confirmation before expunging deleted messages from an |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1414 Rmail file. You can choose between no confirmation, confirmation |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1415 with y-or-n-p, or confirmation with yes-or-no-p. Default is to ask |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1416 for confirmation with yes-or-no-p. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1417 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1418 *** RET is now bound in the Rmail summary to rmail-summary-goto-msg, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1419 like `j'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1420 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1421 *** There is a new user option `rmail-digest-end-regexps' that |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1422 specifies the regular expressions to detect the line that ends a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1423 digest message. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1424 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1425 *** The new user option `rmail-automatic-folder-directives' specifies |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1426 in which folder to put messages automatically. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1427 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1428 *** The new function `rmail-redecode-body' allows to fix a message |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1429 with non-ASCII characters if Emacs happens to decode it incorrectly |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1430 due to missing or malformed "charset=" header. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1431 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1432 ** The new user-option `mail-envelope-from' can be used to specify |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1433 an envelope-from address different from user-mail-address. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1434 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1435 ** The variable mail-specify-envelope-from controls whether to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1436 use the -f option when sending mail. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1437 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1438 ** The Rmail command `o' (`rmail-output-to-rmail-file') now writes the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1439 current message in the internal `emacs-mule' encoding, rather than in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1440 the encoding taken from the variable `buffer-file-coding-system'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1441 This allows to save messages whose characters cannot be safely encoded |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1442 by the buffer's coding system, and makes sure the message will be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1443 displayed correctly when you later visit the target Rmail file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1444 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1445 If you want your Rmail files be encoded in a specific coding system |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1446 other than `emacs-mule', you can customize the variable |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1447 `rmail-file-coding-system' to set its value to that coding system. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1448 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1449 ** Changes to TeX mode |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1450 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1451 *** The default mode has been changed from `plain-tex-mode' to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1452 `latex-mode'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1453 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1454 *** latex-mode now has a simple indentation algorithm. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1455 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1456 *** M-f and M-p jump around \begin...\end pairs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1457 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1458 *** Added support for outline-minor-mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1459 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1460 ** Changes to RefTeX mode |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1461 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1462 *** RefTeX has new support for index generation. Index entries can be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1463 created with `C-c <', with completion available on index keys. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1464 Pressing `C-c /' indexes the word at the cursor with a default |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1465 macro. `C-c >' compiles all index entries into an alphabetically |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1466 sorted *Index* buffer which looks like the final index. Entries |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1467 can be edited from that buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1468 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1469 *** Label and citation key selection now allow to select several |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1470 items and reference them together (use `m' to mark items, `a' or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1471 `A' to use all marked entries). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1472 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1473 *** reftex.el has been split into a number of smaller files to reduce |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1474 memory use when only a part of RefTeX is being used. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1475 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1476 *** a new command `reftex-view-crossref-from-bibtex' (bound to `C-c &' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1477 in BibTeX-mode) can be called in a BibTeX database buffer in order |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1478 to show locations in LaTeX documents where a particular entry has |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1479 been cited. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1480 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1481 ** Emacs Lisp mode now allows multiple levels of outline headings. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1482 The level of a heading is determined from the number of leading |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1483 semicolons in a heading line. Toplevel forms starting with a `(' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1484 in column 1 are always made leaves. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1485 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1486 ** The M-x time-stamp command (most commonly used on write-file-hooks) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1487 has the following new features: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1488 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1489 *** The patterns for finding the time stamp and for updating a pattern |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1490 may match text spanning multiple lines. For example, some people like |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1491 to have the filename and date on separate lines. The new variable |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1492 time-stamp-inserts-lines controls the matching for multi-line patterns. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1493 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1494 *** More than one time stamp can be updated in the same file. This |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1495 feature is useful if you need separate time stamps in a program source |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1496 file to both include in formatted documentation and insert in the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1497 compiled binary. The same time-stamp will be written at each matching |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1498 pattern. The variable time-stamp-count enables this new feature; it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1499 defaults to 1. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1500 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1501 ** Partial Completion mode now completes environment variables in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1502 file names. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1503 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1504 ** Ispell changes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1505 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1506 *** The command `ispell' now spell-checks a region if |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1507 transient-mark-mode is on, and the mark is active. Otherwise it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1508 spell-checks the current buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1509 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1510 *** Support for synchronous subprocesses - DOS/Windoze - has been |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1511 added. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1512 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1513 *** An "alignment error" bug was fixed when a manual spelling |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1514 correction is made and re-checked. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1515 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1516 *** Italian, Portuguese, and Slovak dictionary definitions have been added. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1517 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1518 *** Region skipping performance has been vastly improved in some |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1519 cases. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1520 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1521 *** Spell checking HTML buffers has been improved and isn't so strict |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1522 on syntax errors. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1523 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1524 *** The buffer-local words are now always placed on a new line at the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1525 end of the buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1526 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1527 *** Spell checking now works in the MS-DOS version of Emacs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1528 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1529 *** The variable `ispell-format-word' has been renamed to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1530 `ispell-format-word-function'. The old name is still available as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1531 alias. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1532 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1533 ** Makefile mode changes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1534 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1535 *** The mode now uses the abbrev table `makefile-mode-abbrev-table'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1536 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1537 *** Conditionals and include statements are now highlighted when |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1538 Fontlock mode is active. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1539 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1540 ** Isearch changes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1541 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1542 *** Isearch now puts a call to `isearch-resume' in the command history, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1543 so that searches can be resumed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1544 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1545 *** In Isearch mode, C-M-s and C-M-r are now bound like C-s and C-r, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1546 respectively, i.e. you can repeat a regexp isearch with the same keys |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1547 that started the search. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1548 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1549 *** In Isearch mode, mouse-2 in the echo area now yanks the current |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1550 selection into the search string rather than giving an error. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1551 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1552 *** There is a new lazy highlighting feature in incremental search. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1553 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1554 Lazy highlighting is switched on/off by customizing variable |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1555 `isearch-lazy-highlight'. When active, all matches for the current |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1556 search string are highlighted. The current match is highlighted as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1557 before using face `isearch' or `region'. All other matches are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1558 highlighted using face `isearch-lazy-highlight-face' which defaults to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1559 `secondary-selection'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1560 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1561 The extra highlighting makes it easier to anticipate where the cursor |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1562 will end up each time you press C-s or C-r to repeat a pending search. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1563 Highlighting of these additional matches happens in a deferred fashion |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1564 using "idle timers," so the cycles needed do not rob isearch of its |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1565 usual snappy response. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1566 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1567 If `isearch-lazy-highlight-cleanup' is set to t, highlights for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1568 matches are automatically cleared when you end the search. If it is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1569 set to nil, you can remove the highlights manually with `M-x |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1570 isearch-lazy-highlight-cleanup'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1571 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1572 ** VC Changes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1573 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1574 VC has been overhauled internally. It is now modular, making it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1575 easier to plug-in arbitrary version control backends. (See Lisp |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1576 Changes for details on the new structure.) As a result, the mechanism |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1577 to enable and disable support for particular version systems has |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1578 changed: everything is now controlled by the new variable |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1579 `vc-handled-backends'. Its value is a list of symbols that identify |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1580 version systems; the default is '(RCS CVS SCCS). When finding a file, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1581 each of the backends in that list is tried in order to see whether the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1582 file is registered in that backend. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1583 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1584 When registering a new file, VC first tries each of the listed |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1585 backends to see if any of them considers itself "responsible" for the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1586 directory of the file (e.g. because a corresponding subdirectory for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1587 master files exists). If none of the backends is responsible, then |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1588 the first backend in the list that could register the file is chosen. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1589 As a consequence, the variable `vc-default-back-end' is now obsolete. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1590 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1591 The old variable `vc-master-templates' is also obsolete, although VC |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1592 still supports it for backward compatibility. To define templates for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1593 RCS or SCCS, you should rather use the new variables |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1594 vc-{rcs,sccs}-master-templates. (There is no such feature under CVS |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1595 where it doesn't make sense.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1596 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1597 The variables `vc-ignore-vc-files' and `vc-handle-cvs' are also |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1598 obsolete now, you must set `vc-handled-backends' to nil or exclude |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1599 `CVS' from the list, respectively, to achieve their effect now. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1600 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1601 *** General Changes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1602 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1603 The variable `vc-checkout-carefully' is obsolete: the corresponding |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1604 checks are always done now. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1605 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1606 VC Dired buffers are now kept up-to-date during all version control |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1607 operations. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1608 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1609 `vc-diff' output is now displayed in `diff-mode'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1610 `vc-print-log' uses `log-view-mode'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1611 `vc-log-mode' (used for *VC-Log*) has been replaced by `log-edit-mode'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1612 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1613 The command C-x v m (vc-merge) now accepts an empty argument as the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1614 first revision number. This means that any recent changes on the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1615 current branch should be picked up from the repository and merged into |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1616 the working file (``merge news''). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1617 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1618 The commands C-x v s (vc-create-snapshot) and C-x v r |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1619 (vc-retrieve-snapshot) now ask for a directory name from which to work |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1620 downwards. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1621 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1622 *** Multiple Backends |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1623 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1624 VC now lets you register files in more than one backend. This is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1625 useful, for example, if you are working with a slow remote CVS |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1626 repository. You can then use RCS for local editing, and occasionally |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1627 commit your changes back to CVS, or pick up changes from CVS into your |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1628 local RCS archives. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1629 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1630 To make this work, the ``more local'' backend (RCS in our example) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1631 should come first in `vc-handled-backends', and the ``more remote'' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1632 backend (CVS) should come later. (The default value of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1633 `vc-handled-backends' already has it that way.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1634 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1635 You can then commit changes to another backend (say, RCS), by typing |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1636 C-u C-x v v RCS RET (i.e. vc-next-action now accepts a backend name as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1637 a revision number). VC registers the file in the more local backend |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1638 if that hasn't already happened, and commits to a branch based on the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1639 current revision number from the more remote backend. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1640 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1641 If a file is registered in multiple backends, you can switch to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1642 another one using C-x v b (vc-switch-backend). This does not change |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1643 any files, it only changes VC's perspective on the file. Use this to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1644 pick up changes from CVS while working under RCS locally. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1645 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1646 After you are done with your local RCS editing, you can commit your |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1647 changes back to CVS using C-u C-x v v CVS RET. In this case, the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1648 local RCS archive is removed after the commit, and the log entry |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1649 buffer is initialized to contain the entire RCS change log of the file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1650 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1651 *** Changes for CVS |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1652 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1653 There is a new user option, `vc-cvs-stay-local'. If it is `t' (the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1654 default), then VC avoids network queries for files registered in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1655 remote repositories. The state of such files is then only determined |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1656 by heuristics and past information. `vc-cvs-stay-local' can also be a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1657 regexp to match against repository hostnames; only files from hosts |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1658 that match it are treated locally. If the variable is nil, then VC |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1659 queries the repository just as often as it does for local files. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1660 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1661 If `vc-cvs-stay-local' is on, then VC also makes local backups of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1662 repository versions. This means that ordinary diffs (C-x v =) and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1663 revert operations (C-x v u) can be done completely locally, without |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1664 any repository interactions at all. The name of a local version |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1665 backup of FILE is FILE.~REV.~, where REV is the repository version |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1666 number. This format is similar to that used by C-x v ~ |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1667 (vc-version-other-window), except for the trailing dot. As a matter |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1668 of fact, the two features can each use the files created by the other, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1669 the only difference being that files with a trailing `.' are deleted |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1670 automatically after commit. (This feature doesn't work on MS-DOS, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1671 since DOS disallows more than a single dot in the trunk of a file |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1672 name.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1673 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1674 If `vc-cvs-stay-local' is on, and there have been changes in the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1675 repository, VC notifies you about it when you actually try to commit. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1676 If you want to check for updates from the repository without trying to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1677 commit, you can either use C-x v m RET to perform an update on the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1678 current file, or you can use C-x v r RET to get an update for an |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1679 entire directory tree. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1680 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1681 The new user option `vc-cvs-use-edit' indicates whether VC should call |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1682 "cvs edit" to make files writeable; it defaults to `t'. (This option |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1683 is only meaningful if the CVSREAD variable is set, or if files are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1684 "watched" by other developers.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1685 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1686 The commands C-x v s (vc-create-snapshot) and C-x v r |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1687 (vc-retrieve-snapshot) are now also implemented for CVS. If you give |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1688 an empty snapshot name to the latter, that performs a `cvs update', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1689 starting at the given directory. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1690 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1691 *** Lisp Changes in VC |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1692 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1693 VC has been restructured internally to make it modular. You can now |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1694 add support for arbitrary version control backends by writing a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1695 library that provides a certain set of backend-specific functions, and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1696 then telling VC to use that library. For example, to add support for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1697 a version system named SYS, you write a library named vc-sys.el, which |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1698 provides a number of functions vc-sys-... (see commentary at the top |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1699 of vc.el for a detailed list of them). To make VC use that library, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1700 you need to put it somewhere into Emacs' load path and add the symbol |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1701 `SYS' to the list `vc-handled-backends'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1702 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1703 ** The customizable EDT emulation package now supports the EDT |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1704 SUBS command and EDT scroll margins. It also works with more |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1705 terminal/keyboard configurations and it now works under XEmacs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1706 See etc/edt-user.doc for more information. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1707 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1708 ** New modes and packages |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1709 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1710 *** The new global minor mode `minibuffer-electric-default-mode' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1711 automatically hides the `(default ...)' part of minibuffer prompts when |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1712 the default is not applicable. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1713 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1714 *** Artist is an Emacs lisp package that allows you to draw lines, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1715 rectangles and ellipses by using your mouse and/or keyboard. The |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1716 shapes are made up with the ascii characters |, -, / and \. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1717 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1718 Features are: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1719 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1720 - Intersecting: When a `|' intersects with a `-', a `+' is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1721 drawn, like this: | \ / |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1722 --+-- X |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1723 | / \ |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1724 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1725 - Rubber-banding: When drawing lines you can interactively see the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1726 result while holding the mouse button down and moving the mouse. If |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1727 your machine is not fast enough (a 386 is a bit too slow, but a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1728 pentium is well enough), you can turn this feature off. You will |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1729 then see 1's and 2's which mark the 1st and 2nd endpoint of the line |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1730 you are drawing. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1731 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1732 - Arrows: After having drawn a (straight) line or a (straight) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1733 poly-line, you can set arrows on the line-ends by typing < or >. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1734 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1735 - Flood-filling: You can fill any area with a certain character by |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1736 flood-filling. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1737 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1738 - Cut copy and paste: You can cut, copy and paste rectangular |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1739 regions. Artist also interfaces with the rect package (this can be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1740 turned off if it causes you any trouble) so anything you cut in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1741 artist can be yanked with C-x r y and vice versa. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1742 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1743 - Drawing with keys: Everything you can do with the mouse, you can |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1744 also do without the mouse. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1745 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1746 - Aspect-ratio: You can set the variable artist-aspect-ratio to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1747 reflect the height-width ratio for the font you are using. Squares |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1748 and circles are then drawn square/round. Note, that once your |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1749 ascii-file is shown with font with a different height-width ratio, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1750 the squares won't be square and the circles won't be round. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1751 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1752 - Drawing operations: The following drawing operations are implemented: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1753 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1754 lines straight-lines |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1755 rectangles squares |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1756 poly-lines straight poly-lines |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1757 ellipses circles |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1758 text (see-thru) text (overwrite) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1759 spray-can setting size for spraying |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1760 vaporize line vaporize lines |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1761 erase characters erase rectangles |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1762 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1763 Straight lines are lines that go horizontally, vertically or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1764 diagonally. Plain lines go in any direction. The operations in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1765 the right column are accessed by holding down the shift key while |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1766 drawing. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1767 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1768 It is possible to vaporize (erase) entire lines and connected lines |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1769 (rectangles for example) as long as the lines being vaporized are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1770 straight and connected at their endpoints. Vaporizing is inspired |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1771 by the drawrect package by Jari Aalto <jari.aalto@poboxes.com>. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1772 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1773 - Picture mode compatibility: Artist is picture mode compatible (this |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1774 can be turned off). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1775 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1776 *** The new package Eshell is an operating system command shell |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1777 implemented entirely in Emacs Lisp. Use `M-x eshell' to invoke it. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1778 It functions similarly to bash and zsh, and allows running of Lisp |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1779 functions and external commands using the same syntax. It supports |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1780 history lists, aliases, extended globbing, smart scrolling, etc. It |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1781 will work on any platform Emacs has been ported to. And since most of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1782 the basic commands -- ls, rm, mv, cp, ln, du, cat, etc. -- have been |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1783 rewritten in Lisp, it offers an operating-system independent shell, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1784 all within the scope of your Emacs process. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1785 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1786 *** The new package timeclock.el is a mode is for keeping track of time |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1787 intervals. You can use it for whatever purpose you like, but the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1788 typical scenario is to keep track of how much time you spend working |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1789 on certain projects. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1790 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1791 *** The new package hi-lock.el provides commands to highlight matches |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1792 of interactively entered regexps. For example, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1793 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1794 M-x highlight-regexp RET clearly RET RET |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1795 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1796 will highlight all occurrences of `clearly' using a yellow background |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1797 face. New occurrences of `clearly' will be highlighted as they are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1798 typed. `M-x unhighlight-regexp RET' will remove the highlighting. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1799 Any existing face can be used for highlighting and a set of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1800 appropriate faces is provided. The regexps can be written into the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1801 current buffer in a form that will be recognized the next time the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1802 corresponding file is read. There are commands to highlight matches |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1803 to phrases and to highlight entire lines containing a match. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1804 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1805 *** The new package zone.el plays games with Emacs' display when |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1806 Emacs is idle. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1807 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1808 *** The new package tildify.el allows to add hard spaces or other text |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1809 fragments in accordance with the current major mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1810 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1811 *** The new package xml.el provides a simple but generic XML |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1812 parser. It doesn't parse the DTDs however. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1813 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1814 *** The comment operations are now provided by the newcomment.el |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1815 package which allows different styles of comment-region and should |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1816 be more robust while offering the same functionality. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1817 `comment-region' now doesn't always comment a-line-at-a-time, but only |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1818 comments the region, breaking the line at point if necessary. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1819 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1820 *** The Ebrowse package implements a C++ class browser and tags |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1821 facilities tailored for use with C++. It is documented in a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1822 separate Texinfo file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1823 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1824 *** The PCL-CVS package available by either running M-x cvs-examine or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1825 by visiting a CVS administrative directory (with a prefix argument) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1826 provides an alternative interface to VC-dired for CVS. It comes with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1827 `log-view-mode' to view RCS and SCCS logs and `log-edit-mode' used to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1828 enter check-in log messages. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1829 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1830 *** The new package called `woman' allows to browse Unix man pages |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1831 without invoking external programs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1832 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1833 The command `M-x woman' formats manual pages entirely in Emacs Lisp |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1834 and then displays them, like `M-x manual-entry' does. Unlike |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1835 `manual-entry', `woman' does not invoke any external programs, so it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1836 is useful on systems such as MS-DOS/MS-Windows where the `man' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1837 Groff or `troff' commands are not readily available. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1838 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1839 The command `M-x woman-find-file' asks for the file name of a man |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1840 page, then formats and displays it like `M-x woman' does. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1841 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1842 *** The new command M-x re-builder offers a convenient interface for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1843 authoring regular expressions with immediate visual feedback. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1844 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1845 The buffer from which the command was called becomes the target for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1846 the regexp editor popping up in a separate window. Matching text in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1847 the target buffer is immediately color marked during the editing. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1848 Each sub-expression of the regexp will show up in a different face so |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1849 even complex regexps can be edited and verified on target data in a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1850 single step. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1851 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1852 On displays not supporting faces the matches instead blink like |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1853 matching parens to make them stand out. On such a setup you will |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1854 probably also want to use the sub-expression mode when the regexp |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1855 contains such to get feedback about their respective limits. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1856 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1857 *** glasses-mode is a minor mode that makes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1858 unreadableIdentifiersLikeThis readable. It works as glasses, without |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1859 actually modifying content of a buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1860 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1861 *** The package ebnf2ps translates an EBNF to a syntactic chart in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1862 PostScript. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1863 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1864 Currently accepts ad-hoc EBNF, ISO EBNF and Bison/Yacc. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1865 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1866 The ad-hoc default EBNF syntax has the following elements: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1867 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1868 ; comment (until end of line) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1869 A non-terminal |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1870 "C" terminal |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1871 ?C? special |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1872 $A default non-terminal |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1873 $"C" default terminal |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1874 $?C? default special |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1875 A = B. production (A is the header and B the body) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1876 C D sequence (C occurs before D) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1877 C | D alternative (C or D occurs) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1878 A - B exception (A excluding B, B without any non-terminal) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1879 n * A repetition (A repeats n (integer) times) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1880 (C) group (expression C is grouped together) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1881 [C] optional (C may or not occurs) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1882 C+ one or more occurrences of C |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1883 {C}+ one or more occurrences of C |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1884 {C}* zero or more occurrences of C |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1885 {C} zero or more occurrences of C |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1886 C / D equivalent to: C {D C}* |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1887 {C || D}+ equivalent to: C {D C}* |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1888 {C || D}* equivalent to: [C {D C}*] |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1889 {C || D} equivalent to: [C {D C}*] |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1890 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1891 Please, see ebnf2ps documentation for EBNF syntax and how to use it. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1892 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1893 *** The package align.el will align columns within a region, using M-x |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1894 align. Its mode-specific rules, based on regular expressions, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1895 determine where the columns should be split. In C and C++, for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1896 example, it will align variable names in declaration lists, or the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1897 equal signs of assignments. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1898 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1899 *** `paragraph-indent-minor-mode' is a new minor mode supporting |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1900 paragraphs in the same style as `paragraph-indent-text-mode'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1901 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1902 *** bs.el is a new package for buffer selection similar to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1903 list-buffers or electric-buffer-list. Use M-x bs-show to display a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1904 buffer menu with this package. See the Custom group `bs'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1905 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1906 *** find-lisp.el is a package emulating the Unix find command in Lisp. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1907 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1908 *** calculator.el is a small calculator package that is intended to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1909 replace desktop calculators such as xcalc and calc.exe. Actually, it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1910 is not too small - it has more features than most desktop calculators, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1911 and can be customized easily to get many more functions. It should |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1912 not be confused with "calc" which is a much bigger mathematical tool |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1913 which answers different needs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1914 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1915 *** The minor modes cwarn-mode and global-cwarn-mode highlights |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1916 suspicious C and C++ constructions. Currently, assignments inside |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1917 expressions, semicolon following `if', `for' and `while' (except, of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1918 course, after a `do .. while' statement), and C++ functions with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1919 reference parameters are recognized. The modes require font-lock mode |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1920 to be enabled. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1921 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1922 *** smerge-mode.el provides `smerge-mode', a simple minor-mode for files |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1923 containing diff3-style conflict markers, such as generated by RCS. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1924 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1925 *** 5x5.el is a simple puzzle game. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1926 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1927 *** hl-line.el provides `hl-line-mode', a minor mode to highlight the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1928 current line in the current buffer. It also provides |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1929 `global-hl-line-mode' to provide the same behavior in all buffers. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1930 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1931 *** ansi-color.el translates ANSI terminal escapes into text-properties. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1932 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1933 Please note: if `ansi-color-for-comint-mode' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1934 `global-font-lock-mode' are non-nil, loading ansi-color.el will |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1935 disable font-lock and add `ansi-color-apply' to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1936 `comint-preoutput-filter-functions' for all shell-mode buffers. This |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1937 displays the output of "ls --color=yes" using the correct foreground |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1938 and background colors. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1939 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1940 *** delphi.el provides a major mode for editing the Delphi (Object |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1941 Pascal) language. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1942 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1943 *** quickurl.el provides a simple method of inserting a URL based on |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1944 the text at point. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1945 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1946 *** sql.el provides an interface to SQL data bases. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1947 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1948 *** fortune.el uses the fortune program to create mail/news signatures. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1949 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1950 *** whitespace.el is a package for warning about and cleaning bogus |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1951 whitespace in a file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1952 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1953 *** PostScript mode (ps-mode) is a new major mode for editing PostScript |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1954 files. It offers: interaction with a PostScript interpreter, including |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1955 (very basic) error handling; fontification, easily customizable for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1956 interpreter messages; auto-indentation; insertion of EPSF templates and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1957 often used code snippets; viewing of BoundingBox; commenting out / |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1958 uncommenting regions; conversion of 8bit characters to PostScript octal |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1959 codes. All functionality is accessible through a menu. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1960 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1961 *** delim-col helps to prettify columns in a text region or rectangle. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1962 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1963 Here is an example of columns: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1964 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1965 horse apple bus |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1966 dog pineapple car EXTRA |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1967 porcupine strawberry airplane |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1968 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1969 Doing the following settings: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1970 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1971 (setq delimit-columns-str-before "[ ") |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1972 (setq delimit-columns-str-after " ]") |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1973 (setq delimit-columns-str-separator ", ") |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1974 (setq delimit-columns-separator "\t") |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1975 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1976 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1977 Selecting the lines above and typing: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1978 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1979 M-x delimit-columns-region |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1980 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1981 It results: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1982 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1983 [ horse , apple , bus , ] |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1984 [ dog , pineapple , car , EXTRA ] |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1985 [ porcupine, strawberry, airplane, ] |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1986 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1987 delim-col has the following options: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1988 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1989 delimit-columns-str-before Specify a string to be inserted |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1990 before all columns. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1991 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1992 delimit-columns-str-separator Specify a string to be inserted |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1993 between each column. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1994 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1995 delimit-columns-str-after Specify a string to be inserted |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1996 after all columns. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1997 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1998 delimit-columns-separator Specify a regexp which separates |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
1999 each column. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2000 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2001 delim-col has the following commands: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2002 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2003 delimit-columns-region Prettify all columns in a text region. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2004 delimit-columns-rectangle Prettify all columns in a text rectangle. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2005 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2006 *** Recentf mode maintains a menu for visiting files that were |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2007 operated on recently. User option recentf-menu-filter specifies a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2008 menu filter function to change the menu appearance. For example, the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2009 recent file list can be displayed: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2010 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2011 - organized by major modes, directories or user defined rules. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2012 - sorted by file paths, file names, ascending or descending. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2013 - showing paths relative to the current default-directory |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2014 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2015 The `recentf-filter-changer' menu filter function allows to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2016 dynamically change the menu appearance. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2017 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2018 *** elide-head.el provides a mechanism for eliding boilerplate header |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2019 text. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2020 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2021 *** footnote.el provides `footnote-mode', a minor mode supporting use |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2022 of footnotes. It is intended for use with Message mode, but isn't |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2023 specific to Message mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2024 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2025 *** diff-mode.el provides `diff-mode', a major mode for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2026 viewing/editing context diffs (patches). It is selected for files |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2027 with extension `.diff', `.diffs', `.patch' and `.rej'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2028 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2029 *** EUDC, the Emacs Unified Directory Client, provides a common user |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2030 interface to access directory servers using different directory |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2031 protocols. It has a separate manual. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2032 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2033 *** autoconf.el provides a major mode for editing configure.in files |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2034 for Autoconf, selected automatically. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2035 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2036 *** windmove.el provides moving between windows. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2037 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2038 *** crm.el provides a facility to read multiple strings from the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2039 minibuffer with completion. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2040 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2041 *** todo-mode.el provides management of TODO lists and integration |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2042 with the diary features. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2043 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2044 *** autoarg.el provides a feature reported from Twenex Emacs whereby |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2045 numeric keys supply prefix args rather than self inserting. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2046 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2047 *** The function `turn-off-auto-fill' unconditionally turns off Auto |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2048 Fill mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2049 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2050 *** pcomplete.el is a library that provides programmable completion |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2051 facilities for Emacs, similar to what zsh and tcsh offer. The main |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2052 difference is that completion functions are written in Lisp, meaning |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2053 they can be profiled, debugged, etc. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2054 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2055 *** antlr-mode is a new major mode for editing ANTLR grammar files. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2056 It is automatically turned on for files whose names have the extension |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2057 `.g'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2058 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2059 ** Changes in sort.el |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2060 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2061 The function sort-numeric-fields interprets numbers starting with `0' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2062 as octal and numbers starting with `0x' or `0X' as hexadecimal. The |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2063 new user-option sort-numeric-base can be used to specify a default |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2064 numeric base. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2065 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2066 ** Changes to Ange-ftp |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2067 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2068 *** Ange-ftp allows you to specify of a port number in remote file |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2069 names cleanly. It is appended to the host name, separated by a hash |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2070 sign, e.g. `/foo@bar.org#666:mumble'. (This syntax comes from EFS.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2071 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2072 *** If the new user-option `ange-ftp-try-passive-mode' is set, passive |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2073 ftp mode will be used if the ftp client supports that. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2074 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2075 *** Ange-ftp handles the output of the w32-style clients which |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2076 output ^M at the end of lines. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2077 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2078 ** The recommended way of using Iswitchb is via the new global minor |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2079 mode `iswitchb-mode'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2080 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2081 ** Just loading the msb package doesn't switch on Msb mode anymore. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2082 If you have `(require 'msb)' in your .emacs, please replace it with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2083 `(msb-mode 1)'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2084 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2085 ** Changes in Flyspell mode |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2086 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2087 *** Flyspell mode has various new options. See the `flyspell' Custom |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2088 group. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2089 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2090 *** The variable `flyspell-generic-check-word-p' has been renamed |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2091 to `flyspell-generic-check-word-predicate'. The old name is still |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2092 available as alias. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2093 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2094 ** The user option `backward-delete-char-untabify-method' controls the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2095 behavior of `backward-delete-char-untabify'. The following values |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2096 are recognized: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2097 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2098 `untabify' -- turn a tab to many spaces, then delete one space; |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2099 `hungry' -- delete all whitespace, both tabs and spaces; |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2100 `all' -- delete all whitespace, including tabs, spaces and newlines; |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2101 nil -- just delete one character. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2102 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2103 Default value is `untabify'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2104 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2105 [This change was made in Emacs 20.3 but not mentioned then.] |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2106 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2107 ** In Cperl mode `cperl-invalid-face' should now be a normal face |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2108 symbol, not double-quoted. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2109 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2110 ** Some packages are declared obsolete, to be removed in a future |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2111 version. They are: auto-show, c-mode, hilit19, hscroll, ooutline, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2112 profile, rnews, rnewspost, and sc. Their implementations have been |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2113 moved to lisp/obsolete. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2114 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2115 ** auto-compression mode is no longer enabled just by loading jka-compr.el. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2116 To control it, set `auto-compression-mode' via Custom or use the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2117 `auto-compression-mode' command. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2118 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2119 ** `browse-url-gnome-moz' is a new option for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2120 `browse-url-browser-function', invoking Mozilla in GNOME, and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2121 `browse-url-kde' can be chosen for invoking the KDE browser. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2122 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2123 ** The user-option `browse-url-new-window-p' has been renamed to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2124 `browse-url-new-window-flag'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2125 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2126 ** The functions `keep-lines', `flush-lines' and `how-many' now |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2127 operate on the active region in Transient Mark mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2128 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2129 ** `gnus-user-agent' is a new possibility for `mail-user-agent'. It |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2130 is like `message-user-agent', but with all the Gnus paraphernalia. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2131 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2132 ** The Strokes package has been updated. If your Emacs has XPM |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2133 support, you can use it for pictographic editing. In Strokes mode, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2134 use C-mouse-2 to compose a complex stoke and insert it into the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2135 buffer. You can encode or decode a strokes buffer with new commands |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2136 M-x strokes-encode-buffer and M-x strokes-decode-buffer. There is a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2137 new command M-x strokes-list-strokes. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2138 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2139 ** Hexl contains a new command `hexl-insert-hex-string' which inserts |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2140 a string of hexadecimal numbers read from the mini-buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2141 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2142 ** Hexl mode allows to insert non-ASCII characters. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2143 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2144 The non-ASCII characters are encoded using the same encoding as the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2145 file you are visiting in Hexl mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2146 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2147 ** Shell script mode changes. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2148 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2149 Shell script mode (sh-script) can now indent scripts for shells |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2150 derived from sh and rc. The indentation style is customizable, and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2151 sh-script can attempt to "learn" the current buffer's style. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2152 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2153 ** Etags changes. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2154 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2155 *** In DOS, etags looks for file.cgz if it cannot find file.c. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2156 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2157 *** New option --ignore-case-regex is an alternative to --regex. It is now |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2158 possible to bind a regexp to a language, by prepending the regexp with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2159 {lang}, where lang is one of the languages that `etags --help' prints out. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2160 This feature is useful especially for regex files, where each line contains |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2161 a regular expression. The manual contains details. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2162 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2163 *** In C and derived languages, etags creates tags for function |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2164 declarations when given the --declarations option. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2165 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2166 *** In C++, tags are created for "operator". The tags have the form |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2167 "operator+", without spaces between the keyword and the operator. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2168 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2169 *** You shouldn't generally need any more the -C or -c++ option: etags |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2170 automatically switches to C++ parsing when it meets the `class' or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2171 `template' keywords. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2172 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2173 *** Etags now is able to delve at arbitrary deeps into nested structures in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2174 C-like languages. Previously, it was limited to one or two brace levels. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2175 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2176 *** New language Ada: tags are functions, procedures, packages, tasks, and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2177 types. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2178 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2179 *** In Fortran, `procedure' is not tagged. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2180 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2181 *** In Java, tags are created for "interface". |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2182 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2183 *** In Lisp, "(defstruct (foo", "(defun (operator" and similar constructs |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2184 are now tagged. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2185 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2186 *** In makefiles, tags the targets. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2187 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2188 *** In Perl, the --globals option tags global variables. my and local |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2189 variables are tagged. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2190 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2191 *** New language Python: def and class at the beginning of a line are tags. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2192 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2193 *** .ss files are Scheme files, .pdb is Postscript with C syntax, .psw is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2194 for PSWrap. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2195 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2196 ** Changes in etags.el |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2197 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2198 *** The new user-option tags-case-fold-search can be used to make |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2199 tags operations case-sensitive or case-insensitive. The default |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2200 is to use the same setting as case-fold-search. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2201 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2202 *** You can display additional output with M-x tags-apropos by setting |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2203 the new variable tags-apropos-additional-actions. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2204 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2205 If non-nil, the variable's value should be a list of triples (TITLE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2206 FUNCTION TO-SEARCH). For each triple, M-x tags-apropos processes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2207 TO-SEARCH and lists tags from it. TO-SEARCH should be an alist, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2208 obarray, or symbol. If it is a symbol, the symbol's value is used. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2209 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2210 TITLE is a string to use to label the list of tags from TO-SEARCH. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2211 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2212 FUNCTION is a function to call when an entry is selected in the Tags |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2213 List buffer. It is called with one argument, the selected symbol. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2214 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2215 A useful example value for this variable might be something like: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2216 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2217 '(("Emacs Lisp" Info-goto-emacs-command-node obarray) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2218 ("Common Lisp" common-lisp-hyperspec common-lisp-hyperspec-obarray) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2219 ("SCWM" scwm-documentation scwm-obarray)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2220 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2221 *** The face tags-tag-face can be used to customize the appearance |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2222 of tags in the output of M-x tags-apropos. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2223 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2224 *** Setting tags-apropos-verbose to a non-nil value displays the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2225 names of tags files in the *Tags List* buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2226 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2227 *** You can now search for tags that are part of the filename itself. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2228 If you have tagged the files topfile.c subdir/subfile.c |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2229 /tmp/tempfile.c, you can now search for tags "topfile.c", "subfile.c", |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2230 "dir/sub", "tempfile", "tempfile.c". If the tag matches the file name, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2231 point will go to the beginning of the file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2232 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2233 *** Compressed files are now transparently supported if |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2234 auto-compression-mode is active. You can tag (with Etags) and search |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2235 (with find-tag) both compressed and uncompressed files. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2236 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2237 *** Tags commands like M-x tags-search no longer change point |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2238 in buffers where no match is found. In buffers where a match is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2239 found, the original value of point is pushed on the marker ring. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2240 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2241 ** Fortran mode has a new command `fortran-strip-sequence-nos' to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2242 remove text past column 72. The syntax class of `\' in Fortran is now |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2243 appropriate for C-style escape sequences in strings. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2244 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2245 ** SGML mode's default `sgml-validate-command' is now `nsgmls'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2246 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2247 ** A new command `view-emacs-problems' (C-h P) displays the PROBLEMS file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2248 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2249 ** The Dabbrev package has a new user-option `dabbrev-ignored-regexps' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2250 containing a list of regular expressions. Buffers matching a regular |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2251 expression from that list, are not checked. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2252 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2253 ** Emacs can now figure out modification times of remote files. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2254 When you do C-x C-f /user@host:/path/file RET and edit the file, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2255 and someone else modifies the file, you will be prompted to revert |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2256 the buffer, just like for the local files. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2257 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2258 ** The buffer menu (C-x C-b) no longer lists the *Buffer List* buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2259 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2260 ** When invoked with a prefix argument, the command `list-abbrevs' now |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2261 displays local abbrevs, only. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2262 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2263 ** Refill minor mode provides preliminary support for keeping |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2264 paragraphs filled as you modify them. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2265 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2266 ** The variable `double-click-fuzz' specifies how much the mouse |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2267 may be moved between clicks that are recognized as a pair. Its value |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2268 is measured in pixels. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2269 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2270 ** The new global minor mode `auto-image-file-mode' allows image files |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2271 to be visited as images. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2272 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2273 ** Two new user-options `grep-command' and `grep-find-command' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2274 were added to compile.el. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2275 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2276 ** Withdrawn packages |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2277 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2278 *** mldrag.el has been removed. mouse.el provides the same |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2279 functionality with aliases for the mldrag functions. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2280 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2281 *** eval-reg.el has been obsoleted by changes to edebug.el and removed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2282 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2283 *** ph.el has been obsoleted by EUDC and removed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2284 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2285 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2286 * Incompatible Lisp changes in 21.1 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2287 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2288 There are a few Lisp changes which are not backwards-compatible and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2289 may require changes to existing code. Here is a list for reference. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2290 See the sections below for details. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2291 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2292 ** Since `format' preserves text properties, the idiom |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2293 `(format "%s" foo)' no longer works to copy and remove properties. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2294 Use `copy-sequence' to copy the string, then use `set-text-properties' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2295 to remove the properties of the copy. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2296 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2297 ** Since the `keymap' text property now has significance, some code |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2298 which uses both `local-map' and `keymap' properties (for portability) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2299 may, for instance, give rise to duplicate menus when the keymaps from |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2300 these properties are active. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2301 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2302 ** The change in the treatment of non-ASCII characters in search |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2303 ranges may affect some code. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2304 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2305 ** A non-nil value for the LOCAL arg of add-hook makes the hook |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2306 buffer-local even if `make-local-hook' hasn't been called, which might |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2307 make a difference to some code. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2308 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2309 ** The new treatment of the minibuffer prompt might affect code which |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2310 operates on the minibuffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2311 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2312 ** The new character sets `eight-bit-control' and `eight-bit-graphic' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2313 cause `no-conversion' and `emacs-mule-unix' coding systems to produce |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2314 different results when reading files with non-ASCII characters |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2315 (previously, both coding systems would produce the same results). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2316 Specifically, `no-conversion' interprets each 8-bit byte as a separate |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2317 character. This makes `no-conversion' inappropriate for reading |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2318 multibyte text, e.g. buffers written to disk in their internal MULE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2319 encoding (auto-saving does that, for example). If a Lisp program |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2320 reads such files with `no-conversion', each byte of the multibyte |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2321 sequence, including the MULE leading codes such as \201, is treated as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2322 a separate character, which prevents them from being interpreted in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2323 the buffer as multibyte characters. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2324 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2325 Therefore, Lisp programs that read files which contain the internal |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2326 MULE encoding should use `emacs-mule-unix'. `no-conversion' is only |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2327 appropriate for reading truly binary files. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2328 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2329 ** Code that relies on the obsolete `before-change-function' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2330 `after-change-function' to detect buffer changes will now fail. Use |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2331 `before-change-functions' and `after-change-functions' instead. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2332 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2333 ** Code that uses `concat' with integer args now gets an error, as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2334 long promised. So does any code that uses derivatives of `concat', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2335 such as `mapconcat'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2336 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2337 ** The function base64-decode-string now always returns a unibyte |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2338 string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2339 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2340 ** Not a Lisp incompatibility as such but, with the introduction of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2341 extra private charsets, there is now only one slot free for a new |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2342 dimension-2 private charset. User code which tries to add more than |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2343 one extra will fail unless you rebuild Emacs with some standard |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2344 charset(s) removed; that is probably inadvisable because it changes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2345 the emacs-mule encoding. Also, files stored in the emacs-mule |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2346 encoding using Emacs 20 with additional private charsets defined will |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2347 probably not be read correctly by Emacs 21. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2348 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2349 ** The variable `directory-sep-char' is slated for removal. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2350 Not really a change (yet), but a projected one that you should be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2351 aware of: The variable `directory-sep-char' is deprecated, and should |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2352 not be used. It was always ignored on GNU/Linux and Unix systems and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2353 on MS-DOS, but the MS-Windows port tried to support it by adapting the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2354 behavior of certain primitives to the value of this variable. It |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2355 turned out that such support cannot be reliable, so it was decided to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2356 remove this variable in the near future. Lisp programs are well |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2357 advised not to set it to anything but '/', because any different value |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2358 will not have any effect when support for this variable is removed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2359 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2360 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2361 * Lisp changes made after edition 2.6 of the Emacs Lisp Manual, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2362 (Display-related features are described in a page of their own below.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2363 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2364 ** Function assq-delete-all replaces function assoc-delete-all. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2365 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2366 ** The new function animate-string, from lisp/play/animate.el |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2367 allows the animated display of strings. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2368 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2369 ** The new function `interactive-form' can be used to obtain the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2370 interactive form of a function. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2371 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2372 ** The keyword :set-after in defcustom allows to specify dependencies |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2373 between custom options. Example: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2374 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2375 (defcustom default-input-method nil |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2376 "*Default input method for multilingual text (a string). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2377 This is the input method activated automatically by the command |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2378 `toggle-input-method' (\\[toggle-input-method])." |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2379 :group 'mule |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2380 :type '(choice (const nil) string) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2381 :set-after '(current-language-environment)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2382 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2383 This specifies that default-input-method should be set after |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2384 current-language-environment even if default-input-method appears |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2385 first in a custom-set-variables statement. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2386 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2387 ** The new hook `kbd-macro-termination-hook' is run at the end of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2388 function execute-kbd-macro. Functions on this hook are called with no |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2389 args. The hook is run independent of how the macro was terminated |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2390 (signal or normal termination). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2391 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2392 ** Functions `butlast' and `nbutlast' for removing trailing elements |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2393 from a list are now available without requiring the CL package. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2394 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2395 ** The new user-option `even-window-heights' can be set to nil |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2396 to prevent `display-buffer' from evening out window heights. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2397 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2398 ** The user-option `face-font-registry-alternatives' specifies |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2399 alternative font registry names to try when looking for a font. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2400 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2401 ** Function `md5' calculates the MD5 "message digest"/"checksum". |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2402 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2403 ** Function `delete-frame' runs `delete-frame-hook' before actually |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2404 deleting the frame. The hook is called with one arg, the frame |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2405 being deleted. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2406 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2407 ** `add-hook' now makes the hook local if called with a non-nil LOCAL arg. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2408 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2409 ** The treatment of non-ASCII characters in search ranges has changed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2410 If a range in a regular expression or the arg of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2411 skip-chars-forward/backward starts with a unibyte character C and ends |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2412 with a multibyte character C2, the range is divided into two: one is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2413 C..?\377, the other is C1..C2, where C1 is the first character of C2's |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2414 charset. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2415 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2416 ** The new function `display-message-or-buffer' displays a message in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2417 the echo area or pops up a buffer, depending on the length of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2418 message. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2419 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2420 ** The new macro `with-auto-compression-mode' allows evaluating an |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2421 expression with auto-compression-mode enabled. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2422 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2423 ** In image specifications, `:heuristic-mask' has been replaced |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2424 with the more general `:mask' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2425 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2426 ** Image specifications accept more `:conversion's. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2427 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2428 ** A `?' can be used in a symbol name without escaping it with a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2429 backslash. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2430 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2431 ** Reading from the mini-buffer now reads from standard input if Emacs |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2432 is running in batch mode. For example, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2433 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2434 (message "%s" (read t)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2435 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2436 will read a Lisp expression from standard input and print the result |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2437 to standard output. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2438 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2439 ** The argument of `down-list', `backward-up-list', `up-list', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2440 `kill-sexp', `backward-kill-sexp' and `mark-sexp' is now optional. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2441 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2442 ** If `display-buffer-reuse-frames' is set, function `display-buffer' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2443 will raise frames displaying a buffer, instead of creating a new |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2444 frame or window. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2445 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2446 ** Two new functions for removing elements from lists/sequences |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2447 were added |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2448 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2449 - Function: remove ELT SEQ |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2450 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2451 Return a copy of SEQ with all occurrences of ELT removed. SEQ must be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2452 a list, vector, or string. The comparison is done with `equal'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2453 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2454 - Function: remq ELT LIST |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2455 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2456 Return a copy of LIST with all occurrences of ELT removed. The |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2457 comparison is done with `eq'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2458 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2459 ** The function `delete' now also works with vectors and strings. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2460 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2461 ** The meaning of the `:weakness WEAK' argument of make-hash-table |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2462 has been changed: WEAK can now have new values `key-or-value' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2463 `key-and-value', in addition to `nil', `key', `value', and `t'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2464 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2465 ** Function `aset' stores any multibyte character in any string |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2466 without signaling "Attempt to change char length of a string". It may |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2467 convert a unibyte string to multibyte if necessary. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2468 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2469 ** The value of the `help-echo' text property is called as a function |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2470 or evaluated, if it is not a string already, to obtain a help string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2471 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2472 ** Function `make-obsolete' now has an optional arg to say when the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2473 function was declared obsolete. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2474 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2475 ** Function `plist-member' is renamed from `widget-plist-member' (which is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2476 retained as an alias). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2477 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2478 ** Easy-menu's :filter now takes the unconverted form of the menu and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2479 the result is automatically converted to Emacs' form. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2480 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2481 ** The new function `window-list' has been defined |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2482 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2483 - Function: window-list &optional FRAME WINDOW MINIBUF |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2484 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2485 Return a list of windows on FRAME, starting with WINDOW. FRAME nil or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2486 omitted means use the selected frame. WINDOW nil or omitted means use |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2487 the selected window. MINIBUF t means include the minibuffer window, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2488 even if it isn't active. MINIBUF nil or omitted means include the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2489 minibuffer window only if it's active. MINIBUF neither nil nor t |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2490 means never include the minibuffer window. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2491 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2492 ** There's a new function `get-window-with-predicate' defined as follows |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2493 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2494 - Function: get-window-with-predicate PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2495 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2496 Return a window satisfying PREDICATE. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2497 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2498 This function cycles through all visible windows using `walk-windows', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2499 calling PREDICATE on each one. PREDICATE is called with a window as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2500 argument. The first window for which PREDICATE returns a non-nil |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2501 value is returned. If no window satisfies PREDICATE, DEFAULT is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2502 returned. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2503 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2504 Optional second arg MINIBUF t means count the minibuffer window even |
78471 | 2505 if not active. MINIBUF nil or omitted means count the minibuffer if |
71203
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2506 it is active. MINIBUF neither t nor nil means not to count the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2507 minibuffer even if it is active. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2508 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2509 Several frames may share a single minibuffer; if the minibuffer |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2510 counts, all windows on all frames that share that minibuffer count |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2511 too. Therefore, if you are using a separate minibuffer frame |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2512 and the minibuffer is active and MINIBUF says it counts, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2513 `walk-windows' includes the windows in the frame from which you |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2514 entered the minibuffer, as well as the minibuffer window. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2515 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2516 ALL-FRAMES is the optional third argument. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2517 ALL-FRAMES nil or omitted means cycle within the frames as specified above. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2518 ALL-FRAMES = `visible' means include windows on all visible frames. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2519 ALL-FRAMES = 0 means include windows on all visible and iconified frames. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2520 ALL-FRAMES = t means include windows on all frames including invisible frames. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2521 If ALL-FRAMES is a frame, it means include windows on that frame. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2522 Anything else means restrict to the selected frame. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2523 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2524 ** The function `single-key-description' now encloses function key and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2525 event names in angle brackets. When called with a second optional |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2526 argument non-nil, angle brackets won't be printed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2527 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2528 ** If the variable `message-truncate-lines' is bound to t around a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2529 call to `message', the echo area will not be resized to display that |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2530 message; it will be truncated instead, as it was done in 20.x. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2531 Default value is nil. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2532 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2533 ** The user option `line-number-display-limit' can now be set to nil, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2534 meaning no limit. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2535 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2536 ** The new user option `line-number-display-limit-width' controls |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2537 the maximum width of lines in a buffer for which Emacs displays line |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2538 numbers in the mode line. The default is 200. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2539 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2540 ** `select-safe-coding-system' now also checks the most preferred |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2541 coding-system if buffer-file-coding-system is `undecided' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2542 DEFAULT-CODING-SYSTEM is not specified, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2543 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2544 ** The function `subr-arity' provides information about the argument |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2545 list of a primitive. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2546 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2547 ** `where-is-internal' now also accepts a list of keymaps. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2548 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2549 ** The text property `keymap' specifies a key map which overrides the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2550 buffer's local map and the map specified by the `local-map' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2551 This is probably what most current uses of `local-map' want, rather |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2552 than replacing the local map. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2553 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2554 ** The obsolete variables `before-change-function' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2555 `after-change-function' are no longer acted upon and have been |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2556 removed. Use `before-change-functions' and `after-change-functions' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2557 instead. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2558 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2559 ** The function `apropos-mode' runs the hook `apropos-mode-hook'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2560 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2561 ** `concat' no longer accepts individual integer arguments, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2562 as promised long ago. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2563 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2564 ** The new function `float-time' returns the current time as a float. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2565 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2566 ** The new variable auto-coding-regexp-alist specifies coding systems |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2567 for reading specific files, analogous to auto-coding-alist, but |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2568 patterns are checked against file contents instead of file names. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2569 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2570 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2571 * Lisp changes in Emacs 21.1 (see following page for display-related features) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2572 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2573 ** The new package rx.el provides an alternative sexp notation for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2574 regular expressions. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2575 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2576 - Function: rx-to-string SEXP |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2577 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2578 Translate SEXP into a regular expression in string notation. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2579 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2580 - Macro: rx SEXP |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2581 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2582 Translate SEXP into a regular expression in string notation. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2583 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2584 The following are valid subforms of regular expressions in sexp |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2585 notation. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2586 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2587 STRING |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2588 matches string STRING literally. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2589 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2590 CHAR |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2591 matches character CHAR literally. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2592 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2593 `not-newline' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2594 matches any character except a newline. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2595 . |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2596 `anything' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2597 matches any character |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2598 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2599 `(any SET)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2600 matches any character in SET. SET may be a character or string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2601 Ranges of characters can be specified as `A-Z' in strings. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2602 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2603 '(in SET)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2604 like `any'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2605 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2606 `(not (any SET))' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2607 matches any character not in SET |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2608 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2609 `line-start' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2610 matches the empty string, but only at the beginning of a line |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2611 in the text being matched |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2612 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2613 `line-end' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2614 is similar to `line-start' but matches only at the end of a line |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2615 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2616 `string-start' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2617 matches the empty string, but only at the beginning of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2618 string being matched against. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2619 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2620 `string-end' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2621 matches the empty string, but only at the end of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2622 string being matched against. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2623 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2624 `buffer-start' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2625 matches the empty string, but only at the beginning of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2626 buffer being matched against. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2627 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2628 `buffer-end' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2629 matches the empty string, but only at the end of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2630 buffer being matched against. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2631 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2632 `point' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2633 matches the empty string, but only at point. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2634 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2635 `word-start' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2636 matches the empty string, but only at the beginning or end of a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2637 word. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2638 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2639 `word-end' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2640 matches the empty string, but only at the end of a word. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2641 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2642 `word-boundary' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2643 matches the empty string, but only at the beginning or end of a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2644 word. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2645 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2646 `(not word-boundary)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2647 matches the empty string, but not at the beginning or end of a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2648 word. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2649 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2650 `digit' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2651 matches 0 through 9. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2652 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2653 `control' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2654 matches ASCII control characters. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2655 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2656 `hex-digit' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2657 matches 0 through 9, a through f and A through F. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2658 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2659 `blank' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2660 matches space and tab only. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2661 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2662 `graphic' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2663 matches graphic characters--everything except ASCII control chars, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2664 space, and DEL. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2665 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2666 `printing' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2667 matches printing characters--everything except ASCII control chars |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2668 and DEL. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2669 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2670 `alphanumeric' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2671 matches letters and digits. (But at present, for multibyte characters, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2672 it matches anything that has word syntax.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2673 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2674 `letter' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2675 matches letters. (But at present, for multibyte characters, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2676 it matches anything that has word syntax.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2677 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2678 `ascii' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2679 matches ASCII (unibyte) characters. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2680 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2681 `nonascii' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2682 matches non-ASCII (multibyte) characters. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2683 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2684 `lower' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2685 matches anything lower-case. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2686 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2687 `upper' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2688 matches anything upper-case. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2689 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2690 `punctuation' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2691 matches punctuation. (But at present, for multibyte characters, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2692 it matches anything that has non-word syntax.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2693 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2694 `space' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2695 matches anything that has whitespace syntax. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2696 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2697 `word' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2698 matches anything that has word syntax. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2699 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2700 `(syntax SYNTAX)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2701 matches a character with syntax SYNTAX. SYNTAX must be one |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2702 of the following symbols. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2703 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2704 `whitespace' (\\s- in string notation) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2705 `punctuation' (\\s.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2706 `word' (\\sw) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2707 `symbol' (\\s_) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2708 `open-parenthesis' (\\s() |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2709 `close-parenthesis' (\\s)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2710 `expression-prefix' (\\s') |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2711 `string-quote' (\\s\") |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2712 `paired-delimiter' (\\s$) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2713 `escape' (\\s\\) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2714 `character-quote' (\\s/) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2715 `comment-start' (\\s<) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2716 `comment-end' (\\s>) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2717 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2718 `(not (syntax SYNTAX))' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2719 matches a character that has not syntax SYNTAX. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2720 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2721 `(category CATEGORY)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2722 matches a character with category CATEGORY. CATEGORY must be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2723 either a character to use for C, or one of the following symbols. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2724 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2725 `consonant' (\\c0 in string notation) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2726 `base-vowel' (\\c1) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2727 `upper-diacritical-mark' (\\c2) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2728 `lower-diacritical-mark' (\\c3) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2729 `tone-mark' (\\c4) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2730 `symbol' (\\c5) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2731 `digit' (\\c6) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2732 `vowel-modifying-diacritical-mark' (\\c7) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2733 `vowel-sign' (\\c8) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2734 `semivowel-lower' (\\c9) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2735 `not-at-end-of-line' (\\c<) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2736 `not-at-beginning-of-line' (\\c>) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2737 `alpha-numeric-two-byte' (\\cA) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2738 `chinse-two-byte' (\\cC) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2739 `greek-two-byte' (\\cG) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2740 `japanese-hiragana-two-byte' (\\cH) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2741 `indian-two-byte' (\\cI) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2742 `japanese-katakana-two-byte' (\\cK) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2743 `korean-hangul-two-byte' (\\cN) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2744 `cyrillic-two-byte' (\\cY) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2745 `ascii' (\\ca) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2746 `arabic' (\\cb) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2747 `chinese' (\\cc) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2748 `ethiopic' (\\ce) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2749 `greek' (\\cg) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2750 `korean' (\\ch) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2751 `indian' (\\ci) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2752 `japanese' (\\cj) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2753 `japanese-katakana' (\\ck) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2754 `latin' (\\cl) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2755 `lao' (\\co) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2756 `tibetan' (\\cq) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2757 `japanese-roman' (\\cr) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2758 `thai' (\\ct) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2759 `vietnamese' (\\cv) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2760 `hebrew' (\\cw) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2761 `cyrillic' (\\cy) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2762 `can-break' (\\c|) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2763 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2764 `(not (category CATEGORY))' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2765 matches a character that has not category CATEGORY. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2766 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2767 `(and SEXP1 SEXP2 ...)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2768 matches what SEXP1 matches, followed by what SEXP2 matches, etc. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2769 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2770 `(submatch SEXP1 SEXP2 ...)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2771 like `and', but makes the match accessible with `match-end', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2772 `match-beginning', and `match-string'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2773 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2774 `(group SEXP1 SEXP2 ...)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2775 another name for `submatch'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2776 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2777 `(or SEXP1 SEXP2 ...)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2778 matches anything that matches SEXP1 or SEXP2, etc. If all |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2779 args are strings, use `regexp-opt' to optimize the resulting |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2780 regular expression. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2781 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2782 `(minimal-match SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2783 produce a non-greedy regexp for SEXP. Normally, regexps matching |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2784 zero or more occurrences of something are \"greedy\" in that they |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2785 match as much as they can, as long as the overall regexp can |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2786 still match. A non-greedy regexp matches as little as possible. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2787 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2788 `(maximal-match SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2789 produce a greedy regexp for SEXP. This is the default. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2790 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2791 `(zero-or-more SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2792 matches zero or more occurrences of what SEXP matches. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2793 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2794 `(0+ SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2795 like `zero-or-more'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2796 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2797 `(* SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2798 like `zero-or-more', but always produces a greedy regexp. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2799 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2800 `(*? SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2801 like `zero-or-more', but always produces a non-greedy regexp. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2802 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2803 `(one-or-more SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2804 matches one or more occurrences of A. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2805 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2806 `(1+ SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2807 like `one-or-more'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2808 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2809 `(+ SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2810 like `one-or-more', but always produces a greedy regexp. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2811 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2812 `(+? SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2813 like `one-or-more', but always produces a non-greedy regexp. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2814 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2815 `(zero-or-one SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2816 matches zero or one occurrences of A. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2817 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2818 `(optional SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2819 like `zero-or-one'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2820 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2821 `(? SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2822 like `zero-or-one', but always produces a greedy regexp. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2823 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2824 `(?? SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2825 like `zero-or-one', but always produces a non-greedy regexp. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2826 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2827 `(repeat N SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2828 matches N occurrences of what SEXP matches. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2829 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2830 `(repeat N M SEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2831 matches N to M occurrences of what SEXP matches. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2832 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2833 `(eval FORM)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2834 evaluate FORM and insert result. If result is a string, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2835 `regexp-quote' it. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2836 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2837 `(regexp REGEXP)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2838 include REGEXP in string notation in the result. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2839 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2840 *** The features `md5' and `overlay' are now provided by default. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2841 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2842 *** The special form `save-restriction' now works correctly even if the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2843 buffer is widened inside the save-restriction and changes made outside |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2844 the original restriction. Previously, doing this would cause the saved |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2845 restriction to be restored incorrectly. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2846 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2847 *** The functions `find-charset-region' and `find-charset-string' include |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2848 `eight-bit-control' and/or `eight-bit-graphic' in the returned list |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2849 when they find 8-bit characters. Previously, they included `ascii' in a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2850 multibyte buffer and `unknown' in a unibyte buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2851 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2852 *** The functions `set-buffer-multibyte', `string-as-multibyte' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2853 `string-as-unibyte' change the byte sequence of a buffer or a string |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2854 if it contains a character from the `eight-bit-control' character set. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2855 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2856 *** The handling of multibyte sequences in a multibyte buffer is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2857 changed. Previously, a byte sequence matching the pattern |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2858 [\200-\237][\240-\377]+ was interpreted as a single character |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2859 regardless of the length of the trailing bytes [\240-\377]+. Thus, if |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2860 the sequence was longer than what the leading byte indicated, the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2861 extra trailing bytes were ignored by Lisp functions. Now such extra |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2862 bytes are independent 8-bit characters belonging to the charset |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2863 eight-bit-graphic. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2864 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2865 ** Fontsets are now implemented using char-tables. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2866 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2867 A fontset can now be specified for each independent character, for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2868 a group of characters or for a character set rather than just for a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2869 character set as previously. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2870 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2871 *** The arguments of the function `set-fontset-font' are changed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2872 They are NAME, CHARACTER, FONTNAME, and optional FRAME. The function |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2873 modifies fontset NAME to use FONTNAME for CHARACTER. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2874 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2875 CHARACTER may be a cons (FROM . TO), where FROM and TO are non-generic |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2876 characters. In that case FONTNAME is used for all characters in the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2877 range FROM and TO (inclusive). CHARACTER may be a charset. In that |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2878 case FONTNAME is used for all character in the charset. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2879 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2880 FONTNAME may be a cons (FAMILY . REGISTRY), where FAMILY is the family |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2881 name of a font and REGISTRY is a registry name of a font. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2882 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2883 *** Variable x-charset-registry has been deleted. The default charset |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2884 registries of character sets are set in the default fontset |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2885 "fontset-default". |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2886 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2887 *** The function `create-fontset-from-fontset-spec' ignores the second |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2888 argument STYLE-VARIANT. It never creates style-variant fontsets. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2889 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2890 ** The method of composing characters is changed. Now character |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2891 composition is done by a special text property `composition' in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2892 buffers and strings. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2893 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2894 *** Charset composition is deleted. Emacs never creates a `composite |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2895 character' which is an independent character with a unique character |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2896 code. Thus the following functions handling `composite characters' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2897 have been deleted: composite-char-component, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2898 composite-char-component-count, composite-char-composition-rule, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2899 composite-char-composition-rule and decompose-composite-char delete. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2900 The variables leading-code-composition and min-composite-char have |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2901 also been deleted. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2902 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2903 *** Three more glyph reference points are added. They can be used to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2904 specify a composition rule. See the documentation of the variable |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2905 `reference-point-alist' for more detail. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2906 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2907 *** The function `compose-region' takes new arguments COMPONENTS and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2908 MODIFICATION-FUNC. With COMPONENTS, you can specify not only a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2909 composition rule but also characters to be composed. Such characters |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2910 may differ between buffer and string text. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2911 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2912 *** The function `compose-string' takes new arguments START, END, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2913 COMPONENTS, and MODIFICATION-FUNC. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2914 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2915 *** The function `compose-string' puts text property `composition' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2916 directly on the argument STRING instead of returning a new string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2917 Likewise, the function `decompose-string' just removes text property |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2918 `composition' from STRING. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2919 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2920 *** The new function `find-composition' returns information about |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2921 a composition at a specified position in a buffer or a string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2922 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2923 *** The function `decompose-composite-char' is now labeled as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2924 obsolete. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2925 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2926 ** The new coding system `mac-roman' is primarily intended for use on |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2927 the Macintosh but may be used generally for Macintosh-encoded text. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2928 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2929 ** The new character sets `mule-unicode-0100-24ff', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2930 `mule-unicode-2500-33ff', and `mule-unicode-e000-ffff' have been |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2931 introduced for Unicode characters in the range U+0100..U+24FF, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2932 U+2500..U+33FF, U+E000..U+FFFF respectively. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2933 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2934 Note that the character sets are not yet unified in Emacs, so |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2935 characters which belong to charsets such as Latin-2, Greek, Hebrew, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2936 etc. and the same characters in the `mule-unicode-*' charsets are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2937 different characters, as far as Emacs is concerned. For example, text |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2938 which includes Unicode characters from the Latin-2 locale cannot be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2939 encoded by Emacs with ISO 8859-2 coding system. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2940 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2941 ** The new coding system `mule-utf-8' has been added. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2942 It provides limited support for decoding/encoding UTF-8 text. For |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2943 details, please see the documentation string of this coding system. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2944 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2945 ** The new character sets `japanese-jisx0213-1' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2946 `japanese-jisx0213-2' have been introduced for the new Japanese |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2947 standard JIS X 0213 Plane 1 and Plane 2. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2948 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2949 ** The new character sets `latin-iso8859-14' and `latin-iso8859-15' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2950 have been introduced. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2951 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2952 ** The new character sets `eight-bit-control' and `eight-bit-graphic' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2953 have been introduced for 8-bit characters in the ranges 0x80..0x9F and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2954 0xA0..0xFF respectively. Note that the multibyte representation of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2955 eight-bit-control is never exposed; this leads to an exception in the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2956 emacs-mule coding system, which encodes everything else to the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2957 buffer/string internal representation. Note that to search for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2958 eight-bit-graphic characters in a multibyte buffer, the search string |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2959 must be multibyte, otherwise such characters will be converted to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2960 their multibyte equivalent. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2961 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2962 ** If the APPEND argument of `write-region' is an integer, it seeks to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2963 that offset in the file before writing. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2964 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2965 ** The function `add-minor-mode' has been added for convenience and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2966 compatibility with XEmacs (and is used internally by define-minor-mode). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2967 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2968 ** The function `shell-command' now sets the default directory of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2969 `*Shell Command Output*' buffer to the default directory of the buffer |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2970 from which the command was issued. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2971 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2972 ** The functions `query-replace', `query-replace-regexp', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2973 `query-replace-regexp-eval' `map-query-replace-regexp', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2974 `replace-string', `replace-regexp', and `perform-replace' take two |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2975 additional optional arguments START and END that specify the region to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2976 operate on. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2977 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2978 ** The new function `count-screen-lines' is a more flexible alternative |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2979 to `window-buffer-height'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2980 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2981 - Function: count-screen-lines &optional BEG END COUNT-FINAL-NEWLINE WINDOW |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2982 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2983 Return the number of screen lines in the region between BEG and END. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2984 The number of screen lines may be different from the number of actual |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2985 lines, due to line breaking, display table, etc. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2986 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2987 Optional arguments BEG and END default to `point-min' and `point-max' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2988 respectively. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2989 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2990 If region ends with a newline, ignore it unless optional third argument |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2991 COUNT-FINAL-NEWLINE is non-nil. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2992 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2993 The optional fourth argument WINDOW specifies the window used for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2994 obtaining parameters such as width, horizontal scrolling, and so |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2995 on. The default is to use the selected window's parameters. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2996 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2997 Like `vertical-motion', `count-screen-lines' always uses the current |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2998 buffer, regardless of which buffer is displayed in WINDOW. This makes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
2999 possible to use `count-screen-lines' in any buffer, whether or not it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3000 is currently displayed in some window. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3001 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3002 ** The new function `mapc' is like `mapcar' but doesn't collect the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3003 argument function's results. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3004 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3005 ** The functions base64-decode-region and base64-decode-string now |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3006 signal an error instead of returning nil if decoding fails. Also, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3007 `base64-decode-string' now always returns a unibyte string (in Emacs |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3008 20, it returned a multibyte string when the result was a valid multibyte |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3009 sequence). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3010 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3011 ** The function sendmail-user-agent-compose now recognizes a `body' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3012 header in the list of headers passed to it. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3013 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3014 ** The new function member-ignore-case works like `member', but |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3015 ignores differences in case and text representation. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3016 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3017 ** The buffer-local variable cursor-type can be used to specify the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3018 cursor to use in windows displaying a buffer. Values are interpreted |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3019 as follows: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3020 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3021 t use the cursor specified for the frame (default) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3022 nil don't display a cursor |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3023 `bar' display a bar cursor with default width |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3024 (bar . WIDTH) display a bar cursor with width WIDTH |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3025 others display a box cursor. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3026 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3027 ** The variable open-paren-in-column-0-is-defun-start controls whether |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3028 an open parenthesis in column 0 is considered to be the start of a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3029 defun. If set, the default, it is considered a defun start. If not |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3030 set, an open parenthesis in column 0 has no special meaning. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3031 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3032 ** The new function `string-to-syntax' can be used to translate syntax |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3033 specifications in string form as accepted by `modify-syntax-entry' to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3034 the cons-cell form that is used for the values of the `syntax-table' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3035 text property, and in `font-lock-syntactic-keywords'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3036 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3037 Example: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3038 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3039 (string-to-syntax "()") |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3040 => (4 . 41) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3041 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3042 ** Emacs' reader supports CL read syntax for integers in bases |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3043 other than 10. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3044 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3045 *** `#BINTEGER' or `#bINTEGER' reads INTEGER in binary (radix 2). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3046 INTEGER optionally contains a sign. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3047 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3048 #b1111 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3049 => 15 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3050 #b-1111 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3051 => -15 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3052 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3053 *** `#OINTEGER' or `#oINTEGER' reads INTEGER in octal (radix 8). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3054 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3055 #o666 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3056 => 438 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3057 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3058 *** `#XINTEGER' or `#xINTEGER' reads INTEGER in hexadecimal (radix 16). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3059 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3060 #xbeef |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3061 => 48815 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3062 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3063 *** `#RADIXrINTEGER' reads INTEGER in radix RADIX, 2 <= RADIX <= 36. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3064 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3065 #2R-111 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3066 => -7 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3067 #25rah |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3068 => 267 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3069 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3070 ** The function `documentation-property' now evaluates the value of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3071 the given property to obtain a string if it doesn't refer to etc/DOC |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3072 and isn't a string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3073 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3074 ** If called for a symbol, the function `documentation' now looks for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3075 a `function-documentation' property of that symbol. If it has a non-nil |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3076 value, the documentation is taken from that value. If the value is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3077 not a string, it is evaluated to obtain a string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3078 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3079 ** The last argument of `define-key-after' defaults to t for convenience. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3080 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3081 ** The new function `replace-regexp-in-string' replaces all matches |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3082 for a regexp in a string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3083 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3084 ** `mouse-position' now runs the abnormal hook |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3085 `mouse-position-function'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3086 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3087 ** The function string-to-number now returns a float for numbers |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3088 that don't fit into a Lisp integer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3089 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3090 ** The variable keyword-symbols-constants-flag has been removed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3091 Keywords are now always considered constants. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3092 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3093 ** The new function `delete-and-extract-region' deletes text and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3094 returns it. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3095 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3096 ** The function `clear-this-command-keys' now also clears the vector |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3097 returned by function `recent-keys'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3098 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3099 ** Variables `beginning-of-defun-function' and `end-of-defun-function' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3100 can be used to define handlers for the functions that find defuns. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3101 Major modes can define these locally instead of rebinding C-M-a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3102 etc. if the normal conventions for defuns are not appropriate for the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3103 mode. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3104 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3105 ** easy-mmode-define-minor-mode now takes an additional BODY argument |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3106 and is renamed `define-minor-mode'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3107 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3108 ** If an abbrev has a hook function which is a symbol, and that symbol |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3109 has a non-nil `no-self-insert' property, the return value of the hook |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3110 function specifies whether an expansion has been done or not. If it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3111 returns nil, abbrev-expand also returns nil, meaning "no expansion has |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3112 been performed." |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3113 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3114 When abbrev expansion is done by typing a self-inserting character, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3115 and the abbrev has a hook with the `no-self-insert' property, and the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3116 hook function returns non-nil meaning expansion has been done, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3117 then the self-inserting character is not inserted. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3118 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3119 ** The function `intern-soft' now accepts a symbol as first argument. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3120 In this case, that exact symbol is looked up in the specified obarray, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3121 and the function's value is nil if it is not found. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3122 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3123 ** The new macro `with-syntax-table' can be used to evaluate forms |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3124 with the syntax table of the current buffer temporarily set to a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3125 specified table. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3126 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3127 (with-syntax-table TABLE &rest BODY) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3128 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3129 Evaluate BODY with syntax table of current buffer set to a copy of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3130 TABLE. The current syntax table is saved, BODY is evaluated, and the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3131 saved table is restored, even in case of an abnormal exit. Value is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3132 what BODY returns. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3133 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3134 ** Regular expressions now support intervals \{n,m\} as well as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3135 Perl's shy-groups \(?:...\) and non-greedy *? +? and ?? operators. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3136 Also back-references like \2 are now considered as an error if the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3137 corresponding subgroup does not exist (or is not closed yet). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3138 Previously it would have been silently turned into `2' (ignoring the `\'). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3139 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3140 ** The optional argument BUFFER of function file-local-copy has been |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3141 removed since it wasn't used by anything. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3142 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3143 ** The file name argument of function `file-locked-p' is now required |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3144 instead of being optional. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3145 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3146 ** The new built-in error `text-read-only' is signaled when trying to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3147 modify read-only text. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3148 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3149 ** New functions and variables for locales. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3150 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3151 The new variable `locale-coding-system' specifies how to encode and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3152 decode strings passed to low-level message functions like strerror and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3153 time functions like strftime. The new variables |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3154 `system-messages-locale' and `system-time-locale' give the system |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3155 locales to be used when invoking these two types of functions. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3156 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3157 The new function `set-locale-environment' sets the language |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3158 environment, preferred coding system, and locale coding system from |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3159 the system locale as specified by the LC_ALL, LC_CTYPE, and LANG |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3160 environment variables. Normally, it is invoked during startup and need |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3161 not be invoked thereafter. It uses the new variables |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3162 `locale-language-names', `locale-charset-language-names', and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3163 `locale-preferred-coding-systems' to make its decisions. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3164 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3165 ** syntax tables now understand nested comments. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3166 To declare a comment syntax as allowing nesting, just add an `n' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3167 modifier to either of the characters of the comment end and the comment |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3168 start sequences. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3169 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3170 ** The function `pixmap-spec-p' has been renamed `bitmap-spec-p' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3171 because `bitmap' is more in line with the usual X terminology. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3172 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3173 ** New function `propertize' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3174 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3175 The new function `propertize' can be used to conveniently construct |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3176 strings with text properties. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3177 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3178 - Function: propertize STRING &rest PROPERTIES |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3179 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3180 Value is a copy of STRING with text properties assigned as specified |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3181 by PROPERTIES. PROPERTIES is a sequence of pairs PROPERTY VALUE, with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3182 PROPERTY being the name of a text property and VALUE being the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3183 specified value of that property. Example: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3184 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3185 (propertize "foo" 'face 'bold 'read-only t) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3186 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3187 ** push and pop macros. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3188 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3189 Simple versions of the push and pop macros of Common Lisp |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3190 are now defined in Emacs Lisp. These macros allow only symbols |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3191 as the place that holds the list to be changed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3192 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3193 (push NEWELT LISTNAME) add NEWELT to the front of LISTNAME's value. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3194 (pop LISTNAME) return first elt of LISTNAME, and remove it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3195 (thus altering the value of LISTNAME). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3196 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3197 ** New dolist and dotimes macros. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3198 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3199 Simple versions of the dolist and dotimes macros of Common Lisp |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3200 are now defined in Emacs Lisp. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3201 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3202 (dolist (VAR LIST [RESULT]) BODY...) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3203 Execute body once for each element of LIST, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3204 using the variable VAR to hold the current element. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3205 Then return the value of RESULT, or nil if RESULT is omitted. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3206 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3207 (dotimes (VAR COUNT [RESULT]) BODY...) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3208 Execute BODY with VAR bound to successive integers running from 0, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3209 inclusive, to COUNT, exclusive. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3210 Then return the value of RESULT, or nil if RESULT is omitted. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3211 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3212 ** Regular expressions now support Posix character classes such as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3213 [:alpha:], [:space:] and so on. These must be used within a character |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3214 class--for instance, [-[:digit:].+] matches digits or a period |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3215 or a sign. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3216 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3217 [:digit:] matches 0 through 9 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3218 [:cntrl:] matches ASCII control characters |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3219 [:xdigit:] matches 0 through 9, a through f and A through F. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3220 [:blank:] matches space and tab only |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3221 [:graph:] matches graphic characters--everything except ASCII control chars, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3222 space, and DEL. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3223 [:print:] matches printing characters--everything except ASCII control chars |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3224 and DEL. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3225 [:alnum:] matches letters and digits. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3226 (But at present, for multibyte characters, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3227 it matches anything that has word syntax.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3228 [:alpha:] matches letters. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3229 (But at present, for multibyte characters, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3230 it matches anything that has word syntax.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3231 [:ascii:] matches ASCII (unibyte) characters. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3232 [:nonascii:] matches non-ASCII (multibyte) characters. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3233 [:lower:] matches anything lower-case. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3234 [:punct:] matches punctuation. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3235 (But at present, for multibyte characters, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3236 it matches anything that has non-word syntax.) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3237 [:space:] matches anything that has whitespace syntax. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3238 [:upper:] matches anything upper-case. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3239 [:word:] matches anything that has word syntax. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3240 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3241 ** Emacs now has built-in hash tables. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3242 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3243 The following functions are defined for hash tables: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3244 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3245 - Function: make-hash-table ARGS |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3246 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3247 The argument list ARGS consists of keyword/argument pairs. All arguments |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3248 are optional. The following arguments are defined: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3249 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3250 :test TEST |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3251 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3252 TEST must be a symbol specifying how to compare keys. Default is `eql'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3253 Predefined are `eq', `eql' and `equal'. If TEST is not predefined, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3254 it must have been defined with `define-hash-table-test'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3255 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3256 :size SIZE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3257 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3258 SIZE must be an integer > 0 giving a hint to the implementation how |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3259 many elements will be put in the hash table. Default size is 65. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3260 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3261 :rehash-size REHASH-SIZE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3262 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3263 REHASH-SIZE specifies by how much to grow a hash table once it becomes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3264 full. If REHASH-SIZE is an integer, add that to the hash table's old |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3265 size to get the new size. Otherwise, REHASH-SIZE must be a float > |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3266 1.0, and the new size is computed by multiplying REHASH-SIZE with the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3267 old size. Default rehash size is 1.5. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3268 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3269 :rehash-threshold THRESHOLD |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3270 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3271 THRESHOLD must be a float > 0 and <= 1.0 specifying when to resize the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3272 hash table. It is resized when the ratio of (number of entries) / |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3273 (size of hash table) is >= THRESHOLD. Default threshold is 0.8. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3274 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3275 :weakness WEAK |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3276 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3277 WEAK must be either nil, one of the symbols `key, `value', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3278 `key-or-value', `key-and-value', or t, meaning the same as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3279 `key-and-value'. Entries are removed from weak tables during garbage |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3280 collection if their key and/or value are not referenced elsewhere |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3281 outside of the hash table. Default are non-weak hash tables. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3282 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3283 - Function: makehash &optional TEST |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3284 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3285 Similar to make-hash-table, but only TEST can be specified. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3286 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3287 - Function: hash-table-p TABLE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3288 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3289 Returns non-nil if TABLE is a hash table object. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3290 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3291 - Function: copy-hash-table TABLE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3292 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3293 Returns a copy of TABLE. Only the table itself is copied, keys and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3294 values are shared. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3295 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3296 - Function: hash-table-count TABLE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3297 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3298 Returns the number of entries in TABLE. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3299 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3300 - Function: hash-table-rehash-size TABLE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3301 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3302 Returns the rehash size of TABLE. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3303 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3304 - Function: hash-table-rehash-threshold TABLE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3305 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3306 Returns the rehash threshold of TABLE. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3307 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3308 - Function: hash-table-rehash-size TABLE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3309 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3310 Returns the size of TABLE. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3311 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3312 - Function: hash-table-test TABLE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3313 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3314 Returns the test TABLE uses to compare keys. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3315 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3316 - Function: hash-table-weakness TABLE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3317 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3318 Returns the weakness specified for TABLE. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3319 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3320 - Function: clrhash TABLE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3321 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3322 Clear TABLE. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3323 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3324 - Function: gethash KEY TABLE &optional DEFAULT |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3325 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3326 Look up KEY in TABLE and return its associated VALUE or DEFAULT if |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3327 not found. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3328 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3329 - Function: puthash KEY VALUE TABLE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3330 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3331 Associate KEY with VALUE in TABLE. If KEY is already associated with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3332 another value, replace the old value with VALUE. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3333 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3334 - Function: remhash KEY TABLE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3335 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3336 Remove KEY from TABLE if it is there. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3337 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3338 - Function: maphash FUNCTION TABLE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3339 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3340 Call FUNCTION for all elements in TABLE. FUNCTION must take two |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3341 arguments KEY and VALUE. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3342 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3343 - Function: sxhash OBJ |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3344 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3345 Return a hash code for Lisp object OBJ. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3346 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3347 - Function: define-hash-table-test NAME TEST-FN HASH-FN |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3348 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3349 Define a new hash table test named NAME. If NAME is specified as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3350 a test in `make-hash-table', the table created will use TEST-FN for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3351 comparing keys, and HASH-FN to compute hash codes for keys. Test |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3352 and hash function are stored as symbol property `hash-table-test' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3353 of NAME with a value of (TEST-FN HASH-FN). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3354 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3355 TEST-FN must take two arguments and return non-nil if they are the same. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3356 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3357 HASH-FN must take one argument and return an integer that is the hash |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3358 code of the argument. The function should use the whole range of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3359 integer values for hash code computation, including negative integers. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3360 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3361 Example: The following creates a hash table whose keys are supposed to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3362 be strings that are compared case-insensitively. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3363 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3364 (defun case-fold-string= (a b) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3365 (compare-strings a nil nil b nil nil t)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3366 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3367 (defun case-fold-string-hash (a) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3368 (sxhash (upcase a))) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3369 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3370 (define-hash-table-test 'case-fold 'case-fold-string= |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3371 'case-fold-string-hash)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3372 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3373 (make-hash-table :test 'case-fold) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3374 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3375 ** The Lisp reader handles circular structure. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3376 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3377 It now works to use the #N= and #N# constructs to represent |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3378 circular structures. For example, #1=(a . #1#) represents |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3379 a cons cell which is its own cdr. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3380 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3381 ** The Lisp printer handles circular structure. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3382 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3383 If you bind print-circle to a non-nil value, the Lisp printer outputs |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3384 #N= and #N# constructs to represent circular and shared structure. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3385 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3386 ** If the second argument to `move-to-column' is anything but nil or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3387 t, that means replace a tab with spaces if necessary to reach the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3388 specified column, but do not add spaces at the end of the line if it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3389 is too short to reach that column. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3390 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3391 ** perform-replace has a new feature: the REPLACEMENTS argument may |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3392 now be a cons cell (FUNCTION . DATA). This means to call FUNCTION |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3393 after each match to get the replacement text. FUNCTION is called with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3394 two arguments: DATA, and the number of replacements already made. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3395 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3396 If the FROM-STRING contains any upper-case letters, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3397 perform-replace also turns off `case-fold-search' temporarily |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3398 and inserts the replacement text without altering case in it. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3399 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3400 ** The function buffer-size now accepts an optional argument |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3401 to specify which buffer to return the size of. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3402 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3403 ** The calendar motion commands now run the normal hook |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3404 calendar-move-hook after moving point. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3405 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3406 ** The new variable small-temporary-file-directory specifies a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3407 directory to use for creating temporary files that are likely to be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3408 small. (Certain Emacs features use this directory.) If |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3409 small-temporary-file-directory is nil, they use |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3410 temporary-file-directory instead. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3411 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3412 ** The variable `inhibit-modification-hooks', if non-nil, inhibits all |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3413 the hooks that track changes in the buffer. This affects |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3414 `before-change-functions' and `after-change-functions', as well as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3415 hooks attached to text properties and overlay properties. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3416 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3417 ** assq-delete-all is a new function that deletes all the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3418 elements of an alist which have a car `eq' to a particular value. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3419 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3420 ** make-temp-file provides a more reliable way to create a temporary file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3421 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3422 make-temp-file is used like make-temp-name, except that it actually |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3423 creates the file before it returns. This prevents a timing error, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3424 ensuring that no other job can use the same name for a temporary file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3425 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3426 ** New exclusive-open feature in `write-region' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3427 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3428 The optional seventh arg is now called MUSTBENEW. If non-nil, it insists |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3429 on a check for an existing file with the same name. If MUSTBENEW |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3430 is `excl', that means to get an error if the file already exists; |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3431 never overwrite. If MUSTBENEW is neither nil nor `excl', that means |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3432 ask for confirmation before overwriting, but do go ahead and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3433 overwrite the file if the user gives confirmation. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3434 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3435 If the MUSTBENEW argument in `write-region' is `excl', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3436 that means to use a special feature in the `open' system call |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3437 to get an error if the file exists at that time. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3438 The error reported is `file-already-exists'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3439 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3440 ** Function `format' now handles text properties. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3441 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3442 Text properties of the format string are applied to the result string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3443 If the result string is longer than the format string, text properties |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3444 ending at the end of the format string are extended to the end of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3445 result string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3446 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3447 Text properties from string arguments are applied to the result |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3448 string where arguments appear in the result string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3449 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3450 Example: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3451 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3452 (let ((s1 "hello, %s") |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3453 (s2 "world")) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3454 (put-text-property 0 (length s1) 'face 'bold s1) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3455 (put-text-property 0 (length s2) 'face 'italic s2) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3456 (format s1 s2)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3457 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3458 results in a bold-face string with an italic `world' at the end. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3459 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3460 ** Messages can now be displayed with text properties. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3461 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3462 Text properties are handled as described above for function `format'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3463 The following example displays a bold-face message with an italic |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3464 argument in it. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3465 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3466 (let ((msg "hello, %s!") |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3467 (arg "world")) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3468 (put-text-property 0 (length msg) 'face 'bold msg) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3469 (put-text-property 0 (length arg) 'face 'italic arg) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3470 (message msg arg)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3471 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3472 ** Sound support |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3473 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3474 Emacs supports playing sound files on GNU/Linux and the free BSDs |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3475 (Voxware driver and native BSD driver, aka as Luigi's driver). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3476 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3477 Currently supported file formats are RIFF-WAVE (*.wav) and Sun Audio |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3478 (*.au). You must configure Emacs with the option `--with-sound=yes' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3479 to enable sound support. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3480 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3481 Sound files can be played by calling (play-sound SOUND). SOUND is a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3482 list of the form `(sound PROPERTY...)'. The function is only defined |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3483 when sound support is present for the system on which Emacs runs. The |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3484 functions runs `play-sound-functions' with one argument which is the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3485 sound to play, before playing the sound. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3486 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3487 The following sound properties are supported: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3488 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3489 - `:file FILE' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3490 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3491 FILE is a file name. If FILE isn't an absolute name, it will be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3492 searched relative to `data-directory'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3493 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3494 - `:data DATA' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3495 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3496 DATA is a string containing sound data. Either :file or :data |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3497 may be present, but not both. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3498 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3499 - `:volume VOLUME' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3500 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3501 VOLUME must be an integer in the range 0..100 or a float in the range |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3502 0..1. This property is optional. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3503 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3504 - `:device DEVICE' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3505 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3506 DEVICE is a string specifying the system device on which to play the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3507 sound. The default device is system-dependent. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3508 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3509 Other properties are ignored. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3510 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3511 An alternative interface is called as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3512 (play-sound-file FILE &optional VOLUME DEVICE). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3513 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3514 ** `multimedia' is a new Finder keyword and Custom group. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3515 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3516 ** keywordp is a new predicate to test efficiently for an object being |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3517 a keyword symbol. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3518 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3519 ** Changes to garbage collection |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3520 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3521 *** The function garbage-collect now additionally returns the number |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3522 of live and free strings. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3523 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3524 *** There is a new variable `strings-consed' holding the number of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3525 strings that have been consed so far. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3526 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3527 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3528 * Lisp-level Display features added after release 2.6 of the Emacs |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3529 Lisp Manual |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3530 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3531 ** The user-option `resize-mini-windows' controls how Emacs resizes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3532 mini-windows. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3533 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3534 ** The function `pos-visible-in-window-p' now has a third optional |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3535 argument, PARTIALLY. If a character is only partially visible, nil is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3536 returned, unless PARTIALLY is non-nil. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3537 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3538 ** On window systems, `glyph-table' is no longer used. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3539 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3540 ** Help strings in menu items are now used to provide `help-echo' text. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3541 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3542 ** The function `image-size' can be used to determine the size of an |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3543 image. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3544 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3545 - Function: image-size SPEC &optional PIXELS FRAME |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3546 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3547 Return the size of an image as a pair (WIDTH . HEIGHT). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3548 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3549 SPEC is an image specification. PIXELS non-nil means return sizes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3550 measured in pixels, otherwise return sizes measured in canonical |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3551 character units (fractions of the width/height of the frame's default |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3552 font). FRAME is the frame on which the image will be displayed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3553 FRAME nil or omitted means use the selected frame. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3554 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3555 ** The function `image-mask-p' can be used to determine if an image |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3556 has a mask bitmap. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3557 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3558 - Function: image-mask-p SPEC &optional FRAME |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3559 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3560 Return t if image SPEC has a mask bitmap. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3561 FRAME is the frame on which the image will be displayed. FRAME nil |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3562 or omitted means use the selected frame. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3563 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3564 ** The function `find-image' can be used to find a usable image |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3565 satisfying one of a list of specifications. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3566 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3567 ** The STRING argument of `put-image' and `insert-image' is now |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3568 optional. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3569 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3570 ** Image specifications may contain the property `:ascent center' (see |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3571 below). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3572 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3573 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3574 * New Lisp-level Display features in Emacs 21.1 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3575 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3576 ** The function tty-suppress-bold-inverse-default-colors can be used |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3577 to make Emacs avoid displaying text with bold black foreground on TTYs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3578 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3579 Some terminals, notably PC consoles, emulate bold text by displaying |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3580 text in brighter colors. On such a console, a bold black foreground |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3581 is displayed in a gray color. If this turns out to be hard to read on |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3582 your monitor---the problem occurred with the mode line on |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3583 laptops---you can instruct Emacs to ignore the text's boldness, and to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3584 just display it black instead. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3585 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3586 This situation can't be detected automatically. You will have to put |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3587 a line like |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3588 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3589 (tty-suppress-bold-inverse-default-colors t) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3590 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3591 in your `.emacs'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3592 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3593 ** New face implementation. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3594 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3595 Emacs faces have been reimplemented from scratch. They don't use XLFD |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3596 font names anymore and face merging now works as expected. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3597 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3598 *** New faces. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3599 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3600 Each face can specify the following display attributes: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3601 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3602 1. Font family or fontset alias name. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3603 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3604 2. Relative proportionate width, aka character set width or set |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3605 width (swidth), e.g. `semi-compressed'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3606 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3607 3. Font height in 1/10pt |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3608 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3609 4. Font weight, e.g. `bold'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3610 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3611 5. Font slant, e.g. `italic'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3612 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3613 6. Foreground color. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3614 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3615 7. Background color. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3616 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3617 8. Whether or not characters should be underlined, and in what color. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3618 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3619 9. Whether or not characters should be displayed in inverse video. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3620 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3621 10. A background stipple, a bitmap. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3622 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3623 11. Whether or not characters should be overlined, and in what color. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3624 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3625 12. Whether or not characters should be strike-through, and in what |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3626 color. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3627 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3628 13. Whether or not a box should be drawn around characters, its |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3629 color, the width of the box lines, and 3D appearance. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3630 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3631 Faces are frame-local by nature because Emacs allows to define the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3632 same named face (face names are symbols) differently for different |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3633 frames. Each frame has an alist of face definitions for all named |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3634 faces. The value of a named face in such an alist is a Lisp vector |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3635 with the symbol `face' in slot 0, and a slot for each of the face |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3636 attributes mentioned above. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3637 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3638 There is also a global face alist `face-new-frame-defaults'. Face |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3639 definitions from this list are used to initialize faces of newly |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3640 created frames. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3641 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3642 A face doesn't have to specify all attributes. Those not specified |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3643 have a nil value. Faces specifying all attributes are called |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3644 `fully-specified'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3645 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3646 *** Face merging. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3647 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3648 The display style of a given character in the text is determined by |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3649 combining several faces. This process is called `face merging'. Any |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3650 aspect of the display style that isn't specified by overlays or text |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3651 properties is taken from the `default' face. Since it is made sure |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3652 that the default face is always fully-specified, face merging always |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3653 results in a fully-specified face. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3654 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3655 *** Face realization. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3656 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3657 After all face attributes for a character have been determined by |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3658 merging faces of that character, that face is `realized'. The |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3659 realization process maps face attributes to what is physically |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3660 available on the system where Emacs runs. The result is a `realized |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3661 face' in form of an internal structure which is stored in the face |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3662 cache of the frame on which it was realized. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3663 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3664 Face realization is done in the context of the charset of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3665 character to display because different fonts and encodings are used |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3666 for different charsets. In other words, for characters of different |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3667 charsets, different realized faces are needed to display them. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3668 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3669 Except for composite characters, faces are always realized for a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3670 specific character set and contain a specific font, even if the face |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3671 being realized specifies a fontset. The reason is that the result of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3672 the new font selection stage is better than what can be done with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3673 statically defined font name patterns in fontsets. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3674 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3675 In unibyte text, Emacs' charsets aren't applicable; function |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3676 `char-charset' reports ASCII for all characters, including those > |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3677 0x7f. The X registry and encoding of fonts to use is determined from |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3678 the variable `face-default-registry' in this case. The variable is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3679 initialized at Emacs startup time from the font the user specified for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3680 Emacs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3681 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3682 Currently all unibyte text, i.e. all buffers with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3683 `enable-multibyte-characters' nil are displayed with fonts of the same |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3684 registry and encoding `face-default-registry'. This is consistent |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3685 with the fact that languages can also be set globally, only. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3686 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3687 **** Clearing face caches. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3688 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3689 The Lisp function `clear-face-cache' can be called to clear face caches |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3690 on all frames. If called with a non-nil argument, it will also unload |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3691 unused fonts. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3692 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3693 *** Font selection. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3694 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3695 Font selection tries to find the best available matching font for a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3696 given (charset, face) combination. This is done slightly differently |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3697 for faces specifying a fontset, or a font family name. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3698 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3699 If the face specifies a fontset name, that fontset determines a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3700 pattern for fonts of the given charset. If the face specifies a font |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3701 family, a font pattern is constructed. Charset symbols have a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3702 property `x-charset-registry' for that purpose that maps a charset to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3703 an XLFD registry and encoding in the font pattern constructed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3704 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3705 Available fonts on the system on which Emacs runs are then matched |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3706 against the font pattern. The result of font selection is the best |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3707 match for the given face attributes in this font list. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3708 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3709 Font selection can be influenced by the user. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3710 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3711 The user can specify the relative importance he gives the face |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3712 attributes width, height, weight, and slant by setting |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3713 face-font-selection-order (faces.el) to a list of face attribute |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3714 names. The default is (:width :height :weight :slant), and means |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3715 that font selection first tries to find a good match for the font |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3716 width specified by a face, then---within fonts with that width---tries |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3717 to find a best match for the specified font height, etc. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3718 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3719 Setting `face-font-family-alternatives' allows the user to specify |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3720 alternative font families to try if a family specified by a face |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3721 doesn't exist. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3722 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3723 Setting `face-font-registry-alternatives' allows the user to specify |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3724 all alternative font registry names to try for a face specifying a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3725 registry. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3726 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3727 Please note that the interpretations of the above two variables are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3728 slightly different. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3729 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3730 Setting face-ignored-fonts allows the user to ignore specific fonts. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3731 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3732 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3733 **** Scalable fonts |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3734 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3735 Emacs can make use of scalable fonts but doesn't do so by default, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3736 since the use of too many or too big scalable fonts may crash XFree86 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3737 servers. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3738 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3739 To enable scalable font use, set the variable |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3740 `scalable-fonts-allowed'. A value of nil, the default, means never use |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3741 scalable fonts. A value of t means any scalable font may be used. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3742 Otherwise, the value must be a list of regular expressions. A |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3743 scalable font may then be used if it matches a regular expression from |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3744 that list. Example: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3745 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3746 (setq scalable-fonts-allowed '("muleindian-2$")) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3747 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3748 allows the use of scalable fonts with registry `muleindian-2'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3749 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3750 *** Functions and variables related to font selection. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3751 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3752 - Function: x-family-fonts &optional FAMILY FRAME |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3753 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3754 Return a list of available fonts of family FAMILY on FRAME. If FAMILY |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3755 is omitted or nil, list all families. Otherwise, FAMILY must be a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3756 string, possibly containing wildcards `?' and `*'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3757 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3758 If FRAME is omitted or nil, use the selected frame. Each element of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3759 the result is a vector [FAMILY WIDTH POINT-SIZE WEIGHT SLANT FIXED-P |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3760 FULL REGISTRY-AND-ENCODING]. FAMILY is the font family name. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3761 POINT-SIZE is the size of the font in 1/10 pt. WIDTH, WEIGHT, and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3762 SLANT are symbols describing the width, weight and slant of the font. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3763 These symbols are the same as for face attributes. FIXED-P is non-nil |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3764 if the font is fixed-pitch. FULL is the full name of the font, and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3765 REGISTRY-AND-ENCODING is a string giving the registry and encoding of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3766 the font. The result list is sorted according to the current setting |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3767 of the face font sort order. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3768 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3769 - Function: x-font-family-list |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3770 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3771 Return a list of available font families on FRAME. If FRAME is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3772 omitted or nil, use the selected frame. Value is a list of conses |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3773 (FAMILY . FIXED-P) where FAMILY is a font family, and FIXED-P is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3774 non-nil if fonts of that family are fixed-pitch. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3775 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3776 - Variable: font-list-limit |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3777 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3778 Limit for font matching. If an integer > 0, font matching functions |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3779 won't load more than that number of fonts when searching for a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3780 matching font. The default is currently 100. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3781 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3782 *** Setting face attributes. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3783 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3784 For the most part, the new face implementation is interface-compatible |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3785 with the old one. Old face attribute related functions are now |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3786 implemented in terms of the new functions `set-face-attribute' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3787 `face-attribute'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3788 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3789 Face attributes are identified by their names which are keyword |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3790 symbols. All attributes can be set to `unspecified'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3791 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3792 The following attributes are recognized: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3793 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3794 `:family' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3795 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3796 VALUE must be a string specifying the font family, e.g. ``courier'', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3797 or a fontset alias name. If a font family is specified, wild-cards `*' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3798 and `?' are allowed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3799 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3800 `:width' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3801 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3802 VALUE specifies the relative proportionate width of the font to use. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3803 It must be one of the symbols `ultra-condensed', `extra-condensed', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3804 `condensed', `semi-condensed', `normal', `semi-expanded', `expanded', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3805 `extra-expanded', or `ultra-expanded'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3806 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3807 `:height' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3808 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3809 VALUE must be either an integer specifying the height of the font to use |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3810 in 1/10 pt, a floating point number specifying the amount by which to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3811 scale any underlying face, or a function, which is called with the old |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3812 height (from the underlying face), and should return the new height. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3813 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3814 `:weight' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3815 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3816 VALUE specifies the weight of the font to use. It must be one of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3817 symbols `ultra-bold', `extra-bold', `bold', `semi-bold', `normal', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3818 `semi-light', `light', `extra-light', `ultra-light'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3819 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3820 `:slant' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3821 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3822 VALUE specifies the slant of the font to use. It must be one of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3823 symbols `italic', `oblique', `normal', `reverse-italic', or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3824 `reverse-oblique'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3825 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3826 `:foreground', `:background' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3827 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3828 VALUE must be a color name, a string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3829 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3830 `:underline' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3831 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3832 VALUE specifies whether characters in FACE should be underlined. If |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3833 VALUE is t, underline with foreground color of the face. If VALUE is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3834 a string, underline with that color. If VALUE is nil, explicitly |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3835 don't underline. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3836 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3837 `:overline' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3838 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3839 VALUE specifies whether characters in FACE should be overlined. If |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3840 VALUE is t, overline with foreground color of the face. If VALUE is a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3841 string, overline with that color. If VALUE is nil, explicitly don't |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3842 overline. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3843 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3844 `:strike-through' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3845 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3846 VALUE specifies whether characters in FACE should be drawn with a line |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3847 striking through them. If VALUE is t, use the foreground color of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3848 face. If VALUE is a string, strike-through with that color. If VALUE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3849 is nil, explicitly don't strike through. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3850 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3851 `:box' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3852 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3853 VALUE specifies whether characters in FACE should have a box drawn |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3854 around them. If VALUE is nil, explicitly don't draw boxes. If |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3855 VALUE is t, draw a box with lines of width 1 in the foreground color |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3856 of the face. If VALUE is a string, the string must be a color name, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3857 and the box is drawn in that color with a line width of 1. Otherwise, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3858 VALUE must be a property list of the form `(:line-width WIDTH |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3859 :color COLOR :style STYLE)'. If a keyword/value pair is missing from |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3860 the property list, a default value will be used for the value, as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3861 specified below. WIDTH specifies the width of the lines to draw; it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3862 defaults to 1. COLOR is the name of the color to draw in, default is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3863 the foreground color of the face for simple boxes, and the background |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3864 color of the face for 3D boxes. STYLE specifies whether a 3D box |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3865 should be draw. If STYLE is `released-button', draw a box looking |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3866 like a released 3D button. If STYLE is `pressed-button' draw a box |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3867 that appears like a pressed button. If STYLE is nil, the default if |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3868 the property list doesn't contain a style specification, draw a 2D |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3869 box. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3870 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3871 `:inverse-video' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3872 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3873 VALUE specifies whether characters in FACE should be displayed in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3874 inverse video. VALUE must be one of t or nil. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3875 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3876 `:stipple' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3877 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3878 If VALUE is a string, it must be the name of a file of pixmap data. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3879 The directories listed in the `x-bitmap-file-path' variable are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3880 searched. Alternatively, VALUE may be a list of the form (WIDTH |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3881 HEIGHT DATA) where WIDTH and HEIGHT are the size in pixels, and DATA |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3882 is a string containing the raw bits of the bitmap. VALUE nil means |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3883 explicitly don't use a stipple pattern. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3884 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3885 For convenience, attributes `:family', `:width', `:height', `:weight', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3886 and `:slant' may also be set in one step from an X font name: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3887 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3888 `:font' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3889 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3890 Set font-related face attributes from VALUE. VALUE must be a valid |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3891 XLFD font name. If it is a font name pattern, the first matching font |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3892 is used--this is for compatibility with the behavior of previous |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3893 versions of Emacs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3894 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3895 For compatibility with Emacs 20, keywords `:bold' and `:italic' can |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3896 be used to specify that a bold or italic font should be used. VALUE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3897 must be t or nil in that case. A value of `unspecified' is not allowed." |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3898 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3899 Please see also the documentation of `set-face-attribute' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3900 `defface'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3901 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3902 `:inherit' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3903 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3904 VALUE is the name of a face from which to inherit attributes, or a list |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3905 of face names. Attributes from inherited faces are merged into the face |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3906 like an underlying face would be, with higher priority than underlying faces. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3907 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3908 *** Face attributes and X resources |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3909 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3910 The following X resource names can be used to set face attributes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3911 from X resources: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3912 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3913 Face attribute X resource class |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3914 ----------------------------------------------------------------------- |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3915 :family attributeFamily . Face.AttributeFamily |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3916 :width attributeWidth Face.AttributeWidth |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3917 :height attributeHeight Face.AttributeHeight |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3918 :weight attributeWeight Face.AttributeWeight |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3919 :slant attributeSlant Face.AttributeSlant |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3920 foreground attributeForeground Face.AttributeForeground |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3921 :background attributeBackground . Face.AttributeBackground |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3922 :overline attributeOverline Face.AttributeOverline |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3923 :strike-through attributeStrikeThrough Face.AttributeStrikeThrough |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3924 :box attributeBox Face.AttributeBox |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3925 :underline attributeUnderline Face.AttributeUnderline |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3926 :inverse-video attributeInverse Face.AttributeInverse |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3927 :stipple attributeStipple Face.AttributeStipple |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3928 or attributeBackgroundPixmap |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3929 Face.AttributeBackgroundPixmap |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3930 :font attributeFont Face.AttributeFont |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3931 :bold attributeBold Face.AttributeBold |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3932 :italic attributeItalic . Face.AttributeItalic |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3933 :font attributeFont Face.AttributeFont |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3934 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3935 *** Text property `face'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3936 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3937 The value of the `face' text property can now be a single face |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3938 specification or a list of such specifications. Each face |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3939 specification can be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3940 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3941 1. A symbol or string naming a Lisp face. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3942 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3943 2. A property list of the form (KEYWORD VALUE ...) where each |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3944 KEYWORD is a face attribute name, and VALUE is an appropriate value |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3945 for that attribute. Please see the doc string of `set-face-attribute' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3946 for face attribute names. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3947 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3948 3. Conses of the form (FOREGROUND-COLOR . COLOR) or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3949 (BACKGROUND-COLOR . COLOR) where COLOR is a color name. This is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3950 for compatibility with previous Emacs versions. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3951 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3952 ** Support functions for colors on text-only terminals. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3953 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3954 The function `tty-color-define' can be used to define colors for use |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3955 on TTY and MSDOS frames. It maps a color name to a color number on |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3956 the terminal. Emacs defines a couple of common color mappings by |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3957 default. You can get defined colors with a call to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3958 `defined-colors'. The function `tty-color-clear' can be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3959 used to clear the mapping table. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3960 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3961 ** Unified support for colors independent of frame type. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3962 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3963 The new functions `defined-colors', `color-defined-p', `color-values', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3964 and `display-color-p' work for any type of frame. On frames whose |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3965 type is neither x nor w32, these functions transparently map X-style |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3966 color specifications to the closest colors supported by the frame |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3967 display. Lisp programs should use these new functions instead of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3968 old `x-defined-colors', `x-color-defined-p', `x-color-values', and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3969 `x-display-color-p'. (The old function names are still available for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3970 compatibility; they are now aliases of the new names.) Lisp programs |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3971 should no more look at the value of the variable window-system to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3972 modify their color-related behavior. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3973 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3974 The primitives `color-gray-p' and `color-supported-p' also work for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3975 any frame type. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3976 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3977 ** Platform-independent functions to describe display capabilities. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3978 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3979 The new functions `display-mouse-p', `display-popup-menus-p', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3980 `display-graphic-p', `display-selections-p', `display-screens', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3981 `display-pixel-width', `display-pixel-height', `display-mm-width', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3982 `display-mm-height', `display-backing-store', `display-save-under', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3983 `display-planes', `display-color-cells', `display-visual-class', and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3984 `display-grayscale-p' describe the basic capabilities of a particular |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3985 display. Lisp programs should call these functions instead of testing |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3986 the value of the variables `window-system' or `system-type', or calling |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3987 platform-specific functions such as `x-display-pixel-width'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3988 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3989 The new function `display-images-p' returns non-nil if a particular |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3990 display can display image files. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3991 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3992 ** The minibuffer prompt is now actually inserted in the minibuffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3993 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3994 This makes it possible to scroll through the prompt, if you want to. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3995 To disallow this completely (like previous versions of emacs), customize |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3996 the variable `minibuffer-prompt-properties', and turn on the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3997 `Inviolable' option. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3998 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
3999 The function `minibuffer-prompt-end' returns the current position of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4000 end of the minibuffer prompt, if the minibuffer is current. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4001 Otherwise, it returns `(point-min)'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4002 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4003 ** New `field' abstraction in buffers. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4004 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4005 There is now code to support an abstraction called `fields' in emacs |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4006 buffers. A field is a contiguous region of text with the same `field' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4007 property (which can be a text property or an overlay). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4008 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4009 Many emacs functions, such as forward-word, forward-sentence, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4010 forward-paragraph, beginning-of-line, etc., stop moving when they come |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4011 to the boundary between fields; beginning-of-line and end-of-line will |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4012 not let the point move past the field boundary, but other movement |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4013 commands continue into the next field if repeated. Stopping at field |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4014 boundaries can be suppressed programmatically by binding |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4015 `inhibit-field-text-motion' to a non-nil value around calls to these |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4016 functions. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4017 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4018 Now that the minibuffer prompt is inserted into the minibuffer, it is in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4019 a separate field from the user-input part of the buffer, so that common |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4020 editing commands treat the user's text separately from the prompt. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4021 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4022 The following functions are defined for operating on fields: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4023 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4024 - Function: constrain-to-field NEW-POS OLD-POS &optional ESCAPE-FROM-EDGE ONLY-IN-LINE INHIBIT-CAPTURE-PROPERTY |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4025 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4026 Return the position closest to NEW-POS that is in the same field as OLD-POS. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4027 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4028 A field is a region of text with the same `field' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4029 If NEW-POS is nil, then the current point is used instead, and set to the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4030 constrained position if that is different. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4031 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4032 If OLD-POS is at the boundary of two fields, then the allowable |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4033 positions for NEW-POS depends on the value of the optional argument |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4034 ESCAPE-FROM-EDGE: If ESCAPE-FROM-EDGE is nil, then NEW-POS is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4035 constrained to the field that has the same `field' char-property |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4036 as any new characters inserted at OLD-POS, whereas if ESCAPE-FROM-EDGE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4037 is non-nil, NEW-POS is constrained to the union of the two adjacent |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4038 fields. Additionally, if two fields are separated by another field with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4039 the special value `boundary', then any point within this special field is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4040 also considered to be `on the boundary'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4041 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4042 If the optional argument ONLY-IN-LINE is non-nil and constraining |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4043 NEW-POS would move it to a different line, NEW-POS is returned |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4044 unconstrained. This useful for commands that move by line, like |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4045 C-n or C-a, which should generally respect field boundaries |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4046 only in the case where they can still move to the right line. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4047 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4048 If the optional argument INHIBIT-CAPTURE-PROPERTY is non-nil, and OLD-POS has |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4049 a non-nil property of that name, then any field boundaries are ignored. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4050 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4051 Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4052 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4053 - Function: delete-field &optional POS |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4054 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4055 Delete the field surrounding POS. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4056 A field is a region of text with the same `field' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4057 If POS is nil, the value of point is used for POS. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4058 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4059 - Function: field-beginning &optional POS ESCAPE-FROM-EDGE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4060 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4061 Return the beginning of the field surrounding POS. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4062 A field is a region of text with the same `field' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4063 If POS is nil, the value of point is used for POS. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4064 If ESCAPE-FROM-EDGE is non-nil and POS is at the beginning of its |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4065 field, then the beginning of the *previous* field is returned. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4066 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4067 - Function: field-end &optional POS ESCAPE-FROM-EDGE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4068 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4069 Return the end of the field surrounding POS. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4070 A field is a region of text with the same `field' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4071 If POS is nil, the value of point is used for POS. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4072 If ESCAPE-FROM-EDGE is non-nil and POS is at the end of its field, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4073 then the end of the *following* field is returned. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4074 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4075 - Function: field-string &optional POS |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4076 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4077 Return the contents of the field surrounding POS as a string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4078 A field is a region of text with the same `field' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4079 If POS is nil, the value of point is used for POS. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4080 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4081 - Function: field-string-no-properties &optional POS |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4082 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4083 Return the contents of the field around POS, without text-properties. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4084 A field is a region of text with the same `field' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4085 If POS is nil, the value of point is used for POS. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4086 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4087 ** Image support. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4088 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4089 Emacs can now display images. Images are inserted into text by giving |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4090 strings or buffer text a `display' text property containing one of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4091 (AREA IMAGE) or IMAGE. The display of the `display' property value |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4092 replaces the display of the characters having that property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4093 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4094 If the property value has the form (AREA IMAGE), AREA must be one of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4095 `(margin left-margin)', `(margin right-margin)' or `(margin nil)'. If |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4096 AREA is `(margin nil)', IMAGE will be displayed in the text area of a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4097 window, otherwise it will be displayed in the left or right marginal |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4098 area. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4099 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4100 IMAGE is an image specification. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4101 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4102 *** Image specifications |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4103 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4104 Image specifications are lists of the form `(image PROPS)' where PROPS |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4105 is a property list whose keys are keyword symbols. Each |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4106 specifications must contain a property `:type TYPE' with TYPE being a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4107 symbol specifying the image type, e.g. `xbm'. Properties not |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4108 described below are ignored. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4109 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4110 The following is a list of properties all image types share. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4111 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4112 `:ascent ASCENT' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4113 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4114 ASCENT must be a number in the range 0..100, or the symbol `center'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4115 If it is a number, it specifies the percentage of the image's height |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4116 to use for its ascent. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4117 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4118 If not specified, ASCENT defaults to the value 50 which means that the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4119 image will be centered with the base line of the row it appears in. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4120 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4121 If ASCENT is `center' the image is vertically centered around a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4122 centerline which is the vertical center of text drawn at the position |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4123 of the image, in the manner specified by the text properties and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4124 overlays that apply to the image. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4125 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4126 `:margin MARGIN' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4127 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4128 MARGIN must be either a number >= 0 specifying how many pixels to put |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4129 as margin around the image, or a pair (X . Y) with X specifying the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4130 horizontal margin and Y specifying the vertical margin. Default is 0. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4131 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4132 `:relief RELIEF' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4133 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4134 RELIEF is analogous to the `:relief' attribute of faces. Puts a relief |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4135 around an image. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4136 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4137 `:conversion ALGO' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4138 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4139 Apply an image algorithm to the image before displaying it. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4140 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4141 ALGO `laplace' or `emboss' means apply a Laplace or ``emboss'' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4142 edge-detection algorithm to the image. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4143 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4144 ALGO `(edge-detection :matrix MATRIX :color-adjust ADJUST)' means |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4145 apply a general edge-detection algorithm. MATRIX must be either a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4146 nine-element list or a nine-element vector of numbers. A pixel at |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4147 position x/y in the transformed image is computed from original pixels |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4148 around that position. MATRIX specifies, for each pixel in the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4149 neighborhood of x/y, a factor with which that pixel will influence the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4150 transformed pixel; element 0 specifies the factor for the pixel at |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4151 x-1/y-1, element 1 the factor for the pixel at x/y-1 etc. as shown |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4152 below. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4153 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4154 (x-1/y-1 x/y-1 x+1/y-1 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4155 x-1/y x/y x+1/y |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4156 x-1/y+1 x/y+1 x+1/y+1) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4157 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4158 The resulting pixel is computed from the color intensity of the color |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4159 resulting from summing up the RGB values of surrounding pixels, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4160 multiplied by the specified factors, and dividing that sum by the sum |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4161 of the factors' absolute values. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4162 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4163 Laplace edge-detection currently uses a matrix of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4164 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4165 (1 0 0 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4166 0 0 0 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4167 9 9 -1) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4168 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4169 Emboss edge-detection uses a matrix of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4170 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4171 ( 2 -1 0 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4172 -1 0 1 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4173 0 1 -2) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4174 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4175 ALGO `disabled' means transform the image so that it looks |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4176 ``disabled''. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4177 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4178 `:mask MASK' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4179 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4180 If MASK is `heuristic' or `(heuristic BG)', build a clipping mask for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4181 the image, so that the background of a frame is visible behind the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4182 image. If BG is not specified, or if BG is t, determine the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4183 background color of the image by looking at the 4 corners of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4184 image, assuming the most frequently occurring color from the corners is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4185 the background color of the image. Otherwise, BG must be a list `(RED |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4186 GREEN BLUE)' specifying the color to assume for the background of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4187 image. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4188 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4189 If MASK is nil, remove a mask from the image, if it has one. Images |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4190 in some formats include a mask which can be removed by specifying |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4191 `:mask nil'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4192 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4193 `:file FILE' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4194 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4195 Load image from FILE. If FILE is not absolute after expanding it, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4196 search for the image in `data-directory'. Some image types support |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4197 building images from data. When this is done, no `:file' property |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4198 may be present in the image specification. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4199 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4200 `:data DATA' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4201 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4202 Get image data from DATA. (As of this writing, this is not yet |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4203 supported for image type `postscript'). Either :file or :data may be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4204 present in an image specification, but not both. All image types |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4205 support strings as DATA, some types allow additional types of DATA. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4206 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4207 *** Supported image types |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4208 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4209 **** XBM, image type `xbm'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4210 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4211 XBM images don't require an external library. Additional image |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4212 properties supported are: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4213 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4214 `:foreground FG' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4215 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4216 FG must be a string specifying the image foreground color, or nil |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4217 meaning to use the default. Default is the frame's foreground color. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4218 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4219 `:background BG' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4220 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4221 BG must be a string specifying the image background color, or nil |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4222 meaning to use the default. Default is the frame's background color. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4223 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4224 XBM images can be constructed from data instead of file. In this |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4225 case, the image specification must contain the following properties |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4226 instead of a `:file' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4227 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4228 `:width WIDTH' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4229 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4230 WIDTH specifies the width of the image in pixels. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4231 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4232 `:height HEIGHT' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4233 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4234 HEIGHT specifies the height of the image in pixels. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4235 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4236 `:data DATA' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4237 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4238 DATA must be either |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4239 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4240 1. a string large enough to hold the bitmap data, i.e. it must |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4241 have a size >= (WIDTH + 7) / 8 * HEIGHT |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4242 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4243 2. a bool-vector of size >= WIDTH * HEIGHT |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4244 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4245 3. a vector of strings or bool-vectors, one for each line of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4246 bitmap. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4247 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4248 4. a string that's an in-memory XBM file. Neither width nor |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4249 height may be specified in this case because these are defined |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4250 in the file. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4251 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4252 **** XPM, image type `xpm' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4253 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4254 XPM images require the external library `libXpm', package |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4255 `xpm-3.4k.tar.gz', version 3.4k or later. Make sure the library is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4256 found when Emacs is configured by supplying appropriate paths via |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4257 `--x-includes' and `--x-libraries'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4258 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4259 Additional image properties supported are: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4260 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4261 `:color-symbols SYMBOLS' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4262 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4263 SYMBOLS must be a list of pairs (NAME . COLOR), with NAME being the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4264 name of color as it appears in an XPM file, and COLOR being an X color |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4265 name. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4266 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4267 XPM images can be built from memory instead of files. In that case, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4268 add a `:data' property instead of a `:file' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4269 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4270 The XPM library uses libz in its implementation so that it is able |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4271 to display compressed images. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4272 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4273 **** PBM, image type `pbm' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4274 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4275 PBM images don't require an external library. Color, gray-scale and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4276 mono images are supported. Additional image properties supported for |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4277 mono images are: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4278 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4279 `:foreground FG' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4280 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4281 FG must be a string specifying the image foreground color, or nil |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4282 meaning to use the default. Default is the frame's foreground color. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4283 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4284 `:background FG' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4285 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4286 BG must be a string specifying the image background color, or nil |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4287 meaning to use the default. Default is the frame's background color. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4288 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4289 **** JPEG, image type `jpeg' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4290 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4291 Support for JPEG images requires the external library `libjpeg', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4292 package `jpegsrc.v6a.tar.gz', or later. There are no additional image |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4293 properties defined. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4294 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4295 **** TIFF, image type `tiff' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4296 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4297 Support for TIFF images requires the external library `libtiff', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4298 package `tiff-v3.4-tar.gz', or later. There are no additional image |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4299 properties defined. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4300 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4301 **** GIF, image type `gif' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4302 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4303 Support for GIF images requires the external library `libungif', package |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4304 `libungif-4.1.0', or later. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4305 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4306 Additional image properties supported are: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4307 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4308 `:index INDEX' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4309 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4310 INDEX must be an integer >= 0. Load image number INDEX from a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4311 multi-image GIF file. If INDEX is too large, the image displays |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4312 as a hollow box. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4313 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4314 This could be used to implement limited support for animated GIFs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4315 For example, the following function displays a multi-image GIF file |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4316 at point-min in the current buffer, switching between sub-images |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4317 every 0.1 seconds. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4318 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4319 (defun show-anim (file max) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4320 "Display multi-image GIF file FILE which contains MAX subimages." |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4321 (display-anim (current-buffer) file 0 max t)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4322 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4323 (defun display-anim (buffer file idx max first-time) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4324 (when (= idx max) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4325 (setq idx 0)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4326 (let ((img (create-image file nil nil :index idx))) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4327 (save-excursion |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4328 (set-buffer buffer) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4329 (goto-char (point-min)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4330 (unless first-time (delete-char 1)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4331 (insert-image img "x")) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4332 (run-with-timer 0.1 nil 'display-anim buffer file (1+ idx) max nil))) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4333 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4334 **** PNG, image type `png' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4335 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4336 Support for PNG images requires the external library `libpng', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4337 package `libpng-1.0.2.tar.gz', or later. There are no additional image |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4338 properties defined. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4339 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4340 **** Ghostscript, image type `postscript'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4341 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4342 Additional image properties supported are: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4343 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4344 `:pt-width WIDTH' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4345 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4346 WIDTH is width of the image in pt (1/72 inch). WIDTH must be an |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4347 integer. This is a required property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4348 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4349 `:pt-height HEIGHT' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4350 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4351 HEIGHT specifies the height of the image in pt (1/72 inch). HEIGHT |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4352 must be a integer. This is an required property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4353 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4354 `:bounding-box BOX' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4355 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4356 BOX must be a list or vector of 4 integers giving the bounding box of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4357 the PS image, analogous to the `BoundingBox' comment found in PS |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4358 files. This is an required property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4359 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4360 Part of the Ghostscript interface is implemented in Lisp. See |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4361 lisp/gs.el. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4362 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4363 *** Lisp interface. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4364 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4365 The variable `image-types' contains a list of those image types |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4366 which are supported in the current configuration. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4367 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4368 Images are stored in an image cache and removed from the cache when |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4369 they haven't been displayed for `image-cache-eviction-delay seconds. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4370 The function `clear-image-cache' can be used to clear the image cache |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4371 manually. Images in the cache are compared with `equal', i.e. all |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4372 images with `equal' specifications share the same image. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4373 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4374 *** Simplified image API, image.el |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4375 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4376 The new Lisp package image.el contains functions that simplify image |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4377 creation and putting images into text. The function `create-image' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4378 can be used to create images. The macro `defimage' can be used to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4379 define an image based on available image types. The functions |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4380 `put-image' and `insert-image' can be used to insert an image into a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4381 buffer. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4382 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4383 ** Display margins. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4384 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4385 Windows can now have margins which are used for special text |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4386 and images. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4387 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4388 To give a window margins, either set the buffer-local variables |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4389 `left-margin-width' and `right-margin-width', or call |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4390 `set-window-margins'. The function `window-margins' can be used to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4391 obtain the current settings. To make `left-margin-width' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4392 `right-margin-width' take effect, you must set them before displaying |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4393 the buffer in a window, or use `set-window-buffer' to force an update |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4394 of the display margins. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4395 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4396 You can put text in margins by giving it a `display' text property |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4397 containing a pair of the form `(LOCATION . VALUE)', where LOCATION is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4398 one of `left-margin' or `right-margin' or nil. VALUE can be either a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4399 string, an image specification or a stretch specification (see later |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4400 in this file). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4401 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4402 ** Help display |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4403 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4404 Emacs displays short help messages in the echo area, when the mouse |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4405 moves over a tool-bar item or a piece of text that has a text property |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4406 `help-echo'. This feature also applies to strings in the mode line |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4407 that have a `help-echo' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4408 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4409 If the value of the `help-echo' property is a function, that function |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4410 is called with three arguments WINDOW, OBJECT and POSITION. WINDOW is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4411 the window in which the help was found. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4412 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4413 If OBJECT is a buffer, POS is the position in the buffer where the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4414 `help-echo' text property was found. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4415 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4416 If OBJECT is an overlay, that overlay has a `help-echo' property, and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4417 POS is the position in the overlay's buffer under the mouse. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4418 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4419 If OBJECT is a string (an overlay string or a string displayed with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4420 the `display' property), POS is the position in that string under the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4421 mouse. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4422 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4423 If the value of the `help-echo' property is neither a function nor a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4424 string, it is evaluated to obtain a help string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4425 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4426 For tool-bar and menu-bar items, their key definition is used to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4427 determine the help to display. If their definition contains a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4428 property `:help FORM', FORM is evaluated to determine the help string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4429 For tool-bar items without a help form, the caption of the item is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4430 used as help string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4431 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4432 The hook `show-help-function' can be set to a function that displays |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4433 the help string differently. For example, enabling a tooltip window |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4434 causes the help display to appear there instead of in the echo area. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4435 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4436 ** Vertical fractional scrolling. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4437 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4438 The display of text in windows can be scrolled smoothly in pixels. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4439 This is useful, for example, for making parts of large images visible. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4440 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4441 The function `window-vscroll' returns the current value of vertical |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4442 scrolling, a non-negative fraction of the canonical character height. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4443 The function `set-window-vscroll' can be used to set the vertical |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4444 scrolling value. Here is an example of how these function might be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4445 used. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4446 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4447 (global-set-key [A-down] |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4448 #'(lambda () |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4449 (interactive) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4450 (set-window-vscroll (selected-window) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4451 (+ 0.5 (window-vscroll))))) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4452 (global-set-key [A-up] |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4453 #'(lambda () |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4454 (interactive) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4455 (set-window-vscroll (selected-window) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4456 (- (window-vscroll) 0.5))))) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4457 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4458 ** New hook `fontification-functions'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4459 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4460 Functions from `fontification-functions' are called from redisplay |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4461 when it encounters a region of text that is not yet fontified. This |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4462 variable automatically becomes buffer-local when set. Each function |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4463 is called with one argument, POS. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4464 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4465 At least one of the hook functions should fontify one or more |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4466 characters starting at POS in the current buffer. It should mark them |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4467 as fontified by giving them a non-nil value of the `fontified' text |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4468 property. It may be reasonable for these functions to check for the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4469 `fontified' property and not put it back on, but they do not have to. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4470 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4471 ** Tool bar support. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4472 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4473 Emacs supports a tool bar at the top of a frame under X. The frame |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4474 parameter `tool-bar-lines' (X resource "toolBar", class "ToolBar") |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4475 controls how may lines to reserve for the tool bar. A zero value |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4476 suppresses the tool bar. If the value is non-zero and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4477 `auto-resize-tool-bars' is non-nil the tool bar's size will be changed |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4478 automatically so that all tool bar items are visible. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4479 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4480 *** Tool bar item definitions |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4481 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4482 Tool bar items are defined using `define-key' with a prefix-key |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4483 `tool-bar'. For example `(define-key global-map [tool-bar item1] ITEM)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4484 where ITEM is a list `(menu-item CAPTION BINDING PROPS...)'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4485 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4486 CAPTION is the caption of the item, If it's not a string, it is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4487 evaluated to get a string. The caption is currently not displayed in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4488 the tool bar, but it is displayed if the item doesn't have a `:help' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4489 property (see below). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4490 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4491 BINDING is the tool bar item's binding. Tool bar items with keymaps as |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4492 binding are currently ignored. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4493 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4494 The following properties are recognized: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4495 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4496 `:enable FORM'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4497 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4498 FORM is evaluated and specifies whether the tool bar item is enabled |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4499 or disabled. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4500 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4501 `:visible FORM' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4502 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4503 FORM is evaluated and specifies whether the tool bar item is displayed. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4504 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4505 `:filter FUNCTION' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4506 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4507 FUNCTION is called with one parameter, the same list BINDING in which |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4508 FUNCTION is specified as the filter. The value FUNCTION returns is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4509 used instead of BINDING to display this item. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4510 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4511 `:button (TYPE SELECTED)' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4512 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4513 TYPE must be one of `:radio' or `:toggle'. SELECTED is evaluated |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4514 and specifies whether the button is selected (pressed) or not. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4515 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4516 `:image IMAGES' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4517 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4518 IMAGES is either a single image specification or a vector of four |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4519 image specifications. If it is a vector, this table lists the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4520 meaning of each of the four elements: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4521 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4522 Index Use when item is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4523 ---------------------------------------- |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4524 0 enabled and selected |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4525 1 enabled and deselected |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4526 2 disabled and selected |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4527 3 disabled and deselected |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4528 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4529 If IMAGE is a single image specification, a Laplace edge-detection |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4530 algorithm is used on that image to draw the image in disabled state. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4531 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4532 `:help HELP-STRING'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4533 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4534 Gives a help string to display for the tool bar item. This help |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4535 is displayed when the mouse is moved over the item. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4536 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4537 The function `toolbar-add-item' is a convenience function for adding |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4538 toolbar items generally, and `tool-bar-add-item-from-menu' can be used |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4539 to define a toolbar item with a binding copied from an item on the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4540 menu bar. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4541 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4542 The default bindings use a menu-item :filter to derive the tool-bar |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4543 dynamically from variable `tool-bar-map' which may be set |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4544 buffer-locally to override the global map. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4545 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4546 *** Tool-bar-related variables. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4547 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4548 If `auto-resize-tool-bar' is non-nil, the tool bar will automatically |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4549 resize to show all defined tool bar items. It will never grow larger |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4550 than 1/4 of the frame's size. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4551 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4552 If `auto-raise-tool-bar-buttons' is non-nil, tool bar buttons will be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4553 raised when the mouse moves over them. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4554 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4555 You can add extra space between tool bar items by setting |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4556 `tool-bar-button-margin' to a positive integer specifying a number of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4557 pixels, or a pair of integers (X . Y) specifying horizontal and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4558 vertical margins . Default is 1. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4559 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4560 You can change the shadow thickness of tool bar buttons by setting |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4561 `tool-bar-button-relief' to an integer. Default is 3. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4562 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4563 *** Tool-bar clicks with modifiers. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4564 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4565 You can bind commands to clicks with control, shift, meta etc. on |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4566 a tool bar item. If |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4567 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4568 (define-key global-map [tool-bar shell] |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4569 '(menu-item "Shell" shell |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4570 :image (image :type xpm :file "shell.xpm"))) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4571 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4572 is the original tool bar item definition, then |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4573 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4574 (define-key global-map [tool-bar S-shell] 'some-command) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4575 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4576 makes a binding to run `some-command' for a shifted click on the same |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4577 item. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4578 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4579 ** Mode line changes. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4580 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4581 *** Mouse-sensitive mode line. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4582 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4583 The mode line can be made mouse-sensitive by displaying strings there |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4584 that have a `local-map' text property. There are three ways to display |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4585 a string with a `local-map' property in the mode line. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4586 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4587 1. The mode line spec contains a variable whose string value has |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4588 a `local-map' text property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4589 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4590 2. The mode line spec contains a format specifier (e.g. `%12b'), and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4591 that format specifier has a `local-map' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4592 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4593 3. The mode line spec contains a list containing `:eval FORM'. FORM |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4594 is evaluated. If the result is a string, and that string has a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4595 `local-map' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4596 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4597 The same mechanism is used to determine the `face' and `help-echo' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4598 properties of strings in the mode line. See `bindings.el' for an |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4599 example. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4600 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4601 *** If a mode line element has the form `(:eval FORM)', FORM is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4602 evaluated and the result is used as mode line element. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4603 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4604 *** You can suppress mode-line display by setting the buffer-local |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4605 variable mode-line-format to nil. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4606 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4607 *** A headerline can now be displayed at the top of a window. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4608 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4609 This mode line's contents are controlled by the new variable |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4610 `header-line-format' and `default-header-line-format' which are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4611 completely analogous to `mode-line-format' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4612 `default-mode-line-format'. A value of nil means don't display a top |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4613 line. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4614 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4615 The appearance of top mode lines is controlled by the face |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4616 `header-line'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4617 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4618 The function `coordinates-in-window-p' returns `header-line' for a |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4619 position in the header-line. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4620 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4621 ** Text property `display' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4622 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4623 The `display' text property is used to insert images into text, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4624 replace text with other text, display text in marginal area, and it is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4625 also used to control other aspects of how text displays. The value of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4626 the `display' property should be a display specification, as described |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4627 below, or a list or vector containing display specifications. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4628 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4629 *** Replacing text, displaying text in marginal areas |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4630 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4631 To replace the text having the `display' property with some other |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4632 text, use a display specification of the form `(LOCATION STRING)'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4633 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4634 If LOCATION is `(margin left-margin)', STRING is displayed in the left |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4635 marginal area, if it is `(margin right-margin)', it is displayed in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4636 the right marginal area, and if LOCATION is `(margin nil)' STRING |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4637 is displayed in the text. In the latter case you can also use the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4638 simpler form STRING as property value. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4639 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4640 *** Variable width and height spaces |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4641 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4642 To display a space of fractional width or height, use a display |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4643 specification of the form `(LOCATION STRECH)'. If LOCATION is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4644 `(margin left-margin)', the space is displayed in the left marginal |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4645 area, if it is `(margin right-margin)', it is displayed in the right |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4646 marginal area, and if LOCATION is `(margin nil)' the space is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4647 displayed in the text. In the latter case you can also use the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4648 simpler form STRETCH as property value. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4649 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4650 The stretch specification STRETCH itself is a list of the form `(space |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4651 PROPS)', where PROPS is a property list which can contain the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4652 properties described below. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4653 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4654 The display of the fractional space replaces the display of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4655 characters having the `display' property. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4656 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4657 - :width WIDTH |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4658 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4659 Specifies that the space width should be WIDTH times the normal |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4660 character width. WIDTH can be an integer or floating point number. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4661 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4662 - :relative-width FACTOR |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4663 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4664 Specifies that the width of the stretch should be computed from the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4665 first character in a group of consecutive characters that have the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4666 same `display' property. The computation is done by multiplying the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4667 width of that character by FACTOR. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4668 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4669 - :align-to HPOS |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4670 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4671 Specifies that the space should be wide enough to reach HPOS. The |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4672 value HPOS is measured in units of the normal character width. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4673 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4674 Exactly one of the above properties should be used. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4675 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4676 - :height HEIGHT |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4677 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4678 Specifies the height of the space, as HEIGHT, measured in terms of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4679 normal line height. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4680 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4681 - :relative-height FACTOR |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4682 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4683 The height of the space is computed as the product of the height |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4684 of the text having the `display' property and FACTOR. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4685 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4686 - :ascent ASCENT |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4687 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4688 Specifies that ASCENT percent of the height of the stretch should be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4689 used for the ascent of the stretch, i.e. for the part above the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4690 baseline. The value of ASCENT must be a non-negative number less or |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4691 equal to 100. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4692 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4693 You should not use both `:height' and `:relative-height' together. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4694 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4695 *** Images |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4696 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4697 A display specification for an image has the form `(LOCATION |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4698 . IMAGE)', where IMAGE is an image specification. The image replaces, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4699 in the display, the characters having this display specification in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4700 their `display' text property. If LOCATION is `(margin left-margin)', |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4701 the image will be displayed in the left marginal area, if it is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4702 `(margin right-margin)' it will be displayed in the right marginal |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4703 area, and if LOCATION is `(margin nil)' the image will be displayed in |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4704 the text. In the latter case you can also use the simpler form IMAGE |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4705 as display specification. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4706 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4707 *** Other display properties |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4708 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4709 - (space-width FACTOR) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4710 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4711 Specifies that space characters in the text having that property |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4712 should be displayed FACTOR times as wide as normal; FACTOR must be an |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4713 integer or float. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4714 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4715 - (height HEIGHT) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4716 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4717 Display text having this property in a font that is smaller or larger. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4718 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4719 If HEIGHT is a list of the form `(+ N)', where N is an integer, that |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4720 means to use a font that is N steps larger. If HEIGHT is a list of |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4721 the form `(- N)', that means to use a font that is N steps smaller. A |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4722 ``step'' is defined by the set of available fonts; each size for which |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4723 a font is available counts as a step. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4724 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4725 If HEIGHT is a number, that means to use a font that is HEIGHT times |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4726 as tall as the frame's default font. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4727 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4728 If HEIGHT is a symbol, it is called as a function with the current |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4729 height as argument. The function should return the new height to use. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4730 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4731 Otherwise, HEIGHT is evaluated to get the new height, with the symbol |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4732 `height' bound to the current specified font height. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4733 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4734 - (raise FACTOR) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4735 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4736 FACTOR must be a number, specifying a multiple of the current |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4737 font's height. If it is positive, that means to display the characters |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4738 raised. If it is negative, that means to display them lower down. The |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4739 amount of raising or lowering is computed without taking account of the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4740 `height' subproperty. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4741 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4742 *** Conditional display properties |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4743 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4744 All display specifications can be conditionalized. If a specification |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4745 has the form `(when CONDITION . SPEC)', the specification SPEC applies |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4746 only when CONDITION yields a non-nil value when evaluated. During the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4747 evaluation, `object' is bound to the string or buffer having the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4748 conditional display property; `position' and `buffer-position' are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4749 bound to the position within `object' and the buffer position where |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4750 the display property was found, respectively. Both positions can be |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4751 different when object is a string. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4752 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4753 The normal specification consisting of SPEC only is equivalent to |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4754 `(when t . SPEC)'. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4755 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4756 ** New menu separator types. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4757 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4758 Emacs now supports more than one menu separator type. Menu items with |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4759 item names consisting of dashes only (including zero dashes) are |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4760 treated like before. In addition, the following item names are used |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4761 to specify other menu separator types. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4762 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4763 - `--no-line' or `--space', or `--:space', or `--:noLine' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4764 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4765 No separator lines are drawn, but a small space is inserted where the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4766 separator occurs. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4767 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4768 - `--single-line' or `--:singleLine' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4769 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4770 A single line in the menu's foreground color. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4771 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4772 - `--double-line' or `--:doubleLine' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4773 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4774 A double line in the menu's foreground color. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4775 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4776 - `--single-dashed-line' or `--:singleDashedLine' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4777 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4778 A single dashed line in the menu's foreground color. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4779 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4780 - `--double-dashed-line' or `--:doubleDashedLine' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4781 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4782 A double dashed line in the menu's foreground color. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4783 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4784 - `--shadow-etched-in' or `--:shadowEtchedIn' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4785 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4786 A single line with 3D sunken appearance. This is the form |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4787 displayed for item names consisting of dashes only. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4788 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4789 - `--shadow-etched-out' or `--:shadowEtchedOut' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4790 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4791 A single line with 3D raised appearance. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4792 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4793 - `--shadow-etched-in-dash' or `--:shadowEtchedInDash' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4794 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4795 A single dashed line with 3D sunken appearance. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4796 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4797 - `--shadow-etched-out-dash' or `--:shadowEtchedOutDash' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4798 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4799 A single dashed line with 3D raise appearance. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4800 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4801 - `--shadow-double-etched-in' or `--:shadowDoubleEtchedIn' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4802 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4803 Two lines with 3D sunken appearance. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4804 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4805 - `--shadow-double-etched-out' or `--:shadowDoubleEtchedOut' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4806 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4807 Two lines with 3D raised appearance. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4808 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4809 - `--shadow-double-etched-in-dash' or `--:shadowDoubleEtchedInDash' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4810 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4811 Two dashed lines with 3D sunken appearance. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4812 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4813 - `--shadow-double-etched-out-dash' or `--:shadowDoubleEtchedOutDash' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4814 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4815 Two dashed lines with 3D raised appearance. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4816 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4817 Under LessTif/Motif, the last four separator types are displayed like |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4818 the corresponding single-line separators. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4819 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4820 ** New frame parameters for scroll bar colors. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4821 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4822 The new frame parameters `scroll-bar-foreground' and |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4823 `scroll-bar-background' can be used to change scroll bar colors. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4824 Their value must be either a color name, a string, or nil to specify |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4825 that scroll bars should use a default color. For toolkit scroll bars, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4826 default colors are toolkit specific. For non-toolkit scroll bars, the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4827 default background is the background color of the frame, and the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4828 default foreground is black. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4829 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4830 The X resource name of these parameters are `scrollBarForeground' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4831 (class ScrollBarForeground) and `scrollBarBackground' (class |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4832 `ScrollBarBackground'). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4833 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4834 Setting these parameters overrides toolkit specific X resource |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4835 settings for scroll bar colors. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4836 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4837 ** You can set `redisplay-dont-pause' to a non-nil value to prevent |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4838 display updates from being interrupted when input is pending. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4839 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4840 ** Changing a window's width may now change its window start if it |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4841 starts on a continuation line. The new window start is computed based |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4842 on the window's new width, starting from the start of the continued |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4843 line as the start of the screen line with the minimum distance from |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4844 the original window start. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4845 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4846 ** The variable `hscroll-step' and the functions |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4847 `hscroll-point-visible' and `hscroll-window-column' have been removed |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4848 now that proper horizontal scrolling is implemented. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4849 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4850 ** Windows can now be made fixed-width and/or fixed-height. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4851 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4852 A window is fixed-size if its buffer has a buffer-local variable |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4853 `window-size-fixed' whose value is not nil. A value of `height' makes |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4854 windows fixed-height, a value of `width' makes them fixed-width, any |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4855 other non-nil value makes them both fixed-width and fixed-height. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4856 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4857 The following code makes all windows displaying the current buffer |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4858 fixed-width and fixed-height. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4859 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4860 (set (make-local-variable 'window-size-fixed) t) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4861 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4862 A call to enlarge-window on a window gives an error if that window is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4863 fixed-width and it is tried to change the window's width, or if the |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4864 window is fixed-height, and it is tried to change its height. To |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4865 change the size of a fixed-size window, bind `window-size-fixed' |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4866 temporarily to nil, for example |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4867 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4868 (let ((window-size-fixed nil)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4869 (enlarge-window 10)) |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4870 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4871 Likewise, an attempt to split a fixed-height window vertically, |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4872 or a fixed-width window horizontally results in a error. |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4873 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4874 ** The cursor-type frame parameter is now supported on MS-DOS |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4875 terminals. When Emacs starts, it by default changes the cursor shape |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4876 to a solid box, as it does on Unix. The `cursor-type' frame parameter |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4877 overrides this as it does on Unix, except that the bar cursor is |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4878 horizontal rather than vertical (since the MS-DOS display doesn't |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4879 support a vertical-bar cursor). |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4880 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4881 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4882 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4883 ---------------------------------------------------------------------- |
75774
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
4884 This file is part of GNU Emacs. |
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
4885 |
95004
cbf5528cf447
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79776
diff
changeset
|
4886 GNU Emacs is free software: you can redistribute it and/or modify |
75774
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
4887 it under the terms of the GNU General Public License as published by |
95004
cbf5528cf447
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79776
diff
changeset
|
4888 the Free Software Foundation, either version 3 of the License, or |
cbf5528cf447
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79776
diff
changeset
|
4889 (at your option) any later version. |
75774
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
4890 |
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
4891 GNU Emacs is distributed in the hope that it will be useful, |
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
4892 but WITHOUT ANY WARRANTY; without even the implied warranty of |
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
4893 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
4894 GNU General Public License for more details. |
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
4895 |
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
4896 You should have received a copy of the GNU General Public License |
95004
cbf5528cf447
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79776
diff
changeset
|
4897 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
75774
dc23aaa67696
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75343
diff
changeset
|
4898 |
71203
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4899 |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4900 Local variables: |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4901 mode: outline |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4902 paragraph-separate: "[ ]*$" |
25fa0038a52d
Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff
changeset
|
4903 end: |