Mercurial > emacs
annotate etc/NEWS @ 41730:fb0e629655ed
Document left-fringe and right-fringe frame parameters.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sat, 01 Dec 2001 01:51:51 +0000 |
parents | 4289324b443e |
children | 6d817b78bf33 |
rev | line source |
---|---|
36821 | 1 GNU Emacs NEWS -- history of user-visible changes. 2001-03-15 |
35326
f30feeecf1c1
backward-delete-char-untabify-method
Dave Love <fx@gnu.org>
parents:
35297
diff
changeset
|
2 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. |
25853 | 3 See the end for copying conditions. |
4 | |
5 Please send Emacs bug reports to bug-gnu-emacs@gnu.org. | |
30922 | 6 For older news, see the file ONEWS |
25853 | 7 |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
8 Temporary note: +++ indicates that the appropriate manual |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
9 has already been updated. --- means no change in the manuals |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
10 is called for. |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
11 |
41099
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
12 * Installation Changes in Emacs 21.3 |
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
13 |
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
14 ** Emacs now supports new configure options `--program-prefix', |
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
15 `--program-suffix' and `--program-transform-name' that affect the names of |
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
16 installed programs. |
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
17 |
41675 | 18 ** Support for FreeBSD/Alpha has been added. |
19 | |
41099
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
20 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
21 * Changes in Emacs 21.3 |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
22 |
41730
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
23 ** Controlling the left and right fringe widths. |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
24 |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
25 The left and right fringe widths can now be controlled by setting the |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
26 `left-fringe' and `right-fringe' frame parameters to an integer value |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
27 specifying the width in pixels. The default is 8 pixels. Setting the |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
28 width to 0 effectively removes the corresponding fringe. |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
29 The actual fringe widths may deviate from the specified widths, since |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
30 the combined fringe widths must match an integral number of columns. |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
31 The extra width is distributed evenly between the left and right fringe. |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
32 For force a specific fringe width, specify the width as a negative |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
33 integer (if both widths are negative, only the left fringe gets the |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
34 specified width). |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
35 |
41620
d5ea676e4052
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41596
diff
changeset
|
36 ** hide-ifdef-mode now uses overlays rather than selective-display |
d5ea676e4052
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41596
diff
changeset
|
37 to hide its text. This should be mostly transparent but slightly |
d5ea676e4052
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41596
diff
changeset
|
38 changes the behavior of motion commands line C-e and C-p. |
d5ea676e4052
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41596
diff
changeset
|
39 |
41596
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
40 ** Unquoted `$' in file names do not signal an error any more when |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
41 the corresponding environment variable does not exist. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
42 Instead, the `$ENVVAR' text is left as is, so that `$$' quoting |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
43 is only rarely needed. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
44 |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
45 ** jit-lock can now be delayed with `jit-lock-defer-time'. |
41501
994a9d1eee71
Minor change of wording in the documentation of jit-lock-defer-time.
Eli Zaretskii <eliz@gnu.org>
parents:
41482
diff
changeset
|
46 |
994a9d1eee71
Minor change of wording in the documentation of jit-lock-defer-time.
Eli Zaretskii <eliz@gnu.org>
parents:
41482
diff
changeset
|
47 If this variable is non-nil, its value should be the amount of Emacs |
994a9d1eee71
Minor change of wording in the documentation of jit-lock-defer-time.
Eli Zaretskii <eliz@gnu.org>
parents:
41482
diff
changeset
|
48 idle time inseconds to wait before starting fontification. For |
994a9d1eee71
Minor change of wording in the documentation of jit-lock-defer-time.
Eli Zaretskii <eliz@gnu.org>
parents:
41482
diff
changeset
|
49 example, if you set `jit-lock-defer-time' to 0.25, fontification will |
994a9d1eee71
Minor change of wording in the documentation of jit-lock-defer-time.
Eli Zaretskii <eliz@gnu.org>
parents:
41482
diff
changeset
|
50 only happen after 0.25s of idle time. |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
51 |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
52 ** If you hit M-C-SPC (mark-sexp) repeatedly, the marked region |
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
53 will now be extended each time, so you can mark the next two sexps with |
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
54 M-C-SPC M-C-SPC, for example. |
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
55 |
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
56 ** mouse-wheels can now scroll a specific fraction of the window |
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
57 (rather than a fixed number of lines) and the scrolling is `progressive'. |
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
58 |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
59 ** The keyboard-coding-system is now automatically set based on |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
60 your current locale settings. If it turns out that your terminal |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
61 does not support the encoding implied by your locale (for example, |
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
62 it inserts non-ASCII chars if you hit M-i), you will need to add |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
63 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
64 (set-keyboard-coding-system nil) |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
65 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
66 to your .emacs to revert to the old behavior. |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
67 |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
68 +++ |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
69 ** Emacs now reads the standard abbrevs file ~/.abbrev_defs |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
70 automatically at startup, if it exists. And it always offers to save |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
71 abbrevs (if you have changed them) when if offers to save modified |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
72 buffers. |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
73 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
74 ** Display of hollow cursors now obeys the buffer-local value (if any) |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
75 of `cursor-in-non-selected-windows' in the buffer that the cursor |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
76 appears in. |
39552 | 77 |
40686
b6d0ce452871
Document the changes in the default values of tooltip-delay and
Eli Zaretskii <eliz@gnu.org>
parents:
40637
diff
changeset
|
78 ** The default values of `tooltip-delay' and `tooltip-hide-delay' |
b6d0ce452871
Document the changes in the default values of tooltip-delay and
Eli Zaretskii <eliz@gnu.org>
parents:
40637
diff
changeset
|
79 were changed. |
b6d0ce452871
Document the changes in the default values of tooltip-delay and
Eli Zaretskii <eliz@gnu.org>
parents:
40637
diff
changeset
|
80 |
40614
ac10bd51a000
Change of normal-erase-is-backspace-mode on terminals.
Gerd Moellmann <gerd@gnu.org>
parents:
40575
diff
changeset
|
81 ** On terminals whose erase-char is ^H (Backspace), Emacs |
ac10bd51a000
Change of normal-erase-is-backspace-mode on terminals.
Gerd Moellmann <gerd@gnu.org>
parents:
40575
diff
changeset
|
82 now uses normal-erase-is-backspace-mode. |
ac10bd51a000
Change of normal-erase-is-backspace-mode on terminals.
Gerd Moellmann <gerd@gnu.org>
parents:
40575
diff
changeset
|
83 |
40493
94818b20da05
Document the change in list-buffers-noselect wrt buffers visiting files
Eli Zaretskii <eliz@gnu.org>
parents:
40487
diff
changeset
|
84 +++ |
40575
4ce7861c6181
Mention --no-window-system changes in the NEWS.
Pavel Janík <Pavel@Janik.cz>
parents:
40526
diff
changeset
|
85 ** The command line option --no-windows has been changed to |
4ce7861c6181
Mention --no-window-system changes in the NEWS.
Pavel Janík <Pavel@Janik.cz>
parents:
40526
diff
changeset
|
86 --no-window-system. The old one still works, but is deprecated. |
4ce7861c6181
Mention --no-window-system changes in the NEWS.
Pavel Janík <Pavel@Janik.cz>
parents:
40526
diff
changeset
|
87 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
88 ** `buffer-menu' and `list-buffers' now list buffers whose names begin |
40493
94818b20da05
Document the change in list-buffers-noselect wrt buffers visiting files
Eli Zaretskii <eliz@gnu.org>
parents:
40487
diff
changeset
|
89 with a space, if they visit files. |
94818b20da05
Document the change in list-buffers-noselect wrt buffers visiting files
Eli Zaretskii <eliz@gnu.org>
parents:
40487
diff
changeset
|
90 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
91 ** You can now customize fill-nobreak-predicate to control where |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
92 filling can break lines. We provide two sample predicates, |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
93 fill-single-word-nobreak-p and fill-french-nobreak-p. |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
94 |
40316
ddce8f484e75
New user option `add-log-always-start-new-record'.
Sam Steingold <sds@gnu.org>
parents:
40296
diff
changeset
|
95 ** New user option `add-log-always-start-new-record'. |
ddce8f484e75
New user option `add-log-always-start-new-record'.
Sam Steingold <sds@gnu.org>
parents:
40296
diff
changeset
|
96 When this option is enabled, M-x add-change-log-entry will always |
ddce8f484e75
New user option `add-log-always-start-new-record'.
Sam Steingold <sds@gnu.org>
parents:
40296
diff
changeset
|
97 start a new record regardless of when the last record is. |
ddce8f484e75
New user option `add-log-always-start-new-record'.
Sam Steingold <sds@gnu.org>
parents:
40296
diff
changeset
|
98 |
40378
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
99 ** New user option `sgml-xml'. |
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
100 When this option is enabled, SGML tags are inserted in XML style, |
40215 | 101 i.e., there is always a closing tag. |
40378
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
102 When not customized, it becomes buffer-local when it can be inferred |
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
103 from the file name or buffer contents. |
40215 | 104 |
39975 | 105 ** When the *scratch* buffer is recreated, its mode is set from |
106 initial-major-mode, which normally is lisp-interaction-mode, | |
40215 | 107 instead of using default-major-mode. |
39975 | 108 |
39771 | 109 ** Byte compiler warning and error messages have been brought more |
110 in line with the output of other GNU tools. | |
111 | |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
112 ** Lisp-mode now uses font-lock-doc-face for the docstrings. |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
113 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
114 ** perl-mode has a new variable `perl-indent-continued-arguments'. |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
115 |
39849
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
116 ** `special-display-buffer-names' and `special-display-regexps' now |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
117 understand two new boolean pseudo-frame-parameters `same-frame' and |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
118 `same-window'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
119 |
39552 | 120 ** When pure storage overflows while dumping, Emacs now prints how |
121 much pure storage it will approximately need. | |
122 | |
123 ** M-x setenv now expands environment variables of the form `$foo' and | |
124 `${foo}' in the specified new value of the environment variable. To | |
125 include a `$' in the value, use `$$'. | |
126 | |
39881
9c1b9334eb73
Mark last change as documented in the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
39879
diff
changeset
|
127 +++ |
39879
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
128 ** File-name completion can now ignore directories. |
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
129 If an element of the list in `completion-ignored-extensions' ends in a |
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
130 slash `/', it indicates a subdirectory that should be ignored when |
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
131 completing file names. Elements of `completion-ignored-extensions' |
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
132 which do not end in a slash are never considered when a completion |
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
133 candidate is a directory. |
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
134 |
39552 | 135 ** New user option `inhibit-startup-buffer-menu'. |
136 When loading many files, for instance with `emacs *', Emacs normally | |
137 displays a buffer menu. This option turns the buffer menu off. | |
138 | |
139 ** Rmail now displays 5-digit message ids in its summary buffer. | |
140 | |
39601 | 141 ** When using M-x revert-buffer in a compilation buffer to rerun a |
142 compilation, it is now made sure that the compilation buffer is reused | |
143 in case it has been renamed. | |
144 | |
40963
ff6a29bbaf7e
Add note about system caret on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
40916
diff
changeset
|
145 ** On MS Windows, the "system caret" now follows the cursor. |
ff6a29bbaf7e
Add note about system caret on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
40916
diff
changeset
|
146 This enables Emacs to work better with programs that need to track |
ff6a29bbaf7e
Add note about system caret on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
40916
diff
changeset
|
147 the cursor, for example screen magnifiers and text to speech programs. |
ff6a29bbaf7e
Add note about system caret on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
40916
diff
changeset
|
148 |
41482
fe774ae6bd57
Added entry for tooltips on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41471
diff
changeset
|
149 ** Tooltips now work on MS Windows. |
fe774ae6bd57
Added entry for tooltips on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41471
diff
changeset
|
150 See the Emacs 21.1 NEWS entry for tooltips for details. |
fe774ae6bd57
Added entry for tooltips on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41471
diff
changeset
|
151 |
41246
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
152 --- |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
153 ** A French translation of the `Emacs Survival Guide' is available. |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
154 |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
155 --- |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
156 ** A French translation of the Emacs Tutorial is available. |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
157 |
39738 | 158 ** New modes and packages |
159 | |
40847 | 160 +++ |
161 *** Calc is now part of the Emacs distribution. | |
162 | |
163 Calc is an advanced desk calculator and mathematical tool written in | |
164 Emacs Lisp. Its documentation is in a separate manual; within Emacs, | |
40865
19d072877aaa
Mention calccard.tex and calccard.ps.
Eli Zaretskii <eliz@gnu.org>
parents:
40847
diff
changeset
|
165 type "C-h i m calc RET" to read that manual. A reference card is |
19d072877aaa
Mention calccard.tex and calccard.ps.
Eli Zaretskii <eliz@gnu.org>
parents:
40847
diff
changeset
|
166 available in `etc/calccard.tex' and `etc/calccard.ps'. |
40847 | 167 |
40889
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
168 +++ |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
169 *** The Emacs Lisp Reference Manual is now part of the distribution. |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
170 |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
171 The ELisp reference manual in Info format is built as part of the |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
172 Emacs build procedure and installed together with the Emacs User |
41706
4289324b443e
Mantion the new menu-bar items to reach the new manuals.
Eli Zaretskii <eliz@gnu.org>
parents:
41675
diff
changeset
|
173 Manual. A menu item was added to the menu bar that makes it easy |
4289324b443e
Mantion the new menu-bar items to reach the new manuals.
Eli Zaretskii <eliz@gnu.org>
parents:
41675
diff
changeset
|
174 accessible (Help->More Manuals->Emacs Lisp Reference). |
40889
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
175 |
41437
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
176 *** The Introduction to Programming in Emacs Lisp manual is now part of |
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
177 the distribution. |
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
178 |
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
179 This manual is now part of the standard distribution and is installed, |
41706
4289324b443e
Mantion the new menu-bar items to reach the new manuals.
Eli Zaretskii <eliz@gnu.org>
parents:
41675
diff
changeset
|
180 together with the Emacs User Manual, into the Info directory. A menu |
4289324b443e
Mantion the new menu-bar items to reach the new manuals.
Eli Zaretskii <eliz@gnu.org>
parents:
41675
diff
changeset
|
181 item was added to the menu bar that makes it easy accessible |
4289324b443e
Mantion the new menu-bar items to reach the new manuals.
Eli Zaretskii <eliz@gnu.org>
parents:
41675
diff
changeset
|
182 (Help->More Manuals->Introduction to Emacs Lisp). |
41437
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
183 |
39738 | 184 *** The ruler-mode.el library provides a minor mode for displaying an |
185 "active" ruler in the header line. You can use the mouse to visually | |
186 change the `fill-column', `window-margins' and `tab-stop-list' | |
187 settings. | |
188 | |
41623
8cf1bafe44b1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41620
diff
changeset
|
189 *** The reveal.el package provides the minor modes `reveal-mode' and |
8cf1bafe44b1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41620
diff
changeset
|
190 `global-reveal-mode' which will make text visible on the fly as you |
8cf1bafe44b1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41620
diff
changeset
|
191 move your cursor into hidden region of the buffer. |
8cf1bafe44b1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41620
diff
changeset
|
192 It should work with any package that uses overlays to hide parts |
8cf1bafe44b1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41620
diff
changeset
|
193 of a buffer, such as outline-minor-mode, hs-minor-mode, hide-ifdef-mode, ... |
8cf1bafe44b1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41620
diff
changeset
|
194 |
39784 | 195 *** master-mode.el implements a minor mode for scrolling a slave |
196 buffer without leaving your current buffer, the master buffer. | |
197 | |
198 It can be used by sql.el, for example: the SQL buffer is the master | |
199 and its SQLi buffer is the slave. This allows you to scroll the SQLi | |
200 buffer containing the output from the SQL buffer containing the | |
201 commands. | |
202 | |
203 This is how to use sql.el and master.el together: the variable | |
204 sql-buffer contains the slave buffer. It is a local variable in the | |
205 SQL buffer. | |
206 | |
207 (add-hook 'sql-mode-hook | |
208 (function (lambda () | |
209 (master-mode t) | |
210 (master-set-slave sql-buffer)))) | |
211 (add-hook 'sql-set-sqli-hook | |
212 (function (lambda () | |
213 (master-set-slave sql-buffer)))) | |
214 | |
39552 | 215 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
216 * Lisp Changes in Emacs 21.3 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
217 |
41596
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
218 ** The precedence of file-name-handlers has been changed. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
219 Instead of blindly choosing the first handler that matches, |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
220 find-file-name-handler now gives precedence to a file-name handler |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
221 that matches near the end of the file name. More specifically, the |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
222 handler whose (match-beginning 0) is the largest is chosen. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
223 In case of ties, the old "first matched" rule applies. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
224 |
41594
452efff38a6e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41501
diff
changeset
|
225 ** Dense keymaps now handle inheritance correctly. |
452efff38a6e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41501
diff
changeset
|
226 To that end, binding a key to t now behaves the same as binding it to |
452efff38a6e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41501
diff
changeset
|
227 nil (it shadows parent bindings but not bindings in keymaps of lower |
452efff38a6e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41501
diff
changeset
|
228 precedence). |
452efff38a6e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41501
diff
changeset
|
229 |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
230 ** jit-lock obeys a new text-property `jit-lock-defer-multiline'. |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
231 If a piece of text with that property gets contextually refontified |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
232 (see jit-lock-defer-contextually), then all of that text will |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
233 be refontified. This is useful when the syntax of a textual element |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
234 depends on text several lines further down (and when font-lock-multiline |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
235 is not appropriate to solve that problem). For example in Perl: |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
236 |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
237 s{ |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
238 foo |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
239 }{ |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
240 bar |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
241 }e |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
242 |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
243 Adding/removing the last `e' changes the `bar' from being a piece of |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
244 text to being a piece of code, so you'd put a jit-lock-defer-multiline |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
245 property over the second half of the command to force (deferred) |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
246 refontification of `bar' whenever the `e' is added/removed. |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
247 |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
248 ** describe-vector now takes a second argument `describer' which is |
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
249 called to print the entries' values. It default to `princ'. |
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
250 |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
251 ** defcustom and other custom declarations now use a default group |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
252 (the last group defined in the same file) when no :group was given. |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
253 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
254 ** emacsserver now runs pre-command-hook and post-command-hook when |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
255 it receives a request from emacsclient. |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
256 |
41471
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
257 ** The variable `recursive-load-depth-limit' has been deleted. |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
258 Emacs now signals an error if the same file is loaded with more |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
259 than 3 levels of nesting. |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
260 |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
261 ** The default values of paragraph-start and indent-line-function have |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
262 been changed to reflect those used in Text mode rather than those used |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
263 in Indented-Text mode. |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
264 |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
265 ** If a major mode function has a non-nil `no-clone-indirect' |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
266 property, `clone-indirect-buffer' signals an error if you use |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
267 it in that buffer. |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
268 |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
269 ** If you set `query-replace-skip-read-only' non-nil, |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
270 `query-replace' and related functions simply ignore |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
271 a match if part of it has a read-only property. |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
272 |
41367 | 273 ** In `replace-match', the replacement text no longer inherits |
41356 | 274 properties from surrounding text. |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
275 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
276 ** New function `buffer-local-value'. |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
277 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
278 - Function: buffer-local-value variable buffer |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
279 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
280 This function returns the buffer-local binding of VARIABLE (a symbol) |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
281 in buffer BUFFER. If VARIABLE does not have a buffer-local binding in |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
282 buffer BUFFER, it returns the default value of VARIABLE instead. |
39552 | 283 |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
284 ** The default value of `paragraph-start' and `indent-line-function' has |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
285 been changed to reflect the one used in Text mode rather than the one |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
286 used in Indented Text mode. |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
287 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
288 ** New function `text-clone-create'. Text clones are chunks of text |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
289 that are kept identical by transparently propagating changes from one |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
290 clone to the other. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
291 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
292 ** font-lock can manage arbitrary text-properties beside `face'. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
293 *** the FACENAME returned in font-lock-keywords can be a list |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
294 of the form (face FACE PROP1 VAL1 PROP@ VAL2 ...) so you can set |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
295 other properties than `face'. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
296 *** font-lock-extra-managed-props can be set to make sure those extra |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
297 properties are automatically cleaned up by font-lock. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
298 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
299 ** The new function `run-mode-hooks' and the new macro `delay-mode-hooks' |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
300 are used by define-derived-mode to make sure the mode hook for the |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
301 parent mode is run at the end of the child mode. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
302 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
303 ** `provide' and `featurep' now accept an optional second argument |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
304 to test/provide subfeatures. Also `provide' now checks `after-load-alist' |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
305 and run any code associated with the provided feature. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
306 |
40295 | 307 ** The variable `compilation-parse-errors-filename-function' can |
308 be used to transform filenames found in compilation output. | |
309 | |
40190
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
310 +++ |
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
311 ** Functions `file-name-sans-extension' and `file-name-extension' now |
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
312 ignore the leading dots in file names, so that file names such as |
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
313 `.emacs' are treated as extensionless. |
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
314 |
39778 | 315 ** Functions `user-uid' and `user-real-uid' now return floats if the |
316 user UID doesn't fit in a Lisp integer. Function `user-full-name' | |
317 accepts a float as UID parameter. | |
318 | |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
319 ** `define-key-after' now accepts keys longer than 1. |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
320 |
40296 | 321 ** `define-derived-mode' now accepts nil as the parent. |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
322 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
323 ** The local variable `no-byte-compile' in elisp files is now obeyed. |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
324 |
39849
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
325 ** New functions `keymap-prompt' and `current-active-maps'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
326 |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
327 ** New function `describe-buffer-bindings'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
328 |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
329 ** New vars `exec-suffixes' and `load-suffixes' used when |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
330 searching for an executable resp. an elisp file. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
331 |
39552 | 332 ** Variable aliases have been implemented |
333 | |
334 - Macro: defvaralias ALIAS-VAR BASE-VAR | |
335 | |
336 This defines the symbol ALIAS-VAR as a variable alias for symbol | |
337 BASE-VAR. This means that retrieving the value of ALIAS-VAR returns | |
338 the value of BASE-VAR, and changing the value of ALIAS-VAR changes the | |
339 value of BASE-VAR. | |
340 | |
341 - Function: indirect-variable VARIABLE | |
342 | |
343 This function returns the variable at the end of the chain of aliases | |
344 of VARIABLE. If VARIABLE is not a symbol, or if VARIABLE is not | |
345 defined as an alias, the function returns VARIABLE. | |
346 | |
347 It might be noteworthy that variables aliases work for all kinds of | |
348 variables, including buffer-local and frame-local variables. | |
349 | |
350 ** Functions from `post-gc-hook' are run at the end of garbage | |
351 collection. The hook is run with GC inhibited, so use it with care. | |
352 | |
39604 | 353 ** If the second argument to `copy-file' is the name of a directory, |
39605 | 354 the file is copied to that directory instead of signaling an error. |
39604 | 355 |
39647 | 356 ** The variables most-positive-fixnum and most-negative-fixnum |
357 have been moved from the CL package to the core. | |
358 | |
41355
ffd42182dd37
Added note about locale-coding-system on Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41340
diff
changeset
|
359 ** On MS Windows, locale-coding-system is used to interact with the OS. |
ffd42182dd37
Added note about locale-coding-system on Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41340
diff
changeset
|
360 The Windows specific variable w32-system-coding-system, which was |
ffd42182dd37
Added note about locale-coding-system on Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41340
diff
changeset
|
361 formerly used for that purpose is now an alias for locale-coding-system. |
ffd42182dd37
Added note about locale-coding-system on Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41340
diff
changeset
|
362 |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
363 ** New packages: |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
364 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
365 *** The new package syntax.el provides an efficient way to find the |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
366 current syntactic context (as returned by parse-partial-sexp). |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
367 |
41340
00ed4838100e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41337
diff
changeset
|
368 *** The TCL package tcl-mode.el was replaced by tcl.el. |
00ed4838100e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41337
diff
changeset
|
369 This was actually done in Emacs-21.1 was not documented. |
00ed4838100e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41337
diff
changeset
|
370 |
39552 | 371 |
25995 | 372 * Installation Changes in Emacs 21.1 |
373 | |
36039 | 374 See the INSTALL file for information on installing extra libraries and |
375 fonts to take advantage of the new graphical features and extra | |
376 charsets in this release. | |
377 | |
30576 | 378 ** Support for GNU/Linux on IA64 machines has been added. |
379 | |
31007 | 380 ** Support for LynxOS has been added. |
381 | |
28166 | 382 ** There are new configure options associated with the support for |
29962
cb2595f03c92
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
29949
diff
changeset
|
383 images and toolkit scrollbars. Use the --help option in `configure' |
cb2595f03c92
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
29949
diff
changeset
|
384 to list them. |
29696 | 385 |
30467
26afdae5ea13
--disable-largefile, 64-bit solaris
Dave Love <fx@gnu.org>
parents:
30445
diff
changeset
|
386 ** You can build a 64-bit Emacs for SPARC/Solaris systems which |
32182 | 387 support 64-bit executables and also on Irix 6.5. This increases the |
33484 | 388 maximum buffer size. See etc/MACHINES for instructions. Changes to |
389 build on other 64-bit systems should be straightforward modulo any | |
390 necessary changes to unexec. | |
30576 | 391 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
392 ** There is a new configure option `--disable-largefile' to omit |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
393 Unix-98-style support for large files if that is available. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
394 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
395 ** There is a new configure option `--without-xim' that instructs |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
396 Emacs to not use X Input Methods (XIM), if these are available. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
397 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
398 ** `movemail' defaults to supporting POP. You can turn this off using |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
399 the --without-pop configure option, should that be necessary. |
32428 | 400 |
32865
34e286ed22a5
Say that Emacs can now be built on the Macintosh.
Andrew Choi <akochoi@shaw.ca>
parents:
32845
diff
changeset
|
401 ** This version can be built for the Macintosh, but does not implement |
32966 | 402 all of the new display features described below. The port currently |
34204
10c8428f0fd1
Point to the Mac OS chapter in the docs.
Eli Zaretskii <eliz@gnu.org>
parents:
34191
diff
changeset
|
403 lacks unexec, asynchronous processes, and networking support. See the |
10c8428f0fd1
Point to the Mac OS chapter in the docs.
Eli Zaretskii <eliz@gnu.org>
parents:
34191
diff
changeset
|
404 "Emacs and the Mac OS" appendix in the Emacs manual, for the |
10c8428f0fd1
Point to the Mac OS chapter in the docs.
Eli Zaretskii <eliz@gnu.org>
parents:
34191
diff
changeset
|
405 description of aspects specific to the Mac. |
32428 | 406 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
407 ** Note that the MS-Windows port does not yet implement various of the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
408 new display features described below. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
409 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
410 |
28166 | 411 * Changes in Emacs 21.1 |
412 | |
36821 | 413 ** Emacs has a new redisplay engine. |
414 | |
415 The new redisplay handles characters of variable width and height. | |
416 Italic text can be used without redisplay problems. Fonts containing | |
417 oversized characters, i.e. characters larger than the logical height | |
418 of a font can be used. Images of various formats can be displayed in | |
419 the text. | |
420 | |
421 ** Emacs has a new face implementation. | |
422 | |
423 The new faces no longer fundamentally use X font names to specify the | |
424 font. Instead, each face has several independent attributes--family, | |
425 height, width, weight and slant--that it may or may not specify. | |
426 These attributes can be merged from various faces, and then together | |
427 specify a font. | |
428 | |
429 Faces are supported on terminals that can display color or fonts. | |
430 These terminal capabilities are auto-detected. Details can be found | |
431 under Lisp changes, below. | |
432 | |
433 ** Emacs can display faces on TTY frames. | |
434 | |
435 Emacs automatically detects terminals that are able to display colors. | |
436 Faces with a weight greater than normal are displayed extra-bright, if | |
437 the terminal supports it. Faces with a weight less than normal and | |
438 italic faces are displayed dimmed, if the terminal supports it. | |
439 Underlined faces are displayed underlined if possible. Other face | |
440 attributes such as `overline', `strike-through', and `box' are ignored | |
441 on terminals. | |
442 | |
443 The command-line options `-fg COLOR', `-bg COLOR', and `-rv' are now | |
444 supported on character terminals. | |
445 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
446 Emacs automatically remaps all X-style color specifications to one of |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
447 the colors supported by the terminal. This means you could have the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
448 same color customizations that work both on a windowed display and on |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
449 a TTY or when Emacs is invoked with the -nw option. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
450 |
36821 | 451 ** New default font is Courier 12pt under X. |
452 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
453 ** Sound support |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
454 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
455 Emacs supports playing sound files on GNU/Linux and FreeBSD (Voxware |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
456 driver and native BSD driver, a.k.a. Luigi's driver). Currently |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
457 supported file formats are RIFF-WAVE (*.wav) and Sun Audio (*.au). |
39075
8722aa0ae475
Mark (almost) all entries either --- or +++.
Eli Zaretskii <eliz@gnu.org>
parents:
39031
diff
changeset
|
458 You must configure Emacs with the option `--with-sound=yes' to enable |
8722aa0ae475
Mark (almost) all entries either --- or +++.
Eli Zaretskii <eliz@gnu.org>
parents:
39031
diff
changeset
|
459 sound support. |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
460 |
36821 | 461 ** Emacs now resizes mini-windows if appropriate. |
462 | |
463 If a message is longer than one line, or minibuffer contents are | |
464 longer than one line, Emacs can resize the minibuffer window unless it | |
465 is on a frame of its own. You can control resizing and the maximum | |
466 minibuffer window size by setting the following variables: | |
467 | |
468 - User option: max-mini-window-height | |
469 | |
470 Maximum height for resizing mini-windows. If a float, it specifies a | |
471 fraction of the mini-window frame's height. If an integer, it | |
472 specifies a number of lines. | |
473 | |
474 Default is 0.25. | |
475 | |
476 - User option: resize-mini-windows | |
477 | |
478 How to resize mini-windows. If nil, don't resize. If t, always | |
479 resize to fit the size of the text. If `grow-only', let mini-windows | |
480 grow only, until they become empty, at which point they are shrunk | |
481 again. | |
482 | |
483 Default is `grow-only'. | |
484 | |
485 ** LessTif support. | |
486 | |
487 Emacs now runs with the LessTif toolkit (see | |
37155
28fe777ce995
Change version of LessTif that's required.
Gerd Moellmann <gerd@gnu.org>
parents:
37077
diff
changeset
|
488 <http://www.lesstif.org>). You will need version 0.92.26, or later. |
36821 | 489 |
490 ** LessTif/Motif file selection dialog. | |
491 | |
492 When Emacs is configured to use LessTif or Motif, reading a file name | |
493 from a menu will pop up a file selection dialog if `use-dialog-box' is | |
494 non-nil. | |
495 | |
39485
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
496 ** File selection dialog on MS-Windows is supported. |
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
497 |
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
498 When a file is visited by clicking File->Open, the MS-Windows version |
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
499 now pops up a standard file selection dialog where you can select a |
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
500 file to visit. File->Save As also pops up that dialog. |
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
501 |
36821 | 502 ** Toolkit scroll bars. |
503 | |
504 Emacs now uses toolkit scroll bars if available. When configured for | |
505 LessTif/Motif, it will use that toolkit's scroll bar. Otherwise, when | |
506 configured for Lucid and Athena widgets, it will use the Xaw3d scroll | |
507 bar if Xaw3d is available. You can turn off the use of toolkit scroll | |
508 bars by specifying `--with-toolkit-scroll-bars=no' when configuring | |
509 Emacs. | |
510 | |
511 When you encounter problems with the Xaw3d scroll bar, watch out how | |
512 Xaw3d is compiled on your system. If the Makefile generated from | |
513 Xaw3d's Imakefile contains a `-DNARROWPROTO' compiler option, and your | |
514 Emacs system configuration file `s/your-system.h' does not contain a | |
515 define for NARROWPROTO, you might consider adding it. Take | |
516 `s/freebsd.h' as an example. | |
517 | |
518 Alternatively, if you don't have access to the Xaw3d source code, take | |
519 a look at your system's imake configuration file, for example in the | |
520 directory `/usr/X11R6/lib/X11/config' (paths are different on | |
521 different systems). You will find files `*.cf' there. If your | |
522 system's cf-file contains a line like `#define NeedWidePrototypes NO', | |
523 add a `#define NARROWPROTO' to your Emacs system configuration file. | |
524 | |
525 The reason for this is that one Xaw3d function uses `double' or | |
526 `float' function parameters depending on the setting of NARROWPROTO. | |
527 This is not a problem when Imakefiles are used because each system's | |
37156 | 528 imake configuration file contains the necessary information. Since |
36821 | 529 Emacs doesn't use imake, this has do be done manually. |
530 | |
531 ** Tool bar support. | |
532 | |
533 Emacs supports a tool bar at the top of a frame under X. For details | |
534 of how to define a tool bar, see the page describing Lisp-level | |
535 changes. Tool-bar global minor mode controls whether or not it is | |
536 displayed and is on by default. The appearance of the bar is improved | |
537 if Emacs has been built with XPM image support. Otherwise monochrome | |
538 icons will be used. | |
539 | |
540 To make the tool bar more useful, we need contributions of extra icons | |
41439
7a15f05f14e2
Remove sentence about contributions to PBM icons.
Eli Zaretskii <eliz@gnu.org>
parents:
41437
diff
changeset
|
541 for specific modes (with copyright assignments). |
36821 | 542 |
543 ** Tooltips. | |
544 | |
545 Tooltips are small X windows displaying a help string at the current | |
546 mouse position. The Lisp package `tooltip' implements them. You can | |
547 turn them off via the user option `tooltip-mode'. | |
548 | |
549 Tooltips also provides support for GUD debugging. If activated, | |
550 variable values can be displayed in tooltips by pointing at them with | |
551 the mouse in source buffers. You can customize various aspects of the | |
552 tooltip display in the group `tooltip'. | |
553 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
554 ** Automatic Hscrolling |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
555 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
556 Horizontal scrolling now happens automatically if |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
557 `automatic-hscrolling' is set (the default). This setting can be |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
558 customized. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
559 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
560 If a window is scrolled horizontally with set-window-hscroll, or |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
561 scroll-left/scroll-right (C-x <, C-x >), this serves as a lower bound |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
562 for automatic horizontal scrolling. Automatic scrolling will scroll |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
563 the text more to the left if necessary, but won't scroll the text more |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
564 to the right than the column set with set-window-hscroll etc. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
565 |
36821 | 566 ** When using a windowing terminal, each Emacs window now has a cursor |
567 of its own. By default, when a window is selected, the cursor is | |
568 solid; otherwise, it is hollow. The user-option | |
37228
21998919cfe9
show-cursor-in-non-selected-windows is no cursor-in-non-selected-windows.
Eli Zaretskii <eliz@gnu.org>
parents:
37222
diff
changeset
|
569 `cursor-in-non-selected-windows' controls how to display the |
36821 | 570 cursor in non-selected windows. If nil, no cursor is shown, if |
36885 | 571 non-nil a hollow box cursor is shown. |
36821 | 572 |
573 ** Fringes to the left and right of windows are used to display | |
574 truncation marks, continuation marks, overlay arrows and alike. The | |
575 foreground, background, and stipple of these areas can be changed by | |
576 customizing face `fringe'. | |
577 | |
578 ** The mode line under X is now drawn with shadows by default. | |
579 You can change its appearance by modifying the face `mode-line'. | |
580 In particular, setting the `:box' attribute to nil turns off the 3D | |
581 appearance of the mode line. (The 3D appearance makes the mode line | |
582 occupy more space, and thus might cause the first or the last line of | |
583 the window to be partially obscured.) | |
584 | |
585 The variable `mode-line-inverse-video', which was used in older | |
38832
ce6b6f1fd86f
Correct description of `mode-line-inverse-video'.
Miles Bader <miles@gnu.org>
parents:
38649
diff
changeset
|
586 versions of emacs to make the mode-line stand out, is now deprecated. |
ce6b6f1fd86f
Correct description of `mode-line-inverse-video'.
Miles Bader <miles@gnu.org>
parents:
38649
diff
changeset
|
587 However, setting it to nil will cause the `mode-line' face to be |
ce6b6f1fd86f
Correct description of `mode-line-inverse-video'.
Miles Bader <miles@gnu.org>
parents:
38649
diff
changeset
|
588 ignored, and mode-lines to be drawn using the default text face. |
36821 | 589 |
590 ** Mouse-sensitive mode line. | |
591 | |
36848
87bf5cef20c7
Mode line is mouse-sensitive on all systems which have a mouse.
Eli Zaretskii <eliz@gnu.org>
parents:
36821
diff
changeset
|
592 Different parts of the mode line have been made mouse-sensitive on all |
87bf5cef20c7
Mode line is mouse-sensitive on all systems which have a mouse.
Eli Zaretskii <eliz@gnu.org>
parents:
36821
diff
changeset
|
593 systems which support the mouse. Moving the mouse to a |
87bf5cef20c7
Mode line is mouse-sensitive on all systems which have a mouse.
Eli Zaretskii <eliz@gnu.org>
parents:
36821
diff
changeset
|
594 mouse-sensitive part in the mode line changes the appearance of the |
87bf5cef20c7
Mode line is mouse-sensitive on all systems which have a mouse.
Eli Zaretskii <eliz@gnu.org>
parents:
36821
diff
changeset
|
595 mouse pointer to an arrow, and help about available mouse actions is |
87bf5cef20c7
Mode line is mouse-sensitive on all systems which have a mouse.
Eli Zaretskii <eliz@gnu.org>
parents:
36821
diff
changeset
|
596 displayed either in the echo area, or in the tooltip window if you |
87bf5cef20c7
Mode line is mouse-sensitive on all systems which have a mouse.
Eli Zaretskii <eliz@gnu.org>
parents:
36821
diff
changeset
|
597 have enabled one. |
36821 | 598 |
599 Currently, the following actions have been defined: | |
600 | |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
601 - Mouse-1 on the buffer name in the mode line goes to the next buffer. |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
602 |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
603 - Mouse-3 on the buffer-name goes to the previous buffer. |
36821 | 604 |
605 - Mouse-2 on the read-only or modified status in the mode line (`%' or | |
606 `*') toggles the status. | |
607 | |
608 - Mouse-3 on the mode name displays a minor-mode menu. | |
609 | |
610 ** Hourglass pointer | |
611 | |
612 Emacs can optionally display an hourglass pointer under X. You can | |
613 turn the display on or off by customizing group `cursor'. | |
614 | |
615 ** Blinking cursor | |
616 | |
617 M-x blink-cursor-mode toggles a blinking cursor under X and on | |
618 terminals having terminal capabilities `vi', `vs', and `ve'. Blinking | |
619 and related parameters like frequency and delay can be customized in | |
620 the group `cursor'. | |
621 | |
622 ** New font-lock support mode `jit-lock-mode'. | |
623 | |
624 This support mode is roughly equivalent to `lazy-lock' but is | |
625 generally faster. It supports stealth and deferred fontification. | |
626 See the documentation of the function `jit-lock-mode' for more | |
627 details. | |
628 | |
629 Font-lock uses jit-lock-mode as default support mode, so you don't | |
630 have to do anything to activate it. | |
631 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
632 ** The default binding of the Delete key has changed. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
633 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
634 The new user-option `normal-erase-is-backspace' can be set to |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
635 determine the effect of the Delete and Backspace function keys. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
636 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
637 On window systems, the default value of this option is chosen |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
638 according to the keyboard used. If the keyboard has both a Backspace |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
639 key and a Delete key, and both are mapped to their usual meanings, the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
640 option's default value is set to t, so that Backspace can be used to |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
641 delete backward, and Delete can be used to delete forward. On |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
642 keyboards which either have only one key (usually labeled DEL), or two |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
643 keys DEL and BS which produce the same effect, the option's value is |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
644 set to nil, and these keys delete backward. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
645 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
646 If not running under a window system, setting this option accomplishes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
647 a similar effect by mapping C-h, which is usually generated by the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
648 Backspace key, to DEL, and by mapping DEL to C-d via |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
649 `keyboard-translate'. The former functionality of C-h is available on |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
650 the F1 key. You should probably not use this setting on a text-only |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
651 terminal if you don't have both Backspace, Delete and F1 keys. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
652 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
653 Programmatically, you can call function normal-erase-is-backspace-mode |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
654 to toggle the behavior of the Delete and Backspace keys. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
655 |
36821 | 656 ** The default for user-option `next-line-add-newlines' has been |
657 changed to nil, i.e. C-n will no longer add newlines at the end of a | |
658 buffer by default. | |
659 | |
660 ** The <home> and <end> keys now move to the beginning or end of the | |
661 current line, respectively. C-<home> and C-<end> move to the | |
662 beginning and end of the buffer. | |
663 | |
664 ** Emacs now checks for recursive loads of Lisp files. If the | |
665 recursion depth exceeds `recursive-load-depth-limit', an error is | |
666 signaled. | |
667 | |
668 ** When an error is signaled during the loading of the user's init | |
669 file, Emacs now pops up the *Messages* buffer. | |
670 | |
671 ** Emacs now refuses to load compiled Lisp files which weren't | |
672 compiled with Emacs. Set `load-dangerous-libraries' to t to change | |
673 this behavior. | |
674 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
675 The reason for this change is an incompatible change in XEmacs's byte |
36821 | 676 compiler. Files compiled with XEmacs can contain byte codes that let |
677 Emacs dump core. | |
678 | |
679 ** Toggle buttons and radio buttons in menus. | |
680 | |
681 When compiled with LessTif (or Motif) support, Emacs uses toolkit | |
682 widgets for radio and toggle buttons in menus. When configured for | |
683 Lucid, Emacs draws radio buttons and toggle buttons similar to Motif. | |
684 | |
685 ** The menu bar configuration has changed. The new configuration is | |
686 more CUA-compliant. The most significant change is that Options is | |
687 now a separate menu-bar item, with Mule and Customize as its submenus. | |
688 | |
689 ** Item Save Options on the Options menu allows saving options set | |
690 using that menu. | |
691 | |
692 ** Highlighting of trailing whitespace. | |
693 | |
694 When `show-trailing-whitespace' is non-nil, Emacs displays trailing | |
695 whitespace in the face `trailing-whitespace'. Trailing whitespace is | |
696 defined as spaces or tabs at the end of a line. To avoid busy | |
697 highlighting when entering new text, trailing whitespace is not | |
698 displayed if point is at the end of the line containing the | |
699 whitespace. | |
700 | |
701 ** C-x 5 1 runs the new command delete-other-frames which deletes | |
702 all frames except the selected one. | |
703 | |
704 ** The new user-option `confirm-kill-emacs' can be customized to | |
705 let Emacs ask for confirmation before exiting. | |
706 | |
707 ** The header line in an Info buffer is now displayed as an emacs | |
708 header-line (which is like a mode-line, but at the top of the window), | |
709 so that it remains visible even when the buffer has been scrolled. | |
710 This behavior may be disabled by customizing the option | |
711 `Info-use-header-line'. | |
712 | |
713 ** Polish, Czech, German, and French translations of Emacs' reference card | |
714 have been added. They are named `pl-refcard.tex', `cs-refcard.tex', | |
715 `de-refcard.tex' and `fr-refcard.tex'. Postscript files are included. | |
716 | |
717 ** An `Emacs Survival Guide', etc/survival.tex, is available. | |
718 | |
719 ** A reference card for Dired has been added. Its name is | |
720 `dired-ref.tex'. A French translation is available in | |
721 `fr-drdref.tex'. | |
722 | |
723 ** C-down-mouse-3 is bound differently. Now if the menu bar is not | |
724 displayed it pops up a menu containing the items which would be on the | |
725 menu bar. If the menu bar is displayed, it pops up the major mode | |
726 menu or the Edit menu if there is no major mode menu. | |
727 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
728 ** Variable `load-path' is no longer customizable through Customize. |
38067
c1e43c8d51d2
Clarify the meaning of ``load-path is not customizable''. Someone just
Eli Zaretskii <eliz@gnu.org>
parents:
38012
diff
changeset
|
729 |
38107 | 730 You can no longer use `M-x customize-variable' to customize `load-path' |
38067
c1e43c8d51d2
Clarify the meaning of ``load-path is not customizable''. Someone just
Eli Zaretskii <eliz@gnu.org>
parents:
38012
diff
changeset
|
731 because it now contains a version-dependent component. You can still |
c1e43c8d51d2
Clarify the meaning of ``load-path is not customizable''. Someone just
Eli Zaretskii <eliz@gnu.org>
parents:
38012
diff
changeset
|
732 use `add-to-list' and `setq' to customize this variable in your |
c1e43c8d51d2
Clarify the meaning of ``load-path is not customizable''. Someone just
Eli Zaretskii <eliz@gnu.org>
parents:
38012
diff
changeset
|
733 `~/.emacs' init file or to modify it from any Lisp program in general. |
36821 | 734 |
735 ** C-u C-x = provides detailed information about the character at | |
736 point in a pop-up window. | |
737 | |
738 ** Emacs can now support 'wheeled' mice (such as the MS IntelliMouse) | |
739 under XFree86. To enable this, use the `mouse-wheel-mode' command, or | |
740 customize the variable `mouse-wheel-mode'. | |
741 | |
742 The variables `mouse-wheel-follow-mouse' and `mouse-wheel-scroll-amount' | |
743 determine where and by how much buffers are scrolled. | |
744 | |
745 ** Emacs' auto-save list files are now by default stored in a | |
746 sub-directory `.emacs.d/auto-save-list/' of the user's home directory. | |
747 (On MS-DOS, this subdirectory's name is `_emacs.d/auto-save.list/'.) | |
37365
cf22cb863f75
Fix a typo in auto-save-list-file-prefix.
Eli Zaretskii <eliz@gnu.org>
parents:
37289
diff
changeset
|
748 You can customize `auto-save-list-file-prefix' to change this location. |
36821 | 749 |
750 ** The function `getenv' is now callable interactively. | |
751 | |
34271 | 752 ** The new user-option `even-window-heights' can be set to nil |
753 to prevent `display-buffer' from evening out window heights. | |
754 | |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
755 ** The new command M-x delete-trailing-whitespace RET will delete the |
33990 | 756 trailing whitespace within the current restriction. You can also add |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
757 this function to `write-file-hooks' or `local-write-file-hooks'. |
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
758 |
33559 | 759 ** When visiting a file with M-x find-file-literally, no newlines will |
35937 | 760 be added to the end of the buffer even if `require-final-newline' is |
761 non-nil. | |
33559 | 762 |
31728 | 763 ** The new user-option `find-file-suppress-same-file-warnings' can be |
764 set to suppress warnings ``X and Y are the same file'' when visiting a | |
765 file that is already visited under a different name. | |
766 | |
31807 | 767 ** The new user-option `electric-help-shrink-window' can be set to |
768 nil to prevent adjusting the help window size to the buffer size. | |
769 | |
31728 | 770 ** New command M-x describe-character-set reads a character set name |
32280 | 771 and displays information about that. |
31248 | 772 |
30693 | 773 ** The new variable `auto-mode-interpreter-regexp' contains a regular |
774 expression matching interpreters, for file mode determination. | |
775 | |
776 This regular expression is matched against the first line of a file to | |
777 determine the file's mode in `set-auto-mode' when Emacs can't deduce a | |
778 mode from the file's name. If it matches, the file is assumed to be | |
779 interpreted by the interpreter matched by the second group of the | |
780 regular expression. The mode is then determined as the mode | |
781 associated with that interpreter in `interpreter-mode-alist'. | |
782 | |
29532
9609bc6529ac
executable-make-buffer-file-executable-if-script-p
Dave Love <fx@gnu.org>
parents:
29509
diff
changeset
|
783 ** New function executable-make-buffer-file-executable-if-script-p is |
31007 | 784 suitable as an after-save-hook as an alternative to `executable-chmod'. |
29532
9609bc6529ac
executable-make-buffer-file-executable-if-script-p
Dave Love <fx@gnu.org>
parents:
29509
diff
changeset
|
785 |
29509 | 786 ** The most preferred coding-system is now used to save a buffer if |
787 buffer-file-coding-system is `undecided' and it is safe for the buffer | |
788 contents. (The most preferred is set by set-language-environment or | |
789 by M-x prefer-coding-system.) Thus if you visit an ASCII file and | |
790 insert a non-ASCII character from your current language environment, | |
791 the file will be saved silently with the appropriate coding. | |
792 Previously you would be prompted for a safe coding system. | |
793 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
794 ** The many obsolete language `setup-...-environment' commands have |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
795 been removed -- use `set-language-environment'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
796 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
797 ** The new Custom option `keyboard-coding-system' specifies a coding |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
798 system for keyboard input. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
799 |
30296 | 800 ** New variable `inhibit-iso-escape-detection' determines if Emacs' |
801 coding system detection algorithm should pay attention to ISO2022's | |
802 escape sequences. If this variable is non-nil, the algorithm ignores | |
803 such escape sequences. The default value is nil, and it is | |
804 recommended not to change it except for the special case that you | |
30357 | 805 always want to read any escape code verbatim. If you just want to |
30296 | 806 read a specific file without decoding escape codes, use C-x RET c |
30357 | 807 (`universal-coding-system-argument'). For instance, C-x RET c latin-1 |
808 RET C-x C-f filename RET. | |
30205 | 809 |
29506 | 810 ** Variable `default-korean-keyboard' is initialized properly from the |
811 environment variable `HANGUL_KEYBOARD_TYPE'. | |
812 | |
813 ** New command M-x list-charset-chars reads a character set name and | |
814 displays all characters in that character set. | |
815 | |
816 ** M-x set-terminal-coding-system (C-x RET t) now allows CCL-based | |
817 coding systems such as cpXXX and cyrillic-koi8. | |
818 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
819 ** Emacs now attempts to determine the initial language environment |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
820 and preferred and locale coding systems systematically from the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
821 LC_ALL, LC_CTYPE, and LANG environment variables during startup. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
822 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
823 ** New language environments `Polish', `Latin-8' and `Latin-9'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
824 Latin-8 and Latin-9 correspond respectively to the ISO character sets |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
825 8859-14 (Celtic) and 8859-15 (updated Latin-1, with the Euro sign). |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
826 GNU Intlfonts doesn't support these yet but recent X releases have |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
827 8859-15. See etc/INSTALL for information on obtaining extra fonts. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
828 There are new Leim input methods for Latin-8 and Latin-9 prefix (only) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
829 and Polish `slash'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
830 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
831 ** New language environments `Dutch' and `Spanish'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
832 These new environments mainly select appropriate translations |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
833 of the tutorial. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
834 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
835 ** In Ethiopic language environment, special key bindings for |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
836 function keys are changed as follows. This is to conform to "Emacs |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
837 Lisp Coding Convention". |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
838 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
839 new command old-binding |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
840 --- ------- ----------- |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
841 f3 ethio-fidel-to-sera-buffer f5 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
842 S-f3 ethio-fidel-to-sera-region f5 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
843 C-f3 ethio-fidel-to-sera-mail-or-marker f5 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
844 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
845 f4 ethio-sera-to-fidel-buffer unchanged |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
846 S-f4 ethio-sera-to-fidel-region unchanged |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
847 C-f4 ethio-sera-to-fidel-mail-or-marker unchanged |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
848 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
849 S-f5 ethio-toggle-punctuation f3 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
850 S-f6 ethio-modify-vowel f6 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
851 S-f7 ethio-replace-space f7 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
852 S-f8 ethio-input-special-character f8 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
853 S-f9 ethio-replace-space unchanged |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
854 C-f9 ethio-toggle-space f2 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
855 |
39885
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
856 ** There are new Leim input methods. |
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
857 New input methods "turkish-postfix", "turkish-alt-postfix", |
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
858 "greek-mizuochi", "TeX", and "greek-babel" are now part of the Leim |
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
859 package. |
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
860 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
861 ** The rule of input method "slovak" is slightly changed. Now the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
862 rules for translating "q" and "Q" to "`" (backquote) are deleted, thus |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
863 typing them inserts "q" and "Q" respectively. Rules for translating |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
864 "=q", "+q", "=Q", and "+Q" to "`" are also deleted. Now, to input |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
865 "`", you must type "=q". |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
866 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
867 ** When your terminal can't display characters from some of the ISO |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
868 8859 character sets but can display Latin-1, you can display |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
869 more-or-less mnemonic sequences of ASCII/Latin-1 characters instead of |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
870 empty boxes (under a window system) or question marks (not under a |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
871 window system). Customize the option `latin1-display' to turn this |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
872 on. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
873 |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
874 ** M-; now calls comment-dwim which tries to do something clever based |
31026
3cd6db455d11
Mark comment-dwim as described in the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
31024
diff
changeset
|
875 on the context. M-x kill-comment is now an alias to comment-kill, |
33411
a873b191d4c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33373
diff
changeset
|
876 defined in newcomment.el. You can choose different styles of region |
a873b191d4c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33373
diff
changeset
|
877 commenting with the variable `comment-style'. |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
878 |
28799 | 879 ** New user options `display-time-mail-face' and |
880 `display-time-use-mail-icon' control the appearance of mode-line mail | |
881 indicator used by the display-time package. On a suitable display the | |
882 indicator can be an icon and is mouse-sensitive. | |
883 | |
28695 | 884 ** On window-systems, additional space can be put between text lines |
885 on the display using several methods | |
886 | |
887 - By setting frame parameter `line-spacing' to PIXELS. PIXELS must be | |
888 a positive integer, and specifies that PIXELS number of pixels should | |
889 be put below text lines on the affected frame or frames. | |
890 | |
891 - By setting X resource `lineSpacing', class `LineSpacing'. This is | |
33838 | 892 equivalent to specifying the frame parameter. |
28695 | 893 |
28870 | 894 - By specifying `--line-spacing=N' or `-lsp N' on the command line. |
28695 | 895 |
896 - By setting buffer-local variable `line-spacing'. The meaning is | |
897 the same, but applies to the a particular buffer only. | |
898 | |
29752 | 899 ** The new command `clone-indirect-buffer' can be used to create |
28660 | 900 an indirect buffer that is a twin copy of the current buffer. The |
29752 | 901 command `clone-indirect-buffer-other-window', bound to C-x 4 c, |
28660 | 902 does the same but displays the indirect buffer in another window. |
28626 | 903 |
28525
05658544eaff
backup-directory-alist, make-backup-file-name-function.
Dave Love <fx@gnu.org>
parents:
28506
diff
changeset
|
904 ** New user options `backup-directory-alist' and |
28757 | 905 `make-backup-file-name-function' control the placement of backups, |
906 typically in a single directory or in an invisible sub-directory. | |
28525
05658544eaff
backup-directory-alist, make-backup-file-name-function.
Dave Love <fx@gnu.org>
parents:
28506
diff
changeset
|
907 |
28396 | 908 ** New commands iso-iso2sgml and iso-sgml2iso convert between Latin-1 |
909 characters and the corresponding SGML (HTML) entities. | |
910 | |
28159 | 911 ** New X resources recognized |
27994 | 912 |
28140 | 913 *** The X resource `synchronous', class `Synchronous', specifies |
914 whether Emacs should run in synchronous mode. Synchronous mode | |
915 is useful for debugging X problems. | |
916 | |
917 Example: | |
918 | |
28159 | 919 emacs.synchronous: true |
28140 | 920 |
27994 | 921 *** The X resource `visualClass, class `VisualClass', specifies the |
922 visual Emacs should use. The resource's value should be a string of | |
27995 | 923 the form `CLASS-DEPTH', where CLASS is the name of the visual class, |
924 and DEPTH is the requested color depth as a decimal number. Valid | |
925 visual class names are | |
27994 | 926 |
927 TrueColor | |
928 PseudoColor | |
929 DirectColor | |
930 StaticColor | |
931 GrayScale | |
932 StaticGray | |
933 | |
934 Visual class names specified as X resource are case-insensitive, i.e. | |
935 `pseudocolor', `Pseudocolor' and `PseudoColor' all have the same | |
936 meaning. | |
937 | |
27995 | 938 The program `xdpyinfo' can be used to list the visual classes |
939 supported on your display, and which depths they have. If | |
940 `visualClass' is not specified, Emacs uses the display's default | |
941 visual. | |
942 | |
943 Example: | |
944 | |
28159 | 945 emacs.visualClass: TrueColor-8 |
27994 | 946 |
947 *** The X resource `privateColormap', class `PrivateColormap', | |
948 specifies that Emacs should use a private colormap if it is using the | |
949 default visual, and that visual is of class PseudoColor. Recognized | |
950 resource values are `true' or `on'. | |
951 | |
27995 | 952 Example: |
953 | |
28159 | 954 emacs.privateColormap: true |
27995 | 955 |
25853 | 956 ** Faces and frame parameters. |
957 | |
958 There are four new faces `scroll-bar', `border', `cursor' and `mouse'. | |
959 Setting the frame parameters `scroll-bar-foreground' and | |
960 `scroll-bar-background' sets foreground and background color of face | |
961 `scroll-bar' and vice versa. Setting frame parameter `border-color' | |
962 sets the background color of face `border' and vice versa. Likewise | |
963 for frame parameters `cursor-color' and face `cursor', and frame | |
964 parameter `mouse-color' and face `mouse'. | |
965 | |
966 Changing frame parameter `font' sets font-related attributes of the | |
967 `default' face and vice versa. Setting frame parameters | |
26264 | 968 `foreground-color' or `background-color' sets the colors of the |
25853 | 969 `default' face and vice versa. |
970 | |
25951 | 971 ** New face `menu'. |
972 | |
973 The face `menu' can be used to change colors and font of Emacs' menus. | |
974 | |
25853 | 975 ** New frame parameter `screen-gamma' for gamma correction. |
976 | |
977 The new frame parameter `screen-gamma' specifies gamma-correction for | |
978 colors. Its value may be nil, the default, in which case no gamma | |
979 correction occurs, or a number > 0, usually a float, that specifies | |
980 the screen gamma of a frame's display. | |
981 | |
982 PC monitors usually have a screen gamma of 2.2. smaller values result | |
983 in darker colors. You might want to try a screen gamma of 1.5 for LCD | |
984 color displays. The viewing gamma Emacs uses is 0.4545. (1/2.2). | |
985 | |
986 The X resource name of this parameter is `screenGamma', class | |
987 `ScreenGamma'. | |
988 | |
989 ** Tabs and variable-width text. | |
990 | |
991 Tabs are now displayed with stretch properties; the width of a tab is | |
992 defined as a multiple of the normal character width of a frame, and is | |
993 independent of the fonts used in the text where the tab appears. | |
994 Thus, tabs can be used to line up text in different fonts. | |
995 | |
996 ** Enhancements of the Lucid menu bar | |
997 | |
998 *** The Lucid menu bar now supports the resource "margin". | |
999 | |
1000 emacs.pane.menubar.margin: 5 | |
1001 | |
28677
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1002 The default margin is 4 which makes the menu bar appear like the |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1003 LessTif/Motif one. |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1004 |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1005 *** Arrows that indicate sub-menus are now drawn with shadows, as in |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1006 LessTif and Motif. |
25853 | 1007 |
1008 ** A block cursor can be drawn as wide as the glyph under it under X. | |
1009 | |
1010 As an example: if a block cursor is over a tab character, it will be | |
1011 drawn as wide as that tab on the display. To do this, set | |
1012 `x-stretch-cursor' to a non-nil value. | |
1013 | |
1014 ** Empty display lines at the end of a buffer may be marked with a | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1015 bitmap (this is similar to the tilde displayed by vi and Less). |
25853 | 1016 |
1017 This behavior is activated by setting the buffer-local variable | |
1018 `indicate-empty-lines' to a non-nil value. The default value of this | |
1019 variable is found in `default-indicate-empty-lines'. | |
1020 | |
1021 ** There is a new "aggressive" scrolling method. | |
1022 | |
1023 When scrolling up because point is above the window start, if the | |
33624 | 1024 value of the buffer-local variable `scroll-up-aggressively' is a |
25853 | 1025 number, Emacs chooses a new window start so that point ends up that |
31124 | 1026 fraction of the window's height from the top of the window. |
25853 | 1027 |
1028 When scrolling down because point is below the window end, if the | |
35680 | 1029 value of the buffer-local variable `scroll-down-aggressively' is a |
25853 | 1030 number, Emacs chooses a new window start so that point ends up that |
31124 | 1031 fraction of the window's height from the bottom of the window. |
25853 | 1032 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1033 ** You can now easily create new *Info* buffers using either |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1034 M-x clone-buffer, C-u m <entry> RET or C-u g <entry> RET. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1035 M-x clone-buffer can also be used on *Help* and several other special |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1036 buffers. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1037 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1038 ** The command `Info-search' now uses a search history. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1039 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1040 ** Listing buffers with M-x list-buffers (C-x C-b) now shows |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1041 abbreviated file names. Abbreviations can be customized by changing |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1042 `directory-abbrev-alist'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1043 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1044 ** A new variable, backup-by-copying-when-privileged-mismatch, gives |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1045 the highest file uid for which backup-by-copying-when-mismatch will be |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1046 forced on. The assumption is that uids less than or equal to this |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1047 value are special uids (root, bin, daemon, etc.--not real system |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1048 users) and that files owned by these users should not change ownership, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1049 even if your system policy allows users other than root to edit them. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1050 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1051 The default is 200; set the variable to nil to disable the feature. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1052 |
25853 | 1053 ** The rectangle commands now avoid inserting undesirable spaces, |
1054 notably at the end of lines. | |
1055 | |
1056 All these functions have been rewritten to avoid inserting unwanted | |
1057 spaces, and an optional prefix now allows them to behave the old way. | |
1058 | |
37446
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
1059 ** The function `replace-rectangle' is an alias for `string-rectangle'. |
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
1060 |
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
1061 ** The new command M-x string-insert-rectangle is like `string-rectangle', |
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
1062 but inserts text instead of replacing it. |
35640
6ed788afc91f
Document the incompatible change in string-rectangle.
Eli Zaretskii <eliz@gnu.org>
parents:
35578
diff
changeset
|
1063 |
25853 | 1064 ** The new command M-x query-replace-regexp-eval acts like |
1065 query-replace-regexp, but takes a Lisp expression which is evaluated | |
1066 after each match to get the replacement text. | |
1067 | |
29972 | 1068 ** M-x query-replace recognizes a new command `e' (or `E') that lets |
1069 you edit the replacement string. | |
28805 | 1070 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1071 ** The new command mail-abbrev-complete-alias, bound to `M-TAB' |
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1072 (if you load the library `mailabbrev'), lets you complete mail aliases |
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1073 in the text, analogous to lisp-complete-symbol. |
28805 | 1074 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1075 ** The variable `echo-keystrokes' may now have a floating point value. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1076 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1077 ** If your init file is compiled (.emacs.elc), `user-init-file' is set |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1078 to the source name (.emacs.el), if that exists, after loading it. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1079 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1080 ** The help string specified for a menu-item whose definition contains |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1081 the property `:help HELP' is now displayed under X, on MS-Windows, and |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1082 MS-DOS, either in the echo area or with tooltips. Many standard menus |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1083 displayed by Emacs now have help strings. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1084 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1085 -- |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1086 ** New user option `read-mail-command' specifies a command to use to |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1087 read mail from the menu etc. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1088 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1089 ** The environment variable `EMACSLOCKDIR' is no longer used on MS-Windows. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1090 This environment variable was used when creating lock files. Emacs on |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1091 MS-Windows does not use this variable anymore. This change was made |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1092 before Emacs 21.1, but wasn't documented until now. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1093 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1094 ** Highlighting of mouse-sensitive regions is now supported in the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1095 MS-DOS version of Emacs. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1096 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1097 ** The new command `msdos-set-mouse-buttons' forces the MS-DOS version |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1098 of Emacs to behave as if the mouse had a specified number of buttons. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1099 This comes handy with mice that don't report their number of buttons |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1100 correctly. One example is the wheeled mice, which report 3 buttons, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1101 but clicks on the middle button are not passed to the MS-DOS version |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1102 of Emacs. |
29676 | 1103 |
25853 | 1104 ** Customize changes |
1105 | |
1106 *** Customize now supports comments about customized items. Use the | |
36885 | 1107 `State' menu to add comments, or give a prefix argument to |
1108 M-x customize-set-variable or M-x customize-set-value. Note that | |
1109 customization comments will cause the customizations to fail in | |
1110 earlier versions of Emacs. | |
25853 | 1111 |
1112 *** The new option `custom-buffer-done-function' says whether to kill | |
1113 Custom buffers when you've done with them or just bury them (the | |
1114 default). | |
1115 | |
37901
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
1116 *** If Emacs was invoked with the `-q' or `--no-init-file' options, it |
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
1117 does not allow you to save customizations in your `~/.emacs' init |
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
1118 file. This is because saving customizations from such a session would |
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
1119 wipe out all the other customizationss you might have on your init |
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
1120 file. |
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
1121 |
25853 | 1122 ** New features in evaluation commands |
1123 | |
30056 | 1124 *** The commands to evaluate Lisp expressions, such as C-M-x in Lisp |
25853 | 1125 modes, C-j in Lisp Interaction mode, and M-:, now bind the variables |
38562
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1126 print-level, print-length, and debug-on-error based on the new |
25853 | 1127 customizable variables eval-expression-print-level, |
1128 eval-expression-print-length, and eval-expression-debug-on-error. | |
1129 | |
38562
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1130 The default values for the first two of these variables are 12 and 4 |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1131 respectively, which means that `eval-expression' now prints at most |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1132 the first 12 members of a list and at most 4 nesting levels deep (if |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1133 the list is longer or deeper than that, an ellipsis `...' is |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1134 printed). |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1135 |
38590 | 1136 <RET> or <mouse-2> on the printed text toggles between an abbreviated |
1137 printed representation and an unabbreviated one. | |
38573 | 1138 |
38562
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1139 The default value of eval-expression-debug-on-error is t, so any error |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1140 during evaluation produces a backtrace. |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1141 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
1142 *** The function `eval-defun' (C-M-x) now loads Edebug and instruments |
30056 | 1143 code when called with a prefix argument. |
1144 | |
26820 | 1145 ** CC mode changes. |
1146 | |
1147 Note: This release contains changes that might not be compatible with | |
1148 current user setups (although it's believed that these | |
1149 incompatibilities will only show in very uncommon circumstances). | |
1150 However, since the impact is uncertain, these changes may be rolled | |
1151 back depending on user feedback. Therefore there's no forward | |
1152 compatibility guarantee wrt the new features introduced in this | |
1153 release. | |
1154 | |
37009 | 1155 *** The hardcoded switch to "java" style in Java mode is gone. |
1156 CC Mode used to automatically set the style to "java" when Java mode | |
1157 is entered. This has now been removed since it caused too much | |
1158 confusion. | |
1159 | |
1160 However, to keep backward compatibility to a certain extent, the | |
1161 default value for c-default-style now specifies the "java" style for | |
1162 java-mode, but "gnu" for all other modes (as before). So you won't | |
1163 notice the change if you haven't touched that variable. | |
1164 | |
1165 *** New cleanups, space-before-funcall and compact-empty-funcall. | |
1166 Two new cleanups have been added to c-cleanup-list: | |
1167 | |
1168 space-before-funcall causes a space to be inserted before the opening | |
1169 parenthesis of a function call, which gives the style "foo (bar)". | |
1170 | |
1171 compact-empty-funcall causes any space before a function call opening | |
1172 parenthesis to be removed if there are no arguments to the function. | |
1173 It's typically useful together with space-before-funcall to get the | |
1174 style "foo (bar)" and "foo()". | |
1175 | |
1176 *** Some keywords now automatically trigger reindentation. | |
1177 Keywords like "else", "while", "catch" and "finally" have been made | |
1178 "electric" to make them reindent automatically when they continue an | |
1179 earlier statement. An example: | |
1180 | |
1181 for (i = 0; i < 17; i++) | |
1182 if (a[i]) | |
1183 res += a[i]->offset; | |
1184 else | |
1185 | |
1186 Here, the "else" should be indented like the preceding "if", since it | |
1187 continues that statement. CC Mode will automatically reindent it after | |
1188 the "else" has been typed in full, since it's not until then it's | |
1189 possible to decide whether it's a new statement or a continuation of | |
1190 the preceding "if". | |
1191 | |
1192 CC Mode uses Abbrev mode to achieve this, which is therefore turned on | |
1193 by default. | |
1194 | |
1195 *** M-a and M-e now moves by sentence in multiline strings. | |
1196 Previously these two keys only moved by sentence in comments, which | |
1197 meant that sentence movement didn't work in strings containing | |
1198 documentation or other natural language text. | |
1199 | |
1200 The reason it's only activated in multiline strings (i.e. strings that | |
1201 contain a newline, even when escaped by a '\') is to avoid stopping in | |
1202 the short strings that often reside inside statements. Multiline | |
1203 strings almost always contain text in a natural language, as opposed | |
1204 to other strings that typically contain format specifications, | |
1205 commands, etc. Also, it's not that bothersome that M-a and M-e misses | |
1206 sentences in single line strings, since they're short anyway. | |
1207 | |
1208 *** Support for autodoc comments in Pike mode. | |
1209 Autodoc comments for Pike are used to extract documentation from the | |
1210 source, like Javadoc in Java. Pike mode now recognize this markup in | |
1211 comment prefixes and paragraph starts. | |
1212 | |
1213 *** The comment prefix regexps on c-comment-prefix may be mode specific. | |
1214 When c-comment-prefix is an association list, it specifies the comment | |
1215 line prefix on a per-mode basis, like c-default-style does. This | |
1216 change came about to support the special autodoc comment prefix in | |
1217 Pike mode only. | |
1218 | |
1219 *** Better handling of syntactic errors. | |
1220 The recovery after unbalanced parens earlier in the buffer has been | |
1221 improved; CC Mode now reports them by dinging and giving a message | |
1222 stating the offending line, but still recovers and indent the | |
1223 following lines in a sane way (most of the time). An "else" with no | |
1224 matching "if" is handled similarly. If an error is discovered while | |
1225 indenting a region, the whole region is still indented and the error | |
1226 is reported afterwards. | |
1227 | |
1228 *** Lineup functions may now return absolute columns. | |
1229 A lineup function can give an absolute column to indent the line to by | |
1230 returning a vector with the desired column as the first element. | |
1231 | |
1232 *** More robust and warning-free byte compilation. | |
1233 Although this is strictly not a user visible change (well, depending | |
1234 on the view of a user), it's still worth mentioning that CC Mode now | |
1235 can be compiled in the standard ways without causing trouble. Some | |
1236 code have also been moved between the subpackages to enhance the | |
1237 modularity somewhat. Thanks to Martin Buchholz for doing the | |
1238 groundwork. | |
1239 | |
30412 | 1240 *** c-style-variables-are-local-p now defaults to t. |
1241 This is an incompatible change that has been made to make the behavior | |
1242 of the style system wrt global variable settings less confusing for | |
1243 non-advanced users. If you know what this variable does you might | |
1244 want to set it to nil in your .emacs, otherwise you probably don't | |
1245 have to bother. | |
1246 | |
1247 Defaulting c-style-variables-are-local-p to t avoids the confusing | |
1248 situation that occurs when a user sets some style variables globally | |
30445 | 1249 and edits both a Java and a non-Java file in the same Emacs session. |
30412 | 1250 If the style variables aren't buffer local in this case, loading of |
1251 the second file will cause the default style (either "gnu" or "java" | |
1252 by default) to override the global settings made by the user. | |
1253 | |
26820 | 1254 *** New initialization procedure for the style system. |
1255 When the initial style for a buffer is determined by CC Mode (from the | |
1256 variable c-default-style), the global values of style variables now | |
1257 take precedence over the values specified by the chosen style. This | |
1258 is different than the old behavior: previously, the style-specific | |
1259 settings would override the global settings. This change makes it | |
1260 possible to do simple configuration in the intuitive way with | |
1261 Customize or with setq lines in one's .emacs file. | |
1262 | |
1263 By default, the global value of every style variable is the new | |
1264 special symbol set-from-style, which causes the value to be taken from | |
1265 the style system. This means that in effect, only an explicit setting | |
1266 of a style variable will cause the "overriding" behavior described | |
1267 above. | |
1268 | |
1269 Also note that global settings override style-specific settings *only* | |
1270 when the initial style of a buffer is chosen by a CC Mode major mode | |
1271 function. When a style is chosen in other ways --- for example, by a | |
1272 call like (c-set-style "gnu") in a hook, or via M-x c-set-style --- | |
1273 then the style-specific values take precedence over any global style | |
1274 values. In Lisp terms, global values override style-specific values | |
1275 only when the new second argument to c-set-style is non-nil; see the | |
1276 function documentation for more info. | |
1277 | |
1278 The purpose of these changes is to make it easier for users, | |
1279 especially novice users, to do simple customizations with Customize or | |
1280 with setq in their .emacs files. On the other hand, the new system is | |
1281 intended to be compatible with advanced users' customizations as well, | |
1282 such as those that choose styles in hooks or whatnot. This new system | |
1283 is believed to be almost entirely compatible with current | |
1284 configurations, in spite of the changed precedence between style and | |
1285 global variable settings when a buffer's default style is set. | |
1286 | |
1287 (Thanks to Eric Eide for clarifying this explanation a bit.) | |
1288 | |
1289 **** c-offsets-alist is now a customizable variable. | |
1290 This became possible as a result of the new initialization behavior. | |
1291 | |
1292 This variable is treated slightly differently from the other style | |
1293 variables; instead of using the symbol set-from-style, it will be | |
1294 completed with the syntactic symbols it doesn't already contain when | |
1295 the style is first initialized. This means it now defaults to the | |
1296 empty list to make all syntactic elements get their values from the | |
1297 style system. | |
1298 | |
1299 **** Compatibility variable to restore the old behavior. | |
1300 In case your configuration doesn't work with this change, you can set | |
1301 c-old-style-variable-behavior to non-nil to get the old behavior back | |
1302 as far as possible. | |
1303 | |
1304 *** Improvements to line breaking and text filling. | |
1305 CC Mode now handles this more intelligently and seamlessly wrt the | |
1306 surrounding code, especially inside comments. For details see the new | |
1307 chapter about this in the manual. | |
1308 | |
1309 **** New variable to recognize comment line prefix decorations. | |
1310 The variable c-comment-prefix-regexp has been added to properly | |
1311 recognize the line prefix in both block and line comments. It's | |
1312 primarily used to initialize the various paragraph recognition and | |
1313 adaptive filling variables that the text handling functions uses. | |
1314 | |
1315 **** New variable c-block-comment-prefix. | |
1316 This is a generalization of the now obsolete variable | |
1317 c-comment-continuation-stars to handle arbitrary strings. | |
1318 | |
1319 **** CC Mode now uses adaptive fill mode. | |
1320 This to make it adapt better to the paragraph style inside comments. | |
1321 | |
1322 It's also possible to use other adaptive filling packages inside CC | |
1323 Mode, notably Kyle E. Jones' Filladapt mode (http://wonderworks.com/). | |
1324 A new convenience function c-setup-filladapt sets up Filladapt for use | |
1325 inside CC Mode. | |
1326 | |
1327 Note though that the 2.12 version of Filladapt lacks a feature that | |
1328 causes it to work suboptimally when c-comment-prefix-regexp can match | |
1329 the empty string (which it commonly does). A patch for that is | |
1330 available from the CC Mode web site (http://www.python.org/emacs/ | |
1331 cc-mode/). | |
1332 | |
38894
681dc47ffb61
Document the removal of c-hanging-comment-starter-p and
Eli Zaretskii <eliz@gnu.org>
parents:
38832
diff
changeset
|
1333 **** The variables `c-hanging-comment-starter-p' and |
681dc47ffb61
Document the removal of c-hanging-comment-starter-p and
Eli Zaretskii <eliz@gnu.org>
parents:
38832
diff
changeset
|
1334 `c-hanging-comment-ender-p', which controlled how comment starters and |
681dc47ffb61
Document the removal of c-hanging-comment-starter-p and
Eli Zaretskii <eliz@gnu.org>
parents:
38832
diff
changeset
|
1335 enders were filled, are not used anymore. The new version of the |
681dc47ffb61
Document the removal of c-hanging-comment-starter-p and
Eli Zaretskii <eliz@gnu.org>
parents:
38832
diff
changeset
|
1336 function `c-fill-paragraph' keeps the comment starters and enders as |
681dc47ffb61
Document the removal of c-hanging-comment-starter-p and
Eli Zaretskii <eliz@gnu.org>
parents:
38832
diff
changeset
|
1337 they were before the filling. |
681dc47ffb61
Document the removal of c-hanging-comment-starter-p and
Eli Zaretskii <eliz@gnu.org>
parents:
38832
diff
changeset
|
1338 |
26820 | 1339 **** It's now possible to selectively turn off auto filling. |
1340 The variable c-ignore-auto-fill is used to ignore auto fill mode in | |
1341 specific contexts, e.g. in preprocessor directives and in string | |
1342 literals. | |
1343 | |
1344 **** New context sensitive line break function c-context-line-break. | |
1345 It works like newline-and-indent in normal code, and adapts the line | |
1346 prefix according to the comment style when used inside comments. If | |
1347 you're normally using newline-and-indent, you might want to switch to | |
1348 this function. | |
1349 | |
1350 *** Fixes to IDL mode. | |
1351 It now does a better job in recognizing only the constructs relevant | |
1352 to IDL. E.g. it no longer matches "class" as the beginning of a | |
1353 struct block, but it does match the CORBA 2.3 "valuetype" keyword. | |
1354 Thanks to Eric Eide. | |
1355 | |
1356 *** Improvements to the Whitesmith style. | |
1357 It now keeps the style consistently on all levels and both when | |
1358 opening braces hangs and when they don't. | |
1359 | |
1360 **** New lineup function c-lineup-whitesmith-in-block. | |
1361 | |
1362 *** New lineup functions c-lineup-template-args and c-indent-multi-line-block. | |
1363 See their docstrings for details. c-lineup-template-args does a | |
1364 better job of tracking the brackets used as parens in C++ templates, | |
1365 and is used by default to line up continued template arguments. | |
1366 | |
1367 *** c-lineup-comment now preserves alignment with a comment on the | |
1368 previous line. It used to instead preserve comments that started in | |
1369 the column specified by comment-column. | |
1370 | |
1371 *** c-lineup-C-comments handles "free form" text comments. | |
1372 In comments with a long delimiter line at the start, the indentation | |
1373 is kept unchanged for lines that start with an empty comment line | |
1374 prefix. This is intended for the type of large block comments that | |
1375 contain documentation with its own formatting. In these you normally | |
1376 don't want CC Mode to change the indentation. | |
1377 | |
1378 *** The `c' syntactic symbol is now relative to the comment start | |
1379 instead of the previous line, to make integers usable as lineup | |
1380 arguments. | |
1381 | |
1382 *** All lineup functions have gotten docstrings. | |
1383 | |
1384 *** More preprocessor directive movement functions. | |
1385 c-down-conditional does the reverse of c-up-conditional. | |
1386 c-up-conditional-with-else and c-down-conditional-with-else are | |
1387 variants of these that also stops at "#else" lines (suggested by Don | |
1388 Provan). | |
1389 | |
1390 *** Minor improvements to many movement functions in tricky situations. | |
1391 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1392 ** Dired changes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1393 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1394 *** New variable `dired-recursive-deletes' determines if the delete |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1395 command will delete non-empty directories recursively. The default |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1396 is, delete only empty directories. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1397 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1398 *** New variable `dired-recursive-copies' determines if the copy |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1399 command will copy directories recursively. The default is, do not |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1400 copy directories recursively. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1401 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1402 *** In command `dired-do-shell-command' (usually bound to `!') a `?' |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1403 in the shell command has a special meaning similar to `*', but with |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1404 the difference that the command will be run on each file individually. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1405 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1406 *** The new command `dired-find-alternate-file' (usually bound to `a') |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1407 replaces the Dired buffer with the buffer for an alternate file or |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1408 directory. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1409 |
38989
6dcbf4154ff0
Change key for dired-show-file-type to `y'.
Gerd Moellmann <gerd@gnu.org>
parents:
38938
diff
changeset
|
1410 *** The new command `dired-show-file-type' (usually bound to `y') shows |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1411 a message in the echo area describing what type of file the point is on. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1412 This command invokes the external program `file' do its work, and so |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1413 will only work on systems with that program, and will be only as |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1414 accurate or inaccurate as it is. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1415 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1416 *** Dired now properly handles undo changes of adding/removing `-R' |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1417 from ls switches. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1418 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1419 *** Dired commands that prompt for a destination file now allow the use |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1420 of the `M-n' command in the minibuffer to insert the source filename, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1421 which the user can then edit. This only works if there is a single |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1422 source file, not when operating on multiple marked files. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1423 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1424 ** Gnus changes. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1425 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1426 The Gnus NEWS entries are short, but they reflect sweeping changes in |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1427 four areas: Article display treatment, MIME treatment, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1428 internationalization and mail-fetching. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1429 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1430 *** The mail-fetching functions have changed. See the manual for the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1431 many details. In particular, all procmail fetching variables are gone. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1432 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1433 If you used procmail like in |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1434 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1435 (setq nnmail-use-procmail t) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1436 (setq nnmail-spool-file 'procmail) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1437 (setq nnmail-procmail-directory "~/mail/incoming/") |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1438 (setq nnmail-procmail-suffix "\\.in") |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1439 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1440 this now has changed to |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1441 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1442 (setq mail-sources |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1443 '((directory :path "~/mail/incoming/" |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1444 :suffix ".in"))) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1445 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1446 More information is available in the info doc at Select Methods -> |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1447 Getting Mail -> Mail Sources |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1448 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1449 *** Gnus is now a MIME-capable reader. This affects many parts of |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1450 Gnus, and adds a slew of new commands. See the manual for details. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1451 Separate MIME packages like RMIME, mime-compose etc., will probably no |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1452 longer work; remove them and use the native facilities. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1453 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1454 The FLIM/SEMI package still works with Emacs 21, but if you want to |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1455 use the native facilities, you must remove any mailcap.el[c] that was |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1456 installed by FLIM/SEMI version 1.13 or earlier. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1457 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1458 *** Gnus has also been multilingualized. This also affects too many |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1459 parts of Gnus to summarize here, and adds many new variables. There |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1460 are built-in facilities equivalent to those of gnus-mule.el, which is |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1461 now just a compatibility layer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1462 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1463 *** gnus-mule.el is now just a compatibility layer over the built-in |
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1464 Gnus facilities. |
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1465 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1466 *** gnus-auto-select-first can now be a function to be |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1467 called to position point. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1468 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1469 *** The user can now decide which extra headers should be included in |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1470 summary buffers and NOV files. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1471 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1472 *** `gnus-article-display-hook' has been removed. Instead, a number |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1473 of variables starting with `gnus-treat-' have been added. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1474 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1475 *** The Gnus posting styles have been redone again and now work in a |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1476 subtly different manner. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1477 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1478 *** New web-based backends have been added: nnslashdot, nnwarchive |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1479 and nnultimate. nnweb has been revamped, again, to keep up with |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1480 ever-changing layouts. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1481 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1482 *** Gnus can now read IMAP mail via nnimap. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1483 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1484 *** There is image support of various kinds and some sound support. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1485 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1486 ** Changes in Texinfo mode. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1487 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1488 *** A couple of new key bindings have been added for inserting Texinfo |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1489 macros |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1490 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1491 Key binding Macro |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1492 ------------------------- |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1493 C-c C-c C-s @strong |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1494 C-c C-c C-e @emph |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1495 C-c C-c u @uref |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1496 C-c C-c q @quotation |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1497 C-c C-c m @email |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1498 C-c C-o @<block> ... @end <block> |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1499 M-RET @item |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1500 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1501 *** The " key now inserts either " or `` or '' depending on context. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1502 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1503 ** Changes in Outline mode. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1504 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1505 There is now support for Imenu to index headings. A new command |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1506 `outline-headers-as-kill' copies the visible headings in the region to |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1507 the kill ring, e.g. to produce a table of contents. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1508 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1509 ** Changes to Emacs Server |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1510 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1511 *** The new option `server-kill-new-buffers' specifies what to do |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1512 with buffers when done with them. If non-nil, the default, buffers |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1513 are killed, unless they were already present before visiting them with |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1514 Emacs Server. If nil, `server-temp-file-regexp' specifies which |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1515 buffers to kill, as before. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1516 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1517 Please note that only buffers are killed that still have a client, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1518 i.e. buffers visited with `emacsclient --no-wait' are never killed in |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1519 this way. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1520 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1521 ** Both emacsclient and Emacs itself now accept command line options |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1522 of the form +LINE:COLUMN in addition to +LINE. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1523 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1524 ** Changes to Show Paren mode. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1525 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1526 *** Overlays used by Show Paren mode now use a priority property. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1527 The new user option show-paren-priority specifies the priority to |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1528 use. Default is 1000. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1529 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1530 ** New command M-x check-parens can be used to find unbalanced paren |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1531 groups and strings in buffers in Lisp mode (or other modes). |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1532 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1533 ** Changes to hideshow.el |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1534 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1535 *** Generalized block selection and traversal |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1536 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1537 A block is now recognized by its start and end regexps (both strings), |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1538 and an integer specifying which sub-expression in the start regexp |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1539 serves as the place where a `forward-sexp'-like function can operate. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1540 See the documentation of variable `hs-special-modes-alist'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1541 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1542 *** During incremental search, if Hideshow minor mode is active, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1543 hidden blocks are temporarily shown. The variable `hs-headline' can |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1544 be used in the mode line format to show the line at the beginning of |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1545 the open block. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1546 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1547 *** User option `hs-hide-all-non-comment-function' specifies a |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1548 function to be called at each top-level block beginning, instead of |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1549 the normal block-hiding function. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1550 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1551 *** The command `hs-show-region' has been removed. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1552 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1553 *** The key bindings have changed to fit the Emacs conventions, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1554 roughly imitating those of Outline minor mode. Notably, the prefix |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1555 for all bindings is now `C-c @'. For details, see the documentation |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1556 for `hs-minor-mode'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1557 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1558 *** The variable `hs-show-hidden-short-form' has been removed, and |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1559 hideshow.el now always behaves as if this variable were set to t. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1560 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1561 ** Changes to Change Log mode and Add-Log functions |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1562 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1563 *** If you invoke `add-change-log-entry' from a backup file, it makes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1564 an entry appropriate for the file's parent. This is useful for making |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1565 log entries by comparing a version with deleted functions. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1566 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1567 **** New command M-x change-log-merge merges another log into the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1568 current buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1569 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1570 *** New command M-x change-log-redate fixes any old-style date entries |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1571 in a log file. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1572 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1573 *** Change Log mode now adds a file's version number to change log |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1574 entries if user-option `change-log-version-info-enabled' is non-nil. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1575 Unless the file is under version control the search for a file's |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1576 version number is performed based on regular expressions from |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1577 `change-log-version-number-regexp-list' which can be customized. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1578 Version numbers are only found in the first 10 percent of a file. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1579 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1580 *** Change Log mode now defines its own faces for font-lock highlighting. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1581 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1582 ** Changes to cmuscheme |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1583 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1584 *** The user-option `scheme-program-name' has been renamed |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1585 `cmuscheme-program-name' due to conflicts with xscheme.el. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1586 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1587 ** Changes in Font Lock |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1588 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1589 *** The new function `font-lock-remove-keywords' can be used to remove |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1590 font-lock keywords from the current buffer or from a specific major mode. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1591 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1592 *** Multi-line patterns are now supported. Modes using this, should |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1593 set font-lock-multiline to t in their font-lock-defaults. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1594 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1595 *** `font-lock-syntactic-face-function' allows major-modes to choose |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1596 the face used for each string/comment. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1597 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1598 *** A new standard face `font-lock-doc-face'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1599 Meant for Lisp docstrings, Javadoc comments and other "documentation in code". |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1600 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1601 ** Changes to Shell mode |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1602 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1603 *** The `shell' command now accepts an optional argument to specify the buffer |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1604 to use, which defaults to "*shell*". When used interactively, a |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1605 non-default buffer may be specified by giving the `shell' command a |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1606 prefix argument (causing it to prompt for the buffer name). |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1607 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1608 ** Comint (subshell) changes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1609 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1610 These changes generally affect all modes derived from comint mode, which |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1611 include shell-mode, gdb-mode, scheme-interaction-mode, etc. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1612 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1613 *** Comint now by default interprets some carriage-control characters. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1614 Comint now removes CRs from CR LF sequences, and treats single CRs and |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1615 BSs in the output in a way similar to a terminal (by deleting to the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1616 beginning of the line, or deleting the previous character, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1617 respectively). This is achieved by adding `comint-carriage-motion' to |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1618 the `comint-output-filter-functions' hook by default. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1619 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1620 *** By default, comint no longer uses the variable `comint-prompt-regexp' |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1621 to distinguish prompts from user-input. Instead, it notices which |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1622 parts of the text were output by the process, and which entered by the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1623 user, and attaches `field' properties to allow emacs commands to use |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1624 this information. Common movement commands, notably beginning-of-line, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1625 respect field boundaries in a fairly natural manner. To disable this |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1626 feature, and use the old behavior, customize the user option |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1627 `comint-use-prompt-regexp-instead-of-fields'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1628 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1629 *** Comint now includes new features to send commands to running processes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1630 and redirect the output to a designated buffer or buffers. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1631 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1632 *** The command M-x comint-redirect-send-command reads a command and |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1633 buffer name from the mini-buffer. The command is sent to the current |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1634 buffer's process, and its output is inserted into the specified buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1635 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1636 The command M-x comint-redirect-send-command-to-process acts like |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1637 M-x comint-redirect-send-command but additionally reads the name of |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1638 the buffer whose process should be used from the mini-buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1639 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1640 *** Packages based on comint now highlight user input and program prompts, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1641 and support choosing previous input with mouse-2. To control these features, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1642 see the user-options `comint-highlight-input' and `comint-highlight-prompt'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1643 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1644 *** The new command `comint-write-output' (usually bound to `C-c C-s') |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1645 saves the output from the most recent command to a file. With a prefix |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1646 argument, it appends to the file. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1647 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1648 *** The command `comint-kill-output' has been renamed `comint-delete-output' |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1649 (usually bound to `C-c C-o'); the old name is aliased to it for |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1650 compatibility. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1651 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1652 *** The new function `comint-add-to-input-history' adds commands to the input |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1653 ring (history). |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1654 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1655 *** The new variable `comint-input-history-ignore' is a regexp for |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1656 identifying history lines that should be ignored, like tcsh time-stamp |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1657 strings, starting with a `#'. The default value of this variable is "^#". |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1658 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1659 ** Changes to Rmail mode |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1660 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1661 *** The new user-option rmail-user-mail-address-regexp can be |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1662 set to fine tune the identification of the correspondent when |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1663 receiving new mail. If it matches the address of the sender, the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1664 recipient is taken as correspondent of a mail. If nil, the default, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1665 `user-login-name' and `user-mail-address' are used to exclude yourself |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1666 as correspondent. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1667 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1668 Usually you don't have to set this variable, except if you collect |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1669 mails sent by you under different user names. Then it should be a |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1670 regexp matching your mail addresses. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1671 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1672 *** The new user-option rmail-confirm-expunge controls whether and how |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1673 to ask for confirmation before expunging deleted messages from an |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1674 Rmail file. You can choose between no confirmation, confirmation |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1675 with y-or-n-p, or confirmation with yes-or-no-p. Default is to ask |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1676 for confirmation with yes-or-no-p. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1677 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1678 *** RET is now bound in the Rmail summary to rmail-summary-goto-msg, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1679 like `j'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1680 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1681 *** There is a new user option `rmail-digest-end-regexps' that |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1682 specifies the regular expressions to detect the line that ends a |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1683 digest message. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1684 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1685 *** The new user option `rmail-automatic-folder-directives' specifies |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1686 in which folder to put messages automatically. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1687 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1688 *** The new function `rmail-redecode-body' allows to fix a message |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1689 with non-ASCII characters if Emacs happens to decode it incorrectly |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1690 due to missing or malformed "charset=" header. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1691 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1692 ** The new user-option `mail-envelope-from' can be used to specify |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1693 an envelope-from address different from user-mail-address. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1694 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1695 ** The variable mail-specify-envelope-from controls whether to |
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1696 use the -f option when sending mail. |
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1697 |
39300
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1698 ** The Rmail command `o' (`rmail-output-to-rmail-file') now writes the |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1699 current message in the internal `emacs-mule' encoding, rather than in |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1700 the encoding taken from the variable `buffer-file-coding-system'. |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1701 This allows to save messages whose characters cannot be safely encoded |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1702 by the buffer's coding system, and makes sure the message will be |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1703 displayed correctly when you later visit the target Rmail file. |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1704 |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1705 If you want your Rmail files be encoded in a specific coding system |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1706 other than `emacs-mule', you can customize the variable |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1707 `rmail-file-coding-system' to set its value to that coding system. |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1708 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1709 ** Changes to TeX mode |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1710 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1711 *** The default mode has been changed from `plain-tex-mode' to |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1712 `latex-mode'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1713 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1714 *** latex-mode now has a simple indentation algorithm. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1715 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1716 *** M-f and M-p jump around \begin...\end pairs. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1717 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1718 *** Added support for outline-minor-mode. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1719 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1720 ** Changes to RefTeX mode |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1721 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1722 *** RefTeX has new support for index generation. Index entries can be |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1723 created with `C-c <', with completion available on index keys. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1724 Pressing `C-c /' indexes the word at the cursor with a default |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1725 macro. `C-c >' compiles all index entries into an alphabetically |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1726 sorted *Index* buffer which looks like the final index. Entries |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1727 can be edited from that buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1728 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1729 *** Label and citation key selection now allow to select several |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1730 items and reference them together (use `m' to mark items, `a' or |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1731 `A' to use all marked entries). |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1732 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1733 *** reftex.el has been split into a number of smaller files to reduce |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1734 memory use when only a part of RefTeX is being used. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1735 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1736 *** a new command `reftex-view-crossref-from-bibtex' (bound to `C-c &' |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1737 in BibTeX-mode) can be called in a BibTeX database buffer in order |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1738 to show locations in LaTeX documents where a particular entry has |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1739 been cited. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1740 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1741 ** Emacs Lisp mode now allows multiple levels of outline headings. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1742 The level of a heading is determined from the number of leading |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1743 semicolons in a heading line. Toplevel forms starting with a `(' |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1744 in column 1 are always made leaves. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1745 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1746 ** The M-x time-stamp command (most commonly used on write-file-hooks) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1747 has the following new features: |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1748 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1749 *** The patterns for finding the time stamp and for updating a pattern |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1750 may match text spanning multiple lines. For example, some people like |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1751 to have the filename and date on separate lines. The new variable |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1752 time-stamp-inserts-lines controls the matching for multi-line patterns. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1753 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1754 *** More than one time stamp can be updated in the same file. This |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1755 feature is useful if you need separate time stamps in a program source |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1756 file to both include in formatted documentation and insert in the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1757 compiled binary. The same time-stamp will be written at each matching |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1758 pattern. The variable time-stamp-count enables this new feature; it |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1759 defaults to 1. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1760 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1761 ** Partial Completion mode now completes environment variables in |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1762 file names. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1763 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1764 ** Ispell changes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1765 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1766 *** The command `ispell' now spell-checks a region if |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1767 transient-mark-mode is on, and the mark is active. Otherwise it |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1768 spell-checks the current buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1769 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1770 *** Support for synchronous subprocesses - DOS/Windoze - has been |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1771 added. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1772 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1773 *** An "alignment error" bug was fixed when a manual spelling |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1774 correction is made and re-checked. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1775 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1776 *** An Italian, Portuguese, and Slovak dictionary definition has been added. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1777 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1778 *** Region skipping performance has been vastly improved in some |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1779 cases. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1780 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1781 *** Spell checking HTML buffers has been improved and isn't so strict |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1782 on syntax errors. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1783 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1784 *** The buffer-local words are now always placed on a new line at the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1785 end of the buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1786 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1787 *** Spell checking now works in the MS-DOS version of Emacs. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1788 |
28506 | 1789 ** Makefile mode changes |
1790 | |
1791 *** The mode now uses the abbrev table `makefile-mode-abbrev-table'. | |
1792 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
1793 *** Conditionals and include statements are now highlighted when |
28506 | 1794 Fontlock mode is active. |
1795 | |
26407 | 1796 ** Isearch changes |
1797 | |
30477 | 1798 *** Isearch now puts a call to `isearch-resume' in the command history, |
1799 so that searches can be resumed. | |
1800 | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
1801 *** In Isearch mode, C-M-s and C-M-r are now bound like C-s and C-r, |
28506 | 1802 respectively, i.e. you can repeat a regexp isearch with the same keys |
1803 that started the search. | |
1804 | |
26407 | 1805 *** In Isearch mode, mouse-2 in the echo area now yanks the current |
25853 | 1806 selection into the search string rather than giving an error. |
1807 | |
26407 | 1808 *** There is a new lazy highlighting feature in incremental search. |
1809 | |
26417 | 1810 Lazy highlighting is switched on/off by customizing variable |
26407 | 1811 `isearch-lazy-highlight'. When active, all matches for the current |
1812 search string are highlighted. The current match is highlighted as | |
1813 before using face `isearch' or `region'. All other matches are | |
1814 highlighted using face `isearch-lazy-highlight-face' which defaults to | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
1815 `secondary-selection'. |
26407 | 1816 |
1817 The extra highlighting makes it easier to anticipate where the cursor | |
1818 will end up each time you press C-s or C-r to repeat a pending search. | |
1819 Highlighting of these additional matches happens in a deferred fashion | |
1820 using "idle timers," so the cycles needed do not rob isearch of its | |
1821 usual snappy response. | |
1822 | |
1823 If `isearch-lazy-highlight-cleanup' is set to t, highlights for | |
1824 matches are automatically cleared when you end the search. If it is | |
1825 set to nil, you can remove the highlights manually with `M-x | |
1826 isearch-lazy-highlight-cleanup'. | |
1827 | |
31388 | 1828 ** VC Changes |
1829 | |
1830 VC has been overhauled internally. It is now modular, making it | |
1831 easier to plug-in arbitrary version control backends. (See Lisp | |
1832 Changes for details on the new structure.) As a result, the mechanism | |
1833 to enable and disable support for particular version systems has | |
1834 changed: everything is now controlled by the new variable | |
36275
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
1835 `vc-handled-backends'. Its value is a list of symbols that identify |
31388 | 1836 version systems; the default is '(RCS CVS SCCS). When finding a file, |
1837 each of the backends in that list is tried in order to see whether the | |
1838 file is registered in that backend. | |
1839 | |
1840 When registering a new file, VC first tries each of the listed | |
1841 backends to see if any of them considers itself "responsible" for the | |
1842 directory of the file (e.g. because a corresponding subdirectory for | |
1843 master files exists). If none of the backends is responsible, then | |
1844 the first backend in the list that could register the file is chosen. | |
1845 As a consequence, the variable `vc-default-back-end' is now obsolete. | |
1846 | |
1847 The old variable `vc-master-templates' is also obsolete, although VC | |
1848 still supports it for backward compatibility. To define templates for | |
1849 RCS or SCCS, you should rather use the new variables | |
1850 vc-{rcs,sccs}-master-templates. (There is no such feature under CVS | |
1851 where it doesn't make sense.) | |
1852 | |
1853 The variables `vc-ignore-vc-files' and `vc-handle-cvs' are also | |
1854 obsolete now, you must set `vc-handled-backends' to nil or exclude | |
1855 `CVS' from the list, respectively, to achieve their effect now. | |
1856 | |
1857 *** General Changes | |
1858 | |
1859 The variable `vc-checkout-carefully' is obsolete: the corresponding | |
1860 checks are always done now. | |
1861 | |
31858
269d69b69fe4
Update hideshow.el section.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
31827
diff
changeset
|
1862 VC Dired buffers are now kept up-to-date during all version control |
31388 | 1863 operations. |
1864 | |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
1865 `vc-diff' output is now displayed in `diff-mode'. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
1866 `vc-print-log' uses `log-view-mode'. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
1867 `vc-log-mode' (used for *VC-Log*) has been replaced by `log-edit-mode'. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
1868 |
33541 | 1869 The command C-x v m (vc-merge) now accepts an empty argument as the |
1870 first revision number. This means that any recent changes on the | |
1871 current branch should be picked up from the repository and merged into | |
1872 the working file (``merge news''). | |
1873 | |
1874 The commands C-x v s (vc-create-snapshot) and C-x v r | |
1875 (vc-retrieve-snapshot) now ask for a directory name from which to work | |
1876 downwards. | |
1877 | |
1878 *** Multiple Backends | |
1879 | |
1880 VC now lets you register files in more than one backend. This is | |
1881 useful, for example, if you are working with a slow remote CVS | |
1882 repository. You can then use RCS for local editing, and occasionally | |
1883 commit your changes back to CVS, or pick up changes from CVS into your | |
1884 local RCS archives. | |
1885 | |
1886 To make this work, the ``more local'' backend (RCS in our example) | |
1887 should come first in `vc-handled-backends', and the ``more remote'' | |
1888 backend (CVS) should come later. (The default value of | |
1889 `vc-handled-backends' already has it that way.) | |
1890 | |
36275
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
1891 You can then commit changes to another backend (say, RCS), by typing |
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
1892 C-u C-x v v RCS RET (i.e. vc-next-action now accepts a backend name as |
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
1893 a revision number). VC registers the file in the more local backend |
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
1894 if that hasn't already happened, and commits to a branch based on the |
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
1895 current revision number from the more remote backend. |
33541 | 1896 |
1897 If a file is registered in multiple backends, you can switch to | |
1898 another one using C-x v b (vc-switch-backend). This does not change | |
1899 any files, it only changes VC's perspective on the file. Use this to | |
1900 pick up changes from CVS while working under RCS locally. | |
1901 | |
1902 After you are done with your local RCS editing, you can commit your | |
1903 changes back to CVS using C-u C-x v v CVS RET. In this case, the | |
1904 local RCS archive is removed after the commit, and the log entry | |
1905 buffer is initialized to contain the entire RCS change log of the file. | |
1906 | |
31388 | 1907 *** Changes for CVS |
1908 | |
1909 There is a new user option, `vc-cvs-stay-local'. If it is `t' (the | |
1910 default), then VC avoids network queries for files registered in | |
1911 remote repositories. The state of such files is then only determined | |
1912 by heuristics and past information. `vc-cvs-stay-local' can also be a | |
1913 regexp to match against repository hostnames; only files from hosts | |
1914 that match it are treated locally. If the variable is nil, then VC | |
1915 queries the repository just as often as it does for local files. | |
1916 | |
33541 | 1917 If `vc-cvs-stay-local' is on, then VC also makes local backups of |
1918 repository versions. This means that ordinary diffs (C-x v =) and | |
1919 revert operations (C-x v u) can be done completely locally, without | |
1920 any repository interactions at all. The name of a local version | |
1921 backup of FILE is FILE.~REV.~, where REV is the repository version | |
1922 number. This format is similar to that used by C-x v ~ | |
1923 (vc-version-other-window), except for the trailing dot. As a matter | |
1924 of fact, the two features can each use the files created by the other, | |
1925 the only difference being that files with a trailing `.' are deleted | |
33862
09fdef086f4d
C-c C-c u in Texinfo now produces @uref, not @url.
Eli Zaretskii <eliz@gnu.org>
parents:
33838
diff
changeset
|
1926 automatically after commit. (This feature doesn't work on MS-DOS, |
09fdef086f4d
C-c C-c u in Texinfo now produces @uref, not @url.
Eli Zaretskii <eliz@gnu.org>
parents:
33838
diff
changeset
|
1927 since DOS disallows more than a single dot in the trunk of a file |
09fdef086f4d
C-c C-c u in Texinfo now produces @uref, not @url.
Eli Zaretskii <eliz@gnu.org>
parents:
33838
diff
changeset
|
1928 name.) |
33541 | 1929 |
31388 | 1930 If `vc-cvs-stay-local' is on, and there have been changes in the |
1931 repository, VC notifies you about it when you actually try to commit. | |
1932 If you want to check for updates from the repository without trying to | |
33541 | 1933 commit, you can either use C-x v m RET to perform an update on the |
31388 | 1934 current file, or you can use C-x v r RET to get an update for an |
1935 entire directory tree. | |
1936 | |
1937 The new user option `vc-cvs-use-edit' indicates whether VC should call | |
1938 "cvs edit" to make files writeable; it defaults to `t'. (This option | |
1939 is only meaningful if the CVSREAD variable is set, or if files are | |
1940 "watched" by other developers.) | |
1941 | |
33541 | 1942 The commands C-x v s (vc-create-snapshot) and C-x v r |
1943 (vc-retrieve-snapshot) are now also implemented for CVS. If you give | |
36275
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
1944 an empty snapshot name to the latter, that performs a `cvs update', |
33541 | 1945 starting at the given directory. |
1946 | |
31388 | 1947 *** Lisp Changes in VC |
1948 | |
1949 VC has been restructured internally to make it modular. You can now | |
1950 add support for arbitrary version control backends by writing a | |
1951 library that provides a certain set of backend-specific functions, and | |
1952 then telling VC to use that library. For example, to add support for | |
36275
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
1953 a version system named SYS, you write a library named vc-sys.el, which |
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
1954 provides a number of functions vc-sys-... (see commentary at the top |
31388 | 1955 of vc.el for a detailed list of them). To make VC use that library, |
36275
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
1956 you need to put it somewhere into Emacs' load path and add the symbol |
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
1957 `SYS' to the list `vc-handled-backends'. |
31388 | 1958 |
36525
cb77fd8249b6
Change the `***' for the EDT entry to `**'.
Gerd Moellmann <gerd@gnu.org>
parents:
36470
diff
changeset
|
1959 ** The customizable EDT emulation package now supports the EDT |
35163 | 1960 SUBS command and EDT scroll margins. It also works with more |
1961 terminal/keyboard configurations and it now works under XEmacs. | |
1962 See etc/edt-user.doc for more information. | |
1963 | |
25853 | 1964 ** New modes and packages |
1965 | |
34394
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
1966 *** The new global minor mode `minibuffer-electric-default-mode' |
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
1967 automatically hides the `(default ...)' part of minibuffer prompts when |
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
1968 the default is not applicable. |
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
1969 |
33618 | 1970 *** Artist is an Emacs lisp package that allows you to draw lines, |
1971 rectangles and ellipses by using your mouse and/or keyboard. The | |
1972 shapes are made up with the ascii characters |, -, / and \. | |
1973 | |
1974 Features are: | |
1975 | |
1976 - Intersecting: When a `|' intersects with a `-', a `+' is | |
1977 drawn, like this: | \ / | |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
1978 --+-- X |
33618 | 1979 | / \ |
1980 | |
1981 - Rubber-banding: When drawing lines you can interactively see the | |
1982 result while holding the mouse button down and moving the mouse. If | |
1983 your machine is not fast enough (a 386 is a bit too slow, but a | |
1984 pentium is well enough), you can turn this feature off. You will | |
1985 then see 1's and 2's which mark the 1st and 2nd endpoint of the line | |
1986 you are drawing. | |
1987 | |
1988 - Arrows: After having drawn a (straight) line or a (straight) | |
1989 poly-line, you can set arrows on the line-ends by typing < or >. | |
1990 | |
1991 - Flood-filling: You can fill any area with a certain character by | |
1992 flood-filling. | |
1993 | |
1994 - Cut copy and paste: You can cut, copy and paste rectangular | |
1995 regions. Artist also interfaces with the rect package (this can be | |
1996 turned off if it causes you any trouble) so anything you cut in | |
1997 artist can be yanked with C-x r y and vice versa. | |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
1998 |
33618 | 1999 - Drawing with keys: Everything you can do with the mouse, you can |
2000 also do without the mouse. | |
2001 | |
2002 - Aspect-ratio: You can set the variable artist-aspect-ratio to | |
2003 reflect the height-width ratio for the font you are using. Squares | |
2004 and circles are then drawn square/round. Note, that once your | |
2005 ascii-file is shown with font with a different height-width ratio, | |
2006 the squares won't be square and the circles won't be round. | |
2007 | |
2008 - Drawing operations: The following drawing operations are implemented: | |
2009 | |
2010 lines straight-lines | |
2011 rectangles squares | |
2012 poly-lines straight poly-lines | |
2013 ellipses circles | |
2014 text (see-thru) text (overwrite) | |
2015 spray-can setting size for spraying | |
2016 vaporize line vaporize lines | |
2017 erase characters erase rectangles | |
2018 | |
2019 Straight lines are lines that go horizontally, vertically or | |
2020 diagonally. Plain lines go in any direction. The operations in | |
2021 the right column are accessed by holding down the shift key while | |
2022 drawing. | |
2023 | |
2024 It is possible to vaporize (erase) entire lines and connected lines | |
2025 (rectangles for example) as long as the lines being vaporized are | |
2026 straight and connected at their endpoints. Vaporizing is inspired | |
2027 by the drawrect package by Jari Aalto <jari.aalto@poboxes.com>. | |
2028 | |
2029 - Picture mode compatibility: Artist is picture mode compatible (this | |
2030 can be turned off). | |
2031 | |
32448
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2032 *** The new package Eshell is an operating system command shell |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2033 implemented entirely in Emacs Lisp. Use `M-x eshell' to invoke it. |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2034 It functions similarly to bash and zsh, and allows running of Lisp |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2035 functions and external commands using the same syntax. It supports |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2036 history lists, aliases, extended globbing, smart scrolling, etc. It |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2037 will work on any platform Emacs has been ported to. And since most of |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2038 the basic commands -- ls, rm, mv, cp, ln, du, cat, etc. -- have been |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2039 rewritten in Lisp, it offers an operating-system independent shell, |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2040 all within the scope of your Emacs process. |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2041 |
30781 | 2042 *** The new package timeclock.el is a mode is for keeping track of time |
2043 intervals. You can use it for whatever purpose you like, but the | |
2044 typical scenario is to keep track of how much time you spend working | |
2045 on certain projects. | |
2046 | |
35927 | 2047 *** The new package hi-lock.el provides commands to highlight matches |
2048 of interactively entered regexps. For example, | |
30789 | 2049 |
2050 M-x highlight-regexp RET clearly RET RET | |
30565 | 2051 |
2052 will highlight all occurrences of `clearly' using a yellow background | |
2053 face. New occurrences of `clearly' will be highlighted as they are | |
2054 typed. `M-x unhighlight-regexp RET' will remove the highlighting. | |
2055 Any existing face can be used for highlighting and a set of | |
2056 appropriate faces is provided. The regexps can be written into the | |
2057 current buffer in a form that will be recognized the next time the | |
35927 | 2058 corresponding file is read. There are commands to highlight matches |
2059 to phrases and to highlight entire lines containing a match. | |
30565 | 2060 |
30789 | 2061 *** The new package zone.el plays games with Emacs' display when |
30565 | 2062 Emacs is idle. |
2063 | |
38099 | 2064 *** The new package tildify.el allows to add hard spaces or other text |
2065 fragments in accordance with the current major mode. | |
2066 | |
30319 | 2067 *** The new package xml.el provides a simple but generic XML |
2068 parser. It doesn't parse the DTDs however. | |
2069 | |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
2070 *** The comment operations are now provided by the newcomment.el |
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
2071 package which allows different styles of comment-region and should |
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
2072 be more robust while offering the same functionality. |
33913
0c780fd30da5
New font-lock-doc-face.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33862
diff
changeset
|
2073 `comment-region' now doesn't always comment a-line-at-a-time, but only |
0c780fd30da5
New font-lock-doc-face.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33862
diff
changeset
|
2074 comments the region, breaking the line at point if necessary. |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
2075 |
28879 | 2076 *** The Ebrowse package implements a C++ class browser and tags |
2077 facilities tailored for use with C++. It is documented in a | |
2078 separate Texinfo file. | |
2079 | |
31007 | 2080 *** The PCL-CVS package available by either running M-x cvs-examine or |
2081 by visiting a CVS administrative directory (with a prefix argument) | |
2082 provides an alternative interface to VC-dired for CVS. It comes with | |
2083 `log-view-mode' to view RCS and SCCS logs and `log-edit-mode' used to | |
35680 | 2084 enter check-in log messages. |
31007 | 2085 |
28834 | 2086 *** The new package called `woman' allows to browse Unix man pages |
2087 without invoking external programs. | |
2088 | |
2089 The command `M-x woman' formats manual pages entirely in Emacs Lisp | |
2090 and then displays them, like `M-x manual-entry' does. Unlike | |
2091 `manual-entry', `woman' does not invoke any external programs, so it | |
2092 is useful on systems such as MS-DOS/MS-Windows where the `man' and | |
28955
6cfd3ddf0911
Correct a typo in description of `woman.el'.
Eli Zaretskii <eliz@gnu.org>
parents:
28946
diff
changeset
|
2093 Groff or `troff' commands are not readily available. |
28834 | 2094 |
2095 The command `M-x woman-find-file' asks for the file name of a man | |
2096 page, then formats and displays it like `M-x woman' does. | |
2097 | |
28098 | 2098 *** The new command M-x re-builder offers a convenient interface for |
2099 authoring regular expressions with immediate visual feedback. | |
2100 | |
2101 The buffer from which the command was called becomes the target for | |
2102 the regexp editor popping up in a separate window. Matching text in | |
2103 the target buffer is immediately color marked during the editing. | |
2104 Each sub-expression of the regexp will show up in a different face so | |
2105 even complex regexps can be edited and verified on target data in a | |
2106 single step. | |
2107 | |
2108 On displays not supporting faces the matches instead blink like | |
2109 matching parens to make them stand out. On such a setup you will | |
2110 probably also want to use the sub-expression mode when the regexp | |
2111 contains such to get feedback about their respective limits. | |
2112 | |
27644 | 2113 *** glasses-mode is a minor mode that makes |
2114 unreadableIdentifiersLikeThis readable. It works as glasses, without | |
2115 actually modifying content of a buffer. | |
2116 | |
27498 | 2117 *** The package ebnf2ps translates an EBNF to a syntactic chart in |
2118 PostScript. | |
2119 | |
2120 Currently accepts ad-hoc EBNF, ISO EBNF and Bison/Yacc. | |
2121 | |
2122 The ad-hoc default EBNF syntax has the following elements: | |
2123 | |
2124 ; comment (until end of line) | |
2125 A non-terminal | |
2126 "C" terminal | |
2127 ?C? special | |
2128 $A default non-terminal | |
2129 $"C" default terminal | |
2130 $?C? default special | |
2131 A = B. production (A is the header and B the body) | |
2132 C D sequence (C occurs before D) | |
2133 C | D alternative (C or D occurs) | |
2134 A - B exception (A excluding B, B without any non-terminal) | |
2135 n * A repetition (A repeats n (integer) times) | |
2136 (C) group (expression C is grouped together) | |
2137 [C] optional (C may or not occurs) | |
2138 C+ one or more occurrences of C | |
2139 {C}+ one or more occurrences of C | |
2140 {C}* zero or more occurrences of C | |
2141 {C} zero or more occurrences of C | |
2142 C / D equivalent to: C {D C}* | |
2143 {C || D}+ equivalent to: C {D C}* | |
2144 {C || D}* equivalent to: [C {D C}*] | |
2145 {C || D} equivalent to: [C {D C}*] | |
2146 | |
2147 Please, see ebnf2ps documentation for EBNF syntax and how to use it. | |
2148 | |
27328 | 2149 *** The package align.el will align columns within a region, using M-x |
2150 align. Its mode-specific rules, based on regular expressions, | |
2151 determine where the columns should be split. In C and C++, for | |
2152 example, it will align variable names in declaration lists, or the | |
2153 equal signs of assignments. | |
2154 | |
27266
8ce11c7a7fcb
read-mail-command, outline mode changes, change-log-merge,
Dave Love <fx@gnu.org>
parents:
27200
diff
changeset
|
2155 *** `paragraph-indent-minor-mode' is a new minor mode supporting |
8ce11c7a7fcb
read-mail-command, outline mode changes, change-log-merge,
Dave Love <fx@gnu.org>
parents:
27200
diff
changeset
|
2156 paragraphs in the same style as `paragraph-indent-text-mode'. |
8ce11c7a7fcb
read-mail-command, outline mode changes, change-log-merge,
Dave Love <fx@gnu.org>
parents:
27200
diff
changeset
|
2157 |
27016 | 2158 *** bs.el is a new package for buffer selection similar to |
2159 list-buffers or electric-buffer-list. Use M-x bs-show to display a | |
36885 | 2160 buffer menu with this package. See the Custom group `bs'. |
27016 | 2161 |
29696 | 2162 *** find-lisp.el is a package emulating the Unix find command in Lisp. |
2163 | |
27733 | 2164 *** calculator.el is a small calculator package that is intended to |
2165 replace desktop calculators such as xcalc and calc.exe. Actually, it | |
2166 is not too small - it has more features than most desktop calculators, | |
2167 and can be customized easily to get many more functions. It should | |
2168 not be confused with "calc" which is a much bigger mathematical tool | |
2169 which answers different needs. | |
2170 | |
26964
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2171 *** The minor modes cwarn-mode and global-cwarn-mode highlights |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2172 suspicious C and C++ constructions. Currently, assignments inside |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2173 expressions, semicolon following `if', `for' and `while' (except, of |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2174 course, after a `do .. while' statement), and C++ functions with |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2175 reference parameters are recognized. The modes require font-lock mode |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2176 to be enabled. |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2177 |
27094
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
2178 *** smerge-mode.el provides `smerge-mode', a simple minor-mode for files |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
2179 containing diff3-style conflict markers, such as generated by RCS. |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
2180 |
25853 | 2181 *** 5x5.el is a simple puzzle game. |
2182 | |
38938 | 2183 *** hl-line.el provides `hl-line-mode', a minor mode to highlight the |
2184 current line in the current buffer. It also provides | |
2185 `global-hl-line-mode' to provide the same behaviour in all buffers. | |
25853 | 2186 |
2187 *** ansi-color.el translates ANSI terminal escapes into text-properties. | |
2188 | |
35578 | 2189 Please note: if `ansi-color-for-comint-mode' and |
31936 | 2190 `global-font-lock-mode' are non-nil, loading ansi-color.el will |
2191 disable font-lock and add `ansi-color-apply' to | |
2192 `comint-preoutput-filter-functions' for all shell-mode buffers. This | |
2193 displays the output of "ls --color=yes" using the correct foreground | |
2194 and background colors. | |
2195 | |
25853 | 2196 *** delphi.el provides a major mode for editing the Delphi (Object |
2197 Pascal) language. | |
2198 | |
2199 *** quickurl.el provides a simple method of inserting a URL based on | |
2200 the text at point. | |
2201 | |
2202 *** sql.el provides an interface to SQL data bases. | |
2203 | |
25862 | 2204 *** fortune.el uses the fortune program to create mail/news signatures. |
2205 | |
35163 | 2206 *** whitespace.el is a package for warning about and cleaning bogus |
2207 whitespace in a file. | |
25853 | 2208 |
25992 | 2209 *** PostScript mode (ps-mode) is a new major mode for editing PostScript |
2210 files. It offers: interaction with a PostScript interpreter, including | |
2211 (very basic) error handling; fontification, easily customizable for | |
2212 interpreter messages; auto-indentation; insertion of EPSF templates and | |
2213 often used code snippets; viewing of BoundingBox; commenting out / | |
2214 uncommenting regions; conversion of 8bit characters to PostScript octal | |
2215 codes. All functionality is accessible through a menu. | |
2216 | |
2217 *** delim-col helps to prettify columns in a text region or rectangle. | |
2218 | |
2219 Here is an example of columns: | |
2220 | |
2221 horse apple bus | |
2222 dog pineapple car EXTRA | |
2223 porcupine strawberry airplane | |
2224 | |
2225 Doing the following settings: | |
2226 | |
2227 (setq delimit-columns-str-before "[ ") | |
2228 (setq delimit-columns-str-after " ]") | |
2229 (setq delimit-columns-str-separator ", ") | |
2230 (setq delimit-columns-separator "\t") | |
2231 | |
2232 | |
2233 Selecting the lines above and typing: | |
2234 | |
2235 M-x delimit-columns-region | |
2236 | |
2237 It results: | |
2238 | |
2239 [ horse , apple , bus , ] | |
2240 [ dog , pineapple , car , EXTRA ] | |
2241 [ porcupine, strawberry, airplane, ] | |
2242 | |
2243 delim-col has the following options: | |
2244 | |
2245 delimit-columns-str-before Specify a string to be inserted | |
2246 before all columns. | |
2247 | |
2248 delimit-columns-str-separator Specify a string to be inserted | |
2249 between each column. | |
2250 | |
2251 delimit-columns-str-after Specify a string to be inserted | |
2252 after all columns. | |
2253 | |
2254 delimit-columns-separator Specify a regexp which separates | |
2255 each column. | |
2256 | |
2257 delim-col has the following commands: | |
2258 | |
2259 delimit-columns-region Prettify all columns in a text region. | |
2260 delimit-columns-rectangle Prettify all columns in a text rectangle. | |
2261 | |
36885 | 2262 *** Recentf mode maintains a menu for visiting files that were |
2263 operated on recently. User option recentf-menu-filter specifies a | |
2264 menu filter function to change the menu appearance. For example, the | |
2265 recent file list can be displayed: | |
30319 | 2266 |
2267 - organized by major modes, directories or user defined rules. | |
35680 | 2268 - sorted by file paths, file names, ascending or descending. |
2269 - showing paths relative to the current default-directory | |
30319 | 2270 |
2271 The `recentf-filter-changer' menu filter function allows to | |
2272 dynamically change the menu appearance. | |
26030
c5e8559a53cb
Add description of recentf.
Gerd Moellmann <gerd@gnu.org>
parents:
26016
diff
changeset
|
2273 |
26149 | 2274 *** elide-head.el provides a mechanism for eliding boilerplate header |
2275 text. | |
2276 | |
26924 | 2277 *** footnote.el provides `footnote-mode', a minor mode supporting use |
26786 | 2278 of footnotes. It is intended for use with Message mode, but isn't |
2279 specific to Message mode. | |
2280 | |
26924 | 2281 *** diff-mode.el provides `diff-mode', a major mode for |
2282 viewing/editing context diffs (patches). It is selected for files | |
2283 with extension `.diff', `.diffs', `.patch' and `.rej'. | |
2284 | |
27714
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2285 *** EUDC, the Emacs Unified Directory Client, provides a common user |
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2286 interface to access directory servers using different directory |
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2287 protocols. It has a separate manual. |
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2288 |
28132 | 2289 *** autoconf.el provides a major mode for editing configure.in files |
2290 for Autoconf, selected automatically. | |
2291 | |
28710 | 2292 *** windmove.el provides moving between windows. |
28855
1be9a502caca
Cleaned some left over bogus conflict markers.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28854
diff
changeset
|
2293 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2294 *** crm.el provides a facility to read multiple strings from the |
28710 | 2295 minibuffer with completion. |
27714
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2296 |
28883 | 2297 *** todo-mode.el provides management of TODO lists and integration |
2298 with the diary features. | |
2299 | |
28912 | 2300 *** autoarg.el provides a feature reported from Twenex Emacs whereby |
2301 numeric keys supply prefix args rather than self inserting. | |
2302 | |
29814 | 2303 *** The function `turn-off-auto-fill' unconditionally turns off Auto |
2304 Fill mode. | |
2305 | |
33020 | 2306 *** pcomplete.el is a library that provides programmable completion |
2307 facilities for Emacs, similar to what zsh and tcsh offer. The main | |
2308 difference is that completion functions are written in Lisp, meaning | |
2309 they can be profiled, debugged, etc. | |
32465 | 2310 |
38379 | 2311 *** antlr-mode is a new major mode for editing ANTLR grammar files. |
2312 It is automatically turned on for files whose names have the extension | |
2313 `.g'. | |
2314 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2315 ** Changes in sort.el |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2316 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2317 The function sort-numeric-fields interprets numbers starting with `0' |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2318 as octal and numbers starting with `0x' or `0X' as hexadecimal. The |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2319 new user-option sort-numeric-base can be used to specify a default |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2320 numeric base. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2321 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2322 ** Changes to Ange-ftp |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2323 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2324 *** Ange-ftp allows you to specify of a port number in remote file |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2325 names cleanly. It is appended to the host name, separated by a hash |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2326 sign, e.g. `/foo@bar.org#666:mumble'. (This syntax comes from EFS.) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2327 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2328 *** If the new user-option `ange-ftp-try-passive-mode' is set, passive |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2329 ftp mode will be used if the ftp client supports that. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2330 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2331 *** Ange-ftp handles the output of the w32-style clients which |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2332 output ^M at the end of lines. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2333 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2334 ** The recommended way of using Iswitchb is via the new global minor |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2335 mode `iswitchb-mode'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2336 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2337 ** Just loading the msb package doesn't switch on Msb mode anymore. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2338 If you have `(require 'msb)' in your .emacs, please replace it with |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2339 `(msb-mode 1)'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2340 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2341 ** Flyspell mode has various new options. See the `flyspell' Custom |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2342 group. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2343 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2344 ** The user option `backward-delete-char-untabify-method' controls the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2345 behavior of `backward-delete-char-untabify'. The following values |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2346 are recognized: |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2347 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2348 `untabify' -- turn a tab to many spaces, then delete one space; |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2349 `hungry' -- delete all whitespace, both tabs and spaces; |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2350 `all' -- delete all whitespace, including tabs, spaces and newlines; |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2351 nil -- just delete one character. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2352 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2353 Default value is `untabify'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2354 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2355 [This change was made in Emacs 20.3 but not mentioned then.] |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2356 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2357 ** In Cperl mode `cperl-invalid-face' should now be a normal face |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2358 symbol, not double-quoted. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2359 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2360 ** Some packages are declared obsolete, to be removed in a future |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2361 version. They are: auto-show, c-mode, hilit19, hscroll, ooutline, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2362 profile, rnews, rnewspost, and sc. Their implementations have been |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2363 moved to lisp/obsolete. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2364 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2365 ** auto-compression mode is no longer enabled just by loading jka-compr.el. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2366 To control it, set `auto-compression-mode' via Custom or use the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2367 `auto-compression-mode' command. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2368 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2369 ** `browse-url-gnome-moz' is a new option for |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2370 `browse-url-browser-function', invoking Mozilla in GNOME, and |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2371 `browse-url-kde' can be chosen for invoking the KDE browser. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2372 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2373 ** The user-option `browse-url-new-window-p' has been renamed to |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2374 `browse-url-new-window-flag'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2375 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2376 ** The functions `keep-lines', `flush-lines' and `how-many' now |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2377 operate on the active region in Transient Mark mode. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2378 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2379 ** `gnus-user-agent' is a new possibility for `mail-user-agent'. It |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2380 is like `message-user-agent', but with all the Gnus paraphernalia. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2381 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2382 ** The Strokes package has been updated. If your Emacs has XPM |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2383 support, you can use it for pictographic editing. In Strokes mode, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2384 use C-mouse-2 to compose a complex stoke and insert it into the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2385 buffer. You can encode or decode a strokes buffer with new commands |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2386 M-x strokes-encode-buffer and M-x strokes-decode-buffer. There is a |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2387 new command M-x strokes-list-strokes. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2388 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2389 ** Hexl contains a new command `hexl-insert-hex-string' which inserts |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2390 a string of hexadecimal numbers read from the mini-buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2391 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2392 ** Hexl mode allows to insert non-ASCII characters. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2393 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2394 The non-ASCII characters are encoded using the same encoding as the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2395 file you are visiting in Hexl mode. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2396 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2397 ** Shell script mode changes. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2398 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2399 Shell script mode (sh-script) can now indent scripts for shells |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2400 derived from sh and rc. The indentation style is customizable, and |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2401 sh-script can attempt to "learn" the current buffer's style. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2402 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2403 ** Etags changes. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2404 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2405 *** In DOS, etags looks for file.cgz if it cannot find file.c. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2406 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2407 *** New option --ignore-case-regex is an alternative to --regex. It is now |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2408 possible to bind a regexp to a language, by prepending the regexp with |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2409 {lang}, where lang is one of the languages that `etags --help' prints out. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2410 This feature is useful especially for regex files, where each line contains |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2411 a regular expression. The manual contains details. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2412 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2413 *** In C and derived languages, etags creates tags for function |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2414 declarations when given the --declarations option. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2415 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2416 *** In C++, tags are created for "operator". The tags have the form |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2417 "operator+", without spaces between the keyword and the operator. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2418 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2419 *** You shouldn't generally need any more the -C or -c++ option: etags |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2420 automatically switches to C++ parsing when it meets the `class' or |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2421 `template' keywords. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2422 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2423 *** Etags now is able to delve at arbitrary deeps into nested structures in |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2424 C-like languages. Previously, it was limited to one or two brace levels. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2425 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2426 *** New language Ada: tags are functions, procedures, packages, tasks, and |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2427 types. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2428 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2429 *** In Fortran, `procedure' is not tagged. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2430 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2431 *** In Java, tags are created for "interface". |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2432 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2433 *** In Lisp, "(defstruct (foo", "(defun (operator" and similar constructs |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2434 are now tagged. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2435 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2436 *** In makefiles, tags the targets. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2437 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2438 *** In Perl, the --globals option tags global variables. my and local |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2439 variables are tagged. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2440 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2441 *** New language Python: def and class at the beginning of a line are tags. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2442 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2443 *** .ss files are Scheme files, .pdb is Postscript with C syntax, .psw is |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2444 for PSWrap. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2445 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2446 ** Changes in etags.el |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2447 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2448 *** The new user-option tags-case-fold-search can be used to make |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2449 tags operations case-sensitive or case-insensitive. The default |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2450 is to use the same setting as case-fold-search. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2451 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2452 *** You can display additional output with M-x tags-apropos by setting |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2453 the new variable tags-apropos-additional-actions. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2454 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2455 If non-nil, the variable's value should be a list of triples (TITLE |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2456 FUNCTION TO-SEARCH). For each triple, M-x tags-apropos processes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2457 TO-SEARCH and lists tags from it. TO-SEARCH should be an alist, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2458 obarray, or symbol. If it is a symbol, the symbol's value is used. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2459 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2460 TITLE is a string to use to label the list of tags from TO-SEARCH. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2461 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2462 FUNCTION is a function to call when an entry is selected in the Tags |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2463 List buffer. It is called with one argument, the selected symbol. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2464 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2465 A useful example value for this variable might be something like: |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2466 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2467 '(("Emacs Lisp" Info-goto-emacs-command-node obarray) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2468 ("Common Lisp" common-lisp-hyperspec common-lisp-hyperspec-obarray) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2469 ("SCWM" scwm-documentation scwm-obarray)) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2470 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2471 *** The face tags-tag-face can be used to customize the appearance |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2472 of tags in the output of M-x tags-apropos. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2473 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2474 *** Setting tags-apropos-verbose to a non-nil value displays the |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2475 names of tags files in the *Tags List* buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2476 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2477 *** You can now search for tags that are part of the filename itself. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2478 If you have tagged the files topfile.c subdir/subfile.c |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2479 /tmp/tempfile.c, you can now search for tags "topfile.c", "subfile.c", |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2480 "dir/sub", "tempfile", "tempfile.c". If the tag matches the file name, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2481 point will go to the beginning of the file. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2482 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2483 *** Compressed files are now transparently supported if |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2484 auto-compression-mode is active. You can tag (with Etags) and search |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2485 (with find-tag) both compressed and uncompressed files. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2486 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2487 *** Tags commands like M-x tags-search no longer change point |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2488 in buffers where no match is found. In buffers where a match is |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2489 found, the original value of point is pushed on the marker ring. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2490 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2491 ** Fortran mode has a new command `fortran-strip-sequence-nos' to |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2492 remove text past column 72. The syntax class of `\' in Fortran is now |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2493 appropriate for C-style escape sequences in strings. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2494 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2495 ** SGML mode's default `sgml-validate-command' is now `nsgmls'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2496 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2497 ** A new command `view-emacs-problems' (C-h P) displays the PROBLEMS file. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2498 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2499 ** The Dabbrev package has a new user-option `dabbrev-ignored-regexps' |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2500 containing a list of regular expressions. Buffers matching a regular |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2501 expression from that list, are not checked. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2502 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2503 ** Emacs can now figure out modification times of remote files. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2504 When you do C-x C-f /user@host:/path/file RET and edit the file, |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2505 and someone else modifies the file, you will be prompted to revert |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2506 the buffer, just like for the local files. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2507 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2508 ** The buffer menu (C-x C-b) no longer lists the *Buffer List* buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2509 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2510 ** When invoked with a prefix argument, the command `list-abbrevs' now |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2511 displays local abbrevs, only. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2512 |
33290 | 2513 ** Refill minor mode provides preliminary support for keeping |
2514 paragraphs filled as you modify them. | |
2515 | |
38605
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
2516 ** The variable `double-click-fuzz' specifies how much the mouse |
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
2517 may be moved between clicks that are recognized as a pair. Its value |
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
2518 is measured in pixels. |
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
2519 |
33290 | 2520 ** The new global minor mode `auto-image-file-mode' allows image files |
2521 to be visited as images. | |
2522 | |
39270
daf37eb76fde
grep-command and grep-find-command user options.
Gerd Moellmann <gerd@gnu.org>
parents:
39255
diff
changeset
|
2523 ** Two new user-options `grep-command' and `grep-find-command' |
daf37eb76fde
grep-command and grep-find-command user options.
Gerd Moellmann <gerd@gnu.org>
parents:
39255
diff
changeset
|
2524 were added to compile.el. |
daf37eb76fde
grep-command and grep-find-command user options.
Gerd Moellmann <gerd@gnu.org>
parents:
39255
diff
changeset
|
2525 |
25853 | 2526 ** Withdrawn packages |
2527 | |
2528 *** mldrag.el has been removed. mouse.el provides the same | |
2529 functionality with aliases for the mldrag functions. | |
26133 | 2530 |
27369 | 2531 *** eval-reg.el has been obsoleted by changes to edebug.el and removed. |
2532 | |
2533 *** ph.el has been obsoleted by EUDC and removed. | |
29102 | 2534 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
2535 |
33991 | 2536 * Incompatible Lisp changes |
2537 | |
2538 There are a few Lisp changes which are not backwards-compatible and | |
2539 may require changes to existing code. Here is a list for reference. | |
35421 | 2540 See the sections below for details. |
33991 | 2541 |
35297
e268b7b500f0
Changes for makefile support in etags.
Francesco Potortì <pot@gnu.org>
parents:
35278
diff
changeset
|
2542 ** Since `format' preserves text properties, the idiom |
35847
83b8f5ad1f97
Several typos fixed. From Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35784
diff
changeset
|
2543 `(format "%s" foo)' no longer works to copy and remove properties. |
41091 | 2544 Use `copy-sequence' to copy the string, then use `set-text-properties' |
2545 to remove the properties of the copy. | |
33991 | 2546 |
2547 ** Since the `keymap' text property now has significance, some code | |
2548 which uses both `local-map' and `keymap' properties (for portability) | |
2549 may, for instance, give rise to duplicate menus when the keymaps from | |
2550 these properties are active. | |
2551 | |
34029 | 2552 ** The change in the treatment of non-ASCII characters in search |
33991 | 2553 ranges may affect some code. |
34017 | 2554 |
2555 ** A non-nil value for the LOCAL arg of add-hook makes the hook | |
2556 buffer-local even if `make-local-hook' hasn't been called, which might | |
2557 make a difference to some code. | |
2558 | |
34029 | 2559 ** The new treatment of the minibuffer prompt might affect code which |
2560 operates on the minibuffer. | |
2561 | |
34087
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2562 ** The new character sets `eight-bit-control' and `eight-bit-graphic' |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2563 cause `no-conversion' and `emacs-mule-unix' coding systems to produce |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2564 different results when reading files with non-ASCII characters |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2565 (previously, both coding systems would produce the same results). |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2566 Specifically, `no-conversion' interprets each 8-bit byte as a separate |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2567 character. This makes `no-conversion' inappropriate for reading |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2568 multibyte text, e.g. buffers written to disk in their internal MULE |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2569 encoding (auto-saving does that, for example). If a Lisp program |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2570 reads such files with `no-conversion', each byte of the multibyte |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2571 sequence, including the MULE leading codes such as \201, is treated as |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2572 a separate character, which prevents them from being interpreted in |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2573 the buffer as multibyte characters. |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2574 |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2575 Therefore, Lisp programs that read files which contain the internal |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2576 MULE encoding should use `emacs-mule-unix'. `no-conversion' is only |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2577 appropriate for reading truly binary files. |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2578 |
34617 | 2579 ** Code that relies on the obsolete `before-change-function' and |
35242
910222f6a03c
Tell them to use before-change-functions and after-change-functions
Eli Zaretskii <eliz@gnu.org>
parents:
35223
diff
changeset
|
2580 `after-change-function' to detect buffer changes will now fail. Use |
910222f6a03c
Tell them to use before-change-functions and after-change-functions
Eli Zaretskii <eliz@gnu.org>
parents:
35223
diff
changeset
|
2581 `before-change-functions' and `after-change-functions' instead. |
34617 | 2582 |
2583 ** Code that uses `concat' with integer args now gets an error, as | |
2584 long promised. | |
2585 | |
38649
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
2586 ** The function base64-decode-string now always returns a unibyte |
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
2587 string. |
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
2588 |
36244 | 2589 ** Not a Lisp incompatibility as such but, with the introduction of |
2590 extra private charsets, there is now only one slot free for a new | |
2591 dimension-2 private charset. User code which tries to add more than | |
2592 one extra will fail unless you rebuild Emacs with some standard | |
2593 charset(s) removed; that is probably inadvisable because it changes | |
2594 the emacs-mule encoding. Also, files stored in the emacs-mule | |
36470 | 2595 encoding using Emacs 20 with additional private charsets defined will |
2596 probably not be read correctly by Emacs 21. | |
36113
1a29f6d22f6e
Mention potential incompatibilities due to new dimension-2 charsets.
Eli Zaretskii <eliz@gnu.org>
parents:
36039
diff
changeset
|
2597 |
37077
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
2598 ** The variable `directory-sep-char' is slated for removal. |
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
2599 Not really a change (yet), but a projected one that you should be |
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
2600 aware of: The variable `directory-sep-char' is deprecated, and should |
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
2601 not be used. It was always ignored on GNU/Linux and Unix systems and |
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
2602 on MS-DOS, but the MS-Windows port tried to support it by adapting the |
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
2603 behavior of certain primitives to the value of this variable. It |
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
2604 turned out that such support cannot be reliable, so it was decided to |
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
2605 remove this variable in the near future. Lisp programs are well |
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
2606 advised not to set it to anything but '/', because any different value |
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
2607 will not have any effect when support for this variable is removed. |
37064
428092eb22d4
Document that directory-sep-char is deprecated.
Eli Zaretskii <eliz@gnu.org>
parents:
37061
diff
changeset
|
2608 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
2609 |
29102 | 2610 * Lisp changes made after edition 2.6 of the Emacs Lisp Manual, |
2611 (Display-related features are described in a page of their own below.) | |
2612 | |
39089 | 2613 ** Function assq-delete-all replaces function assoc-delete-all. |
2614 | |
41356 | 2615 ** The new function animate-string, from lisp/play/animate.el |
38527 | 2616 allows the animated display of strings. |
2617 | |
37061 | 2618 ** The new function `interactive-form' can be used to obtain the |
2619 interactive form of a function. | |
2620 | |
36885 | 2621 ** The keyword :set-after in defcustom allows to specify dependencies |
2622 between custom options. Example: | |
2623 | |
2624 (defcustom default-input-method nil | |
2625 "*Default input method for multilingual text (a string). | |
2626 This is the input method activated automatically by the command | |
2627 `toggle-input-method' (\\[toggle-input-method])." | |
2628 :group 'mule | |
2629 :type '(choice (const nil) string) | |
2630 :set-after '(current-language-environment)) | |
2631 | |
2632 This specifies that default-input-method should be set after | |
2633 current-language-environment even if default-input-method appears | |
2634 first in a custom-set-variables statement. | |
2635 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
2636 ** The new hook `kbd-macro-termination-hook' is run at the end of |
35125 | 2637 function execute-kbd-macro. Functions on this hook are called with no |
2638 args. The hook is run independent of how the macro was terminated | |
2639 (signal or normal termination). | |
2640 | |
35090 | 2641 ** Functions `butlast' and `nbutlast' for removing trailing elements |
2642 from a list are now available without requiring the CL package. | |
2643 | |
34271 | 2644 ** The new user-option `even-window-heights' can be set to nil |
2645 to prevent `display-buffer' from evening out window heights. | |
2646 | |
33373 | 2647 ** The user-option `face-font-registry-alternatives' specifies |
2648 alternative font registry names to try when looking for a font. | |
2649 | |
34054 | 2650 ** Function `md5' calculates the MD5 "message digest"/"checksum". |
33364 | 2651 |
32913 | 2652 ** Function `delete-frame' runs `delete-frame-hook' before actually |
2653 deleting the frame. The hook is called with one arg, the frame | |
2654 being deleted. | |
2655 | |
32845
e92097fd9144
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32751
diff
changeset
|
2656 ** `add-hook' now makes the hook local if called with a non-nil LOCAL arg. |
e92097fd9144
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32751
diff
changeset
|
2657 |
32466 | 2658 ** The treatment of non-ASCII characters in search ranges has changed. |
32465 | 2659 If a range in a regular expression or the arg of |
2660 skip-chars-forward/backward starts with a unibyte character C and ends | |
2661 with a multibyte character C2, the range is divided into two: one is | |
2662 C..?\377, the other is C1..C2, where C1 is the first character of C2's | |
2663 charset. | |
2664 | |
32259
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
2665 ** The new function `display-message-or-buffer' displays a message in |
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
2666 the echo area or pops up a buffer, depending on the length of the |
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
2667 message. |
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
2668 |
32050
2a3bcf8d9877
Add entries for `auto-image-file-mode' and `with-auto-compression-mode'.
Miles Bader <miles@gnu.org>
parents:
32037
diff
changeset
|
2669 ** The new macro `with-auto-compression-mode' allows evaluating an |
2a3bcf8d9877
Add entries for `auto-image-file-mode' and `with-auto-compression-mode'.
Miles Bader <miles@gnu.org>
parents:
32037
diff
changeset
|
2670 expression with auto-compression-mode enabled. |
2a3bcf8d9877
Add entries for `auto-image-file-mode' and `with-auto-compression-mode'.
Miles Bader <miles@gnu.org>
parents:
32037
diff
changeset
|
2671 |
31636 | 2672 ** In image specifications, `:heuristic-mask' has been replaced |
2673 with the more general `:mask' property. | |
2674 | |
35364 | 2675 ** Image specifications accept more `:conversion's. |
31728 | 2676 |
31561 | 2677 ** A `?' can be used in a symbol name without escaping it with a |
2678 backslash. | |
2679 | |
31007 | 2680 ** Reading from the mini-buffer now reads from standard input if Emacs |
2681 is running in batch mode. For example, | |
2682 | |
2683 (message "%s" (read t)) | |
2684 | |
2685 will read a Lisp expression from standard input and print the result | |
2686 to standard output. | |
2687 | |
2688 ** The argument of `down-list', `backward-up-list', `up-list', | |
2689 `kill-sexp', `backward-kill-sexp' and `mark-sexp' is now optional. | |
2690 | |
30564 | 2691 ** If `display-buffer-reuse-frames' is set, function `display-buffer' |
2692 will raise frames displaying a buffer, instead of creating a new | |
2693 frame or window. | |
2694 | |
30516 | 2695 ** Two new functions for removing elements from lists/sequences |
2696 were added | |
2697 | |
2698 - Function: remove ELT SEQ | |
2699 | |
35680 | 2700 Return a copy of SEQ with all occurrences of ELT removed. SEQ must be |
30516 | 2701 a list, vector, or string. The comparison is done with `equal'. |
2702 | |
2703 - Function: remq ELT LIST | |
2704 | |
35680 | 2705 Return a copy of LIST with all occurrences of ELT removed. The |
30516 | 2706 comparison is done with `eq'. |
2707 | |
2708 ** The function `delete' now also works with vectors and strings. | |
30511 | 2709 |
30502 | 2710 ** The meaning of the `:weakness WEAK' argument of make-hash-table |
39075
8722aa0ae475
Mark (almost) all entries either --- or +++.
Eli Zaretskii <eliz@gnu.org>
parents:
39031
diff
changeset
|
2711 has been changed: WEAK can now have new values `key-or-value' and |
39441 | 2712 `key-and-value', in addition the `nil', `key', `value', and `t'. |
30502 | 2713 |
30357 | 2714 ** Function `aset' stores any multibyte character in any string |
2715 without signaling "Attempt to change char length of a string". It may | |
2716 convert a unibyte string to multibyte if necessary. | |
2717 | |
30219 | 2718 ** The value of the `help-echo' text property is called as a function |
2719 or evaluated, if it is not a string already, to obtain a help string. | |
30203 | 2720 |
30158
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
2721 ** Function `make-obsolete' now has an optional arg to say when the |
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
2722 function was declared obsolete. |
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
2723 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2724 ** Function `plist-member' is renamed from `widget-plist-member' (which is |
30158
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
2725 retained as an alias). |
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
2726 |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
2727 ** Easy-menu's :filter now works as in XEmacs. |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
2728 It takes the unconverted (i.e. XEmacs) form of the menu and the result |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
2729 is automatically converted to Emacs' form. |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
2730 |
30038 | 2731 ** The new function `window-list' has been defined |
2732 | |
33620 | 2733 - Function: window-list &optional FRAME WINDOW MINIBUF |
2734 | |
2735 Return a list of windows on FRAME, starting with WINDOW. FRAME nil or | |
2736 omitted means use the selected frame. WINDOW nil or omitted means use | |
2737 the selected window. MINIBUF t means include the minibuffer window, | |
2738 even if it isn't active. MINIBUF nil or omitted means include the | |
2739 minibuffer window only if it's active. MINIBUF neither nil nor t | |
2740 means never include the minibuffer window. | |
30038 | 2741 |
39179
d0b29a3ee609
some-window -> get-window-with-predicate.
Gerd Moellmann <gerd@gnu.org>
parents:
39089
diff
changeset
|
2742 ** There's a new function `get-window-with-predicate' defined as follows |
d0b29a3ee609
some-window -> get-window-with-predicate.
Gerd Moellmann <gerd@gnu.org>
parents:
39089
diff
changeset
|
2743 |
d0b29a3ee609
some-window -> get-window-with-predicate.
Gerd Moellmann <gerd@gnu.org>
parents:
39089
diff
changeset
|
2744 - Function: get-window-with-predicate PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT |
30006 | 2745 |
2746 Return a window satisfying PREDICATE. | |
2747 | |
2748 This function cycles through all visible windows using `walk-windows', | |
2749 calling PREDICATE on each one. PREDICATE is called with a window as | |
2750 argument. The first window for which PREDICATE returns a non-nil | |
2751 value is returned. If no window satisfies PREDICATE, DEFAULT is | |
2752 returned. | |
2753 | |
2754 Optional second arg MINIBUF t means count the minibuffer window even | |
2755 if not active. MINIBUF nil or omitted means count the minibuffer iff | |
2756 it is active. MINIBUF neither t nor nil means not to count the | |
2757 minibuffer even if it is active. | |
2758 | |
2759 Several frames may share a single minibuffer; if the minibuffer | |
2760 counts, all windows on all frames that share that minibuffer count | |
2761 too. Therefore, if you are using a separate minibuffer frame | |
2762 and the minibuffer is active and MINIBUF says it counts, | |
2763 `walk-windows' includes the windows in the frame from which you | |
2764 entered the minibuffer, as well as the minibuffer window. | |
2765 | |
2766 ALL-FRAMES is the optional third argument. | |
2767 ALL-FRAMES nil or omitted means cycle within the frames as specified above. | |
2768 ALL-FRAMES = `visible' means include windows on all visible frames. | |
2769 ALL-FRAMES = 0 means include windows on all visible and iconified frames. | |
2770 ALL-FRAMES = t means include windows on all frames including invisible frames. | |
2771 If ALL-FRAMES is a frame, it means include windows on that frame. | |
2772 Anything else means restrict to the selected frame. | |
2773 | |
30564 | 2774 ** The function `single-key-description' now encloses function key and |
2775 event names in angle brackets. When called with a second optional | |
2776 argument non-nil, angle brackets won't be printed. | |
29657 | 2777 |
29637 | 2778 ** If the variable `message-truncate-lines' is bound to t around a |
2779 call to `message', the echo area will not be resized to display that | |
30290 | 2780 message; it will be truncated instead, as it was done in 20.x. |
2781 Default value is nil. | |
29637 | 2782 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2783 ** The user option `line-number-display-limit' can now be set to nil, |
29633 | 2784 meaning no limit. |
2785 | |
38126
64a45ba0553f
Document line-number-display-limit-width.
Eli Zaretskii <eliz@gnu.org>
parents:
38107
diff
changeset
|
2786 ** The new user option `line-number-display-limit-width' controls |
64a45ba0553f
Document line-number-display-limit-width.
Eli Zaretskii <eliz@gnu.org>
parents:
38107
diff
changeset
|
2787 the maximum width of lines in a buffer for which Emacs displays line |
64a45ba0553f
Document line-number-display-limit-width.
Eli Zaretskii <eliz@gnu.org>
parents:
38107
diff
changeset
|
2788 numbers in the mode line. The default is 200. |
64a45ba0553f
Document line-number-display-limit-width.
Eli Zaretskii <eliz@gnu.org>
parents:
38107
diff
changeset
|
2789 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2790 ** `select-safe-coding-system' now also checks the most preferred |
29509 | 2791 coding-system if buffer-file-coding-system is `undecided' and |
2792 DEFAULT-CODING-SYSTEM is not specified, | |
2793 | |
34001 | 2794 ** The function `subr-arity' provides information about the argument |
2795 list of a primitive. | |
29238 | 2796 |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2797 ** `where-is-internal' now also accepts a list of keymaps. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2798 |
29286 | 2799 ** The text property `keymap' specifies a key map which overrides the |
2800 buffer's local map and the map specified by the `local-map' property. | |
2801 This is probably what most current uses of `local-map' want, rather | |
2802 than replacing the local map. | |
2803 | |
35250 | 2804 ** The obsolete variables `before-change-function' and |
2805 `after-change-function' are no longer acted upon and have been | |
2806 removed. Use `before-change-functions' and `after-change-functions' | |
2807 instead. | |
29498 | 2808 |
2809 ** The function `apropos-mode' runs the hook `apropos-mode-hook'. | |
2810 | |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2811 ** `concat' no longer accepts individual integer arguments, |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2812 as promised long ago. |
30339
70d759570f7a
C-down-mouse-3. Move concat change.
Dave Love <fx@gnu.org>
parents:
30319
diff
changeset
|
2813 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2814 ** The new function `float-time' returns the current time as a float. |
37749
1d5371e8a974
Add entry for auto-coding-regexp-alist.
Gerd Moellmann <gerd@gnu.org>
parents:
37446
diff
changeset
|
2815 |
1d5371e8a974
Add entry for auto-coding-regexp-alist.
Gerd Moellmann <gerd@gnu.org>
parents:
37446
diff
changeset
|
2816 ** The new variable auto-coding-regexp-alist specifies coding systems |
1d5371e8a974
Add entry for auto-coding-regexp-alist.
Gerd Moellmann <gerd@gnu.org>
parents:
37446
diff
changeset
|
2817 for reading specific files, analogous to auto-coding-alist, but |
1d5371e8a974
Add entry for auto-coding-regexp-alist.
Gerd Moellmann <gerd@gnu.org>
parents:
37446
diff
changeset
|
2818 patterns are checked against file contents instead of file names. |
1d5371e8a974
Add entry for auto-coding-regexp-alist.
Gerd Moellmann <gerd@gnu.org>
parents:
37446
diff
changeset
|
2819 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
2820 |
25853 | 2821 * Lisp changes in Emacs 21.1 (see following page for display-related features) |
2822 | |
2823 Note that +++ before an item means the Lisp manual has been updated. | |
2824 --- means that I have decided it does not need to be in the Lisp manual. | |
2825 When you add a new item, please add it without either +++ or --- | |
2826 so I will know I still need to look at it -- rms. | |
2827 | |
39517 | 2828 ** The new package rx.el provides an alternative sexp notation for |
2829 regular expressions. | |
2830 | |
2831 - Function: rx-to-string SEXP | |
2832 | |
2833 Translate SEXP into a regular expression in string notation. | |
2834 | |
2835 - Macro: rx SEXP | |
2836 | |
2837 Translate SEXP into a regular expression in string notation. | |
2838 | |
2839 The following are valid subforms of regular expressions in sexp | |
2840 notation. | |
2841 | |
2842 STRING | |
2843 matches string STRING literally. | |
2844 | |
2845 CHAR | |
2846 matches character CHAR literally. | |
2847 | |
2848 `not-newline' | |
2849 matches any character except a newline. | |
2850 . | |
2851 `anything' | |
2852 matches any character | |
2853 | |
2854 `(any SET)' | |
2855 matches any character in SET. SET may be a character or string. | |
2856 Ranges of characters can be specified as `A-Z' in strings. | |
2857 | |
40215 | 2858 '(in SET)' |
39517 | 2859 like `any'. |
2860 | |
2861 `(not (any SET))' | |
2862 matches any character not in SET | |
2863 | |
2864 `line-start' | |
2865 matches the empty string, but only at the beginning of a line | |
2866 in the text being matched | |
2867 | |
2868 `line-end' | |
2869 is similar to `line-start' but matches only at the end of a line | |
2870 | |
2871 `string-start' | |
2872 matches the empty string, but only at the beginning of the | |
2873 string being matched against. | |
2874 | |
2875 `string-end' | |
2876 matches the empty string, but only at the end of the | |
2877 string being matched against. | |
2878 | |
2879 `buffer-start' | |
2880 matches the empty string, but only at the beginning of the | |
2881 buffer being matched against. | |
2882 | |
2883 `buffer-end' | |
2884 matches the empty string, but only at the end of the | |
2885 buffer being matched against. | |
2886 | |
2887 `point' | |
2888 matches the empty string, but only at point. | |
2889 | |
2890 `word-start' | |
2891 matches the empty string, but only at the beginning or end of a | |
2892 word. | |
2893 | |
2894 `word-end' | |
2895 matches the empty string, but only at the end of a word. | |
2896 | |
2897 `word-boundary' | |
2898 matches the empty string, but only at the beginning or end of a | |
2899 word. | |
2900 | |
2901 `(not word-boundary)' | |
2902 matches the empty string, but not at the beginning or end of a | |
2903 word. | |
2904 | |
2905 `digit' | |
2906 matches 0 through 9. | |
2907 | |
2908 `control' | |
2909 matches ASCII control characters. | |
2910 | |
2911 `hex-digit' | |
2912 matches 0 through 9, a through f and A through F. | |
2913 | |
2914 `blank' | |
2915 matches space and tab only. | |
2916 | |
2917 `graphic' | |
2918 matches graphic characters--everything except ASCII control chars, | |
2919 space, and DEL. | |
2920 | |
2921 `printing' | |
2922 matches printing characters--everything except ASCII control chars | |
2923 and DEL. | |
2924 | |
2925 `alphanumeric' | |
2926 matches letters and digits. (But at present, for multibyte characters, | |
2927 it matches anything that has word syntax.) | |
2928 | |
2929 `letter' | |
2930 matches letters. (But at present, for multibyte characters, | |
2931 it matches anything that has word syntax.) | |
2932 | |
2933 `ascii' | |
2934 matches ASCII (unibyte) characters. | |
2935 | |
2936 `nonascii' | |
2937 matches non-ASCII (multibyte) characters. | |
2938 | |
2939 `lower' | |
2940 matches anything lower-case. | |
2941 | |
2942 `upper' | |
2943 matches anything upper-case. | |
2944 | |
2945 `punctuation' | |
2946 matches punctuation. (But at present, for multibyte characters, | |
2947 it matches anything that has non-word syntax.) | |
2948 | |
2949 `space' | |
2950 matches anything that has whitespace syntax. | |
2951 | |
2952 `word' | |
2953 matches anything that has word syntax. | |
2954 | |
2955 `(syntax SYNTAX)' | |
2956 matches a character with syntax SYNTAX. SYNTAX must be one | |
2957 of the following symbols. | |
2958 | |
2959 `whitespace' (\\s- in string notation) | |
2960 `punctuation' (\\s.) | |
2961 `word' (\\sw) | |
2962 `symbol' (\\s_) | |
2963 `open-parenthesis' (\\s() | |
2964 `close-parenthesis' (\\s)) | |
2965 `expression-prefix' (\\s') | |
2966 `string-quote' (\\s\") | |
2967 `paired-delimiter' (\\s$) | |
2968 `escape' (\\s\\) | |
2969 `character-quote' (\\s/) | |
2970 `comment-start' (\\s<) | |
2971 `comment-end' (\\s>) | |
2972 | |
2973 `(not (syntax SYNTAX))' | |
2974 matches a character that has not syntax SYNTAX. | |
2975 | |
2976 `(category CATEGORY)' | |
2977 matches a character with category CATEGORY. CATEGORY must be | |
2978 either a character to use for C, or one of the following symbols. | |
2979 | |
2980 `consonant' (\\c0 in string notation) | |
2981 `base-vowel' (\\c1) | |
2982 `upper-diacritical-mark' (\\c2) | |
2983 `lower-diacritical-mark' (\\c3) | |
2984 `tone-mark' (\\c4) | |
2985 `symbol' (\\c5) | |
2986 `digit' (\\c6) | |
2987 `vowel-modifying-diacritical-mark' (\\c7) | |
2988 `vowel-sign' (\\c8) | |
2989 `semivowel-lower' (\\c9) | |
2990 `not-at-end-of-line' (\\c<) | |
2991 `not-at-beginning-of-line' (\\c>) | |
2992 `alpha-numeric-two-byte' (\\cA) | |
2993 `chinse-two-byte' (\\cC) | |
2994 `greek-two-byte' (\\cG) | |
2995 `japanese-hiragana-two-byte' (\\cH) | |
2996 `indian-tow-byte' (\\cI) | |
2997 `japanese-katakana-two-byte' (\\cK) | |
2998 `korean-hangul-two-byte' (\\cN) | |
2999 `cyrillic-two-byte' (\\cY) | |
3000 `ascii' (\\ca) | |
3001 `arabic' (\\cb) | |
3002 `chinese' (\\cc) | |
3003 `ethiopic' (\\ce) | |
3004 `greek' (\\cg) | |
3005 `korean' (\\ch) | |
3006 `indian' (\\ci) | |
3007 `japanese' (\\cj) | |
3008 `japanese-katakana' (\\ck) | |
3009 `latin' (\\cl) | |
3010 `lao' (\\co) | |
3011 `tibetan' (\\cq) | |
3012 `japanese-roman' (\\cr) | |
3013 `thai' (\\ct) | |
3014 `vietnamese' (\\cv) | |
3015 `hebrew' (\\cw) | |
3016 `cyrillic' (\\cy) | |
3017 `can-break' (\\c|) | |
3018 | |
3019 `(not (category CATEGORY))' | |
3020 matches a character that has not category CATEGORY. | |
3021 | |
3022 `(and SEXP1 SEXP2 ...)' | |
3023 matches what SEXP1 matches, followed by what SEXP2 matches, etc. | |
3024 | |
3025 `(submatch SEXP1 SEXP2 ...)' | |
3026 like `and', but makes the match accessible with `match-end', | |
3027 `match-beginning', and `match-string'. | |
3028 | |
3029 `(group SEXP1 SEXP2 ...)' | |
3030 another name for `submatch'. | |
3031 | |
3032 `(or SEXP1 SEXP2 ...)' | |
3033 matches anything that matches SEXP1 or SEXP2, etc. If all | |
3034 args are strings, use `regexp-opt' to optimize the resulting | |
3035 regular expression. | |
3036 | |
3037 `(minimal-match SEXP)' | |
3038 produce a non-greedy regexp for SEXP. Normally, regexps matching | |
3039 zero or more occurrances of something are \"greedy\" in that they | |
3040 match as much as they can, as long as the overall regexp can | |
3041 still match. A non-greedy regexp matches as little as possible. | |
3042 | |
3043 `(maximal-match SEXP)' | |
3044 produce a greedy regexp for SEXP. This is the default. | |
3045 | |
3046 `(zero-or-more SEXP)' | |
3047 matches zero or more occurrences of what SEXP matches. | |
3048 | |
3049 `(0+ SEXP)' | |
3050 like `zero-or-more'. | |
3051 | |
3052 `(* SEXP)' | |
3053 like `zero-or-more', but always produces a greedy regexp. | |
3054 | |
3055 `(*? SEXP)' | |
3056 like `zero-or-more', but always produces a non-greedy regexp. | |
3057 | |
3058 `(one-or-more SEXP)' | |
3059 matches one or more occurrences of A. | |
40215 | 3060 |
39517 | 3061 `(1+ SEXP)' |
3062 like `one-or-more'. | |
3063 | |
3064 `(+ SEXP)' | |
3065 like `one-or-more', but always produces a greedy regexp. | |
3066 | |
3067 `(+? SEXP)' | |
3068 like `one-or-more', but always produces a non-greedy regexp. | |
3069 | |
3070 `(zero-or-one SEXP)' | |
3071 matches zero or one occurrences of A. | |
40215 | 3072 |
39517 | 3073 `(optional SEXP)' |
3074 like `zero-or-one'. | |
3075 | |
3076 `(? SEXP)' | |
3077 like `zero-or-one', but always produces a greedy regexp. | |
3078 | |
3079 `(?? SEXP)' | |
3080 like `zero-or-one', but always produces a non-greedy regexp. | |
3081 | |
3082 `(repeat N SEXP)' | |
3083 matches N occurrences of what SEXP matches. | |
3084 | |
3085 `(repeat N M SEXP)' | |
3086 matches N to M occurrences of what SEXP matches. | |
3087 | |
3088 `(eval FORM)' | |
3089 evaluate FORM and insert result. If result is a string, | |
3090 `regexp-quote' it. | |
3091 | |
3092 `(regexp REGEXP)' | |
3093 include REGEXP in string notation in the result. | |
3094 | |
36811 | 3095 *** The features `md5' and `overlay' are now provided by default. |
3096 | |
30933
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
3097 *** The special form `save-restriction' now works correctly even if the |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
3098 buffer is widened inside the save-restriction and changes made outside |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
3099 the original restriction. Previously, doing this would cause the saved |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
3100 restriction to be restored incorrectly. |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
3101 |
29506 | 3102 *** The functions `find-charset-region' and `find-charset-string' include |
3103 `eight-bit-control' and/or `eight-bit-graphic' in the returned list | |
36470 | 3104 when they find 8-bit characters. Previously, they included `ascii' in a |
29506 | 3105 multibyte buffer and `unknown' in a unibyte buffer. |
3106 | |
39255 | 3107 *** The functions `set-buffer-multibyte', `string-as-multibyte' and |
39212
34e0c37a5809
string-as-{muti,uni}byte doesn't act on a buffer.
Eli Zaretskii <eliz@gnu.org>
parents:
39179
diff
changeset
|
3108 `string-as-unibyte' change the byte sequence of a buffer or a string |
34e0c37a5809
string-as-{muti,uni}byte doesn't act on a buffer.
Eli Zaretskii <eliz@gnu.org>
parents:
39179
diff
changeset
|
3109 if it contains a character from the `eight-bit-control' character set. |
29506 | 3110 |
3111 *** The handling of multibyte sequences in a multibyte buffer is | |
3112 changed. Previously, a byte sequence matching the pattern | |
3113 [\200-\237][\240-\377]+ was interpreted as a single character | |
3114 regardless of the length of the trailing bytes [\240-\377]+. Thus, if | |
3115 the sequence was longer than what the leading byte indicated, the | |
3116 extra trailing bytes were ignored by Lisp functions. Now such extra | |
3117 bytes are independent 8-bit characters belonging to the charset | |
3118 eight-bit-graphic. | |
3119 | |
3120 ** Fontsets are now implemented using char-tables. | |
3121 | |
35847
83b8f5ad1f97
Several typos fixed. From Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35784
diff
changeset
|
3122 A fontset can now be specified for each independent character, for |
29506 | 3123 a group of characters or for a character set rather than just for a |
3124 character set as previously. | |
3125 | |
3126 *** The arguments of the function `set-fontset-font' are changed. | |
3127 They are NAME, CHARACTER, FONTNAME, and optional FRAME. The function | |
3128 modifies fontset NAME to use FONTNAME for CHARACTER. | |
3129 | |
3130 CHARACTER may be a cons (FROM . TO), where FROM and TO are non-generic | |
3131 characters. In that case FONTNAME is used for all characters in the | |
3132 range FROM and TO (inclusive). CHARACTER may be a charset. In that | |
3133 case FONTNAME is used for all character in the charset. | |
3134 | |
3135 FONTNAME may be a cons (FAMILY . REGISTRY), where FAMILY is the family | |
35847
83b8f5ad1f97
Several typos fixed. From Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35784
diff
changeset
|
3136 name of a font and REGISTRY is a registry name of a font. |
29506 | 3137 |
3138 *** Variable x-charset-registry has been deleted. The default charset | |
3139 registries of character sets are set in the default fontset | |
3140 "fontset-default". | |
3141 | |
3142 *** The function `create-fontset-from-fontset-spec' ignores the second | |
3143 argument STYLE-VARIANT. It never creates style-variant fontsets. | |
3144 | |
3145 ** The method of composing characters is changed. Now character | |
3146 composition is done by a special text property `composition' in | |
3147 buffers and strings. | |
3148 | |
3149 *** Charset composition is deleted. Emacs never creates a `composite | |
3150 character' which is an independent character with a unique character | |
3151 code. Thus the following functions handling `composite characters' | |
3152 have been deleted: composite-char-component, | |
3153 composite-char-component-count, composite-char-composition-rule, | |
3154 composite-char-composition-rule and decompose-composite-char delete. | |
3155 The variables leading-code-composition and min-composite-char have | |
3156 also been deleted. | |
3157 | |
3158 *** Three more glyph reference points are added. They can be used to | |
3159 specify a composition rule. See the documentation of the variable | |
3160 `reference-point-alist' for more detail. | |
3161 | |
3162 *** The function `compose-region' takes new arguments COMPONENTS and | |
3163 MODIFICATION-FUNC. With COMPONENTS, you can specify not only a | |
3164 composition rule but also characters to be composed. Such characters | |
3165 may differ between buffer and string text. | |
3166 | |
3167 *** The function `compose-string' takes new arguments START, END, | |
3168 COMPONENTS, and MODIFICATION-FUNC. | |
3169 | |
3170 *** The function `compose-string' puts text property `composition' | |
3171 directly on the argument STRING instead of returning a new string. | |
3172 Likewise, the function `decompose-string' just removes text property | |
3173 `composition' from STRING. | |
3174 | |
3175 *** The new function `find-composition' returns information about | |
3176 a composition at a specified position in a buffer or a string. | |
3177 | |
3178 *** The function `decompose-composite-char' is now labeled as | |
3179 obsolete. | |
3180 | |
36039 | 3181 ** The new coding system `mac-roman' is primarily intended for use on |
3182 the Macintosh but may be used generally for Macintosh-encoded text. | |
3183 | |
33290 | 3184 ** The new character sets `mule-unicode-0100-24ff', |
35937 | 3185 `mule-unicode-2500-33ff', and `mule-unicode-e000-ffff' have been |
3186 introduced for Unicode characters in the range U+0100..U+24FF, | |
3187 U+2500..U+33FF, U+E000..U+FFFF respectively. | |
3188 | |
38012
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3189 Note that the character sets are not yet unified in Emacs, so |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3190 characters which belong to charsets such as Latin-2, Greek, Hebrew, |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3191 etc. and the same characters in the `mule-unicode-*' charsets are |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3192 different characters, as far as Emacs is concerned. For example, text |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3193 which includes Unicode characters from the Latin-2 locale cannot be |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3194 encoded by Emacs with ISO 8859-2 coding system. |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3195 |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3196 ** The new coding system `mule-utf-8' has been added. |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3197 It provides limited support for decoding/encoding UTF-8 text. For |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3198 details, please see the documentation string of this coding system. |
35557 | 3199 |
29506 | 3200 ** The new character sets `japanese-jisx0213-1' and |
35937 | 3201 `japanese-jisx0213-2' have been introduced for the new Japanese |
3202 standard JIS X 0213 Plane 1 and Plane 2. | |
3203 | |
3204 ** The new character sets `latin-iso8859-14' and `latin-iso8859-15' | |
3205 have been introduced. | |
29506 | 3206 |
3207 ** The new character sets `eight-bit-control' and `eight-bit-graphic' | |
35937 | 3208 have been introduced for 8-bit characters in the ranges 0x80..0x9F and |
36470 | 3209 0xA0..0xFF respectively. Note that the multibyte representation of |
3210 eight-bit-control is never exposed; this leads to an exception in the | |
3211 emacs-mule coding system, which encodes everything else to the | |
36885 | 3212 buffer/string internal representation. Note that to search for |
3213 eight-bit-graphic characters in a multibyte buffer, the search string | |
3214 must be multibyte, otherwise such characters will be converted to | |
3215 their multibyte equivalent. | |
29506 | 3216 |
28847 | 3217 ** If the APPEND argument of `write-region' is an integer, it seeks to |
3218 that offset in the file before writing. | |
3219 | |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3220 ** The function `add-minor-mode' has been added for convenience and |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3221 compatibility with XEmacs (and is used internally by define-minor-mode). |
28724 | 3222 |
28710 | 3223 ** The function `shell-command' now sets the default directory of the |
3224 `*Shell Command Output*' buffer to the default directory of the buffer | |
3225 from which the command was issued. | |
3226 | |
3227 ** The functions `query-replace', `query-replace-regexp', | |
3228 `query-replace-regexp-eval' `map-query-replace-regexp', | |
3229 `replace-string', `replace-regexp', and `perform-replace' take two | |
3230 additional optional arguments START and END that specify the region to | |
3231 operate on. | |
3232 | |
28658 | 3233 ** The new function `count-screen-lines' is a more flexible alternative |
3234 to `window-buffer-height'. | |
3235 | |
3236 - Function: count-screen-lines &optional BEG END COUNT-FINAL-NEWLINE WINDOW | |
3237 | |
3238 Return the number of screen lines in the region between BEG and END. | |
3239 The number of screen lines may be different from the number of actual | |
3240 lines, due to line breaking, display table, etc. | |
3241 | |
3242 Optional arguments BEG and END default to `point-min' and `point-max' | |
3243 respectively. | |
3244 | |
35680 | 3245 If region ends with a newline, ignore it unless optional third argument |
28658 | 3246 COUNT-FINAL-NEWLINE is non-nil. |
3247 | |
3248 The optional fourth argument WINDOW specifies the window used for | |
3249 obtaining parameters such as width, horizontal scrolling, and so | |
3250 on. The default is to use the selected window's parameters. | |
3251 | |
3252 Like `vertical-motion', `count-screen-lines' always uses the current | |
3253 buffer, regardless of which buffer is displayed in WINDOW. This makes | |
3254 possible to use `count-screen-lines' in any buffer, whether or not it | |
3255 is currently displayed in some window. | |
3256 | |
28556 | 3257 ** The new function `mapc' is like `mapcar' but doesn't collect the |
3258 argument function's results. | |
3259 | |
28496 | 3260 ** The functions base64-decode-region and base64-decode-string now |
38649
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
3261 signal an error instead of returning nil if decoding fails. Also, |
39075
8722aa0ae475
Mark (almost) all entries either --- or +++.
Eli Zaretskii <eliz@gnu.org>
parents:
39031
diff
changeset
|
3262 `base64-decode-string' now always returns a unibyte string (in Emacs |
8722aa0ae475
Mark (almost) all entries either --- or +++.
Eli Zaretskii <eliz@gnu.org>
parents:
39031
diff
changeset
|
3263 20, it returned a multibyte string when the result was a valid multibyte |
38649
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
3264 sequence). |
28496 | 3265 |
28492 | 3266 ** The function sendmail-user-agent-compose now recognizes a `body' |
31859 | 3267 header in the list of headers passed to it. |
28492 | 3268 |
3269 ** The new function member-ignore-case works like `member', but | |
3270 ignores differences in case and text representation. | |
3271 | |
3272 ** The buffer-local variable cursor-type can be used to specify the | |
28323 | 3273 cursor to use in windows displaying a buffer. Values are interpreted |
3274 as follows: | |
3275 | |
3276 t use the cursor specified for the frame (default) | |
3277 nil don't display a cursor | |
3278 `bar' display a bar cursor with default width | |
3279 (bar . WIDTH) display a bar cursor with width WIDTH | |
3280 others display a box cursor. | |
3281 | |
28303 | 3282 ** The variable open-paren-in-column-0-is-defun-start controls whether |
3283 an open parenthesis in column 0 is considered to be the start of a | |
3284 defun. If set, the default, it is considered a defun start. If not | |
3285 set, an open parenthesis in column 0 has no special meaning. | |
3286 | |
28194 | 3287 ** The new function `string-to-syntax' can be used to translate syntax |
28854
a5c81109bc31
Mention PCL-CVS.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28847
diff
changeset
|
3288 specifications in string form as accepted by `modify-syntax-entry' to |
28194 | 3289 the cons-cell form that is used for the values of the `syntax-table' |
3290 text property, and in `font-lock-syntactic-keywords'. | |
3291 | |
3292 Example: | |
3293 | |
3294 (string-to-syntax "()") | |
3295 => (4 . 41) | |
3296 | |
28166 | 3297 ** Emacs' reader supports CL read syntax for integers in bases |
3298 other than 10. | |
3299 | |
3300 *** `#BINTEGER' or `#bINTEGER' reads INTEGER in binary (radix 2). | |
3301 INTEGER optionally contains a sign. | |
3302 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3303 #b1111 |
28166 | 3304 => 15 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3305 #b-1111 |
28166 | 3306 => -15 |
3307 | |
3308 *** `#OINTEGER' or `#oINTEGER' reads INTEGER in octal (radix 8). | |
3309 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3310 #o666 |
28166 | 3311 => 438 |
3312 | |
3313 *** `#XINTEGER' or `#xINTEGER' reads INTEGER in hexadecimal (radix 16). | |
3314 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3315 #xbeef |
28166 | 3316 => 48815 |
3317 | |
3318 *** `#RADIXrINTEGER' reads INTEGER in radix RADIX, 2 <= RADIX <= 36. | |
3319 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3320 #2R-111 |
28166 | 3321 => -7 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3322 #25rah |
28166 | 3323 => 267 |
3324 | |
28335 | 3325 ** The function `documentation-property' now evaluates the value of |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3326 the given property to obtain a string if it doesn't refer to etc/DOC |
28037 | 3327 and isn't a string. |
3328 | |
28335 | 3329 ** If called for a symbol, the function `documentation' now looks for |
3330 a `function-documentation' property of that symbol. If it has a non-nil | |
3331 value, the documentation is taken from that value. If the value is | |
3332 not a string, it is evaluated to obtain a string. | |
3333 | |
27881
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3334 ** The last argument of `define-key-after' defaults to t for convenience. |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3335 |
28149 | 3336 ** The new function `replace-regexp-in-string' replaces all matches |
27881
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3337 for a regexp in a string. |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3338 |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3339 ** `mouse-position' now runs the abnormal hook |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3340 `mouse-position-function'. |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3341 |
27827 | 3342 ** The function string-to-number now returns a float for numbers |
3343 that don't fit into a Lisp integer. | |
3344 | |
27820 | 3345 ** The variable keyword-symbols-constants-flag has been removed. |
3346 Keywords are now always considered constants. | |
3347 | |
27770 | 3348 ** The new function `delete-and-extract-region' deletes text and |
3349 returns it. | |
3350 | |
27276 | 3351 ** The function `clear-this-command-keys' now also clears the vector |
3352 returned by function `recent-keys'. | |
3353 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3354 ** Variables `beginning-of-defun-function' and `end-of-defun-function' |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3355 can be used to define handlers for the functions that find defuns. |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
3356 Major modes can define these locally instead of rebinding C-M-a |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3357 etc. if the normal conventions for defuns are not appropriate for the |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3358 mode. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3359 |
27094
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3360 ** easy-mmode-define-minor-mode now takes an additional BODY argument |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3361 and is renamed `define-minor-mode'. |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3362 |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3363 ** If an abbrev has a hook function which is a symbol, and that symbol |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3364 has a non-nil `no-self-insert' property, the return value of the hook |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3365 function specifies whether an expansion has been done or not. If it |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3366 returns nil, abbrev-expand also returns nil, meaning "no expansion has |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3367 been performed." |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3368 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3369 When abbrev expansion is done by typing a self-inserting character, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3370 and the abbrev has a hook with the `no-self-insert' property, and the |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3371 hook function returns non-nil meaning expansion has been done, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3372 then the self-inserting character is not inserted. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3373 |
26737 | 3374 ** The function `intern-soft' now accepts a symbol as first argument. |
3375 In this case, that exact symbol is looked up in the specified obarray, | |
3376 and the function's value is nil if it is not found. | |
3377 | |
26467 | 3378 ** The new macro `with-syntax-table' can be used to evaluate forms |
3379 with the syntax table of the current buffer temporarily set to a | |
3380 specified table. | |
3381 | |
3382 (with-syntax-table TABLE &rest BODY) | |
3383 | |
3384 Evaluate BODY with syntax table of current buffer set to a copy of | |
26541
ce6bf7b42bc7
--with-syntax-table changed.
Gerd Moellmann <gerd@gnu.org>
parents:
26525
diff
changeset
|
3385 TABLE. The current syntax table is saved, BODY is evaluated, and the |
ce6bf7b42bc7
--with-syntax-table changed.
Gerd Moellmann <gerd@gnu.org>
parents:
26525
diff
changeset
|
3386 saved table is restored, even in case of an abnormal exit. Value is |
ce6bf7b42bc7
--with-syntax-table changed.
Gerd Moellmann <gerd@gnu.org>
parents:
26525
diff
changeset
|
3387 what BODY returns. |
26467 | 3388 |
27693
d8bedafef8d5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27644
diff
changeset
|
3389 ** Regular expressions now support intervals \{n,m\} as well as |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28051
diff
changeset
|
3390 Perl's shy-groups \(?:...\) and non-greedy *? +? and ?? operators. |
35680 | 3391 Also back-references like \2 are now considered as an error if the |
33913
0c780fd30da5
New font-lock-doc-face.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33862
diff
changeset
|
3392 corresponding subgroup does not exist (or is not closed yet). |
0c780fd30da5
New font-lock-doc-face.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33862
diff
changeset
|
3393 Previously it would have been silently turned into `2' (ignoring the `\'). |
27094
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3394 |
26397
17d6fe2e2d0f
Removal of buffer argument of file-local-copy.
Gerd Moellmann <gerd@gnu.org>
parents:
26360
diff
changeset
|
3395 ** The optional argument BUFFER of function file-local-copy has been |
17d6fe2e2d0f
Removal of buffer argument of file-local-copy.
Gerd Moellmann <gerd@gnu.org>
parents:
26360
diff
changeset
|
3396 removed since it wasn't used by anything. |
17d6fe2e2d0f
Removal of buffer argument of file-local-copy.
Gerd Moellmann <gerd@gnu.org>
parents:
26360
diff
changeset
|
3397 |
26360
5370b1c171ef
Change in file-locked-p argument.
Gerd Moellmann <gerd@gnu.org>
parents:
26359
diff
changeset
|
3398 ** The file name argument of function `file-locked-p' is now required |
5370b1c171ef
Change in file-locked-p argument.
Gerd Moellmann <gerd@gnu.org>
parents:
26359
diff
changeset
|
3399 instead of being optional. |
5370b1c171ef
Change in file-locked-p argument.
Gerd Moellmann <gerd@gnu.org>
parents:
26359
diff
changeset
|
3400 |
26277
32e16b70ae15
New built-in error `text-read-only'.
Gerd Moellmann <gerd@gnu.org>
parents:
26271
diff
changeset
|
3401 ** The new built-in error `text-read-only' is signaled when trying to |
32e16b70ae15
New built-in error `text-read-only'.
Gerd Moellmann <gerd@gnu.org>
parents:
26271
diff
changeset
|
3402 modify read-only text. |
32e16b70ae15
New built-in error `text-read-only'.
Gerd Moellmann <gerd@gnu.org>
parents:
26271
diff
changeset
|
3403 |
26140
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3404 ** New functions and variables for locales. |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3405 |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3406 The new variable `locale-coding-system' specifies how to encode and |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3407 decode strings passed to low-level message functions like strerror and |
26525
4df5920724de
Rename messages-locale to system-messages-locale
Paul Eggert <eggert@twinsun.com>
parents:
26467
diff
changeset
|
3408 time functions like strftime. The new variables |
4df5920724de
Rename messages-locale to system-messages-locale
Paul Eggert <eggert@twinsun.com>
parents:
26467
diff
changeset
|
3409 `system-messages-locale' and `system-time-locale' give the system |
4df5920724de
Rename messages-locale to system-messages-locale
Paul Eggert <eggert@twinsun.com>
parents:
26467
diff
changeset
|
3410 locales to be used when invoking these two types of functions. |
26140
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3411 |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3412 The new function `set-locale-environment' sets the language |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3413 environment, preferred coding system, and locale coding system from |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3414 the system locale as specified by the LC_ALL, LC_CTYPE, and LANG |
26525
4df5920724de
Rename messages-locale to system-messages-locale
Paul Eggert <eggert@twinsun.com>
parents:
26467
diff
changeset
|
3415 environment variables. Normally, it is invoked during startup and need |
4df5920724de
Rename messages-locale to system-messages-locale
Paul Eggert <eggert@twinsun.com>
parents:
26467
diff
changeset
|
3416 not be invoked thereafter. It uses the new variables |
4df5920724de
Rename messages-locale to system-messages-locale
Paul Eggert <eggert@twinsun.com>
parents:
26467
diff
changeset
|
3417 `locale-language-names', `locale-charset-language-names', and |
4df5920724de
Rename messages-locale to system-messages-locale
Paul Eggert <eggert@twinsun.com>
parents:
26467
diff
changeset
|
3418 `locale-preferred-coding-systems' to make its decisions. |
26140
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3419 |
26107
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3420 ** syntax tables now understand nested comments. |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3421 To declare a comment syntax as allowing nesting, just add an `n' |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3422 modifier to either of the characters of the comment end and the comment |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3423 start sequences. |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3424 |
25910
918acea58309
Add section for change of pixmap-spec-p to bitmap-spec-p.
Gerd Moellmann <gerd@gnu.org>
parents:
25862
diff
changeset
|
3425 ** The function `pixmap-spec-p' has been renamed `bitmap-spec-p' |
918acea58309
Add section for change of pixmap-spec-p to bitmap-spec-p.
Gerd Moellmann <gerd@gnu.org>
parents:
25862
diff
changeset
|
3426 because `bitmap' is more in line with the usual X terminology. |
918acea58309
Add section for change of pixmap-spec-p to bitmap-spec-p.
Gerd Moellmann <gerd@gnu.org>
parents:
25862
diff
changeset
|
3427 |
25853 | 3428 ** New function `propertize' |
3429 | |
3430 The new function `propertize' can be used to conveniently construct | |
3431 strings with text properties. | |
3432 | |
3433 - Function: propertize STRING &rest PROPERTIES | |
3434 | |
3435 Value is a copy of STRING with text properties assigned as specified | |
3436 by PROPERTIES. PROPERTIES is a sequence of pairs PROPERTY VALUE, with | |
3437 PROPERTY being the name of a text property and VALUE being the | |
3438 specified value of that property. Example: | |
3439 | |
3440 (propertize "foo" 'face 'bold 'read-only t) | |
3441 | |
3442 ** push and pop macros. | |
3443 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3444 Simple versions of the push and pop macros of Common Lisp |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3445 are now defined in Emacs Lisp. These macros allow only symbols |
25853 | 3446 as the place that holds the list to be changed. |
3447 | |
3448 (push NEWELT LISTNAME) add NEWELT to the front of LISTNAME's value. | |
3449 (pop LISTNAME) return first elt of LISTNAME, and remove it | |
3450 (thus altering the value of LISTNAME). | |
3451 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3452 ** New dolist and dotimes macros. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3453 |
27387
d0a7127b33e5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27385
diff
changeset
|
3454 Simple versions of the dolist and dotimes macros of Common Lisp |
d0a7127b33e5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27385
diff
changeset
|
3455 are now defined in Emacs Lisp. |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3456 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3457 (dolist (VAR LIST [RESULT]) BODY...) |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3458 Execute body once for each element of LIST, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3459 using the variable VAR to hold the current element. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3460 Then return the value of RESULT, or nil if RESULT is omitted. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3461 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3462 (dotimes (VAR COUNT [RESULT]) BODY...) |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3463 Execute BODY with VAR bound to successive integers running from 0, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3464 inclusive, to COUNT, exclusive. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3465 Then return the value of RESULT, or nil if RESULT is omitted. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3466 |
34166 | 3467 ** Regular expressions now support Posix character classes such as |
3468 [:alpha:], [:space:] and so on. These must be used within a character | |
3469 class--for instance, [-[:digit:].+] matches digits or a period | |
3470 or a sign. | |
25853 | 3471 |
3472 [:digit:] matches 0 through 9 | |
3473 [:cntrl:] matches ASCII control characters | |
3474 [:xdigit:] matches 0 through 9, a through f and A through F. | |
3475 [:blank:] matches space and tab only | |
3476 [:graph:] matches graphic characters--everything except ASCII control chars, | |
3477 space, and DEL. | |
3478 [:print:] matches printing characters--everything except ASCII control chars | |
3479 and DEL. | |
3480 [:alnum:] matches letters and digits. | |
3481 (But at present, for multibyte characters, | |
3482 it matches anything that has word syntax.) | |
3483 [:alpha:] matches letters. | |
3484 (But at present, for multibyte characters, | |
3485 it matches anything that has word syntax.) | |
3486 [:ascii:] matches ASCII (unibyte) characters. | |
3487 [:nonascii:] matches non-ASCII (multibyte) characters. | |
3488 [:lower:] matches anything lower-case. | |
3489 [:punct:] matches punctuation. | |
3490 (But at present, for multibyte characters, | |
3491 it matches anything that has non-word syntax.) | |
3492 [:space:] matches anything that has whitespace syntax. | |
3493 [:upper:] matches anything upper-case. | |
3494 [:word:] matches anything that has word syntax. | |
3495 | |
3496 ** Emacs now has built-in hash tables. | |
3497 | |
3498 The following functions are defined for hash tables: | |
3499 | |
3500 - Function: make-hash-table ARGS | |
3501 | |
3502 The argument list ARGS consists of keyword/argument pairs. All arguments | |
3503 are optional. The following arguments are defined: | |
3504 | |
3505 :test TEST | |
3506 | |
3507 TEST must be a symbol specifying how to compare keys. Default is `eql'. | |
3508 Predefined are `eq', `eql' and `equal'. If TEST is not predefined, | |
3509 it must have been defined with `define-hash-table-test'. | |
3510 | |
3511 :size SIZE | |
3512 | |
3513 SIZE must be an integer > 0 giving a hint to the implementation how | |
3514 many elements will be put in the hash table. Default size is 65. | |
3515 | |
3516 :rehash-size REHASH-SIZE | |
3517 | |
3518 REHASH-SIZE specifies by how much to grow a hash table once it becomes | |
3519 full. If REHASH-SIZE is an integer, add that to the hash table's old | |
3520 size to get the new size. Otherwise, REHASH-SIZE must be a float > | |
3521 1.0, and the new size is computed by multiplying REHASH-SIZE with the | |
3522 old size. Default rehash size is 1.5. | |
3523 | |
3524 :rehash-threshold THRESHOLD | |
3525 | |
3526 THRESHOLD must be a float > 0 and <= 1.0 specifying when to resize the | |
3527 hash table. It is resized when the ratio of (number of entries) / | |
3528 (size of hash table) is >= THRESHOLD. Default threshold is 0.8. | |
3529 | |
3530 :weakness WEAK | |
3531 | |
30502 | 3532 WEAK must be either nil, one of the symbols `key, `value', |
3533 `key-or-value', `key-and-value', or t, meaning the same as | |
3534 `key-and-value'. Entries are removed from weak tables during garbage | |
3535 collection if their key and/or value are not referenced elsewhere | |
3536 outside of the hash table. Default are non-weak hash tables. | |
25853 | 3537 |
3538 - Function: makehash &optional TEST | |
3539 | |
3540 Similar to make-hash-table, but only TEST can be specified. | |
3541 | |
3542 - Function: hash-table-p TABLE | |
3543 | |
3544 Returns non-nil if TABLE is a hash table object. | |
3545 | |
3546 - Function: copy-hash-table TABLE | |
3547 | |
3548 Returns a copy of TABLE. Only the table itself is copied, keys and | |
3549 values are shared. | |
3550 | |
3551 - Function: hash-table-count TABLE | |
3552 | |
3553 Returns the number of entries in TABLE. | |
3554 | |
3555 - Function: hash-table-rehash-size TABLE | |
3556 | |
3557 Returns the rehash size of TABLE. | |
3558 | |
3559 - Function: hash-table-rehash-threshold TABLE | |
3560 | |
3561 Returns the rehash threshold of TABLE. | |
3562 | |
3563 - Function: hash-table-rehash-size TABLE | |
3564 | |
3565 Returns the size of TABLE. | |
3566 | |
30789 | 3567 - Function: hash-table-test TABLE |
25853 | 3568 |
3569 Returns the test TABLE uses to compare keys. | |
3570 | |
3571 - Function: hash-table-weakness TABLE | |
3572 | |
3573 Returns the weakness specified for TABLE. | |
3574 | |
3575 - Function: clrhash TABLE | |
3576 | |
3577 Clear TABLE. | |
3578 | |
3579 - Function: gethash KEY TABLE &optional DEFAULT | |
3580 | |
3581 Look up KEY in TABLE and return its associated VALUE or DEFAULT if | |
3582 not found. | |
3583 | |
26264 | 3584 - Function: puthash KEY VALUE TABLE |
25853 | 3585 |
3586 Associate KEY with VALUE in TABLE. If KEY is already associated with | |
3587 another value, replace the old value with VALUE. | |
3588 | |
3589 - Function: remhash KEY TABLE | |
3590 | |
3591 Remove KEY from TABLE if it is there. | |
3592 | |
3593 - Function: maphash FUNCTION TABLE | |
3594 | |
3595 Call FUNCTION for all elements in TABLE. FUNCTION must take two | |
3596 arguments KEY and VALUE. | |
3597 | |
3598 - Function: sxhash OBJ | |
3599 | |
3600 Return a hash code for Lisp object OBJ. | |
3601 | |
3602 - Function: define-hash-table-test NAME TEST-FN HASH-FN | |
3603 | |
3604 Define a new hash table test named NAME. If NAME is specified as | |
3605 a test in `make-hash-table', the table created will use TEST-FN for | |
26264 | 3606 comparing keys, and HASH-FN to compute hash codes for keys. Test |
25853 | 3607 and hash function are stored as symbol property `hash-table-test' |
3608 of NAME with a value of (TEST-FN HASH-FN). | |
3609 | |
3610 TEST-FN must take two arguments and return non-nil if they are the same. | |
3611 | |
3612 HASH-FN must take one argument and return an integer that is the hash | |
3613 code of the argument. The function should use the whole range of | |
3614 integer values for hash code computation, including negative integers. | |
3615 | |
3616 Example: The following creates a hash table whose keys are supposed to | |
3617 be strings that are compared case-insensitively. | |
3618 | |
3619 (defun case-fold-string= (a b) | |
3620 (compare-strings a nil nil b nil nil t)) | |
3621 | |
3622 (defun case-fold-string-hash (a) | |
3623 (sxhash (upcase a))) | |
3624 | |
26264 | 3625 (define-hash-table-test 'case-fold 'case-fold-string= |
25853 | 3626 'case-fold-string-hash)) |
3627 | |
3628 (make-hash-table :test 'case-fold) | |
3629 | |
3630 ** The Lisp reader handles circular structure. | |
3631 | |
3632 It now works to use the #N= and #N# constructs to represent | |
3633 circular structures. For example, #1=(a . #1#) represents | |
3634 a cons cell which is its own cdr. | |
3635 | |
3636 ** The Lisp printer handles circular structure. | |
3637 | |
3638 If you bind print-circle to a non-nil value, the Lisp printer outputs | |
3639 #N= and #N# constructs to represent circular and shared structure. | |
3640 | |
3641 ** If the second argument to `move-to-column' is anything but nil or | |
3642 t, that means replace a tab with spaces if necessary to reach the | |
3643 specified column, but do not add spaces at the end of the line if it | |
3644 is too short to reach that column. | |
3645 | |
3646 ** perform-replace has a new feature: the REPLACEMENTS argument may | |
3647 now be a cons cell (FUNCTION . DATA). This means to call FUNCTION | |
3648 after each match to get the replacement text. FUNCTION is called with | |
3649 two arguments: DATA, and the number of replacements already made. | |
3650 | |
3651 If the FROM-STRING contains any upper-case letters, | |
3652 perform-replace also turns off `case-fold-search' temporarily | |
3653 and inserts the replacement text without altering case in it. | |
3654 | |
3655 ** The function buffer-size now accepts an optional argument | |
3656 to specify which buffer to return the size of. | |
3657 | |
3658 ** The calendar motion commands now run the normal hook | |
3659 calendar-move-hook after moving point. | |
3660 | |
3661 ** The new variable small-temporary-file-directory specifies a | |
3662 directory to use for creating temporary files that are likely to be | |
3663 small. (Certain Emacs features use this directory.) If | |
3664 small-temporary-file-directory is nil, they use | |
3665 temporary-file-directory instead. | |
3666 | |
3667 ** The variable `inhibit-modification-hooks', if non-nil, inhibits all | |
3668 the hooks that track changes in the buffer. This affects | |
3669 `before-change-functions' and `after-change-functions', as well as | |
3670 hooks attached to text properties and overlay properties. | |
3671 | |
36885 | 3672 ** assq-delete-all is a new function that deletes all the |
3673 elements of an alist which have a car `eq' to a particular value. | |
25853 | 3674 |
3675 ** make-temp-file provides a more reliable way to create a temporary file. | |
3676 | |
3677 make-temp-file is used like make-temp-name, except that it actually | |
3678 creates the file before it returns. This prevents a timing error, | |
3679 ensuring that no other job can use the same name for a temporary file. | |
3680 | |
3681 ** New exclusive-open feature in `write-region' | |
3682 | |
3683 The optional seventh arg is now called MUSTBENEW. If non-nil, it insists | |
3684 on a check for an existing file with the same name. If MUSTBENEW | |
3685 is `excl', that means to get an error if the file already exists; | |
3686 never overwrite. If MUSTBENEW is neither nil nor `excl', that means | |
3687 ask for confirmation before overwriting, but do go ahead and | |
3688 overwrite the file if the user gives confirmation. | |
3689 | |
3690 If the MUSTBENEW argument in `write-region' is `excl', | |
3691 that means to use a special feature in the `open' system call | |
3692 to get an error if the file exists at that time. | |
3693 The error reported is `file-already-exists'. | |
3694 | |
3695 ** Function `format' now handles text properties. | |
3696 | |
3697 Text properties of the format string are applied to the result string. | |
3698 If the result string is longer than the format string, text properties | |
3699 ending at the end of the format string are extended to the end of the | |
3700 result string. | |
3701 | |
3702 Text properties from string arguments are applied to the result | |
3703 string where arguments appear in the result string. | |
3704 | |
3705 Example: | |
3706 | |
3707 (let ((s1 "hello, %s") | |
3708 (s2 "world")) | |
3709 (put-text-property 0 (length s1) 'face 'bold s1) | |
3710 (put-text-property 0 (length s2) 'face 'italic s2) | |
26034 | 3711 (format s1 s2)) |
25853 | 3712 |
3713 results in a bold-face string with an italic `world' at the end. | |
3714 | |
3715 ** Messages can now be displayed with text properties. | |
3716 | |
3717 Text properties are handled as described above for function `format'. | |
3718 The following example displays a bold-face message with an italic | |
3719 argument in it. | |
3720 | |
3721 (let ((msg "hello, %s!") | |
3722 (arg "world")) | |
3723 (put-text-property 0 (length msg) 'face 'bold msg) | |
3724 (put-text-property 0 (length arg) 'face 'italic arg) | |
3725 (message msg arg)) | |
3726 | |
3727 ** Sound support | |
3728 | |
3729 Emacs supports playing sound files on GNU/Linux and the free BSDs | |
3730 (Voxware driver and native BSD driver, aka as Luigi's driver). | |
3731 | |
3732 Currently supported file formats are RIFF-WAVE (*.wav) and Sun Audio | |
3733 (*.au). You must configure Emacs with the option `--with-sound=yes' | |
3734 to enable sound support. | |
3735 | |
3736 Sound files can be played by calling (play-sound SOUND). SOUND is a | |
3737 list of the form `(sound PROPERTY...)'. The function is only defined | |
3738 when sound support is present for the system on which Emacs runs. The | |
3739 functions runs `play-sound-functions' with one argument which is the | |
3740 sound to play, before playing the sound. | |
3741 | |
3742 The following sound properties are supported: | |
3743 | |
3744 - `:file FILE' | |
3745 | |
3746 FILE is a file name. If FILE isn't an absolute name, it will be | |
3747 searched relative to `data-directory'. | |
3748 | |
27148 | 3749 - `:data DATA' |
3750 | |
3751 DATA is a string containing sound data. Either :file or :data | |
3752 may be present, but not both. | |
3753 | |
25853 | 3754 - `:volume VOLUME' |
3755 | |
3756 VOLUME must be an integer in the range 0..100 or a float in the range | |
3757 0..1. This property is optional. | |
3758 | |
33991 | 3759 - `:device DEVICE' |
3760 | |
3761 DEVICE is a string specifying the system device on which to play the | |
3762 sound. The default device is system-dependent. | |
3763 | |
25853 | 3764 Other properties are ignored. |
3765 | |
33991 | 3766 An alternative interface is called as |
3767 (play-sound-file FILE &optional VOLUME DEVICE). | |
3768 | |
25853 | 3769 ** `multimedia' is a new Finder keyword and Custom group. |
26933 | 3770 |
3771 ** keywordp is a new predicate to test efficiently for an object being | |
3772 a keyword symbol. | |
27145
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3773 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3774 ** Changes to garbage collection |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3775 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3776 *** The function garbage-collect now additionally returns the number |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3777 of live and free strings. |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3778 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3779 *** There is a new variable `strings-consed' holding the number of |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3780 strings that have been consed so far. |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3781 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3782 |
29151 | 3783 * Lisp-level Display features added after release 2.6 of the Emacs |
3784 Lisp Manual | |
3785 | |
33309 | 3786 ** The user-option `resize-mini-windows' controls how Emacs resizes |
3787 mini-windows. | |
3788 | |
34389
779f5314f5fa
Update entry for `pos-visible-in-window-p'.
Miles Bader <miles@gnu.org>
parents:
34334
diff
changeset
|
3789 ** The function `pos-visible-in-window-p' now has a third optional |
779f5314f5fa
Update entry for `pos-visible-in-window-p'.
Miles Bader <miles@gnu.org>
parents:
34334
diff
changeset
|
3790 argument, PARTIALLY. If a character is only partially visible, nil is |
779f5314f5fa
Update entry for `pos-visible-in-window-p'.
Miles Bader <miles@gnu.org>
parents:
34334
diff
changeset
|
3791 returned, unless PARTIALLY is non-nil. |
32915
f8e686a581dc
Add entry for `pos-visible-in-window-p'.
Miles Bader <miles@gnu.org>
parents:
32913
diff
changeset
|
3792 |
33309 | 3793 ** On window systems, `glyph-table' is no longer used. |
31220 | 3794 |
30222 | 3795 ** Help strings in menu items are now used to provide `help-echo' text. |
29939 | 3796 |
3797 ** The function `image-size' can be used to determine the size of an | |
3798 image. | |
3799 | |
3800 - Function: image-size SPEC &optional PIXELS FRAME | |
3801 | |
3802 Return the size of an image as a pair (WIDTH . HEIGHT). | |
3803 | |
3804 SPEC is an image specification. PIXELS non-nil means return sizes | |
3805 measured in pixels, otherwise return sizes measured in canonical | |
3806 character units (fractions of the width/height of the frame's default | |
3807 font). FRAME is the frame on which the image will be displayed. | |
3808 FRAME nil or omitted means use the selected frame. | |
3809 | |
31639 | 3810 ** The function `image-mask-p' can be used to determine if an image |
3811 has a mask bitmap. | |
3812 | |
3813 - Function: image-mask-p SPEC &optional FRAME | |
3814 | |
3815 Return t if image SPEC has a mask bitmap. | |
3816 FRAME is the frame on which the image will be displayed. FRAME nil | |
3817 or omitted means use the selected frame. | |
3818 | |
29506 | 3819 ** The function `find-image' can be used to find a usable image |
3820 satisfying one of a list of specifications. | |
3821 | |
3822 ** The STRING argument of `put-image' and `insert-image' is now | |
3823 optional. | |
3824 | |
31156 | 3825 ** Image specifications may contain the property `:ascent center' (see |
3826 below). | |
29151 | 3827 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3828 |
25853 | 3829 * New Lisp-level Display features in Emacs 21.1 |
3830 | |
3831 Note that +++ before an item means the Lisp manual has been updated. | |
3832 --- means that I have decided it does not need to be in the Lisp manual. | |
3833 When you add a new item, please add it without either +++ or --- | |
3834 so I will know I still need to look at it -- rms. | |
3835 | |
28634 | 3836 ** The function tty-suppress-bold-inverse-default-colors can be used |
3837 to make Emacs avoid displaying text with bold black foreground on TTYs. | |
3838 | |
3839 Some terminals, notably PC consoles, emulate bold text by displaying | |
3840 text in brighter colors. On such a console, a bold black foreground | |
3841 is displayed in a gray color. If this turns out to be hard to read on | |
3842 your monitor---the problem occurred with the mode line on | |
3843 laptops---you can instruct Emacs to ignore the text's boldness, and to | |
3844 just display it black instead. | |
3845 | |
3846 This situation can't be detected automatically. You will have to put | |
3847 a line like | |
3848 | |
3849 (tty-suppress-bold-inverse-default-colors t) | |
3850 | |
3851 in your `.emacs'. | |
3852 | |
25853 | 3853 ** New face implementation. |
3854 | |
3855 Emacs faces have been reimplemented from scratch. They don't use XLFD | |
3856 font names anymore and face merging now works as expected. | |
3857 | |
3858 *** New faces. | |
3859 | |
3860 Each face can specify the following display attributes: | |
3861 | |
3862 1. Font family or fontset alias name. | |
26264 | 3863 |
25853 | 3864 2. Relative proportionate width, aka character set width or set |
3865 width (swidth), e.g. `semi-compressed'. | |
26264 | 3866 |
25853 | 3867 3. Font height in 1/10pt |
26264 | 3868 |
25853 | 3869 4. Font weight, e.g. `bold'. |
26264 | 3870 |
25853 | 3871 5. Font slant, e.g. `italic'. |
26264 | 3872 |
25853 | 3873 6. Foreground color. |
26264 | 3874 |
25853 | 3875 7. Background color. |
3876 | |
3877 8. Whether or not characters should be underlined, and in what color. | |
3878 | |
3879 9. Whether or not characters should be displayed in inverse video. | |
3880 | |
3881 10. A background stipple, a bitmap. | |
3882 | |
3883 11. Whether or not characters should be overlined, and in what color. | |
3884 | |
3885 12. Whether or not characters should be strike-through, and in what | |
3886 color. | |
3887 | |
3888 13. Whether or not a box should be drawn around characters, its | |
3889 color, the width of the box lines, and 3D appearance. | |
3890 | |
3891 Faces are frame-local by nature because Emacs allows to define the | |
3892 same named face (face names are symbols) differently for different | |
3893 frames. Each frame has an alist of face definitions for all named | |
3894 faces. The value of a named face in such an alist is a Lisp vector | |
35863
534be6e166a6
Yet another bunch of typo fizes from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35862
diff
changeset
|
3895 with the symbol `face' in slot 0, and a slot for each of the face |
25853 | 3896 attributes mentioned above. |
3897 | |
3898 There is also a global face alist `face-new-frame-defaults'. Face | |
3899 definitions from this list are used to initialize faces of newly | |
3900 created frames. | |
26264 | 3901 |
25853 | 3902 A face doesn't have to specify all attributes. Those not specified |
3903 have a nil value. Faces specifying all attributes are called | |
3904 `fully-specified'. | |
3905 | |
3906 *** Face merging. | |
3907 | |
3908 The display style of a given character in the text is determined by | |
3909 combining several faces. This process is called `face merging'. Any | |
3910 aspect of the display style that isn't specified by overlays or text | |
3911 properties is taken from the `default' face. Since it is made sure | |
3912 that the default face is always fully-specified, face merging always | |
3913 results in a fully-specified face. | |
3914 | |
3915 *** Face realization. | |
3916 | |
3917 After all face attributes for a character have been determined by | |
3918 merging faces of that character, that face is `realized'. The | |
3919 realization process maps face attributes to what is physically | |
3920 available on the system where Emacs runs. The result is a `realized | |
3921 face' in form of an internal structure which is stored in the face | |
3922 cache of the frame on which it was realized. | |
3923 | |
3924 Face realization is done in the context of the charset of the | |
3925 character to display because different fonts and encodings are used | |
3926 for different charsets. In other words, for characters of different | |
3927 charsets, different realized faces are needed to display them. | |
3928 | |
3929 Except for composite characters, faces are always realized for a | |
3930 specific character set and contain a specific font, even if the face | |
3931 being realized specifies a fontset. The reason is that the result of | |
3932 the new font selection stage is better than what can be done with | |
3933 statically defined font name patterns in fontsets. | |
3934 | |
3935 In unibyte text, Emacs' charsets aren't applicable; function | |
3936 `char-charset' reports ASCII for all characters, including those > | |
3937 0x7f. The X registry and encoding of fonts to use is determined from | |
3938 the variable `face-default-registry' in this case. The variable is | |
3939 initialized at Emacs startup time from the font the user specified for | |
3940 Emacs. | |
3941 | |
3942 Currently all unibyte text, i.e. all buffers with | |
3943 `enable-multibyte-characters' nil are displayed with fonts of the same | |
3944 registry and encoding `face-default-registry'. This is consistent | |
3945 with the fact that languages can also be set globally, only. | |
3946 | |
3947 **** Clearing face caches. | |
3948 | |
3949 The Lisp function `clear-face-cache' can be called to clear face caches | |
3950 on all frames. If called with a non-nil argument, it will also unload | |
3951 unused fonts. | |
3952 | |
3953 *** Font selection. | |
26264 | 3954 |
25853 | 3955 Font selection tries to find the best available matching font for a |
3956 given (charset, face) combination. This is done slightly differently | |
3957 for faces specifying a fontset, or a font family name. | |
3958 | |
3959 If the face specifies a fontset name, that fontset determines a | |
3960 pattern for fonts of the given charset. If the face specifies a font | |
3961 family, a font pattern is constructed. Charset symbols have a | |
3962 property `x-charset-registry' for that purpose that maps a charset to | |
3963 an XLFD registry and encoding in the font pattern constructed. | |
3964 | |
3965 Available fonts on the system on which Emacs runs are then matched | |
3966 against the font pattern. The result of font selection is the best | |
3967 match for the given face attributes in this font list. | |
3968 | |
3969 Font selection can be influenced by the user. | |
3970 | |
3971 The user can specify the relative importance he gives the face | |
3972 attributes width, height, weight, and slant by setting | |
3973 face-font-selection-order (faces.el) to a list of face attribute | |
3974 names. The default is (:width :height :weight :slant), and means | |
3975 that font selection first tries to find a good match for the font | |
3976 width specified by a face, then---within fonts with that width---tries | |
3977 to find a best match for the specified font height, etc. | |
3978 | |
33373 | 3979 Setting `face-font-family-alternatives' allows the user to specify |
3980 alternative font families to try if a family specified by a face | |
35297
e268b7b500f0
Changes for makefile support in etags.
Francesco Potortì <pot@gnu.org>
parents:
35278
diff
changeset
|
3981 doesn't exist. |
34630 | 3982 |
3983 Setting `face-font-registry-alternatives' allows the user to specify | |
35680 | 3984 all alternative font registry names to try for a face specifying a |
34630 | 3985 registry. |
3986 | |
35680 | 3987 Please note that the interpretations of the above two variables are |
34630 | 3988 slightly different. |
3989 | |
3990 Setting face-ignored-fonts allows the user to ignore specific fonts. | |
3991 | |
25853 | 3992 |
3993 **** Scalable fonts | |
3994 | |
3995 Emacs can make use of scalable fonts but doesn't do so by default, | |
3996 since the use of too many or too big scalable fonts may crash XFree86 | |
3997 servers. | |
3998 | |
3999 To enable scalable font use, set the variable | |
26034 | 4000 `scalable-fonts-allowed'. A value of nil, the default, means never use |
25853 | 4001 scalable fonts. A value of t means any scalable font may be used. |
4002 Otherwise, the value must be a list of regular expressions. A | |
4003 scalable font may then be used if it matches a regular expression from | |
4004 that list. Example: | |
4005 | |
4006 (setq scalable-fonts-allowed '("muleindian-2$")) | |
4007 | |
4008 allows the use of scalable fonts with registry `muleindian-2'. | |
4009 | |
4010 *** Functions and variables related to font selection. | |
4011 | |
4012 - Function: x-family-fonts &optional FAMILY FRAME | |
4013 | |
4014 Return a list of available fonts of family FAMILY on FRAME. If FAMILY | |
4015 is omitted or nil, list all families. Otherwise, FAMILY must be a | |
4016 string, possibly containing wildcards `?' and `*'. | |
4017 | |
4018 If FRAME is omitted or nil, use the selected frame. Each element of | |
4019 the result is a vector [FAMILY WIDTH POINT-SIZE WEIGHT SLANT FIXED-P | |
4020 FULL REGISTRY-AND-ENCODING]. FAMILY is the font family name. | |
4021 POINT-SIZE is the size of the font in 1/10 pt. WIDTH, WEIGHT, and | |
4022 SLANT are symbols describing the width, weight and slant of the font. | |
4023 These symbols are the same as for face attributes. FIXED-P is non-nil | |
4024 if the font is fixed-pitch. FULL is the full name of the font, and | |
4025 REGISTRY-AND-ENCODING is a string giving the registry and encoding of | |
4026 the font. The result list is sorted according to the current setting | |
4027 of the face font sort order. | |
4028 | |
26264 | 4029 - Function: x-font-family-list |
25853 | 4030 |
4031 Return a list of available font families on FRAME. If FRAME is | |
4032 omitted or nil, use the selected frame. Value is a list of conses | |
4033 (FAMILY . FIXED-P) where FAMILY is a font family, and FIXED-P is | |
4034 non-nil if fonts of that family are fixed-pitch. | |
4035 | |
4036 - Variable: font-list-limit | |
4037 | |
4038 Limit for font matching. If an integer > 0, font matching functions | |
4039 won't load more than that number of fonts when searching for a | |
4040 matching font. The default is currently 100. | |
4041 | |
4042 *** Setting face attributes. | |
4043 | |
4044 For the most part, the new face implementation is interface-compatible | |
4045 with the old one. Old face attribute related functions are now | |
4046 implemented in terms of the new functions `set-face-attribute' and | |
4047 `face-attribute'. | |
4048 | |
4049 Face attributes are identified by their names which are keyword | |
4050 symbols. All attributes can be set to `unspecified'. | |
4051 | |
4052 The following attributes are recognized: | |
4053 | |
4054 `:family' | |
4055 | |
4056 VALUE must be a string specifying the font family, e.g. ``courier'', | |
4057 or a fontset alias name. If a font family is specified, wild-cards `*' | |
4058 and `?' are allowed. | |
4059 | |
4060 `:width' | |
4061 | |
4062 VALUE specifies the relative proportionate width of the font to use. | |
4063 It must be one of the symbols `ultra-condensed', `extra-condensed', | |
4064 `condensed', `semi-condensed', `normal', `semi-expanded', `expanded', | |
4065 `extra-expanded', or `ultra-expanded'. | |
4066 | |
4067 `:height' | |
4068 | |
31183
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4069 VALUE must be either an integer specifying the height of the font to use |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4070 in 1/10 pt, a floating point number specifying the amount by which to |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4071 scale any underlying face, or a function, which is called with the old |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4072 height (from the underlying face), and should return the new height. |
25853 | 4073 |
4074 `:weight' | |
4075 | |
4076 VALUE specifies the weight of the font to use. It must be one of the | |
4077 symbols `ultra-bold', `extra-bold', `bold', `semi-bold', `normal', | |
4078 `semi-light', `light', `extra-light', `ultra-light'. | |
4079 | |
4080 `:slant' | |
4081 | |
4082 VALUE specifies the slant of the font to use. It must be one of the | |
4083 symbols `italic', `oblique', `normal', `reverse-italic', or | |
4084 `reverse-oblique'. | |
4085 | |
4086 `:foreground', `:background' | |
4087 | |
4088 VALUE must be a color name, a string. | |
4089 | |
4090 `:underline' | |
4091 | |
4092 VALUE specifies whether characters in FACE should be underlined. If | |
4093 VALUE is t, underline with foreground color of the face. If VALUE is | |
4094 a string, underline with that color. If VALUE is nil, explicitly | |
4095 don't underline. | |
4096 | |
4097 `:overline' | |
4098 | |
4099 VALUE specifies whether characters in FACE should be overlined. If | |
4100 VALUE is t, overline with foreground color of the face. If VALUE is a | |
4101 string, overline with that color. If VALUE is nil, explicitly don't | |
4102 overline. | |
4103 | |
4104 `:strike-through' | |
4105 | |
4106 VALUE specifies whether characters in FACE should be drawn with a line | |
4107 striking through them. If VALUE is t, use the foreground color of the | |
4108 face. If VALUE is a string, strike-through with that color. If VALUE | |
4109 is nil, explicitly don't strike through. | |
4110 | |
4111 `:box' | |
4112 | |
4113 VALUE specifies whether characters in FACE should have a box drawn | |
4114 around them. If VALUE is nil, explicitly don't draw boxes. If | |
4115 VALUE is t, draw a box with lines of width 1 in the foreground color | |
4116 of the face. If VALUE is a string, the string must be a color name, | |
4117 and the box is drawn in that color with a line width of 1. Otherwise, | |
4118 VALUE must be a property list of the form `(:line-width WIDTH | |
4119 :color COLOR :style STYLE)'. If a keyword/value pair is missing from | |
4120 the property list, a default value will be used for the value, as | |
4121 specified below. WIDTH specifies the width of the lines to draw; it | |
4122 defaults to 1. COLOR is the name of the color to draw in, default is | |
4123 the foreground color of the face for simple boxes, and the background | |
4124 color of the face for 3D boxes. STYLE specifies whether a 3D box | |
4125 should be draw. If STYLE is `released-button', draw a box looking | |
4126 like a released 3D button. If STYLE is `pressed-button' draw a box | |
4127 that appears like a pressed button. If STYLE is nil, the default if | |
4128 the property list doesn't contain a style specification, draw a 2D | |
4129 box. | |
4130 | |
4131 `:inverse-video' | |
4132 | |
4133 VALUE specifies whether characters in FACE should be displayed in | |
4134 inverse video. VALUE must be one of t or nil. | |
4135 | |
4136 `:stipple' | |
4137 | |
4138 If VALUE is a string, it must be the name of a file of pixmap data. | |
4139 The directories listed in the `x-bitmap-file-path' variable are | |
4140 searched. Alternatively, VALUE may be a list of the form (WIDTH | |
4141 HEIGHT DATA) where WIDTH and HEIGHT are the size in pixels, and DATA | |
4142 is a string containing the raw bits of the bitmap. VALUE nil means | |
4143 explicitly don't use a stipple pattern. | |
4144 | |
4145 For convenience, attributes `:family', `:width', `:height', `:weight', | |
4146 and `:slant' may also be set in one step from an X font name: | |
4147 | |
4148 `:font' | |
4149 | |
4150 Set font-related face attributes from VALUE. VALUE must be a valid | |
4151 XLFD font name. If it is a font name pattern, the first matching font | |
4152 is used--this is for compatibility with the behavior of previous | |
4153 versions of Emacs. | |
4154 | |
4155 For compatibility with Emacs 20, keywords `:bold' and `:italic' can | |
4156 be used to specify that a bold or italic font should be used. VALUE | |
4157 must be t or nil in that case. A value of `unspecified' is not allowed." | |
4158 | |
4159 Please see also the documentation of `set-face-attribute' and | |
4160 `defface'. | |
4161 | |
31183
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4162 `:inherit' |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4163 |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4164 VALUE is the name of a face from which to inherit attributes, or a list |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4165 of face names. Attributes from inherited faces are merged into the face |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4166 like an underlying face would be, with higher priority than underlying faces. |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4167 |
25853 | 4168 *** Face attributes and X resources |
4169 | |
4170 The following X resource names can be used to set face attributes | |
4171 from X resources: | |
4172 | |
4173 Face attribute X resource class | |
4174 ----------------------------------------------------------------------- | |
4175 :family attributeFamily . Face.AttributeFamily | |
4176 :width attributeWidth Face.AttributeWidth | |
4177 :height attributeHeight Face.AttributeHeight | |
4178 :weight attributeWeight Face.AttributeWeight | |
4179 :slant attributeSlant Face.AttributeSlant | |
4180 foreground attributeForeground Face.AttributeForeground | |
4181 :background attributeBackground . Face.AttributeBackground | |
4182 :overline attributeOverline Face.AttributeOverline | |
4183 :strike-through attributeStrikeThrough Face.AttributeStrikeThrough | |
4184 :box attributeBox Face.AttributeBox | |
4185 :underline attributeUnderline Face.AttributeUnderline | |
4186 :inverse-video attributeInverse Face.AttributeInverse | |
4187 :stipple attributeStipple Face.AttributeStipple | |
26264 | 4188 or attributeBackgroundPixmap |
25853 | 4189 Face.AttributeBackgroundPixmap |
4190 :font attributeFont Face.AttributeFont | |
4191 :bold attributeBold Face.AttributeBold | |
4192 :italic attributeItalic . Face.AttributeItalic | |
4193 :font attributeFont Face.AttributeFont | |
4194 | |
4195 *** Text property `face'. | |
4196 | |
4197 The value of the `face' text property can now be a single face | |
4198 specification or a list of such specifications. Each face | |
4199 specification can be | |
4200 | |
4201 1. A symbol or string naming a Lisp face. | |
4202 | |
4203 2. A property list of the form (KEYWORD VALUE ...) where each | |
4204 KEYWORD is a face attribute name, and VALUE is an appropriate value | |
4205 for that attribute. Please see the doc string of `set-face-attribute' | |
4206 for face attribute names. | |
4207 | |
4208 3. Conses of the form (FOREGROUND-COLOR . COLOR) or | |
4209 (BACKGROUND-COLOR . COLOR) where COLOR is a color name. This is | |
4210 for compatibility with previous Emacs versions. | |
4211 | |
4212 ** Support functions for colors on text-only terminals. | |
4213 | |
27092
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4214 The function `tty-color-define' can be used to define colors for use |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4215 on TTY and MSDOS frames. It maps a color name to a color number on |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4216 the terminal. Emacs defines a couple of common color mappings by |
25853 | 4217 default. You can get defined colors with a call to |
27092
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4218 `defined-colors'. The function `tty-color-clear' can be |
25853 | 4219 used to clear the mapping table. |
4220 | |
27092
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4221 ** Unified support for colors independent of frame type. |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4222 |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4223 The new functions `defined-colors', `color-defined-p', `color-values', |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4224 and `display-color-p' work for any type of frame. On frames whose |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4225 type is neither x nor w32, these functions transparently map X-style |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4226 color specifications to the closest colors supported by the frame |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4227 display. Lisp programs should use these new functions instead of the |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4228 old `x-defined-colors', `x-color-defined-p', `x-color-values', and |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4229 `x-display-color-p'. (The old function names are still available for |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4230 compatibility; they are now aliases of the new names.) Lisp programs |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4231 should no more look at the value of the variable window-system to |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4232 modify their color-related behavior. |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4233 |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4234 The primitives `color-gray-p' and `color-supported-p' also work for |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4235 any frame type. |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4236 |
27573
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4237 ** Platform-independent functions to describe display capabilities. |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4238 |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4239 The new functions `display-mouse-p', `display-popup-menus-p', |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4240 `display-graphic-p', `display-selections-p', `display-screens', |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4241 `display-pixel-width', `display-pixel-height', `display-mm-width', |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4242 `display-mm-height', `display-backing-store', `display-save-under', |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4243 `display-planes', `display-color-cells', `display-visual-class', and |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4244 `display-grayscale-p' describe the basic capabilities of a particular |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4245 display. Lisp programs should call these functions instead of testing |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4246 the value of the variables `window-system' or `system-type', or calling |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4247 platform-specific functions such as `x-display-pixel-width'. |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4248 |
38471 | 4249 The new function `display-images-p' returns non-nil if a particular |
4250 display can display image files. | |
4251 | |
25853 | 4252 ** The minibuffer prompt is now actually inserted in the minibuffer. |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4253 |
25853 | 4254 This makes it possible to scroll through the prompt, if you want to. |
33693
efa325b58d74
Mention that `minibuffer-prompt-properties' can be used to disallow
Miles Bader <miles@gnu.org>
parents:
33627
diff
changeset
|
4255 To disallow this completely (like previous versions of emacs), customize |
efa325b58d74
Mention that `minibuffer-prompt-properties' can be used to disallow
Miles Bader <miles@gnu.org>
parents:
33627
diff
changeset
|
4256 the variable `minibuffer-prompt-properties', and turn on the |
efa325b58d74
Mention that `minibuffer-prompt-properties' can be used to disallow
Miles Bader <miles@gnu.org>
parents:
33627
diff
changeset
|
4257 `Inviolable' option. |
25853 | 4258 |
35680 | 4259 The function minibuffer-prompt-end returns the current position of the |
25853 | 4260 end of the minibuffer prompt, if the minibuffer is current. |
4261 Otherwise, it returns zero. | |
4262 | |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4263 ** New `field' abstraction in buffers. |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4264 |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4265 There is now code to support an abstraction called `fields' in emacs |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4266 buffers. A field is a contiguous region of text with the same `field' |
30776 | 4267 property (which can be a text property or an overlay). |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4268 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4269 Many emacs functions, such as forward-word, forward-sentence, |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4270 forward-paragraph, beginning-of-line, etc., stop moving when they come |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4271 to the boundary between fields; beginning-of-line and end-of-line will |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4272 not let the point move past the field boundary, but other movement |
27144 | 4273 commands continue into the next field if repeated. Stopping at field |
4274 boundaries can be suppressed programmatically by binding | |
4275 `inhibit-field-text-motion' to a non-nil value around calls to these | |
4276 functions. | |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4277 |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4278 Now that the minibuffer prompt is inserted into the minibuffer, it is in |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4279 a separate field from the user-input part of the buffer, so that common |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4280 editing commands treat the user's text separately from the prompt. |
25853 | 4281 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4282 The following functions are defined for operating on fields: |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4283 |
30776 | 4284 - Function: constrain-to-field NEW-POS OLD-POS &optional ESCAPE-FROM-EDGE ONLY-IN-LINE INHIBIT-CAPTURE-PROPERTY |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4285 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4286 Return the position closest to NEW-POS that is in the same field as OLD-POS. |
30776 | 4287 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4288 A field is a region of text with the same `field' property. |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4289 If NEW-POS is nil, then the current point is used instead, and set to the |
35847
83b8f5ad1f97
Several typos fixed. From Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35784
diff
changeset
|
4290 constrained position if that is different. |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4291 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4292 If OLD-POS is at the boundary of two fields, then the allowable |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4293 positions for NEW-POS depends on the value of the optional argument |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4294 ESCAPE-FROM-EDGE: If ESCAPE-FROM-EDGE is nil, then NEW-POS is |
30776 | 4295 constrained to the field that has the same `field' char-property |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4296 as any new characters inserted at OLD-POS, whereas if ESCAPE-FROM-EDGE |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4297 is non-nil, NEW-POS is constrained to the union of the two adjacent |
30776 | 4298 fields. Additionally, if two fields are separated by another field with |
4299 the special value `boundary', then any point within this special field is | |
4300 also considered to be `on the boundary'. | |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4301 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4302 If the optional argument ONLY-IN-LINE is non-nil and constraining |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4303 NEW-POS would move it to a different line, NEW-POS is returned |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4304 unconstrained. This useful for commands that move by line, like |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4305 C-n or C-a, which should generally respect field boundaries |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4306 only in the case where they can still move to the right line. |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4307 |
30776 | 4308 If the optional argument INHIBIT-CAPTURE-PROPERTY is non-nil, and OLD-POS has |
4309 a non-nil property of that name, then any field boundaries are ignored. | |
4310 | |
4311 Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil. | |
4312 | |
4313 - Function: delete-field &optional POS | |
4314 | |
4315 Delete the field surrounding POS. | |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4316 A field is a region of text with the same `field' property. |
30776 | 4317 If POS is nil, the value of point is used for POS. |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4318 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4319 - Function: field-beginning &optional POS ESCAPE-FROM-EDGE |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4320 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4321 Return the beginning of the field surrounding POS. |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4322 A field is a region of text with the same `field' property. |
30776 | 4323 If POS is nil, the value of point is used for POS. |
4324 If ESCAPE-FROM-EDGE is non-nil and POS is at the beginning of its | |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4325 field, then the beginning of the *previous* field is returned. |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4326 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4327 - Function: field-end &optional POS ESCAPE-FROM-EDGE |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4328 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4329 Return the end of the field surrounding POS. |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4330 A field is a region of text with the same `field' property. |
30776 | 4331 If POS is nil, the value of point is used for POS. |
4332 If ESCAPE-FROM-EDGE is non-nil and POS is at the end of its field, | |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4333 then the end of the *following* field is returned. |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4334 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4335 - Function: field-string &optional POS |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4336 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4337 Return the contents of the field surrounding POS as a string. |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4338 A field is a region of text with the same `field' property. |
30776 | 4339 If POS is nil, the value of point is used for POS. |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4340 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4341 - Function: field-string-no-properties &optional POS |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4342 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4343 Return the contents of the field around POS, without text-properties. |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4344 A field is a region of text with the same `field' property. |
30776 | 4345 If POS is nil, the value of point is used for POS. |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4346 |
25853 | 4347 ** Image support. |
4348 | |
4349 Emacs can now display images. Images are inserted into text by giving | |
4350 strings or buffer text a `display' text property containing one of | |
4351 (AREA IMAGE) or IMAGE. The display of the `display' property value | |
4352 replaces the display of the characters having that property. | |
4353 | |
4354 If the property value has the form (AREA IMAGE), AREA must be one of | |
4355 `(margin left-margin)', `(margin right-margin)' or `(margin nil)'. If | |
4356 AREA is `(margin nil)', IMAGE will be displayed in the text area of a | |
4357 window, otherwise it will be displayed in the left or right marginal | |
4358 area. | |
4359 | |
4360 IMAGE is an image specification. | |
4361 | |
4362 *** Image specifications | |
4363 | |
4364 Image specifications are lists of the form `(image PROPS)' where PROPS | |
4365 is a property list whose keys are keyword symbols. Each | |
4366 specifications must contain a property `:type TYPE' with TYPE being a | |
26403 | 4367 symbol specifying the image type, e.g. `xbm'. Properties not |
4368 described below are ignored. | |
25853 | 4369 |
4370 The following is a list of properties all image types share. | |
4371 | |
4372 `:ascent ASCENT' | |
4373 | |
28789 | 4374 ASCENT must be a number in the range 0..100, or the symbol `center'. |
4375 If it is a number, it specifies the percentage of the image's height | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4376 to use for its ascent. |
28789 | 4377 |
4378 If not specified, ASCENT defaults to the value 50 which means that the | |
4379 image will be centered with the base line of the row it appears in. | |
4380 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4381 If ASCENT is `center' the image is vertically centered around a |
29151 | 4382 centerline which is the vertical center of text drawn at the position |
4383 of the image, in the manner specified by the text properties and | |
4384 overlays that apply to the image. | |
25853 | 4385 |
4386 `:margin MARGIN' | |
4387 | |
35278 | 4388 MARGIN must be either a number >= 0 specifying how many pixels to put |
4389 as margin around the image, or a pair (X . Y) with X specifying the | |
4390 horizontal margin and Y specifying the vertical margin. Default is 0. | |
25853 | 4391 |
4392 `:relief RELIEF' | |
4393 | |
4394 RELIEF is analogous to the `:relief' attribute of faces. Puts a relief | |
4395 around an image. | |
4396 | |
35364 | 4397 `:conversion ALGO' |
25853 | 4398 |
31636 | 4399 Apply an image algorithm to the image before displaying it. |
4400 | |
4401 ALGO `laplace' or `emboss' means apply a Laplace or ``emboss'' | |
4402 edge-detection algorithm to the image. | |
4403 | |
4404 ALGO `(edge-detection :matrix MATRIX :color-adjust ADJUST)' means | |
4405 apply a general edge-detection algorithm. MATRIX must be either a | |
4406 nine-element list or a nine-element vector of numbers. A pixel at | |
4407 position x/y in the transformed image is computed from original pixels | |
4408 around that position. MATRIX specifies, for each pixel in the | |
4409 neighborhood of x/y, a factor with which that pixel will influence the | |
4410 transformed pixel; element 0 specifies the factor for the pixel at | |
4411 x-1/y-1, element 1 the factor for the pixel at x/y-1 etc. as shown | |
4412 below. | |
4413 | |
4414 (x-1/y-1 x/y-1 x+1/y-1 | |
4415 x-1/y x/y x+1/y | |
4416 x-1/y+1 x/y+1 x+1/y+1) | |
4417 | |
4418 The resulting pixel is computed from the color intensity of the color | |
4419 resulting from summing up the RGB values of surrounding pixels, | |
4420 multiplied by the specified factors, and dividing that sum by the sum | |
4421 of the factors' absolute values. | |
4422 | |
31858
269d69b69fe4
Update hideshow.el section.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
31827
diff
changeset
|
4423 Laplace edge-detection currently uses a matrix of |
31636 | 4424 |
4425 (1 0 0 | |
4426 0 0 0 | |
4427 9 9 -1) | |
4428 | |
4429 Emboss edge-detection uses a matrix of | |
4430 | |
4431 ( 2 -1 0 | |
4432 -1 0 1 | |
4433 0 1 -2) | |
4434 | |
31728 | 4435 ALGO `disabled' means transform the image so that it looks |
4436 ``disabled''. | |
4437 | |
31636 | 4438 `:mask MASK' |
4439 | |
4440 If MASK is `heuristic' or `(heuristic BG)', build a clipping mask for | |
4441 the image, so that the background of a frame is visible behind the | |
4442 image. If BG is not specified, or if BG is t, determine the | |
4443 background color of the image by looking at the 4 corners of the | |
35680 | 4444 image, assuming the most frequently occurring color from the corners is |
31636 | 4445 the background color of the image. Otherwise, BG must be a list `(RED |
4446 GREEN BLUE)' specifying the color to assume for the background of the | |
4447 image. | |
4448 | |
4449 If MASK is nil, remove a mask from the image, if it has one. Images | |
4450 in some formats include a mask which can be removed by specifying | |
4451 `:mask nil'. | |
25853 | 4452 |
4453 `:file FILE' | |
4454 | |
4455 Load image from FILE. If FILE is not absolute after expanding it, | |
4456 search for the image in `data-directory'. Some image types support | |
4457 building images from data. When this is done, no `:file' property | |
4458 may be present in the image specification. | |
4459 | |
27076
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4460 `:data DATA' |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4461 |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4462 Get image data from DATA. (As of this writing, this is not yet |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4463 supported for image type `postscript'). Either :file or :data may be |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4464 present in an image specification, but not both. All image types |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4465 support strings as DATA, some types allow additional types of DATA. |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4466 |
25853 | 4467 *** Supported image types |
4468 | |
26034 | 4469 **** XBM, image type `xbm'. |
25853 | 4470 |
4471 XBM images don't require an external library. Additional image | |
4472 properties supported are | |
4473 | |
4474 `:foreground FG' | |
4475 | |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4476 FG must be a string specifying the image foreground color, or nil |
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4477 meaning to use the default. Default is the frame's foreground. |
25853 | 4478 |
32572 | 4479 `:background BG' |
25853 | 4480 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4481 BG must be a string specifying the image foreground color, or nil |
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4482 meaning to use the default. Default is the frame's background color. |
25853 | 4483 |
4484 XBM images can be constructed from data instead of file. In this | |
4485 case, the image specification must contain the following properties | |
4486 instead of a `:file' property. | |
4487 | |
4488 `:width WIDTH' | |
4489 | |
4490 WIDTH specifies the width of the image in pixels. | |
4491 | |
4492 `:height HEIGHT' | |
4493 | |
4494 HEIGHT specifies the height of the image in pixels. | |
4495 | |
4496 `:data DATA' | |
4497 | |
4498 DATA must be either | |
4499 | |
4500 1. a string large enough to hold the bitmap data, i.e. it must | |
4501 have a size >= (WIDTH + 7) / 8 * HEIGHT | |
4502 | |
4503 2. a bool-vector of size >= WIDTH * HEIGHT | |
4504 | |
4505 3. a vector of strings or bool-vectors, one for each line of the | |
4506 bitmap. | |
4507 | |
28748 | 4508 4. a string that's an in-memory XBM file. Neither width nor |
4509 height may be specified in this case because these are defined | |
4510 in the file. | |
4511 | |
25853 | 4512 **** XPM, image type `xpm' |
4513 | |
4514 XPM images require the external library `libXpm', package | |
4515 `xpm-3.4k.tar.gz', version 3.4k or later. Make sure the library is | |
4516 found when Emacs is configured by supplying appropriate paths via | |
4517 `--x-includes' and `--x-libraries'. | |
4518 | |
4519 Additional image properties supported are: | |
4520 | |
4521 `:color-symbols SYMBOLS' | |
4522 | |
4523 SYMBOLS must be a list of pairs (NAME . COLOR), with NAME being the | |
4524 name of color as it appears in an XPM file, and COLOR being an X color | |
4525 name. | |
4526 | |
4527 XPM images can be built from memory instead of files. In that case, | |
4528 add a `:data' property instead of a `:file' property. | |
4529 | |
4530 The XPM library uses libz in its implementation so that it is able | |
4531 to display compressed images. | |
4532 | |
4533 **** PBM, image type `pbm' | |
4534 | |
4535 PBM images don't require an external library. Color, gray-scale and | |
32551
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4536 mono images are supported. Additional image properties supported for |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4537 mono images are |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4538 |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4539 `:foreground FG' |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4540 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4541 FG must be a string specifying the image foreground color, or nil |
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4542 meaning to use the default. Default is the frame's foreground. |
32551
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4543 |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4544 `:background FG' |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4545 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4546 BG must be a string specifying the image foreground color, or nil |
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4547 meaning to use the default. Default is the frame's background color. |
25853 | 4548 |
4549 **** JPEG, image type `jpeg' | |
4550 | |
4551 Support for JPEG images requires the external library `libjpeg', | |
27055 | 4552 package `jpegsrc.v6a.tar.gz', or later. Additional image properties |
4553 are: | |
4554 | |
25853 | 4555 **** TIFF, image type `tiff' |
4556 | |
4557 Support for TIFF images requires the external library `libtiff', | |
4558 package `tiff-v3.4-tar.gz', or later. There are no additional image | |
4559 properties defined. | |
4560 | |
4561 **** GIF, image type `gif' | |
4562 | |
4563 Support for GIF images requires the external library `libungif', package | |
4564 `libungif-4.1.0', or later. | |
4565 | |
4566 Additional image properties supported are: | |
4567 | |
4568 `:index INDEX' | |
4569 | |
4570 INDEX must be an integer >= 0. Load image number INDEX from a | |
35680 | 4571 multi-image GIF file. An error is signaled if INDEX is too large. |
25853 | 4572 |
4573 This could be used to implement limited support for animated GIFs. | |
4574 For example, the following function displays a multi-image GIF file | |
4575 at point-min in the current buffer, switching between sub-images | |
4576 every 0.1 seconds. | |
4577 | |
4578 (defun show-anim (file max) | |
4579 "Display multi-image GIF file FILE which contains MAX subimages." | |
4580 (display-anim (current-buffer) file 0 max t)) | |
4581 | |
4582 (defun display-anim (buffer file idx max first-time) | |
4583 (when (= idx max) | |
4584 (setq idx 0)) | |
27076
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4585 (let ((img (create-image file nil nil :index idx))) |
25853 | 4586 (save-excursion |
4587 (set-buffer buffer) | |
4588 (goto-char (point-min)) | |
4589 (unless first-time (delete-char 1)) | |
4590 (insert-image img "x")) | |
4591 (run-with-timer 0.1 nil 'display-anim buffer file (1+ idx) max nil))) | |
4592 | |
4593 **** PNG, image type `png' | |
4594 | |
4595 Support for PNG images requires the external library `libpng', | |
4596 package `libpng-1.0.2.tar.gz', or later. There are no additional image | |
4597 properties defined. | |
4598 | |
4599 **** Ghostscript, image type `postscript'. | |
4600 | |
4601 Additional image properties supported are: | |
4602 | |
4603 `:pt-width WIDTH' | |
4604 | |
4605 WIDTH is width of the image in pt (1/72 inch). WIDTH must be an | |
26034 | 4606 integer. This is a required property. |
25853 | 4607 |
4608 `:pt-height HEIGHT' | |
4609 | |
4610 HEIGHT specifies the height of the image in pt (1/72 inch). HEIGHT | |
26034 | 4611 must be a integer. This is an required property. |
25853 | 4612 |
4613 `:bounding-box BOX' | |
4614 | |
4615 BOX must be a list or vector of 4 integers giving the bounding box of | |
4616 the PS image, analogous to the `BoundingBox' comment found in PS | |
4617 files. This is an required property. | |
4618 | |
4619 Part of the Ghostscript interface is implemented in Lisp. See | |
4620 lisp/gs.el. | |
4621 | |
4622 *** Lisp interface. | |
4623 | |
26264 | 4624 The variable `image-types' contains a list of those image types |
4625 which are supported in the current configuration. | |
25853 | 4626 |
4627 Images are stored in an image cache and removed from the cache when | |
4628 they haven't been displayed for `image-cache-eviction-delay seconds. | |
4629 The function `clear-image-cache' can be used to clear the image cache | |
28759 | 4630 manually. Images in the cache are compared with `equal', i.e. all |
4631 images with `equal' specifications share the same image. | |
25853 | 4632 |
4633 *** Simplified image API, image.el | |
4634 | |
4635 The new Lisp package image.el contains functions that simplify image | |
4636 creation and putting images into text. The function `create-image' | |
4637 can be used to create images. The macro `defimage' can be used to | |
4638 define an image based on available image types. The functions | |
4639 `put-image' and `insert-image' can be used to insert an image into a | |
4640 buffer. | |
4641 | |
4642 ** Display margins. | |
4643 | |
4644 Windows can now have margins which are used for special text | |
4645 and images. | |
4646 | |
4647 To give a window margins, either set the buffer-local variables | |
4648 `left-margin-width' and `right-margin-width', or call | |
4649 `set-window-margins'. The function `window-margins' can be used to | |
4650 obtain the current settings. To make `left-margin-width' and | |
4651 `right-margin-width' take effect, you must set them before displaying | |
4652 the buffer in a window, or use `set-window-buffer' to force an update | |
4653 of the display margins. | |
4654 | |
4655 You can put text in margins by giving it a `display' text property | |
4656 containing a pair of the form `(LOCATION . VALUE)', where LOCATION is | |
4657 one of `left-margin' or `right-margin' or nil. VALUE can be either a | |
4658 string, an image specification or a stretch specification (see later | |
4659 in this file). | |
4660 | |
4661 ** Help display | |
4662 | |
4663 Emacs displays short help messages in the echo area, when the mouse | |
4664 moves over a tool-bar item or a piece of text that has a text property | |
4665 `help-echo'. This feature also applies to strings in the mode line | |
4666 that have a `help-echo' property. | |
4667 | |
30219 | 4668 If the value of the `help-echo' property is a function, that function |
30305 | 4669 is called with three arguments WINDOW, OBJECT and POSITION. WINDOW is |
30372 | 4670 the window in which the help was found. |
4671 | |
4672 If OBJECT is a buffer, POS is the position in the buffer where the | |
4673 `help-echo' text property was found. | |
4674 | |
4675 If OBJECT is an overlay, that overlay has a `help-echo' property, and | |
4676 POS is the position in the overlay's buffer under the mouse. | |
4677 | |
4678 If OBJECT is a string (an overlay string or a string displayed with | |
30467
26afdae5ea13
--disable-largefile, 64-bit solaris
Dave Love <fx@gnu.org>
parents:
30445
diff
changeset
|
4679 the `display' property), POS is the position in that string under the |
30372 | 4680 mouse. |
30219 | 4681 |
4682 If the value of the `help-echo' property is neither a function nor a | |
4683 string, it is evaluated to obtain a help string. | |
4684 | |
4685 For tool-bar and menu-bar items, their key definition is used to | |
4686 determine the help to display. If their definition contains a | |
4687 property `:help FORM', FORM is evaluated to determine the help string. | |
4688 For tool-bar items without a help form, the caption of the item is | |
4689 used as help string. | |
25853 | 4690 |
4691 The hook `show-help-function' can be set to a function that displays | |
30339
70d759570f7a
C-down-mouse-3. Move concat change.
Dave Love <fx@gnu.org>
parents:
30319
diff
changeset
|
4692 the help string differently. For example, enabling a tooltip window |
70d759570f7a
C-down-mouse-3. Move concat change.
Dave Love <fx@gnu.org>
parents:
30319
diff
changeset
|
4693 causes the help display to appear there instead of in the echo area. |
25853 | 4694 |
4695 ** Vertical fractional scrolling. | |
4696 | |
4697 The display of text in windows can be scrolled smoothly in pixels. | |
4698 This is useful, for example, for making parts of large images visible. | |
4699 | |
4700 The function `window-vscroll' returns the current value of vertical | |
4701 scrolling, a non-negative fraction of the canonical character height. | |
4702 The function `set-window-vscroll' can be used to set the vertical | |
4703 scrolling value. Here is an example of how these function might be | |
4704 used. | |
4705 | |
26264 | 4706 (global-set-key [A-down] |
4707 #'(lambda () | |
25853 | 4708 (interactive) |
26264 | 4709 (set-window-vscroll (selected-window) |
25853 | 4710 (+ 0.5 (window-vscroll))))) |
26264 | 4711 (global-set-key [A-up] |
25853 | 4712 #'(lambda () |
4713 (interactive) | |
26264 | 4714 (set-window-vscroll (selected-window) |
25853 | 4715 (- (window-vscroll) 0.5))))) |
4716 | |
4717 ** New hook `fontification-functions'. | |
4718 | |
4719 Functions from `fontification-functions' are called from redisplay | |
4720 when it encounters a region of text that is not yet fontified. This | |
4721 variable automatically becomes buffer-local when set. Each function | |
4722 is called with one argument, POS. | |
4723 | |
4724 At least one of the hook functions should fontify one or more | |
4725 characters starting at POS in the current buffer. It should mark them | |
4726 as fontified by giving them a non-nil value of the `fontified' text | |
4727 property. It may be reasonable for these functions to check for the | |
4728 `fontified' property and not put it back on, but they do not have to. | |
4729 | |
4730 ** Tool bar support. | |
4731 | |
4732 Emacs supports a tool bar at the top of a frame under X. The frame | |
4733 parameter `tool-bar-lines' (X resource "toolBar", class "ToolBar") | |
4734 controls how may lines to reserve for the tool bar. A zero value | |
4735 suppresses the tool bar. If the value is non-zero and | |
4736 `auto-resize-tool-bars' is non-nil the tool bar's size will be changed | |
4737 automatically so that all tool bar items are visible. | |
4738 | |
4739 *** Tool bar item definitions | |
4740 | |
4741 Tool bar items are defined using `define-key' with a prefix-key | |
4742 `tool-bar'. For example `(define-key global-map [tool-bar item1] ITEM)' | |
4743 where ITEM is a list `(menu-item CAPTION BINDING PROPS...)'. | |
26264 | 4744 |
25853 | 4745 CAPTION is the caption of the item, If it's not a string, it is |
4746 evaluated to get a string. The caption is currently not displayed in | |
4747 the tool bar, but it is displayed if the item doesn't have a `:help' | |
4748 property (see below). | |
26264 | 4749 |
25853 | 4750 BINDING is the tool bar item's binding. Tool bar items with keymaps as |
4751 binding are currently ignored. | |
4752 | |
4753 The following properties are recognized: | |
4754 | |
4755 `:enable FORM'. | |
26264 | 4756 |
25853 | 4757 FORM is evaluated and specifies whether the tool bar item is enabled |
4758 or disabled. | |
26264 | 4759 |
25853 | 4760 `:visible FORM' |
26264 | 4761 |
25853 | 4762 FORM is evaluated and specifies whether the tool bar item is displayed. |
26264 | 4763 |
25853 | 4764 `:filter FUNCTION' |
4765 | |
4766 FUNCTION is called with one parameter, the same list BINDING in which | |
4767 FUNCTION is specified as the filter. The value FUNCTION returns is | |
4768 used instead of BINDING to display this item. | |
26264 | 4769 |
25853 | 4770 `:button (TYPE SELECTED)' |
4771 | |
4772 TYPE must be one of `:radio' or `:toggle'. SELECTED is evaluated | |
4773 and specifies whether the button is selected (pressed) or not. | |
26264 | 4774 |
25853 | 4775 `:image IMAGES' |
4776 | |
4777 IMAGES is either a single image specification or a vector of four | |
4778 image specifications. If it is a vector, this table lists the | |
4779 meaning of each of the four elements: | |
4780 | |
4781 Index Use when item is | |
4782 ---------------------------------------- | |
4783 0 enabled and selected | |
4784 1 enabled and deselected | |
4785 2 disabled and selected | |
4786 3 disabled and deselected | |
26264 | 4787 |
28946 | 4788 If IMAGE is a single image specification, a Laplace edge-detection |
4789 algorithm is used on that image to draw the image in disabled state. | |
4790 | |
25853 | 4791 `:help HELP-STRING'. |
26264 | 4792 |
25853 | 4793 Gives a help string to display for the tool bar item. This help |
4794 is displayed when the mouse is moved over the item. | |
4795 | |
31641 | 4796 The function `toolbar-add-item' is a convenience function for adding |
31741 | 4797 toolbar items generally, and `tool-bar-add-item-from-menu' can be used |
4798 to define a toolbar item with a binding copied from an item on the | |
4799 menu bar. | |
31641 | 4800 |
33484 | 4801 The default bindings use a menu-item :filter to derive the tool-bar |
4802 dynamically from variable `tool-bar-map' which may be set | |
4803 buffer-locally to override the global map. | |
4804 | |
25853 | 4805 *** Tool-bar-related variables. |
4806 | |
4807 If `auto-resize-tool-bar' is non-nil, the tool bar will automatically | |
4808 resize to show all defined tool bar items. It will never grow larger | |
4809 than 1/4 of the frame's size. | |
4810 | |
26264 | 4811 If `auto-raise-tool-bar-buttons' is non-nil, tool bar buttons will be |
25853 | 4812 raised when the mouse moves over them. |
4813 | |
4814 You can add extra space between tool bar items by setting | |
4815 `tool-bar-button-margin' to a positive integer specifying a number of | |
35278 | 4816 pixels, or a pair of integers (X . Y) specifying horizontal and |
4817 vertical margins . Default is 1. | |
25853 | 4818 |
4819 You can change the shadow thickness of tool bar buttons by setting | |
4820 `tool-bar-button-relief' to an integer. Default is 3. | |
4821 | |
4822 *** Tool-bar clicks with modifiers. | |
4823 | |
4824 You can bind commands to clicks with control, shift, meta etc. on | |
26264 | 4825 a tool bar item. If |
25853 | 4826 |
4827 (define-key global-map [tool-bar shell] | |
4828 '(menu-item "Shell" shell | |
4829 :image (image :type xpm :file "shell.xpm"))) | |
4830 | |
4831 is the original tool bar item definition, then | |
4832 | |
4833 (define-key global-map [tool-bar S-shell] 'some-command) | |
4834 | |
4835 makes a binding to run `some-command' for a shifted click on the same | |
4836 item. | |
4837 | |
4838 ** Mode line changes. | |
4839 | |
4840 *** Mouse-sensitive mode line. | |
4841 | |
4842 The mode line can be made mouse-sensitive by displaying strings there | |
4843 that have a `local-map' text property. There are three ways to display | |
4844 a string with a `local-map' property in the mode line. | |
4845 | |
4846 1. The mode line spec contains a variable whose string value has | |
4847 a `local-map' text property. | |
4848 | |
4849 2. The mode line spec contains a format specifier (e.g. `%12b'), and | |
4850 that format specifier has a `local-map' property. | |
4851 | |
4852 3. The mode line spec contains a list containing `:eval FORM'. FORM | |
4853 is evaluated. If the result is a string, and that string has a | |
4854 `local-map' property. | |
4855 | |
4856 The same mechanism is used to determine the `face' and `help-echo' | |
4857 properties of strings in the mode line. See `bindings.el' for an | |
4858 example. | |
4859 | |
26359
d2970b5d3b72
Add mode line element '(:eval FORM)'.
Gerd Moellmann <gerd@gnu.org>
parents:
26322
diff
changeset
|
4860 *** If a mode line element has the form `(:eval FORM)', FORM is |
d2970b5d3b72
Add mode line element '(:eval FORM)'.
Gerd Moellmann <gerd@gnu.org>
parents:
26322
diff
changeset
|
4861 evaluated and the result is used as mode line element. |
d2970b5d3b72
Add mode line element '(:eval FORM)'.
Gerd Moellmann <gerd@gnu.org>
parents:
26322
diff
changeset
|
4862 |
25853 | 4863 *** You can suppress mode-line display by setting the buffer-local |
4864 variable mode-line-format to nil. | |
4865 | |
4866 *** A headerline can now be displayed at the top of a window. | |
4867 | |
4868 This mode line's contents are controlled by the new variable | |
4869 `header-line-format' and `default-header-line-format' which are | |
4870 completely analogous to `mode-line-format' and | |
4871 `default-mode-line-format'. A value of nil means don't display a top | |
4872 line. | |
4873 | |
4874 The appearance of top mode lines is controlled by the face | |
4875 `header-line'. | |
4876 | |
4877 The function `coordinates-in-window-p' returns `header-line' for a | |
4878 position in the header-line. | |
4879 | |
4880 ** Text property `display' | |
4881 | |
31827 | 4882 The `display' text property is used to insert images into text, |
4883 replace text with other text, display text in marginal area, and it is | |
4884 also used to control other aspects of how text displays. The value of | |
4885 the `display' property should be a display specification, as described | |
25853 | 4886 below, or a list or vector containing display specifications. |
4887 | |
31827 | 4888 *** Replacing text, displaying text in marginal areas |
4889 | |
4890 To replace the text having the `display' property with some other | |
4891 text, use a display specification of the form `(LOCATION STRING)'. | |
4892 | |
4893 If LOCATION is `(margin left-margin)', STRING is displayed in the left | |
4894 marginal area, if it is `(margin right-margin)', it is displayed in | |
4895 the right marginal area, and if LOCATION is `(margin nil)' STRING | |
4896 is displayed in the text. In the latter case you can also use the | |
4897 simpler form STRING as property value. | |
4898 | |
25853 | 4899 *** Variable width and height spaces |
4900 | |
4901 To display a space of fractional width or height, use a display | |
4902 specification of the form `(LOCATION STRECH)'. If LOCATION is | |
4903 `(margin left-margin)', the space is displayed in the left marginal | |
4904 area, if it is `(margin right-margin)', it is displayed in the right | |
4905 marginal area, and if LOCATION is `(margin nil)' the space is | |
4906 displayed in the text. In the latter case you can also use the | |
4907 simpler form STRETCH as property value. | |
4908 | |
4909 The stretch specification STRETCH itself is a list of the form `(space | |
4910 PROPS)', where PROPS is a property list which can contain the | |
4911 properties described below. | |
4912 | |
4913 The display of the fractional space replaces the display of the | |
4914 characters having the `display' property. | |
4915 | |
4916 - :width WIDTH | |
4917 | |
4918 Specifies that the space width should be WIDTH times the normal | |
4919 character width. WIDTH can be an integer or floating point number. | |
4920 | |
4921 - :relative-width FACTOR | |
4922 | |
4923 Specifies that the width of the stretch should be computed from the | |
4924 first character in a group of consecutive characters that have the | |
4925 same `display' property. The computation is done by multiplying the | |
4926 width of that character by FACTOR. | |
4927 | |
4928 - :align-to HPOS | |
4929 | |
4930 Specifies that the space should be wide enough to reach HPOS. The | |
4931 value HPOS is measured in units of the normal character width. | |
4932 | |
4933 Exactly one of the above properties should be used. | |
4934 | |
4935 - :height HEIGHT | |
4936 | |
4937 Specifies the height of the space, as HEIGHT, measured in terms of the | |
4938 normal line height. | |
4939 | |
4940 - :relative-height FACTOR | |
4941 | |
4942 The height of the space is computed as the product of the height | |
4943 of the text having the `display' property and FACTOR. | |
4944 | |
4945 - :ascent ASCENT | |
4946 | |
4947 Specifies that ASCENT percent of the height of the stretch should be | |
4948 used for the ascent of the stretch, i.e. for the part above the | |
4949 baseline. The value of ASCENT must be a non-negative number less or | |
4950 equal to 100. | |
4951 | |
4952 You should not use both `:height' and `:relative-height' together. | |
4953 | |
4954 *** Images | |
4955 | |
4956 A display specification for an image has the form `(LOCATION | |
4957 . IMAGE)', where IMAGE is an image specification. The image replaces, | |
4958 in the display, the characters having this display specification in | |
4959 their `display' text property. If LOCATION is `(margin left-margin)', | |
4960 the image will be displayed in the left marginal area, if it is | |
4961 `(margin right-margin)' it will be displayed in the right marginal | |
4962 area, and if LOCATION is `(margin nil)' the image will be displayed in | |
4963 the text. In the latter case you can also use the simpler form IMAGE | |
4964 as display specification. | |
4965 | |
4966 *** Other display properties | |
4967 | |
33499 | 4968 - (space-width FACTOR) |
25853 | 4969 |
4970 Specifies that space characters in the text having that property | |
4971 should be displayed FACTOR times as wide as normal; FACTOR must be an | |
4972 integer or float. | |
4973 | |
33499 | 4974 - (height HEIGHT) |
25853 | 4975 |
4976 Display text having this property in a font that is smaller or larger. | |
4977 | |
4978 If HEIGHT is a list of the form `(+ N)', where N is an integer, that | |
4979 means to use a font that is N steps larger. If HEIGHT is a list of | |
4980 the form `(- N)', that means to use a font that is N steps smaller. A | |
4981 ``step'' is defined by the set of available fonts; each size for which | |
4982 a font is available counts as a step. | |
4983 | |
4984 If HEIGHT is a number, that means to use a font that is HEIGHT times | |
4985 as tall as the frame's default font. | |
4986 | |
4987 If HEIGHT is a symbol, it is called as a function with the current | |
4988 height as argument. The function should return the new height to use. | |
4989 | |
4990 Otherwise, HEIGHT is evaluated to get the new height, with the symbol | |
4991 `height' bound to the current specified font height. | |
4992 | |
33499 | 4993 - (raise FACTOR) |
25853 | 4994 |
4995 FACTOR must be a number, specifying a multiple of the current | |
4996 font's height. If it is positive, that means to display the characters | |
4997 raised. If it is negative, that means to display them lower down. The | |
4998 amount of raising or lowering is computed without taking account of the | |
33499 | 4999 `height' subproperty. |
25853 | 5000 |
5001 *** Conditional display properties | |
5002 | |
5003 All display specifications can be conditionalized. If a specification | |
39031
f5db16d9b787
Change conditional display property API description.
Gerd Moellmann <gerd@gnu.org>
parents:
38989
diff
changeset
|
5004 has the form `(when CONDITION . SPEC)', the specification SPEC applies |
f5db16d9b787
Change conditional display property API description.
Gerd Moellmann <gerd@gnu.org>
parents:
38989
diff
changeset
|
5005 only when CONDITION yields a non-nil value when evaluated. During the |
f5db16d9b787
Change conditional display property API description.
Gerd Moellmann <gerd@gnu.org>
parents:
38989
diff
changeset
|
5006 evaluation, `object' is bound to the string or buffer having the |
f5db16d9b787
Change conditional display property API description.
Gerd Moellmann <gerd@gnu.org>
parents:
38989
diff
changeset
|
5007 conditional display property; `position' and `buffer-position' are |
f5db16d9b787
Change conditional display property API description.
Gerd Moellmann <gerd@gnu.org>
parents:
38989
diff
changeset
|
5008 bound to the position within `object' and the buffer position where |
f5db16d9b787
Change conditional display property API description.
Gerd Moellmann <gerd@gnu.org>
parents:
38989
diff
changeset
|
5009 the display property was found, respectively. Both positions can be |
f5db16d9b787
Change conditional display property API description.
Gerd Moellmann <gerd@gnu.org>
parents:
38989
diff
changeset
|
5010 different when object is a string. |
25853 | 5011 |
5012 The normal specification consisting of SPEC only is equivalent to | |
39031
f5db16d9b787
Change conditional display property API description.
Gerd Moellmann <gerd@gnu.org>
parents:
38989
diff
changeset
|
5013 `(when t . SPEC)'. |
25853 | 5014 |
5015 ** New menu separator types. | |
5016 | |
5017 Emacs now supports more than one menu separator type. Menu items with | |
5018 item names consisting of dashes only (including zero dashes) are | |
5019 treated like before. In addition, the following item names are used | |
5020 to specify other menu separator types. | |
5021 | |
5022 - `--no-line' or `--space', or `--:space', or `--:noLine' | |
5023 | |
5024 No separator lines are drawn, but a small space is inserted where the | |
5025 separator occurs. | |
5026 | |
5027 - `--single-line' or `--:singleLine' | |
5028 | |
5029 A single line in the menu's foreground color. | |
5030 | |
5031 - `--double-line' or `--:doubleLine' | |
5032 | |
5033 A double line in the menu's foreground color. | |
5034 | |
5035 - `--single-dashed-line' or `--:singleDashedLine' | |
5036 | |
5037 A single dashed line in the menu's foreground color. | |
5038 | |
5039 - `--double-dashed-line' or `--:doubleDashedLine' | |
5040 | |
5041 A double dashed line in the menu's foreground color. | |
5042 | |
5043 - `--shadow-etched-in' or `--:shadowEtchedIn' | |
5044 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
5045 A single line with 3D sunken appearance. This is the form |
25853 | 5046 displayed for item names consisting of dashes only. |
5047 | |
5048 - `--shadow-etched-out' or `--:shadowEtchedOut' | |
5049 | |
5050 A single line with 3D raised appearance. | |
5051 | |
5052 - `--shadow-etched-in-dash' or `--:shadowEtchedInDash' | |
5053 | |
5054 A single dashed line with 3D sunken appearance. | |
5055 | |
5056 - `--shadow-etched-out-dash' or `--:shadowEtchedOutDash' | |
5057 | |
5058 A single dashed line with 3D raise appearance. | |
5059 | |
5060 - `--shadow-double-etched-in' or `--:shadowDoubleEtchedIn' | |
5061 | |
5062 Two lines with 3D sunken appearance. | |
5063 | |
5064 - `--shadow-double-etched-out' or `--:shadowDoubleEtchedOut' | |
5065 | |
5066 Two lines with 3D raised appearance. | |
5067 | |
5068 - `--shadow-double-etched-in-dash' or `--:shadowDoubleEtchedInDash' | |
5069 | |
5070 Two dashed lines with 3D sunken appearance. | |
5071 | |
5072 - `--shadow-double-etched-out-dash' or `--:shadowDoubleEtchedOutDash' | |
5073 | |
5074 Two dashed lines with 3D raised appearance. | |
5075 | |
5076 Under LessTif/Motif, the last four separator types are displayed like | |
5077 the corresponding single-line separators. | |
5078 | |
5079 ** New frame parameters for scroll bar colors. | |
5080 | |
5081 The new frame parameters `scroll-bar-foreground' and | |
5082 `scroll-bar-background' can be used to change scroll bar colors. | |
5083 Their value must be either a color name, a string, or nil to specify | |
5084 that scroll bars should use a default color. For toolkit scroll bars, | |
5085 default colors are toolkit specific. For non-toolkit scroll bars, the | |
5086 default background is the background color of the frame, and the | |
5087 default foreground is black. | |
5088 | |
5089 The X resource name of these parameters are `scrollBarForeground' | |
5090 (class ScrollBarForeground) and `scrollBarBackground' (class | |
5091 `ScrollBarBackground'). | |
5092 | |
5093 Setting these parameters overrides toolkit specific X resource | |
5094 settings for scroll bar colors. | |
5095 | |
5096 ** You can set `redisplay-dont-pause' to a non-nil value to prevent | |
5097 display updates from being interrupted when input is pending. | |
5098 | |
5099 ** Changing a window's width may now change its window start if it | |
5100 starts on a continuation line. The new window start is computed based | |
5101 on the window's new width, starting from the start of the continued | |
5102 line as the start of the screen line with the minimum distance from | |
5103 the original window start. | |
5104 | |
5105 ** The variable `hscroll-step' and the functions | |
5106 `hscroll-point-visible' and `hscroll-window-column' have been removed | |
5107 now that proper horizontal scrolling is implemented. | |
5108 | |
5109 ** Windows can now be made fixed-width and/or fixed-height. | |
5110 | |
5111 A window is fixed-size if its buffer has a buffer-local variable | |
5112 `window-size-fixed' whose value is not nil. A value of `height' makes | |
5113 windows fixed-height, a value of `width' makes them fixed-width, any | |
5114 other non-nil value makes them both fixed-width and fixed-height. | |
5115 | |
5116 The following code makes all windows displaying the current buffer | |
5117 fixed-width and fixed-height. | |
5118 | |
5119 (set (make-local-variable 'window-size-fixed) t) | |
5120 | |
5121 A call to enlarge-window on a window gives an error if that window is | |
5122 fixed-width and it is tried to change the window's width, or if the | |
5123 window is fixed-height, and it is tried to change its height. To | |
5124 change the size of a fixed-size window, bind `window-size-fixed' | |
5125 temporarily to nil, for example | |
5126 | |
5127 (let ((window-size-fixed nil)) | |
5128 (enlarge-window 10)) | |
5129 | |
26264 | 5130 Likewise, an attempt to split a fixed-height window vertically, |
25853 | 5131 or a fixed-width window horizontally results in a error. |
28094
e1e48e0663f6
Mention cursor-type support on MS-DOS terminals.
Eli Zaretskii <eliz@gnu.org>
parents:
28063
diff
changeset
|
5132 |
e1e48e0663f6
Mention cursor-type support on MS-DOS terminals.
Eli Zaretskii <eliz@gnu.org>
parents:
28063
diff
changeset
|
5133 ** The cursor-type frame parameter is now supported on MS-DOS |
e1e48e0663f6
Mention cursor-type support on MS-DOS terminals.
Eli Zaretskii <eliz@gnu.org>
parents:
28063
diff
changeset
|
5134 terminals. When Emacs starts, it by default changes the cursor shape |
e1e48e0663f6
Mention cursor-type support on MS-DOS terminals.
Eli Zaretskii <eliz@gnu.org>
parents:
28063
diff
changeset
|
5135 to a solid box, as it does on Unix. The `cursor-type' frame parameter |
e1e48e0663f6
Mention cursor-type support on MS-DOS terminals.
Eli Zaretskii <eliz@gnu.org>
parents:
28063
diff
changeset
|
5136 overrides this as it does on Unix, except that the bar cursor is |
e1e48e0663f6
Mention cursor-type support on MS-DOS terminals.
Eli Zaretskii <eliz@gnu.org>
parents:
28063
diff
changeset
|
5137 horizontal rather than vertical (since the MS-DOS display doesn't |
e1e48e0663f6
Mention cursor-type support on MS-DOS terminals.
Eli Zaretskii <eliz@gnu.org>
parents:
28063
diff
changeset
|
5138 support a vertical-bar cursor). |
30786 | 5139 |
30922 | 5140 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5141 |
30922 | 5142 * Emacs 20.7 is a bug-fix release with few user-visible changes |
5143 | |
5144 ** It is now possible to use CCL-based coding systems for keyboard | |
5145 input. | |
5146 | |
5147 ** ange-ftp now handles FTP security extensions, like Kerberos. | |
5148 | |
5149 ** Rmail has been extended to recognize more forms of digest messages. | |
5150 | |
5151 ** Now, most coding systems set in keyboard coding system work not | |
5152 only for character input, but also in incremental search. The | |
5153 exceptions are such coding systems that handle 2-byte character sets | |
5154 (e.g euc-kr, euc-jp) and that use ISO's escape sequence | |
5155 (e.g. iso-2022-jp). They are ignored in incremental search. | |
5156 | |
5157 ** Support for Macintosh PowerPC-based machines running GNU/Linux has | |
5158 been added. | |
5159 | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5160 |
30922 | 5161 * Emacs 20.6 is a bug-fix release with one user-visible change |
5162 | |
5163 ** Support for ARM-based non-RISCiX machines has been added. | |
5164 | |
35469 | 5165 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5166 |
30922 | 5167 * Emacs 20.5 is a bug-fix release with no user-visible changes. |
5168 | |
5169 ** Not new, but not mentioned before: | |
5170 M-w when Transient Mark mode is enabled disables the mark. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5171 |
30922 | 5172 * Changes in Emacs 20.4 |
5173 | |
5174 ** Init file may be called .emacs.el. | |
5175 | |
5176 You can now call the Emacs init file `.emacs.el'. | |
5177 Formerly the name had to be `.emacs'. If you use the name | |
5178 `.emacs.el', you can byte-compile the file in the usual way. | |
5179 | |
5180 If both `.emacs' and `.emacs.el' exist, the latter file | |
5181 is the one that is used. | |
5182 | |
5183 ** shell-command, and shell-command-on-region, now return | |
5184 the exit code of the command (unless it is asynchronous). | |
5185 Also, you can specify a place to put the error output, | |
5186 separate from the command's regular output. | |
5187 Interactively, the variable shell-command-default-error-buffer | |
5188 says where to put error output; set it to a buffer name. | |
5189 In calls from Lisp, an optional argument ERROR-BUFFER specifies | |
5190 the buffer name. | |
5191 | |
5192 When you specify a non-nil error buffer (or buffer name), any error | |
5193 output is inserted before point in that buffer, with \f\n to separate | |
5194 it from the previous batch of error output. The error buffer is not | |
5195 cleared, so error output from successive commands accumulates there. | |
5196 | |
5197 ** Setting the default value of enable-multibyte-characters to nil in | |
5198 the .emacs file, either explicitly using setq-default, or via Custom, | |
5199 is now essentially equivalent to using --unibyte: all buffers | |
5200 created during startup will be made unibyte after loading .emacs. | |
5201 | |
5202 ** C-x C-f now handles the wildcards * and ? in file names. For | |
5203 example, typing C-x C-f c*.c RET visits all the files whose names | |
5204 match c*.c. To visit a file whose name contains * or ?, add the | |
5205 quoting sequence /: to the beginning of the file name. | |
5206 | |
5207 ** The M-x commands keep-lines, flush-lines and count-matches | |
5208 now have the same feature as occur and query-replace: | |
5209 if the pattern contains any upper case letters, then | |
5210 they never ignore case. | |
5211 | |
5212 ** The end-of-line format conversion feature previously mentioned | |
5213 under `* Emacs 20.1 changes for MS-DOS and MS-Windows' actually | |
5214 applies to all operating systems. Emacs recognizes from the contents | |
5215 of a file what convention it uses to separate lines--newline, CRLF, or | |
5216 just CR--and automatically converts the contents to the normal Emacs | |
5217 convention (using newline to separate lines) for editing. This is a | |
5218 part of the general feature of coding system conversion. | |
5219 | |
5220 If you subsequently save the buffer, Emacs converts the text back to | |
5221 the same format that was used in the file before. | |
5222 | |
5223 You can turn off end-of-line conversion by setting the variable | |
5224 `inhibit-eol-conversion' to non-nil, e.g. with Custom in the MULE group. | |
5225 | |
5226 ** The character set property `prefered-coding-system' has been | |
5227 renamed to `preferred-coding-system', for the sake of correct spelling. | |
5228 This is a fairly internal feature, so few programs should be affected. | |
5229 | |
5230 ** Mode-line display of end-of-line format is changed. | |
5231 The indication of the end-of-line format of the file visited by a | |
5232 buffer is now more explicit when that format is not the usual one for | |
5233 your operating system. For example, the DOS-style end-of-line format | |
5234 is displayed as "(DOS)" on Unix and GNU/Linux systems. The usual | |
5235 end-of-line format is still displayed as a single character (colon for | |
5236 Unix, backslash for DOS and Windows, and forward slash for the Mac). | |
5237 | |
5238 The values of the variables eol-mnemonic-unix, eol-mnemonic-dos, | |
5239 eol-mnemonic-mac, and eol-mnemonic-undecided, which are strings, | |
5240 control what is displayed in the mode line for each end-of-line | |
5241 format. You can now customize these variables. | |
5242 | |
5243 ** In the previous version of Emacs, tar-mode didn't work well if a | |
5244 filename contained non-ASCII characters. Now this is fixed. Such a | |
5245 filename is decoded by file-name-coding-system if the default value of | |
5246 enable-multibyte-characters is non-nil. | |
5247 | |
5248 ** The command temp-buffer-resize-mode toggles a minor mode | |
5249 in which temporary buffers (such as help buffers) are given | |
5250 windows just big enough to hold the whole contents. | |
5251 | |
5252 ** If you use completion.el, you must now run the function | |
5253 dynamic-completion-mode to enable it. Just loading the file | |
5254 doesn't have any effect. | |
5255 | |
5256 ** In Flyspell mode, the default is now to make just one Ispell process, | |
5257 not one per buffer. | |
5258 | |
5259 ** If you use iswitchb but do not call (iswitchb-default-keybindings) to | |
5260 use the default keybindings, you will need to add the following line: | |
5261 (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup) | |
5262 | |
5263 ** Auto-show mode is no longer enabled just by loading auto-show.el. | |
5264 To control it, set `auto-show-mode' via Custom or use the | |
5265 `auto-show-mode' command. | |
5266 | |
5267 ** Handling of X fonts' ascent/descent parameters has been changed to | |
5268 avoid redisplay problems. As a consequence, compared with previous | |
5269 versions the line spacing and frame size now differ with some font | |
5270 choices, typically increasing by a pixel per line. This change | |
5271 occurred in version 20.3 but was not documented then. | |
5272 | |
5273 ** If you select the bar cursor style, it uses the frame's | |
5274 cursor-color, rather than the cursor foreground pixel. | |
5275 | |
5276 ** In multibyte mode, Rmail decodes incoming MIME messages using the | |
5277 character set specified in the message. If you want to disable this | |
5278 feature, set the variable rmail-decode-mime-charset to nil. | |
5279 | |
5280 ** Not new, but not mentioned previously in NEWS: when you use #! at | |
5281 the beginning of a file to make it executable and specify an | |
5282 interpreter program, Emacs looks on the second line for the -*- mode | |
5283 and variable specification, as well as on the first line. | |
5284 | |
5285 ** Support for IBM codepage encoding of non-ASCII characters. | |
5286 | |
5287 The new command M-x codepage-setup creates a special coding system | |
5288 that can be used to convert text between a specific IBM codepage and | |
5289 one of the character sets built into Emacs which matches that | |
5290 codepage. For example, codepage 850 corresponds to Latin-1 character | |
5291 set, codepage 855 corresponds to Cyrillic-ISO character set, etc. | |
5292 | |
5293 Windows codepages 1250, 1251 and some others, where Windows deviates | |
5294 from the corresponding ISO character set, are also supported. | |
5295 | |
5296 IBM box-drawing characters and other glyphs which don't have | |
5297 equivalents in the corresponding ISO character set, are converted to | |
5298 a character defined by dos-unsupported-char-glyph on MS-DOS, and to | |
5299 `?' on other systems. | |
5300 | |
5301 IBM codepages are widely used on MS-DOS and MS-Windows, so this | |
5302 feature is most useful on those platforms, but it can also be used on | |
5303 Unix. | |
5304 | |
5305 Emacs compiled for MS-DOS automatically loads the support for the | |
5306 current codepage when it starts. | |
5307 | |
5308 ** Mail changes | |
5309 | |
5310 *** When mail is sent using compose-mail (C-x m), and if | |
5311 `mail-send-nonascii' is set to the new default value `mime', | |
5312 appropriate MIME headers are added. The headers are added only if | |
5313 non-ASCII characters are present in the body of the mail, and no other | |
5314 MIME headers are already present. For example, the following three | |
5315 headers are added if the coding system used in the *mail* buffer is | |
5316 latin-1: | |
5317 | |
5318 MIME-version: 1.0 | |
5319 Content-type: text/plain; charset=iso-8859-1 | |
5320 Content-Transfer-Encoding: 8bit | |
5321 | |
5322 *** The new variable default-sendmail-coding-system specifies the | |
5323 default way to encode outgoing mail. This has higher priority than | |
5324 default-buffer-file-coding-system but has lower priority than | |
5325 sendmail-coding-system and the local value of | |
5326 buffer-file-coding-system. | |
5327 | |
5328 You should not set this variable manually. Instead, set | |
5329 sendmail-coding-system to specify a fixed encoding for all outgoing | |
5330 mail. | |
5331 | |
5332 *** When you try to send a message that contains non-ASCII characters, | |
5333 if the coding system specified by those variables doesn't handle them, | |
5334 Emacs will ask you to select a suitable coding system while showing a | |
5335 list of possible coding systems. | |
5336 | |
5337 ** CC Mode changes | |
5338 | |
5339 *** c-default-style can now take an association list that maps major | |
5340 modes to style names. When this variable is an alist, Java mode no | |
5341 longer hardcodes a setting to "java" style. See the variable's | |
5342 docstring for details. | |
5343 | |
5344 *** It's now possible to put a list as the offset on a syntactic | |
5345 symbol. The list is evaluated recursively until a non-nil offset is | |
5346 found. This is useful to combine several lineup functions to act in a | |
5347 prioritized order on a single line. However, none of the supplied | |
5348 lineup functions use this feature currently. | |
5349 | |
5350 *** New syntactic symbol catch-clause, which is used on the "catch" and | |
5351 "finally" lines in try-catch constructs in C++ and Java. | |
5352 | |
5353 *** New cleanup brace-catch-brace on c-cleanup-list, which does for | |
5354 "catch" lines what brace-elseif-brace does for "else if" lines. | |
5355 | |
5356 *** The braces of Java anonymous inner classes are treated separately | |
5357 from the braces of other classes in auto-newline mode. Two new | |
5358 symbols inexpr-class-open and inexpr-class-close may be used on | |
5359 c-hanging-braces-alist to control the automatic newlines used for | |
5360 anonymous classes. | |
5361 | |
5362 *** Support for the Pike language added, along with new Pike specific | |
5363 syntactic symbols: inlambda, lambda-intro-cont | |
5364 | |
5365 *** Support for Java anonymous classes via new syntactic symbol | |
5366 inexpr-class. New syntactic symbol inexpr-statement for Pike | |
5367 support and gcc-style statements inside expressions. New lineup | |
5368 function c-lineup-inexpr-block. | |
5369 | |
5370 *** New syntactic symbol brace-entry-open which is used in brace lists | |
5371 (i.e. static initializers) when a list entry starts with an open | |
5372 brace. These used to be recognized as brace-list-entry's. | |
5373 c-electric-brace also recognizes brace-entry-open braces | |
5374 (brace-list-entry's can no longer be electrified). | |
5375 | |
5376 *** New command c-indent-line-or-region, not bound by default. | |
5377 | |
5378 *** `#' is only electric when typed in the indentation of a line. | |
5379 | |
5380 *** Parentheses are now electric (via the new command c-electric-paren) | |
5381 for auto-reindenting lines when parens are typed. | |
5382 | |
5383 *** In "gnu" style, inline-open offset is now set to zero. | |
5384 | |
5385 *** Uniform handling of the inclass syntactic symbol. The indentation | |
5386 associated with it is now always relative to the class opening brace. | |
5387 This means that the indentation behavior has changed in some | |
5388 circumstances, but only if you've put anything besides 0 on the | |
5389 class-open syntactic symbol (none of the default styles do that). | |
5390 | |
5391 ** Gnus changes. | |
5392 | |
5393 *** New functionality for using Gnus as an offline newsreader has been | |
5394 added. A plethora of new commands and modes have been added. See the | |
5395 Gnus manual for the full story. | |
5396 | |
5397 *** The nndraft backend has returned, but works differently than | |
5398 before. All Message buffers are now also articles in the nndraft | |
5399 group, which is created automatically. | |
5400 | |
5401 *** `gnus-alter-header-function' can now be used to alter header | |
5402 values. | |
5403 | |
5404 *** `gnus-summary-goto-article' now accept Message-ID's. | |
5405 | |
5406 *** A new Message command for deleting text in the body of a message | |
5407 outside the region: `C-c C-v'. | |
5408 | |
5409 *** You can now post to component group in nnvirtual groups with | |
5410 `C-u C-c C-c'. | |
5411 | |
5412 *** `nntp-rlogin-program' -- new variable to ease customization. | |
5413 | |
5414 *** `C-u C-c C-c' in `gnus-article-edit-mode' will now inhibit | |
5415 re-highlighting of the article buffer. | |
5416 | |
5417 *** New element in `gnus-boring-article-headers' -- `long-to'. | |
5418 | |
5419 *** `M-i' symbolic prefix command. See the section "Symbolic | |
5420 Prefixes" in the Gnus manual for details. | |
5421 | |
5422 *** `L' and `I' in the summary buffer now take the symbolic prefix | |
5423 `a' to add the score rule to the "all.SCORE" file. | |
5424 | |
5425 *** `gnus-simplify-subject-functions' variable to allow greater | |
5426 control over simplification. | |
5427 | |
5428 *** `A T' -- new command for fetching the current thread. | |
5429 | |
5430 *** `/ T' -- new command for including the current thread in the | |
5431 limit. | |
5432 | |
5433 *** `M-RET' is a new Message command for breaking cited text. | |
5434 | |
5435 *** \\1-expressions are now valid in `nnmail-split-methods'. | |
5436 | |
5437 *** The `custom-face-lookup' function has been removed. | |
5438 If you used this function in your initialization files, you must | |
5439 rewrite them to use `face-spec-set' instead. | |
5440 | |
35680 | 5441 *** Canceling now uses the current select method. Symbolic prefix |
30922 | 5442 `a' forces normal posting method. |
5443 | |
5444 *** New command to translate M******** sm*rtq**t*s into proper text | |
5445 -- `W d'. | |
5446 | |
5447 *** For easier debugging of nntp, you can set `nntp-record-commands' | |
5448 to a non-nil value. | |
5449 | |
5450 *** nntp now uses ~/.authinfo, a .netrc-like file, for controlling | |
5451 where and how to send AUTHINFO to NNTP servers. | |
5452 | |
5453 *** A command for editing group parameters from the summary buffer | |
5454 has been added. | |
5455 | |
5456 *** A history of where mails have been split is available. | |
5457 | |
5458 *** A new article date command has been added -- `article-date-iso8601'. | |
5459 | |
5460 *** Subjects can be simplified when threading by setting | |
5461 `gnus-score-thread-simplify'. | |
5462 | |
5463 *** A new function for citing in Message has been added -- | |
5464 `message-cite-original-without-signature'. | |
5465 | |
5466 *** `article-strip-all-blank-lines' -- new article command. | |
5467 | |
5468 *** A new Message command to kill to the end of the article has | |
5469 been added. | |
5470 | |
5471 *** A minimum adaptive score can be specified by using the | |
5472 `gnus-adaptive-word-minimum' variable. | |
5473 | |
5474 *** The "lapsed date" article header can be kept continually | |
5475 updated by the `gnus-start-date-timer' command. | |
5476 | |
5477 *** Web listserv archives can be read with the nnlistserv backend. | |
5478 | |
5479 *** Old dejanews archives can now be read by nnweb. | |
5480 | |
5481 *** `gnus-posting-styles' has been re-activated. | |
5482 | |
5483 ** Changes to TeX and LaTeX mode | |
5484 | |
5485 *** The new variable `tex-start-options-string' can be used to give | |
5486 options for the TeX run. The default value causes TeX to run in | |
5487 nonstopmode. For an interactive TeX run set it to nil or "". | |
5488 | |
5489 *** The command `tex-feed-input' sends input to the Tex Shell. In a | |
5490 TeX buffer it is bound to the keys C-RET, C-c RET, and C-c C-m (some | |
5491 of these keys may not work on all systems). For instance, if you run | |
5492 TeX interactively and if the TeX run stops because of an error, you | |
5493 can continue it without leaving the TeX buffer by typing C-RET. | |
5494 | |
5495 *** The Tex Shell Buffer is now in `compilation-shell-minor-mode'. | |
5496 All error-parsing commands of the Compilation major mode are available | |
5497 but bound to keys that don't collide with the shell. Thus you can use | |
5498 the Tex Shell for command line executions like a usual shell. | |
5499 | |
5500 *** The commands `tex-validate-region' and `tex-validate-buffer' check | |
5501 the matching of braces and $'s. The errors are listed in a *Occur* | |
5502 buffer and you can use C-c C-c or mouse-2 to go to a particular | |
5503 mismatch. | |
5504 | |
5505 ** Changes to RefTeX mode | |
5506 | |
5507 *** The table of contents buffer can now also display labels and | |
5508 file boundaries in addition to sections. Use `l', `i', and `c' keys. | |
5509 | |
5510 *** Labels derived from context (the section heading) are now | |
5511 lowercase by default. To make the label legal in LaTeX, latin-1 | |
5512 characters will lose their accent. All Mule characters will be | |
5513 removed from the label. | |
5514 | |
5515 *** The automatic display of cross reference information can also use | |
5516 a window instead of the echo area. See variable `reftex-auto-view-crossref'. | |
5517 | |
5518 *** kpsewhich can be used by RefTeX to find TeX and BibTeX files. See the | |
5519 customization group `reftex-finding-files'. | |
5520 | |
5521 *** The option `reftex-bibfile-ignore-list' has been renamed to | |
5522 `reftex-bibfile-ignore-regexps' and indeed can be fed with regular | |
5523 expressions. | |
5524 | |
5525 *** Multiple Selection buffers are now hidden buffers. | |
5526 | |
5527 ** New/deleted modes and packages | |
5528 | |
5529 *** The package snmp-mode.el provides major modes for editing SNMP and | |
5530 SNMPv2 MIBs. It has entries on `auto-mode-alist'. | |
5531 | |
5532 *** The package sql.el provides a major mode, M-x sql-mode, for | |
5533 editing SQL files, and M-x sql-interactive-mode for interacting with | |
5534 SQL interpreters. It has an entry on `auto-mode-alist'. | |
5535 | |
5536 *** M-x highlight-changes-mode provides a minor mode displaying buffer | |
5537 changes with a special face. | |
5538 | |
5539 *** ispell4.el has been deleted. It got in the way of ispell.el and | |
5540 this was hard to fix reliably. It has long been obsolete -- use | |
5541 Ispell 3.1 and ispell.el. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5542 |
30922 | 5543 * MS-DOS changes in Emacs 20.4 |
5544 | |
5545 ** Emacs compiled for MS-DOS now supports MULE features better. | |
5546 This includes support for display of all ISO 8859-N character sets, | |
5547 conversion to and from IBM codepage encoding of non-ASCII characters, | |
5548 and automatic setup of the MULE environment at startup. For details, | |
5549 check out the section `MS-DOS and MULE' in the manual. | |
5550 | |
5551 The MS-DOS installation procedure automatically configures and builds | |
5552 Emacs with input method support if it finds an unpacked Leim | |
5553 distribution when the config.bat script is run. | |
5554 | |
5555 ** Formerly, the value of lpr-command did not affect printing on | |
5556 MS-DOS unless print-region-function was set to nil, but now it | |
5557 controls whether an external program is invoked or output is written | |
5558 directly to a printer port. Similarly, in the previous version of | |
5559 Emacs, the value of ps-lpr-command did not affect PostScript printing | |
5560 on MS-DOS unless ps-printer-name was set to something other than a | |
5561 string (eg. t or `pipe'), but now it controls whether an external | |
5562 program is used. (These changes were made so that configuration of | |
5563 printing variables would be almost identical across all platforms.) | |
5564 | |
5565 ** In the previous version of Emacs, PostScript and non-PostScript | |
5566 output was piped to external programs, but because most print programs | |
5567 available for MS-DOS and MS-Windows cannot read data from their standard | |
5568 input, on those systems the data to be output is now written to a | |
5569 temporary file whose name is passed as the last argument to the external | |
5570 program. | |
5571 | |
5572 An exception is made for `print', a standard program on Windows NT, | |
5573 and `nprint', a standard program on Novell Netware. For both of these | |
5574 programs, the command line is constructed in the appropriate syntax | |
5575 automatically, using only the value of printer-name or ps-printer-name | |
5576 as appropriate--the value of the relevant `-switches' variable is | |
5577 ignored, as both programs have no useful switches. | |
5578 | |
5579 ** The value of the variable dos-printer (cf. dos-ps-printer), if it has | |
5580 a value, overrides the value of printer-name (cf. ps-printer-name), on | |
5581 MS-DOS and MS-Windows only. This has been true since version 20.3, but | |
5582 was not documented clearly before. | |
5583 | |
5584 ** All the Emacs games now work on MS-DOS terminals. | |
5585 This includes Tetris and Snake. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5586 |
30922 | 5587 * Lisp changes in Emacs 20.4 |
5588 | |
5589 ** New functions line-beginning-position and line-end-position | |
5590 return the position of the beginning or end of the current line. | |
5591 They both accept an optional argument, which has the same | |
5592 meaning as the argument to beginning-of-line or end-of-line. | |
5593 | |
5594 ** find-file and allied functions now have an optional argument | |
5595 WILDCARD. If this is non-nil, they do wildcard processing, | |
5596 and visit all files that match the wildcard pattern. | |
5597 | |
5598 ** Changes in the file-attributes function. | |
5599 | |
5600 *** The file size returned by file-attributes may be an integer or a float. | |
5601 It is an integer if the size fits in a Lisp integer, float otherwise. | |
5602 | |
5603 *** The inode number returned by file-attributes may be an integer (if | |
5604 the number fits in a Lisp integer) or a cons cell containing two | |
5605 integers. | |
5606 | |
5607 ** The new function directory-files-and-attributes returns a list of | |
5608 files in a directory and their attributes. It accepts the same | |
5609 arguments as directory-files and has similar semantics, except that | |
5610 file names and attributes are returned. | |
5611 | |
5612 ** The new function file-attributes-lessp is a helper function for | |
5613 sorting the list generated by directory-files-and-attributes. It | |
35680 | 5614 accepts two arguments, each a list of a file name and its attributes. |
30922 | 5615 It compares the file names of each according to string-lessp and |
5616 returns the result. | |
5617 | |
5618 ** The new function file-expand-wildcards expands a wildcard-pattern | |
5619 to produce a list of existing files that match the pattern. | |
5620 | |
5621 ** New functions for base64 conversion: | |
5622 | |
5623 The function base64-encode-region converts a part of the buffer | |
5624 into the base64 code used in MIME. base64-decode-region | |
5625 performs the opposite conversion. Line-breaking is supported | |
5626 optionally. | |
5627 | |
5628 Functions base64-encode-string and base64-decode-string do a similar | |
5629 job on the text in a string. They return the value as a new string. | |
5630 | |
5631 ** | |
5632 The new function process-running-child-p | |
5633 will tell you if a subprocess has given control of its | |
5634 terminal to its own child process. | |
5635 | |
5636 ** interrupt-process and such functions have a new feature: | |
5637 when the second argument is `lambda', they send a signal | |
5638 to the running child of the subshell, if any, but if the shell | |
5639 itself owns its terminal, no signal is sent. | |
5640 | |
5641 ** There are new widget types `plist' and `alist' which can | |
5642 be used for customizing variables whose values are plists or alists. | |
5643 | |
5644 ** easymenu.el Now understands `:key-sequence' and `:style button'. | |
5645 :included is an alias for :visible. | |
5646 | |
5647 easy-menu-add-item now understands the values returned by | |
5648 easy-menu-remove-item and easy-menu-item-present-p. This can be used | |
5649 to move or copy menu entries. | |
5650 | |
5651 ** Multibyte editing changes | |
5652 | |
5653 *** The definitions of sref and char-bytes are changed. Now, sref is | |
5654 an alias of aref and char-bytes always returns 1. This change is to | |
5655 make some Emacs Lisp code which works on 20.2 and earlier also | |
5656 work on the latest Emacs. Such code uses a combination of sref and | |
5657 char-bytes in a loop typically as below: | |
5658 (setq char (sref str idx) | |
5659 idx (+ idx (char-bytes idx))) | |
5660 The byte-compiler now warns that this is obsolete. | |
5661 | |
5662 If you want to know how many bytes a specific multibyte character | |
5663 (say, CH) occupies in a multibyte buffer, use this code: | |
5664 (charset-bytes (char-charset ch)) | |
5665 | |
5666 *** In multibyte mode, when you narrow a buffer to some region, and the | |
5667 region is preceded or followed by non-ASCII codes, inserting or | |
5668 deleting at the head or the end of the region may signal this error: | |
5669 | |
35680 | 5670 Byte combining across boundary of accessible buffer text inhibited |
30922 | 5671 |
5672 This is to avoid some bytes being combined together into a character | |
5673 across the boundary. | |
5674 | |
5675 *** The functions find-charset-region and find-charset-string include | |
5676 `unknown' in the returned list in the following cases: | |
5677 o The current buffer or the target string is unibyte and | |
5678 contains 8-bit characters. | |
5679 o The current buffer or the target string is multibyte and | |
5680 contains invalid characters. | |
5681 | |
5682 *** The functions decode-coding-region and encode-coding-region remove | |
5683 text properties of the target region. Ideally, they should correctly | |
5684 preserve text properties, but for the moment, it's hard. Removing | |
5685 text properties is better than preserving them in a less-than-correct | |
5686 way. | |
5687 | |
5688 *** prefer-coding-system sets EOL conversion of default coding systems. | |
5689 If the argument to prefer-coding-system specifies a certain type of | |
5690 end of line conversion, the default coding systems set by | |
5691 prefer-coding-system will specify that conversion type for end of line. | |
5692 | |
5693 *** The new function thai-compose-string can be used to properly | |
5694 compose Thai characters in a string. | |
5695 | |
5696 ** The primitive `define-prefix-command' now takes an optional third | |
5697 argument NAME, which should be a string. It supplies the menu name | |
5698 for the created keymap. Keymaps created in order to be displayed as | |
5699 menus should always use the third argument. | |
5700 | |
5701 ** The meanings of optional second arguments for read-char, | |
5702 read-event, and read-char-exclusive are flipped. Now the second | |
5703 arguments are INHERIT-INPUT-METHOD. These functions use the current | |
5704 input method (if any) if and only if INHERIT-INPUT-METHOD is non-nil. | |
5705 | |
5706 ** The new function clear-this-command-keys empties out the contents | |
5707 of the vector that (this-command-keys) returns. This is useful in | |
5708 programs that read passwords, to prevent the passwords from echoing | |
5709 inadvertently as part of the next command in certain cases. | |
5710 | |
5711 ** The new macro `with-temp-message' displays a temporary message in | |
5712 the echo area, while executing some Lisp code. Like `progn', it | |
5713 returns the value of the last form, but it also restores the previous | |
5714 echo area contents. | |
5715 | |
5716 (with-temp-message MESSAGE &rest BODY) | |
5717 | |
5718 ** The function `require' now takes an optional third argument | |
5719 NOERROR. If it is non-nil, then there is no error if the | |
5720 requested feature cannot be loaded. | |
5721 | |
5722 ** In the function modify-face, an argument of (nil) for the | |
5723 foreground color, background color or stipple pattern | |
5724 means to clear out that attribute. | |
5725 | |
5726 ** The `outer-window-id' frame property of an X frame | |
5727 gives the window number of the outermost X window for the frame. | |
5728 | |
5729 ** Temporary buffers made with with-output-to-temp-buffer are now | |
5730 read-only by default, and normally use the major mode Help mode | |
5731 unless you put them in some other non-Fundamental mode before the | |
5732 end of with-output-to-temp-buffer. | |
5733 | |
5734 ** The new functions gap-position and gap-size return information on | |
5735 the gap of the current buffer. | |
5736 | |
5737 ** The new functions position-bytes and byte-to-position provide a way | |
5738 to convert between character positions and byte positions in the | |
5739 current buffer. | |
5740 | |
5741 ** vc.el defines two new macros, `edit-vc-file' and `with-vc-file', to | |
5742 facilitate working with version-controlled files from Lisp programs. | |
5743 These macros check out a given file automatically if needed, and check | |
5744 it back in after any modifications have been made. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5745 |
30922 | 5746 * Installation Changes in Emacs 20.3 |
5747 | |
5748 ** The default value of load-path now includes most subdirectories of | |
5749 the site-specific directories /usr/local/share/emacs/site-lisp and | |
5750 /usr/local/share/emacs/VERSION/site-lisp, in addition to those | |
5751 directories themselves. Both immediate subdirectories and | |
5752 subdirectories multiple levels down are added to load-path. | |
5753 | |
5754 Not all subdirectories are included, though. Subdirectories whose | |
5755 names do not start with a letter or digit are excluded. | |
5756 Subdirectories named RCS or CVS are excluded. Also, a subdirectory | |
5757 which contains a file named `.nosearch' is excluded. You can use | |
5758 these methods to prevent certain subdirectories from being searched. | |
5759 | |
5760 Emacs finds these subdirectories and adds them to load-path when it | |
5761 starts up. While it would be cleaner to find the subdirectories each | |
5762 time Emacs loads a file, that would be much slower. | |
5763 | |
5764 This feature is an incompatible change. If you have stored some Emacs | |
5765 Lisp files in a subdirectory of the site-lisp directory specifically | |
5766 to prevent them from being used, you will need to rename the | |
5767 subdirectory to start with a non-alphanumeric character, or create a | |
5768 `.nosearch' file in it, in order to continue to achieve the desired | |
5769 results. | |
5770 | |
5771 ** Emacs no longer includes an old version of the C preprocessor from | |
5772 GCC. This was formerly used to help compile Emacs with C compilers | |
5773 that had limits on the significant length of an identifier, but in | |
5774 fact we stopped supporting such compilers some time ago. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5775 |
30922 | 5776 * Changes in Emacs 20.3 |
5777 | |
5778 ** The new command C-x z (repeat) repeats the previous command | |
5779 including its argument. If you repeat the z afterward, | |
5780 it repeats the command additional times; thus, you can | |
5781 perform many repetitions with one keystroke per repetition. | |
5782 | |
5783 ** Emacs now supports "selective undo" which undoes only within a | |
5784 specified region. To do this, set point and mark around the desired | |
5785 region and type C-u C-x u (or C-u C-_). You can then continue undoing | |
5786 further, within the same region, by repeating the ordinary undo | |
5787 command C-x u or C-_. This will keep undoing changes that were made | |
5788 within the region you originally specified, until either all of them | |
5789 are undone, or it encounters a change which crosses the edge of that | |
5790 region. | |
5791 | |
5792 In Transient Mark mode, undoing when a region is active requests | |
5793 selective undo. | |
5794 | |
5795 ** If you specify --unibyte when starting Emacs, then all buffers are | |
5796 unibyte, except when a Lisp program specifically creates a multibyte | |
5797 buffer. Setting the environment variable EMACS_UNIBYTE has the same | |
5798 effect. The --no-unibyte option overrides EMACS_UNIBYTE and directs | |
5799 Emacs to run normally in multibyte mode. | |
5800 | |
5801 The option --unibyte does not affect the reading of Emacs Lisp files, | |
5802 though. If you want a Lisp file to be read in unibyte mode, use | |
5803 -*-unibyte: t;-*- on its first line. That will force Emacs to | |
5804 load that file in unibyte mode, regardless of how Emacs was started. | |
5805 | |
5806 ** toggle-enable-multibyte-characters no longer has a key binding and | |
5807 no longer appears in the menu bar. We've realized that changing the | |
5808 enable-multibyte-characters variable in an existing buffer is | |
5809 something that most users not do. | |
5810 | |
5811 ** You can specify a coding system to use for the next cut or paste | |
5812 operations through the window system with the command C-x RET X. | |
5813 The coding system can make a difference for communication with other | |
5814 applications. | |
5815 | |
5816 C-x RET x specifies a coding system for all subsequent cutting and | |
5817 pasting operations. | |
5818 | |
5819 ** You can specify the printer to use for commands that do printing by | |
5820 setting the variable `printer-name'. Just what a printer name looks | |
5821 like depends on your operating system. You can specify a different | |
5822 printer for the Postscript printing commands by setting | |
5823 `ps-printer-name'. | |
5824 | |
5825 ** Emacs now supports on-the-fly spell checking by the means of a | |
5826 minor mode. It is called M-x flyspell-mode. You don't have to remember | |
5827 any other special commands to use it, and you will hardly notice it | |
5828 except when you make a spelling error. Flyspell works by highlighting | |
5829 incorrect words as soon as they are completed or as soon as the cursor | |
5830 hits a new word. | |
5831 | |
5832 Flyspell mode works with whichever dictionary you have selected for | |
5833 Ispell in Emacs. In TeX mode, it understands TeX syntax so as not | |
5834 to be confused by TeX commands. | |
5835 | |
5836 You can correct a misspelled word by editing it into something | |
5837 correct. You can also correct it, or accept it as correct, by | |
5838 clicking on the word with Mouse-2; that gives you a pop-up menu | |
5839 of various alternative replacements and actions. | |
5840 | |
5841 Flyspell mode also proposes "automatic" corrections. M-TAB replaces | |
5842 the current misspelled word with a possible correction. If several | |
5843 corrections are made possible, M-TAB cycles through them in | |
5844 alphabetical order, or in order of decreasing likelihood if | |
5845 flyspell-sort-corrections is nil. | |
5846 | |
5847 Flyspell mode also flags an error when a word is repeated, if | |
5848 flyspell-mark-duplications-flag is non-nil. | |
5849 | |
5850 ** Changes in input method usage. | |
5851 | |
5852 Now you can use arrow keys (right, left, down, up) for selecting among | |
5853 the alternatives just the same way as you do by C-f, C-b, C-n, and C-p | |
5854 respectively. | |
5855 | |
5856 You can use the ENTER key to accept the current conversion. | |
5857 | |
5858 If you type TAB to display a list of alternatives, you can select one | |
5859 of the alternatives with Mouse-2. | |
5860 | |
5861 The meaning of the variable `input-method-verbose-flag' is changed so | |
5862 that you can set it to t, nil, `default', or `complex-only'. | |
5863 | |
5864 If the value is nil, extra guidance is never given. | |
5865 | |
5866 If the value is t, extra guidance is always given. | |
5867 | |
5868 If the value is `complex-only', extra guidance is always given only | |
5869 when you are using complex input methods such as chinese-py. | |
5870 | |
5871 If the value is `default' (this is the default), extra guidance is | |
5872 given in the following case: | |
5873 o When you are using a complex input method. | |
5874 o When you are using a simple input method but not in the minibuffer. | |
5875 | |
5876 If you are using Emacs through a very slow line, setting | |
5877 input-method-verbose-flag to nil or to complex-only is a good choice, | |
5878 and if you are using an input method you are not familiar with, | |
5879 setting it to t is helpful. | |
5880 | |
5881 The old command select-input-method is now called set-input-method. | |
5882 | |
5883 In the language environment "Korean", you can use the following | |
5884 keys: | |
5885 Shift-SPC toggle-korean-input-method | |
5886 C-F9 quail-hangul-switch-symbol-ksc | |
5887 F9 quail-hangul-switch-hanja | |
5888 These key bindings are canceled when you switch to another language | |
5889 environment. | |
5890 | |
5891 ** The minibuffer history of file names now records the specified file | |
5892 names, not the entire minibuffer input. For example, if the | |
5893 minibuffer starts out with /usr/foo/, you might type in /etc/passwd to | |
5894 get | |
5895 | |
5896 /usr/foo//etc/passwd | |
5897 | |
5898 which stands for the file /etc/passwd. | |
5899 | |
5900 Formerly, this used to put /usr/foo//etc/passwd in the history list. | |
5901 Now this puts just /etc/passwd in the history list. | |
5902 | |
5903 ** If you are root, Emacs sets backup-by-copying-when-mismatch to t | |
5904 at startup, so that saving a file will be sure to preserve | |
5905 its owner and group. | |
5906 | |
5907 ** find-func.el can now also find the place of definition of Emacs | |
5908 Lisp variables in user-loaded libraries. | |
5909 | |
5910 ** C-x r t (string-rectangle) now deletes the existing rectangle | |
5911 contents before inserting the specified string on each line. | |
5912 | |
5913 ** There is a new command delete-whitespace-rectangle | |
5914 which deletes whitespace starting from a particular column | |
5915 in all the lines on a rectangle. The column is specified | |
5916 by the left edge of the rectangle. | |
5917 | |
5918 ** You can now store a number into a register with C-u NUMBER C-x r n REG, | |
5919 increment it by INC with C-u INC C-x r + REG (to increment by one, omit | |
5920 C-u INC), and insert it in the buffer with C-x r g REG. This is useful | |
5921 for writing keyboard macros. | |
5922 | |
5923 ** The new command M-x speedbar displays a frame in which directories, | |
5924 files, and tags can be displayed, manipulated, and jumped to. The | |
5925 frame defaults to 20 characters in width, and is the same height as | |
5926 the frame that it was started from. Some major modes define | |
5927 additional commands for the speedbar, including Rmail, GUD/GDB, and | |
5928 info. | |
5929 | |
5930 ** query-replace-regexp is now bound to C-M-%. | |
5931 | |
5932 ** In Transient Mark mode, when the region is active, M-x | |
5933 query-replace and the other replace commands now operate on the region | |
5934 contents only. | |
5935 | |
5936 ** M-x write-region, when used interactively, now asks for | |
5937 confirmation before overwriting an existing file. When you call | |
5938 the function from a Lisp program, a new optional argument CONFIRM | |
5939 says whether to ask for confirmation in this case. | |
5940 | |
5941 ** If you use find-file-literally and the file is already visited | |
5942 non-literally, the command asks you whether to revisit the file | |
5943 literally. If you say no, it signals an error. | |
5944 | |
5945 ** Major modes defined with the "derived mode" feature | |
5946 now use the proper name for the mode hook: WHATEVER-mode-hook. | |
5947 Formerly they used the name WHATEVER-mode-hooks, but that is | |
5948 inconsistent with Emacs conventions. | |
5949 | |
5950 ** shell-command-on-region (and shell-command) reports success or | |
5951 failure if the command produces no output. | |
5952 | |
5953 ** Set focus-follows-mouse to nil if your window system or window | |
5954 manager does not transfer focus to another window when you just move | |
5955 the mouse. | |
5956 | |
5957 ** mouse-menu-buffer-maxlen has been renamed to | |
5958 mouse-buffer-menu-maxlen to be consistent with the other related | |
5959 function and variable names. | |
5960 | |
5961 ** The new variable auto-coding-alist specifies coding systems for | |
5962 reading specific files. This has higher priority than | |
5963 file-coding-system-alist. | |
5964 | |
5965 ** If you set the variable unibyte-display-via-language-environment to | |
5966 t, then Emacs displays non-ASCII characters are displayed by | |
5967 converting them to the equivalent multibyte characters according to | |
5968 the current language environment. As a result, they are displayed | |
5969 according to the current fontset. | |
5970 | |
5971 ** C-q's handling of codes in the range 0200 through 0377 is changed. | |
5972 | |
5973 The codes in the range 0200 through 0237 are inserted as one byte of | |
5974 that code regardless of the values of nonascii-translation-table and | |
5975 nonascii-insert-offset. | |
5976 | |
5977 For the codes in the range 0240 through 0377, if | |
5978 enable-multibyte-characters is non-nil and nonascii-translation-table | |
5979 nor nonascii-insert-offset can't convert them to valid multibyte | |
5980 characters, they are converted to Latin-1 characters. | |
5981 | |
5982 ** If you try to find a file that is not read-accessible, you now get | |
5983 an error, rather than an empty buffer and a warning. | |
5984 | |
5985 ** In the minibuffer history commands M-r and M-s, an upper case | |
5986 letter in the regular expression forces case-sensitive search. | |
5987 | |
5988 ** In the *Help* buffer, cross-references to commands and variables | |
5989 are inferred and hyperlinked. Use C-h m in Help mode for the relevant | |
5990 command keys. | |
5991 | |
5992 ** M-x apropos-command, with a prefix argument, no longer looks for | |
5993 user option variables--instead it looks for noninteractive functions. | |
5994 | |
5995 Meanwhile, the command apropos-variable normally searches for | |
5996 user option variables; with a prefix argument, it looks at | |
5997 all variables that have documentation. | |
5998 | |
5999 ** When you type a long line in the minibuffer, and the minibuffer | |
6000 shows just one line, automatically scrolling works in a special way | |
6001 that shows you overlap with the previous line of text. The variable | |
6002 minibuffer-scroll-overlap controls how many characters of overlap | |
6003 it should show; the default is 20. | |
6004 | |
6005 Meanwhile, Resize Minibuffer mode is still available; in that mode, | |
6006 the minibuffer grows taller (up to a point) as needed to show the whole | |
6007 of your input. | |
6008 | |
6009 ** The new command M-x customize-changed-options lets you customize | |
6010 all the options whose meanings or default values have changed in | |
6011 recent Emacs versions. You specify a previous Emacs version number as | |
6012 argument, and the command creates a customization buffer showing all | |
6013 the customizable options which were changed since that version. | |
6014 Newly added options are included as well. | |
6015 | |
6016 If you don't specify a particular version number argument, | |
6017 then the customization buffer shows all the customizable options | |
6018 for which Emacs versions of changes are recorded. | |
6019 | |
6020 This function is also bound to the Changed Options entry in the | |
6021 Customize menu. | |
6022 | |
6023 ** When you run M-x grep with a prefix argument, it figures out | |
6024 the tag around point and puts that into the default grep command. | |
6025 | |
6026 ** The new command M-* (pop-tag-mark) pops back through a history of | |
6027 buffer positions from which M-. or other tag-finding commands were | |
6028 invoked. | |
6029 | |
6030 ** The new variable comment-padding specifies the number of spaces | |
6031 that `comment-region' will insert before the actual text of the comment. | |
6032 The default is 1. | |
6033 | |
6034 ** In Fortran mode the characters `.', `_' and `$' now have symbol | |
6035 syntax, not word syntax. Fortran mode now supports `imenu' and has | |
6036 new commands fortran-join-line (M-^) and fortran-narrow-to-subprogram | |
6037 (C-x n d). M-q can be used to fill a statement or comment block | |
6038 sensibly. | |
6039 | |
6040 ** GUD now supports jdb, the Java debugger, and pdb, the Python debugger. | |
6041 | |
6042 ** If you set the variable add-log-keep-changes-together to a non-nil | |
6043 value, the command `C-x 4 a' will automatically notice when you make | |
6044 two entries in one day for one file, and combine them. | |
6045 | |
6046 ** You can use the command M-x diary-mail-entries to mail yourself a | |
6047 reminder about upcoming diary entries. See the documentation string | |
6048 for a sample shell script for calling this function automatically | |
6049 every night. | |
6050 | |
6051 ** Desktop changes | |
6052 | |
6053 *** All you need to do to enable use of the Desktop package, is to set | |
6054 the variable desktop-enable to t with Custom. | |
6055 | |
6056 *** Minor modes are now restored. Which minor modes are restored | |
6057 and how modes are restored is controlled by `desktop-minor-mode-table'. | |
6058 | |
6059 ** There is no need to do anything special, now, to enable Gnus to | |
6060 read and post multi-lingual articles. | |
6061 | |
6062 ** Outline mode has now support for showing hidden outlines when | |
6063 doing an isearch. In order for this to happen search-invisible should | |
6064 be set to open (the default). If an isearch match is inside a hidden | |
6065 outline the outline is made visible. If you continue pressing C-s and | |
6066 the match moves outside the formerly invisible outline, the outline is | |
6067 made invisible again. | |
6068 | |
6069 ** Mail reading and sending changes | |
6070 | |
6071 *** The Rmail e command now switches to displaying the whole header of | |
6072 the message before it lets you edit the message. This is so that any | |
6073 changes you make in the header will not be lost if you subsequently | |
6074 toggle. | |
6075 | |
6076 *** The w command in Rmail, which writes the message body into a file, | |
6077 now works in the summary buffer as well. (The command to delete the | |
6078 summary buffer is now Q.) The default file name for the w command, if | |
6079 the message has no subject, is stored in the variable | |
6080 rmail-default-body-file. | |
6081 | |
6082 *** Most of the commands and modes that operate on mail and netnews no | |
6083 longer depend on the value of mail-header-separator. Instead, they | |
6084 handle whatever separator the buffer happens to use. | |
6085 | |
6086 *** If you set mail-signature to a value which is not t, nil, or a string, | |
6087 it should be an expression. When you send a message, this expression | |
6088 is evaluated to insert the signature. | |
6089 | |
6090 *** The new Lisp library feedmail.el (version 8) enhances processing of | |
6091 outbound email messages. It works in coordination with other email | |
6092 handling packages (e.g., rmail, VM, gnus) and is responsible for | |
6093 putting final touches on messages and actually submitting them for | |
6094 transmission. Users of the emacs program "fakemail" might be | |
6095 especially interested in trying feedmail. | |
6096 | |
6097 feedmail is not enabled by default. See comments at the top of | |
6098 feedmail.el for set-up instructions. Among the bigger features | |
6099 provided by feedmail are: | |
6100 | |
6101 **** you can park outgoing messages into a disk-based queue and | |
6102 stimulate sending some or all of them later (handy for laptop users); | |
6103 there is also a queue for draft messages | |
6104 | |
6105 **** you can get one last look at the prepped outbound message and | |
6106 be prompted for confirmation | |
6107 | |
6108 **** does smart filling of address headers | |
6109 | |
6110 **** can generate a MESSAGE-ID: line and a DATE: line; the date can be | |
6111 the time the message was written or the time it is being sent; this | |
6112 can make FCC copies more closely resemble copies that recipients get | |
6113 | |
6114 **** you can specify an arbitrary function for actually transmitting | |
6115 the message; included in feedmail are interfaces for /bin/[r]mail, | |
6116 /usr/lib/sendmail, and elisp smtpmail; it's easy to write a new | |
6117 function for something else (10-20 lines of elisp) | |
6118 | |
6119 ** Dired changes | |
6120 | |
6121 *** The Dired function dired-do-toggle, which toggles marked and unmarked | |
6122 files, is now bound to "t" instead of "T". | |
6123 | |
6124 *** dired-at-point has been added to ffap.el. It allows one to easily | |
6125 run Dired on the directory name at point. | |
6126 | |
6127 *** Dired has a new command: %g. It searches the contents of | |
6128 files in the directory and marks each file that contains a match | |
6129 for a specified regexp. | |
6130 | |
6131 ** VC Changes | |
6132 | |
6133 *** New option vc-ignore-vc-files lets you turn off version control | |
6134 conveniently. | |
6135 | |
6136 *** VC Dired has been completely rewritten. It is now much | |
6137 faster, especially for CVS, and works very similar to ordinary | |
6138 Dired. | |
6139 | |
6140 VC Dired is invoked by typing C-x v d and entering the name of the | |
6141 directory to display. By default, VC Dired gives you a recursive | |
6142 listing of all files at or below the given directory which are | |
6143 currently locked (for CVS, all files not up-to-date are shown). | |
6144 | |
6145 You can change the listing format by setting vc-dired-recurse to nil, | |
6146 then it shows only the given directory, and you may also set | |
6147 vc-dired-terse-display to nil, then it shows all files under version | |
6148 control plus the names of any subdirectories, so that you can type `i' | |
6149 on such lines to insert them manually, as in ordinary Dired. | |
6150 | |
6151 All Dired commands operate normally in VC Dired, except for `v', which | |
6152 is redefined as the version control prefix. That means you may type | |
6153 `v l', `v =' etc. to invoke `vc-print-log', `vc-diff' and the like on | |
6154 the file named in the current Dired buffer line. `v v' invokes | |
6155 `vc-next-action' on this file, or on all files currently marked. | |
6156 | |
6157 The new command `v t' (vc-dired-toggle-terse-mode) allows you to | |
6158 toggle between terse display (only locked files) and full display (all | |
6159 VC files plus subdirectories). There is also a special command, | |
6160 `* l', to mark all files currently locked. | |
6161 | |
6162 Giving a prefix argument to C-x v d now does the same thing as in | |
6163 ordinary Dired: it allows you to supply additional options for the ls | |
6164 command in the minibuffer, to fine-tune VC Dired's output. | |
6165 | |
6166 *** Under CVS, if you merge changes from the repository into a working | |
6167 file, and CVS detects conflicts, VC now offers to start an ediff | |
6168 session to resolve them. | |
6169 | |
6170 Alternatively, you can use the new command `vc-resolve-conflicts' to | |
6171 resolve conflicts in a file at any time. It works in any buffer that | |
6172 contains conflict markers as generated by rcsmerge (which is what CVS | |
6173 uses as well). | |
6174 | |
6175 *** You can now transfer changes between branches, using the new | |
6176 command vc-merge (C-x v m). It is implemented for RCS and CVS. When | |
6177 you invoke it in a buffer under version-control, you can specify | |
6178 either an entire branch or a pair of versions, and the changes on that | |
6179 branch or between the two versions are merged into the working file. | |
6180 If this results in any conflicts, they may be resolved interactively, | |
6181 using ediff. | |
6182 | |
6183 ** Changes in Font Lock | |
6184 | |
6185 *** The face and variable previously known as font-lock-reference-face | |
6186 are now called font-lock-constant-face to better reflect their typical | |
6187 use for highlighting constants and labels. (Its face properties are | |
6188 unchanged.) The variable font-lock-reference-face remains for now for | |
6189 compatibility reasons, but its value is font-lock-constant-face. | |
6190 | |
6191 ** Frame name display changes | |
6192 | |
6193 *** The command set-frame-name lets you set the name of the current | |
6194 frame. You can use the new command select-frame-by-name to select and | |
6195 raise a frame; this is mostly useful on character-only terminals, or | |
6196 when many frames are invisible or iconified. | |
6197 | |
6198 *** On character-only terminal (not a window system), changing the | |
6199 frame name is now reflected on the mode line and in the Buffers/Frames | |
6200 menu. | |
6201 | |
6202 ** Comint (subshell) changes | |
6203 | |
6204 *** In Comint modes, the commands to kill, stop or interrupt a | |
6205 subjob now also kill pending input. This is for compatibility | |
6206 with ordinary shells, where the signal characters do this. | |
6207 | |
6208 *** There are new commands in Comint mode. | |
6209 | |
6210 C-c C-x fetches the "next" line from the input history; | |
6211 that is, the line after the last line you got. | |
6212 You can use this command to fetch successive lines, one by one. | |
6213 | |
6214 C-c SPC accumulates lines of input. More precisely, it arranges to | |
6215 send the current line together with the following line, when you send | |
6216 the following line. | |
6217 | |
6218 C-c C-a if repeated twice consecutively now moves to the process mark, | |
6219 which separates the pending input from the subprocess output and the | |
6220 previously sent input. | |
6221 | |
6222 C-c M-r now runs comint-previous-matching-input-from-input; | |
6223 it searches for a previous command, using the current pending input | |
6224 as the search string. | |
6225 | |
6226 *** New option compilation-scroll-output can be set to scroll | |
6227 automatically in compilation-mode windows. | |
6228 | |
6229 ** C mode changes | |
6230 | |
6231 *** Multiline macros are now handled, both as they affect indentation, | |
6232 and as recognized syntax. New syntactic symbol cpp-macro-cont is | |
6233 assigned to second and subsequent lines of a multiline macro | |
6234 definition. | |
6235 | |
6236 *** A new style "user" which captures all non-hook-ified | |
6237 (i.e. top-level) .emacs file variable settings and customizations. | |
6238 Style "cc-mode" is an alias for "user" and is deprecated. "gnu" | |
6239 style is still the default however. | |
6240 | |
6241 *** "java" style now conforms to Sun's JDK coding style. | |
6242 | |
6243 *** There are new commands c-beginning-of-defun, c-end-of-defun which | |
6244 are alternatives which you could bind to C-M-a and C-M-e if you prefer | |
6245 them. They do not have key bindings by default. | |
6246 | |
6247 *** New and improved implementations of M-a (c-beginning-of-statement) | |
6248 and M-e (c-end-of-statement). | |
6249 | |
6250 *** C++ namespace blocks are supported, with new syntactic symbols | |
6251 namespace-open, namespace-close, and innamespace. | |
6252 | |
6253 *** File local variable settings of c-file-style and c-file-offsets | |
6254 makes the style variables local to that buffer only. | |
6255 | |
6256 *** New indentation functions c-lineup-close-paren, | |
6257 c-indent-one-line-block, c-lineup-dont-change. | |
6258 | |
6259 *** Improvements (hopefully!) to the way CC Mode is loaded. You | |
6260 should now be able to do a (require 'cc-mode) to get the entire | |
6261 package loaded properly for customization in your .emacs file. A new | |
6262 variable c-initialize-on-load controls this and is t by default. | |
6263 | |
6264 ** Changes to hippie-expand. | |
6265 | |
6266 *** New customization variable `hippie-expand-dabbrev-skip-space'. If | |
6267 non-nil, trailing spaces may be included in the abbreviation to search for, | |
6268 which then gives the same behavior as the original `dabbrev-expand'. | |
6269 | |
6270 *** New customization variable `hippie-expand-dabbrev-as-symbol'. If | |
6271 non-nil, characters of syntax '_' is considered part of the word when | |
6272 expanding dynamically. | |
6273 | |
6274 *** New customization variable `hippie-expand-no-restriction'. If | |
6275 non-nil, narrowed buffers are widened before they are searched. | |
6276 | |
6277 *** New customization variable `hippie-expand-only-buffers'. If | |
6278 non-empty, buffers searched are restricted to the types specified in | |
6279 this list. Useful for example when constructing new special-purpose | |
6280 expansion functions with `make-hippie-expand-function'. | |
6281 | |
6282 *** Text properties of the expansion are no longer copied. | |
6283 | |
6284 ** Changes in BibTeX mode. | |
6285 | |
6286 *** Any titleword matching a regexp in the new variable | |
6287 bibtex-autokey-titleword-ignore (case sensitive) is ignored during | |
6288 automatic key generation. This replaces variable | |
6289 bibtex-autokey-titleword-first-ignore, which only checked for matches | |
6290 against the first word in the title. | |
6291 | |
6292 *** Autokey generation now uses all words from the title, not just | |
6293 capitalized words. To avoid conflicts with existing customizations, | |
6294 bibtex-autokey-titleword-ignore is set up such that words starting with | |
6295 lowerkey characters will still be ignored. Thus, if you want to use | |
6296 lowercase words from the title, you will have to overwrite the | |
6297 bibtex-autokey-titleword-ignore standard setting. | |
6298 | |
6299 *** Case conversion of names and title words for automatic key | |
6300 generation is more flexible. Variable bibtex-autokey-preserve-case is | |
6301 replaced by bibtex-autokey-titleword-case-convert and | |
6302 bibtex-autokey-name-case-convert. | |
6303 | |
6304 ** Changes in vcursor.el. | |
6305 | |
6306 *** Support for character terminals is available: there is a new keymap | |
6307 and the vcursor will appear as an arrow between buffer text. A | |
6308 variable `vcursor-interpret-input' allows input from the vcursor to be | |
6309 entered exactly as if typed. Numerous functions, including | |
6310 `vcursor-compare-windows', have been rewritten to improve consistency | |
6311 in the selection of windows and corresponding keymaps. | |
6312 | |
6313 *** vcursor options can now be altered with M-x customize under the | |
6314 Editing group once the package is loaded. | |
6315 | |
6316 *** Loading vcursor now does not define keys by default, as this is | |
6317 generally a bad side effect. Use M-x customize to set | |
35680 | 6318 vcursor-key-bindings to t to restore the old behavior. |
30922 | 6319 |
6320 *** vcursor-auto-disable can be `copy', which turns off copying from the | |
6321 vcursor, but doesn't disable it, after any non-vcursor command. | |
6322 | |
6323 ** Ispell changes. | |
6324 | |
6325 *** You can now spell check comments and strings in the current | |
6326 buffer with M-x ispell-comments-and-strings. Comments and strings | |
6327 are identified by syntax tables in effect. | |
6328 | |
6329 *** Generic region skipping implemented. | |
6330 A single buffer can be broken into a number of regions where text will | |
6331 and will not be checked. The definitions of the regions can be user | |
6332 defined. New applications and improvements made available by this | |
6333 include: | |
6334 | |
6335 o URLs are automatically skipped | |
6336 o EMail message checking is vastly improved. | |
6337 | |
6338 *** Ispell can highlight the erroneous word even on non-window terminals. | |
6339 | |
6340 ** Changes to RefTeX mode | |
6341 | |
6342 RefTeX has been updated in order to make it more usable with very | |
6343 large projects (like a several volume math book). The parser has been | |
6344 re-written from scratch. To get maximum speed from RefTeX, check the | |
6345 section `Optimizations' in the manual. | |
6346 | |
6347 *** New recursive parser. | |
6348 | |
6349 The old version of RefTeX created a single large buffer containing the | |
6350 entire multifile document in order to parse the document. The new | |
6351 recursive parser scans the individual files. | |
6352 | |
6353 *** Parsing only part of a document. | |
6354 | |
6355 Reparsing of changed document parts can now be made faster by enabling | |
6356 partial scans. To use this feature, read the documentation string of | |
6357 the variable `reftex-enable-partial-scans' and set the variable to t. | |
6358 | |
6359 (setq reftex-enable-partial-scans t) | |
6360 | |
6361 *** Storing parsing information in a file. | |
6362 | |
6363 This can improve startup times considerably. To turn it on, use | |
6364 | |
6365 (setq reftex-save-parse-info t) | |
6366 | |
6367 *** Using multiple selection buffers | |
6368 | |
6369 If the creation of label selection buffers is too slow (this happens | |
6370 for large documents), you can reuse these buffers by setting | |
6371 | |
6372 (setq reftex-use-multiple-selection-buffers t) | |
6373 | |
6374 *** References to external documents. | |
6375 | |
6376 The LaTeX package `xr' allows to cross-reference labels in external | |
6377 documents. RefTeX can provide information about the external | |
6378 documents as well. To use this feature, set up the \externaldocument | |
6379 macros required by the `xr' package and rescan the document with | |
6380 RefTeX. The external labels can then be accessed with the `x' key in | |
6381 the selection buffer provided by `reftex-reference' (bound to `C-c )'). | |
6382 The `x' key also works in the table of contents buffer. | |
6383 | |
6384 *** Many more labeled LaTeX environments are recognized by default. | |
6385 | |
35680 | 6386 The built-in command list now covers all the standard LaTeX commands, |
30922 | 6387 and all of the major packages included in the LaTeX distribution. |
6388 | |
6389 Also, RefTeX now understands the \appendix macro and changes | |
6390 the enumeration of sections in the *toc* buffer accordingly. | |
6391 | |
6392 *** Mouse support for selection and *toc* buffers | |
6393 | |
6394 The mouse can now be used to select items in the selection and *toc* | |
6395 buffers. See also the new option `reftex-highlight-selection'. | |
6396 | |
6397 *** New keymaps for selection and table of contents modes. | |
6398 | |
6399 The selection processes for labels and citation keys, and the table of | |
6400 contents buffer now have their own keymaps: `reftex-select-label-map', | |
6401 `reftex-select-bib-map', `reftex-toc-map'. The selection processes | |
6402 have a number of new keys predefined. In particular, TAB lets you | |
6403 enter a label with completion. Check the on-the-fly help (press `?' | |
6404 at the selection prompt) or read the Info documentation to find out | |
6405 more. | |
6406 | |
6407 *** Support for the varioref package | |
6408 | |
6409 The `v' key in the label selection buffer toggles \ref versus \vref. | |
6410 | |
6411 *** New hooks | |
6412 | |
6413 Three new hooks can be used to redefine the way labels, references, | |
6414 and citations are created. These hooks are | |
6415 `reftex-format-label-function', `reftex-format-ref-function', | |
6416 `reftex-format-cite-function'. | |
6417 | |
6418 *** Citations outside LaTeX | |
6419 | |
6420 The command `reftex-citation' may also be used outside LaTeX (e.g. in | |
6421 a mail buffer). See the Info documentation for details. | |
6422 | |
6423 *** Short context is no longer fontified. | |
6424 | |
6425 The short context in the label menu no longer copies the | |
6426 fontification from the text in the buffer. If you prefer it to be | |
6427 fontified, use | |
6428 | |
6429 (setq reftex-refontify-context t) | |
6430 | |
6431 ** file-cache-minibuffer-complete now accepts a prefix argument. | |
6432 With a prefix argument, it does not try to do completion of | |
6433 the file name within its directory; it only checks for other | |
6434 directories that contain the same file name. | |
6435 | |
6436 Thus, given the file name Makefile, and assuming that a file | |
6437 Makefile.in exists in the same directory, ordinary | |
6438 file-cache-minibuffer-complete will try to complete Makefile to | |
6439 Makefile.in and will therefore never look for other directories that | |
6440 have Makefile. A prefix argument tells it not to look for longer | |
6441 names such as Makefile.in, so that instead it will look for other | |
6442 directories--just as if the name were already complete in its present | |
6443 directory. | |
6444 | |
6445 ** New modes and packages | |
6446 | |
6447 *** There is a new alternative major mode for Perl, Cperl mode. | |
6448 It has many more features than Perl mode, and some people prefer | |
6449 it, but some do not. | |
6450 | |
6451 *** There is a new major mode, M-x vhdl-mode, for editing files of VHDL | |
6452 code. | |
6453 | |
6454 *** M-x which-function-mode enables a minor mode that displays the | |
6455 current function name continuously in the mode line, as you move | |
6456 around in a buffer. | |
6457 | |
6458 Which Function mode is effective in major modes which support Imenu. | |
6459 | |
6460 *** Gametree is a major mode for editing game analysis trees. The author | |
6461 uses it for keeping notes about his postal Chess games, but it should | |
6462 be helpful for other two-player games as well, as long as they have an | |
6463 established system of notation similar to Chess. | |
6464 | |
6465 *** The new minor mode checkdoc-minor-mode provides Emacs Lisp | |
6466 documentation string checking for style and spelling. The style | |
6467 guidelines are found in the Emacs Lisp programming manual. | |
6468 | |
6469 *** The net-utils package makes some common networking features | |
6470 available in Emacs. Some of these functions are wrappers around | |
6471 system utilities (ping, nslookup, etc); others are implementations of | |
6472 simple protocols (finger, whois) in Emacs Lisp. There are also | |
6473 functions to make simple connections to TCP/IP ports for debugging and | |
6474 the like. | |
6475 | |
6476 *** highlight-changes-mode is a minor mode that uses colors to | |
6477 identify recently changed parts of the buffer text. | |
6478 | |
6479 *** The new package `midnight' lets you specify things to be done | |
6480 within Emacs at midnight--by default, kill buffers that you have not | |
6481 used in a considerable time. To use this feature, customize | |
6482 the user option `midnight-mode' to t. | |
6483 | |
6484 *** The file generic-x.el defines a number of simple major modes. | |
6485 | |
6486 apache-generic-mode: For Apache and NCSA httpd configuration files | |
6487 samba-generic-mode: Samba configuration files | |
6488 fvwm-generic-mode: For fvwm initialization files | |
6489 x-resource-generic-mode: For X resource files | |
6490 hosts-generic-mode: For hosts files (.rhosts, /etc/hosts, etc) | |
6491 mailagent-rules-generic-mode: For mailagent .rules files | |
6492 javascript-generic-mode: For JavaScript files | |
6493 vrml-generic-mode: For VRML files | |
6494 java-manifest-generic-mode: For Java MANIFEST files | |
6495 java-properties-generic-mode: For Java property files | |
6496 mailrc-generic-mode: For .mailrc files | |
6497 | |
6498 Platform-specific modes: | |
6499 | |
6500 prototype-generic-mode: For Solaris/Sys V prototype files | |
6501 pkginfo-generic-mode: For Solaris/Sys V pkginfo files | |
6502 alias-generic-mode: For C shell alias files | |
6503 inf-generic-mode: For MS-Windows INF files | |
6504 ini-generic-mode: For MS-Windows INI files | |
6505 reg-generic-mode: For MS-Windows Registry files | |
6506 bat-generic-mode: For MS-Windows BAT scripts | |
6507 rc-generic-mode: For MS-Windows Resource files | |
6508 rul-generic-mode: For InstallShield scripts | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6509 |
30922 | 6510 * Lisp changes in Emacs 20.3 since the Emacs Lisp Manual was published |
6511 | |
6512 ** If you want a Lisp file to be read in unibyte mode, | |
6513 use -*-unibyte: t;-*- on its first line. | |
6514 That will force Emacs to read that file in unibyte mode. | |
6515 Otherwise, the file will be loaded and byte-compiled in multibyte mode. | |
6516 | |
6517 Thus, each lisp file is read in a consistent way regardless of whether | |
6518 you started Emacs with --unibyte, so that a Lisp program gives | |
6519 consistent results regardless of how Emacs was started. | |
6520 | |
6521 ** The new function assoc-default is useful for searching an alist, | |
6522 and using a default value if the key is not found there. You can | |
6523 specify a comparison predicate, so this function is useful for | |
6524 searching comparing a string against an alist of regular expressions. | |
6525 | |
6526 ** The functions unibyte-char-to-multibyte and | |
6527 multibyte-char-to-unibyte convert between unibyte and multibyte | |
6528 character codes, in a way that is appropriate for the current language | |
6529 environment. | |
6530 | |
6531 ** The functions read-event, read-char and read-char-exclusive now | |
6532 take two optional arguments. PROMPT, if non-nil, specifies a prompt | |
6533 string. SUPPRESS-INPUT-METHOD, if non-nil, says to disable the | |
6534 current input method for reading this one event. | |
6535 | |
6536 ** Two new variables print-escape-nonascii and print-escape-multibyte | |
6537 now control whether to output certain characters as | |
6538 backslash-sequences. print-escape-nonascii applies to single-byte | |
6539 non-ASCII characters; print-escape-multibyte applies to multibyte | |
6540 characters. Both of these variables are used only when printing | |
6541 in readable fashion (prin1 uses them, princ does not). | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6542 |
30922 | 6543 * Lisp changes in Emacs 20.3 before the Emacs Lisp Manual was published |
6544 | |
6545 ** Compiled Emacs Lisp files made with the modified "MBSK" version | |
6546 of Emacs 20.2 do not work in Emacs 20.3. | |
6547 | |
6548 ** Buffer positions are now measured in characters, as they were | |
6549 in Emacs 19 and before. This means that (forward-char 1) | |
6550 always increases point by 1. | |
6551 | |
6552 The function chars-in-region now just subtracts its arguments. It is | |
6553 considered obsolete. The function char-boundary-p has been deleted. | |
6554 | |
6555 See below for additional changes relating to multibyte characters. | |
6556 | |
6557 ** defcustom, defface and defgroup now accept the keyword `:version'. | |
6558 Use this to specify in which version of Emacs a certain variable's | |
6559 default value changed. For example, | |
6560 | |
6561 (defcustom foo-max 34 "*Maximum number of foo's allowed." | |
6562 :type 'integer | |
6563 :group 'foo | |
6564 :version "20.3") | |
6565 | |
6566 (defgroup foo-group nil "The foo group." | |
6567 :version "20.3") | |
6568 | |
6569 If an entire new group is added or the variables in it have the | |
6570 default values changed, then just add a `:version' to that group. It | |
6571 is recommended that new packages added to the distribution contain a | |
6572 `:version' in the top level group. | |
6573 | |
6574 This information is used to control the customize-changed-options command. | |
6575 | |
6576 ** It is now an error to change the value of a symbol whose name | |
6577 starts with a colon--if it is interned in the standard obarray. | |
6578 | |
6579 However, setting such a symbol to its proper value, which is that | |
6580 symbol itself, is not an error. This is for the sake of programs that | |
6581 support previous Emacs versions by explicitly setting these variables | |
6582 to themselves. | |
6583 | |
6584 If you set the variable keyword-symbols-constant-flag to nil, | |
6585 this error is suppressed, and you can set these symbols to any | |
6586 values whatever. | |
6587 | |
6588 ** There is a new debugger command, R. | |
6589 It evaluates an expression like e, but saves the result | |
6590 in the buffer *Debugger-record*. | |
6591 | |
6592 ** Frame-local variables. | |
6593 | |
6594 You can now make a variable local to various frames. To do this, call | |
6595 the function make-variable-frame-local; this enables frames to have | |
6596 local bindings for that variable. | |
6597 | |
6598 These frame-local bindings are actually frame parameters: you create a | |
6599 frame-local binding in a specific frame by calling | |
6600 modify-frame-parameters and specifying the variable name as the | |
6601 parameter name. | |
6602 | |
6603 Buffer-local bindings take precedence over frame-local bindings. | |
6604 Thus, if the current buffer has a buffer-local binding, that binding is | |
6605 active; otherwise, if the selected frame has a frame-local binding, | |
6606 that binding is active; otherwise, the default binding is active. | |
6607 | |
6608 It would not be hard to implement window-local bindings, but it is not | |
6609 clear that this would be very useful; windows tend to come and go in a | |
6610 very transitory fashion, so that trying to produce any specific effect | |
6611 through a window-local binding would not be very robust. | |
6612 | |
6613 ** `sregexq' and `sregex' are two new functions for constructing | |
6614 "symbolic regular expressions." These are Lisp expressions that, when | |
6615 evaluated, yield conventional string-based regexps. The symbolic form | |
6616 makes it easier to construct, read, and maintain complex patterns. | |
6617 See the documentation in sregex.el. | |
6618 | |
6619 ** parse-partial-sexp's return value has an additional element which | |
6620 is used to pass information along if you pass it to another call to | |
6621 parse-partial-sexp, starting its scan where the first call ended. | |
6622 The contents of this field are not yet finalized. | |
6623 | |
6624 ** eval-region now accepts a fourth optional argument READ-FUNCTION. | |
6625 If it is non-nil, that function is used instead of `read'. | |
6626 | |
6627 ** unload-feature by default removes the feature's functions from | |
6628 known hooks to avoid trouble, but a package providing FEATURE can | |
6629 define a hook FEATURE-unload-hook to be run by unload-feature instead. | |
6630 | |
6631 ** read-from-minibuffer no longer returns the argument DEFAULT-VALUE | |
6632 when the user enters empty input. It now returns the null string, as | |
6633 it did in Emacs 19. The default value is made available in the | |
6634 history via M-n, but it is not applied here as a default. | |
6635 | |
6636 The other, more specialized minibuffer-reading functions continue to | |
6637 return the default value (not the null string) when the user enters | |
6638 empty input. | |
6639 | |
6640 ** The new variable read-buffer-function controls which routine to use | |
6641 for selecting buffers. For example, if you set this variable to | |
6642 `iswitchb-read-buffer', iswitchb will be used to read buffer names. | |
6643 Other functions can also be used if they accept the same arguments as | |
6644 `read-buffer' and return the selected buffer name as a string. | |
6645 | |
6646 ** The new function read-passwd reads a password from the terminal, | |
6647 echoing a period for each character typed. It takes three arguments: | |
6648 a prompt string, a flag which says "read it twice to make sure", and a | |
6649 default password to use if the user enters nothing. | |
6650 | |
6651 ** The variable fill-nobreak-predicate gives major modes a way to | |
6652 specify not to break a line at certain places. Its value is a | |
6653 function which is called with no arguments, with point located at the | |
6654 place where a break is being considered. If the function returns | |
6655 non-nil, then the line won't be broken there. | |
6656 | |
6657 ** window-end now takes an optional second argument, UPDATE. | |
6658 If this is non-nil, then the function always returns an accurate | |
6659 up-to-date value for the buffer position corresponding to the | |
6660 end of the window, even if this requires computation. | |
6661 | |
6662 ** other-buffer now takes an optional argument FRAME | |
6663 which specifies which frame's buffer list to use. | |
6664 If it is nil, that means use the selected frame's buffer list. | |
6665 | |
6666 ** The new variable buffer-display-time, always local in every buffer, | |
6667 holds the value of (current-time) as of the last time that a window | |
6668 was directed to display this buffer. | |
6669 | |
6670 ** It is now meaningful to compare two window-configuration objects | |
6671 with `equal'. Two window-configuration objects are equal if they | |
6672 describe equivalent arrangements of windows, in the same frame--in | |
6673 other words, if they would give the same results if passed to | |
6674 set-window-configuration. | |
6675 | |
6676 ** compare-window-configurations is a new function that compares two | |
6677 window configurations loosely. It ignores differences in saved buffer | |
6678 positions and scrolling, and considers only the structure and sizes of | |
6679 windows and the choice of buffers to display. | |
6680 | |
6681 ** The variable minor-mode-overriding-map-alist allows major modes to | |
6682 override the key bindings of a minor mode. The elements of this alist | |
6683 look like the elements of minor-mode-map-alist: (VARIABLE . KEYMAP). | |
6684 | |
6685 If the VARIABLE in an element of minor-mode-overriding-map-alist has a | |
6686 non-nil value, the paired KEYMAP is active, and totally overrides the | |
6687 map (if any) specified for the same variable in minor-mode-map-alist. | |
6688 | |
6689 minor-mode-overriding-map-alist is automatically local in all buffers, | |
6690 and it is meant to be set by major modes. | |
6691 | |
6692 ** The function match-string-no-properties is like match-string | |
6693 except that it discards all text properties from the result. | |
6694 | |
6695 ** The function load-average now accepts an optional argument | |
6696 USE-FLOATS. If it is non-nil, the load average values are returned as | |
6697 floating point numbers, rather than as integers to be divided by 100. | |
6698 | |
6699 ** The new variable temporary-file-directory specifies the directory | |
6700 to use for creating temporary files. The default value is determined | |
6701 in a reasonable way for your operating system; on GNU and Unix systems | |
6702 it is based on the TMP and TMPDIR environment variables. | |
6703 | |
6704 ** Menu changes | |
6705 | |
6706 *** easymenu.el now uses the new menu item format and supports the | |
6707 keywords :visible and :filter. The existing keyword :keys is now | |
6708 better supported. | |
6709 | |
6710 The variable `easy-menu-precalculate-equivalent-keybindings' controls | |
6711 a new feature which calculates keyboard equivalents for the menu when | |
6712 you define the menu. The default is t. If you rarely use menus, you | |
6713 can set the variable to nil to disable this precalculation feature; | |
6714 then the calculation is done only if you use the menu bar. | |
6715 | |
6716 *** A new format for menu items is supported. | |
6717 | |
6718 In a keymap, a key binding that has the format | |
6719 (STRING . REAL-BINDING) or (STRING HELP-STRING . REAL-BINDING) | |
6720 defines a menu item. Now a menu item definition may also be a list that | |
6721 starts with the symbol `menu-item'. | |
6722 | |
6723 The format is: | |
6724 (menu-item ITEM-NAME) or | |
6725 (menu-item ITEM-NAME REAL-BINDING . ITEM-PROPERTY-LIST) | |
6726 where ITEM-NAME is an expression which evaluates to the menu item | |
6727 string, and ITEM-PROPERTY-LIST has the form of a property list. | |
6728 The supported properties include | |
6729 | |
6730 :enable FORM Evaluate FORM to determine whether the | |
6731 item is enabled. | |
6732 :visible FORM Evaluate FORM to determine whether the | |
6733 item should appear in the menu. | |
6734 :filter FILTER-FN | |
6735 FILTER-FN is a function of one argument, | |
6736 which will be REAL-BINDING. | |
6737 It should return a binding to use instead. | |
6738 :keys DESCRIPTION | |
6739 DESCRIPTION is a string that describes an equivalent keyboard | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
6740 binding for REAL-BINDING. DESCRIPTION is expanded with |
30922 | 6741 `substitute-command-keys' before it is used. |
6742 :key-sequence KEY-SEQUENCE | |
6743 KEY-SEQUENCE is a key-sequence for an equivalent | |
6744 keyboard binding. | |
6745 :key-sequence nil | |
6746 This means that the command normally has no | |
6747 keyboard equivalent. | |
6748 :help HELP HELP is the extra help string (not currently used). | |
6749 :button (TYPE . SELECTED) | |
6750 TYPE is :toggle or :radio. | |
6751 SELECTED is a form, to be evaluated, and its | |
6752 value says whether this button is currently selected. | |
6753 | |
6754 Buttons are at the moment only simulated by prefixes in the menu. | |
6755 Eventually ordinary X-buttons may be supported. | |
6756 | |
6757 (menu-item ITEM-NAME) defines unselectable item. | |
6758 | |
6759 ** New event types | |
6760 | |
6761 *** The new event type `mouse-wheel' is generated by a wheel on a | |
6762 mouse (such as the MS Intellimouse). The event contains a delta that | |
6763 corresponds to the amount and direction that the wheel is rotated, | |
6764 which is typically used to implement a scroll or zoom. The format is: | |
6765 | |
6766 (mouse-wheel POSITION DELTA) | |
6767 | |
6768 where POSITION is a list describing the position of the event in the | |
6769 same format as a mouse-click event, and DELTA is a signed number | |
6770 indicating the number of increments by which the wheel was rotated. A | |
6771 negative DELTA indicates that the wheel was rotated backwards, towards | |
6772 the user, and a positive DELTA indicates that the wheel was rotated | |
6773 forward, away from the user. | |
6774 | |
6775 As of now, this event type is generated only on MS Windows. | |
6776 | |
6777 *** The new event type `drag-n-drop' is generated when a group of | |
6778 files is selected in an application outside of Emacs, and then dragged | |
6779 and dropped onto an Emacs frame. The event contains a list of | |
6780 filenames that were dragged and dropped, which are then typically | |
6781 loaded into Emacs. The format is: | |
6782 | |
6783 (drag-n-drop POSITION FILES) | |
6784 | |
6785 where POSITION is a list describing the position of the event in the | |
6786 same format as a mouse-click event, and FILES is the list of filenames | |
6787 that were dragged and dropped. | |
6788 | |
6789 As of now, this event type is generated only on MS Windows. | |
6790 | |
6791 ** Changes relating to multibyte characters. | |
6792 | |
6793 *** The variable enable-multibyte-characters is now read-only; | |
6794 any attempt to set it directly signals an error. The only way | |
6795 to change this value in an existing buffer is with set-buffer-multibyte. | |
6796 | |
6797 *** In a string constant, `\ ' now stands for "nothing at all". You | |
6798 can use it to terminate a hex escape which is followed by a character | |
6799 that could otherwise be read as part of the hex escape. | |
6800 | |
6801 *** String indices are now measured in characters, as they were | |
6802 in Emacs 19 and before. | |
6803 | |
6804 The function chars-in-string has been deleted. | |
6805 The function concat-chars has been renamed to `string'. | |
6806 | |
6807 *** The function set-buffer-multibyte sets the flag in the current | |
6808 buffer that says whether the buffer uses multibyte representation or | |
6809 unibyte representation. If the argument is nil, it selects unibyte | |
6810 representation. Otherwise it selects multibyte representation. | |
6811 | |
6812 This function does not change the contents of the buffer, viewed | |
6813 as a sequence of bytes. However, it does change the contents | |
6814 viewed as characters; a sequence of two bytes which is treated as | |
6815 one character when the buffer uses multibyte representation | |
6816 will count as two characters using unibyte representation. | |
6817 | |
6818 This function sets enable-multibyte-characters to record which | |
6819 representation is in use. It also adjusts various data in the buffer | |
6820 (including its markers, overlays and text properties) so that they are | |
6821 consistent with the new representation. | |
6822 | |
6823 *** string-make-multibyte takes a string and converts it to multibyte | |
6824 representation. Most of the time, you don't need to care | |
6825 about the representation, because Emacs converts when necessary; | |
6826 however, it makes a difference when you compare strings. | |
6827 | |
6828 The conversion of non-ASCII characters works by adding the value of | |
6829 nonascii-insert-offset to each character, or by translating them | |
6830 using the table nonascii-translation-table. | |
6831 | |
6832 *** string-make-unibyte takes a string and converts it to unibyte | |
6833 representation. Most of the time, you don't need to care about the | |
6834 representation, but it makes a difference when you compare strings. | |
6835 | |
6836 The conversion from multibyte to unibyte representation | |
6837 loses information; the only time Emacs performs it automatically | |
6838 is when inserting a multibyte string into a unibyte buffer. | |
6839 | |
6840 *** string-as-multibyte takes a string, and returns another string | |
6841 which contains the same bytes, but treats them as multibyte. | |
6842 | |
6843 *** string-as-unibyte takes a string, and returns another string | |
6844 which contains the same bytes, but treats them as unibyte. | |
6845 | |
6846 *** The new function compare-strings lets you compare | |
6847 portions of two strings. Unibyte strings are converted to multibyte, | |
6848 so that a unibyte string can match a multibyte string. | |
6849 You can specify whether to ignore case or not. | |
6850 | |
6851 *** assoc-ignore-case now uses compare-strings so that | |
6852 it can treat unibyte and multibyte strings as equal. | |
6853 | |
6854 *** Regular expression operations and buffer string searches now | |
6855 convert the search pattern to multibyte or unibyte to accord with the | |
6856 buffer or string being searched. | |
6857 | |
6858 One consequence is that you cannot always use \200-\377 inside of | |
6859 [...] to match all non-ASCII characters. This does still work when | |
6860 searching or matching a unibyte buffer or string, but not when | |
6861 searching or matching a multibyte string. Unfortunately, there is no | |
6862 obvious choice of syntax to use within [...] for that job. But, what | |
6863 you want is just to match all non-ASCII characters, the regular | |
6864 expression [^\0-\177] works for it. | |
6865 | |
6866 *** Structure of coding system changed. | |
6867 | |
6868 All coding systems (including aliases and subsidiaries) are named | |
6869 by symbols; the symbol's `coding-system' property is a vector | |
6870 which defines the coding system. Aliases share the same vector | |
6871 as the principal name, so that altering the contents of this | |
6872 vector affects the principal name and its aliases. You can define | |
6873 your own alias name of a coding system by the function | |
6874 define-coding-system-alias. | |
6875 | |
6876 The coding system definition includes a property list of its own. Use | |
6877 the new functions `coding-system-get' and `coding-system-put' to | |
6878 access such coding system properties as post-read-conversion, | |
6879 pre-write-conversion, character-translation-table-for-decode, | |
6880 character-translation-table-for-encode, mime-charset, and | |
6881 safe-charsets. For instance, (coding-system-get 'iso-latin-1 | |
6882 'mime-charset) gives the corresponding MIME-charset parameter | |
6883 `iso-8859-1'. | |
6884 | |
6885 Among the coding system properties listed above, safe-charsets is new. | |
6886 The value of this property is a list of character sets which this | |
6887 coding system can correctly encode and decode. For instance: | |
6888 (coding-system-get 'iso-latin-1 'safe-charsets) => (ascii latin-iso8859-1) | |
6889 | |
6890 Here, "correctly encode" means that the encoded character sets can | |
6891 also be handled safely by systems other than Emacs as far as they | |
6892 are capable of that coding system. Though, Emacs itself can encode | |
6893 the other character sets and read it back correctly. | |
6894 | |
6895 *** The new function select-safe-coding-system can be used to find a | |
6896 proper coding system for encoding the specified region or string. | |
6897 This function requires a user interaction. | |
6898 | |
6899 *** The new functions find-coding-systems-region and | |
6900 find-coding-systems-string are helper functions used by | |
6901 select-safe-coding-system. They return a list of all proper coding | |
6902 systems to encode a text in some region or string. If you don't want | |
6903 a user interaction, use one of these functions instead of | |
6904 select-safe-coding-system. | |
6905 | |
6906 *** The explicit encoding and decoding functions, such as | |
6907 decode-coding-region and encode-coding-string, now set | |
6908 last-coding-system-used to reflect the actual way encoding or decoding | |
6909 was done. | |
6910 | |
6911 *** The new function detect-coding-with-language-environment can be | |
6912 used to detect a coding system of text according to priorities of | |
6913 coding systems used by some specific language environment. | |
6914 | |
6915 *** The functions detect-coding-region and detect-coding-string always | |
6916 return a list if the arg HIGHEST is nil. Thus, if only ASCII | |
6917 characters are found, they now return a list of single element | |
6918 `undecided' or its subsidiaries. | |
6919 | |
6920 *** The new functions coding-system-change-eol-conversion and | |
6921 coding-system-change-text-conversion can be used to get a different | |
6922 coding system than what specified only in how end-of-line or text is | |
6923 converted. | |
6924 | |
6925 *** The new function set-selection-coding-system can be used to set a | |
6926 coding system for communicating with other X clients. | |
6927 | |
6928 *** The function `map-char-table' now passes as argument only valid | |
6929 character codes, plus generic characters that stand for entire | |
6930 character sets or entire subrows of a character set. In other words, | |
6931 each time `map-char-table' calls its FUNCTION argument, the key value | |
6932 either will be a valid individual character code, or will stand for a | |
6933 range of characters. | |
6934 | |
6935 *** The new function `char-valid-p' can be used for checking whether a | |
6936 Lisp object is a valid character code or not. | |
6937 | |
6938 *** The new function `charset-after' returns a charset of a character | |
6939 in the current buffer at position POS. | |
6940 | |
6941 *** Input methods are now implemented using the variable | |
6942 input-method-function. If this is non-nil, its value should be a | |
6943 function; then, whenever Emacs reads an input event that is a printing | |
6944 character with no modifier bits, it calls that function, passing the | |
6945 event as an argument. Often this function will read more input, first | |
6946 binding input-method-function to nil. | |
6947 | |
6948 The return value should be a list of the events resulting from input | |
6949 method processing. These events will be processed sequentially as | |
6950 input, before resorting to unread-command-events. Events returned by | |
6951 the input method function are not passed to the input method function, | |
6952 not even if they are printing characters with no modifier bits. | |
6953 | |
6954 The input method function is not called when reading the second and | |
6955 subsequent events of a key sequence. | |
6956 | |
6957 *** You can customize any language environment by using | |
6958 set-language-environment-hook and exit-language-environment-hook. | |
6959 | |
6960 The hook `exit-language-environment-hook' should be used to undo | |
6961 customizations that you made with set-language-environment-hook. For | |
6962 instance, if you set up a special key binding for a specific language | |
6963 environment by set-language-environment-hook, you should set up | |
6964 exit-language-environment-hook to restore the normal key binding. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6965 |
30922 | 6966 * Changes in Emacs 20.1 |
6967 | |
6968 ** Emacs has a new facility for customization of its many user | |
6969 options. It is called M-x customize. With this facility you can look | |
6970 at the many user options in an organized way; they are grouped into a | |
6971 tree structure. | |
6972 | |
6973 M-x customize also knows what sorts of values are legitimate for each | |
6974 user option and ensures that you don't use invalid values. | |
6975 | |
6976 With M-x customize, you can set options either for the present Emacs | |
6977 session or permanently. (Permanent settings are stored automatically | |
6978 in your .emacs file.) | |
6979 | |
6980 ** Scroll bars are now on the left side of the window. | |
6981 You can change this with M-x customize-option scroll-bar-mode. | |
6982 | |
6983 ** The mode line no longer includes the string `Emacs'. | |
6984 This makes more space in the mode line for other information. | |
6985 | |
6986 ** When you select a region with the mouse, it is highlighted | |
6987 immediately afterward. At that time, if you type the DELETE key, it | |
6988 kills the region. | |
6989 | |
6990 The BACKSPACE key, and the ASCII character DEL, do not do this; they | |
6991 delete the character before point, as usual. | |
6992 | |
6993 ** In an incremental search the whole current match is highlighted | |
6994 on terminals which support this. (You can disable this feature | |
6995 by setting search-highlight to nil.) | |
6996 | |
6997 ** In the minibuffer, in some cases, you can now use M-n to | |
6998 insert the default value into the minibuffer as text. In effect, | |
6999 the default value (if the minibuffer routines know it) is tacked | |
7000 onto the history "in the future". (The more normal use of the | |
7001 history list is to use M-p to insert minibuffer input used in the | |
7002 past.) | |
7003 | |
7004 ** In Text mode, now only blank lines separate paragraphs. | |
7005 This makes it possible to get the full benefit of Adaptive Fill mode | |
7006 in Text mode, and other modes derived from it (such as Mail mode). | |
7007 TAB in Text mode now runs the command indent-relative; this | |
7008 makes a practical difference only when you use indented paragraphs. | |
7009 | |
7010 As a result, the old Indented Text mode is now identical to Text mode, | |
7011 and is an alias for it. | |
7012 | |
7013 If you want spaces at the beginning of a line to start a paragraph, | |
7014 use the new mode, Paragraph Indent Text mode. | |
7015 | |
7016 ** Scrolling changes | |
7017 | |
7018 *** Scroll commands to scroll a whole screen now preserve the screen | |
7019 position of the cursor, if scroll-preserve-screen-position is non-nil. | |
7020 | |
7021 In this mode, if you scroll several screens back and forth, finishing | |
7022 on the same screen where you started, the cursor goes back to the line | |
7023 where it started. | |
7024 | |
7025 *** If you set scroll-conservatively to a small number, then when you | |
7026 move point a short distance off the screen, Emacs will scroll the | |
7027 screen just far enough to bring point back on screen, provided that | |
7028 does not exceed `scroll-conservatively' lines. | |
7029 | |
7030 *** The new variable scroll-margin says how close point can come to the | |
7031 top or bottom of a window. It is a number of screen lines; if point | |
7032 comes within that many lines of the top or bottom of the window, Emacs | |
7033 recenters the window. | |
7034 | |
7035 ** International character set support (MULE) | |
7036 | |
7037 Emacs now supports a wide variety of international character sets, | |
7038 including European variants of the Latin alphabet, as well as Chinese, | |
7039 Devanagari (Hindi and Marathi), Ethiopian, Greek, IPA, Japanese, | |
7040 Korean, Lao, Russian, Thai, Tibetan, and Vietnamese scripts. These | |
7041 features have been merged from the modified version of Emacs known as | |
7042 MULE (for "MULti-lingual Enhancement to GNU Emacs") | |
7043 | |
7044 Users of these scripts have established many more-or-less standard | |
7045 coding systems for storing files. Emacs uses a single multibyte | |
7046 character encoding within Emacs buffers; it can translate from a wide | |
7047 variety of coding systems when reading a file and can translate back | |
7048 into any of these coding systems when saving a file. | |
7049 | |
7050 Keyboards, even in the countries where these character sets are used, | |
7051 generally don't have keys for all the characters in them. So Emacs | |
7052 supports various "input methods", typically one for each script or | |
7053 language, to make it possible to type them. | |
7054 | |
7055 The Emacs internal multibyte encoding represents a non-ASCII | |
7056 character as a sequence of bytes in the range 0200 through 0377. | |
7057 | |
7058 The new prefix key C-x RET is used for commands that pertain | |
7059 to multibyte characters, coding systems, and input methods. | |
7060 | |
7061 You can disable multibyte character support as follows: | |
7062 | |
7063 (setq-default enable-multibyte-characters nil) | |
7064 | |
7065 Calling the function standard-display-european turns off multibyte | |
7066 characters, unless you specify a non-nil value for the second | |
7067 argument, AUTO. This provides compatibility for people who are | |
7068 already using standard-display-european to continue using unibyte | |
7069 characters for their work until they want to change. | |
7070 | |
7071 *** Input methods | |
7072 | |
7073 An input method is a kind of character conversion which is designed | |
7074 specifically for interactive input. In Emacs, typically each language | |
7075 has its own input method (though sometimes several languages which use | |
7076 the same characters can share one input method). Some languages | |
7077 support several input methods. | |
7078 | |
7079 The simplest kind of input method works by mapping ASCII letters into | |
7080 another alphabet. This is how the Greek and Russian input methods | |
7081 work. | |
7082 | |
7083 A more powerful technique is composition: converting sequences of | |
7084 characters into one letter. Many European input methods use | |
7085 composition to produce a single non-ASCII letter from a sequence which | |
7086 consists of a letter followed by diacritics. For example, a' is one | |
7087 sequence of two characters that might be converted into a single | |
7088 letter. | |
7089 | |
7090 The input methods for syllabic scripts typically use mapping followed | |
7091 by conversion. The input methods for Thai and Korean work this way. | |
7092 First, letters are mapped into symbols for particular sounds or tone | |
7093 marks; then, sequences of these which make up a whole syllable are | |
7094 mapped into one syllable sign--most often a "composite character". | |
7095 | |
7096 None of these methods works very well for Chinese and Japanese, so | |
7097 they are handled specially. First you input a whole word using | |
7098 phonetic spelling; then, after the word is in the buffer, Emacs | |
7099 converts it into one or more characters using a large dictionary. | |
7100 | |
7101 Since there is more than one way to represent a phonetically spelled | |
7102 word using Chinese characters, Emacs can only guess which one to use; | |
7103 typically these input methods give you a way to say "guess again" if | |
7104 the first guess is wrong. | |
7105 | |
7106 *** The command C-x RET m (toggle-enable-multibyte-characters) | |
7107 turns multibyte character support on or off for the current buffer. | |
7108 | |
7109 If multibyte character support is turned off in a buffer, then each | |
7110 byte is a single character, even codes 0200 through 0377--exactly as | |
7111 they did in Emacs 19.34. This includes the features for support for | |
7112 the European characters, ISO Latin-1 and ISO Latin-2. | |
7113 | |
7114 However, there is no need to turn off multibyte character support to | |
7115 use ISO Latin-1 or ISO Latin-2; the Emacs multibyte character set | |
7116 includes all the characters in these character sets, and Emacs can | |
7117 translate automatically to and from either one. | |
7118 | |
7119 *** Visiting a file in unibyte mode. | |
7120 | |
7121 Turning off multibyte character support in the buffer after visiting a | |
7122 file with multibyte code conversion will display the multibyte | |
7123 sequences already in the buffer, byte by byte. This is probably not | |
7124 what you want. | |
7125 | |
7126 If you want to edit a file of unibyte characters (Latin-1, for | |
7127 example), you can do it by specifying `no-conversion' as the coding | |
7128 system when reading the file. This coding system also turns off | |
7129 multibyte characters in that buffer. | |
7130 | |
7131 If you turn off multibyte character support entirely, this turns off | |
7132 character conversion as well. | |
7133 | |
7134 *** Displaying international characters on X Windows. | |
7135 | |
7136 A font for X typically displays just one alphabet or script. | |
7137 Therefore, displaying the entire range of characters Emacs supports | |
7138 requires using many fonts. | |
7139 | |
7140 Therefore, Emacs now supports "fontsets". Each fontset is a | |
7141 collection of fonts, each assigned to a range of character codes. | |
7142 | |
7143 A fontset has a name, like a font. Individual fonts are defined by | |
7144 the X server; fontsets are defined within Emacs itself. But once you | |
7145 have defined a fontset, you can use it in a face or a frame just as | |
7146 you would use a font. | |
7147 | |
7148 If a fontset specifies no font for a certain character, or if it | |
7149 specifies a font that does not exist on your system, then it cannot | |
7150 display that character. It will display an empty box instead. | |
7151 | |
7152 The fontset height and width are determined by the ASCII characters | |
7153 (that is, by the font in the fontset which is used for ASCII | |
41055
ff0394a304bd
Remove the description of variabel `highlight-wrong-size-font'.
Pavel Janík <Pavel@Janik.cz>
parents:
40973
diff
changeset
|
7154 characters). |
30922 | 7155 |
7156 *** Defining fontsets. | |
7157 | |
7158 Emacs does not use any fontset by default. Its default font is still | |
7159 chosen as in previous versions. You can tell Emacs to use a fontset | |
7160 with the `-fn' option or the `Font' X resource. | |
7161 | |
7162 Emacs creates a standard fontset automatically according to the value | |
7163 of standard-fontset-spec. This fontset's short name is | |
7164 `fontset-standard'. Bold, italic, and bold-italic variants of the | |
7165 standard fontset are created automatically. | |
7166 | |
7167 If you specify a default ASCII font with the `Font' resource or `-fn' | |
7168 argument, a fontset is generated from it. This works by replacing the | |
7169 FOUNDARY, FAMILY, ADD_STYLE, and AVERAGE_WIDTH fields of the font name | |
7170 with `*' then using this to specify a fontset. This fontset's short | |
7171 name is `fontset-startup'. | |
7172 | |
7173 Emacs checks resources of the form Fontset-N where N is 0, 1, 2... | |
7174 The resource value should have this form: | |
7175 FONTSET-NAME, [CHARSET-NAME:FONT-NAME]... | |
7176 FONTSET-NAME should have the form of a standard X font name, except: | |
7177 * most fields should be just the wild card "*". | |
7178 * the CHARSET_REGISTRY field should be "fontset" | |
7179 * the CHARSET_ENCODING field can be any nickname of the fontset. | |
7180 The construct CHARSET-NAME:FONT-NAME can be repeated any number | |
7181 of times; each time specifies the font for one character set. | |
35863
534be6e166a6
Yet another bunch of typo fizes from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35862
diff
changeset
|
7182 CHARSET-NAME should be the name of a character set, and FONT-NAME |
534be6e166a6
Yet another bunch of typo fizes from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35862
diff
changeset
|
7183 should specify an actual font to use for that character set. |
30922 | 7184 |
7185 Each of these fontsets has an alias which is made from the | |
7186 last two font name fields, CHARSET_REGISTRY and CHARSET_ENCODING. | |
7187 You can refer to the fontset by that alias or by its full name. | |
7188 | |
7189 For any character sets that you don't mention, Emacs tries to choose a | |
7190 font by substituting into FONTSET-NAME. For instance, with the | |
7191 following resource, | |
7192 Emacs*Fontset-0: -*-fixed-medium-r-normal-*-24-*-*-*-*-*-fontset-24 | |
7193 the font for ASCII is generated as below: | |
7194 -*-fixed-medium-r-normal-*-24-*-ISO8859-1 | |
7195 Here is the substitution rule: | |
7196 Change CHARSET_REGISTRY and CHARSET_ENCODING to that of the charset | |
7197 defined in the variable x-charset-registries. For instance, ASCII has | |
7198 the entry (ascii . "ISO8859-1") in this variable. Then, reduce | |
7199 sequences of wild cards -*-...-*- with a single wildcard -*-. | |
7200 (This is to prevent use of auto-scaled fonts.) | |
7201 | |
7202 The function which processes the fontset resource value to create the | |
7203 fontset is called create-fontset-from-fontset-spec. You can also call | |
7204 that function explicitly to create a fontset. | |
7205 | |
7206 With the X resource Emacs.Font, you can specify a fontset name just | |
7207 like an actual font name. But be careful not to specify a fontset | |
7208 name in a wildcard resource like Emacs*Font--that tries to specify the | |
7209 fontset for other purposes including menus, and they cannot handle | |
7210 fontsets. | |
7211 | |
7212 *** The command M-x set-language-environment sets certain global Emacs | |
7213 defaults for a particular choice of language. | |
7214 | |
7215 Selecting a language environment typically specifies a default input | |
7216 method and which coding systems to recognize automatically when | |
7217 visiting files. However, it does not try to reread files you have | |
7218 already visited; the text in those buffers is not affected. The | |
7219 language environment may also specify a default choice of coding | |
7220 system for new files that you create. | |
7221 | |
7222 It makes no difference which buffer is current when you use | |
7223 set-language-environment, because these defaults apply globally to the | |
7224 whole Emacs session. | |
7225 | |
7226 For example, M-x set-language-environment RET Latin-1 RET | |
7227 chooses the Latin-1 character set. In the .emacs file, you can do this | |
7228 with (set-language-environment "Latin-1"). | |
7229 | |
7230 *** The command C-x RET f (set-buffer-file-coding-system) | |
7231 specifies the file coding system for the current buffer. This | |
7232 specifies what sort of character code translation to do when saving | |
7233 the file. As an argument, you must specify the name of one of the | |
7234 coding systems that Emacs supports. | |
7235 | |
7236 *** The command C-x RET c (universal-coding-system-argument) | |
7237 lets you specify a coding system when you read or write a file. | |
7238 This command uses the minibuffer to read a coding system name. | |
7239 After you exit the minibuffer, the specified coding system | |
7240 is used for *the immediately following command*. | |
7241 | |
7242 So if the immediately following command is a command to read or | |
7243 write a file, it uses the specified coding system for that file. | |
7244 | |
7245 If the immediately following command does not use the coding system, | |
7246 then C-x RET c ultimately has no effect. | |
7247 | |
7248 For example, C-x RET c iso-8859-1 RET C-x C-f temp RET | |
7249 visits the file `temp' treating it as ISO Latin-1. | |
7250 | |
7251 *** You can specify the coding system for a file using the -*- | |
7252 construct. Include `coding: CODINGSYSTEM;' inside the -*-...-*- | |
7253 to specify use of coding system CODINGSYSTEM. You can also | |
7254 specify the coding system in a local variable list at the end | |
7255 of the file. | |
7256 | |
7257 *** The command C-x RET t (set-terminal-coding-system) specifies | |
7258 the coding system for terminal output. If you specify a character | |
7259 code for terminal output, all characters output to the terminal are | |
7260 translated into that character code. | |
7261 | |
7262 This feature is useful for certain character-only terminals built in | |
7263 various countries to support the languages of those countries. | |
7264 | |
7265 By default, output to the terminal is not translated at all. | |
7266 | |
7267 *** The command C-x RET k (set-keyboard-coding-system) specifies | |
7268 the coding system for keyboard input. | |
7269 | |
7270 Character code translation of keyboard input is useful for terminals | |
7271 with keys that send non-ASCII graphic characters--for example, | |
7272 some terminals designed for ISO Latin-1 or subsets of it. | |
7273 | |
7274 By default, keyboard input is not translated at all. | |
7275 | |
7276 Character code translation of keyboard input is similar to using an | |
7277 input method, in that both define sequences of keyboard input that | |
7278 translate into single characters. However, input methods are designed | |
7279 to be convenient for interactive use, while the code translations are | |
7280 designed to work with terminals. | |
7281 | |
7282 *** The command C-x RET p (set-buffer-process-coding-system) | |
7283 specifies the coding system for input and output to a subprocess. | |
7284 This command applies to the current buffer; normally, each subprocess | |
7285 has its own buffer, and thus you can use this command to specify | |
7286 translation to and from a particular subprocess by giving the command | |
7287 in the corresponding buffer. | |
7288 | |
7289 By default, process input and output are not translated at all. | |
7290 | |
7291 *** The variable file-name-coding-system specifies the coding system | |
7292 to use for encoding file names before operating on them. | |
7293 It is also used for decoding file names obtained from the system. | |
7294 | |
7295 *** The command C-\ (toggle-input-method) activates or deactivates | |
7296 an input method. If no input method has been selected before, the | |
7297 command prompts for you to specify the language and input method you | |
7298 want to use. | |
7299 | |
7300 C-u C-\ (select-input-method) lets you switch to a different input | |
7301 method. C-h C-\ (or C-h I) describes the current input method. | |
7302 | |
7303 *** Some input methods remap the keyboard to emulate various keyboard | |
7304 layouts commonly used for particular scripts. How to do this | |
7305 remapping properly depends on your actual keyboard layout. To specify | |
7306 which layout your keyboard has, use M-x quail-set-keyboard-layout. | |
7307 | |
7308 *** The command C-h C (describe-coding-system) displays | |
7309 the coding systems currently selected for various purposes, plus | |
7310 related information. | |
7311 | |
7312 *** The command C-h h (view-hello-file) displays a file called | |
7313 HELLO, which has examples of text in many languages, using various | |
7314 scripts. | |
7315 | |
7316 *** The command C-h L (describe-language-support) displays | |
7317 information about the support for a particular language. | |
7318 You specify the language as an argument. | |
7319 | |
7320 *** The mode line now contains a letter or character that identifies | |
7321 the coding system used in the visited file. It normally follows the | |
7322 first dash. | |
7323 | |
7324 A dash indicates the default state of affairs: no code conversion | |
7325 (except CRLF => newline if appropriate). `=' means no conversion | |
7326 whatsoever. The ISO 8859 coding systems are represented by digits | |
7327 1 through 9. Other coding systems are represented by letters: | |
7328 | |
7329 A alternativnyj (Russian) | |
7330 B big5 (Chinese) | |
7331 C cn-gb-2312 (Chinese) | |
7332 C iso-2022-cn (Chinese) | |
7333 D in-is13194-devanagari (Indian languages) | |
7334 E euc-japan (Japanese) | |
7335 I iso-2022-cjk or iso-2022-ss2 (Chinese, Japanese, Korean) | |
7336 J junet (iso-2022-7) or old-jis (iso-2022-jp-1978-irv) (Japanese) | |
7337 K euc-korea (Korean) | |
7338 R koi8 (Russian) | |
7339 Q tibetan | |
7340 S shift_jis (Japanese) | |
7341 T lao | |
7342 T tis620 (Thai) | |
7343 V viscii or vscii (Vietnamese) | |
7344 i iso-2022-lock (Chinese, Japanese, Korean) | |
7345 k iso-2022-kr (Korean) | |
7346 v viqr (Vietnamese) | |
7347 z hz (Chinese) | |
7348 | |
7349 When you are using a character-only terminal (not a window system), | |
7350 two additional characters appear in between the dash and the file | |
7351 coding system. These two characters describe the coding system for | |
7352 keyboard input, and the coding system for terminal output. | |
7353 | |
7354 *** The new variable rmail-file-coding-system specifies the code | |
7355 conversion to use for RMAIL files. The default value is nil. | |
7356 | |
7357 When you read mail with Rmail, each message is decoded automatically | |
7358 into Emacs' internal format. This has nothing to do with | |
7359 rmail-file-coding-system. That variable controls reading and writing | |
7360 Rmail files themselves. | |
7361 | |
7362 *** The new variable sendmail-coding-system specifies the code | |
7363 conversion for outgoing mail. The default value is nil. | |
7364 | |
7365 Actually, there are three different ways of specifying the coding system | |
7366 for sending mail: | |
7367 | |
7368 - If you use C-x RET f in the mail buffer, that takes priority. | |
7369 - Otherwise, if you set sendmail-coding-system non-nil, that specifies it. | |
7370 - Otherwise, the default coding system for new files is used, | |
7371 if that is non-nil. That comes from your language environment. | |
7372 - Otherwise, Latin-1 is used. | |
7373 | |
7374 *** The command C-h t (help-with-tutorial) accepts a prefix argument | |
7375 to specify the language for the tutorial file. Currently, English, | |
7376 Japanese, Korean and Thai are supported. We welcome additional | |
7377 translations. | |
7378 | |
7379 ** An easy new way to visit a file with no code or format conversion | |
7380 of any kind: Use M-x find-file-literally. There is also a command | |
7381 insert-file-literally which inserts a file into the current buffer | |
7382 without any conversion. | |
7383 | |
7384 ** C-q's handling of octal character codes is changed. | |
7385 You can now specify any number of octal digits. | |
7386 RET terminates the digits and is discarded; | |
7387 any other non-digit terminates the digits and is then used as input. | |
7388 | |
7389 ** There are new commands for looking up Info documentation for | |
7390 functions, variables and file names used in your programs. | |
7391 | |
7392 Type M-x info-lookup-symbol to look up a symbol in the buffer at point. | |
7393 Type M-x info-lookup-file to look up a file in the buffer at point. | |
7394 | |
7395 Precisely which Info files are used to look it up depends on the major | |
7396 mode. For example, in C mode, the GNU libc manual is used. | |
7397 | |
7398 ** M-TAB in most programming language modes now runs the command | |
7399 complete-symbol. This command performs completion on the symbol name | |
7400 in the buffer before point. | |
7401 | |
7402 With a numeric argument, it performs completion based on the set of | |
7403 symbols documented in the Info files for the programming language that | |
7404 you are using. | |
7405 | |
7406 With no argument, it does completion based on the current tags tables, | |
7407 just like the old binding of M-TAB (complete-tag). | |
7408 | |
7409 ** File locking works with NFS now. | |
7410 | |
7411 The lock file for FILENAME is now a symbolic link named .#FILENAME, | |
7412 in the same directory as FILENAME. | |
7413 | |
7414 This means that collision detection between two different machines now | |
7415 works reasonably well; it also means that no file server or directory | |
7416 can become a bottleneck. | |
7417 | |
7418 The new method does have drawbacks. It means that collision detection | |
7419 does not operate when you edit a file in a directory where you cannot | |
7420 create new files. Collision detection also doesn't operate when the | |
7421 file server does not support symbolic links. But these conditions are | |
7422 rare, and the ability to have collision detection while using NFS is | |
7423 so useful that the change is worth while. | |
7424 | |
7425 When Emacs or a system crashes, this may leave behind lock files which | |
7426 are stale. So you may occasionally get warnings about spurious | |
7427 collisions. When you determine that the collision is spurious, just | |
7428 tell Emacs to go ahead anyway. | |
7429 | |
7430 ** If you wish to use Show Paren mode to display matching parentheses, | |
7431 it is no longer sufficient to load paren.el. Instead you must call | |
7432 show-paren-mode. | |
7433 | |
7434 ** If you wish to use Delete Selection mode to replace a highlighted | |
7435 selection when you insert new text, it is no longer sufficient to load | |
7436 delsel.el. Instead you must call the function delete-selection-mode. | |
7437 | |
7438 ** If you wish to use Partial Completion mode to complete partial words | |
7439 within symbols or filenames, it is no longer sufficient to load | |
7440 complete.el. Instead you must call the function partial-completion-mode. | |
7441 | |
7442 ** If you wish to use uniquify to rename buffers for you, | |
7443 it is no longer sufficient to load uniquify.el. You must also | |
7444 set uniquify-buffer-name-style to one of the non-nil legitimate values. | |
7445 | |
7446 ** Changes in View mode. | |
7447 | |
7448 *** Several new commands are available in View mode. | |
7449 Do H in view mode for a list of commands. | |
7450 | |
7451 *** There are two new commands for entering View mode: | |
7452 view-file-other-frame and view-buffer-other-frame. | |
7453 | |
7454 *** Exiting View mode does a better job of restoring windows to their | |
7455 previous state. | |
7456 | |
7457 *** New customization variable view-scroll-auto-exit. If non-nil, | |
7458 scrolling past end of buffer makes view mode exit. | |
7459 | |
7460 *** New customization variable view-exits-all-viewing-windows. If | |
7461 non-nil, view-mode will at exit restore all windows viewing buffer, | |
7462 not just the selected window. | |
7463 | |
7464 *** New customization variable view-read-only. If non-nil, visiting a | |
7465 read-only file automatically enters View mode, and toggle-read-only | |
7466 turns View mode on or off. | |
7467 | |
7468 *** New customization variable view-remove-frame-by-deleting controls | |
7469 how to remove a not needed frame at view mode exit. If non-nil, | |
7470 delete the frame, if nil make an icon of it. | |
7471 | |
7472 ** C-x v l, the command to print a file's version control log, | |
7473 now positions point at the entry for the file's current branch version. | |
7474 | |
7475 ** C-x v =, the command to compare a file with the last checked-in version, | |
7476 has a new feature. If the file is currently not locked, so that it is | |
7477 presumably identical to the last checked-in version, the command now asks | |
7478 which version to compare with. | |
7479 | |
7480 ** When using hideshow.el, incremental search can temporarily show hidden | |
7481 blocks if a match is inside the block. | |
7482 | |
7483 The block is hidden again if the search is continued and the next match | |
7484 is outside the block. By customizing the variable | |
7485 isearch-hide-immediately you can choose to hide all the temporarily | |
7486 shown blocks only when exiting from incremental search. | |
7487 | |
7488 By customizing the variable hs-isearch-open you can choose what kind | |
7489 of blocks to temporarily show during isearch: comment blocks, code | |
7490 blocks, all of them or none. | |
7491 | |
7492 ** The new command C-x 4 0 (kill-buffer-and-window) kills the | |
7493 current buffer and deletes the selected window. It asks for | |
7494 confirmation first. | |
7495 | |
7496 ** C-x C-w, which saves the buffer into a specified file name, | |
7497 now changes the major mode according to that file name. | |
7498 However, the mode will not be changed if | |
7499 (1) a local variables list or the `-*-' line specifies a major mode, or | |
7500 (2) the current major mode is a "special" mode, | |
7501 not suitable for ordinary files, or | |
7502 (3) the new file name does not particularly specify any mode. | |
7503 | |
7504 This applies to M-x set-visited-file-name as well. | |
7505 | |
7506 However, if you set change-major-mode-with-file-name to nil, then | |
7507 these commands do not change the major mode. | |
7508 | |
7509 ** M-x occur changes. | |
7510 | |
7511 *** If the argument to M-x occur contains upper case letters, | |
7512 it performs a case-sensitive search. | |
7513 | |
7514 *** In the *Occur* buffer made by M-x occur, | |
7515 if you type g or M-x revert-buffer, this repeats the search | |
7516 using the same regular expression and the same buffer as before. | |
7517 | |
7518 ** In Transient Mark mode, the region in any one buffer is highlighted | |
7519 in just one window at a time. At first, it is highlighted in the | |
7520 window where you set the mark. The buffer's highlighting remains in | |
7521 that window unless you select to another window which shows the same | |
7522 buffer--then the highlighting moves to that window. | |
7523 | |
7524 ** The feature to suggest key bindings when you use M-x now operates | |
7525 after the command finishes. The message suggesting key bindings | |
7526 appears temporarily in the echo area. The previous echo area contents | |
7527 come back after a few seconds, in case they contain useful information. | |
7528 | |
7529 ** Each frame now independently records the order for recently | |
7530 selected buffers, so that the default for C-x b is now based on the | |
7531 buffers recently selected in the selected frame. | |
7532 | |
7533 ** Outline mode changes. | |
7534 | |
7535 *** Outline mode now uses overlays (this is the former noutline.el). | |
7536 | |
7537 *** Incremental searches skip over invisible text in Outline mode. | |
7538 | |
7539 ** When a minibuffer window is active but not the selected window, if | |
7540 you try to use the minibuffer, you used to get a nested minibuffer. | |
7541 Now, this not only gives an error, it also cancels the minibuffer that | |
7542 was already active. | |
7543 | |
7544 The motive for this change is so that beginning users do not | |
7545 unknowingly move away from minibuffers, leaving them active, and then | |
7546 get confused by it. | |
7547 | |
7548 If you want to be able to have recursive minibuffers, you must | |
7549 set enable-recursive-minibuffers to non-nil. | |
7550 | |
7551 ** Changes in dynamic abbrevs. | |
7552 | |
7553 *** Expanding dynamic abbrevs with M-/ is now smarter about case | |
7554 conversion. If the expansion has mixed case not counting the first | |
7555 character, and the abbreviation matches the beginning of the expansion | |
7556 including case, then the expansion is copied verbatim. | |
7557 | |
7558 The expansion is also copied verbatim if the abbreviation itself has | |
7559 mixed case. And using SPC M-/ to copy an additional word always | |
7560 copies it verbatim except when the previous copied word is all caps. | |
7561 | |
7562 *** The values of `dabbrev-case-replace' and `dabbrev-case-fold-search' | |
7563 are no longer Lisp expressions. They have simply three possible | |
7564 values. | |
7565 | |
7566 `dabbrev-case-replace' has these three values: nil (don't preserve | |
7567 case), t (do), or `case-replace' (do like M-x query-replace). | |
7568 `dabbrev-case-fold-search' has these three values: nil (don't ignore | |
7569 case), t (do), or `case-fold-search' (do like search). | |
7570 | |
7571 ** Minibuffer history lists are truncated automatically now to a | |
7572 certain length. The variable history-length specifies how long they | |
7573 can be. The default value is 30. | |
7574 | |
7575 ** Changes in Mail mode. | |
7576 | |
7577 *** The key C-x m no longer runs the `mail' command directly. | |
7578 Instead, it runs the command `compose-mail', which invokes the mail | |
7579 composition mechanism you have selected with the variable | |
7580 `mail-user-agent'. The default choice of user agent is | |
7581 `sendmail-user-agent', which gives behavior compatible with the old | |
7582 behavior. | |
7583 | |
7584 C-x 4 m now runs compose-mail-other-window, and C-x 5 m runs | |
7585 compose-mail-other-frame. | |
7586 | |
7587 *** While composing a reply to a mail message, from Rmail, you can use | |
7588 the command C-c C-r to cite just the region from the message you are | |
7589 replying to. This copies the text which is the selected region in the | |
7590 buffer that shows the original message. | |
7591 | |
7592 *** The command C-c C-i inserts a file at the end of the message, | |
7593 with separator lines around the contents. | |
7594 | |
7595 *** The command M-x expand-mail-aliases expands all mail aliases | |
7596 in suitable mail headers. Emacs automatically extracts mail alias | |
7597 definitions from your mail alias file (e.g., ~/.mailrc). You do not | |
7598 need to expand mail aliases yourself before sending mail. | |
7599 | |
7600 *** New features in the mail-complete command. | |
7601 | |
7602 **** The mail-complete command now inserts the user's full name, | |
7603 for local users or if that is known. The variable mail-complete-style | |
7604 controls the style to use, and whether to do this at all. | |
7605 Its values are like those of mail-from-style. | |
7606 | |
7607 **** The variable mail-passwd-command lets you specify a shell command | |
7608 to run to fetch a set of password-entries that add to the ones in | |
7609 /etc/passwd. | |
7610 | |
7611 **** The variable mail-passwd-file now specifies a list of files to read | |
7612 to get the list of user ids. By default, one file is used: | |
7613 /etc/passwd. | |
7614 | |
7615 ** You can "quote" a file name to inhibit special significance of | |
7616 special syntax, by adding `/:' to the beginning. Thus, if you have a | |
7617 directory named `/foo:', you can prevent it from being treated as a | |
7618 reference to a remote host named `foo' by writing it as `/:/foo:'. | |
7619 | |
7620 Emacs uses this new construct automatically when necessary, such as | |
7621 when you start it with a working directory whose name might otherwise | |
7622 be taken to be magic. | |
7623 | |
7624 ** There is a new command M-x grep-find which uses find to select | |
7625 files to search through, and grep to scan them. The output is | |
7626 available in a Compile mode buffer, as with M-x grep. | |
7627 | |
7628 M-x grep now uses the -e option if the grep program supports that. | |
7629 (-e prevents problems if the search pattern starts with a dash.) | |
7630 | |
7631 ** In Dired, the & command now flags for deletion the files whose names | |
7632 suggest they are probably not needed in the long run. | |
7633 | |
7634 In Dired, * is now a prefix key for mark-related commands. | |
7635 | |
7636 new key dired.el binding old key | |
7637 ------- ---------------- ------- | |
7638 * c dired-change-marks c | |
7639 * m dired-mark m | |
7640 * * dired-mark-executables * (binding deleted) | |
7641 * / dired-mark-directories / (binding deleted) | |
7642 * @ dired-mark-symlinks @ (binding deleted) | |
7643 * u dired-unmark u | |
7644 * DEL dired-unmark-backward DEL | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
7645 * ? dired-unmark-all-files C-M-? |
30922 | 7646 * ! dired-unmark-all-marks |
7647 * % dired-mark-files-regexp % m | |
7648 * C-n dired-next-marked-file M-} | |
7649 * C-p dired-prev-marked-file M-{ | |
7650 | |
7651 ** Rmail changes. | |
7652 | |
7653 *** When Rmail cannot convert your incoming mail into Babyl format, it | |
7654 saves the new mail in the file RMAILOSE.n, where n is an integer | |
7655 chosen to make a unique name. This way, Rmail will not keep crashing | |
7656 each time you run it. | |
7657 | |
7658 *** In Rmail, the variable rmail-summary-line-count-flag now controls | |
7659 whether to include the line count in the summary. Non-nil means yes. | |
7660 | |
7661 *** In Rmail summary buffers, d and C-d (the commands to delete | |
7662 messages) now take repeat counts as arguments. A negative argument | |
7663 means to move in the opposite direction. | |
7664 | |
7665 *** In Rmail, the t command now takes an optional argument which lets | |
7666 you specify whether to show the message headers in full or pruned. | |
7667 | |
7668 *** In Rmail, the new command w (rmail-output-body-to-file) writes | |
7669 just the body of the current message into a file, without the headers. | |
7670 It takes the file name from the message subject, by default, but you | |
7671 can edit that file name in the minibuffer before it is actually used | |
7672 for output. | |
7673 | |
7674 ** Gnus changes. | |
7675 | |
7676 *** nntp.el has been totally rewritten in an asynchronous fashion. | |
7677 | |
7678 *** Article prefetching functionality has been moved up into | |
7679 Gnus. | |
7680 | |
7681 *** Scoring can now be performed with logical operators like | |
7682 `and', `or', `not', and parent redirection. | |
7683 | |
7684 *** Article washing status can be displayed in the | |
7685 article mode line. | |
7686 | |
7687 *** gnus.el has been split into many smaller files. | |
7688 | |
7689 *** Suppression of duplicate articles based on Message-ID. | |
7690 | |
7691 (setq gnus-suppress-duplicates t) | |
7692 | |
7693 *** New variables for specifying what score and adapt files | |
7694 are to be considered home score and adapt files. See | |
7695 `gnus-home-score-file' and `gnus-home-adapt-files'. | |
7696 | |
7697 *** Groups can inherit group parameters from parent topics. | |
7698 | |
7699 *** Article editing has been revamped and is now usable. | |
7700 | |
7701 *** Signatures can be recognized in more intelligent fashions. | |
7702 See `gnus-signature-separator' and `gnus-signature-limit'. | |
7703 | |
7704 *** Summary pick mode has been made to look more nn-like. | |
7705 Line numbers are displayed and the `.' command can be | |
7706 used to pick articles. | |
7707 | |
7708 *** Commands for moving the .newsrc.eld from one server to | |
7709 another have been added. | |
7710 | |
7711 `M-x gnus-change-server' | |
7712 | |
7713 *** A way to specify that "uninteresting" fields be suppressed when | |
7714 generating lines in buffers. | |
7715 | |
7716 *** Several commands in the group buffer can be undone with | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
7717 `C-M-_'. |
30922 | 7718 |
7719 *** Scoring can be done on words using the new score type `w'. | |
7720 | |
7721 *** Adaptive scoring can be done on a Subject word-by-word basis: | |
7722 | |
7723 (setq gnus-use-adaptive-scoring '(word)) | |
7724 | |
7725 *** Scores can be decayed. | |
7726 | |
7727 (setq gnus-decay-scores t) | |
7728 | |
7729 *** Scoring can be performed using a regexp on the Date header. The | |
7730 Date is normalized to compact ISO 8601 format first. | |
7731 | |
7732 *** A new command has been added to remove all data on articles from | |
7733 the native server. | |
7734 | |
7735 `M-x gnus-group-clear-data-on-native-groups' | |
7736 | |
7737 *** A new command for reading collections of documents | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
7738 (nndoc with nnvirtual on top) has been added -- `C-M-d'. |
30922 | 7739 |
7740 *** Process mark sets can be pushed and popped. | |
7741 | |
7742 *** A new mail-to-news backend makes it possible to post | |
7743 even when the NNTP server doesn't allow posting. | |
7744 | |
7745 *** A new backend for reading searches from Web search engines | |
7746 (DejaNews, Alta Vista, InReference) has been added. | |
7747 | |
7748 Use the `G w' command in the group buffer to create such | |
7749 a group. | |
7750 | |
7751 *** Groups inside topics can now be sorted using the standard | |
7752 sorting functions, and each topic can be sorted independently. | |
7753 | |
7754 See the commands under the `T S' submap. | |
7755 | |
7756 *** Subsets of the groups can be sorted independently. | |
7757 | |
7758 See the commands under the `G P' submap. | |
7759 | |
7760 *** Cached articles can be pulled into the groups. | |
7761 | |
7762 Use the `Y c' command. | |
7763 | |
7764 *** Score files are now applied in a more reliable order. | |
7765 | |
7766 *** Reports on where mail messages end up can be generated. | |
7767 | |
7768 `M-x nnmail-split-history' | |
7769 | |
7770 *** More hooks and functions have been added to remove junk | |
7771 from incoming mail before saving the mail. | |
7772 | |
7773 See `nnmail-prepare-incoming-header-hook'. | |
7774 | |
7775 *** The nnml mail backend now understands compressed article files. | |
7776 | |
7777 *** To enable Gnus to read/post multi-lingual articles, you must execute | |
7778 the following code, for instance, in your .emacs. | |
7779 | |
7780 (add-hook 'gnus-startup-hook 'gnus-mule-initialize) | |
7781 | |
7782 Then, when you start Gnus, it will decode non-ASCII text automatically | |
7783 and show appropriate characters. (Note: if you are using gnus-mime | |
7784 from the SEMI package, formerly known as TM, you should NOT add this | |
7785 hook to gnus-startup-hook; gnus-mime has its own method of handling | |
7786 this issue.) | |
7787 | |
7788 Since it is impossible to distinguish all coding systems | |
7789 automatically, you may need to specify a choice of coding system for a | |
7790 particular news group. This can be done by: | |
7791 | |
7792 (gnus-mule-add-group NEWSGROUP 'CODING-SYSTEM) | |
7793 | |
7794 Here NEWSGROUP should be a string which names a newsgroup or a tree | |
7795 of newsgroups. If NEWSGROUP is "XXX.YYY", all news groups under | |
7796 "XXX.YYY" (including "XXX.YYY.ZZZ") will use the specified coding | |
7797 system. CODING-SYSTEM specifies which coding system to use (for both | |
7798 for reading and posting). | |
7799 | |
7800 CODING-SYSTEM can also be a cons cell of the form | |
7801 (READ-CODING-SYSTEM . POST-CODING-SYSTEM) | |
7802 Then READ-CODING-SYSTEM is used when you read messages from the | |
7803 newsgroups, while POST-CODING-SYSTEM is used when you post messages | |
7804 there. | |
7805 | |
7806 Emacs knows the right coding systems for certain newsgroups by | |
7807 default. Here are some of these default settings: | |
7808 | |
7809 (gnus-mule-add-group "fj" 'iso-2022-7) | |
7810 (gnus-mule-add-group "alt.chinese.text" 'hz-gb-2312) | |
7811 (gnus-mule-add-group "alt.hk" 'hz-gb-2312) | |
7812 (gnus-mule-add-group "alt.chinese.text.big5" 'cn-big5) | |
7813 (gnus-mule-add-group "soc.culture.vietnamese" '(nil . viqr)) | |
7814 | |
7815 When you reply by mail to an article, these settings are ignored; | |
7816 the mail is encoded according to sendmail-coding-system, as usual. | |
7817 | |
7818 ** CC mode changes. | |
7819 | |
7820 *** If you edit primarily one style of C (or C++, Objective-C, Java) | |
7821 code, you may want to make the CC Mode style variables have global | |
7822 values so that you can set them directly in your .emacs file. To do | |
7823 this, set c-style-variables-are-local-p to nil in your .emacs file. | |
7824 Note that this only takes effect if you do it *before* cc-mode.el is | |
7825 loaded. | |
7826 | |
7827 If you typically edit more than one style of C (or C++, Objective-C, | |
7828 Java) code in a single Emacs session, you may want to make the CC Mode | |
7829 style variables have buffer local values. By default, all buffers | |
7830 share the same style variable settings; to make them buffer local, set | |
7831 c-style-variables-are-local-p to t in your .emacs file. Note that you | |
7832 must do this *before* CC Mode is loaded. | |
7833 | |
7834 *** The new variable c-indentation-style holds the C style name | |
7835 of the current buffer. | |
7836 | |
7837 *** The variable c-block-comments-indent-p has been deleted, because | |
7838 it is no longer necessary. C mode now handles all the supported styles | |
7839 of block comments, with no need to say which one you will use. | |
7840 | |
7841 *** There is a new indentation style "python", which specifies the C | |
7842 style that the Python developers like. | |
7843 | |
7844 *** There is a new c-cleanup-list option: brace-elseif-brace. | |
7845 This says to put ...} else if (...) {... on one line, | |
7846 just as brace-else-brace says to put ...} else {... on one line. | |
7847 | |
7848 ** VC Changes [new] | |
7849 | |
36908
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7850 *** In vc-retrieve-snapshot (C-x v r), if you don't specify a snapshot |
30922 | 7851 name, it retrieves the *latest* versions of all files in the current |
7852 directory and its subdirectories (aside from files already locked). | |
7853 | |
7854 This feature is useful if your RCS directory is a link to a common | |
7855 master directory, and you want to pick up changes made by other | |
7856 developers. | |
7857 | |
7858 You can do the same thing for an individual file by typing C-u C-x C-q | |
7859 RET in a buffer visiting that file. | |
7860 | |
7861 *** VC can now handle files under CVS that are being "watched" by | |
7862 other developers. Such files are made read-only by CVS. To get a | |
7863 writable copy, type C-x C-q in a buffer visiting such a file. VC then | |
7864 calls "cvs edit", which notifies the other developers of it. | |
7865 | |
7866 *** vc-version-diff (C-u C-x v =) now suggests reasonable defaults for | |
7867 version numbers, based on the current state of the file. | |
7868 | |
7869 ** Calendar changes. | |
7870 | |
36908
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7871 *** A new function, list-holidays, allows you list holidays or |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7872 subclasses of holidays for ranges of years. Related menu items allow |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7873 you do this for the year of the selected date, or the |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7874 following/previous years. |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7875 |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7876 *** There is now support for the Baha'i calendar system. Use `pb' in |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7877 the *Calendar* buffer to display the current Baha'i date. The Baha'i |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7878 calendar, or "Badi calendar" is a system of 19 months with 19 days |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7879 each, and 4 intercalary days (5 during a Gregorian leap year). The |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7880 calendar begins May 23, 1844, with each of the months named after a |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7881 supposed attribute of God. |
30922 | 7882 |
7883 ** ps-print changes | |
7884 | |
37289 | 7885 There are some new user variables and subgroups for customizing the page |
7886 layout. | |
7887 | |
7888 *** Headers & Footers (subgroup) | |
7889 | |
7890 Some printer systems print a header page and force the first page to | |
7891 be printed on the back of the header page when using duplex. If your | |
7892 printer system has this behavior, set variable | |
7893 `ps-banner-page-when-duplexing' to t. | |
7894 | |
7895 If variable `ps-banner-page-when-duplexing' is non-nil, it prints a | |
7896 blank page as the very first printed page. So, it behaves as if the | |
37375 | 7897 very first character of buffer (or region) were a form feed ^L (\014). |
37289 | 7898 |
7899 The variable `ps-spool-config' specifies who is responsible for | |
7900 setting duplex mode and page size. Valid values are: | |
7901 | |
7902 lpr-switches duplex and page size are configured by `ps-lpr-switches'. | |
7903 Don't forget to set `ps-lpr-switches' to select duplex | |
7904 printing for your printer. | |
7905 | |
7906 setpagedevice duplex and page size are configured by ps-print using the | |
7907 setpagedevice PostScript operator. | |
7908 | |
7909 nil duplex and page size are configured by ps-print *not* using | |
7910 the setpagedevice PostScript operator. | |
7911 | |
7912 The variable `ps-spool-tumble' specifies how the page images on | |
7913 opposite sides of a sheet are oriented with respect to each other. If | |
7914 `ps-spool-tumble' is nil, ps-print produces output suitable for | |
7915 bindings on the left or right. If `ps-spool-tumble' is non-nil, | |
7916 ps-print produces output suitable for bindings at the top or bottom. | |
7917 This variable takes effect only if `ps-spool-duplex' is non-nil. | |
7918 The default value is nil. | |
7919 | |
7920 The variable `ps-header-frame-alist' specifies a header frame | |
7921 properties alist. Valid frame properties are: | |
7922 | |
7923 fore-color Specify the foreground frame color. | |
7924 Value should be a float number between 0.0 (black | |
7925 color) and 1.0 (white color), or a string which is a | |
7926 color name, or a list of 3 float numbers which | |
7927 correspond to the Red Green Blue color scale, each | |
7928 float number between 0.0 (dark color) and 1.0 (bright | |
7929 color). The default is 0 ("black"). | |
7930 | |
7931 back-color Specify the background frame color (similar to fore-color). | |
7932 The default is 0.9 ("gray90"). | |
7933 | |
7934 shadow-color Specify the shadow color (similar to fore-color). | |
7935 The default is 0 ("black"). | |
7936 | |
7937 border-color Specify the border color (similar to fore-color). | |
7938 The default is 0 ("black"). | |
7939 | |
7940 border-width Specify the border width. | |
7941 The default is 0.4. | |
7942 | |
7943 Any other property is ignored. | |
7944 | |
7945 Don't change this alist directly; instead use Custom, or the | |
7946 `ps-value', `ps-get', `ps-put' and `ps-del' functions (see there for | |
7947 documentation). | |
7948 | |
7949 Ps-print can also print footers. The footer variables are: | |
7950 `ps-print-footer', `ps-footer-offset', `ps-print-footer-frame', | |
7951 `ps-footer-font-family', `ps-footer-font-size', `ps-footer-line-pad', | |
7952 `ps-footer-lines', `ps-left-footer', `ps-right-footer' and | |
7953 `ps-footer-frame-alist'. These variables are similar to those | |
7954 controlling headers. | |
7955 | |
7956 *** Color management (subgroup) | |
7957 | |
7958 If `ps-print-color-p' is non-nil, the buffer's text will be printed in | |
7959 color. | |
7960 | |
7961 *** Face Management (subgroup) | |
7962 | |
7963 If you need to print without worrying about face background colors, | |
7964 set the variable `ps-use-face-background' which specifies if face | |
7965 background should be used. Valid values are: | |
7966 | |
7967 t always use face background color. | |
7968 nil never use face background color. | |
7969 (face...) list of faces whose background color will be used. | |
7970 | |
7971 *** N-up printing (subgroup) | |
7972 | |
7973 The variable `ps-n-up-printing' specifies the number of pages per | |
7974 sheet of paper. | |
7975 | |
7976 The variable `ps-n-up-margin' specifies the margin in points (pt) | |
7977 between the sheet border and the n-up printing. | |
7978 | |
7979 If variable `ps-n-up-border-p' is non-nil, a border is drawn around | |
7980 each page. | |
7981 | |
7982 The variable `ps-n-up-filling' specifies how the page matrix is filled | |
7983 on each sheet of paper. Following are the valid values for | |
7984 `ps-n-up-filling' with a filling example using a 3x4 page matrix: | |
7985 | |
7986 `left-top' 1 2 3 4 `left-bottom' 9 10 11 12 | |
7987 5 6 7 8 5 6 7 8 | |
7988 9 10 11 12 1 2 3 4 | |
7989 | |
7990 `right-top' 4 3 2 1 `right-bottom' 12 11 10 9 | |
7991 8 7 6 5 8 7 6 5 | |
7992 12 11 10 9 4 3 2 1 | |
7993 | |
7994 `top-left' 1 4 7 10 `bottom-left' 3 6 9 12 | |
7995 2 5 8 11 2 5 8 11 | |
7996 3 6 9 12 1 4 7 10 | |
7997 | |
7998 `top-right' 10 7 4 1 `bottom-right' 12 9 6 3 | |
7999 11 8 5 2 11 8 5 2 | |
8000 12 9 6 3 10 7 4 1 | |
8001 | |
8002 Any other value is treated as `left-top'. | |
8003 | |
8004 *** Zebra stripes (subgroup) | |
8005 | |
8006 The variable `ps-zebra-color' controls the zebra stripes grayscale or | |
8007 RGB color. | |
8008 | |
8009 The variable `ps-zebra-stripe-follow' specifies how zebra stripes | |
8010 continue on next page. Visually, valid values are (the character `+' | |
8011 to the right of each column indicates that a line is printed): | |
8012 | |
8013 `nil' `follow' `full' `full-follow' | |
8014 Current Page -------- ----------- --------- ---------------- | |
8015 1 XXXXX + 1 XXXXXXXX + 1 XXXXXX + 1 XXXXXXXXXXXXX + | |
8016 2 XXXXX + 2 XXXXXXXX + 2 XXXXXX + 2 XXXXXXXXXXXXX + | |
8017 3 XXXXX + 3 XXXXXXXX + 3 XXXXXX + 3 XXXXXXXXXXXXX + | |
8018 4 + 4 + 4 + 4 + | |
8019 5 + 5 + 5 + 5 + | |
8020 6 + 6 + 6 + 6 + | |
8021 7 XXXXX + 7 XXXXXXXX + 7 XXXXXX + 7 XXXXXXXXXXXXX + | |
8022 8 XXXXX + 8 XXXXXXXX + 8 XXXXXX + 8 XXXXXXXXXXXXX + | |
8023 9 XXXXX + 9 XXXXXXXX + 9 XXXXXX + 9 XXXXXXXXXXXXX + | |
8024 10 + 10 + | |
8025 11 + 11 + | |
8026 -------- ----------- --------- ---------------- | |
8027 Next Page -------- ----------- --------- ---------------- | |
8028 12 XXXXX + 12 + 10 XXXXXX + 10 + | |
8029 13 XXXXX + 13 XXXXXXXX + 11 XXXXXX + 11 + | |
8030 14 XXXXX + 14 XXXXXXXX + 12 XXXXXX + 12 + | |
8031 15 + 15 XXXXXXXX + 13 + 13 XXXXXXXXXXXXX + | |
8032 16 + 16 + 14 + 14 XXXXXXXXXXXXX + | |
8033 17 + 17 + 15 + 15 XXXXXXXXXXXXX + | |
8034 18 XXXXX + 18 + 16 XXXXXX + 16 + | |
8035 19 XXXXX + 19 XXXXXXXX + 17 XXXXXX + 17 + | |
8036 20 XXXXX + 20 XXXXXXXX + 18 XXXXXX + 18 + | |
8037 21 + 21 XXXXXXXX + | |
8038 22 + 22 + | |
8039 -------- ----------- --------- ---------------- | |
8040 | |
8041 Any other value is treated as `nil'. | |
8042 | |
8043 | |
8044 *** Printer management (subgroup) | |
8045 | |
8046 The variable `ps-printer-name-option' determines the option used by | |
8047 some utilities to indicate the printer name; it's used only when | |
8048 `ps-printer-name' is a non-empty string. If you're using the lpr | |
8049 utility to print, for example, `ps-printer-name-option' should be set | |
8050 to "-P". | |
8051 | |
8052 The variable `ps-manual-feed' indicates if the printer requires manual | |
8053 paper feeding. If it's nil, automatic feeding takes place. If it's | |
8054 non-nil, manual feeding takes place. | |
8055 | |
8056 The variable `ps-end-with-control-d' specifies whether C-d (\x04) | |
8057 should be inserted at end of the generated PostScript. Non-nil means | |
8058 do so. | |
8059 | |
8060 *** Page settings (subgroup) | |
8061 | |
8062 If variable `ps-warn-paper-type' is nil, it's *not* treated as an | |
8063 error if the PostScript printer doesn't have a paper with the size | |
8064 indicated by `ps-paper-type'; the default paper size will be used | |
8065 instead. If `ps-warn-paper-type' is non-nil, an error is signaled if | |
8066 the PostScript printer doesn't support a paper with the size indicated | |
8067 by `ps-paper-type'. This is used when `ps-spool-config' is set to | |
8068 `setpagedevice'. | |
8069 | |
8070 The variable `ps-print-upside-down' determines the orientation for | |
8071 printing pages: nil means `normal' printing, non-nil means | |
8072 `upside-down' printing (that is, the page is rotated by 180 degrees). | |
8073 | |
8074 The variable `ps-selected-pages' specifies which pages to print. If | |
8075 it's nil, all pages are printed. If it's a list, list elements may be | |
8076 integers specifying a single page to print, or cons cells (FROM . TO) | |
8077 specifying to print from page FROM to TO. Invalid list elements, that | |
8078 is integers smaller than one, or elements whose FROM is greater than | |
8079 its TO, are ignored. | |
8080 | |
8081 The variable `ps-even-or-odd-pages' specifies how to print even/odd | |
8082 pages. Valid values are: | |
8083 | |
8084 nil print all pages. | |
8085 | |
8086 `even-page' print only even pages. | |
8087 | |
8088 `odd-page' print only odd pages. | |
8089 | |
8090 `even-sheet' print only even sheets. | |
8091 That is, if `ps-n-up-printing' is 1, it behaves like | |
8092 `even-page', but for values greater than 1, it'll | |
8093 print only the even sheet of paper. | |
8094 | |
8095 `odd-sheet' print only odd sheets. | |
8096 That is, if `ps-n-up-printing' is 1, it behaves like | |
8097 `odd-page'; but for values greater than 1, it'll print | |
8098 only the odd sheet of paper. | |
8099 | |
8100 Any other value is treated as nil. | |
8101 | |
8102 If you set `ps-selected-pages' (see there for documentation), pages | |
8103 are filtered by `ps-selected-pages', and then by | |
8104 `ps-even-or-odd-pages'. For example, if we have: | |
8105 | |
8106 (setq ps-selected-pages '(1 4 (6 . 10) (12 . 16) 20)) | |
8107 | |
8108 and we combine this with `ps-even-or-odd-pages' and | |
8109 `ps-n-up-printing', we get: | |
8110 | |
8111 `ps-n-up-printing' = 1: | |
8112 `ps-even-or-odd-pages' PAGES PRINTED | |
8113 nil 1, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 20 | |
8114 even-page 4, 6, 8, 10, 12, 14, 16, 20 | |
8115 odd-page 1, 7, 9, 13, 15 | |
8116 even-sheet 4, 6, 8, 10, 12, 14, 16, 20 | |
8117 odd-sheet 1, 7, 9, 13, 15 | |
8118 | |
8119 `ps-n-up-printing' = 2: | |
8120 `ps-even-or-odd-pages' PAGES PRINTED | |
8121 nil 1/4, 6/7, 8/9, 10/12, 13/14, 15/16, 20 | |
8122 even-page 4/6, 8/10, 12/14, 16/20 | |
8123 odd-page 1/7, 9/13, 15 | |
8124 even-sheet 6/7, 10/12, 15/16 | |
8125 odd-sheet 1/4, 8/9, 13/14, 20 | |
8126 | |
8127 *** Miscellany (subgroup) | |
8128 | |
8129 The variable `ps-error-handler-message' specifies where error handler | |
8130 messages should be sent. | |
8131 | |
8132 It is also possible to add a user-defined PostScript prologue code in | |
8133 front of all generated prologue code by setting the variable | |
8134 `ps-user-defined-prologue'. | |
8135 | |
8136 The variable `ps-line-number-font' specifies the font for line numbers. | |
8137 | |
8138 The variable `ps-line-number-font-size' specifies the font size in | |
8139 points for line numbers. | |
8140 | |
8141 The variable `ps-line-number-color' specifies the color for line | |
8142 numbers. See `ps-zebra-color' for documentation. | |
8143 | |
8144 The variable `ps-line-number-step' specifies the interval in which | |
8145 line numbers are printed. For example, if `ps-line-number-step' is set | |
8146 to 2, the printing will look like: | |
8147 | |
8148 1 one line | |
8149 one line | |
8150 3 one line | |
8151 one line | |
8152 5 one line | |
8153 one line | |
8154 ... | |
8155 | |
8156 Valid values are: | |
8157 | |
8158 integer an integer specifying the interval in which line numbers are | |
8159 printed. If it's smaller than or equal to zero, 1 | |
8160 is used. | |
8161 | |
8162 `zebra' specifies that only the line number of the first line in a | |
8163 zebra stripe is to be printed. | |
8164 | |
8165 Any other value is treated as `zebra'. | |
8166 | |
8167 The variable `ps-line-number-start' specifies the starting point in | |
8168 the interval given by `ps-line-number-step'. For example, if | |
8169 `ps-line-number-step' is set to 3, and `ps-line-number-start' is set to | |
8170 3, the output will look like: | |
8171 | |
8172 one line | |
8173 one line | |
8174 3 one line | |
8175 one line | |
8176 one line | |
8177 6 one line | |
8178 one line | |
8179 one line | |
8180 9 one line | |
8181 one line | |
8182 ... | |
8183 | |
8184 The variable `ps-postscript-code-directory' specifies the directory | |
8185 where the PostScript prologue file used by ps-print is found. | |
8186 | |
8187 The variable `ps-line-spacing' determines the line spacing in points, | |
8188 for ordinary text, when generating PostScript (similar to | |
8189 `ps-font-size'). | |
8190 | |
8191 The variable `ps-paragraph-spacing' determines the paragraph spacing, | |
8192 in points, for ordinary text, when generating PostScript (similar to | |
8193 `ps-font-size'). | |
8194 | |
8195 The variable `ps-paragraph-regexp' specifies the paragraph delimiter. | |
8196 | |
8197 The variable `ps-begin-cut-regexp' and `ps-end-cut-regexp' specify the | |
8198 start and end of a region to cut out when printing. | |
30922 | 8199 |
8200 ** hideshow changes. | |
8201 | |
8202 *** now supports hiding of blocks of single line comments (like // for | |
8203 C++, ; for lisp). | |
8204 | |
8205 *** Support for java-mode added. | |
8206 | |
8207 *** When doing `hs-hide-all' it is now possible to also hide the comments | |
8208 in the file if `hs-hide-comments-when-hiding-all' is set. | |
8209 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
8210 *** The new function `hs-hide-initial-comment' hides the comments at |
30922 | 8211 the beginning of the files. Finally those huge RCS logs don't stay in your |
8212 way! This is run by default when entering the `hs-minor-mode'. | |
8213 | |
8214 *** Now uses overlays instead of `selective-display', so is more | |
8215 robust and a lot faster. | |
8216 | |
8217 *** A block beginning can span multiple lines. | |
8218 | |
8219 *** The new variable `hs-show-hidden-short-form' if t, directs hideshow | |
8220 to show only the beginning of a block when it is hidden. See the | |
8221 documentation for more details. | |
8222 | |
8223 ** Changes in Enriched mode. | |
8224 | |
8225 *** When you visit a file in enriched-mode, Emacs will make sure it is | |
8226 filled to the current fill-column. This behavior is now independent | |
8227 of the size of the window. When you save the file, the fill-column in | |
8228 use is stored as well, so that the whole buffer need not be refilled | |
8229 the next time unless the fill-column is different. | |
8230 | |
8231 *** use-hard-newlines is now a minor mode. When it is enabled, Emacs | |
8232 distinguishes between hard and soft newlines, and treats hard newlines | |
8233 as paragraph boundaries. Otherwise all newlines inserted are marked | |
8234 as soft, and paragraph boundaries are determined solely from the text. | |
8235 | |
8236 ** Font Lock mode | |
8237 | |
8238 *** Custom support | |
8239 | |
8240 The variables font-lock-face-attributes, font-lock-display-type and | |
8241 font-lock-background-mode are now obsolete; the recommended way to specify the | |
8242 faces to use for Font Lock mode is with M-x customize-group on the new custom | |
8243 group font-lock-highlighting-faces. If you set font-lock-face-attributes in | |
8244 your ~/.emacs file, Font Lock mode will respect its value. However, you should | |
8245 consider converting from setting that variable to using M-x customize. | |
8246 | |
8247 You can still use X resources to specify Font Lock face appearances. | |
8248 | |
8249 *** Maximum decoration | |
8250 | |
8251 Fontification now uses the maximum level of decoration supported by | |
8252 default. Previously, fontification used a mode-specific default level | |
8253 of decoration, which is typically the minimum level of decoration | |
8254 supported. You can set font-lock-maximum-decoration to nil | |
8255 to get the old behavior. | |
8256 | |
8257 *** New support | |
8258 | |
8259 Support is now provided for Java, Objective-C, AWK and SIMULA modes. | |
8260 | |
8261 Note that Font Lock mode can be turned on without knowing exactly what modes | |
8262 support Font Lock mode, via the command global-font-lock-mode. | |
8263 | |
8264 *** Configurable support | |
8265 | |
8266 Support for C, C++, Objective-C and Java can be more easily configured for | |
8267 additional types and classes via the new variables c-font-lock-extra-types, | |
8268 c++-font-lock-extra-types, objc-font-lock-extra-types and, you guessed it, | |
8269 java-font-lock-extra-types. These value of each of these variables should be a | |
8270 list of regexps matching the extra type names. For example, the default value | |
8271 of c-font-lock-extra-types is ("\\sw+_t") which means fontification follows the | |
8272 convention that C type names end in _t. This results in slower fontification. | |
8273 | |
8274 Of course, you can change the variables that specify fontification in whatever | |
8275 way you wish, typically by adding regexps. However, these new variables make | |
8276 it easier to make specific and common changes for the fontification of types. | |
8277 | |
8278 *** Adding highlighting patterns to existing support | |
8279 | |
8280 You can use the new function font-lock-add-keywords to add your own | |
8281 highlighting patterns, such as for project-local or user-specific constructs, | |
8282 for any mode. | |
8283 | |
8284 For example, to highlight `FIXME:' words in C comments, put: | |
8285 | |
8286 (font-lock-add-keywords 'c-mode '(("\\<FIXME:" 0 font-lock-warning-face t))) | |
8287 | |
8288 in your ~/.emacs. | |
8289 | |
8290 *** New faces | |
8291 | |
8292 Font Lock now defines two new faces, font-lock-builtin-face and | |
8293 font-lock-warning-face. These are intended to highlight builtin keywords, | |
8294 distinct from a language's normal keywords, and objects that should be brought | |
8295 to user attention, respectively. Various modes now use these new faces. | |
8296 | |
8297 *** Changes to fast-lock support mode | |
8298 | |
8299 The fast-lock package, one of the two Font Lock support modes, can now process | |
8300 cache files silently. You can use the new variable fast-lock-verbose, in the | |
8301 same way as font-lock-verbose, to control this feature. | |
8302 | |
8303 *** Changes to lazy-lock support mode | |
8304 | |
8305 The lazy-lock package, one of the two Font Lock support modes, can now fontify | |
8306 according to the true syntactic context relative to other lines. You can use | |
8307 the new variable lazy-lock-defer-contextually to control this feature. If | |
8308 non-nil, changes to the buffer will cause subsequent lines in the buffer to be | |
8309 refontified after lazy-lock-defer-time seconds of idle time. If nil, then only | |
8310 the modified lines will be refontified; this is the same as the previous Lazy | |
8311 Lock mode behaviour and the behaviour of Font Lock mode. | |
8312 | |
8313 This feature is useful in modes where strings or comments can span lines. | |
8314 For example, if a string or comment terminating character is deleted, then if | |
8315 this feature is enabled subsequent lines in the buffer will be correctly | |
8316 refontified to reflect their new syntactic context. Previously, only the line | |
8317 containing the deleted character would be refontified and you would have to use | |
8318 the command M-g M-g (font-lock-fontify-block) to refontify some lines. | |
8319 | |
8320 As a consequence of this new feature, two other variables have changed: | |
8321 | |
8322 Variable `lazy-lock-defer-driven' is renamed `lazy-lock-defer-on-scrolling'. | |
8323 Variable `lazy-lock-defer-time' can now only be a time, i.e., a number. | |
8324 Buffer modes for which on-the-fly deferral applies can be specified via the | |
8325 new variable `lazy-lock-defer-on-the-fly'. | |
8326 | |
8327 If you set these variables in your ~/.emacs, then you may have to change those | |
8328 settings. | |
8329 | |
8330 ** Ada mode changes. | |
8331 | |
8332 *** There is now better support for using find-file.el with Ada mode. | |
8333 If you switch between spec and body, the cursor stays in the same | |
8334 procedure (modulo overloading). If a spec has no body file yet, but | |
8335 you try to switch to its body file, Ada mode now generates procedure | |
8336 stubs. | |
8337 | |
8338 *** There are two new commands: | |
8339 - `ada-make-local' : invokes gnatmake on the current buffer | |
8340 - `ada-check-syntax' : check syntax of current buffer. | |
8341 | |
8342 The user options `ada-compiler-make', `ada-make-options', | |
8343 `ada-language-version', `ada-compiler-syntax-check', and | |
8344 `ada-compile-options' are used within these commands. | |
8345 | |
8346 *** Ada mode can now work with Outline minor mode. The outline level | |
8347 is calculated from the indenting, not from syntactic constructs. | |
8348 Outlining does not work if your code is not correctly indented. | |
8349 | |
8350 *** The new function `ada-gnat-style' converts the buffer to the style of | |
8351 formatting used in GNAT. It places two blanks after a comment start, | |
8352 places one blank between a word end and an opening '(', and puts one | |
8353 space between a comma and the beginning of a word. | |
8354 | |
8355 ** Scheme mode changes. | |
8356 | |
8357 *** Scheme mode indentation now uses many of the facilities of Lisp | |
8358 mode; therefore, the variables to customize it are the variables used | |
8359 for Lisp mode which have names starting with `lisp-'. The variables | |
8360 with names starting with `scheme-' which used to do this no longer | |
8361 have any effect. | |
8362 | |
8363 If you want to use different indentation for Scheme and Lisp, this is | |
8364 still possible, but now you must do it by adding a hook to | |
8365 scheme-mode-hook, which could work by setting the `lisp-' indentation | |
8366 variables as buffer-local variables. | |
8367 | |
8368 *** DSSSL mode is a variant of Scheme mode, for editing DSSSL scripts. | |
8369 Use M-x dsssl-mode. | |
8370 | |
8371 ** Changes to the emacsclient program | |
8372 | |
8373 *** If a socket can't be found, and environment variables LOGNAME or | |
8374 USER are set, emacsclient now looks for a socket based on the UID | |
8375 associated with the name. That is an emacsclient running as root | |
8376 can connect to an Emacs server started by a non-root user. | |
8377 | |
8378 *** The emacsclient program now accepts an option --no-wait which tells | |
8379 it to return immediately without waiting for you to "finish" the | |
8380 buffer in Emacs. | |
8381 | |
8382 *** The new option --alternate-editor allows to specify an editor to | |
8383 use if Emacs is not running. The environment variable | |
8384 ALTERNATE_EDITOR can be used for the same effect; the command line | |
8385 option takes precedence. | |
8386 | |
8387 ** M-x eldoc-mode enables a minor mode in which the echo area | |
8388 constantly shows the parameter list for function being called at point | |
8389 (in Emacs Lisp and Lisp Interaction modes only). | |
8390 | |
8391 ** C-x n d now runs the new command narrow-to-defun, | |
8392 which narrows the accessible parts of the buffer to just | |
8393 the current defun. | |
8394 | |
8395 ** Emacs now handles the `--' argument in the standard way; all | |
8396 following arguments are treated as ordinary file names. | |
8397 | |
8398 ** On MSDOS and Windows, the bookmark file is now called _emacs.bmk, | |
8399 and the saved desktop file is now called _emacs.desktop (truncated if | |
8400 necessary). | |
8401 | |
8402 ** When you kill a buffer that visits a file, | |
8403 if there are any registers that save positions in the file, | |
8404 these register values no longer become completely useless. | |
8405 If you try to go to such a register with C-x j, then you are | |
8406 asked whether to visit the file again. If you say yes, | |
8407 it visits the file and then goes to the same position. | |
8408 | |
8409 ** When you visit a file that changes frequently outside Emacs--for | |
8410 example, a log of output from a process that continues to run--it may | |
8411 be useful for Emacs to revert the file without querying you whenever | |
8412 you visit the file afresh with C-x C-f. | |
8413 | |
8414 You can request this behavior for certain files by setting the | |
8415 variable revert-without-query to a list of regular expressions. If a | |
8416 file's name matches any of these regular expressions, find-file and | |
8417 revert-buffer revert the buffer without asking for permission--but | |
8418 only if you have not edited the buffer text yourself. | |
8419 | |
8420 ** set-default-font has been renamed to set-frame-font | |
8421 since it applies only to the current frame. | |
8422 | |
8423 ** In TeX mode, you can use the variable tex-main-file to specify the | |
8424 file for tex-file to run TeX on. (By default, tex-main-file is nil, | |
8425 and tex-file runs TeX on the current visited file.) | |
8426 | |
8427 This is useful when you are editing a document that consists of | |
8428 multiple files. In each of the included files, you can set up a local | |
8429 variable list which specifies the top-level file of your document for | |
8430 tex-main-file. Then tex-file will run TeX on the whole document | |
8431 instead of just the file you are editing. | |
8432 | |
8433 ** RefTeX mode | |
8434 | |
8435 RefTeX mode is a new minor mode with special support for \label, \ref | |
8436 and \cite macros in LaTeX documents. RefTeX distinguishes labels of | |
8437 different environments (equation, figure, ...) and has full support for | |
8438 multifile documents. To use it, select a buffer with a LaTeX document and | |
8439 turn the mode on with M-x reftex-mode. Here are the main user commands: | |
8440 | |
8441 C-c ( reftex-label | |
8442 Creates a label semi-automatically. RefTeX is context sensitive and | |
8443 knows which kind of label is needed. | |
8444 | |
8445 C-c ) reftex-reference | |
8446 Offers in a menu all labels in the document, along with context of the | |
8447 label definition. The selected label is referenced as \ref{LABEL}. | |
8448 | |
8449 C-c [ reftex-citation | |
8450 Prompts for a regular expression and displays a list of matching BibTeX | |
8451 database entries. The selected entry is cited with a \cite{KEY} macro. | |
8452 | |
8453 C-c & reftex-view-crossref | |
8454 Views the cross reference of a \ref or \cite command near point. | |
8455 | |
8456 C-c = reftex-toc | |
8457 Shows a table of contents of the (multifile) document. From there you | |
8458 can quickly jump to every section. | |
8459 | |
8460 Under X, RefTeX installs a "Ref" menu in the menu bar, with additional | |
8461 commands. Press `?' to get help when a prompt mentions this feature. | |
8462 Full documentation and customization examples are in the file | |
8463 reftex.el. You can use the finder to view the file documentation: | |
8464 C-h p --> tex --> reftex.el | |
8465 | |
8466 ** Changes in BibTeX mode. | |
8467 | |
8468 *** Info documentation is now available. | |
8469 | |
8470 *** Don't allow parentheses in string constants anymore. This confused | |
8471 both the BibTeX program and Emacs BibTeX mode. | |
8472 | |
8473 *** Renamed variable bibtex-mode-user-optional-fields to | |
8474 bibtex-user-optional-fields. | |
8475 | |
8476 *** Removed variable bibtex-include-OPTannote | |
8477 (use bibtex-user-optional-fields instead). | |
8478 | |
8479 *** New interactive functions to copy and kill fields and complete | |
8480 entries to the BibTeX kill ring, from where they can be yanked back by | |
8481 appropriate functions. | |
8482 | |
8483 *** New interactive functions for repositioning and marking of | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
8484 entries. They are bound by default to C-M-l and C-M-h. |
30922 | 8485 |
8486 *** New hook bibtex-clean-entry-hook. It is called after entry has | |
8487 been cleaned. | |
8488 | |
8489 *** New variable bibtex-field-delimiters, which replaces variables | |
8490 bibtex-field-{left|right}-delimiter. | |
8491 | |
8492 *** New variable bibtex-entry-delimiters to determine how entries | |
8493 shall be delimited. | |
8494 | |
8495 *** Allow preinitialization of fields. See documentation of | |
8496 bibtex-user-optional-fields, bibtex-entry-field-alist, and | |
8497 bibtex-include-OPTkey for details. | |
8498 | |
8499 *** Book and InBook entries require either an author or an editor | |
8500 field. This is now supported by bibtex.el. Alternative fields are | |
8501 prefixed with `ALT'. | |
8502 | |
8503 *** New variable bibtex-entry-format, which replaces variable | |
8504 bibtex-clean-entry-zap-empty-opts and allows specification of many | |
8505 formatting options performed on cleaning an entry (see variable | |
8506 documentation). | |
8507 | |
8508 *** Even more control on how automatic keys are generated. See | |
8509 documentation of bibtex-generate-autokey for details. Transcriptions | |
8510 for foreign languages other than German are now handled, too. | |
8511 | |
8512 *** New boolean user option bibtex-comma-after-last-field to decide if | |
8513 comma should be inserted at end of last field. | |
8514 | |
8515 *** New boolean user option bibtex-align-at-equal-sign to determine if | |
8516 alignment should be made at left side of field contents or at equal | |
8517 signs. New user options to control entry layout (e.g. indentation). | |
8518 | |
8519 *** New function bibtex-fill-entry to realign entries. | |
8520 | |
8521 *** New function bibtex-reformat to reformat region or buffer. | |
8522 | |
8523 *** New function bibtex-convert-alien to convert a BibTeX database | |
8524 from alien sources. | |
8525 | |
8526 *** New function bibtex-complete-key (similar to bibtex-complete-string) | |
8527 to complete prefix to a key defined in buffer. Mainly useful in | |
8528 crossref entries. | |
8529 | |
8530 *** New function bibtex-count-entries to count entries in buffer or | |
8531 region. | |
8532 | |
8533 *** Added support for imenu. | |
8534 | |
8535 *** The function `bibtex-validate' now checks current region instead | |
8536 of buffer if mark is active. Now it shows all errors of buffer in a | |
8537 `compilation mode' buffer. You can use the normal commands (e.g. | |
8538 `next-error') for compilation modes to jump to errors. | |
8539 | |
8540 *** New variable `bibtex-string-file-path' to determine where the files | |
8541 from `bibtex-string-files' are searched. | |
8542 | |
8543 ** Iso Accents mode now supports Latin-3 as an alternative. | |
8544 | |
8545 ** The command next-error now opens blocks hidden by hideshow. | |
8546 | |
8547 ** The function using-unix-filesystems has been replaced by the | |
8548 functions add-untranslated-filesystem and remove-untranslated-filesystem. | |
8549 Each of these functions takes the name of a drive letter or directory | |
8550 as an argument. | |
8551 | |
8552 When a filesystem is added as untranslated, all files on it are read | |
8553 and written in binary mode (no cr/lf translation is performed). | |
8554 | |
8555 ** browse-url changes | |
8556 | |
8557 *** New methods for: Grail (browse-url-generic), MMM (browse-url-mmm), | |
8558 Lynx in a separate xterm (browse-url-lynx-xterm) or in an Emacs window | |
8559 (browse-url-lynx-emacs), remote W3 (browse-url-w3-gnudoit), generic | |
8560 non-remote-controlled browsers (browse-url-generic) and associated | |
8561 customization variables. | |
8562 | |
8563 *** New commands `browse-url-of-region' and `browse-url'. | |
8564 | |
8565 *** URLs marked up with <URL:...> (RFC1738) work if broken across | |
8566 lines. Browsing methods can be associated with URL regexps | |
8567 (e.g. mailto: URLs) via `browse-url-browser-function'. | |
8568 | |
8569 ** Changes in Ediff | |
8570 | |
8571 *** Clicking Mouse-2 on a brief command description in Ediff control panel | |
8572 pops up the Info file for this command. | |
8573 | |
8574 *** There is now a variable, ediff-autostore-merges, which controls whether | |
8575 the result of a merge is saved in a file. By default, this is done only when | |
8576 merge is done from a session group (eg, when merging files in two different | |
8577 directories). | |
8578 | |
8579 *** Since Emacs 19.31 (this hasn't been announced before), Ediff can compare | |
8580 and merge groups of files residing in different directories, or revisions of | |
8581 files in the same directory. | |
8582 | |
8583 *** Since Emacs 19.31, Ediff can apply multi-file patches interactively. | |
8584 The patches must be in the context format or GNU unified format. (The bug | |
8585 related to the GNU format has now been fixed.) | |
8586 | |
8587 ** Changes in Viper | |
8588 | |
8589 *** The startup file is now .viper instead of .vip | |
8590 *** All variable/function names have been changed to start with viper- | |
8591 instead of vip-. | |
8592 *** C-\ now simulates the meta-key in all Viper states. | |
8593 *** C-z in Insert state now escapes to Vi for the duration of the next | |
8594 Viper command. In Vi and Insert states, C-z behaves as before. | |
8595 *** C-c \ escapes to Vi for one command if Viper is in Insert or Emacs states. | |
8596 *** _ is no longer the meta-key in Vi state. | |
8597 *** The variable viper-insert-state-cursor-color can be used to change cursor | |
8598 color when Viper is in insert state. | |
8599 *** If search lands the cursor near the top or the bottom of the window, | |
8600 Viper pulls the window up or down to expose more context. The variable | |
8601 viper-adjust-window-after-search controls this behavior. | |
8602 | |
8603 ** Etags changes. | |
8604 | |
8605 *** In C, C++, Objective C and Java, Etags tags global variables by | |
8606 default. The resulting tags files are inflated by 30% on average. | |
8607 Use --no-globals to turn this feature off. Etags can also tag | |
8608 variables which are members of structure-like constructs, but it does | |
8609 not by default. Use --members to turn this feature on. | |
8610 | |
8611 *** C++ member functions are now recognized as tags. | |
8612 | |
8613 *** Java is tagged like C++. In addition, "extends" and "implements" | |
8614 constructs are tagged. Files are recognised by the extension .java. | |
8615 | |
8616 *** Etags can now handle programs written in Postscript. Files are | |
8617 recognised by the extensions .ps and .pdb (Postscript with C syntax). | |
8618 In Postscript, tags are lines that start with a slash. | |
8619 | |
8620 *** Etags now handles Objective C and Objective C++ code. The usual C and | |
8621 C++ tags are recognized in these languages; in addition, etags | |
8622 recognizes special Objective C syntax for classes, class categories, | |
8623 methods and protocols. | |
8624 | |
8625 *** Etags also handles Cobol. Files are recognised by the extension | |
8626 .cobol. The tagged lines are those containing a word that begins in | |
8627 column 8 and ends in a full stop, i.e. anything that could be a | |
8628 paragraph name. | |
8629 | |
8630 *** Regexps in Etags now support intervals, as in ed or grep. The syntax of | |
8631 an interval is \{M,N\}, and it means to match the preceding expression | |
8632 at least M times and as many as N times. | |
8633 | |
8634 ** The format for specifying a custom format for time-stamp to insert | |
8635 in files has changed slightly. | |
8636 | |
8637 With the new enhancements to the functionality of format-time-string, | |
8638 time-stamp-format will change to be eventually compatible with it. | |
8639 This conversion is being done in two steps to maintain compatibility | |
8640 with old time-stamp-format values. | |
8641 | |
8642 In the new scheme, alternate case is signified by the number-sign | |
8643 (`#') modifier, rather than changing the case of the format character. | |
8644 This feature is as yet incompletely implemented for compatibility | |
8645 reasons. | |
8646 | |
8647 In the old time-stamp-format, all numeric fields defaulted to their | |
8648 natural width. (With format-time-string, each format has a | |
8649 fixed-width default.) In this version, you can specify the colon | |
8650 (`:') modifier to a numeric conversion to mean "give me the historical | |
8651 time-stamp-format width default." Do not use colon if you are | |
8652 specifying an explicit width, as in "%02d". | |
8653 | |
8654 Numbers are no longer truncated to the requested width, except in the | |
8655 case of "%02y", which continues to give a two-digit year. Digit | |
8656 truncation probably wasn't being used for anything else anyway. | |
8657 | |
8658 The new formats will work with old versions of Emacs. New formats are | |
8659 being recommended now to allow time-stamp-format to change in the | |
8660 future to be compatible with format-time-string. The new forms being | |
8661 recommended now will continue to work then. | |
8662 | |
8663 See the documentation string for the variable time-stamp-format for | |
8664 details. | |
8665 | |
8666 ** There are some additional major modes: | |
8667 | |
8668 dcl-mode, for editing VMS DCL files. | |
8669 m4-mode, for editing files of m4 input. | |
8670 meta-mode, for editing MetaFont and MetaPost source files. | |
8671 | |
8672 ** In Shell mode, the command shell-copy-environment-variable lets you | |
8673 copy the value of a specified environment variable from the subshell | |
8674 into Emacs. | |
8675 | |
8676 ** New Lisp packages include: | |
8677 | |
8678 *** battery.el displays battery status for laptops. | |
8679 | |
8680 *** M-x bruce (named after Lenny Bruce) is a program that might | |
8681 be used for adding some indecent words to your email. | |
8682 | |
8683 *** M-x crisp-mode enables an emulation for the CRiSP editor. | |
8684 | |
8685 *** M-x dirtrack arranges for better tracking of directory changes | |
8686 in shell buffers. | |
8687 | |
8688 *** The new library elint.el provides for linting of Emacs Lisp code. | |
8689 See the documentation for `elint-initialize', `elint-current-buffer' | |
8690 and `elint-defun'. | |
8691 | |
8692 *** M-x expand-add-abbrevs defines a special kind of abbrev which is | |
8693 meant for programming constructs. These abbrevs expand like ordinary | |
8694 ones, when you type SPC, but only at the end of a line and not within | |
8695 strings or comments. | |
8696 | |
8697 These abbrevs can act as templates: you can define places within an | |
8698 abbrev for insertion of additional text. Once you expand the abbrev, | |
8699 you can then use C-x a p and C-x a n to move back and forth to these | |
8700 insertion points. Thus you can conveniently insert additional text | |
8701 at these points. | |
8702 | |
8703 *** filecache.el remembers the location of files so that you | |
8704 can visit them by short forms of their names. | |
8705 | |
8706 *** find-func.el lets you find the definition of the user-loaded | |
8707 Emacs Lisp function at point. | |
8708 | |
8709 *** M-x handwrite converts text to a "handwritten" picture. | |
8710 | |
8711 *** M-x iswitchb-buffer is a command for switching to a buffer, much like | |
8712 switch-buffer, but it reads the argument in a more helpful way. | |
8713 | |
8714 *** M-x landmark implements a neural network for landmark learning. | |
8715 | |
8716 *** M-x locate provides a convenient interface to the `locate' program. | |
8717 | |
8718 *** M4 mode is a new mode for editing files of m4 input. | |
8719 | |
8720 *** mantemp.el creates C++ manual template instantiations | |
8721 from the GCC error messages which indicate which instantiations are needed. | |
8722 | |
8723 *** mouse-copy.el provides a one-click copy and move feature. | |
8724 You can drag a region with M-mouse-1, and it is automatically | |
8725 inserted at point. M-Shift-mouse-1 deletes the text from its | |
8726 original place after inserting the copy. | |
8727 | |
8728 *** mouse-drag.el lets you do scrolling by dragging Mouse-2 | |
8729 on the buffer. | |
8730 | |
8731 You click the mouse and move; that distance either translates into the | |
8732 velocity to scroll (with mouse-drag-throw) or the distance to scroll | |
8733 (with mouse-drag-drag). Horizontal scrolling is enabled when needed. | |
8734 | |
8735 Enable mouse-drag with: | |
8736 (global-set-key [down-mouse-2] 'mouse-drag-throw) | |
8737 -or- | |
8738 (global-set-key [down-mouse-2] 'mouse-drag-drag) | |
8739 | |
8740 *** mspools.el is useful for determining which mail folders have | |
8741 mail waiting to be read in them. It works with procmail. | |
8742 | |
8743 *** Octave mode is a major mode for editing files of input for Octave. | |
8744 It comes with a facility for communicating with an Octave subprocess. | |
8745 | |
8746 *** ogonek | |
8747 | |
8748 The ogonek package provides functions for changing the coding of | |
8749 Polish diacritic characters in buffers. Codings known from various | |
8750 platforms are supported such as ISO8859-2, Mazovia, IBM Latin2, and | |
8751 TeX. For example, you can change the coding from Mazovia to | |
8752 ISO8859-2. Another example is a change of coding from ISO8859-2 to | |
8753 prefix notation (in which `/a' stands for the aogonek character, for | |
8754 instance) and vice versa. | |
8755 | |
8756 To use this package load it using | |
8757 M-x load-library [enter] ogonek | |
8758 Then, you may get an explanation by calling one of | |
8759 M-x ogonek-jak -- in Polish | |
8760 M-x ogonek-how -- in English | |
8761 The info specifies the commands and variables provided as well as the | |
8762 ways of customization in `.emacs'. | |
8763 | |
8764 *** Interface to ph. | |
8765 | |
8766 Emacs provides a client interface to CCSO Nameservers (ph/qi) | |
8767 | |
8768 The CCSO nameserver is used in many universities to provide directory | |
8769 services about people. ph.el provides a convenient Emacs interface to | |
8770 these servers. | |
8771 | |
8772 *** uce.el is useful for replying to unsolicited commercial email. | |
8773 | |
8774 *** vcursor.el implements a "virtual cursor" feature. | |
8775 You can move the virtual cursor with special commands | |
8776 while the real cursor does not move. | |
8777 | |
8778 *** webjump.el is a "hot list" package which you can set up | |
8779 for visiting your favorite web sites. | |
8780 | |
8781 *** M-x winner-mode is a minor mode which saves window configurations, | |
8782 so you can move back to other configurations that you have recently used. | |
8783 | |
8784 ** movemail change | |
8785 | |
8786 Movemail no longer needs to be installed setuid root in order for POP | |
8787 mail retrieval to function properly. This is because it no longer | |
8788 supports the RPOP (reserved-port POP) protocol; instead, it uses the | |
8789 user's POP password to authenticate to the mail server. | |
8790 | |
8791 This change was made earlier, but not reported in NEWS before. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
8792 |
30922 | 8793 * Emacs 20.1 changes for MS-DOS and MS-Windows. |
8794 | |
8795 ** Changes in handling MS-DOS/MS-Windows text files. | |
8796 | |
8797 Emacs handles three different conventions for representing | |
8798 end-of-line: CRLF for MSDOS, LF for Unix and GNU, and CR (used on the | |
8799 Macintosh). Emacs determines which convention is used in a specific | |
8800 file based on the contents of that file (except for certain special | |
8801 file names), and when it saves the file, it uses the same convention. | |
8802 | |
8803 To save the file and change the end-of-line convention, you can use | |
8804 C-x RET f (set-buffer-file-coding-system) to specify a different | |
8805 coding system for the buffer. Then, when you save the file, the newly | |
8806 specified coding system will take effect. For example, to save with | |
8807 LF, specify undecided-unix (or some other ...-unix coding system); to | |
8808 save with CRLF, specify undecided-dos. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
8809 |
30922 | 8810 * Lisp Changes in Emacs 20.1 |
8811 | |
8812 ** Byte-compiled files made with Emacs 20 will, in general, work in | |
8813 Emacs 19 as well, as long as the source code runs in Emacs 19. And | |
8814 vice versa: byte-compiled files made with Emacs 19 should also run in | |
8815 Emacs 20, as long as the program itself works in Emacs 20. | |
8816 | |
8817 ** Windows-specific functions and variables have been renamed | |
8818 to start with w32- instead of win32-. | |
8819 | |
8820 In hacker language, calling something a "win" is a form of praise. We | |
8821 don't want to praise a non-free Microsoft system, so we don't call it | |
8822 "win". | |
8823 | |
8824 ** Basic Lisp changes | |
8825 | |
8826 *** A symbol whose name starts with a colon now automatically | |
8827 evaluates to itself. Therefore such a symbol can be used as a constant. | |
8828 | |
8829 *** The defined purpose of `defconst' has been changed. It should now | |
8830 be used only for values that should not be changed whether by a program | |
8831 or by the user. | |
8832 | |
8833 The actual behavior of defconst has not been changed. | |
8834 | |
8835 *** There are new macros `when' and `unless' | |
8836 | |
8837 (when CONDITION BODY...) is short for (if CONDITION (progn BODY...)) | |
8838 (unless CONDITION BODY...) is short for (if CONDITION nil BODY...) | |
8839 | |
8840 *** Emacs now defines functions caar, cadr, cdar and cddr with their | |
8841 usual Lisp meanings. For example, caar returns the car of the car of | |
8842 its argument. | |
8843 | |
8844 *** equal, when comparing strings, now ignores their text properties. | |
8845 | |
8846 *** The new function `functionp' tests whether an object is a function. | |
8847 | |
8848 *** arrayp now returns t for char-tables and bool-vectors. | |
8849 | |
8850 *** Certain primitives which use characters (as integers) now get an | |
8851 error if the integer is not a valid character code. These primitives | |
8852 include insert-char, char-to-string, and the %c construct in the | |
8853 `format' function. | |
8854 | |
8855 *** The `require' function now insists on adding a suffix, either .el | |
8856 or .elc, to the file name. Thus, (require 'foo) will not use a file | |
8857 whose name is just foo. It insists on foo.el or foo.elc. | |
8858 | |
8859 *** The `autoload' function, when the file name does not contain | |
8860 either a directory name or the suffix .el or .elc, insists on | |
8861 adding one of these suffixes. | |
8862 | |
8863 *** string-to-number now takes an optional second argument BASE | |
8864 which specifies the base to use when converting an integer. | |
8865 If BASE is omitted, base 10 is used. | |
8866 | |
8867 We have not implemented other radices for floating point numbers, | |
8868 because that would be much more work and does not seem useful. | |
8869 | |
8870 *** substring now handles vectors as well as strings. | |
8871 | |
8872 *** The Common Lisp function eql is no longer defined normally. | |
8873 You must load the `cl' library to define it. | |
8874 | |
8875 *** The new macro `with-current-buffer' lets you evaluate an expression | |
8876 conveniently with a different current buffer. It looks like this: | |
8877 | |
8878 (with-current-buffer BUFFER BODY-FORMS...) | |
8879 | |
8880 BUFFER is the expression that says which buffer to use. | |
8881 BODY-FORMS say what to do in that buffer. | |
8882 | |
8883 *** The new primitive `save-current-buffer' saves and restores the | |
8884 choice of current buffer, like `save-excursion', but without saving or | |
8885 restoring the value of point or the mark. `with-current-buffer' | |
8886 works using `save-current-buffer'. | |
8887 | |
8888 *** The new macro `with-temp-file' lets you do some work in a new buffer and | |
8889 write the output to a specified file. Like `progn', it returns the value | |
8890 of the last form. | |
8891 | |
8892 *** The new macro `with-temp-buffer' lets you do some work in a new buffer, | |
8893 which is discarded after use. Like `progn', it returns the value of the | |
8894 last form. If you wish to return the buffer contents, use (buffer-string) | |
8895 as the last form. | |
8896 | |
8897 *** The new function split-string takes a string, splits it at certain | |
8898 characters, and returns a list of the substrings in between the | |
8899 matches. | |
8900 | |
8901 For example, (split-string "foo bar lose" " +") returns ("foo" "bar" "lose"). | |
8902 | |
8903 *** The new macro with-output-to-string executes some Lisp expressions | |
8904 with standard-output set up so that all output feeds into a string. | |
8905 Then it returns that string. | |
8906 | |
8907 For example, if the current buffer name is `foo', | |
8908 | |
8909 (with-output-to-string | |
8910 (princ "The buffer is ") | |
8911 (princ (buffer-name))) | |
8912 | |
8913 returns "The buffer is foo". | |
8914 | |
8915 ** Non-ASCII characters are now supported, if enable-multibyte-characters | |
8916 is non-nil. | |
8917 | |
8918 These characters have character codes above 256. When inserted in the | |
8919 buffer or stored in a string, they are represented as multibyte | |
8920 characters that occupy several buffer positions each. | |
8921 | |
8922 *** When enable-multibyte-characters is non-nil, a single character in | |
8923 a buffer or string can be two or more bytes (as many as four). | |
8924 | |
8925 Buffers and strings are still made up of unibyte elements; | |
8926 character positions and string indices are always measured in bytes. | |
8927 Therefore, moving forward one character can increase the buffer | |
8928 position by 2, 3 or 4. The function forward-char moves by whole | |
8929 characters, and therefore is no longer equivalent to | |
8930 (lambda (n) (goto-char (+ (point) n))). | |
8931 | |
8932 ASCII characters (codes 0 through 127) are still single bytes, always. | |
8933 Sequences of byte values 128 through 255 are used to represent | |
8934 non-ASCII characters. These sequences are called "multibyte | |
8935 characters". | |
8936 | |
8937 The first byte of a multibyte character is always in the range 128 | |
8938 through 159 (octal 0200 through 0237). These values are called | |
8939 "leading codes". The second and subsequent bytes are always in the | |
8940 range 160 through 255 (octal 0240 through 0377). The first byte, the | |
8941 leading code, determines how many bytes long the sequence is. | |
8942 | |
8943 *** The function forward-char moves over characters, and therefore | |
8944 (forward-char 1) may increase point by more than 1 if it moves over a | |
8945 multibyte character. Likewise, delete-char always deletes a | |
8946 character, which may be more than one buffer position. | |
8947 | |
8948 This means that some Lisp programs, which assume that a character is | |
8949 always one buffer position, need to be changed. | |
8950 | |
8951 However, all ASCII characters are always one buffer position. | |
8952 | |
8953 *** The regexp [\200-\377] no longer matches all non-ASCII characters, | |
8954 because when enable-multibyte-characters is non-nil, these characters | |
8955 have codes that are not in the range octal 200 to octal 377. However, | |
8956 the regexp [^\000-\177] does match all non-ASCII characters, | |
8957 guaranteed. | |
8958 | |
8959 *** The function char-boundary-p returns non-nil if position POS is | |
8960 between two characters in the buffer (not in the middle of a | |
8961 character). | |
8962 | |
8963 When the value is non-nil, it says what kind of character follows POS: | |
8964 | |
8965 0 if POS is at an ASCII character or at the end of range, | |
8966 1 if POS is before a 2-byte length multi-byte form, | |
8967 2 if POS is at a head of 3-byte length multi-byte form, | |
8968 3 if POS is at a head of 4-byte length multi-byte form, | |
8969 4 if POS is at a head of multi-byte form of a composite character. | |
8970 | |
8971 *** The function char-bytes returns how many bytes the character CHAR uses. | |
8972 | |
8973 *** Strings can contain multibyte characters. The function | |
8974 `length' returns the string length counting bytes, which may be | |
8975 more than the number of characters. | |
8976 | |
8977 You can include a multibyte character in a string constant by writing | |
8978 it literally. You can also represent it with a hex escape, | |
8979 \xNNNNNNN..., using as many digits as necessary. Any character which | |
8980 is not a valid hex digit terminates this construct. If you want to | |
8981 follow it with a character that is a hex digit, write backslash and | |
8982 newline in between; that will terminate the hex escape. | |
8983 | |
8984 *** The function concat-chars takes arguments which are characters | |
8985 and returns a string containing those characters. | |
8986 | |
8987 *** The function sref access a multibyte character in a string. | |
8988 (sref STRING INDX) returns the character in STRING at INDEX. INDEX | |
8989 counts from zero. If INDEX is at a position in the middle of a | |
8990 character, sref signals an error. | |
8991 | |
8992 *** The function chars-in-string returns the number of characters | |
8993 in a string. This is less than the length of the string, if the | |
8994 string contains multibyte characters (the length counts bytes). | |
8995 | |
8996 *** The function chars-in-region returns the number of characters | |
8997 in a region from BEG to END. This is less than (- END BEG) if the | |
8998 region contains multibyte characters (the length counts bytes). | |
8999 | |
9000 *** The function string-to-list converts a string to a list of | |
9001 the characters in it. string-to-vector converts a string | |
9002 to a vector of the characters in it. | |
9003 | |
9004 *** The function store-substring alters part of the contents | |
9005 of a string. You call it as follows: | |
9006 | |
9007 (store-substring STRING IDX OBJ) | |
9008 | |
9009 This says to alter STRING, by storing OBJ starting at index IDX in | |
9010 STRING. OBJ may be either a character or a (smaller) string. | |
9011 This function really does alter the contents of STRING. | |
9012 Since it is impossible to change the length of an existing string, | |
9013 it is an error if OBJ doesn't fit within STRING's actual length. | |
9014 | |
9015 *** char-width returns the width (in columns) of the character CHAR, | |
9016 if it were displayed in the current buffer and the selected window. | |
9017 | |
9018 *** string-width returns the width (in columns) of the text in STRING, | |
9019 if it were displayed in the current buffer and the selected window. | |
9020 | |
9021 *** truncate-string-to-width shortens a string, if necessary, | |
9022 to fit within a certain number of columns. (Of course, it does | |
9023 not alter the string that you give it; it returns a new string | |
9024 which contains all or just part of the existing string.) | |
9025 | |
9026 (truncate-string-to-width STR END-COLUMN &optional START-COLUMN PADDING) | |
9027 | |
9028 This returns the part of STR up to column END-COLUMN. | |
9029 | |
9030 The optional argument START-COLUMN specifies the starting column. | |
9031 If this is non-nil, then the first START-COLUMN columns of the string | |
9032 are not included in the resulting value. | |
9033 | |
9034 The optional argument PADDING, if non-nil, is a padding character to be added | |
9035 at the beginning and end the resulting string, to extend it to exactly | |
9036 WIDTH columns. If PADDING is nil, that means do not pad; then, if STRING | |
9037 is narrower than WIDTH, the value is equal to STRING. | |
9038 | |
9039 If PADDING and START-COLUMN are both non-nil, and if there is no clean | |
9040 place in STRING that corresponds to START-COLUMN (because one | |
9041 character extends across that column), then the padding character | |
9042 PADDING is added one or more times at the beginning of the result | |
9043 string, so that its columns line up as if it really did start at | |
9044 column START-COLUMN. | |
9045 | |
9046 *** When the functions in the list after-change-functions are called, | |
9047 the third argument is the number of bytes in the pre-change text, not | |
9048 necessarily the number of characters. It is, in effect, the | |
9049 difference in buffer position between the beginning and the end of the | |
9050 changed text, before the change. | |
9051 | |
9052 *** The characters Emacs uses are classified in various character | |
9053 sets, each of which has a name which is a symbol. In general there is | |
9054 one character set for each script, not for each language. | |
9055 | |
9056 **** The function charsetp tests whether an object is a character set name. | |
9057 | |
9058 **** The variable charset-list holds a list of character set names. | |
9059 | |
9060 **** char-charset, given a character code, returns the name of the character | |
9061 set that the character belongs to. (The value is a symbol.) | |
9062 | |
9063 **** split-char, given a character code, returns a list containing the | |
9064 name of the character set, followed by one or two byte-values | |
9065 which identify the character within that character set. | |
9066 | |
9067 **** make-char, given a character set name and one or two subsequent | |
9068 byte-values, constructs a character code. This is roughly the | |
9069 opposite of split-char. | |
9070 | |
9071 **** find-charset-region returns a list of the character sets | |
9072 of all the characters between BEG and END. | |
9073 | |
9074 **** find-charset-string returns a list of the character sets | |
9075 of all the characters in a string. | |
9076 | |
9077 *** Here are the Lisp facilities for working with coding systems | |
9078 and specifying coding systems. | |
9079 | |
9080 **** The function coding-system-list returns a list of all coding | |
9081 system names (symbols). With optional argument t, it returns a list | |
9082 of all distinct base coding systems, not including variants. | |
9083 (Variant coding systems are those like latin-1-dos, latin-1-unix | |
9084 and latin-1-mac which specify the end-of-line conversion as well | |
9085 as what to do about code conversion.) | |
9086 | |
9087 **** coding-system-p tests a symbol to see if it is a coding system | |
9088 name. It returns t if so, nil if not. | |
9089 | |
9090 **** file-coding-system-alist specifies which coding systems to use | |
9091 for certain file names. It works like network-coding-system-alist, | |
9092 except that the PATTERN is matched against the file name. | |
9093 | |
9094 Each element has the format (PATTERN . VAL), where PATTERN determines | |
9095 which file names the element applies to. PATTERN should be a regexp | |
9096 to match against a file name. | |
9097 | |
9098 VAL is a coding system, a cons cell containing two coding systems, or | |
9099 a function symbol. If VAL is a coding system, it is used for both | |
9100 decoding what received from the network stream and encoding what sent | |
9101 to the network stream. If VAL is a cons cell containing two coding | |
9102 systems, the car specifies the coding system for decoding, and the cdr | |
9103 specifies the coding system for encoding. | |
9104 | |
9105 If VAL is a function symbol, the function must return a coding system | |
9106 or a cons cell containing two coding systems, which is used as above. | |
9107 | |
9108 **** The variable network-coding-system-alist specifies | |
9109 the coding system to use for network sockets. | |
9110 | |
9111 Each element has the format (PATTERN . VAL), where PATTERN determines | |
9112 which network sockets the element applies to. PATTERN should be | |
9113 either a port number or a regular expression matching some network | |
9114 service names. | |
9115 | |
9116 VAL is a coding system, a cons cell containing two coding systems, or | |
9117 a function symbol. If VAL is a coding system, it is used for both | |
9118 decoding what received from the network stream and encoding what sent | |
9119 to the network stream. If VAL is a cons cell containing two coding | |
9120 systems, the car specifies the coding system for decoding, and the cdr | |
9121 specifies the coding system for encoding. | |
9122 | |
9123 If VAL is a function symbol, the function must return a coding system | |
9124 or a cons cell containing two coding systems, which is used as above. | |
9125 | |
9126 **** process-coding-system-alist specifies which coding systems to use | |
9127 for certain subprocess. It works like network-coding-system-alist, | |
9128 except that the PATTERN is matched against the program name used to | |
9129 start the subprocess. | |
9130 | |
9131 **** The variable default-process-coding-system specifies the coding | |
9132 systems to use for subprocess (and net connection) input and output, | |
9133 when nothing else specifies what to do. The value is a cons cell | |
9134 (OUTPUT-CODING . INPUT-CODING). OUTPUT-CODING applies to output | |
9135 to the subprocess, and INPUT-CODING applies to input from it. | |
9136 | |
9137 **** The variable coding-system-for-write, if non-nil, specifies the | |
9138 coding system to use for writing a file, or for output to a synchronous | |
9139 subprocess. | |
9140 | |
9141 It also applies to any asynchronous subprocess or network connection, | |
9142 but in a different way: the value of coding-system-for-write when you | |
9143 start the subprocess or connection affects that subprocess or | |
9144 connection permanently or until overridden. | |
9145 | |
9146 The variable coding-system-for-write takes precedence over | |
9147 file-coding-system-alist, process-coding-system-alist and | |
9148 network-coding-system-alist, and all other methods of specifying a | |
9149 coding system for output. But most of the time this variable is nil. | |
9150 It exists so that Lisp programs can bind it to a specific coding | |
9151 system for one operation at a time. | |
9152 | |
9153 **** coding-system-for-read applies similarly to input from | |
9154 files, subprocesses or network connections. | |
9155 | |
9156 **** The function process-coding-system tells you what | |
9157 coding systems(s) an existing subprocess is using. | |
9158 The value is a cons cell, | |
9159 (DECODING-CODING-SYSTEM . ENCODING-CODING-SYSTEM) | |
9160 where DECODING-CODING-SYSTEM is used for decoding output from | |
9161 the subprocess, and ENCODING-CODING-SYSTEM is used for encoding | |
9162 input to the subprocess. | |
9163 | |
9164 **** The function set-process-coding-system can be used to | |
9165 change the coding systems in use for an existing subprocess. | |
9166 | |
9167 ** Emacs has a new facility to help users manage the many | |
9168 customization options. To make a Lisp program work with this facility, | |
9169 you need to use the new macros defgroup and defcustom. | |
9170 | |
9171 You use defcustom instead of defvar, for defining a user option | |
9172 variable. The difference is that you specify two additional pieces of | |
9173 information (usually): the "type" which says what values are | |
9174 legitimate, and the "group" which specifies the hierarchy for | |
9175 customization. | |
9176 | |
9177 Thus, instead of writing | |
9178 | |
9179 (defvar foo-blurgoze nil | |
9180 "*Non-nil means that foo will act very blurgozely.") | |
9181 | |
9182 you would now write this: | |
9183 | |
9184 (defcustom foo-blurgoze nil | |
9185 "*Non-nil means that foo will act very blurgozely." | |
9186 :type 'boolean | |
9187 :group foo) | |
9188 | |
9189 The type `boolean' means that this variable has only | |
9190 two meaningful states: nil and non-nil. Other type values | |
9191 describe other possibilities; see the manual for Custom | |
9192 for a description of them. | |
9193 | |
9194 The "group" argument is used to specify a group which the option | |
9195 should belong to. You define a new group like this: | |
9196 | |
9197 (defgroup ispell nil | |
9198 "Spell checking using Ispell." | |
9199 :group 'processes) | |
9200 | |
9201 The "group" argument in defgroup specifies the parent group. The root | |
9202 group is called `emacs'; it should not contain any variables itself, | |
9203 but only other groups. The immediate subgroups of `emacs' correspond | |
9204 to the keywords used by C-h p. Under these subgroups come | |
9205 second-level subgroups that belong to individual packages. | |
9206 | |
9207 Each Emacs package should have its own set of groups. A simple | |
9208 package should have just one group; a more complex package should | |
9209 have a hierarchy of its own groups. The sole or root group of a | |
9210 package should be a subgroup of one or more of the "keyword" | |
9211 first-level subgroups. | |
9212 | |
9213 ** New `widget' library for inserting UI components in buffers. | |
9214 | |
9215 This library, used by the new custom library, is documented in a | |
9216 separate manual that accompanies Emacs. | |
9217 | |
9218 ** easy-mmode | |
9219 | |
9220 The easy-mmode package provides macros and functions that make | |
9221 developing minor modes easier. Roughly, the programmer has to code | |
9222 only the functionality of the minor mode. All the rest--toggles, | |
9223 predicate, and documentation--can be done in one call to the macro | |
9224 `easy-mmode-define-minor-mode' (see the documentation). See also | |
9225 `easy-mmode-define-keymap'. | |
9226 | |
9227 ** Text property changes | |
9228 | |
9229 *** The `intangible' property now works on overlays as well as on a | |
9230 text property. | |
9231 | |
9232 *** The new functions next-char-property-change and | |
9233 previous-char-property-change scan through the buffer looking for a | |
9234 place where either a text property or an overlay might change. The | |
9235 functions take two arguments, POSITION and LIMIT. POSITION is the | |
9236 starting position for the scan. LIMIT says where to stop the scan. | |
9237 | |
9238 If no property change is found before LIMIT, the value is LIMIT. If | |
9239 LIMIT is nil, scan goes to the beginning or end of the accessible part | |
9240 of the buffer. If no property change is found, the value is the | |
9241 position of the beginning or end of the buffer. | |
9242 | |
9243 *** In the `local-map' text property or overlay property, the property | |
9244 value can now be a symbol whose function definition is a keymap. This | |
9245 is an alternative to using the keymap itself. | |
9246 | |
9247 ** Changes in invisibility features | |
9248 | |
9249 *** Isearch can now temporarily show parts of the buffer which are | |
9250 hidden by an overlay with a invisible property, when the search match | |
9251 is inside that portion of the buffer. To enable this the overlay | |
9252 should have a isearch-open-invisible property which is a function that | |
9253 would be called having the overlay as an argument, the function should | |
9254 make the overlay visible. | |
9255 | |
9256 During incremental search the overlays are shown by modifying the | |
9257 invisible and intangible properties, if beside this more actions are | |
9258 needed the overlay should have a isearch-open-invisible-temporary | |
9259 which is a function. The function is called with 2 arguments: one is | |
9260 the overlay and the second is nil when it should show the overlay and | |
9261 t when it should hide it. | |
9262 | |
9263 *** add-to-invisibility-spec, remove-from-invisibility-spec | |
9264 | |
9265 Modes that use overlays to hide portions of a buffer should set the | |
9266 invisible property of the overlay to the mode's name (or another symbol) | |
9267 and modify the `buffer-invisibility-spec' to include that symbol. | |
9268 Use `add-to-invisibility-spec' and `remove-from-invisibility-spec' to | |
9269 manipulate the `buffer-invisibility-spec'. | |
9270 Here is an example of how to do this: | |
9271 | |
9272 ;; If we want to display an ellipsis: | |
9273 (add-to-invisibility-spec '(my-symbol . t)) | |
9274 ;; If you don't want ellipsis: | |
9275 (add-to-invisibility-spec 'my-symbol) | |
9276 | |
9277 ... | |
9278 (overlay-put (make-overlay beginning end) 'invisible 'my-symbol) | |
9279 | |
9280 ... | |
9281 ;; When done with the overlays: | |
9282 (remove-from-invisibility-spec '(my-symbol . t)) | |
9283 ;; Or respectively: | |
9284 (remove-from-invisibility-spec 'my-symbol) | |
9285 | |
9286 ** Changes in syntax parsing. | |
9287 | |
9288 *** The syntax-directed buffer-scan functions (such as | |
9289 `parse-partial-sexp', `forward-word' and similar functions) can now | |
9290 obey syntax information specified by text properties, if the variable | |
9291 `parse-sexp-lookup-properties' is non-nil. | |
9292 | |
9293 If the value of `parse-sexp-lookup-properties' is nil, the behavior | |
9294 is as before: the syntax-table of the current buffer is always | |
9295 used to determine the syntax of the character at the position. | |
9296 | |
9297 When `parse-sexp-lookup-properties' is non-nil, the syntax of a | |
9298 character in the buffer is calculated thus: | |
9299 | |
9300 a) if the `syntax-table' text-property of that character | |
9301 is a cons, this cons becomes the syntax-type; | |
9302 | |
9303 Valid values of `syntax-table' text-property are: nil, a valid | |
9304 syntax-table, and a valid syntax-table element, i.e., | |
9305 a cons cell of the form (SYNTAX-CODE . MATCHING-CHAR). | |
9306 | |
9307 b) if the character's `syntax-table' text-property | |
9308 is a syntax table, this syntax table is used | |
9309 (instead of the syntax-table of the current buffer) to | |
9310 determine the syntax type of the character. | |
9311 | |
9312 c) otherwise the syntax-type is determined by the syntax-table | |
9313 of the current buffer. | |
9314 | |
9315 *** The meaning of \s in regular expressions is also affected by the | |
9316 value of `parse-sexp-lookup-properties'. The details are the same as | |
9317 for the syntax-directed buffer-scan functions. | |
9318 | |
9319 *** There are two new syntax-codes, `!' and `|' (numeric values 14 | |
9320 and 15). A character with a code `!' starts a comment which is ended | |
9321 only by another character with the same code (unless quoted). A | |
9322 character with a code `|' starts a string which is ended only by | |
9323 another character with the same code (unless quoted). | |
9324 | |
9325 These codes are mainly meant for use as values of the `syntax-table' | |
9326 text property. | |
9327 | |
9328 *** The function `parse-partial-sexp' has new semantics for the sixth | |
9329 arg COMMENTSTOP. If it is `syntax-table', parse stops after the start | |
9330 of a comment or a string, or after end of a comment or a string. | |
9331 | |
9332 *** The state-list which the return value from `parse-partial-sexp' | |
9333 (and can also be used as an argument) now has an optional ninth | |
9334 element: the character address of the start of last comment or string; | |
9335 nil if none. The fourth and eighth elements have special values if the | |
9336 string/comment is started by a "!" or "|" syntax-code. | |
9337 | |
9338 *** Since new features of `parse-partial-sexp' allow a complete | |
9339 syntactic parsing, `font-lock' no longer supports | |
9340 `font-lock-comment-start-regexp'. | |
9341 | |
9342 ** Changes in face features | |
9343 | |
9344 *** The face functions are now unconditionally defined in Emacs, even | |
9345 if it does not support displaying on a device that supports faces. | |
9346 | |
9347 *** The function face-documentation returns the documentation string | |
9348 of a face (or nil if it doesn't have one). | |
9349 | |
9350 *** The function face-bold-p returns t if a face should be bold. | |
9351 set-face-bold-p sets that flag. | |
9352 | |
9353 *** The function face-italic-p returns t if a face should be italic. | |
9354 set-face-italic-p sets that flag. | |
9355 | |
9356 *** You can now specify foreground and background colors for text | |
9357 by adding elements of the form (foreground-color . COLOR-NAME) | |
9358 and (background-color . COLOR-NAME) to the list of faces in | |
9359 the `face' property (either the character's text property or an | |
9360 overlay property). | |
9361 | |
9362 This means that you no longer need to create named faces to use | |
9363 arbitrary colors in a Lisp package. | |
9364 | |
9365 ** Changes in file-handling functions | |
9366 | |
9367 *** File-access primitive functions no longer discard an extra redundant | |
9368 directory name from the beginning of the file name. In other words, | |
9369 they no longer do anything special with // or /~. That conversion | |
9370 is now done only in substitute-in-file-name. | |
9371 | |
9372 This makes it possible for a Lisp program to open a file whose name | |
9373 begins with ~. | |
9374 | |
9375 *** If copy-file is unable to set the date of the output file, | |
9376 it now signals an error with the condition file-date-error. | |
9377 | |
9378 *** The inode number returned by file-attributes may be an integer (if | |
9379 the number fits in a Lisp integer) or a list of integers. | |
9380 | |
9381 *** insert-file-contents can now read from a special file, | |
9382 as long as the arguments VISIT and REPLACE are nil. | |
9383 | |
9384 *** The RAWFILE arg to find-file-noselect, if non-nil, now suppresses | |
9385 character code conversion as well as other things. | |
9386 | |
9387 Meanwhile, this feature does work with remote file names | |
9388 (formerly it did not). | |
9389 | |
9390 *** Lisp packages which create temporary files should use the TMPDIR | |
9391 environment variable to decide which directory to put them in. | |
9392 | |
9393 *** interpreter-mode-alist elements now specify regexps | |
9394 instead of constant strings. | |
9395 | |
9396 *** expand-file-name no longer treats `//' or `/~' specially. It used | |
9397 to delete all the text of a file name up through the first slash of | |
9398 any `//' or `/~' sequence. Now it passes them straight through. | |
9399 | |
9400 substitute-in-file-name continues to treat those sequences specially, | |
9401 in the same way as before. | |
9402 | |
9403 *** The variable `format-alist' is more general now. | |
9404 The FROM-FN and TO-FN in a format definition can now be strings | |
9405 which specify shell commands to use as filters to perform conversion. | |
9406 | |
9407 *** The new function access-file tries to open a file, and signals an | |
9408 error if that fails. If the open succeeds, access-file does nothing | |
9409 else, and returns nil. | |
9410 | |
9411 *** The function insert-directory now signals an error if the specified | |
9412 directory cannot be listed. | |
9413 | |
9414 ** Changes in minibuffer input | |
9415 | |
9416 *** The functions read-buffer, read-variable, read-command, read-string | |
9417 read-file-name, read-from-minibuffer and completing-read now take an | |
9418 additional argument which specifies the default value. If this | |
9419 argument is non-nil, it should be a string; that string is used in two | |
9420 ways: | |
9421 | |
9422 It is returned if the user enters empty input. | |
9423 It is available through the history command M-n. | |
9424 | |
9425 *** The functions read-string, read-from-minibuffer, | |
9426 read-no-blanks-input and completing-read now take an additional | |
9427 argument INHERIT-INPUT-METHOD. If this is non-nil, then the | |
9428 minibuffer inherits the current input method and the setting of | |
9429 enable-multibyte-characters from the previously current buffer. | |
9430 | |
9431 In an interactive spec, you can use M instead of s to read an | |
9432 argument in this way. | |
9433 | |
9434 *** All minibuffer input functions discard text properties | |
9435 from the text you enter in the minibuffer, unless the variable | |
9436 minibuffer-allow-text-properties is non-nil. | |
9437 | |
9438 ** Echo area features | |
9439 | |
9440 *** Clearing the echo area now runs the normal hook | |
9441 echo-area-clear-hook. Note that the echo area can be used while the | |
9442 minibuffer is active; in that case, the minibuffer is still active | |
9443 after the echo area is cleared. | |
9444 | |
9445 *** The function current-message returns the message currently displayed | |
9446 in the echo area, or nil if there is none. | |
9447 | |
9448 ** Keyboard input features | |
9449 | |
9450 *** tty-erase-char is a new variable that reports which character was | |
9451 set up as the terminal's erase character when time Emacs was started. | |
9452 | |
9453 *** num-nonmacro-input-events is the total number of input events | |
9454 received so far from the terminal. It does not count those generated | |
9455 by keyboard macros. | |
9456 | |
9457 ** Frame-related changes | |
9458 | |
9459 *** make-frame runs the normal hook before-make-frame-hook just before | |
9460 creating a frame, and just after creating a frame it runs the abnormal | |
9461 hook after-make-frame-functions with the new frame as arg. | |
9462 | |
9463 *** The new hook window-configuration-change-hook is now run every time | |
9464 the window configuration has changed. The frame whose configuration | |
9465 has changed is the selected frame when the hook is run. | |
9466 | |
9467 *** Each frame now independently records the order for recently | |
9468 selected buffers, in its buffer-list frame parameter, so that the | |
9469 value of other-buffer is now based on the buffers recently displayed | |
9470 in the selected frame. | |
9471 | |
9472 *** The value of the frame parameter vertical-scroll-bars | |
9473 is now `left', `right' or nil. A non-nil value specifies | |
9474 which side of the window to put the scroll bars on. | |
9475 | |
9476 ** X Windows features | |
9477 | |
9478 *** You can examine X resources for other applications by binding | |
9479 x-resource-class around a call to x-get-resource. The usual value of | |
9480 x-resource-class is "Emacs", which is the correct value for Emacs. | |
9481 | |
9482 *** In menus, checkboxes and radio buttons now actually work. | |
9483 The menu displays the current status of the box or button. | |
9484 | |
9485 *** The function x-list-fonts now takes an optional fourth argument | |
9486 MAXIMUM which sets a limit on how many matching fonts to return. | |
9487 A smaller value of MAXIMUM makes the function faster. | |
9488 | |
9489 If the only question is whether *any* font matches the pattern, | |
9490 it is good to supply 1 for this argument. | |
9491 | |
9492 ** Subprocess features | |
9493 | |
9494 *** A reminder: it is no longer necessary for subprocess filter | |
9495 functions and sentinels to do save-match-data, because Emacs does this | |
9496 automatically. | |
9497 | |
9498 *** The new function shell-command-to-string executes a shell command | |
9499 and returns the output from the command as a string. | |
9500 | |
9501 *** The new function process-contact returns t for a child process, | |
9502 and (HOSTNAME SERVICE) for a net connection. | |
9503 | |
9504 ** An error in running pre-command-hook or post-command-hook | |
9505 does clear the variable to nil. The documentation was wrong before. | |
9506 | |
9507 ** In define-key-after, if AFTER is t, the new binding now always goes | |
9508 at the end of the keymap. If the keymap is a menu, this means it | |
9509 goes after the other menu items. | |
9510 | |
9511 ** If you have a program that makes several changes in the same area | |
9512 of the buffer, you can use the macro combine-after-change-calls | |
9513 around that Lisp code to make it faster when after-change hooks | |
9514 are in use. | |
9515 | |
9516 The macro arranges to call the after-change functions just once for a | |
9517 series of several changes--if that seems safe. | |
9518 | |
9519 Don't alter the variables after-change-functions and | |
9520 after-change-function within the body of a combine-after-change-calls | |
9521 form. | |
9522 | |
9523 ** If you define an abbrev (with define-abbrev) whose EXPANSION | |
9524 is not a string, then the abbrev does not expand in the usual sense, | |
9525 but its hook is still run. | |
9526 | |
9527 ** Normally, the Lisp debugger is not used (even if you have enabled it) | |
9528 for errors that are handled by condition-case. | |
9529 | |
9530 If you set debug-on-signal to a non-nil value, then the debugger is called | |
9531 regardless of whether there is a handler for the condition. This is | |
9532 useful for debugging problems that happen inside of a condition-case. | |
9533 | |
9534 This mode of operation seems to be unreliable in other ways. Errors that | |
9535 are normal and ought to be handled, perhaps in timers or process | |
9536 filters, will instead invoke the debugger. So don't say you weren't | |
9537 warned. | |
9538 | |
9539 ** The new variable ring-bell-function lets you specify your own | |
9540 way for Emacs to "ring the bell". | |
9541 | |
9542 ** If run-at-time's TIME argument is t, the action is repeated at | |
9543 integral multiples of REPEAT from the epoch; this is useful for | |
9544 functions like display-time. | |
9545 | |
9546 ** You can use the function locate-library to find the precise file | |
9547 name of a Lisp library. This isn't new, but wasn't documented before. | |
9548 | |
9549 ** Commands for entering view mode have new optional arguments that | |
9550 can be used from Lisp. Low-level entrance to and exit from view mode | |
9551 is done by functions view-mode-enter and view-mode-exit. | |
9552 | |
9553 ** batch-byte-compile-file now makes Emacs return a nonzero status code | |
9554 if there is an error in compilation. | |
9555 | |
9556 ** pop-to-buffer, switch-to-buffer-other-window and | |
9557 switch-to-buffer-other-frame now accept an additional optional | |
9558 argument NORECORD, much like switch-to-buffer. If it is non-nil, | |
9559 they don't put the buffer at the front of the buffer list. | |
9560 | |
9561 ** If your .emacs file leaves the *scratch* buffer non-empty, | |
9562 Emacs does not display the startup message, so as to avoid changing | |
9563 the *scratch* buffer. | |
9564 | |
9565 ** The new function regexp-opt returns an efficient regexp to match a string. | |
9566 The arguments are STRINGS and (optionally) PAREN. This function can be used | |
9567 where regexp matching or searching is intensively used and speed is important, | |
9568 e.g., in Font Lock mode. | |
9569 | |
9570 ** The variable buffer-display-count is local to each buffer, | |
9571 and is incremented each time the buffer is displayed in a window. | |
9572 It starts at 0 when the buffer is created. | |
9573 | |
9574 ** The new function compose-mail starts composing a mail message | |
9575 using the user's chosen mail composition agent (specified with the | |
9576 variable mail-user-agent). It has variants compose-mail-other-window | |
9577 and compose-mail-other-frame. | |
9578 | |
9579 ** The `user-full-name' function now takes an optional parameter which | |
9580 can either be a number (the UID) or a string (the login name). The | |
9581 full name of the specified user will be returned. | |
9582 | |
9583 ** Lisp packages that load files of customizations, or any other sort | |
9584 of user profile, should obey the variable init-file-user in deciding | |
9585 where to find it. They should load the profile of the user name found | |
9586 in that variable. If init-file-user is nil, meaning that the -q | |
9587 option was used, then Lisp packages should not load the customization | |
9588 files at all. | |
9589 | |
9590 ** format-time-string now allows you to specify the field width | |
9591 and type of padding. This works as in printf: you write the field | |
9592 width as digits in the middle of a %-construct. If you start | |
9593 the field width with 0, it means to pad with zeros. | |
9594 | |
9595 For example, %S normally specifies the number of seconds since the | |
9596 minute; %03S means to pad this with zeros to 3 positions, %_3S to pad | |
9597 with spaces to 3 positions. Plain %3S pads with zeros, because that | |
9598 is how %S normally pads to two positions. | |
9599 | |
9600 ** thing-at-point now supports a new kind of "thing": url. | |
9601 | |
9602 ** imenu.el changes. | |
9603 | |
9604 You can now specify a function to be run when selecting an | |
9605 item from menu created by imenu. | |
9606 | |
9607 An example of using this feature: if we define imenu items for the | |
9608 #include directives in a C file, we can open the included file when we | |
9609 select one of those items. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
9610 |
30922 | 9611 * For older news, see the file ONEWS |
25853 | 9612 |
9613 ---------------------------------------------------------------------- | |
9614 Copyright information: | |
9615 | |
35326
f30feeecf1c1
backward-delete-char-untabify-method
Dave Love <fx@gnu.org>
parents:
35297
diff
changeset
|
9616 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. |
25853 | 9617 |
9618 Permission is granted to anyone to make or distribute verbatim copies | |
9619 of this document as received, in any medium, provided that the | |
9620 copyright notice and this permission notice are preserved, | |
9621 thus giving the recipient permission to redistribute in turn. | |
9622 | |
9623 Permission is granted to distribute modified versions | |
9624 of this document, or of portions of it, | |
9625 under the above conditions, provided also that they | |
9626 carry prominent notices stating who last changed them. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
9627 |
25853 | 9628 Local variables: |
9629 mode: outline | |
9630 paragraph-separate: "[ ]*$" | |
9631 end: |