Mercurial > emacs
annotate etc/NEWS @ 42656:cd29af650db0
Comment change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 11 Jan 2002 20:11:18 +0000 |
parents | 180b3f3a8fb8 |
children | 449f96bbb6d0 |
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 |
41749
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
8 Temporary note: |
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
9 +++ indicates that the appropriate manual has already been updated. |
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
10 --- means no change in the manuals is called for. |
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
11 When you add a new item, please add it without either +++ or --- |
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
12 so we will look at it |
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
13 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
14 |
41099
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
15 * Installation Changes in Emacs 21.3 |
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
16 |
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
17 ** 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
|
18 `--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
|
19 installed programs. |
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
20 |
42216
8fc2782f2f8d
Document the inclusion of Leim in the standard tarball.
Eli Zaretskii <eliz@gnu.org>
parents:
42197
diff
changeset
|
21 --- |
8fc2782f2f8d
Document the inclusion of Leim in the standard tarball.
Eli Zaretskii <eliz@gnu.org>
parents:
42197
diff
changeset
|
22 ** Leim is now part of the Emacs distribution. |
8fc2782f2f8d
Document the inclusion of Leim in the standard tarball.
Eli Zaretskii <eliz@gnu.org>
parents:
42197
diff
changeset
|
23 You no longer need to download a separate tarball in order to build |
8fc2782f2f8d
Document the inclusion of Leim in the standard tarball.
Eli Zaretskii <eliz@gnu.org>
parents:
42197
diff
changeset
|
24 Emacs with Leim. |
8fc2782f2f8d
Document the inclusion of Leim in the standard tarball.
Eli Zaretskii <eliz@gnu.org>
parents:
42197
diff
changeset
|
25 |
41675 | 26 ** Support for FreeBSD/Alpha has been added. |
27 | |
41099
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
28 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
29 * Changes in Emacs 21.3 |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
30 |
41847
7423116b7ac3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41820
diff
changeset
|
31 ** Info-index finally offers completion. |
7423116b7ac3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41820
diff
changeset
|
32 |
41730
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
33 ** 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
|
34 |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
35 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
|
36 `left-fringe' and `right-fringe' frame parameters to an integer value |
41749
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
37 specifying the width in pixels. Setting the width to 0 effectively |
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
38 removes the corresponding fringe. |
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
39 |
41730
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
40 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
|
41 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
|
42 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
|
43 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
|
44 integer (if both widths are negative, only the left fringe gets the |
42043
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
45 specified width). |
41730
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
46 |
41749
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
47 Setting the width to nil (the default), restores the default fringe |
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
48 width which is the minimum number of pixels necessary to display any |
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
49 of the currently defined fringe bitmaps. The width of the built-in |
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
50 fringe bitmaps is 8 pixels. |
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
51 |
41928
31fb6b379d0f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41923
diff
changeset
|
52 ** C-w in incremental search now grabs either a character or a word, |
31fb6b379d0f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41923
diff
changeset
|
53 making the decision in a heuristic way. This new job is done by the |
31fb6b379d0f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41923
diff
changeset
|
54 command `isearch-yank-word-or-char'. To restore the old behavior, |
31fb6b379d0f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41923
diff
changeset
|
55 bind C-w to `isearch-yank-word' in `isearch-mode-map'. |
31fb6b379d0f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41923
diff
changeset
|
56 |
41923
86ecd07d46fb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41847
diff
changeset
|
57 ** In GUD mode when talking to GDB, C-x C-a C-j "jumps" the program |
86ecd07d46fb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41847
diff
changeset
|
58 counter to the specified source line (the one where point is). |
86ecd07d46fb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41847
diff
changeset
|
59 |
41620
d5ea676e4052
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41596
diff
changeset
|
60 ** hide-ifdef-mode now uses overlays rather than selective-display |
d5ea676e4052
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41596
diff
changeset
|
61 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
|
62 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
|
63 |
41596
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
64 ** 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
|
65 the corresponding environment variable does not exist. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
66 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
|
67 is only rarely needed. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
68 |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
69 ** 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
|
70 |
994a9d1eee71
Minor change of wording in the documentation of jit-lock-defer-time.
Eli Zaretskii <eliz@gnu.org>
parents:
41482
diff
changeset
|
71 If this variable is non-nil, its value should be the amount of Emacs |
42183
ccf68d58861d
Fix typos. From Juanma Barranquero <lektu@teleline.es>.
Pavel Janík <Pavel@Janik.cz>
parents:
42160
diff
changeset
|
72 idle time in seconds to wait before starting fontification. For |
41501
994a9d1eee71
Minor change of wording in the documentation of jit-lock-defer-time.
Eli Zaretskii <eliz@gnu.org>
parents:
41482
diff
changeset
|
73 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
|
74 only happen after 0.25s of idle time. |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
75 |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
76 ** 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
|
77 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
|
78 M-C-SPC M-C-SPC, for example. |
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
79 |
42605
32e40100d0de
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42487
diff
changeset
|
80 ** In the *Occur* buffer, `o' switches to it in another window, and |
32e40100d0de
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42487
diff
changeset
|
81 C-o displays the current line's occurrence in another window without |
32e40100d0de
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42487
diff
changeset
|
82 switching to it. |
42299
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
83 |
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
84 ** When you specify a frame size with --geometry, the size applies to |
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
85 all frames you create. A position specified with --geometry only |
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
86 affects the initial frame. |
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
87 |
41746
6d817b78bf33
Document prefix arg for M-h.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
41730
diff
changeset
|
88 +++ |
42183
ccf68d58861d
Fix typos. From Juanma Barranquero <lektu@teleline.es>.
Pavel Janík <Pavel@Janik.cz>
parents:
42160
diff
changeset
|
89 ** M-h (mark-paragraph) now accepts a prefix arg. |
ccf68d58861d
Fix typos. From Juanma Barranquero <lektu@teleline.es>.
Pavel Janík <Pavel@Janik.cz>
parents:
42160
diff
changeset
|
90 With positive arg, M-h marks the current and the following paragraphs; |
41748
0302528bddbc
Fix wording of the last change.
Eli Zaretskii <eliz@gnu.org>
parents:
41746
diff
changeset
|
91 if the arg is negative, it marks the current and the preceding |
0302528bddbc
Fix wording of the last change.
Eli Zaretskii <eliz@gnu.org>
parents:
41746
diff
changeset
|
92 paragraphs. |
41746
6d817b78bf33
Document prefix arg for M-h.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
41730
diff
changeset
|
93 |
42101
66b4582e344c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42043
diff
changeset
|
94 ** In Dired, the w command now copies the current line's file name |
66b4582e344c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42043
diff
changeset
|
95 into the kill ring. |
66b4582e344c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42043
diff
changeset
|
96 |
42160
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
97 ** The variables dired-free-space-program and dired-free-space-args |
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
98 have been renamed to directory-free-space-program and |
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
99 directory-free-space-args, and they now apply whenever Emacs puts a |
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
100 directory listing into a buffer. |
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
101 |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
102 ** 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
|
103 (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
|
104 |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
105 ** The keyboard-coding-system is now automatically set based on |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
106 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
|
107 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
|
108 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
|
109 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
110 (set-keyboard-coding-system nil) |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
111 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
112 to your .emacs to revert to the old behavior. |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
113 |
42197 | 114 ** A new coding system `euc-tw' has been added for traditional Chinese |
115 in CNS encoding; it accepts both Big 5 and CNS as input; on saving, | |
116 Big 5 is then converted to CNS. | |
117 | |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
118 +++ |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
119 ** Emacs now reads the standard abbrevs file ~/.abbrev_defs |
41816
51c83c94195a
Fix wording of the save-abbrevs feature; from RMS.
Eli Zaretskii <eliz@gnu.org>
parents:
41756
diff
changeset
|
120 automatically at startup, if it exists. When Emacs offers to save |
51c83c94195a
Fix wording of the save-abbrevs feature; from RMS.
Eli Zaretskii <eliz@gnu.org>
parents:
41756
diff
changeset
|
121 modified buffers, it saves the abbrevs too if they have changed. It |
51c83c94195a
Fix wording of the save-abbrevs feature; from RMS.
Eli Zaretskii <eliz@gnu.org>
parents:
41756
diff
changeset
|
122 can do this either silently or asking for confirmation first, |
41820 | 123 according to the value of `save-abbrevs'. |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
124 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
125 ** 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
|
126 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
|
127 appears in. |
39552 | 128 |
40686
b6d0ce452871
Document the changes in the default values of tooltip-delay and
Eli Zaretskii <eliz@gnu.org>
parents:
40637
diff
changeset
|
129 ** 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
|
130 were changed. |
b6d0ce452871
Document the changes in the default values of tooltip-delay and
Eli Zaretskii <eliz@gnu.org>
parents:
40637
diff
changeset
|
131 |
40614
ac10bd51a000
Change of normal-erase-is-backspace-mode on terminals.
Gerd Moellmann <gerd@gnu.org>
parents:
40575
diff
changeset
|
132 ** 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
|
133 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
|
134 |
42043
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
135 ** Etags changes. |
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
136 |
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
137 *** In Prolog, etags creates tags for rules in addition to predicates. |
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
138 |
42342 | 139 *** In Perl, packages are tags. Subroutine tags are named from their |
140 package. You can jump to sub tags as you did before, by the sub name, or | |
141 additionally by looking for package::sub. | |
142 | |
42183
ccf68d58861d
Fix typos. From Juanma Barranquero <lektu@teleline.es>.
Pavel Janík <Pavel@Janik.cz>
parents:
42160
diff
changeset
|
143 *** New language PHP: tags are functions, classes and defines. If |
42043
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
144 the --members option is specified to etags, tags are vars also. |
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
145 |
40493
94818b20da05
Document the change in list-buffers-noselect wrt buffers visiting files
Eli Zaretskii <eliz@gnu.org>
parents:
40487
diff
changeset
|
146 +++ |
40575
4ce7861c6181
Mention --no-window-system changes in the NEWS.
Pavel Janík <Pavel@Janik.cz>
parents:
40526
diff
changeset
|
147 ** 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
|
148 --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
|
149 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
150 ** `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
|
151 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
|
152 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
153 ** You can now customize fill-nobreak-predicate to control where |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
154 filling can break lines. We provide two sample predicates, |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
155 fill-single-word-nobreak-p and fill-french-nobreak-p. |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
156 |
40316
ddce8f484e75
New user option `add-log-always-start-new-record'.
Sam Steingold <sds@gnu.org>
parents:
40296
diff
changeset
|
157 ** 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
|
158 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
|
159 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
|
160 |
40378
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
161 ** New user option `sgml-xml'. |
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
162 When this option is enabled, SGML tags are inserted in XML style, |
40215 | 163 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
|
164 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
|
165 from the file name or buffer contents. |
40215 | 166 |
41756
97f872fb595d
Describe isearch-resume-enabled.
Kim F. Storm <storm@cua.dk>
parents:
41749
diff
changeset
|
167 ** New user option `isearch-resume-enabled'. |
97f872fb595d
Describe isearch-resume-enabled.
Kim F. Storm <storm@cua.dk>
parents:
41749
diff
changeset
|
168 This option can be disabled, to avoid the normal behaviour of isearch |
97f872fb595d
Describe isearch-resume-enabled.
Kim F. Storm <storm@cua.dk>
parents:
41749
diff
changeset
|
169 which puts calls to `isearch-resume' in the command history. |
97f872fb595d
Describe isearch-resume-enabled.
Kim F. Storm <storm@cua.dk>
parents:
41749
diff
changeset
|
170 |
39975 | 171 ** When the *scratch* buffer is recreated, its mode is set from |
172 initial-major-mode, which normally is lisp-interaction-mode, | |
40215 | 173 instead of using default-major-mode. |
39975 | 174 |
39771 | 175 ** Byte compiler warning and error messages have been brought more |
176 in line with the output of other GNU tools. | |
177 | |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
178 ** 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
|
179 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
180 ** perl-mode has a new variable `perl-indent-continued-arguments'. |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
181 |
39849
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
182 ** `special-display-buffer-names' and `special-display-regexps' now |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
183 understand two new boolean pseudo-frame-parameters `same-frame' and |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
184 `same-window'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
185 |
39552 | 186 ** When pure storage overflows while dumping, Emacs now prints how |
187 much pure storage it will approximately need. | |
188 | |
189 ** M-x setenv now expands environment variables of the form `$foo' and | |
190 `${foo}' in the specified new value of the environment variable. To | |
191 include a `$' in the value, use `$$'. | |
192 | |
39881
9c1b9334eb73
Mark last change as documented in the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
39879
diff
changeset
|
193 +++ |
39879
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
194 ** 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
|
195 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
|
196 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
|
197 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
|
198 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
|
199 candidate is a directory. |
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
200 |
39552 | 201 ** New user option `inhibit-startup-buffer-menu'. |
202 When loading many files, for instance with `emacs *', Emacs normally | |
203 displays a buffer menu. This option turns the buffer menu off. | |
204 | |
205 ** Rmail now displays 5-digit message ids in its summary buffer. | |
206 | |
39601 | 207 ** When using M-x revert-buffer in a compilation buffer to rerun a |
208 compilation, it is now made sure that the compilation buffer is reused | |
209 in case it has been renamed. | |
210 | |
40963
ff6a29bbaf7e
Add note about system caret on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
40916
diff
changeset
|
211 ** 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
|
212 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
|
213 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
|
214 |
41482
fe774ae6bd57
Added entry for tooltips on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41471
diff
changeset
|
215 ** Tooltips now work on MS Windows. |
fe774ae6bd57
Added entry for tooltips on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41471
diff
changeset
|
216 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
|
217 |
41246
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
218 --- |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
219 ** 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
|
220 |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
221 --- |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
222 ** 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
|
223 |
39738 | 224 ** New modes and packages |
225 | |
40847 | 226 +++ |
227 *** Calc is now part of the Emacs distribution. | |
228 | |
229 Calc is an advanced desk calculator and mathematical tool written in | |
230 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
|
231 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
|
232 available in `etc/calccard.tex' and `etc/calccard.ps'. |
40847 | 233 |
40889
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
234 +++ |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
235 *** 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
|
236 |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
237 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
|
238 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
|
239 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
|
240 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
|
241 |
41437
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
242 *** 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
|
243 the distribution. |
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
244 |
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
245 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
|
246 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
|
247 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
|
248 (Help->More Manuals->Introduction to Emacs Lisp). |
41437
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
249 |
39738 | 250 *** The ruler-mode.el library provides a minor mode for displaying an |
251 "active" ruler in the header line. You can use the mouse to visually | |
252 change the `fill-column', `window-margins' and `tab-stop-list' | |
253 settings. | |
254 | |
41623
8cf1bafe44b1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41620
diff
changeset
|
255 *** 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
|
256 `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
|
257 move your cursor into hidden region of the buffer. |
8cf1bafe44b1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41620
diff
changeset
|
258 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
|
259 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
|
260 |
39784 | 261 *** master-mode.el implements a minor mode for scrolling a slave |
262 buffer without leaving your current buffer, the master buffer. | |
263 | |
264 It can be used by sql.el, for example: the SQL buffer is the master | |
265 and its SQLi buffer is the slave. This allows you to scroll the SQLi | |
266 buffer containing the output from the SQL buffer containing the | |
267 commands. | |
268 | |
269 This is how to use sql.el and master.el together: the variable | |
270 sql-buffer contains the slave buffer. It is a local variable in the | |
271 SQL buffer. | |
272 | |
273 (add-hook 'sql-mode-hook | |
274 (function (lambda () | |
275 (master-mode t) | |
276 (master-set-slave sql-buffer)))) | |
277 (add-hook 'sql-set-sqli-hook | |
278 (function (lambda () | |
279 (master-set-slave sql-buffer)))) | |
280 | |
39552 | 281 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
282 * Lisp Changes in Emacs 21.3 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
283 |
42629
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
284 ** Already true in Emacs 21.1, but not emphasized clearly enough: |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
285 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
286 Multibyte buffers can now faithfully record all 256 character codes |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
287 from 0 to 255. As a result, most of the past reasons to use unibyte |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
288 buffers no longer exist. We only know of three reasons to use them |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
289 now: |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
290 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
291 1. If you prefer to use unibyte text all of the time. |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
292 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
293 2. For reading files into temporary buffers, when you want to avoid |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
294 the time it takes to convert the format. |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
295 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
296 3. For binary files where format conversion would be pointless and |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
297 wasteful. |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
298 |
42487
88fb2c8602aa
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42437
diff
changeset
|
299 ** If text has a `keymap' property, that keymap takes precedence |
88fb2c8602aa
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42437
diff
changeset
|
300 over minor mode keymaps. |
88fb2c8602aa
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42437
diff
changeset
|
301 |
42425
aa6c345a4af0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42367
diff
changeset
|
302 ** A hex escape in a string forces the string to be multibyte. |
aa6c345a4af0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42367
diff
changeset
|
303 An octal escape makes it unibyte. |
aa6c345a4af0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42367
diff
changeset
|
304 |
42367
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
305 ** The position after an invisible, intangible character |
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
306 is considered an unacceptable value for point; |
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
307 intangibility processing effectively treats the following character |
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
308 as part of the intangible region even if it is not itself intangible. |
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
309 |
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
310 Thus, point can go before an invisible, intangible region, but not |
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
311 after it. This prevents C-f and C-b from appearing to stand still on |
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
312 the screen. |
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
313 |
42437
5426f6a09f35
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42434
diff
changeset
|
314 +++ |
42434
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
315 ** define-abbrev now accepts an optional argument SYSTEM-FLAG. If |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
316 non-nil, this marks the abbrev as a "system" abbrev, which means that |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
317 it won't be stored in the user's abbrevs file if he saves the abbrevs. |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
318 Major modes that predefine some abbrevs should always specify this |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
319 flag. |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
320 |
42281 | 321 ** Support for Mocklisp has been removed. |
322 | |
323 ** The function insert-string is now obsolete. | |
324 | |
41596
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
325 ** The precedence of file-name-handlers has been changed. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
326 Instead of blindly choosing the first handler that matches, |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
327 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
|
328 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
|
329 handler whose (match-beginning 0) is the largest is chosen. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
330 In case of ties, the old "first matched" rule applies. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
331 |
41594
452efff38a6e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41501
diff
changeset
|
332 ** Dense keymaps now handle inheritance correctly. |
41847
7423116b7ac3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41820
diff
changeset
|
333 Previously a dense keymap would hide all of the simple-char key |
7423116b7ac3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41820
diff
changeset
|
334 bindings of the parent keymap. |
41594
452efff38a6e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41501
diff
changeset
|
335 |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
336 ** 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
|
337 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
|
338 (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
|
339 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
|
340 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
|
341 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
|
342 |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
343 s{ |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
344 foo |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
345 }{ |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
346 bar |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
347 }e |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
348 |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
349 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
|
350 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
|
351 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
|
352 refontification of `bar' whenever the `e' is added/removed. |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
353 |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
354 ** describe-vector now takes a second argument `describer' which is |
42183
ccf68d58861d
Fix typos. From Juanma Barranquero <lektu@teleline.es>.
Pavel Janík <Pavel@Janik.cz>
parents:
42160
diff
changeset
|
355 called to print the entries' values. It defaults to `princ'. |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
356 |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
357 ** defcustom and other custom declarations now use a default group |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
358 (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
|
359 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
360 ** 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
|
361 it receives a request from emacsclient. |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
362 |
41471
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
363 ** The variable `recursive-load-depth-limit' has been deleted. |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
364 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
|
365 than 3 levels of nesting. |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
366 |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
367 ** 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
|
368 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
|
369 in Indented-Text mode. |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
370 |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
371 ** 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
|
372 property, `clone-indirect-buffer' signals an error if you use |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
373 it in that buffer. |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
374 |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
375 ** If you set `query-replace-skip-read-only' non-nil, |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
376 `query-replace' and related functions simply ignore |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
377 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
|
378 |
41367 | 379 ** In `replace-match', the replacement text no longer inherits |
41356 | 380 properties from surrounding text. |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
381 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
382 ** New function `buffer-local-value'. |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
383 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
384 - Function: buffer-local-value variable buffer |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
385 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
386 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
|
387 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
|
388 buffer BUFFER, it returns the default value of VARIABLE instead. |
39552 | 389 |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
390 ** 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
|
391 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
|
392 used in Indented Text mode. |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
393 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
394 ** 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
|
395 that are kept identical by transparently propagating changes from one |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
396 clone to the other. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
397 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
398 ** font-lock can manage arbitrary text-properties beside `face'. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
399 *** 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
|
400 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
|
401 other properties than `face'. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
402 *** 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
|
403 properties are automatically cleaned up by font-lock. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
404 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
405 ** 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
|
406 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
|
407 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
|
408 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
409 ** `provide' and `featurep' now accept an optional second argument |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
410 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
|
411 and run any code associated with the provided feature. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
412 |
40295 | 413 ** The variable `compilation-parse-errors-filename-function' can |
414 be used to transform filenames found in compilation output. | |
415 | |
40190
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
416 +++ |
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
417 ** 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
|
418 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
|
419 `.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
|
420 |
39778 | 421 ** Functions `user-uid' and `user-real-uid' now return floats if the |
422 user UID doesn't fit in a Lisp integer. Function `user-full-name' | |
423 accepts a float as UID parameter. | |
424 | |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
425 ** `define-key-after' now accepts keys longer than 1. |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
426 |
40296 | 427 ** `define-derived-mode' now accepts nil as the parent. |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
428 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
429 ** 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
|
430 |
39849
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
431 ** New functions `keymap-prompt' and `current-active-maps'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
432 |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
433 ** New function `describe-buffer-bindings'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
434 |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
435 ** New vars `exec-suffixes' and `load-suffixes' used when |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
436 searching for an executable resp. an elisp file. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
437 |
39552 | 438 ** Variable aliases have been implemented |
439 | |
440 - Macro: defvaralias ALIAS-VAR BASE-VAR | |
441 | |
442 This defines the symbol ALIAS-VAR as a variable alias for symbol | |
443 BASE-VAR. This means that retrieving the value of ALIAS-VAR returns | |
444 the value of BASE-VAR, and changing the value of ALIAS-VAR changes the | |
445 value of BASE-VAR. | |
446 | |
447 - Function: indirect-variable VARIABLE | |
448 | |
449 This function returns the variable at the end of the chain of aliases | |
450 of VARIABLE. If VARIABLE is not a symbol, or if VARIABLE is not | |
451 defined as an alias, the function returns VARIABLE. | |
452 | |
453 It might be noteworthy that variables aliases work for all kinds of | |
454 variables, including buffer-local and frame-local variables. | |
455 | |
456 ** Functions from `post-gc-hook' are run at the end of garbage | |
457 collection. The hook is run with GC inhibited, so use it with care. | |
458 | |
39604 | 459 ** If the second argument to `copy-file' is the name of a directory, |
39605 | 460 the file is copied to that directory instead of signaling an error. |
39604 | 461 |
39647 | 462 ** The variables most-positive-fixnum and most-negative-fixnum |
463 have been moved from the CL package to the core. | |
464 | |
41355
ffd42182dd37
Added note about locale-coding-system on Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41340
diff
changeset
|
465 ** 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
|
466 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
|
467 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
|
468 |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
469 ** New packages: |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
470 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
471 *** 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
|
472 current syntactic context (as returned by parse-partial-sexp). |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
473 |
41340
00ed4838100e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41337
diff
changeset
|
474 *** 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
|
475 This was actually done in Emacs-21.1 was not documented. |
42043
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
476 |
39552 | 477 |
25995 | 478 * Installation Changes in Emacs 21.1 |
479 | |
36039 | 480 See the INSTALL file for information on installing extra libraries and |
481 fonts to take advantage of the new graphical features and extra | |
482 charsets in this release. | |
483 | |
30576 | 484 ** Support for GNU/Linux on IA64 machines has been added. |
485 | |
31007 | 486 ** Support for LynxOS has been added. |
487 | |
28166 | 488 ** 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
|
489 images and toolkit scrollbars. Use the --help option in `configure' |
cb2595f03c92
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
29949
diff
changeset
|
490 to list them. |
29696 | 491 |
30467
26afdae5ea13
--disable-largefile, 64-bit solaris
Dave Love <fx@gnu.org>
parents:
30445
diff
changeset
|
492 ** You can build a 64-bit Emacs for SPARC/Solaris systems which |
32182 | 493 support 64-bit executables and also on Irix 6.5. This increases the |
33484 | 494 maximum buffer size. See etc/MACHINES for instructions. Changes to |
495 build on other 64-bit systems should be straightforward modulo any | |
496 necessary changes to unexec. | |
30576 | 497 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
498 ** 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
|
499 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
|
500 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
501 ** 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
|
502 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
|
503 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
504 ** `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
|
505 the --without-pop configure option, should that be necessary. |
32428 | 506 |
32865
34e286ed22a5
Say that Emacs can now be built on the Macintosh.
Andrew Choi <akochoi@shaw.ca>
parents:
32845
diff
changeset
|
507 ** This version can be built for the Macintosh, but does not implement |
32966 | 508 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
|
509 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
|
510 "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
|
511 description of aspects specific to the Mac. |
32428 | 512 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
513 ** 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
|
514 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
|
515 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
516 |
28166 | 517 * Changes in Emacs 21.1 |
518 | |
36821 | 519 ** Emacs has a new redisplay engine. |
520 | |
521 The new redisplay handles characters of variable width and height. | |
522 Italic text can be used without redisplay problems. Fonts containing | |
523 oversized characters, i.e. characters larger than the logical height | |
524 of a font can be used. Images of various formats can be displayed in | |
525 the text. | |
526 | |
527 ** Emacs has a new face implementation. | |
528 | |
529 The new faces no longer fundamentally use X font names to specify the | |
530 font. Instead, each face has several independent attributes--family, | |
531 height, width, weight and slant--that it may or may not specify. | |
532 These attributes can be merged from various faces, and then together | |
533 specify a font. | |
534 | |
535 Faces are supported on terminals that can display color or fonts. | |
536 These terminal capabilities are auto-detected. Details can be found | |
537 under Lisp changes, below. | |
538 | |
539 ** Emacs can display faces on TTY frames. | |
540 | |
541 Emacs automatically detects terminals that are able to display colors. | |
542 Faces with a weight greater than normal are displayed extra-bright, if | |
543 the terminal supports it. Faces with a weight less than normal and | |
544 italic faces are displayed dimmed, if the terminal supports it. | |
545 Underlined faces are displayed underlined if possible. Other face | |
546 attributes such as `overline', `strike-through', and `box' are ignored | |
547 on terminals. | |
548 | |
549 The command-line options `-fg COLOR', `-bg COLOR', and `-rv' are now | |
550 supported on character terminals. | |
551 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
552 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
|
553 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
|
554 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
|
555 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
|
556 |
36821 | 557 ** New default font is Courier 12pt under X. |
558 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
559 ** Sound support |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
560 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
561 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
|
562 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
|
563 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
|
564 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
|
565 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
|
566 |
36821 | 567 ** Emacs now resizes mini-windows if appropriate. |
568 | |
569 If a message is longer than one line, or minibuffer contents are | |
570 longer than one line, Emacs can resize the minibuffer window unless it | |
571 is on a frame of its own. You can control resizing and the maximum | |
572 minibuffer window size by setting the following variables: | |
573 | |
574 - User option: max-mini-window-height | |
575 | |
576 Maximum height for resizing mini-windows. If a float, it specifies a | |
577 fraction of the mini-window frame's height. If an integer, it | |
578 specifies a number of lines. | |
579 | |
580 Default is 0.25. | |
581 | |
582 - User option: resize-mini-windows | |
583 | |
584 How to resize mini-windows. If nil, don't resize. If t, always | |
585 resize to fit the size of the text. If `grow-only', let mini-windows | |
586 grow only, until they become empty, at which point they are shrunk | |
587 again. | |
588 | |
589 Default is `grow-only'. | |
590 | |
591 ** LessTif support. | |
592 | |
593 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
|
594 <http://www.lesstif.org>). You will need version 0.92.26, or later. |
36821 | 595 |
596 ** LessTif/Motif file selection dialog. | |
597 | |
598 When Emacs is configured to use LessTif or Motif, reading a file name | |
599 from a menu will pop up a file selection dialog if `use-dialog-box' is | |
600 non-nil. | |
601 | |
39485
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
602 ** 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
|
603 |
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
604 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
|
605 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
|
606 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
|
607 |
36821 | 608 ** Toolkit scroll bars. |
609 | |
610 Emacs now uses toolkit scroll bars if available. When configured for | |
611 LessTif/Motif, it will use that toolkit's scroll bar. Otherwise, when | |
612 configured for Lucid and Athena widgets, it will use the Xaw3d scroll | |
613 bar if Xaw3d is available. You can turn off the use of toolkit scroll | |
614 bars by specifying `--with-toolkit-scroll-bars=no' when configuring | |
615 Emacs. | |
616 | |
617 When you encounter problems with the Xaw3d scroll bar, watch out how | |
618 Xaw3d is compiled on your system. If the Makefile generated from | |
619 Xaw3d's Imakefile contains a `-DNARROWPROTO' compiler option, and your | |
620 Emacs system configuration file `s/your-system.h' does not contain a | |
621 define for NARROWPROTO, you might consider adding it. Take | |
622 `s/freebsd.h' as an example. | |
623 | |
624 Alternatively, if you don't have access to the Xaw3d source code, take | |
625 a look at your system's imake configuration file, for example in the | |
626 directory `/usr/X11R6/lib/X11/config' (paths are different on | |
627 different systems). You will find files `*.cf' there. If your | |
628 system's cf-file contains a line like `#define NeedWidePrototypes NO', | |
629 add a `#define NARROWPROTO' to your Emacs system configuration file. | |
630 | |
631 The reason for this is that one Xaw3d function uses `double' or | |
632 `float' function parameters depending on the setting of NARROWPROTO. | |
633 This is not a problem when Imakefiles are used because each system's | |
37156 | 634 imake configuration file contains the necessary information. Since |
36821 | 635 Emacs doesn't use imake, this has do be done manually. |
636 | |
637 ** Tool bar support. | |
638 | |
639 Emacs supports a tool bar at the top of a frame under X. For details | |
640 of how to define a tool bar, see the page describing Lisp-level | |
641 changes. Tool-bar global minor mode controls whether or not it is | |
642 displayed and is on by default. The appearance of the bar is improved | |
643 if Emacs has been built with XPM image support. Otherwise monochrome | |
644 icons will be used. | |
645 | |
646 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
|
647 for specific modes (with copyright assignments). |
36821 | 648 |
649 ** Tooltips. | |
650 | |
651 Tooltips are small X windows displaying a help string at the current | |
652 mouse position. The Lisp package `tooltip' implements them. You can | |
653 turn them off via the user option `tooltip-mode'. | |
654 | |
655 Tooltips also provides support for GUD debugging. If activated, | |
656 variable values can be displayed in tooltips by pointing at them with | |
657 the mouse in source buffers. You can customize various aspects of the | |
658 tooltip display in the group `tooltip'. | |
659 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
660 ** Automatic Hscrolling |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
661 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
662 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
|
663 `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
|
664 customized. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
665 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
666 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
|
667 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
|
668 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
|
669 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
|
670 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
|
671 |
36821 | 672 ** When using a windowing terminal, each Emacs window now has a cursor |
673 of its own. By default, when a window is selected, the cursor is | |
674 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
|
675 `cursor-in-non-selected-windows' controls how to display the |
36821 | 676 cursor in non-selected windows. If nil, no cursor is shown, if |
36885 | 677 non-nil a hollow box cursor is shown. |
36821 | 678 |
679 ** Fringes to the left and right of windows are used to display | |
680 truncation marks, continuation marks, overlay arrows and alike. The | |
681 foreground, background, and stipple of these areas can be changed by | |
682 customizing face `fringe'. | |
683 | |
684 ** The mode line under X is now drawn with shadows by default. | |
685 You can change its appearance by modifying the face `mode-line'. | |
686 In particular, setting the `:box' attribute to nil turns off the 3D | |
687 appearance of the mode line. (The 3D appearance makes the mode line | |
688 occupy more space, and thus might cause the first or the last line of | |
689 the window to be partially obscured.) | |
690 | |
691 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
|
692 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
|
693 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
|
694 ignored, and mode-lines to be drawn using the default text face. |
36821 | 695 |
696 ** Mouse-sensitive mode line. | |
697 | |
36848
87bf5cef20c7
Mode line is mouse-sensitive on all systems which have a mouse.
Eli Zaretskii <eliz@gnu.org>
parents:
36821
diff
changeset
|
698 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
|
699 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
|
700 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
|
701 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
|
702 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
|
703 have enabled one. |
36821 | 704 |
705 Currently, the following actions have been defined: | |
706 | |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
707 - 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
|
708 |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
709 - Mouse-3 on the buffer-name goes to the previous buffer. |
36821 | 710 |
711 - Mouse-2 on the read-only or modified status in the mode line (`%' or | |
712 `*') toggles the status. | |
713 | |
714 - Mouse-3 on the mode name displays a minor-mode menu. | |
715 | |
716 ** Hourglass pointer | |
717 | |
718 Emacs can optionally display an hourglass pointer under X. You can | |
719 turn the display on or off by customizing group `cursor'. | |
720 | |
721 ** Blinking cursor | |
722 | |
723 M-x blink-cursor-mode toggles a blinking cursor under X and on | |
724 terminals having terminal capabilities `vi', `vs', and `ve'. Blinking | |
725 and related parameters like frequency and delay can be customized in | |
726 the group `cursor'. | |
727 | |
728 ** New font-lock support mode `jit-lock-mode'. | |
729 | |
730 This support mode is roughly equivalent to `lazy-lock' but is | |
731 generally faster. It supports stealth and deferred fontification. | |
732 See the documentation of the function `jit-lock-mode' for more | |
733 details. | |
734 | |
735 Font-lock uses jit-lock-mode as default support mode, so you don't | |
736 have to do anything to activate it. | |
737 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
738 ** 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
|
739 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
740 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
|
741 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
|
742 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
743 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
|
744 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
|
745 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
|
746 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
|
747 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
|
748 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
|
749 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
|
750 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
|
751 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
752 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
|
753 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
|
754 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
|
755 `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
|
756 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
|
757 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
|
758 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
759 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
|
760 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
|
761 |
36821 | 762 ** The default for user-option `next-line-add-newlines' has been |
763 changed to nil, i.e. C-n will no longer add newlines at the end of a | |
764 buffer by default. | |
765 | |
766 ** The <home> and <end> keys now move to the beginning or end of the | |
767 current line, respectively. C-<home> and C-<end> move to the | |
768 beginning and end of the buffer. | |
769 | |
770 ** Emacs now checks for recursive loads of Lisp files. If the | |
771 recursion depth exceeds `recursive-load-depth-limit', an error is | |
772 signaled. | |
773 | |
774 ** When an error is signaled during the loading of the user's init | |
775 file, Emacs now pops up the *Messages* buffer. | |
776 | |
777 ** Emacs now refuses to load compiled Lisp files which weren't | |
778 compiled with Emacs. Set `load-dangerous-libraries' to t to change | |
779 this behavior. | |
780 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
781 The reason for this change is an incompatible change in XEmacs's byte |
36821 | 782 compiler. Files compiled with XEmacs can contain byte codes that let |
783 Emacs dump core. | |
784 | |
785 ** Toggle buttons and radio buttons in menus. | |
786 | |
787 When compiled with LessTif (or Motif) support, Emacs uses toolkit | |
788 widgets for radio and toggle buttons in menus. When configured for | |
789 Lucid, Emacs draws radio buttons and toggle buttons similar to Motif. | |
790 | |
791 ** The menu bar configuration has changed. The new configuration is | |
792 more CUA-compliant. The most significant change is that Options is | |
793 now a separate menu-bar item, with Mule and Customize as its submenus. | |
794 | |
795 ** Item Save Options on the Options menu allows saving options set | |
796 using that menu. | |
797 | |
798 ** Highlighting of trailing whitespace. | |
799 | |
800 When `show-trailing-whitespace' is non-nil, Emacs displays trailing | |
801 whitespace in the face `trailing-whitespace'. Trailing whitespace is | |
802 defined as spaces or tabs at the end of a line. To avoid busy | |
803 highlighting when entering new text, trailing whitespace is not | |
804 displayed if point is at the end of the line containing the | |
805 whitespace. | |
806 | |
807 ** C-x 5 1 runs the new command delete-other-frames which deletes | |
808 all frames except the selected one. | |
809 | |
810 ** The new user-option `confirm-kill-emacs' can be customized to | |
811 let Emacs ask for confirmation before exiting. | |
812 | |
813 ** The header line in an Info buffer is now displayed as an emacs | |
814 header-line (which is like a mode-line, but at the top of the window), | |
815 so that it remains visible even when the buffer has been scrolled. | |
816 This behavior may be disabled by customizing the option | |
817 `Info-use-header-line'. | |
818 | |
819 ** Polish, Czech, German, and French translations of Emacs' reference card | |
820 have been added. They are named `pl-refcard.tex', `cs-refcard.tex', | |
821 `de-refcard.tex' and `fr-refcard.tex'. Postscript files are included. | |
822 | |
823 ** An `Emacs Survival Guide', etc/survival.tex, is available. | |
824 | |
825 ** A reference card for Dired has been added. Its name is | |
826 `dired-ref.tex'. A French translation is available in | |
827 `fr-drdref.tex'. | |
828 | |
829 ** C-down-mouse-3 is bound differently. Now if the menu bar is not | |
830 displayed it pops up a menu containing the items which would be on the | |
831 menu bar. If the menu bar is displayed, it pops up the major mode | |
832 menu or the Edit menu if there is no major mode menu. | |
833 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
834 ** 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
|
835 |
38107 | 836 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
|
837 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
|
838 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
|
839 `~/.emacs' init file or to modify it from any Lisp program in general. |
36821 | 840 |
841 ** C-u C-x = provides detailed information about the character at | |
842 point in a pop-up window. | |
843 | |
844 ** Emacs can now support 'wheeled' mice (such as the MS IntelliMouse) | |
845 under XFree86. To enable this, use the `mouse-wheel-mode' command, or | |
846 customize the variable `mouse-wheel-mode'. | |
847 | |
848 The variables `mouse-wheel-follow-mouse' and `mouse-wheel-scroll-amount' | |
849 determine where and by how much buffers are scrolled. | |
850 | |
851 ** Emacs' auto-save list files are now by default stored in a | |
852 sub-directory `.emacs.d/auto-save-list/' of the user's home directory. | |
853 (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
|
854 You can customize `auto-save-list-file-prefix' to change this location. |
36821 | 855 |
856 ** The function `getenv' is now callable interactively. | |
857 | |
34271 | 858 ** The new user-option `even-window-heights' can be set to nil |
859 to prevent `display-buffer' from evening out window heights. | |
860 | |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
861 ** The new command M-x delete-trailing-whitespace RET will delete the |
33990 | 862 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
|
863 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
|
864 |
33559 | 865 ** When visiting a file with M-x find-file-literally, no newlines will |
35937 | 866 be added to the end of the buffer even if `require-final-newline' is |
867 non-nil. | |
33559 | 868 |
31728 | 869 ** The new user-option `find-file-suppress-same-file-warnings' can be |
870 set to suppress warnings ``X and Y are the same file'' when visiting a | |
871 file that is already visited under a different name. | |
872 | |
31807 | 873 ** The new user-option `electric-help-shrink-window' can be set to |
874 nil to prevent adjusting the help window size to the buffer size. | |
875 | |
31728 | 876 ** New command M-x describe-character-set reads a character set name |
32280 | 877 and displays information about that. |
31248 | 878 |
30693 | 879 ** The new variable `auto-mode-interpreter-regexp' contains a regular |
880 expression matching interpreters, for file mode determination. | |
881 | |
882 This regular expression is matched against the first line of a file to | |
883 determine the file's mode in `set-auto-mode' when Emacs can't deduce a | |
884 mode from the file's name. If it matches, the file is assumed to be | |
885 interpreted by the interpreter matched by the second group of the | |
886 regular expression. The mode is then determined as the mode | |
887 associated with that interpreter in `interpreter-mode-alist'. | |
888 | |
29532
9609bc6529ac
executable-make-buffer-file-executable-if-script-p
Dave Love <fx@gnu.org>
parents:
29509
diff
changeset
|
889 ** New function executable-make-buffer-file-executable-if-script-p is |
31007 | 890 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
|
891 |
29509 | 892 ** The most preferred coding-system is now used to save a buffer if |
893 buffer-file-coding-system is `undecided' and it is safe for the buffer | |
894 contents. (The most preferred is set by set-language-environment or | |
895 by M-x prefer-coding-system.) Thus if you visit an ASCII file and | |
896 insert a non-ASCII character from your current language environment, | |
897 the file will be saved silently with the appropriate coding. | |
898 Previously you would be prompted for a safe coding system. | |
899 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
900 ** 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
|
901 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
|
902 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
903 ** 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
|
904 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
|
905 |
30296 | 906 ** New variable `inhibit-iso-escape-detection' determines if Emacs' |
907 coding system detection algorithm should pay attention to ISO2022's | |
908 escape sequences. If this variable is non-nil, the algorithm ignores | |
909 such escape sequences. The default value is nil, and it is | |
910 recommended not to change it except for the special case that you | |
30357 | 911 always want to read any escape code verbatim. If you just want to |
30296 | 912 read a specific file without decoding escape codes, use C-x RET c |
30357 | 913 (`universal-coding-system-argument'). For instance, C-x RET c latin-1 |
914 RET C-x C-f filename RET. | |
30205 | 915 |
29506 | 916 ** Variable `default-korean-keyboard' is initialized properly from the |
917 environment variable `HANGUL_KEYBOARD_TYPE'. | |
918 | |
919 ** New command M-x list-charset-chars reads a character set name and | |
920 displays all characters in that character set. | |
921 | |
922 ** M-x set-terminal-coding-system (C-x RET t) now allows CCL-based | |
923 coding systems such as cpXXX and cyrillic-koi8. | |
924 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
925 ** 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
|
926 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
|
927 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
|
928 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
929 ** 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
|
930 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
|
931 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
|
932 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
|
933 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
|
934 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
|
935 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
|
936 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
937 ** 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
|
938 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
|
939 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
|
940 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
941 ** 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
|
942 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
|
943 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
|
944 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
945 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
|
946 --- ------- ----------- |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
947 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
|
948 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
|
949 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
|
950 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
951 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
|
952 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
|
953 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
|
954 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
955 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
|
956 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
|
957 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
|
958 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
|
959 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
|
960 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
|
961 |
39885
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
962 ** 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
|
963 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
|
964 "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
|
965 package. |
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
966 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
967 ** 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
|
968 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
|
969 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
|
970 "=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
|
971 "`", 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
|
972 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
973 ** 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
|
974 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
|
975 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
|
976 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
|
977 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
|
978 on. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
979 |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
980 ** 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
|
981 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
|
982 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
|
983 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
|
984 |
28799 | 985 ** New user options `display-time-mail-face' and |
986 `display-time-use-mail-icon' control the appearance of mode-line mail | |
987 indicator used by the display-time package. On a suitable display the | |
988 indicator can be an icon and is mouse-sensitive. | |
989 | |
28695 | 990 ** On window-systems, additional space can be put between text lines |
991 on the display using several methods | |
992 | |
993 - By setting frame parameter `line-spacing' to PIXELS. PIXELS must be | |
994 a positive integer, and specifies that PIXELS number of pixels should | |
995 be put below text lines on the affected frame or frames. | |
996 | |
997 - By setting X resource `lineSpacing', class `LineSpacing'. This is | |
33838 | 998 equivalent to specifying the frame parameter. |
28695 | 999 |
28870 | 1000 - By specifying `--line-spacing=N' or `-lsp N' on the command line. |
28695 | 1001 |
1002 - By setting buffer-local variable `line-spacing'. The meaning is | |
1003 the same, but applies to the a particular buffer only. | |
1004 | |
29752 | 1005 ** The new command `clone-indirect-buffer' can be used to create |
28660 | 1006 an indirect buffer that is a twin copy of the current buffer. The |
29752 | 1007 command `clone-indirect-buffer-other-window', bound to C-x 4 c, |
28660 | 1008 does the same but displays the indirect buffer in another window. |
28626 | 1009 |
28525
05658544eaff
backup-directory-alist, make-backup-file-name-function.
Dave Love <fx@gnu.org>
parents:
28506
diff
changeset
|
1010 ** New user options `backup-directory-alist' and |
28757 | 1011 `make-backup-file-name-function' control the placement of backups, |
1012 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
|
1013 |
28396 | 1014 ** New commands iso-iso2sgml and iso-sgml2iso convert between Latin-1 |
1015 characters and the corresponding SGML (HTML) entities. | |
1016 | |
28159 | 1017 ** New X resources recognized |
27994 | 1018 |
28140 | 1019 *** The X resource `synchronous', class `Synchronous', specifies |
1020 whether Emacs should run in synchronous mode. Synchronous mode | |
1021 is useful for debugging X problems. | |
1022 | |
1023 Example: | |
1024 | |
28159 | 1025 emacs.synchronous: true |
28140 | 1026 |
27994 | 1027 *** The X resource `visualClass, class `VisualClass', specifies the |
1028 visual Emacs should use. The resource's value should be a string of | |
27995 | 1029 the form `CLASS-DEPTH', where CLASS is the name of the visual class, |
1030 and DEPTH is the requested color depth as a decimal number. Valid | |
1031 visual class names are | |
27994 | 1032 |
1033 TrueColor | |
1034 PseudoColor | |
1035 DirectColor | |
1036 StaticColor | |
1037 GrayScale | |
1038 StaticGray | |
1039 | |
1040 Visual class names specified as X resource are case-insensitive, i.e. | |
1041 `pseudocolor', `Pseudocolor' and `PseudoColor' all have the same | |
1042 meaning. | |
1043 | |
27995 | 1044 The program `xdpyinfo' can be used to list the visual classes |
1045 supported on your display, and which depths they have. If | |
1046 `visualClass' is not specified, Emacs uses the display's default | |
1047 visual. | |
1048 | |
1049 Example: | |
1050 | |
28159 | 1051 emacs.visualClass: TrueColor-8 |
27994 | 1052 |
1053 *** The X resource `privateColormap', class `PrivateColormap', | |
1054 specifies that Emacs should use a private colormap if it is using the | |
1055 default visual, and that visual is of class PseudoColor. Recognized | |
1056 resource values are `true' or `on'. | |
1057 | |
27995 | 1058 Example: |
1059 | |
28159 | 1060 emacs.privateColormap: true |
27995 | 1061 |
25853 | 1062 ** Faces and frame parameters. |
1063 | |
1064 There are four new faces `scroll-bar', `border', `cursor' and `mouse'. | |
1065 Setting the frame parameters `scroll-bar-foreground' and | |
1066 `scroll-bar-background' sets foreground and background color of face | |
1067 `scroll-bar' and vice versa. Setting frame parameter `border-color' | |
1068 sets the background color of face `border' and vice versa. Likewise | |
1069 for frame parameters `cursor-color' and face `cursor', and frame | |
1070 parameter `mouse-color' and face `mouse'. | |
1071 | |
1072 Changing frame parameter `font' sets font-related attributes of the | |
1073 `default' face and vice versa. Setting frame parameters | |
26264 | 1074 `foreground-color' or `background-color' sets the colors of the |
25853 | 1075 `default' face and vice versa. |
1076 | |
25951 | 1077 ** New face `menu'. |
1078 | |
1079 The face `menu' can be used to change colors and font of Emacs' menus. | |
1080 | |
25853 | 1081 ** New frame parameter `screen-gamma' for gamma correction. |
1082 | |
1083 The new frame parameter `screen-gamma' specifies gamma-correction for | |
1084 colors. Its value may be nil, the default, in which case no gamma | |
1085 correction occurs, or a number > 0, usually a float, that specifies | |
1086 the screen gamma of a frame's display. | |
1087 | |
1088 PC monitors usually have a screen gamma of 2.2. smaller values result | |
1089 in darker colors. You might want to try a screen gamma of 1.5 for LCD | |
1090 color displays. The viewing gamma Emacs uses is 0.4545. (1/2.2). | |
1091 | |
1092 The X resource name of this parameter is `screenGamma', class | |
1093 `ScreenGamma'. | |
1094 | |
1095 ** Tabs and variable-width text. | |
1096 | |
1097 Tabs are now displayed with stretch properties; the width of a tab is | |
1098 defined as a multiple of the normal character width of a frame, and is | |
1099 independent of the fonts used in the text where the tab appears. | |
1100 Thus, tabs can be used to line up text in different fonts. | |
1101 | |
1102 ** Enhancements of the Lucid menu bar | |
1103 | |
1104 *** The Lucid menu bar now supports the resource "margin". | |
1105 | |
1106 emacs.pane.menubar.margin: 5 | |
1107 | |
28677
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1108 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
|
1109 LessTif/Motif one. |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1110 |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1111 *** 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
|
1112 LessTif and Motif. |
25853 | 1113 |
1114 ** A block cursor can be drawn as wide as the glyph under it under X. | |
1115 | |
1116 As an example: if a block cursor is over a tab character, it will be | |
1117 drawn as wide as that tab on the display. To do this, set | |
1118 `x-stretch-cursor' to a non-nil value. | |
1119 | |
1120 ** 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
|
1121 bitmap (this is similar to the tilde displayed by vi and Less). |
25853 | 1122 |
1123 This behavior is activated by setting the buffer-local variable | |
1124 `indicate-empty-lines' to a non-nil value. The default value of this | |
1125 variable is found in `default-indicate-empty-lines'. | |
1126 | |
1127 ** There is a new "aggressive" scrolling method. | |
1128 | |
1129 When scrolling up because point is above the window start, if the | |
33624 | 1130 value of the buffer-local variable `scroll-up-aggressively' is a |
25853 | 1131 number, Emacs chooses a new window start so that point ends up that |
31124 | 1132 fraction of the window's height from the top of the window. |
25853 | 1133 |
1134 When scrolling down because point is below the window end, if the | |
35680 | 1135 value of the buffer-local variable `scroll-down-aggressively' is a |
25853 | 1136 number, Emacs chooses a new window start so that point ends up that |
31124 | 1137 fraction of the window's height from the bottom of the window. |
25853 | 1138 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1139 ** 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
|
1140 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
|
1141 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
|
1142 buffers. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1143 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1144 ** 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
|
1145 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1146 ** 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
|
1147 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
|
1148 `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
|
1149 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1150 ** 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
|
1151 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
|
1152 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
|
1153 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
|
1154 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
|
1155 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
|
1156 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1157 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
|
1158 |
25853 | 1159 ** The rectangle commands now avoid inserting undesirable spaces, |
1160 notably at the end of lines. | |
1161 | |
1162 All these functions have been rewritten to avoid inserting unwanted | |
1163 spaces, and an optional prefix now allows them to behave the old way. | |
1164 | |
37446
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
1165 ** 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
|
1166 |
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
1167 ** 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
|
1168 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
|
1169 |
25853 | 1170 ** The new command M-x query-replace-regexp-eval acts like |
1171 query-replace-regexp, but takes a Lisp expression which is evaluated | |
1172 after each match to get the replacement text. | |
1173 | |
29972 | 1174 ** M-x query-replace recognizes a new command `e' (or `E') that lets |
1175 you edit the replacement string. | |
28805 | 1176 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1177 ** 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
|
1178 (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
|
1179 in the text, analogous to lisp-complete-symbol. |
28805 | 1180 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1181 ** 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
|
1182 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1183 ** 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
|
1184 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
|
1185 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1186 ** 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
|
1187 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
|
1188 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
|
1189 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
|
1190 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1191 -- |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1192 ** 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
|
1193 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
|
1194 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1195 ** 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
|
1196 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
|
1197 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
|
1198 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
|
1199 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1200 ** 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
|
1201 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
|
1202 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1203 ** 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
|
1204 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
|
1205 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
|
1206 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
|
1207 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
|
1208 of Emacs. |
29676 | 1209 |
25853 | 1210 ** Customize changes |
1211 | |
1212 *** Customize now supports comments about customized items. Use the | |
36885 | 1213 `State' menu to add comments, or give a prefix argument to |
1214 M-x customize-set-variable or M-x customize-set-value. Note that | |
1215 customization comments will cause the customizations to fail in | |
1216 earlier versions of Emacs. | |
25853 | 1217 |
1218 *** The new option `custom-buffer-done-function' says whether to kill | |
1219 Custom buffers when you've done with them or just bury them (the | |
1220 default). | |
1221 | |
37901
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
1222 *** 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
|
1223 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
|
1224 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
|
1225 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
|
1226 file. |
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
1227 |
25853 | 1228 ** New features in evaluation commands |
1229 | |
30056 | 1230 *** The commands to evaluate Lisp expressions, such as C-M-x in Lisp |
25853 | 1231 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
|
1232 print-level, print-length, and debug-on-error based on the new |
25853 | 1233 customizable variables eval-expression-print-level, |
1234 eval-expression-print-length, and eval-expression-debug-on-error. | |
1235 | |
38562
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1236 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
|
1237 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
|
1238 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
|
1239 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
|
1240 printed). |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1241 |
38590 | 1242 <RET> or <mouse-2> on the printed text toggles between an abbreviated |
1243 printed representation and an unabbreviated one. | |
38573 | 1244 |
38562
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1245 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
|
1246 during evaluation produces a backtrace. |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1247 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
1248 *** The function `eval-defun' (C-M-x) now loads Edebug and instruments |
30056 | 1249 code when called with a prefix argument. |
1250 | |
26820 | 1251 ** CC mode changes. |
1252 | |
1253 Note: This release contains changes that might not be compatible with | |
1254 current user setups (although it's believed that these | |
1255 incompatibilities will only show in very uncommon circumstances). | |
1256 However, since the impact is uncertain, these changes may be rolled | |
1257 back depending on user feedback. Therefore there's no forward | |
1258 compatibility guarantee wrt the new features introduced in this | |
1259 release. | |
1260 | |
37009 | 1261 *** The hardcoded switch to "java" style in Java mode is gone. |
1262 CC Mode used to automatically set the style to "java" when Java mode | |
1263 is entered. This has now been removed since it caused too much | |
1264 confusion. | |
1265 | |
1266 However, to keep backward compatibility to a certain extent, the | |
1267 default value for c-default-style now specifies the "java" style for | |
1268 java-mode, but "gnu" for all other modes (as before). So you won't | |
1269 notice the change if you haven't touched that variable. | |
1270 | |
1271 *** New cleanups, space-before-funcall and compact-empty-funcall. | |
1272 Two new cleanups have been added to c-cleanup-list: | |
1273 | |
1274 space-before-funcall causes a space to be inserted before the opening | |
1275 parenthesis of a function call, which gives the style "foo (bar)". | |
1276 | |
1277 compact-empty-funcall causes any space before a function call opening | |
1278 parenthesis to be removed if there are no arguments to the function. | |
1279 It's typically useful together with space-before-funcall to get the | |
1280 style "foo (bar)" and "foo()". | |
1281 | |
1282 *** Some keywords now automatically trigger reindentation. | |
1283 Keywords like "else", "while", "catch" and "finally" have been made | |
1284 "electric" to make them reindent automatically when they continue an | |
1285 earlier statement. An example: | |
1286 | |
1287 for (i = 0; i < 17; i++) | |
1288 if (a[i]) | |
1289 res += a[i]->offset; | |
1290 else | |
1291 | |
1292 Here, the "else" should be indented like the preceding "if", since it | |
1293 continues that statement. CC Mode will automatically reindent it after | |
1294 the "else" has been typed in full, since it's not until then it's | |
1295 possible to decide whether it's a new statement or a continuation of | |
1296 the preceding "if". | |
1297 | |
1298 CC Mode uses Abbrev mode to achieve this, which is therefore turned on | |
1299 by default. | |
1300 | |
1301 *** M-a and M-e now moves by sentence in multiline strings. | |
1302 Previously these two keys only moved by sentence in comments, which | |
1303 meant that sentence movement didn't work in strings containing | |
1304 documentation or other natural language text. | |
1305 | |
1306 The reason it's only activated in multiline strings (i.e. strings that | |
1307 contain a newline, even when escaped by a '\') is to avoid stopping in | |
1308 the short strings that often reside inside statements. Multiline | |
1309 strings almost always contain text in a natural language, as opposed | |
1310 to other strings that typically contain format specifications, | |
1311 commands, etc. Also, it's not that bothersome that M-a and M-e misses | |
1312 sentences in single line strings, since they're short anyway. | |
1313 | |
1314 *** Support for autodoc comments in Pike mode. | |
1315 Autodoc comments for Pike are used to extract documentation from the | |
1316 source, like Javadoc in Java. Pike mode now recognize this markup in | |
1317 comment prefixes and paragraph starts. | |
1318 | |
1319 *** The comment prefix regexps on c-comment-prefix may be mode specific. | |
1320 When c-comment-prefix is an association list, it specifies the comment | |
1321 line prefix on a per-mode basis, like c-default-style does. This | |
1322 change came about to support the special autodoc comment prefix in | |
1323 Pike mode only. | |
1324 | |
1325 *** Better handling of syntactic errors. | |
1326 The recovery after unbalanced parens earlier in the buffer has been | |
1327 improved; CC Mode now reports them by dinging and giving a message | |
1328 stating the offending line, but still recovers and indent the | |
1329 following lines in a sane way (most of the time). An "else" with no | |
1330 matching "if" is handled similarly. If an error is discovered while | |
1331 indenting a region, the whole region is still indented and the error | |
1332 is reported afterwards. | |
1333 | |
1334 *** Lineup functions may now return absolute columns. | |
1335 A lineup function can give an absolute column to indent the line to by | |
1336 returning a vector with the desired column as the first element. | |
1337 | |
1338 *** More robust and warning-free byte compilation. | |
1339 Although this is strictly not a user visible change (well, depending | |
1340 on the view of a user), it's still worth mentioning that CC Mode now | |
1341 can be compiled in the standard ways without causing trouble. Some | |
1342 code have also been moved between the subpackages to enhance the | |
1343 modularity somewhat. Thanks to Martin Buchholz for doing the | |
1344 groundwork. | |
1345 | |
30412 | 1346 *** c-style-variables-are-local-p now defaults to t. |
1347 This is an incompatible change that has been made to make the behavior | |
1348 of the style system wrt global variable settings less confusing for | |
1349 non-advanced users. If you know what this variable does you might | |
1350 want to set it to nil in your .emacs, otherwise you probably don't | |
1351 have to bother. | |
1352 | |
1353 Defaulting c-style-variables-are-local-p to t avoids the confusing | |
1354 situation that occurs when a user sets some style variables globally | |
30445 | 1355 and edits both a Java and a non-Java file in the same Emacs session. |
30412 | 1356 If the style variables aren't buffer local in this case, loading of |
1357 the second file will cause the default style (either "gnu" or "java" | |
1358 by default) to override the global settings made by the user. | |
1359 | |
26820 | 1360 *** New initialization procedure for the style system. |
1361 When the initial style for a buffer is determined by CC Mode (from the | |
1362 variable c-default-style), the global values of style variables now | |
1363 take precedence over the values specified by the chosen style. This | |
1364 is different than the old behavior: previously, the style-specific | |
1365 settings would override the global settings. This change makes it | |
1366 possible to do simple configuration in the intuitive way with | |
1367 Customize or with setq lines in one's .emacs file. | |
1368 | |
1369 By default, the global value of every style variable is the new | |
1370 special symbol set-from-style, which causes the value to be taken from | |
1371 the style system. This means that in effect, only an explicit setting | |
1372 of a style variable will cause the "overriding" behavior described | |
1373 above. | |
1374 | |
1375 Also note that global settings override style-specific settings *only* | |
1376 when the initial style of a buffer is chosen by a CC Mode major mode | |
1377 function. When a style is chosen in other ways --- for example, by a | |
1378 call like (c-set-style "gnu") in a hook, or via M-x c-set-style --- | |
1379 then the style-specific values take precedence over any global style | |
1380 values. In Lisp terms, global values override style-specific values | |
1381 only when the new second argument to c-set-style is non-nil; see the | |
1382 function documentation for more info. | |
1383 | |
1384 The purpose of these changes is to make it easier for users, | |
1385 especially novice users, to do simple customizations with Customize or | |
1386 with setq in their .emacs files. On the other hand, the new system is | |
1387 intended to be compatible with advanced users' customizations as well, | |
1388 such as those that choose styles in hooks or whatnot. This new system | |
1389 is believed to be almost entirely compatible with current | |
1390 configurations, in spite of the changed precedence between style and | |
1391 global variable settings when a buffer's default style is set. | |
1392 | |
1393 (Thanks to Eric Eide for clarifying this explanation a bit.) | |
1394 | |
1395 **** c-offsets-alist is now a customizable variable. | |
1396 This became possible as a result of the new initialization behavior. | |
1397 | |
1398 This variable is treated slightly differently from the other style | |
1399 variables; instead of using the symbol set-from-style, it will be | |
1400 completed with the syntactic symbols it doesn't already contain when | |
1401 the style is first initialized. This means it now defaults to the | |
1402 empty list to make all syntactic elements get their values from the | |
1403 style system. | |
1404 | |
1405 **** Compatibility variable to restore the old behavior. | |
1406 In case your configuration doesn't work with this change, you can set | |
1407 c-old-style-variable-behavior to non-nil to get the old behavior back | |
1408 as far as possible. | |
1409 | |
1410 *** Improvements to line breaking and text filling. | |
1411 CC Mode now handles this more intelligently and seamlessly wrt the | |
1412 surrounding code, especially inside comments. For details see the new | |
1413 chapter about this in the manual. | |
1414 | |
1415 **** New variable to recognize comment line prefix decorations. | |
1416 The variable c-comment-prefix-regexp has been added to properly | |
1417 recognize the line prefix in both block and line comments. It's | |
1418 primarily used to initialize the various paragraph recognition and | |
1419 adaptive filling variables that the text handling functions uses. | |
1420 | |
1421 **** New variable c-block-comment-prefix. | |
1422 This is a generalization of the now obsolete variable | |
1423 c-comment-continuation-stars to handle arbitrary strings. | |
1424 | |
1425 **** CC Mode now uses adaptive fill mode. | |
1426 This to make it adapt better to the paragraph style inside comments. | |
1427 | |
1428 It's also possible to use other adaptive filling packages inside CC | |
1429 Mode, notably Kyle E. Jones' Filladapt mode (http://wonderworks.com/). | |
1430 A new convenience function c-setup-filladapt sets up Filladapt for use | |
1431 inside CC Mode. | |
1432 | |
1433 Note though that the 2.12 version of Filladapt lacks a feature that | |
1434 causes it to work suboptimally when c-comment-prefix-regexp can match | |
1435 the empty string (which it commonly does). A patch for that is | |
1436 available from the CC Mode web site (http://www.python.org/emacs/ | |
1437 cc-mode/). | |
1438 | |
38894
681dc47ffb61
Document the removal of c-hanging-comment-starter-p and
Eli Zaretskii <eliz@gnu.org>
parents:
38832
diff
changeset
|
1439 **** 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
|
1440 `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
|
1441 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
|
1442 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
|
1443 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
|
1444 |
26820 | 1445 **** It's now possible to selectively turn off auto filling. |
1446 The variable c-ignore-auto-fill is used to ignore auto fill mode in | |
1447 specific contexts, e.g. in preprocessor directives and in string | |
1448 literals. | |
1449 | |
1450 **** New context sensitive line break function c-context-line-break. | |
1451 It works like newline-and-indent in normal code, and adapts the line | |
1452 prefix according to the comment style when used inside comments. If | |
1453 you're normally using newline-and-indent, you might want to switch to | |
1454 this function. | |
1455 | |
1456 *** Fixes to IDL mode. | |
1457 It now does a better job in recognizing only the constructs relevant | |
1458 to IDL. E.g. it no longer matches "class" as the beginning of a | |
1459 struct block, but it does match the CORBA 2.3 "valuetype" keyword. | |
1460 Thanks to Eric Eide. | |
1461 | |
1462 *** Improvements to the Whitesmith style. | |
1463 It now keeps the style consistently on all levels and both when | |
1464 opening braces hangs and when they don't. | |
1465 | |
1466 **** New lineup function c-lineup-whitesmith-in-block. | |
1467 | |
1468 *** New lineup functions c-lineup-template-args and c-indent-multi-line-block. | |
1469 See their docstrings for details. c-lineup-template-args does a | |
1470 better job of tracking the brackets used as parens in C++ templates, | |
1471 and is used by default to line up continued template arguments. | |
1472 | |
1473 *** c-lineup-comment now preserves alignment with a comment on the | |
1474 previous line. It used to instead preserve comments that started in | |
1475 the column specified by comment-column. | |
1476 | |
1477 *** c-lineup-C-comments handles "free form" text comments. | |
1478 In comments with a long delimiter line at the start, the indentation | |
1479 is kept unchanged for lines that start with an empty comment line | |
1480 prefix. This is intended for the type of large block comments that | |
1481 contain documentation with its own formatting. In these you normally | |
1482 don't want CC Mode to change the indentation. | |
1483 | |
1484 *** The `c' syntactic symbol is now relative to the comment start | |
1485 instead of the previous line, to make integers usable as lineup | |
1486 arguments. | |
1487 | |
1488 *** All lineup functions have gotten docstrings. | |
1489 | |
1490 *** More preprocessor directive movement functions. | |
1491 c-down-conditional does the reverse of c-up-conditional. | |
1492 c-up-conditional-with-else and c-down-conditional-with-else are | |
1493 variants of these that also stops at "#else" lines (suggested by Don | |
1494 Provan). | |
1495 | |
1496 *** Minor improvements to many movement functions in tricky situations. | |
1497 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1498 ** Dired changes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1499 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1500 *** 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
|
1501 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
|
1502 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
|
1503 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1504 *** 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
|
1505 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
|
1506 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
|
1507 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1508 *** 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
|
1509 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
|
1510 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
|
1511 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1512 *** 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
|
1513 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
|
1514 directory. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1515 |
38989
6dcbf4154ff0
Change key for dired-show-file-type to `y'.
Gerd Moellmann <gerd@gnu.org>
parents:
38938
diff
changeset
|
1516 *** 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
|
1517 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
|
1518 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
|
1519 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
|
1520 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
|
1521 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1522 *** 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
|
1523 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
|
1524 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1525 *** 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
|
1526 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
|
1527 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
|
1528 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
|
1529 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1530 ** Gnus changes. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1531 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1532 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
|
1533 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
|
1534 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
|
1535 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1536 *** 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
|
1537 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
|
1538 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1539 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
|
1540 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1541 (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
|
1542 (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
|
1543 (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
|
1544 (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
|
1545 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1546 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
|
1547 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1548 (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
|
1549 '((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
|
1550 :suffix ".in"))) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1551 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1552 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
|
1553 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
|
1554 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1555 *** 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
|
1556 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
|
1557 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
|
1558 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
|
1559 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1560 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
|
1561 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
|
1562 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
|
1563 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1564 *** 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
|
1565 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
|
1566 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
|
1567 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
|
1568 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1569 *** 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
|
1570 Gnus facilities. |
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1571 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1572 *** 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
|
1573 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
|
1574 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1575 *** 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
|
1576 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
|
1577 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1578 *** `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
|
1579 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
|
1580 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1581 *** 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
|
1582 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
|
1583 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1584 *** 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
|
1585 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
|
1586 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
|
1587 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1588 *** 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
|
1589 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1590 *** 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
|
1591 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1592 ** 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
|
1593 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1594 *** 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
|
1595 macros |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1596 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1597 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
|
1598 ------------------------- |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1599 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
|
1600 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
|
1601 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
|
1602 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
|
1603 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
|
1604 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
|
1605 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
|
1606 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1607 *** 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
|
1608 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1609 ** 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
|
1610 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1611 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
|
1612 `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
|
1613 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
|
1614 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1615 ** 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
|
1616 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1617 *** 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
|
1618 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
|
1619 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
|
1620 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
|
1621 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
|
1622 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1623 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
|
1624 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
|
1625 this way. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1626 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1627 ** 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
|
1628 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
|
1629 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1630 ** 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
|
1631 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1632 *** 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
|
1633 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
|
1634 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
|
1635 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1636 ** 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
|
1637 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
|
1638 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1639 ** 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
|
1640 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1641 *** 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
|
1642 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1643 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
|
1644 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
|
1645 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
|
1646 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
|
1647 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1648 *** 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
|
1649 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
|
1650 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
|
1651 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
|
1652 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1653 *** 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
|
1654 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
|
1655 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
|
1656 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1657 *** 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
|
1658 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1659 *** 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
|
1660 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
|
1661 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
|
1662 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
|
1663 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1664 *** 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
|
1665 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
|
1666 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1667 ** 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
|
1668 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1669 *** 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
|
1670 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
|
1671 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
|
1672 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1673 **** 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
|
1674 current buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1675 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1676 *** 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
|
1677 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
|
1678 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1679 *** 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
|
1680 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
|
1681 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
|
1682 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
|
1683 `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
|
1684 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
|
1685 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1686 *** 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
|
1687 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1688 ** 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
|
1689 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1690 *** 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
|
1691 `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
|
1692 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1693 ** 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
|
1694 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1695 *** 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
|
1696 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
|
1697 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1698 *** 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
|
1699 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
|
1700 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1701 *** `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
|
1702 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
|
1703 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1704 *** 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
|
1705 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
|
1706 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1707 ** 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
|
1708 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1709 *** 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
|
1710 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
|
1711 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
|
1712 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
|
1713 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1714 ** 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
|
1715 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1716 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
|
1717 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
|
1718 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1719 *** 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
|
1720 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
|
1721 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
|
1722 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
|
1723 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
|
1724 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
|
1725 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1726 *** 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
|
1727 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
|
1728 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
|
1729 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
|
1730 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
|
1731 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
|
1732 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
|
1733 `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
|
1734 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1735 *** 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
|
1736 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
|
1737 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1738 *** 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
|
1739 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
|
1740 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
|
1741 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1742 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
|
1743 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
|
1744 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
|
1745 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1746 *** 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
|
1747 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
|
1748 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
|
1749 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1750 *** 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
|
1751 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
|
1752 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
|
1753 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1754 *** 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
|
1755 (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
|
1756 compatibility. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1757 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1758 *** 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
|
1759 ring (history). |
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 *** 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
|
1762 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
|
1763 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
|
1764 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1765 ** 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
|
1766 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1767 *** 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
|
1768 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
|
1769 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
|
1770 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
|
1771 `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
|
1772 as correspondent. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1773 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1774 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
|
1775 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
|
1776 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
|
1777 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1778 *** 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
|
1779 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
|
1780 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
|
1781 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
|
1782 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
|
1783 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1784 *** 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
|
1785 like `j'. |
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 *** 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
|
1788 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
|
1789 digest message. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1790 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1791 *** 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
|
1792 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
|
1793 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1794 *** 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
|
1795 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
|
1796 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
|
1797 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1798 ** 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
|
1799 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
|
1800 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1801 ** 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
|
1802 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
|
1803 |
39300
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1804 ** 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
|
1805 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
|
1806 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
|
1807 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
|
1808 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
|
1809 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
|
1810 |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1811 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
|
1812 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
|
1813 `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
|
1814 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1815 ** 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
|
1816 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1817 *** 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
|
1818 `latex-mode'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1819 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1820 *** 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
|
1821 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1822 *** 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
|
1823 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1824 *** 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
|
1825 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1826 ** 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
|
1827 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1828 *** 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
|
1829 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
|
1830 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
|
1831 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
|
1832 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
|
1833 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
|
1834 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1835 *** 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
|
1836 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
|
1837 `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
|
1838 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1839 *** 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
|
1840 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
|
1841 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1842 *** 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
|
1843 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
|
1844 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
|
1845 been cited. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1846 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1847 ** 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
|
1848 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
|
1849 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
|
1850 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
|
1851 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1852 ** 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
|
1853 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
|
1854 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1855 *** 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
|
1856 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
|
1857 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
|
1858 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
|
1859 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1860 *** 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
|
1861 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
|
1862 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
|
1863 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
|
1864 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
|
1865 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
|
1866 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1867 ** 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
|
1868 file names. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1869 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1870 ** Ispell changes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1871 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1872 *** 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
|
1873 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
|
1874 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
|
1875 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1876 *** 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
|
1877 added. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1878 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1879 *** 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
|
1880 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
|
1881 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1882 *** 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
|
1883 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1884 *** 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
|
1885 cases. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1886 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1887 *** 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
|
1888 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
|
1889 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1890 *** 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
|
1891 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
|
1892 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1893 *** 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
|
1894 |
28506 | 1895 ** Makefile mode changes |
1896 | |
1897 *** The mode now uses the abbrev table `makefile-mode-abbrev-table'. | |
1898 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
1899 *** Conditionals and include statements are now highlighted when |
28506 | 1900 Fontlock mode is active. |
1901 | |
26407 | 1902 ** Isearch changes |
1903 | |
30477 | 1904 *** Isearch now puts a call to `isearch-resume' in the command history, |
1905 so that searches can be resumed. | |
1906 | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
1907 *** In Isearch mode, C-M-s and C-M-r are now bound like C-s and C-r, |
28506 | 1908 respectively, i.e. you can repeat a regexp isearch with the same keys |
1909 that started the search. | |
1910 | |
26407 | 1911 *** In Isearch mode, mouse-2 in the echo area now yanks the current |
25853 | 1912 selection into the search string rather than giving an error. |
1913 | |
26407 | 1914 *** There is a new lazy highlighting feature in incremental search. |
1915 | |
26417 | 1916 Lazy highlighting is switched on/off by customizing variable |
26407 | 1917 `isearch-lazy-highlight'. When active, all matches for the current |
1918 search string are highlighted. The current match is highlighted as | |
1919 before using face `isearch' or `region'. All other matches are | |
1920 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
|
1921 `secondary-selection'. |
26407 | 1922 |
1923 The extra highlighting makes it easier to anticipate where the cursor | |
1924 will end up each time you press C-s or C-r to repeat a pending search. | |
1925 Highlighting of these additional matches happens in a deferred fashion | |
1926 using "idle timers," so the cycles needed do not rob isearch of its | |
1927 usual snappy response. | |
1928 | |
1929 If `isearch-lazy-highlight-cleanup' is set to t, highlights for | |
1930 matches are automatically cleared when you end the search. If it is | |
1931 set to nil, you can remove the highlights manually with `M-x | |
1932 isearch-lazy-highlight-cleanup'. | |
1933 | |
31388 | 1934 ** VC Changes |
1935 | |
1936 VC has been overhauled internally. It is now modular, making it | |
1937 easier to plug-in arbitrary version control backends. (See Lisp | |
1938 Changes for details on the new structure.) As a result, the mechanism | |
1939 to enable and disable support for particular version systems has | |
1940 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
|
1941 `vc-handled-backends'. Its value is a list of symbols that identify |
31388 | 1942 version systems; the default is '(RCS CVS SCCS). When finding a file, |
1943 each of the backends in that list is tried in order to see whether the | |
1944 file is registered in that backend. | |
1945 | |
1946 When registering a new file, VC first tries each of the listed | |
1947 backends to see if any of them considers itself "responsible" for the | |
1948 directory of the file (e.g. because a corresponding subdirectory for | |
1949 master files exists). If none of the backends is responsible, then | |
1950 the first backend in the list that could register the file is chosen. | |
1951 As a consequence, the variable `vc-default-back-end' is now obsolete. | |
1952 | |
1953 The old variable `vc-master-templates' is also obsolete, although VC | |
1954 still supports it for backward compatibility. To define templates for | |
1955 RCS or SCCS, you should rather use the new variables | |
1956 vc-{rcs,sccs}-master-templates. (There is no such feature under CVS | |
1957 where it doesn't make sense.) | |
1958 | |
1959 The variables `vc-ignore-vc-files' and `vc-handle-cvs' are also | |
1960 obsolete now, you must set `vc-handled-backends' to nil or exclude | |
1961 `CVS' from the list, respectively, to achieve their effect now. | |
1962 | |
1963 *** General Changes | |
1964 | |
1965 The variable `vc-checkout-carefully' is obsolete: the corresponding | |
1966 checks are always done now. | |
1967 | |
31858
269d69b69fe4
Update hideshow.el section.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
31827
diff
changeset
|
1968 VC Dired buffers are now kept up-to-date during all version control |
31388 | 1969 operations. |
1970 | |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
1971 `vc-diff' output is now displayed in `diff-mode'. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
1972 `vc-print-log' uses `log-view-mode'. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
1973 `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
|
1974 |
33541 | 1975 The command C-x v m (vc-merge) now accepts an empty argument as the |
1976 first revision number. This means that any recent changes on the | |
1977 current branch should be picked up from the repository and merged into | |
1978 the working file (``merge news''). | |
1979 | |
1980 The commands C-x v s (vc-create-snapshot) and C-x v r | |
1981 (vc-retrieve-snapshot) now ask for a directory name from which to work | |
1982 downwards. | |
1983 | |
1984 *** Multiple Backends | |
1985 | |
1986 VC now lets you register files in more than one backend. This is | |
1987 useful, for example, if you are working with a slow remote CVS | |
1988 repository. You can then use RCS for local editing, and occasionally | |
1989 commit your changes back to CVS, or pick up changes from CVS into your | |
1990 local RCS archives. | |
1991 | |
1992 To make this work, the ``more local'' backend (RCS in our example) | |
1993 should come first in `vc-handled-backends', and the ``more remote'' | |
1994 backend (CVS) should come later. (The default value of | |
1995 `vc-handled-backends' already has it that way.) | |
1996 | |
36275
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
1997 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
|
1998 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
|
1999 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
|
2000 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
|
2001 current revision number from the more remote backend. |
33541 | 2002 |
2003 If a file is registered in multiple backends, you can switch to | |
2004 another one using C-x v b (vc-switch-backend). This does not change | |
2005 any files, it only changes VC's perspective on the file. Use this to | |
2006 pick up changes from CVS while working under RCS locally. | |
2007 | |
2008 After you are done with your local RCS editing, you can commit your | |
2009 changes back to CVS using C-u C-x v v CVS RET. In this case, the | |
2010 local RCS archive is removed after the commit, and the log entry | |
2011 buffer is initialized to contain the entire RCS change log of the file. | |
2012 | |
31388 | 2013 *** Changes for CVS |
2014 | |
2015 There is a new user option, `vc-cvs-stay-local'. If it is `t' (the | |
2016 default), then VC avoids network queries for files registered in | |
2017 remote repositories. The state of such files is then only determined | |
2018 by heuristics and past information. `vc-cvs-stay-local' can also be a | |
2019 regexp to match against repository hostnames; only files from hosts | |
2020 that match it are treated locally. If the variable is nil, then VC | |
2021 queries the repository just as often as it does for local files. | |
2022 | |
33541 | 2023 If `vc-cvs-stay-local' is on, then VC also makes local backups of |
2024 repository versions. This means that ordinary diffs (C-x v =) and | |
2025 revert operations (C-x v u) can be done completely locally, without | |
2026 any repository interactions at all. The name of a local version | |
2027 backup of FILE is FILE.~REV.~, where REV is the repository version | |
2028 number. This format is similar to that used by C-x v ~ | |
2029 (vc-version-other-window), except for the trailing dot. As a matter | |
2030 of fact, the two features can each use the files created by the other, | |
2031 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
|
2032 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
|
2033 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
|
2034 name.) |
33541 | 2035 |
31388 | 2036 If `vc-cvs-stay-local' is on, and there have been changes in the |
2037 repository, VC notifies you about it when you actually try to commit. | |
2038 If you want to check for updates from the repository without trying to | |
33541 | 2039 commit, you can either use C-x v m RET to perform an update on the |
31388 | 2040 current file, or you can use C-x v r RET to get an update for an |
2041 entire directory tree. | |
2042 | |
2043 The new user option `vc-cvs-use-edit' indicates whether VC should call | |
2044 "cvs edit" to make files writeable; it defaults to `t'. (This option | |
2045 is only meaningful if the CVSREAD variable is set, or if files are | |
2046 "watched" by other developers.) | |
2047 | |
33541 | 2048 The commands C-x v s (vc-create-snapshot) and C-x v r |
2049 (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
|
2050 an empty snapshot name to the latter, that performs a `cvs update', |
33541 | 2051 starting at the given directory. |
2052 | |
31388 | 2053 *** Lisp Changes in VC |
2054 | |
2055 VC has been restructured internally to make it modular. You can now | |
2056 add support for arbitrary version control backends by writing a | |
2057 library that provides a certain set of backend-specific functions, and | |
2058 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
|
2059 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
|
2060 provides a number of functions vc-sys-... (see commentary at the top |
31388 | 2061 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
|
2062 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
|
2063 `SYS' to the list `vc-handled-backends'. |
31388 | 2064 |
36525
cb77fd8249b6
Change the `***' for the EDT entry to `**'.
Gerd Moellmann <gerd@gnu.org>
parents:
36470
diff
changeset
|
2065 ** The customizable EDT emulation package now supports the EDT |
35163 | 2066 SUBS command and EDT scroll margins. It also works with more |
2067 terminal/keyboard configurations and it now works under XEmacs. | |
2068 See etc/edt-user.doc for more information. | |
2069 | |
25853 | 2070 ** New modes and packages |
2071 | |
34394
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
2072 *** 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
|
2073 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
|
2074 the default is not applicable. |
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
2075 |
33618 | 2076 *** Artist is an Emacs lisp package that allows you to draw lines, |
2077 rectangles and ellipses by using your mouse and/or keyboard. The | |
2078 shapes are made up with the ascii characters |, -, / and \. | |
2079 | |
2080 Features are: | |
2081 | |
2082 - Intersecting: When a `|' intersects with a `-', a `+' is | |
2083 drawn, like this: | \ / | |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
2084 --+-- X |
33618 | 2085 | / \ |
2086 | |
2087 - Rubber-banding: When drawing lines you can interactively see the | |
2088 result while holding the mouse button down and moving the mouse. If | |
2089 your machine is not fast enough (a 386 is a bit too slow, but a | |
2090 pentium is well enough), you can turn this feature off. You will | |
2091 then see 1's and 2's which mark the 1st and 2nd endpoint of the line | |
2092 you are drawing. | |
2093 | |
2094 - Arrows: After having drawn a (straight) line or a (straight) | |
2095 poly-line, you can set arrows on the line-ends by typing < or >. | |
2096 | |
2097 - Flood-filling: You can fill any area with a certain character by | |
2098 flood-filling. | |
2099 | |
2100 - Cut copy and paste: You can cut, copy and paste rectangular | |
2101 regions. Artist also interfaces with the rect package (this can be | |
2102 turned off if it causes you any trouble) so anything you cut in | |
2103 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
|
2104 |
33618 | 2105 - Drawing with keys: Everything you can do with the mouse, you can |
2106 also do without the mouse. | |
2107 | |
2108 - Aspect-ratio: You can set the variable artist-aspect-ratio to | |
2109 reflect the height-width ratio for the font you are using. Squares | |
2110 and circles are then drawn square/round. Note, that once your | |
2111 ascii-file is shown with font with a different height-width ratio, | |
2112 the squares won't be square and the circles won't be round. | |
2113 | |
2114 - Drawing operations: The following drawing operations are implemented: | |
2115 | |
2116 lines straight-lines | |
2117 rectangles squares | |
2118 poly-lines straight poly-lines | |
2119 ellipses circles | |
2120 text (see-thru) text (overwrite) | |
2121 spray-can setting size for spraying | |
2122 vaporize line vaporize lines | |
2123 erase characters erase rectangles | |
2124 | |
2125 Straight lines are lines that go horizontally, vertically or | |
2126 diagonally. Plain lines go in any direction. The operations in | |
2127 the right column are accessed by holding down the shift key while | |
2128 drawing. | |
2129 | |
2130 It is possible to vaporize (erase) entire lines and connected lines | |
2131 (rectangles for example) as long as the lines being vaporized are | |
2132 straight and connected at their endpoints. Vaporizing is inspired | |
2133 by the drawrect package by Jari Aalto <jari.aalto@poboxes.com>. | |
2134 | |
2135 - Picture mode compatibility: Artist is picture mode compatible (this | |
2136 can be turned off). | |
2137 | |
32448
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2138 *** 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
|
2139 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
|
2140 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
|
2141 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
|
2142 history lists, aliases, extended globbing, smart scrolling, etc. It |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2143 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
|
2144 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
|
2145 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
|
2146 all within the scope of your Emacs process. |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2147 |
30781 | 2148 *** The new package timeclock.el is a mode is for keeping track of time |
2149 intervals. You can use it for whatever purpose you like, but the | |
2150 typical scenario is to keep track of how much time you spend working | |
2151 on certain projects. | |
2152 | |
35927 | 2153 *** The new package hi-lock.el provides commands to highlight matches |
2154 of interactively entered regexps. For example, | |
30789 | 2155 |
2156 M-x highlight-regexp RET clearly RET RET | |
30565 | 2157 |
2158 will highlight all occurrences of `clearly' using a yellow background | |
2159 face. New occurrences of `clearly' will be highlighted as they are | |
2160 typed. `M-x unhighlight-regexp RET' will remove the highlighting. | |
2161 Any existing face can be used for highlighting and a set of | |
2162 appropriate faces is provided. The regexps can be written into the | |
2163 current buffer in a form that will be recognized the next time the | |
35927 | 2164 corresponding file is read. There are commands to highlight matches |
2165 to phrases and to highlight entire lines containing a match. | |
30565 | 2166 |
30789 | 2167 *** The new package zone.el plays games with Emacs' display when |
30565 | 2168 Emacs is idle. |
2169 | |
38099 | 2170 *** The new package tildify.el allows to add hard spaces or other text |
2171 fragments in accordance with the current major mode. | |
2172 | |
30319 | 2173 *** The new package xml.el provides a simple but generic XML |
2174 parser. It doesn't parse the DTDs however. | |
2175 | |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
2176 *** 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
|
2177 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
|
2178 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
|
2179 `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
|
2180 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
|
2181 |
28879 | 2182 *** The Ebrowse package implements a C++ class browser and tags |
2183 facilities tailored for use with C++. It is documented in a | |
2184 separate Texinfo file. | |
2185 | |
31007 | 2186 *** The PCL-CVS package available by either running M-x cvs-examine or |
2187 by visiting a CVS administrative directory (with a prefix argument) | |
2188 provides an alternative interface to VC-dired for CVS. It comes with | |
2189 `log-view-mode' to view RCS and SCCS logs and `log-edit-mode' used to | |
35680 | 2190 enter check-in log messages. |
31007 | 2191 |
28834 | 2192 *** The new package called `woman' allows to browse Unix man pages |
2193 without invoking external programs. | |
2194 | |
2195 The command `M-x woman' formats manual pages entirely in Emacs Lisp | |
2196 and then displays them, like `M-x manual-entry' does. Unlike | |
2197 `manual-entry', `woman' does not invoke any external programs, so it | |
2198 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
|
2199 Groff or `troff' commands are not readily available. |
28834 | 2200 |
2201 The command `M-x woman-find-file' asks for the file name of a man | |
2202 page, then formats and displays it like `M-x woman' does. | |
2203 | |
28098 | 2204 *** The new command M-x re-builder offers a convenient interface for |
2205 authoring regular expressions with immediate visual feedback. | |
2206 | |
2207 The buffer from which the command was called becomes the target for | |
2208 the regexp editor popping up in a separate window. Matching text in | |
2209 the target buffer is immediately color marked during the editing. | |
2210 Each sub-expression of the regexp will show up in a different face so | |
2211 even complex regexps can be edited and verified on target data in a | |
2212 single step. | |
2213 | |
2214 On displays not supporting faces the matches instead blink like | |
2215 matching parens to make them stand out. On such a setup you will | |
2216 probably also want to use the sub-expression mode when the regexp | |
2217 contains such to get feedback about their respective limits. | |
2218 | |
27644 | 2219 *** glasses-mode is a minor mode that makes |
2220 unreadableIdentifiersLikeThis readable. It works as glasses, without | |
2221 actually modifying content of a buffer. | |
2222 | |
27498 | 2223 *** The package ebnf2ps translates an EBNF to a syntactic chart in |
2224 PostScript. | |
2225 | |
2226 Currently accepts ad-hoc EBNF, ISO EBNF and Bison/Yacc. | |
2227 | |
2228 The ad-hoc default EBNF syntax has the following elements: | |
2229 | |
2230 ; comment (until end of line) | |
2231 A non-terminal | |
2232 "C" terminal | |
2233 ?C? special | |
2234 $A default non-terminal | |
2235 $"C" default terminal | |
2236 $?C? default special | |
2237 A = B. production (A is the header and B the body) | |
2238 C D sequence (C occurs before D) | |
2239 C | D alternative (C or D occurs) | |
2240 A - B exception (A excluding B, B without any non-terminal) | |
2241 n * A repetition (A repeats n (integer) times) | |
2242 (C) group (expression C is grouped together) | |
2243 [C] optional (C may or not occurs) | |
2244 C+ one or more occurrences of C | |
2245 {C}+ one or more occurrences of C | |
2246 {C}* zero or more occurrences of C | |
2247 {C} zero or more occurrences of C | |
2248 C / D equivalent to: C {D C}* | |
2249 {C || D}+ equivalent to: C {D C}* | |
2250 {C || D}* equivalent to: [C {D C}*] | |
2251 {C || D} equivalent to: [C {D C}*] | |
2252 | |
2253 Please, see ebnf2ps documentation for EBNF syntax and how to use it. | |
2254 | |
27328 | 2255 *** The package align.el will align columns within a region, using M-x |
2256 align. Its mode-specific rules, based on regular expressions, | |
2257 determine where the columns should be split. In C and C++, for | |
2258 example, it will align variable names in declaration lists, or the | |
2259 equal signs of assignments. | |
2260 | |
27266
8ce11c7a7fcb
read-mail-command, outline mode changes, change-log-merge,
Dave Love <fx@gnu.org>
parents:
27200
diff
changeset
|
2261 *** `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
|
2262 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
|
2263 |
27016 | 2264 *** bs.el is a new package for buffer selection similar to |
2265 list-buffers or electric-buffer-list. Use M-x bs-show to display a | |
36885 | 2266 buffer menu with this package. See the Custom group `bs'. |
27016 | 2267 |
29696 | 2268 *** find-lisp.el is a package emulating the Unix find command in Lisp. |
2269 | |
27733 | 2270 *** calculator.el is a small calculator package that is intended to |
2271 replace desktop calculators such as xcalc and calc.exe. Actually, it | |
2272 is not too small - it has more features than most desktop calculators, | |
2273 and can be customized easily to get many more functions. It should | |
2274 not be confused with "calc" which is a much bigger mathematical tool | |
2275 which answers different needs. | |
2276 | |
26964
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2277 *** 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
|
2278 suspicious C and C++ constructions. Currently, assignments inside |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2279 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
|
2280 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
|
2281 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
|
2282 to be enabled. |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2283 |
27094
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
2284 *** 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
|
2285 containing diff3-style conflict markers, such as generated by RCS. |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
2286 |
25853 | 2287 *** 5x5.el is a simple puzzle game. |
2288 | |
38938 | 2289 *** hl-line.el provides `hl-line-mode', a minor mode to highlight the |
2290 current line in the current buffer. It also provides | |
2291 `global-hl-line-mode' to provide the same behaviour in all buffers. | |
25853 | 2292 |
2293 *** ansi-color.el translates ANSI terminal escapes into text-properties. | |
2294 | |
35578 | 2295 Please note: if `ansi-color-for-comint-mode' and |
31936 | 2296 `global-font-lock-mode' are non-nil, loading ansi-color.el will |
2297 disable font-lock and add `ansi-color-apply' to | |
2298 `comint-preoutput-filter-functions' for all shell-mode buffers. This | |
2299 displays the output of "ls --color=yes" using the correct foreground | |
2300 and background colors. | |
2301 | |
25853 | 2302 *** delphi.el provides a major mode for editing the Delphi (Object |
2303 Pascal) language. | |
2304 | |
2305 *** quickurl.el provides a simple method of inserting a URL based on | |
2306 the text at point. | |
2307 | |
2308 *** sql.el provides an interface to SQL data bases. | |
2309 | |
25862 | 2310 *** fortune.el uses the fortune program to create mail/news signatures. |
2311 | |
35163 | 2312 *** whitespace.el is a package for warning about and cleaning bogus |
2313 whitespace in a file. | |
25853 | 2314 |
25992 | 2315 *** PostScript mode (ps-mode) is a new major mode for editing PostScript |
2316 files. It offers: interaction with a PostScript interpreter, including | |
2317 (very basic) error handling; fontification, easily customizable for | |
2318 interpreter messages; auto-indentation; insertion of EPSF templates and | |
2319 often used code snippets; viewing of BoundingBox; commenting out / | |
2320 uncommenting regions; conversion of 8bit characters to PostScript octal | |
2321 codes. All functionality is accessible through a menu. | |
2322 | |
2323 *** delim-col helps to prettify columns in a text region or rectangle. | |
2324 | |
2325 Here is an example of columns: | |
2326 | |
2327 horse apple bus | |
2328 dog pineapple car EXTRA | |
2329 porcupine strawberry airplane | |
2330 | |
2331 Doing the following settings: | |
2332 | |
2333 (setq delimit-columns-str-before "[ ") | |
2334 (setq delimit-columns-str-after " ]") | |
2335 (setq delimit-columns-str-separator ", ") | |
2336 (setq delimit-columns-separator "\t") | |
2337 | |
2338 | |
2339 Selecting the lines above and typing: | |
2340 | |
2341 M-x delimit-columns-region | |
2342 | |
2343 It results: | |
2344 | |
2345 [ horse , apple , bus , ] | |
2346 [ dog , pineapple , car , EXTRA ] | |
2347 [ porcupine, strawberry, airplane, ] | |
2348 | |
2349 delim-col has the following options: | |
2350 | |
2351 delimit-columns-str-before Specify a string to be inserted | |
2352 before all columns. | |
2353 | |
2354 delimit-columns-str-separator Specify a string to be inserted | |
2355 between each column. | |
2356 | |
2357 delimit-columns-str-after Specify a string to be inserted | |
2358 after all columns. | |
2359 | |
2360 delimit-columns-separator Specify a regexp which separates | |
2361 each column. | |
2362 | |
2363 delim-col has the following commands: | |
2364 | |
2365 delimit-columns-region Prettify all columns in a text region. | |
2366 delimit-columns-rectangle Prettify all columns in a text rectangle. | |
2367 | |
36885 | 2368 *** Recentf mode maintains a menu for visiting files that were |
2369 operated on recently. User option recentf-menu-filter specifies a | |
2370 menu filter function to change the menu appearance. For example, the | |
2371 recent file list can be displayed: | |
30319 | 2372 |
2373 - organized by major modes, directories or user defined rules. | |
35680 | 2374 - sorted by file paths, file names, ascending or descending. |
2375 - showing paths relative to the current default-directory | |
30319 | 2376 |
2377 The `recentf-filter-changer' menu filter function allows to | |
2378 dynamically change the menu appearance. | |
26030
c5e8559a53cb
Add description of recentf.
Gerd Moellmann <gerd@gnu.org>
parents:
26016
diff
changeset
|
2379 |
26149 | 2380 *** elide-head.el provides a mechanism for eliding boilerplate header |
2381 text. | |
2382 | |
26924 | 2383 *** footnote.el provides `footnote-mode', a minor mode supporting use |
26786 | 2384 of footnotes. It is intended for use with Message mode, but isn't |
2385 specific to Message mode. | |
2386 | |
26924 | 2387 *** diff-mode.el provides `diff-mode', a major mode for |
2388 viewing/editing context diffs (patches). It is selected for files | |
2389 with extension `.diff', `.diffs', `.patch' and `.rej'. | |
2390 | |
27714
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2391 *** 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
|
2392 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
|
2393 protocols. It has a separate manual. |
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2394 |
28132 | 2395 *** autoconf.el provides a major mode for editing configure.in files |
2396 for Autoconf, selected automatically. | |
2397 | |
28710 | 2398 *** 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
|
2399 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2400 *** crm.el provides a facility to read multiple strings from the |
28710 | 2401 minibuffer with completion. |
27714
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2402 |
28883 | 2403 *** todo-mode.el provides management of TODO lists and integration |
2404 with the diary features. | |
2405 | |
28912 | 2406 *** autoarg.el provides a feature reported from Twenex Emacs whereby |
2407 numeric keys supply prefix args rather than self inserting. | |
2408 | |
29814 | 2409 *** The function `turn-off-auto-fill' unconditionally turns off Auto |
2410 Fill mode. | |
2411 | |
33020 | 2412 *** pcomplete.el is a library that provides programmable completion |
2413 facilities for Emacs, similar to what zsh and tcsh offer. The main | |
2414 difference is that completion functions are written in Lisp, meaning | |
2415 they can be profiled, debugged, etc. | |
32465 | 2416 |
38379 | 2417 *** antlr-mode is a new major mode for editing ANTLR grammar files. |
2418 It is automatically turned on for files whose names have the extension | |
2419 `.g'. | |
2420 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2421 ** 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
|
2422 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2423 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
|
2424 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
|
2425 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
|
2426 numeric base. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2427 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2428 ** 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
|
2429 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2430 *** 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
|
2431 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
|
2432 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
|
2433 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2434 *** 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
|
2435 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
|
2436 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2437 *** 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
|
2438 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
|
2439 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2440 ** 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
|
2441 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
|
2442 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2443 ** 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
|
2444 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
|
2445 `(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
|
2446 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2447 ** 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
|
2448 group. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2449 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2450 ** 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
|
2451 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
|
2452 are recognized: |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2453 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2454 `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
|
2455 `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
|
2456 `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
|
2457 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
|
2458 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2459 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
|
2460 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2461 [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
|
2462 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2463 ** 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
|
2464 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
|
2465 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2466 ** 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
|
2467 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
|
2468 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
|
2469 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
|
2470 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2471 ** 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
|
2472 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
|
2473 `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
|
2474 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2475 ** `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
|
2476 `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
|
2477 `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
|
2478 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2479 ** 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
|
2480 `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
|
2481 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2482 ** 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
|
2483 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
|
2484 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2485 ** `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
|
2486 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
|
2487 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2488 ** 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
|
2489 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
|
2490 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
|
2491 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
|
2492 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
|
2493 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
|
2494 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2495 ** 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
|
2496 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
|
2497 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2498 ** 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
|
2499 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2500 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
|
2501 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
|
2502 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2503 ** 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
|
2504 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2505 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
|
2506 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
|
2507 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
|
2508 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2509 ** Etags changes. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2510 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2511 *** 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
|
2512 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2513 *** 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
|
2514 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
|
2515 {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
|
2516 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
|
2517 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
|
2518 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2519 *** 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
|
2520 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
|
2521 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2522 *** 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
|
2523 "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
|
2524 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2525 *** 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
|
2526 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
|
2527 `template' keywords. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2528 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2529 *** 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
|
2530 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
|
2531 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2532 *** 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
|
2533 types. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2534 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2535 *** 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
|
2536 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2537 *** 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
|
2538 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2539 *** 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
|
2540 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
|
2541 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2542 *** 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
|
2543 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2544 *** 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
|
2545 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
|
2546 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2547 *** 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
|
2548 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2549 *** .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
|
2550 for PSWrap. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2551 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2552 ** 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
|
2553 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2554 *** 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
|
2555 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
|
2556 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
|
2557 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2558 *** 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
|
2559 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
|
2560 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2561 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
|
2562 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
|
2563 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
|
2564 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
|
2565 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2566 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
|
2567 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2568 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
|
2569 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
|
2570 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2571 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
|
2572 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2573 '(("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
|
2574 ("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
|
2575 ("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
|
2576 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2577 *** 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
|
2578 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
|
2579 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2580 *** 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
|
2581 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
|
2582 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2583 *** 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
|
2584 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
|
2585 /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
|
2586 "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
|
2587 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
|
2588 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2589 *** 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
|
2590 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
|
2591 (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
|
2592 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2593 *** 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
|
2594 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
|
2595 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
|
2596 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2597 ** 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
|
2598 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
|
2599 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
|
2600 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2601 ** 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
|
2602 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2603 ** 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
|
2604 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2605 ** 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
|
2606 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
|
2607 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
|
2608 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2609 ** 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
|
2610 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
|
2611 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
|
2612 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
|
2613 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2614 ** 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
|
2615 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2616 ** 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
|
2617 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
|
2618 |
33290 | 2619 ** Refill minor mode provides preliminary support for keeping |
2620 paragraphs filled as you modify them. | |
2621 | |
38605
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
2622 ** 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
|
2623 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
|
2624 is measured in pixels. |
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
2625 |
33290 | 2626 ** The new global minor mode `auto-image-file-mode' allows image files |
2627 to be visited as images. | |
2628 | |
39270
daf37eb76fde
grep-command and grep-find-command user options.
Gerd Moellmann <gerd@gnu.org>
parents:
39255
diff
changeset
|
2629 ** 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
|
2630 were added to compile.el. |
daf37eb76fde
grep-command and grep-find-command user options.
Gerd Moellmann <gerd@gnu.org>
parents:
39255
diff
changeset
|
2631 |
25853 | 2632 ** Withdrawn packages |
2633 | |
2634 *** mldrag.el has been removed. mouse.el provides the same | |
2635 functionality with aliases for the mldrag functions. | |
26133 | 2636 |
27369 | 2637 *** eval-reg.el has been obsoleted by changes to edebug.el and removed. |
2638 | |
2639 *** ph.el has been obsoleted by EUDC and removed. | |
29102 | 2640 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
2641 |
33991 | 2642 * Incompatible Lisp changes |
2643 | |
2644 There are a few Lisp changes which are not backwards-compatible and | |
2645 may require changes to existing code. Here is a list for reference. | |
35421 | 2646 See the sections below for details. |
33991 | 2647 |
35297
e268b7b500f0
Changes for makefile support in etags.
Francesco Potortì <pot@gnu.org>
parents:
35278
diff
changeset
|
2648 ** 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
|
2649 `(format "%s" foo)' no longer works to copy and remove properties. |
41091 | 2650 Use `copy-sequence' to copy the string, then use `set-text-properties' |
2651 to remove the properties of the copy. | |
33991 | 2652 |
2653 ** Since the `keymap' text property now has significance, some code | |
2654 which uses both `local-map' and `keymap' properties (for portability) | |
2655 may, for instance, give rise to duplicate menus when the keymaps from | |
2656 these properties are active. | |
2657 | |
34029 | 2658 ** The change in the treatment of non-ASCII characters in search |
33991 | 2659 ranges may affect some code. |
34017 | 2660 |
2661 ** A non-nil value for the LOCAL arg of add-hook makes the hook | |
2662 buffer-local even if `make-local-hook' hasn't been called, which might | |
2663 make a difference to some code. | |
2664 | |
34029 | 2665 ** The new treatment of the minibuffer prompt might affect code which |
2666 operates on the minibuffer. | |
2667 | |
34087
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2668 ** 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
|
2669 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
|
2670 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
|
2671 (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
|
2672 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
|
2673 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
|
2674 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
|
2675 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
|
2676 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
|
2677 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
|
2678 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
|
2679 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
|
2680 |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2681 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
|
2682 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
|
2683 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
|
2684 |
34617 | 2685 ** 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
|
2686 `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
|
2687 `before-change-functions' and `after-change-functions' instead. |
34617 | 2688 |
2689 ** Code that uses `concat' with integer args now gets an error, as | |
2690 long promised. | |
2691 | |
38649
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
2692 ** 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
|
2693 string. |
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
2694 |
36244 | 2695 ** Not a Lisp incompatibility as such but, with the introduction of |
2696 extra private charsets, there is now only one slot free for a new | |
2697 dimension-2 private charset. User code which tries to add more than | |
2698 one extra will fail unless you rebuild Emacs with some standard | |
2699 charset(s) removed; that is probably inadvisable because it changes | |
2700 the emacs-mule encoding. Also, files stored in the emacs-mule | |
36470 | 2701 encoding using Emacs 20 with additional private charsets defined will |
2702 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
|
2703 |
37077
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
2704 ** 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
|
2705 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
|
2706 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
|
2707 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
|
2708 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
|
2709 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
|
2710 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
|
2711 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
|
2712 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
|
2713 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
|
2714 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
2715 |
29102 | 2716 * Lisp changes made after edition 2.6 of the Emacs Lisp Manual, |
2717 (Display-related features are described in a page of their own below.) | |
2718 | |
39089 | 2719 ** Function assq-delete-all replaces function assoc-delete-all. |
2720 | |
41356 | 2721 ** The new function animate-string, from lisp/play/animate.el |
38527 | 2722 allows the animated display of strings. |
2723 | |
37061 | 2724 ** The new function `interactive-form' can be used to obtain the |
2725 interactive form of a function. | |
2726 | |
36885 | 2727 ** The keyword :set-after in defcustom allows to specify dependencies |
2728 between custom options. Example: | |
2729 | |
2730 (defcustom default-input-method nil | |
2731 "*Default input method for multilingual text (a string). | |
2732 This is the input method activated automatically by the command | |
2733 `toggle-input-method' (\\[toggle-input-method])." | |
2734 :group 'mule | |
2735 :type '(choice (const nil) string) | |
2736 :set-after '(current-language-environment)) | |
2737 | |
2738 This specifies that default-input-method should be set after | |
2739 current-language-environment even if default-input-method appears | |
2740 first in a custom-set-variables statement. | |
2741 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
2742 ** The new hook `kbd-macro-termination-hook' is run at the end of |
35125 | 2743 function execute-kbd-macro. Functions on this hook are called with no |
2744 args. The hook is run independent of how the macro was terminated | |
2745 (signal or normal termination). | |
2746 | |
35090 | 2747 ** Functions `butlast' and `nbutlast' for removing trailing elements |
2748 from a list are now available without requiring the CL package. | |
2749 | |
34271 | 2750 ** The new user-option `even-window-heights' can be set to nil |
2751 to prevent `display-buffer' from evening out window heights. | |
2752 | |
33373 | 2753 ** The user-option `face-font-registry-alternatives' specifies |
2754 alternative font registry names to try when looking for a font. | |
2755 | |
34054 | 2756 ** Function `md5' calculates the MD5 "message digest"/"checksum". |
33364 | 2757 |
32913 | 2758 ** Function `delete-frame' runs `delete-frame-hook' before actually |
2759 deleting the frame. The hook is called with one arg, the frame | |
2760 being deleted. | |
2761 | |
32845
e92097fd9144
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32751
diff
changeset
|
2762 ** `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
|
2763 |
32466 | 2764 ** The treatment of non-ASCII characters in search ranges has changed. |
32465 | 2765 If a range in a regular expression or the arg of |
2766 skip-chars-forward/backward starts with a unibyte character C and ends | |
2767 with a multibyte character C2, the range is divided into two: one is | |
2768 C..?\377, the other is C1..C2, where C1 is the first character of C2's | |
2769 charset. | |
2770 | |
32259
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
2771 ** 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
|
2772 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
|
2773 message. |
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
2774 |
32050
2a3bcf8d9877
Add entries for `auto-image-file-mode' and `with-auto-compression-mode'.
Miles Bader <miles@gnu.org>
parents:
32037
diff
changeset
|
2775 ** 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
|
2776 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
|
2777 |
31636 | 2778 ** In image specifications, `:heuristic-mask' has been replaced |
2779 with the more general `:mask' property. | |
2780 | |
35364 | 2781 ** Image specifications accept more `:conversion's. |
31728 | 2782 |
31561 | 2783 ** A `?' can be used in a symbol name without escaping it with a |
2784 backslash. | |
2785 | |
31007 | 2786 ** Reading from the mini-buffer now reads from standard input if Emacs |
2787 is running in batch mode. For example, | |
2788 | |
2789 (message "%s" (read t)) | |
2790 | |
2791 will read a Lisp expression from standard input and print the result | |
2792 to standard output. | |
2793 | |
2794 ** The argument of `down-list', `backward-up-list', `up-list', | |
2795 `kill-sexp', `backward-kill-sexp' and `mark-sexp' is now optional. | |
2796 | |
30564 | 2797 ** If `display-buffer-reuse-frames' is set, function `display-buffer' |
2798 will raise frames displaying a buffer, instead of creating a new | |
2799 frame or window. | |
2800 | |
30516 | 2801 ** Two new functions for removing elements from lists/sequences |
2802 were added | |
2803 | |
2804 - Function: remove ELT SEQ | |
2805 | |
35680 | 2806 Return a copy of SEQ with all occurrences of ELT removed. SEQ must be |
30516 | 2807 a list, vector, or string. The comparison is done with `equal'. |
2808 | |
2809 - Function: remq ELT LIST | |
2810 | |
35680 | 2811 Return a copy of LIST with all occurrences of ELT removed. The |
30516 | 2812 comparison is done with `eq'. |
2813 | |
2814 ** The function `delete' now also works with vectors and strings. | |
30511 | 2815 |
30502 | 2816 ** 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
|
2817 has been changed: WEAK can now have new values `key-or-value' and |
39441 | 2818 `key-and-value', in addition the `nil', `key', `value', and `t'. |
30502 | 2819 |
30357 | 2820 ** Function `aset' stores any multibyte character in any string |
2821 without signaling "Attempt to change char length of a string". It may | |
2822 convert a unibyte string to multibyte if necessary. | |
2823 | |
30219 | 2824 ** The value of the `help-echo' text property is called as a function |
2825 or evaluated, if it is not a string already, to obtain a help string. | |
30203 | 2826 |
30158
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
2827 ** 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
|
2828 function was declared obsolete. |
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
2829 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2830 ** 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
|
2831 retained as an alias). |
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
2832 |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
2833 ** Easy-menu's :filter now works as in XEmacs. |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
2834 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
|
2835 is automatically converted to Emacs' form. |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
2836 |
30038 | 2837 ** The new function `window-list' has been defined |
2838 | |
33620 | 2839 - Function: window-list &optional FRAME WINDOW MINIBUF |
2840 | |
2841 Return a list of windows on FRAME, starting with WINDOW. FRAME nil or | |
2842 omitted means use the selected frame. WINDOW nil or omitted means use | |
2843 the selected window. MINIBUF t means include the minibuffer window, | |
2844 even if it isn't active. MINIBUF nil or omitted means include the | |
2845 minibuffer window only if it's active. MINIBUF neither nil nor t | |
2846 means never include the minibuffer window. | |
30038 | 2847 |
39179
d0b29a3ee609
some-window -> get-window-with-predicate.
Gerd Moellmann <gerd@gnu.org>
parents:
39089
diff
changeset
|
2848 ** 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
|
2849 |
d0b29a3ee609
some-window -> get-window-with-predicate.
Gerd Moellmann <gerd@gnu.org>
parents:
39089
diff
changeset
|
2850 - Function: get-window-with-predicate PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT |
30006 | 2851 |
2852 Return a window satisfying PREDICATE. | |
2853 | |
2854 This function cycles through all visible windows using `walk-windows', | |
2855 calling PREDICATE on each one. PREDICATE is called with a window as | |
2856 argument. The first window for which PREDICATE returns a non-nil | |
2857 value is returned. If no window satisfies PREDICATE, DEFAULT is | |
2858 returned. | |
2859 | |
2860 Optional second arg MINIBUF t means count the minibuffer window even | |
2861 if not active. MINIBUF nil or omitted means count the minibuffer iff | |
2862 it is active. MINIBUF neither t nor nil means not to count the | |
2863 minibuffer even if it is active. | |
2864 | |
2865 Several frames may share a single minibuffer; if the minibuffer | |
2866 counts, all windows on all frames that share that minibuffer count | |
2867 too. Therefore, if you are using a separate minibuffer frame | |
2868 and the minibuffer is active and MINIBUF says it counts, | |
2869 `walk-windows' includes the windows in the frame from which you | |
2870 entered the minibuffer, as well as the minibuffer window. | |
2871 | |
2872 ALL-FRAMES is the optional third argument. | |
2873 ALL-FRAMES nil or omitted means cycle within the frames as specified above. | |
2874 ALL-FRAMES = `visible' means include windows on all visible frames. | |
2875 ALL-FRAMES = 0 means include windows on all visible and iconified frames. | |
2876 ALL-FRAMES = t means include windows on all frames including invisible frames. | |
2877 If ALL-FRAMES is a frame, it means include windows on that frame. | |
2878 Anything else means restrict to the selected frame. | |
2879 | |
30564 | 2880 ** The function `single-key-description' now encloses function key and |
2881 event names in angle brackets. When called with a second optional | |
2882 argument non-nil, angle brackets won't be printed. | |
29657 | 2883 |
29637 | 2884 ** If the variable `message-truncate-lines' is bound to t around a |
2885 call to `message', the echo area will not be resized to display that | |
30290 | 2886 message; it will be truncated instead, as it was done in 20.x. |
2887 Default value is nil. | |
29637 | 2888 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2889 ** The user option `line-number-display-limit' can now be set to nil, |
29633 | 2890 meaning no limit. |
2891 | |
38126
64a45ba0553f
Document line-number-display-limit-width.
Eli Zaretskii <eliz@gnu.org>
parents:
38107
diff
changeset
|
2892 ** 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
|
2893 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
|
2894 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
|
2895 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2896 ** `select-safe-coding-system' now also checks the most preferred |
29509 | 2897 coding-system if buffer-file-coding-system is `undecided' and |
2898 DEFAULT-CODING-SYSTEM is not specified, | |
2899 | |
34001 | 2900 ** The function `subr-arity' provides information about the argument |
2901 list of a primitive. | |
29238 | 2902 |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2903 ** `where-is-internal' now also accepts a list of keymaps. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2904 |
29286 | 2905 ** The text property `keymap' specifies a key map which overrides the |
2906 buffer's local map and the map specified by the `local-map' property. | |
2907 This is probably what most current uses of `local-map' want, rather | |
2908 than replacing the local map. | |
2909 | |
35250 | 2910 ** The obsolete variables `before-change-function' and |
2911 `after-change-function' are no longer acted upon and have been | |
2912 removed. Use `before-change-functions' and `after-change-functions' | |
2913 instead. | |
29498 | 2914 |
2915 ** The function `apropos-mode' runs the hook `apropos-mode-hook'. | |
2916 | |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2917 ** `concat' no longer accepts individual integer arguments, |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2918 as promised long ago. |
30339
70d759570f7a
C-down-mouse-3. Move concat change.
Dave Love <fx@gnu.org>
parents:
30319
diff
changeset
|
2919 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2920 ** 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
|
2921 |
1d5371e8a974
Add entry for auto-coding-regexp-alist.
Gerd Moellmann <gerd@gnu.org>
parents:
37446
diff
changeset
|
2922 ** 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
|
2923 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
|
2924 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
|
2925 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
2926 |
25853 | 2927 * Lisp changes in Emacs 21.1 (see following page for display-related features) |
2928 | |
39517 | 2929 ** The new package rx.el provides an alternative sexp notation for |
2930 regular expressions. | |
2931 | |
2932 - Function: rx-to-string SEXP | |
2933 | |
2934 Translate SEXP into a regular expression in string notation. | |
2935 | |
2936 - Macro: rx SEXP | |
2937 | |
2938 Translate SEXP into a regular expression in string notation. | |
2939 | |
2940 The following are valid subforms of regular expressions in sexp | |
2941 notation. | |
2942 | |
2943 STRING | |
2944 matches string STRING literally. | |
2945 | |
2946 CHAR | |
2947 matches character CHAR literally. | |
2948 | |
2949 `not-newline' | |
2950 matches any character except a newline. | |
2951 . | |
2952 `anything' | |
2953 matches any character | |
2954 | |
2955 `(any SET)' | |
2956 matches any character in SET. SET may be a character or string. | |
2957 Ranges of characters can be specified as `A-Z' in strings. | |
2958 | |
40215 | 2959 '(in SET)' |
39517 | 2960 like `any'. |
2961 | |
2962 `(not (any SET))' | |
2963 matches any character not in SET | |
2964 | |
2965 `line-start' | |
2966 matches the empty string, but only at the beginning of a line | |
2967 in the text being matched | |
2968 | |
2969 `line-end' | |
2970 is similar to `line-start' but matches only at the end of a line | |
2971 | |
2972 `string-start' | |
2973 matches the empty string, but only at the beginning of the | |
2974 string being matched against. | |
2975 | |
2976 `string-end' | |
2977 matches the empty string, but only at the end of the | |
2978 string being matched against. | |
2979 | |
2980 `buffer-start' | |
2981 matches the empty string, but only at the beginning of the | |
2982 buffer being matched against. | |
2983 | |
2984 `buffer-end' | |
2985 matches the empty string, but only at the end of the | |
2986 buffer being matched against. | |
2987 | |
2988 `point' | |
2989 matches the empty string, but only at point. | |
2990 | |
2991 `word-start' | |
2992 matches the empty string, but only at the beginning or end of a | |
2993 word. | |
2994 | |
2995 `word-end' | |
2996 matches the empty string, but only at the end of a word. | |
2997 | |
2998 `word-boundary' | |
2999 matches the empty string, but only at the beginning or end of a | |
3000 word. | |
3001 | |
3002 `(not word-boundary)' | |
3003 matches the empty string, but not at the beginning or end of a | |
3004 word. | |
3005 | |
3006 `digit' | |
3007 matches 0 through 9. | |
3008 | |
3009 `control' | |
3010 matches ASCII control characters. | |
3011 | |
3012 `hex-digit' | |
3013 matches 0 through 9, a through f and A through F. | |
3014 | |
3015 `blank' | |
3016 matches space and tab only. | |
3017 | |
3018 `graphic' | |
3019 matches graphic characters--everything except ASCII control chars, | |
3020 space, and DEL. | |
3021 | |
3022 `printing' | |
3023 matches printing characters--everything except ASCII control chars | |
3024 and DEL. | |
3025 | |
3026 `alphanumeric' | |
3027 matches letters and digits. (But at present, for multibyte characters, | |
3028 it matches anything that has word syntax.) | |
3029 | |
3030 `letter' | |
3031 matches letters. (But at present, for multibyte characters, | |
3032 it matches anything that has word syntax.) | |
3033 | |
3034 `ascii' | |
3035 matches ASCII (unibyte) characters. | |
3036 | |
3037 `nonascii' | |
3038 matches non-ASCII (multibyte) characters. | |
3039 | |
3040 `lower' | |
3041 matches anything lower-case. | |
3042 | |
3043 `upper' | |
3044 matches anything upper-case. | |
3045 | |
3046 `punctuation' | |
3047 matches punctuation. (But at present, for multibyte characters, | |
3048 it matches anything that has non-word syntax.) | |
3049 | |
3050 `space' | |
3051 matches anything that has whitespace syntax. | |
3052 | |
3053 `word' | |
3054 matches anything that has word syntax. | |
3055 | |
3056 `(syntax SYNTAX)' | |
3057 matches a character with syntax SYNTAX. SYNTAX must be one | |
3058 of the following symbols. | |
3059 | |
3060 `whitespace' (\\s- in string notation) | |
3061 `punctuation' (\\s.) | |
3062 `word' (\\sw) | |
3063 `symbol' (\\s_) | |
3064 `open-parenthesis' (\\s() | |
3065 `close-parenthesis' (\\s)) | |
3066 `expression-prefix' (\\s') | |
3067 `string-quote' (\\s\") | |
3068 `paired-delimiter' (\\s$) | |
3069 `escape' (\\s\\) | |
3070 `character-quote' (\\s/) | |
3071 `comment-start' (\\s<) | |
3072 `comment-end' (\\s>) | |
3073 | |
3074 `(not (syntax SYNTAX))' | |
3075 matches a character that has not syntax SYNTAX. | |
3076 | |
3077 `(category CATEGORY)' | |
3078 matches a character with category CATEGORY. CATEGORY must be | |
3079 either a character to use for C, or one of the following symbols. | |
3080 | |
3081 `consonant' (\\c0 in string notation) | |
3082 `base-vowel' (\\c1) | |
3083 `upper-diacritical-mark' (\\c2) | |
3084 `lower-diacritical-mark' (\\c3) | |
3085 `tone-mark' (\\c4) | |
3086 `symbol' (\\c5) | |
3087 `digit' (\\c6) | |
3088 `vowel-modifying-diacritical-mark' (\\c7) | |
3089 `vowel-sign' (\\c8) | |
3090 `semivowel-lower' (\\c9) | |
3091 `not-at-end-of-line' (\\c<) | |
3092 `not-at-beginning-of-line' (\\c>) | |
3093 `alpha-numeric-two-byte' (\\cA) | |
3094 `chinse-two-byte' (\\cC) | |
3095 `greek-two-byte' (\\cG) | |
3096 `japanese-hiragana-two-byte' (\\cH) | |
3097 `indian-tow-byte' (\\cI) | |
3098 `japanese-katakana-two-byte' (\\cK) | |
3099 `korean-hangul-two-byte' (\\cN) | |
3100 `cyrillic-two-byte' (\\cY) | |
3101 `ascii' (\\ca) | |
3102 `arabic' (\\cb) | |
3103 `chinese' (\\cc) | |
3104 `ethiopic' (\\ce) | |
3105 `greek' (\\cg) | |
3106 `korean' (\\ch) | |
3107 `indian' (\\ci) | |
3108 `japanese' (\\cj) | |
3109 `japanese-katakana' (\\ck) | |
3110 `latin' (\\cl) | |
3111 `lao' (\\co) | |
3112 `tibetan' (\\cq) | |
3113 `japanese-roman' (\\cr) | |
3114 `thai' (\\ct) | |
3115 `vietnamese' (\\cv) | |
3116 `hebrew' (\\cw) | |
3117 `cyrillic' (\\cy) | |
3118 `can-break' (\\c|) | |
3119 | |
3120 `(not (category CATEGORY))' | |
3121 matches a character that has not category CATEGORY. | |
3122 | |
3123 `(and SEXP1 SEXP2 ...)' | |
3124 matches what SEXP1 matches, followed by what SEXP2 matches, etc. | |
3125 | |
3126 `(submatch SEXP1 SEXP2 ...)' | |
3127 like `and', but makes the match accessible with `match-end', | |
3128 `match-beginning', and `match-string'. | |
3129 | |
3130 `(group SEXP1 SEXP2 ...)' | |
3131 another name for `submatch'. | |
3132 | |
3133 `(or SEXP1 SEXP2 ...)' | |
3134 matches anything that matches SEXP1 or SEXP2, etc. If all | |
3135 args are strings, use `regexp-opt' to optimize the resulting | |
3136 regular expression. | |
3137 | |
3138 `(minimal-match SEXP)' | |
3139 produce a non-greedy regexp for SEXP. Normally, regexps matching | |
3140 zero or more occurrances of something are \"greedy\" in that they | |
3141 match as much as they can, as long as the overall regexp can | |
3142 still match. A non-greedy regexp matches as little as possible. | |
3143 | |
3144 `(maximal-match SEXP)' | |
3145 produce a greedy regexp for SEXP. This is the default. | |
3146 | |
3147 `(zero-or-more SEXP)' | |
3148 matches zero or more occurrences of what SEXP matches. | |
3149 | |
3150 `(0+ SEXP)' | |
3151 like `zero-or-more'. | |
3152 | |
3153 `(* SEXP)' | |
3154 like `zero-or-more', but always produces a greedy regexp. | |
3155 | |
3156 `(*? SEXP)' | |
3157 like `zero-or-more', but always produces a non-greedy regexp. | |
3158 | |
3159 `(one-or-more SEXP)' | |
3160 matches one or more occurrences of A. | |
40215 | 3161 |
39517 | 3162 `(1+ SEXP)' |
3163 like `one-or-more'. | |
3164 | |
3165 `(+ SEXP)' | |
3166 like `one-or-more', but always produces a greedy regexp. | |
3167 | |
3168 `(+? SEXP)' | |
3169 like `one-or-more', but always produces a non-greedy regexp. | |
3170 | |
3171 `(zero-or-one SEXP)' | |
3172 matches zero or one occurrences of A. | |
40215 | 3173 |
39517 | 3174 `(optional SEXP)' |
3175 like `zero-or-one'. | |
3176 | |
3177 `(? SEXP)' | |
3178 like `zero-or-one', but always produces a greedy regexp. | |
3179 | |
3180 `(?? SEXP)' | |
3181 like `zero-or-one', but always produces a non-greedy regexp. | |
3182 | |
3183 `(repeat N SEXP)' | |
3184 matches N occurrences of what SEXP matches. | |
3185 | |
3186 `(repeat N M SEXP)' | |
3187 matches N to M occurrences of what SEXP matches. | |
3188 | |
3189 `(eval FORM)' | |
3190 evaluate FORM and insert result. If result is a string, | |
3191 `regexp-quote' it. | |
3192 | |
3193 `(regexp REGEXP)' | |
3194 include REGEXP in string notation in the result. | |
3195 | |
36811 | 3196 *** The features `md5' and `overlay' are now provided by default. |
3197 | |
30933
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
3198 *** 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
|
3199 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
|
3200 the original restriction. Previously, doing this would cause the saved |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
3201 restriction to be restored incorrectly. |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
3202 |
29506 | 3203 *** The functions `find-charset-region' and `find-charset-string' include |
3204 `eight-bit-control' and/or `eight-bit-graphic' in the returned list | |
36470 | 3205 when they find 8-bit characters. Previously, they included `ascii' in a |
29506 | 3206 multibyte buffer and `unknown' in a unibyte buffer. |
3207 | |
39255 | 3208 *** 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
|
3209 `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
|
3210 if it contains a character from the `eight-bit-control' character set. |
29506 | 3211 |
3212 *** The handling of multibyte sequences in a multibyte buffer is | |
3213 changed. Previously, a byte sequence matching the pattern | |
3214 [\200-\237][\240-\377]+ was interpreted as a single character | |
3215 regardless of the length of the trailing bytes [\240-\377]+. Thus, if | |
3216 the sequence was longer than what the leading byte indicated, the | |
3217 extra trailing bytes were ignored by Lisp functions. Now such extra | |
3218 bytes are independent 8-bit characters belonging to the charset | |
3219 eight-bit-graphic. | |
3220 | |
3221 ** Fontsets are now implemented using char-tables. | |
3222 | |
35847
83b8f5ad1f97
Several typos fixed. From Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35784
diff
changeset
|
3223 A fontset can now be specified for each independent character, for |
29506 | 3224 a group of characters or for a character set rather than just for a |
3225 character set as previously. | |
3226 | |
3227 *** The arguments of the function `set-fontset-font' are changed. | |
3228 They are NAME, CHARACTER, FONTNAME, and optional FRAME. The function | |
3229 modifies fontset NAME to use FONTNAME for CHARACTER. | |
3230 | |
3231 CHARACTER may be a cons (FROM . TO), where FROM and TO are non-generic | |
3232 characters. In that case FONTNAME is used for all characters in the | |
3233 range FROM and TO (inclusive). CHARACTER may be a charset. In that | |
3234 case FONTNAME is used for all character in the charset. | |
3235 | |
3236 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
|
3237 name of a font and REGISTRY is a registry name of a font. |
29506 | 3238 |
3239 *** Variable x-charset-registry has been deleted. The default charset | |
3240 registries of character sets are set in the default fontset | |
3241 "fontset-default". | |
3242 | |
3243 *** The function `create-fontset-from-fontset-spec' ignores the second | |
3244 argument STYLE-VARIANT. It never creates style-variant fontsets. | |
3245 | |
3246 ** The method of composing characters is changed. Now character | |
3247 composition is done by a special text property `composition' in | |
3248 buffers and strings. | |
3249 | |
3250 *** Charset composition is deleted. Emacs never creates a `composite | |
3251 character' which is an independent character with a unique character | |
3252 code. Thus the following functions handling `composite characters' | |
3253 have been deleted: composite-char-component, | |
3254 composite-char-component-count, composite-char-composition-rule, | |
3255 composite-char-composition-rule and decompose-composite-char delete. | |
3256 The variables leading-code-composition and min-composite-char have | |
3257 also been deleted. | |
3258 | |
3259 *** Three more glyph reference points are added. They can be used to | |
3260 specify a composition rule. See the documentation of the variable | |
3261 `reference-point-alist' for more detail. | |
3262 | |
3263 *** The function `compose-region' takes new arguments COMPONENTS and | |
3264 MODIFICATION-FUNC. With COMPONENTS, you can specify not only a | |
3265 composition rule but also characters to be composed. Such characters | |
3266 may differ between buffer and string text. | |
3267 | |
3268 *** The function `compose-string' takes new arguments START, END, | |
3269 COMPONENTS, and MODIFICATION-FUNC. | |
3270 | |
3271 *** The function `compose-string' puts text property `composition' | |
3272 directly on the argument STRING instead of returning a new string. | |
3273 Likewise, the function `decompose-string' just removes text property | |
3274 `composition' from STRING. | |
3275 | |
3276 *** The new function `find-composition' returns information about | |
3277 a composition at a specified position in a buffer or a string. | |
3278 | |
3279 *** The function `decompose-composite-char' is now labeled as | |
3280 obsolete. | |
3281 | |
36039 | 3282 ** The new coding system `mac-roman' is primarily intended for use on |
3283 the Macintosh but may be used generally for Macintosh-encoded text. | |
3284 | |
33290 | 3285 ** The new character sets `mule-unicode-0100-24ff', |
35937 | 3286 `mule-unicode-2500-33ff', and `mule-unicode-e000-ffff' have been |
3287 introduced for Unicode characters in the range U+0100..U+24FF, | |
3288 U+2500..U+33FF, U+E000..U+FFFF respectively. | |
3289 | |
38012
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3290 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
|
3291 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
|
3292 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
|
3293 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
|
3294 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
|
3295 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
|
3296 |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3297 ** 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
|
3298 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
|
3299 details, please see the documentation string of this coding system. |
35557 | 3300 |
29506 | 3301 ** The new character sets `japanese-jisx0213-1' and |
35937 | 3302 `japanese-jisx0213-2' have been introduced for the new Japanese |
3303 standard JIS X 0213 Plane 1 and Plane 2. | |
3304 | |
3305 ** The new character sets `latin-iso8859-14' and `latin-iso8859-15' | |
3306 have been introduced. | |
29506 | 3307 |
3308 ** The new character sets `eight-bit-control' and `eight-bit-graphic' | |
35937 | 3309 have been introduced for 8-bit characters in the ranges 0x80..0x9F and |
36470 | 3310 0xA0..0xFF respectively. Note that the multibyte representation of |
3311 eight-bit-control is never exposed; this leads to an exception in the | |
3312 emacs-mule coding system, which encodes everything else to the | |
36885 | 3313 buffer/string internal representation. Note that to search for |
3314 eight-bit-graphic characters in a multibyte buffer, the search string | |
3315 must be multibyte, otherwise such characters will be converted to | |
3316 their multibyte equivalent. | |
29506 | 3317 |
28847 | 3318 ** If the APPEND argument of `write-region' is an integer, it seeks to |
3319 that offset in the file before writing. | |
3320 | |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3321 ** 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
|
3322 compatibility with XEmacs (and is used internally by define-minor-mode). |
28724 | 3323 |
28710 | 3324 ** The function `shell-command' now sets the default directory of the |
3325 `*Shell Command Output*' buffer to the default directory of the buffer | |
3326 from which the command was issued. | |
3327 | |
3328 ** The functions `query-replace', `query-replace-regexp', | |
3329 `query-replace-regexp-eval' `map-query-replace-regexp', | |
3330 `replace-string', `replace-regexp', and `perform-replace' take two | |
3331 additional optional arguments START and END that specify the region to | |
3332 operate on. | |
3333 | |
28658 | 3334 ** The new function `count-screen-lines' is a more flexible alternative |
3335 to `window-buffer-height'. | |
3336 | |
3337 - Function: count-screen-lines &optional BEG END COUNT-FINAL-NEWLINE WINDOW | |
3338 | |
3339 Return the number of screen lines in the region between BEG and END. | |
3340 The number of screen lines may be different from the number of actual | |
3341 lines, due to line breaking, display table, etc. | |
3342 | |
3343 Optional arguments BEG and END default to `point-min' and `point-max' | |
3344 respectively. | |
3345 | |
35680 | 3346 If region ends with a newline, ignore it unless optional third argument |
28658 | 3347 COUNT-FINAL-NEWLINE is non-nil. |
3348 | |
3349 The optional fourth argument WINDOW specifies the window used for | |
3350 obtaining parameters such as width, horizontal scrolling, and so | |
3351 on. The default is to use the selected window's parameters. | |
3352 | |
3353 Like `vertical-motion', `count-screen-lines' always uses the current | |
3354 buffer, regardless of which buffer is displayed in WINDOW. This makes | |
3355 possible to use `count-screen-lines' in any buffer, whether or not it | |
3356 is currently displayed in some window. | |
3357 | |
28556 | 3358 ** The new function `mapc' is like `mapcar' but doesn't collect the |
3359 argument function's results. | |
3360 | |
28496 | 3361 ** 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
|
3362 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
|
3363 `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
|
3364 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
|
3365 sequence). |
28496 | 3366 |
28492 | 3367 ** The function sendmail-user-agent-compose now recognizes a `body' |
31859 | 3368 header in the list of headers passed to it. |
28492 | 3369 |
3370 ** The new function member-ignore-case works like `member', but | |
3371 ignores differences in case and text representation. | |
3372 | |
3373 ** The buffer-local variable cursor-type can be used to specify the | |
28323 | 3374 cursor to use in windows displaying a buffer. Values are interpreted |
3375 as follows: | |
3376 | |
3377 t use the cursor specified for the frame (default) | |
3378 nil don't display a cursor | |
3379 `bar' display a bar cursor with default width | |
3380 (bar . WIDTH) display a bar cursor with width WIDTH | |
3381 others display a box cursor. | |
3382 | |
28303 | 3383 ** The variable open-paren-in-column-0-is-defun-start controls whether |
3384 an open parenthesis in column 0 is considered to be the start of a | |
3385 defun. If set, the default, it is considered a defun start. If not | |
3386 set, an open parenthesis in column 0 has no special meaning. | |
3387 | |
28194 | 3388 ** 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
|
3389 specifications in string form as accepted by `modify-syntax-entry' to |
28194 | 3390 the cons-cell form that is used for the values of the `syntax-table' |
3391 text property, and in `font-lock-syntactic-keywords'. | |
3392 | |
3393 Example: | |
3394 | |
3395 (string-to-syntax "()") | |
3396 => (4 . 41) | |
3397 | |
28166 | 3398 ** Emacs' reader supports CL read syntax for integers in bases |
3399 other than 10. | |
3400 | |
3401 *** `#BINTEGER' or `#bINTEGER' reads INTEGER in binary (radix 2). | |
3402 INTEGER optionally contains a sign. | |
3403 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3404 #b1111 |
28166 | 3405 => 15 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3406 #b-1111 |
28166 | 3407 => -15 |
3408 | |
3409 *** `#OINTEGER' or `#oINTEGER' reads INTEGER in octal (radix 8). | |
3410 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3411 #o666 |
28166 | 3412 => 438 |
3413 | |
3414 *** `#XINTEGER' or `#xINTEGER' reads INTEGER in hexadecimal (radix 16). | |
3415 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3416 #xbeef |
28166 | 3417 => 48815 |
3418 | |
3419 *** `#RADIXrINTEGER' reads INTEGER in radix RADIX, 2 <= RADIX <= 36. | |
3420 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3421 #2R-111 |
28166 | 3422 => -7 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3423 #25rah |
28166 | 3424 => 267 |
3425 | |
28335 | 3426 ** The function `documentation-property' now evaluates the value of |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3427 the given property to obtain a string if it doesn't refer to etc/DOC |
28037 | 3428 and isn't a string. |
3429 | |
28335 | 3430 ** If called for a symbol, the function `documentation' now looks for |
3431 a `function-documentation' property of that symbol. If it has a non-nil | |
3432 value, the documentation is taken from that value. If the value is | |
3433 not a string, it is evaluated to obtain a string. | |
3434 | |
27881
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3435 ** 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
|
3436 |
28149 | 3437 ** 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
|
3438 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
|
3439 |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3440 ** `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
|
3441 `mouse-position-function'. |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3442 |
27827 | 3443 ** The function string-to-number now returns a float for numbers |
3444 that don't fit into a Lisp integer. | |
3445 | |
27820 | 3446 ** The variable keyword-symbols-constants-flag has been removed. |
3447 Keywords are now always considered constants. | |
3448 | |
27770 | 3449 ** The new function `delete-and-extract-region' deletes text and |
3450 returns it. | |
3451 | |
27276 | 3452 ** The function `clear-this-command-keys' now also clears the vector |
3453 returned by function `recent-keys'. | |
3454 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3455 ** Variables `beginning-of-defun-function' and `end-of-defun-function' |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3456 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
|
3457 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
|
3458 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
|
3459 mode. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3460 |
27094
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3461 ** 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
|
3462 and is renamed `define-minor-mode'. |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3463 |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3464 ** 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
|
3465 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
|
3466 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
|
3467 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
|
3468 been performed." |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3469 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3470 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
|
3471 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
|
3472 hook function returns non-nil meaning expansion has been done, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3473 then the self-inserting character is not inserted. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3474 |
26737 | 3475 ** The function `intern-soft' now accepts a symbol as first argument. |
3476 In this case, that exact symbol is looked up in the specified obarray, | |
3477 and the function's value is nil if it is not found. | |
3478 | |
26467 | 3479 ** The new macro `with-syntax-table' can be used to evaluate forms |
3480 with the syntax table of the current buffer temporarily set to a | |
3481 specified table. | |
3482 | |
3483 (with-syntax-table TABLE &rest BODY) | |
3484 | |
3485 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
|
3486 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
|
3487 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
|
3488 what BODY returns. |
26467 | 3489 |
27693
d8bedafef8d5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27644
diff
changeset
|
3490 ** 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
|
3491 Perl's shy-groups \(?:...\) and non-greedy *? +? and ?? operators. |
35680 | 3492 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
|
3493 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
|
3494 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
|
3495 |
26397
17d6fe2e2d0f
Removal of buffer argument of file-local-copy.
Gerd Moellmann <gerd@gnu.org>
parents:
26360
diff
changeset
|
3496 ** 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
|
3497 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
|
3498 |
26360
5370b1c171ef
Change in file-locked-p argument.
Gerd Moellmann <gerd@gnu.org>
parents:
26359
diff
changeset
|
3499 ** 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
|
3500 instead of being optional. |
5370b1c171ef
Change in file-locked-p argument.
Gerd Moellmann <gerd@gnu.org>
parents:
26359
diff
changeset
|
3501 |
26277
32e16b70ae15
New built-in error `text-read-only'.
Gerd Moellmann <gerd@gnu.org>
parents:
26271
diff
changeset
|
3502 ** 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
|
3503 modify read-only text. |
32e16b70ae15
New built-in error `text-read-only'.
Gerd Moellmann <gerd@gnu.org>
parents:
26271
diff
changeset
|
3504 |
26140
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3505 ** New functions and variables for locales. |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3506 |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3507 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
|
3508 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
|
3509 time functions like strftime. The new variables |
4df5920724de
Rename messages-locale to system-messages-locale
Paul Eggert <eggert@twinsun.com>
parents:
26467
diff
changeset
|
3510 `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
|
3511 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
|
3512 |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3513 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
|
3514 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
|
3515 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
|
3516 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
|
3517 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
|
3518 `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
|
3519 `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
|
3520 |
26107
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3521 ** syntax tables now understand nested comments. |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3522 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
|
3523 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
|
3524 start sequences. |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3525 |
25910
918acea58309
Add section for change of pixmap-spec-p to bitmap-spec-p.
Gerd Moellmann <gerd@gnu.org>
parents:
25862
diff
changeset
|
3526 ** 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
|
3527 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
|
3528 |
25853 | 3529 ** New function `propertize' |
3530 | |
3531 The new function `propertize' can be used to conveniently construct | |
3532 strings with text properties. | |
3533 | |
3534 - Function: propertize STRING &rest PROPERTIES | |
3535 | |
3536 Value is a copy of STRING with text properties assigned as specified | |
3537 by PROPERTIES. PROPERTIES is a sequence of pairs PROPERTY VALUE, with | |
3538 PROPERTY being the name of a text property and VALUE being the | |
3539 specified value of that property. Example: | |
3540 | |
3541 (propertize "foo" 'face 'bold 'read-only t) | |
3542 | |
3543 ** push and pop macros. | |
3544 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3545 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
|
3546 are now defined in Emacs Lisp. These macros allow only symbols |
25853 | 3547 as the place that holds the list to be changed. |
3548 | |
3549 (push NEWELT LISTNAME) add NEWELT to the front of LISTNAME's value. | |
3550 (pop LISTNAME) return first elt of LISTNAME, and remove it | |
3551 (thus altering the value of LISTNAME). | |
3552 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3553 ** New dolist and dotimes macros. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3554 |
27387
d0a7127b33e5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27385
diff
changeset
|
3555 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
|
3556 are now defined in Emacs Lisp. |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3557 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3558 (dolist (VAR LIST [RESULT]) BODY...) |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3559 Execute body once for each element of LIST, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3560 using the variable VAR to hold the current element. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3561 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
|
3562 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3563 (dotimes (VAR COUNT [RESULT]) BODY...) |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3564 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
|
3565 inclusive, to COUNT, exclusive. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3566 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
|
3567 |
34166 | 3568 ** Regular expressions now support Posix character classes such as |
3569 [:alpha:], [:space:] and so on. These must be used within a character | |
3570 class--for instance, [-[:digit:].+] matches digits or a period | |
3571 or a sign. | |
25853 | 3572 |
3573 [:digit:] matches 0 through 9 | |
3574 [:cntrl:] matches ASCII control characters | |
3575 [:xdigit:] matches 0 through 9, a through f and A through F. | |
3576 [:blank:] matches space and tab only | |
3577 [:graph:] matches graphic characters--everything except ASCII control chars, | |
3578 space, and DEL. | |
3579 [:print:] matches printing characters--everything except ASCII control chars | |
3580 and DEL. | |
3581 [:alnum:] matches letters and digits. | |
3582 (But at present, for multibyte characters, | |
3583 it matches anything that has word syntax.) | |
3584 [:alpha:] matches letters. | |
3585 (But at present, for multibyte characters, | |
3586 it matches anything that has word syntax.) | |
3587 [:ascii:] matches ASCII (unibyte) characters. | |
3588 [:nonascii:] matches non-ASCII (multibyte) characters. | |
3589 [:lower:] matches anything lower-case. | |
3590 [:punct:] matches punctuation. | |
3591 (But at present, for multibyte characters, | |
3592 it matches anything that has non-word syntax.) | |
3593 [:space:] matches anything that has whitespace syntax. | |
3594 [:upper:] matches anything upper-case. | |
3595 [:word:] matches anything that has word syntax. | |
3596 | |
3597 ** Emacs now has built-in hash tables. | |
3598 | |
3599 The following functions are defined for hash tables: | |
3600 | |
3601 - Function: make-hash-table ARGS | |
3602 | |
3603 The argument list ARGS consists of keyword/argument pairs. All arguments | |
3604 are optional. The following arguments are defined: | |
3605 | |
3606 :test TEST | |
3607 | |
3608 TEST must be a symbol specifying how to compare keys. Default is `eql'. | |
3609 Predefined are `eq', `eql' and `equal'. If TEST is not predefined, | |
3610 it must have been defined with `define-hash-table-test'. | |
3611 | |
3612 :size SIZE | |
3613 | |
3614 SIZE must be an integer > 0 giving a hint to the implementation how | |
3615 many elements will be put in the hash table. Default size is 65. | |
3616 | |
3617 :rehash-size REHASH-SIZE | |
3618 | |
3619 REHASH-SIZE specifies by how much to grow a hash table once it becomes | |
3620 full. If REHASH-SIZE is an integer, add that to the hash table's old | |
3621 size to get the new size. Otherwise, REHASH-SIZE must be a float > | |
3622 1.0, and the new size is computed by multiplying REHASH-SIZE with the | |
3623 old size. Default rehash size is 1.5. | |
3624 | |
3625 :rehash-threshold THRESHOLD | |
3626 | |
3627 THRESHOLD must be a float > 0 and <= 1.0 specifying when to resize the | |
3628 hash table. It is resized when the ratio of (number of entries) / | |
3629 (size of hash table) is >= THRESHOLD. Default threshold is 0.8. | |
3630 | |
3631 :weakness WEAK | |
3632 | |
30502 | 3633 WEAK must be either nil, one of the symbols `key, `value', |
3634 `key-or-value', `key-and-value', or t, meaning the same as | |
3635 `key-and-value'. Entries are removed from weak tables during garbage | |
3636 collection if their key and/or value are not referenced elsewhere | |
3637 outside of the hash table. Default are non-weak hash tables. | |
25853 | 3638 |
3639 - Function: makehash &optional TEST | |
3640 | |
3641 Similar to make-hash-table, but only TEST can be specified. | |
3642 | |
3643 - Function: hash-table-p TABLE | |
3644 | |
3645 Returns non-nil if TABLE is a hash table object. | |
3646 | |
3647 - Function: copy-hash-table TABLE | |
3648 | |
3649 Returns a copy of TABLE. Only the table itself is copied, keys and | |
3650 values are shared. | |
3651 | |
3652 - Function: hash-table-count TABLE | |
3653 | |
3654 Returns the number of entries in TABLE. | |
3655 | |
3656 - Function: hash-table-rehash-size TABLE | |
3657 | |
3658 Returns the rehash size of TABLE. | |
3659 | |
3660 - Function: hash-table-rehash-threshold TABLE | |
3661 | |
3662 Returns the rehash threshold of TABLE. | |
3663 | |
3664 - Function: hash-table-rehash-size TABLE | |
3665 | |
3666 Returns the size of TABLE. | |
3667 | |
30789 | 3668 - Function: hash-table-test TABLE |
25853 | 3669 |
3670 Returns the test TABLE uses to compare keys. | |
3671 | |
3672 - Function: hash-table-weakness TABLE | |
3673 | |
3674 Returns the weakness specified for TABLE. | |
3675 | |
3676 - Function: clrhash TABLE | |
3677 | |
3678 Clear TABLE. | |
3679 | |
3680 - Function: gethash KEY TABLE &optional DEFAULT | |
3681 | |
3682 Look up KEY in TABLE and return its associated VALUE or DEFAULT if | |
3683 not found. | |
3684 | |
26264 | 3685 - Function: puthash KEY VALUE TABLE |
25853 | 3686 |
3687 Associate KEY with VALUE in TABLE. If KEY is already associated with | |
3688 another value, replace the old value with VALUE. | |
3689 | |
3690 - Function: remhash KEY TABLE | |
3691 | |
3692 Remove KEY from TABLE if it is there. | |
3693 | |
3694 - Function: maphash FUNCTION TABLE | |
3695 | |
3696 Call FUNCTION for all elements in TABLE. FUNCTION must take two | |
3697 arguments KEY and VALUE. | |
3698 | |
3699 - Function: sxhash OBJ | |
3700 | |
3701 Return a hash code for Lisp object OBJ. | |
3702 | |
3703 - Function: define-hash-table-test NAME TEST-FN HASH-FN | |
3704 | |
3705 Define a new hash table test named NAME. If NAME is specified as | |
3706 a test in `make-hash-table', the table created will use TEST-FN for | |
26264 | 3707 comparing keys, and HASH-FN to compute hash codes for keys. Test |
25853 | 3708 and hash function are stored as symbol property `hash-table-test' |
3709 of NAME with a value of (TEST-FN HASH-FN). | |
3710 | |
3711 TEST-FN must take two arguments and return non-nil if they are the same. | |
3712 | |
3713 HASH-FN must take one argument and return an integer that is the hash | |
3714 code of the argument. The function should use the whole range of | |
3715 integer values for hash code computation, including negative integers. | |
3716 | |
3717 Example: The following creates a hash table whose keys are supposed to | |
3718 be strings that are compared case-insensitively. | |
3719 | |
3720 (defun case-fold-string= (a b) | |
3721 (compare-strings a nil nil b nil nil t)) | |
3722 | |
3723 (defun case-fold-string-hash (a) | |
3724 (sxhash (upcase a))) | |
3725 | |
26264 | 3726 (define-hash-table-test 'case-fold 'case-fold-string= |
25853 | 3727 'case-fold-string-hash)) |
3728 | |
3729 (make-hash-table :test 'case-fold) | |
3730 | |
3731 ** The Lisp reader handles circular structure. | |
3732 | |
3733 It now works to use the #N= and #N# constructs to represent | |
3734 circular structures. For example, #1=(a . #1#) represents | |
3735 a cons cell which is its own cdr. | |
3736 | |
3737 ** The Lisp printer handles circular structure. | |
3738 | |
3739 If you bind print-circle to a non-nil value, the Lisp printer outputs | |
3740 #N= and #N# constructs to represent circular and shared structure. | |
3741 | |
3742 ** If the second argument to `move-to-column' is anything but nil or | |
3743 t, that means replace a tab with spaces if necessary to reach the | |
3744 specified column, but do not add spaces at the end of the line if it | |
3745 is too short to reach that column. | |
3746 | |
3747 ** perform-replace has a new feature: the REPLACEMENTS argument may | |
3748 now be a cons cell (FUNCTION . DATA). This means to call FUNCTION | |
3749 after each match to get the replacement text. FUNCTION is called with | |
3750 two arguments: DATA, and the number of replacements already made. | |
3751 | |
3752 If the FROM-STRING contains any upper-case letters, | |
3753 perform-replace also turns off `case-fold-search' temporarily | |
3754 and inserts the replacement text without altering case in it. | |
3755 | |
3756 ** The function buffer-size now accepts an optional argument | |
3757 to specify which buffer to return the size of. | |
3758 | |
3759 ** The calendar motion commands now run the normal hook | |
3760 calendar-move-hook after moving point. | |
3761 | |
3762 ** The new variable small-temporary-file-directory specifies a | |
3763 directory to use for creating temporary files that are likely to be | |
3764 small. (Certain Emacs features use this directory.) If | |
3765 small-temporary-file-directory is nil, they use | |
3766 temporary-file-directory instead. | |
3767 | |
3768 ** The variable `inhibit-modification-hooks', if non-nil, inhibits all | |
3769 the hooks that track changes in the buffer. This affects | |
3770 `before-change-functions' and `after-change-functions', as well as | |
3771 hooks attached to text properties and overlay properties. | |
3772 | |
36885 | 3773 ** assq-delete-all is a new function that deletes all the |
3774 elements of an alist which have a car `eq' to a particular value. | |
25853 | 3775 |
3776 ** make-temp-file provides a more reliable way to create a temporary file. | |
3777 | |
3778 make-temp-file is used like make-temp-name, except that it actually | |
3779 creates the file before it returns. This prevents a timing error, | |
3780 ensuring that no other job can use the same name for a temporary file. | |
3781 | |
3782 ** New exclusive-open feature in `write-region' | |
3783 | |
3784 The optional seventh arg is now called MUSTBENEW. If non-nil, it insists | |
3785 on a check for an existing file with the same name. If MUSTBENEW | |
3786 is `excl', that means to get an error if the file already exists; | |
3787 never overwrite. If MUSTBENEW is neither nil nor `excl', that means | |
3788 ask for confirmation before overwriting, but do go ahead and | |
3789 overwrite the file if the user gives confirmation. | |
3790 | |
3791 If the MUSTBENEW argument in `write-region' is `excl', | |
3792 that means to use a special feature in the `open' system call | |
3793 to get an error if the file exists at that time. | |
3794 The error reported is `file-already-exists'. | |
3795 | |
3796 ** Function `format' now handles text properties. | |
3797 | |
3798 Text properties of the format string are applied to the result string. | |
3799 If the result string is longer than the format string, text properties | |
3800 ending at the end of the format string are extended to the end of the | |
3801 result string. | |
3802 | |
3803 Text properties from string arguments are applied to the result | |
3804 string where arguments appear in the result string. | |
3805 | |
3806 Example: | |
3807 | |
3808 (let ((s1 "hello, %s") | |
3809 (s2 "world")) | |
3810 (put-text-property 0 (length s1) 'face 'bold s1) | |
3811 (put-text-property 0 (length s2) 'face 'italic s2) | |
26034 | 3812 (format s1 s2)) |
25853 | 3813 |
3814 results in a bold-face string with an italic `world' at the end. | |
3815 | |
3816 ** Messages can now be displayed with text properties. | |
3817 | |
3818 Text properties are handled as described above for function `format'. | |
3819 The following example displays a bold-face message with an italic | |
3820 argument in it. | |
3821 | |
3822 (let ((msg "hello, %s!") | |
3823 (arg "world")) | |
3824 (put-text-property 0 (length msg) 'face 'bold msg) | |
3825 (put-text-property 0 (length arg) 'face 'italic arg) | |
3826 (message msg arg)) | |
3827 | |
3828 ** Sound support | |
3829 | |
3830 Emacs supports playing sound files on GNU/Linux and the free BSDs | |
3831 (Voxware driver and native BSD driver, aka as Luigi's driver). | |
3832 | |
3833 Currently supported file formats are RIFF-WAVE (*.wav) and Sun Audio | |
3834 (*.au). You must configure Emacs with the option `--with-sound=yes' | |
3835 to enable sound support. | |
3836 | |
3837 Sound files can be played by calling (play-sound SOUND). SOUND is a | |
3838 list of the form `(sound PROPERTY...)'. The function is only defined | |
3839 when sound support is present for the system on which Emacs runs. The | |
3840 functions runs `play-sound-functions' with one argument which is the | |
3841 sound to play, before playing the sound. | |
3842 | |
3843 The following sound properties are supported: | |
3844 | |
3845 - `:file FILE' | |
3846 | |
3847 FILE is a file name. If FILE isn't an absolute name, it will be | |
3848 searched relative to `data-directory'. | |
3849 | |
27148 | 3850 - `:data DATA' |
3851 | |
3852 DATA is a string containing sound data. Either :file or :data | |
3853 may be present, but not both. | |
3854 | |
25853 | 3855 - `:volume VOLUME' |
3856 | |
3857 VOLUME must be an integer in the range 0..100 or a float in the range | |
3858 0..1. This property is optional. | |
3859 | |
33991 | 3860 - `:device DEVICE' |
3861 | |
3862 DEVICE is a string specifying the system device on which to play the | |
3863 sound. The default device is system-dependent. | |
3864 | |
25853 | 3865 Other properties are ignored. |
3866 | |
33991 | 3867 An alternative interface is called as |
3868 (play-sound-file FILE &optional VOLUME DEVICE). | |
3869 | |
25853 | 3870 ** `multimedia' is a new Finder keyword and Custom group. |
26933 | 3871 |
3872 ** keywordp is a new predicate to test efficiently for an object being | |
3873 a keyword symbol. | |
27145
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3874 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3875 ** Changes to garbage collection |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3876 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3877 *** 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
|
3878 of live and free strings. |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3879 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3880 *** 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
|
3881 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
|
3882 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3883 |
29151 | 3884 * Lisp-level Display features added after release 2.6 of the Emacs |
3885 Lisp Manual | |
3886 | |
33309 | 3887 ** The user-option `resize-mini-windows' controls how Emacs resizes |
3888 mini-windows. | |
3889 | |
34389
779f5314f5fa
Update entry for `pos-visible-in-window-p'.
Miles Bader <miles@gnu.org>
parents:
34334
diff
changeset
|
3890 ** 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
|
3891 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
|
3892 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
|
3893 |
33309 | 3894 ** On window systems, `glyph-table' is no longer used. |
31220 | 3895 |
30222 | 3896 ** Help strings in menu items are now used to provide `help-echo' text. |
29939 | 3897 |
3898 ** The function `image-size' can be used to determine the size of an | |
3899 image. | |
3900 | |
3901 - Function: image-size SPEC &optional PIXELS FRAME | |
3902 | |
3903 Return the size of an image as a pair (WIDTH . HEIGHT). | |
3904 | |
3905 SPEC is an image specification. PIXELS non-nil means return sizes | |
3906 measured in pixels, otherwise return sizes measured in canonical | |
3907 character units (fractions of the width/height of the frame's default | |
3908 font). FRAME is the frame on which the image will be displayed. | |
3909 FRAME nil or omitted means use the selected frame. | |
3910 | |
31639 | 3911 ** The function `image-mask-p' can be used to determine if an image |
3912 has a mask bitmap. | |
3913 | |
3914 - Function: image-mask-p SPEC &optional FRAME | |
3915 | |
3916 Return t if image SPEC has a mask bitmap. | |
3917 FRAME is the frame on which the image will be displayed. FRAME nil | |
3918 or omitted means use the selected frame. | |
3919 | |
29506 | 3920 ** The function `find-image' can be used to find a usable image |
3921 satisfying one of a list of specifications. | |
3922 | |
3923 ** The STRING argument of `put-image' and `insert-image' is now | |
3924 optional. | |
3925 | |
31156 | 3926 ** Image specifications may contain the property `:ascent center' (see |
3927 below). | |
29151 | 3928 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3929 |
25853 | 3930 * New Lisp-level Display features in Emacs 21.1 |
3931 | |
28634 | 3932 ** The function tty-suppress-bold-inverse-default-colors can be used |
3933 to make Emacs avoid displaying text with bold black foreground on TTYs. | |
3934 | |
3935 Some terminals, notably PC consoles, emulate bold text by displaying | |
3936 text in brighter colors. On such a console, a bold black foreground | |
3937 is displayed in a gray color. If this turns out to be hard to read on | |
3938 your monitor---the problem occurred with the mode line on | |
3939 laptops---you can instruct Emacs to ignore the text's boldness, and to | |
3940 just display it black instead. | |
3941 | |
3942 This situation can't be detected automatically. You will have to put | |
3943 a line like | |
3944 | |
3945 (tty-suppress-bold-inverse-default-colors t) | |
3946 | |
3947 in your `.emacs'. | |
3948 | |
25853 | 3949 ** New face implementation. |
3950 | |
3951 Emacs faces have been reimplemented from scratch. They don't use XLFD | |
3952 font names anymore and face merging now works as expected. | |
3953 | |
3954 *** New faces. | |
3955 | |
3956 Each face can specify the following display attributes: | |
3957 | |
3958 1. Font family or fontset alias name. | |
26264 | 3959 |
25853 | 3960 2. Relative proportionate width, aka character set width or set |
3961 width (swidth), e.g. `semi-compressed'. | |
26264 | 3962 |
25853 | 3963 3. Font height in 1/10pt |
26264 | 3964 |
25853 | 3965 4. Font weight, e.g. `bold'. |
26264 | 3966 |
25853 | 3967 5. Font slant, e.g. `italic'. |
26264 | 3968 |
25853 | 3969 6. Foreground color. |
26264 | 3970 |
25853 | 3971 7. Background color. |
3972 | |
3973 8. Whether or not characters should be underlined, and in what color. | |
3974 | |
3975 9. Whether or not characters should be displayed in inverse video. | |
3976 | |
3977 10. A background stipple, a bitmap. | |
3978 | |
3979 11. Whether or not characters should be overlined, and in what color. | |
3980 | |
3981 12. Whether or not characters should be strike-through, and in what | |
3982 color. | |
3983 | |
3984 13. Whether or not a box should be drawn around characters, its | |
3985 color, the width of the box lines, and 3D appearance. | |
3986 | |
3987 Faces are frame-local by nature because Emacs allows to define the | |
3988 same named face (face names are symbols) differently for different | |
3989 frames. Each frame has an alist of face definitions for all named | |
3990 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
|
3991 with the symbol `face' in slot 0, and a slot for each of the face |
25853 | 3992 attributes mentioned above. |
3993 | |
3994 There is also a global face alist `face-new-frame-defaults'. Face | |
3995 definitions from this list are used to initialize faces of newly | |
3996 created frames. | |
26264 | 3997 |
25853 | 3998 A face doesn't have to specify all attributes. Those not specified |
3999 have a nil value. Faces specifying all attributes are called | |
4000 `fully-specified'. | |
4001 | |
4002 *** Face merging. | |
4003 | |
4004 The display style of a given character in the text is determined by | |
4005 combining several faces. This process is called `face merging'. Any | |
4006 aspect of the display style that isn't specified by overlays or text | |
4007 properties is taken from the `default' face. Since it is made sure | |
4008 that the default face is always fully-specified, face merging always | |
4009 results in a fully-specified face. | |
4010 | |
4011 *** Face realization. | |
4012 | |
4013 After all face attributes for a character have been determined by | |
4014 merging faces of that character, that face is `realized'. The | |
4015 realization process maps face attributes to what is physically | |
4016 available on the system where Emacs runs. The result is a `realized | |
4017 face' in form of an internal structure which is stored in the face | |
4018 cache of the frame on which it was realized. | |
4019 | |
4020 Face realization is done in the context of the charset of the | |
4021 character to display because different fonts and encodings are used | |
4022 for different charsets. In other words, for characters of different | |
4023 charsets, different realized faces are needed to display them. | |
4024 | |
4025 Except for composite characters, faces are always realized for a | |
4026 specific character set and contain a specific font, even if the face | |
4027 being realized specifies a fontset. The reason is that the result of | |
4028 the new font selection stage is better than what can be done with | |
4029 statically defined font name patterns in fontsets. | |
4030 | |
4031 In unibyte text, Emacs' charsets aren't applicable; function | |
4032 `char-charset' reports ASCII for all characters, including those > | |
4033 0x7f. The X registry and encoding of fonts to use is determined from | |
4034 the variable `face-default-registry' in this case. The variable is | |
4035 initialized at Emacs startup time from the font the user specified for | |
4036 Emacs. | |
4037 | |
4038 Currently all unibyte text, i.e. all buffers with | |
4039 `enable-multibyte-characters' nil are displayed with fonts of the same | |
4040 registry and encoding `face-default-registry'. This is consistent | |
4041 with the fact that languages can also be set globally, only. | |
4042 | |
4043 **** Clearing face caches. | |
4044 | |
4045 The Lisp function `clear-face-cache' can be called to clear face caches | |
4046 on all frames. If called with a non-nil argument, it will also unload | |
4047 unused fonts. | |
4048 | |
4049 *** Font selection. | |
26264 | 4050 |
25853 | 4051 Font selection tries to find the best available matching font for a |
4052 given (charset, face) combination. This is done slightly differently | |
4053 for faces specifying a fontset, or a font family name. | |
4054 | |
4055 If the face specifies a fontset name, that fontset determines a | |
4056 pattern for fonts of the given charset. If the face specifies a font | |
4057 family, a font pattern is constructed. Charset symbols have a | |
4058 property `x-charset-registry' for that purpose that maps a charset to | |
4059 an XLFD registry and encoding in the font pattern constructed. | |
4060 | |
4061 Available fonts on the system on which Emacs runs are then matched | |
4062 against the font pattern. The result of font selection is the best | |
4063 match for the given face attributes in this font list. | |
4064 | |
4065 Font selection can be influenced by the user. | |
4066 | |
4067 The user can specify the relative importance he gives the face | |
4068 attributes width, height, weight, and slant by setting | |
4069 face-font-selection-order (faces.el) to a list of face attribute | |
4070 names. The default is (:width :height :weight :slant), and means | |
4071 that font selection first tries to find a good match for the font | |
4072 width specified by a face, then---within fonts with that width---tries | |
4073 to find a best match for the specified font height, etc. | |
4074 | |
33373 | 4075 Setting `face-font-family-alternatives' allows the user to specify |
4076 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
|
4077 doesn't exist. |
34630 | 4078 |
4079 Setting `face-font-registry-alternatives' allows the user to specify | |
35680 | 4080 all alternative font registry names to try for a face specifying a |
34630 | 4081 registry. |
4082 | |
35680 | 4083 Please note that the interpretations of the above two variables are |
34630 | 4084 slightly different. |
4085 | |
4086 Setting face-ignored-fonts allows the user to ignore specific fonts. | |
4087 | |
25853 | 4088 |
4089 **** Scalable fonts | |
4090 | |
4091 Emacs can make use of scalable fonts but doesn't do so by default, | |
4092 since the use of too many or too big scalable fonts may crash XFree86 | |
4093 servers. | |
4094 | |
4095 To enable scalable font use, set the variable | |
26034 | 4096 `scalable-fonts-allowed'. A value of nil, the default, means never use |
25853 | 4097 scalable fonts. A value of t means any scalable font may be used. |
4098 Otherwise, the value must be a list of regular expressions. A | |
4099 scalable font may then be used if it matches a regular expression from | |
4100 that list. Example: | |
4101 | |
4102 (setq scalable-fonts-allowed '("muleindian-2$")) | |
4103 | |
4104 allows the use of scalable fonts with registry `muleindian-2'. | |
4105 | |
4106 *** Functions and variables related to font selection. | |
4107 | |
4108 - Function: x-family-fonts &optional FAMILY FRAME | |
4109 | |
4110 Return a list of available fonts of family FAMILY on FRAME. If FAMILY | |
4111 is omitted or nil, list all families. Otherwise, FAMILY must be a | |
4112 string, possibly containing wildcards `?' and `*'. | |
4113 | |
4114 If FRAME is omitted or nil, use the selected frame. Each element of | |
4115 the result is a vector [FAMILY WIDTH POINT-SIZE WEIGHT SLANT FIXED-P | |
4116 FULL REGISTRY-AND-ENCODING]. FAMILY is the font family name. | |
4117 POINT-SIZE is the size of the font in 1/10 pt. WIDTH, WEIGHT, and | |
4118 SLANT are symbols describing the width, weight and slant of the font. | |
4119 These symbols are the same as for face attributes. FIXED-P is non-nil | |
4120 if the font is fixed-pitch. FULL is the full name of the font, and | |
4121 REGISTRY-AND-ENCODING is a string giving the registry and encoding of | |
4122 the font. The result list is sorted according to the current setting | |
4123 of the face font sort order. | |
4124 | |
26264 | 4125 - Function: x-font-family-list |
25853 | 4126 |
4127 Return a list of available font families on FRAME. If FRAME is | |
4128 omitted or nil, use the selected frame. Value is a list of conses | |
4129 (FAMILY . FIXED-P) where FAMILY is a font family, and FIXED-P is | |
4130 non-nil if fonts of that family are fixed-pitch. | |
4131 | |
4132 - Variable: font-list-limit | |
4133 | |
4134 Limit for font matching. If an integer > 0, font matching functions | |
4135 won't load more than that number of fonts when searching for a | |
4136 matching font. The default is currently 100. | |
4137 | |
4138 *** Setting face attributes. | |
4139 | |
4140 For the most part, the new face implementation is interface-compatible | |
4141 with the old one. Old face attribute related functions are now | |
4142 implemented in terms of the new functions `set-face-attribute' and | |
4143 `face-attribute'. | |
4144 | |
4145 Face attributes are identified by their names which are keyword | |
4146 symbols. All attributes can be set to `unspecified'. | |
4147 | |
4148 The following attributes are recognized: | |
4149 | |
4150 `:family' | |
4151 | |
4152 VALUE must be a string specifying the font family, e.g. ``courier'', | |
4153 or a fontset alias name. If a font family is specified, wild-cards `*' | |
4154 and `?' are allowed. | |
4155 | |
4156 `:width' | |
4157 | |
4158 VALUE specifies the relative proportionate width of the font to use. | |
4159 It must be one of the symbols `ultra-condensed', `extra-condensed', | |
4160 `condensed', `semi-condensed', `normal', `semi-expanded', `expanded', | |
4161 `extra-expanded', or `ultra-expanded'. | |
4162 | |
4163 `:height' | |
4164 | |
31183
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4165 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
|
4166 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
|
4167 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
|
4168 height (from the underlying face), and should return the new height. |
25853 | 4169 |
4170 `:weight' | |
4171 | |
4172 VALUE specifies the weight of the font to use. It must be one of the | |
4173 symbols `ultra-bold', `extra-bold', `bold', `semi-bold', `normal', | |
4174 `semi-light', `light', `extra-light', `ultra-light'. | |
4175 | |
4176 `:slant' | |
4177 | |
4178 VALUE specifies the slant of the font to use. It must be one of the | |
4179 symbols `italic', `oblique', `normal', `reverse-italic', or | |
4180 `reverse-oblique'. | |
4181 | |
4182 `:foreground', `:background' | |
4183 | |
4184 VALUE must be a color name, a string. | |
4185 | |
4186 `:underline' | |
4187 | |
4188 VALUE specifies whether characters in FACE should be underlined. If | |
4189 VALUE is t, underline with foreground color of the face. If VALUE is | |
4190 a string, underline with that color. If VALUE is nil, explicitly | |
4191 don't underline. | |
4192 | |
4193 `:overline' | |
4194 | |
4195 VALUE specifies whether characters in FACE should be overlined. If | |
4196 VALUE is t, overline with foreground color of the face. If VALUE is a | |
4197 string, overline with that color. If VALUE is nil, explicitly don't | |
4198 overline. | |
4199 | |
4200 `:strike-through' | |
4201 | |
4202 VALUE specifies whether characters in FACE should be drawn with a line | |
4203 striking through them. If VALUE is t, use the foreground color of the | |
4204 face. If VALUE is a string, strike-through with that color. If VALUE | |
4205 is nil, explicitly don't strike through. | |
4206 | |
4207 `:box' | |
4208 | |
4209 VALUE specifies whether characters in FACE should have a box drawn | |
4210 around them. If VALUE is nil, explicitly don't draw boxes. If | |
4211 VALUE is t, draw a box with lines of width 1 in the foreground color | |
4212 of the face. If VALUE is a string, the string must be a color name, | |
4213 and the box is drawn in that color with a line width of 1. Otherwise, | |
4214 VALUE must be a property list of the form `(:line-width WIDTH | |
4215 :color COLOR :style STYLE)'. If a keyword/value pair is missing from | |
4216 the property list, a default value will be used for the value, as | |
4217 specified below. WIDTH specifies the width of the lines to draw; it | |
4218 defaults to 1. COLOR is the name of the color to draw in, default is | |
4219 the foreground color of the face for simple boxes, and the background | |
4220 color of the face for 3D boxes. STYLE specifies whether a 3D box | |
4221 should be draw. If STYLE is `released-button', draw a box looking | |
4222 like a released 3D button. If STYLE is `pressed-button' draw a box | |
4223 that appears like a pressed button. If STYLE is nil, the default if | |
4224 the property list doesn't contain a style specification, draw a 2D | |
4225 box. | |
4226 | |
4227 `:inverse-video' | |
4228 | |
4229 VALUE specifies whether characters in FACE should be displayed in | |
4230 inverse video. VALUE must be one of t or nil. | |
4231 | |
4232 `:stipple' | |
4233 | |
4234 If VALUE is a string, it must be the name of a file of pixmap data. | |
4235 The directories listed in the `x-bitmap-file-path' variable are | |
4236 searched. Alternatively, VALUE may be a list of the form (WIDTH | |
4237 HEIGHT DATA) where WIDTH and HEIGHT are the size in pixels, and DATA | |
4238 is a string containing the raw bits of the bitmap. VALUE nil means | |
4239 explicitly don't use a stipple pattern. | |
4240 | |
4241 For convenience, attributes `:family', `:width', `:height', `:weight', | |
4242 and `:slant' may also be set in one step from an X font name: | |
4243 | |
4244 `:font' | |
4245 | |
4246 Set font-related face attributes from VALUE. VALUE must be a valid | |
4247 XLFD font name. If it is a font name pattern, the first matching font | |
4248 is used--this is for compatibility with the behavior of previous | |
4249 versions of Emacs. | |
4250 | |
4251 For compatibility with Emacs 20, keywords `:bold' and `:italic' can | |
4252 be used to specify that a bold or italic font should be used. VALUE | |
4253 must be t or nil in that case. A value of `unspecified' is not allowed." | |
4254 | |
4255 Please see also the documentation of `set-face-attribute' and | |
4256 `defface'. | |
4257 | |
31183
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4258 `:inherit' |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4259 |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4260 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
|
4261 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
|
4262 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
|
4263 |
25853 | 4264 *** Face attributes and X resources |
4265 | |
4266 The following X resource names can be used to set face attributes | |
4267 from X resources: | |
4268 | |
4269 Face attribute X resource class | |
4270 ----------------------------------------------------------------------- | |
4271 :family attributeFamily . Face.AttributeFamily | |
4272 :width attributeWidth Face.AttributeWidth | |
4273 :height attributeHeight Face.AttributeHeight | |
4274 :weight attributeWeight Face.AttributeWeight | |
4275 :slant attributeSlant Face.AttributeSlant | |
4276 foreground attributeForeground Face.AttributeForeground | |
4277 :background attributeBackground . Face.AttributeBackground | |
4278 :overline attributeOverline Face.AttributeOverline | |
4279 :strike-through attributeStrikeThrough Face.AttributeStrikeThrough | |
4280 :box attributeBox Face.AttributeBox | |
4281 :underline attributeUnderline Face.AttributeUnderline | |
4282 :inverse-video attributeInverse Face.AttributeInverse | |
4283 :stipple attributeStipple Face.AttributeStipple | |
26264 | 4284 or attributeBackgroundPixmap |
25853 | 4285 Face.AttributeBackgroundPixmap |
4286 :font attributeFont Face.AttributeFont | |
4287 :bold attributeBold Face.AttributeBold | |
4288 :italic attributeItalic . Face.AttributeItalic | |
4289 :font attributeFont Face.AttributeFont | |
4290 | |
4291 *** Text property `face'. | |
4292 | |
4293 The value of the `face' text property can now be a single face | |
4294 specification or a list of such specifications. Each face | |
4295 specification can be | |
4296 | |
4297 1. A symbol or string naming a Lisp face. | |
4298 | |
4299 2. A property list of the form (KEYWORD VALUE ...) where each | |
4300 KEYWORD is a face attribute name, and VALUE is an appropriate value | |
4301 for that attribute. Please see the doc string of `set-face-attribute' | |
4302 for face attribute names. | |
4303 | |
4304 3. Conses of the form (FOREGROUND-COLOR . COLOR) or | |
4305 (BACKGROUND-COLOR . COLOR) where COLOR is a color name. This is | |
4306 for compatibility with previous Emacs versions. | |
4307 | |
4308 ** Support functions for colors on text-only terminals. | |
4309 | |
27092
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4310 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
|
4311 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
|
4312 the terminal. Emacs defines a couple of common color mappings by |
25853 | 4313 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
|
4314 `defined-colors'. The function `tty-color-clear' can be |
25853 | 4315 used to clear the mapping table. |
4316 | |
27092
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4317 ** 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
|
4318 |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4319 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
|
4320 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
|
4321 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
|
4322 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
|
4323 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
|
4324 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
|
4325 `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
|
4326 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
|
4327 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
|
4328 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
|
4329 |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4330 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
|
4331 any frame type. |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4332 |
27573
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4333 ** Platform-independent functions to describe display capabilities. |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4334 |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4335 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
|
4336 `display-graphic-p', `display-selections-p', `display-screens', |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4337 `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
|
4338 `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
|
4339 `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
|
4340 `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
|
4341 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
|
4342 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
|
4343 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
|
4344 |
38471 | 4345 The new function `display-images-p' returns non-nil if a particular |
4346 display can display image files. | |
4347 | |
25853 | 4348 ** 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
|
4349 |
25853 | 4350 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
|
4351 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
|
4352 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
|
4353 `Inviolable' option. |
25853 | 4354 |
35680 | 4355 The function minibuffer-prompt-end returns the current position of the |
25853 | 4356 end of the minibuffer prompt, if the minibuffer is current. |
4357 Otherwise, it returns zero. | |
4358 | |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4359 ** New `field' abstraction in buffers. |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4360 |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4361 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
|
4362 buffers. A field is a contiguous region of text with the same `field' |
30776 | 4363 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
|
4364 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4365 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
|
4366 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
|
4367 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
|
4368 not let the point move past the field boundary, but other movement |
27144 | 4369 commands continue into the next field if repeated. Stopping at field |
4370 boundaries can be suppressed programmatically by binding | |
4371 `inhibit-field-text-motion' to a non-nil value around calls to these | |
4372 functions. | |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4373 |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4374 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
|
4375 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
|
4376 editing commands treat the user's text separately from the prompt. |
25853 | 4377 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4378 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
|
4379 |
30776 | 4380 - 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
|
4381 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4382 Return the position closest to NEW-POS that is in the same field as OLD-POS. |
30776 | 4383 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4384 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
|
4385 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
|
4386 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
|
4387 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4388 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
|
4389 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
|
4390 ESCAPE-FROM-EDGE: If ESCAPE-FROM-EDGE is nil, then NEW-POS is |
30776 | 4391 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
|
4392 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
|
4393 is non-nil, NEW-POS is constrained to the union of the two adjacent |
30776 | 4394 fields. Additionally, if two fields are separated by another field with |
4395 the special value `boundary', then any point within this special field is | |
4396 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
|
4397 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4398 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
|
4399 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
|
4400 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
|
4401 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
|
4402 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
|
4403 |
30776 | 4404 If the optional argument INHIBIT-CAPTURE-PROPERTY is non-nil, and OLD-POS has |
4405 a non-nil property of that name, then any field boundaries are ignored. | |
4406 | |
4407 Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil. | |
4408 | |
4409 - Function: delete-field &optional POS | |
4410 | |
4411 Delete the field surrounding POS. | |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4412 A field is a region of text with the same `field' property. |
30776 | 4413 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
|
4414 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4415 - 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
|
4416 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4417 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
|
4418 A field is a region of text with the same `field' property. |
30776 | 4419 If POS is nil, the value of point is used for POS. |
4420 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
|
4421 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
|
4422 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4423 - 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
|
4424 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4425 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
|
4426 A field is a region of text with the same `field' property. |
30776 | 4427 If POS is nil, the value of point is used for POS. |
4428 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
|
4429 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
|
4430 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4431 - Function: field-string &optional POS |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4432 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4433 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
|
4434 A field is a region of text with the same `field' property. |
30776 | 4435 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
|
4436 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4437 - 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
|
4438 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4439 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
|
4440 A field is a region of text with the same `field' property. |
30776 | 4441 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
|
4442 |
25853 | 4443 ** Image support. |
4444 | |
4445 Emacs can now display images. Images are inserted into text by giving | |
4446 strings or buffer text a `display' text property containing one of | |
4447 (AREA IMAGE) or IMAGE. The display of the `display' property value | |
4448 replaces the display of the characters having that property. | |
4449 | |
4450 If the property value has the form (AREA IMAGE), AREA must be one of | |
4451 `(margin left-margin)', `(margin right-margin)' or `(margin nil)'. If | |
4452 AREA is `(margin nil)', IMAGE will be displayed in the text area of a | |
4453 window, otherwise it will be displayed in the left or right marginal | |
4454 area. | |
4455 | |
4456 IMAGE is an image specification. | |
4457 | |
4458 *** Image specifications | |
4459 | |
4460 Image specifications are lists of the form `(image PROPS)' where PROPS | |
4461 is a property list whose keys are keyword symbols. Each | |
4462 specifications must contain a property `:type TYPE' with TYPE being a | |
26403 | 4463 symbol specifying the image type, e.g. `xbm'. Properties not |
4464 described below are ignored. | |
25853 | 4465 |
4466 The following is a list of properties all image types share. | |
4467 | |
4468 `:ascent ASCENT' | |
4469 | |
28789 | 4470 ASCENT must be a number in the range 0..100, or the symbol `center'. |
4471 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
|
4472 to use for its ascent. |
28789 | 4473 |
4474 If not specified, ASCENT defaults to the value 50 which means that the | |
4475 image will be centered with the base line of the row it appears in. | |
4476 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4477 If ASCENT is `center' the image is vertically centered around a |
29151 | 4478 centerline which is the vertical center of text drawn at the position |
4479 of the image, in the manner specified by the text properties and | |
4480 overlays that apply to the image. | |
25853 | 4481 |
4482 `:margin MARGIN' | |
4483 | |
35278 | 4484 MARGIN must be either a number >= 0 specifying how many pixels to put |
4485 as margin around the image, or a pair (X . Y) with X specifying the | |
4486 horizontal margin and Y specifying the vertical margin. Default is 0. | |
25853 | 4487 |
4488 `:relief RELIEF' | |
4489 | |
4490 RELIEF is analogous to the `:relief' attribute of faces. Puts a relief | |
4491 around an image. | |
4492 | |
35364 | 4493 `:conversion ALGO' |
25853 | 4494 |
31636 | 4495 Apply an image algorithm to the image before displaying it. |
4496 | |
4497 ALGO `laplace' or `emboss' means apply a Laplace or ``emboss'' | |
4498 edge-detection algorithm to the image. | |
4499 | |
4500 ALGO `(edge-detection :matrix MATRIX :color-adjust ADJUST)' means | |
4501 apply a general edge-detection algorithm. MATRIX must be either a | |
4502 nine-element list or a nine-element vector of numbers. A pixel at | |
4503 position x/y in the transformed image is computed from original pixels | |
4504 around that position. MATRIX specifies, for each pixel in the | |
4505 neighborhood of x/y, a factor with which that pixel will influence the | |
4506 transformed pixel; element 0 specifies the factor for the pixel at | |
4507 x-1/y-1, element 1 the factor for the pixel at x/y-1 etc. as shown | |
4508 below. | |
4509 | |
4510 (x-1/y-1 x/y-1 x+1/y-1 | |
4511 x-1/y x/y x+1/y | |
4512 x-1/y+1 x/y+1 x+1/y+1) | |
4513 | |
4514 The resulting pixel is computed from the color intensity of the color | |
4515 resulting from summing up the RGB values of surrounding pixels, | |
4516 multiplied by the specified factors, and dividing that sum by the sum | |
4517 of the factors' absolute values. | |
4518 | |
31858
269d69b69fe4
Update hideshow.el section.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
31827
diff
changeset
|
4519 Laplace edge-detection currently uses a matrix of |
31636 | 4520 |
4521 (1 0 0 | |
4522 0 0 0 | |
4523 9 9 -1) | |
4524 | |
4525 Emboss edge-detection uses a matrix of | |
4526 | |
4527 ( 2 -1 0 | |
4528 -1 0 1 | |
4529 0 1 -2) | |
4530 | |
31728 | 4531 ALGO `disabled' means transform the image so that it looks |
4532 ``disabled''. | |
4533 | |
31636 | 4534 `:mask MASK' |
4535 | |
4536 If MASK is `heuristic' or `(heuristic BG)', build a clipping mask for | |
4537 the image, so that the background of a frame is visible behind the | |
4538 image. If BG is not specified, or if BG is t, determine the | |
4539 background color of the image by looking at the 4 corners of the | |
35680 | 4540 image, assuming the most frequently occurring color from the corners is |
31636 | 4541 the background color of the image. Otherwise, BG must be a list `(RED |
4542 GREEN BLUE)' specifying the color to assume for the background of the | |
4543 image. | |
4544 | |
4545 If MASK is nil, remove a mask from the image, if it has one. Images | |
4546 in some formats include a mask which can be removed by specifying | |
4547 `:mask nil'. | |
25853 | 4548 |
4549 `:file FILE' | |
4550 | |
4551 Load image from FILE. If FILE is not absolute after expanding it, | |
4552 search for the image in `data-directory'. Some image types support | |
4553 building images from data. When this is done, no `:file' property | |
4554 may be present in the image specification. | |
4555 | |
27076
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4556 `:data DATA' |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4557 |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4558 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
|
4559 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
|
4560 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
|
4561 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
|
4562 |
25853 | 4563 *** Supported image types |
4564 | |
26034 | 4565 **** XBM, image type `xbm'. |
25853 | 4566 |
4567 XBM images don't require an external library. Additional image | |
4568 properties supported are | |
4569 | |
4570 `:foreground FG' | |
4571 | |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4572 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
|
4573 meaning to use the default. Default is the frame's foreground. |
25853 | 4574 |
32572 | 4575 `:background BG' |
25853 | 4576 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4577 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
|
4578 meaning to use the default. Default is the frame's background color. |
25853 | 4579 |
4580 XBM images can be constructed from data instead of file. In this | |
4581 case, the image specification must contain the following properties | |
4582 instead of a `:file' property. | |
4583 | |
4584 `:width WIDTH' | |
4585 | |
4586 WIDTH specifies the width of the image in pixels. | |
4587 | |
4588 `:height HEIGHT' | |
4589 | |
4590 HEIGHT specifies the height of the image in pixels. | |
4591 | |
4592 `:data DATA' | |
4593 | |
4594 DATA must be either | |
4595 | |
4596 1. a string large enough to hold the bitmap data, i.e. it must | |
4597 have a size >= (WIDTH + 7) / 8 * HEIGHT | |
4598 | |
4599 2. a bool-vector of size >= WIDTH * HEIGHT | |
4600 | |
4601 3. a vector of strings or bool-vectors, one for each line of the | |
4602 bitmap. | |
4603 | |
28748 | 4604 4. a string that's an in-memory XBM file. Neither width nor |
4605 height may be specified in this case because these are defined | |
4606 in the file. | |
4607 | |
25853 | 4608 **** XPM, image type `xpm' |
4609 | |
4610 XPM images require the external library `libXpm', package | |
4611 `xpm-3.4k.tar.gz', version 3.4k or later. Make sure the library is | |
4612 found when Emacs is configured by supplying appropriate paths via | |
4613 `--x-includes' and `--x-libraries'. | |
4614 | |
4615 Additional image properties supported are: | |
4616 | |
4617 `:color-symbols SYMBOLS' | |
4618 | |
4619 SYMBOLS must be a list of pairs (NAME . COLOR), with NAME being the | |
4620 name of color as it appears in an XPM file, and COLOR being an X color | |
4621 name. | |
4622 | |
4623 XPM images can be built from memory instead of files. In that case, | |
4624 add a `:data' property instead of a `:file' property. | |
4625 | |
4626 The XPM library uses libz in its implementation so that it is able | |
4627 to display compressed images. | |
4628 | |
4629 **** PBM, image type `pbm' | |
4630 | |
4631 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
|
4632 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
|
4633 mono images are |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4634 |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4635 `:foreground FG' |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4636 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4637 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
|
4638 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
|
4639 |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4640 `:background FG' |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4641 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4642 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
|
4643 meaning to use the default. Default is the frame's background color. |
25853 | 4644 |
4645 **** JPEG, image type `jpeg' | |
4646 | |
4647 Support for JPEG images requires the external library `libjpeg', | |
27055 | 4648 package `jpegsrc.v6a.tar.gz', or later. Additional image properties |
4649 are: | |
4650 | |
25853 | 4651 **** TIFF, image type `tiff' |
4652 | |
4653 Support for TIFF images requires the external library `libtiff', | |
4654 package `tiff-v3.4-tar.gz', or later. There are no additional image | |
4655 properties defined. | |
4656 | |
4657 **** GIF, image type `gif' | |
4658 | |
4659 Support for GIF images requires the external library `libungif', package | |
4660 `libungif-4.1.0', or later. | |
4661 | |
4662 Additional image properties supported are: | |
4663 | |
4664 `:index INDEX' | |
4665 | |
4666 INDEX must be an integer >= 0. Load image number INDEX from a | |
35680 | 4667 multi-image GIF file. An error is signaled if INDEX is too large. |
25853 | 4668 |
4669 This could be used to implement limited support for animated GIFs. | |
4670 For example, the following function displays a multi-image GIF file | |
4671 at point-min in the current buffer, switching between sub-images | |
4672 every 0.1 seconds. | |
4673 | |
4674 (defun show-anim (file max) | |
4675 "Display multi-image GIF file FILE which contains MAX subimages." | |
4676 (display-anim (current-buffer) file 0 max t)) | |
4677 | |
4678 (defun display-anim (buffer file idx max first-time) | |
4679 (when (= idx max) | |
4680 (setq idx 0)) | |
27076
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4681 (let ((img (create-image file nil nil :index idx))) |
25853 | 4682 (save-excursion |
4683 (set-buffer buffer) | |
4684 (goto-char (point-min)) | |
4685 (unless first-time (delete-char 1)) | |
4686 (insert-image img "x")) | |
4687 (run-with-timer 0.1 nil 'display-anim buffer file (1+ idx) max nil))) | |
4688 | |
4689 **** PNG, image type `png' | |
4690 | |
4691 Support for PNG images requires the external library `libpng', | |
4692 package `libpng-1.0.2.tar.gz', or later. There are no additional image | |
4693 properties defined. | |
4694 | |
4695 **** Ghostscript, image type `postscript'. | |
4696 | |
4697 Additional image properties supported are: | |
4698 | |
4699 `:pt-width WIDTH' | |
4700 | |
4701 WIDTH is width of the image in pt (1/72 inch). WIDTH must be an | |
26034 | 4702 integer. This is a required property. |
25853 | 4703 |
4704 `:pt-height HEIGHT' | |
4705 | |
4706 HEIGHT specifies the height of the image in pt (1/72 inch). HEIGHT | |
26034 | 4707 must be a integer. This is an required property. |
25853 | 4708 |
4709 `:bounding-box BOX' | |
4710 | |
4711 BOX must be a list or vector of 4 integers giving the bounding box of | |
4712 the PS image, analogous to the `BoundingBox' comment found in PS | |
4713 files. This is an required property. | |
4714 | |
4715 Part of the Ghostscript interface is implemented in Lisp. See | |
4716 lisp/gs.el. | |
4717 | |
4718 *** Lisp interface. | |
4719 | |
26264 | 4720 The variable `image-types' contains a list of those image types |
4721 which are supported in the current configuration. | |
25853 | 4722 |
4723 Images are stored in an image cache and removed from the cache when | |
4724 they haven't been displayed for `image-cache-eviction-delay seconds. | |
4725 The function `clear-image-cache' can be used to clear the image cache | |
28759 | 4726 manually. Images in the cache are compared with `equal', i.e. all |
4727 images with `equal' specifications share the same image. | |
25853 | 4728 |
4729 *** Simplified image API, image.el | |
4730 | |
4731 The new Lisp package image.el contains functions that simplify image | |
4732 creation and putting images into text. The function `create-image' | |
4733 can be used to create images. The macro `defimage' can be used to | |
4734 define an image based on available image types. The functions | |
4735 `put-image' and `insert-image' can be used to insert an image into a | |
4736 buffer. | |
4737 | |
4738 ** Display margins. | |
4739 | |
4740 Windows can now have margins which are used for special text | |
4741 and images. | |
4742 | |
4743 To give a window margins, either set the buffer-local variables | |
4744 `left-margin-width' and `right-margin-width', or call | |
4745 `set-window-margins'. The function `window-margins' can be used to | |
4746 obtain the current settings. To make `left-margin-width' and | |
4747 `right-margin-width' take effect, you must set them before displaying | |
4748 the buffer in a window, or use `set-window-buffer' to force an update | |
4749 of the display margins. | |
4750 | |
4751 You can put text in margins by giving it a `display' text property | |
4752 containing a pair of the form `(LOCATION . VALUE)', where LOCATION is | |
4753 one of `left-margin' or `right-margin' or nil. VALUE can be either a | |
4754 string, an image specification or a stretch specification (see later | |
4755 in this file). | |
4756 | |
4757 ** Help display | |
4758 | |
4759 Emacs displays short help messages in the echo area, when the mouse | |
4760 moves over a tool-bar item or a piece of text that has a text property | |
4761 `help-echo'. This feature also applies to strings in the mode line | |
4762 that have a `help-echo' property. | |
4763 | |
30219 | 4764 If the value of the `help-echo' property is a function, that function |
30305 | 4765 is called with three arguments WINDOW, OBJECT and POSITION. WINDOW is |
30372 | 4766 the window in which the help was found. |
4767 | |
4768 If OBJECT is a buffer, POS is the position in the buffer where the | |
4769 `help-echo' text property was found. | |
4770 | |
4771 If OBJECT is an overlay, that overlay has a `help-echo' property, and | |
4772 POS is the position in the overlay's buffer under the mouse. | |
4773 | |
4774 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
|
4775 the `display' property), POS is the position in that string under the |
30372 | 4776 mouse. |
30219 | 4777 |
4778 If the value of the `help-echo' property is neither a function nor a | |
4779 string, it is evaluated to obtain a help string. | |
4780 | |
4781 For tool-bar and menu-bar items, their key definition is used to | |
4782 determine the help to display. If their definition contains a | |
4783 property `:help FORM', FORM is evaluated to determine the help string. | |
4784 For tool-bar items without a help form, the caption of the item is | |
4785 used as help string. | |
25853 | 4786 |
4787 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
|
4788 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
|
4789 causes the help display to appear there instead of in the echo area. |
25853 | 4790 |
4791 ** Vertical fractional scrolling. | |
4792 | |
4793 The display of text in windows can be scrolled smoothly in pixels. | |
4794 This is useful, for example, for making parts of large images visible. | |
4795 | |
4796 The function `window-vscroll' returns the current value of vertical | |
4797 scrolling, a non-negative fraction of the canonical character height. | |
4798 The function `set-window-vscroll' can be used to set the vertical | |
4799 scrolling value. Here is an example of how these function might be | |
4800 used. | |
4801 | |
26264 | 4802 (global-set-key [A-down] |
4803 #'(lambda () | |
25853 | 4804 (interactive) |
26264 | 4805 (set-window-vscroll (selected-window) |
25853 | 4806 (+ 0.5 (window-vscroll))))) |
26264 | 4807 (global-set-key [A-up] |
25853 | 4808 #'(lambda () |
4809 (interactive) | |
26264 | 4810 (set-window-vscroll (selected-window) |
25853 | 4811 (- (window-vscroll) 0.5))))) |
4812 | |
4813 ** New hook `fontification-functions'. | |
4814 | |
4815 Functions from `fontification-functions' are called from redisplay | |
4816 when it encounters a region of text that is not yet fontified. This | |
4817 variable automatically becomes buffer-local when set. Each function | |
4818 is called with one argument, POS. | |
4819 | |
4820 At least one of the hook functions should fontify one or more | |
4821 characters starting at POS in the current buffer. It should mark them | |
4822 as fontified by giving them a non-nil value of the `fontified' text | |
4823 property. It may be reasonable for these functions to check for the | |
4824 `fontified' property and not put it back on, but they do not have to. | |
4825 | |
4826 ** Tool bar support. | |
4827 | |
4828 Emacs supports a tool bar at the top of a frame under X. The frame | |
4829 parameter `tool-bar-lines' (X resource "toolBar", class "ToolBar") | |
4830 controls how may lines to reserve for the tool bar. A zero value | |
4831 suppresses the tool bar. If the value is non-zero and | |
4832 `auto-resize-tool-bars' is non-nil the tool bar's size will be changed | |
4833 automatically so that all tool bar items are visible. | |
4834 | |
4835 *** Tool bar item definitions | |
4836 | |
4837 Tool bar items are defined using `define-key' with a prefix-key | |
4838 `tool-bar'. For example `(define-key global-map [tool-bar item1] ITEM)' | |
4839 where ITEM is a list `(menu-item CAPTION BINDING PROPS...)'. | |
26264 | 4840 |
25853 | 4841 CAPTION is the caption of the item, If it's not a string, it is |
4842 evaluated to get a string. The caption is currently not displayed in | |
4843 the tool bar, but it is displayed if the item doesn't have a `:help' | |
4844 property (see below). | |
26264 | 4845 |
25853 | 4846 BINDING is the tool bar item's binding. Tool bar items with keymaps as |
4847 binding are currently ignored. | |
4848 | |
4849 The following properties are recognized: | |
4850 | |
4851 `:enable FORM'. | |
26264 | 4852 |
25853 | 4853 FORM is evaluated and specifies whether the tool bar item is enabled |
4854 or disabled. | |
26264 | 4855 |
25853 | 4856 `:visible FORM' |
26264 | 4857 |
25853 | 4858 FORM is evaluated and specifies whether the tool bar item is displayed. |
26264 | 4859 |
25853 | 4860 `:filter FUNCTION' |
4861 | |
4862 FUNCTION is called with one parameter, the same list BINDING in which | |
4863 FUNCTION is specified as the filter. The value FUNCTION returns is | |
4864 used instead of BINDING to display this item. | |
26264 | 4865 |
25853 | 4866 `:button (TYPE SELECTED)' |
4867 | |
4868 TYPE must be one of `:radio' or `:toggle'. SELECTED is evaluated | |
4869 and specifies whether the button is selected (pressed) or not. | |
26264 | 4870 |
25853 | 4871 `:image IMAGES' |
4872 | |
4873 IMAGES is either a single image specification or a vector of four | |
4874 image specifications. If it is a vector, this table lists the | |
4875 meaning of each of the four elements: | |
4876 | |
4877 Index Use when item is | |
4878 ---------------------------------------- | |
4879 0 enabled and selected | |
4880 1 enabled and deselected | |
4881 2 disabled and selected | |
4882 3 disabled and deselected | |
26264 | 4883 |
28946 | 4884 If IMAGE is a single image specification, a Laplace edge-detection |
4885 algorithm is used on that image to draw the image in disabled state. | |
4886 | |
25853 | 4887 `:help HELP-STRING'. |
26264 | 4888 |
25853 | 4889 Gives a help string to display for the tool bar item. This help |
4890 is displayed when the mouse is moved over the item. | |
4891 | |
31641 | 4892 The function `toolbar-add-item' is a convenience function for adding |
31741 | 4893 toolbar items generally, and `tool-bar-add-item-from-menu' can be used |
4894 to define a toolbar item with a binding copied from an item on the | |
4895 menu bar. | |
31641 | 4896 |
33484 | 4897 The default bindings use a menu-item :filter to derive the tool-bar |
4898 dynamically from variable `tool-bar-map' which may be set | |
4899 buffer-locally to override the global map. | |
4900 | |
25853 | 4901 *** Tool-bar-related variables. |
4902 | |
4903 If `auto-resize-tool-bar' is non-nil, the tool bar will automatically | |
4904 resize to show all defined tool bar items. It will never grow larger | |
4905 than 1/4 of the frame's size. | |
4906 | |
26264 | 4907 If `auto-raise-tool-bar-buttons' is non-nil, tool bar buttons will be |
25853 | 4908 raised when the mouse moves over them. |
4909 | |
4910 You can add extra space between tool bar items by setting | |
4911 `tool-bar-button-margin' to a positive integer specifying a number of | |
35278 | 4912 pixels, or a pair of integers (X . Y) specifying horizontal and |
4913 vertical margins . Default is 1. | |
25853 | 4914 |
4915 You can change the shadow thickness of tool bar buttons by setting | |
4916 `tool-bar-button-relief' to an integer. Default is 3. | |
4917 | |
4918 *** Tool-bar clicks with modifiers. | |
4919 | |
4920 You can bind commands to clicks with control, shift, meta etc. on | |
26264 | 4921 a tool bar item. If |
25853 | 4922 |
4923 (define-key global-map [tool-bar shell] | |
4924 '(menu-item "Shell" shell | |
4925 :image (image :type xpm :file "shell.xpm"))) | |
4926 | |
4927 is the original tool bar item definition, then | |
4928 | |
4929 (define-key global-map [tool-bar S-shell] 'some-command) | |
4930 | |
4931 makes a binding to run `some-command' for a shifted click on the same | |
4932 item. | |
4933 | |
4934 ** Mode line changes. | |
4935 | |
4936 *** Mouse-sensitive mode line. | |
4937 | |
4938 The mode line can be made mouse-sensitive by displaying strings there | |
4939 that have a `local-map' text property. There are three ways to display | |
4940 a string with a `local-map' property in the mode line. | |
4941 | |
4942 1. The mode line spec contains a variable whose string value has | |
4943 a `local-map' text property. | |
4944 | |
4945 2. The mode line spec contains a format specifier (e.g. `%12b'), and | |
4946 that format specifier has a `local-map' property. | |
4947 | |
4948 3. The mode line spec contains a list containing `:eval FORM'. FORM | |
4949 is evaluated. If the result is a string, and that string has a | |
4950 `local-map' property. | |
4951 | |
4952 The same mechanism is used to determine the `face' and `help-echo' | |
4953 properties of strings in the mode line. See `bindings.el' for an | |
4954 example. | |
4955 | |
26359
d2970b5d3b72
Add mode line element '(:eval FORM)'.
Gerd Moellmann <gerd@gnu.org>
parents:
26322
diff
changeset
|
4956 *** 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
|
4957 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
|
4958 |
25853 | 4959 *** You can suppress mode-line display by setting the buffer-local |
4960 variable mode-line-format to nil. | |
4961 | |
4962 *** A headerline can now be displayed at the top of a window. | |
4963 | |
4964 This mode line's contents are controlled by the new variable | |
4965 `header-line-format' and `default-header-line-format' which are | |
4966 completely analogous to `mode-line-format' and | |
4967 `default-mode-line-format'. A value of nil means don't display a top | |
4968 line. | |
4969 | |
4970 The appearance of top mode lines is controlled by the face | |
4971 `header-line'. | |
4972 | |
4973 The function `coordinates-in-window-p' returns `header-line' for a | |
4974 position in the header-line. | |
4975 | |
4976 ** Text property `display' | |
4977 | |
31827 | 4978 The `display' text property is used to insert images into text, |
4979 replace text with other text, display text in marginal area, and it is | |
4980 also used to control other aspects of how text displays. The value of | |
4981 the `display' property should be a display specification, as described | |
25853 | 4982 below, or a list or vector containing display specifications. |
4983 | |
31827 | 4984 *** Replacing text, displaying text in marginal areas |
4985 | |
4986 To replace the text having the `display' property with some other | |
4987 text, use a display specification of the form `(LOCATION STRING)'. | |
4988 | |
4989 If LOCATION is `(margin left-margin)', STRING is displayed in the left | |
4990 marginal area, if it is `(margin right-margin)', it is displayed in | |
4991 the right marginal area, and if LOCATION is `(margin nil)' STRING | |
4992 is displayed in the text. In the latter case you can also use the | |
4993 simpler form STRING as property value. | |
4994 | |
25853 | 4995 *** Variable width and height spaces |
4996 | |
4997 To display a space of fractional width or height, use a display | |
4998 specification of the form `(LOCATION STRECH)'. If LOCATION is | |
4999 `(margin left-margin)', the space is displayed in the left marginal | |
5000 area, if it is `(margin right-margin)', it is displayed in the right | |
5001 marginal area, and if LOCATION is `(margin nil)' the space is | |
5002 displayed in the text. In the latter case you can also use the | |
5003 simpler form STRETCH as property value. | |
5004 | |
5005 The stretch specification STRETCH itself is a list of the form `(space | |
5006 PROPS)', where PROPS is a property list which can contain the | |
5007 properties described below. | |
5008 | |
5009 The display of the fractional space replaces the display of the | |
5010 characters having the `display' property. | |
5011 | |
5012 - :width WIDTH | |
5013 | |
5014 Specifies that the space width should be WIDTH times the normal | |
5015 character width. WIDTH can be an integer or floating point number. | |
5016 | |
5017 - :relative-width FACTOR | |
5018 | |
5019 Specifies that the width of the stretch should be computed from the | |
5020 first character in a group of consecutive characters that have the | |
5021 same `display' property. The computation is done by multiplying the | |
5022 width of that character by FACTOR. | |
5023 | |
5024 - :align-to HPOS | |
5025 | |
5026 Specifies that the space should be wide enough to reach HPOS. The | |
5027 value HPOS is measured in units of the normal character width. | |
5028 | |
5029 Exactly one of the above properties should be used. | |
5030 | |
5031 - :height HEIGHT | |
5032 | |
5033 Specifies the height of the space, as HEIGHT, measured in terms of the | |
5034 normal line height. | |
5035 | |
5036 - :relative-height FACTOR | |
5037 | |
5038 The height of the space is computed as the product of the height | |
5039 of the text having the `display' property and FACTOR. | |
5040 | |
5041 - :ascent ASCENT | |
5042 | |
5043 Specifies that ASCENT percent of the height of the stretch should be | |
5044 used for the ascent of the stretch, i.e. for the part above the | |
5045 baseline. The value of ASCENT must be a non-negative number less or | |
5046 equal to 100. | |
5047 | |
5048 You should not use both `:height' and `:relative-height' together. | |
5049 | |
5050 *** Images | |
5051 | |
5052 A display specification for an image has the form `(LOCATION | |
5053 . IMAGE)', where IMAGE is an image specification. The image replaces, | |
5054 in the display, the characters having this display specification in | |
5055 their `display' text property. If LOCATION is `(margin left-margin)', | |
5056 the image will be displayed in the left marginal area, if it is | |
5057 `(margin right-margin)' it will be displayed in the right marginal | |
5058 area, and if LOCATION is `(margin nil)' the image will be displayed in | |
5059 the text. In the latter case you can also use the simpler form IMAGE | |
5060 as display specification. | |
5061 | |
5062 *** Other display properties | |
5063 | |
33499 | 5064 - (space-width FACTOR) |
25853 | 5065 |
5066 Specifies that space characters in the text having that property | |
5067 should be displayed FACTOR times as wide as normal; FACTOR must be an | |
5068 integer or float. | |
5069 | |
33499 | 5070 - (height HEIGHT) |
25853 | 5071 |
5072 Display text having this property in a font that is smaller or larger. | |
5073 | |
5074 If HEIGHT is a list of the form `(+ N)', where N is an integer, that | |
5075 means to use a font that is N steps larger. If HEIGHT is a list of | |
5076 the form `(- N)', that means to use a font that is N steps smaller. A | |
5077 ``step'' is defined by the set of available fonts; each size for which | |
5078 a font is available counts as a step. | |
5079 | |
5080 If HEIGHT is a number, that means to use a font that is HEIGHT times | |
5081 as tall as the frame's default font. | |
5082 | |
5083 If HEIGHT is a symbol, it is called as a function with the current | |
5084 height as argument. The function should return the new height to use. | |
5085 | |
5086 Otherwise, HEIGHT is evaluated to get the new height, with the symbol | |
5087 `height' bound to the current specified font height. | |
5088 | |
33499 | 5089 - (raise FACTOR) |
25853 | 5090 |
5091 FACTOR must be a number, specifying a multiple of the current | |
5092 font's height. If it is positive, that means to display the characters | |
5093 raised. If it is negative, that means to display them lower down. The | |
5094 amount of raising or lowering is computed without taking account of the | |
33499 | 5095 `height' subproperty. |
25853 | 5096 |
5097 *** Conditional display properties | |
5098 | |
5099 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
|
5100 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
|
5101 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
|
5102 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
|
5103 conditional display property; `position' and `buffer-position' are |
f5db16d9b787
Change conditional display property API description.
Gerd Moellmann <gerd@gnu.org>
parents:
38989
diff
changeset
|
5104 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
|
5105 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
|
5106 different when object is a string. |
25853 | 5107 |
5108 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
|
5109 `(when t . SPEC)'. |
25853 | 5110 |
5111 ** New menu separator types. | |
5112 | |
5113 Emacs now supports more than one menu separator type. Menu items with | |
5114 item names consisting of dashes only (including zero dashes) are | |
5115 treated like before. In addition, the following item names are used | |
5116 to specify other menu separator types. | |
5117 | |
5118 - `--no-line' or `--space', or `--:space', or `--:noLine' | |
5119 | |
5120 No separator lines are drawn, but a small space is inserted where the | |
5121 separator occurs. | |
5122 | |
5123 - `--single-line' or `--:singleLine' | |
5124 | |
5125 A single line in the menu's foreground color. | |
5126 | |
5127 - `--double-line' or `--:doubleLine' | |
5128 | |
5129 A double line in the menu's foreground color. | |
5130 | |
5131 - `--single-dashed-line' or `--:singleDashedLine' | |
5132 | |
5133 A single dashed line in the menu's foreground color. | |
5134 | |
5135 - `--double-dashed-line' or `--:doubleDashedLine' | |
5136 | |
5137 A double dashed line in the menu's foreground color. | |
5138 | |
5139 - `--shadow-etched-in' or `--:shadowEtchedIn' | |
5140 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
5141 A single line with 3D sunken appearance. This is the form |
25853 | 5142 displayed for item names consisting of dashes only. |
5143 | |
5144 - `--shadow-etched-out' or `--:shadowEtchedOut' | |
5145 | |
5146 A single line with 3D raised appearance. | |
5147 | |
5148 - `--shadow-etched-in-dash' or `--:shadowEtchedInDash' | |
5149 | |
5150 A single dashed line with 3D sunken appearance. | |
5151 | |
5152 - `--shadow-etched-out-dash' or `--:shadowEtchedOutDash' | |
5153 | |
5154 A single dashed line with 3D raise appearance. | |
5155 | |
5156 - `--shadow-double-etched-in' or `--:shadowDoubleEtchedIn' | |
5157 | |
5158 Two lines with 3D sunken appearance. | |
5159 | |
5160 - `--shadow-double-etched-out' or `--:shadowDoubleEtchedOut' | |
5161 | |
5162 Two lines with 3D raised appearance. | |
5163 | |
5164 - `--shadow-double-etched-in-dash' or `--:shadowDoubleEtchedInDash' | |
5165 | |
5166 Two dashed lines with 3D sunken appearance. | |
5167 | |
5168 - `--shadow-double-etched-out-dash' or `--:shadowDoubleEtchedOutDash' | |
5169 | |
5170 Two dashed lines with 3D raised appearance. | |
5171 | |
5172 Under LessTif/Motif, the last four separator types are displayed like | |
5173 the corresponding single-line separators. | |
5174 | |
5175 ** New frame parameters for scroll bar colors. | |
5176 | |
5177 The new frame parameters `scroll-bar-foreground' and | |
5178 `scroll-bar-background' can be used to change scroll bar colors. | |
5179 Their value must be either a color name, a string, or nil to specify | |
5180 that scroll bars should use a default color. For toolkit scroll bars, | |
5181 default colors are toolkit specific. For non-toolkit scroll bars, the | |
5182 default background is the background color of the frame, and the | |
5183 default foreground is black. | |
5184 | |
5185 The X resource name of these parameters are `scrollBarForeground' | |
5186 (class ScrollBarForeground) and `scrollBarBackground' (class | |
5187 `ScrollBarBackground'). | |
5188 | |
5189 Setting these parameters overrides toolkit specific X resource | |
5190 settings for scroll bar colors. | |
5191 | |
5192 ** You can set `redisplay-dont-pause' to a non-nil value to prevent | |
5193 display updates from being interrupted when input is pending. | |
5194 | |
5195 ** Changing a window's width may now change its window start if it | |
5196 starts on a continuation line. The new window start is computed based | |
5197 on the window's new width, starting from the start of the continued | |
5198 line as the start of the screen line with the minimum distance from | |
5199 the original window start. | |
5200 | |
5201 ** The variable `hscroll-step' and the functions | |
5202 `hscroll-point-visible' and `hscroll-window-column' have been removed | |
5203 now that proper horizontal scrolling is implemented. | |
5204 | |
5205 ** Windows can now be made fixed-width and/or fixed-height. | |
5206 | |
5207 A window is fixed-size if its buffer has a buffer-local variable | |
5208 `window-size-fixed' whose value is not nil. A value of `height' makes | |
5209 windows fixed-height, a value of `width' makes them fixed-width, any | |
5210 other non-nil value makes them both fixed-width and fixed-height. | |
5211 | |
5212 The following code makes all windows displaying the current buffer | |
5213 fixed-width and fixed-height. | |
5214 | |
5215 (set (make-local-variable 'window-size-fixed) t) | |
5216 | |
5217 A call to enlarge-window on a window gives an error if that window is | |
5218 fixed-width and it is tried to change the window's width, or if the | |
5219 window is fixed-height, and it is tried to change its height. To | |
5220 change the size of a fixed-size window, bind `window-size-fixed' | |
5221 temporarily to nil, for example | |
5222 | |
5223 (let ((window-size-fixed nil)) | |
5224 (enlarge-window 10)) | |
5225 | |
26264 | 5226 Likewise, an attempt to split a fixed-height window vertically, |
25853 | 5227 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
|
5228 |
e1e48e0663f6
Mention cursor-type support on MS-DOS terminals.
Eli Zaretskii <eliz@gnu.org>
parents:
28063
diff
changeset
|
5229 ** 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
|
5230 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
|
5231 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
|
5232 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
|
5233 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
|
5234 support a vertical-bar cursor). |
30786 | 5235 |
30922 | 5236 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5237 |
30922 | 5238 * Emacs 20.7 is a bug-fix release with few user-visible changes |
5239 | |
5240 ** It is now possible to use CCL-based coding systems for keyboard | |
5241 input. | |
5242 | |
5243 ** ange-ftp now handles FTP security extensions, like Kerberos. | |
5244 | |
5245 ** Rmail has been extended to recognize more forms of digest messages. | |
5246 | |
5247 ** Now, most coding systems set in keyboard coding system work not | |
5248 only for character input, but also in incremental search. The | |
5249 exceptions are such coding systems that handle 2-byte character sets | |
5250 (e.g euc-kr, euc-jp) and that use ISO's escape sequence | |
5251 (e.g. iso-2022-jp). They are ignored in incremental search. | |
5252 | |
5253 ** Support for Macintosh PowerPC-based machines running GNU/Linux has | |
5254 been added. | |
5255 | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5256 |
30922 | 5257 * Emacs 20.6 is a bug-fix release with one user-visible change |
5258 | |
5259 ** Support for ARM-based non-RISCiX machines has been added. | |
5260 | |
35469 | 5261 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5262 |
30922 | 5263 * Emacs 20.5 is a bug-fix release with no user-visible changes. |
5264 | |
5265 ** Not new, but not mentioned before: | |
5266 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
|
5267 |
30922 | 5268 * Changes in Emacs 20.4 |
5269 | |
5270 ** Init file may be called .emacs.el. | |
5271 | |
5272 You can now call the Emacs init file `.emacs.el'. | |
5273 Formerly the name had to be `.emacs'. If you use the name | |
5274 `.emacs.el', you can byte-compile the file in the usual way. | |
5275 | |
5276 If both `.emacs' and `.emacs.el' exist, the latter file | |
5277 is the one that is used. | |
5278 | |
5279 ** shell-command, and shell-command-on-region, now return | |
5280 the exit code of the command (unless it is asynchronous). | |
5281 Also, you can specify a place to put the error output, | |
5282 separate from the command's regular output. | |
5283 Interactively, the variable shell-command-default-error-buffer | |
5284 says where to put error output; set it to a buffer name. | |
5285 In calls from Lisp, an optional argument ERROR-BUFFER specifies | |
5286 the buffer name. | |
5287 | |
5288 When you specify a non-nil error buffer (or buffer name), any error | |
5289 output is inserted before point in that buffer, with \f\n to separate | |
5290 it from the previous batch of error output. The error buffer is not | |
5291 cleared, so error output from successive commands accumulates there. | |
5292 | |
5293 ** Setting the default value of enable-multibyte-characters to nil in | |
5294 the .emacs file, either explicitly using setq-default, or via Custom, | |
5295 is now essentially equivalent to using --unibyte: all buffers | |
5296 created during startup will be made unibyte after loading .emacs. | |
5297 | |
5298 ** C-x C-f now handles the wildcards * and ? in file names. For | |
5299 example, typing C-x C-f c*.c RET visits all the files whose names | |
5300 match c*.c. To visit a file whose name contains * or ?, add the | |
5301 quoting sequence /: to the beginning of the file name. | |
5302 | |
5303 ** The M-x commands keep-lines, flush-lines and count-matches | |
5304 now have the same feature as occur and query-replace: | |
5305 if the pattern contains any upper case letters, then | |
5306 they never ignore case. | |
5307 | |
5308 ** The end-of-line format conversion feature previously mentioned | |
5309 under `* Emacs 20.1 changes for MS-DOS and MS-Windows' actually | |
5310 applies to all operating systems. Emacs recognizes from the contents | |
5311 of a file what convention it uses to separate lines--newline, CRLF, or | |
5312 just CR--and automatically converts the contents to the normal Emacs | |
5313 convention (using newline to separate lines) for editing. This is a | |
5314 part of the general feature of coding system conversion. | |
5315 | |
5316 If you subsequently save the buffer, Emacs converts the text back to | |
5317 the same format that was used in the file before. | |
5318 | |
5319 You can turn off end-of-line conversion by setting the variable | |
5320 `inhibit-eol-conversion' to non-nil, e.g. with Custom in the MULE group. | |
5321 | |
5322 ** The character set property `prefered-coding-system' has been | |
5323 renamed to `preferred-coding-system', for the sake of correct spelling. | |
5324 This is a fairly internal feature, so few programs should be affected. | |
5325 | |
5326 ** Mode-line display of end-of-line format is changed. | |
5327 The indication of the end-of-line format of the file visited by a | |
5328 buffer is now more explicit when that format is not the usual one for | |
5329 your operating system. For example, the DOS-style end-of-line format | |
5330 is displayed as "(DOS)" on Unix and GNU/Linux systems. The usual | |
5331 end-of-line format is still displayed as a single character (colon for | |
5332 Unix, backslash for DOS and Windows, and forward slash for the Mac). | |
5333 | |
5334 The values of the variables eol-mnemonic-unix, eol-mnemonic-dos, | |
5335 eol-mnemonic-mac, and eol-mnemonic-undecided, which are strings, | |
5336 control what is displayed in the mode line for each end-of-line | |
5337 format. You can now customize these variables. | |
5338 | |
5339 ** In the previous version of Emacs, tar-mode didn't work well if a | |
5340 filename contained non-ASCII characters. Now this is fixed. Such a | |
5341 filename is decoded by file-name-coding-system if the default value of | |
5342 enable-multibyte-characters is non-nil. | |
5343 | |
5344 ** The command temp-buffer-resize-mode toggles a minor mode | |
5345 in which temporary buffers (such as help buffers) are given | |
5346 windows just big enough to hold the whole contents. | |
5347 | |
5348 ** If you use completion.el, you must now run the function | |
5349 dynamic-completion-mode to enable it. Just loading the file | |
5350 doesn't have any effect. | |
5351 | |
5352 ** In Flyspell mode, the default is now to make just one Ispell process, | |
5353 not one per buffer. | |
5354 | |
5355 ** If you use iswitchb but do not call (iswitchb-default-keybindings) to | |
5356 use the default keybindings, you will need to add the following line: | |
5357 (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup) | |
5358 | |
5359 ** Auto-show mode is no longer enabled just by loading auto-show.el. | |
5360 To control it, set `auto-show-mode' via Custom or use the | |
5361 `auto-show-mode' command. | |
5362 | |
5363 ** Handling of X fonts' ascent/descent parameters has been changed to | |
5364 avoid redisplay problems. As a consequence, compared with previous | |
5365 versions the line spacing and frame size now differ with some font | |
5366 choices, typically increasing by a pixel per line. This change | |
5367 occurred in version 20.3 but was not documented then. | |
5368 | |
5369 ** If you select the bar cursor style, it uses the frame's | |
5370 cursor-color, rather than the cursor foreground pixel. | |
5371 | |
5372 ** In multibyte mode, Rmail decodes incoming MIME messages using the | |
5373 character set specified in the message. If you want to disable this | |
5374 feature, set the variable rmail-decode-mime-charset to nil. | |
5375 | |
5376 ** Not new, but not mentioned previously in NEWS: when you use #! at | |
5377 the beginning of a file to make it executable and specify an | |
5378 interpreter program, Emacs looks on the second line for the -*- mode | |
5379 and variable specification, as well as on the first line. | |
5380 | |
5381 ** Support for IBM codepage encoding of non-ASCII characters. | |
5382 | |
5383 The new command M-x codepage-setup creates a special coding system | |
5384 that can be used to convert text between a specific IBM codepage and | |
5385 one of the character sets built into Emacs which matches that | |
5386 codepage. For example, codepage 850 corresponds to Latin-1 character | |
5387 set, codepage 855 corresponds to Cyrillic-ISO character set, etc. | |
5388 | |
5389 Windows codepages 1250, 1251 and some others, where Windows deviates | |
5390 from the corresponding ISO character set, are also supported. | |
5391 | |
5392 IBM box-drawing characters and other glyphs which don't have | |
5393 equivalents in the corresponding ISO character set, are converted to | |
5394 a character defined by dos-unsupported-char-glyph on MS-DOS, and to | |
5395 `?' on other systems. | |
5396 | |
5397 IBM codepages are widely used on MS-DOS and MS-Windows, so this | |
5398 feature is most useful on those platforms, but it can also be used on | |
5399 Unix. | |
5400 | |
5401 Emacs compiled for MS-DOS automatically loads the support for the | |
5402 current codepage when it starts. | |
5403 | |
5404 ** Mail changes | |
5405 | |
5406 *** When mail is sent using compose-mail (C-x m), and if | |
5407 `mail-send-nonascii' is set to the new default value `mime', | |
5408 appropriate MIME headers are added. The headers are added only if | |
5409 non-ASCII characters are present in the body of the mail, and no other | |
5410 MIME headers are already present. For example, the following three | |
5411 headers are added if the coding system used in the *mail* buffer is | |
5412 latin-1: | |
5413 | |
5414 MIME-version: 1.0 | |
5415 Content-type: text/plain; charset=iso-8859-1 | |
5416 Content-Transfer-Encoding: 8bit | |
5417 | |
5418 *** The new variable default-sendmail-coding-system specifies the | |
5419 default way to encode outgoing mail. This has higher priority than | |
5420 default-buffer-file-coding-system but has lower priority than | |
5421 sendmail-coding-system and the local value of | |
5422 buffer-file-coding-system. | |
5423 | |
5424 You should not set this variable manually. Instead, set | |
5425 sendmail-coding-system to specify a fixed encoding for all outgoing | |
5426 mail. | |
5427 | |
5428 *** When you try to send a message that contains non-ASCII characters, | |
5429 if the coding system specified by those variables doesn't handle them, | |
5430 Emacs will ask you to select a suitable coding system while showing a | |
5431 list of possible coding systems. | |
5432 | |
5433 ** CC Mode changes | |
5434 | |
5435 *** c-default-style can now take an association list that maps major | |
5436 modes to style names. When this variable is an alist, Java mode no | |
5437 longer hardcodes a setting to "java" style. See the variable's | |
5438 docstring for details. | |
5439 | |
5440 *** It's now possible to put a list as the offset on a syntactic | |
5441 symbol. The list is evaluated recursively until a non-nil offset is | |
5442 found. This is useful to combine several lineup functions to act in a | |
5443 prioritized order on a single line. However, none of the supplied | |
5444 lineup functions use this feature currently. | |
5445 | |
5446 *** New syntactic symbol catch-clause, which is used on the "catch" and | |
5447 "finally" lines in try-catch constructs in C++ and Java. | |
5448 | |
5449 *** New cleanup brace-catch-brace on c-cleanup-list, which does for | |
5450 "catch" lines what brace-elseif-brace does for "else if" lines. | |
5451 | |
5452 *** The braces of Java anonymous inner classes are treated separately | |
5453 from the braces of other classes in auto-newline mode. Two new | |
5454 symbols inexpr-class-open and inexpr-class-close may be used on | |
5455 c-hanging-braces-alist to control the automatic newlines used for | |
5456 anonymous classes. | |
5457 | |
5458 *** Support for the Pike language added, along with new Pike specific | |
5459 syntactic symbols: inlambda, lambda-intro-cont | |
5460 | |
5461 *** Support for Java anonymous classes via new syntactic symbol | |
5462 inexpr-class. New syntactic symbol inexpr-statement for Pike | |
5463 support and gcc-style statements inside expressions. New lineup | |
5464 function c-lineup-inexpr-block. | |
5465 | |
5466 *** New syntactic symbol brace-entry-open which is used in brace lists | |
5467 (i.e. static initializers) when a list entry starts with an open | |
5468 brace. These used to be recognized as brace-list-entry's. | |
5469 c-electric-brace also recognizes brace-entry-open braces | |
5470 (brace-list-entry's can no longer be electrified). | |
5471 | |
5472 *** New command c-indent-line-or-region, not bound by default. | |
5473 | |
5474 *** `#' is only electric when typed in the indentation of a line. | |
5475 | |
5476 *** Parentheses are now electric (via the new command c-electric-paren) | |
5477 for auto-reindenting lines when parens are typed. | |
5478 | |
5479 *** In "gnu" style, inline-open offset is now set to zero. | |
5480 | |
5481 *** Uniform handling of the inclass syntactic symbol. The indentation | |
5482 associated with it is now always relative to the class opening brace. | |
5483 This means that the indentation behavior has changed in some | |
5484 circumstances, but only if you've put anything besides 0 on the | |
5485 class-open syntactic symbol (none of the default styles do that). | |
5486 | |
5487 ** Gnus changes. | |
5488 | |
5489 *** New functionality for using Gnus as an offline newsreader has been | |
5490 added. A plethora of new commands and modes have been added. See the | |
5491 Gnus manual for the full story. | |
5492 | |
5493 *** The nndraft backend has returned, but works differently than | |
5494 before. All Message buffers are now also articles in the nndraft | |
5495 group, which is created automatically. | |
5496 | |
5497 *** `gnus-alter-header-function' can now be used to alter header | |
5498 values. | |
5499 | |
5500 *** `gnus-summary-goto-article' now accept Message-ID's. | |
5501 | |
5502 *** A new Message command for deleting text in the body of a message | |
5503 outside the region: `C-c C-v'. | |
5504 | |
5505 *** You can now post to component group in nnvirtual groups with | |
5506 `C-u C-c C-c'. | |
5507 | |
5508 *** `nntp-rlogin-program' -- new variable to ease customization. | |
5509 | |
5510 *** `C-u C-c C-c' in `gnus-article-edit-mode' will now inhibit | |
5511 re-highlighting of the article buffer. | |
5512 | |
5513 *** New element in `gnus-boring-article-headers' -- `long-to'. | |
5514 | |
5515 *** `M-i' symbolic prefix command. See the section "Symbolic | |
5516 Prefixes" in the Gnus manual for details. | |
5517 | |
5518 *** `L' and `I' in the summary buffer now take the symbolic prefix | |
5519 `a' to add the score rule to the "all.SCORE" file. | |
5520 | |
5521 *** `gnus-simplify-subject-functions' variable to allow greater | |
5522 control over simplification. | |
5523 | |
5524 *** `A T' -- new command for fetching the current thread. | |
5525 | |
5526 *** `/ T' -- new command for including the current thread in the | |
5527 limit. | |
5528 | |
5529 *** `M-RET' is a new Message command for breaking cited text. | |
5530 | |
5531 *** \\1-expressions are now valid in `nnmail-split-methods'. | |
5532 | |
5533 *** The `custom-face-lookup' function has been removed. | |
5534 If you used this function in your initialization files, you must | |
5535 rewrite them to use `face-spec-set' instead. | |
5536 | |
35680 | 5537 *** Canceling now uses the current select method. Symbolic prefix |
30922 | 5538 `a' forces normal posting method. |
5539 | |
5540 *** New command to translate M******** sm*rtq**t*s into proper text | |
5541 -- `W d'. | |
5542 | |
5543 *** For easier debugging of nntp, you can set `nntp-record-commands' | |
5544 to a non-nil value. | |
5545 | |
5546 *** nntp now uses ~/.authinfo, a .netrc-like file, for controlling | |
5547 where and how to send AUTHINFO to NNTP servers. | |
5548 | |
5549 *** A command for editing group parameters from the summary buffer | |
5550 has been added. | |
5551 | |
5552 *** A history of where mails have been split is available. | |
5553 | |
5554 *** A new article date command has been added -- `article-date-iso8601'. | |
5555 | |
5556 *** Subjects can be simplified when threading by setting | |
5557 `gnus-score-thread-simplify'. | |
5558 | |
5559 *** A new function for citing in Message has been added -- | |
5560 `message-cite-original-without-signature'. | |
5561 | |
5562 *** `article-strip-all-blank-lines' -- new article command. | |
5563 | |
5564 *** A new Message command to kill to the end of the article has | |
5565 been added. | |
5566 | |
5567 *** A minimum adaptive score can be specified by using the | |
5568 `gnus-adaptive-word-minimum' variable. | |
5569 | |
5570 *** The "lapsed date" article header can be kept continually | |
5571 updated by the `gnus-start-date-timer' command. | |
5572 | |
5573 *** Web listserv archives can be read with the nnlistserv backend. | |
5574 | |
5575 *** Old dejanews archives can now be read by nnweb. | |
5576 | |
5577 *** `gnus-posting-styles' has been re-activated. | |
5578 | |
5579 ** Changes to TeX and LaTeX mode | |
5580 | |
5581 *** The new variable `tex-start-options-string' can be used to give | |
5582 options for the TeX run. The default value causes TeX to run in | |
5583 nonstopmode. For an interactive TeX run set it to nil or "". | |
5584 | |
5585 *** The command `tex-feed-input' sends input to the Tex Shell. In a | |
5586 TeX buffer it is bound to the keys C-RET, C-c RET, and C-c C-m (some | |
5587 of these keys may not work on all systems). For instance, if you run | |
5588 TeX interactively and if the TeX run stops because of an error, you | |
5589 can continue it without leaving the TeX buffer by typing C-RET. | |
5590 | |
5591 *** The Tex Shell Buffer is now in `compilation-shell-minor-mode'. | |
5592 All error-parsing commands of the Compilation major mode are available | |
5593 but bound to keys that don't collide with the shell. Thus you can use | |
5594 the Tex Shell for command line executions like a usual shell. | |
5595 | |
5596 *** The commands `tex-validate-region' and `tex-validate-buffer' check | |
5597 the matching of braces and $'s. The errors are listed in a *Occur* | |
5598 buffer and you can use C-c C-c or mouse-2 to go to a particular | |
5599 mismatch. | |
5600 | |
5601 ** Changes to RefTeX mode | |
5602 | |
5603 *** The table of contents buffer can now also display labels and | |
5604 file boundaries in addition to sections. Use `l', `i', and `c' keys. | |
5605 | |
5606 *** Labels derived from context (the section heading) are now | |
5607 lowercase by default. To make the label legal in LaTeX, latin-1 | |
5608 characters will lose their accent. All Mule characters will be | |
5609 removed from the label. | |
5610 | |
5611 *** The automatic display of cross reference information can also use | |
5612 a window instead of the echo area. See variable `reftex-auto-view-crossref'. | |
5613 | |
5614 *** kpsewhich can be used by RefTeX to find TeX and BibTeX files. See the | |
5615 customization group `reftex-finding-files'. | |
5616 | |
5617 *** The option `reftex-bibfile-ignore-list' has been renamed to | |
5618 `reftex-bibfile-ignore-regexps' and indeed can be fed with regular | |
5619 expressions. | |
5620 | |
5621 *** Multiple Selection buffers are now hidden buffers. | |
5622 | |
5623 ** New/deleted modes and packages | |
5624 | |
5625 *** The package snmp-mode.el provides major modes for editing SNMP and | |
5626 SNMPv2 MIBs. It has entries on `auto-mode-alist'. | |
5627 | |
5628 *** The package sql.el provides a major mode, M-x sql-mode, for | |
5629 editing SQL files, and M-x sql-interactive-mode for interacting with | |
5630 SQL interpreters. It has an entry on `auto-mode-alist'. | |
5631 | |
5632 *** M-x highlight-changes-mode provides a minor mode displaying buffer | |
5633 changes with a special face. | |
5634 | |
5635 *** ispell4.el has been deleted. It got in the way of ispell.el and | |
5636 this was hard to fix reliably. It has long been obsolete -- use | |
5637 Ispell 3.1 and ispell.el. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5638 |
30922 | 5639 * MS-DOS changes in Emacs 20.4 |
5640 | |
5641 ** Emacs compiled for MS-DOS now supports MULE features better. | |
5642 This includes support for display of all ISO 8859-N character sets, | |
5643 conversion to and from IBM codepage encoding of non-ASCII characters, | |
5644 and automatic setup of the MULE environment at startup. For details, | |
5645 check out the section `MS-DOS and MULE' in the manual. | |
5646 | |
5647 The MS-DOS installation procedure automatically configures and builds | |
5648 Emacs with input method support if it finds an unpacked Leim | |
5649 distribution when the config.bat script is run. | |
5650 | |
5651 ** Formerly, the value of lpr-command did not affect printing on | |
5652 MS-DOS unless print-region-function was set to nil, but now it | |
5653 controls whether an external program is invoked or output is written | |
5654 directly to a printer port. Similarly, in the previous version of | |
5655 Emacs, the value of ps-lpr-command did not affect PostScript printing | |
5656 on MS-DOS unless ps-printer-name was set to something other than a | |
5657 string (eg. t or `pipe'), but now it controls whether an external | |
5658 program is used. (These changes were made so that configuration of | |
5659 printing variables would be almost identical across all platforms.) | |
5660 | |
5661 ** In the previous version of Emacs, PostScript and non-PostScript | |
5662 output was piped to external programs, but because most print programs | |
5663 available for MS-DOS and MS-Windows cannot read data from their standard | |
5664 input, on those systems the data to be output is now written to a | |
5665 temporary file whose name is passed as the last argument to the external | |
5666 program. | |
5667 | |
5668 An exception is made for `print', a standard program on Windows NT, | |
5669 and `nprint', a standard program on Novell Netware. For both of these | |
5670 programs, the command line is constructed in the appropriate syntax | |
5671 automatically, using only the value of printer-name or ps-printer-name | |
5672 as appropriate--the value of the relevant `-switches' variable is | |
5673 ignored, as both programs have no useful switches. | |
5674 | |
5675 ** The value of the variable dos-printer (cf. dos-ps-printer), if it has | |
5676 a value, overrides the value of printer-name (cf. ps-printer-name), on | |
5677 MS-DOS and MS-Windows only. This has been true since version 20.3, but | |
5678 was not documented clearly before. | |
5679 | |
5680 ** All the Emacs games now work on MS-DOS terminals. | |
5681 This includes Tetris and Snake. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5682 |
30922 | 5683 * Lisp changes in Emacs 20.4 |
5684 | |
5685 ** New functions line-beginning-position and line-end-position | |
5686 return the position of the beginning or end of the current line. | |
5687 They both accept an optional argument, which has the same | |
5688 meaning as the argument to beginning-of-line or end-of-line. | |
5689 | |
5690 ** find-file and allied functions now have an optional argument | |
5691 WILDCARD. If this is non-nil, they do wildcard processing, | |
5692 and visit all files that match the wildcard pattern. | |
5693 | |
5694 ** Changes in the file-attributes function. | |
5695 | |
5696 *** The file size returned by file-attributes may be an integer or a float. | |
5697 It is an integer if the size fits in a Lisp integer, float otherwise. | |
5698 | |
5699 *** The inode number returned by file-attributes may be an integer (if | |
5700 the number fits in a Lisp integer) or a cons cell containing two | |
5701 integers. | |
5702 | |
5703 ** The new function directory-files-and-attributes returns a list of | |
5704 files in a directory and their attributes. It accepts the same | |
5705 arguments as directory-files and has similar semantics, except that | |
5706 file names and attributes are returned. | |
5707 | |
5708 ** The new function file-attributes-lessp is a helper function for | |
5709 sorting the list generated by directory-files-and-attributes. It | |
35680 | 5710 accepts two arguments, each a list of a file name and its attributes. |
30922 | 5711 It compares the file names of each according to string-lessp and |
5712 returns the result. | |
5713 | |
5714 ** The new function file-expand-wildcards expands a wildcard-pattern | |
5715 to produce a list of existing files that match the pattern. | |
5716 | |
5717 ** New functions for base64 conversion: | |
5718 | |
5719 The function base64-encode-region converts a part of the buffer | |
5720 into the base64 code used in MIME. base64-decode-region | |
5721 performs the opposite conversion. Line-breaking is supported | |
5722 optionally. | |
5723 | |
5724 Functions base64-encode-string and base64-decode-string do a similar | |
5725 job on the text in a string. They return the value as a new string. | |
5726 | |
5727 ** | |
5728 The new function process-running-child-p | |
5729 will tell you if a subprocess has given control of its | |
5730 terminal to its own child process. | |
5731 | |
5732 ** interrupt-process and such functions have a new feature: | |
5733 when the second argument is `lambda', they send a signal | |
5734 to the running child of the subshell, if any, but if the shell | |
5735 itself owns its terminal, no signal is sent. | |
5736 | |
5737 ** There are new widget types `plist' and `alist' which can | |
5738 be used for customizing variables whose values are plists or alists. | |
5739 | |
5740 ** easymenu.el Now understands `:key-sequence' and `:style button'. | |
5741 :included is an alias for :visible. | |
5742 | |
5743 easy-menu-add-item now understands the values returned by | |
5744 easy-menu-remove-item and easy-menu-item-present-p. This can be used | |
5745 to move or copy menu entries. | |
5746 | |
5747 ** Multibyte editing changes | |
5748 | |
5749 *** The definitions of sref and char-bytes are changed. Now, sref is | |
5750 an alias of aref and char-bytes always returns 1. This change is to | |
5751 make some Emacs Lisp code which works on 20.2 and earlier also | |
5752 work on the latest Emacs. Such code uses a combination of sref and | |
5753 char-bytes in a loop typically as below: | |
5754 (setq char (sref str idx) | |
5755 idx (+ idx (char-bytes idx))) | |
5756 The byte-compiler now warns that this is obsolete. | |
5757 | |
5758 If you want to know how many bytes a specific multibyte character | |
5759 (say, CH) occupies in a multibyte buffer, use this code: | |
5760 (charset-bytes (char-charset ch)) | |
5761 | |
5762 *** In multibyte mode, when you narrow a buffer to some region, and the | |
5763 region is preceded or followed by non-ASCII codes, inserting or | |
5764 deleting at the head or the end of the region may signal this error: | |
5765 | |
35680 | 5766 Byte combining across boundary of accessible buffer text inhibited |
30922 | 5767 |
5768 This is to avoid some bytes being combined together into a character | |
5769 across the boundary. | |
5770 | |
5771 *** The functions find-charset-region and find-charset-string include | |
5772 `unknown' in the returned list in the following cases: | |
5773 o The current buffer or the target string is unibyte and | |
5774 contains 8-bit characters. | |
5775 o The current buffer or the target string is multibyte and | |
5776 contains invalid characters. | |
5777 | |
5778 *** The functions decode-coding-region and encode-coding-region remove | |
5779 text properties of the target region. Ideally, they should correctly | |
5780 preserve text properties, but for the moment, it's hard. Removing | |
5781 text properties is better than preserving them in a less-than-correct | |
5782 way. | |
5783 | |
5784 *** prefer-coding-system sets EOL conversion of default coding systems. | |
5785 If the argument to prefer-coding-system specifies a certain type of | |
5786 end of line conversion, the default coding systems set by | |
5787 prefer-coding-system will specify that conversion type for end of line. | |
5788 | |
5789 *** The new function thai-compose-string can be used to properly | |
5790 compose Thai characters in a string. | |
5791 | |
5792 ** The primitive `define-prefix-command' now takes an optional third | |
5793 argument NAME, which should be a string. It supplies the menu name | |
5794 for the created keymap. Keymaps created in order to be displayed as | |
5795 menus should always use the third argument. | |
5796 | |
5797 ** The meanings of optional second arguments for read-char, | |
5798 read-event, and read-char-exclusive are flipped. Now the second | |
5799 arguments are INHERIT-INPUT-METHOD. These functions use the current | |
5800 input method (if any) if and only if INHERIT-INPUT-METHOD is non-nil. | |
5801 | |
5802 ** The new function clear-this-command-keys empties out the contents | |
5803 of the vector that (this-command-keys) returns. This is useful in | |
5804 programs that read passwords, to prevent the passwords from echoing | |
5805 inadvertently as part of the next command in certain cases. | |
5806 | |
5807 ** The new macro `with-temp-message' displays a temporary message in | |
5808 the echo area, while executing some Lisp code. Like `progn', it | |
5809 returns the value of the last form, but it also restores the previous | |
5810 echo area contents. | |
5811 | |
5812 (with-temp-message MESSAGE &rest BODY) | |
5813 | |
5814 ** The function `require' now takes an optional third argument | |
5815 NOERROR. If it is non-nil, then there is no error if the | |
5816 requested feature cannot be loaded. | |
5817 | |
5818 ** In the function modify-face, an argument of (nil) for the | |
5819 foreground color, background color or stipple pattern | |
5820 means to clear out that attribute. | |
5821 | |
5822 ** The `outer-window-id' frame property of an X frame | |
5823 gives the window number of the outermost X window for the frame. | |
5824 | |
5825 ** Temporary buffers made with with-output-to-temp-buffer are now | |
5826 read-only by default, and normally use the major mode Help mode | |
5827 unless you put them in some other non-Fundamental mode before the | |
5828 end of with-output-to-temp-buffer. | |
5829 | |
5830 ** The new functions gap-position and gap-size return information on | |
5831 the gap of the current buffer. | |
5832 | |
5833 ** The new functions position-bytes and byte-to-position provide a way | |
5834 to convert between character positions and byte positions in the | |
5835 current buffer. | |
5836 | |
5837 ** vc.el defines two new macros, `edit-vc-file' and `with-vc-file', to | |
5838 facilitate working with version-controlled files from Lisp programs. | |
5839 These macros check out a given file automatically if needed, and check | |
5840 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
|
5841 |
30922 | 5842 * Installation Changes in Emacs 20.3 |
5843 | |
5844 ** The default value of load-path now includes most subdirectories of | |
5845 the site-specific directories /usr/local/share/emacs/site-lisp and | |
5846 /usr/local/share/emacs/VERSION/site-lisp, in addition to those | |
5847 directories themselves. Both immediate subdirectories and | |
5848 subdirectories multiple levels down are added to load-path. | |
5849 | |
5850 Not all subdirectories are included, though. Subdirectories whose | |
5851 names do not start with a letter or digit are excluded. | |
5852 Subdirectories named RCS or CVS are excluded. Also, a subdirectory | |
5853 which contains a file named `.nosearch' is excluded. You can use | |
5854 these methods to prevent certain subdirectories from being searched. | |
5855 | |
5856 Emacs finds these subdirectories and adds them to load-path when it | |
5857 starts up. While it would be cleaner to find the subdirectories each | |
5858 time Emacs loads a file, that would be much slower. | |
5859 | |
5860 This feature is an incompatible change. If you have stored some Emacs | |
5861 Lisp files in a subdirectory of the site-lisp directory specifically | |
5862 to prevent them from being used, you will need to rename the | |
5863 subdirectory to start with a non-alphanumeric character, or create a | |
5864 `.nosearch' file in it, in order to continue to achieve the desired | |
5865 results. | |
5866 | |
5867 ** Emacs no longer includes an old version of the C preprocessor from | |
5868 GCC. This was formerly used to help compile Emacs with C compilers | |
5869 that had limits on the significant length of an identifier, but in | |
5870 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
|
5871 |
30922 | 5872 * Changes in Emacs 20.3 |
5873 | |
5874 ** The new command C-x z (repeat) repeats the previous command | |
5875 including its argument. If you repeat the z afterward, | |
5876 it repeats the command additional times; thus, you can | |
5877 perform many repetitions with one keystroke per repetition. | |
5878 | |
5879 ** Emacs now supports "selective undo" which undoes only within a | |
5880 specified region. To do this, set point and mark around the desired | |
5881 region and type C-u C-x u (or C-u C-_). You can then continue undoing | |
5882 further, within the same region, by repeating the ordinary undo | |
5883 command C-x u or C-_. This will keep undoing changes that were made | |
5884 within the region you originally specified, until either all of them | |
5885 are undone, or it encounters a change which crosses the edge of that | |
5886 region. | |
5887 | |
5888 In Transient Mark mode, undoing when a region is active requests | |
5889 selective undo. | |
5890 | |
5891 ** If you specify --unibyte when starting Emacs, then all buffers are | |
5892 unibyte, except when a Lisp program specifically creates a multibyte | |
5893 buffer. Setting the environment variable EMACS_UNIBYTE has the same | |
5894 effect. The --no-unibyte option overrides EMACS_UNIBYTE and directs | |
5895 Emacs to run normally in multibyte mode. | |
5896 | |
5897 The option --unibyte does not affect the reading of Emacs Lisp files, | |
5898 though. If you want a Lisp file to be read in unibyte mode, use | |
5899 -*-unibyte: t;-*- on its first line. That will force Emacs to | |
5900 load that file in unibyte mode, regardless of how Emacs was started. | |
5901 | |
5902 ** toggle-enable-multibyte-characters no longer has a key binding and | |
5903 no longer appears in the menu bar. We've realized that changing the | |
5904 enable-multibyte-characters variable in an existing buffer is | |
5905 something that most users not do. | |
5906 | |
5907 ** You can specify a coding system to use for the next cut or paste | |
5908 operations through the window system with the command C-x RET X. | |
5909 The coding system can make a difference for communication with other | |
5910 applications. | |
5911 | |
5912 C-x RET x specifies a coding system for all subsequent cutting and | |
5913 pasting operations. | |
5914 | |
5915 ** You can specify the printer to use for commands that do printing by | |
5916 setting the variable `printer-name'. Just what a printer name looks | |
5917 like depends on your operating system. You can specify a different | |
5918 printer for the Postscript printing commands by setting | |
5919 `ps-printer-name'. | |
5920 | |
5921 ** Emacs now supports on-the-fly spell checking by the means of a | |
5922 minor mode. It is called M-x flyspell-mode. You don't have to remember | |
5923 any other special commands to use it, and you will hardly notice it | |
5924 except when you make a spelling error. Flyspell works by highlighting | |
5925 incorrect words as soon as they are completed or as soon as the cursor | |
5926 hits a new word. | |
5927 | |
5928 Flyspell mode works with whichever dictionary you have selected for | |
5929 Ispell in Emacs. In TeX mode, it understands TeX syntax so as not | |
5930 to be confused by TeX commands. | |
5931 | |
5932 You can correct a misspelled word by editing it into something | |
5933 correct. You can also correct it, or accept it as correct, by | |
5934 clicking on the word with Mouse-2; that gives you a pop-up menu | |
5935 of various alternative replacements and actions. | |
5936 | |
5937 Flyspell mode also proposes "automatic" corrections. M-TAB replaces | |
5938 the current misspelled word with a possible correction. If several | |
5939 corrections are made possible, M-TAB cycles through them in | |
5940 alphabetical order, or in order of decreasing likelihood if | |
5941 flyspell-sort-corrections is nil. | |
5942 | |
5943 Flyspell mode also flags an error when a word is repeated, if | |
5944 flyspell-mark-duplications-flag is non-nil. | |
5945 | |
5946 ** Changes in input method usage. | |
5947 | |
5948 Now you can use arrow keys (right, left, down, up) for selecting among | |
5949 the alternatives just the same way as you do by C-f, C-b, C-n, and C-p | |
5950 respectively. | |
5951 | |
5952 You can use the ENTER key to accept the current conversion. | |
5953 | |
5954 If you type TAB to display a list of alternatives, you can select one | |
5955 of the alternatives with Mouse-2. | |
5956 | |
5957 The meaning of the variable `input-method-verbose-flag' is changed so | |
5958 that you can set it to t, nil, `default', or `complex-only'. | |
5959 | |
5960 If the value is nil, extra guidance is never given. | |
5961 | |
5962 If the value is t, extra guidance is always given. | |
5963 | |
5964 If the value is `complex-only', extra guidance is always given only | |
5965 when you are using complex input methods such as chinese-py. | |
5966 | |
5967 If the value is `default' (this is the default), extra guidance is | |
5968 given in the following case: | |
5969 o When you are using a complex input method. | |
5970 o When you are using a simple input method but not in the minibuffer. | |
5971 | |
5972 If you are using Emacs through a very slow line, setting | |
5973 input-method-verbose-flag to nil or to complex-only is a good choice, | |
5974 and if you are using an input method you are not familiar with, | |
5975 setting it to t is helpful. | |
5976 | |
5977 The old command select-input-method is now called set-input-method. | |
5978 | |
5979 In the language environment "Korean", you can use the following | |
5980 keys: | |
5981 Shift-SPC toggle-korean-input-method | |
5982 C-F9 quail-hangul-switch-symbol-ksc | |
5983 F9 quail-hangul-switch-hanja | |
5984 These key bindings are canceled when you switch to another language | |
5985 environment. | |
5986 | |
5987 ** The minibuffer history of file names now records the specified file | |
5988 names, not the entire minibuffer input. For example, if the | |
5989 minibuffer starts out with /usr/foo/, you might type in /etc/passwd to | |
5990 get | |
5991 | |
5992 /usr/foo//etc/passwd | |
5993 | |
5994 which stands for the file /etc/passwd. | |
5995 | |
5996 Formerly, this used to put /usr/foo//etc/passwd in the history list. | |
5997 Now this puts just /etc/passwd in the history list. | |
5998 | |
5999 ** If you are root, Emacs sets backup-by-copying-when-mismatch to t | |
6000 at startup, so that saving a file will be sure to preserve | |
6001 its owner and group. | |
6002 | |
6003 ** find-func.el can now also find the place of definition of Emacs | |
6004 Lisp variables in user-loaded libraries. | |
6005 | |
6006 ** C-x r t (string-rectangle) now deletes the existing rectangle | |
6007 contents before inserting the specified string on each line. | |
6008 | |
6009 ** There is a new command delete-whitespace-rectangle | |
6010 which deletes whitespace starting from a particular column | |
6011 in all the lines on a rectangle. The column is specified | |
6012 by the left edge of the rectangle. | |
6013 | |
6014 ** You can now store a number into a register with C-u NUMBER C-x r n REG, | |
6015 increment it by INC with C-u INC C-x r + REG (to increment by one, omit | |
6016 C-u INC), and insert it in the buffer with C-x r g REG. This is useful | |
6017 for writing keyboard macros. | |
6018 | |
6019 ** The new command M-x speedbar displays a frame in which directories, | |
6020 files, and tags can be displayed, manipulated, and jumped to. The | |
6021 frame defaults to 20 characters in width, and is the same height as | |
6022 the frame that it was started from. Some major modes define | |
6023 additional commands for the speedbar, including Rmail, GUD/GDB, and | |
6024 info. | |
6025 | |
6026 ** query-replace-regexp is now bound to C-M-%. | |
6027 | |
6028 ** In Transient Mark mode, when the region is active, M-x | |
6029 query-replace and the other replace commands now operate on the region | |
6030 contents only. | |
6031 | |
6032 ** M-x write-region, when used interactively, now asks for | |
6033 confirmation before overwriting an existing file. When you call | |
6034 the function from a Lisp program, a new optional argument CONFIRM | |
6035 says whether to ask for confirmation in this case. | |
6036 | |
6037 ** If you use find-file-literally and the file is already visited | |
6038 non-literally, the command asks you whether to revisit the file | |
6039 literally. If you say no, it signals an error. | |
6040 | |
6041 ** Major modes defined with the "derived mode" feature | |
6042 now use the proper name for the mode hook: WHATEVER-mode-hook. | |
6043 Formerly they used the name WHATEVER-mode-hooks, but that is | |
6044 inconsistent with Emacs conventions. | |
6045 | |
6046 ** shell-command-on-region (and shell-command) reports success or | |
6047 failure if the command produces no output. | |
6048 | |
6049 ** Set focus-follows-mouse to nil if your window system or window | |
6050 manager does not transfer focus to another window when you just move | |
6051 the mouse. | |
6052 | |
6053 ** mouse-menu-buffer-maxlen has been renamed to | |
6054 mouse-buffer-menu-maxlen to be consistent with the other related | |
6055 function and variable names. | |
6056 | |
6057 ** The new variable auto-coding-alist specifies coding systems for | |
6058 reading specific files. This has higher priority than | |
6059 file-coding-system-alist. | |
6060 | |
6061 ** If you set the variable unibyte-display-via-language-environment to | |
6062 t, then Emacs displays non-ASCII characters are displayed by | |
6063 converting them to the equivalent multibyte characters according to | |
6064 the current language environment. As a result, they are displayed | |
6065 according to the current fontset. | |
6066 | |
6067 ** C-q's handling of codes in the range 0200 through 0377 is changed. | |
6068 | |
6069 The codes in the range 0200 through 0237 are inserted as one byte of | |
6070 that code regardless of the values of nonascii-translation-table and | |
6071 nonascii-insert-offset. | |
6072 | |
6073 For the codes in the range 0240 through 0377, if | |
6074 enable-multibyte-characters is non-nil and nonascii-translation-table | |
6075 nor nonascii-insert-offset can't convert them to valid multibyte | |
6076 characters, they are converted to Latin-1 characters. | |
6077 | |
6078 ** If you try to find a file that is not read-accessible, you now get | |
6079 an error, rather than an empty buffer and a warning. | |
6080 | |
6081 ** In the minibuffer history commands M-r and M-s, an upper case | |
6082 letter in the regular expression forces case-sensitive search. | |
6083 | |
6084 ** In the *Help* buffer, cross-references to commands and variables | |
6085 are inferred and hyperlinked. Use C-h m in Help mode for the relevant | |
6086 command keys. | |
6087 | |
6088 ** M-x apropos-command, with a prefix argument, no longer looks for | |
6089 user option variables--instead it looks for noninteractive functions. | |
6090 | |
6091 Meanwhile, the command apropos-variable normally searches for | |
6092 user option variables; with a prefix argument, it looks at | |
6093 all variables that have documentation. | |
6094 | |
6095 ** When you type a long line in the minibuffer, and the minibuffer | |
6096 shows just one line, automatically scrolling works in a special way | |
6097 that shows you overlap with the previous line of text. The variable | |
6098 minibuffer-scroll-overlap controls how many characters of overlap | |
6099 it should show; the default is 20. | |
6100 | |
6101 Meanwhile, Resize Minibuffer mode is still available; in that mode, | |
6102 the minibuffer grows taller (up to a point) as needed to show the whole | |
6103 of your input. | |
6104 | |
6105 ** The new command M-x customize-changed-options lets you customize | |
6106 all the options whose meanings or default values have changed in | |
6107 recent Emacs versions. You specify a previous Emacs version number as | |
6108 argument, and the command creates a customization buffer showing all | |
6109 the customizable options which were changed since that version. | |
6110 Newly added options are included as well. | |
6111 | |
6112 If you don't specify a particular version number argument, | |
6113 then the customization buffer shows all the customizable options | |
6114 for which Emacs versions of changes are recorded. | |
6115 | |
6116 This function is also bound to the Changed Options entry in the | |
6117 Customize menu. | |
6118 | |
6119 ** When you run M-x grep with a prefix argument, it figures out | |
6120 the tag around point and puts that into the default grep command. | |
6121 | |
6122 ** The new command M-* (pop-tag-mark) pops back through a history of | |
6123 buffer positions from which M-. or other tag-finding commands were | |
6124 invoked. | |
6125 | |
6126 ** The new variable comment-padding specifies the number of spaces | |
6127 that `comment-region' will insert before the actual text of the comment. | |
6128 The default is 1. | |
6129 | |
6130 ** In Fortran mode the characters `.', `_' and `$' now have symbol | |
6131 syntax, not word syntax. Fortran mode now supports `imenu' and has | |
6132 new commands fortran-join-line (M-^) and fortran-narrow-to-subprogram | |
6133 (C-x n d). M-q can be used to fill a statement or comment block | |
6134 sensibly. | |
6135 | |
6136 ** GUD now supports jdb, the Java debugger, and pdb, the Python debugger. | |
6137 | |
6138 ** If you set the variable add-log-keep-changes-together to a non-nil | |
6139 value, the command `C-x 4 a' will automatically notice when you make | |
6140 two entries in one day for one file, and combine them. | |
6141 | |
6142 ** You can use the command M-x diary-mail-entries to mail yourself a | |
6143 reminder about upcoming diary entries. See the documentation string | |
6144 for a sample shell script for calling this function automatically | |
6145 every night. | |
6146 | |
6147 ** Desktop changes | |
6148 | |
6149 *** All you need to do to enable use of the Desktop package, is to set | |
6150 the variable desktop-enable to t with Custom. | |
6151 | |
6152 *** Minor modes are now restored. Which minor modes are restored | |
6153 and how modes are restored is controlled by `desktop-minor-mode-table'. | |
6154 | |
6155 ** There is no need to do anything special, now, to enable Gnus to | |
6156 read and post multi-lingual articles. | |
6157 | |
6158 ** Outline mode has now support for showing hidden outlines when | |
6159 doing an isearch. In order for this to happen search-invisible should | |
6160 be set to open (the default). If an isearch match is inside a hidden | |
6161 outline the outline is made visible. If you continue pressing C-s and | |
6162 the match moves outside the formerly invisible outline, the outline is | |
6163 made invisible again. | |
6164 | |
6165 ** Mail reading and sending changes | |
6166 | |
6167 *** The Rmail e command now switches to displaying the whole header of | |
6168 the message before it lets you edit the message. This is so that any | |
6169 changes you make in the header will not be lost if you subsequently | |
6170 toggle. | |
6171 | |
6172 *** The w command in Rmail, which writes the message body into a file, | |
6173 now works in the summary buffer as well. (The command to delete the | |
6174 summary buffer is now Q.) The default file name for the w command, if | |
6175 the message has no subject, is stored in the variable | |
6176 rmail-default-body-file. | |
6177 | |
6178 *** Most of the commands and modes that operate on mail and netnews no | |
6179 longer depend on the value of mail-header-separator. Instead, they | |
6180 handle whatever separator the buffer happens to use. | |
6181 | |
6182 *** If you set mail-signature to a value which is not t, nil, or a string, | |
6183 it should be an expression. When you send a message, this expression | |
6184 is evaluated to insert the signature. | |
6185 | |
6186 *** The new Lisp library feedmail.el (version 8) enhances processing of | |
6187 outbound email messages. It works in coordination with other email | |
6188 handling packages (e.g., rmail, VM, gnus) and is responsible for | |
6189 putting final touches on messages and actually submitting them for | |
6190 transmission. Users of the emacs program "fakemail" might be | |
6191 especially interested in trying feedmail. | |
6192 | |
6193 feedmail is not enabled by default. See comments at the top of | |
6194 feedmail.el for set-up instructions. Among the bigger features | |
6195 provided by feedmail are: | |
6196 | |
6197 **** you can park outgoing messages into a disk-based queue and | |
6198 stimulate sending some or all of them later (handy for laptop users); | |
6199 there is also a queue for draft messages | |
6200 | |
6201 **** you can get one last look at the prepped outbound message and | |
6202 be prompted for confirmation | |
6203 | |
6204 **** does smart filling of address headers | |
6205 | |
6206 **** can generate a MESSAGE-ID: line and a DATE: line; the date can be | |
6207 the time the message was written or the time it is being sent; this | |
6208 can make FCC copies more closely resemble copies that recipients get | |
6209 | |
6210 **** you can specify an arbitrary function for actually transmitting | |
6211 the message; included in feedmail are interfaces for /bin/[r]mail, | |
6212 /usr/lib/sendmail, and elisp smtpmail; it's easy to write a new | |
6213 function for something else (10-20 lines of elisp) | |
6214 | |
6215 ** Dired changes | |
6216 | |
6217 *** The Dired function dired-do-toggle, which toggles marked and unmarked | |
6218 files, is now bound to "t" instead of "T". | |
6219 | |
6220 *** dired-at-point has been added to ffap.el. It allows one to easily | |
6221 run Dired on the directory name at point. | |
6222 | |
6223 *** Dired has a new command: %g. It searches the contents of | |
6224 files in the directory and marks each file that contains a match | |
6225 for a specified regexp. | |
6226 | |
6227 ** VC Changes | |
6228 | |
6229 *** New option vc-ignore-vc-files lets you turn off version control | |
6230 conveniently. | |
6231 | |
6232 *** VC Dired has been completely rewritten. It is now much | |
6233 faster, especially for CVS, and works very similar to ordinary | |
6234 Dired. | |
6235 | |
6236 VC Dired is invoked by typing C-x v d and entering the name of the | |
6237 directory to display. By default, VC Dired gives you a recursive | |
6238 listing of all files at or below the given directory which are | |
6239 currently locked (for CVS, all files not up-to-date are shown). | |
6240 | |
6241 You can change the listing format by setting vc-dired-recurse to nil, | |
6242 then it shows only the given directory, and you may also set | |
6243 vc-dired-terse-display to nil, then it shows all files under version | |
6244 control plus the names of any subdirectories, so that you can type `i' | |
6245 on such lines to insert them manually, as in ordinary Dired. | |
6246 | |
6247 All Dired commands operate normally in VC Dired, except for `v', which | |
6248 is redefined as the version control prefix. That means you may type | |
6249 `v l', `v =' etc. to invoke `vc-print-log', `vc-diff' and the like on | |
6250 the file named in the current Dired buffer line. `v v' invokes | |
6251 `vc-next-action' on this file, or on all files currently marked. | |
6252 | |
6253 The new command `v t' (vc-dired-toggle-terse-mode) allows you to | |
6254 toggle between terse display (only locked files) and full display (all | |
6255 VC files plus subdirectories). There is also a special command, | |
6256 `* l', to mark all files currently locked. | |
6257 | |
6258 Giving a prefix argument to C-x v d now does the same thing as in | |
6259 ordinary Dired: it allows you to supply additional options for the ls | |
6260 command in the minibuffer, to fine-tune VC Dired's output. | |
6261 | |
6262 *** Under CVS, if you merge changes from the repository into a working | |
6263 file, and CVS detects conflicts, VC now offers to start an ediff | |
6264 session to resolve them. | |
6265 | |
6266 Alternatively, you can use the new command `vc-resolve-conflicts' to | |
6267 resolve conflicts in a file at any time. It works in any buffer that | |
6268 contains conflict markers as generated by rcsmerge (which is what CVS | |
6269 uses as well). | |
6270 | |
6271 *** You can now transfer changes between branches, using the new | |
6272 command vc-merge (C-x v m). It is implemented for RCS and CVS. When | |
6273 you invoke it in a buffer under version-control, you can specify | |
6274 either an entire branch or a pair of versions, and the changes on that | |
6275 branch or between the two versions are merged into the working file. | |
6276 If this results in any conflicts, they may be resolved interactively, | |
6277 using ediff. | |
6278 | |
6279 ** Changes in Font Lock | |
6280 | |
6281 *** The face and variable previously known as font-lock-reference-face | |
6282 are now called font-lock-constant-face to better reflect their typical | |
6283 use for highlighting constants and labels. (Its face properties are | |
6284 unchanged.) The variable font-lock-reference-face remains for now for | |
6285 compatibility reasons, but its value is font-lock-constant-face. | |
6286 | |
6287 ** Frame name display changes | |
6288 | |
6289 *** The command set-frame-name lets you set the name of the current | |
6290 frame. You can use the new command select-frame-by-name to select and | |
6291 raise a frame; this is mostly useful on character-only terminals, or | |
6292 when many frames are invisible or iconified. | |
6293 | |
6294 *** On character-only terminal (not a window system), changing the | |
6295 frame name is now reflected on the mode line and in the Buffers/Frames | |
6296 menu. | |
6297 | |
6298 ** Comint (subshell) changes | |
6299 | |
6300 *** In Comint modes, the commands to kill, stop or interrupt a | |
6301 subjob now also kill pending input. This is for compatibility | |
6302 with ordinary shells, where the signal characters do this. | |
6303 | |
6304 *** There are new commands in Comint mode. | |
6305 | |
6306 C-c C-x fetches the "next" line from the input history; | |
6307 that is, the line after the last line you got. | |
6308 You can use this command to fetch successive lines, one by one. | |
6309 | |
6310 C-c SPC accumulates lines of input. More precisely, it arranges to | |
6311 send the current line together with the following line, when you send | |
6312 the following line. | |
6313 | |
6314 C-c C-a if repeated twice consecutively now moves to the process mark, | |
6315 which separates the pending input from the subprocess output and the | |
6316 previously sent input. | |
6317 | |
6318 C-c M-r now runs comint-previous-matching-input-from-input; | |
6319 it searches for a previous command, using the current pending input | |
6320 as the search string. | |
6321 | |
6322 *** New option compilation-scroll-output can be set to scroll | |
6323 automatically in compilation-mode windows. | |
6324 | |
6325 ** C mode changes | |
6326 | |
6327 *** Multiline macros are now handled, both as they affect indentation, | |
6328 and as recognized syntax. New syntactic symbol cpp-macro-cont is | |
6329 assigned to second and subsequent lines of a multiline macro | |
6330 definition. | |
6331 | |
6332 *** A new style "user" which captures all non-hook-ified | |
6333 (i.e. top-level) .emacs file variable settings and customizations. | |
6334 Style "cc-mode" is an alias for "user" and is deprecated. "gnu" | |
6335 style is still the default however. | |
6336 | |
6337 *** "java" style now conforms to Sun's JDK coding style. | |
6338 | |
6339 *** There are new commands c-beginning-of-defun, c-end-of-defun which | |
6340 are alternatives which you could bind to C-M-a and C-M-e if you prefer | |
6341 them. They do not have key bindings by default. | |
6342 | |
6343 *** New and improved implementations of M-a (c-beginning-of-statement) | |
6344 and M-e (c-end-of-statement). | |
6345 | |
6346 *** C++ namespace blocks are supported, with new syntactic symbols | |
6347 namespace-open, namespace-close, and innamespace. | |
6348 | |
6349 *** File local variable settings of c-file-style and c-file-offsets | |
6350 makes the style variables local to that buffer only. | |
6351 | |
6352 *** New indentation functions c-lineup-close-paren, | |
6353 c-indent-one-line-block, c-lineup-dont-change. | |
6354 | |
6355 *** Improvements (hopefully!) to the way CC Mode is loaded. You | |
6356 should now be able to do a (require 'cc-mode) to get the entire | |
6357 package loaded properly for customization in your .emacs file. A new | |
6358 variable c-initialize-on-load controls this and is t by default. | |
6359 | |
6360 ** Changes to hippie-expand. | |
6361 | |
6362 *** New customization variable `hippie-expand-dabbrev-skip-space'. If | |
6363 non-nil, trailing spaces may be included in the abbreviation to search for, | |
6364 which then gives the same behavior as the original `dabbrev-expand'. | |
6365 | |
6366 *** New customization variable `hippie-expand-dabbrev-as-symbol'. If | |
6367 non-nil, characters of syntax '_' is considered part of the word when | |
6368 expanding dynamically. | |
6369 | |
6370 *** New customization variable `hippie-expand-no-restriction'. If | |
6371 non-nil, narrowed buffers are widened before they are searched. | |
6372 | |
6373 *** New customization variable `hippie-expand-only-buffers'. If | |
6374 non-empty, buffers searched are restricted to the types specified in | |
6375 this list. Useful for example when constructing new special-purpose | |
6376 expansion functions with `make-hippie-expand-function'. | |
6377 | |
6378 *** Text properties of the expansion are no longer copied. | |
6379 | |
6380 ** Changes in BibTeX mode. | |
6381 | |
6382 *** Any titleword matching a regexp in the new variable | |
6383 bibtex-autokey-titleword-ignore (case sensitive) is ignored during | |
6384 automatic key generation. This replaces variable | |
6385 bibtex-autokey-titleword-first-ignore, which only checked for matches | |
6386 against the first word in the title. | |
6387 | |
6388 *** Autokey generation now uses all words from the title, not just | |
6389 capitalized words. To avoid conflicts with existing customizations, | |
6390 bibtex-autokey-titleword-ignore is set up such that words starting with | |
6391 lowerkey characters will still be ignored. Thus, if you want to use | |
6392 lowercase words from the title, you will have to overwrite the | |
6393 bibtex-autokey-titleword-ignore standard setting. | |
6394 | |
6395 *** Case conversion of names and title words for automatic key | |
6396 generation is more flexible. Variable bibtex-autokey-preserve-case is | |
6397 replaced by bibtex-autokey-titleword-case-convert and | |
6398 bibtex-autokey-name-case-convert. | |
6399 | |
6400 ** Changes in vcursor.el. | |
6401 | |
6402 *** Support for character terminals is available: there is a new keymap | |
6403 and the vcursor will appear as an arrow between buffer text. A | |
6404 variable `vcursor-interpret-input' allows input from the vcursor to be | |
6405 entered exactly as if typed. Numerous functions, including | |
6406 `vcursor-compare-windows', have been rewritten to improve consistency | |
6407 in the selection of windows and corresponding keymaps. | |
6408 | |
6409 *** vcursor options can now be altered with M-x customize under the | |
6410 Editing group once the package is loaded. | |
6411 | |
6412 *** Loading vcursor now does not define keys by default, as this is | |
6413 generally a bad side effect. Use M-x customize to set | |
35680 | 6414 vcursor-key-bindings to t to restore the old behavior. |
30922 | 6415 |
6416 *** vcursor-auto-disable can be `copy', which turns off copying from the | |
6417 vcursor, but doesn't disable it, after any non-vcursor command. | |
6418 | |
6419 ** Ispell changes. | |
6420 | |
6421 *** You can now spell check comments and strings in the current | |
6422 buffer with M-x ispell-comments-and-strings. Comments and strings | |
6423 are identified by syntax tables in effect. | |
6424 | |
6425 *** Generic region skipping implemented. | |
6426 A single buffer can be broken into a number of regions where text will | |
6427 and will not be checked. The definitions of the regions can be user | |
6428 defined. New applications and improvements made available by this | |
6429 include: | |
6430 | |
6431 o URLs are automatically skipped | |
6432 o EMail message checking is vastly improved. | |
6433 | |
6434 *** Ispell can highlight the erroneous word even on non-window terminals. | |
6435 | |
6436 ** Changes to RefTeX mode | |
6437 | |
6438 RefTeX has been updated in order to make it more usable with very | |
6439 large projects (like a several volume math book). The parser has been | |
6440 re-written from scratch. To get maximum speed from RefTeX, check the | |
6441 section `Optimizations' in the manual. | |
6442 | |
6443 *** New recursive parser. | |
6444 | |
6445 The old version of RefTeX created a single large buffer containing the | |
6446 entire multifile document in order to parse the document. The new | |
6447 recursive parser scans the individual files. | |
6448 | |
6449 *** Parsing only part of a document. | |
6450 | |
6451 Reparsing of changed document parts can now be made faster by enabling | |
6452 partial scans. To use this feature, read the documentation string of | |
6453 the variable `reftex-enable-partial-scans' and set the variable to t. | |
6454 | |
6455 (setq reftex-enable-partial-scans t) | |
6456 | |
6457 *** Storing parsing information in a file. | |
6458 | |
6459 This can improve startup times considerably. To turn it on, use | |
6460 | |
6461 (setq reftex-save-parse-info t) | |
6462 | |
6463 *** Using multiple selection buffers | |
6464 | |
6465 If the creation of label selection buffers is too slow (this happens | |
6466 for large documents), you can reuse these buffers by setting | |
6467 | |
6468 (setq reftex-use-multiple-selection-buffers t) | |
6469 | |
6470 *** References to external documents. | |
6471 | |
6472 The LaTeX package `xr' allows to cross-reference labels in external | |
6473 documents. RefTeX can provide information about the external | |
6474 documents as well. To use this feature, set up the \externaldocument | |
6475 macros required by the `xr' package and rescan the document with | |
6476 RefTeX. The external labels can then be accessed with the `x' key in | |
6477 the selection buffer provided by `reftex-reference' (bound to `C-c )'). | |
6478 The `x' key also works in the table of contents buffer. | |
6479 | |
6480 *** Many more labeled LaTeX environments are recognized by default. | |
6481 | |
35680 | 6482 The built-in command list now covers all the standard LaTeX commands, |
30922 | 6483 and all of the major packages included in the LaTeX distribution. |
6484 | |
6485 Also, RefTeX now understands the \appendix macro and changes | |
6486 the enumeration of sections in the *toc* buffer accordingly. | |
6487 | |
6488 *** Mouse support for selection and *toc* buffers | |
6489 | |
6490 The mouse can now be used to select items in the selection and *toc* | |
6491 buffers. See also the new option `reftex-highlight-selection'. | |
6492 | |
6493 *** New keymaps for selection and table of contents modes. | |
6494 | |
6495 The selection processes for labels and citation keys, and the table of | |
6496 contents buffer now have their own keymaps: `reftex-select-label-map', | |
6497 `reftex-select-bib-map', `reftex-toc-map'. The selection processes | |
6498 have a number of new keys predefined. In particular, TAB lets you | |
6499 enter a label with completion. Check the on-the-fly help (press `?' | |
6500 at the selection prompt) or read the Info documentation to find out | |
6501 more. | |
6502 | |
6503 *** Support for the varioref package | |
6504 | |
6505 The `v' key in the label selection buffer toggles \ref versus \vref. | |
6506 | |
6507 *** New hooks | |
6508 | |
6509 Three new hooks can be used to redefine the way labels, references, | |
6510 and citations are created. These hooks are | |
6511 `reftex-format-label-function', `reftex-format-ref-function', | |
6512 `reftex-format-cite-function'. | |
6513 | |
6514 *** Citations outside LaTeX | |
6515 | |
6516 The command `reftex-citation' may also be used outside LaTeX (e.g. in | |
6517 a mail buffer). See the Info documentation for details. | |
6518 | |
6519 *** Short context is no longer fontified. | |
6520 | |
6521 The short context in the label menu no longer copies the | |
6522 fontification from the text in the buffer. If you prefer it to be | |
6523 fontified, use | |
6524 | |
6525 (setq reftex-refontify-context t) | |
6526 | |
6527 ** file-cache-minibuffer-complete now accepts a prefix argument. | |
6528 With a prefix argument, it does not try to do completion of | |
6529 the file name within its directory; it only checks for other | |
6530 directories that contain the same file name. | |
6531 | |
6532 Thus, given the file name Makefile, and assuming that a file | |
6533 Makefile.in exists in the same directory, ordinary | |
6534 file-cache-minibuffer-complete will try to complete Makefile to | |
6535 Makefile.in and will therefore never look for other directories that | |
6536 have Makefile. A prefix argument tells it not to look for longer | |
6537 names such as Makefile.in, so that instead it will look for other | |
6538 directories--just as if the name were already complete in its present | |
6539 directory. | |
6540 | |
6541 ** New modes and packages | |
6542 | |
6543 *** There is a new alternative major mode for Perl, Cperl mode. | |
6544 It has many more features than Perl mode, and some people prefer | |
6545 it, but some do not. | |
6546 | |
6547 *** There is a new major mode, M-x vhdl-mode, for editing files of VHDL | |
6548 code. | |
6549 | |
6550 *** M-x which-function-mode enables a minor mode that displays the | |
6551 current function name continuously in the mode line, as you move | |
6552 around in a buffer. | |
6553 | |
6554 Which Function mode is effective in major modes which support Imenu. | |
6555 | |
6556 *** Gametree is a major mode for editing game analysis trees. The author | |
6557 uses it for keeping notes about his postal Chess games, but it should | |
6558 be helpful for other two-player games as well, as long as they have an | |
6559 established system of notation similar to Chess. | |
6560 | |
6561 *** The new minor mode checkdoc-minor-mode provides Emacs Lisp | |
6562 documentation string checking for style and spelling. The style | |
6563 guidelines are found in the Emacs Lisp programming manual. | |
6564 | |
6565 *** The net-utils package makes some common networking features | |
6566 available in Emacs. Some of these functions are wrappers around | |
6567 system utilities (ping, nslookup, etc); others are implementations of | |
6568 simple protocols (finger, whois) in Emacs Lisp. There are also | |
6569 functions to make simple connections to TCP/IP ports for debugging and | |
6570 the like. | |
6571 | |
6572 *** highlight-changes-mode is a minor mode that uses colors to | |
6573 identify recently changed parts of the buffer text. | |
6574 | |
6575 *** The new package `midnight' lets you specify things to be done | |
6576 within Emacs at midnight--by default, kill buffers that you have not | |
6577 used in a considerable time. To use this feature, customize | |
6578 the user option `midnight-mode' to t. | |
6579 | |
6580 *** The file generic-x.el defines a number of simple major modes. | |
6581 | |
6582 apache-generic-mode: For Apache and NCSA httpd configuration files | |
6583 samba-generic-mode: Samba configuration files | |
6584 fvwm-generic-mode: For fvwm initialization files | |
6585 x-resource-generic-mode: For X resource files | |
6586 hosts-generic-mode: For hosts files (.rhosts, /etc/hosts, etc) | |
6587 mailagent-rules-generic-mode: For mailagent .rules files | |
6588 javascript-generic-mode: For JavaScript files | |
6589 vrml-generic-mode: For VRML files | |
6590 java-manifest-generic-mode: For Java MANIFEST files | |
6591 java-properties-generic-mode: For Java property files | |
6592 mailrc-generic-mode: For .mailrc files | |
6593 | |
6594 Platform-specific modes: | |
6595 | |
6596 prototype-generic-mode: For Solaris/Sys V prototype files | |
6597 pkginfo-generic-mode: For Solaris/Sys V pkginfo files | |
6598 alias-generic-mode: For C shell alias files | |
6599 inf-generic-mode: For MS-Windows INF files | |
6600 ini-generic-mode: For MS-Windows INI files | |
6601 reg-generic-mode: For MS-Windows Registry files | |
6602 bat-generic-mode: For MS-Windows BAT scripts | |
6603 rc-generic-mode: For MS-Windows Resource files | |
6604 rul-generic-mode: For InstallShield scripts | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6605 |
30922 | 6606 * Lisp changes in Emacs 20.3 since the Emacs Lisp Manual was published |
6607 | |
6608 ** If you want a Lisp file to be read in unibyte mode, | |
6609 use -*-unibyte: t;-*- on its first line. | |
6610 That will force Emacs to read that file in unibyte mode. | |
6611 Otherwise, the file will be loaded and byte-compiled in multibyte mode. | |
6612 | |
6613 Thus, each lisp file is read in a consistent way regardless of whether | |
6614 you started Emacs with --unibyte, so that a Lisp program gives | |
6615 consistent results regardless of how Emacs was started. | |
6616 | |
6617 ** The new function assoc-default is useful for searching an alist, | |
6618 and using a default value if the key is not found there. You can | |
6619 specify a comparison predicate, so this function is useful for | |
6620 searching comparing a string against an alist of regular expressions. | |
6621 | |
6622 ** The functions unibyte-char-to-multibyte and | |
6623 multibyte-char-to-unibyte convert between unibyte and multibyte | |
6624 character codes, in a way that is appropriate for the current language | |
6625 environment. | |
6626 | |
6627 ** The functions read-event, read-char and read-char-exclusive now | |
6628 take two optional arguments. PROMPT, if non-nil, specifies a prompt | |
6629 string. SUPPRESS-INPUT-METHOD, if non-nil, says to disable the | |
6630 current input method for reading this one event. | |
6631 | |
6632 ** Two new variables print-escape-nonascii and print-escape-multibyte | |
6633 now control whether to output certain characters as | |
6634 backslash-sequences. print-escape-nonascii applies to single-byte | |
6635 non-ASCII characters; print-escape-multibyte applies to multibyte | |
6636 characters. Both of these variables are used only when printing | |
6637 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
|
6638 |
30922 | 6639 * Lisp changes in Emacs 20.3 before the Emacs Lisp Manual was published |
6640 | |
6641 ** Compiled Emacs Lisp files made with the modified "MBSK" version | |
6642 of Emacs 20.2 do not work in Emacs 20.3. | |
6643 | |
6644 ** Buffer positions are now measured in characters, as they were | |
6645 in Emacs 19 and before. This means that (forward-char 1) | |
6646 always increases point by 1. | |
6647 | |
6648 The function chars-in-region now just subtracts its arguments. It is | |
6649 considered obsolete. The function char-boundary-p has been deleted. | |
6650 | |
6651 See below for additional changes relating to multibyte characters. | |
6652 | |
6653 ** defcustom, defface and defgroup now accept the keyword `:version'. | |
6654 Use this to specify in which version of Emacs a certain variable's | |
6655 default value changed. For example, | |
6656 | |
6657 (defcustom foo-max 34 "*Maximum number of foo's allowed." | |
6658 :type 'integer | |
6659 :group 'foo | |
6660 :version "20.3") | |
6661 | |
6662 (defgroup foo-group nil "The foo group." | |
6663 :version "20.3") | |
6664 | |
6665 If an entire new group is added or the variables in it have the | |
6666 default values changed, then just add a `:version' to that group. It | |
6667 is recommended that new packages added to the distribution contain a | |
6668 `:version' in the top level group. | |
6669 | |
6670 This information is used to control the customize-changed-options command. | |
6671 | |
6672 ** It is now an error to change the value of a symbol whose name | |
6673 starts with a colon--if it is interned in the standard obarray. | |
6674 | |
6675 However, setting such a symbol to its proper value, which is that | |
6676 symbol itself, is not an error. This is for the sake of programs that | |
6677 support previous Emacs versions by explicitly setting these variables | |
6678 to themselves. | |
6679 | |
6680 If you set the variable keyword-symbols-constant-flag to nil, | |
6681 this error is suppressed, and you can set these symbols to any | |
6682 values whatever. | |
6683 | |
6684 ** There is a new debugger command, R. | |
6685 It evaluates an expression like e, but saves the result | |
6686 in the buffer *Debugger-record*. | |
6687 | |
6688 ** Frame-local variables. | |
6689 | |
6690 You can now make a variable local to various frames. To do this, call | |
6691 the function make-variable-frame-local; this enables frames to have | |
6692 local bindings for that variable. | |
6693 | |
6694 These frame-local bindings are actually frame parameters: you create a | |
6695 frame-local binding in a specific frame by calling | |
6696 modify-frame-parameters and specifying the variable name as the | |
6697 parameter name. | |
6698 | |
6699 Buffer-local bindings take precedence over frame-local bindings. | |
6700 Thus, if the current buffer has a buffer-local binding, that binding is | |
6701 active; otherwise, if the selected frame has a frame-local binding, | |
6702 that binding is active; otherwise, the default binding is active. | |
6703 | |
6704 It would not be hard to implement window-local bindings, but it is not | |
6705 clear that this would be very useful; windows tend to come and go in a | |
6706 very transitory fashion, so that trying to produce any specific effect | |
6707 through a window-local binding would not be very robust. | |
6708 | |
6709 ** `sregexq' and `sregex' are two new functions for constructing | |
6710 "symbolic regular expressions." These are Lisp expressions that, when | |
6711 evaluated, yield conventional string-based regexps. The symbolic form | |
6712 makes it easier to construct, read, and maintain complex patterns. | |
6713 See the documentation in sregex.el. | |
6714 | |
6715 ** parse-partial-sexp's return value has an additional element which | |
6716 is used to pass information along if you pass it to another call to | |
6717 parse-partial-sexp, starting its scan where the first call ended. | |
6718 The contents of this field are not yet finalized. | |
6719 | |
6720 ** eval-region now accepts a fourth optional argument READ-FUNCTION. | |
6721 If it is non-nil, that function is used instead of `read'. | |
6722 | |
6723 ** unload-feature by default removes the feature's functions from | |
6724 known hooks to avoid trouble, but a package providing FEATURE can | |
6725 define a hook FEATURE-unload-hook to be run by unload-feature instead. | |
6726 | |
6727 ** read-from-minibuffer no longer returns the argument DEFAULT-VALUE | |
6728 when the user enters empty input. It now returns the null string, as | |
6729 it did in Emacs 19. The default value is made available in the | |
6730 history via M-n, but it is not applied here as a default. | |
6731 | |
6732 The other, more specialized minibuffer-reading functions continue to | |
6733 return the default value (not the null string) when the user enters | |
6734 empty input. | |
6735 | |
6736 ** The new variable read-buffer-function controls which routine to use | |
6737 for selecting buffers. For example, if you set this variable to | |
6738 `iswitchb-read-buffer', iswitchb will be used to read buffer names. | |
6739 Other functions can also be used if they accept the same arguments as | |
6740 `read-buffer' and return the selected buffer name as a string. | |
6741 | |
6742 ** The new function read-passwd reads a password from the terminal, | |
6743 echoing a period for each character typed. It takes three arguments: | |
6744 a prompt string, a flag which says "read it twice to make sure", and a | |
6745 default password to use if the user enters nothing. | |
6746 | |
6747 ** The variable fill-nobreak-predicate gives major modes a way to | |
6748 specify not to break a line at certain places. Its value is a | |
6749 function which is called with no arguments, with point located at the | |
6750 place where a break is being considered. If the function returns | |
6751 non-nil, then the line won't be broken there. | |
6752 | |
6753 ** window-end now takes an optional second argument, UPDATE. | |
6754 If this is non-nil, then the function always returns an accurate | |
6755 up-to-date value for the buffer position corresponding to the | |
6756 end of the window, even if this requires computation. | |
6757 | |
6758 ** other-buffer now takes an optional argument FRAME | |
6759 which specifies which frame's buffer list to use. | |
6760 If it is nil, that means use the selected frame's buffer list. | |
6761 | |
6762 ** The new variable buffer-display-time, always local in every buffer, | |
6763 holds the value of (current-time) as of the last time that a window | |
6764 was directed to display this buffer. | |
6765 | |
6766 ** It is now meaningful to compare two window-configuration objects | |
6767 with `equal'. Two window-configuration objects are equal if they | |
6768 describe equivalent arrangements of windows, in the same frame--in | |
6769 other words, if they would give the same results if passed to | |
6770 set-window-configuration. | |
6771 | |
6772 ** compare-window-configurations is a new function that compares two | |
6773 window configurations loosely. It ignores differences in saved buffer | |
6774 positions and scrolling, and considers only the structure and sizes of | |
6775 windows and the choice of buffers to display. | |
6776 | |
6777 ** The variable minor-mode-overriding-map-alist allows major modes to | |
6778 override the key bindings of a minor mode. The elements of this alist | |
6779 look like the elements of minor-mode-map-alist: (VARIABLE . KEYMAP). | |
6780 | |
6781 If the VARIABLE in an element of minor-mode-overriding-map-alist has a | |
6782 non-nil value, the paired KEYMAP is active, and totally overrides the | |
6783 map (if any) specified for the same variable in minor-mode-map-alist. | |
6784 | |
6785 minor-mode-overriding-map-alist is automatically local in all buffers, | |
6786 and it is meant to be set by major modes. | |
6787 | |
6788 ** The function match-string-no-properties is like match-string | |
6789 except that it discards all text properties from the result. | |
6790 | |
6791 ** The function load-average now accepts an optional argument | |
6792 USE-FLOATS. If it is non-nil, the load average values are returned as | |
6793 floating point numbers, rather than as integers to be divided by 100. | |
6794 | |
6795 ** The new variable temporary-file-directory specifies the directory | |
6796 to use for creating temporary files. The default value is determined | |
6797 in a reasonable way for your operating system; on GNU and Unix systems | |
6798 it is based on the TMP and TMPDIR environment variables. | |
6799 | |
6800 ** Menu changes | |
6801 | |
6802 *** easymenu.el now uses the new menu item format and supports the | |
6803 keywords :visible and :filter. The existing keyword :keys is now | |
6804 better supported. | |
6805 | |
6806 The variable `easy-menu-precalculate-equivalent-keybindings' controls | |
6807 a new feature which calculates keyboard equivalents for the menu when | |
6808 you define the menu. The default is t. If you rarely use menus, you | |
6809 can set the variable to nil to disable this precalculation feature; | |
6810 then the calculation is done only if you use the menu bar. | |
6811 | |
6812 *** A new format for menu items is supported. | |
6813 | |
6814 In a keymap, a key binding that has the format | |
6815 (STRING . REAL-BINDING) or (STRING HELP-STRING . REAL-BINDING) | |
6816 defines a menu item. Now a menu item definition may also be a list that | |
6817 starts with the symbol `menu-item'. | |
6818 | |
6819 The format is: | |
6820 (menu-item ITEM-NAME) or | |
6821 (menu-item ITEM-NAME REAL-BINDING . ITEM-PROPERTY-LIST) | |
6822 where ITEM-NAME is an expression which evaluates to the menu item | |
6823 string, and ITEM-PROPERTY-LIST has the form of a property list. | |
6824 The supported properties include | |
6825 | |
6826 :enable FORM Evaluate FORM to determine whether the | |
6827 item is enabled. | |
6828 :visible FORM Evaluate FORM to determine whether the | |
6829 item should appear in the menu. | |
6830 :filter FILTER-FN | |
6831 FILTER-FN is a function of one argument, | |
6832 which will be REAL-BINDING. | |
6833 It should return a binding to use instead. | |
6834 :keys DESCRIPTION | |
6835 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
|
6836 binding for REAL-BINDING. DESCRIPTION is expanded with |
30922 | 6837 `substitute-command-keys' before it is used. |
6838 :key-sequence KEY-SEQUENCE | |
6839 KEY-SEQUENCE is a key-sequence for an equivalent | |
6840 keyboard binding. | |
6841 :key-sequence nil | |
6842 This means that the command normally has no | |
6843 keyboard equivalent. | |
6844 :help HELP HELP is the extra help string (not currently used). | |
6845 :button (TYPE . SELECTED) | |
6846 TYPE is :toggle or :radio. | |
6847 SELECTED is a form, to be evaluated, and its | |
6848 value says whether this button is currently selected. | |
6849 | |
6850 Buttons are at the moment only simulated by prefixes in the menu. | |
6851 Eventually ordinary X-buttons may be supported. | |
6852 | |
6853 (menu-item ITEM-NAME) defines unselectable item. | |
6854 | |
6855 ** New event types | |
6856 | |
6857 *** The new event type `mouse-wheel' is generated by a wheel on a | |
6858 mouse (such as the MS Intellimouse). The event contains a delta that | |
6859 corresponds to the amount and direction that the wheel is rotated, | |
6860 which is typically used to implement a scroll or zoom. The format is: | |
6861 | |
6862 (mouse-wheel POSITION DELTA) | |
6863 | |
6864 where POSITION is a list describing the position of the event in the | |
6865 same format as a mouse-click event, and DELTA is a signed number | |
6866 indicating the number of increments by which the wheel was rotated. A | |
6867 negative DELTA indicates that the wheel was rotated backwards, towards | |
6868 the user, and a positive DELTA indicates that the wheel was rotated | |
6869 forward, away from the user. | |
6870 | |
6871 As of now, this event type is generated only on MS Windows. | |
6872 | |
6873 *** The new event type `drag-n-drop' is generated when a group of | |
6874 files is selected in an application outside of Emacs, and then dragged | |
6875 and dropped onto an Emacs frame. The event contains a list of | |
6876 filenames that were dragged and dropped, which are then typically | |
6877 loaded into Emacs. The format is: | |
6878 | |
6879 (drag-n-drop POSITION FILES) | |
6880 | |
6881 where POSITION is a list describing the position of the event in the | |
6882 same format as a mouse-click event, and FILES is the list of filenames | |
6883 that were dragged and dropped. | |
6884 | |
6885 As of now, this event type is generated only on MS Windows. | |
6886 | |
6887 ** Changes relating to multibyte characters. | |
6888 | |
6889 *** The variable enable-multibyte-characters is now read-only; | |
6890 any attempt to set it directly signals an error. The only way | |
6891 to change this value in an existing buffer is with set-buffer-multibyte. | |
6892 | |
6893 *** In a string constant, `\ ' now stands for "nothing at all". You | |
6894 can use it to terminate a hex escape which is followed by a character | |
6895 that could otherwise be read as part of the hex escape. | |
6896 | |
6897 *** String indices are now measured in characters, as they were | |
6898 in Emacs 19 and before. | |
6899 | |
6900 The function chars-in-string has been deleted. | |
6901 The function concat-chars has been renamed to `string'. | |
6902 | |
6903 *** The function set-buffer-multibyte sets the flag in the current | |
6904 buffer that says whether the buffer uses multibyte representation or | |
6905 unibyte representation. If the argument is nil, it selects unibyte | |
6906 representation. Otherwise it selects multibyte representation. | |
6907 | |
6908 This function does not change the contents of the buffer, viewed | |
6909 as a sequence of bytes. However, it does change the contents | |
6910 viewed as characters; a sequence of two bytes which is treated as | |
6911 one character when the buffer uses multibyte representation | |
6912 will count as two characters using unibyte representation. | |
6913 | |
6914 This function sets enable-multibyte-characters to record which | |
6915 representation is in use. It also adjusts various data in the buffer | |
6916 (including its markers, overlays and text properties) so that they are | |
6917 consistent with the new representation. | |
6918 | |
6919 *** string-make-multibyte takes a string and converts it to multibyte | |
6920 representation. Most of the time, you don't need to care | |
6921 about the representation, because Emacs converts when necessary; | |
6922 however, it makes a difference when you compare strings. | |
6923 | |
6924 The conversion of non-ASCII characters works by adding the value of | |
6925 nonascii-insert-offset to each character, or by translating them | |
6926 using the table nonascii-translation-table. | |
6927 | |
6928 *** string-make-unibyte takes a string and converts it to unibyte | |
6929 representation. Most of the time, you don't need to care about the | |
6930 representation, but it makes a difference when you compare strings. | |
6931 | |
6932 The conversion from multibyte to unibyte representation | |
6933 loses information; the only time Emacs performs it automatically | |
6934 is when inserting a multibyte string into a unibyte buffer. | |
6935 | |
6936 *** string-as-multibyte takes a string, and returns another string | |
6937 which contains the same bytes, but treats them as multibyte. | |
6938 | |
6939 *** string-as-unibyte takes a string, and returns another string | |
6940 which contains the same bytes, but treats them as unibyte. | |
6941 | |
6942 *** The new function compare-strings lets you compare | |
6943 portions of two strings. Unibyte strings are converted to multibyte, | |
6944 so that a unibyte string can match a multibyte string. | |
6945 You can specify whether to ignore case or not. | |
6946 | |
6947 *** assoc-ignore-case now uses compare-strings so that | |
6948 it can treat unibyte and multibyte strings as equal. | |
6949 | |
6950 *** Regular expression operations and buffer string searches now | |
6951 convert the search pattern to multibyte or unibyte to accord with the | |
6952 buffer or string being searched. | |
6953 | |
6954 One consequence is that you cannot always use \200-\377 inside of | |
6955 [...] to match all non-ASCII characters. This does still work when | |
6956 searching or matching a unibyte buffer or string, but not when | |
6957 searching or matching a multibyte string. Unfortunately, there is no | |
6958 obvious choice of syntax to use within [...] for that job. But, what | |
6959 you want is just to match all non-ASCII characters, the regular | |
6960 expression [^\0-\177] works for it. | |
6961 | |
6962 *** Structure of coding system changed. | |
6963 | |
6964 All coding systems (including aliases and subsidiaries) are named | |
6965 by symbols; the symbol's `coding-system' property is a vector | |
6966 which defines the coding system. Aliases share the same vector | |
6967 as the principal name, so that altering the contents of this | |
6968 vector affects the principal name and its aliases. You can define | |
6969 your own alias name of a coding system by the function | |
6970 define-coding-system-alias. | |
6971 | |
6972 The coding system definition includes a property list of its own. Use | |
6973 the new functions `coding-system-get' and `coding-system-put' to | |
6974 access such coding system properties as post-read-conversion, | |
6975 pre-write-conversion, character-translation-table-for-decode, | |
6976 character-translation-table-for-encode, mime-charset, and | |
6977 safe-charsets. For instance, (coding-system-get 'iso-latin-1 | |
6978 'mime-charset) gives the corresponding MIME-charset parameter | |
6979 `iso-8859-1'. | |
6980 | |
6981 Among the coding system properties listed above, safe-charsets is new. | |
6982 The value of this property is a list of character sets which this | |
6983 coding system can correctly encode and decode. For instance: | |
6984 (coding-system-get 'iso-latin-1 'safe-charsets) => (ascii latin-iso8859-1) | |
6985 | |
6986 Here, "correctly encode" means that the encoded character sets can | |
6987 also be handled safely by systems other than Emacs as far as they | |
6988 are capable of that coding system. Though, Emacs itself can encode | |
6989 the other character sets and read it back correctly. | |
6990 | |
6991 *** The new function select-safe-coding-system can be used to find a | |
6992 proper coding system for encoding the specified region or string. | |
6993 This function requires a user interaction. | |
6994 | |
6995 *** The new functions find-coding-systems-region and | |
6996 find-coding-systems-string are helper functions used by | |
6997 select-safe-coding-system. They return a list of all proper coding | |
6998 systems to encode a text in some region or string. If you don't want | |
6999 a user interaction, use one of these functions instead of | |
7000 select-safe-coding-system. | |
7001 | |
7002 *** The explicit encoding and decoding functions, such as | |
7003 decode-coding-region and encode-coding-string, now set | |
7004 last-coding-system-used to reflect the actual way encoding or decoding | |
7005 was done. | |
7006 | |
7007 *** The new function detect-coding-with-language-environment can be | |
7008 used to detect a coding system of text according to priorities of | |
7009 coding systems used by some specific language environment. | |
7010 | |
7011 *** The functions detect-coding-region and detect-coding-string always | |
7012 return a list if the arg HIGHEST is nil. Thus, if only ASCII | |
7013 characters are found, they now return a list of single element | |
7014 `undecided' or its subsidiaries. | |
7015 | |
7016 *** The new functions coding-system-change-eol-conversion and | |
7017 coding-system-change-text-conversion can be used to get a different | |
7018 coding system than what specified only in how end-of-line or text is | |
7019 converted. | |
7020 | |
7021 *** The new function set-selection-coding-system can be used to set a | |
7022 coding system for communicating with other X clients. | |
7023 | |
7024 *** The function `map-char-table' now passes as argument only valid | |
7025 character codes, plus generic characters that stand for entire | |
7026 character sets or entire subrows of a character set. In other words, | |
7027 each time `map-char-table' calls its FUNCTION argument, the key value | |
7028 either will be a valid individual character code, or will stand for a | |
7029 range of characters. | |
7030 | |
7031 *** The new function `char-valid-p' can be used for checking whether a | |
7032 Lisp object is a valid character code or not. | |
7033 | |
7034 *** The new function `charset-after' returns a charset of a character | |
7035 in the current buffer at position POS. | |
7036 | |
7037 *** Input methods are now implemented using the variable | |
7038 input-method-function. If this is non-nil, its value should be a | |
7039 function; then, whenever Emacs reads an input event that is a printing | |
7040 character with no modifier bits, it calls that function, passing the | |
7041 event as an argument. Often this function will read more input, first | |
7042 binding input-method-function to nil. | |
7043 | |
7044 The return value should be a list of the events resulting from input | |
7045 method processing. These events will be processed sequentially as | |
7046 input, before resorting to unread-command-events. Events returned by | |
7047 the input method function are not passed to the input method function, | |
7048 not even if they are printing characters with no modifier bits. | |
7049 | |
7050 The input method function is not called when reading the second and | |
7051 subsequent events of a key sequence. | |
7052 | |
7053 *** You can customize any language environment by using | |
7054 set-language-environment-hook and exit-language-environment-hook. | |
7055 | |
7056 The hook `exit-language-environment-hook' should be used to undo | |
7057 customizations that you made with set-language-environment-hook. For | |
7058 instance, if you set up a special key binding for a specific language | |
7059 environment by set-language-environment-hook, you should set up | |
7060 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
|
7061 |
30922 | 7062 * Changes in Emacs 20.1 |
7063 | |
7064 ** Emacs has a new facility for customization of its many user | |
7065 options. It is called M-x customize. With this facility you can look | |
7066 at the many user options in an organized way; they are grouped into a | |
7067 tree structure. | |
7068 | |
7069 M-x customize also knows what sorts of values are legitimate for each | |
7070 user option and ensures that you don't use invalid values. | |
7071 | |
7072 With M-x customize, you can set options either for the present Emacs | |
7073 session or permanently. (Permanent settings are stored automatically | |
7074 in your .emacs file.) | |
7075 | |
7076 ** Scroll bars are now on the left side of the window. | |
7077 You can change this with M-x customize-option scroll-bar-mode. | |
7078 | |
7079 ** The mode line no longer includes the string `Emacs'. | |
7080 This makes more space in the mode line for other information. | |
7081 | |
7082 ** When you select a region with the mouse, it is highlighted | |
7083 immediately afterward. At that time, if you type the DELETE key, it | |
7084 kills the region. | |
7085 | |
7086 The BACKSPACE key, and the ASCII character DEL, do not do this; they | |
7087 delete the character before point, as usual. | |
7088 | |
7089 ** In an incremental search the whole current match is highlighted | |
7090 on terminals which support this. (You can disable this feature | |
7091 by setting search-highlight to nil.) | |
7092 | |
7093 ** In the minibuffer, in some cases, you can now use M-n to | |
7094 insert the default value into the minibuffer as text. In effect, | |
7095 the default value (if the minibuffer routines know it) is tacked | |
7096 onto the history "in the future". (The more normal use of the | |
7097 history list is to use M-p to insert minibuffer input used in the | |
7098 past.) | |
7099 | |
7100 ** In Text mode, now only blank lines separate paragraphs. | |
7101 This makes it possible to get the full benefit of Adaptive Fill mode | |
7102 in Text mode, and other modes derived from it (such as Mail mode). | |
7103 TAB in Text mode now runs the command indent-relative; this | |
7104 makes a practical difference only when you use indented paragraphs. | |
7105 | |
7106 As a result, the old Indented Text mode is now identical to Text mode, | |
7107 and is an alias for it. | |
7108 | |
7109 If you want spaces at the beginning of a line to start a paragraph, | |
7110 use the new mode, Paragraph Indent Text mode. | |
7111 | |
7112 ** Scrolling changes | |
7113 | |
7114 *** Scroll commands to scroll a whole screen now preserve the screen | |
7115 position of the cursor, if scroll-preserve-screen-position is non-nil. | |
7116 | |
7117 In this mode, if you scroll several screens back and forth, finishing | |
7118 on the same screen where you started, the cursor goes back to the line | |
7119 where it started. | |
7120 | |
7121 *** If you set scroll-conservatively to a small number, then when you | |
7122 move point a short distance off the screen, Emacs will scroll the | |
7123 screen just far enough to bring point back on screen, provided that | |
7124 does not exceed `scroll-conservatively' lines. | |
7125 | |
7126 *** The new variable scroll-margin says how close point can come to the | |
7127 top or bottom of a window. It is a number of screen lines; if point | |
7128 comes within that many lines of the top or bottom of the window, Emacs | |
7129 recenters the window. | |
7130 | |
7131 ** International character set support (MULE) | |
7132 | |
7133 Emacs now supports a wide variety of international character sets, | |
7134 including European variants of the Latin alphabet, as well as Chinese, | |
7135 Devanagari (Hindi and Marathi), Ethiopian, Greek, IPA, Japanese, | |
7136 Korean, Lao, Russian, Thai, Tibetan, and Vietnamese scripts. These | |
7137 features have been merged from the modified version of Emacs known as | |
7138 MULE (for "MULti-lingual Enhancement to GNU Emacs") | |
7139 | |
7140 Users of these scripts have established many more-or-less standard | |
7141 coding systems for storing files. Emacs uses a single multibyte | |
7142 character encoding within Emacs buffers; it can translate from a wide | |
7143 variety of coding systems when reading a file and can translate back | |
7144 into any of these coding systems when saving a file. | |
7145 | |
7146 Keyboards, even in the countries where these character sets are used, | |
7147 generally don't have keys for all the characters in them. So Emacs | |
7148 supports various "input methods", typically one for each script or | |
7149 language, to make it possible to type them. | |
7150 | |
7151 The Emacs internal multibyte encoding represents a non-ASCII | |
7152 character as a sequence of bytes in the range 0200 through 0377. | |
7153 | |
7154 The new prefix key C-x RET is used for commands that pertain | |
7155 to multibyte characters, coding systems, and input methods. | |
7156 | |
7157 You can disable multibyte character support as follows: | |
7158 | |
7159 (setq-default enable-multibyte-characters nil) | |
7160 | |
7161 Calling the function standard-display-european turns off multibyte | |
7162 characters, unless you specify a non-nil value for the second | |
7163 argument, AUTO. This provides compatibility for people who are | |
7164 already using standard-display-european to continue using unibyte | |
7165 characters for their work until they want to change. | |
7166 | |
7167 *** Input methods | |
7168 | |
7169 An input method is a kind of character conversion which is designed | |
7170 specifically for interactive input. In Emacs, typically each language | |
7171 has its own input method (though sometimes several languages which use | |
7172 the same characters can share one input method). Some languages | |
7173 support several input methods. | |
7174 | |
7175 The simplest kind of input method works by mapping ASCII letters into | |
7176 another alphabet. This is how the Greek and Russian input methods | |
7177 work. | |
7178 | |
7179 A more powerful technique is composition: converting sequences of | |
7180 characters into one letter. Many European input methods use | |
7181 composition to produce a single non-ASCII letter from a sequence which | |
7182 consists of a letter followed by diacritics. For example, a' is one | |
7183 sequence of two characters that might be converted into a single | |
7184 letter. | |
7185 | |
7186 The input methods for syllabic scripts typically use mapping followed | |
7187 by conversion. The input methods for Thai and Korean work this way. | |
7188 First, letters are mapped into symbols for particular sounds or tone | |
7189 marks; then, sequences of these which make up a whole syllable are | |
7190 mapped into one syllable sign--most often a "composite character". | |
7191 | |
7192 None of these methods works very well for Chinese and Japanese, so | |
7193 they are handled specially. First you input a whole word using | |
7194 phonetic spelling; then, after the word is in the buffer, Emacs | |
7195 converts it into one or more characters using a large dictionary. | |
7196 | |
7197 Since there is more than one way to represent a phonetically spelled | |
7198 word using Chinese characters, Emacs can only guess which one to use; | |
7199 typically these input methods give you a way to say "guess again" if | |
7200 the first guess is wrong. | |
7201 | |
7202 *** The command C-x RET m (toggle-enable-multibyte-characters) | |
7203 turns multibyte character support on or off for the current buffer. | |
7204 | |
7205 If multibyte character support is turned off in a buffer, then each | |
7206 byte is a single character, even codes 0200 through 0377--exactly as | |
7207 they did in Emacs 19.34. This includes the features for support for | |
7208 the European characters, ISO Latin-1 and ISO Latin-2. | |
7209 | |
7210 However, there is no need to turn off multibyte character support to | |
7211 use ISO Latin-1 or ISO Latin-2; the Emacs multibyte character set | |
7212 includes all the characters in these character sets, and Emacs can | |
7213 translate automatically to and from either one. | |
7214 | |
7215 *** Visiting a file in unibyte mode. | |
7216 | |
7217 Turning off multibyte character support in the buffer after visiting a | |
7218 file with multibyte code conversion will display the multibyte | |
7219 sequences already in the buffer, byte by byte. This is probably not | |
7220 what you want. | |
7221 | |
7222 If you want to edit a file of unibyte characters (Latin-1, for | |
7223 example), you can do it by specifying `no-conversion' as the coding | |
7224 system when reading the file. This coding system also turns off | |
7225 multibyte characters in that buffer. | |
7226 | |
7227 If you turn off multibyte character support entirely, this turns off | |
7228 character conversion as well. | |
7229 | |
7230 *** Displaying international characters on X Windows. | |
7231 | |
7232 A font for X typically displays just one alphabet or script. | |
7233 Therefore, displaying the entire range of characters Emacs supports | |
7234 requires using many fonts. | |
7235 | |
7236 Therefore, Emacs now supports "fontsets". Each fontset is a | |
7237 collection of fonts, each assigned to a range of character codes. | |
7238 | |
7239 A fontset has a name, like a font. Individual fonts are defined by | |
7240 the X server; fontsets are defined within Emacs itself. But once you | |
7241 have defined a fontset, you can use it in a face or a frame just as | |
7242 you would use a font. | |
7243 | |
7244 If a fontset specifies no font for a certain character, or if it | |
7245 specifies a font that does not exist on your system, then it cannot | |
7246 display that character. It will display an empty box instead. | |
7247 | |
7248 The fontset height and width are determined by the ASCII characters | |
7249 (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
|
7250 characters). |
30922 | 7251 |
7252 *** Defining fontsets. | |
7253 | |
7254 Emacs does not use any fontset by default. Its default font is still | |
7255 chosen as in previous versions. You can tell Emacs to use a fontset | |
7256 with the `-fn' option or the `Font' X resource. | |
7257 | |
7258 Emacs creates a standard fontset automatically according to the value | |
7259 of standard-fontset-spec. This fontset's short name is | |
7260 `fontset-standard'. Bold, italic, and bold-italic variants of the | |
7261 standard fontset are created automatically. | |
7262 | |
7263 If you specify a default ASCII font with the `Font' resource or `-fn' | |
7264 argument, a fontset is generated from it. This works by replacing the | |
7265 FOUNDARY, FAMILY, ADD_STYLE, and AVERAGE_WIDTH fields of the font name | |
7266 with `*' then using this to specify a fontset. This fontset's short | |
7267 name is `fontset-startup'. | |
7268 | |
7269 Emacs checks resources of the form Fontset-N where N is 0, 1, 2... | |
7270 The resource value should have this form: | |
7271 FONTSET-NAME, [CHARSET-NAME:FONT-NAME]... | |
7272 FONTSET-NAME should have the form of a standard X font name, except: | |
7273 * most fields should be just the wild card "*". | |
7274 * the CHARSET_REGISTRY field should be "fontset" | |
7275 * the CHARSET_ENCODING field can be any nickname of the fontset. | |
7276 The construct CHARSET-NAME:FONT-NAME can be repeated any number | |
7277 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
|
7278 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
|
7279 should specify an actual font to use for that character set. |
30922 | 7280 |
7281 Each of these fontsets has an alias which is made from the | |
7282 last two font name fields, CHARSET_REGISTRY and CHARSET_ENCODING. | |
7283 You can refer to the fontset by that alias or by its full name. | |
7284 | |
7285 For any character sets that you don't mention, Emacs tries to choose a | |
7286 font by substituting into FONTSET-NAME. For instance, with the | |
7287 following resource, | |
7288 Emacs*Fontset-0: -*-fixed-medium-r-normal-*-24-*-*-*-*-*-fontset-24 | |
7289 the font for ASCII is generated as below: | |
7290 -*-fixed-medium-r-normal-*-24-*-ISO8859-1 | |
7291 Here is the substitution rule: | |
7292 Change CHARSET_REGISTRY and CHARSET_ENCODING to that of the charset | |
7293 defined in the variable x-charset-registries. For instance, ASCII has | |
7294 the entry (ascii . "ISO8859-1") in this variable. Then, reduce | |
7295 sequences of wild cards -*-...-*- with a single wildcard -*-. | |
7296 (This is to prevent use of auto-scaled fonts.) | |
7297 | |
7298 The function which processes the fontset resource value to create the | |
7299 fontset is called create-fontset-from-fontset-spec. You can also call | |
7300 that function explicitly to create a fontset. | |
7301 | |
7302 With the X resource Emacs.Font, you can specify a fontset name just | |
7303 like an actual font name. But be careful not to specify a fontset | |
7304 name in a wildcard resource like Emacs*Font--that tries to specify the | |
7305 fontset for other purposes including menus, and they cannot handle | |
7306 fontsets. | |
7307 | |
7308 *** The command M-x set-language-environment sets certain global Emacs | |
7309 defaults for a particular choice of language. | |
7310 | |
7311 Selecting a language environment typically specifies a default input | |
7312 method and which coding systems to recognize automatically when | |
7313 visiting files. However, it does not try to reread files you have | |
7314 already visited; the text in those buffers is not affected. The | |
7315 language environment may also specify a default choice of coding | |
7316 system for new files that you create. | |
7317 | |
7318 It makes no difference which buffer is current when you use | |
7319 set-language-environment, because these defaults apply globally to the | |
7320 whole Emacs session. | |
7321 | |
7322 For example, M-x set-language-environment RET Latin-1 RET | |
7323 chooses the Latin-1 character set. In the .emacs file, you can do this | |
7324 with (set-language-environment "Latin-1"). | |
7325 | |
7326 *** The command C-x RET f (set-buffer-file-coding-system) | |
7327 specifies the file coding system for the current buffer. This | |
7328 specifies what sort of character code translation to do when saving | |
7329 the file. As an argument, you must specify the name of one of the | |
7330 coding systems that Emacs supports. | |
7331 | |
7332 *** The command C-x RET c (universal-coding-system-argument) | |
7333 lets you specify a coding system when you read or write a file. | |
7334 This command uses the minibuffer to read a coding system name. | |
7335 After you exit the minibuffer, the specified coding system | |
7336 is used for *the immediately following command*. | |
7337 | |
7338 So if the immediately following command is a command to read or | |
7339 write a file, it uses the specified coding system for that file. | |
7340 | |
7341 If the immediately following command does not use the coding system, | |
7342 then C-x RET c ultimately has no effect. | |
7343 | |
7344 For example, C-x RET c iso-8859-1 RET C-x C-f temp RET | |
7345 visits the file `temp' treating it as ISO Latin-1. | |
7346 | |
7347 *** You can specify the coding system for a file using the -*- | |
7348 construct. Include `coding: CODINGSYSTEM;' inside the -*-...-*- | |
7349 to specify use of coding system CODINGSYSTEM. You can also | |
7350 specify the coding system in a local variable list at the end | |
7351 of the file. | |
7352 | |
7353 *** The command C-x RET t (set-terminal-coding-system) specifies | |
7354 the coding system for terminal output. If you specify a character | |
7355 code for terminal output, all characters output to the terminal are | |
7356 translated into that character code. | |
7357 | |
7358 This feature is useful for certain character-only terminals built in | |
7359 various countries to support the languages of those countries. | |
7360 | |
7361 By default, output to the terminal is not translated at all. | |
7362 | |
7363 *** The command C-x RET k (set-keyboard-coding-system) specifies | |
7364 the coding system for keyboard input. | |
7365 | |
7366 Character code translation of keyboard input is useful for terminals | |
7367 with keys that send non-ASCII graphic characters--for example, | |
7368 some terminals designed for ISO Latin-1 or subsets of it. | |
7369 | |
7370 By default, keyboard input is not translated at all. | |
7371 | |
7372 Character code translation of keyboard input is similar to using an | |
7373 input method, in that both define sequences of keyboard input that | |
7374 translate into single characters. However, input methods are designed | |
7375 to be convenient for interactive use, while the code translations are | |
7376 designed to work with terminals. | |
7377 | |
7378 *** The command C-x RET p (set-buffer-process-coding-system) | |
7379 specifies the coding system for input and output to a subprocess. | |
7380 This command applies to the current buffer; normally, each subprocess | |
7381 has its own buffer, and thus you can use this command to specify | |
7382 translation to and from a particular subprocess by giving the command | |
7383 in the corresponding buffer. | |
7384 | |
7385 By default, process input and output are not translated at all. | |
7386 | |
7387 *** The variable file-name-coding-system specifies the coding system | |
7388 to use for encoding file names before operating on them. | |
7389 It is also used for decoding file names obtained from the system. | |
7390 | |
7391 *** The command C-\ (toggle-input-method) activates or deactivates | |
7392 an input method. If no input method has been selected before, the | |
7393 command prompts for you to specify the language and input method you | |
7394 want to use. | |
7395 | |
7396 C-u C-\ (select-input-method) lets you switch to a different input | |
7397 method. C-h C-\ (or C-h I) describes the current input method. | |
7398 | |
7399 *** Some input methods remap the keyboard to emulate various keyboard | |
7400 layouts commonly used for particular scripts. How to do this | |
7401 remapping properly depends on your actual keyboard layout. To specify | |
7402 which layout your keyboard has, use M-x quail-set-keyboard-layout. | |
7403 | |
7404 *** The command C-h C (describe-coding-system) displays | |
7405 the coding systems currently selected for various purposes, plus | |
7406 related information. | |
7407 | |
7408 *** The command C-h h (view-hello-file) displays a file called | |
7409 HELLO, which has examples of text in many languages, using various | |
7410 scripts. | |
7411 | |
7412 *** The command C-h L (describe-language-support) displays | |
7413 information about the support for a particular language. | |
7414 You specify the language as an argument. | |
7415 | |
7416 *** The mode line now contains a letter or character that identifies | |
7417 the coding system used in the visited file. It normally follows the | |
7418 first dash. | |
7419 | |
7420 A dash indicates the default state of affairs: no code conversion | |
7421 (except CRLF => newline if appropriate). `=' means no conversion | |
7422 whatsoever. The ISO 8859 coding systems are represented by digits | |
7423 1 through 9. Other coding systems are represented by letters: | |
7424 | |
7425 A alternativnyj (Russian) | |
7426 B big5 (Chinese) | |
7427 C cn-gb-2312 (Chinese) | |
7428 C iso-2022-cn (Chinese) | |
7429 D in-is13194-devanagari (Indian languages) | |
7430 E euc-japan (Japanese) | |
7431 I iso-2022-cjk or iso-2022-ss2 (Chinese, Japanese, Korean) | |
7432 J junet (iso-2022-7) or old-jis (iso-2022-jp-1978-irv) (Japanese) | |
7433 K euc-korea (Korean) | |
7434 R koi8 (Russian) | |
7435 Q tibetan | |
7436 S shift_jis (Japanese) | |
7437 T lao | |
7438 T tis620 (Thai) | |
7439 V viscii or vscii (Vietnamese) | |
7440 i iso-2022-lock (Chinese, Japanese, Korean) | |
7441 k iso-2022-kr (Korean) | |
7442 v viqr (Vietnamese) | |
7443 z hz (Chinese) | |
7444 | |
7445 When you are using a character-only terminal (not a window system), | |
7446 two additional characters appear in between the dash and the file | |
7447 coding system. These two characters describe the coding system for | |
7448 keyboard input, and the coding system for terminal output. | |
7449 | |
7450 *** The new variable rmail-file-coding-system specifies the code | |
7451 conversion to use for RMAIL files. The default value is nil. | |
7452 | |
7453 When you read mail with Rmail, each message is decoded automatically | |
7454 into Emacs' internal format. This has nothing to do with | |
7455 rmail-file-coding-system. That variable controls reading and writing | |
7456 Rmail files themselves. | |
7457 | |
7458 *** The new variable sendmail-coding-system specifies the code | |
7459 conversion for outgoing mail. The default value is nil. | |
7460 | |
7461 Actually, there are three different ways of specifying the coding system | |
7462 for sending mail: | |
7463 | |
7464 - If you use C-x RET f in the mail buffer, that takes priority. | |
7465 - Otherwise, if you set sendmail-coding-system non-nil, that specifies it. | |
7466 - Otherwise, the default coding system for new files is used, | |
7467 if that is non-nil. That comes from your language environment. | |
7468 - Otherwise, Latin-1 is used. | |
7469 | |
7470 *** The command C-h t (help-with-tutorial) accepts a prefix argument | |
7471 to specify the language for the tutorial file. Currently, English, | |
7472 Japanese, Korean and Thai are supported. We welcome additional | |
7473 translations. | |
7474 | |
7475 ** An easy new way to visit a file with no code or format conversion | |
7476 of any kind: Use M-x find-file-literally. There is also a command | |
7477 insert-file-literally which inserts a file into the current buffer | |
7478 without any conversion. | |
7479 | |
7480 ** C-q's handling of octal character codes is changed. | |
7481 You can now specify any number of octal digits. | |
7482 RET terminates the digits and is discarded; | |
7483 any other non-digit terminates the digits and is then used as input. | |
7484 | |
7485 ** There are new commands for looking up Info documentation for | |
7486 functions, variables and file names used in your programs. | |
7487 | |
7488 Type M-x info-lookup-symbol to look up a symbol in the buffer at point. | |
7489 Type M-x info-lookup-file to look up a file in the buffer at point. | |
7490 | |
7491 Precisely which Info files are used to look it up depends on the major | |
7492 mode. For example, in C mode, the GNU libc manual is used. | |
7493 | |
7494 ** M-TAB in most programming language modes now runs the command | |
7495 complete-symbol. This command performs completion on the symbol name | |
7496 in the buffer before point. | |
7497 | |
7498 With a numeric argument, it performs completion based on the set of | |
7499 symbols documented in the Info files for the programming language that | |
7500 you are using. | |
7501 | |
7502 With no argument, it does completion based on the current tags tables, | |
7503 just like the old binding of M-TAB (complete-tag). | |
7504 | |
7505 ** File locking works with NFS now. | |
7506 | |
7507 The lock file for FILENAME is now a symbolic link named .#FILENAME, | |
7508 in the same directory as FILENAME. | |
7509 | |
7510 This means that collision detection between two different machines now | |
7511 works reasonably well; it also means that no file server or directory | |
7512 can become a bottleneck. | |
7513 | |
7514 The new method does have drawbacks. It means that collision detection | |
7515 does not operate when you edit a file in a directory where you cannot | |
7516 create new files. Collision detection also doesn't operate when the | |
7517 file server does not support symbolic links. But these conditions are | |
7518 rare, and the ability to have collision detection while using NFS is | |
7519 so useful that the change is worth while. | |
7520 | |
7521 When Emacs or a system crashes, this may leave behind lock files which | |
7522 are stale. So you may occasionally get warnings about spurious | |
7523 collisions. When you determine that the collision is spurious, just | |
7524 tell Emacs to go ahead anyway. | |
7525 | |
7526 ** If you wish to use Show Paren mode to display matching parentheses, | |
7527 it is no longer sufficient to load paren.el. Instead you must call | |
7528 show-paren-mode. | |
7529 | |
7530 ** If you wish to use Delete Selection mode to replace a highlighted | |
7531 selection when you insert new text, it is no longer sufficient to load | |
7532 delsel.el. Instead you must call the function delete-selection-mode. | |
7533 | |
7534 ** If you wish to use Partial Completion mode to complete partial words | |
7535 within symbols or filenames, it is no longer sufficient to load | |
7536 complete.el. Instead you must call the function partial-completion-mode. | |
7537 | |
7538 ** If you wish to use uniquify to rename buffers for you, | |
7539 it is no longer sufficient to load uniquify.el. You must also | |
7540 set uniquify-buffer-name-style to one of the non-nil legitimate values. | |
7541 | |
7542 ** Changes in View mode. | |
7543 | |
7544 *** Several new commands are available in View mode. | |
7545 Do H in view mode for a list of commands. | |
7546 | |
7547 *** There are two new commands for entering View mode: | |
7548 view-file-other-frame and view-buffer-other-frame. | |
7549 | |
7550 *** Exiting View mode does a better job of restoring windows to their | |
7551 previous state. | |
7552 | |
7553 *** New customization variable view-scroll-auto-exit. If non-nil, | |
7554 scrolling past end of buffer makes view mode exit. | |
7555 | |
7556 *** New customization variable view-exits-all-viewing-windows. If | |
7557 non-nil, view-mode will at exit restore all windows viewing buffer, | |
7558 not just the selected window. | |
7559 | |
7560 *** New customization variable view-read-only. If non-nil, visiting a | |
7561 read-only file automatically enters View mode, and toggle-read-only | |
7562 turns View mode on or off. | |
7563 | |
7564 *** New customization variable view-remove-frame-by-deleting controls | |
7565 how to remove a not needed frame at view mode exit. If non-nil, | |
7566 delete the frame, if nil make an icon of it. | |
7567 | |
7568 ** C-x v l, the command to print a file's version control log, | |
7569 now positions point at the entry for the file's current branch version. | |
7570 | |
7571 ** C-x v =, the command to compare a file with the last checked-in version, | |
7572 has a new feature. If the file is currently not locked, so that it is | |
7573 presumably identical to the last checked-in version, the command now asks | |
7574 which version to compare with. | |
7575 | |
7576 ** When using hideshow.el, incremental search can temporarily show hidden | |
7577 blocks if a match is inside the block. | |
7578 | |
7579 The block is hidden again if the search is continued and the next match | |
7580 is outside the block. By customizing the variable | |
7581 isearch-hide-immediately you can choose to hide all the temporarily | |
7582 shown blocks only when exiting from incremental search. | |
7583 | |
7584 By customizing the variable hs-isearch-open you can choose what kind | |
7585 of blocks to temporarily show during isearch: comment blocks, code | |
7586 blocks, all of them or none. | |
7587 | |
7588 ** The new command C-x 4 0 (kill-buffer-and-window) kills the | |
7589 current buffer and deletes the selected window. It asks for | |
7590 confirmation first. | |
7591 | |
7592 ** C-x C-w, which saves the buffer into a specified file name, | |
7593 now changes the major mode according to that file name. | |
7594 However, the mode will not be changed if | |
7595 (1) a local variables list or the `-*-' line specifies a major mode, or | |
7596 (2) the current major mode is a "special" mode, | |
7597 not suitable for ordinary files, or | |
7598 (3) the new file name does not particularly specify any mode. | |
7599 | |
7600 This applies to M-x set-visited-file-name as well. | |
7601 | |
7602 However, if you set change-major-mode-with-file-name to nil, then | |
7603 these commands do not change the major mode. | |
7604 | |
7605 ** M-x occur changes. | |
7606 | |
7607 *** If the argument to M-x occur contains upper case letters, | |
7608 it performs a case-sensitive search. | |
7609 | |
7610 *** In the *Occur* buffer made by M-x occur, | |
7611 if you type g or M-x revert-buffer, this repeats the search | |
7612 using the same regular expression and the same buffer as before. | |
7613 | |
7614 ** In Transient Mark mode, the region in any one buffer is highlighted | |
7615 in just one window at a time. At first, it is highlighted in the | |
7616 window where you set the mark. The buffer's highlighting remains in | |
7617 that window unless you select to another window which shows the same | |
7618 buffer--then the highlighting moves to that window. | |
7619 | |
7620 ** The feature to suggest key bindings when you use M-x now operates | |
7621 after the command finishes. The message suggesting key bindings | |
7622 appears temporarily in the echo area. The previous echo area contents | |
7623 come back after a few seconds, in case they contain useful information. | |
7624 | |
7625 ** Each frame now independently records the order for recently | |
7626 selected buffers, so that the default for C-x b is now based on the | |
7627 buffers recently selected in the selected frame. | |
7628 | |
7629 ** Outline mode changes. | |
7630 | |
7631 *** Outline mode now uses overlays (this is the former noutline.el). | |
7632 | |
7633 *** Incremental searches skip over invisible text in Outline mode. | |
7634 | |
7635 ** When a minibuffer window is active but not the selected window, if | |
7636 you try to use the minibuffer, you used to get a nested minibuffer. | |
7637 Now, this not only gives an error, it also cancels the minibuffer that | |
7638 was already active. | |
7639 | |
7640 The motive for this change is so that beginning users do not | |
7641 unknowingly move away from minibuffers, leaving them active, and then | |
7642 get confused by it. | |
7643 | |
7644 If you want to be able to have recursive minibuffers, you must | |
7645 set enable-recursive-minibuffers to non-nil. | |
7646 | |
7647 ** Changes in dynamic abbrevs. | |
7648 | |
7649 *** Expanding dynamic abbrevs with M-/ is now smarter about case | |
7650 conversion. If the expansion has mixed case not counting the first | |
7651 character, and the abbreviation matches the beginning of the expansion | |
7652 including case, then the expansion is copied verbatim. | |
7653 | |
7654 The expansion is also copied verbatim if the abbreviation itself has | |
7655 mixed case. And using SPC M-/ to copy an additional word always | |
7656 copies it verbatim except when the previous copied word is all caps. | |
7657 | |
7658 *** The values of `dabbrev-case-replace' and `dabbrev-case-fold-search' | |
7659 are no longer Lisp expressions. They have simply three possible | |
7660 values. | |
7661 | |
7662 `dabbrev-case-replace' has these three values: nil (don't preserve | |
7663 case), t (do), or `case-replace' (do like M-x query-replace). | |
7664 `dabbrev-case-fold-search' has these three values: nil (don't ignore | |
7665 case), t (do), or `case-fold-search' (do like search). | |
7666 | |
7667 ** Minibuffer history lists are truncated automatically now to a | |
7668 certain length. The variable history-length specifies how long they | |
7669 can be. The default value is 30. | |
7670 | |
7671 ** Changes in Mail mode. | |
7672 | |
7673 *** The key C-x m no longer runs the `mail' command directly. | |
7674 Instead, it runs the command `compose-mail', which invokes the mail | |
7675 composition mechanism you have selected with the variable | |
7676 `mail-user-agent'. The default choice of user agent is | |
7677 `sendmail-user-agent', which gives behavior compatible with the old | |
7678 behavior. | |
7679 | |
7680 C-x 4 m now runs compose-mail-other-window, and C-x 5 m runs | |
7681 compose-mail-other-frame. | |
7682 | |
7683 *** While composing a reply to a mail message, from Rmail, you can use | |
7684 the command C-c C-r to cite just the region from the message you are | |
7685 replying to. This copies the text which is the selected region in the | |
7686 buffer that shows the original message. | |
7687 | |
7688 *** The command C-c C-i inserts a file at the end of the message, | |
7689 with separator lines around the contents. | |
7690 | |
7691 *** The command M-x expand-mail-aliases expands all mail aliases | |
7692 in suitable mail headers. Emacs automatically extracts mail alias | |
7693 definitions from your mail alias file (e.g., ~/.mailrc). You do not | |
7694 need to expand mail aliases yourself before sending mail. | |
7695 | |
7696 *** New features in the mail-complete command. | |
7697 | |
7698 **** The mail-complete command now inserts the user's full name, | |
7699 for local users or if that is known. The variable mail-complete-style | |
7700 controls the style to use, and whether to do this at all. | |
7701 Its values are like those of mail-from-style. | |
7702 | |
7703 **** The variable mail-passwd-command lets you specify a shell command | |
7704 to run to fetch a set of password-entries that add to the ones in | |
7705 /etc/passwd. | |
7706 | |
7707 **** The variable mail-passwd-file now specifies a list of files to read | |
7708 to get the list of user ids. By default, one file is used: | |
7709 /etc/passwd. | |
7710 | |
7711 ** You can "quote" a file name to inhibit special significance of | |
7712 special syntax, by adding `/:' to the beginning. Thus, if you have a | |
7713 directory named `/foo:', you can prevent it from being treated as a | |
7714 reference to a remote host named `foo' by writing it as `/:/foo:'. | |
7715 | |
7716 Emacs uses this new construct automatically when necessary, such as | |
7717 when you start it with a working directory whose name might otherwise | |
7718 be taken to be magic. | |
7719 | |
7720 ** There is a new command M-x grep-find which uses find to select | |
7721 files to search through, and grep to scan them. The output is | |
7722 available in a Compile mode buffer, as with M-x grep. | |
7723 | |
7724 M-x grep now uses the -e option if the grep program supports that. | |
7725 (-e prevents problems if the search pattern starts with a dash.) | |
7726 | |
7727 ** In Dired, the & command now flags for deletion the files whose names | |
7728 suggest they are probably not needed in the long run. | |
7729 | |
7730 In Dired, * is now a prefix key for mark-related commands. | |
7731 | |
7732 new key dired.el binding old key | |
7733 ------- ---------------- ------- | |
7734 * c dired-change-marks c | |
7735 * m dired-mark m | |
7736 * * dired-mark-executables * (binding deleted) | |
7737 * / dired-mark-directories / (binding deleted) | |
7738 * @ dired-mark-symlinks @ (binding deleted) | |
7739 * u dired-unmark u | |
7740 * DEL dired-unmark-backward DEL | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
7741 * ? dired-unmark-all-files C-M-? |
30922 | 7742 * ! dired-unmark-all-marks |
7743 * % dired-mark-files-regexp % m | |
7744 * C-n dired-next-marked-file M-} | |
7745 * C-p dired-prev-marked-file M-{ | |
7746 | |
7747 ** Rmail changes. | |
7748 | |
7749 *** When Rmail cannot convert your incoming mail into Babyl format, it | |
7750 saves the new mail in the file RMAILOSE.n, where n is an integer | |
7751 chosen to make a unique name. This way, Rmail will not keep crashing | |
7752 each time you run it. | |
7753 | |
7754 *** In Rmail, the variable rmail-summary-line-count-flag now controls | |
7755 whether to include the line count in the summary. Non-nil means yes. | |
7756 | |
7757 *** In Rmail summary buffers, d and C-d (the commands to delete | |
7758 messages) now take repeat counts as arguments. A negative argument | |
7759 means to move in the opposite direction. | |
7760 | |
7761 *** In Rmail, the t command now takes an optional argument which lets | |
7762 you specify whether to show the message headers in full or pruned. | |
7763 | |
7764 *** In Rmail, the new command w (rmail-output-body-to-file) writes | |
7765 just the body of the current message into a file, without the headers. | |
7766 It takes the file name from the message subject, by default, but you | |
7767 can edit that file name in the minibuffer before it is actually used | |
7768 for output. | |
7769 | |
7770 ** Gnus changes. | |
7771 | |
7772 *** nntp.el has been totally rewritten in an asynchronous fashion. | |
7773 | |
7774 *** Article prefetching functionality has been moved up into | |
7775 Gnus. | |
7776 | |
7777 *** Scoring can now be performed with logical operators like | |
7778 `and', `or', `not', and parent redirection. | |
7779 | |
7780 *** Article washing status can be displayed in the | |
7781 article mode line. | |
7782 | |
7783 *** gnus.el has been split into many smaller files. | |
7784 | |
7785 *** Suppression of duplicate articles based on Message-ID. | |
7786 | |
7787 (setq gnus-suppress-duplicates t) | |
7788 | |
7789 *** New variables for specifying what score and adapt files | |
7790 are to be considered home score and adapt files. See | |
7791 `gnus-home-score-file' and `gnus-home-adapt-files'. | |
7792 | |
7793 *** Groups can inherit group parameters from parent topics. | |
7794 | |
7795 *** Article editing has been revamped and is now usable. | |
7796 | |
7797 *** Signatures can be recognized in more intelligent fashions. | |
7798 See `gnus-signature-separator' and `gnus-signature-limit'. | |
7799 | |
7800 *** Summary pick mode has been made to look more nn-like. | |
7801 Line numbers are displayed and the `.' command can be | |
7802 used to pick articles. | |
7803 | |
7804 *** Commands for moving the .newsrc.eld from one server to | |
7805 another have been added. | |
7806 | |
7807 `M-x gnus-change-server' | |
7808 | |
7809 *** A way to specify that "uninteresting" fields be suppressed when | |
7810 generating lines in buffers. | |
7811 | |
7812 *** 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
|
7813 `C-M-_'. |
30922 | 7814 |
7815 *** Scoring can be done on words using the new score type `w'. | |
7816 | |
7817 *** Adaptive scoring can be done on a Subject word-by-word basis: | |
7818 | |
7819 (setq gnus-use-adaptive-scoring '(word)) | |
7820 | |
7821 *** Scores can be decayed. | |
7822 | |
7823 (setq gnus-decay-scores t) | |
7824 | |
7825 *** Scoring can be performed using a regexp on the Date header. The | |
7826 Date is normalized to compact ISO 8601 format first. | |
7827 | |
7828 *** A new command has been added to remove all data on articles from | |
7829 the native server. | |
7830 | |
7831 `M-x gnus-group-clear-data-on-native-groups' | |
7832 | |
7833 *** A new command for reading collections of documents | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
7834 (nndoc with nnvirtual on top) has been added -- `C-M-d'. |
30922 | 7835 |
7836 *** Process mark sets can be pushed and popped. | |
7837 | |
7838 *** A new mail-to-news backend makes it possible to post | |
7839 even when the NNTP server doesn't allow posting. | |
7840 | |
7841 *** A new backend for reading searches from Web search engines | |
7842 (DejaNews, Alta Vista, InReference) has been added. | |
7843 | |
7844 Use the `G w' command in the group buffer to create such | |
7845 a group. | |
7846 | |
7847 *** Groups inside topics can now be sorted using the standard | |
7848 sorting functions, and each topic can be sorted independently. | |
7849 | |
7850 See the commands under the `T S' submap. | |
7851 | |
7852 *** Subsets of the groups can be sorted independently. | |
7853 | |
7854 See the commands under the `G P' submap. | |
7855 | |
7856 *** Cached articles can be pulled into the groups. | |
7857 | |
7858 Use the `Y c' command. | |
7859 | |
7860 *** Score files are now applied in a more reliable order. | |
7861 | |
7862 *** Reports on where mail messages end up can be generated. | |
7863 | |
7864 `M-x nnmail-split-history' | |
7865 | |
7866 *** More hooks and functions have been added to remove junk | |
7867 from incoming mail before saving the mail. | |
7868 | |
7869 See `nnmail-prepare-incoming-header-hook'. | |
7870 | |
7871 *** The nnml mail backend now understands compressed article files. | |
7872 | |
7873 *** To enable Gnus to read/post multi-lingual articles, you must execute | |
7874 the following code, for instance, in your .emacs. | |
7875 | |
7876 (add-hook 'gnus-startup-hook 'gnus-mule-initialize) | |
7877 | |
7878 Then, when you start Gnus, it will decode non-ASCII text automatically | |
7879 and show appropriate characters. (Note: if you are using gnus-mime | |
7880 from the SEMI package, formerly known as TM, you should NOT add this | |
7881 hook to gnus-startup-hook; gnus-mime has its own method of handling | |
7882 this issue.) | |
7883 | |
7884 Since it is impossible to distinguish all coding systems | |
7885 automatically, you may need to specify a choice of coding system for a | |
7886 particular news group. This can be done by: | |
7887 | |
7888 (gnus-mule-add-group NEWSGROUP 'CODING-SYSTEM) | |
7889 | |
7890 Here NEWSGROUP should be a string which names a newsgroup or a tree | |
7891 of newsgroups. If NEWSGROUP is "XXX.YYY", all news groups under | |
7892 "XXX.YYY" (including "XXX.YYY.ZZZ") will use the specified coding | |
7893 system. CODING-SYSTEM specifies which coding system to use (for both | |
7894 for reading and posting). | |
7895 | |
7896 CODING-SYSTEM can also be a cons cell of the form | |
7897 (READ-CODING-SYSTEM . POST-CODING-SYSTEM) | |
7898 Then READ-CODING-SYSTEM is used when you read messages from the | |
7899 newsgroups, while POST-CODING-SYSTEM is used when you post messages | |
7900 there. | |
7901 | |
7902 Emacs knows the right coding systems for certain newsgroups by | |
7903 default. Here are some of these default settings: | |
7904 | |
7905 (gnus-mule-add-group "fj" 'iso-2022-7) | |
7906 (gnus-mule-add-group "alt.chinese.text" 'hz-gb-2312) | |
7907 (gnus-mule-add-group "alt.hk" 'hz-gb-2312) | |
7908 (gnus-mule-add-group "alt.chinese.text.big5" 'cn-big5) | |
7909 (gnus-mule-add-group "soc.culture.vietnamese" '(nil . viqr)) | |
7910 | |
7911 When you reply by mail to an article, these settings are ignored; | |
7912 the mail is encoded according to sendmail-coding-system, as usual. | |
7913 | |
7914 ** CC mode changes. | |
7915 | |
7916 *** If you edit primarily one style of C (or C++, Objective-C, Java) | |
7917 code, you may want to make the CC Mode style variables have global | |
7918 values so that you can set them directly in your .emacs file. To do | |
7919 this, set c-style-variables-are-local-p to nil in your .emacs file. | |
7920 Note that this only takes effect if you do it *before* cc-mode.el is | |
7921 loaded. | |
7922 | |
7923 If you typically edit more than one style of C (or C++, Objective-C, | |
7924 Java) code in a single Emacs session, you may want to make the CC Mode | |
7925 style variables have buffer local values. By default, all buffers | |
7926 share the same style variable settings; to make them buffer local, set | |
7927 c-style-variables-are-local-p to t in your .emacs file. Note that you | |
7928 must do this *before* CC Mode is loaded. | |
7929 | |
7930 *** The new variable c-indentation-style holds the C style name | |
7931 of the current buffer. | |
7932 | |
7933 *** The variable c-block-comments-indent-p has been deleted, because | |
7934 it is no longer necessary. C mode now handles all the supported styles | |
7935 of block comments, with no need to say which one you will use. | |
7936 | |
7937 *** There is a new indentation style "python", which specifies the C | |
7938 style that the Python developers like. | |
7939 | |
7940 *** There is a new c-cleanup-list option: brace-elseif-brace. | |
7941 This says to put ...} else if (...) {... on one line, | |
7942 just as brace-else-brace says to put ...} else {... on one line. | |
7943 | |
7944 ** VC Changes [new] | |
7945 | |
36908
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7946 *** In vc-retrieve-snapshot (C-x v r), if you don't specify a snapshot |
30922 | 7947 name, it retrieves the *latest* versions of all files in the current |
7948 directory and its subdirectories (aside from files already locked). | |
7949 | |
7950 This feature is useful if your RCS directory is a link to a common | |
7951 master directory, and you want to pick up changes made by other | |
7952 developers. | |
7953 | |
7954 You can do the same thing for an individual file by typing C-u C-x C-q | |
7955 RET in a buffer visiting that file. | |
7956 | |
7957 *** VC can now handle files under CVS that are being "watched" by | |
7958 other developers. Such files are made read-only by CVS. To get a | |
7959 writable copy, type C-x C-q in a buffer visiting such a file. VC then | |
7960 calls "cvs edit", which notifies the other developers of it. | |
7961 | |
7962 *** vc-version-diff (C-u C-x v =) now suggests reasonable defaults for | |
7963 version numbers, based on the current state of the file. | |
7964 | |
7965 ** Calendar changes. | |
7966 | |
36908
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7967 *** 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
|
7968 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
|
7969 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
|
7970 following/previous years. |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7971 |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7972 *** 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
|
7973 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
|
7974 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
|
7975 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
|
7976 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
|
7977 supposed attribute of God. |
30922 | 7978 |
7979 ** ps-print changes | |
7980 | |
37289 | 7981 There are some new user variables and subgroups for customizing the page |
7982 layout. | |
7983 | |
7984 *** Headers & Footers (subgroup) | |
7985 | |
7986 Some printer systems print a header page and force the first page to | |
7987 be printed on the back of the header page when using duplex. If your | |
7988 printer system has this behavior, set variable | |
7989 `ps-banner-page-when-duplexing' to t. | |
7990 | |
7991 If variable `ps-banner-page-when-duplexing' is non-nil, it prints a | |
7992 blank page as the very first printed page. So, it behaves as if the | |
37375 | 7993 very first character of buffer (or region) were a form feed ^L (\014). |
37289 | 7994 |
7995 The variable `ps-spool-config' specifies who is responsible for | |
7996 setting duplex mode and page size. Valid values are: | |
7997 | |
7998 lpr-switches duplex and page size are configured by `ps-lpr-switches'. | |
7999 Don't forget to set `ps-lpr-switches' to select duplex | |
8000 printing for your printer. | |
8001 | |
8002 setpagedevice duplex and page size are configured by ps-print using the | |
8003 setpagedevice PostScript operator. | |
8004 | |
8005 nil duplex and page size are configured by ps-print *not* using | |
8006 the setpagedevice PostScript operator. | |
8007 | |
8008 The variable `ps-spool-tumble' specifies how the page images on | |
8009 opposite sides of a sheet are oriented with respect to each other. If | |
8010 `ps-spool-tumble' is nil, ps-print produces output suitable for | |
8011 bindings on the left or right. If `ps-spool-tumble' is non-nil, | |
8012 ps-print produces output suitable for bindings at the top or bottom. | |
8013 This variable takes effect only if `ps-spool-duplex' is non-nil. | |
8014 The default value is nil. | |
8015 | |
8016 The variable `ps-header-frame-alist' specifies a header frame | |
8017 properties alist. Valid frame properties are: | |
8018 | |
8019 fore-color Specify the foreground frame color. | |
8020 Value should be a float number between 0.0 (black | |
8021 color) and 1.0 (white color), or a string which is a | |
8022 color name, or a list of 3 float numbers which | |
8023 correspond to the Red Green Blue color scale, each | |
8024 float number between 0.0 (dark color) and 1.0 (bright | |
8025 color). The default is 0 ("black"). | |
8026 | |
8027 back-color Specify the background frame color (similar to fore-color). | |
8028 The default is 0.9 ("gray90"). | |
8029 | |
8030 shadow-color Specify the shadow color (similar to fore-color). | |
8031 The default is 0 ("black"). | |
8032 | |
8033 border-color Specify the border color (similar to fore-color). | |
8034 The default is 0 ("black"). | |
8035 | |
8036 border-width Specify the border width. | |
8037 The default is 0.4. | |
8038 | |
8039 Any other property is ignored. | |
8040 | |
8041 Don't change this alist directly; instead use Custom, or the | |
8042 `ps-value', `ps-get', `ps-put' and `ps-del' functions (see there for | |
8043 documentation). | |
8044 | |
8045 Ps-print can also print footers. The footer variables are: | |
8046 `ps-print-footer', `ps-footer-offset', `ps-print-footer-frame', | |
8047 `ps-footer-font-family', `ps-footer-font-size', `ps-footer-line-pad', | |
8048 `ps-footer-lines', `ps-left-footer', `ps-right-footer' and | |
8049 `ps-footer-frame-alist'. These variables are similar to those | |
8050 controlling headers. | |
8051 | |
8052 *** Color management (subgroup) | |
8053 | |
8054 If `ps-print-color-p' is non-nil, the buffer's text will be printed in | |
8055 color. | |
8056 | |
8057 *** Face Management (subgroup) | |
8058 | |
8059 If you need to print without worrying about face background colors, | |
8060 set the variable `ps-use-face-background' which specifies if face | |
8061 background should be used. Valid values are: | |
8062 | |
8063 t always use face background color. | |
8064 nil never use face background color. | |
8065 (face...) list of faces whose background color will be used. | |
8066 | |
8067 *** N-up printing (subgroup) | |
8068 | |
8069 The variable `ps-n-up-printing' specifies the number of pages per | |
8070 sheet of paper. | |
8071 | |
8072 The variable `ps-n-up-margin' specifies the margin in points (pt) | |
8073 between the sheet border and the n-up printing. | |
8074 | |
8075 If variable `ps-n-up-border-p' is non-nil, a border is drawn around | |
8076 each page. | |
8077 | |
8078 The variable `ps-n-up-filling' specifies how the page matrix is filled | |
8079 on each sheet of paper. Following are the valid values for | |
8080 `ps-n-up-filling' with a filling example using a 3x4 page matrix: | |
8081 | |
8082 `left-top' 1 2 3 4 `left-bottom' 9 10 11 12 | |
8083 5 6 7 8 5 6 7 8 | |
8084 9 10 11 12 1 2 3 4 | |
8085 | |
8086 `right-top' 4 3 2 1 `right-bottom' 12 11 10 9 | |
8087 8 7 6 5 8 7 6 5 | |
8088 12 11 10 9 4 3 2 1 | |
8089 | |
8090 `top-left' 1 4 7 10 `bottom-left' 3 6 9 12 | |
8091 2 5 8 11 2 5 8 11 | |
8092 3 6 9 12 1 4 7 10 | |
8093 | |
8094 `top-right' 10 7 4 1 `bottom-right' 12 9 6 3 | |
8095 11 8 5 2 11 8 5 2 | |
8096 12 9 6 3 10 7 4 1 | |
8097 | |
8098 Any other value is treated as `left-top'. | |
8099 | |
8100 *** Zebra stripes (subgroup) | |
8101 | |
8102 The variable `ps-zebra-color' controls the zebra stripes grayscale or | |
8103 RGB color. | |
8104 | |
8105 The variable `ps-zebra-stripe-follow' specifies how zebra stripes | |
8106 continue on next page. Visually, valid values are (the character `+' | |
8107 to the right of each column indicates that a line is printed): | |
8108 | |
8109 `nil' `follow' `full' `full-follow' | |
8110 Current Page -------- ----------- --------- ---------------- | |
8111 1 XXXXX + 1 XXXXXXXX + 1 XXXXXX + 1 XXXXXXXXXXXXX + | |
8112 2 XXXXX + 2 XXXXXXXX + 2 XXXXXX + 2 XXXXXXXXXXXXX + | |
8113 3 XXXXX + 3 XXXXXXXX + 3 XXXXXX + 3 XXXXXXXXXXXXX + | |
8114 4 + 4 + 4 + 4 + | |
8115 5 + 5 + 5 + 5 + | |
8116 6 + 6 + 6 + 6 + | |
8117 7 XXXXX + 7 XXXXXXXX + 7 XXXXXX + 7 XXXXXXXXXXXXX + | |
8118 8 XXXXX + 8 XXXXXXXX + 8 XXXXXX + 8 XXXXXXXXXXXXX + | |
8119 9 XXXXX + 9 XXXXXXXX + 9 XXXXXX + 9 XXXXXXXXXXXXX + | |
8120 10 + 10 + | |
8121 11 + 11 + | |
8122 -------- ----------- --------- ---------------- | |
8123 Next Page -------- ----------- --------- ---------------- | |
8124 12 XXXXX + 12 + 10 XXXXXX + 10 + | |
8125 13 XXXXX + 13 XXXXXXXX + 11 XXXXXX + 11 + | |
8126 14 XXXXX + 14 XXXXXXXX + 12 XXXXXX + 12 + | |
8127 15 + 15 XXXXXXXX + 13 + 13 XXXXXXXXXXXXX + | |
8128 16 + 16 + 14 + 14 XXXXXXXXXXXXX + | |
8129 17 + 17 + 15 + 15 XXXXXXXXXXXXX + | |
8130 18 XXXXX + 18 + 16 XXXXXX + 16 + | |
8131 19 XXXXX + 19 XXXXXXXX + 17 XXXXXX + 17 + | |
8132 20 XXXXX + 20 XXXXXXXX + 18 XXXXXX + 18 + | |
8133 21 + 21 XXXXXXXX + | |
8134 22 + 22 + | |
8135 -------- ----------- --------- ---------------- | |
8136 | |
8137 Any other value is treated as `nil'. | |
8138 | |
8139 | |
8140 *** Printer management (subgroup) | |
8141 | |
8142 The variable `ps-printer-name-option' determines the option used by | |
8143 some utilities to indicate the printer name; it's used only when | |
8144 `ps-printer-name' is a non-empty string. If you're using the lpr | |
8145 utility to print, for example, `ps-printer-name-option' should be set | |
8146 to "-P". | |
8147 | |
8148 The variable `ps-manual-feed' indicates if the printer requires manual | |
8149 paper feeding. If it's nil, automatic feeding takes place. If it's | |
8150 non-nil, manual feeding takes place. | |
8151 | |
8152 The variable `ps-end-with-control-d' specifies whether C-d (\x04) | |
8153 should be inserted at end of the generated PostScript. Non-nil means | |
8154 do so. | |
8155 | |
8156 *** Page settings (subgroup) | |
8157 | |
8158 If variable `ps-warn-paper-type' is nil, it's *not* treated as an | |
8159 error if the PostScript printer doesn't have a paper with the size | |
8160 indicated by `ps-paper-type'; the default paper size will be used | |
8161 instead. If `ps-warn-paper-type' is non-nil, an error is signaled if | |
8162 the PostScript printer doesn't support a paper with the size indicated | |
8163 by `ps-paper-type'. This is used when `ps-spool-config' is set to | |
8164 `setpagedevice'. | |
8165 | |
8166 The variable `ps-print-upside-down' determines the orientation for | |
8167 printing pages: nil means `normal' printing, non-nil means | |
8168 `upside-down' printing (that is, the page is rotated by 180 degrees). | |
8169 | |
8170 The variable `ps-selected-pages' specifies which pages to print. If | |
8171 it's nil, all pages are printed. If it's a list, list elements may be | |
8172 integers specifying a single page to print, or cons cells (FROM . TO) | |
8173 specifying to print from page FROM to TO. Invalid list elements, that | |
8174 is integers smaller than one, or elements whose FROM is greater than | |
8175 its TO, are ignored. | |
8176 | |
8177 The variable `ps-even-or-odd-pages' specifies how to print even/odd | |
8178 pages. Valid values are: | |
8179 | |
8180 nil print all pages. | |
8181 | |
8182 `even-page' print only even pages. | |
8183 | |
8184 `odd-page' print only odd pages. | |
8185 | |
8186 `even-sheet' print only even sheets. | |
8187 That is, if `ps-n-up-printing' is 1, it behaves like | |
8188 `even-page', but for values greater than 1, it'll | |
8189 print only the even sheet of paper. | |
8190 | |
8191 `odd-sheet' print only odd sheets. | |
8192 That is, if `ps-n-up-printing' is 1, it behaves like | |
8193 `odd-page'; but for values greater than 1, it'll print | |
8194 only the odd sheet of paper. | |
8195 | |
8196 Any other value is treated as nil. | |
8197 | |
8198 If you set `ps-selected-pages' (see there for documentation), pages | |
8199 are filtered by `ps-selected-pages', and then by | |
8200 `ps-even-or-odd-pages'. For example, if we have: | |
8201 | |
8202 (setq ps-selected-pages '(1 4 (6 . 10) (12 . 16) 20)) | |
8203 | |
8204 and we combine this with `ps-even-or-odd-pages' and | |
8205 `ps-n-up-printing', we get: | |
8206 | |
8207 `ps-n-up-printing' = 1: | |
8208 `ps-even-or-odd-pages' PAGES PRINTED | |
8209 nil 1, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 20 | |
8210 even-page 4, 6, 8, 10, 12, 14, 16, 20 | |
8211 odd-page 1, 7, 9, 13, 15 | |
8212 even-sheet 4, 6, 8, 10, 12, 14, 16, 20 | |
8213 odd-sheet 1, 7, 9, 13, 15 | |
8214 | |
8215 `ps-n-up-printing' = 2: | |
8216 `ps-even-or-odd-pages' PAGES PRINTED | |
8217 nil 1/4, 6/7, 8/9, 10/12, 13/14, 15/16, 20 | |
8218 even-page 4/6, 8/10, 12/14, 16/20 | |
8219 odd-page 1/7, 9/13, 15 | |
8220 even-sheet 6/7, 10/12, 15/16 | |
8221 odd-sheet 1/4, 8/9, 13/14, 20 | |
8222 | |
8223 *** Miscellany (subgroup) | |
8224 | |
8225 The variable `ps-error-handler-message' specifies where error handler | |
8226 messages should be sent. | |
8227 | |
8228 It is also possible to add a user-defined PostScript prologue code in | |
8229 front of all generated prologue code by setting the variable | |
8230 `ps-user-defined-prologue'. | |
8231 | |
8232 The variable `ps-line-number-font' specifies the font for line numbers. | |
8233 | |
8234 The variable `ps-line-number-font-size' specifies the font size in | |
8235 points for line numbers. | |
8236 | |
8237 The variable `ps-line-number-color' specifies the color for line | |
8238 numbers. See `ps-zebra-color' for documentation. | |
8239 | |
8240 The variable `ps-line-number-step' specifies the interval in which | |
8241 line numbers are printed. For example, if `ps-line-number-step' is set | |
8242 to 2, the printing will look like: | |
8243 | |
8244 1 one line | |
8245 one line | |
8246 3 one line | |
8247 one line | |
8248 5 one line | |
8249 one line | |
8250 ... | |
8251 | |
8252 Valid values are: | |
8253 | |
8254 integer an integer specifying the interval in which line numbers are | |
8255 printed. If it's smaller than or equal to zero, 1 | |
8256 is used. | |
8257 | |
8258 `zebra' specifies that only the line number of the first line in a | |
8259 zebra stripe is to be printed. | |
8260 | |
8261 Any other value is treated as `zebra'. | |
8262 | |
8263 The variable `ps-line-number-start' specifies the starting point in | |
8264 the interval given by `ps-line-number-step'. For example, if | |
8265 `ps-line-number-step' is set to 3, and `ps-line-number-start' is set to | |
8266 3, the output will look like: | |
8267 | |
8268 one line | |
8269 one line | |
8270 3 one line | |
8271 one line | |
8272 one line | |
8273 6 one line | |
8274 one line | |
8275 one line | |
8276 9 one line | |
8277 one line | |
8278 ... | |
8279 | |
8280 The variable `ps-postscript-code-directory' specifies the directory | |
8281 where the PostScript prologue file used by ps-print is found. | |
8282 | |
8283 The variable `ps-line-spacing' determines the line spacing in points, | |
8284 for ordinary text, when generating PostScript (similar to | |
8285 `ps-font-size'). | |
8286 | |
8287 The variable `ps-paragraph-spacing' determines the paragraph spacing, | |
8288 in points, for ordinary text, when generating PostScript (similar to | |
8289 `ps-font-size'). | |
8290 | |
8291 The variable `ps-paragraph-regexp' specifies the paragraph delimiter. | |
8292 | |
8293 The variable `ps-begin-cut-regexp' and `ps-end-cut-regexp' specify the | |
8294 start and end of a region to cut out when printing. | |
30922 | 8295 |
8296 ** hideshow changes. | |
8297 | |
8298 *** now supports hiding of blocks of single line comments (like // for | |
8299 C++, ; for lisp). | |
8300 | |
8301 *** Support for java-mode added. | |
8302 | |
8303 *** When doing `hs-hide-all' it is now possible to also hide the comments | |
8304 in the file if `hs-hide-comments-when-hiding-all' is set. | |
8305 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
8306 *** The new function `hs-hide-initial-comment' hides the comments at |
30922 | 8307 the beginning of the files. Finally those huge RCS logs don't stay in your |
8308 way! This is run by default when entering the `hs-minor-mode'. | |
8309 | |
8310 *** Now uses overlays instead of `selective-display', so is more | |
8311 robust and a lot faster. | |
8312 | |
8313 *** A block beginning can span multiple lines. | |
8314 | |
8315 *** The new variable `hs-show-hidden-short-form' if t, directs hideshow | |
8316 to show only the beginning of a block when it is hidden. See the | |
8317 documentation for more details. | |
8318 | |
8319 ** Changes in Enriched mode. | |
8320 | |
8321 *** When you visit a file in enriched-mode, Emacs will make sure it is | |
8322 filled to the current fill-column. This behavior is now independent | |
8323 of the size of the window. When you save the file, the fill-column in | |
8324 use is stored as well, so that the whole buffer need not be refilled | |
8325 the next time unless the fill-column is different. | |
8326 | |
8327 *** use-hard-newlines is now a minor mode. When it is enabled, Emacs | |
8328 distinguishes between hard and soft newlines, and treats hard newlines | |
8329 as paragraph boundaries. Otherwise all newlines inserted are marked | |
8330 as soft, and paragraph boundaries are determined solely from the text. | |
8331 | |
8332 ** Font Lock mode | |
8333 | |
8334 *** Custom support | |
8335 | |
8336 The variables font-lock-face-attributes, font-lock-display-type and | |
8337 font-lock-background-mode are now obsolete; the recommended way to specify the | |
8338 faces to use for Font Lock mode is with M-x customize-group on the new custom | |
8339 group font-lock-highlighting-faces. If you set font-lock-face-attributes in | |
8340 your ~/.emacs file, Font Lock mode will respect its value. However, you should | |
8341 consider converting from setting that variable to using M-x customize. | |
8342 | |
8343 You can still use X resources to specify Font Lock face appearances. | |
8344 | |
8345 *** Maximum decoration | |
8346 | |
8347 Fontification now uses the maximum level of decoration supported by | |
8348 default. Previously, fontification used a mode-specific default level | |
8349 of decoration, which is typically the minimum level of decoration | |
8350 supported. You can set font-lock-maximum-decoration to nil | |
8351 to get the old behavior. | |
8352 | |
8353 *** New support | |
8354 | |
8355 Support is now provided for Java, Objective-C, AWK and SIMULA modes. | |
8356 | |
8357 Note that Font Lock mode can be turned on without knowing exactly what modes | |
8358 support Font Lock mode, via the command global-font-lock-mode. | |
8359 | |
8360 *** Configurable support | |
8361 | |
8362 Support for C, C++, Objective-C and Java can be more easily configured for | |
8363 additional types and classes via the new variables c-font-lock-extra-types, | |
8364 c++-font-lock-extra-types, objc-font-lock-extra-types and, you guessed it, | |
8365 java-font-lock-extra-types. These value of each of these variables should be a | |
8366 list of regexps matching the extra type names. For example, the default value | |
8367 of c-font-lock-extra-types is ("\\sw+_t") which means fontification follows the | |
8368 convention that C type names end in _t. This results in slower fontification. | |
8369 | |
8370 Of course, you can change the variables that specify fontification in whatever | |
8371 way you wish, typically by adding regexps. However, these new variables make | |
8372 it easier to make specific and common changes for the fontification of types. | |
8373 | |
8374 *** Adding highlighting patterns to existing support | |
8375 | |
8376 You can use the new function font-lock-add-keywords to add your own | |
8377 highlighting patterns, such as for project-local or user-specific constructs, | |
8378 for any mode. | |
8379 | |
8380 For example, to highlight `FIXME:' words in C comments, put: | |
8381 | |
8382 (font-lock-add-keywords 'c-mode '(("\\<FIXME:" 0 font-lock-warning-face t))) | |
8383 | |
8384 in your ~/.emacs. | |
8385 | |
8386 *** New faces | |
8387 | |
8388 Font Lock now defines two new faces, font-lock-builtin-face and | |
8389 font-lock-warning-face. These are intended to highlight builtin keywords, | |
8390 distinct from a language's normal keywords, and objects that should be brought | |
8391 to user attention, respectively. Various modes now use these new faces. | |
8392 | |
8393 *** Changes to fast-lock support mode | |
8394 | |
8395 The fast-lock package, one of the two Font Lock support modes, can now process | |
8396 cache files silently. You can use the new variable fast-lock-verbose, in the | |
8397 same way as font-lock-verbose, to control this feature. | |
8398 | |
8399 *** Changes to lazy-lock support mode | |
8400 | |
8401 The lazy-lock package, one of the two Font Lock support modes, can now fontify | |
8402 according to the true syntactic context relative to other lines. You can use | |
8403 the new variable lazy-lock-defer-contextually to control this feature. If | |
8404 non-nil, changes to the buffer will cause subsequent lines in the buffer to be | |
8405 refontified after lazy-lock-defer-time seconds of idle time. If nil, then only | |
8406 the modified lines will be refontified; this is the same as the previous Lazy | |
8407 Lock mode behaviour and the behaviour of Font Lock mode. | |
8408 | |
8409 This feature is useful in modes where strings or comments can span lines. | |
8410 For example, if a string or comment terminating character is deleted, then if | |
8411 this feature is enabled subsequent lines in the buffer will be correctly | |
8412 refontified to reflect their new syntactic context. Previously, only the line | |
8413 containing the deleted character would be refontified and you would have to use | |
8414 the command M-g M-g (font-lock-fontify-block) to refontify some lines. | |
8415 | |
8416 As a consequence of this new feature, two other variables have changed: | |
8417 | |
8418 Variable `lazy-lock-defer-driven' is renamed `lazy-lock-defer-on-scrolling'. | |
8419 Variable `lazy-lock-defer-time' can now only be a time, i.e., a number. | |
8420 Buffer modes for which on-the-fly deferral applies can be specified via the | |
8421 new variable `lazy-lock-defer-on-the-fly'. | |
8422 | |
8423 If you set these variables in your ~/.emacs, then you may have to change those | |
8424 settings. | |
8425 | |
8426 ** Ada mode changes. | |
8427 | |
8428 *** There is now better support for using find-file.el with Ada mode. | |
8429 If you switch between spec and body, the cursor stays in the same | |
8430 procedure (modulo overloading). If a spec has no body file yet, but | |
8431 you try to switch to its body file, Ada mode now generates procedure | |
8432 stubs. | |
8433 | |
8434 *** There are two new commands: | |
8435 - `ada-make-local' : invokes gnatmake on the current buffer | |
8436 - `ada-check-syntax' : check syntax of current buffer. | |
8437 | |
8438 The user options `ada-compiler-make', `ada-make-options', | |
8439 `ada-language-version', `ada-compiler-syntax-check', and | |
8440 `ada-compile-options' are used within these commands. | |
8441 | |
8442 *** Ada mode can now work with Outline minor mode. The outline level | |
8443 is calculated from the indenting, not from syntactic constructs. | |
8444 Outlining does not work if your code is not correctly indented. | |
8445 | |
8446 *** The new function `ada-gnat-style' converts the buffer to the style of | |
8447 formatting used in GNAT. It places two blanks after a comment start, | |
8448 places one blank between a word end and an opening '(', and puts one | |
8449 space between a comma and the beginning of a word. | |
8450 | |
8451 ** Scheme mode changes. | |
8452 | |
8453 *** Scheme mode indentation now uses many of the facilities of Lisp | |
8454 mode; therefore, the variables to customize it are the variables used | |
8455 for Lisp mode which have names starting with `lisp-'. The variables | |
8456 with names starting with `scheme-' which used to do this no longer | |
8457 have any effect. | |
8458 | |
8459 If you want to use different indentation for Scheme and Lisp, this is | |
8460 still possible, but now you must do it by adding a hook to | |
8461 scheme-mode-hook, which could work by setting the `lisp-' indentation | |
8462 variables as buffer-local variables. | |
8463 | |
8464 *** DSSSL mode is a variant of Scheme mode, for editing DSSSL scripts. | |
8465 Use M-x dsssl-mode. | |
8466 | |
8467 ** Changes to the emacsclient program | |
8468 | |
8469 *** If a socket can't be found, and environment variables LOGNAME or | |
8470 USER are set, emacsclient now looks for a socket based on the UID | |
8471 associated with the name. That is an emacsclient running as root | |
8472 can connect to an Emacs server started by a non-root user. | |
8473 | |
8474 *** The emacsclient program now accepts an option --no-wait which tells | |
8475 it to return immediately without waiting for you to "finish" the | |
8476 buffer in Emacs. | |
8477 | |
8478 *** The new option --alternate-editor allows to specify an editor to | |
8479 use if Emacs is not running. The environment variable | |
8480 ALTERNATE_EDITOR can be used for the same effect; the command line | |
8481 option takes precedence. | |
8482 | |
8483 ** M-x eldoc-mode enables a minor mode in which the echo area | |
8484 constantly shows the parameter list for function being called at point | |
8485 (in Emacs Lisp and Lisp Interaction modes only). | |
8486 | |
8487 ** C-x n d now runs the new command narrow-to-defun, | |
8488 which narrows the accessible parts of the buffer to just | |
8489 the current defun. | |
8490 | |
8491 ** Emacs now handles the `--' argument in the standard way; all | |
8492 following arguments are treated as ordinary file names. | |
8493 | |
8494 ** On MSDOS and Windows, the bookmark file is now called _emacs.bmk, | |
8495 and the saved desktop file is now called _emacs.desktop (truncated if | |
8496 necessary). | |
8497 | |
8498 ** When you kill a buffer that visits a file, | |
8499 if there are any registers that save positions in the file, | |
8500 these register values no longer become completely useless. | |
8501 If you try to go to such a register with C-x j, then you are | |
8502 asked whether to visit the file again. If you say yes, | |
8503 it visits the file and then goes to the same position. | |
8504 | |
8505 ** When you visit a file that changes frequently outside Emacs--for | |
8506 example, a log of output from a process that continues to run--it may | |
8507 be useful for Emacs to revert the file without querying you whenever | |
8508 you visit the file afresh with C-x C-f. | |
8509 | |
8510 You can request this behavior for certain files by setting the | |
8511 variable revert-without-query to a list of regular expressions. If a | |
8512 file's name matches any of these regular expressions, find-file and | |
8513 revert-buffer revert the buffer without asking for permission--but | |
8514 only if you have not edited the buffer text yourself. | |
8515 | |
8516 ** set-default-font has been renamed to set-frame-font | |
8517 since it applies only to the current frame. | |
8518 | |
8519 ** In TeX mode, you can use the variable tex-main-file to specify the | |
8520 file for tex-file to run TeX on. (By default, tex-main-file is nil, | |
8521 and tex-file runs TeX on the current visited file.) | |
8522 | |
8523 This is useful when you are editing a document that consists of | |
8524 multiple files. In each of the included files, you can set up a local | |
8525 variable list which specifies the top-level file of your document for | |
8526 tex-main-file. Then tex-file will run TeX on the whole document | |
8527 instead of just the file you are editing. | |
8528 | |
8529 ** RefTeX mode | |
8530 | |
8531 RefTeX mode is a new minor mode with special support for \label, \ref | |
8532 and \cite macros in LaTeX documents. RefTeX distinguishes labels of | |
8533 different environments (equation, figure, ...) and has full support for | |
8534 multifile documents. To use it, select a buffer with a LaTeX document and | |
8535 turn the mode on with M-x reftex-mode. Here are the main user commands: | |
8536 | |
8537 C-c ( reftex-label | |
8538 Creates a label semi-automatically. RefTeX is context sensitive and | |
8539 knows which kind of label is needed. | |
8540 | |
8541 C-c ) reftex-reference | |
8542 Offers in a menu all labels in the document, along with context of the | |
8543 label definition. The selected label is referenced as \ref{LABEL}. | |
8544 | |
8545 C-c [ reftex-citation | |
8546 Prompts for a regular expression and displays a list of matching BibTeX | |
8547 database entries. The selected entry is cited with a \cite{KEY} macro. | |
8548 | |
8549 C-c & reftex-view-crossref | |
8550 Views the cross reference of a \ref or \cite command near point. | |
8551 | |
8552 C-c = reftex-toc | |
8553 Shows a table of contents of the (multifile) document. From there you | |
8554 can quickly jump to every section. | |
8555 | |
8556 Under X, RefTeX installs a "Ref" menu in the menu bar, with additional | |
8557 commands. Press `?' to get help when a prompt mentions this feature. | |
8558 Full documentation and customization examples are in the file | |
8559 reftex.el. You can use the finder to view the file documentation: | |
8560 C-h p --> tex --> reftex.el | |
8561 | |
8562 ** Changes in BibTeX mode. | |
8563 | |
8564 *** Info documentation is now available. | |
8565 | |
8566 *** Don't allow parentheses in string constants anymore. This confused | |
8567 both the BibTeX program and Emacs BibTeX mode. | |
8568 | |
8569 *** Renamed variable bibtex-mode-user-optional-fields to | |
8570 bibtex-user-optional-fields. | |
8571 | |
8572 *** Removed variable bibtex-include-OPTannote | |
8573 (use bibtex-user-optional-fields instead). | |
8574 | |
8575 *** New interactive functions to copy and kill fields and complete | |
8576 entries to the BibTeX kill ring, from where they can be yanked back by | |
8577 appropriate functions. | |
8578 | |
8579 *** New interactive functions for repositioning and marking of | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
8580 entries. They are bound by default to C-M-l and C-M-h. |
30922 | 8581 |
8582 *** New hook bibtex-clean-entry-hook. It is called after entry has | |
8583 been cleaned. | |
8584 | |
8585 *** New variable bibtex-field-delimiters, which replaces variables | |
8586 bibtex-field-{left|right}-delimiter. | |
8587 | |
8588 *** New variable bibtex-entry-delimiters to determine how entries | |
8589 shall be delimited. | |
8590 | |
8591 *** Allow preinitialization of fields. See documentation of | |
8592 bibtex-user-optional-fields, bibtex-entry-field-alist, and | |
8593 bibtex-include-OPTkey for details. | |
8594 | |
8595 *** Book and InBook entries require either an author or an editor | |
8596 field. This is now supported by bibtex.el. Alternative fields are | |
8597 prefixed with `ALT'. | |
8598 | |
8599 *** New variable bibtex-entry-format, which replaces variable | |
8600 bibtex-clean-entry-zap-empty-opts and allows specification of many | |
8601 formatting options performed on cleaning an entry (see variable | |
8602 documentation). | |
8603 | |
8604 *** Even more control on how automatic keys are generated. See | |
8605 documentation of bibtex-generate-autokey for details. Transcriptions | |
8606 for foreign languages other than German are now handled, too. | |
8607 | |
8608 *** New boolean user option bibtex-comma-after-last-field to decide if | |
8609 comma should be inserted at end of last field. | |
8610 | |
8611 *** New boolean user option bibtex-align-at-equal-sign to determine if | |
8612 alignment should be made at left side of field contents or at equal | |
8613 signs. New user options to control entry layout (e.g. indentation). | |
8614 | |
8615 *** New function bibtex-fill-entry to realign entries. | |
8616 | |
8617 *** New function bibtex-reformat to reformat region or buffer. | |
8618 | |
8619 *** New function bibtex-convert-alien to convert a BibTeX database | |
8620 from alien sources. | |
8621 | |
8622 *** New function bibtex-complete-key (similar to bibtex-complete-string) | |
8623 to complete prefix to a key defined in buffer. Mainly useful in | |
8624 crossref entries. | |
8625 | |
8626 *** New function bibtex-count-entries to count entries in buffer or | |
8627 region. | |
8628 | |
8629 *** Added support for imenu. | |
8630 | |
8631 *** The function `bibtex-validate' now checks current region instead | |
8632 of buffer if mark is active. Now it shows all errors of buffer in a | |
8633 `compilation mode' buffer. You can use the normal commands (e.g. | |
8634 `next-error') for compilation modes to jump to errors. | |
8635 | |
8636 *** New variable `bibtex-string-file-path' to determine where the files | |
8637 from `bibtex-string-files' are searched. | |
8638 | |
8639 ** Iso Accents mode now supports Latin-3 as an alternative. | |
8640 | |
8641 ** The command next-error now opens blocks hidden by hideshow. | |
8642 | |
8643 ** The function using-unix-filesystems has been replaced by the | |
8644 functions add-untranslated-filesystem and remove-untranslated-filesystem. | |
8645 Each of these functions takes the name of a drive letter or directory | |
8646 as an argument. | |
8647 | |
8648 When a filesystem is added as untranslated, all files on it are read | |
8649 and written in binary mode (no cr/lf translation is performed). | |
8650 | |
8651 ** browse-url changes | |
8652 | |
8653 *** New methods for: Grail (browse-url-generic), MMM (browse-url-mmm), | |
8654 Lynx in a separate xterm (browse-url-lynx-xterm) or in an Emacs window | |
8655 (browse-url-lynx-emacs), remote W3 (browse-url-w3-gnudoit), generic | |
8656 non-remote-controlled browsers (browse-url-generic) and associated | |
8657 customization variables. | |
8658 | |
8659 *** New commands `browse-url-of-region' and `browse-url'. | |
8660 | |
8661 *** URLs marked up with <URL:...> (RFC1738) work if broken across | |
8662 lines. Browsing methods can be associated with URL regexps | |
8663 (e.g. mailto: URLs) via `browse-url-browser-function'. | |
8664 | |
8665 ** Changes in Ediff | |
8666 | |
8667 *** Clicking Mouse-2 on a brief command description in Ediff control panel | |
8668 pops up the Info file for this command. | |
8669 | |
8670 *** There is now a variable, ediff-autostore-merges, which controls whether | |
8671 the result of a merge is saved in a file. By default, this is done only when | |
8672 merge is done from a session group (eg, when merging files in two different | |
8673 directories). | |
8674 | |
8675 *** Since Emacs 19.31 (this hasn't been announced before), Ediff can compare | |
8676 and merge groups of files residing in different directories, or revisions of | |
8677 files in the same directory. | |
8678 | |
8679 *** Since Emacs 19.31, Ediff can apply multi-file patches interactively. | |
8680 The patches must be in the context format or GNU unified format. (The bug | |
8681 related to the GNU format has now been fixed.) | |
8682 | |
8683 ** Changes in Viper | |
8684 | |
8685 *** The startup file is now .viper instead of .vip | |
8686 *** All variable/function names have been changed to start with viper- | |
8687 instead of vip-. | |
8688 *** C-\ now simulates the meta-key in all Viper states. | |
8689 *** C-z in Insert state now escapes to Vi for the duration of the next | |
8690 Viper command. In Vi and Insert states, C-z behaves as before. | |
8691 *** C-c \ escapes to Vi for one command if Viper is in Insert or Emacs states. | |
8692 *** _ is no longer the meta-key in Vi state. | |
8693 *** The variable viper-insert-state-cursor-color can be used to change cursor | |
8694 color when Viper is in insert state. | |
8695 *** If search lands the cursor near the top or the bottom of the window, | |
8696 Viper pulls the window up or down to expose more context. The variable | |
8697 viper-adjust-window-after-search controls this behavior. | |
8698 | |
8699 ** Etags changes. | |
8700 | |
8701 *** In C, C++, Objective C and Java, Etags tags global variables by | |
8702 default. The resulting tags files are inflated by 30% on average. | |
8703 Use --no-globals to turn this feature off. Etags can also tag | |
8704 variables which are members of structure-like constructs, but it does | |
8705 not by default. Use --members to turn this feature on. | |
8706 | |
8707 *** C++ member functions are now recognized as tags. | |
8708 | |
8709 *** Java is tagged like C++. In addition, "extends" and "implements" | |
8710 constructs are tagged. Files are recognised by the extension .java. | |
8711 | |
8712 *** Etags can now handle programs written in Postscript. Files are | |
8713 recognised by the extensions .ps and .pdb (Postscript with C syntax). | |
8714 In Postscript, tags are lines that start with a slash. | |
8715 | |
8716 *** Etags now handles Objective C and Objective C++ code. The usual C and | |
8717 C++ tags are recognized in these languages; in addition, etags | |
8718 recognizes special Objective C syntax for classes, class categories, | |
8719 methods and protocols. | |
8720 | |
8721 *** Etags also handles Cobol. Files are recognised by the extension | |
8722 .cobol. The tagged lines are those containing a word that begins in | |
8723 column 8 and ends in a full stop, i.e. anything that could be a | |
8724 paragraph name. | |
8725 | |
8726 *** Regexps in Etags now support intervals, as in ed or grep. The syntax of | |
8727 an interval is \{M,N\}, and it means to match the preceding expression | |
8728 at least M times and as many as N times. | |
8729 | |
8730 ** The format for specifying a custom format for time-stamp to insert | |
8731 in files has changed slightly. | |
8732 | |
8733 With the new enhancements to the functionality of format-time-string, | |
8734 time-stamp-format will change to be eventually compatible with it. | |
8735 This conversion is being done in two steps to maintain compatibility | |
8736 with old time-stamp-format values. | |
8737 | |
8738 In the new scheme, alternate case is signified by the number-sign | |
8739 (`#') modifier, rather than changing the case of the format character. | |
8740 This feature is as yet incompletely implemented for compatibility | |
8741 reasons. | |
8742 | |
8743 In the old time-stamp-format, all numeric fields defaulted to their | |
8744 natural width. (With format-time-string, each format has a | |
8745 fixed-width default.) In this version, you can specify the colon | |
8746 (`:') modifier to a numeric conversion to mean "give me the historical | |
8747 time-stamp-format width default." Do not use colon if you are | |
8748 specifying an explicit width, as in "%02d". | |
8749 | |
8750 Numbers are no longer truncated to the requested width, except in the | |
8751 case of "%02y", which continues to give a two-digit year. Digit | |
8752 truncation probably wasn't being used for anything else anyway. | |
8753 | |
8754 The new formats will work with old versions of Emacs. New formats are | |
8755 being recommended now to allow time-stamp-format to change in the | |
8756 future to be compatible with format-time-string. The new forms being | |
8757 recommended now will continue to work then. | |
8758 | |
8759 See the documentation string for the variable time-stamp-format for | |
8760 details. | |
8761 | |
8762 ** There are some additional major modes: | |
8763 | |
8764 dcl-mode, for editing VMS DCL files. | |
8765 m4-mode, for editing files of m4 input. | |
8766 meta-mode, for editing MetaFont and MetaPost source files. | |
8767 | |
8768 ** In Shell mode, the command shell-copy-environment-variable lets you | |
8769 copy the value of a specified environment variable from the subshell | |
8770 into Emacs. | |
8771 | |
8772 ** New Lisp packages include: | |
8773 | |
8774 *** battery.el displays battery status for laptops. | |
8775 | |
8776 *** M-x bruce (named after Lenny Bruce) is a program that might | |
8777 be used for adding some indecent words to your email. | |
8778 | |
8779 *** M-x crisp-mode enables an emulation for the CRiSP editor. | |
8780 | |
8781 *** M-x dirtrack arranges for better tracking of directory changes | |
8782 in shell buffers. | |
8783 | |
8784 *** The new library elint.el provides for linting of Emacs Lisp code. | |
8785 See the documentation for `elint-initialize', `elint-current-buffer' | |
8786 and `elint-defun'. | |
8787 | |
8788 *** M-x expand-add-abbrevs defines a special kind of abbrev which is | |
8789 meant for programming constructs. These abbrevs expand like ordinary | |
8790 ones, when you type SPC, but only at the end of a line and not within | |
8791 strings or comments. | |
8792 | |
8793 These abbrevs can act as templates: you can define places within an | |
8794 abbrev for insertion of additional text. Once you expand the abbrev, | |
8795 you can then use C-x a p and C-x a n to move back and forth to these | |
8796 insertion points. Thus you can conveniently insert additional text | |
8797 at these points. | |
8798 | |
8799 *** filecache.el remembers the location of files so that you | |
8800 can visit them by short forms of their names. | |
8801 | |
8802 *** find-func.el lets you find the definition of the user-loaded | |
8803 Emacs Lisp function at point. | |
8804 | |
8805 *** M-x handwrite converts text to a "handwritten" picture. | |
8806 | |
8807 *** M-x iswitchb-buffer is a command for switching to a buffer, much like | |
8808 switch-buffer, but it reads the argument in a more helpful way. | |
8809 | |
8810 *** M-x landmark implements a neural network for landmark learning. | |
8811 | |
8812 *** M-x locate provides a convenient interface to the `locate' program. | |
8813 | |
8814 *** M4 mode is a new mode for editing files of m4 input. | |
8815 | |
8816 *** mantemp.el creates C++ manual template instantiations | |
8817 from the GCC error messages which indicate which instantiations are needed. | |
8818 | |
8819 *** mouse-copy.el provides a one-click copy and move feature. | |
8820 You can drag a region with M-mouse-1, and it is automatically | |
8821 inserted at point. M-Shift-mouse-1 deletes the text from its | |
8822 original place after inserting the copy. | |
8823 | |
8824 *** mouse-drag.el lets you do scrolling by dragging Mouse-2 | |
8825 on the buffer. | |
8826 | |
8827 You click the mouse and move; that distance either translates into the | |
8828 velocity to scroll (with mouse-drag-throw) or the distance to scroll | |
8829 (with mouse-drag-drag). Horizontal scrolling is enabled when needed. | |
8830 | |
8831 Enable mouse-drag with: | |
8832 (global-set-key [down-mouse-2] 'mouse-drag-throw) | |
8833 -or- | |
8834 (global-set-key [down-mouse-2] 'mouse-drag-drag) | |
8835 | |
8836 *** mspools.el is useful for determining which mail folders have | |
8837 mail waiting to be read in them. It works with procmail. | |
8838 | |
8839 *** Octave mode is a major mode for editing files of input for Octave. | |
8840 It comes with a facility for communicating with an Octave subprocess. | |
8841 | |
8842 *** ogonek | |
8843 | |
8844 The ogonek package provides functions for changing the coding of | |
8845 Polish diacritic characters in buffers. Codings known from various | |
8846 platforms are supported such as ISO8859-2, Mazovia, IBM Latin2, and | |
8847 TeX. For example, you can change the coding from Mazovia to | |
8848 ISO8859-2. Another example is a change of coding from ISO8859-2 to | |
8849 prefix notation (in which `/a' stands for the aogonek character, for | |
8850 instance) and vice versa. | |
8851 | |
8852 To use this package load it using | |
8853 M-x load-library [enter] ogonek | |
8854 Then, you may get an explanation by calling one of | |
8855 M-x ogonek-jak -- in Polish | |
8856 M-x ogonek-how -- in English | |
8857 The info specifies the commands and variables provided as well as the | |
8858 ways of customization in `.emacs'. | |
8859 | |
8860 *** Interface to ph. | |
8861 | |
8862 Emacs provides a client interface to CCSO Nameservers (ph/qi) | |
8863 | |
8864 The CCSO nameserver is used in many universities to provide directory | |
8865 services about people. ph.el provides a convenient Emacs interface to | |
8866 these servers. | |
8867 | |
8868 *** uce.el is useful for replying to unsolicited commercial email. | |
8869 | |
8870 *** vcursor.el implements a "virtual cursor" feature. | |
8871 You can move the virtual cursor with special commands | |
8872 while the real cursor does not move. | |
8873 | |
8874 *** webjump.el is a "hot list" package which you can set up | |
8875 for visiting your favorite web sites. | |
8876 | |
8877 *** M-x winner-mode is a minor mode which saves window configurations, | |
8878 so you can move back to other configurations that you have recently used. | |
8879 | |
8880 ** movemail change | |
8881 | |
8882 Movemail no longer needs to be installed setuid root in order for POP | |
8883 mail retrieval to function properly. This is because it no longer | |
8884 supports the RPOP (reserved-port POP) protocol; instead, it uses the | |
8885 user's POP password to authenticate to the mail server. | |
8886 | |
8887 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
|
8888 |
30922 | 8889 * Emacs 20.1 changes for MS-DOS and MS-Windows. |
8890 | |
8891 ** Changes in handling MS-DOS/MS-Windows text files. | |
8892 | |
8893 Emacs handles three different conventions for representing | |
8894 end-of-line: CRLF for MSDOS, LF for Unix and GNU, and CR (used on the | |
8895 Macintosh). Emacs determines which convention is used in a specific | |
8896 file based on the contents of that file (except for certain special | |
8897 file names), and when it saves the file, it uses the same convention. | |
8898 | |
8899 To save the file and change the end-of-line convention, you can use | |
8900 C-x RET f (set-buffer-file-coding-system) to specify a different | |
8901 coding system for the buffer. Then, when you save the file, the newly | |
8902 specified coding system will take effect. For example, to save with | |
8903 LF, specify undecided-unix (or some other ...-unix coding system); to | |
8904 save with CRLF, specify undecided-dos. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
8905 |
30922 | 8906 * Lisp Changes in Emacs 20.1 |
8907 | |
8908 ** Byte-compiled files made with Emacs 20 will, in general, work in | |
8909 Emacs 19 as well, as long as the source code runs in Emacs 19. And | |
8910 vice versa: byte-compiled files made with Emacs 19 should also run in | |
8911 Emacs 20, as long as the program itself works in Emacs 20. | |
8912 | |
8913 ** Windows-specific functions and variables have been renamed | |
8914 to start with w32- instead of win32-. | |
8915 | |
8916 In hacker language, calling something a "win" is a form of praise. We | |
8917 don't want to praise a non-free Microsoft system, so we don't call it | |
8918 "win". | |
8919 | |
8920 ** Basic Lisp changes | |
8921 | |
8922 *** A symbol whose name starts with a colon now automatically | |
8923 evaluates to itself. Therefore such a symbol can be used as a constant. | |
8924 | |
8925 *** The defined purpose of `defconst' has been changed. It should now | |
8926 be used only for values that should not be changed whether by a program | |
8927 or by the user. | |
8928 | |
8929 The actual behavior of defconst has not been changed. | |
8930 | |
8931 *** There are new macros `when' and `unless' | |
8932 | |
8933 (when CONDITION BODY...) is short for (if CONDITION (progn BODY...)) | |
8934 (unless CONDITION BODY...) is short for (if CONDITION nil BODY...) | |
8935 | |
8936 *** Emacs now defines functions caar, cadr, cdar and cddr with their | |
8937 usual Lisp meanings. For example, caar returns the car of the car of | |
8938 its argument. | |
8939 | |
8940 *** equal, when comparing strings, now ignores their text properties. | |
8941 | |
8942 *** The new function `functionp' tests whether an object is a function. | |
8943 | |
8944 *** arrayp now returns t for char-tables and bool-vectors. | |
8945 | |
8946 *** Certain primitives which use characters (as integers) now get an | |
8947 error if the integer is not a valid character code. These primitives | |
8948 include insert-char, char-to-string, and the %c construct in the | |
8949 `format' function. | |
8950 | |
8951 *** The `require' function now insists on adding a suffix, either .el | |
8952 or .elc, to the file name. Thus, (require 'foo) will not use a file | |
8953 whose name is just foo. It insists on foo.el or foo.elc. | |
8954 | |
8955 *** The `autoload' function, when the file name does not contain | |
8956 either a directory name or the suffix .el or .elc, insists on | |
8957 adding one of these suffixes. | |
8958 | |
8959 *** string-to-number now takes an optional second argument BASE | |
8960 which specifies the base to use when converting an integer. | |
8961 If BASE is omitted, base 10 is used. | |
8962 | |
8963 We have not implemented other radices for floating point numbers, | |
8964 because that would be much more work and does not seem useful. | |
8965 | |
8966 *** substring now handles vectors as well as strings. | |
8967 | |
8968 *** The Common Lisp function eql is no longer defined normally. | |
8969 You must load the `cl' library to define it. | |
8970 | |
8971 *** The new macro `with-current-buffer' lets you evaluate an expression | |
8972 conveniently with a different current buffer. It looks like this: | |
8973 | |
8974 (with-current-buffer BUFFER BODY-FORMS...) | |
8975 | |
8976 BUFFER is the expression that says which buffer to use. | |
8977 BODY-FORMS say what to do in that buffer. | |
8978 | |
8979 *** The new primitive `save-current-buffer' saves and restores the | |
8980 choice of current buffer, like `save-excursion', but without saving or | |
8981 restoring the value of point or the mark. `with-current-buffer' | |
8982 works using `save-current-buffer'. | |
8983 | |
8984 *** The new macro `with-temp-file' lets you do some work in a new buffer and | |
8985 write the output to a specified file. Like `progn', it returns the value | |
8986 of the last form. | |
8987 | |
8988 *** The new macro `with-temp-buffer' lets you do some work in a new buffer, | |
8989 which is discarded after use. Like `progn', it returns the value of the | |
8990 last form. If you wish to return the buffer contents, use (buffer-string) | |
8991 as the last form. | |
8992 | |
8993 *** The new function split-string takes a string, splits it at certain | |
8994 characters, and returns a list of the substrings in between the | |
8995 matches. | |
8996 | |
8997 For example, (split-string "foo bar lose" " +") returns ("foo" "bar" "lose"). | |
8998 | |
8999 *** The new macro with-output-to-string executes some Lisp expressions | |
9000 with standard-output set up so that all output feeds into a string. | |
9001 Then it returns that string. | |
9002 | |
9003 For example, if the current buffer name is `foo', | |
9004 | |
9005 (with-output-to-string | |
9006 (princ "The buffer is ") | |
9007 (princ (buffer-name))) | |
9008 | |
9009 returns "The buffer is foo". | |
9010 | |
9011 ** Non-ASCII characters are now supported, if enable-multibyte-characters | |
9012 is non-nil. | |
9013 | |
9014 These characters have character codes above 256. When inserted in the | |
9015 buffer or stored in a string, they are represented as multibyte | |
9016 characters that occupy several buffer positions each. | |
9017 | |
9018 *** When enable-multibyte-characters is non-nil, a single character in | |
9019 a buffer or string can be two or more bytes (as many as four). | |
9020 | |
9021 Buffers and strings are still made up of unibyte elements; | |
9022 character positions and string indices are always measured in bytes. | |
9023 Therefore, moving forward one character can increase the buffer | |
9024 position by 2, 3 or 4. The function forward-char moves by whole | |
9025 characters, and therefore is no longer equivalent to | |
9026 (lambda (n) (goto-char (+ (point) n))). | |
9027 | |
9028 ASCII characters (codes 0 through 127) are still single bytes, always. | |
9029 Sequences of byte values 128 through 255 are used to represent | |
9030 non-ASCII characters. These sequences are called "multibyte | |
9031 characters". | |
9032 | |
9033 The first byte of a multibyte character is always in the range 128 | |
9034 through 159 (octal 0200 through 0237). These values are called | |
9035 "leading codes". The second and subsequent bytes are always in the | |
9036 range 160 through 255 (octal 0240 through 0377). The first byte, the | |
9037 leading code, determines how many bytes long the sequence is. | |
9038 | |
9039 *** The function forward-char moves over characters, and therefore | |
9040 (forward-char 1) may increase point by more than 1 if it moves over a | |
9041 multibyte character. Likewise, delete-char always deletes a | |
9042 character, which may be more than one buffer position. | |
9043 | |
9044 This means that some Lisp programs, which assume that a character is | |
9045 always one buffer position, need to be changed. | |
9046 | |
9047 However, all ASCII characters are always one buffer position. | |
9048 | |
9049 *** The regexp [\200-\377] no longer matches all non-ASCII characters, | |
9050 because when enable-multibyte-characters is non-nil, these characters | |
9051 have codes that are not in the range octal 200 to octal 377. However, | |
9052 the regexp [^\000-\177] does match all non-ASCII characters, | |
9053 guaranteed. | |
9054 | |
9055 *** The function char-boundary-p returns non-nil if position POS is | |
9056 between two characters in the buffer (not in the middle of a | |
9057 character). | |
9058 | |
9059 When the value is non-nil, it says what kind of character follows POS: | |
9060 | |
9061 0 if POS is at an ASCII character or at the end of range, | |
9062 1 if POS is before a 2-byte length multi-byte form, | |
9063 2 if POS is at a head of 3-byte length multi-byte form, | |
9064 3 if POS is at a head of 4-byte length multi-byte form, | |
9065 4 if POS is at a head of multi-byte form of a composite character. | |
9066 | |
9067 *** The function char-bytes returns how many bytes the character CHAR uses. | |
9068 | |
9069 *** Strings can contain multibyte characters. The function | |
9070 `length' returns the string length counting bytes, which may be | |
9071 more than the number of characters. | |
9072 | |
9073 You can include a multibyte character in a string constant by writing | |
9074 it literally. You can also represent it with a hex escape, | |
9075 \xNNNNNNN..., using as many digits as necessary. Any character which | |
9076 is not a valid hex digit terminates this construct. If you want to | |
9077 follow it with a character that is a hex digit, write backslash and | |
9078 newline in between; that will terminate the hex escape. | |
9079 | |
9080 *** The function concat-chars takes arguments which are characters | |
9081 and returns a string containing those characters. | |
9082 | |
9083 *** The function sref access a multibyte character in a string. | |
9084 (sref STRING INDX) returns the character in STRING at INDEX. INDEX | |
9085 counts from zero. If INDEX is at a position in the middle of a | |
9086 character, sref signals an error. | |
9087 | |
9088 *** The function chars-in-string returns the number of characters | |
9089 in a string. This is less than the length of the string, if the | |
9090 string contains multibyte characters (the length counts bytes). | |
9091 | |
9092 *** The function chars-in-region returns the number of characters | |
9093 in a region from BEG to END. This is less than (- END BEG) if the | |
9094 region contains multibyte characters (the length counts bytes). | |
9095 | |
9096 *** The function string-to-list converts a string to a list of | |
9097 the characters in it. string-to-vector converts a string | |
9098 to a vector of the characters in it. | |
9099 | |
9100 *** The function store-substring alters part of the contents | |
9101 of a string. You call it as follows: | |
9102 | |
9103 (store-substring STRING IDX OBJ) | |
9104 | |
9105 This says to alter STRING, by storing OBJ starting at index IDX in | |
9106 STRING. OBJ may be either a character or a (smaller) string. | |
9107 This function really does alter the contents of STRING. | |
9108 Since it is impossible to change the length of an existing string, | |
9109 it is an error if OBJ doesn't fit within STRING's actual length. | |
9110 | |
9111 *** char-width returns the width (in columns) of the character CHAR, | |
9112 if it were displayed in the current buffer and the selected window. | |
9113 | |
9114 *** string-width returns the width (in columns) of the text in STRING, | |
9115 if it were displayed in the current buffer and the selected window. | |
9116 | |
9117 *** truncate-string-to-width shortens a string, if necessary, | |
9118 to fit within a certain number of columns. (Of course, it does | |
9119 not alter the string that you give it; it returns a new string | |
9120 which contains all or just part of the existing string.) | |
9121 | |
9122 (truncate-string-to-width STR END-COLUMN &optional START-COLUMN PADDING) | |
9123 | |
9124 This returns the part of STR up to column END-COLUMN. | |
9125 | |
9126 The optional argument START-COLUMN specifies the starting column. | |
9127 If this is non-nil, then the first START-COLUMN columns of the string | |
9128 are not included in the resulting value. | |
9129 | |
9130 The optional argument PADDING, if non-nil, is a padding character to be added | |
9131 at the beginning and end the resulting string, to extend it to exactly | |
9132 WIDTH columns. If PADDING is nil, that means do not pad; then, if STRING | |
9133 is narrower than WIDTH, the value is equal to STRING. | |
9134 | |
9135 If PADDING and START-COLUMN are both non-nil, and if there is no clean | |
9136 place in STRING that corresponds to START-COLUMN (because one | |
9137 character extends across that column), then the padding character | |
9138 PADDING is added one or more times at the beginning of the result | |
9139 string, so that its columns line up as if it really did start at | |
9140 column START-COLUMN. | |
9141 | |
9142 *** When the functions in the list after-change-functions are called, | |
9143 the third argument is the number of bytes in the pre-change text, not | |
9144 necessarily the number of characters. It is, in effect, the | |
9145 difference in buffer position between the beginning and the end of the | |
9146 changed text, before the change. | |
9147 | |
9148 *** The characters Emacs uses are classified in various character | |
9149 sets, each of which has a name which is a symbol. In general there is | |
9150 one character set for each script, not for each language. | |
9151 | |
9152 **** The function charsetp tests whether an object is a character set name. | |
9153 | |
9154 **** The variable charset-list holds a list of character set names. | |
9155 | |
9156 **** char-charset, given a character code, returns the name of the character | |
9157 set that the character belongs to. (The value is a symbol.) | |
9158 | |
9159 **** split-char, given a character code, returns a list containing the | |
9160 name of the character set, followed by one or two byte-values | |
9161 which identify the character within that character set. | |
9162 | |
9163 **** make-char, given a character set name and one or two subsequent | |
9164 byte-values, constructs a character code. This is roughly the | |
9165 opposite of split-char. | |
9166 | |
9167 **** find-charset-region returns a list of the character sets | |
9168 of all the characters between BEG and END. | |
9169 | |
9170 **** find-charset-string returns a list of the character sets | |
9171 of all the characters in a string. | |
9172 | |
9173 *** Here are the Lisp facilities for working with coding systems | |
9174 and specifying coding systems. | |
9175 | |
9176 **** The function coding-system-list returns a list of all coding | |
9177 system names (symbols). With optional argument t, it returns a list | |
9178 of all distinct base coding systems, not including variants. | |
9179 (Variant coding systems are those like latin-1-dos, latin-1-unix | |
9180 and latin-1-mac which specify the end-of-line conversion as well | |
9181 as what to do about code conversion.) | |
9182 | |
9183 **** coding-system-p tests a symbol to see if it is a coding system | |
9184 name. It returns t if so, nil if not. | |
9185 | |
9186 **** file-coding-system-alist specifies which coding systems to use | |
9187 for certain file names. It works like network-coding-system-alist, | |
9188 except that the PATTERN is matched against the file name. | |
9189 | |
9190 Each element has the format (PATTERN . VAL), where PATTERN determines | |
9191 which file names the element applies to. PATTERN should be a regexp | |
9192 to match against a file name. | |
9193 | |
9194 VAL is a coding system, a cons cell containing two coding systems, or | |
9195 a function symbol. If VAL is a coding system, it is used for both | |
9196 decoding what received from the network stream and encoding what sent | |
9197 to the network stream. If VAL is a cons cell containing two coding | |
9198 systems, the car specifies the coding system for decoding, and the cdr | |
9199 specifies the coding system for encoding. | |
9200 | |
9201 If VAL is a function symbol, the function must return a coding system | |
9202 or a cons cell containing two coding systems, which is used as above. | |
9203 | |
9204 **** The variable network-coding-system-alist specifies | |
9205 the coding system to use for network sockets. | |
9206 | |
9207 Each element has the format (PATTERN . VAL), where PATTERN determines | |
9208 which network sockets the element applies to. PATTERN should be | |
9209 either a port number or a regular expression matching some network | |
9210 service names. | |
9211 | |
9212 VAL is a coding system, a cons cell containing two coding systems, or | |
9213 a function symbol. If VAL is a coding system, it is used for both | |
9214 decoding what received from the network stream and encoding what sent | |
9215 to the network stream. If VAL is a cons cell containing two coding | |
9216 systems, the car specifies the coding system for decoding, and the cdr | |
9217 specifies the coding system for encoding. | |
9218 | |
9219 If VAL is a function symbol, the function must return a coding system | |
9220 or a cons cell containing two coding systems, which is used as above. | |
9221 | |
9222 **** process-coding-system-alist specifies which coding systems to use | |
9223 for certain subprocess. It works like network-coding-system-alist, | |
9224 except that the PATTERN is matched against the program name used to | |
9225 start the subprocess. | |
9226 | |
9227 **** The variable default-process-coding-system specifies the coding | |
9228 systems to use for subprocess (and net connection) input and output, | |
9229 when nothing else specifies what to do. The value is a cons cell | |
9230 (OUTPUT-CODING . INPUT-CODING). OUTPUT-CODING applies to output | |
9231 to the subprocess, and INPUT-CODING applies to input from it. | |
9232 | |
9233 **** The variable coding-system-for-write, if non-nil, specifies the | |
9234 coding system to use for writing a file, or for output to a synchronous | |
9235 subprocess. | |
9236 | |
9237 It also applies to any asynchronous subprocess or network connection, | |
9238 but in a different way: the value of coding-system-for-write when you | |
9239 start the subprocess or connection affects that subprocess or | |
9240 connection permanently or until overridden. | |
9241 | |
9242 The variable coding-system-for-write takes precedence over | |
9243 file-coding-system-alist, process-coding-system-alist and | |
9244 network-coding-system-alist, and all other methods of specifying a | |
9245 coding system for output. But most of the time this variable is nil. | |
9246 It exists so that Lisp programs can bind it to a specific coding | |
9247 system for one operation at a time. | |
9248 | |
9249 **** coding-system-for-read applies similarly to input from | |
9250 files, subprocesses or network connections. | |
9251 | |
9252 **** The function process-coding-system tells you what | |
9253 coding systems(s) an existing subprocess is using. | |
9254 The value is a cons cell, | |
9255 (DECODING-CODING-SYSTEM . ENCODING-CODING-SYSTEM) | |
9256 where DECODING-CODING-SYSTEM is used for decoding output from | |
9257 the subprocess, and ENCODING-CODING-SYSTEM is used for encoding | |
9258 input to the subprocess. | |
9259 | |
9260 **** The function set-process-coding-system can be used to | |
9261 change the coding systems in use for an existing subprocess. | |
9262 | |
9263 ** Emacs has a new facility to help users manage the many | |
9264 customization options. To make a Lisp program work with this facility, | |
9265 you need to use the new macros defgroup and defcustom. | |
9266 | |
9267 You use defcustom instead of defvar, for defining a user option | |
9268 variable. The difference is that you specify two additional pieces of | |
9269 information (usually): the "type" which says what values are | |
9270 legitimate, and the "group" which specifies the hierarchy for | |
9271 customization. | |
9272 | |
9273 Thus, instead of writing | |
9274 | |
9275 (defvar foo-blurgoze nil | |
9276 "*Non-nil means that foo will act very blurgozely.") | |
9277 | |
9278 you would now write this: | |
9279 | |
9280 (defcustom foo-blurgoze nil | |
9281 "*Non-nil means that foo will act very blurgozely." | |
9282 :type 'boolean | |
9283 :group foo) | |
9284 | |
9285 The type `boolean' means that this variable has only | |
9286 two meaningful states: nil and non-nil. Other type values | |
9287 describe other possibilities; see the manual for Custom | |
9288 for a description of them. | |
9289 | |
9290 The "group" argument is used to specify a group which the option | |
9291 should belong to. You define a new group like this: | |
9292 | |
9293 (defgroup ispell nil | |
9294 "Spell checking using Ispell." | |
9295 :group 'processes) | |
9296 | |
9297 The "group" argument in defgroup specifies the parent group. The root | |
9298 group is called `emacs'; it should not contain any variables itself, | |
9299 but only other groups. The immediate subgroups of `emacs' correspond | |
9300 to the keywords used by C-h p. Under these subgroups come | |
9301 second-level subgroups that belong to individual packages. | |
9302 | |
9303 Each Emacs package should have its own set of groups. A simple | |
9304 package should have just one group; a more complex package should | |
9305 have a hierarchy of its own groups. The sole or root group of a | |
9306 package should be a subgroup of one or more of the "keyword" | |
9307 first-level subgroups. | |
9308 | |
9309 ** New `widget' library for inserting UI components in buffers. | |
9310 | |
9311 This library, used by the new custom library, is documented in a | |
9312 separate manual that accompanies Emacs. | |
9313 | |
9314 ** easy-mmode | |
9315 | |
9316 The easy-mmode package provides macros and functions that make | |
9317 developing minor modes easier. Roughly, the programmer has to code | |
9318 only the functionality of the minor mode. All the rest--toggles, | |
9319 predicate, and documentation--can be done in one call to the macro | |
9320 `easy-mmode-define-minor-mode' (see the documentation). See also | |
9321 `easy-mmode-define-keymap'. | |
9322 | |
9323 ** Text property changes | |
9324 | |
9325 *** The `intangible' property now works on overlays as well as on a | |
9326 text property. | |
9327 | |
9328 *** The new functions next-char-property-change and | |
9329 previous-char-property-change scan through the buffer looking for a | |
9330 place where either a text property or an overlay might change. The | |
9331 functions take two arguments, POSITION and LIMIT. POSITION is the | |
9332 starting position for the scan. LIMIT says where to stop the scan. | |
9333 | |
9334 If no property change is found before LIMIT, the value is LIMIT. If | |
9335 LIMIT is nil, scan goes to the beginning or end of the accessible part | |
9336 of the buffer. If no property change is found, the value is the | |
9337 position of the beginning or end of the buffer. | |
9338 | |
9339 *** In the `local-map' text property or overlay property, the property | |
9340 value can now be a symbol whose function definition is a keymap. This | |
9341 is an alternative to using the keymap itself. | |
9342 | |
9343 ** Changes in invisibility features | |
9344 | |
9345 *** Isearch can now temporarily show parts of the buffer which are | |
9346 hidden by an overlay with a invisible property, when the search match | |
9347 is inside that portion of the buffer. To enable this the overlay | |
9348 should have a isearch-open-invisible property which is a function that | |
9349 would be called having the overlay as an argument, the function should | |
9350 make the overlay visible. | |
9351 | |
9352 During incremental search the overlays are shown by modifying the | |
9353 invisible and intangible properties, if beside this more actions are | |
9354 needed the overlay should have a isearch-open-invisible-temporary | |
9355 which is a function. The function is called with 2 arguments: one is | |
9356 the overlay and the second is nil when it should show the overlay and | |
9357 t when it should hide it. | |
9358 | |
9359 *** add-to-invisibility-spec, remove-from-invisibility-spec | |
9360 | |
9361 Modes that use overlays to hide portions of a buffer should set the | |
9362 invisible property of the overlay to the mode's name (or another symbol) | |
9363 and modify the `buffer-invisibility-spec' to include that symbol. | |
9364 Use `add-to-invisibility-spec' and `remove-from-invisibility-spec' to | |
9365 manipulate the `buffer-invisibility-spec'. | |
9366 Here is an example of how to do this: | |
9367 | |
9368 ;; If we want to display an ellipsis: | |
9369 (add-to-invisibility-spec '(my-symbol . t)) | |
9370 ;; If you don't want ellipsis: | |
9371 (add-to-invisibility-spec 'my-symbol) | |
9372 | |
9373 ... | |
9374 (overlay-put (make-overlay beginning end) 'invisible 'my-symbol) | |
9375 | |
9376 ... | |
9377 ;; When done with the overlays: | |
9378 (remove-from-invisibility-spec '(my-symbol . t)) | |
9379 ;; Or respectively: | |
9380 (remove-from-invisibility-spec 'my-symbol) | |
9381 | |
9382 ** Changes in syntax parsing. | |
9383 | |
9384 *** The syntax-directed buffer-scan functions (such as | |
9385 `parse-partial-sexp', `forward-word' and similar functions) can now | |
9386 obey syntax information specified by text properties, if the variable | |
9387 `parse-sexp-lookup-properties' is non-nil. | |
9388 | |
9389 If the value of `parse-sexp-lookup-properties' is nil, the behavior | |
9390 is as before: the syntax-table of the current buffer is always | |
9391 used to determine the syntax of the character at the position. | |
9392 | |
9393 When `parse-sexp-lookup-properties' is non-nil, the syntax of a | |
9394 character in the buffer is calculated thus: | |
9395 | |
9396 a) if the `syntax-table' text-property of that character | |
9397 is a cons, this cons becomes the syntax-type; | |
9398 | |
9399 Valid values of `syntax-table' text-property are: nil, a valid | |
9400 syntax-table, and a valid syntax-table element, i.e., | |
9401 a cons cell of the form (SYNTAX-CODE . MATCHING-CHAR). | |
9402 | |
9403 b) if the character's `syntax-table' text-property | |
9404 is a syntax table, this syntax table is used | |
9405 (instead of the syntax-table of the current buffer) to | |
9406 determine the syntax type of the character. | |
9407 | |
9408 c) otherwise the syntax-type is determined by the syntax-table | |
9409 of the current buffer. | |
9410 | |
9411 *** The meaning of \s in regular expressions is also affected by the | |
9412 value of `parse-sexp-lookup-properties'. The details are the same as | |
9413 for the syntax-directed buffer-scan functions. | |
9414 | |
9415 *** There are two new syntax-codes, `!' and `|' (numeric values 14 | |
9416 and 15). A character with a code `!' starts a comment which is ended | |
9417 only by another character with the same code (unless quoted). A | |
9418 character with a code `|' starts a string which is ended only by | |
9419 another character with the same code (unless quoted). | |
9420 | |
9421 These codes are mainly meant for use as values of the `syntax-table' | |
9422 text property. | |
9423 | |
9424 *** The function `parse-partial-sexp' has new semantics for the sixth | |
9425 arg COMMENTSTOP. If it is `syntax-table', parse stops after the start | |
9426 of a comment or a string, or after end of a comment or a string. | |
9427 | |
9428 *** The state-list which the return value from `parse-partial-sexp' | |
9429 (and can also be used as an argument) now has an optional ninth | |
9430 element: the character address of the start of last comment or string; | |
9431 nil if none. The fourth and eighth elements have special values if the | |
9432 string/comment is started by a "!" or "|" syntax-code. | |
9433 | |
9434 *** Since new features of `parse-partial-sexp' allow a complete | |
9435 syntactic parsing, `font-lock' no longer supports | |
9436 `font-lock-comment-start-regexp'. | |
9437 | |
9438 ** Changes in face features | |
9439 | |
9440 *** The face functions are now unconditionally defined in Emacs, even | |
9441 if it does not support displaying on a device that supports faces. | |
9442 | |
9443 *** The function face-documentation returns the documentation string | |
9444 of a face (or nil if it doesn't have one). | |
9445 | |
9446 *** The function face-bold-p returns t if a face should be bold. | |
9447 set-face-bold-p sets that flag. | |
9448 | |
9449 *** The function face-italic-p returns t if a face should be italic. | |
9450 set-face-italic-p sets that flag. | |
9451 | |
9452 *** You can now specify foreground and background colors for text | |
9453 by adding elements of the form (foreground-color . COLOR-NAME) | |
9454 and (background-color . COLOR-NAME) to the list of faces in | |
9455 the `face' property (either the character's text property or an | |
9456 overlay property). | |
9457 | |
9458 This means that you no longer need to create named faces to use | |
9459 arbitrary colors in a Lisp package. | |
9460 | |
9461 ** Changes in file-handling functions | |
9462 | |
9463 *** File-access primitive functions no longer discard an extra redundant | |
9464 directory name from the beginning of the file name. In other words, | |
9465 they no longer do anything special with // or /~. That conversion | |
9466 is now done only in substitute-in-file-name. | |
9467 | |
9468 This makes it possible for a Lisp program to open a file whose name | |
9469 begins with ~. | |
9470 | |
9471 *** If copy-file is unable to set the date of the output file, | |
9472 it now signals an error with the condition file-date-error. | |
9473 | |
9474 *** The inode number returned by file-attributes may be an integer (if | |
9475 the number fits in a Lisp integer) or a list of integers. | |
9476 | |
9477 *** insert-file-contents can now read from a special file, | |
9478 as long as the arguments VISIT and REPLACE are nil. | |
9479 | |
9480 *** The RAWFILE arg to find-file-noselect, if non-nil, now suppresses | |
9481 character code conversion as well as other things. | |
9482 | |
9483 Meanwhile, this feature does work with remote file names | |
9484 (formerly it did not). | |
9485 | |
9486 *** Lisp packages which create temporary files should use the TMPDIR | |
9487 environment variable to decide which directory to put them in. | |
9488 | |
9489 *** interpreter-mode-alist elements now specify regexps | |
9490 instead of constant strings. | |
9491 | |
9492 *** expand-file-name no longer treats `//' or `/~' specially. It used | |
9493 to delete all the text of a file name up through the first slash of | |
9494 any `//' or `/~' sequence. Now it passes them straight through. | |
9495 | |
9496 substitute-in-file-name continues to treat those sequences specially, | |
9497 in the same way as before. | |
9498 | |
9499 *** The variable `format-alist' is more general now. | |
9500 The FROM-FN and TO-FN in a format definition can now be strings | |
9501 which specify shell commands to use as filters to perform conversion. | |
9502 | |
9503 *** The new function access-file tries to open a file, and signals an | |
9504 error if that fails. If the open succeeds, access-file does nothing | |
9505 else, and returns nil. | |
9506 | |
9507 *** The function insert-directory now signals an error if the specified | |
9508 directory cannot be listed. | |
9509 | |
9510 ** Changes in minibuffer input | |
9511 | |
9512 *** The functions read-buffer, read-variable, read-command, read-string | |
9513 read-file-name, read-from-minibuffer and completing-read now take an | |
9514 additional argument which specifies the default value. If this | |
9515 argument is non-nil, it should be a string; that string is used in two | |
9516 ways: | |
9517 | |
9518 It is returned if the user enters empty input. | |
9519 It is available through the history command M-n. | |
9520 | |
9521 *** The functions read-string, read-from-minibuffer, | |
9522 read-no-blanks-input and completing-read now take an additional | |
9523 argument INHERIT-INPUT-METHOD. If this is non-nil, then the | |
9524 minibuffer inherits the current input method and the setting of | |
9525 enable-multibyte-characters from the previously current buffer. | |
9526 | |
9527 In an interactive spec, you can use M instead of s to read an | |
9528 argument in this way. | |
9529 | |
9530 *** All minibuffer input functions discard text properties | |
9531 from the text you enter in the minibuffer, unless the variable | |
9532 minibuffer-allow-text-properties is non-nil. | |
9533 | |
9534 ** Echo area features | |
9535 | |
9536 *** Clearing the echo area now runs the normal hook | |
9537 echo-area-clear-hook. Note that the echo area can be used while the | |
9538 minibuffer is active; in that case, the minibuffer is still active | |
9539 after the echo area is cleared. | |
9540 | |
9541 *** The function current-message returns the message currently displayed | |
9542 in the echo area, or nil if there is none. | |
9543 | |
9544 ** Keyboard input features | |
9545 | |
9546 *** tty-erase-char is a new variable that reports which character was | |
9547 set up as the terminal's erase character when time Emacs was started. | |
9548 | |
9549 *** num-nonmacro-input-events is the total number of input events | |
9550 received so far from the terminal. It does not count those generated | |
9551 by keyboard macros. | |
9552 | |
9553 ** Frame-related changes | |
9554 | |
9555 *** make-frame runs the normal hook before-make-frame-hook just before | |
9556 creating a frame, and just after creating a frame it runs the abnormal | |
9557 hook after-make-frame-functions with the new frame as arg. | |
9558 | |
9559 *** The new hook window-configuration-change-hook is now run every time | |
9560 the window configuration has changed. The frame whose configuration | |
9561 has changed is the selected frame when the hook is run. | |
9562 | |
9563 *** Each frame now independently records the order for recently | |
9564 selected buffers, in its buffer-list frame parameter, so that the | |
9565 value of other-buffer is now based on the buffers recently displayed | |
9566 in the selected frame. | |
9567 | |
9568 *** The value of the frame parameter vertical-scroll-bars | |
9569 is now `left', `right' or nil. A non-nil value specifies | |
9570 which side of the window to put the scroll bars on. | |
9571 | |
9572 ** X Windows features | |
9573 | |
9574 *** You can examine X resources for other applications by binding | |
9575 x-resource-class around a call to x-get-resource. The usual value of | |
9576 x-resource-class is "Emacs", which is the correct value for Emacs. | |
9577 | |
9578 *** In menus, checkboxes and radio buttons now actually work. | |
9579 The menu displays the current status of the box or button. | |
9580 | |
9581 *** The function x-list-fonts now takes an optional fourth argument | |
9582 MAXIMUM which sets a limit on how many matching fonts to return. | |
9583 A smaller value of MAXIMUM makes the function faster. | |
9584 | |
9585 If the only question is whether *any* font matches the pattern, | |
9586 it is good to supply 1 for this argument. | |
9587 | |
9588 ** Subprocess features | |
9589 | |
9590 *** A reminder: it is no longer necessary for subprocess filter | |
9591 functions and sentinels to do save-match-data, because Emacs does this | |
9592 automatically. | |
9593 | |
9594 *** The new function shell-command-to-string executes a shell command | |
9595 and returns the output from the command as a string. | |
9596 | |
9597 *** The new function process-contact returns t for a child process, | |
9598 and (HOSTNAME SERVICE) for a net connection. | |
9599 | |
9600 ** An error in running pre-command-hook or post-command-hook | |
9601 does clear the variable to nil. The documentation was wrong before. | |
9602 | |
9603 ** In define-key-after, if AFTER is t, the new binding now always goes | |
9604 at the end of the keymap. If the keymap is a menu, this means it | |
9605 goes after the other menu items. | |
9606 | |
9607 ** If you have a program that makes several changes in the same area | |
9608 of the buffer, you can use the macro combine-after-change-calls | |
9609 around that Lisp code to make it faster when after-change hooks | |
9610 are in use. | |
9611 | |
9612 The macro arranges to call the after-change functions just once for a | |
9613 series of several changes--if that seems safe. | |
9614 | |
9615 Don't alter the variables after-change-functions and | |
9616 after-change-function within the body of a combine-after-change-calls | |
9617 form. | |
9618 | |
9619 ** If you define an abbrev (with define-abbrev) whose EXPANSION | |
9620 is not a string, then the abbrev does not expand in the usual sense, | |
9621 but its hook is still run. | |
9622 | |
9623 ** Normally, the Lisp debugger is not used (even if you have enabled it) | |
9624 for errors that are handled by condition-case. | |
9625 | |
9626 If you set debug-on-signal to a non-nil value, then the debugger is called | |
9627 regardless of whether there is a handler for the condition. This is | |
9628 useful for debugging problems that happen inside of a condition-case. | |
9629 | |
9630 This mode of operation seems to be unreliable in other ways. Errors that | |
9631 are normal and ought to be handled, perhaps in timers or process | |
9632 filters, will instead invoke the debugger. So don't say you weren't | |
9633 warned. | |
9634 | |
9635 ** The new variable ring-bell-function lets you specify your own | |
9636 way for Emacs to "ring the bell". | |
9637 | |
9638 ** If run-at-time's TIME argument is t, the action is repeated at | |
9639 integral multiples of REPEAT from the epoch; this is useful for | |
9640 functions like display-time. | |
9641 | |
9642 ** You can use the function locate-library to find the precise file | |
9643 name of a Lisp library. This isn't new, but wasn't documented before. | |
9644 | |
9645 ** Commands for entering view mode have new optional arguments that | |
9646 can be used from Lisp. Low-level entrance to and exit from view mode | |
9647 is done by functions view-mode-enter and view-mode-exit. | |
9648 | |
9649 ** batch-byte-compile-file now makes Emacs return a nonzero status code | |
9650 if there is an error in compilation. | |
9651 | |
9652 ** pop-to-buffer, switch-to-buffer-other-window and | |
9653 switch-to-buffer-other-frame now accept an additional optional | |
9654 argument NORECORD, much like switch-to-buffer. If it is non-nil, | |
9655 they don't put the buffer at the front of the buffer list. | |
9656 | |
9657 ** If your .emacs file leaves the *scratch* buffer non-empty, | |
9658 Emacs does not display the startup message, so as to avoid changing | |
9659 the *scratch* buffer. | |
9660 | |
9661 ** The new function regexp-opt returns an efficient regexp to match a string. | |
9662 The arguments are STRINGS and (optionally) PAREN. This function can be used | |
9663 where regexp matching or searching is intensively used and speed is important, | |
9664 e.g., in Font Lock mode. | |
9665 | |
9666 ** The variable buffer-display-count is local to each buffer, | |
9667 and is incremented each time the buffer is displayed in a window. | |
9668 It starts at 0 when the buffer is created. | |
9669 | |
9670 ** The new function compose-mail starts composing a mail message | |
9671 using the user's chosen mail composition agent (specified with the | |
9672 variable mail-user-agent). It has variants compose-mail-other-window | |
9673 and compose-mail-other-frame. | |
9674 | |
9675 ** The `user-full-name' function now takes an optional parameter which | |
9676 can either be a number (the UID) or a string (the login name). The | |
9677 full name of the specified user will be returned. | |
9678 | |
9679 ** Lisp packages that load files of customizations, or any other sort | |
9680 of user profile, should obey the variable init-file-user in deciding | |
9681 where to find it. They should load the profile of the user name found | |
9682 in that variable. If init-file-user is nil, meaning that the -q | |
9683 option was used, then Lisp packages should not load the customization | |
9684 files at all. | |
9685 | |
9686 ** format-time-string now allows you to specify the field width | |
9687 and type of padding. This works as in printf: you write the field | |
9688 width as digits in the middle of a %-construct. If you start | |
9689 the field width with 0, it means to pad with zeros. | |
9690 | |
9691 For example, %S normally specifies the number of seconds since the | |
9692 minute; %03S means to pad this with zeros to 3 positions, %_3S to pad | |
9693 with spaces to 3 positions. Plain %3S pads with zeros, because that | |
9694 is how %S normally pads to two positions. | |
9695 | |
9696 ** thing-at-point now supports a new kind of "thing": url. | |
9697 | |
9698 ** imenu.el changes. | |
9699 | |
9700 You can now specify a function to be run when selecting an | |
9701 item from menu created by imenu. | |
9702 | |
9703 An example of using this feature: if we define imenu items for the | |
9704 #include directives in a C file, we can open the included file when we | |
9705 select one of those items. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
9706 |
30922 | 9707 * For older news, see the file ONEWS |
25853 | 9708 |
9709 ---------------------------------------------------------------------- | |
9710 Copyright information: | |
9711 | |
35326
f30feeecf1c1
backward-delete-char-untabify-method
Dave Love <fx@gnu.org>
parents:
35297
diff
changeset
|
9712 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. |
25853 | 9713 |
9714 Permission is granted to anyone to make or distribute verbatim copies | |
9715 of this document as received, in any medium, provided that the | |
9716 copyright notice and this permission notice are preserved, | |
9717 thus giving the recipient permission to redistribute in turn. | |
9718 | |
9719 Permission is granted to distribute modified versions | |
9720 of this document, or of portions of it, | |
9721 under the above conditions, provided also that they | |
9722 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
|
9723 |
25853 | 9724 Local variables: |
9725 mode: outline | |
9726 paragraph-separate: "[ ]*$" | |
9727 end: |