Mercurial > emacs
annotate etc/NEWS @ 43203:dd98ef3675e5
(Qmode_line_inactive): New face variable for mode-line
in non-selected windows.
(realize_basic_faces): Realize it.
(syms_of_term): Intern and staticpro it.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 08 Feb 2002 23:49:51 +0000 |
parents | 006c566af674 |
children | cc9c8c17538f |
rev | line source |
---|---|
36821 | 1 GNU Emacs NEWS -- history of user-visible changes. 2001-03-15 |
42703
8b35cce1f9c8
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
42681
diff
changeset
|
2 Copyright (C) 1999, 2000, 2001, 2002 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 |
42990
94da0e3159a2
Mention support for BSD/OS 5.0.
Eli Zaretskii <eliz@gnu.org>
parents:
42984
diff
changeset
|
26 --- |
41675 | 27 ** Support for FreeBSD/Alpha has been added. |
28 | |
42990
94da0e3159a2
Mention support for BSD/OS 5.0.
Eli Zaretskii <eliz@gnu.org>
parents:
42984
diff
changeset
|
29 --- |
94da0e3159a2
Mention support for BSD/OS 5.0.
Eli Zaretskii <eliz@gnu.org>
parents:
42984
diff
changeset
|
30 ** Support for BSD/OS 5.0 was added. |
94da0e3159a2
Mention support for BSD/OS 5.0.
Eli Zaretskii <eliz@gnu.org>
parents:
42984
diff
changeset
|
31 |
41099
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
32 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
33 * Changes in Emacs 21.3 |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
34 |
43100
b31f95ef830a
Document the minibuffer-prompt face.
Eli Zaretskii <eliz@gnu.org>
parents:
43061
diff
changeset
|
35 +++ |
b31f95ef830a
Document the minibuffer-prompt face.
Eli Zaretskii <eliz@gnu.org>
parents:
43061
diff
changeset
|
36 ** There's a new face `minibuffer-prompt'. |
b31f95ef830a
Document the minibuffer-prompt face.
Eli Zaretskii <eliz@gnu.org>
parents:
43061
diff
changeset
|
37 Emacs adds this face to the list of text properties stored in the |
b31f95ef830a
Document the minibuffer-prompt face.
Eli Zaretskii <eliz@gnu.org>
parents:
43061
diff
changeset
|
38 variable `minibuffer-prompt-properties', which is used to display the |
b31f95ef830a
Document the minibuffer-prompt face.
Eli Zaretskii <eliz@gnu.org>
parents:
43061
diff
changeset
|
39 prompt string. |
b31f95ef830a
Document the minibuffer-prompt face.
Eli Zaretskii <eliz@gnu.org>
parents:
43061
diff
changeset
|
40 |
43008 | 41 ** A menu item "Show/Hide" was added to the top-level menu "Options". |
42 This menu allows you to turn various display features on and off (like | |
43 tool bar and the menu bar itself). You can also move the vertical | |
44 scroll bar to either side here or turn it off completely. | |
45 | |
43009 | 46 ** Emacs can now indicate in the mode-line the presence of new e-mails in |
47 directory in addition to file. See the documentation of the user option | |
48 `display-time-mail-directory'. | |
43001
eb883dc8e44a
display-time can now incicate new e-mail in directory.
Pavel Janík <Pavel@Janik.cz>
parents:
42990
diff
changeset
|
49 |
42822
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
50 +++ |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
51 ** The new option `Info-scroll-prefer-subnodes' causes Info to behave |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
52 like the stand-alone Info reader (from the GNU Texinfo package) as far |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
53 as motion between nodes and their subnodes is concerned. If it is t |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
54 (the default), Emacs behaves as before when you type SPC in a menu: it |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
55 visits the subnode pointed to by the first menu entry. If this option |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
56 is nil, SPC scrolls to the end of the current node, and only then goes |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
57 to the first menu item, like the stand-alone reader does. |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
58 |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
59 This change was already in Emacs 21.1, but wasn't advertised in the |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
60 NEWS. |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
61 |
42786
66b0f6a32c47
LDAP support now defaults to ldapsearch from OpenLDAP version 2.
Pavel Janík <Pavel@Janik.cz>
parents:
42749
diff
changeset
|
62 --- |
66b0f6a32c47
LDAP support now defaults to ldapsearch from OpenLDAP version 2.
Pavel Janík <Pavel@Janik.cz>
parents:
42749
diff
changeset
|
63 ** LDAP support now defaults to ldapsearch from OpenLDAP version 2. |
66b0f6a32c47
LDAP support now defaults to ldapsearch from OpenLDAP version 2.
Pavel Janík <Pavel@Janik.cz>
parents:
42749
diff
changeset
|
64 |
43045
39d6853f817c
Mark the pc-selection-mode change as documented.
Eli Zaretskii <eliz@gnu.org>
parents:
43043
diff
changeset
|
65 +++ |
43043
98b7448c1aac
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43009
diff
changeset
|
66 ** You can now disable pc-selection-mode after enabling it. |
43045
39d6853f817c
Mark the pc-selection-mode change as documented.
Eli Zaretskii <eliz@gnu.org>
parents:
43043
diff
changeset
|
67 M-x pc-selection-mode behaves like a proper minor mode, and with no |
43043
98b7448c1aac
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43009
diff
changeset
|
68 argument it toggles the mode. |
98b7448c1aac
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43009
diff
changeset
|
69 |
98b7448c1aac
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43009
diff
changeset
|
70 Turning off PC-Selection mode restores the global key bindings |
98b7448c1aac
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43009
diff
changeset
|
71 that were replaced by turning on the mode. |
98b7448c1aac
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43009
diff
changeset
|
72 |
42958
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
73 ** Changes in support of colors on character terminals |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
74 |
42729
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
75 +++ |
42958
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
76 *** The new command-line option --color=MODE lets you specify a standard |
42749
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
77 mode for a tty color support. It is meant to be used on character |
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
78 terminals whose capabilities are not set correctly in the terminal |
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
79 database, or with terminal emulators which support colors, but don't |
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
80 set the TERM environment variable to a name of a color-capable |
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
81 terminal. "emacs --color" uses the same color commands as GNU `ls' |
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
82 when invoked with "ls --color", so if your terminal can support colors |
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
83 in "ls --color", it will support "emacs --color" as well. See the |
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
84 user manual for the possible values of the MODE parameter. |
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
85 |
42958
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
86 --- |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
87 *** Emacs now supports several character terminals which provide more |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
88 than 8 colors. For example, for `xterm', 16-color, 88-color, and |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
89 256-color modes are supported. Emacs automatically notes at startup |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
90 the extended number of colors, and defines the appropriate entries for |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
91 all of these colors. |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
92 |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
93 --- |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
94 *** There's a new support for colors on `rxvt' terminal emulator. |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
95 |
42749
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
96 +++ |
42729
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
97 ** Emacs can now be invoked in full-screen mode on a windowed display. |
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
98 |
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
99 When Emacs is invoked on a window system, the new command-line options |
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
100 `--fullwidth', `--fullheight', and `--fullscreen' produce a frame |
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
101 whose width, height, or both width and height take up the entire |
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
102 screen size. (For now, this works only on GNU and Unix systems, and |
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
103 not with every window manager.) |
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
104 |
41847
7423116b7ac3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41820
diff
changeset
|
105 ** Info-index finally offers completion. |
7423116b7ac3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41820
diff
changeset
|
106 |
41730
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
107 ** 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
|
108 |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
109 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
|
110 `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
|
111 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
|
112 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
|
113 |
41730
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
114 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
|
115 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
|
116 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
|
117 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
|
118 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
|
119 specified width). |
41730
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
120 |
41749
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
121 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
|
122 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
|
123 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
|
124 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
|
125 |
42739
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
126 ** Changes in C-h bindings: |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
127 |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
128 C-h e displays the *Messages* buffer. |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
129 |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
130 C-h followed by a control character is used for displaying files |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
131 that do not change: |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
132 |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
133 C-h C-f displays the FAQ. |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
134 C-h C-e displays the PROBLEMS file. |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
135 |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
136 The info-search bindings on C-h C-f, C-h C-k and C-h C-i |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
137 have been moved to C-h F, C-h K and C-h S. |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
138 |
43159 | 139 C-h c, C-h k, C-h w, and C-h f now handle remapped interactive commands. |
140 | |
141 - C-h c and C-h k report the actual command (after possible remapping) | |
142 run by the key sequence. | |
143 | |
144 - C-h w and C-h f on a command which has been remapped now report the | |
145 command it is remapped to, and the keys which can be used to run | |
146 that command. | |
147 | |
148 For example, if C-k is bound to kill-line, and kill-line is remapped | |
149 to new-kill-line, these commands now report: | |
150 | |
151 - C-h c and C-h k C-k reports: | |
152 C-k runs the command new-kill-line | |
153 | |
154 - C-h w and C-h f kill-line reports: | |
155 kill-line is remapped to new-kill-line which is on C-k, <deleteline> | |
156 | |
157 - C-h w and C-h f new-kill-line reports: | |
158 new-kill-line is on C-k | |
159 | |
41928
31fb6b379d0f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41923
diff
changeset
|
160 ** 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
|
161 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
|
162 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
|
163 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
|
164 |
41923
86ecd07d46fb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41847
diff
changeset
|
165 ** 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
|
166 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
|
167 |
42874
95d25103a45e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42867
diff
changeset
|
168 ** GUD mode improvements for jdb: |
42830
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
169 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
170 *** Search for source files using jdb classpath and class |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
171 information. Fast startup since there is no need to scan all |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
172 source files up front. There is also no need to create and maintain |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
173 lists of source directories to scan. Look at `gud-jdb-use-classpath' |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
174 and `gud-jdb-classpath' customization variables documentation. |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
175 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
176 *** Supports the standard breakpoint (gud-break, gud-clear) |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
177 set/clear operations from java source files under the classpath, stack |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
178 traversal (gud-up, gud-down), and run until current stack finish |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
179 (gud-finish). |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
180 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
181 *** Supports new jdb (Java 1.2 and later) in addition to oldjdb |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
182 (Java 1.1 jdb). |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
183 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
184 *** The previous method of searching for source files has been |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
185 preserved in case someone still wants/needs to use it. |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
186 Set gud-jdb-use-classpath to nil. |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
187 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
188 Added Customization Variables |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
189 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
190 *** gud-jdb-command-name. What command line to use to invoke jdb. |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
191 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
192 *** gud-jdb-use-classpath. Allows selection of java source file searching |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
193 method: set to t for new method, nil to scan gud-jdb-directories for |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
194 java sources (previous method). |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
195 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
196 *** gud-jdb-directories. List of directories to scan and search for java |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
197 classes using the original gud-jdb method (if gud-jdb-use-classpath |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
198 is nil). |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
199 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
200 Minor Improvements |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
201 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
202 *** Do not allow debugger output history variable to grow without bounds. |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
203 |
41620
d5ea676e4052
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41596
diff
changeset
|
204 ** hide-ifdef-mode now uses overlays rather than selective-display |
d5ea676e4052
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41596
diff
changeset
|
205 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
|
206 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
|
207 |
42677
449f96bbb6d0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42629
diff
changeset
|
208 ** In Dired's ! command (dired-do-shell-command), `*' and `?' now |
449f96bbb6d0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42629
diff
changeset
|
209 control substitution of the file names only when they are surrounded |
449f96bbb6d0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42629
diff
changeset
|
210 by whitespace. This means you can now use them as shell wildcards |
42678
3e3348e192cf
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42677
diff
changeset
|
211 too. If you want to use just plain `*' as a wildcard, type `*""'; the |
42681
b683f98f263a
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42678
diff
changeset
|
212 doublequotes make no difference in the shell, but they prevent |
42678
3e3348e192cf
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42677
diff
changeset
|
213 special treatment in `dired-do-shell-command'. |
42677
449f96bbb6d0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42629
diff
changeset
|
214 |
41596
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
215 ** 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
|
216 the corresponding environment variable does not exist. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
217 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
|
218 is only rarely needed. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
219 |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
220 ** 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
|
221 |
994a9d1eee71
Minor change of wording in the documentation of jit-lock-defer-time.
Eli Zaretskii <eliz@gnu.org>
parents:
41482
diff
changeset
|
222 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
|
223 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
|
224 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
|
225 only happen after 0.25s of idle time. |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
226 |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
227 ** 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
|
228 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
|
229 M-C-SPC M-C-SPC, for example. |
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
230 |
42605
32e40100d0de
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42487
diff
changeset
|
231 ** 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
|
232 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
|
233 switching to it. |
42299
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
234 |
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
235 ** 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
|
236 all frames you create. A position specified with --geometry only |
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
237 affects the initial frame. |
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
238 |
41746
6d817b78bf33
Document prefix arg for M-h.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
41730
diff
changeset
|
239 +++ |
42183
ccf68d58861d
Fix typos. From Juanma Barranquero <lektu@teleline.es>.
Pavel Janík <Pavel@Janik.cz>
parents:
42160
diff
changeset
|
240 ** 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
|
241 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
|
242 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
|
243 paragraphs. |
41746
6d817b78bf33
Document prefix arg for M-h.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
41730
diff
changeset
|
244 |
42101
66b4582e344c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42043
diff
changeset
|
245 ** 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
|
246 into the kill ring. |
66b4582e344c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42043
diff
changeset
|
247 |
42160
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
248 ** 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
|
249 have been renamed to directory-free-space-program and |
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
250 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
|
251 directory listing into a buffer. |
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
252 |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
253 ** 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
|
254 (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
|
255 |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
256 ** The keyboard-coding-system is now automatically set based on |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
257 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
|
258 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
|
259 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
|
260 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
261 (set-keyboard-coding-system nil) |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
262 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
263 to your .emacs to revert to the old behavior. |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
264 |
42197 | 265 ** A new coding system `euc-tw' has been added for traditional Chinese |
266 in CNS encoding; it accepts both Big 5 and CNS as input; on saving, | |
267 Big 5 is then converted to CNS. | |
268 | |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
269 +++ |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
270 ** 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
|
271 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
|
272 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
|
273 can do this either silently or asking for confirmation first, |
41820 | 274 according to the value of `save-abbrevs'. |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
275 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
276 ** 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
|
277 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
|
278 appears in. |
39552 | 279 |
40686
b6d0ce452871
Document the changes in the default values of tooltip-delay and
Eli Zaretskii <eliz@gnu.org>
parents:
40637
diff
changeset
|
280 ** 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
|
281 were changed. |
b6d0ce452871
Document the changes in the default values of tooltip-delay and
Eli Zaretskii <eliz@gnu.org>
parents:
40637
diff
changeset
|
282 |
40614
ac10bd51a000
Change of normal-erase-is-backspace-mode on terminals.
Gerd Moellmann <gerd@gnu.org>
parents:
40575
diff
changeset
|
283 ** 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
|
284 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
|
285 |
42043
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
286 ** Etags changes. |
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
287 |
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
288 *** 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
|
289 |
42342 | 290 *** In Perl, packages are tags. Subroutine tags are named from their |
291 package. You can jump to sub tags as you did before, by the sub name, or | |
292 additionally by looking for package::sub. | |
293 | |
42183
ccf68d58861d
Fix typos. From Juanma Barranquero <lektu@teleline.es>.
Pavel Janík <Pavel@Janik.cz>
parents:
42160
diff
changeset
|
294 *** 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
|
295 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
|
296 |
40493
94818b20da05
Document the change in list-buffers-noselect wrt buffers visiting files
Eli Zaretskii <eliz@gnu.org>
parents:
40487
diff
changeset
|
297 +++ |
40575
4ce7861c6181
Mention --no-window-system changes in the NEWS.
Pavel Janík <Pavel@Janik.cz>
parents:
40526
diff
changeset
|
298 ** 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
|
299 --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
|
300 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
301 ** `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
|
302 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
|
303 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
304 ** You can now customize fill-nobreak-predicate to control where |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
305 filling can break lines. We provide two sample predicates, |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
306 fill-single-word-nobreak-p and fill-french-nobreak-p. |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
307 |
40316
ddce8f484e75
New user option `add-log-always-start-new-record'.
Sam Steingold <sds@gnu.org>
parents:
40296
diff
changeset
|
308 ** 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
|
309 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
|
310 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
|
311 |
40378
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
312 ** New user option `sgml-xml'. |
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
313 When this option is enabled, SGML tags are inserted in XML style, |
40215 | 314 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
|
315 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
|
316 from the file name or buffer contents. |
40215 | 317 |
41756
97f872fb595d
Describe isearch-resume-enabled.
Kim F. Storm <storm@cua.dk>
parents:
41749
diff
changeset
|
318 ** New user option `isearch-resume-enabled'. |
97f872fb595d
Describe isearch-resume-enabled.
Kim F. Storm <storm@cua.dk>
parents:
41749
diff
changeset
|
319 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
|
320 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
|
321 |
39975 | 322 ** When the *scratch* buffer is recreated, its mode is set from |
323 initial-major-mode, which normally is lisp-interaction-mode, | |
40215 | 324 instead of using default-major-mode. |
39975 | 325 |
39771 | 326 ** Byte compiler warning and error messages have been brought more |
327 in line with the output of other GNU tools. | |
328 | |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
329 ** 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
|
330 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
331 ** perl-mode has a new variable `perl-indent-continued-arguments'. |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
332 |
39849
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
333 ** `special-display-buffer-names' and `special-display-regexps' now |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
334 understand two new boolean pseudo-frame-parameters `same-frame' and |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
335 `same-window'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
336 |
39552 | 337 ** When pure storage overflows while dumping, Emacs now prints how |
338 much pure storage it will approximately need. | |
339 | |
340 ** M-x setenv now expands environment variables of the form `$foo' and | |
341 `${foo}' in the specified new value of the environment variable. To | |
342 include a `$' in the value, use `$$'. | |
343 | |
39881
9c1b9334eb73
Mark last change as documented in the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
39879
diff
changeset
|
344 +++ |
39879
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
345 ** 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
|
346 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
|
347 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
|
348 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
|
349 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
|
350 candidate is a directory. |
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
351 |
39552 | 352 ** New user option `inhibit-startup-buffer-menu'. |
353 When loading many files, for instance with `emacs *', Emacs normally | |
354 displays a buffer menu. This option turns the buffer menu off. | |
355 | |
356 ** Rmail now displays 5-digit message ids in its summary buffer. | |
357 | |
39601 | 358 ** When using M-x revert-buffer in a compilation buffer to rerun a |
359 compilation, it is now made sure that the compilation buffer is reused | |
360 in case it has been renamed. | |
361 | |
40963
ff6a29bbaf7e
Add note about system caret on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
40916
diff
changeset
|
362 ** 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
|
363 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
|
364 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
|
365 |
41482
fe774ae6bd57
Added entry for tooltips on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41471
diff
changeset
|
366 ** Tooltips now work on MS Windows. |
fe774ae6bd57
Added entry for tooltips on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41471
diff
changeset
|
367 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
|
368 |
42725
7982df5e7d71
Add note about support for more mouse buttons in MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
42703
diff
changeset
|
369 ** Pointing devices with more than 3 buttons are now supported on MS Windows. |
7982df5e7d71
Add note about support for more mouse buttons in MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
42703
diff
changeset
|
370 The new variable `w32-pass-extra-mouse-buttons-to-system' controls |
7982df5e7d71
Add note about support for more mouse buttons in MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
42703
diff
changeset
|
371 whether Emacs should handle the extra buttons itself (the default), or |
7982df5e7d71
Add note about support for more mouse buttons in MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
42703
diff
changeset
|
372 pass them to Windows to be handled with system-wide functions. |
7982df5e7d71
Add note about support for more mouse buttons in MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
42703
diff
changeset
|
373 |
41246
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
374 --- |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
375 ** 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
|
376 |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
377 --- |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
378 ** 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
|
379 |
39738 | 380 ** New modes and packages |
381 | |
40847 | 382 +++ |
383 *** Calc is now part of the Emacs distribution. | |
384 | |
385 Calc is an advanced desk calculator and mathematical tool written in | |
386 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
|
387 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
|
388 available in `etc/calccard.tex' and `etc/calccard.ps'. |
40847 | 389 |
40889
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
390 +++ |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
391 *** 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
|
392 |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
393 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
|
394 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
|
395 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
|
396 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
|
397 |
41437
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
398 *** 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
|
399 the distribution. |
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
400 |
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
401 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
|
402 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
|
403 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
|
404 (Help->More Manuals->Introduction to Emacs Lisp). |
41437
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
405 |
39738 | 406 *** The ruler-mode.el library provides a minor mode for displaying an |
407 "active" ruler in the header line. You can use the mouse to visually | |
408 change the `fill-column', `window-margins' and `tab-stop-list' | |
409 settings. | |
410 | |
41623
8cf1bafe44b1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41620
diff
changeset
|
411 *** 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
|
412 `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
|
413 move your cursor into hidden region of the buffer. |
8cf1bafe44b1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41620
diff
changeset
|
414 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
|
415 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
|
416 |
39784 | 417 *** master-mode.el implements a minor mode for scrolling a slave |
418 buffer without leaving your current buffer, the master buffer. | |
419 | |
420 It can be used by sql.el, for example: the SQL buffer is the master | |
421 and its SQLi buffer is the slave. This allows you to scroll the SQLi | |
422 buffer containing the output from the SQL buffer containing the | |
423 commands. | |
424 | |
425 This is how to use sql.el and master.el together: the variable | |
426 sql-buffer contains the slave buffer. It is a local variable in the | |
427 SQL buffer. | |
428 | |
429 (add-hook 'sql-mode-hook | |
430 (function (lambda () | |
431 (master-mode t) | |
432 (master-set-slave sql-buffer)))) | |
433 (add-hook 'sql-set-sqli-hook | |
434 (function (lambda () | |
435 (master-set-slave sql-buffer)))) | |
436 | |
39552 | 437 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
438 * Lisp Changes in Emacs 21.3 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
439 |
43159 | 440 ** Interactive commands can be remapped through keymaps. |
441 | |
442 This is an alternative to using defadvice or substitute-key-definition | |
443 to modify the behaviour of a key binding using the normal keymap | |
444 binding and lookup functionality. | |
445 | |
446 When a key sequence is bound to a command, and that command is | |
447 remapped to another command, that command is run instead of the | |
448 original command. | |
449 | |
450 Example: | |
451 Suppose that minor mode my-mode has defined the commands | |
452 my-kill-line and my-kill-word, and it wants C-k (and any other key | |
453 bound to kill-line) to run the command my-kill-line instead of | |
454 kill-line, and likewise it wants to run my-kill-word instead of | |
455 kill-word. | |
456 | |
457 Instead of rebinding C-k and the other keys in the minor mode map, | |
458 command remapping allows you to directly map kill-line into | |
459 my-kill-line and kill-word into my-kill-word through the minor mode | |
460 map using define-key: | |
461 | |
462 (define-key my-mode-map 'kill-line 'my-kill-line) | |
463 (define-key my-mode-map 'kill-word 'my-kill-word) | |
464 | |
465 Now, when my-mode is enabled, and the user enters C-k or M-d, | |
466 the commands my-kill-line and my-kill-word are run. | |
467 | |
468 Notice that only one level of remapping is supported. In the above | |
469 example, this means that if my-kill-line is remapped to other-kill, | |
470 then C-k still runs my-kill-line. | |
471 | |
472 The following changes have been made to provide command remapping: | |
473 | |
474 - define-key now accepts a command name as the KEY argument. | |
475 This identifies the command to be remapped in the specified keymap. | |
476 This is equivalent to specifying the command name as the only | |
477 element of a vector, e.g [kill-line], except that when KEY is a | |
478 symbol, the DEF argument must also be a symbol. | |
479 | |
480 - In calls from Lisp, global-set-key, global-unset-key, local-set-key, | |
481 and local-unset-key also accept a command name as the KEY argument. | |
482 | |
483 - key-binding now remaps interactive commands unless the optional | |
484 third argument NO-REMAP is non-nil. It also accepts a command name | |
485 as the KEY argument. | |
486 | |
487 - lookup-key now accepts a command name as the KEY argument. | |
488 | |
489 - where-is-internal now returns nil for a remapped command (e.g. | |
490 kill-line if my-mode is enabled), and the actual key binding for | |
491 the command it is remapped to (e.g. C-k for my-kill-line). | |
492 It also has a new optional fifth argument, NO-REMAP, which inhibits | |
493 remapping if non-nil (e.g. it returns C-k for kill-line and | |
494 <kill-line> for my-kill-line). | |
495 | |
496 - The new variable `this-original-command' contains the original | |
497 command before remapping. It is equal to `this-command' when the | |
498 command was not remapped. | |
499 | |
43139
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
500 ** Atomic change groups. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
501 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
502 To perform some changes in the current buffer "atomically" so that |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
503 they either all succeed or are all undone, use `atomic-change-group' |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
504 around the code that makes changes. For instance: |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
505 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
506 (atomic-change-group |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
507 (insert foo) |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
508 (delete-region x y)) |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
509 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
510 If an error (or other nonlocal exit) occurs inside the body of |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
511 `atomic-change-group', it unmakes all the changes in that buffer that |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
512 were during the execution of the body. The change group has no effect |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
513 on any other buffers--any such changes remain. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
514 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
515 If you need something more sophisticated, you can directly call the |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
516 lower-level functions that `atomic-change-group' uses. Here is how. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
517 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
518 To set up a change group for one buffer, call `prepare-change-group'. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
519 Specify the buffer as argument; it defaults to the current buffer. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
520 This function returns a "handle" for the change group. You must save |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
521 the handle to activate the change group and then finish it. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
522 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
523 Before you change the buffer again, you must activate the change |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
524 group. Pass the handle to `activate-change-group' afterward to |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
525 do this. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
526 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
527 After you make the changes, you must finish the change group. You can |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
528 either accept the changes or cancel them all. Call |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
529 `accept-change-group' to accept the changes in the group as final; |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
530 call `cancel-change-group' to undo them all. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
531 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
532 You should use `unwind-protect' to make sure the group is always |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
533 finished. The call to `activate-change-group' should be inside the |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
534 `unwind-protect', in case the user types C-g just after it runs. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
535 (This is one reason why `prepare-change-group' and |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
536 `activate-change-group' are separate functions.) Once you finish the |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
537 group, don't use the handle again--don't try to finish the same group |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
538 twice. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
539 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
540 To make a multibuffer change group, call `prepare-change-group' once |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
541 for each buffer you want to cover, then use `nconc' to combine the |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
542 returned values, like this: |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
543 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
544 (nconc (prepare-change-group buffer-1) |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
545 (prepare-change-group buffer-2)) |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
546 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
547 You can then activate the multibuffer change group with a single call |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
548 to `activate-change-group', and finish it with a single call to |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
549 `accept-change-group' or `cancel-change-group'. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
550 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
551 Nested use of several change groups for the same buffer works as you |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
552 would expect. Non-nested use of change groups for the same buffer |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
553 will lead to undesirable results, so don't let it happen; the first |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
554 change group you start for any given buffer should be the last one |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
555 finished. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
556 |
42940
7c0e12d6edb5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42874
diff
changeset
|
557 ** New function substring-no-properties. |
7c0e12d6edb5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42874
diff
changeset
|
558 |
42958
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
559 +++ |
42984
069f39874fde
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42974
diff
changeset
|
560 *** The meanings of scroll-up-aggressively and scroll-down-aggressively |
069f39874fde
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42974
diff
changeset
|
561 have been interchanged, so that the former now controls scrolling up, |
069f39874fde
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42974
diff
changeset
|
562 and the latter now controls scrolling down. |
069f39874fde
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42974
diff
changeset
|
563 |
069f39874fde
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42974
diff
changeset
|
564 +++ |
42820
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
565 ** New function window-body-height. |
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
566 |
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
567 This is like window-height but does not count the mode line |
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
568 or the header line. |
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
569 |
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
570 +++ |
42867
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
571 ** You can now make a window as short as one line. |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
572 |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
573 A window that is just one line tall does not display either a mode |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
574 line or a header line, even if the variables `mode-line-format' and |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
575 `header-line-format' call for them. A window that is two lines tall |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
576 cannot display both a mode line and a header line at once; if the |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
577 variables call for both, only the mode line actually appears. |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
578 |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
579 +++ |
42749
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
580 ** The new frame parameter `tty-color-mode' specifies the mode to use |
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
581 for color support on character terminal frames. Its value can be a |
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
582 number of colors to support, or a symbol. See the Emacs Lisp |
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
583 Reference manual for more detailed documentation. |
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
584 |
42629
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
585 ** 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
|
586 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
587 Multibyte buffers can now faithfully record all 256 character codes |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
588 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
|
589 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
|
590 now: |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
591 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
592 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
|
593 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
594 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
|
595 the time it takes to convert the format. |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
596 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
597 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
|
598 wasteful. |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
599 |
42487
88fb2c8602aa
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42437
diff
changeset
|
600 ** If text has a `keymap' property, that keymap takes precedence |
88fb2c8602aa
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42437
diff
changeset
|
601 over minor mode keymaps. |
88fb2c8602aa
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42437
diff
changeset
|
602 |
42425
aa6c345a4af0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42367
diff
changeset
|
603 ** 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
|
604 An octal escape makes it unibyte. |
aa6c345a4af0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42367
diff
changeset
|
605 |
42367
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
606 ** The position after an invisible, intangible character |
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
607 is considered an unacceptable value for point; |
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
608 intangibility processing effectively treats the following character |
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
609 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
|
610 |
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
611 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
|
612 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
|
613 the screen. |
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
614 |
42437
5426f6a09f35
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42434
diff
changeset
|
615 +++ |
42434
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
616 ** define-abbrev now accepts an optional argument SYSTEM-FLAG. If |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
617 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
|
618 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
|
619 Major modes that predefine some abbrevs should always specify this |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
620 flag. |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
621 |
42281 | 622 ** Support for Mocklisp has been removed. |
623 | |
624 ** The function insert-string is now obsolete. | |
625 | |
41596
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
626 ** The precedence of file-name-handlers has been changed. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
627 Instead of blindly choosing the first handler that matches, |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
628 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
|
629 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
|
630 handler whose (match-beginning 0) is the largest is chosen. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
631 In case of ties, the old "first matched" rule applies. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
632 |
41594
452efff38a6e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41501
diff
changeset
|
633 ** Dense keymaps now handle inheritance correctly. |
41847
7423116b7ac3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41820
diff
changeset
|
634 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
|
635 bindings of the parent keymap. |
41594
452efff38a6e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41501
diff
changeset
|
636 |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
637 ** 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
|
638 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
|
639 (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
|
640 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
|
641 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
|
642 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
|
643 |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
644 s{ |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
645 foo |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
646 }{ |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
647 bar |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
648 }e |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
649 |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
650 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
|
651 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
|
652 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
|
653 refontification of `bar' whenever the `e' is added/removed. |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
654 |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
655 ** 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
|
656 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
|
657 |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
658 ** defcustom and other custom declarations now use a default group |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
659 (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
|
660 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
661 ** 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
|
662 it receives a request from emacsclient. |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
663 |
41471
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
664 ** The variable `recursive-load-depth-limit' has been deleted. |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
665 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
|
666 than 3 levels of nesting. |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
667 |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
668 ** 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
|
669 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
|
670 in Indented-Text mode. |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
671 |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
672 ** 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
|
673 property, `clone-indirect-buffer' signals an error if you use |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
674 it in that buffer. |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
675 |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
676 ** If you set `query-replace-skip-read-only' non-nil, |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
677 `query-replace' and related functions simply ignore |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
678 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
|
679 |
41367 | 680 ** In `replace-match', the replacement text no longer inherits |
41356 | 681 properties from surrounding text. |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
682 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
683 ** New function `buffer-local-value'. |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
684 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
685 - Function: buffer-local-value variable buffer |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
686 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
687 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
|
688 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
|
689 buffer BUFFER, it returns the default value of VARIABLE instead. |
39552 | 690 |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
691 ** 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
|
692 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
|
693 used in Indented Text mode. |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
694 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
695 ** 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
|
696 that are kept identical by transparently propagating changes from one |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
697 clone to the other. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
698 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
699 ** font-lock can manage arbitrary text-properties beside `face'. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
700 *** 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
|
701 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
|
702 other properties than `face'. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
703 *** 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
|
704 properties are automatically cleaned up by font-lock. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
705 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
706 ** 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
|
707 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
|
708 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
|
709 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
710 ** `provide' and `featurep' now accept an optional second argument |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
711 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
|
712 and run any code associated with the provided feature. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
713 |
40295 | 714 ** The variable `compilation-parse-errors-filename-function' can |
715 be used to transform filenames found in compilation output. | |
716 | |
40190
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
717 +++ |
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
718 ** 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
|
719 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
|
720 `.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
|
721 |
39778 | 722 ** Functions `user-uid' and `user-real-uid' now return floats if the |
723 user UID doesn't fit in a Lisp integer. Function `user-full-name' | |
724 accepts a float as UID parameter. | |
725 | |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
726 ** `define-key-after' now accepts keys longer than 1. |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
727 |
40296 | 728 ** `define-derived-mode' now accepts nil as the parent. |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
729 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
730 ** 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
|
731 |
39849
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
732 ** New functions `keymap-prompt' and `current-active-maps'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
733 |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
734 ** New function `describe-buffer-bindings'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
735 |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
736 ** New vars `exec-suffixes' and `load-suffixes' used when |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
737 searching for an executable resp. an elisp file. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
738 |
39552 | 739 ** Variable aliases have been implemented |
740 | |
741 - Macro: defvaralias ALIAS-VAR BASE-VAR | |
742 | |
743 This defines the symbol ALIAS-VAR as a variable alias for symbol | |
744 BASE-VAR. This means that retrieving the value of ALIAS-VAR returns | |
745 the value of BASE-VAR, and changing the value of ALIAS-VAR changes the | |
746 value of BASE-VAR. | |
747 | |
748 - Function: indirect-variable VARIABLE | |
749 | |
750 This function returns the variable at the end of the chain of aliases | |
751 of VARIABLE. If VARIABLE is not a symbol, or if VARIABLE is not | |
752 defined as an alias, the function returns VARIABLE. | |
753 | |
754 It might be noteworthy that variables aliases work for all kinds of | |
755 variables, including buffer-local and frame-local variables. | |
756 | |
757 ** Functions from `post-gc-hook' are run at the end of garbage | |
758 collection. The hook is run with GC inhibited, so use it with care. | |
759 | |
39604 | 760 ** If the second argument to `copy-file' is the name of a directory, |
39605 | 761 the file is copied to that directory instead of signaling an error. |
39604 | 762 |
39647 | 763 ** The variables most-positive-fixnum and most-negative-fixnum |
764 have been moved from the CL package to the core. | |
765 | |
41355
ffd42182dd37
Added note about locale-coding-system on Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41340
diff
changeset
|
766 ** 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
|
767 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
|
768 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
|
769 |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
770 ** New packages: |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
771 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
772 *** 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
|
773 current syntactic context (as returned by parse-partial-sexp). |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
774 |
41340
00ed4838100e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41337
diff
changeset
|
775 *** The TCL package tcl-mode.el was replaced by tcl.el. |
42703
8b35cce1f9c8
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
42681
diff
changeset
|
776 This was actually done in Emacs-21.1, and was not documented. |
8b35cce1f9c8
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
42681
diff
changeset
|
777 |
8b35cce1f9c8
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
42681
diff
changeset
|
778 *** The new package Ibuffer provides a powerful, completely |
8b35cce1f9c8
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
42681
diff
changeset
|
779 customizable replacement for buff-menu.el. |
42043
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
780 |
39552 | 781 |
25995 | 782 * Installation Changes in Emacs 21.1 |
783 | |
36039 | 784 See the INSTALL file for information on installing extra libraries and |
785 fonts to take advantage of the new graphical features and extra | |
786 charsets in this release. | |
787 | |
30576 | 788 ** Support for GNU/Linux on IA64 machines has been added. |
789 | |
31007 | 790 ** Support for LynxOS has been added. |
791 | |
28166 | 792 ** 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
|
793 images and toolkit scrollbars. Use the --help option in `configure' |
cb2595f03c92
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
29949
diff
changeset
|
794 to list them. |
29696 | 795 |
30467
26afdae5ea13
--disable-largefile, 64-bit solaris
Dave Love <fx@gnu.org>
parents:
30445
diff
changeset
|
796 ** You can build a 64-bit Emacs for SPARC/Solaris systems which |
32182 | 797 support 64-bit executables and also on Irix 6.5. This increases the |
33484 | 798 maximum buffer size. See etc/MACHINES for instructions. Changes to |
799 build on other 64-bit systems should be straightforward modulo any | |
800 necessary changes to unexec. | |
30576 | 801 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
802 ** 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
|
803 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
|
804 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
805 ** 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
|
806 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
|
807 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
808 ** `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
|
809 the --without-pop configure option, should that be necessary. |
32428 | 810 |
32865
34e286ed22a5
Say that Emacs can now be built on the Macintosh.
Andrew Choi <akochoi@shaw.ca>
parents:
32845
diff
changeset
|
811 ** This version can be built for the Macintosh, but does not implement |
32966 | 812 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
|
813 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
|
814 "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
|
815 description of aspects specific to the Mac. |
32428 | 816 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
817 ** 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
|
818 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
|
819 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
820 |
28166 | 821 * Changes in Emacs 21.1 |
822 | |
36821 | 823 ** Emacs has a new redisplay engine. |
824 | |
825 The new redisplay handles characters of variable width and height. | |
826 Italic text can be used without redisplay problems. Fonts containing | |
827 oversized characters, i.e. characters larger than the logical height | |
828 of a font can be used. Images of various formats can be displayed in | |
829 the text. | |
830 | |
831 ** Emacs has a new face implementation. | |
832 | |
833 The new faces no longer fundamentally use X font names to specify the | |
834 font. Instead, each face has several independent attributes--family, | |
835 height, width, weight and slant--that it may or may not specify. | |
836 These attributes can be merged from various faces, and then together | |
837 specify a font. | |
838 | |
839 Faces are supported on terminals that can display color or fonts. | |
840 These terminal capabilities are auto-detected. Details can be found | |
841 under Lisp changes, below. | |
842 | |
843 ** Emacs can display faces on TTY frames. | |
844 | |
845 Emacs automatically detects terminals that are able to display colors. | |
846 Faces with a weight greater than normal are displayed extra-bright, if | |
847 the terminal supports it. Faces with a weight less than normal and | |
848 italic faces are displayed dimmed, if the terminal supports it. | |
849 Underlined faces are displayed underlined if possible. Other face | |
850 attributes such as `overline', `strike-through', and `box' are ignored | |
851 on terminals. | |
852 | |
853 The command-line options `-fg COLOR', `-bg COLOR', and `-rv' are now | |
854 supported on character terminals. | |
855 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
856 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
|
857 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
|
858 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
|
859 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
|
860 |
36821 | 861 ** New default font is Courier 12pt under X. |
862 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
863 ** Sound support |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
864 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
865 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
|
866 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
|
867 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
|
868 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
|
869 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
|
870 |
36821 | 871 ** Emacs now resizes mini-windows if appropriate. |
872 | |
873 If a message is longer than one line, or minibuffer contents are | |
874 longer than one line, Emacs can resize the minibuffer window unless it | |
875 is on a frame of its own. You can control resizing and the maximum | |
876 minibuffer window size by setting the following variables: | |
877 | |
878 - User option: max-mini-window-height | |
879 | |
880 Maximum height for resizing mini-windows. If a float, it specifies a | |
881 fraction of the mini-window frame's height. If an integer, it | |
882 specifies a number of lines. | |
883 | |
884 Default is 0.25. | |
885 | |
886 - User option: resize-mini-windows | |
887 | |
888 How to resize mini-windows. If nil, don't resize. If t, always | |
889 resize to fit the size of the text. If `grow-only', let mini-windows | |
890 grow only, until they become empty, at which point they are shrunk | |
891 again. | |
892 | |
893 Default is `grow-only'. | |
894 | |
895 ** LessTif support. | |
896 | |
897 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
|
898 <http://www.lesstif.org>). You will need version 0.92.26, or later. |
36821 | 899 |
900 ** LessTif/Motif file selection dialog. | |
901 | |
902 When Emacs is configured to use LessTif or Motif, reading a file name | |
903 from a menu will pop up a file selection dialog if `use-dialog-box' is | |
904 non-nil. | |
905 | |
39485
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
906 ** 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
|
907 |
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
908 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
|
909 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
|
910 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
|
911 |
36821 | 912 ** Toolkit scroll bars. |
913 | |
914 Emacs now uses toolkit scroll bars if available. When configured for | |
915 LessTif/Motif, it will use that toolkit's scroll bar. Otherwise, when | |
916 configured for Lucid and Athena widgets, it will use the Xaw3d scroll | |
917 bar if Xaw3d is available. You can turn off the use of toolkit scroll | |
918 bars by specifying `--with-toolkit-scroll-bars=no' when configuring | |
919 Emacs. | |
920 | |
921 When you encounter problems with the Xaw3d scroll bar, watch out how | |
922 Xaw3d is compiled on your system. If the Makefile generated from | |
923 Xaw3d's Imakefile contains a `-DNARROWPROTO' compiler option, and your | |
924 Emacs system configuration file `s/your-system.h' does not contain a | |
925 define for NARROWPROTO, you might consider adding it. Take | |
926 `s/freebsd.h' as an example. | |
927 | |
928 Alternatively, if you don't have access to the Xaw3d source code, take | |
929 a look at your system's imake configuration file, for example in the | |
930 directory `/usr/X11R6/lib/X11/config' (paths are different on | |
931 different systems). You will find files `*.cf' there. If your | |
932 system's cf-file contains a line like `#define NeedWidePrototypes NO', | |
933 add a `#define NARROWPROTO' to your Emacs system configuration file. | |
934 | |
935 The reason for this is that one Xaw3d function uses `double' or | |
936 `float' function parameters depending on the setting of NARROWPROTO. | |
937 This is not a problem when Imakefiles are used because each system's | |
37156 | 938 imake configuration file contains the necessary information. Since |
36821 | 939 Emacs doesn't use imake, this has do be done manually. |
940 | |
941 ** Tool bar support. | |
942 | |
943 Emacs supports a tool bar at the top of a frame under X. For details | |
944 of how to define a tool bar, see the page describing Lisp-level | |
945 changes. Tool-bar global minor mode controls whether or not it is | |
946 displayed and is on by default. The appearance of the bar is improved | |
947 if Emacs has been built with XPM image support. Otherwise monochrome | |
948 icons will be used. | |
949 | |
950 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
|
951 for specific modes (with copyright assignments). |
36821 | 952 |
953 ** Tooltips. | |
954 | |
955 Tooltips are small X windows displaying a help string at the current | |
956 mouse position. The Lisp package `tooltip' implements them. You can | |
957 turn them off via the user option `tooltip-mode'. | |
958 | |
959 Tooltips also provides support for GUD debugging. If activated, | |
960 variable values can be displayed in tooltips by pointing at them with | |
961 the mouse in source buffers. You can customize various aspects of the | |
962 tooltip display in the group `tooltip'. | |
963 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
964 ** Automatic Hscrolling |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
965 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
966 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
|
967 `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
|
968 customized. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
969 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
970 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
|
971 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
|
972 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
|
973 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
|
974 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
|
975 |
36821 | 976 ** When using a windowing terminal, each Emacs window now has a cursor |
977 of its own. By default, when a window is selected, the cursor is | |
978 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
|
979 `cursor-in-non-selected-windows' controls how to display the |
36821 | 980 cursor in non-selected windows. If nil, no cursor is shown, if |
36885 | 981 non-nil a hollow box cursor is shown. |
36821 | 982 |
983 ** Fringes to the left and right of windows are used to display | |
984 truncation marks, continuation marks, overlay arrows and alike. The | |
985 foreground, background, and stipple of these areas can be changed by | |
986 customizing face `fringe'. | |
987 | |
988 ** The mode line under X is now drawn with shadows by default. | |
989 You can change its appearance by modifying the face `mode-line'. | |
990 In particular, setting the `:box' attribute to nil turns off the 3D | |
991 appearance of the mode line. (The 3D appearance makes the mode line | |
992 occupy more space, and thus might cause the first or the last line of | |
993 the window to be partially obscured.) | |
994 | |
995 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
|
996 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
|
997 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
|
998 ignored, and mode-lines to be drawn using the default text face. |
36821 | 999 |
1000 ** Mouse-sensitive mode line. | |
1001 | |
36848
87bf5cef20c7
Mode line is mouse-sensitive on all systems which have a mouse.
Eli Zaretskii <eliz@gnu.org>
parents:
36821
diff
changeset
|
1002 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
|
1003 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
|
1004 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
|
1005 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
|
1006 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
|
1007 have enabled one. |
36821 | 1008 |
1009 Currently, the following actions have been defined: | |
1010 | |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
1011 - 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
|
1012 |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
1013 - Mouse-3 on the buffer-name goes to the previous buffer. |
36821 | 1014 |
1015 - Mouse-2 on the read-only or modified status in the mode line (`%' or | |
1016 `*') toggles the status. | |
1017 | |
1018 - Mouse-3 on the mode name displays a minor-mode menu. | |
1019 | |
1020 ** Hourglass pointer | |
1021 | |
1022 Emacs can optionally display an hourglass pointer under X. You can | |
1023 turn the display on or off by customizing group `cursor'. | |
1024 | |
1025 ** Blinking cursor | |
1026 | |
1027 M-x blink-cursor-mode toggles a blinking cursor under X and on | |
1028 terminals having terminal capabilities `vi', `vs', and `ve'. Blinking | |
1029 and related parameters like frequency and delay can be customized in | |
1030 the group `cursor'. | |
1031 | |
1032 ** New font-lock support mode `jit-lock-mode'. | |
1033 | |
1034 This support mode is roughly equivalent to `lazy-lock' but is | |
1035 generally faster. It supports stealth and deferred fontification. | |
1036 See the documentation of the function `jit-lock-mode' for more | |
1037 details. | |
1038 | |
1039 Font-lock uses jit-lock-mode as default support mode, so you don't | |
1040 have to do anything to activate it. | |
1041 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1042 ** 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
|
1043 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1044 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
|
1045 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
|
1046 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1047 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
|
1048 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
|
1049 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
|
1050 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
|
1051 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
|
1052 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
|
1053 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
|
1054 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
|
1055 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1056 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
|
1057 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
|
1058 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
|
1059 `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
|
1060 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
|
1061 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
|
1062 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1063 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
|
1064 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
|
1065 |
36821 | 1066 ** The default for user-option `next-line-add-newlines' has been |
1067 changed to nil, i.e. C-n will no longer add newlines at the end of a | |
1068 buffer by default. | |
1069 | |
1070 ** The <home> and <end> keys now move to the beginning or end of the | |
1071 current line, respectively. C-<home> and C-<end> move to the | |
1072 beginning and end of the buffer. | |
1073 | |
1074 ** Emacs now checks for recursive loads of Lisp files. If the | |
1075 recursion depth exceeds `recursive-load-depth-limit', an error is | |
1076 signaled. | |
1077 | |
1078 ** When an error is signaled during the loading of the user's init | |
1079 file, Emacs now pops up the *Messages* buffer. | |
1080 | |
1081 ** Emacs now refuses to load compiled Lisp files which weren't | |
1082 compiled with Emacs. Set `load-dangerous-libraries' to t to change | |
1083 this behavior. | |
1084 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1085 The reason for this change is an incompatible change in XEmacs's byte |
36821 | 1086 compiler. Files compiled with XEmacs can contain byte codes that let |
1087 Emacs dump core. | |
1088 | |
1089 ** Toggle buttons and radio buttons in menus. | |
1090 | |
1091 When compiled with LessTif (or Motif) support, Emacs uses toolkit | |
1092 widgets for radio and toggle buttons in menus. When configured for | |
1093 Lucid, Emacs draws radio buttons and toggle buttons similar to Motif. | |
1094 | |
1095 ** The menu bar configuration has changed. The new configuration is | |
1096 more CUA-compliant. The most significant change is that Options is | |
1097 now a separate menu-bar item, with Mule and Customize as its submenus. | |
1098 | |
1099 ** Item Save Options on the Options menu allows saving options set | |
1100 using that menu. | |
1101 | |
1102 ** Highlighting of trailing whitespace. | |
1103 | |
1104 When `show-trailing-whitespace' is non-nil, Emacs displays trailing | |
1105 whitespace in the face `trailing-whitespace'. Trailing whitespace is | |
1106 defined as spaces or tabs at the end of a line. To avoid busy | |
1107 highlighting when entering new text, trailing whitespace is not | |
1108 displayed if point is at the end of the line containing the | |
1109 whitespace. | |
1110 | |
1111 ** C-x 5 1 runs the new command delete-other-frames which deletes | |
1112 all frames except the selected one. | |
1113 | |
1114 ** The new user-option `confirm-kill-emacs' can be customized to | |
1115 let Emacs ask for confirmation before exiting. | |
1116 | |
1117 ** The header line in an Info buffer is now displayed as an emacs | |
1118 header-line (which is like a mode-line, but at the top of the window), | |
1119 so that it remains visible even when the buffer has been scrolled. | |
1120 This behavior may be disabled by customizing the option | |
1121 `Info-use-header-line'. | |
1122 | |
1123 ** Polish, Czech, German, and French translations of Emacs' reference card | |
1124 have been added. They are named `pl-refcard.tex', `cs-refcard.tex', | |
1125 `de-refcard.tex' and `fr-refcard.tex'. Postscript files are included. | |
1126 | |
1127 ** An `Emacs Survival Guide', etc/survival.tex, is available. | |
1128 | |
1129 ** A reference card for Dired has been added. Its name is | |
1130 `dired-ref.tex'. A French translation is available in | |
1131 `fr-drdref.tex'. | |
1132 | |
1133 ** C-down-mouse-3 is bound differently. Now if the menu bar is not | |
1134 displayed it pops up a menu containing the items which would be on the | |
1135 menu bar. If the menu bar is displayed, it pops up the major mode | |
1136 menu or the Edit menu if there is no major mode menu. | |
1137 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1138 ** 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
|
1139 |
38107 | 1140 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
|
1141 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
|
1142 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
|
1143 `~/.emacs' init file or to modify it from any Lisp program in general. |
36821 | 1144 |
1145 ** C-u C-x = provides detailed information about the character at | |
1146 point in a pop-up window. | |
1147 | |
1148 ** Emacs can now support 'wheeled' mice (such as the MS IntelliMouse) | |
1149 under XFree86. To enable this, use the `mouse-wheel-mode' command, or | |
1150 customize the variable `mouse-wheel-mode'. | |
1151 | |
1152 The variables `mouse-wheel-follow-mouse' and `mouse-wheel-scroll-amount' | |
1153 determine where and by how much buffers are scrolled. | |
1154 | |
1155 ** Emacs' auto-save list files are now by default stored in a | |
1156 sub-directory `.emacs.d/auto-save-list/' of the user's home directory. | |
1157 (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
|
1158 You can customize `auto-save-list-file-prefix' to change this location. |
36821 | 1159 |
1160 ** The function `getenv' is now callable interactively. | |
1161 | |
34271 | 1162 ** The new user-option `even-window-heights' can be set to nil |
1163 to prevent `display-buffer' from evening out window heights. | |
1164 | |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
1165 ** The new command M-x delete-trailing-whitespace RET will delete the |
33990 | 1166 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
|
1167 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
|
1168 |
33559 | 1169 ** When visiting a file with M-x find-file-literally, no newlines will |
35937 | 1170 be added to the end of the buffer even if `require-final-newline' is |
1171 non-nil. | |
33559 | 1172 |
31728 | 1173 ** The new user-option `find-file-suppress-same-file-warnings' can be |
1174 set to suppress warnings ``X and Y are the same file'' when visiting a | |
1175 file that is already visited under a different name. | |
1176 | |
31807 | 1177 ** The new user-option `electric-help-shrink-window' can be set to |
1178 nil to prevent adjusting the help window size to the buffer size. | |
1179 | |
31728 | 1180 ** New command M-x describe-character-set reads a character set name |
32280 | 1181 and displays information about that. |
31248 | 1182 |
30693 | 1183 ** The new variable `auto-mode-interpreter-regexp' contains a regular |
1184 expression matching interpreters, for file mode determination. | |
1185 | |
1186 This regular expression is matched against the first line of a file to | |
1187 determine the file's mode in `set-auto-mode' when Emacs can't deduce a | |
1188 mode from the file's name. If it matches, the file is assumed to be | |
1189 interpreted by the interpreter matched by the second group of the | |
1190 regular expression. The mode is then determined as the mode | |
1191 associated with that interpreter in `interpreter-mode-alist'. | |
1192 | |
29532
9609bc6529ac
executable-make-buffer-file-executable-if-script-p
Dave Love <fx@gnu.org>
parents:
29509
diff
changeset
|
1193 ** New function executable-make-buffer-file-executable-if-script-p is |
31007 | 1194 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
|
1195 |
29509 | 1196 ** The most preferred coding-system is now used to save a buffer if |
1197 buffer-file-coding-system is `undecided' and it is safe for the buffer | |
1198 contents. (The most preferred is set by set-language-environment or | |
1199 by M-x prefer-coding-system.) Thus if you visit an ASCII file and | |
1200 insert a non-ASCII character from your current language environment, | |
1201 the file will be saved silently with the appropriate coding. | |
1202 Previously you would be prompted for a safe coding system. | |
1203 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1204 ** 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
|
1205 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
|
1206 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1207 ** 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
|
1208 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
|
1209 |
30296 | 1210 ** New variable `inhibit-iso-escape-detection' determines if Emacs' |
1211 coding system detection algorithm should pay attention to ISO2022's | |
1212 escape sequences. If this variable is non-nil, the algorithm ignores | |
1213 such escape sequences. The default value is nil, and it is | |
1214 recommended not to change it except for the special case that you | |
30357 | 1215 always want to read any escape code verbatim. If you just want to |
30296 | 1216 read a specific file without decoding escape codes, use C-x RET c |
30357 | 1217 (`universal-coding-system-argument'). For instance, C-x RET c latin-1 |
1218 RET C-x C-f filename RET. | |
30205 | 1219 |
29506 | 1220 ** Variable `default-korean-keyboard' is initialized properly from the |
1221 environment variable `HANGUL_KEYBOARD_TYPE'. | |
1222 | |
1223 ** New command M-x list-charset-chars reads a character set name and | |
1224 displays all characters in that character set. | |
1225 | |
1226 ** M-x set-terminal-coding-system (C-x RET t) now allows CCL-based | |
1227 coding systems such as cpXXX and cyrillic-koi8. | |
1228 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1229 ** 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
|
1230 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
|
1231 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
|
1232 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1233 ** 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
|
1234 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
|
1235 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
|
1236 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
|
1237 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
|
1238 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
|
1239 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
|
1240 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1241 ** 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
|
1242 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
|
1243 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
|
1244 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1245 ** 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
|
1246 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
|
1247 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
|
1248 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1249 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
|
1250 --- ------- ----------- |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1251 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
|
1252 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
|
1253 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
|
1254 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1255 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
|
1256 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
|
1257 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
|
1258 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1259 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
|
1260 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
|
1261 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
|
1262 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
|
1263 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
|
1264 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
|
1265 |
39885
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
1266 ** 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
|
1267 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
|
1268 "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
|
1269 package. |
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
1270 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1271 ** 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
|
1272 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
|
1273 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
|
1274 "=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
|
1275 "`", 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
|
1276 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1277 ** 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
|
1278 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
|
1279 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
|
1280 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
|
1281 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
|
1282 on. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1283 |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
1284 ** 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
|
1285 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
|
1286 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
|
1287 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
|
1288 |
28799 | 1289 ** New user options `display-time-mail-face' and |
1290 `display-time-use-mail-icon' control the appearance of mode-line mail | |
1291 indicator used by the display-time package. On a suitable display the | |
1292 indicator can be an icon and is mouse-sensitive. | |
1293 | |
28695 | 1294 ** On window-systems, additional space can be put between text lines |
1295 on the display using several methods | |
1296 | |
1297 - By setting frame parameter `line-spacing' to PIXELS. PIXELS must be | |
1298 a positive integer, and specifies that PIXELS number of pixels should | |
1299 be put below text lines on the affected frame or frames. | |
1300 | |
1301 - By setting X resource `lineSpacing', class `LineSpacing'. This is | |
33838 | 1302 equivalent to specifying the frame parameter. |
28695 | 1303 |
28870 | 1304 - By specifying `--line-spacing=N' or `-lsp N' on the command line. |
28695 | 1305 |
1306 - By setting buffer-local variable `line-spacing'. The meaning is | |
1307 the same, but applies to the a particular buffer only. | |
1308 | |
29752 | 1309 ** The new command `clone-indirect-buffer' can be used to create |
28660 | 1310 an indirect buffer that is a twin copy of the current buffer. The |
29752 | 1311 command `clone-indirect-buffer-other-window', bound to C-x 4 c, |
28660 | 1312 does the same but displays the indirect buffer in another window. |
28626 | 1313 |
28525
05658544eaff
backup-directory-alist, make-backup-file-name-function.
Dave Love <fx@gnu.org>
parents:
28506
diff
changeset
|
1314 ** New user options `backup-directory-alist' and |
28757 | 1315 `make-backup-file-name-function' control the placement of backups, |
1316 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
|
1317 |
28396 | 1318 ** New commands iso-iso2sgml and iso-sgml2iso convert between Latin-1 |
1319 characters and the corresponding SGML (HTML) entities. | |
1320 | |
28159 | 1321 ** New X resources recognized |
27994 | 1322 |
28140 | 1323 *** The X resource `synchronous', class `Synchronous', specifies |
1324 whether Emacs should run in synchronous mode. Synchronous mode | |
1325 is useful for debugging X problems. | |
1326 | |
1327 Example: | |
1328 | |
28159 | 1329 emacs.synchronous: true |
28140 | 1330 |
27994 | 1331 *** The X resource `visualClass, class `VisualClass', specifies the |
1332 visual Emacs should use. The resource's value should be a string of | |
27995 | 1333 the form `CLASS-DEPTH', where CLASS is the name of the visual class, |
1334 and DEPTH is the requested color depth as a decimal number. Valid | |
1335 visual class names are | |
27994 | 1336 |
1337 TrueColor | |
1338 PseudoColor | |
1339 DirectColor | |
1340 StaticColor | |
1341 GrayScale | |
1342 StaticGray | |
1343 | |
1344 Visual class names specified as X resource are case-insensitive, i.e. | |
1345 `pseudocolor', `Pseudocolor' and `PseudoColor' all have the same | |
1346 meaning. | |
1347 | |
27995 | 1348 The program `xdpyinfo' can be used to list the visual classes |
1349 supported on your display, and which depths they have. If | |
1350 `visualClass' is not specified, Emacs uses the display's default | |
1351 visual. | |
1352 | |
1353 Example: | |
1354 | |
28159 | 1355 emacs.visualClass: TrueColor-8 |
27994 | 1356 |
1357 *** The X resource `privateColormap', class `PrivateColormap', | |
1358 specifies that Emacs should use a private colormap if it is using the | |
1359 default visual, and that visual is of class PseudoColor. Recognized | |
1360 resource values are `true' or `on'. | |
1361 | |
27995 | 1362 Example: |
1363 | |
28159 | 1364 emacs.privateColormap: true |
27995 | 1365 |
25853 | 1366 ** Faces and frame parameters. |
1367 | |
1368 There are four new faces `scroll-bar', `border', `cursor' and `mouse'. | |
1369 Setting the frame parameters `scroll-bar-foreground' and | |
1370 `scroll-bar-background' sets foreground and background color of face | |
1371 `scroll-bar' and vice versa. Setting frame parameter `border-color' | |
1372 sets the background color of face `border' and vice versa. Likewise | |
1373 for frame parameters `cursor-color' and face `cursor', and frame | |
1374 parameter `mouse-color' and face `mouse'. | |
1375 | |
1376 Changing frame parameter `font' sets font-related attributes of the | |
1377 `default' face and vice versa. Setting frame parameters | |
26264 | 1378 `foreground-color' or `background-color' sets the colors of the |
25853 | 1379 `default' face and vice versa. |
1380 | |
25951 | 1381 ** New face `menu'. |
1382 | |
1383 The face `menu' can be used to change colors and font of Emacs' menus. | |
1384 | |
25853 | 1385 ** New frame parameter `screen-gamma' for gamma correction. |
1386 | |
1387 The new frame parameter `screen-gamma' specifies gamma-correction for | |
1388 colors. Its value may be nil, the default, in which case no gamma | |
1389 correction occurs, or a number > 0, usually a float, that specifies | |
1390 the screen gamma of a frame's display. | |
1391 | |
1392 PC monitors usually have a screen gamma of 2.2. smaller values result | |
1393 in darker colors. You might want to try a screen gamma of 1.5 for LCD | |
1394 color displays. The viewing gamma Emacs uses is 0.4545. (1/2.2). | |
1395 | |
1396 The X resource name of this parameter is `screenGamma', class | |
1397 `ScreenGamma'. | |
1398 | |
1399 ** Tabs and variable-width text. | |
1400 | |
1401 Tabs are now displayed with stretch properties; the width of a tab is | |
1402 defined as a multiple of the normal character width of a frame, and is | |
1403 independent of the fonts used in the text where the tab appears. | |
1404 Thus, tabs can be used to line up text in different fonts. | |
1405 | |
1406 ** Enhancements of the Lucid menu bar | |
1407 | |
1408 *** The Lucid menu bar now supports the resource "margin". | |
1409 | |
1410 emacs.pane.menubar.margin: 5 | |
1411 | |
28677
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1412 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
|
1413 LessTif/Motif one. |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1414 |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1415 *** 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
|
1416 LessTif and Motif. |
25853 | 1417 |
1418 ** A block cursor can be drawn as wide as the glyph under it under X. | |
1419 | |
1420 As an example: if a block cursor is over a tab character, it will be | |
1421 drawn as wide as that tab on the display. To do this, set | |
1422 `x-stretch-cursor' to a non-nil value. | |
1423 | |
1424 ** 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
|
1425 bitmap (this is similar to the tilde displayed by vi and Less). |
25853 | 1426 |
1427 This behavior is activated by setting the buffer-local variable | |
1428 `indicate-empty-lines' to a non-nil value. The default value of this | |
1429 variable is found in `default-indicate-empty-lines'. | |
1430 | |
1431 ** There is a new "aggressive" scrolling method. | |
1432 | |
1433 When scrolling up because point is above the window start, if the | |
33624 | 1434 value of the buffer-local variable `scroll-up-aggressively' is a |
25853 | 1435 number, Emacs chooses a new window start so that point ends up that |
31124 | 1436 fraction of the window's height from the top of the window. |
25853 | 1437 |
1438 When scrolling down because point is below the window end, if the | |
35680 | 1439 value of the buffer-local variable `scroll-down-aggressively' is a |
25853 | 1440 number, Emacs chooses a new window start so that point ends up that |
31124 | 1441 fraction of the window's height from the bottom of the window. |
25853 | 1442 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1443 ** 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
|
1444 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
|
1445 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
|
1446 buffers. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1447 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1448 ** 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
|
1449 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1450 ** 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
|
1451 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
|
1452 `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
|
1453 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1454 ** 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
|
1455 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
|
1456 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
|
1457 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
|
1458 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
|
1459 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
|
1460 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1461 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
|
1462 |
25853 | 1463 ** The rectangle commands now avoid inserting undesirable spaces, |
1464 notably at the end of lines. | |
1465 | |
1466 All these functions have been rewritten to avoid inserting unwanted | |
1467 spaces, and an optional prefix now allows them to behave the old way. | |
1468 | |
37446
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
1469 ** 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
|
1470 |
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
1471 ** 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
|
1472 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
|
1473 |
25853 | 1474 ** The new command M-x query-replace-regexp-eval acts like |
1475 query-replace-regexp, but takes a Lisp expression which is evaluated | |
1476 after each match to get the replacement text. | |
1477 | |
29972 | 1478 ** M-x query-replace recognizes a new command `e' (or `E') that lets |
1479 you edit the replacement string. | |
28805 | 1480 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1481 ** 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
|
1482 (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
|
1483 in the text, analogous to lisp-complete-symbol. |
28805 | 1484 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1485 ** 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
|
1486 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1487 ** 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
|
1488 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
|
1489 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1490 ** 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
|
1491 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
|
1492 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
|
1493 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
|
1494 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1495 -- |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1496 ** 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
|
1497 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
|
1498 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1499 ** 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
|
1500 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
|
1501 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
|
1502 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
|
1503 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1504 ** 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
|
1505 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
|
1506 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1507 ** 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
|
1508 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
|
1509 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
|
1510 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
|
1511 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
|
1512 of Emacs. |
29676 | 1513 |
25853 | 1514 ** Customize changes |
1515 | |
1516 *** Customize now supports comments about customized items. Use the | |
36885 | 1517 `State' menu to add comments, or give a prefix argument to |
1518 M-x customize-set-variable or M-x customize-set-value. Note that | |
1519 customization comments will cause the customizations to fail in | |
1520 earlier versions of Emacs. | |
25853 | 1521 |
1522 *** The new option `custom-buffer-done-function' says whether to kill | |
1523 Custom buffers when you've done with them or just bury them (the | |
1524 default). | |
1525 | |
37901
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
1526 *** 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
|
1527 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
|
1528 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
|
1529 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
|
1530 file. |
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
1531 |
43061
357ce0fca815
Document the new behavior of novice.el under "emacs -q".
Eli Zaretskii <eliz@gnu.org>
parents:
43045
diff
changeset
|
1532 ** If Emacs was invoked with the `-q' or `--no-init-file' options, it |
357ce0fca815
Document the new behavior of novice.el under "emacs -q".
Eli Zaretskii <eliz@gnu.org>
parents:
43045
diff
changeset
|
1533 does not save disabled and enabled commands for future sessions, to |
357ce0fca815
Document the new behavior of novice.el under "emacs -q".
Eli Zaretskii <eliz@gnu.org>
parents:
43045
diff
changeset
|
1534 avoid overwriting existing customizations of this kind that are |
357ce0fca815
Document the new behavior of novice.el under "emacs -q".
Eli Zaretskii <eliz@gnu.org>
parents:
43045
diff
changeset
|
1535 already in your init file. |
357ce0fca815
Document the new behavior of novice.el under "emacs -q".
Eli Zaretskii <eliz@gnu.org>
parents:
43045
diff
changeset
|
1536 |
25853 | 1537 ** New features in evaluation commands |
1538 | |
30056 | 1539 *** The commands to evaluate Lisp expressions, such as C-M-x in Lisp |
25853 | 1540 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
|
1541 print-level, print-length, and debug-on-error based on the new |
25853 | 1542 customizable variables eval-expression-print-level, |
1543 eval-expression-print-length, and eval-expression-debug-on-error. | |
1544 | |
38562
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1545 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
|
1546 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
|
1547 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
|
1548 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
|
1549 printed). |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1550 |
38590 | 1551 <RET> or <mouse-2> on the printed text toggles between an abbreviated |
1552 printed representation and an unabbreviated one. | |
38573 | 1553 |
38562
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1554 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
|
1555 during evaluation produces a backtrace. |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1556 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
1557 *** The function `eval-defun' (C-M-x) now loads Edebug and instruments |
30056 | 1558 code when called with a prefix argument. |
1559 | |
26820 | 1560 ** CC mode changes. |
1561 | |
1562 Note: This release contains changes that might not be compatible with | |
1563 current user setups (although it's believed that these | |
1564 incompatibilities will only show in very uncommon circumstances). | |
1565 However, since the impact is uncertain, these changes may be rolled | |
1566 back depending on user feedback. Therefore there's no forward | |
1567 compatibility guarantee wrt the new features introduced in this | |
1568 release. | |
1569 | |
37009 | 1570 *** The hardcoded switch to "java" style in Java mode is gone. |
1571 CC Mode used to automatically set the style to "java" when Java mode | |
1572 is entered. This has now been removed since it caused too much | |
1573 confusion. | |
1574 | |
1575 However, to keep backward compatibility to a certain extent, the | |
1576 default value for c-default-style now specifies the "java" style for | |
1577 java-mode, but "gnu" for all other modes (as before). So you won't | |
1578 notice the change if you haven't touched that variable. | |
1579 | |
1580 *** New cleanups, space-before-funcall and compact-empty-funcall. | |
1581 Two new cleanups have been added to c-cleanup-list: | |
1582 | |
1583 space-before-funcall causes a space to be inserted before the opening | |
1584 parenthesis of a function call, which gives the style "foo (bar)". | |
1585 | |
1586 compact-empty-funcall causes any space before a function call opening | |
1587 parenthesis to be removed if there are no arguments to the function. | |
1588 It's typically useful together with space-before-funcall to get the | |
1589 style "foo (bar)" and "foo()". | |
1590 | |
1591 *** Some keywords now automatically trigger reindentation. | |
1592 Keywords like "else", "while", "catch" and "finally" have been made | |
1593 "electric" to make them reindent automatically when they continue an | |
1594 earlier statement. An example: | |
1595 | |
1596 for (i = 0; i < 17; i++) | |
1597 if (a[i]) | |
1598 res += a[i]->offset; | |
1599 else | |
1600 | |
1601 Here, the "else" should be indented like the preceding "if", since it | |
1602 continues that statement. CC Mode will automatically reindent it after | |
1603 the "else" has been typed in full, since it's not until then it's | |
1604 possible to decide whether it's a new statement or a continuation of | |
1605 the preceding "if". | |
1606 | |
1607 CC Mode uses Abbrev mode to achieve this, which is therefore turned on | |
1608 by default. | |
1609 | |
1610 *** M-a and M-e now moves by sentence in multiline strings. | |
1611 Previously these two keys only moved by sentence in comments, which | |
1612 meant that sentence movement didn't work in strings containing | |
1613 documentation or other natural language text. | |
1614 | |
1615 The reason it's only activated in multiline strings (i.e. strings that | |
1616 contain a newline, even when escaped by a '\') is to avoid stopping in | |
1617 the short strings that often reside inside statements. Multiline | |
1618 strings almost always contain text in a natural language, as opposed | |
1619 to other strings that typically contain format specifications, | |
1620 commands, etc. Also, it's not that bothersome that M-a and M-e misses | |
1621 sentences in single line strings, since they're short anyway. | |
1622 | |
1623 *** Support for autodoc comments in Pike mode. | |
1624 Autodoc comments for Pike are used to extract documentation from the | |
1625 source, like Javadoc in Java. Pike mode now recognize this markup in | |
1626 comment prefixes and paragraph starts. | |
1627 | |
1628 *** The comment prefix regexps on c-comment-prefix may be mode specific. | |
1629 When c-comment-prefix is an association list, it specifies the comment | |
1630 line prefix on a per-mode basis, like c-default-style does. This | |
1631 change came about to support the special autodoc comment prefix in | |
1632 Pike mode only. | |
1633 | |
1634 *** Better handling of syntactic errors. | |
1635 The recovery after unbalanced parens earlier in the buffer has been | |
1636 improved; CC Mode now reports them by dinging and giving a message | |
1637 stating the offending line, but still recovers and indent the | |
1638 following lines in a sane way (most of the time). An "else" with no | |
1639 matching "if" is handled similarly. If an error is discovered while | |
1640 indenting a region, the whole region is still indented and the error | |
1641 is reported afterwards. | |
1642 | |
1643 *** Lineup functions may now return absolute columns. | |
1644 A lineup function can give an absolute column to indent the line to by | |
1645 returning a vector with the desired column as the first element. | |
1646 | |
1647 *** More robust and warning-free byte compilation. | |
1648 Although this is strictly not a user visible change (well, depending | |
1649 on the view of a user), it's still worth mentioning that CC Mode now | |
1650 can be compiled in the standard ways without causing trouble. Some | |
1651 code have also been moved between the subpackages to enhance the | |
1652 modularity somewhat. Thanks to Martin Buchholz for doing the | |
1653 groundwork. | |
1654 | |
30412 | 1655 *** c-style-variables-are-local-p now defaults to t. |
1656 This is an incompatible change that has been made to make the behavior | |
1657 of the style system wrt global variable settings less confusing for | |
1658 non-advanced users. If you know what this variable does you might | |
1659 want to set it to nil in your .emacs, otherwise you probably don't | |
1660 have to bother. | |
1661 | |
1662 Defaulting c-style-variables-are-local-p to t avoids the confusing | |
1663 situation that occurs when a user sets some style variables globally | |
30445 | 1664 and edits both a Java and a non-Java file in the same Emacs session. |
30412 | 1665 If the style variables aren't buffer local in this case, loading of |
1666 the second file will cause the default style (either "gnu" or "java" | |
1667 by default) to override the global settings made by the user. | |
1668 | |
26820 | 1669 *** New initialization procedure for the style system. |
1670 When the initial style for a buffer is determined by CC Mode (from the | |
1671 variable c-default-style), the global values of style variables now | |
1672 take precedence over the values specified by the chosen style. This | |
1673 is different than the old behavior: previously, the style-specific | |
1674 settings would override the global settings. This change makes it | |
1675 possible to do simple configuration in the intuitive way with | |
1676 Customize or with setq lines in one's .emacs file. | |
1677 | |
1678 By default, the global value of every style variable is the new | |
1679 special symbol set-from-style, which causes the value to be taken from | |
1680 the style system. This means that in effect, only an explicit setting | |
1681 of a style variable will cause the "overriding" behavior described | |
1682 above. | |
1683 | |
1684 Also note that global settings override style-specific settings *only* | |
1685 when the initial style of a buffer is chosen by a CC Mode major mode | |
1686 function. When a style is chosen in other ways --- for example, by a | |
1687 call like (c-set-style "gnu") in a hook, or via M-x c-set-style --- | |
1688 then the style-specific values take precedence over any global style | |
1689 values. In Lisp terms, global values override style-specific values | |
1690 only when the new second argument to c-set-style is non-nil; see the | |
1691 function documentation for more info. | |
1692 | |
1693 The purpose of these changes is to make it easier for users, | |
1694 especially novice users, to do simple customizations with Customize or | |
1695 with setq in their .emacs files. On the other hand, the new system is | |
1696 intended to be compatible with advanced users' customizations as well, | |
1697 such as those that choose styles in hooks or whatnot. This new system | |
1698 is believed to be almost entirely compatible with current | |
1699 configurations, in spite of the changed precedence between style and | |
1700 global variable settings when a buffer's default style is set. | |
1701 | |
1702 (Thanks to Eric Eide for clarifying this explanation a bit.) | |
1703 | |
1704 **** c-offsets-alist is now a customizable variable. | |
1705 This became possible as a result of the new initialization behavior. | |
1706 | |
1707 This variable is treated slightly differently from the other style | |
1708 variables; instead of using the symbol set-from-style, it will be | |
1709 completed with the syntactic symbols it doesn't already contain when | |
1710 the style is first initialized. This means it now defaults to the | |
1711 empty list to make all syntactic elements get their values from the | |
1712 style system. | |
1713 | |
1714 **** Compatibility variable to restore the old behavior. | |
1715 In case your configuration doesn't work with this change, you can set | |
1716 c-old-style-variable-behavior to non-nil to get the old behavior back | |
1717 as far as possible. | |
1718 | |
1719 *** Improvements to line breaking and text filling. | |
1720 CC Mode now handles this more intelligently and seamlessly wrt the | |
1721 surrounding code, especially inside comments. For details see the new | |
1722 chapter about this in the manual. | |
1723 | |
1724 **** New variable to recognize comment line prefix decorations. | |
1725 The variable c-comment-prefix-regexp has been added to properly | |
1726 recognize the line prefix in both block and line comments. It's | |
1727 primarily used to initialize the various paragraph recognition and | |
1728 adaptive filling variables that the text handling functions uses. | |
1729 | |
1730 **** New variable c-block-comment-prefix. | |
1731 This is a generalization of the now obsolete variable | |
1732 c-comment-continuation-stars to handle arbitrary strings. | |
1733 | |
1734 **** CC Mode now uses adaptive fill mode. | |
1735 This to make it adapt better to the paragraph style inside comments. | |
1736 | |
1737 It's also possible to use other adaptive filling packages inside CC | |
1738 Mode, notably Kyle E. Jones' Filladapt mode (http://wonderworks.com/). | |
1739 A new convenience function c-setup-filladapt sets up Filladapt for use | |
1740 inside CC Mode. | |
1741 | |
1742 Note though that the 2.12 version of Filladapt lacks a feature that | |
1743 causes it to work suboptimally when c-comment-prefix-regexp can match | |
1744 the empty string (which it commonly does). A patch for that is | |
1745 available from the CC Mode web site (http://www.python.org/emacs/ | |
1746 cc-mode/). | |
1747 | |
38894
681dc47ffb61
Document the removal of c-hanging-comment-starter-p and
Eli Zaretskii <eliz@gnu.org>
parents:
38832
diff
changeset
|
1748 **** 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
|
1749 `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
|
1750 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
|
1751 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
|
1752 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
|
1753 |
26820 | 1754 **** It's now possible to selectively turn off auto filling. |
1755 The variable c-ignore-auto-fill is used to ignore auto fill mode in | |
1756 specific contexts, e.g. in preprocessor directives and in string | |
1757 literals. | |
1758 | |
1759 **** New context sensitive line break function c-context-line-break. | |
1760 It works like newline-and-indent in normal code, and adapts the line | |
1761 prefix according to the comment style when used inside comments. If | |
1762 you're normally using newline-and-indent, you might want to switch to | |
1763 this function. | |
1764 | |
1765 *** Fixes to IDL mode. | |
1766 It now does a better job in recognizing only the constructs relevant | |
1767 to IDL. E.g. it no longer matches "class" as the beginning of a | |
1768 struct block, but it does match the CORBA 2.3 "valuetype" keyword. | |
1769 Thanks to Eric Eide. | |
1770 | |
1771 *** Improvements to the Whitesmith style. | |
1772 It now keeps the style consistently on all levels and both when | |
1773 opening braces hangs and when they don't. | |
1774 | |
1775 **** New lineup function c-lineup-whitesmith-in-block. | |
1776 | |
1777 *** New lineup functions c-lineup-template-args and c-indent-multi-line-block. | |
1778 See their docstrings for details. c-lineup-template-args does a | |
1779 better job of tracking the brackets used as parens in C++ templates, | |
1780 and is used by default to line up continued template arguments. | |
1781 | |
1782 *** c-lineup-comment now preserves alignment with a comment on the | |
1783 previous line. It used to instead preserve comments that started in | |
1784 the column specified by comment-column. | |
1785 | |
1786 *** c-lineup-C-comments handles "free form" text comments. | |
1787 In comments with a long delimiter line at the start, the indentation | |
1788 is kept unchanged for lines that start with an empty comment line | |
1789 prefix. This is intended for the type of large block comments that | |
1790 contain documentation with its own formatting. In these you normally | |
1791 don't want CC Mode to change the indentation. | |
1792 | |
1793 *** The `c' syntactic symbol is now relative to the comment start | |
1794 instead of the previous line, to make integers usable as lineup | |
1795 arguments. | |
1796 | |
1797 *** All lineup functions have gotten docstrings. | |
1798 | |
1799 *** More preprocessor directive movement functions. | |
1800 c-down-conditional does the reverse of c-up-conditional. | |
1801 c-up-conditional-with-else and c-down-conditional-with-else are | |
1802 variants of these that also stops at "#else" lines (suggested by Don | |
1803 Provan). | |
1804 | |
1805 *** Minor improvements to many movement functions in tricky situations. | |
1806 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1807 ** Dired changes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1808 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1809 *** 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
|
1810 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
|
1811 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
|
1812 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1813 *** 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
|
1814 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
|
1815 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
|
1816 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1817 *** 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
|
1818 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
|
1819 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
|
1820 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1821 *** 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
|
1822 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
|
1823 directory. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1824 |
38989
6dcbf4154ff0
Change key for dired-show-file-type to `y'.
Gerd Moellmann <gerd@gnu.org>
parents:
38938
diff
changeset
|
1825 *** 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
|
1826 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
|
1827 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
|
1828 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
|
1829 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
|
1830 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1831 *** 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
|
1832 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
|
1833 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1834 *** 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
|
1835 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
|
1836 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
|
1837 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
|
1838 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1839 ** Gnus changes. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1840 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1841 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
|
1842 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
|
1843 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
|
1844 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1845 *** 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
|
1846 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
|
1847 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1848 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
|
1849 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1850 (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
|
1851 (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
|
1852 (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
|
1853 (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
|
1854 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1855 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
|
1856 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1857 (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
|
1858 '((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
|
1859 :suffix ".in"))) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1860 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1861 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
|
1862 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
|
1863 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1864 *** 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
|
1865 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
|
1866 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
|
1867 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
|
1868 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1869 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
|
1870 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
|
1871 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
|
1872 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1873 *** 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
|
1874 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
|
1875 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
|
1876 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
|
1877 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1878 *** 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
|
1879 Gnus facilities. |
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1880 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1881 *** 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
|
1882 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
|
1883 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1884 *** 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
|
1885 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
|
1886 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1887 *** `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
|
1888 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
|
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 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
|
1891 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
|
1892 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1893 *** 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
|
1894 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
|
1895 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
|
1896 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1897 *** 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
|
1898 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1899 *** 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
|
1900 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1901 ** 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
|
1902 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1903 *** 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
|
1904 macros |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1905 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1906 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
|
1907 ------------------------- |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1908 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
|
1909 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
|
1910 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
|
1911 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
|
1912 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
|
1913 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
|
1914 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
|
1915 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1916 *** 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
|
1917 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1918 ** 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
|
1919 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1920 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
|
1921 `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
|
1922 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
|
1923 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1924 ** 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
|
1925 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1926 *** 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
|
1927 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
|
1928 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
|
1929 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
|
1930 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
|
1931 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1932 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
|
1933 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
|
1934 this way. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1935 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1936 ** 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
|
1937 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
|
1938 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1939 ** 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
|
1940 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1941 *** 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
|
1942 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
|
1943 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
|
1944 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1945 ** 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
|
1946 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
|
1947 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1948 ** 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
|
1949 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1950 *** 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
|
1951 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1952 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
|
1953 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
|
1954 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
|
1955 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
|
1956 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1957 *** 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
|
1958 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
|
1959 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
|
1960 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
|
1961 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1962 *** 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
|
1963 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
|
1964 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
|
1965 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1966 *** 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
|
1967 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1968 *** 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
|
1969 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
|
1970 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
|
1971 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
|
1972 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1973 *** 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
|
1974 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
|
1975 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1976 ** 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
|
1977 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1978 *** 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
|
1979 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
|
1980 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
|
1981 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1982 **** 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
|
1983 current buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1984 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1985 *** 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
|
1986 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
|
1987 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1988 *** 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
|
1989 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
|
1990 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
|
1991 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
|
1992 `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
|
1993 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
|
1994 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1995 *** 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
|
1996 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1997 ** 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
|
1998 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1999 *** 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
|
2000 `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
|
2001 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2002 ** 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
|
2003 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2004 *** 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
|
2005 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
|
2006 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2007 *** 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
|
2008 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
|
2009 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2010 *** `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
|
2011 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
|
2012 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2013 *** 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
|
2014 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
|
2015 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2016 ** 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
|
2017 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2018 *** 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
|
2019 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
|
2020 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
|
2021 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
|
2022 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2023 ** 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
|
2024 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2025 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
|
2026 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
|
2027 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2028 *** 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
|
2029 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
|
2030 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
|
2031 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
|
2032 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
|
2033 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
|
2034 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2035 *** 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
|
2036 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
|
2037 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
|
2038 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
|
2039 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
|
2040 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
|
2041 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
|
2042 `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
|
2043 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2044 *** 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
|
2045 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
|
2046 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2047 *** 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
|
2048 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
|
2049 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
|
2050 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2051 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
|
2052 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
|
2053 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
|
2054 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2055 *** 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
|
2056 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
|
2057 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
|
2058 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2059 *** 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
|
2060 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
|
2061 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
|
2062 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2063 *** 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
|
2064 (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
|
2065 compatibility. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2066 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2067 *** 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
|
2068 ring (history). |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2069 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2070 *** 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
|
2071 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
|
2072 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
|
2073 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2074 ** 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
|
2075 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2076 *** 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
|
2077 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
|
2078 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
|
2079 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
|
2080 `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
|
2081 as correspondent. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2082 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2083 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
|
2084 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
|
2085 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
|
2086 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2087 *** 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
|
2088 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
|
2089 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
|
2090 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
|
2091 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
|
2092 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2093 *** 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
|
2094 like `j'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2095 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2096 *** 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
|
2097 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
|
2098 digest message. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2099 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2100 *** 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
|
2101 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
|
2102 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2103 *** 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
|
2104 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
|
2105 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
|
2106 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2107 ** 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
|
2108 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
|
2109 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
2110 ** 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
|
2111 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
|
2112 |
39300
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
2113 ** 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
|
2114 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
|
2115 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
|
2116 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
|
2117 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
|
2118 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
|
2119 |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
2120 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
|
2121 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
|
2122 `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
|
2123 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2124 ** 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
|
2125 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2126 *** 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
|
2127 `latex-mode'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2128 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2129 *** 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
|
2130 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2131 *** 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
|
2132 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2133 *** 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
|
2134 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2135 ** 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
|
2136 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2137 *** 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
|
2138 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
|
2139 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
|
2140 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
|
2141 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
|
2142 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
|
2143 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2144 *** 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
|
2145 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
|
2146 `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
|
2147 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2148 *** 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
|
2149 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
|
2150 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2151 *** 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
|
2152 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
|
2153 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
|
2154 been cited. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2155 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2156 ** 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
|
2157 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
|
2158 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
|
2159 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
|
2160 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2161 ** 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
|
2162 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
|
2163 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2164 *** 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
|
2165 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
|
2166 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
|
2167 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
|
2168 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2169 *** 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
|
2170 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
|
2171 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
|
2172 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
|
2173 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
|
2174 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
|
2175 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2176 ** 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
|
2177 file names. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2178 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2179 ** Ispell changes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2180 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2181 *** 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
|
2182 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
|
2183 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
|
2184 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2185 *** 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
|
2186 added. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2187 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2188 *** 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
|
2189 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
|
2190 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2191 *** 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
|
2192 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2193 *** 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
|
2194 cases. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2195 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2196 *** 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
|
2197 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
|
2198 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2199 *** 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
|
2200 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
|
2201 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2202 *** 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
|
2203 |
28506 | 2204 ** Makefile mode changes |
2205 | |
2206 *** The mode now uses the abbrev table `makefile-mode-abbrev-table'. | |
2207 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2208 *** Conditionals and include statements are now highlighted when |
28506 | 2209 Fontlock mode is active. |
2210 | |
26407 | 2211 ** Isearch changes |
2212 | |
30477 | 2213 *** Isearch now puts a call to `isearch-resume' in the command history, |
2214 so that searches can be resumed. | |
2215 | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
2216 *** In Isearch mode, C-M-s and C-M-r are now bound like C-s and C-r, |
28506 | 2217 respectively, i.e. you can repeat a regexp isearch with the same keys |
2218 that started the search. | |
2219 | |
26407 | 2220 *** In Isearch mode, mouse-2 in the echo area now yanks the current |
25853 | 2221 selection into the search string rather than giving an error. |
2222 | |
26407 | 2223 *** There is a new lazy highlighting feature in incremental search. |
2224 | |
26417 | 2225 Lazy highlighting is switched on/off by customizing variable |
26407 | 2226 `isearch-lazy-highlight'. When active, all matches for the current |
2227 search string are highlighted. The current match is highlighted as | |
2228 before using face `isearch' or `region'. All other matches are | |
2229 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
|
2230 `secondary-selection'. |
26407 | 2231 |
2232 The extra highlighting makes it easier to anticipate where the cursor | |
2233 will end up each time you press C-s or C-r to repeat a pending search. | |
2234 Highlighting of these additional matches happens in a deferred fashion | |
2235 using "idle timers," so the cycles needed do not rob isearch of its | |
2236 usual snappy response. | |
2237 | |
2238 If `isearch-lazy-highlight-cleanup' is set to t, highlights for | |
2239 matches are automatically cleared when you end the search. If it is | |
2240 set to nil, you can remove the highlights manually with `M-x | |
2241 isearch-lazy-highlight-cleanup'. | |
2242 | |
31388 | 2243 ** VC Changes |
2244 | |
2245 VC has been overhauled internally. It is now modular, making it | |
2246 easier to plug-in arbitrary version control backends. (See Lisp | |
2247 Changes for details on the new structure.) As a result, the mechanism | |
2248 to enable and disable support for particular version systems has | |
2249 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
|
2250 `vc-handled-backends'. Its value is a list of symbols that identify |
31388 | 2251 version systems; the default is '(RCS CVS SCCS). When finding a file, |
2252 each of the backends in that list is tried in order to see whether the | |
2253 file is registered in that backend. | |
2254 | |
2255 When registering a new file, VC first tries each of the listed | |
2256 backends to see if any of them considers itself "responsible" for the | |
2257 directory of the file (e.g. because a corresponding subdirectory for | |
2258 master files exists). If none of the backends is responsible, then | |
2259 the first backend in the list that could register the file is chosen. | |
2260 As a consequence, the variable `vc-default-back-end' is now obsolete. | |
2261 | |
2262 The old variable `vc-master-templates' is also obsolete, although VC | |
2263 still supports it for backward compatibility. To define templates for | |
2264 RCS or SCCS, you should rather use the new variables | |
2265 vc-{rcs,sccs}-master-templates. (There is no such feature under CVS | |
2266 where it doesn't make sense.) | |
2267 | |
2268 The variables `vc-ignore-vc-files' and `vc-handle-cvs' are also | |
2269 obsolete now, you must set `vc-handled-backends' to nil or exclude | |
2270 `CVS' from the list, respectively, to achieve their effect now. | |
2271 | |
2272 *** General Changes | |
2273 | |
2274 The variable `vc-checkout-carefully' is obsolete: the corresponding | |
2275 checks are always done now. | |
2276 | |
31858
269d69b69fe4
Update hideshow.el section.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
31827
diff
changeset
|
2277 VC Dired buffers are now kept up-to-date during all version control |
31388 | 2278 operations. |
2279 | |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2280 `vc-diff' output is now displayed in `diff-mode'. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2281 `vc-print-log' uses `log-view-mode'. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2282 `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
|
2283 |
33541 | 2284 The command C-x v m (vc-merge) now accepts an empty argument as the |
2285 first revision number. This means that any recent changes on the | |
2286 current branch should be picked up from the repository and merged into | |
2287 the working file (``merge news''). | |
2288 | |
2289 The commands C-x v s (vc-create-snapshot) and C-x v r | |
2290 (vc-retrieve-snapshot) now ask for a directory name from which to work | |
2291 downwards. | |
2292 | |
2293 *** Multiple Backends | |
2294 | |
2295 VC now lets you register files in more than one backend. This is | |
2296 useful, for example, if you are working with a slow remote CVS | |
2297 repository. You can then use RCS for local editing, and occasionally | |
2298 commit your changes back to CVS, or pick up changes from CVS into your | |
2299 local RCS archives. | |
2300 | |
2301 To make this work, the ``more local'' backend (RCS in our example) | |
2302 should come first in `vc-handled-backends', and the ``more remote'' | |
2303 backend (CVS) should come later. (The default value of | |
2304 `vc-handled-backends' already has it that way.) | |
2305 | |
36275
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
2306 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
|
2307 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
|
2308 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
|
2309 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
|
2310 current revision number from the more remote backend. |
33541 | 2311 |
2312 If a file is registered in multiple backends, you can switch to | |
2313 another one using C-x v b (vc-switch-backend). This does not change | |
2314 any files, it only changes VC's perspective on the file. Use this to | |
2315 pick up changes from CVS while working under RCS locally. | |
2316 | |
2317 After you are done with your local RCS editing, you can commit your | |
2318 changes back to CVS using C-u C-x v v CVS RET. In this case, the | |
2319 local RCS archive is removed after the commit, and the log entry | |
2320 buffer is initialized to contain the entire RCS change log of the file. | |
2321 | |
31388 | 2322 *** Changes for CVS |
2323 | |
2324 There is a new user option, `vc-cvs-stay-local'. If it is `t' (the | |
2325 default), then VC avoids network queries for files registered in | |
2326 remote repositories. The state of such files is then only determined | |
2327 by heuristics and past information. `vc-cvs-stay-local' can also be a | |
2328 regexp to match against repository hostnames; only files from hosts | |
2329 that match it are treated locally. If the variable is nil, then VC | |
2330 queries the repository just as often as it does for local files. | |
2331 | |
33541 | 2332 If `vc-cvs-stay-local' is on, then VC also makes local backups of |
2333 repository versions. This means that ordinary diffs (C-x v =) and | |
2334 revert operations (C-x v u) can be done completely locally, without | |
2335 any repository interactions at all. The name of a local version | |
2336 backup of FILE is FILE.~REV.~, where REV is the repository version | |
2337 number. This format is similar to that used by C-x v ~ | |
2338 (vc-version-other-window), except for the trailing dot. As a matter | |
2339 of fact, the two features can each use the files created by the other, | |
2340 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
|
2341 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
|
2342 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
|
2343 name.) |
33541 | 2344 |
31388 | 2345 If `vc-cvs-stay-local' is on, and there have been changes in the |
2346 repository, VC notifies you about it when you actually try to commit. | |
2347 If you want to check for updates from the repository without trying to | |
33541 | 2348 commit, you can either use C-x v m RET to perform an update on the |
31388 | 2349 current file, or you can use C-x v r RET to get an update for an |
2350 entire directory tree. | |
2351 | |
2352 The new user option `vc-cvs-use-edit' indicates whether VC should call | |
2353 "cvs edit" to make files writeable; it defaults to `t'. (This option | |
2354 is only meaningful if the CVSREAD variable is set, or if files are | |
2355 "watched" by other developers.) | |
2356 | |
33541 | 2357 The commands C-x v s (vc-create-snapshot) and C-x v r |
2358 (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
|
2359 an empty snapshot name to the latter, that performs a `cvs update', |
33541 | 2360 starting at the given directory. |
2361 | |
31388 | 2362 *** Lisp Changes in VC |
2363 | |
2364 VC has been restructured internally to make it modular. You can now | |
2365 add support for arbitrary version control backends by writing a | |
2366 library that provides a certain set of backend-specific functions, and | |
2367 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
|
2368 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
|
2369 provides a number of functions vc-sys-... (see commentary at the top |
31388 | 2370 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
|
2371 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
|
2372 `SYS' to the list `vc-handled-backends'. |
31388 | 2373 |
36525
cb77fd8249b6
Change the `***' for the EDT entry to `**'.
Gerd Moellmann <gerd@gnu.org>
parents:
36470
diff
changeset
|
2374 ** The customizable EDT emulation package now supports the EDT |
35163 | 2375 SUBS command and EDT scroll margins. It also works with more |
2376 terminal/keyboard configurations and it now works under XEmacs. | |
2377 See etc/edt-user.doc for more information. | |
2378 | |
25853 | 2379 ** New modes and packages |
2380 | |
34394
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
2381 *** 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
|
2382 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
|
2383 the default is not applicable. |
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
2384 |
33618 | 2385 *** Artist is an Emacs lisp package that allows you to draw lines, |
2386 rectangles and ellipses by using your mouse and/or keyboard. The | |
2387 shapes are made up with the ascii characters |, -, / and \. | |
2388 | |
2389 Features are: | |
2390 | |
2391 - Intersecting: When a `|' intersects with a `-', a `+' is | |
2392 drawn, like this: | \ / | |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
2393 --+-- X |
33618 | 2394 | / \ |
2395 | |
2396 - Rubber-banding: When drawing lines you can interactively see the | |
2397 result while holding the mouse button down and moving the mouse. If | |
2398 your machine is not fast enough (a 386 is a bit too slow, but a | |
2399 pentium is well enough), you can turn this feature off. You will | |
2400 then see 1's and 2's which mark the 1st and 2nd endpoint of the line | |
2401 you are drawing. | |
2402 | |
2403 - Arrows: After having drawn a (straight) line or a (straight) | |
2404 poly-line, you can set arrows on the line-ends by typing < or >. | |
2405 | |
2406 - Flood-filling: You can fill any area with a certain character by | |
2407 flood-filling. | |
2408 | |
2409 - Cut copy and paste: You can cut, copy and paste rectangular | |
2410 regions. Artist also interfaces with the rect package (this can be | |
2411 turned off if it causes you any trouble) so anything you cut in | |
2412 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
|
2413 |
33618 | 2414 - Drawing with keys: Everything you can do with the mouse, you can |
2415 also do without the mouse. | |
2416 | |
2417 - Aspect-ratio: You can set the variable artist-aspect-ratio to | |
2418 reflect the height-width ratio for the font you are using. Squares | |
2419 and circles are then drawn square/round. Note, that once your | |
2420 ascii-file is shown with font with a different height-width ratio, | |
2421 the squares won't be square and the circles won't be round. | |
2422 | |
2423 - Drawing operations: The following drawing operations are implemented: | |
2424 | |
2425 lines straight-lines | |
2426 rectangles squares | |
2427 poly-lines straight poly-lines | |
2428 ellipses circles | |
2429 text (see-thru) text (overwrite) | |
2430 spray-can setting size for spraying | |
2431 vaporize line vaporize lines | |
2432 erase characters erase rectangles | |
2433 | |
2434 Straight lines are lines that go horizontally, vertically or | |
2435 diagonally. Plain lines go in any direction. The operations in | |
2436 the right column are accessed by holding down the shift key while | |
2437 drawing. | |
2438 | |
2439 It is possible to vaporize (erase) entire lines and connected lines | |
2440 (rectangles for example) as long as the lines being vaporized are | |
2441 straight and connected at their endpoints. Vaporizing is inspired | |
2442 by the drawrect package by Jari Aalto <jari.aalto@poboxes.com>. | |
2443 | |
2444 - Picture mode compatibility: Artist is picture mode compatible (this | |
2445 can be turned off). | |
2446 | |
32448
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2447 *** 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
|
2448 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
|
2449 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
|
2450 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
|
2451 history lists, aliases, extended globbing, smart scrolling, etc. It |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2452 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
|
2453 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
|
2454 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
|
2455 all within the scope of your Emacs process. |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2456 |
30781 | 2457 *** The new package timeclock.el is a mode is for keeping track of time |
2458 intervals. You can use it for whatever purpose you like, but the | |
2459 typical scenario is to keep track of how much time you spend working | |
2460 on certain projects. | |
2461 | |
35927 | 2462 *** The new package hi-lock.el provides commands to highlight matches |
2463 of interactively entered regexps. For example, | |
30789 | 2464 |
2465 M-x highlight-regexp RET clearly RET RET | |
30565 | 2466 |
2467 will highlight all occurrences of `clearly' using a yellow background | |
2468 face. New occurrences of `clearly' will be highlighted as they are | |
2469 typed. `M-x unhighlight-regexp RET' will remove the highlighting. | |
2470 Any existing face can be used for highlighting and a set of | |
2471 appropriate faces is provided. The regexps can be written into the | |
2472 current buffer in a form that will be recognized the next time the | |
35927 | 2473 corresponding file is read. There are commands to highlight matches |
2474 to phrases and to highlight entire lines containing a match. | |
30565 | 2475 |
30789 | 2476 *** The new package zone.el plays games with Emacs' display when |
30565 | 2477 Emacs is idle. |
2478 | |
38099 | 2479 *** The new package tildify.el allows to add hard spaces or other text |
2480 fragments in accordance with the current major mode. | |
2481 | |
30319 | 2482 *** The new package xml.el provides a simple but generic XML |
2483 parser. It doesn't parse the DTDs however. | |
2484 | |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
2485 *** 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
|
2486 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
|
2487 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
|
2488 `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
|
2489 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
|
2490 |
28879 | 2491 *** The Ebrowse package implements a C++ class browser and tags |
2492 facilities tailored for use with C++. It is documented in a | |
2493 separate Texinfo file. | |
2494 | |
31007 | 2495 *** The PCL-CVS package available by either running M-x cvs-examine or |
2496 by visiting a CVS administrative directory (with a prefix argument) | |
2497 provides an alternative interface to VC-dired for CVS. It comes with | |
2498 `log-view-mode' to view RCS and SCCS logs and `log-edit-mode' used to | |
35680 | 2499 enter check-in log messages. |
31007 | 2500 |
28834 | 2501 *** The new package called `woman' allows to browse Unix man pages |
2502 without invoking external programs. | |
2503 | |
2504 The command `M-x woman' formats manual pages entirely in Emacs Lisp | |
2505 and then displays them, like `M-x manual-entry' does. Unlike | |
2506 `manual-entry', `woman' does not invoke any external programs, so it | |
2507 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
|
2508 Groff or `troff' commands are not readily available. |
28834 | 2509 |
2510 The command `M-x woman-find-file' asks for the file name of a man | |
2511 page, then formats and displays it like `M-x woman' does. | |
2512 | |
28098 | 2513 *** The new command M-x re-builder offers a convenient interface for |
2514 authoring regular expressions with immediate visual feedback. | |
2515 | |
2516 The buffer from which the command was called becomes the target for | |
2517 the regexp editor popping up in a separate window. Matching text in | |
2518 the target buffer is immediately color marked during the editing. | |
2519 Each sub-expression of the regexp will show up in a different face so | |
2520 even complex regexps can be edited and verified on target data in a | |
2521 single step. | |
2522 | |
2523 On displays not supporting faces the matches instead blink like | |
2524 matching parens to make them stand out. On such a setup you will | |
2525 probably also want to use the sub-expression mode when the regexp | |
2526 contains such to get feedback about their respective limits. | |
2527 | |
27644 | 2528 *** glasses-mode is a minor mode that makes |
2529 unreadableIdentifiersLikeThis readable. It works as glasses, without | |
2530 actually modifying content of a buffer. | |
2531 | |
27498 | 2532 *** The package ebnf2ps translates an EBNF to a syntactic chart in |
2533 PostScript. | |
2534 | |
2535 Currently accepts ad-hoc EBNF, ISO EBNF and Bison/Yacc. | |
2536 | |
2537 The ad-hoc default EBNF syntax has the following elements: | |
2538 | |
2539 ; comment (until end of line) | |
2540 A non-terminal | |
2541 "C" terminal | |
2542 ?C? special | |
2543 $A default non-terminal | |
2544 $"C" default terminal | |
2545 $?C? default special | |
2546 A = B. production (A is the header and B the body) | |
2547 C D sequence (C occurs before D) | |
2548 C | D alternative (C or D occurs) | |
2549 A - B exception (A excluding B, B without any non-terminal) | |
2550 n * A repetition (A repeats n (integer) times) | |
2551 (C) group (expression C is grouped together) | |
2552 [C] optional (C may or not occurs) | |
2553 C+ one or more occurrences of C | |
2554 {C}+ one or more occurrences of C | |
2555 {C}* zero or more occurrences of C | |
2556 {C} zero or more occurrences of C | |
2557 C / D equivalent to: C {D C}* | |
2558 {C || D}+ equivalent to: C {D C}* | |
2559 {C || D}* equivalent to: [C {D C}*] | |
2560 {C || D} equivalent to: [C {D C}*] | |
2561 | |
2562 Please, see ebnf2ps documentation for EBNF syntax and how to use it. | |
2563 | |
27328 | 2564 *** The package align.el will align columns within a region, using M-x |
2565 align. Its mode-specific rules, based on regular expressions, | |
2566 determine where the columns should be split. In C and C++, for | |
2567 example, it will align variable names in declaration lists, or the | |
2568 equal signs of assignments. | |
2569 | |
27266
8ce11c7a7fcb
read-mail-command, outline mode changes, change-log-merge,
Dave Love <fx@gnu.org>
parents:
27200
diff
changeset
|
2570 *** `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
|
2571 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
|
2572 |
27016 | 2573 *** bs.el is a new package for buffer selection similar to |
2574 list-buffers or electric-buffer-list. Use M-x bs-show to display a | |
36885 | 2575 buffer menu with this package. See the Custom group `bs'. |
27016 | 2576 |
29696 | 2577 *** find-lisp.el is a package emulating the Unix find command in Lisp. |
2578 | |
27733 | 2579 *** calculator.el is a small calculator package that is intended to |
2580 replace desktop calculators such as xcalc and calc.exe. Actually, it | |
2581 is not too small - it has more features than most desktop calculators, | |
2582 and can be customized easily to get many more functions. It should | |
2583 not be confused with "calc" which is a much bigger mathematical tool | |
2584 which answers different needs. | |
2585 | |
26964
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2586 *** 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
|
2587 suspicious C and C++ constructions. Currently, assignments inside |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2588 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
|
2589 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
|
2590 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
|
2591 to be enabled. |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2592 |
27094
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
2593 *** 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
|
2594 containing diff3-style conflict markers, such as generated by RCS. |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
2595 |
25853 | 2596 *** 5x5.el is a simple puzzle game. |
2597 | |
38938 | 2598 *** hl-line.el provides `hl-line-mode', a minor mode to highlight the |
2599 current line in the current buffer. It also provides | |
2600 `global-hl-line-mode' to provide the same behaviour in all buffers. | |
25853 | 2601 |
2602 *** ansi-color.el translates ANSI terminal escapes into text-properties. | |
2603 | |
35578 | 2604 Please note: if `ansi-color-for-comint-mode' and |
31936 | 2605 `global-font-lock-mode' are non-nil, loading ansi-color.el will |
2606 disable font-lock and add `ansi-color-apply' to | |
2607 `comint-preoutput-filter-functions' for all shell-mode buffers. This | |
2608 displays the output of "ls --color=yes" using the correct foreground | |
2609 and background colors. | |
2610 | |
25853 | 2611 *** delphi.el provides a major mode for editing the Delphi (Object |
2612 Pascal) language. | |
2613 | |
2614 *** quickurl.el provides a simple method of inserting a URL based on | |
2615 the text at point. | |
2616 | |
2617 *** sql.el provides an interface to SQL data bases. | |
2618 | |
25862 | 2619 *** fortune.el uses the fortune program to create mail/news signatures. |
2620 | |
35163 | 2621 *** whitespace.el is a package for warning about and cleaning bogus |
2622 whitespace in a file. | |
25853 | 2623 |
25992 | 2624 *** PostScript mode (ps-mode) is a new major mode for editing PostScript |
2625 files. It offers: interaction with a PostScript interpreter, including | |
2626 (very basic) error handling; fontification, easily customizable for | |
2627 interpreter messages; auto-indentation; insertion of EPSF templates and | |
2628 often used code snippets; viewing of BoundingBox; commenting out / | |
2629 uncommenting regions; conversion of 8bit characters to PostScript octal | |
2630 codes. All functionality is accessible through a menu. | |
2631 | |
2632 *** delim-col helps to prettify columns in a text region or rectangle. | |
2633 | |
2634 Here is an example of columns: | |
2635 | |
2636 horse apple bus | |
2637 dog pineapple car EXTRA | |
2638 porcupine strawberry airplane | |
2639 | |
2640 Doing the following settings: | |
2641 | |
2642 (setq delimit-columns-str-before "[ ") | |
2643 (setq delimit-columns-str-after " ]") | |
2644 (setq delimit-columns-str-separator ", ") | |
2645 (setq delimit-columns-separator "\t") | |
2646 | |
2647 | |
2648 Selecting the lines above and typing: | |
2649 | |
2650 M-x delimit-columns-region | |
2651 | |
2652 It results: | |
2653 | |
2654 [ horse , apple , bus , ] | |
2655 [ dog , pineapple , car , EXTRA ] | |
2656 [ porcupine, strawberry, airplane, ] | |
2657 | |
2658 delim-col has the following options: | |
2659 | |
2660 delimit-columns-str-before Specify a string to be inserted | |
2661 before all columns. | |
2662 | |
2663 delimit-columns-str-separator Specify a string to be inserted | |
2664 between each column. | |
2665 | |
2666 delimit-columns-str-after Specify a string to be inserted | |
2667 after all columns. | |
2668 | |
2669 delimit-columns-separator Specify a regexp which separates | |
2670 each column. | |
2671 | |
2672 delim-col has the following commands: | |
2673 | |
2674 delimit-columns-region Prettify all columns in a text region. | |
2675 delimit-columns-rectangle Prettify all columns in a text rectangle. | |
2676 | |
36885 | 2677 *** Recentf mode maintains a menu for visiting files that were |
2678 operated on recently. User option recentf-menu-filter specifies a | |
2679 menu filter function to change the menu appearance. For example, the | |
2680 recent file list can be displayed: | |
30319 | 2681 |
2682 - organized by major modes, directories or user defined rules. | |
35680 | 2683 - sorted by file paths, file names, ascending or descending. |
2684 - showing paths relative to the current default-directory | |
30319 | 2685 |
2686 The `recentf-filter-changer' menu filter function allows to | |
2687 dynamically change the menu appearance. | |
26030
c5e8559a53cb
Add description of recentf.
Gerd Moellmann <gerd@gnu.org>
parents:
26016
diff
changeset
|
2688 |
26149 | 2689 *** elide-head.el provides a mechanism for eliding boilerplate header |
2690 text. | |
2691 | |
26924 | 2692 *** footnote.el provides `footnote-mode', a minor mode supporting use |
26786 | 2693 of footnotes. It is intended for use with Message mode, but isn't |
2694 specific to Message mode. | |
2695 | |
26924 | 2696 *** diff-mode.el provides `diff-mode', a major mode for |
2697 viewing/editing context diffs (patches). It is selected for files | |
2698 with extension `.diff', `.diffs', `.patch' and `.rej'. | |
2699 | |
27714
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2700 *** 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
|
2701 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
|
2702 protocols. It has a separate manual. |
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2703 |
28132 | 2704 *** autoconf.el provides a major mode for editing configure.in files |
2705 for Autoconf, selected automatically. | |
2706 | |
28710 | 2707 *** 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
|
2708 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2709 *** crm.el provides a facility to read multiple strings from the |
28710 | 2710 minibuffer with completion. |
27714
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2711 |
28883 | 2712 *** todo-mode.el provides management of TODO lists and integration |
2713 with the diary features. | |
2714 | |
28912 | 2715 *** autoarg.el provides a feature reported from Twenex Emacs whereby |
2716 numeric keys supply prefix args rather than self inserting. | |
2717 | |
29814 | 2718 *** The function `turn-off-auto-fill' unconditionally turns off Auto |
2719 Fill mode. | |
2720 | |
33020 | 2721 *** pcomplete.el is a library that provides programmable completion |
2722 facilities for Emacs, similar to what zsh and tcsh offer. The main | |
2723 difference is that completion functions are written in Lisp, meaning | |
2724 they can be profiled, debugged, etc. | |
32465 | 2725 |
38379 | 2726 *** antlr-mode is a new major mode for editing ANTLR grammar files. |
2727 It is automatically turned on for files whose names have the extension | |
2728 `.g'. | |
2729 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2730 ** 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
|
2731 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2732 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
|
2733 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
|
2734 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
|
2735 numeric base. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2736 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2737 ** 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
|
2738 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2739 *** 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
|
2740 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
|
2741 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
|
2742 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2743 *** 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
|
2744 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
|
2745 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2746 *** 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
|
2747 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
|
2748 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2749 ** 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
|
2750 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
|
2751 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2752 ** 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
|
2753 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
|
2754 `(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
|
2755 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2756 ** 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
|
2757 group. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2758 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2759 ** 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
|
2760 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
|
2761 are recognized: |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2762 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2763 `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
|
2764 `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
|
2765 `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
|
2766 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
|
2767 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2768 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
|
2769 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2770 [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
|
2771 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2772 ** 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
|
2773 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
|
2774 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2775 ** 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
|
2776 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
|
2777 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
|
2778 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
|
2779 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2780 ** 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
|
2781 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
|
2782 `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
|
2783 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2784 ** `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
|
2785 `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
|
2786 `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
|
2787 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2788 ** 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
|
2789 `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
|
2790 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2791 ** 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
|
2792 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
|
2793 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2794 ** `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
|
2795 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
|
2796 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2797 ** 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
|
2798 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
|
2799 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
|
2800 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
|
2801 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
|
2802 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
|
2803 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2804 ** 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
|
2805 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
|
2806 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2807 ** 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
|
2808 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2809 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
|
2810 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
|
2811 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2812 ** 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
|
2813 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2814 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
|
2815 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
|
2816 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
|
2817 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2818 ** Etags changes. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2819 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2820 *** 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
|
2821 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2822 *** 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
|
2823 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
|
2824 {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
|
2825 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
|
2826 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
|
2827 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2828 *** 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
|
2829 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
|
2830 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2831 *** 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
|
2832 "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
|
2833 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2834 *** 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
|
2835 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
|
2836 `template' keywords. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2837 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2838 *** 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
|
2839 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
|
2840 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2841 *** 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
|
2842 types. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2843 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2844 *** 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
|
2845 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2846 *** 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
|
2847 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2848 *** 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
|
2849 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
|
2850 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2851 *** 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
|
2852 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2853 *** 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
|
2854 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
|
2855 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2856 *** 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
|
2857 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2858 *** .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
|
2859 for PSWrap. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2860 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2861 ** 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
|
2862 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2863 *** 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
|
2864 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
|
2865 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
|
2866 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2867 *** 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
|
2868 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
|
2869 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2870 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
|
2871 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
|
2872 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
|
2873 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
|
2874 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2875 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
|
2876 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2877 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
|
2878 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
|
2879 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2880 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
|
2881 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2882 '(("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
|
2883 ("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
|
2884 ("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
|
2885 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2886 *** 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
|
2887 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
|
2888 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2889 *** 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
|
2890 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
|
2891 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2892 *** 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
|
2893 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
|
2894 /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
|
2895 "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
|
2896 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
|
2897 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2898 *** 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
|
2899 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
|
2900 (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
|
2901 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2902 *** 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
|
2903 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
|
2904 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
|
2905 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2906 ** 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
|
2907 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
|
2908 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
|
2909 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2910 ** 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
|
2911 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2912 ** 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
|
2913 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2914 ** 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
|
2915 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
|
2916 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
|
2917 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2918 ** 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
|
2919 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
|
2920 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
|
2921 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
|
2922 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2923 ** 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
|
2924 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2925 ** 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
|
2926 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
|
2927 |
33290 | 2928 ** Refill minor mode provides preliminary support for keeping |
2929 paragraphs filled as you modify them. | |
2930 | |
38605
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
2931 ** 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
|
2932 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
|
2933 is measured in pixels. |
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
2934 |
33290 | 2935 ** The new global minor mode `auto-image-file-mode' allows image files |
2936 to be visited as images. | |
2937 | |
39270
daf37eb76fde
grep-command and grep-find-command user options.
Gerd Moellmann <gerd@gnu.org>
parents:
39255
diff
changeset
|
2938 ** 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
|
2939 were added to compile.el. |
daf37eb76fde
grep-command and grep-find-command user options.
Gerd Moellmann <gerd@gnu.org>
parents:
39255
diff
changeset
|
2940 |
25853 | 2941 ** Withdrawn packages |
2942 | |
2943 *** mldrag.el has been removed. mouse.el provides the same | |
2944 functionality with aliases for the mldrag functions. | |
26133 | 2945 |
27369 | 2946 *** eval-reg.el has been obsoleted by changes to edebug.el and removed. |
2947 | |
2948 *** ph.el has been obsoleted by EUDC and removed. | |
29102 | 2949 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
2950 |
33991 | 2951 * Incompatible Lisp changes |
2952 | |
2953 There are a few Lisp changes which are not backwards-compatible and | |
2954 may require changes to existing code. Here is a list for reference. | |
35421 | 2955 See the sections below for details. |
33991 | 2956 |
35297
e268b7b500f0
Changes for makefile support in etags.
Francesco Potortì <pot@gnu.org>
parents:
35278
diff
changeset
|
2957 ** 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
|
2958 `(format "%s" foo)' no longer works to copy and remove properties. |
41091 | 2959 Use `copy-sequence' to copy the string, then use `set-text-properties' |
2960 to remove the properties of the copy. | |
33991 | 2961 |
2962 ** Since the `keymap' text property now has significance, some code | |
2963 which uses both `local-map' and `keymap' properties (for portability) | |
2964 may, for instance, give rise to duplicate menus when the keymaps from | |
2965 these properties are active. | |
2966 | |
34029 | 2967 ** The change in the treatment of non-ASCII characters in search |
33991 | 2968 ranges may affect some code. |
34017 | 2969 |
2970 ** A non-nil value for the LOCAL arg of add-hook makes the hook | |
2971 buffer-local even if `make-local-hook' hasn't been called, which might | |
2972 make a difference to some code. | |
2973 | |
34029 | 2974 ** The new treatment of the minibuffer prompt might affect code which |
2975 operates on the minibuffer. | |
2976 | |
34087
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2977 ** 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
|
2978 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
|
2979 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
|
2980 (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
|
2981 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
|
2982 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
|
2983 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
|
2984 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
|
2985 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
|
2986 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
|
2987 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
|
2988 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
|
2989 |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2990 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
|
2991 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
|
2992 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
|
2993 |
34617 | 2994 ** 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
|
2995 `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
|
2996 `before-change-functions' and `after-change-functions' instead. |
34617 | 2997 |
2998 ** Code that uses `concat' with integer args now gets an error, as | |
2999 long promised. | |
3000 | |
38649
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
3001 ** 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
|
3002 string. |
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
3003 |
36244 | 3004 ** Not a Lisp incompatibility as such but, with the introduction of |
3005 extra private charsets, there is now only one slot free for a new | |
3006 dimension-2 private charset. User code which tries to add more than | |
3007 one extra will fail unless you rebuild Emacs with some standard | |
3008 charset(s) removed; that is probably inadvisable because it changes | |
3009 the emacs-mule encoding. Also, files stored in the emacs-mule | |
36470 | 3010 encoding using Emacs 20 with additional private charsets defined will |
3011 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
|
3012 |
37077
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
3013 ** 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
|
3014 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
|
3015 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
|
3016 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
|
3017 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
|
3018 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
|
3019 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
|
3020 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
|
3021 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
|
3022 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
|
3023 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3024 |
29102 | 3025 * Lisp changes made after edition 2.6 of the Emacs Lisp Manual, |
3026 (Display-related features are described in a page of their own below.) | |
3027 | |
39089 | 3028 ** Function assq-delete-all replaces function assoc-delete-all. |
3029 | |
41356 | 3030 ** The new function animate-string, from lisp/play/animate.el |
38527 | 3031 allows the animated display of strings. |
3032 | |
37061 | 3033 ** The new function `interactive-form' can be used to obtain the |
3034 interactive form of a function. | |
3035 | |
36885 | 3036 ** The keyword :set-after in defcustom allows to specify dependencies |
3037 between custom options. Example: | |
3038 | |
3039 (defcustom default-input-method nil | |
3040 "*Default input method for multilingual text (a string). | |
3041 This is the input method activated automatically by the command | |
3042 `toggle-input-method' (\\[toggle-input-method])." | |
3043 :group 'mule | |
3044 :type '(choice (const nil) string) | |
3045 :set-after '(current-language-environment)) | |
3046 | |
3047 This specifies that default-input-method should be set after | |
3048 current-language-environment even if default-input-method appears | |
3049 first in a custom-set-variables statement. | |
3050 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
3051 ** The new hook `kbd-macro-termination-hook' is run at the end of |
35125 | 3052 function execute-kbd-macro. Functions on this hook are called with no |
3053 args. The hook is run independent of how the macro was terminated | |
3054 (signal or normal termination). | |
3055 | |
35090 | 3056 ** Functions `butlast' and `nbutlast' for removing trailing elements |
3057 from a list are now available without requiring the CL package. | |
3058 | |
34271 | 3059 ** The new user-option `even-window-heights' can be set to nil |
3060 to prevent `display-buffer' from evening out window heights. | |
3061 | |
33373 | 3062 ** The user-option `face-font-registry-alternatives' specifies |
3063 alternative font registry names to try when looking for a font. | |
3064 | |
34054 | 3065 ** Function `md5' calculates the MD5 "message digest"/"checksum". |
33364 | 3066 |
32913 | 3067 ** Function `delete-frame' runs `delete-frame-hook' before actually |
3068 deleting the frame. The hook is called with one arg, the frame | |
3069 being deleted. | |
3070 | |
32845
e92097fd9144
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32751
diff
changeset
|
3071 ** `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
|
3072 |
32466 | 3073 ** The treatment of non-ASCII characters in search ranges has changed. |
32465 | 3074 If a range in a regular expression or the arg of |
3075 skip-chars-forward/backward starts with a unibyte character C and ends | |
3076 with a multibyte character C2, the range is divided into two: one is | |
3077 C..?\377, the other is C1..C2, where C1 is the first character of C2's | |
3078 charset. | |
3079 | |
32259
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
3080 ** 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
|
3081 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
|
3082 message. |
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
3083 |
32050
2a3bcf8d9877
Add entries for `auto-image-file-mode' and `with-auto-compression-mode'.
Miles Bader <miles@gnu.org>
parents:
32037
diff
changeset
|
3084 ** 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
|
3085 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
|
3086 |
31636 | 3087 ** In image specifications, `:heuristic-mask' has been replaced |
3088 with the more general `:mask' property. | |
3089 | |
35364 | 3090 ** Image specifications accept more `:conversion's. |
31728 | 3091 |
31561 | 3092 ** A `?' can be used in a symbol name without escaping it with a |
3093 backslash. | |
3094 | |
31007 | 3095 ** Reading from the mini-buffer now reads from standard input if Emacs |
3096 is running in batch mode. For example, | |
3097 | |
3098 (message "%s" (read t)) | |
3099 | |
3100 will read a Lisp expression from standard input and print the result | |
3101 to standard output. | |
3102 | |
3103 ** The argument of `down-list', `backward-up-list', `up-list', | |
3104 `kill-sexp', `backward-kill-sexp' and `mark-sexp' is now optional. | |
3105 | |
30564 | 3106 ** If `display-buffer-reuse-frames' is set, function `display-buffer' |
3107 will raise frames displaying a buffer, instead of creating a new | |
3108 frame or window. | |
3109 | |
30516 | 3110 ** Two new functions for removing elements from lists/sequences |
3111 were added | |
3112 | |
3113 - Function: remove ELT SEQ | |
3114 | |
35680 | 3115 Return a copy of SEQ with all occurrences of ELT removed. SEQ must be |
30516 | 3116 a list, vector, or string. The comparison is done with `equal'. |
3117 | |
3118 - Function: remq ELT LIST | |
3119 | |
35680 | 3120 Return a copy of LIST with all occurrences of ELT removed. The |
30516 | 3121 comparison is done with `eq'. |
3122 | |
3123 ** The function `delete' now also works with vectors and strings. | |
30511 | 3124 |
30502 | 3125 ** 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
|
3126 has been changed: WEAK can now have new values `key-or-value' and |
39441 | 3127 `key-and-value', in addition the `nil', `key', `value', and `t'. |
30502 | 3128 |
30357 | 3129 ** Function `aset' stores any multibyte character in any string |
3130 without signaling "Attempt to change char length of a string". It may | |
3131 convert a unibyte string to multibyte if necessary. | |
3132 | |
30219 | 3133 ** The value of the `help-echo' text property is called as a function |
3134 or evaluated, if it is not a string already, to obtain a help string. | |
30203 | 3135 |
30158
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
3136 ** 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
|
3137 function was declared obsolete. |
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
3138 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3139 ** 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
|
3140 retained as an alias). |
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
3141 |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3142 ** Easy-menu's :filter now works as in XEmacs. |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3143 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
|
3144 is automatically converted to Emacs' form. |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3145 |
30038 | 3146 ** The new function `window-list' has been defined |
3147 | |
33620 | 3148 - Function: window-list &optional FRAME WINDOW MINIBUF |
3149 | |
3150 Return a list of windows on FRAME, starting with WINDOW. FRAME nil or | |
3151 omitted means use the selected frame. WINDOW nil or omitted means use | |
3152 the selected window. MINIBUF t means include the minibuffer window, | |
3153 even if it isn't active. MINIBUF nil or omitted means include the | |
3154 minibuffer window only if it's active. MINIBUF neither nil nor t | |
3155 means never include the minibuffer window. | |
30038 | 3156 |
39179
d0b29a3ee609
some-window -> get-window-with-predicate.
Gerd Moellmann <gerd@gnu.org>
parents:
39089
diff
changeset
|
3157 ** 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
|
3158 |
d0b29a3ee609
some-window -> get-window-with-predicate.
Gerd Moellmann <gerd@gnu.org>
parents:
39089
diff
changeset
|
3159 - Function: get-window-with-predicate PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT |
30006 | 3160 |
3161 Return a window satisfying PREDICATE. | |
3162 | |
3163 This function cycles through all visible windows using `walk-windows', | |
3164 calling PREDICATE on each one. PREDICATE is called with a window as | |
3165 argument. The first window for which PREDICATE returns a non-nil | |
3166 value is returned. If no window satisfies PREDICATE, DEFAULT is | |
3167 returned. | |
3168 | |
3169 Optional second arg MINIBUF t means count the minibuffer window even | |
3170 if not active. MINIBUF nil or omitted means count the minibuffer iff | |
3171 it is active. MINIBUF neither t nor nil means not to count the | |
3172 minibuffer even if it is active. | |
3173 | |
3174 Several frames may share a single minibuffer; if the minibuffer | |
3175 counts, all windows on all frames that share that minibuffer count | |
3176 too. Therefore, if you are using a separate minibuffer frame | |
3177 and the minibuffer is active and MINIBUF says it counts, | |
3178 `walk-windows' includes the windows in the frame from which you | |
3179 entered the minibuffer, as well as the minibuffer window. | |
3180 | |
3181 ALL-FRAMES is the optional third argument. | |
3182 ALL-FRAMES nil or omitted means cycle within the frames as specified above. | |
3183 ALL-FRAMES = `visible' means include windows on all visible frames. | |
3184 ALL-FRAMES = 0 means include windows on all visible and iconified frames. | |
3185 ALL-FRAMES = t means include windows on all frames including invisible frames. | |
3186 If ALL-FRAMES is a frame, it means include windows on that frame. | |
3187 Anything else means restrict to the selected frame. | |
3188 | |
30564 | 3189 ** The function `single-key-description' now encloses function key and |
3190 event names in angle brackets. When called with a second optional | |
3191 argument non-nil, angle brackets won't be printed. | |
29657 | 3192 |
29637 | 3193 ** If the variable `message-truncate-lines' is bound to t around a |
3194 call to `message', the echo area will not be resized to display that | |
30290 | 3195 message; it will be truncated instead, as it was done in 20.x. |
3196 Default value is nil. | |
29637 | 3197 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3198 ** The user option `line-number-display-limit' can now be set to nil, |
29633 | 3199 meaning no limit. |
3200 | |
38126
64a45ba0553f
Document line-number-display-limit-width.
Eli Zaretskii <eliz@gnu.org>
parents:
38107
diff
changeset
|
3201 ** 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
|
3202 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
|
3203 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
|
3204 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3205 ** `select-safe-coding-system' now also checks the most preferred |
29509 | 3206 coding-system if buffer-file-coding-system is `undecided' and |
3207 DEFAULT-CODING-SYSTEM is not specified, | |
3208 | |
34001 | 3209 ** The function `subr-arity' provides information about the argument |
3210 list of a primitive. | |
29238 | 3211 |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
3212 ** `where-is-internal' now also accepts a list of keymaps. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
3213 |
29286 | 3214 ** The text property `keymap' specifies a key map which overrides the |
3215 buffer's local map and the map specified by the `local-map' property. | |
3216 This is probably what most current uses of `local-map' want, rather | |
3217 than replacing the local map. | |
3218 | |
35250 | 3219 ** The obsolete variables `before-change-function' and |
3220 `after-change-function' are no longer acted upon and have been | |
3221 removed. Use `before-change-functions' and `after-change-functions' | |
3222 instead. | |
29498 | 3223 |
3224 ** The function `apropos-mode' runs the hook `apropos-mode-hook'. | |
3225 | |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
3226 ** `concat' no longer accepts individual integer arguments, |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
3227 as promised long ago. |
30339
70d759570f7a
C-down-mouse-3. Move concat change.
Dave Love <fx@gnu.org>
parents:
30319
diff
changeset
|
3228 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3229 ** 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
|
3230 |
1d5371e8a974
Add entry for auto-coding-regexp-alist.
Gerd Moellmann <gerd@gnu.org>
parents:
37446
diff
changeset
|
3231 ** 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
|
3232 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
|
3233 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
|
3234 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3235 |
25853 | 3236 * Lisp changes in Emacs 21.1 (see following page for display-related features) |
3237 | |
39517 | 3238 ** The new package rx.el provides an alternative sexp notation for |
3239 regular expressions. | |
3240 | |
3241 - Function: rx-to-string SEXP | |
3242 | |
3243 Translate SEXP into a regular expression in string notation. | |
3244 | |
3245 - Macro: rx SEXP | |
3246 | |
3247 Translate SEXP into a regular expression in string notation. | |
3248 | |
3249 The following are valid subforms of regular expressions in sexp | |
3250 notation. | |
3251 | |
3252 STRING | |
3253 matches string STRING literally. | |
3254 | |
3255 CHAR | |
3256 matches character CHAR literally. | |
3257 | |
3258 `not-newline' | |
3259 matches any character except a newline. | |
3260 . | |
3261 `anything' | |
3262 matches any character | |
3263 | |
3264 `(any SET)' | |
3265 matches any character in SET. SET may be a character or string. | |
3266 Ranges of characters can be specified as `A-Z' in strings. | |
3267 | |
40215 | 3268 '(in SET)' |
39517 | 3269 like `any'. |
3270 | |
3271 `(not (any SET))' | |
3272 matches any character not in SET | |
3273 | |
3274 `line-start' | |
3275 matches the empty string, but only at the beginning of a line | |
3276 in the text being matched | |
3277 | |
3278 `line-end' | |
3279 is similar to `line-start' but matches only at the end of a line | |
3280 | |
3281 `string-start' | |
3282 matches the empty string, but only at the beginning of the | |
3283 string being matched against. | |
3284 | |
3285 `string-end' | |
3286 matches the empty string, but only at the end of the | |
3287 string being matched against. | |
3288 | |
3289 `buffer-start' | |
3290 matches the empty string, but only at the beginning of the | |
3291 buffer being matched against. | |
3292 | |
3293 `buffer-end' | |
3294 matches the empty string, but only at the end of the | |
3295 buffer being matched against. | |
3296 | |
3297 `point' | |
3298 matches the empty string, but only at point. | |
3299 | |
3300 `word-start' | |
3301 matches the empty string, but only at the beginning or end of a | |
3302 word. | |
3303 | |
3304 `word-end' | |
3305 matches the empty string, but only at the end of a word. | |
3306 | |
3307 `word-boundary' | |
3308 matches the empty string, but only at the beginning or end of a | |
3309 word. | |
3310 | |
3311 `(not word-boundary)' | |
3312 matches the empty string, but not at the beginning or end of a | |
3313 word. | |
3314 | |
3315 `digit' | |
3316 matches 0 through 9. | |
3317 | |
3318 `control' | |
3319 matches ASCII control characters. | |
3320 | |
3321 `hex-digit' | |
3322 matches 0 through 9, a through f and A through F. | |
3323 | |
3324 `blank' | |
3325 matches space and tab only. | |
3326 | |
3327 `graphic' | |
3328 matches graphic characters--everything except ASCII control chars, | |
3329 space, and DEL. | |
3330 | |
3331 `printing' | |
3332 matches printing characters--everything except ASCII control chars | |
3333 and DEL. | |
3334 | |
3335 `alphanumeric' | |
3336 matches letters and digits. (But at present, for multibyte characters, | |
3337 it matches anything that has word syntax.) | |
3338 | |
3339 `letter' | |
3340 matches letters. (But at present, for multibyte characters, | |
3341 it matches anything that has word syntax.) | |
3342 | |
3343 `ascii' | |
3344 matches ASCII (unibyte) characters. | |
3345 | |
3346 `nonascii' | |
3347 matches non-ASCII (multibyte) characters. | |
3348 | |
3349 `lower' | |
3350 matches anything lower-case. | |
3351 | |
3352 `upper' | |
3353 matches anything upper-case. | |
3354 | |
3355 `punctuation' | |
3356 matches punctuation. (But at present, for multibyte characters, | |
3357 it matches anything that has non-word syntax.) | |
3358 | |
3359 `space' | |
3360 matches anything that has whitespace syntax. | |
3361 | |
3362 `word' | |
3363 matches anything that has word syntax. | |
3364 | |
3365 `(syntax SYNTAX)' | |
3366 matches a character with syntax SYNTAX. SYNTAX must be one | |
3367 of the following symbols. | |
3368 | |
3369 `whitespace' (\\s- in string notation) | |
3370 `punctuation' (\\s.) | |
3371 `word' (\\sw) | |
3372 `symbol' (\\s_) | |
3373 `open-parenthesis' (\\s() | |
3374 `close-parenthesis' (\\s)) | |
3375 `expression-prefix' (\\s') | |
3376 `string-quote' (\\s\") | |
3377 `paired-delimiter' (\\s$) | |
3378 `escape' (\\s\\) | |
3379 `character-quote' (\\s/) | |
3380 `comment-start' (\\s<) | |
3381 `comment-end' (\\s>) | |
3382 | |
3383 `(not (syntax SYNTAX))' | |
3384 matches a character that has not syntax SYNTAX. | |
3385 | |
3386 `(category CATEGORY)' | |
3387 matches a character with category CATEGORY. CATEGORY must be | |
3388 either a character to use for C, or one of the following symbols. | |
3389 | |
3390 `consonant' (\\c0 in string notation) | |
3391 `base-vowel' (\\c1) | |
3392 `upper-diacritical-mark' (\\c2) | |
3393 `lower-diacritical-mark' (\\c3) | |
3394 `tone-mark' (\\c4) | |
3395 `symbol' (\\c5) | |
3396 `digit' (\\c6) | |
3397 `vowel-modifying-diacritical-mark' (\\c7) | |
3398 `vowel-sign' (\\c8) | |
3399 `semivowel-lower' (\\c9) | |
3400 `not-at-end-of-line' (\\c<) | |
3401 `not-at-beginning-of-line' (\\c>) | |
3402 `alpha-numeric-two-byte' (\\cA) | |
3403 `chinse-two-byte' (\\cC) | |
3404 `greek-two-byte' (\\cG) | |
3405 `japanese-hiragana-two-byte' (\\cH) | |
3406 `indian-tow-byte' (\\cI) | |
3407 `japanese-katakana-two-byte' (\\cK) | |
3408 `korean-hangul-two-byte' (\\cN) | |
3409 `cyrillic-two-byte' (\\cY) | |
3410 `ascii' (\\ca) | |
3411 `arabic' (\\cb) | |
3412 `chinese' (\\cc) | |
3413 `ethiopic' (\\ce) | |
3414 `greek' (\\cg) | |
3415 `korean' (\\ch) | |
3416 `indian' (\\ci) | |
3417 `japanese' (\\cj) | |
3418 `japanese-katakana' (\\ck) | |
3419 `latin' (\\cl) | |
3420 `lao' (\\co) | |
3421 `tibetan' (\\cq) | |
3422 `japanese-roman' (\\cr) | |
3423 `thai' (\\ct) | |
3424 `vietnamese' (\\cv) | |
3425 `hebrew' (\\cw) | |
3426 `cyrillic' (\\cy) | |
3427 `can-break' (\\c|) | |
3428 | |
3429 `(not (category CATEGORY))' | |
3430 matches a character that has not category CATEGORY. | |
3431 | |
3432 `(and SEXP1 SEXP2 ...)' | |
3433 matches what SEXP1 matches, followed by what SEXP2 matches, etc. | |
3434 | |
3435 `(submatch SEXP1 SEXP2 ...)' | |
3436 like `and', but makes the match accessible with `match-end', | |
3437 `match-beginning', and `match-string'. | |
3438 | |
3439 `(group SEXP1 SEXP2 ...)' | |
3440 another name for `submatch'. | |
3441 | |
3442 `(or SEXP1 SEXP2 ...)' | |
3443 matches anything that matches SEXP1 or SEXP2, etc. If all | |
3444 args are strings, use `regexp-opt' to optimize the resulting | |
3445 regular expression. | |
3446 | |
3447 `(minimal-match SEXP)' | |
3448 produce a non-greedy regexp for SEXP. Normally, regexps matching | |
3449 zero or more occurrances of something are \"greedy\" in that they | |
3450 match as much as they can, as long as the overall regexp can | |
3451 still match. A non-greedy regexp matches as little as possible. | |
3452 | |
3453 `(maximal-match SEXP)' | |
3454 produce a greedy regexp for SEXP. This is the default. | |
3455 | |
3456 `(zero-or-more SEXP)' | |
3457 matches zero or more occurrences of what SEXP matches. | |
3458 | |
3459 `(0+ SEXP)' | |
3460 like `zero-or-more'. | |
3461 | |
3462 `(* SEXP)' | |
3463 like `zero-or-more', but always produces a greedy regexp. | |
3464 | |
3465 `(*? SEXP)' | |
3466 like `zero-or-more', but always produces a non-greedy regexp. | |
3467 | |
3468 `(one-or-more SEXP)' | |
3469 matches one or more occurrences of A. | |
40215 | 3470 |
39517 | 3471 `(1+ SEXP)' |
3472 like `one-or-more'. | |
3473 | |
3474 `(+ SEXP)' | |
3475 like `one-or-more', but always produces a greedy regexp. | |
3476 | |
3477 `(+? SEXP)' | |
3478 like `one-or-more', but always produces a non-greedy regexp. | |
3479 | |
3480 `(zero-or-one SEXP)' | |
3481 matches zero or one occurrences of A. | |
40215 | 3482 |
39517 | 3483 `(optional SEXP)' |
3484 like `zero-or-one'. | |
3485 | |
3486 `(? SEXP)' | |
3487 like `zero-or-one', but always produces a greedy regexp. | |
3488 | |
3489 `(?? SEXP)' | |
3490 like `zero-or-one', but always produces a non-greedy regexp. | |
3491 | |
3492 `(repeat N SEXP)' | |
3493 matches N occurrences of what SEXP matches. | |
3494 | |
3495 `(repeat N M SEXP)' | |
3496 matches N to M occurrences of what SEXP matches. | |
3497 | |
3498 `(eval FORM)' | |
3499 evaluate FORM and insert result. If result is a string, | |
3500 `regexp-quote' it. | |
3501 | |
3502 `(regexp REGEXP)' | |
3503 include REGEXP in string notation in the result. | |
3504 | |
36811 | 3505 *** The features `md5' and `overlay' are now provided by default. |
3506 | |
30933
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
3507 *** 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
|
3508 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
|
3509 the original restriction. Previously, doing this would cause the saved |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
3510 restriction to be restored incorrectly. |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
3511 |
29506 | 3512 *** The functions `find-charset-region' and `find-charset-string' include |
3513 `eight-bit-control' and/or `eight-bit-graphic' in the returned list | |
36470 | 3514 when they find 8-bit characters. Previously, they included `ascii' in a |
29506 | 3515 multibyte buffer and `unknown' in a unibyte buffer. |
3516 | |
39255 | 3517 *** 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
|
3518 `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
|
3519 if it contains a character from the `eight-bit-control' character set. |
29506 | 3520 |
3521 *** The handling of multibyte sequences in a multibyte buffer is | |
3522 changed. Previously, a byte sequence matching the pattern | |
3523 [\200-\237][\240-\377]+ was interpreted as a single character | |
3524 regardless of the length of the trailing bytes [\240-\377]+. Thus, if | |
3525 the sequence was longer than what the leading byte indicated, the | |
3526 extra trailing bytes were ignored by Lisp functions. Now such extra | |
3527 bytes are independent 8-bit characters belonging to the charset | |
3528 eight-bit-graphic. | |
3529 | |
3530 ** Fontsets are now implemented using char-tables. | |
3531 | |
35847
83b8f5ad1f97
Several typos fixed. From Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35784
diff
changeset
|
3532 A fontset can now be specified for each independent character, for |
29506 | 3533 a group of characters or for a character set rather than just for a |
3534 character set as previously. | |
3535 | |
3536 *** The arguments of the function `set-fontset-font' are changed. | |
3537 They are NAME, CHARACTER, FONTNAME, and optional FRAME. The function | |
3538 modifies fontset NAME to use FONTNAME for CHARACTER. | |
3539 | |
3540 CHARACTER may be a cons (FROM . TO), where FROM and TO are non-generic | |
3541 characters. In that case FONTNAME is used for all characters in the | |
3542 range FROM and TO (inclusive). CHARACTER may be a charset. In that | |
3543 case FONTNAME is used for all character in the charset. | |
3544 | |
3545 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
|
3546 name of a font and REGISTRY is a registry name of a font. |
29506 | 3547 |
3548 *** Variable x-charset-registry has been deleted. The default charset | |
3549 registries of character sets are set in the default fontset | |
3550 "fontset-default". | |
3551 | |
3552 *** The function `create-fontset-from-fontset-spec' ignores the second | |
3553 argument STYLE-VARIANT. It never creates style-variant fontsets. | |
3554 | |
3555 ** The method of composing characters is changed. Now character | |
3556 composition is done by a special text property `composition' in | |
3557 buffers and strings. | |
3558 | |
3559 *** Charset composition is deleted. Emacs never creates a `composite | |
3560 character' which is an independent character with a unique character | |
3561 code. Thus the following functions handling `composite characters' | |
3562 have been deleted: composite-char-component, | |
3563 composite-char-component-count, composite-char-composition-rule, | |
3564 composite-char-composition-rule and decompose-composite-char delete. | |
3565 The variables leading-code-composition and min-composite-char have | |
3566 also been deleted. | |
3567 | |
3568 *** Three more glyph reference points are added. They can be used to | |
3569 specify a composition rule. See the documentation of the variable | |
3570 `reference-point-alist' for more detail. | |
3571 | |
3572 *** The function `compose-region' takes new arguments COMPONENTS and | |
3573 MODIFICATION-FUNC. With COMPONENTS, you can specify not only a | |
3574 composition rule but also characters to be composed. Such characters | |
3575 may differ between buffer and string text. | |
3576 | |
3577 *** The function `compose-string' takes new arguments START, END, | |
3578 COMPONENTS, and MODIFICATION-FUNC. | |
3579 | |
3580 *** The function `compose-string' puts text property `composition' | |
3581 directly on the argument STRING instead of returning a new string. | |
3582 Likewise, the function `decompose-string' just removes text property | |
3583 `composition' from STRING. | |
3584 | |
3585 *** The new function `find-composition' returns information about | |
3586 a composition at a specified position in a buffer or a string. | |
3587 | |
3588 *** The function `decompose-composite-char' is now labeled as | |
3589 obsolete. | |
3590 | |
36039 | 3591 ** The new coding system `mac-roman' is primarily intended for use on |
3592 the Macintosh but may be used generally for Macintosh-encoded text. | |
3593 | |
33290 | 3594 ** The new character sets `mule-unicode-0100-24ff', |
35937 | 3595 `mule-unicode-2500-33ff', and `mule-unicode-e000-ffff' have been |
3596 introduced for Unicode characters in the range U+0100..U+24FF, | |
3597 U+2500..U+33FF, U+E000..U+FFFF respectively. | |
3598 | |
38012
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3599 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
|
3600 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
|
3601 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
|
3602 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
|
3603 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
|
3604 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
|
3605 |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3606 ** 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
|
3607 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
|
3608 details, please see the documentation string of this coding system. |
35557 | 3609 |
29506 | 3610 ** The new character sets `japanese-jisx0213-1' and |
35937 | 3611 `japanese-jisx0213-2' have been introduced for the new Japanese |
3612 standard JIS X 0213 Plane 1 and Plane 2. | |
3613 | |
3614 ** The new character sets `latin-iso8859-14' and `latin-iso8859-15' | |
3615 have been introduced. | |
29506 | 3616 |
3617 ** The new character sets `eight-bit-control' and `eight-bit-graphic' | |
35937 | 3618 have been introduced for 8-bit characters in the ranges 0x80..0x9F and |
36470 | 3619 0xA0..0xFF respectively. Note that the multibyte representation of |
3620 eight-bit-control is never exposed; this leads to an exception in the | |
3621 emacs-mule coding system, which encodes everything else to the | |
36885 | 3622 buffer/string internal representation. Note that to search for |
3623 eight-bit-graphic characters in a multibyte buffer, the search string | |
3624 must be multibyte, otherwise such characters will be converted to | |
3625 their multibyte equivalent. | |
29506 | 3626 |
28847 | 3627 ** If the APPEND argument of `write-region' is an integer, it seeks to |
3628 that offset in the file before writing. | |
3629 | |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3630 ** 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
|
3631 compatibility with XEmacs (and is used internally by define-minor-mode). |
28724 | 3632 |
28710 | 3633 ** The function `shell-command' now sets the default directory of the |
3634 `*Shell Command Output*' buffer to the default directory of the buffer | |
3635 from which the command was issued. | |
3636 | |
3637 ** The functions `query-replace', `query-replace-regexp', | |
3638 `query-replace-regexp-eval' `map-query-replace-regexp', | |
3639 `replace-string', `replace-regexp', and `perform-replace' take two | |
3640 additional optional arguments START and END that specify the region to | |
3641 operate on. | |
3642 | |
28658 | 3643 ** The new function `count-screen-lines' is a more flexible alternative |
3644 to `window-buffer-height'. | |
3645 | |
3646 - Function: count-screen-lines &optional BEG END COUNT-FINAL-NEWLINE WINDOW | |
3647 | |
3648 Return the number of screen lines in the region between BEG and END. | |
3649 The number of screen lines may be different from the number of actual | |
3650 lines, due to line breaking, display table, etc. | |
3651 | |
3652 Optional arguments BEG and END default to `point-min' and `point-max' | |
3653 respectively. | |
3654 | |
35680 | 3655 If region ends with a newline, ignore it unless optional third argument |
28658 | 3656 COUNT-FINAL-NEWLINE is non-nil. |
3657 | |
3658 The optional fourth argument WINDOW specifies the window used for | |
3659 obtaining parameters such as width, horizontal scrolling, and so | |
3660 on. The default is to use the selected window's parameters. | |
3661 | |
3662 Like `vertical-motion', `count-screen-lines' always uses the current | |
3663 buffer, regardless of which buffer is displayed in WINDOW. This makes | |
3664 possible to use `count-screen-lines' in any buffer, whether or not it | |
3665 is currently displayed in some window. | |
3666 | |
28556 | 3667 ** The new function `mapc' is like `mapcar' but doesn't collect the |
3668 argument function's results. | |
3669 | |
28496 | 3670 ** 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
|
3671 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
|
3672 `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
|
3673 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
|
3674 sequence). |
28496 | 3675 |
28492 | 3676 ** The function sendmail-user-agent-compose now recognizes a `body' |
31859 | 3677 header in the list of headers passed to it. |
28492 | 3678 |
3679 ** The new function member-ignore-case works like `member', but | |
3680 ignores differences in case and text representation. | |
3681 | |
3682 ** The buffer-local variable cursor-type can be used to specify the | |
28323 | 3683 cursor to use in windows displaying a buffer. Values are interpreted |
3684 as follows: | |
3685 | |
3686 t use the cursor specified for the frame (default) | |
3687 nil don't display a cursor | |
3688 `bar' display a bar cursor with default width | |
3689 (bar . WIDTH) display a bar cursor with width WIDTH | |
3690 others display a box cursor. | |
3691 | |
28303 | 3692 ** The variable open-paren-in-column-0-is-defun-start controls whether |
3693 an open parenthesis in column 0 is considered to be the start of a | |
3694 defun. If set, the default, it is considered a defun start. If not | |
3695 set, an open parenthesis in column 0 has no special meaning. | |
3696 | |
28194 | 3697 ** 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
|
3698 specifications in string form as accepted by `modify-syntax-entry' to |
28194 | 3699 the cons-cell form that is used for the values of the `syntax-table' |
3700 text property, and in `font-lock-syntactic-keywords'. | |
3701 | |
3702 Example: | |
3703 | |
3704 (string-to-syntax "()") | |
3705 => (4 . 41) | |
3706 | |
28166 | 3707 ** Emacs' reader supports CL read syntax for integers in bases |
3708 other than 10. | |
3709 | |
3710 *** `#BINTEGER' or `#bINTEGER' reads INTEGER in binary (radix 2). | |
3711 INTEGER optionally contains a sign. | |
3712 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3713 #b1111 |
28166 | 3714 => 15 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3715 #b-1111 |
28166 | 3716 => -15 |
3717 | |
3718 *** `#OINTEGER' or `#oINTEGER' reads INTEGER in octal (radix 8). | |
3719 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3720 #o666 |
28166 | 3721 => 438 |
3722 | |
3723 *** `#XINTEGER' or `#xINTEGER' reads INTEGER in hexadecimal (radix 16). | |
3724 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3725 #xbeef |
28166 | 3726 => 48815 |
3727 | |
3728 *** `#RADIXrINTEGER' reads INTEGER in radix RADIX, 2 <= RADIX <= 36. | |
3729 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3730 #2R-111 |
28166 | 3731 => -7 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3732 #25rah |
28166 | 3733 => 267 |
3734 | |
28335 | 3735 ** The function `documentation-property' now evaluates the value of |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3736 the given property to obtain a string if it doesn't refer to etc/DOC |
28037 | 3737 and isn't a string. |
3738 | |
28335 | 3739 ** If called for a symbol, the function `documentation' now looks for |
3740 a `function-documentation' property of that symbol. If it has a non-nil | |
3741 value, the documentation is taken from that value. If the value is | |
3742 not a string, it is evaluated to obtain a string. | |
3743 | |
27881
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3744 ** 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
|
3745 |
28149 | 3746 ** 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
|
3747 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
|
3748 |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3749 ** `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
|
3750 `mouse-position-function'. |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3751 |
27827 | 3752 ** The function string-to-number now returns a float for numbers |
3753 that don't fit into a Lisp integer. | |
3754 | |
27820 | 3755 ** The variable keyword-symbols-constants-flag has been removed. |
3756 Keywords are now always considered constants. | |
3757 | |
27770 | 3758 ** The new function `delete-and-extract-region' deletes text and |
3759 returns it. | |
3760 | |
27276 | 3761 ** The function `clear-this-command-keys' now also clears the vector |
3762 returned by function `recent-keys'. | |
3763 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3764 ** Variables `beginning-of-defun-function' and `end-of-defun-function' |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3765 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
|
3766 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
|
3767 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
|
3768 mode. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3769 |
27094
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3770 ** 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
|
3771 and is renamed `define-minor-mode'. |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3772 |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3773 ** 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
|
3774 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
|
3775 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
|
3776 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
|
3777 been performed." |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3778 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3779 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
|
3780 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
|
3781 hook function returns non-nil meaning expansion has been done, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3782 then the self-inserting character is not inserted. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3783 |
26737 | 3784 ** The function `intern-soft' now accepts a symbol as first argument. |
3785 In this case, that exact symbol is looked up in the specified obarray, | |
3786 and the function's value is nil if it is not found. | |
3787 | |
26467 | 3788 ** The new macro `with-syntax-table' can be used to evaluate forms |
3789 with the syntax table of the current buffer temporarily set to a | |
3790 specified table. | |
3791 | |
3792 (with-syntax-table TABLE &rest BODY) | |
3793 | |
3794 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
|
3795 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
|
3796 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
|
3797 what BODY returns. |
26467 | 3798 |
27693
d8bedafef8d5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27644
diff
changeset
|
3799 ** 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
|
3800 Perl's shy-groups \(?:...\) and non-greedy *? +? and ?? operators. |
35680 | 3801 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
|
3802 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
|
3803 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
|
3804 |
26397
17d6fe2e2d0f
Removal of buffer argument of file-local-copy.
Gerd Moellmann <gerd@gnu.org>
parents:
26360
diff
changeset
|
3805 ** 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
|
3806 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
|
3807 |
26360
5370b1c171ef
Change in file-locked-p argument.
Gerd Moellmann <gerd@gnu.org>
parents:
26359
diff
changeset
|
3808 ** 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
|
3809 instead of being optional. |
5370b1c171ef
Change in file-locked-p argument.
Gerd Moellmann <gerd@gnu.org>
parents:
26359
diff
changeset
|
3810 |
26277
32e16b70ae15
New built-in error `text-read-only'.
Gerd Moellmann <gerd@gnu.org>
parents:
26271
diff
changeset
|
3811 ** 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
|
3812 modify read-only text. |
32e16b70ae15
New built-in error `text-read-only'.
Gerd Moellmann <gerd@gnu.org>
parents:
26271
diff
changeset
|
3813 |
26140
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3814 ** New functions and variables for locales. |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3815 |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3816 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
|
3817 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
|
3818 time functions like strftime. The new variables |
4df5920724de
Rename messages-locale to system-messages-locale
Paul Eggert <eggert@twinsun.com>
parents:
26467
diff
changeset
|
3819 `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
|
3820 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
|
3821 |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3822 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
|
3823 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
|
3824 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
|
3825 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
|
3826 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
|
3827 `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
|
3828 `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
|
3829 |
26107
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3830 ** syntax tables now understand nested comments. |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3831 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
|
3832 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
|
3833 start sequences. |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3834 |
25910
918acea58309
Add section for change of pixmap-spec-p to bitmap-spec-p.
Gerd Moellmann <gerd@gnu.org>
parents:
25862
diff
changeset
|
3835 ** 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
|
3836 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
|
3837 |
25853 | 3838 ** New function `propertize' |
3839 | |
3840 The new function `propertize' can be used to conveniently construct | |
3841 strings with text properties. | |
3842 | |
3843 - Function: propertize STRING &rest PROPERTIES | |
3844 | |
3845 Value is a copy of STRING with text properties assigned as specified | |
3846 by PROPERTIES. PROPERTIES is a sequence of pairs PROPERTY VALUE, with | |
3847 PROPERTY being the name of a text property and VALUE being the | |
3848 specified value of that property. Example: | |
3849 | |
3850 (propertize "foo" 'face 'bold 'read-only t) | |
3851 | |
3852 ** push and pop macros. | |
3853 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3854 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
|
3855 are now defined in Emacs Lisp. These macros allow only symbols |
25853 | 3856 as the place that holds the list to be changed. |
3857 | |
3858 (push NEWELT LISTNAME) add NEWELT to the front of LISTNAME's value. | |
3859 (pop LISTNAME) return first elt of LISTNAME, and remove it | |
3860 (thus altering the value of LISTNAME). | |
3861 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3862 ** New dolist and dotimes macros. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3863 |
27387
d0a7127b33e5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27385
diff
changeset
|
3864 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
|
3865 are now defined in Emacs Lisp. |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3866 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3867 (dolist (VAR LIST [RESULT]) BODY...) |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3868 Execute body once for each element of LIST, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3869 using the variable VAR to hold the current element. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3870 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
|
3871 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3872 (dotimes (VAR COUNT [RESULT]) BODY...) |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3873 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
|
3874 inclusive, to COUNT, exclusive. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3875 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
|
3876 |
34166 | 3877 ** Regular expressions now support Posix character classes such as |
3878 [:alpha:], [:space:] and so on. These must be used within a character | |
3879 class--for instance, [-[:digit:].+] matches digits or a period | |
3880 or a sign. | |
25853 | 3881 |
3882 [:digit:] matches 0 through 9 | |
3883 [:cntrl:] matches ASCII control characters | |
3884 [:xdigit:] matches 0 through 9, a through f and A through F. | |
3885 [:blank:] matches space and tab only | |
3886 [:graph:] matches graphic characters--everything except ASCII control chars, | |
3887 space, and DEL. | |
3888 [:print:] matches printing characters--everything except ASCII control chars | |
3889 and DEL. | |
3890 [:alnum:] matches letters and digits. | |
3891 (But at present, for multibyte characters, | |
3892 it matches anything that has word syntax.) | |
3893 [:alpha:] matches letters. | |
3894 (But at present, for multibyte characters, | |
3895 it matches anything that has word syntax.) | |
3896 [:ascii:] matches ASCII (unibyte) characters. | |
3897 [:nonascii:] matches non-ASCII (multibyte) characters. | |
3898 [:lower:] matches anything lower-case. | |
3899 [:punct:] matches punctuation. | |
3900 (But at present, for multibyte characters, | |
3901 it matches anything that has non-word syntax.) | |
3902 [:space:] matches anything that has whitespace syntax. | |
3903 [:upper:] matches anything upper-case. | |
3904 [:word:] matches anything that has word syntax. | |
3905 | |
3906 ** Emacs now has built-in hash tables. | |
3907 | |
3908 The following functions are defined for hash tables: | |
3909 | |
3910 - Function: make-hash-table ARGS | |
3911 | |
3912 The argument list ARGS consists of keyword/argument pairs. All arguments | |
3913 are optional. The following arguments are defined: | |
3914 | |
3915 :test TEST | |
3916 | |
3917 TEST must be a symbol specifying how to compare keys. Default is `eql'. | |
3918 Predefined are `eq', `eql' and `equal'. If TEST is not predefined, | |
3919 it must have been defined with `define-hash-table-test'. | |
3920 | |
3921 :size SIZE | |
3922 | |
3923 SIZE must be an integer > 0 giving a hint to the implementation how | |
3924 many elements will be put in the hash table. Default size is 65. | |
3925 | |
3926 :rehash-size REHASH-SIZE | |
3927 | |
3928 REHASH-SIZE specifies by how much to grow a hash table once it becomes | |
3929 full. If REHASH-SIZE is an integer, add that to the hash table's old | |
3930 size to get the new size. Otherwise, REHASH-SIZE must be a float > | |
3931 1.0, and the new size is computed by multiplying REHASH-SIZE with the | |
3932 old size. Default rehash size is 1.5. | |
3933 | |
3934 :rehash-threshold THRESHOLD | |
3935 | |
3936 THRESHOLD must be a float > 0 and <= 1.0 specifying when to resize the | |
3937 hash table. It is resized when the ratio of (number of entries) / | |
3938 (size of hash table) is >= THRESHOLD. Default threshold is 0.8. | |
3939 | |
3940 :weakness WEAK | |
3941 | |
30502 | 3942 WEAK must be either nil, one of the symbols `key, `value', |
3943 `key-or-value', `key-and-value', or t, meaning the same as | |
3944 `key-and-value'. Entries are removed from weak tables during garbage | |
3945 collection if their key and/or value are not referenced elsewhere | |
3946 outside of the hash table. Default are non-weak hash tables. | |
25853 | 3947 |
3948 - Function: makehash &optional TEST | |
3949 | |
3950 Similar to make-hash-table, but only TEST can be specified. | |
3951 | |
3952 - Function: hash-table-p TABLE | |
3953 | |
3954 Returns non-nil if TABLE is a hash table object. | |
3955 | |
3956 - Function: copy-hash-table TABLE | |
3957 | |
3958 Returns a copy of TABLE. Only the table itself is copied, keys and | |
3959 values are shared. | |
3960 | |
3961 - Function: hash-table-count TABLE | |
3962 | |
3963 Returns the number of entries in TABLE. | |
3964 | |
3965 - Function: hash-table-rehash-size TABLE | |
3966 | |
3967 Returns the rehash size of TABLE. | |
3968 | |
3969 - Function: hash-table-rehash-threshold TABLE | |
3970 | |
3971 Returns the rehash threshold of TABLE. | |
3972 | |
3973 - Function: hash-table-rehash-size TABLE | |
3974 | |
3975 Returns the size of TABLE. | |
3976 | |
30789 | 3977 - Function: hash-table-test TABLE |
25853 | 3978 |
3979 Returns the test TABLE uses to compare keys. | |
3980 | |
3981 - Function: hash-table-weakness TABLE | |
3982 | |
3983 Returns the weakness specified for TABLE. | |
3984 | |
3985 - Function: clrhash TABLE | |
3986 | |
3987 Clear TABLE. | |
3988 | |
3989 - Function: gethash KEY TABLE &optional DEFAULT | |
3990 | |
3991 Look up KEY in TABLE and return its associated VALUE or DEFAULT if | |
3992 not found. | |
3993 | |
26264 | 3994 - Function: puthash KEY VALUE TABLE |
25853 | 3995 |
3996 Associate KEY with VALUE in TABLE. If KEY is already associated with | |
3997 another value, replace the old value with VALUE. | |
3998 | |
3999 - Function: remhash KEY TABLE | |
4000 | |
4001 Remove KEY from TABLE if it is there. | |
4002 | |
4003 - Function: maphash FUNCTION TABLE | |
4004 | |
4005 Call FUNCTION for all elements in TABLE. FUNCTION must take two | |
4006 arguments KEY and VALUE. | |
4007 | |
4008 - Function: sxhash OBJ | |
4009 | |
4010 Return a hash code for Lisp object OBJ. | |
4011 | |
4012 - Function: define-hash-table-test NAME TEST-FN HASH-FN | |
4013 | |
4014 Define a new hash table test named NAME. If NAME is specified as | |
4015 a test in `make-hash-table', the table created will use TEST-FN for | |
26264 | 4016 comparing keys, and HASH-FN to compute hash codes for keys. Test |
25853 | 4017 and hash function are stored as symbol property `hash-table-test' |
4018 of NAME with a value of (TEST-FN HASH-FN). | |
4019 | |
4020 TEST-FN must take two arguments and return non-nil if they are the same. | |
4021 | |
4022 HASH-FN must take one argument and return an integer that is the hash | |
4023 code of the argument. The function should use the whole range of | |
4024 integer values for hash code computation, including negative integers. | |
4025 | |
4026 Example: The following creates a hash table whose keys are supposed to | |
4027 be strings that are compared case-insensitively. | |
4028 | |
4029 (defun case-fold-string= (a b) | |
4030 (compare-strings a nil nil b nil nil t)) | |
4031 | |
4032 (defun case-fold-string-hash (a) | |
4033 (sxhash (upcase a))) | |
4034 | |
26264 | 4035 (define-hash-table-test 'case-fold 'case-fold-string= |
25853 | 4036 'case-fold-string-hash)) |
4037 | |
4038 (make-hash-table :test 'case-fold) | |
4039 | |
4040 ** The Lisp reader handles circular structure. | |
4041 | |
4042 It now works to use the #N= and #N# constructs to represent | |
4043 circular structures. For example, #1=(a . #1#) represents | |
4044 a cons cell which is its own cdr. | |
4045 | |
4046 ** The Lisp printer handles circular structure. | |
4047 | |
4048 If you bind print-circle to a non-nil value, the Lisp printer outputs | |
4049 #N= and #N# constructs to represent circular and shared structure. | |
4050 | |
4051 ** If the second argument to `move-to-column' is anything but nil or | |
4052 t, that means replace a tab with spaces if necessary to reach the | |
4053 specified column, but do not add spaces at the end of the line if it | |
4054 is too short to reach that column. | |
4055 | |
4056 ** perform-replace has a new feature: the REPLACEMENTS argument may | |
4057 now be a cons cell (FUNCTION . DATA). This means to call FUNCTION | |
4058 after each match to get the replacement text. FUNCTION is called with | |
4059 two arguments: DATA, and the number of replacements already made. | |
4060 | |
4061 If the FROM-STRING contains any upper-case letters, | |
4062 perform-replace also turns off `case-fold-search' temporarily | |
4063 and inserts the replacement text without altering case in it. | |
4064 | |
4065 ** The function buffer-size now accepts an optional argument | |
4066 to specify which buffer to return the size of. | |
4067 | |
4068 ** The calendar motion commands now run the normal hook | |
4069 calendar-move-hook after moving point. | |
4070 | |
4071 ** The new variable small-temporary-file-directory specifies a | |
4072 directory to use for creating temporary files that are likely to be | |
4073 small. (Certain Emacs features use this directory.) If | |
4074 small-temporary-file-directory is nil, they use | |
4075 temporary-file-directory instead. | |
4076 | |
4077 ** The variable `inhibit-modification-hooks', if non-nil, inhibits all | |
4078 the hooks that track changes in the buffer. This affects | |
4079 `before-change-functions' and `after-change-functions', as well as | |
4080 hooks attached to text properties and overlay properties. | |
4081 | |
36885 | 4082 ** assq-delete-all is a new function that deletes all the |
4083 elements of an alist which have a car `eq' to a particular value. | |
25853 | 4084 |
4085 ** make-temp-file provides a more reliable way to create a temporary file. | |
4086 | |
4087 make-temp-file is used like make-temp-name, except that it actually | |
4088 creates the file before it returns. This prevents a timing error, | |
4089 ensuring that no other job can use the same name for a temporary file. | |
4090 | |
4091 ** New exclusive-open feature in `write-region' | |
4092 | |
4093 The optional seventh arg is now called MUSTBENEW. If non-nil, it insists | |
4094 on a check for an existing file with the same name. If MUSTBENEW | |
4095 is `excl', that means to get an error if the file already exists; | |
4096 never overwrite. If MUSTBENEW is neither nil nor `excl', that means | |
4097 ask for confirmation before overwriting, but do go ahead and | |
4098 overwrite the file if the user gives confirmation. | |
4099 | |
4100 If the MUSTBENEW argument in `write-region' is `excl', | |
4101 that means to use a special feature in the `open' system call | |
4102 to get an error if the file exists at that time. | |
4103 The error reported is `file-already-exists'. | |
4104 | |
4105 ** Function `format' now handles text properties. | |
4106 | |
4107 Text properties of the format string are applied to the result string. | |
4108 If the result string is longer than the format string, text properties | |
4109 ending at the end of the format string are extended to the end of the | |
4110 result string. | |
4111 | |
4112 Text properties from string arguments are applied to the result | |
4113 string where arguments appear in the result string. | |
4114 | |
4115 Example: | |
4116 | |
4117 (let ((s1 "hello, %s") | |
4118 (s2 "world")) | |
4119 (put-text-property 0 (length s1) 'face 'bold s1) | |
4120 (put-text-property 0 (length s2) 'face 'italic s2) | |
26034 | 4121 (format s1 s2)) |
25853 | 4122 |
4123 results in a bold-face string with an italic `world' at the end. | |
4124 | |
4125 ** Messages can now be displayed with text properties. | |
4126 | |
4127 Text properties are handled as described above for function `format'. | |
4128 The following example displays a bold-face message with an italic | |
4129 argument in it. | |
4130 | |
4131 (let ((msg "hello, %s!") | |
4132 (arg "world")) | |
4133 (put-text-property 0 (length msg) 'face 'bold msg) | |
4134 (put-text-property 0 (length arg) 'face 'italic arg) | |
4135 (message msg arg)) | |
4136 | |
4137 ** Sound support | |
4138 | |
4139 Emacs supports playing sound files on GNU/Linux and the free BSDs | |
4140 (Voxware driver and native BSD driver, aka as Luigi's driver). | |
4141 | |
4142 Currently supported file formats are RIFF-WAVE (*.wav) and Sun Audio | |
4143 (*.au). You must configure Emacs with the option `--with-sound=yes' | |
4144 to enable sound support. | |
4145 | |
4146 Sound files can be played by calling (play-sound SOUND). SOUND is a | |
4147 list of the form `(sound PROPERTY...)'. The function is only defined | |
4148 when sound support is present for the system on which Emacs runs. The | |
4149 functions runs `play-sound-functions' with one argument which is the | |
4150 sound to play, before playing the sound. | |
4151 | |
4152 The following sound properties are supported: | |
4153 | |
4154 - `:file FILE' | |
4155 | |
4156 FILE is a file name. If FILE isn't an absolute name, it will be | |
4157 searched relative to `data-directory'. | |
4158 | |
27148 | 4159 - `:data DATA' |
4160 | |
4161 DATA is a string containing sound data. Either :file or :data | |
4162 may be present, but not both. | |
4163 | |
25853 | 4164 - `:volume VOLUME' |
4165 | |
4166 VOLUME must be an integer in the range 0..100 or a float in the range | |
4167 0..1. This property is optional. | |
4168 | |
33991 | 4169 - `:device DEVICE' |
4170 | |
4171 DEVICE is a string specifying the system device on which to play the | |
4172 sound. The default device is system-dependent. | |
4173 | |
25853 | 4174 Other properties are ignored. |
4175 | |
33991 | 4176 An alternative interface is called as |
4177 (play-sound-file FILE &optional VOLUME DEVICE). | |
4178 | |
25853 | 4179 ** `multimedia' is a new Finder keyword and Custom group. |
26933 | 4180 |
4181 ** keywordp is a new predicate to test efficiently for an object being | |
4182 a keyword symbol. | |
27145
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4183 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4184 ** Changes to garbage collection |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4185 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4186 *** 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
|
4187 of live and free strings. |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4188 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4189 *** 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
|
4190 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
|
4191 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
4192 |
29151 | 4193 * Lisp-level Display features added after release 2.6 of the Emacs |
4194 Lisp Manual | |
4195 | |
33309 | 4196 ** The user-option `resize-mini-windows' controls how Emacs resizes |
4197 mini-windows. | |
4198 | |
34389
779f5314f5fa
Update entry for `pos-visible-in-window-p'.
Miles Bader <miles@gnu.org>
parents:
34334
diff
changeset
|
4199 ** 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
|
4200 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
|
4201 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
|
4202 |
33309 | 4203 ** On window systems, `glyph-table' is no longer used. |
31220 | 4204 |
30222 | 4205 ** Help strings in menu items are now used to provide `help-echo' text. |
29939 | 4206 |
4207 ** The function `image-size' can be used to determine the size of an | |
4208 image. | |
4209 | |
4210 - Function: image-size SPEC &optional PIXELS FRAME | |
4211 | |
4212 Return the size of an image as a pair (WIDTH . HEIGHT). | |
4213 | |
4214 SPEC is an image specification. PIXELS non-nil means return sizes | |
4215 measured in pixels, otherwise return sizes measured in canonical | |
4216 character units (fractions of the width/height of the frame's default | |
4217 font). FRAME is the frame on which the image will be displayed. | |
4218 FRAME nil or omitted means use the selected frame. | |
4219 | |
31639 | 4220 ** The function `image-mask-p' can be used to determine if an image |
4221 has a mask bitmap. | |
4222 | |
4223 - Function: image-mask-p SPEC &optional FRAME | |
4224 | |
4225 Return t if image SPEC has a mask bitmap. | |
4226 FRAME is the frame on which the image will be displayed. FRAME nil | |
4227 or omitted means use the selected frame. | |
4228 | |
29506 | 4229 ** The function `find-image' can be used to find a usable image |
4230 satisfying one of a list of specifications. | |
4231 | |
4232 ** The STRING argument of `put-image' and `insert-image' is now | |
4233 optional. | |
4234 | |
31156 | 4235 ** Image specifications may contain the property `:ascent center' (see |
4236 below). | |
29151 | 4237 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
4238 |
25853 | 4239 * New Lisp-level Display features in Emacs 21.1 |
4240 | |
28634 | 4241 ** The function tty-suppress-bold-inverse-default-colors can be used |
4242 to make Emacs avoid displaying text with bold black foreground on TTYs. | |
4243 | |
4244 Some terminals, notably PC consoles, emulate bold text by displaying | |
4245 text in brighter colors. On such a console, a bold black foreground | |
4246 is displayed in a gray color. If this turns out to be hard to read on | |
4247 your monitor---the problem occurred with the mode line on | |
4248 laptops---you can instruct Emacs to ignore the text's boldness, and to | |
4249 just display it black instead. | |
4250 | |
4251 This situation can't be detected automatically. You will have to put | |
4252 a line like | |
4253 | |
4254 (tty-suppress-bold-inverse-default-colors t) | |
4255 | |
4256 in your `.emacs'. | |
4257 | |
25853 | 4258 ** New face implementation. |
4259 | |
4260 Emacs faces have been reimplemented from scratch. They don't use XLFD | |
4261 font names anymore and face merging now works as expected. | |
4262 | |
4263 *** New faces. | |
4264 | |
4265 Each face can specify the following display attributes: | |
4266 | |
4267 1. Font family or fontset alias name. | |
26264 | 4268 |
25853 | 4269 2. Relative proportionate width, aka character set width or set |
4270 width (swidth), e.g. `semi-compressed'. | |
26264 | 4271 |
25853 | 4272 3. Font height in 1/10pt |
26264 | 4273 |
25853 | 4274 4. Font weight, e.g. `bold'. |
26264 | 4275 |
25853 | 4276 5. Font slant, e.g. `italic'. |
26264 | 4277 |
25853 | 4278 6. Foreground color. |
26264 | 4279 |
25853 | 4280 7. Background color. |
4281 | |
4282 8. Whether or not characters should be underlined, and in what color. | |
4283 | |
4284 9. Whether or not characters should be displayed in inverse video. | |
4285 | |
4286 10. A background stipple, a bitmap. | |
4287 | |
4288 11. Whether or not characters should be overlined, and in what color. | |
4289 | |
4290 12. Whether or not characters should be strike-through, and in what | |
4291 color. | |
4292 | |
4293 13. Whether or not a box should be drawn around characters, its | |
4294 color, the width of the box lines, and 3D appearance. | |
4295 | |
4296 Faces are frame-local by nature because Emacs allows to define the | |
4297 same named face (face names are symbols) differently for different | |
4298 frames. Each frame has an alist of face definitions for all named | |
4299 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
|
4300 with the symbol `face' in slot 0, and a slot for each of the face |
25853 | 4301 attributes mentioned above. |
4302 | |
4303 There is also a global face alist `face-new-frame-defaults'. Face | |
4304 definitions from this list are used to initialize faces of newly | |
4305 created frames. | |
26264 | 4306 |
25853 | 4307 A face doesn't have to specify all attributes. Those not specified |
4308 have a nil value. Faces specifying all attributes are called | |
4309 `fully-specified'. | |
4310 | |
4311 *** Face merging. | |
4312 | |
4313 The display style of a given character in the text is determined by | |
4314 combining several faces. This process is called `face merging'. Any | |
4315 aspect of the display style that isn't specified by overlays or text | |
4316 properties is taken from the `default' face. Since it is made sure | |
4317 that the default face is always fully-specified, face merging always | |
4318 results in a fully-specified face. | |
4319 | |
4320 *** Face realization. | |
4321 | |
4322 After all face attributes for a character have been determined by | |
4323 merging faces of that character, that face is `realized'. The | |
4324 realization process maps face attributes to what is physically | |
4325 available on the system where Emacs runs. The result is a `realized | |
4326 face' in form of an internal structure which is stored in the face | |
4327 cache of the frame on which it was realized. | |
4328 | |
4329 Face realization is done in the context of the charset of the | |
4330 character to display because different fonts and encodings are used | |
4331 for different charsets. In other words, for characters of different | |
4332 charsets, different realized faces are needed to display them. | |
4333 | |
4334 Except for composite characters, faces are always realized for a | |
4335 specific character set and contain a specific font, even if the face | |
4336 being realized specifies a fontset. The reason is that the result of | |
4337 the new font selection stage is better than what can be done with | |
4338 statically defined font name patterns in fontsets. | |
4339 | |
4340 In unibyte text, Emacs' charsets aren't applicable; function | |
4341 `char-charset' reports ASCII for all characters, including those > | |
4342 0x7f. The X registry and encoding of fonts to use is determined from | |
4343 the variable `face-default-registry' in this case. The variable is | |
4344 initialized at Emacs startup time from the font the user specified for | |
4345 Emacs. | |
4346 | |
4347 Currently all unibyte text, i.e. all buffers with | |
4348 `enable-multibyte-characters' nil are displayed with fonts of the same | |
4349 registry and encoding `face-default-registry'. This is consistent | |
4350 with the fact that languages can also be set globally, only. | |
4351 | |
4352 **** Clearing face caches. | |
4353 | |
4354 The Lisp function `clear-face-cache' can be called to clear face caches | |
4355 on all frames. If called with a non-nil argument, it will also unload | |
4356 unused fonts. | |
4357 | |
4358 *** Font selection. | |
26264 | 4359 |
25853 | 4360 Font selection tries to find the best available matching font for a |
4361 given (charset, face) combination. This is done slightly differently | |
4362 for faces specifying a fontset, or a font family name. | |
4363 | |
4364 If the face specifies a fontset name, that fontset determines a | |
4365 pattern for fonts of the given charset. If the face specifies a font | |
4366 family, a font pattern is constructed. Charset symbols have a | |
4367 property `x-charset-registry' for that purpose that maps a charset to | |
4368 an XLFD registry and encoding in the font pattern constructed. | |
4369 | |
4370 Available fonts on the system on which Emacs runs are then matched | |
4371 against the font pattern. The result of font selection is the best | |
4372 match for the given face attributes in this font list. | |
4373 | |
4374 Font selection can be influenced by the user. | |
4375 | |
4376 The user can specify the relative importance he gives the face | |
4377 attributes width, height, weight, and slant by setting | |
4378 face-font-selection-order (faces.el) to a list of face attribute | |
4379 names. The default is (:width :height :weight :slant), and means | |
4380 that font selection first tries to find a good match for the font | |
4381 width specified by a face, then---within fonts with that width---tries | |
4382 to find a best match for the specified font height, etc. | |
4383 | |
33373 | 4384 Setting `face-font-family-alternatives' allows the user to specify |
4385 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
|
4386 doesn't exist. |
34630 | 4387 |
4388 Setting `face-font-registry-alternatives' allows the user to specify | |
35680 | 4389 all alternative font registry names to try for a face specifying a |
34630 | 4390 registry. |
4391 | |
35680 | 4392 Please note that the interpretations of the above two variables are |
34630 | 4393 slightly different. |
4394 | |
4395 Setting face-ignored-fonts allows the user to ignore specific fonts. | |
4396 | |
25853 | 4397 |
4398 **** Scalable fonts | |
4399 | |
4400 Emacs can make use of scalable fonts but doesn't do so by default, | |
4401 since the use of too many or too big scalable fonts may crash XFree86 | |
4402 servers. | |
4403 | |
4404 To enable scalable font use, set the variable | |
26034 | 4405 `scalable-fonts-allowed'. A value of nil, the default, means never use |
25853 | 4406 scalable fonts. A value of t means any scalable font may be used. |
4407 Otherwise, the value must be a list of regular expressions. A | |
4408 scalable font may then be used if it matches a regular expression from | |
4409 that list. Example: | |
4410 | |
4411 (setq scalable-fonts-allowed '("muleindian-2$")) | |
4412 | |
4413 allows the use of scalable fonts with registry `muleindian-2'. | |
4414 | |
4415 *** Functions and variables related to font selection. | |
4416 | |
4417 - Function: x-family-fonts &optional FAMILY FRAME | |
4418 | |
4419 Return a list of available fonts of family FAMILY on FRAME. If FAMILY | |
4420 is omitted or nil, list all families. Otherwise, FAMILY must be a | |
4421 string, possibly containing wildcards `?' and `*'. | |
4422 | |
4423 If FRAME is omitted or nil, use the selected frame. Each element of | |
4424 the result is a vector [FAMILY WIDTH POINT-SIZE WEIGHT SLANT FIXED-P | |
4425 FULL REGISTRY-AND-ENCODING]. FAMILY is the font family name. | |
4426 POINT-SIZE is the size of the font in 1/10 pt. WIDTH, WEIGHT, and | |
4427 SLANT are symbols describing the width, weight and slant of the font. | |
4428 These symbols are the same as for face attributes. FIXED-P is non-nil | |
4429 if the font is fixed-pitch. FULL is the full name of the font, and | |
4430 REGISTRY-AND-ENCODING is a string giving the registry and encoding of | |
4431 the font. The result list is sorted according to the current setting | |
4432 of the face font sort order. | |
4433 | |
26264 | 4434 - Function: x-font-family-list |
25853 | 4435 |
4436 Return a list of available font families on FRAME. If FRAME is | |
4437 omitted or nil, use the selected frame. Value is a list of conses | |
4438 (FAMILY . FIXED-P) where FAMILY is a font family, and FIXED-P is | |
4439 non-nil if fonts of that family are fixed-pitch. | |
4440 | |
4441 - Variable: font-list-limit | |
4442 | |
4443 Limit for font matching. If an integer > 0, font matching functions | |
4444 won't load more than that number of fonts when searching for a | |
4445 matching font. The default is currently 100. | |
4446 | |
4447 *** Setting face attributes. | |
4448 | |
4449 For the most part, the new face implementation is interface-compatible | |
4450 with the old one. Old face attribute related functions are now | |
4451 implemented in terms of the new functions `set-face-attribute' and | |
4452 `face-attribute'. | |
4453 | |
4454 Face attributes are identified by their names which are keyword | |
4455 symbols. All attributes can be set to `unspecified'. | |
4456 | |
4457 The following attributes are recognized: | |
4458 | |
4459 `:family' | |
4460 | |
4461 VALUE must be a string specifying the font family, e.g. ``courier'', | |
4462 or a fontset alias name. If a font family is specified, wild-cards `*' | |
4463 and `?' are allowed. | |
4464 | |
4465 `:width' | |
4466 | |
4467 VALUE specifies the relative proportionate width of the font to use. | |
4468 It must be one of the symbols `ultra-condensed', `extra-condensed', | |
4469 `condensed', `semi-condensed', `normal', `semi-expanded', `expanded', | |
4470 `extra-expanded', or `ultra-expanded'. | |
4471 | |
4472 `:height' | |
4473 | |
31183
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4474 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
|
4475 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
|
4476 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
|
4477 height (from the underlying face), and should return the new height. |
25853 | 4478 |
4479 `:weight' | |
4480 | |
4481 VALUE specifies the weight of the font to use. It must be one of the | |
4482 symbols `ultra-bold', `extra-bold', `bold', `semi-bold', `normal', | |
4483 `semi-light', `light', `extra-light', `ultra-light'. | |
4484 | |
4485 `:slant' | |
4486 | |
4487 VALUE specifies the slant of the font to use. It must be one of the | |
4488 symbols `italic', `oblique', `normal', `reverse-italic', or | |
4489 `reverse-oblique'. | |
4490 | |
4491 `:foreground', `:background' | |
4492 | |
4493 VALUE must be a color name, a string. | |
4494 | |
4495 `:underline' | |
4496 | |
4497 VALUE specifies whether characters in FACE should be underlined. If | |
4498 VALUE is t, underline with foreground color of the face. If VALUE is | |
4499 a string, underline with that color. If VALUE is nil, explicitly | |
4500 don't underline. | |
4501 | |
4502 `:overline' | |
4503 | |
4504 VALUE specifies whether characters in FACE should be overlined. If | |
4505 VALUE is t, overline with foreground color of the face. If VALUE is a | |
4506 string, overline with that color. If VALUE is nil, explicitly don't | |
4507 overline. | |
4508 | |
4509 `:strike-through' | |
4510 | |
4511 VALUE specifies whether characters in FACE should be drawn with a line | |
4512 striking through them. If VALUE is t, use the foreground color of the | |
4513 face. If VALUE is a string, strike-through with that color. If VALUE | |
4514 is nil, explicitly don't strike through. | |
4515 | |
4516 `:box' | |
4517 | |
4518 VALUE specifies whether characters in FACE should have a box drawn | |
4519 around them. If VALUE is nil, explicitly don't draw boxes. If | |
4520 VALUE is t, draw a box with lines of width 1 in the foreground color | |
4521 of the face. If VALUE is a string, the string must be a color name, | |
4522 and the box is drawn in that color with a line width of 1. Otherwise, | |
4523 VALUE must be a property list of the form `(:line-width WIDTH | |
4524 :color COLOR :style STYLE)'. If a keyword/value pair is missing from | |
4525 the property list, a default value will be used for the value, as | |
4526 specified below. WIDTH specifies the width of the lines to draw; it | |
4527 defaults to 1. COLOR is the name of the color to draw in, default is | |
4528 the foreground color of the face for simple boxes, and the background | |
4529 color of the face for 3D boxes. STYLE specifies whether a 3D box | |
4530 should be draw. If STYLE is `released-button', draw a box looking | |
4531 like a released 3D button. If STYLE is `pressed-button' draw a box | |
4532 that appears like a pressed button. If STYLE is nil, the default if | |
4533 the property list doesn't contain a style specification, draw a 2D | |
4534 box. | |
4535 | |
4536 `:inverse-video' | |
4537 | |
4538 VALUE specifies whether characters in FACE should be displayed in | |
4539 inverse video. VALUE must be one of t or nil. | |
4540 | |
4541 `:stipple' | |
4542 | |
4543 If VALUE is a string, it must be the name of a file of pixmap data. | |
4544 The directories listed in the `x-bitmap-file-path' variable are | |
4545 searched. Alternatively, VALUE may be a list of the form (WIDTH | |
4546 HEIGHT DATA) where WIDTH and HEIGHT are the size in pixels, and DATA | |
4547 is a string containing the raw bits of the bitmap. VALUE nil means | |
4548 explicitly don't use a stipple pattern. | |
4549 | |
4550 For convenience, attributes `:family', `:width', `:height', `:weight', | |
4551 and `:slant' may also be set in one step from an X font name: | |
4552 | |
4553 `:font' | |
4554 | |
4555 Set font-related face attributes from VALUE. VALUE must be a valid | |
4556 XLFD font name. If it is a font name pattern, the first matching font | |
4557 is used--this is for compatibility with the behavior of previous | |
4558 versions of Emacs. | |
4559 | |
4560 For compatibility with Emacs 20, keywords `:bold' and `:italic' can | |
4561 be used to specify that a bold or italic font should be used. VALUE | |
4562 must be t or nil in that case. A value of `unspecified' is not allowed." | |
4563 | |
4564 Please see also the documentation of `set-face-attribute' and | |
4565 `defface'. | |
4566 | |
31183
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4567 `:inherit' |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4568 |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4569 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
|
4570 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
|
4571 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
|
4572 |
25853 | 4573 *** Face attributes and X resources |
4574 | |
4575 The following X resource names can be used to set face attributes | |
4576 from X resources: | |
4577 | |
4578 Face attribute X resource class | |
4579 ----------------------------------------------------------------------- | |
4580 :family attributeFamily . Face.AttributeFamily | |
4581 :width attributeWidth Face.AttributeWidth | |
4582 :height attributeHeight Face.AttributeHeight | |
4583 :weight attributeWeight Face.AttributeWeight | |
4584 :slant attributeSlant Face.AttributeSlant | |
4585 foreground attributeForeground Face.AttributeForeground | |
4586 :background attributeBackground . Face.AttributeBackground | |
4587 :overline attributeOverline Face.AttributeOverline | |
4588 :strike-through attributeStrikeThrough Face.AttributeStrikeThrough | |
4589 :box attributeBox Face.AttributeBox | |
4590 :underline attributeUnderline Face.AttributeUnderline | |
4591 :inverse-video attributeInverse Face.AttributeInverse | |
4592 :stipple attributeStipple Face.AttributeStipple | |
26264 | 4593 or attributeBackgroundPixmap |
25853 | 4594 Face.AttributeBackgroundPixmap |
4595 :font attributeFont Face.AttributeFont | |
4596 :bold attributeBold Face.AttributeBold | |
4597 :italic attributeItalic . Face.AttributeItalic | |
4598 :font attributeFont Face.AttributeFont | |
4599 | |
4600 *** Text property `face'. | |
4601 | |
4602 The value of the `face' text property can now be a single face | |
4603 specification or a list of such specifications. Each face | |
4604 specification can be | |
4605 | |
4606 1. A symbol or string naming a Lisp face. | |
4607 | |
4608 2. A property list of the form (KEYWORD VALUE ...) where each | |
4609 KEYWORD is a face attribute name, and VALUE is an appropriate value | |
4610 for that attribute. Please see the doc string of `set-face-attribute' | |
4611 for face attribute names. | |
4612 | |
4613 3. Conses of the form (FOREGROUND-COLOR . COLOR) or | |
4614 (BACKGROUND-COLOR . COLOR) where COLOR is a color name. This is | |
4615 for compatibility with previous Emacs versions. | |
4616 | |
4617 ** Support functions for colors on text-only terminals. | |
4618 | |
27092
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4619 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
|
4620 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
|
4621 the terminal. Emacs defines a couple of common color mappings by |
25853 | 4622 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
|
4623 `defined-colors'. The function `tty-color-clear' can be |
25853 | 4624 used to clear the mapping table. |
4625 | |
27092
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4626 ** 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
|
4627 |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4628 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
|
4629 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
|
4630 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
|
4631 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
|
4632 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
|
4633 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
|
4634 `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
|
4635 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
|
4636 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
|
4637 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
|
4638 |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4639 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
|
4640 any frame type. |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4641 |
27573
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4642 ** Platform-independent functions to describe display capabilities. |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4643 |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4644 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
|
4645 `display-graphic-p', `display-selections-p', `display-screens', |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4646 `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
|
4647 `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
|
4648 `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
|
4649 `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
|
4650 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
|
4651 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
|
4652 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
|
4653 |
38471 | 4654 The new function `display-images-p' returns non-nil if a particular |
4655 display can display image files. | |
4656 | |
25853 | 4657 ** 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
|
4658 |
25853 | 4659 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
|
4660 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
|
4661 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
|
4662 `Inviolable' option. |
25853 | 4663 |
43184
de686446afd2
Fix description of minibuffer-prompt-end.
Andreas Schwab <schwab@suse.de>
parents:
43159
diff
changeset
|
4664 The function `minibuffer-prompt-end' returns the current position of the |
25853 | 4665 end of the minibuffer prompt, if the minibuffer is current. |
43184
de686446afd2
Fix description of minibuffer-prompt-end.
Andreas Schwab <schwab@suse.de>
parents:
43159
diff
changeset
|
4666 Otherwise, it returns `(point-min)'. |
25853 | 4667 |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4668 ** New `field' abstraction in buffers. |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4669 |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4670 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
|
4671 buffers. A field is a contiguous region of text with the same `field' |
30776 | 4672 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
|
4673 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4674 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
|
4675 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
|
4676 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
|
4677 not let the point move past the field boundary, but other movement |
27144 | 4678 commands continue into the next field if repeated. Stopping at field |
4679 boundaries can be suppressed programmatically by binding | |
4680 `inhibit-field-text-motion' to a non-nil value around calls to these | |
4681 functions. | |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4682 |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4683 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
|
4684 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
|
4685 editing commands treat the user's text separately from the prompt. |
25853 | 4686 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4687 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
|
4688 |
30776 | 4689 - 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
|
4690 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4691 Return the position closest to NEW-POS that is in the same field as OLD-POS. |
30776 | 4692 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4693 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
|
4694 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
|
4695 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
|
4696 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4697 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
|
4698 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
|
4699 ESCAPE-FROM-EDGE: If ESCAPE-FROM-EDGE is nil, then NEW-POS is |
30776 | 4700 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
|
4701 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
|
4702 is non-nil, NEW-POS is constrained to the union of the two adjacent |
30776 | 4703 fields. Additionally, if two fields are separated by another field with |
4704 the special value `boundary', then any point within this special field is | |
4705 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
|
4706 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4707 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
|
4708 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
|
4709 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
|
4710 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
|
4711 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
|
4712 |
30776 | 4713 If the optional argument INHIBIT-CAPTURE-PROPERTY is non-nil, and OLD-POS has |
4714 a non-nil property of that name, then any field boundaries are ignored. | |
4715 | |
4716 Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil. | |
4717 | |
4718 - Function: delete-field &optional POS | |
4719 | |
4720 Delete the field surrounding POS. | |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4721 A field is a region of text with the same `field' property. |
30776 | 4722 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
|
4723 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4724 - 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
|
4725 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4726 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
|
4727 A field is a region of text with the same `field' property. |
30776 | 4728 If POS is nil, the value of point is used for POS. |
4729 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
|
4730 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
|
4731 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4732 - 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
|
4733 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4734 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
|
4735 A field is a region of text with the same `field' property. |
30776 | 4736 If POS is nil, the value of point is used for POS. |
4737 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
|
4738 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
|
4739 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4740 - Function: field-string &optional POS |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4741 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4742 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
|
4743 A field is a region of text with the same `field' property. |
30776 | 4744 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
|
4745 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4746 - 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
|
4747 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4748 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
|
4749 A field is a region of text with the same `field' property. |
30776 | 4750 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
|
4751 |
25853 | 4752 ** Image support. |
4753 | |
4754 Emacs can now display images. Images are inserted into text by giving | |
4755 strings or buffer text a `display' text property containing one of | |
4756 (AREA IMAGE) or IMAGE. The display of the `display' property value | |
4757 replaces the display of the characters having that property. | |
4758 | |
4759 If the property value has the form (AREA IMAGE), AREA must be one of | |
4760 `(margin left-margin)', `(margin right-margin)' or `(margin nil)'. If | |
4761 AREA is `(margin nil)', IMAGE will be displayed in the text area of a | |
4762 window, otherwise it will be displayed in the left or right marginal | |
4763 area. | |
4764 | |
4765 IMAGE is an image specification. | |
4766 | |
4767 *** Image specifications | |
4768 | |
4769 Image specifications are lists of the form `(image PROPS)' where PROPS | |
4770 is a property list whose keys are keyword symbols. Each | |
4771 specifications must contain a property `:type TYPE' with TYPE being a | |
26403 | 4772 symbol specifying the image type, e.g. `xbm'. Properties not |
4773 described below are ignored. | |
25853 | 4774 |
4775 The following is a list of properties all image types share. | |
4776 | |
4777 `:ascent ASCENT' | |
4778 | |
28789 | 4779 ASCENT must be a number in the range 0..100, or the symbol `center'. |
4780 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
|
4781 to use for its ascent. |
28789 | 4782 |
4783 If not specified, ASCENT defaults to the value 50 which means that the | |
4784 image will be centered with the base line of the row it appears in. | |
4785 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4786 If ASCENT is `center' the image is vertically centered around a |
29151 | 4787 centerline which is the vertical center of text drawn at the position |
4788 of the image, in the manner specified by the text properties and | |
4789 overlays that apply to the image. | |
25853 | 4790 |
4791 `:margin MARGIN' | |
4792 | |
35278 | 4793 MARGIN must be either a number >= 0 specifying how many pixels to put |
4794 as margin around the image, or a pair (X . Y) with X specifying the | |
4795 horizontal margin and Y specifying the vertical margin. Default is 0. | |
25853 | 4796 |
4797 `:relief RELIEF' | |
4798 | |
4799 RELIEF is analogous to the `:relief' attribute of faces. Puts a relief | |
4800 around an image. | |
4801 | |
35364 | 4802 `:conversion ALGO' |
25853 | 4803 |
31636 | 4804 Apply an image algorithm to the image before displaying it. |
4805 | |
4806 ALGO `laplace' or `emboss' means apply a Laplace or ``emboss'' | |
4807 edge-detection algorithm to the image. | |
4808 | |
4809 ALGO `(edge-detection :matrix MATRIX :color-adjust ADJUST)' means | |
4810 apply a general edge-detection algorithm. MATRIX must be either a | |
4811 nine-element list or a nine-element vector of numbers. A pixel at | |
4812 position x/y in the transformed image is computed from original pixels | |
4813 around that position. MATRIX specifies, for each pixel in the | |
4814 neighborhood of x/y, a factor with which that pixel will influence the | |
4815 transformed pixel; element 0 specifies the factor for the pixel at | |
4816 x-1/y-1, element 1 the factor for the pixel at x/y-1 etc. as shown | |
4817 below. | |
4818 | |
4819 (x-1/y-1 x/y-1 x+1/y-1 | |
4820 x-1/y x/y x+1/y | |
4821 x-1/y+1 x/y+1 x+1/y+1) | |
4822 | |
4823 The resulting pixel is computed from the color intensity of the color | |
4824 resulting from summing up the RGB values of surrounding pixels, | |
4825 multiplied by the specified factors, and dividing that sum by the sum | |
4826 of the factors' absolute values. | |
4827 | |
31858
269d69b69fe4
Update hideshow.el section.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
31827
diff
changeset
|
4828 Laplace edge-detection currently uses a matrix of |
31636 | 4829 |
4830 (1 0 0 | |
4831 0 0 0 | |
4832 9 9 -1) | |
4833 | |
4834 Emboss edge-detection uses a matrix of | |
4835 | |
4836 ( 2 -1 0 | |
4837 -1 0 1 | |
4838 0 1 -2) | |
4839 | |
31728 | 4840 ALGO `disabled' means transform the image so that it looks |
4841 ``disabled''. | |
4842 | |
31636 | 4843 `:mask MASK' |
4844 | |
4845 If MASK is `heuristic' or `(heuristic BG)', build a clipping mask for | |
4846 the image, so that the background of a frame is visible behind the | |
4847 image. If BG is not specified, or if BG is t, determine the | |
4848 background color of the image by looking at the 4 corners of the | |
35680 | 4849 image, assuming the most frequently occurring color from the corners is |
31636 | 4850 the background color of the image. Otherwise, BG must be a list `(RED |
4851 GREEN BLUE)' specifying the color to assume for the background of the | |
4852 image. | |
4853 | |
4854 If MASK is nil, remove a mask from the image, if it has one. Images | |
4855 in some formats include a mask which can be removed by specifying | |
4856 `:mask nil'. | |
25853 | 4857 |
4858 `:file FILE' | |
4859 | |
4860 Load image from FILE. If FILE is not absolute after expanding it, | |
4861 search for the image in `data-directory'. Some image types support | |
4862 building images from data. When this is done, no `:file' property | |
4863 may be present in the image specification. | |
4864 | |
27076
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4865 `:data DATA' |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4866 |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4867 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
|
4868 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
|
4869 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
|
4870 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
|
4871 |
25853 | 4872 *** Supported image types |
4873 | |
26034 | 4874 **** XBM, image type `xbm'. |
25853 | 4875 |
4876 XBM images don't require an external library. Additional image | |
4877 properties supported are | |
4878 | |
4879 `:foreground FG' | |
4880 | |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4881 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
|
4882 meaning to use the default. Default is the frame's foreground. |
25853 | 4883 |
32572 | 4884 `:background BG' |
25853 | 4885 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4886 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
|
4887 meaning to use the default. Default is the frame's background color. |
25853 | 4888 |
4889 XBM images can be constructed from data instead of file. In this | |
4890 case, the image specification must contain the following properties | |
4891 instead of a `:file' property. | |
4892 | |
4893 `:width WIDTH' | |
4894 | |
4895 WIDTH specifies the width of the image in pixels. | |
4896 | |
4897 `:height HEIGHT' | |
4898 | |
4899 HEIGHT specifies the height of the image in pixels. | |
4900 | |
4901 `:data DATA' | |
4902 | |
4903 DATA must be either | |
4904 | |
4905 1. a string large enough to hold the bitmap data, i.e. it must | |
4906 have a size >= (WIDTH + 7) / 8 * HEIGHT | |
4907 | |
4908 2. a bool-vector of size >= WIDTH * HEIGHT | |
4909 | |
4910 3. a vector of strings or bool-vectors, one for each line of the | |
4911 bitmap. | |
4912 | |
28748 | 4913 4. a string that's an in-memory XBM file. Neither width nor |
4914 height may be specified in this case because these are defined | |
4915 in the file. | |
4916 | |
25853 | 4917 **** XPM, image type `xpm' |
4918 | |
4919 XPM images require the external library `libXpm', package | |
4920 `xpm-3.4k.tar.gz', version 3.4k or later. Make sure the library is | |
4921 found when Emacs is configured by supplying appropriate paths via | |
4922 `--x-includes' and `--x-libraries'. | |
4923 | |
4924 Additional image properties supported are: | |
4925 | |
4926 `:color-symbols SYMBOLS' | |
4927 | |
4928 SYMBOLS must be a list of pairs (NAME . COLOR), with NAME being the | |
4929 name of color as it appears in an XPM file, and COLOR being an X color | |
4930 name. | |
4931 | |
4932 XPM images can be built from memory instead of files. In that case, | |
4933 add a `:data' property instead of a `:file' property. | |
4934 | |
4935 The XPM library uses libz in its implementation so that it is able | |
4936 to display compressed images. | |
4937 | |
4938 **** PBM, image type `pbm' | |
4939 | |
4940 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
|
4941 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
|
4942 mono images are |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4943 |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4944 `:foreground FG' |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4945 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4946 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
|
4947 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
|
4948 |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4949 `:background FG' |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4950 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4951 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
|
4952 meaning to use the default. Default is the frame's background color. |
25853 | 4953 |
4954 **** JPEG, image type `jpeg' | |
4955 | |
4956 Support for JPEG images requires the external library `libjpeg', | |
27055 | 4957 package `jpegsrc.v6a.tar.gz', or later. Additional image properties |
4958 are: | |
4959 | |
25853 | 4960 **** TIFF, image type `tiff' |
4961 | |
4962 Support for TIFF images requires the external library `libtiff', | |
4963 package `tiff-v3.4-tar.gz', or later. There are no additional image | |
4964 properties defined. | |
4965 | |
4966 **** GIF, image type `gif' | |
4967 | |
4968 Support for GIF images requires the external library `libungif', package | |
4969 `libungif-4.1.0', or later. | |
4970 | |
4971 Additional image properties supported are: | |
4972 | |
4973 `:index INDEX' | |
4974 | |
4975 INDEX must be an integer >= 0. Load image number INDEX from a | |
35680 | 4976 multi-image GIF file. An error is signaled if INDEX is too large. |
25853 | 4977 |
4978 This could be used to implement limited support for animated GIFs. | |
4979 For example, the following function displays a multi-image GIF file | |
4980 at point-min in the current buffer, switching between sub-images | |
4981 every 0.1 seconds. | |
4982 | |
4983 (defun show-anim (file max) | |
4984 "Display multi-image GIF file FILE which contains MAX subimages." | |
4985 (display-anim (current-buffer) file 0 max t)) | |
4986 | |
4987 (defun display-anim (buffer file idx max first-time) | |
4988 (when (= idx max) | |
4989 (setq idx 0)) | |
27076
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4990 (let ((img (create-image file nil nil :index idx))) |
25853 | 4991 (save-excursion |
4992 (set-buffer buffer) | |
4993 (goto-char (point-min)) | |
4994 (unless first-time (delete-char 1)) | |
4995 (insert-image img "x")) | |
4996 (run-with-timer 0.1 nil 'display-anim buffer file (1+ idx) max nil))) | |
4997 | |
4998 **** PNG, image type `png' | |
4999 | |
5000 Support for PNG images requires the external library `libpng', | |
5001 package `libpng-1.0.2.tar.gz', or later. There are no additional image | |
5002 properties defined. | |
5003 | |
5004 **** Ghostscript, image type `postscript'. | |
5005 | |
5006 Additional image properties supported are: | |
5007 | |
5008 `:pt-width WIDTH' | |
5009 | |
5010 WIDTH is width of the image in pt (1/72 inch). WIDTH must be an | |
26034 | 5011 integer. This is a required property. |
25853 | 5012 |
5013 `:pt-height HEIGHT' | |
5014 | |
5015 HEIGHT specifies the height of the image in pt (1/72 inch). HEIGHT | |
26034 | 5016 must be a integer. This is an required property. |
25853 | 5017 |
5018 `:bounding-box BOX' | |
5019 | |
5020 BOX must be a list or vector of 4 integers giving the bounding box of | |
5021 the PS image, analogous to the `BoundingBox' comment found in PS | |
5022 files. This is an required property. | |
5023 | |
5024 Part of the Ghostscript interface is implemented in Lisp. See | |
5025 lisp/gs.el. | |
5026 | |
5027 *** Lisp interface. | |
5028 | |
26264 | 5029 The variable `image-types' contains a list of those image types |
5030 which are supported in the current configuration. | |
25853 | 5031 |
5032 Images are stored in an image cache and removed from the cache when | |
5033 they haven't been displayed for `image-cache-eviction-delay seconds. | |
5034 The function `clear-image-cache' can be used to clear the image cache | |
28759 | 5035 manually. Images in the cache are compared with `equal', i.e. all |
5036 images with `equal' specifications share the same image. | |
25853 | 5037 |
5038 *** Simplified image API, image.el | |
5039 | |
5040 The new Lisp package image.el contains functions that simplify image | |
5041 creation and putting images into text. The function `create-image' | |
5042 can be used to create images. The macro `defimage' can be used to | |
5043 define an image based on available image types. The functions | |
5044 `put-image' and `insert-image' can be used to insert an image into a | |
5045 buffer. | |
5046 | |
5047 ** Display margins. | |
5048 | |
5049 Windows can now have margins which are used for special text | |
5050 and images. | |
5051 | |
5052 To give a window margins, either set the buffer-local variables | |
5053 `left-margin-width' and `right-margin-width', or call | |
5054 `set-window-margins'. The function `window-margins' can be used to | |
5055 obtain the current settings. To make `left-margin-width' and | |
5056 `right-margin-width' take effect, you must set them before displaying | |
5057 the buffer in a window, or use `set-window-buffer' to force an update | |
5058 of the display margins. | |
5059 | |
5060 You can put text in margins by giving it a `display' text property | |
5061 containing a pair of the form `(LOCATION . VALUE)', where LOCATION is | |
5062 one of `left-margin' or `right-margin' or nil. VALUE can be either a | |
5063 string, an image specification or a stretch specification (see later | |
5064 in this file). | |
5065 | |
5066 ** Help display | |
5067 | |
5068 Emacs displays short help messages in the echo area, when the mouse | |
5069 moves over a tool-bar item or a piece of text that has a text property | |
5070 `help-echo'. This feature also applies to strings in the mode line | |
5071 that have a `help-echo' property. | |
5072 | |
30219 | 5073 If the value of the `help-echo' property is a function, that function |
30305 | 5074 is called with three arguments WINDOW, OBJECT and POSITION. WINDOW is |
30372 | 5075 the window in which the help was found. |
5076 | |
5077 If OBJECT is a buffer, POS is the position in the buffer where the | |
5078 `help-echo' text property was found. | |
5079 | |
5080 If OBJECT is an overlay, that overlay has a `help-echo' property, and | |
5081 POS is the position in the overlay's buffer under the mouse. | |
5082 | |
5083 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
|
5084 the `display' property), POS is the position in that string under the |
30372 | 5085 mouse. |
30219 | 5086 |
5087 If the value of the `help-echo' property is neither a function nor a | |
5088 string, it is evaluated to obtain a help string. | |
5089 | |
5090 For tool-bar and menu-bar items, their key definition is used to | |
5091 determine the help to display. If their definition contains a | |
5092 property `:help FORM', FORM is evaluated to determine the help string. | |
5093 For tool-bar items without a help form, the caption of the item is | |
5094 used as help string. | |
25853 | 5095 |
5096 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
|
5097 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
|
5098 causes the help display to appear there instead of in the echo area. |
25853 | 5099 |
5100 ** Vertical fractional scrolling. | |
5101 | |
5102 The display of text in windows can be scrolled smoothly in pixels. | |
5103 This is useful, for example, for making parts of large images visible. | |
5104 | |
5105 The function `window-vscroll' returns the current value of vertical | |
5106 scrolling, a non-negative fraction of the canonical character height. | |
5107 The function `set-window-vscroll' can be used to set the vertical | |
5108 scrolling value. Here is an example of how these function might be | |
5109 used. | |
5110 | |
26264 | 5111 (global-set-key [A-down] |
5112 #'(lambda () | |
25853 | 5113 (interactive) |
26264 | 5114 (set-window-vscroll (selected-window) |
25853 | 5115 (+ 0.5 (window-vscroll))))) |
26264 | 5116 (global-set-key [A-up] |
25853 | 5117 #'(lambda () |
5118 (interactive) | |
26264 | 5119 (set-window-vscroll (selected-window) |
25853 | 5120 (- (window-vscroll) 0.5))))) |
5121 | |
5122 ** New hook `fontification-functions'. | |
5123 | |
5124 Functions from `fontification-functions' are called from redisplay | |
5125 when it encounters a region of text that is not yet fontified. This | |
5126 variable automatically becomes buffer-local when set. Each function | |
5127 is called with one argument, POS. | |
5128 | |
5129 At least one of the hook functions should fontify one or more | |
5130 characters starting at POS in the current buffer. It should mark them | |
5131 as fontified by giving them a non-nil value of the `fontified' text | |
5132 property. It may be reasonable for these functions to check for the | |
5133 `fontified' property and not put it back on, but they do not have to. | |
5134 | |
5135 ** Tool bar support. | |
5136 | |
5137 Emacs supports a tool bar at the top of a frame under X. The frame | |
5138 parameter `tool-bar-lines' (X resource "toolBar", class "ToolBar") | |
5139 controls how may lines to reserve for the tool bar. A zero value | |
5140 suppresses the tool bar. If the value is non-zero and | |
5141 `auto-resize-tool-bars' is non-nil the tool bar's size will be changed | |
5142 automatically so that all tool bar items are visible. | |
5143 | |
5144 *** Tool bar item definitions | |
5145 | |
5146 Tool bar items are defined using `define-key' with a prefix-key | |
5147 `tool-bar'. For example `(define-key global-map [tool-bar item1] ITEM)' | |
5148 where ITEM is a list `(menu-item CAPTION BINDING PROPS...)'. | |
26264 | 5149 |
25853 | 5150 CAPTION is the caption of the item, If it's not a string, it is |
5151 evaluated to get a string. The caption is currently not displayed in | |
5152 the tool bar, but it is displayed if the item doesn't have a `:help' | |
5153 property (see below). | |
26264 | 5154 |
25853 | 5155 BINDING is the tool bar item's binding. Tool bar items with keymaps as |
5156 binding are currently ignored. | |
5157 | |
5158 The following properties are recognized: | |
5159 | |
5160 `:enable FORM'. | |
26264 | 5161 |
25853 | 5162 FORM is evaluated and specifies whether the tool bar item is enabled |
5163 or disabled. | |
26264 | 5164 |
25853 | 5165 `:visible FORM' |
26264 | 5166 |
25853 | 5167 FORM is evaluated and specifies whether the tool bar item is displayed. |
26264 | 5168 |
25853 | 5169 `:filter FUNCTION' |
5170 | |
5171 FUNCTION is called with one parameter, the same list BINDING in which | |
5172 FUNCTION is specified as the filter. The value FUNCTION returns is | |
5173 used instead of BINDING to display this item. | |
26264 | 5174 |
25853 | 5175 `:button (TYPE SELECTED)' |
5176 | |
5177 TYPE must be one of `:radio' or `:toggle'. SELECTED is evaluated | |
5178 and specifies whether the button is selected (pressed) or not. | |
26264 | 5179 |
25853 | 5180 `:image IMAGES' |
5181 | |
5182 IMAGES is either a single image specification or a vector of four | |
5183 image specifications. If it is a vector, this table lists the | |
5184 meaning of each of the four elements: | |
5185 | |
5186 Index Use when item is | |
5187 ---------------------------------------- | |
5188 0 enabled and selected | |
5189 1 enabled and deselected | |
5190 2 disabled and selected | |
5191 3 disabled and deselected | |
26264 | 5192 |
28946 | 5193 If IMAGE is a single image specification, a Laplace edge-detection |
5194 algorithm is used on that image to draw the image in disabled state. | |
5195 | |
25853 | 5196 `:help HELP-STRING'. |
26264 | 5197 |
25853 | 5198 Gives a help string to display for the tool bar item. This help |
5199 is displayed when the mouse is moved over the item. | |
5200 | |
31641 | 5201 The function `toolbar-add-item' is a convenience function for adding |
31741 | 5202 toolbar items generally, and `tool-bar-add-item-from-menu' can be used |
5203 to define a toolbar item with a binding copied from an item on the | |
5204 menu bar. | |
31641 | 5205 |
33484 | 5206 The default bindings use a menu-item :filter to derive the tool-bar |
5207 dynamically from variable `tool-bar-map' which may be set | |
5208 buffer-locally to override the global map. | |
5209 | |
25853 | 5210 *** Tool-bar-related variables. |
5211 | |
5212 If `auto-resize-tool-bar' is non-nil, the tool bar will automatically | |
5213 resize to show all defined tool bar items. It will never grow larger | |
5214 than 1/4 of the frame's size. | |
5215 | |
26264 | 5216 If `auto-raise-tool-bar-buttons' is non-nil, tool bar buttons will be |
25853 | 5217 raised when the mouse moves over them. |
5218 | |
5219 You can add extra space between tool bar items by setting | |
5220 `tool-bar-button-margin' to a positive integer specifying a number of | |
35278 | 5221 pixels, or a pair of integers (X . Y) specifying horizontal and |
5222 vertical margins . Default is 1. | |
25853 | 5223 |
5224 You can change the shadow thickness of tool bar buttons by setting | |
5225 `tool-bar-button-relief' to an integer. Default is 3. | |
5226 | |
5227 *** Tool-bar clicks with modifiers. | |
5228 | |
5229 You can bind commands to clicks with control, shift, meta etc. on | |
26264 | 5230 a tool bar item. If |
25853 | 5231 |
5232 (define-key global-map [tool-bar shell] | |
5233 '(menu-item "Shell" shell | |
5234 :image (image :type xpm :file "shell.xpm"))) | |
5235 | |
5236 is the original tool bar item definition, then | |
5237 | |
5238 (define-key global-map [tool-bar S-shell] 'some-command) | |
5239 | |
5240 makes a binding to run `some-command' for a shifted click on the same | |
5241 item. | |
5242 | |
5243 ** Mode line changes. | |
5244 | |
5245 *** Mouse-sensitive mode line. | |
5246 | |
5247 The mode line can be made mouse-sensitive by displaying strings there | |
5248 that have a `local-map' text property. There are three ways to display | |
5249 a string with a `local-map' property in the mode line. | |
5250 | |
5251 1. The mode line spec contains a variable whose string value has | |
5252 a `local-map' text property. | |
5253 | |
5254 2. The mode line spec contains a format specifier (e.g. `%12b'), and | |
5255 that format specifier has a `local-map' property. | |
5256 | |
5257 3. The mode line spec contains a list containing `:eval FORM'. FORM | |
5258 is evaluated. If the result is a string, and that string has a | |
5259 `local-map' property. | |
5260 | |
5261 The same mechanism is used to determine the `face' and `help-echo' | |
5262 properties of strings in the mode line. See `bindings.el' for an | |
5263 example. | |
5264 | |
26359
d2970b5d3b72
Add mode line element '(:eval FORM)'.
Gerd Moellmann <gerd@gnu.org>
parents:
26322
diff
changeset
|
5265 *** 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
|
5266 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
|
5267 |
25853 | 5268 *** You can suppress mode-line display by setting the buffer-local |
5269 variable mode-line-format to nil. | |
5270 | |
5271 *** A headerline can now be displayed at the top of a window. | |
5272 | |
5273 This mode line's contents are controlled by the new variable | |
5274 `header-line-format' and `default-header-line-format' which are | |
5275 completely analogous to `mode-line-format' and | |
5276 `default-mode-line-format'. A value of nil means don't display a top | |
5277 line. | |
5278 | |
5279 The appearance of top mode lines is controlled by the face | |
5280 `header-line'. | |
5281 | |
5282 The function `coordinates-in-window-p' returns `header-line' for a | |
5283 position in the header-line. | |
5284 | |
5285 ** Text property `display' | |
5286 | |
31827 | 5287 The `display' text property is used to insert images into text, |
5288 replace text with other text, display text in marginal area, and it is | |
5289 also used to control other aspects of how text displays. The value of | |
5290 the `display' property should be a display specification, as described | |
25853 | 5291 below, or a list or vector containing display specifications. |
5292 | |
31827 | 5293 *** Replacing text, displaying text in marginal areas |
5294 | |
5295 To replace the text having the `display' property with some other | |
5296 text, use a display specification of the form `(LOCATION STRING)'. | |
5297 | |
5298 If LOCATION is `(margin left-margin)', STRING is displayed in the left | |
5299 marginal area, if it is `(margin right-margin)', it is displayed in | |
5300 the right marginal area, and if LOCATION is `(margin nil)' STRING | |
5301 is displayed in the text. In the latter case you can also use the | |
5302 simpler form STRING as property value. | |
5303 | |
25853 | 5304 *** Variable width and height spaces |
5305 | |
5306 To display a space of fractional width or height, use a display | |
5307 specification of the form `(LOCATION STRECH)'. If LOCATION is | |
5308 `(margin left-margin)', the space is displayed in the left marginal | |
5309 area, if it is `(margin right-margin)', it is displayed in the right | |
5310 marginal area, and if LOCATION is `(margin nil)' the space is | |
5311 displayed in the text. In the latter case you can also use the | |
5312 simpler form STRETCH as property value. | |
5313 | |
5314 The stretch specification STRETCH itself is a list of the form `(space | |
5315 PROPS)', where PROPS is a property list which can contain the | |
5316 properties described below. | |
5317 | |
5318 The display of the fractional space replaces the display of the | |
5319 characters having the `display' property. | |
5320 | |
5321 - :width WIDTH | |
5322 | |
5323 Specifies that the space width should be WIDTH times the normal | |
5324 character width. WIDTH can be an integer or floating point number. | |
5325 | |
5326 - :relative-width FACTOR | |
5327 | |
5328 Specifies that the width of the stretch should be computed from the | |
5329 first character in a group of consecutive characters that have the | |
5330 same `display' property. The computation is done by multiplying the | |
5331 width of that character by FACTOR. | |
5332 | |
5333 - :align-to HPOS | |
5334 | |
5335 Specifies that the space should be wide enough to reach HPOS. The | |
5336 value HPOS is measured in units of the normal character width. | |
5337 | |
5338 Exactly one of the above properties should be used. | |
5339 | |
5340 - :height HEIGHT | |
5341 | |
5342 Specifies the height of the space, as HEIGHT, measured in terms of the | |
5343 normal line height. | |
5344 | |
5345 - :relative-height FACTOR | |
5346 | |
5347 The height of the space is computed as the product of the height | |
5348 of the text having the `display' property and FACTOR. | |
5349 | |
5350 - :ascent ASCENT | |
5351 | |
5352 Specifies that ASCENT percent of the height of the stretch should be | |
5353 used for the ascent of the stretch, i.e. for the part above the | |
5354 baseline. The value of ASCENT must be a non-negative number less or | |
5355 equal to 100. | |
5356 | |
5357 You should not use both `:height' and `:relative-height' together. | |
5358 | |
5359 *** Images | |
5360 | |
5361 A display specification for an image has the form `(LOCATION | |
5362 . IMAGE)', where IMAGE is an image specification. The image replaces, | |
5363 in the display, the characters having this display specification in | |
5364 their `display' text property. If LOCATION is `(margin left-margin)', | |
5365 the image will be displayed in the left marginal area, if it is | |
5366 `(margin right-margin)' it will be displayed in the right marginal | |
5367 area, and if LOCATION is `(margin nil)' the image will be displayed in | |
5368 the text. In the latter case you can also use the simpler form IMAGE | |
5369 as display specification. | |
5370 | |
5371 *** Other display properties | |
5372 | |
33499 | 5373 - (space-width FACTOR) |
25853 | 5374 |
5375 Specifies that space characters in the text having that property | |
5376 should be displayed FACTOR times as wide as normal; FACTOR must be an | |
5377 integer or float. | |
5378 | |
33499 | 5379 - (height HEIGHT) |
25853 | 5380 |
5381 Display text having this property in a font that is smaller or larger. | |
5382 | |
5383 If HEIGHT is a list of the form `(+ N)', where N is an integer, that | |
5384 means to use a font that is N steps larger. If HEIGHT is a list of | |
5385 the form `(- N)', that means to use a font that is N steps smaller. A | |
5386 ``step'' is defined by the set of available fonts; each size for which | |
5387 a font is available counts as a step. | |
5388 | |
5389 If HEIGHT is a number, that means to use a font that is HEIGHT times | |
5390 as tall as the frame's default font. | |
5391 | |
5392 If HEIGHT is a symbol, it is called as a function with the current | |
5393 height as argument. The function should return the new height to use. | |
5394 | |
5395 Otherwise, HEIGHT is evaluated to get the new height, with the symbol | |
5396 `height' bound to the current specified font height. | |
5397 | |
33499 | 5398 - (raise FACTOR) |
25853 | 5399 |
5400 FACTOR must be a number, specifying a multiple of the current | |
5401 font's height. If it is positive, that means to display the characters | |
5402 raised. If it is negative, that means to display them lower down. The | |
5403 amount of raising or lowering is computed without taking account of the | |
33499 | 5404 `height' subproperty. |
25853 | 5405 |
5406 *** Conditional display properties | |
5407 | |
5408 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
|
5409 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
|
5410 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
|
5411 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
|
5412 conditional display property; `position' and `buffer-position' are |
f5db16d9b787
Change conditional display property API description.
Gerd Moellmann <gerd@gnu.org>
parents:
38989
diff
changeset
|
5413 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
|
5414 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
|
5415 different when object is a string. |
25853 | 5416 |
5417 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
|
5418 `(when t . SPEC)'. |
25853 | 5419 |
5420 ** New menu separator types. | |
5421 | |
5422 Emacs now supports more than one menu separator type. Menu items with | |
5423 item names consisting of dashes only (including zero dashes) are | |
5424 treated like before. In addition, the following item names are used | |
5425 to specify other menu separator types. | |
5426 | |
5427 - `--no-line' or `--space', or `--:space', or `--:noLine' | |
5428 | |
5429 No separator lines are drawn, but a small space is inserted where the | |
5430 separator occurs. | |
5431 | |
5432 - `--single-line' or `--:singleLine' | |
5433 | |
5434 A single line in the menu's foreground color. | |
5435 | |
5436 - `--double-line' or `--:doubleLine' | |
5437 | |
5438 A double line in the menu's foreground color. | |
5439 | |
5440 - `--single-dashed-line' or `--:singleDashedLine' | |
5441 | |
5442 A single dashed line in the menu's foreground color. | |
5443 | |
5444 - `--double-dashed-line' or `--:doubleDashedLine' | |
5445 | |
5446 A double dashed line in the menu's foreground color. | |
5447 | |
5448 - `--shadow-etched-in' or `--:shadowEtchedIn' | |
5449 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
5450 A single line with 3D sunken appearance. This is the form |
25853 | 5451 displayed for item names consisting of dashes only. |
5452 | |
5453 - `--shadow-etched-out' or `--:shadowEtchedOut' | |
5454 | |
5455 A single line with 3D raised appearance. | |
5456 | |
5457 - `--shadow-etched-in-dash' or `--:shadowEtchedInDash' | |
5458 | |
5459 A single dashed line with 3D sunken appearance. | |
5460 | |
5461 - `--shadow-etched-out-dash' or `--:shadowEtchedOutDash' | |
5462 | |
5463 A single dashed line with 3D raise appearance. | |
5464 | |
5465 - `--shadow-double-etched-in' or `--:shadowDoubleEtchedIn' | |
5466 | |
5467 Two lines with 3D sunken appearance. | |
5468 | |
5469 - `--shadow-double-etched-out' or `--:shadowDoubleEtchedOut' | |
5470 | |
5471 Two lines with 3D raised appearance. | |
5472 | |
5473 - `--shadow-double-etched-in-dash' or `--:shadowDoubleEtchedInDash' | |
5474 | |
5475 Two dashed lines with 3D sunken appearance. | |
5476 | |
5477 - `--shadow-double-etched-out-dash' or `--:shadowDoubleEtchedOutDash' | |
5478 | |
5479 Two dashed lines with 3D raised appearance. | |
5480 | |
5481 Under LessTif/Motif, the last four separator types are displayed like | |
5482 the corresponding single-line separators. | |
5483 | |
5484 ** New frame parameters for scroll bar colors. | |
5485 | |
5486 The new frame parameters `scroll-bar-foreground' and | |
5487 `scroll-bar-background' can be used to change scroll bar colors. | |
5488 Their value must be either a color name, a string, or nil to specify | |
5489 that scroll bars should use a default color. For toolkit scroll bars, | |
5490 default colors are toolkit specific. For non-toolkit scroll bars, the | |
5491 default background is the background color of the frame, and the | |
5492 default foreground is black. | |
5493 | |
5494 The X resource name of these parameters are `scrollBarForeground' | |
5495 (class ScrollBarForeground) and `scrollBarBackground' (class | |
5496 `ScrollBarBackground'). | |
5497 | |
5498 Setting these parameters overrides toolkit specific X resource | |
5499 settings for scroll bar colors. | |
5500 | |
5501 ** You can set `redisplay-dont-pause' to a non-nil value to prevent | |
5502 display updates from being interrupted when input is pending. | |
5503 | |
5504 ** Changing a window's width may now change its window start if it | |
5505 starts on a continuation line. The new window start is computed based | |
5506 on the window's new width, starting from the start of the continued | |
5507 line as the start of the screen line with the minimum distance from | |
5508 the original window start. | |
5509 | |
5510 ** The variable `hscroll-step' and the functions | |
5511 `hscroll-point-visible' and `hscroll-window-column' have been removed | |
5512 now that proper horizontal scrolling is implemented. | |
5513 | |
5514 ** Windows can now be made fixed-width and/or fixed-height. | |
5515 | |
5516 A window is fixed-size if its buffer has a buffer-local variable | |
5517 `window-size-fixed' whose value is not nil. A value of `height' makes | |
5518 windows fixed-height, a value of `width' makes them fixed-width, any | |
5519 other non-nil value makes them both fixed-width and fixed-height. | |
5520 | |
5521 The following code makes all windows displaying the current buffer | |
5522 fixed-width and fixed-height. | |
5523 | |
5524 (set (make-local-variable 'window-size-fixed) t) | |
5525 | |
5526 A call to enlarge-window on a window gives an error if that window is | |
5527 fixed-width and it is tried to change the window's width, or if the | |
5528 window is fixed-height, and it is tried to change its height. To | |
5529 change the size of a fixed-size window, bind `window-size-fixed' | |
5530 temporarily to nil, for example | |
5531 | |
5532 (let ((window-size-fixed nil)) | |
5533 (enlarge-window 10)) | |
5534 | |
26264 | 5535 Likewise, an attempt to split a fixed-height window vertically, |
25853 | 5536 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
|
5537 |
e1e48e0663f6
Mention cursor-type support on MS-DOS terminals.
Eli Zaretskii <eliz@gnu.org>
parents:
28063
diff
changeset
|
5538 ** 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
|
5539 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
|
5540 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
|
5541 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
|
5542 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
|
5543 support a vertical-bar cursor). |
30786 | 5544 |
30922 | 5545 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5546 |
30922 | 5547 * Emacs 20.7 is a bug-fix release with few user-visible changes |
5548 | |
5549 ** It is now possible to use CCL-based coding systems for keyboard | |
5550 input. | |
5551 | |
5552 ** ange-ftp now handles FTP security extensions, like Kerberos. | |
5553 | |
5554 ** Rmail has been extended to recognize more forms of digest messages. | |
5555 | |
5556 ** Now, most coding systems set in keyboard coding system work not | |
5557 only for character input, but also in incremental search. The | |
5558 exceptions are such coding systems that handle 2-byte character sets | |
5559 (e.g euc-kr, euc-jp) and that use ISO's escape sequence | |
5560 (e.g. iso-2022-jp). They are ignored in incremental search. | |
5561 | |
5562 ** Support for Macintosh PowerPC-based machines running GNU/Linux has | |
5563 been added. | |
5564 | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5565 |
30922 | 5566 * Emacs 20.6 is a bug-fix release with one user-visible change |
5567 | |
5568 ** Support for ARM-based non-RISCiX machines has been added. | |
5569 | |
35469 | 5570 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5571 |
30922 | 5572 * Emacs 20.5 is a bug-fix release with no user-visible changes. |
5573 | |
5574 ** Not new, but not mentioned before: | |
5575 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
|
5576 |
30922 | 5577 * Changes in Emacs 20.4 |
5578 | |
5579 ** Init file may be called .emacs.el. | |
5580 | |
5581 You can now call the Emacs init file `.emacs.el'. | |
5582 Formerly the name had to be `.emacs'. If you use the name | |
5583 `.emacs.el', you can byte-compile the file in the usual way. | |
5584 | |
5585 If both `.emacs' and `.emacs.el' exist, the latter file | |
5586 is the one that is used. | |
5587 | |
5588 ** shell-command, and shell-command-on-region, now return | |
5589 the exit code of the command (unless it is asynchronous). | |
5590 Also, you can specify a place to put the error output, | |
5591 separate from the command's regular output. | |
5592 Interactively, the variable shell-command-default-error-buffer | |
5593 says where to put error output; set it to a buffer name. | |
5594 In calls from Lisp, an optional argument ERROR-BUFFER specifies | |
5595 the buffer name. | |
5596 | |
5597 When you specify a non-nil error buffer (or buffer name), any error | |
5598 output is inserted before point in that buffer, with \f\n to separate | |
5599 it from the previous batch of error output. The error buffer is not | |
5600 cleared, so error output from successive commands accumulates there. | |
5601 | |
5602 ** Setting the default value of enable-multibyte-characters to nil in | |
5603 the .emacs file, either explicitly using setq-default, or via Custom, | |
5604 is now essentially equivalent to using --unibyte: all buffers | |
5605 created during startup will be made unibyte after loading .emacs. | |
5606 | |
5607 ** C-x C-f now handles the wildcards * and ? in file names. For | |
5608 example, typing C-x C-f c*.c RET visits all the files whose names | |
5609 match c*.c. To visit a file whose name contains * or ?, add the | |
5610 quoting sequence /: to the beginning of the file name. | |
5611 | |
5612 ** The M-x commands keep-lines, flush-lines and count-matches | |
5613 now have the same feature as occur and query-replace: | |
5614 if the pattern contains any upper case letters, then | |
5615 they never ignore case. | |
5616 | |
5617 ** The end-of-line format conversion feature previously mentioned | |
5618 under `* Emacs 20.1 changes for MS-DOS and MS-Windows' actually | |
5619 applies to all operating systems. Emacs recognizes from the contents | |
5620 of a file what convention it uses to separate lines--newline, CRLF, or | |
5621 just CR--and automatically converts the contents to the normal Emacs | |
5622 convention (using newline to separate lines) for editing. This is a | |
5623 part of the general feature of coding system conversion. | |
5624 | |
5625 If you subsequently save the buffer, Emacs converts the text back to | |
5626 the same format that was used in the file before. | |
5627 | |
5628 You can turn off end-of-line conversion by setting the variable | |
5629 `inhibit-eol-conversion' to non-nil, e.g. with Custom in the MULE group. | |
5630 | |
5631 ** The character set property `prefered-coding-system' has been | |
5632 renamed to `preferred-coding-system', for the sake of correct spelling. | |
5633 This is a fairly internal feature, so few programs should be affected. | |
5634 | |
5635 ** Mode-line display of end-of-line format is changed. | |
5636 The indication of the end-of-line format of the file visited by a | |
5637 buffer is now more explicit when that format is not the usual one for | |
5638 your operating system. For example, the DOS-style end-of-line format | |
5639 is displayed as "(DOS)" on Unix and GNU/Linux systems. The usual | |
5640 end-of-line format is still displayed as a single character (colon for | |
5641 Unix, backslash for DOS and Windows, and forward slash for the Mac). | |
5642 | |
5643 The values of the variables eol-mnemonic-unix, eol-mnemonic-dos, | |
5644 eol-mnemonic-mac, and eol-mnemonic-undecided, which are strings, | |
5645 control what is displayed in the mode line for each end-of-line | |
5646 format. You can now customize these variables. | |
5647 | |
5648 ** In the previous version of Emacs, tar-mode didn't work well if a | |
5649 filename contained non-ASCII characters. Now this is fixed. Such a | |
5650 filename is decoded by file-name-coding-system if the default value of | |
5651 enable-multibyte-characters is non-nil. | |
5652 | |
5653 ** The command temp-buffer-resize-mode toggles a minor mode | |
5654 in which temporary buffers (such as help buffers) are given | |
5655 windows just big enough to hold the whole contents. | |
5656 | |
5657 ** If you use completion.el, you must now run the function | |
5658 dynamic-completion-mode to enable it. Just loading the file | |
5659 doesn't have any effect. | |
5660 | |
5661 ** In Flyspell mode, the default is now to make just one Ispell process, | |
5662 not one per buffer. | |
5663 | |
5664 ** If you use iswitchb but do not call (iswitchb-default-keybindings) to | |
5665 use the default keybindings, you will need to add the following line: | |
5666 (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup) | |
5667 | |
5668 ** Auto-show mode is no longer enabled just by loading auto-show.el. | |
5669 To control it, set `auto-show-mode' via Custom or use the | |
5670 `auto-show-mode' command. | |
5671 | |
5672 ** Handling of X fonts' ascent/descent parameters has been changed to | |
5673 avoid redisplay problems. As a consequence, compared with previous | |
5674 versions the line spacing and frame size now differ with some font | |
5675 choices, typically increasing by a pixel per line. This change | |
5676 occurred in version 20.3 but was not documented then. | |
5677 | |
5678 ** If you select the bar cursor style, it uses the frame's | |
5679 cursor-color, rather than the cursor foreground pixel. | |
5680 | |
5681 ** In multibyte mode, Rmail decodes incoming MIME messages using the | |
5682 character set specified in the message. If you want to disable this | |
5683 feature, set the variable rmail-decode-mime-charset to nil. | |
5684 | |
5685 ** Not new, but not mentioned previously in NEWS: when you use #! at | |
5686 the beginning of a file to make it executable and specify an | |
5687 interpreter program, Emacs looks on the second line for the -*- mode | |
5688 and variable specification, as well as on the first line. | |
5689 | |
5690 ** Support for IBM codepage encoding of non-ASCII characters. | |
5691 | |
5692 The new command M-x codepage-setup creates a special coding system | |
5693 that can be used to convert text between a specific IBM codepage and | |
5694 one of the character sets built into Emacs which matches that | |
5695 codepage. For example, codepage 850 corresponds to Latin-1 character | |
5696 set, codepage 855 corresponds to Cyrillic-ISO character set, etc. | |
5697 | |
5698 Windows codepages 1250, 1251 and some others, where Windows deviates | |
5699 from the corresponding ISO character set, are also supported. | |
5700 | |
5701 IBM box-drawing characters and other glyphs which don't have | |
5702 equivalents in the corresponding ISO character set, are converted to | |
5703 a character defined by dos-unsupported-char-glyph on MS-DOS, and to | |
5704 `?' on other systems. | |
5705 | |
5706 IBM codepages are widely used on MS-DOS and MS-Windows, so this | |
5707 feature is most useful on those platforms, but it can also be used on | |
5708 Unix. | |
5709 | |
5710 Emacs compiled for MS-DOS automatically loads the support for the | |
5711 current codepage when it starts. | |
5712 | |
5713 ** Mail changes | |
5714 | |
5715 *** When mail is sent using compose-mail (C-x m), and if | |
5716 `mail-send-nonascii' is set to the new default value `mime', | |
5717 appropriate MIME headers are added. The headers are added only if | |
5718 non-ASCII characters are present in the body of the mail, and no other | |
5719 MIME headers are already present. For example, the following three | |
5720 headers are added if the coding system used in the *mail* buffer is | |
5721 latin-1: | |
5722 | |
5723 MIME-version: 1.0 | |
5724 Content-type: text/plain; charset=iso-8859-1 | |
5725 Content-Transfer-Encoding: 8bit | |
5726 | |
5727 *** The new variable default-sendmail-coding-system specifies the | |
5728 default way to encode outgoing mail. This has higher priority than | |
5729 default-buffer-file-coding-system but has lower priority than | |
5730 sendmail-coding-system and the local value of | |
5731 buffer-file-coding-system. | |
5732 | |
5733 You should not set this variable manually. Instead, set | |
5734 sendmail-coding-system to specify a fixed encoding for all outgoing | |
5735 mail. | |
5736 | |
5737 *** When you try to send a message that contains non-ASCII characters, | |
5738 if the coding system specified by those variables doesn't handle them, | |
5739 Emacs will ask you to select a suitable coding system while showing a | |
5740 list of possible coding systems. | |
5741 | |
5742 ** CC Mode changes | |
5743 | |
5744 *** c-default-style can now take an association list that maps major | |
5745 modes to style names. When this variable is an alist, Java mode no | |
5746 longer hardcodes a setting to "java" style. See the variable's | |
5747 docstring for details. | |
5748 | |
5749 *** It's now possible to put a list as the offset on a syntactic | |
5750 symbol. The list is evaluated recursively until a non-nil offset is | |
5751 found. This is useful to combine several lineup functions to act in a | |
5752 prioritized order on a single line. However, none of the supplied | |
5753 lineup functions use this feature currently. | |
5754 | |
5755 *** New syntactic symbol catch-clause, which is used on the "catch" and | |
5756 "finally" lines in try-catch constructs in C++ and Java. | |
5757 | |
5758 *** New cleanup brace-catch-brace on c-cleanup-list, which does for | |
5759 "catch" lines what brace-elseif-brace does for "else if" lines. | |
5760 | |
5761 *** The braces of Java anonymous inner classes are treated separately | |
5762 from the braces of other classes in auto-newline mode. Two new | |
5763 symbols inexpr-class-open and inexpr-class-close may be used on | |
5764 c-hanging-braces-alist to control the automatic newlines used for | |
5765 anonymous classes. | |
5766 | |
5767 *** Support for the Pike language added, along with new Pike specific | |
5768 syntactic symbols: inlambda, lambda-intro-cont | |
5769 | |
5770 *** Support for Java anonymous classes via new syntactic symbol | |
5771 inexpr-class. New syntactic symbol inexpr-statement for Pike | |
5772 support and gcc-style statements inside expressions. New lineup | |
5773 function c-lineup-inexpr-block. | |
5774 | |
5775 *** New syntactic symbol brace-entry-open which is used in brace lists | |
5776 (i.e. static initializers) when a list entry starts with an open | |
5777 brace. These used to be recognized as brace-list-entry's. | |
5778 c-electric-brace also recognizes brace-entry-open braces | |
5779 (brace-list-entry's can no longer be electrified). | |
5780 | |
5781 *** New command c-indent-line-or-region, not bound by default. | |
5782 | |
5783 *** `#' is only electric when typed in the indentation of a line. | |
5784 | |
5785 *** Parentheses are now electric (via the new command c-electric-paren) | |
5786 for auto-reindenting lines when parens are typed. | |
5787 | |
5788 *** In "gnu" style, inline-open offset is now set to zero. | |
5789 | |
5790 *** Uniform handling of the inclass syntactic symbol. The indentation | |
5791 associated with it is now always relative to the class opening brace. | |
5792 This means that the indentation behavior has changed in some | |
5793 circumstances, but only if you've put anything besides 0 on the | |
5794 class-open syntactic symbol (none of the default styles do that). | |
5795 | |
5796 ** Gnus changes. | |
5797 | |
5798 *** New functionality for using Gnus as an offline newsreader has been | |
5799 added. A plethora of new commands and modes have been added. See the | |
5800 Gnus manual for the full story. | |
5801 | |
5802 *** The nndraft backend has returned, but works differently than | |
5803 before. All Message buffers are now also articles in the nndraft | |
5804 group, which is created automatically. | |
5805 | |
5806 *** `gnus-alter-header-function' can now be used to alter header | |
5807 values. | |
5808 | |
5809 *** `gnus-summary-goto-article' now accept Message-ID's. | |
5810 | |
5811 *** A new Message command for deleting text in the body of a message | |
5812 outside the region: `C-c C-v'. | |
5813 | |
5814 *** You can now post to component group in nnvirtual groups with | |
5815 `C-u C-c C-c'. | |
5816 | |
5817 *** `nntp-rlogin-program' -- new variable to ease customization. | |
5818 | |
5819 *** `C-u C-c C-c' in `gnus-article-edit-mode' will now inhibit | |
5820 re-highlighting of the article buffer. | |
5821 | |
5822 *** New element in `gnus-boring-article-headers' -- `long-to'. | |
5823 | |
5824 *** `M-i' symbolic prefix command. See the section "Symbolic | |
5825 Prefixes" in the Gnus manual for details. | |
5826 | |
5827 *** `L' and `I' in the summary buffer now take the symbolic prefix | |
5828 `a' to add the score rule to the "all.SCORE" file. | |
5829 | |
5830 *** `gnus-simplify-subject-functions' variable to allow greater | |
5831 control over simplification. | |
5832 | |
5833 *** `A T' -- new command for fetching the current thread. | |
5834 | |
5835 *** `/ T' -- new command for including the current thread in the | |
5836 limit. | |
5837 | |
5838 *** `M-RET' is a new Message command for breaking cited text. | |
5839 | |
5840 *** \\1-expressions are now valid in `nnmail-split-methods'. | |
5841 | |
5842 *** The `custom-face-lookup' function has been removed. | |
5843 If you used this function in your initialization files, you must | |
5844 rewrite them to use `face-spec-set' instead. | |
5845 | |
35680 | 5846 *** Canceling now uses the current select method. Symbolic prefix |
30922 | 5847 `a' forces normal posting method. |
5848 | |
5849 *** New command to translate M******** sm*rtq**t*s into proper text | |
5850 -- `W d'. | |
5851 | |
5852 *** For easier debugging of nntp, you can set `nntp-record-commands' | |
5853 to a non-nil value. | |
5854 | |
5855 *** nntp now uses ~/.authinfo, a .netrc-like file, for controlling | |
5856 where and how to send AUTHINFO to NNTP servers. | |
5857 | |
5858 *** A command for editing group parameters from the summary buffer | |
5859 has been added. | |
5860 | |
5861 *** A history of where mails have been split is available. | |
5862 | |
5863 *** A new article date command has been added -- `article-date-iso8601'. | |
5864 | |
5865 *** Subjects can be simplified when threading by setting | |
5866 `gnus-score-thread-simplify'. | |
5867 | |
5868 *** A new function for citing in Message has been added -- | |
5869 `message-cite-original-without-signature'. | |
5870 | |
5871 *** `article-strip-all-blank-lines' -- new article command. | |
5872 | |
5873 *** A new Message command to kill to the end of the article has | |
5874 been added. | |
5875 | |
5876 *** A minimum adaptive score can be specified by using the | |
5877 `gnus-adaptive-word-minimum' variable. | |
5878 | |
5879 *** The "lapsed date" article header can be kept continually | |
5880 updated by the `gnus-start-date-timer' command. | |
5881 | |
5882 *** Web listserv archives can be read with the nnlistserv backend. | |
5883 | |
5884 *** Old dejanews archives can now be read by nnweb. | |
5885 | |
5886 *** `gnus-posting-styles' has been re-activated. | |
5887 | |
5888 ** Changes to TeX and LaTeX mode | |
5889 | |
5890 *** The new variable `tex-start-options-string' can be used to give | |
5891 options for the TeX run. The default value causes TeX to run in | |
5892 nonstopmode. For an interactive TeX run set it to nil or "". | |
5893 | |
5894 *** The command `tex-feed-input' sends input to the Tex Shell. In a | |
5895 TeX buffer it is bound to the keys C-RET, C-c RET, and C-c C-m (some | |
5896 of these keys may not work on all systems). For instance, if you run | |
5897 TeX interactively and if the TeX run stops because of an error, you | |
5898 can continue it without leaving the TeX buffer by typing C-RET. | |
5899 | |
5900 *** The Tex Shell Buffer is now in `compilation-shell-minor-mode'. | |
5901 All error-parsing commands of the Compilation major mode are available | |
5902 but bound to keys that don't collide with the shell. Thus you can use | |
5903 the Tex Shell for command line executions like a usual shell. | |
5904 | |
5905 *** The commands `tex-validate-region' and `tex-validate-buffer' check | |
5906 the matching of braces and $'s. The errors are listed in a *Occur* | |
5907 buffer and you can use C-c C-c or mouse-2 to go to a particular | |
5908 mismatch. | |
5909 | |
5910 ** Changes to RefTeX mode | |
5911 | |
5912 *** The table of contents buffer can now also display labels and | |
5913 file boundaries in addition to sections. Use `l', `i', and `c' keys. | |
5914 | |
5915 *** Labels derived from context (the section heading) are now | |
5916 lowercase by default. To make the label legal in LaTeX, latin-1 | |
5917 characters will lose their accent. All Mule characters will be | |
5918 removed from the label. | |
5919 | |
5920 *** The automatic display of cross reference information can also use | |
5921 a window instead of the echo area. See variable `reftex-auto-view-crossref'. | |
5922 | |
5923 *** kpsewhich can be used by RefTeX to find TeX and BibTeX files. See the | |
5924 customization group `reftex-finding-files'. | |
5925 | |
5926 *** The option `reftex-bibfile-ignore-list' has been renamed to | |
5927 `reftex-bibfile-ignore-regexps' and indeed can be fed with regular | |
5928 expressions. | |
5929 | |
5930 *** Multiple Selection buffers are now hidden buffers. | |
5931 | |
5932 ** New/deleted modes and packages | |
5933 | |
5934 *** The package snmp-mode.el provides major modes for editing SNMP and | |
5935 SNMPv2 MIBs. It has entries on `auto-mode-alist'. | |
5936 | |
5937 *** The package sql.el provides a major mode, M-x sql-mode, for | |
5938 editing SQL files, and M-x sql-interactive-mode for interacting with | |
5939 SQL interpreters. It has an entry on `auto-mode-alist'. | |
5940 | |
5941 *** M-x highlight-changes-mode provides a minor mode displaying buffer | |
5942 changes with a special face. | |
5943 | |
5944 *** ispell4.el has been deleted. It got in the way of ispell.el and | |
5945 this was hard to fix reliably. It has long been obsolete -- use | |
5946 Ispell 3.1 and ispell.el. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5947 |
30922 | 5948 * MS-DOS changes in Emacs 20.4 |
5949 | |
5950 ** Emacs compiled for MS-DOS now supports MULE features better. | |
5951 This includes support for display of all ISO 8859-N character sets, | |
5952 conversion to and from IBM codepage encoding of non-ASCII characters, | |
5953 and automatic setup of the MULE environment at startup. For details, | |
5954 check out the section `MS-DOS and MULE' in the manual. | |
5955 | |
5956 The MS-DOS installation procedure automatically configures and builds | |
5957 Emacs with input method support if it finds an unpacked Leim | |
5958 distribution when the config.bat script is run. | |
5959 | |
5960 ** Formerly, the value of lpr-command did not affect printing on | |
5961 MS-DOS unless print-region-function was set to nil, but now it | |
5962 controls whether an external program is invoked or output is written | |
5963 directly to a printer port. Similarly, in the previous version of | |
5964 Emacs, the value of ps-lpr-command did not affect PostScript printing | |
5965 on MS-DOS unless ps-printer-name was set to something other than a | |
5966 string (eg. t or `pipe'), but now it controls whether an external | |
5967 program is used. (These changes were made so that configuration of | |
5968 printing variables would be almost identical across all platforms.) | |
5969 | |
5970 ** In the previous version of Emacs, PostScript and non-PostScript | |
5971 output was piped to external programs, but because most print programs | |
5972 available for MS-DOS and MS-Windows cannot read data from their standard | |
5973 input, on those systems the data to be output is now written to a | |
5974 temporary file whose name is passed as the last argument to the external | |
5975 program. | |
5976 | |
5977 An exception is made for `print', a standard program on Windows NT, | |
5978 and `nprint', a standard program on Novell Netware. For both of these | |
5979 programs, the command line is constructed in the appropriate syntax | |
5980 automatically, using only the value of printer-name or ps-printer-name | |
5981 as appropriate--the value of the relevant `-switches' variable is | |
5982 ignored, as both programs have no useful switches. | |
5983 | |
5984 ** The value of the variable dos-printer (cf. dos-ps-printer), if it has | |
5985 a value, overrides the value of printer-name (cf. ps-printer-name), on | |
5986 MS-DOS and MS-Windows only. This has been true since version 20.3, but | |
5987 was not documented clearly before. | |
5988 | |
5989 ** All the Emacs games now work on MS-DOS terminals. | |
5990 This includes Tetris and Snake. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5991 |
30922 | 5992 * Lisp changes in Emacs 20.4 |
5993 | |
5994 ** New functions line-beginning-position and line-end-position | |
5995 return the position of the beginning or end of the current line. | |
5996 They both accept an optional argument, which has the same | |
5997 meaning as the argument to beginning-of-line or end-of-line. | |
5998 | |
5999 ** find-file and allied functions now have an optional argument | |
6000 WILDCARD. If this is non-nil, they do wildcard processing, | |
6001 and visit all files that match the wildcard pattern. | |
6002 | |
6003 ** Changes in the file-attributes function. | |
6004 | |
6005 *** The file size returned by file-attributes may be an integer or a float. | |
6006 It is an integer if the size fits in a Lisp integer, float otherwise. | |
6007 | |
6008 *** The inode number returned by file-attributes may be an integer (if | |
6009 the number fits in a Lisp integer) or a cons cell containing two | |
6010 integers. | |
6011 | |
6012 ** The new function directory-files-and-attributes returns a list of | |
6013 files in a directory and their attributes. It accepts the same | |
6014 arguments as directory-files and has similar semantics, except that | |
6015 file names and attributes are returned. | |
6016 | |
6017 ** The new function file-attributes-lessp is a helper function for | |
6018 sorting the list generated by directory-files-and-attributes. It | |
35680 | 6019 accepts two arguments, each a list of a file name and its attributes. |
30922 | 6020 It compares the file names of each according to string-lessp and |
6021 returns the result. | |
6022 | |
6023 ** The new function file-expand-wildcards expands a wildcard-pattern | |
6024 to produce a list of existing files that match the pattern. | |
6025 | |
6026 ** New functions for base64 conversion: | |
6027 | |
6028 The function base64-encode-region converts a part of the buffer | |
6029 into the base64 code used in MIME. base64-decode-region | |
6030 performs the opposite conversion. Line-breaking is supported | |
6031 optionally. | |
6032 | |
6033 Functions base64-encode-string and base64-decode-string do a similar | |
6034 job on the text in a string. They return the value as a new string. | |
6035 | |
6036 ** | |
6037 The new function process-running-child-p | |
6038 will tell you if a subprocess has given control of its | |
6039 terminal to its own child process. | |
6040 | |
6041 ** interrupt-process and such functions have a new feature: | |
6042 when the second argument is `lambda', they send a signal | |
6043 to the running child of the subshell, if any, but if the shell | |
6044 itself owns its terminal, no signal is sent. | |
6045 | |
6046 ** There are new widget types `plist' and `alist' which can | |
6047 be used for customizing variables whose values are plists or alists. | |
6048 | |
42974 | 6049 ** easymenu.el now understands `:key-sequence' and `:style button'. |
30922 | 6050 :included is an alias for :visible. |
6051 | |
6052 easy-menu-add-item now understands the values returned by | |
6053 easy-menu-remove-item and easy-menu-item-present-p. This can be used | |
6054 to move or copy menu entries. | |
6055 | |
6056 ** Multibyte editing changes | |
6057 | |
6058 *** The definitions of sref and char-bytes are changed. Now, sref is | |
6059 an alias of aref and char-bytes always returns 1. This change is to | |
6060 make some Emacs Lisp code which works on 20.2 and earlier also | |
6061 work on the latest Emacs. Such code uses a combination of sref and | |
6062 char-bytes in a loop typically as below: | |
6063 (setq char (sref str idx) | |
6064 idx (+ idx (char-bytes idx))) | |
6065 The byte-compiler now warns that this is obsolete. | |
6066 | |
6067 If you want to know how many bytes a specific multibyte character | |
6068 (say, CH) occupies in a multibyte buffer, use this code: | |
6069 (charset-bytes (char-charset ch)) | |
6070 | |
6071 *** In multibyte mode, when you narrow a buffer to some region, and the | |
6072 region is preceded or followed by non-ASCII codes, inserting or | |
6073 deleting at the head or the end of the region may signal this error: | |
6074 | |
35680 | 6075 Byte combining across boundary of accessible buffer text inhibited |
30922 | 6076 |
6077 This is to avoid some bytes being combined together into a character | |
6078 across the boundary. | |
6079 | |
6080 *** The functions find-charset-region and find-charset-string include | |
6081 `unknown' in the returned list in the following cases: | |
6082 o The current buffer or the target string is unibyte and | |
6083 contains 8-bit characters. | |
6084 o The current buffer or the target string is multibyte and | |
6085 contains invalid characters. | |
6086 | |
6087 *** The functions decode-coding-region and encode-coding-region remove | |
6088 text properties of the target region. Ideally, they should correctly | |
6089 preserve text properties, but for the moment, it's hard. Removing | |
6090 text properties is better than preserving them in a less-than-correct | |
6091 way. | |
6092 | |
6093 *** prefer-coding-system sets EOL conversion of default coding systems. | |
6094 If the argument to prefer-coding-system specifies a certain type of | |
6095 end of line conversion, the default coding systems set by | |
6096 prefer-coding-system will specify that conversion type for end of line. | |
6097 | |
6098 *** The new function thai-compose-string can be used to properly | |
6099 compose Thai characters in a string. | |
6100 | |
6101 ** The primitive `define-prefix-command' now takes an optional third | |
6102 argument NAME, which should be a string. It supplies the menu name | |
6103 for the created keymap. Keymaps created in order to be displayed as | |
6104 menus should always use the third argument. | |
6105 | |
6106 ** The meanings of optional second arguments for read-char, | |
6107 read-event, and read-char-exclusive are flipped. Now the second | |
6108 arguments are INHERIT-INPUT-METHOD. These functions use the current | |
6109 input method (if any) if and only if INHERIT-INPUT-METHOD is non-nil. | |
6110 | |
6111 ** The new function clear-this-command-keys empties out the contents | |
6112 of the vector that (this-command-keys) returns. This is useful in | |
6113 programs that read passwords, to prevent the passwords from echoing | |
6114 inadvertently as part of the next command in certain cases. | |
6115 | |
6116 ** The new macro `with-temp-message' displays a temporary message in | |
6117 the echo area, while executing some Lisp code. Like `progn', it | |
6118 returns the value of the last form, but it also restores the previous | |
6119 echo area contents. | |
6120 | |
6121 (with-temp-message MESSAGE &rest BODY) | |
6122 | |
6123 ** The function `require' now takes an optional third argument | |
6124 NOERROR. If it is non-nil, then there is no error if the | |
6125 requested feature cannot be loaded. | |
6126 | |
6127 ** In the function modify-face, an argument of (nil) for the | |
6128 foreground color, background color or stipple pattern | |
6129 means to clear out that attribute. | |
6130 | |
6131 ** The `outer-window-id' frame property of an X frame | |
6132 gives the window number of the outermost X window for the frame. | |
6133 | |
6134 ** Temporary buffers made with with-output-to-temp-buffer are now | |
6135 read-only by default, and normally use the major mode Help mode | |
6136 unless you put them in some other non-Fundamental mode before the | |
6137 end of with-output-to-temp-buffer. | |
6138 | |
6139 ** The new functions gap-position and gap-size return information on | |
6140 the gap of the current buffer. | |
6141 | |
6142 ** The new functions position-bytes and byte-to-position provide a way | |
6143 to convert between character positions and byte positions in the | |
6144 current buffer. | |
6145 | |
6146 ** vc.el defines two new macros, `edit-vc-file' and `with-vc-file', to | |
6147 facilitate working with version-controlled files from Lisp programs. | |
6148 These macros check out a given file automatically if needed, and check | |
6149 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
|
6150 |
30922 | 6151 * Installation Changes in Emacs 20.3 |
6152 | |
6153 ** The default value of load-path now includes most subdirectories of | |
6154 the site-specific directories /usr/local/share/emacs/site-lisp and | |
6155 /usr/local/share/emacs/VERSION/site-lisp, in addition to those | |
6156 directories themselves. Both immediate subdirectories and | |
6157 subdirectories multiple levels down are added to load-path. | |
6158 | |
6159 Not all subdirectories are included, though. Subdirectories whose | |
6160 names do not start with a letter or digit are excluded. | |
6161 Subdirectories named RCS or CVS are excluded. Also, a subdirectory | |
6162 which contains a file named `.nosearch' is excluded. You can use | |
6163 these methods to prevent certain subdirectories from being searched. | |
6164 | |
6165 Emacs finds these subdirectories and adds them to load-path when it | |
6166 starts up. While it would be cleaner to find the subdirectories each | |
6167 time Emacs loads a file, that would be much slower. | |
6168 | |
6169 This feature is an incompatible change. If you have stored some Emacs | |
6170 Lisp files in a subdirectory of the site-lisp directory specifically | |
6171 to prevent them from being used, you will need to rename the | |
6172 subdirectory to start with a non-alphanumeric character, or create a | |
6173 `.nosearch' file in it, in order to continue to achieve the desired | |
6174 results. | |
6175 | |
6176 ** Emacs no longer includes an old version of the C preprocessor from | |
6177 GCC. This was formerly used to help compile Emacs with C compilers | |
6178 that had limits on the significant length of an identifier, but in | |
6179 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
|
6180 |
30922 | 6181 * Changes in Emacs 20.3 |
6182 | |
6183 ** The new command C-x z (repeat) repeats the previous command | |
6184 including its argument. If you repeat the z afterward, | |
6185 it repeats the command additional times; thus, you can | |
6186 perform many repetitions with one keystroke per repetition. | |
6187 | |
6188 ** Emacs now supports "selective undo" which undoes only within a | |
6189 specified region. To do this, set point and mark around the desired | |
6190 region and type C-u C-x u (or C-u C-_). You can then continue undoing | |
6191 further, within the same region, by repeating the ordinary undo | |
6192 command C-x u or C-_. This will keep undoing changes that were made | |
6193 within the region you originally specified, until either all of them | |
6194 are undone, or it encounters a change which crosses the edge of that | |
6195 region. | |
6196 | |
6197 In Transient Mark mode, undoing when a region is active requests | |
6198 selective undo. | |
6199 | |
6200 ** If you specify --unibyte when starting Emacs, then all buffers are | |
6201 unibyte, except when a Lisp program specifically creates a multibyte | |
6202 buffer. Setting the environment variable EMACS_UNIBYTE has the same | |
6203 effect. The --no-unibyte option overrides EMACS_UNIBYTE and directs | |
6204 Emacs to run normally in multibyte mode. | |
6205 | |
6206 The option --unibyte does not affect the reading of Emacs Lisp files, | |
6207 though. If you want a Lisp file to be read in unibyte mode, use | |
6208 -*-unibyte: t;-*- on its first line. That will force Emacs to | |
6209 load that file in unibyte mode, regardless of how Emacs was started. | |
6210 | |
6211 ** toggle-enable-multibyte-characters no longer has a key binding and | |
6212 no longer appears in the menu bar. We've realized that changing the | |
6213 enable-multibyte-characters variable in an existing buffer is | |
6214 something that most users not do. | |
6215 | |
6216 ** You can specify a coding system to use for the next cut or paste | |
6217 operations through the window system with the command C-x RET X. | |
6218 The coding system can make a difference for communication with other | |
6219 applications. | |
6220 | |
6221 C-x RET x specifies a coding system for all subsequent cutting and | |
6222 pasting operations. | |
6223 | |
6224 ** You can specify the printer to use for commands that do printing by | |
6225 setting the variable `printer-name'. Just what a printer name looks | |
6226 like depends on your operating system. You can specify a different | |
6227 printer for the Postscript printing commands by setting | |
6228 `ps-printer-name'. | |
6229 | |
6230 ** Emacs now supports on-the-fly spell checking by the means of a | |
6231 minor mode. It is called M-x flyspell-mode. You don't have to remember | |
6232 any other special commands to use it, and you will hardly notice it | |
6233 except when you make a spelling error. Flyspell works by highlighting | |
6234 incorrect words as soon as they are completed or as soon as the cursor | |
6235 hits a new word. | |
6236 | |
6237 Flyspell mode works with whichever dictionary you have selected for | |
6238 Ispell in Emacs. In TeX mode, it understands TeX syntax so as not | |
6239 to be confused by TeX commands. | |
6240 | |
6241 You can correct a misspelled word by editing it into something | |
6242 correct. You can also correct it, or accept it as correct, by | |
6243 clicking on the word with Mouse-2; that gives you a pop-up menu | |
6244 of various alternative replacements and actions. | |
6245 | |
6246 Flyspell mode also proposes "automatic" corrections. M-TAB replaces | |
6247 the current misspelled word with a possible correction. If several | |
6248 corrections are made possible, M-TAB cycles through them in | |
6249 alphabetical order, or in order of decreasing likelihood if | |
6250 flyspell-sort-corrections is nil. | |
6251 | |
6252 Flyspell mode also flags an error when a word is repeated, if | |
6253 flyspell-mark-duplications-flag is non-nil. | |
6254 | |
6255 ** Changes in input method usage. | |
6256 | |
6257 Now you can use arrow keys (right, left, down, up) for selecting among | |
6258 the alternatives just the same way as you do by C-f, C-b, C-n, and C-p | |
6259 respectively. | |
6260 | |
6261 You can use the ENTER key to accept the current conversion. | |
6262 | |
6263 If you type TAB to display a list of alternatives, you can select one | |
6264 of the alternatives with Mouse-2. | |
6265 | |
6266 The meaning of the variable `input-method-verbose-flag' is changed so | |
6267 that you can set it to t, nil, `default', or `complex-only'. | |
6268 | |
6269 If the value is nil, extra guidance is never given. | |
6270 | |
6271 If the value is t, extra guidance is always given. | |
6272 | |
6273 If the value is `complex-only', extra guidance is always given only | |
6274 when you are using complex input methods such as chinese-py. | |
6275 | |
6276 If the value is `default' (this is the default), extra guidance is | |
6277 given in the following case: | |
6278 o When you are using a complex input method. | |
6279 o When you are using a simple input method but not in the minibuffer. | |
6280 | |
6281 If you are using Emacs through a very slow line, setting | |
6282 input-method-verbose-flag to nil or to complex-only is a good choice, | |
6283 and if you are using an input method you are not familiar with, | |
6284 setting it to t is helpful. | |
6285 | |
6286 The old command select-input-method is now called set-input-method. | |
6287 | |
6288 In the language environment "Korean", you can use the following | |
6289 keys: | |
6290 Shift-SPC toggle-korean-input-method | |
6291 C-F9 quail-hangul-switch-symbol-ksc | |
6292 F9 quail-hangul-switch-hanja | |
6293 These key bindings are canceled when you switch to another language | |
6294 environment. | |
6295 | |
6296 ** The minibuffer history of file names now records the specified file | |
6297 names, not the entire minibuffer input. For example, if the | |
6298 minibuffer starts out with /usr/foo/, you might type in /etc/passwd to | |
6299 get | |
6300 | |
6301 /usr/foo//etc/passwd | |
6302 | |
6303 which stands for the file /etc/passwd. | |
6304 | |
6305 Formerly, this used to put /usr/foo//etc/passwd in the history list. | |
6306 Now this puts just /etc/passwd in the history list. | |
6307 | |
6308 ** If you are root, Emacs sets backup-by-copying-when-mismatch to t | |
6309 at startup, so that saving a file will be sure to preserve | |
6310 its owner and group. | |
6311 | |
6312 ** find-func.el can now also find the place of definition of Emacs | |
6313 Lisp variables in user-loaded libraries. | |
6314 | |
6315 ** C-x r t (string-rectangle) now deletes the existing rectangle | |
6316 contents before inserting the specified string on each line. | |
6317 | |
6318 ** There is a new command delete-whitespace-rectangle | |
6319 which deletes whitespace starting from a particular column | |
6320 in all the lines on a rectangle. The column is specified | |
6321 by the left edge of the rectangle. | |
6322 | |
6323 ** You can now store a number into a register with C-u NUMBER C-x r n REG, | |
6324 increment it by INC with C-u INC C-x r + REG (to increment by one, omit | |
6325 C-u INC), and insert it in the buffer with C-x r g REG. This is useful | |
6326 for writing keyboard macros. | |
6327 | |
6328 ** The new command M-x speedbar displays a frame in which directories, | |
6329 files, and tags can be displayed, manipulated, and jumped to. The | |
6330 frame defaults to 20 characters in width, and is the same height as | |
6331 the frame that it was started from. Some major modes define | |
6332 additional commands for the speedbar, including Rmail, GUD/GDB, and | |
6333 info. | |
6334 | |
6335 ** query-replace-regexp is now bound to C-M-%. | |
6336 | |
6337 ** In Transient Mark mode, when the region is active, M-x | |
6338 query-replace and the other replace commands now operate on the region | |
6339 contents only. | |
6340 | |
6341 ** M-x write-region, when used interactively, now asks for | |
6342 confirmation before overwriting an existing file. When you call | |
6343 the function from a Lisp program, a new optional argument CONFIRM | |
6344 says whether to ask for confirmation in this case. | |
6345 | |
6346 ** If you use find-file-literally and the file is already visited | |
6347 non-literally, the command asks you whether to revisit the file | |
6348 literally. If you say no, it signals an error. | |
6349 | |
6350 ** Major modes defined with the "derived mode" feature | |
6351 now use the proper name for the mode hook: WHATEVER-mode-hook. | |
6352 Formerly they used the name WHATEVER-mode-hooks, but that is | |
6353 inconsistent with Emacs conventions. | |
6354 | |
6355 ** shell-command-on-region (and shell-command) reports success or | |
6356 failure if the command produces no output. | |
6357 | |
6358 ** Set focus-follows-mouse to nil if your window system or window | |
6359 manager does not transfer focus to another window when you just move | |
6360 the mouse. | |
6361 | |
6362 ** mouse-menu-buffer-maxlen has been renamed to | |
6363 mouse-buffer-menu-maxlen to be consistent with the other related | |
6364 function and variable names. | |
6365 | |
6366 ** The new variable auto-coding-alist specifies coding systems for | |
6367 reading specific files. This has higher priority than | |
6368 file-coding-system-alist. | |
6369 | |
6370 ** If you set the variable unibyte-display-via-language-environment to | |
6371 t, then Emacs displays non-ASCII characters are displayed by | |
6372 converting them to the equivalent multibyte characters according to | |
6373 the current language environment. As a result, they are displayed | |
6374 according to the current fontset. | |
6375 | |
6376 ** C-q's handling of codes in the range 0200 through 0377 is changed. | |
6377 | |
6378 The codes in the range 0200 through 0237 are inserted as one byte of | |
6379 that code regardless of the values of nonascii-translation-table and | |
6380 nonascii-insert-offset. | |
6381 | |
6382 For the codes in the range 0240 through 0377, if | |
6383 enable-multibyte-characters is non-nil and nonascii-translation-table | |
6384 nor nonascii-insert-offset can't convert them to valid multibyte | |
6385 characters, they are converted to Latin-1 characters. | |
6386 | |
6387 ** If you try to find a file that is not read-accessible, you now get | |
6388 an error, rather than an empty buffer and a warning. | |
6389 | |
6390 ** In the minibuffer history commands M-r and M-s, an upper case | |
6391 letter in the regular expression forces case-sensitive search. | |
6392 | |
6393 ** In the *Help* buffer, cross-references to commands and variables | |
6394 are inferred and hyperlinked. Use C-h m in Help mode for the relevant | |
6395 command keys. | |
6396 | |
6397 ** M-x apropos-command, with a prefix argument, no longer looks for | |
6398 user option variables--instead it looks for noninteractive functions. | |
6399 | |
6400 Meanwhile, the command apropos-variable normally searches for | |
6401 user option variables; with a prefix argument, it looks at | |
6402 all variables that have documentation. | |
6403 | |
6404 ** When you type a long line in the minibuffer, and the minibuffer | |
6405 shows just one line, automatically scrolling works in a special way | |
6406 that shows you overlap with the previous line of text. The variable | |
6407 minibuffer-scroll-overlap controls how many characters of overlap | |
6408 it should show; the default is 20. | |
6409 | |
6410 Meanwhile, Resize Minibuffer mode is still available; in that mode, | |
6411 the minibuffer grows taller (up to a point) as needed to show the whole | |
6412 of your input. | |
6413 | |
6414 ** The new command M-x customize-changed-options lets you customize | |
6415 all the options whose meanings or default values have changed in | |
6416 recent Emacs versions. You specify a previous Emacs version number as | |
6417 argument, and the command creates a customization buffer showing all | |
6418 the customizable options which were changed since that version. | |
6419 Newly added options are included as well. | |
6420 | |
6421 If you don't specify a particular version number argument, | |
6422 then the customization buffer shows all the customizable options | |
6423 for which Emacs versions of changes are recorded. | |
6424 | |
6425 This function is also bound to the Changed Options entry in the | |
6426 Customize menu. | |
6427 | |
6428 ** When you run M-x grep with a prefix argument, it figures out | |
6429 the tag around point and puts that into the default grep command. | |
6430 | |
6431 ** The new command M-* (pop-tag-mark) pops back through a history of | |
6432 buffer positions from which M-. or other tag-finding commands were | |
6433 invoked. | |
6434 | |
6435 ** The new variable comment-padding specifies the number of spaces | |
6436 that `comment-region' will insert before the actual text of the comment. | |
6437 The default is 1. | |
6438 | |
6439 ** In Fortran mode the characters `.', `_' and `$' now have symbol | |
6440 syntax, not word syntax. Fortran mode now supports `imenu' and has | |
6441 new commands fortran-join-line (M-^) and fortran-narrow-to-subprogram | |
6442 (C-x n d). M-q can be used to fill a statement or comment block | |
6443 sensibly. | |
6444 | |
6445 ** GUD now supports jdb, the Java debugger, and pdb, the Python debugger. | |
6446 | |
6447 ** If you set the variable add-log-keep-changes-together to a non-nil | |
6448 value, the command `C-x 4 a' will automatically notice when you make | |
6449 two entries in one day for one file, and combine them. | |
6450 | |
6451 ** You can use the command M-x diary-mail-entries to mail yourself a | |
6452 reminder about upcoming diary entries. See the documentation string | |
6453 for a sample shell script for calling this function automatically | |
6454 every night. | |
6455 | |
6456 ** Desktop changes | |
6457 | |
6458 *** All you need to do to enable use of the Desktop package, is to set | |
6459 the variable desktop-enable to t with Custom. | |
6460 | |
6461 *** Minor modes are now restored. Which minor modes are restored | |
6462 and how modes are restored is controlled by `desktop-minor-mode-table'. | |
6463 | |
6464 ** There is no need to do anything special, now, to enable Gnus to | |
6465 read and post multi-lingual articles. | |
6466 | |
6467 ** Outline mode has now support for showing hidden outlines when | |
6468 doing an isearch. In order for this to happen search-invisible should | |
6469 be set to open (the default). If an isearch match is inside a hidden | |
6470 outline the outline is made visible. If you continue pressing C-s and | |
6471 the match moves outside the formerly invisible outline, the outline is | |
6472 made invisible again. | |
6473 | |
6474 ** Mail reading and sending changes | |
6475 | |
6476 *** The Rmail e command now switches to displaying the whole header of | |
6477 the message before it lets you edit the message. This is so that any | |
6478 changes you make in the header will not be lost if you subsequently | |
6479 toggle. | |
6480 | |
6481 *** The w command in Rmail, which writes the message body into a file, | |
6482 now works in the summary buffer as well. (The command to delete the | |
6483 summary buffer is now Q.) The default file name for the w command, if | |
6484 the message has no subject, is stored in the variable | |
6485 rmail-default-body-file. | |
6486 | |
6487 *** Most of the commands and modes that operate on mail and netnews no | |
6488 longer depend on the value of mail-header-separator. Instead, they | |
6489 handle whatever separator the buffer happens to use. | |
6490 | |
6491 *** If you set mail-signature to a value which is not t, nil, or a string, | |
6492 it should be an expression. When you send a message, this expression | |
6493 is evaluated to insert the signature. | |
6494 | |
6495 *** The new Lisp library feedmail.el (version 8) enhances processing of | |
6496 outbound email messages. It works in coordination with other email | |
6497 handling packages (e.g., rmail, VM, gnus) and is responsible for | |
6498 putting final touches on messages and actually submitting them for | |
6499 transmission. Users of the emacs program "fakemail" might be | |
6500 especially interested in trying feedmail. | |
6501 | |
6502 feedmail is not enabled by default. See comments at the top of | |
6503 feedmail.el for set-up instructions. Among the bigger features | |
6504 provided by feedmail are: | |
6505 | |
6506 **** you can park outgoing messages into a disk-based queue and | |
6507 stimulate sending some or all of them later (handy for laptop users); | |
6508 there is also a queue for draft messages | |
6509 | |
6510 **** you can get one last look at the prepped outbound message and | |
6511 be prompted for confirmation | |
6512 | |
6513 **** does smart filling of address headers | |
6514 | |
6515 **** can generate a MESSAGE-ID: line and a DATE: line; the date can be | |
6516 the time the message was written or the time it is being sent; this | |
6517 can make FCC copies more closely resemble copies that recipients get | |
6518 | |
6519 **** you can specify an arbitrary function for actually transmitting | |
6520 the message; included in feedmail are interfaces for /bin/[r]mail, | |
6521 /usr/lib/sendmail, and elisp smtpmail; it's easy to write a new | |
6522 function for something else (10-20 lines of elisp) | |
6523 | |
6524 ** Dired changes | |
6525 | |
6526 *** The Dired function dired-do-toggle, which toggles marked and unmarked | |
6527 files, is now bound to "t" instead of "T". | |
6528 | |
6529 *** dired-at-point has been added to ffap.el. It allows one to easily | |
6530 run Dired on the directory name at point. | |
6531 | |
6532 *** Dired has a new command: %g. It searches the contents of | |
6533 files in the directory and marks each file that contains a match | |
6534 for a specified regexp. | |
6535 | |
6536 ** VC Changes | |
6537 | |
6538 *** New option vc-ignore-vc-files lets you turn off version control | |
6539 conveniently. | |
6540 | |
6541 *** VC Dired has been completely rewritten. It is now much | |
6542 faster, especially for CVS, and works very similar to ordinary | |
6543 Dired. | |
6544 | |
6545 VC Dired is invoked by typing C-x v d and entering the name of the | |
6546 directory to display. By default, VC Dired gives you a recursive | |
6547 listing of all files at or below the given directory which are | |
6548 currently locked (for CVS, all files not up-to-date are shown). | |
6549 | |
6550 You can change the listing format by setting vc-dired-recurse to nil, | |
6551 then it shows only the given directory, and you may also set | |
6552 vc-dired-terse-display to nil, then it shows all files under version | |
6553 control plus the names of any subdirectories, so that you can type `i' | |
6554 on such lines to insert them manually, as in ordinary Dired. | |
6555 | |
6556 All Dired commands operate normally in VC Dired, except for `v', which | |
6557 is redefined as the version control prefix. That means you may type | |
6558 `v l', `v =' etc. to invoke `vc-print-log', `vc-diff' and the like on | |
6559 the file named in the current Dired buffer line. `v v' invokes | |
6560 `vc-next-action' on this file, or on all files currently marked. | |
6561 | |
6562 The new command `v t' (vc-dired-toggle-terse-mode) allows you to | |
6563 toggle between terse display (only locked files) and full display (all | |
6564 VC files plus subdirectories). There is also a special command, | |
6565 `* l', to mark all files currently locked. | |
6566 | |
6567 Giving a prefix argument to C-x v d now does the same thing as in | |
6568 ordinary Dired: it allows you to supply additional options for the ls | |
6569 command in the minibuffer, to fine-tune VC Dired's output. | |
6570 | |
6571 *** Under CVS, if you merge changes from the repository into a working | |
6572 file, and CVS detects conflicts, VC now offers to start an ediff | |
6573 session to resolve them. | |
6574 | |
6575 Alternatively, you can use the new command `vc-resolve-conflicts' to | |
6576 resolve conflicts in a file at any time. It works in any buffer that | |
6577 contains conflict markers as generated by rcsmerge (which is what CVS | |
6578 uses as well). | |
6579 | |
6580 *** You can now transfer changes between branches, using the new | |
6581 command vc-merge (C-x v m). It is implemented for RCS and CVS. When | |
6582 you invoke it in a buffer under version-control, you can specify | |
6583 either an entire branch or a pair of versions, and the changes on that | |
6584 branch or between the two versions are merged into the working file. | |
6585 If this results in any conflicts, they may be resolved interactively, | |
6586 using ediff. | |
6587 | |
6588 ** Changes in Font Lock | |
6589 | |
6590 *** The face and variable previously known as font-lock-reference-face | |
6591 are now called font-lock-constant-face to better reflect their typical | |
6592 use for highlighting constants and labels. (Its face properties are | |
6593 unchanged.) The variable font-lock-reference-face remains for now for | |
6594 compatibility reasons, but its value is font-lock-constant-face. | |
6595 | |
6596 ** Frame name display changes | |
6597 | |
6598 *** The command set-frame-name lets you set the name of the current | |
6599 frame. You can use the new command select-frame-by-name to select and | |
6600 raise a frame; this is mostly useful on character-only terminals, or | |
6601 when many frames are invisible or iconified. | |
6602 | |
6603 *** On character-only terminal (not a window system), changing the | |
6604 frame name is now reflected on the mode line and in the Buffers/Frames | |
6605 menu. | |
6606 | |
6607 ** Comint (subshell) changes | |
6608 | |
6609 *** In Comint modes, the commands to kill, stop or interrupt a | |
6610 subjob now also kill pending input. This is for compatibility | |
6611 with ordinary shells, where the signal characters do this. | |
6612 | |
6613 *** There are new commands in Comint mode. | |
6614 | |
6615 C-c C-x fetches the "next" line from the input history; | |
6616 that is, the line after the last line you got. | |
6617 You can use this command to fetch successive lines, one by one. | |
6618 | |
6619 C-c SPC accumulates lines of input. More precisely, it arranges to | |
6620 send the current line together with the following line, when you send | |
6621 the following line. | |
6622 | |
6623 C-c C-a if repeated twice consecutively now moves to the process mark, | |
6624 which separates the pending input from the subprocess output and the | |
6625 previously sent input. | |
6626 | |
6627 C-c M-r now runs comint-previous-matching-input-from-input; | |
6628 it searches for a previous command, using the current pending input | |
6629 as the search string. | |
6630 | |
6631 *** New option compilation-scroll-output can be set to scroll | |
6632 automatically in compilation-mode windows. | |
6633 | |
6634 ** C mode changes | |
6635 | |
6636 *** Multiline macros are now handled, both as they affect indentation, | |
6637 and as recognized syntax. New syntactic symbol cpp-macro-cont is | |
6638 assigned to second and subsequent lines of a multiline macro | |
6639 definition. | |
6640 | |
6641 *** A new style "user" which captures all non-hook-ified | |
6642 (i.e. top-level) .emacs file variable settings and customizations. | |
6643 Style "cc-mode" is an alias for "user" and is deprecated. "gnu" | |
6644 style is still the default however. | |
6645 | |
6646 *** "java" style now conforms to Sun's JDK coding style. | |
6647 | |
6648 *** There are new commands c-beginning-of-defun, c-end-of-defun which | |
6649 are alternatives which you could bind to C-M-a and C-M-e if you prefer | |
6650 them. They do not have key bindings by default. | |
6651 | |
6652 *** New and improved implementations of M-a (c-beginning-of-statement) | |
6653 and M-e (c-end-of-statement). | |
6654 | |
6655 *** C++ namespace blocks are supported, with new syntactic symbols | |
6656 namespace-open, namespace-close, and innamespace. | |
6657 | |
6658 *** File local variable settings of c-file-style and c-file-offsets | |
6659 makes the style variables local to that buffer only. | |
6660 | |
6661 *** New indentation functions c-lineup-close-paren, | |
6662 c-indent-one-line-block, c-lineup-dont-change. | |
6663 | |
6664 *** Improvements (hopefully!) to the way CC Mode is loaded. You | |
6665 should now be able to do a (require 'cc-mode) to get the entire | |
6666 package loaded properly for customization in your .emacs file. A new | |
6667 variable c-initialize-on-load controls this and is t by default. | |
6668 | |
6669 ** Changes to hippie-expand. | |
6670 | |
6671 *** New customization variable `hippie-expand-dabbrev-skip-space'. If | |
6672 non-nil, trailing spaces may be included in the abbreviation to search for, | |
6673 which then gives the same behavior as the original `dabbrev-expand'. | |
6674 | |
6675 *** New customization variable `hippie-expand-dabbrev-as-symbol'. If | |
6676 non-nil, characters of syntax '_' is considered part of the word when | |
6677 expanding dynamically. | |
6678 | |
6679 *** New customization variable `hippie-expand-no-restriction'. If | |
6680 non-nil, narrowed buffers are widened before they are searched. | |
6681 | |
6682 *** New customization variable `hippie-expand-only-buffers'. If | |
6683 non-empty, buffers searched are restricted to the types specified in | |
6684 this list. Useful for example when constructing new special-purpose | |
6685 expansion functions with `make-hippie-expand-function'. | |
6686 | |
6687 *** Text properties of the expansion are no longer copied. | |
6688 | |
6689 ** Changes in BibTeX mode. | |
6690 | |
6691 *** Any titleword matching a regexp in the new variable | |
6692 bibtex-autokey-titleword-ignore (case sensitive) is ignored during | |
6693 automatic key generation. This replaces variable | |
6694 bibtex-autokey-titleword-first-ignore, which only checked for matches | |
6695 against the first word in the title. | |
6696 | |
6697 *** Autokey generation now uses all words from the title, not just | |
6698 capitalized words. To avoid conflicts with existing customizations, | |
6699 bibtex-autokey-titleword-ignore is set up such that words starting with | |
6700 lowerkey characters will still be ignored. Thus, if you want to use | |
6701 lowercase words from the title, you will have to overwrite the | |
6702 bibtex-autokey-titleword-ignore standard setting. | |
6703 | |
6704 *** Case conversion of names and title words for automatic key | |
6705 generation is more flexible. Variable bibtex-autokey-preserve-case is | |
6706 replaced by bibtex-autokey-titleword-case-convert and | |
6707 bibtex-autokey-name-case-convert. | |
6708 | |
6709 ** Changes in vcursor.el. | |
6710 | |
6711 *** Support for character terminals is available: there is a new keymap | |
6712 and the vcursor will appear as an arrow between buffer text. A | |
6713 variable `vcursor-interpret-input' allows input from the vcursor to be | |
6714 entered exactly as if typed. Numerous functions, including | |
6715 `vcursor-compare-windows', have been rewritten to improve consistency | |
6716 in the selection of windows and corresponding keymaps. | |
6717 | |
6718 *** vcursor options can now be altered with M-x customize under the | |
6719 Editing group once the package is loaded. | |
6720 | |
6721 *** Loading vcursor now does not define keys by default, as this is | |
6722 generally a bad side effect. Use M-x customize to set | |
35680 | 6723 vcursor-key-bindings to t to restore the old behavior. |
30922 | 6724 |
6725 *** vcursor-auto-disable can be `copy', which turns off copying from the | |
6726 vcursor, but doesn't disable it, after any non-vcursor command. | |
6727 | |
6728 ** Ispell changes. | |
6729 | |
6730 *** You can now spell check comments and strings in the current | |
6731 buffer with M-x ispell-comments-and-strings. Comments and strings | |
6732 are identified by syntax tables in effect. | |
6733 | |
6734 *** Generic region skipping implemented. | |
6735 A single buffer can be broken into a number of regions where text will | |
6736 and will not be checked. The definitions of the regions can be user | |
6737 defined. New applications and improvements made available by this | |
6738 include: | |
6739 | |
6740 o URLs are automatically skipped | |
6741 o EMail message checking is vastly improved. | |
6742 | |
6743 *** Ispell can highlight the erroneous word even on non-window terminals. | |
6744 | |
6745 ** Changes to RefTeX mode | |
6746 | |
6747 RefTeX has been updated in order to make it more usable with very | |
6748 large projects (like a several volume math book). The parser has been | |
6749 re-written from scratch. To get maximum speed from RefTeX, check the | |
6750 section `Optimizations' in the manual. | |
6751 | |
6752 *** New recursive parser. | |
6753 | |
6754 The old version of RefTeX created a single large buffer containing the | |
6755 entire multifile document in order to parse the document. The new | |
6756 recursive parser scans the individual files. | |
6757 | |
6758 *** Parsing only part of a document. | |
6759 | |
6760 Reparsing of changed document parts can now be made faster by enabling | |
6761 partial scans. To use this feature, read the documentation string of | |
6762 the variable `reftex-enable-partial-scans' and set the variable to t. | |
6763 | |
6764 (setq reftex-enable-partial-scans t) | |
6765 | |
6766 *** Storing parsing information in a file. | |
6767 | |
6768 This can improve startup times considerably. To turn it on, use | |
6769 | |
6770 (setq reftex-save-parse-info t) | |
6771 | |
6772 *** Using multiple selection buffers | |
6773 | |
6774 If the creation of label selection buffers is too slow (this happens | |
6775 for large documents), you can reuse these buffers by setting | |
6776 | |
6777 (setq reftex-use-multiple-selection-buffers t) | |
6778 | |
6779 *** References to external documents. | |
6780 | |
6781 The LaTeX package `xr' allows to cross-reference labels in external | |
6782 documents. RefTeX can provide information about the external | |
6783 documents as well. To use this feature, set up the \externaldocument | |
6784 macros required by the `xr' package and rescan the document with | |
6785 RefTeX. The external labels can then be accessed with the `x' key in | |
6786 the selection buffer provided by `reftex-reference' (bound to `C-c )'). | |
6787 The `x' key also works in the table of contents buffer. | |
6788 | |
6789 *** Many more labeled LaTeX environments are recognized by default. | |
6790 | |
35680 | 6791 The built-in command list now covers all the standard LaTeX commands, |
30922 | 6792 and all of the major packages included in the LaTeX distribution. |
6793 | |
6794 Also, RefTeX now understands the \appendix macro and changes | |
6795 the enumeration of sections in the *toc* buffer accordingly. | |
6796 | |
6797 *** Mouse support for selection and *toc* buffers | |
6798 | |
6799 The mouse can now be used to select items in the selection and *toc* | |
6800 buffers. See also the new option `reftex-highlight-selection'. | |
6801 | |
6802 *** New keymaps for selection and table of contents modes. | |
6803 | |
6804 The selection processes for labels and citation keys, and the table of | |
6805 contents buffer now have their own keymaps: `reftex-select-label-map', | |
6806 `reftex-select-bib-map', `reftex-toc-map'. The selection processes | |
6807 have a number of new keys predefined. In particular, TAB lets you | |
6808 enter a label with completion. Check the on-the-fly help (press `?' | |
6809 at the selection prompt) or read the Info documentation to find out | |
6810 more. | |
6811 | |
6812 *** Support for the varioref package | |
6813 | |
6814 The `v' key in the label selection buffer toggles \ref versus \vref. | |
6815 | |
6816 *** New hooks | |
6817 | |
6818 Three new hooks can be used to redefine the way labels, references, | |
6819 and citations are created. These hooks are | |
6820 `reftex-format-label-function', `reftex-format-ref-function', | |
6821 `reftex-format-cite-function'. | |
6822 | |
6823 *** Citations outside LaTeX | |
6824 | |
6825 The command `reftex-citation' may also be used outside LaTeX (e.g. in | |
6826 a mail buffer). See the Info documentation for details. | |
6827 | |
6828 *** Short context is no longer fontified. | |
6829 | |
6830 The short context in the label menu no longer copies the | |
6831 fontification from the text in the buffer. If you prefer it to be | |
6832 fontified, use | |
6833 | |
6834 (setq reftex-refontify-context t) | |
6835 | |
6836 ** file-cache-minibuffer-complete now accepts a prefix argument. | |
6837 With a prefix argument, it does not try to do completion of | |
6838 the file name within its directory; it only checks for other | |
6839 directories that contain the same file name. | |
6840 | |
6841 Thus, given the file name Makefile, and assuming that a file | |
6842 Makefile.in exists in the same directory, ordinary | |
6843 file-cache-minibuffer-complete will try to complete Makefile to | |
6844 Makefile.in and will therefore never look for other directories that | |
6845 have Makefile. A prefix argument tells it not to look for longer | |
6846 names such as Makefile.in, so that instead it will look for other | |
6847 directories--just as if the name were already complete in its present | |
6848 directory. | |
6849 | |
6850 ** New modes and packages | |
6851 | |
6852 *** There is a new alternative major mode for Perl, Cperl mode. | |
6853 It has many more features than Perl mode, and some people prefer | |
6854 it, but some do not. | |
6855 | |
6856 *** There is a new major mode, M-x vhdl-mode, for editing files of VHDL | |
6857 code. | |
6858 | |
6859 *** M-x which-function-mode enables a minor mode that displays the | |
6860 current function name continuously in the mode line, as you move | |
6861 around in a buffer. | |
6862 | |
6863 Which Function mode is effective in major modes which support Imenu. | |
6864 | |
6865 *** Gametree is a major mode for editing game analysis trees. The author | |
6866 uses it for keeping notes about his postal Chess games, but it should | |
6867 be helpful for other two-player games as well, as long as they have an | |
6868 established system of notation similar to Chess. | |
6869 | |
6870 *** The new minor mode checkdoc-minor-mode provides Emacs Lisp | |
6871 documentation string checking for style and spelling. The style | |
6872 guidelines are found in the Emacs Lisp programming manual. | |
6873 | |
6874 *** The net-utils package makes some common networking features | |
6875 available in Emacs. Some of these functions are wrappers around | |
6876 system utilities (ping, nslookup, etc); others are implementations of | |
6877 simple protocols (finger, whois) in Emacs Lisp. There are also | |
6878 functions to make simple connections to TCP/IP ports for debugging and | |
6879 the like. | |
6880 | |
6881 *** highlight-changes-mode is a minor mode that uses colors to | |
6882 identify recently changed parts of the buffer text. | |
6883 | |
6884 *** The new package `midnight' lets you specify things to be done | |
6885 within Emacs at midnight--by default, kill buffers that you have not | |
6886 used in a considerable time. To use this feature, customize | |
6887 the user option `midnight-mode' to t. | |
6888 | |
6889 *** The file generic-x.el defines a number of simple major modes. | |
6890 | |
6891 apache-generic-mode: For Apache and NCSA httpd configuration files | |
6892 samba-generic-mode: Samba configuration files | |
6893 fvwm-generic-mode: For fvwm initialization files | |
6894 x-resource-generic-mode: For X resource files | |
6895 hosts-generic-mode: For hosts files (.rhosts, /etc/hosts, etc) | |
6896 mailagent-rules-generic-mode: For mailagent .rules files | |
6897 javascript-generic-mode: For JavaScript files | |
6898 vrml-generic-mode: For VRML files | |
6899 java-manifest-generic-mode: For Java MANIFEST files | |
6900 java-properties-generic-mode: For Java property files | |
6901 mailrc-generic-mode: For .mailrc files | |
6902 | |
6903 Platform-specific modes: | |
6904 | |
6905 prototype-generic-mode: For Solaris/Sys V prototype files | |
6906 pkginfo-generic-mode: For Solaris/Sys V pkginfo files | |
6907 alias-generic-mode: For C shell alias files | |
6908 inf-generic-mode: For MS-Windows INF files | |
6909 ini-generic-mode: For MS-Windows INI files | |
6910 reg-generic-mode: For MS-Windows Registry files | |
6911 bat-generic-mode: For MS-Windows BAT scripts | |
6912 rc-generic-mode: For MS-Windows Resource files | |
6913 rul-generic-mode: For InstallShield scripts | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6914 |
30922 | 6915 * Lisp changes in Emacs 20.3 since the Emacs Lisp Manual was published |
6916 | |
6917 ** If you want a Lisp file to be read in unibyte mode, | |
6918 use -*-unibyte: t;-*- on its first line. | |
6919 That will force Emacs to read that file in unibyte mode. | |
6920 Otherwise, the file will be loaded and byte-compiled in multibyte mode. | |
6921 | |
6922 Thus, each lisp file is read in a consistent way regardless of whether | |
6923 you started Emacs with --unibyte, so that a Lisp program gives | |
6924 consistent results regardless of how Emacs was started. | |
6925 | |
6926 ** The new function assoc-default is useful for searching an alist, | |
6927 and using a default value if the key is not found there. You can | |
6928 specify a comparison predicate, so this function is useful for | |
6929 searching comparing a string against an alist of regular expressions. | |
6930 | |
6931 ** The functions unibyte-char-to-multibyte and | |
6932 multibyte-char-to-unibyte convert between unibyte and multibyte | |
6933 character codes, in a way that is appropriate for the current language | |
6934 environment. | |
6935 | |
6936 ** The functions read-event, read-char and read-char-exclusive now | |
6937 take two optional arguments. PROMPT, if non-nil, specifies a prompt | |
6938 string. SUPPRESS-INPUT-METHOD, if non-nil, says to disable the | |
6939 current input method for reading this one event. | |
6940 | |
6941 ** Two new variables print-escape-nonascii and print-escape-multibyte | |
6942 now control whether to output certain characters as | |
6943 backslash-sequences. print-escape-nonascii applies to single-byte | |
6944 non-ASCII characters; print-escape-multibyte applies to multibyte | |
6945 characters. Both of these variables are used only when printing | |
6946 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
|
6947 |
30922 | 6948 * Lisp changes in Emacs 20.3 before the Emacs Lisp Manual was published |
6949 | |
6950 ** Compiled Emacs Lisp files made with the modified "MBSK" version | |
6951 of Emacs 20.2 do not work in Emacs 20.3. | |
6952 | |
6953 ** Buffer positions are now measured in characters, as they were | |
6954 in Emacs 19 and before. This means that (forward-char 1) | |
6955 always increases point by 1. | |
6956 | |
6957 The function chars-in-region now just subtracts its arguments. It is | |
6958 considered obsolete. The function char-boundary-p has been deleted. | |
6959 | |
6960 See below for additional changes relating to multibyte characters. | |
6961 | |
6962 ** defcustom, defface and defgroup now accept the keyword `:version'. | |
6963 Use this to specify in which version of Emacs a certain variable's | |
6964 default value changed. For example, | |
6965 | |
6966 (defcustom foo-max 34 "*Maximum number of foo's allowed." | |
6967 :type 'integer | |
6968 :group 'foo | |
6969 :version "20.3") | |
6970 | |
6971 (defgroup foo-group nil "The foo group." | |
6972 :version "20.3") | |
6973 | |
6974 If an entire new group is added or the variables in it have the | |
6975 default values changed, then just add a `:version' to that group. It | |
6976 is recommended that new packages added to the distribution contain a | |
6977 `:version' in the top level group. | |
6978 | |
6979 This information is used to control the customize-changed-options command. | |
6980 | |
6981 ** It is now an error to change the value of a symbol whose name | |
6982 starts with a colon--if it is interned in the standard obarray. | |
6983 | |
6984 However, setting such a symbol to its proper value, which is that | |
6985 symbol itself, is not an error. This is for the sake of programs that | |
6986 support previous Emacs versions by explicitly setting these variables | |
6987 to themselves. | |
6988 | |
6989 If you set the variable keyword-symbols-constant-flag to nil, | |
6990 this error is suppressed, and you can set these symbols to any | |
6991 values whatever. | |
6992 | |
6993 ** There is a new debugger command, R. | |
6994 It evaluates an expression like e, but saves the result | |
6995 in the buffer *Debugger-record*. | |
6996 | |
6997 ** Frame-local variables. | |
6998 | |
6999 You can now make a variable local to various frames. To do this, call | |
7000 the function make-variable-frame-local; this enables frames to have | |
7001 local bindings for that variable. | |
7002 | |
7003 These frame-local bindings are actually frame parameters: you create a | |
7004 frame-local binding in a specific frame by calling | |
7005 modify-frame-parameters and specifying the variable name as the | |
7006 parameter name. | |
7007 | |
7008 Buffer-local bindings take precedence over frame-local bindings. | |
7009 Thus, if the current buffer has a buffer-local binding, that binding is | |
7010 active; otherwise, if the selected frame has a frame-local binding, | |
7011 that binding is active; otherwise, the default binding is active. | |
7012 | |
7013 It would not be hard to implement window-local bindings, but it is not | |
7014 clear that this would be very useful; windows tend to come and go in a | |
7015 very transitory fashion, so that trying to produce any specific effect | |
7016 through a window-local binding would not be very robust. | |
7017 | |
7018 ** `sregexq' and `sregex' are two new functions for constructing | |
7019 "symbolic regular expressions." These are Lisp expressions that, when | |
7020 evaluated, yield conventional string-based regexps. The symbolic form | |
7021 makes it easier to construct, read, and maintain complex patterns. | |
7022 See the documentation in sregex.el. | |
7023 | |
7024 ** parse-partial-sexp's return value has an additional element which | |
7025 is used to pass information along if you pass it to another call to | |
7026 parse-partial-sexp, starting its scan where the first call ended. | |
7027 The contents of this field are not yet finalized. | |
7028 | |
7029 ** eval-region now accepts a fourth optional argument READ-FUNCTION. | |
7030 If it is non-nil, that function is used instead of `read'. | |
7031 | |
7032 ** unload-feature by default removes the feature's functions from | |
7033 known hooks to avoid trouble, but a package providing FEATURE can | |
7034 define a hook FEATURE-unload-hook to be run by unload-feature instead. | |
7035 | |
7036 ** read-from-minibuffer no longer returns the argument DEFAULT-VALUE | |
7037 when the user enters empty input. It now returns the null string, as | |
7038 it did in Emacs 19. The default value is made available in the | |
7039 history via M-n, but it is not applied here as a default. | |
7040 | |
7041 The other, more specialized minibuffer-reading functions continue to | |
7042 return the default value (not the null string) when the user enters | |
7043 empty input. | |
7044 | |
7045 ** The new variable read-buffer-function controls which routine to use | |
7046 for selecting buffers. For example, if you set this variable to | |
7047 `iswitchb-read-buffer', iswitchb will be used to read buffer names. | |
7048 Other functions can also be used if they accept the same arguments as | |
7049 `read-buffer' and return the selected buffer name as a string. | |
7050 | |
7051 ** The new function read-passwd reads a password from the terminal, | |
7052 echoing a period for each character typed. It takes three arguments: | |
7053 a prompt string, a flag which says "read it twice to make sure", and a | |
7054 default password to use if the user enters nothing. | |
7055 | |
7056 ** The variable fill-nobreak-predicate gives major modes a way to | |
7057 specify not to break a line at certain places. Its value is a | |
7058 function which is called with no arguments, with point located at the | |
7059 place where a break is being considered. If the function returns | |
7060 non-nil, then the line won't be broken there. | |
7061 | |
7062 ** window-end now takes an optional second argument, UPDATE. | |
7063 If this is non-nil, then the function always returns an accurate | |
7064 up-to-date value for the buffer position corresponding to the | |
7065 end of the window, even if this requires computation. | |
7066 | |
7067 ** other-buffer now takes an optional argument FRAME | |
7068 which specifies which frame's buffer list to use. | |
7069 If it is nil, that means use the selected frame's buffer list. | |
7070 | |
7071 ** The new variable buffer-display-time, always local in every buffer, | |
7072 holds the value of (current-time) as of the last time that a window | |
7073 was directed to display this buffer. | |
7074 | |
7075 ** It is now meaningful to compare two window-configuration objects | |
7076 with `equal'. Two window-configuration objects are equal if they | |
7077 describe equivalent arrangements of windows, in the same frame--in | |
7078 other words, if they would give the same results if passed to | |
7079 set-window-configuration. | |
7080 | |
7081 ** compare-window-configurations is a new function that compares two | |
7082 window configurations loosely. It ignores differences in saved buffer | |
7083 positions and scrolling, and considers only the structure and sizes of | |
7084 windows and the choice of buffers to display. | |
7085 | |
7086 ** The variable minor-mode-overriding-map-alist allows major modes to | |
7087 override the key bindings of a minor mode. The elements of this alist | |
7088 look like the elements of minor-mode-map-alist: (VARIABLE . KEYMAP). | |
7089 | |
7090 If the VARIABLE in an element of minor-mode-overriding-map-alist has a | |
7091 non-nil value, the paired KEYMAP is active, and totally overrides the | |
7092 map (if any) specified for the same variable in minor-mode-map-alist. | |
7093 | |
7094 minor-mode-overriding-map-alist is automatically local in all buffers, | |
7095 and it is meant to be set by major modes. | |
7096 | |
7097 ** The function match-string-no-properties is like match-string | |
7098 except that it discards all text properties from the result. | |
7099 | |
7100 ** The function load-average now accepts an optional argument | |
7101 USE-FLOATS. If it is non-nil, the load average values are returned as | |
7102 floating point numbers, rather than as integers to be divided by 100. | |
7103 | |
7104 ** The new variable temporary-file-directory specifies the directory | |
7105 to use for creating temporary files. The default value is determined | |
7106 in a reasonable way for your operating system; on GNU and Unix systems | |
7107 it is based on the TMP and TMPDIR environment variables. | |
7108 | |
7109 ** Menu changes | |
7110 | |
7111 *** easymenu.el now uses the new menu item format and supports the | |
7112 keywords :visible and :filter. The existing keyword :keys is now | |
7113 better supported. | |
7114 | |
7115 The variable `easy-menu-precalculate-equivalent-keybindings' controls | |
7116 a new feature which calculates keyboard equivalents for the menu when | |
7117 you define the menu. The default is t. If you rarely use menus, you | |
7118 can set the variable to nil to disable this precalculation feature; | |
7119 then the calculation is done only if you use the menu bar. | |
7120 | |
7121 *** A new format for menu items is supported. | |
7122 | |
7123 In a keymap, a key binding that has the format | |
7124 (STRING . REAL-BINDING) or (STRING HELP-STRING . REAL-BINDING) | |
7125 defines a menu item. Now a menu item definition may also be a list that | |
7126 starts with the symbol `menu-item'. | |
7127 | |
7128 The format is: | |
7129 (menu-item ITEM-NAME) or | |
7130 (menu-item ITEM-NAME REAL-BINDING . ITEM-PROPERTY-LIST) | |
7131 where ITEM-NAME is an expression which evaluates to the menu item | |
7132 string, and ITEM-PROPERTY-LIST has the form of a property list. | |
7133 The supported properties include | |
7134 | |
7135 :enable FORM Evaluate FORM to determine whether the | |
7136 item is enabled. | |
7137 :visible FORM Evaluate FORM to determine whether the | |
7138 item should appear in the menu. | |
7139 :filter FILTER-FN | |
7140 FILTER-FN is a function of one argument, | |
7141 which will be REAL-BINDING. | |
7142 It should return a binding to use instead. | |
7143 :keys DESCRIPTION | |
7144 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
|
7145 binding for REAL-BINDING. DESCRIPTION is expanded with |
30922 | 7146 `substitute-command-keys' before it is used. |
7147 :key-sequence KEY-SEQUENCE | |
7148 KEY-SEQUENCE is a key-sequence for an equivalent | |
7149 keyboard binding. | |
7150 :key-sequence nil | |
7151 This means that the command normally has no | |
7152 keyboard equivalent. | |
7153 :help HELP HELP is the extra help string (not currently used). | |
7154 :button (TYPE . SELECTED) | |
7155 TYPE is :toggle or :radio. | |
7156 SELECTED is a form, to be evaluated, and its | |
7157 value says whether this button is currently selected. | |
7158 | |
7159 Buttons are at the moment only simulated by prefixes in the menu. | |
7160 Eventually ordinary X-buttons may be supported. | |
7161 | |
7162 (menu-item ITEM-NAME) defines unselectable item. | |
7163 | |
7164 ** New event types | |
7165 | |
7166 *** The new event type `mouse-wheel' is generated by a wheel on a | |
7167 mouse (such as the MS Intellimouse). The event contains a delta that | |
7168 corresponds to the amount and direction that the wheel is rotated, | |
7169 which is typically used to implement a scroll or zoom. The format is: | |
7170 | |
7171 (mouse-wheel POSITION DELTA) | |
7172 | |
7173 where POSITION is a list describing the position of the event in the | |
7174 same format as a mouse-click event, and DELTA is a signed number | |
7175 indicating the number of increments by which the wheel was rotated. A | |
7176 negative DELTA indicates that the wheel was rotated backwards, towards | |
7177 the user, and a positive DELTA indicates that the wheel was rotated | |
7178 forward, away from the user. | |
7179 | |
7180 As of now, this event type is generated only on MS Windows. | |
7181 | |
7182 *** The new event type `drag-n-drop' is generated when a group of | |
7183 files is selected in an application outside of Emacs, and then dragged | |
7184 and dropped onto an Emacs frame. The event contains a list of | |
7185 filenames that were dragged and dropped, which are then typically | |
7186 loaded into Emacs. The format is: | |
7187 | |
7188 (drag-n-drop POSITION FILES) | |
7189 | |
7190 where POSITION is a list describing the position of the event in the | |
7191 same format as a mouse-click event, and FILES is the list of filenames | |
7192 that were dragged and dropped. | |
7193 | |
7194 As of now, this event type is generated only on MS Windows. | |
7195 | |
7196 ** Changes relating to multibyte characters. | |
7197 | |
7198 *** The variable enable-multibyte-characters is now read-only; | |
7199 any attempt to set it directly signals an error. The only way | |
7200 to change this value in an existing buffer is with set-buffer-multibyte. | |
7201 | |
7202 *** In a string constant, `\ ' now stands for "nothing at all". You | |
7203 can use it to terminate a hex escape which is followed by a character | |
7204 that could otherwise be read as part of the hex escape. | |
7205 | |
7206 *** String indices are now measured in characters, as they were | |
7207 in Emacs 19 and before. | |
7208 | |
7209 The function chars-in-string has been deleted. | |
7210 The function concat-chars has been renamed to `string'. | |
7211 | |
7212 *** The function set-buffer-multibyte sets the flag in the current | |
7213 buffer that says whether the buffer uses multibyte representation or | |
7214 unibyte representation. If the argument is nil, it selects unibyte | |
7215 representation. Otherwise it selects multibyte representation. | |
7216 | |
7217 This function does not change the contents of the buffer, viewed | |
7218 as a sequence of bytes. However, it does change the contents | |
7219 viewed as characters; a sequence of two bytes which is treated as | |
7220 one character when the buffer uses multibyte representation | |
7221 will count as two characters using unibyte representation. | |
7222 | |
7223 This function sets enable-multibyte-characters to record which | |
7224 representation is in use. It also adjusts various data in the buffer | |
7225 (including its markers, overlays and text properties) so that they are | |
7226 consistent with the new representation. | |
7227 | |
7228 *** string-make-multibyte takes a string and converts it to multibyte | |
7229 representation. Most of the time, you don't need to care | |
7230 about the representation, because Emacs converts when necessary; | |
7231 however, it makes a difference when you compare strings. | |
7232 | |
7233 The conversion of non-ASCII characters works by adding the value of | |
7234 nonascii-insert-offset to each character, or by translating them | |
7235 using the table nonascii-translation-table. | |
7236 | |
7237 *** string-make-unibyte takes a string and converts it to unibyte | |
7238 representation. Most of the time, you don't need to care about the | |
7239 representation, but it makes a difference when you compare strings. | |
7240 | |
7241 The conversion from multibyte to unibyte representation | |
7242 loses information; the only time Emacs performs it automatically | |
7243 is when inserting a multibyte string into a unibyte buffer. | |
7244 | |
7245 *** string-as-multibyte takes a string, and returns another string | |
7246 which contains the same bytes, but treats them as multibyte. | |
7247 | |
7248 *** string-as-unibyte takes a string, and returns another string | |
7249 which contains the same bytes, but treats them as unibyte. | |
7250 | |
7251 *** The new function compare-strings lets you compare | |
7252 portions of two strings. Unibyte strings are converted to multibyte, | |
7253 so that a unibyte string can match a multibyte string. | |
7254 You can specify whether to ignore case or not. | |
7255 | |
7256 *** assoc-ignore-case now uses compare-strings so that | |
7257 it can treat unibyte and multibyte strings as equal. | |
7258 | |
7259 *** Regular expression operations and buffer string searches now | |
7260 convert the search pattern to multibyte or unibyte to accord with the | |
7261 buffer or string being searched. | |
7262 | |
7263 One consequence is that you cannot always use \200-\377 inside of | |
7264 [...] to match all non-ASCII characters. This does still work when | |
7265 searching or matching a unibyte buffer or string, but not when | |
7266 searching or matching a multibyte string. Unfortunately, there is no | |
7267 obvious choice of syntax to use within [...] for that job. But, what | |
7268 you want is just to match all non-ASCII characters, the regular | |
7269 expression [^\0-\177] works for it. | |
7270 | |
7271 *** Structure of coding system changed. | |
7272 | |
7273 All coding systems (including aliases and subsidiaries) are named | |
7274 by symbols; the symbol's `coding-system' property is a vector | |
7275 which defines the coding system. Aliases share the same vector | |
7276 as the principal name, so that altering the contents of this | |
7277 vector affects the principal name and its aliases. You can define | |
7278 your own alias name of a coding system by the function | |
7279 define-coding-system-alias. | |
7280 | |
7281 The coding system definition includes a property list of its own. Use | |
7282 the new functions `coding-system-get' and `coding-system-put' to | |
7283 access such coding system properties as post-read-conversion, | |
7284 pre-write-conversion, character-translation-table-for-decode, | |
7285 character-translation-table-for-encode, mime-charset, and | |
7286 safe-charsets. For instance, (coding-system-get 'iso-latin-1 | |
7287 'mime-charset) gives the corresponding MIME-charset parameter | |
7288 `iso-8859-1'. | |
7289 | |
7290 Among the coding system properties listed above, safe-charsets is new. | |
7291 The value of this property is a list of character sets which this | |
7292 coding system can correctly encode and decode. For instance: | |
7293 (coding-system-get 'iso-latin-1 'safe-charsets) => (ascii latin-iso8859-1) | |
7294 | |
7295 Here, "correctly encode" means that the encoded character sets can | |
7296 also be handled safely by systems other than Emacs as far as they | |
7297 are capable of that coding system. Though, Emacs itself can encode | |
7298 the other character sets and read it back correctly. | |
7299 | |
7300 *** The new function select-safe-coding-system can be used to find a | |
7301 proper coding system for encoding the specified region or string. | |
7302 This function requires a user interaction. | |
7303 | |
7304 *** The new functions find-coding-systems-region and | |
7305 find-coding-systems-string are helper functions used by | |
7306 select-safe-coding-system. They return a list of all proper coding | |
7307 systems to encode a text in some region or string. If you don't want | |
7308 a user interaction, use one of these functions instead of | |
7309 select-safe-coding-system. | |
7310 | |
7311 *** The explicit encoding and decoding functions, such as | |
7312 decode-coding-region and encode-coding-string, now set | |
7313 last-coding-system-used to reflect the actual way encoding or decoding | |
7314 was done. | |
7315 | |
7316 *** The new function detect-coding-with-language-environment can be | |
7317 used to detect a coding system of text according to priorities of | |
7318 coding systems used by some specific language environment. | |
7319 | |
7320 *** The functions detect-coding-region and detect-coding-string always | |
7321 return a list if the arg HIGHEST is nil. Thus, if only ASCII | |
7322 characters are found, they now return a list of single element | |
7323 `undecided' or its subsidiaries. | |
7324 | |
7325 *** The new functions coding-system-change-eol-conversion and | |
7326 coding-system-change-text-conversion can be used to get a different | |
7327 coding system than what specified only in how end-of-line or text is | |
7328 converted. | |
7329 | |
7330 *** The new function set-selection-coding-system can be used to set a | |
7331 coding system for communicating with other X clients. | |
7332 | |
7333 *** The function `map-char-table' now passes as argument only valid | |
7334 character codes, plus generic characters that stand for entire | |
7335 character sets or entire subrows of a character set. In other words, | |
7336 each time `map-char-table' calls its FUNCTION argument, the key value | |
7337 either will be a valid individual character code, or will stand for a | |
7338 range of characters. | |
7339 | |
7340 *** The new function `char-valid-p' can be used for checking whether a | |
7341 Lisp object is a valid character code or not. | |
7342 | |
7343 *** The new function `charset-after' returns a charset of a character | |
7344 in the current buffer at position POS. | |
7345 | |
7346 *** Input methods are now implemented using the variable | |
7347 input-method-function. If this is non-nil, its value should be a | |
7348 function; then, whenever Emacs reads an input event that is a printing | |
7349 character with no modifier bits, it calls that function, passing the | |
7350 event as an argument. Often this function will read more input, first | |
7351 binding input-method-function to nil. | |
7352 | |
7353 The return value should be a list of the events resulting from input | |
7354 method processing. These events will be processed sequentially as | |
7355 input, before resorting to unread-command-events. Events returned by | |
7356 the input method function are not passed to the input method function, | |
7357 not even if they are printing characters with no modifier bits. | |
7358 | |
7359 The input method function is not called when reading the second and | |
7360 subsequent events of a key sequence. | |
7361 | |
7362 *** You can customize any language environment by using | |
7363 set-language-environment-hook and exit-language-environment-hook. | |
7364 | |
7365 The hook `exit-language-environment-hook' should be used to undo | |
7366 customizations that you made with set-language-environment-hook. For | |
7367 instance, if you set up a special key binding for a specific language | |
7368 environment by set-language-environment-hook, you should set up | |
7369 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
|
7370 |
30922 | 7371 * Changes in Emacs 20.1 |
7372 | |
7373 ** Emacs has a new facility for customization of its many user | |
7374 options. It is called M-x customize. With this facility you can look | |
7375 at the many user options in an organized way; they are grouped into a | |
7376 tree structure. | |
7377 | |
7378 M-x customize also knows what sorts of values are legitimate for each | |
7379 user option and ensures that you don't use invalid values. | |
7380 | |
7381 With M-x customize, you can set options either for the present Emacs | |
7382 session or permanently. (Permanent settings are stored automatically | |
7383 in your .emacs file.) | |
7384 | |
7385 ** Scroll bars are now on the left side of the window. | |
7386 You can change this with M-x customize-option scroll-bar-mode. | |
7387 | |
7388 ** The mode line no longer includes the string `Emacs'. | |
7389 This makes more space in the mode line for other information. | |
7390 | |
7391 ** When you select a region with the mouse, it is highlighted | |
7392 immediately afterward. At that time, if you type the DELETE key, it | |
7393 kills the region. | |
7394 | |
7395 The BACKSPACE key, and the ASCII character DEL, do not do this; they | |
7396 delete the character before point, as usual. | |
7397 | |
7398 ** In an incremental search the whole current match is highlighted | |
7399 on terminals which support this. (You can disable this feature | |
7400 by setting search-highlight to nil.) | |
7401 | |
7402 ** In the minibuffer, in some cases, you can now use M-n to | |
7403 insert the default value into the minibuffer as text. In effect, | |
7404 the default value (if the minibuffer routines know it) is tacked | |
7405 onto the history "in the future". (The more normal use of the | |
7406 history list is to use M-p to insert minibuffer input used in the | |
7407 past.) | |
7408 | |
7409 ** In Text mode, now only blank lines separate paragraphs. | |
7410 This makes it possible to get the full benefit of Adaptive Fill mode | |
7411 in Text mode, and other modes derived from it (such as Mail mode). | |
7412 TAB in Text mode now runs the command indent-relative; this | |
7413 makes a practical difference only when you use indented paragraphs. | |
7414 | |
7415 As a result, the old Indented Text mode is now identical to Text mode, | |
7416 and is an alias for it. | |
7417 | |
7418 If you want spaces at the beginning of a line to start a paragraph, | |
7419 use the new mode, Paragraph Indent Text mode. | |
7420 | |
7421 ** Scrolling changes | |
7422 | |
7423 *** Scroll commands to scroll a whole screen now preserve the screen | |
7424 position of the cursor, if scroll-preserve-screen-position is non-nil. | |
7425 | |
7426 In this mode, if you scroll several screens back and forth, finishing | |
7427 on the same screen where you started, the cursor goes back to the line | |
7428 where it started. | |
7429 | |
7430 *** If you set scroll-conservatively to a small number, then when you | |
7431 move point a short distance off the screen, Emacs will scroll the | |
7432 screen just far enough to bring point back on screen, provided that | |
7433 does not exceed `scroll-conservatively' lines. | |
7434 | |
7435 *** The new variable scroll-margin says how close point can come to the | |
7436 top or bottom of a window. It is a number of screen lines; if point | |
7437 comes within that many lines of the top or bottom of the window, Emacs | |
7438 recenters the window. | |
7439 | |
7440 ** International character set support (MULE) | |
7441 | |
7442 Emacs now supports a wide variety of international character sets, | |
7443 including European variants of the Latin alphabet, as well as Chinese, | |
7444 Devanagari (Hindi and Marathi), Ethiopian, Greek, IPA, Japanese, | |
7445 Korean, Lao, Russian, Thai, Tibetan, and Vietnamese scripts. These | |
7446 features have been merged from the modified version of Emacs known as | |
7447 MULE (for "MULti-lingual Enhancement to GNU Emacs") | |
7448 | |
7449 Users of these scripts have established many more-or-less standard | |
7450 coding systems for storing files. Emacs uses a single multibyte | |
7451 character encoding within Emacs buffers; it can translate from a wide | |
7452 variety of coding systems when reading a file and can translate back | |
7453 into any of these coding systems when saving a file. | |
7454 | |
7455 Keyboards, even in the countries where these character sets are used, | |
7456 generally don't have keys for all the characters in them. So Emacs | |
7457 supports various "input methods", typically one for each script or | |
7458 language, to make it possible to type them. | |
7459 | |
7460 The Emacs internal multibyte encoding represents a non-ASCII | |
7461 character as a sequence of bytes in the range 0200 through 0377. | |
7462 | |
7463 The new prefix key C-x RET is used for commands that pertain | |
7464 to multibyte characters, coding systems, and input methods. | |
7465 | |
7466 You can disable multibyte character support as follows: | |
7467 | |
7468 (setq-default enable-multibyte-characters nil) | |
7469 | |
7470 Calling the function standard-display-european turns off multibyte | |
7471 characters, unless you specify a non-nil value for the second | |
7472 argument, AUTO. This provides compatibility for people who are | |
7473 already using standard-display-european to continue using unibyte | |
7474 characters for their work until they want to change. | |
7475 | |
7476 *** Input methods | |
7477 | |
7478 An input method is a kind of character conversion which is designed | |
7479 specifically for interactive input. In Emacs, typically each language | |
7480 has its own input method (though sometimes several languages which use | |
7481 the same characters can share one input method). Some languages | |
7482 support several input methods. | |
7483 | |
7484 The simplest kind of input method works by mapping ASCII letters into | |
7485 another alphabet. This is how the Greek and Russian input methods | |
7486 work. | |
7487 | |
7488 A more powerful technique is composition: converting sequences of | |
7489 characters into one letter. Many European input methods use | |
7490 composition to produce a single non-ASCII letter from a sequence which | |
7491 consists of a letter followed by diacritics. For example, a' is one | |
7492 sequence of two characters that might be converted into a single | |
7493 letter. | |
7494 | |
7495 The input methods for syllabic scripts typically use mapping followed | |
7496 by conversion. The input methods for Thai and Korean work this way. | |
7497 First, letters are mapped into symbols for particular sounds or tone | |
7498 marks; then, sequences of these which make up a whole syllable are | |
7499 mapped into one syllable sign--most often a "composite character". | |
7500 | |
7501 None of these methods works very well for Chinese and Japanese, so | |
7502 they are handled specially. First you input a whole word using | |
7503 phonetic spelling; then, after the word is in the buffer, Emacs | |
7504 converts it into one or more characters using a large dictionary. | |
7505 | |
7506 Since there is more than one way to represent a phonetically spelled | |
7507 word using Chinese characters, Emacs can only guess which one to use; | |
7508 typically these input methods give you a way to say "guess again" if | |
7509 the first guess is wrong. | |
7510 | |
7511 *** The command C-x RET m (toggle-enable-multibyte-characters) | |
7512 turns multibyte character support on or off for the current buffer. | |
7513 | |
7514 If multibyte character support is turned off in a buffer, then each | |
7515 byte is a single character, even codes 0200 through 0377--exactly as | |
7516 they did in Emacs 19.34. This includes the features for support for | |
7517 the European characters, ISO Latin-1 and ISO Latin-2. | |
7518 | |
7519 However, there is no need to turn off multibyte character support to | |
7520 use ISO Latin-1 or ISO Latin-2; the Emacs multibyte character set | |
7521 includes all the characters in these character sets, and Emacs can | |
7522 translate automatically to and from either one. | |
7523 | |
7524 *** Visiting a file in unibyte mode. | |
7525 | |
7526 Turning off multibyte character support in the buffer after visiting a | |
7527 file with multibyte code conversion will display the multibyte | |
7528 sequences already in the buffer, byte by byte. This is probably not | |
7529 what you want. | |
7530 | |
7531 If you want to edit a file of unibyte characters (Latin-1, for | |
7532 example), you can do it by specifying `no-conversion' as the coding | |
7533 system when reading the file. This coding system also turns off | |
7534 multibyte characters in that buffer. | |
7535 | |
7536 If you turn off multibyte character support entirely, this turns off | |
7537 character conversion as well. | |
7538 | |
7539 *** Displaying international characters on X Windows. | |
7540 | |
7541 A font for X typically displays just one alphabet or script. | |
7542 Therefore, displaying the entire range of characters Emacs supports | |
7543 requires using many fonts. | |
7544 | |
7545 Therefore, Emacs now supports "fontsets". Each fontset is a | |
7546 collection of fonts, each assigned to a range of character codes. | |
7547 | |
7548 A fontset has a name, like a font. Individual fonts are defined by | |
7549 the X server; fontsets are defined within Emacs itself. But once you | |
7550 have defined a fontset, you can use it in a face or a frame just as | |
7551 you would use a font. | |
7552 | |
7553 If a fontset specifies no font for a certain character, or if it | |
7554 specifies a font that does not exist on your system, then it cannot | |
7555 display that character. It will display an empty box instead. | |
7556 | |
7557 The fontset height and width are determined by the ASCII characters | |
7558 (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
|
7559 characters). |
30922 | 7560 |
7561 *** Defining fontsets. | |
7562 | |
7563 Emacs does not use any fontset by default. Its default font is still | |
7564 chosen as in previous versions. You can tell Emacs to use a fontset | |
7565 with the `-fn' option or the `Font' X resource. | |
7566 | |
7567 Emacs creates a standard fontset automatically according to the value | |
7568 of standard-fontset-spec. This fontset's short name is | |
7569 `fontset-standard'. Bold, italic, and bold-italic variants of the | |
7570 standard fontset are created automatically. | |
7571 | |
7572 If you specify a default ASCII font with the `Font' resource or `-fn' | |
7573 argument, a fontset is generated from it. This works by replacing the | |
7574 FOUNDARY, FAMILY, ADD_STYLE, and AVERAGE_WIDTH fields of the font name | |
7575 with `*' then using this to specify a fontset. This fontset's short | |
7576 name is `fontset-startup'. | |
7577 | |
7578 Emacs checks resources of the form Fontset-N where N is 0, 1, 2... | |
7579 The resource value should have this form: | |
7580 FONTSET-NAME, [CHARSET-NAME:FONT-NAME]... | |
7581 FONTSET-NAME should have the form of a standard X font name, except: | |
7582 * most fields should be just the wild card "*". | |
7583 * the CHARSET_REGISTRY field should be "fontset" | |
7584 * the CHARSET_ENCODING field can be any nickname of the fontset. | |
7585 The construct CHARSET-NAME:FONT-NAME can be repeated any number | |
7586 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
|
7587 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
|
7588 should specify an actual font to use for that character set. |
30922 | 7589 |
7590 Each of these fontsets has an alias which is made from the | |
7591 last two font name fields, CHARSET_REGISTRY and CHARSET_ENCODING. | |
7592 You can refer to the fontset by that alias or by its full name. | |
7593 | |
7594 For any character sets that you don't mention, Emacs tries to choose a | |
7595 font by substituting into FONTSET-NAME. For instance, with the | |
7596 following resource, | |
7597 Emacs*Fontset-0: -*-fixed-medium-r-normal-*-24-*-*-*-*-*-fontset-24 | |
7598 the font for ASCII is generated as below: | |
7599 -*-fixed-medium-r-normal-*-24-*-ISO8859-1 | |
7600 Here is the substitution rule: | |
7601 Change CHARSET_REGISTRY and CHARSET_ENCODING to that of the charset | |
7602 defined in the variable x-charset-registries. For instance, ASCII has | |
7603 the entry (ascii . "ISO8859-1") in this variable. Then, reduce | |
7604 sequences of wild cards -*-...-*- with a single wildcard -*-. | |
7605 (This is to prevent use of auto-scaled fonts.) | |
7606 | |
7607 The function which processes the fontset resource value to create the | |
7608 fontset is called create-fontset-from-fontset-spec. You can also call | |
7609 that function explicitly to create a fontset. | |
7610 | |
7611 With the X resource Emacs.Font, you can specify a fontset name just | |
7612 like an actual font name. But be careful not to specify a fontset | |
7613 name in a wildcard resource like Emacs*Font--that tries to specify the | |
7614 fontset for other purposes including menus, and they cannot handle | |
7615 fontsets. | |
7616 | |
7617 *** The command M-x set-language-environment sets certain global Emacs | |
7618 defaults for a particular choice of language. | |
7619 | |
7620 Selecting a language environment typically specifies a default input | |
7621 method and which coding systems to recognize automatically when | |
7622 visiting files. However, it does not try to reread files you have | |
7623 already visited; the text in those buffers is not affected. The | |
7624 language environment may also specify a default choice of coding | |
7625 system for new files that you create. | |
7626 | |
7627 It makes no difference which buffer is current when you use | |
7628 set-language-environment, because these defaults apply globally to the | |
7629 whole Emacs session. | |
7630 | |
7631 For example, M-x set-language-environment RET Latin-1 RET | |
7632 chooses the Latin-1 character set. In the .emacs file, you can do this | |
7633 with (set-language-environment "Latin-1"). | |
7634 | |
7635 *** The command C-x RET f (set-buffer-file-coding-system) | |
7636 specifies the file coding system for the current buffer. This | |
7637 specifies what sort of character code translation to do when saving | |
7638 the file. As an argument, you must specify the name of one of the | |
7639 coding systems that Emacs supports. | |
7640 | |
7641 *** The command C-x RET c (universal-coding-system-argument) | |
7642 lets you specify a coding system when you read or write a file. | |
7643 This command uses the minibuffer to read a coding system name. | |
7644 After you exit the minibuffer, the specified coding system | |
7645 is used for *the immediately following command*. | |
7646 | |
7647 So if the immediately following command is a command to read or | |
7648 write a file, it uses the specified coding system for that file. | |
7649 | |
7650 If the immediately following command does not use the coding system, | |
7651 then C-x RET c ultimately has no effect. | |
7652 | |
7653 For example, C-x RET c iso-8859-1 RET C-x C-f temp RET | |
7654 visits the file `temp' treating it as ISO Latin-1. | |
7655 | |
7656 *** You can specify the coding system for a file using the -*- | |
7657 construct. Include `coding: CODINGSYSTEM;' inside the -*-...-*- | |
7658 to specify use of coding system CODINGSYSTEM. You can also | |
7659 specify the coding system in a local variable list at the end | |
7660 of the file. | |
7661 | |
7662 *** The command C-x RET t (set-terminal-coding-system) specifies | |
7663 the coding system for terminal output. If you specify a character | |
7664 code for terminal output, all characters output to the terminal are | |
7665 translated into that character code. | |
7666 | |
7667 This feature is useful for certain character-only terminals built in | |
7668 various countries to support the languages of those countries. | |
7669 | |
7670 By default, output to the terminal is not translated at all. | |
7671 | |
7672 *** The command C-x RET k (set-keyboard-coding-system) specifies | |
7673 the coding system for keyboard input. | |
7674 | |
7675 Character code translation of keyboard input is useful for terminals | |
7676 with keys that send non-ASCII graphic characters--for example, | |
7677 some terminals designed for ISO Latin-1 or subsets of it. | |
7678 | |
7679 By default, keyboard input is not translated at all. | |
7680 | |
7681 Character code translation of keyboard input is similar to using an | |
7682 input method, in that both define sequences of keyboard input that | |
7683 translate into single characters. However, input methods are designed | |
7684 to be convenient for interactive use, while the code translations are | |
7685 designed to work with terminals. | |
7686 | |
7687 *** The command C-x RET p (set-buffer-process-coding-system) | |
7688 specifies the coding system for input and output to a subprocess. | |
7689 This command applies to the current buffer; normally, each subprocess | |
7690 has its own buffer, and thus you can use this command to specify | |
7691 translation to and from a particular subprocess by giving the command | |
7692 in the corresponding buffer. | |
7693 | |
7694 By default, process input and output are not translated at all. | |
7695 | |
7696 *** The variable file-name-coding-system specifies the coding system | |
7697 to use for encoding file names before operating on them. | |
7698 It is also used for decoding file names obtained from the system. | |
7699 | |
7700 *** The command C-\ (toggle-input-method) activates or deactivates | |
7701 an input method. If no input method has been selected before, the | |
7702 command prompts for you to specify the language and input method you | |
7703 want to use. | |
7704 | |
7705 C-u C-\ (select-input-method) lets you switch to a different input | |
7706 method. C-h C-\ (or C-h I) describes the current input method. | |
7707 | |
7708 *** Some input methods remap the keyboard to emulate various keyboard | |
7709 layouts commonly used for particular scripts. How to do this | |
7710 remapping properly depends on your actual keyboard layout. To specify | |
7711 which layout your keyboard has, use M-x quail-set-keyboard-layout. | |
7712 | |
7713 *** The command C-h C (describe-coding-system) displays | |
7714 the coding systems currently selected for various purposes, plus | |
7715 related information. | |
7716 | |
7717 *** The command C-h h (view-hello-file) displays a file called | |
7718 HELLO, which has examples of text in many languages, using various | |
7719 scripts. | |
7720 | |
7721 *** The command C-h L (describe-language-support) displays | |
7722 information about the support for a particular language. | |
7723 You specify the language as an argument. | |
7724 | |
7725 *** The mode line now contains a letter or character that identifies | |
7726 the coding system used in the visited file. It normally follows the | |
7727 first dash. | |
7728 | |
7729 A dash indicates the default state of affairs: no code conversion | |
7730 (except CRLF => newline if appropriate). `=' means no conversion | |
7731 whatsoever. The ISO 8859 coding systems are represented by digits | |
7732 1 through 9. Other coding systems are represented by letters: | |
7733 | |
7734 A alternativnyj (Russian) | |
7735 B big5 (Chinese) | |
7736 C cn-gb-2312 (Chinese) | |
7737 C iso-2022-cn (Chinese) | |
7738 D in-is13194-devanagari (Indian languages) | |
7739 E euc-japan (Japanese) | |
7740 I iso-2022-cjk or iso-2022-ss2 (Chinese, Japanese, Korean) | |
7741 J junet (iso-2022-7) or old-jis (iso-2022-jp-1978-irv) (Japanese) | |
7742 K euc-korea (Korean) | |
7743 R koi8 (Russian) | |
7744 Q tibetan | |
7745 S shift_jis (Japanese) | |
7746 T lao | |
7747 T tis620 (Thai) | |
7748 V viscii or vscii (Vietnamese) | |
7749 i iso-2022-lock (Chinese, Japanese, Korean) | |
7750 k iso-2022-kr (Korean) | |
7751 v viqr (Vietnamese) | |
7752 z hz (Chinese) | |
7753 | |
7754 When you are using a character-only terminal (not a window system), | |
7755 two additional characters appear in between the dash and the file | |
7756 coding system. These two characters describe the coding system for | |
7757 keyboard input, and the coding system for terminal output. | |
7758 | |
7759 *** The new variable rmail-file-coding-system specifies the code | |
7760 conversion to use for RMAIL files. The default value is nil. | |
7761 | |
7762 When you read mail with Rmail, each message is decoded automatically | |
7763 into Emacs' internal format. This has nothing to do with | |
7764 rmail-file-coding-system. That variable controls reading and writing | |
7765 Rmail files themselves. | |
7766 | |
7767 *** The new variable sendmail-coding-system specifies the code | |
7768 conversion for outgoing mail. The default value is nil. | |
7769 | |
7770 Actually, there are three different ways of specifying the coding system | |
7771 for sending mail: | |
7772 | |
7773 - If you use C-x RET f in the mail buffer, that takes priority. | |
7774 - Otherwise, if you set sendmail-coding-system non-nil, that specifies it. | |
7775 - Otherwise, the default coding system for new files is used, | |
7776 if that is non-nil. That comes from your language environment. | |
7777 - Otherwise, Latin-1 is used. | |
7778 | |
7779 *** The command C-h t (help-with-tutorial) accepts a prefix argument | |
7780 to specify the language for the tutorial file. Currently, English, | |
7781 Japanese, Korean and Thai are supported. We welcome additional | |
7782 translations. | |
7783 | |
7784 ** An easy new way to visit a file with no code or format conversion | |
7785 of any kind: Use M-x find-file-literally. There is also a command | |
7786 insert-file-literally which inserts a file into the current buffer | |
7787 without any conversion. | |
7788 | |
7789 ** C-q's handling of octal character codes is changed. | |
7790 You can now specify any number of octal digits. | |
7791 RET terminates the digits and is discarded; | |
7792 any other non-digit terminates the digits and is then used as input. | |
7793 | |
7794 ** There are new commands for looking up Info documentation for | |
7795 functions, variables and file names used in your programs. | |
7796 | |
7797 Type M-x info-lookup-symbol to look up a symbol in the buffer at point. | |
7798 Type M-x info-lookup-file to look up a file in the buffer at point. | |
7799 | |
7800 Precisely which Info files are used to look it up depends on the major | |
7801 mode. For example, in C mode, the GNU libc manual is used. | |
7802 | |
7803 ** M-TAB in most programming language modes now runs the command | |
7804 complete-symbol. This command performs completion on the symbol name | |
7805 in the buffer before point. | |
7806 | |
7807 With a numeric argument, it performs completion based on the set of | |
7808 symbols documented in the Info files for the programming language that | |
7809 you are using. | |
7810 | |
7811 With no argument, it does completion based on the current tags tables, | |
7812 just like the old binding of M-TAB (complete-tag). | |
7813 | |
7814 ** File locking works with NFS now. | |
7815 | |
7816 The lock file for FILENAME is now a symbolic link named .#FILENAME, | |
7817 in the same directory as FILENAME. | |
7818 | |
7819 This means that collision detection between two different machines now | |
7820 works reasonably well; it also means that no file server or directory | |
7821 can become a bottleneck. | |
7822 | |
7823 The new method does have drawbacks. It means that collision detection | |
7824 does not operate when you edit a file in a directory where you cannot | |
7825 create new files. Collision detection also doesn't operate when the | |
7826 file server does not support symbolic links. But these conditions are | |
7827 rare, and the ability to have collision detection while using NFS is | |
7828 so useful that the change is worth while. | |
7829 | |
7830 When Emacs or a system crashes, this may leave behind lock files which | |
7831 are stale. So you may occasionally get warnings about spurious | |
7832 collisions. When you determine that the collision is spurious, just | |
7833 tell Emacs to go ahead anyway. | |
7834 | |
7835 ** If you wish to use Show Paren mode to display matching parentheses, | |
7836 it is no longer sufficient to load paren.el. Instead you must call | |
7837 show-paren-mode. | |
7838 | |
7839 ** If you wish to use Delete Selection mode to replace a highlighted | |
7840 selection when you insert new text, it is no longer sufficient to load | |
7841 delsel.el. Instead you must call the function delete-selection-mode. | |
7842 | |
7843 ** If you wish to use Partial Completion mode to complete partial words | |
7844 within symbols or filenames, it is no longer sufficient to load | |
7845 complete.el. Instead you must call the function partial-completion-mode. | |
7846 | |
7847 ** If you wish to use uniquify to rename buffers for you, | |
7848 it is no longer sufficient to load uniquify.el. You must also | |
7849 set uniquify-buffer-name-style to one of the non-nil legitimate values. | |
7850 | |
7851 ** Changes in View mode. | |
7852 | |
7853 *** Several new commands are available in View mode. | |
7854 Do H in view mode for a list of commands. | |
7855 | |
7856 *** There are two new commands for entering View mode: | |
7857 view-file-other-frame and view-buffer-other-frame. | |
7858 | |
7859 *** Exiting View mode does a better job of restoring windows to their | |
7860 previous state. | |
7861 | |
7862 *** New customization variable view-scroll-auto-exit. If non-nil, | |
7863 scrolling past end of buffer makes view mode exit. | |
7864 | |
7865 *** New customization variable view-exits-all-viewing-windows. If | |
7866 non-nil, view-mode will at exit restore all windows viewing buffer, | |
7867 not just the selected window. | |
7868 | |
7869 *** New customization variable view-read-only. If non-nil, visiting a | |
7870 read-only file automatically enters View mode, and toggle-read-only | |
7871 turns View mode on or off. | |
7872 | |
7873 *** New customization variable view-remove-frame-by-deleting controls | |
7874 how to remove a not needed frame at view mode exit. If non-nil, | |
7875 delete the frame, if nil make an icon of it. | |
7876 | |
7877 ** C-x v l, the command to print a file's version control log, | |
7878 now positions point at the entry for the file's current branch version. | |
7879 | |
7880 ** C-x v =, the command to compare a file with the last checked-in version, | |
7881 has a new feature. If the file is currently not locked, so that it is | |
7882 presumably identical to the last checked-in version, the command now asks | |
7883 which version to compare with. | |
7884 | |
7885 ** When using hideshow.el, incremental search can temporarily show hidden | |
7886 blocks if a match is inside the block. | |
7887 | |
7888 The block is hidden again if the search is continued and the next match | |
7889 is outside the block. By customizing the variable | |
7890 isearch-hide-immediately you can choose to hide all the temporarily | |
7891 shown blocks only when exiting from incremental search. | |
7892 | |
7893 By customizing the variable hs-isearch-open you can choose what kind | |
7894 of blocks to temporarily show during isearch: comment blocks, code | |
7895 blocks, all of them or none. | |
7896 | |
7897 ** The new command C-x 4 0 (kill-buffer-and-window) kills the | |
7898 current buffer and deletes the selected window. It asks for | |
7899 confirmation first. | |
7900 | |
7901 ** C-x C-w, which saves the buffer into a specified file name, | |
7902 now changes the major mode according to that file name. | |
7903 However, the mode will not be changed if | |
7904 (1) a local variables list or the `-*-' line specifies a major mode, or | |
7905 (2) the current major mode is a "special" mode, | |
7906 not suitable for ordinary files, or | |
7907 (3) the new file name does not particularly specify any mode. | |
7908 | |
7909 This applies to M-x set-visited-file-name as well. | |
7910 | |
7911 However, if you set change-major-mode-with-file-name to nil, then | |
7912 these commands do not change the major mode. | |
7913 | |
7914 ** M-x occur changes. | |
7915 | |
7916 *** If the argument to M-x occur contains upper case letters, | |
7917 it performs a case-sensitive search. | |
7918 | |
7919 *** In the *Occur* buffer made by M-x occur, | |
7920 if you type g or M-x revert-buffer, this repeats the search | |
7921 using the same regular expression and the same buffer as before. | |
7922 | |
7923 ** In Transient Mark mode, the region in any one buffer is highlighted | |
7924 in just one window at a time. At first, it is highlighted in the | |
7925 window where you set the mark. The buffer's highlighting remains in | |
7926 that window unless you select to another window which shows the same | |
7927 buffer--then the highlighting moves to that window. | |
7928 | |
7929 ** The feature to suggest key bindings when you use M-x now operates | |
7930 after the command finishes. The message suggesting key bindings | |
7931 appears temporarily in the echo area. The previous echo area contents | |
7932 come back after a few seconds, in case they contain useful information. | |
7933 | |
7934 ** Each frame now independently records the order for recently | |
7935 selected buffers, so that the default for C-x b is now based on the | |
7936 buffers recently selected in the selected frame. | |
7937 | |
7938 ** Outline mode changes. | |
7939 | |
7940 *** Outline mode now uses overlays (this is the former noutline.el). | |
7941 | |
7942 *** Incremental searches skip over invisible text in Outline mode. | |
7943 | |
7944 ** When a minibuffer window is active but not the selected window, if | |
7945 you try to use the minibuffer, you used to get a nested minibuffer. | |
7946 Now, this not only gives an error, it also cancels the minibuffer that | |
7947 was already active. | |
7948 | |
7949 The motive for this change is so that beginning users do not | |
7950 unknowingly move away from minibuffers, leaving them active, and then | |
7951 get confused by it. | |
7952 | |
7953 If you want to be able to have recursive minibuffers, you must | |
7954 set enable-recursive-minibuffers to non-nil. | |
7955 | |
7956 ** Changes in dynamic abbrevs. | |
7957 | |
7958 *** Expanding dynamic abbrevs with M-/ is now smarter about case | |
7959 conversion. If the expansion has mixed case not counting the first | |
7960 character, and the abbreviation matches the beginning of the expansion | |
7961 including case, then the expansion is copied verbatim. | |
7962 | |
7963 The expansion is also copied verbatim if the abbreviation itself has | |
7964 mixed case. And using SPC M-/ to copy an additional word always | |
7965 copies it verbatim except when the previous copied word is all caps. | |
7966 | |
7967 *** The values of `dabbrev-case-replace' and `dabbrev-case-fold-search' | |
7968 are no longer Lisp expressions. They have simply three possible | |
7969 values. | |
7970 | |
7971 `dabbrev-case-replace' has these three values: nil (don't preserve | |
7972 case), t (do), or `case-replace' (do like M-x query-replace). | |
7973 `dabbrev-case-fold-search' has these three values: nil (don't ignore | |
7974 case), t (do), or `case-fold-search' (do like search). | |
7975 | |
7976 ** Minibuffer history lists are truncated automatically now to a | |
7977 certain length. The variable history-length specifies how long they | |
7978 can be. The default value is 30. | |
7979 | |
7980 ** Changes in Mail mode. | |
7981 | |
7982 *** The key C-x m no longer runs the `mail' command directly. | |
7983 Instead, it runs the command `compose-mail', which invokes the mail | |
7984 composition mechanism you have selected with the variable | |
7985 `mail-user-agent'. The default choice of user agent is | |
7986 `sendmail-user-agent', which gives behavior compatible with the old | |
7987 behavior. | |
7988 | |
7989 C-x 4 m now runs compose-mail-other-window, and C-x 5 m runs | |
7990 compose-mail-other-frame. | |
7991 | |
7992 *** While composing a reply to a mail message, from Rmail, you can use | |
7993 the command C-c C-r to cite just the region from the message you are | |
7994 replying to. This copies the text which is the selected region in the | |
7995 buffer that shows the original message. | |
7996 | |
7997 *** The command C-c C-i inserts a file at the end of the message, | |
7998 with separator lines around the contents. | |
7999 | |
8000 *** The command M-x expand-mail-aliases expands all mail aliases | |
8001 in suitable mail headers. Emacs automatically extracts mail alias | |
8002 definitions from your mail alias file (e.g., ~/.mailrc). You do not | |
8003 need to expand mail aliases yourself before sending mail. | |
8004 | |
8005 *** New features in the mail-complete command. | |
8006 | |
8007 **** The mail-complete command now inserts the user's full name, | |
8008 for local users or if that is known. The variable mail-complete-style | |
8009 controls the style to use, and whether to do this at all. | |
8010 Its values are like those of mail-from-style. | |
8011 | |
8012 **** The variable mail-passwd-command lets you specify a shell command | |
8013 to run to fetch a set of password-entries that add to the ones in | |
8014 /etc/passwd. | |
8015 | |
8016 **** The variable mail-passwd-file now specifies a list of files to read | |
8017 to get the list of user ids. By default, one file is used: | |
8018 /etc/passwd. | |
8019 | |
8020 ** You can "quote" a file name to inhibit special significance of | |
8021 special syntax, by adding `/:' to the beginning. Thus, if you have a | |
8022 directory named `/foo:', you can prevent it from being treated as a | |
8023 reference to a remote host named `foo' by writing it as `/:/foo:'. | |
8024 | |
8025 Emacs uses this new construct automatically when necessary, such as | |
8026 when you start it with a working directory whose name might otherwise | |
8027 be taken to be magic. | |
8028 | |
8029 ** There is a new command M-x grep-find which uses find to select | |
8030 files to search through, and grep to scan them. The output is | |
8031 available in a Compile mode buffer, as with M-x grep. | |
8032 | |
8033 M-x grep now uses the -e option if the grep program supports that. | |
8034 (-e prevents problems if the search pattern starts with a dash.) | |
8035 | |
8036 ** In Dired, the & command now flags for deletion the files whose names | |
8037 suggest they are probably not needed in the long run. | |
8038 | |
8039 In Dired, * is now a prefix key for mark-related commands. | |
8040 | |
8041 new key dired.el binding old key | |
8042 ------- ---------------- ------- | |
8043 * c dired-change-marks c | |
8044 * m dired-mark m | |
8045 * * dired-mark-executables * (binding deleted) | |
8046 * / dired-mark-directories / (binding deleted) | |
8047 * @ dired-mark-symlinks @ (binding deleted) | |
8048 * u dired-unmark u | |
8049 * DEL dired-unmark-backward DEL | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
8050 * ? dired-unmark-all-files C-M-? |
30922 | 8051 * ! dired-unmark-all-marks |
8052 * % dired-mark-files-regexp % m | |
8053 * C-n dired-next-marked-file M-} | |
8054 * C-p dired-prev-marked-file M-{ | |
8055 | |
8056 ** Rmail changes. | |
8057 | |
8058 *** When Rmail cannot convert your incoming mail into Babyl format, it | |
8059 saves the new mail in the file RMAILOSE.n, where n is an integer | |
8060 chosen to make a unique name. This way, Rmail will not keep crashing | |
8061 each time you run it. | |
8062 | |
8063 *** In Rmail, the variable rmail-summary-line-count-flag now controls | |
8064 whether to include the line count in the summary. Non-nil means yes. | |
8065 | |
8066 *** In Rmail summary buffers, d and C-d (the commands to delete | |
8067 messages) now take repeat counts as arguments. A negative argument | |
8068 means to move in the opposite direction. | |
8069 | |
8070 *** In Rmail, the t command now takes an optional argument which lets | |
8071 you specify whether to show the message headers in full or pruned. | |
8072 | |
8073 *** In Rmail, the new command w (rmail-output-body-to-file) writes | |
8074 just the body of the current message into a file, without the headers. | |
8075 It takes the file name from the message subject, by default, but you | |
8076 can edit that file name in the minibuffer before it is actually used | |
8077 for output. | |
8078 | |
8079 ** Gnus changes. | |
8080 | |
8081 *** nntp.el has been totally rewritten in an asynchronous fashion. | |
8082 | |
8083 *** Article prefetching functionality has been moved up into | |
8084 Gnus. | |
8085 | |
8086 *** Scoring can now be performed with logical operators like | |
8087 `and', `or', `not', and parent redirection. | |
8088 | |
8089 *** Article washing status can be displayed in the | |
8090 article mode line. | |
8091 | |
8092 *** gnus.el has been split into many smaller files. | |
8093 | |
8094 *** Suppression of duplicate articles based on Message-ID. | |
8095 | |
8096 (setq gnus-suppress-duplicates t) | |
8097 | |
8098 *** New variables for specifying what score and adapt files | |
8099 are to be considered home score and adapt files. See | |
8100 `gnus-home-score-file' and `gnus-home-adapt-files'. | |
8101 | |
8102 *** Groups can inherit group parameters from parent topics. | |
8103 | |
8104 *** Article editing has been revamped and is now usable. | |
8105 | |
8106 *** Signatures can be recognized in more intelligent fashions. | |
8107 See `gnus-signature-separator' and `gnus-signature-limit'. | |
8108 | |
8109 *** Summary pick mode has been made to look more nn-like. | |
8110 Line numbers are displayed and the `.' command can be | |
8111 used to pick articles. | |
8112 | |
8113 *** Commands for moving the .newsrc.eld from one server to | |
8114 another have been added. | |
8115 | |
8116 `M-x gnus-change-server' | |
8117 | |
8118 *** A way to specify that "uninteresting" fields be suppressed when | |
8119 generating lines in buffers. | |
8120 | |
8121 *** 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
|
8122 `C-M-_'. |
30922 | 8123 |
8124 *** Scoring can be done on words using the new score type `w'. | |
8125 | |
8126 *** Adaptive scoring can be done on a Subject word-by-word basis: | |
8127 | |
8128 (setq gnus-use-adaptive-scoring '(word)) | |
8129 | |
8130 *** Scores can be decayed. | |
8131 | |
8132 (setq gnus-decay-scores t) | |
8133 | |
8134 *** Scoring can be performed using a regexp on the Date header. The | |
8135 Date is normalized to compact ISO 8601 format first. | |
8136 | |
8137 *** A new command has been added to remove all data on articles from | |
8138 the native server. | |
8139 | |
8140 `M-x gnus-group-clear-data-on-native-groups' | |
8141 | |
8142 *** A new command for reading collections of documents | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
8143 (nndoc with nnvirtual on top) has been added -- `C-M-d'. |
30922 | 8144 |
8145 *** Process mark sets can be pushed and popped. | |
8146 | |
8147 *** A new mail-to-news backend makes it possible to post | |
8148 even when the NNTP server doesn't allow posting. | |
8149 | |
8150 *** A new backend for reading searches from Web search engines | |
8151 (DejaNews, Alta Vista, InReference) has been added. | |
8152 | |
8153 Use the `G w' command in the group buffer to create such | |
8154 a group. | |
8155 | |
8156 *** Groups inside topics can now be sorted using the standard | |
8157 sorting functions, and each topic can be sorted independently. | |
8158 | |
8159 See the commands under the `T S' submap. | |
8160 | |
8161 *** Subsets of the groups can be sorted independently. | |
8162 | |
8163 See the commands under the `G P' submap. | |
8164 | |
8165 *** Cached articles can be pulled into the groups. | |
8166 | |
8167 Use the `Y c' command. | |
8168 | |
8169 *** Score files are now applied in a more reliable order. | |
8170 | |
8171 *** Reports on where mail messages end up can be generated. | |
8172 | |
8173 `M-x nnmail-split-history' | |
8174 | |
8175 *** More hooks and functions have been added to remove junk | |
8176 from incoming mail before saving the mail. | |
8177 | |
8178 See `nnmail-prepare-incoming-header-hook'. | |
8179 | |
8180 *** The nnml mail backend now understands compressed article files. | |
8181 | |
8182 *** To enable Gnus to read/post multi-lingual articles, you must execute | |
8183 the following code, for instance, in your .emacs. | |
8184 | |
8185 (add-hook 'gnus-startup-hook 'gnus-mule-initialize) | |
8186 | |
8187 Then, when you start Gnus, it will decode non-ASCII text automatically | |
8188 and show appropriate characters. (Note: if you are using gnus-mime | |
8189 from the SEMI package, formerly known as TM, you should NOT add this | |
8190 hook to gnus-startup-hook; gnus-mime has its own method of handling | |
8191 this issue.) | |
8192 | |
8193 Since it is impossible to distinguish all coding systems | |
8194 automatically, you may need to specify a choice of coding system for a | |
8195 particular news group. This can be done by: | |
8196 | |
8197 (gnus-mule-add-group NEWSGROUP 'CODING-SYSTEM) | |
8198 | |
8199 Here NEWSGROUP should be a string which names a newsgroup or a tree | |
8200 of newsgroups. If NEWSGROUP is "XXX.YYY", all news groups under | |
8201 "XXX.YYY" (including "XXX.YYY.ZZZ") will use the specified coding | |
8202 system. CODING-SYSTEM specifies which coding system to use (for both | |
8203 for reading and posting). | |
8204 | |
8205 CODING-SYSTEM can also be a cons cell of the form | |
8206 (READ-CODING-SYSTEM . POST-CODING-SYSTEM) | |
8207 Then READ-CODING-SYSTEM is used when you read messages from the | |
8208 newsgroups, while POST-CODING-SYSTEM is used when you post messages | |
8209 there. | |
8210 | |
8211 Emacs knows the right coding systems for certain newsgroups by | |
8212 default. Here are some of these default settings: | |
8213 | |
8214 (gnus-mule-add-group "fj" 'iso-2022-7) | |
8215 (gnus-mule-add-group "alt.chinese.text" 'hz-gb-2312) | |
8216 (gnus-mule-add-group "alt.hk" 'hz-gb-2312) | |
8217 (gnus-mule-add-group "alt.chinese.text.big5" 'cn-big5) | |
8218 (gnus-mule-add-group "soc.culture.vietnamese" '(nil . viqr)) | |
8219 | |
8220 When you reply by mail to an article, these settings are ignored; | |
8221 the mail is encoded according to sendmail-coding-system, as usual. | |
8222 | |
8223 ** CC mode changes. | |
8224 | |
8225 *** If you edit primarily one style of C (or C++, Objective-C, Java) | |
8226 code, you may want to make the CC Mode style variables have global | |
8227 values so that you can set them directly in your .emacs file. To do | |
8228 this, set c-style-variables-are-local-p to nil in your .emacs file. | |
8229 Note that this only takes effect if you do it *before* cc-mode.el is | |
8230 loaded. | |
8231 | |
8232 If you typically edit more than one style of C (or C++, Objective-C, | |
8233 Java) code in a single Emacs session, you may want to make the CC Mode | |
8234 style variables have buffer local values. By default, all buffers | |
8235 share the same style variable settings; to make them buffer local, set | |
8236 c-style-variables-are-local-p to t in your .emacs file. Note that you | |
8237 must do this *before* CC Mode is loaded. | |
8238 | |
8239 *** The new variable c-indentation-style holds the C style name | |
8240 of the current buffer. | |
8241 | |
8242 *** The variable c-block-comments-indent-p has been deleted, because | |
8243 it is no longer necessary. C mode now handles all the supported styles | |
8244 of block comments, with no need to say which one you will use. | |
8245 | |
8246 *** There is a new indentation style "python", which specifies the C | |
8247 style that the Python developers like. | |
8248 | |
8249 *** There is a new c-cleanup-list option: brace-elseif-brace. | |
8250 This says to put ...} else if (...) {... on one line, | |
8251 just as brace-else-brace says to put ...} else {... on one line. | |
8252 | |
8253 ** VC Changes [new] | |
8254 | |
36908
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
8255 *** In vc-retrieve-snapshot (C-x v r), if you don't specify a snapshot |
30922 | 8256 name, it retrieves the *latest* versions of all files in the current |
8257 directory and its subdirectories (aside from files already locked). | |
8258 | |
8259 This feature is useful if your RCS directory is a link to a common | |
8260 master directory, and you want to pick up changes made by other | |
8261 developers. | |
8262 | |
8263 You can do the same thing for an individual file by typing C-u C-x C-q | |
8264 RET in a buffer visiting that file. | |
8265 | |
8266 *** VC can now handle files under CVS that are being "watched" by | |
8267 other developers. Such files are made read-only by CVS. To get a | |
8268 writable copy, type C-x C-q in a buffer visiting such a file. VC then | |
8269 calls "cvs edit", which notifies the other developers of it. | |
8270 | |
8271 *** vc-version-diff (C-u C-x v =) now suggests reasonable defaults for | |
8272 version numbers, based on the current state of the file. | |
8273 | |
8274 ** Calendar changes. | |
8275 | |
36908
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
8276 *** 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
|
8277 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
|
8278 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
|
8279 following/previous years. |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
8280 |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
8281 *** 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
|
8282 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
|
8283 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
|
8284 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
|
8285 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
|
8286 supposed attribute of God. |
30922 | 8287 |
8288 ** ps-print changes | |
8289 | |
37289 | 8290 There are some new user variables and subgroups for customizing the page |
8291 layout. | |
8292 | |
8293 *** Headers & Footers (subgroup) | |
8294 | |
8295 Some printer systems print a header page and force the first page to | |
8296 be printed on the back of the header page when using duplex. If your | |
8297 printer system has this behavior, set variable | |
8298 `ps-banner-page-when-duplexing' to t. | |
8299 | |
8300 If variable `ps-banner-page-when-duplexing' is non-nil, it prints a | |
8301 blank page as the very first printed page. So, it behaves as if the | |
37375 | 8302 very first character of buffer (or region) were a form feed ^L (\014). |
37289 | 8303 |
8304 The variable `ps-spool-config' specifies who is responsible for | |
8305 setting duplex mode and page size. Valid values are: | |
8306 | |
8307 lpr-switches duplex and page size are configured by `ps-lpr-switches'. | |
8308 Don't forget to set `ps-lpr-switches' to select duplex | |
8309 printing for your printer. | |
8310 | |
8311 setpagedevice duplex and page size are configured by ps-print using the | |
8312 setpagedevice PostScript operator. | |
8313 | |
8314 nil duplex and page size are configured by ps-print *not* using | |
8315 the setpagedevice PostScript operator. | |
8316 | |
8317 The variable `ps-spool-tumble' specifies how the page images on | |
8318 opposite sides of a sheet are oriented with respect to each other. If | |
8319 `ps-spool-tumble' is nil, ps-print produces output suitable for | |
8320 bindings on the left or right. If `ps-spool-tumble' is non-nil, | |
8321 ps-print produces output suitable for bindings at the top or bottom. | |
8322 This variable takes effect only if `ps-spool-duplex' is non-nil. | |
8323 The default value is nil. | |
8324 | |
8325 The variable `ps-header-frame-alist' specifies a header frame | |
8326 properties alist. Valid frame properties are: | |
8327 | |
8328 fore-color Specify the foreground frame color. | |
8329 Value should be a float number between 0.0 (black | |
8330 color) and 1.0 (white color), or a string which is a | |
8331 color name, or a list of 3 float numbers which | |
8332 correspond to the Red Green Blue color scale, each | |
8333 float number between 0.0 (dark color) and 1.0 (bright | |
8334 color). The default is 0 ("black"). | |
8335 | |
8336 back-color Specify the background frame color (similar to fore-color). | |
8337 The default is 0.9 ("gray90"). | |
8338 | |
8339 shadow-color Specify the shadow color (similar to fore-color). | |
8340 The default is 0 ("black"). | |
8341 | |
8342 border-color Specify the border color (similar to fore-color). | |
8343 The default is 0 ("black"). | |
8344 | |
8345 border-width Specify the border width. | |
8346 The default is 0.4. | |
8347 | |
8348 Any other property is ignored. | |
8349 | |
8350 Don't change this alist directly; instead use Custom, or the | |
8351 `ps-value', `ps-get', `ps-put' and `ps-del' functions (see there for | |
8352 documentation). | |
8353 | |
8354 Ps-print can also print footers. The footer variables are: | |
8355 `ps-print-footer', `ps-footer-offset', `ps-print-footer-frame', | |
8356 `ps-footer-font-family', `ps-footer-font-size', `ps-footer-line-pad', | |
8357 `ps-footer-lines', `ps-left-footer', `ps-right-footer' and | |
8358 `ps-footer-frame-alist'. These variables are similar to those | |
8359 controlling headers. | |
8360 | |
8361 *** Color management (subgroup) | |
8362 | |
8363 If `ps-print-color-p' is non-nil, the buffer's text will be printed in | |
8364 color. | |
8365 | |
8366 *** Face Management (subgroup) | |
8367 | |
8368 If you need to print without worrying about face background colors, | |
8369 set the variable `ps-use-face-background' which specifies if face | |
8370 background should be used. Valid values are: | |
8371 | |
8372 t always use face background color. | |
8373 nil never use face background color. | |
8374 (face...) list of faces whose background color will be used. | |
8375 | |
8376 *** N-up printing (subgroup) | |
8377 | |
8378 The variable `ps-n-up-printing' specifies the number of pages per | |
8379 sheet of paper. | |
8380 | |
8381 The variable `ps-n-up-margin' specifies the margin in points (pt) | |
8382 between the sheet border and the n-up printing. | |
8383 | |
8384 If variable `ps-n-up-border-p' is non-nil, a border is drawn around | |
8385 each page. | |
8386 | |
8387 The variable `ps-n-up-filling' specifies how the page matrix is filled | |
8388 on each sheet of paper. Following are the valid values for | |
8389 `ps-n-up-filling' with a filling example using a 3x4 page matrix: | |
8390 | |
8391 `left-top' 1 2 3 4 `left-bottom' 9 10 11 12 | |
8392 5 6 7 8 5 6 7 8 | |
8393 9 10 11 12 1 2 3 4 | |
8394 | |
8395 `right-top' 4 3 2 1 `right-bottom' 12 11 10 9 | |
8396 8 7 6 5 8 7 6 5 | |
8397 12 11 10 9 4 3 2 1 | |
8398 | |
8399 `top-left' 1 4 7 10 `bottom-left' 3 6 9 12 | |
8400 2 5 8 11 2 5 8 11 | |
8401 3 6 9 12 1 4 7 10 | |
8402 | |
8403 `top-right' 10 7 4 1 `bottom-right' 12 9 6 3 | |
8404 11 8 5 2 11 8 5 2 | |
8405 12 9 6 3 10 7 4 1 | |
8406 | |
8407 Any other value is treated as `left-top'. | |
8408 | |
8409 *** Zebra stripes (subgroup) | |
8410 | |
8411 The variable `ps-zebra-color' controls the zebra stripes grayscale or | |
8412 RGB color. | |
8413 | |
8414 The variable `ps-zebra-stripe-follow' specifies how zebra stripes | |
8415 continue on next page. Visually, valid values are (the character `+' | |
8416 to the right of each column indicates that a line is printed): | |
8417 | |
8418 `nil' `follow' `full' `full-follow' | |
8419 Current Page -------- ----------- --------- ---------------- | |
8420 1 XXXXX + 1 XXXXXXXX + 1 XXXXXX + 1 XXXXXXXXXXXXX + | |
8421 2 XXXXX + 2 XXXXXXXX + 2 XXXXXX + 2 XXXXXXXXXXXXX + | |
8422 3 XXXXX + 3 XXXXXXXX + 3 XXXXXX + 3 XXXXXXXXXXXXX + | |
8423 4 + 4 + 4 + 4 + | |
8424 5 + 5 + 5 + 5 + | |
8425 6 + 6 + 6 + 6 + | |
8426 7 XXXXX + 7 XXXXXXXX + 7 XXXXXX + 7 XXXXXXXXXXXXX + | |
8427 8 XXXXX + 8 XXXXXXXX + 8 XXXXXX + 8 XXXXXXXXXXXXX + | |
8428 9 XXXXX + 9 XXXXXXXX + 9 XXXXXX + 9 XXXXXXXXXXXXX + | |
8429 10 + 10 + | |
8430 11 + 11 + | |
8431 -------- ----------- --------- ---------------- | |
8432 Next Page -------- ----------- --------- ---------------- | |
8433 12 XXXXX + 12 + 10 XXXXXX + 10 + | |
8434 13 XXXXX + 13 XXXXXXXX + 11 XXXXXX + 11 + | |
8435 14 XXXXX + 14 XXXXXXXX + 12 XXXXXX + 12 + | |
8436 15 + 15 XXXXXXXX + 13 + 13 XXXXXXXXXXXXX + | |
8437 16 + 16 + 14 + 14 XXXXXXXXXXXXX + | |
8438 17 + 17 + 15 + 15 XXXXXXXXXXXXX + | |
8439 18 XXXXX + 18 + 16 XXXXXX + 16 + | |
8440 19 XXXXX + 19 XXXXXXXX + 17 XXXXXX + 17 + | |
8441 20 XXXXX + 20 XXXXXXXX + 18 XXXXXX + 18 + | |
8442 21 + 21 XXXXXXXX + | |
8443 22 + 22 + | |
8444 -------- ----------- --------- ---------------- | |
8445 | |
8446 Any other value is treated as `nil'. | |
8447 | |
8448 | |
8449 *** Printer management (subgroup) | |
8450 | |
8451 The variable `ps-printer-name-option' determines the option used by | |
8452 some utilities to indicate the printer name; it's used only when | |
8453 `ps-printer-name' is a non-empty string. If you're using the lpr | |
8454 utility to print, for example, `ps-printer-name-option' should be set | |
8455 to "-P". | |
8456 | |
8457 The variable `ps-manual-feed' indicates if the printer requires manual | |
8458 paper feeding. If it's nil, automatic feeding takes place. If it's | |
8459 non-nil, manual feeding takes place. | |
8460 | |
8461 The variable `ps-end-with-control-d' specifies whether C-d (\x04) | |
8462 should be inserted at end of the generated PostScript. Non-nil means | |
8463 do so. | |
8464 | |
8465 *** Page settings (subgroup) | |
8466 | |
8467 If variable `ps-warn-paper-type' is nil, it's *not* treated as an | |
8468 error if the PostScript printer doesn't have a paper with the size | |
8469 indicated by `ps-paper-type'; the default paper size will be used | |
8470 instead. If `ps-warn-paper-type' is non-nil, an error is signaled if | |
8471 the PostScript printer doesn't support a paper with the size indicated | |
8472 by `ps-paper-type'. This is used when `ps-spool-config' is set to | |
8473 `setpagedevice'. | |
8474 | |
8475 The variable `ps-print-upside-down' determines the orientation for | |
8476 printing pages: nil means `normal' printing, non-nil means | |
8477 `upside-down' printing (that is, the page is rotated by 180 degrees). | |
8478 | |
8479 The variable `ps-selected-pages' specifies which pages to print. If | |
8480 it's nil, all pages are printed. If it's a list, list elements may be | |
8481 integers specifying a single page to print, or cons cells (FROM . TO) | |
8482 specifying to print from page FROM to TO. Invalid list elements, that | |
8483 is integers smaller than one, or elements whose FROM is greater than | |
8484 its TO, are ignored. | |
8485 | |
8486 The variable `ps-even-or-odd-pages' specifies how to print even/odd | |
8487 pages. Valid values are: | |
8488 | |
8489 nil print all pages. | |
8490 | |
8491 `even-page' print only even pages. | |
8492 | |
8493 `odd-page' print only odd pages. | |
8494 | |
8495 `even-sheet' print only even sheets. | |
8496 That is, if `ps-n-up-printing' is 1, it behaves like | |
8497 `even-page', but for values greater than 1, it'll | |
8498 print only the even sheet of paper. | |
8499 | |
8500 `odd-sheet' print only odd sheets. | |
8501 That is, if `ps-n-up-printing' is 1, it behaves like | |
8502 `odd-page'; but for values greater than 1, it'll print | |
8503 only the odd sheet of paper. | |
8504 | |
8505 Any other value is treated as nil. | |
8506 | |
8507 If you set `ps-selected-pages' (see there for documentation), pages | |
8508 are filtered by `ps-selected-pages', and then by | |
8509 `ps-even-or-odd-pages'. For example, if we have: | |
8510 | |
8511 (setq ps-selected-pages '(1 4 (6 . 10) (12 . 16) 20)) | |
8512 | |
8513 and we combine this with `ps-even-or-odd-pages' and | |
8514 `ps-n-up-printing', we get: | |
8515 | |
8516 `ps-n-up-printing' = 1: | |
8517 `ps-even-or-odd-pages' PAGES PRINTED | |
8518 nil 1, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 20 | |
8519 even-page 4, 6, 8, 10, 12, 14, 16, 20 | |
8520 odd-page 1, 7, 9, 13, 15 | |
8521 even-sheet 4, 6, 8, 10, 12, 14, 16, 20 | |
8522 odd-sheet 1, 7, 9, 13, 15 | |
8523 | |
8524 `ps-n-up-printing' = 2: | |
8525 `ps-even-or-odd-pages' PAGES PRINTED | |
8526 nil 1/4, 6/7, 8/9, 10/12, 13/14, 15/16, 20 | |
8527 even-page 4/6, 8/10, 12/14, 16/20 | |
8528 odd-page 1/7, 9/13, 15 | |
8529 even-sheet 6/7, 10/12, 15/16 | |
8530 odd-sheet 1/4, 8/9, 13/14, 20 | |
8531 | |
8532 *** Miscellany (subgroup) | |
8533 | |
8534 The variable `ps-error-handler-message' specifies where error handler | |
8535 messages should be sent. | |
8536 | |
8537 It is also possible to add a user-defined PostScript prologue code in | |
8538 front of all generated prologue code by setting the variable | |
8539 `ps-user-defined-prologue'. | |
8540 | |
8541 The variable `ps-line-number-font' specifies the font for line numbers. | |
8542 | |
8543 The variable `ps-line-number-font-size' specifies the font size in | |
8544 points for line numbers. | |
8545 | |
8546 The variable `ps-line-number-color' specifies the color for line | |
8547 numbers. See `ps-zebra-color' for documentation. | |
8548 | |
8549 The variable `ps-line-number-step' specifies the interval in which | |
8550 line numbers are printed. For example, if `ps-line-number-step' is set | |
8551 to 2, the printing will look like: | |
8552 | |
8553 1 one line | |
8554 one line | |
8555 3 one line | |
8556 one line | |
8557 5 one line | |
8558 one line | |
8559 ... | |
8560 | |
8561 Valid values are: | |
8562 | |
8563 integer an integer specifying the interval in which line numbers are | |
8564 printed. If it's smaller than or equal to zero, 1 | |
8565 is used. | |
8566 | |
8567 `zebra' specifies that only the line number of the first line in a | |
8568 zebra stripe is to be printed. | |
8569 | |
8570 Any other value is treated as `zebra'. | |
8571 | |
8572 The variable `ps-line-number-start' specifies the starting point in | |
8573 the interval given by `ps-line-number-step'. For example, if | |
8574 `ps-line-number-step' is set to 3, and `ps-line-number-start' is set to | |
8575 3, the output will look like: | |
8576 | |
8577 one line | |
8578 one line | |
8579 3 one line | |
8580 one line | |
8581 one line | |
8582 6 one line | |
8583 one line | |
8584 one line | |
8585 9 one line | |
8586 one line | |
8587 ... | |
8588 | |
8589 The variable `ps-postscript-code-directory' specifies the directory | |
8590 where the PostScript prologue file used by ps-print is found. | |
8591 | |
8592 The variable `ps-line-spacing' determines the line spacing in points, | |
8593 for ordinary text, when generating PostScript (similar to | |
8594 `ps-font-size'). | |
8595 | |
8596 The variable `ps-paragraph-spacing' determines the paragraph spacing, | |
8597 in points, for ordinary text, when generating PostScript (similar to | |
8598 `ps-font-size'). | |
8599 | |
8600 The variable `ps-paragraph-regexp' specifies the paragraph delimiter. | |
8601 | |
8602 The variable `ps-begin-cut-regexp' and `ps-end-cut-regexp' specify the | |
8603 start and end of a region to cut out when printing. | |
30922 | 8604 |
8605 ** hideshow changes. | |
8606 | |
8607 *** now supports hiding of blocks of single line comments (like // for | |
8608 C++, ; for lisp). | |
8609 | |
8610 *** Support for java-mode added. | |
8611 | |
8612 *** When doing `hs-hide-all' it is now possible to also hide the comments | |
8613 in the file if `hs-hide-comments-when-hiding-all' is set. | |
8614 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
8615 *** The new function `hs-hide-initial-comment' hides the comments at |
30922 | 8616 the beginning of the files. Finally those huge RCS logs don't stay in your |
8617 way! This is run by default when entering the `hs-minor-mode'. | |
8618 | |
8619 *** Now uses overlays instead of `selective-display', so is more | |
8620 robust and a lot faster. | |
8621 | |
8622 *** A block beginning can span multiple lines. | |
8623 | |
8624 *** The new variable `hs-show-hidden-short-form' if t, directs hideshow | |
8625 to show only the beginning of a block when it is hidden. See the | |
8626 documentation for more details. | |
8627 | |
8628 ** Changes in Enriched mode. | |
8629 | |
8630 *** When you visit a file in enriched-mode, Emacs will make sure it is | |
8631 filled to the current fill-column. This behavior is now independent | |
8632 of the size of the window. When you save the file, the fill-column in | |
8633 use is stored as well, so that the whole buffer need not be refilled | |
8634 the next time unless the fill-column is different. | |
8635 | |
8636 *** use-hard-newlines is now a minor mode. When it is enabled, Emacs | |
8637 distinguishes between hard and soft newlines, and treats hard newlines | |
8638 as paragraph boundaries. Otherwise all newlines inserted are marked | |
8639 as soft, and paragraph boundaries are determined solely from the text. | |
8640 | |
8641 ** Font Lock mode | |
8642 | |
8643 *** Custom support | |
8644 | |
8645 The variables font-lock-face-attributes, font-lock-display-type and | |
8646 font-lock-background-mode are now obsolete; the recommended way to specify the | |
8647 faces to use for Font Lock mode is with M-x customize-group on the new custom | |
8648 group font-lock-highlighting-faces. If you set font-lock-face-attributes in | |
8649 your ~/.emacs file, Font Lock mode will respect its value. However, you should | |
8650 consider converting from setting that variable to using M-x customize. | |
8651 | |
8652 You can still use X resources to specify Font Lock face appearances. | |
8653 | |
8654 *** Maximum decoration | |
8655 | |
8656 Fontification now uses the maximum level of decoration supported by | |
8657 default. Previously, fontification used a mode-specific default level | |
8658 of decoration, which is typically the minimum level of decoration | |
8659 supported. You can set font-lock-maximum-decoration to nil | |
8660 to get the old behavior. | |
8661 | |
8662 *** New support | |
8663 | |
8664 Support is now provided for Java, Objective-C, AWK and SIMULA modes. | |
8665 | |
8666 Note that Font Lock mode can be turned on without knowing exactly what modes | |
8667 support Font Lock mode, via the command global-font-lock-mode. | |
8668 | |
8669 *** Configurable support | |
8670 | |
8671 Support for C, C++, Objective-C and Java can be more easily configured for | |
8672 additional types and classes via the new variables c-font-lock-extra-types, | |
8673 c++-font-lock-extra-types, objc-font-lock-extra-types and, you guessed it, | |
8674 java-font-lock-extra-types. These value of each of these variables should be a | |
8675 list of regexps matching the extra type names. For example, the default value | |
8676 of c-font-lock-extra-types is ("\\sw+_t") which means fontification follows the | |
8677 convention that C type names end in _t. This results in slower fontification. | |
8678 | |
8679 Of course, you can change the variables that specify fontification in whatever | |
8680 way you wish, typically by adding regexps. However, these new variables make | |
8681 it easier to make specific and common changes for the fontification of types. | |
8682 | |
8683 *** Adding highlighting patterns to existing support | |
8684 | |
8685 You can use the new function font-lock-add-keywords to add your own | |
8686 highlighting patterns, such as for project-local or user-specific constructs, | |
8687 for any mode. | |
8688 | |
8689 For example, to highlight `FIXME:' words in C comments, put: | |
8690 | |
8691 (font-lock-add-keywords 'c-mode '(("\\<FIXME:" 0 font-lock-warning-face t))) | |
8692 | |
8693 in your ~/.emacs. | |
8694 | |
8695 *** New faces | |
8696 | |
8697 Font Lock now defines two new faces, font-lock-builtin-face and | |
8698 font-lock-warning-face. These are intended to highlight builtin keywords, | |
8699 distinct from a language's normal keywords, and objects that should be brought | |
8700 to user attention, respectively. Various modes now use these new faces. | |
8701 | |
8702 *** Changes to fast-lock support mode | |
8703 | |
8704 The fast-lock package, one of the two Font Lock support modes, can now process | |
8705 cache files silently. You can use the new variable fast-lock-verbose, in the | |
8706 same way as font-lock-verbose, to control this feature. | |
8707 | |
8708 *** Changes to lazy-lock support mode | |
8709 | |
8710 The lazy-lock package, one of the two Font Lock support modes, can now fontify | |
8711 according to the true syntactic context relative to other lines. You can use | |
8712 the new variable lazy-lock-defer-contextually to control this feature. If | |
8713 non-nil, changes to the buffer will cause subsequent lines in the buffer to be | |
8714 refontified after lazy-lock-defer-time seconds of idle time. If nil, then only | |
8715 the modified lines will be refontified; this is the same as the previous Lazy | |
8716 Lock mode behaviour and the behaviour of Font Lock mode. | |
8717 | |
8718 This feature is useful in modes where strings or comments can span lines. | |
8719 For example, if a string or comment terminating character is deleted, then if | |
8720 this feature is enabled subsequent lines in the buffer will be correctly | |
8721 refontified to reflect their new syntactic context. Previously, only the line | |
8722 containing the deleted character would be refontified and you would have to use | |
8723 the command M-g M-g (font-lock-fontify-block) to refontify some lines. | |
8724 | |
8725 As a consequence of this new feature, two other variables have changed: | |
8726 | |
8727 Variable `lazy-lock-defer-driven' is renamed `lazy-lock-defer-on-scrolling'. | |
8728 Variable `lazy-lock-defer-time' can now only be a time, i.e., a number. | |
8729 Buffer modes for which on-the-fly deferral applies can be specified via the | |
8730 new variable `lazy-lock-defer-on-the-fly'. | |
8731 | |
8732 If you set these variables in your ~/.emacs, then you may have to change those | |
8733 settings. | |
8734 | |
8735 ** Ada mode changes. | |
8736 | |
8737 *** There is now better support for using find-file.el with Ada mode. | |
8738 If you switch between spec and body, the cursor stays in the same | |
8739 procedure (modulo overloading). If a spec has no body file yet, but | |
8740 you try to switch to its body file, Ada mode now generates procedure | |
8741 stubs. | |
8742 | |
8743 *** There are two new commands: | |
8744 - `ada-make-local' : invokes gnatmake on the current buffer | |
8745 - `ada-check-syntax' : check syntax of current buffer. | |
8746 | |
8747 The user options `ada-compiler-make', `ada-make-options', | |
8748 `ada-language-version', `ada-compiler-syntax-check', and | |
8749 `ada-compile-options' are used within these commands. | |
8750 | |
8751 *** Ada mode can now work with Outline minor mode. The outline level | |
8752 is calculated from the indenting, not from syntactic constructs. | |
8753 Outlining does not work if your code is not correctly indented. | |
8754 | |
8755 *** The new function `ada-gnat-style' converts the buffer to the style of | |
8756 formatting used in GNAT. It places two blanks after a comment start, | |
8757 places one blank between a word end and an opening '(', and puts one | |
8758 space between a comma and the beginning of a word. | |
8759 | |
8760 ** Scheme mode changes. | |
8761 | |
8762 *** Scheme mode indentation now uses many of the facilities of Lisp | |
8763 mode; therefore, the variables to customize it are the variables used | |
8764 for Lisp mode which have names starting with `lisp-'. The variables | |
8765 with names starting with `scheme-' which used to do this no longer | |
8766 have any effect. | |
8767 | |
8768 If you want to use different indentation for Scheme and Lisp, this is | |
8769 still possible, but now you must do it by adding a hook to | |
8770 scheme-mode-hook, which could work by setting the `lisp-' indentation | |
8771 variables as buffer-local variables. | |
8772 | |
8773 *** DSSSL mode is a variant of Scheme mode, for editing DSSSL scripts. | |
8774 Use M-x dsssl-mode. | |
8775 | |
8776 ** Changes to the emacsclient program | |
8777 | |
8778 *** If a socket can't be found, and environment variables LOGNAME or | |
8779 USER are set, emacsclient now looks for a socket based on the UID | |
8780 associated with the name. That is an emacsclient running as root | |
8781 can connect to an Emacs server started by a non-root user. | |
8782 | |
8783 *** The emacsclient program now accepts an option --no-wait which tells | |
8784 it to return immediately without waiting for you to "finish" the | |
8785 buffer in Emacs. | |
8786 | |
8787 *** The new option --alternate-editor allows to specify an editor to | |
8788 use if Emacs is not running. The environment variable | |
8789 ALTERNATE_EDITOR can be used for the same effect; the command line | |
8790 option takes precedence. | |
8791 | |
8792 ** M-x eldoc-mode enables a minor mode in which the echo area | |
8793 constantly shows the parameter list for function being called at point | |
8794 (in Emacs Lisp and Lisp Interaction modes only). | |
8795 | |
8796 ** C-x n d now runs the new command narrow-to-defun, | |
8797 which narrows the accessible parts of the buffer to just | |
8798 the current defun. | |
8799 | |
8800 ** Emacs now handles the `--' argument in the standard way; all | |
8801 following arguments are treated as ordinary file names. | |
8802 | |
8803 ** On MSDOS and Windows, the bookmark file is now called _emacs.bmk, | |
8804 and the saved desktop file is now called _emacs.desktop (truncated if | |
8805 necessary). | |
8806 | |
8807 ** When you kill a buffer that visits a file, | |
8808 if there are any registers that save positions in the file, | |
8809 these register values no longer become completely useless. | |
8810 If you try to go to such a register with C-x j, then you are | |
8811 asked whether to visit the file again. If you say yes, | |
8812 it visits the file and then goes to the same position. | |
8813 | |
8814 ** When you visit a file that changes frequently outside Emacs--for | |
8815 example, a log of output from a process that continues to run--it may | |
8816 be useful for Emacs to revert the file without querying you whenever | |
8817 you visit the file afresh with C-x C-f. | |
8818 | |
8819 You can request this behavior for certain files by setting the | |
8820 variable revert-without-query to a list of regular expressions. If a | |
8821 file's name matches any of these regular expressions, find-file and | |
8822 revert-buffer revert the buffer without asking for permission--but | |
8823 only if you have not edited the buffer text yourself. | |
8824 | |
8825 ** set-default-font has been renamed to set-frame-font | |
8826 since it applies only to the current frame. | |
8827 | |
8828 ** In TeX mode, you can use the variable tex-main-file to specify the | |
8829 file for tex-file to run TeX on. (By default, tex-main-file is nil, | |
8830 and tex-file runs TeX on the current visited file.) | |
8831 | |
8832 This is useful when you are editing a document that consists of | |
8833 multiple files. In each of the included files, you can set up a local | |
8834 variable list which specifies the top-level file of your document for | |
8835 tex-main-file. Then tex-file will run TeX on the whole document | |
8836 instead of just the file you are editing. | |
8837 | |
8838 ** RefTeX mode | |
8839 | |
8840 RefTeX mode is a new minor mode with special support for \label, \ref | |
8841 and \cite macros in LaTeX documents. RefTeX distinguishes labels of | |
8842 different environments (equation, figure, ...) and has full support for | |
8843 multifile documents. To use it, select a buffer with a LaTeX document and | |
8844 turn the mode on with M-x reftex-mode. Here are the main user commands: | |
8845 | |
8846 C-c ( reftex-label | |
8847 Creates a label semi-automatically. RefTeX is context sensitive and | |
8848 knows which kind of label is needed. | |
8849 | |
8850 C-c ) reftex-reference | |
8851 Offers in a menu all labels in the document, along with context of the | |
8852 label definition. The selected label is referenced as \ref{LABEL}. | |
8853 | |
8854 C-c [ reftex-citation | |
8855 Prompts for a regular expression and displays a list of matching BibTeX | |
8856 database entries. The selected entry is cited with a \cite{KEY} macro. | |
8857 | |
8858 C-c & reftex-view-crossref | |
8859 Views the cross reference of a \ref or \cite command near point. | |
8860 | |
8861 C-c = reftex-toc | |
8862 Shows a table of contents of the (multifile) document. From there you | |
8863 can quickly jump to every section. | |
8864 | |
8865 Under X, RefTeX installs a "Ref" menu in the menu bar, with additional | |
8866 commands. Press `?' to get help when a prompt mentions this feature. | |
8867 Full documentation and customization examples are in the file | |
8868 reftex.el. You can use the finder to view the file documentation: | |
8869 C-h p --> tex --> reftex.el | |
8870 | |
8871 ** Changes in BibTeX mode. | |
8872 | |
8873 *** Info documentation is now available. | |
8874 | |
8875 *** Don't allow parentheses in string constants anymore. This confused | |
8876 both the BibTeX program and Emacs BibTeX mode. | |
8877 | |
8878 *** Renamed variable bibtex-mode-user-optional-fields to | |
8879 bibtex-user-optional-fields. | |
8880 | |
8881 *** Removed variable bibtex-include-OPTannote | |
8882 (use bibtex-user-optional-fields instead). | |
8883 | |
8884 *** New interactive functions to copy and kill fields and complete | |
8885 entries to the BibTeX kill ring, from where they can be yanked back by | |
8886 appropriate functions. | |
8887 | |
8888 *** New interactive functions for repositioning and marking of | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
8889 entries. They are bound by default to C-M-l and C-M-h. |
30922 | 8890 |
8891 *** New hook bibtex-clean-entry-hook. It is called after entry has | |
8892 been cleaned. | |
8893 | |
8894 *** New variable bibtex-field-delimiters, which replaces variables | |
8895 bibtex-field-{left|right}-delimiter. | |
8896 | |
8897 *** New variable bibtex-entry-delimiters to determine how entries | |
8898 shall be delimited. | |
8899 | |
8900 *** Allow preinitialization of fields. See documentation of | |
8901 bibtex-user-optional-fields, bibtex-entry-field-alist, and | |
8902 bibtex-include-OPTkey for details. | |
8903 | |
8904 *** Book and InBook entries require either an author or an editor | |
8905 field. This is now supported by bibtex.el. Alternative fields are | |
8906 prefixed with `ALT'. | |
8907 | |
8908 *** New variable bibtex-entry-format, which replaces variable | |
8909 bibtex-clean-entry-zap-empty-opts and allows specification of many | |
8910 formatting options performed on cleaning an entry (see variable | |
8911 documentation). | |
8912 | |
8913 *** Even more control on how automatic keys are generated. See | |
8914 documentation of bibtex-generate-autokey for details. Transcriptions | |
8915 for foreign languages other than German are now handled, too. | |
8916 | |
8917 *** New boolean user option bibtex-comma-after-last-field to decide if | |
8918 comma should be inserted at end of last field. | |
8919 | |
8920 *** New boolean user option bibtex-align-at-equal-sign to determine if | |
8921 alignment should be made at left side of field contents or at equal | |
8922 signs. New user options to control entry layout (e.g. indentation). | |
8923 | |
8924 *** New function bibtex-fill-entry to realign entries. | |
8925 | |
8926 *** New function bibtex-reformat to reformat region or buffer. | |
8927 | |
8928 *** New function bibtex-convert-alien to convert a BibTeX database | |
8929 from alien sources. | |
8930 | |
8931 *** New function bibtex-complete-key (similar to bibtex-complete-string) | |
8932 to complete prefix to a key defined in buffer. Mainly useful in | |
8933 crossref entries. | |
8934 | |
8935 *** New function bibtex-count-entries to count entries in buffer or | |
8936 region. | |
8937 | |
8938 *** Added support for imenu. | |
8939 | |
8940 *** The function `bibtex-validate' now checks current region instead | |
8941 of buffer if mark is active. Now it shows all errors of buffer in a | |
8942 `compilation mode' buffer. You can use the normal commands (e.g. | |
8943 `next-error') for compilation modes to jump to errors. | |
8944 | |
8945 *** New variable `bibtex-string-file-path' to determine where the files | |
8946 from `bibtex-string-files' are searched. | |
8947 | |
8948 ** Iso Accents mode now supports Latin-3 as an alternative. | |
8949 | |
8950 ** The command next-error now opens blocks hidden by hideshow. | |
8951 | |
8952 ** The function using-unix-filesystems has been replaced by the | |
8953 functions add-untranslated-filesystem and remove-untranslated-filesystem. | |
8954 Each of these functions takes the name of a drive letter or directory | |
8955 as an argument. | |
8956 | |
8957 When a filesystem is added as untranslated, all files on it are read | |
8958 and written in binary mode (no cr/lf translation is performed). | |
8959 | |
8960 ** browse-url changes | |
8961 | |
8962 *** New methods for: Grail (browse-url-generic), MMM (browse-url-mmm), | |
8963 Lynx in a separate xterm (browse-url-lynx-xterm) or in an Emacs window | |
8964 (browse-url-lynx-emacs), remote W3 (browse-url-w3-gnudoit), generic | |
8965 non-remote-controlled browsers (browse-url-generic) and associated | |
8966 customization variables. | |
8967 | |
8968 *** New commands `browse-url-of-region' and `browse-url'. | |
8969 | |
8970 *** URLs marked up with <URL:...> (RFC1738) work if broken across | |
8971 lines. Browsing methods can be associated with URL regexps | |
8972 (e.g. mailto: URLs) via `browse-url-browser-function'. | |
8973 | |
8974 ** Changes in Ediff | |
8975 | |
8976 *** Clicking Mouse-2 on a brief command description in Ediff control panel | |
8977 pops up the Info file for this command. | |
8978 | |
8979 *** There is now a variable, ediff-autostore-merges, which controls whether | |
8980 the result of a merge is saved in a file. By default, this is done only when | |
8981 merge is done from a session group (eg, when merging files in two different | |
8982 directories). | |
8983 | |
8984 *** Since Emacs 19.31 (this hasn't been announced before), Ediff can compare | |
8985 and merge groups of files residing in different directories, or revisions of | |
8986 files in the same directory. | |
8987 | |
8988 *** Since Emacs 19.31, Ediff can apply multi-file patches interactively. | |
8989 The patches must be in the context format or GNU unified format. (The bug | |
8990 related to the GNU format has now been fixed.) | |
8991 | |
8992 ** Changes in Viper | |
8993 | |
8994 *** The startup file is now .viper instead of .vip | |
8995 *** All variable/function names have been changed to start with viper- | |
8996 instead of vip-. | |
8997 *** C-\ now simulates the meta-key in all Viper states. | |
8998 *** C-z in Insert state now escapes to Vi for the duration of the next | |
8999 Viper command. In Vi and Insert states, C-z behaves as before. | |
9000 *** C-c \ escapes to Vi for one command if Viper is in Insert or Emacs states. | |
9001 *** _ is no longer the meta-key in Vi state. | |
9002 *** The variable viper-insert-state-cursor-color can be used to change cursor | |
9003 color when Viper is in insert state. | |
9004 *** If search lands the cursor near the top or the bottom of the window, | |
9005 Viper pulls the window up or down to expose more context. The variable | |
9006 viper-adjust-window-after-search controls this behavior. | |
9007 | |
9008 ** Etags changes. | |
9009 | |
9010 *** In C, C++, Objective C and Java, Etags tags global variables by | |
9011 default. The resulting tags files are inflated by 30% on average. | |
9012 Use --no-globals to turn this feature off. Etags can also tag | |
9013 variables which are members of structure-like constructs, but it does | |
9014 not by default. Use --members to turn this feature on. | |
9015 | |
9016 *** C++ member functions are now recognized as tags. | |
9017 | |
9018 *** Java is tagged like C++. In addition, "extends" and "implements" | |
9019 constructs are tagged. Files are recognised by the extension .java. | |
9020 | |
9021 *** Etags can now handle programs written in Postscript. Files are | |
9022 recognised by the extensions .ps and .pdb (Postscript with C syntax). | |
9023 In Postscript, tags are lines that start with a slash. | |
9024 | |
9025 *** Etags now handles Objective C and Objective C++ code. The usual C and | |
9026 C++ tags are recognized in these languages; in addition, etags | |
9027 recognizes special Objective C syntax for classes, class categories, | |
9028 methods and protocols. | |
9029 | |
9030 *** Etags also handles Cobol. Files are recognised by the extension | |
9031 .cobol. The tagged lines are those containing a word that begins in | |
9032 column 8 and ends in a full stop, i.e. anything that could be a | |
9033 paragraph name. | |
9034 | |
9035 *** Regexps in Etags now support intervals, as in ed or grep. The syntax of | |
9036 an interval is \{M,N\}, and it means to match the preceding expression | |
9037 at least M times and as many as N times. | |
9038 | |
9039 ** The format for specifying a custom format for time-stamp to insert | |
9040 in files has changed slightly. | |
9041 | |
9042 With the new enhancements to the functionality of format-time-string, | |
9043 time-stamp-format will change to be eventually compatible with it. | |
9044 This conversion is being done in two steps to maintain compatibility | |
9045 with old time-stamp-format values. | |
9046 | |
9047 In the new scheme, alternate case is signified by the number-sign | |
9048 (`#') modifier, rather than changing the case of the format character. | |
9049 This feature is as yet incompletely implemented for compatibility | |
9050 reasons. | |
9051 | |
9052 In the old time-stamp-format, all numeric fields defaulted to their | |
9053 natural width. (With format-time-string, each format has a | |
9054 fixed-width default.) In this version, you can specify the colon | |
9055 (`:') modifier to a numeric conversion to mean "give me the historical | |
9056 time-stamp-format width default." Do not use colon if you are | |
9057 specifying an explicit width, as in "%02d". | |
9058 | |
9059 Numbers are no longer truncated to the requested width, except in the | |
9060 case of "%02y", which continues to give a two-digit year. Digit | |
9061 truncation probably wasn't being used for anything else anyway. | |
9062 | |
9063 The new formats will work with old versions of Emacs. New formats are | |
9064 being recommended now to allow time-stamp-format to change in the | |
9065 future to be compatible with format-time-string. The new forms being | |
9066 recommended now will continue to work then. | |
9067 | |
9068 See the documentation string for the variable time-stamp-format for | |
9069 details. | |
9070 | |
9071 ** There are some additional major modes: | |
9072 | |
9073 dcl-mode, for editing VMS DCL files. | |
9074 m4-mode, for editing files of m4 input. | |
9075 meta-mode, for editing MetaFont and MetaPost source files. | |
9076 | |
9077 ** In Shell mode, the command shell-copy-environment-variable lets you | |
9078 copy the value of a specified environment variable from the subshell | |
9079 into Emacs. | |
9080 | |
9081 ** New Lisp packages include: | |
9082 | |
9083 *** battery.el displays battery status for laptops. | |
9084 | |
9085 *** M-x bruce (named after Lenny Bruce) is a program that might | |
9086 be used for adding some indecent words to your email. | |
9087 | |
9088 *** M-x crisp-mode enables an emulation for the CRiSP editor. | |
9089 | |
9090 *** M-x dirtrack arranges for better tracking of directory changes | |
9091 in shell buffers. | |
9092 | |
9093 *** The new library elint.el provides for linting of Emacs Lisp code. | |
9094 See the documentation for `elint-initialize', `elint-current-buffer' | |
9095 and `elint-defun'. | |
9096 | |
9097 *** M-x expand-add-abbrevs defines a special kind of abbrev which is | |
9098 meant for programming constructs. These abbrevs expand like ordinary | |
9099 ones, when you type SPC, but only at the end of a line and not within | |
9100 strings or comments. | |
9101 | |
9102 These abbrevs can act as templates: you can define places within an | |
9103 abbrev for insertion of additional text. Once you expand the abbrev, | |
9104 you can then use C-x a p and C-x a n to move back and forth to these | |
9105 insertion points. Thus you can conveniently insert additional text | |
9106 at these points. | |
9107 | |
9108 *** filecache.el remembers the location of files so that you | |
9109 can visit them by short forms of their names. | |
9110 | |
9111 *** find-func.el lets you find the definition of the user-loaded | |
9112 Emacs Lisp function at point. | |
9113 | |
9114 *** M-x handwrite converts text to a "handwritten" picture. | |
9115 | |
9116 *** M-x iswitchb-buffer is a command for switching to a buffer, much like | |
9117 switch-buffer, but it reads the argument in a more helpful way. | |
9118 | |
9119 *** M-x landmark implements a neural network for landmark learning. | |
9120 | |
9121 *** M-x locate provides a convenient interface to the `locate' program. | |
9122 | |
9123 *** M4 mode is a new mode for editing files of m4 input. | |
9124 | |
9125 *** mantemp.el creates C++ manual template instantiations | |
9126 from the GCC error messages which indicate which instantiations are needed. | |
9127 | |
9128 *** mouse-copy.el provides a one-click copy and move feature. | |
9129 You can drag a region with M-mouse-1, and it is automatically | |
9130 inserted at point. M-Shift-mouse-1 deletes the text from its | |
9131 original place after inserting the copy. | |
9132 | |
9133 *** mouse-drag.el lets you do scrolling by dragging Mouse-2 | |
9134 on the buffer. | |
9135 | |
9136 You click the mouse and move; that distance either translates into the | |
9137 velocity to scroll (with mouse-drag-throw) or the distance to scroll | |
9138 (with mouse-drag-drag). Horizontal scrolling is enabled when needed. | |
9139 | |
9140 Enable mouse-drag with: | |
9141 (global-set-key [down-mouse-2] 'mouse-drag-throw) | |
9142 -or- | |
9143 (global-set-key [down-mouse-2] 'mouse-drag-drag) | |
9144 | |
9145 *** mspools.el is useful for determining which mail folders have | |
9146 mail waiting to be read in them. It works with procmail. | |
9147 | |
9148 *** Octave mode is a major mode for editing files of input for Octave. | |
9149 It comes with a facility for communicating with an Octave subprocess. | |
9150 | |
9151 *** ogonek | |
9152 | |
9153 The ogonek package provides functions for changing the coding of | |
9154 Polish diacritic characters in buffers. Codings known from various | |
9155 platforms are supported such as ISO8859-2, Mazovia, IBM Latin2, and | |
9156 TeX. For example, you can change the coding from Mazovia to | |
9157 ISO8859-2. Another example is a change of coding from ISO8859-2 to | |
9158 prefix notation (in which `/a' stands for the aogonek character, for | |
9159 instance) and vice versa. | |
9160 | |
9161 To use this package load it using | |
9162 M-x load-library [enter] ogonek | |
9163 Then, you may get an explanation by calling one of | |
9164 M-x ogonek-jak -- in Polish | |
9165 M-x ogonek-how -- in English | |
9166 The info specifies the commands and variables provided as well as the | |
9167 ways of customization in `.emacs'. | |
9168 | |
9169 *** Interface to ph. | |
9170 | |
9171 Emacs provides a client interface to CCSO Nameservers (ph/qi) | |
9172 | |
9173 The CCSO nameserver is used in many universities to provide directory | |
9174 services about people. ph.el provides a convenient Emacs interface to | |
9175 these servers. | |
9176 | |
9177 *** uce.el is useful for replying to unsolicited commercial email. | |
9178 | |
9179 *** vcursor.el implements a "virtual cursor" feature. | |
9180 You can move the virtual cursor with special commands | |
9181 while the real cursor does not move. | |
9182 | |
9183 *** webjump.el is a "hot list" package which you can set up | |
9184 for visiting your favorite web sites. | |
9185 | |
9186 *** M-x winner-mode is a minor mode which saves window configurations, | |
9187 so you can move back to other configurations that you have recently used. | |
9188 | |
9189 ** movemail change | |
9190 | |
9191 Movemail no longer needs to be installed setuid root in order for POP | |
9192 mail retrieval to function properly. This is because it no longer | |
9193 supports the RPOP (reserved-port POP) protocol; instead, it uses the | |
9194 user's POP password to authenticate to the mail server. | |
9195 | |
9196 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
|
9197 |
30922 | 9198 * Emacs 20.1 changes for MS-DOS and MS-Windows. |
9199 | |
9200 ** Changes in handling MS-DOS/MS-Windows text files. | |
9201 | |
9202 Emacs handles three different conventions for representing | |
9203 end-of-line: CRLF for MSDOS, LF for Unix and GNU, and CR (used on the | |
9204 Macintosh). Emacs determines which convention is used in a specific | |
9205 file based on the contents of that file (except for certain special | |
9206 file names), and when it saves the file, it uses the same convention. | |
9207 | |
9208 To save the file and change the end-of-line convention, you can use | |
9209 C-x RET f (set-buffer-file-coding-system) to specify a different | |
9210 coding system for the buffer. Then, when you save the file, the newly | |
9211 specified coding system will take effect. For example, to save with | |
9212 LF, specify undecided-unix (or some other ...-unix coding system); to | |
9213 save with CRLF, specify undecided-dos. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
9214 |
30922 | 9215 * Lisp Changes in Emacs 20.1 |
9216 | |
9217 ** Byte-compiled files made with Emacs 20 will, in general, work in | |
9218 Emacs 19 as well, as long as the source code runs in Emacs 19. And | |
9219 vice versa: byte-compiled files made with Emacs 19 should also run in | |
9220 Emacs 20, as long as the program itself works in Emacs 20. | |
9221 | |
9222 ** Windows-specific functions and variables have been renamed | |
9223 to start with w32- instead of win32-. | |
9224 | |
9225 In hacker language, calling something a "win" is a form of praise. We | |
9226 don't want to praise a non-free Microsoft system, so we don't call it | |
9227 "win". | |
9228 | |
9229 ** Basic Lisp changes | |
9230 | |
9231 *** A symbol whose name starts with a colon now automatically | |
9232 evaluates to itself. Therefore such a symbol can be used as a constant. | |
9233 | |
9234 *** The defined purpose of `defconst' has been changed. It should now | |
9235 be used only for values that should not be changed whether by a program | |
9236 or by the user. | |
9237 | |
9238 The actual behavior of defconst has not been changed. | |
9239 | |
9240 *** There are new macros `when' and `unless' | |
9241 | |
9242 (when CONDITION BODY...) is short for (if CONDITION (progn BODY...)) | |
9243 (unless CONDITION BODY...) is short for (if CONDITION nil BODY...) | |
9244 | |
9245 *** Emacs now defines functions caar, cadr, cdar and cddr with their | |
9246 usual Lisp meanings. For example, caar returns the car of the car of | |
9247 its argument. | |
9248 | |
9249 *** equal, when comparing strings, now ignores their text properties. | |
9250 | |
9251 *** The new function `functionp' tests whether an object is a function. | |
9252 | |
9253 *** arrayp now returns t for char-tables and bool-vectors. | |
9254 | |
9255 *** Certain primitives which use characters (as integers) now get an | |
9256 error if the integer is not a valid character code. These primitives | |
9257 include insert-char, char-to-string, and the %c construct in the | |
9258 `format' function. | |
9259 | |
9260 *** The `require' function now insists on adding a suffix, either .el | |
9261 or .elc, to the file name. Thus, (require 'foo) will not use a file | |
9262 whose name is just foo. It insists on foo.el or foo.elc. | |
9263 | |
9264 *** The `autoload' function, when the file name does not contain | |
9265 either a directory name or the suffix .el or .elc, insists on | |
9266 adding one of these suffixes. | |
9267 | |
9268 *** string-to-number now takes an optional second argument BASE | |
9269 which specifies the base to use when converting an integer. | |
9270 If BASE is omitted, base 10 is used. | |
9271 | |
9272 We have not implemented other radices for floating point numbers, | |
9273 because that would be much more work and does not seem useful. | |
9274 | |
9275 *** substring now handles vectors as well as strings. | |
9276 | |
9277 *** The Common Lisp function eql is no longer defined normally. | |
9278 You must load the `cl' library to define it. | |
9279 | |
9280 *** The new macro `with-current-buffer' lets you evaluate an expression | |
9281 conveniently with a different current buffer. It looks like this: | |
9282 | |
9283 (with-current-buffer BUFFER BODY-FORMS...) | |
9284 | |
9285 BUFFER is the expression that says which buffer to use. | |
9286 BODY-FORMS say what to do in that buffer. | |
9287 | |
9288 *** The new primitive `save-current-buffer' saves and restores the | |
9289 choice of current buffer, like `save-excursion', but without saving or | |
9290 restoring the value of point or the mark. `with-current-buffer' | |
9291 works using `save-current-buffer'. | |
9292 | |
9293 *** The new macro `with-temp-file' lets you do some work in a new buffer and | |
9294 write the output to a specified file. Like `progn', it returns the value | |
9295 of the last form. | |
9296 | |
9297 *** The new macro `with-temp-buffer' lets you do some work in a new buffer, | |
9298 which is discarded after use. Like `progn', it returns the value of the | |
9299 last form. If you wish to return the buffer contents, use (buffer-string) | |
9300 as the last form. | |
9301 | |
9302 *** The new function split-string takes a string, splits it at certain | |
9303 characters, and returns a list of the substrings in between the | |
9304 matches. | |
9305 | |
9306 For example, (split-string "foo bar lose" " +") returns ("foo" "bar" "lose"). | |
9307 | |
9308 *** The new macro with-output-to-string executes some Lisp expressions | |
9309 with standard-output set up so that all output feeds into a string. | |
9310 Then it returns that string. | |
9311 | |
9312 For example, if the current buffer name is `foo', | |
9313 | |
9314 (with-output-to-string | |
9315 (princ "The buffer is ") | |
9316 (princ (buffer-name))) | |
9317 | |
9318 returns "The buffer is foo". | |
9319 | |
9320 ** Non-ASCII characters are now supported, if enable-multibyte-characters | |
9321 is non-nil. | |
9322 | |
9323 These characters have character codes above 256. When inserted in the | |
9324 buffer or stored in a string, they are represented as multibyte | |
9325 characters that occupy several buffer positions each. | |
9326 | |
9327 *** When enable-multibyte-characters is non-nil, a single character in | |
9328 a buffer or string can be two or more bytes (as many as four). | |
9329 | |
9330 Buffers and strings are still made up of unibyte elements; | |
9331 character positions and string indices are always measured in bytes. | |
9332 Therefore, moving forward one character can increase the buffer | |
9333 position by 2, 3 or 4. The function forward-char moves by whole | |
9334 characters, and therefore is no longer equivalent to | |
9335 (lambda (n) (goto-char (+ (point) n))). | |
9336 | |
9337 ASCII characters (codes 0 through 127) are still single bytes, always. | |
9338 Sequences of byte values 128 through 255 are used to represent | |
9339 non-ASCII characters. These sequences are called "multibyte | |
9340 characters". | |
9341 | |
9342 The first byte of a multibyte character is always in the range 128 | |
9343 through 159 (octal 0200 through 0237). These values are called | |
9344 "leading codes". The second and subsequent bytes are always in the | |
9345 range 160 through 255 (octal 0240 through 0377). The first byte, the | |
9346 leading code, determines how many bytes long the sequence is. | |
9347 | |
9348 *** The function forward-char moves over characters, and therefore | |
9349 (forward-char 1) may increase point by more than 1 if it moves over a | |
9350 multibyte character. Likewise, delete-char always deletes a | |
9351 character, which may be more than one buffer position. | |
9352 | |
9353 This means that some Lisp programs, which assume that a character is | |
9354 always one buffer position, need to be changed. | |
9355 | |
9356 However, all ASCII characters are always one buffer position. | |
9357 | |
9358 *** The regexp [\200-\377] no longer matches all non-ASCII characters, | |
9359 because when enable-multibyte-characters is non-nil, these characters | |
9360 have codes that are not in the range octal 200 to octal 377. However, | |
9361 the regexp [^\000-\177] does match all non-ASCII characters, | |
9362 guaranteed. | |
9363 | |
9364 *** The function char-boundary-p returns non-nil if position POS is | |
9365 between two characters in the buffer (not in the middle of a | |
9366 character). | |
9367 | |
9368 When the value is non-nil, it says what kind of character follows POS: | |
9369 | |
9370 0 if POS is at an ASCII character or at the end of range, | |
9371 1 if POS is before a 2-byte length multi-byte form, | |
9372 2 if POS is at a head of 3-byte length multi-byte form, | |
9373 3 if POS is at a head of 4-byte length multi-byte form, | |
9374 4 if POS is at a head of multi-byte form of a composite character. | |
9375 | |
9376 *** The function char-bytes returns how many bytes the character CHAR uses. | |
9377 | |
9378 *** Strings can contain multibyte characters. The function | |
9379 `length' returns the string length counting bytes, which may be | |
9380 more than the number of characters. | |
9381 | |
9382 You can include a multibyte character in a string constant by writing | |
9383 it literally. You can also represent it with a hex escape, | |
9384 \xNNNNNNN..., using as many digits as necessary. Any character which | |
9385 is not a valid hex digit terminates this construct. If you want to | |
9386 follow it with a character that is a hex digit, write backslash and | |
9387 newline in between; that will terminate the hex escape. | |
9388 | |
9389 *** The function concat-chars takes arguments which are characters | |
9390 and returns a string containing those characters. | |
9391 | |
9392 *** The function sref access a multibyte character in a string. | |
9393 (sref STRING INDX) returns the character in STRING at INDEX. INDEX | |
9394 counts from zero. If INDEX is at a position in the middle of a | |
9395 character, sref signals an error. | |
9396 | |
9397 *** The function chars-in-string returns the number of characters | |
9398 in a string. This is less than the length of the string, if the | |
9399 string contains multibyte characters (the length counts bytes). | |
9400 | |
9401 *** The function chars-in-region returns the number of characters | |
9402 in a region from BEG to END. This is less than (- END BEG) if the | |
9403 region contains multibyte characters (the length counts bytes). | |
9404 | |
9405 *** The function string-to-list converts a string to a list of | |
9406 the characters in it. string-to-vector converts a string | |
9407 to a vector of the characters in it. | |
9408 | |
9409 *** The function store-substring alters part of the contents | |
9410 of a string. You call it as follows: | |
9411 | |
9412 (store-substring STRING IDX OBJ) | |
9413 | |
9414 This says to alter STRING, by storing OBJ starting at index IDX in | |
9415 STRING. OBJ may be either a character or a (smaller) string. | |
9416 This function really does alter the contents of STRING. | |
9417 Since it is impossible to change the length of an existing string, | |
9418 it is an error if OBJ doesn't fit within STRING's actual length. | |
9419 | |
9420 *** char-width returns the width (in columns) of the character CHAR, | |
9421 if it were displayed in the current buffer and the selected window. | |
9422 | |
9423 *** string-width returns the width (in columns) of the text in STRING, | |
9424 if it were displayed in the current buffer and the selected window. | |
9425 | |
9426 *** truncate-string-to-width shortens a string, if necessary, | |
9427 to fit within a certain number of columns. (Of course, it does | |
9428 not alter the string that you give it; it returns a new string | |
9429 which contains all or just part of the existing string.) | |
9430 | |
9431 (truncate-string-to-width STR END-COLUMN &optional START-COLUMN PADDING) | |
9432 | |
9433 This returns the part of STR up to column END-COLUMN. | |
9434 | |
9435 The optional argument START-COLUMN specifies the starting column. | |
9436 If this is non-nil, then the first START-COLUMN columns of the string | |
9437 are not included in the resulting value. | |
9438 | |
9439 The optional argument PADDING, if non-nil, is a padding character to be added | |
9440 at the beginning and end the resulting string, to extend it to exactly | |
9441 WIDTH columns. If PADDING is nil, that means do not pad; then, if STRING | |
9442 is narrower than WIDTH, the value is equal to STRING. | |
9443 | |
9444 If PADDING and START-COLUMN are both non-nil, and if there is no clean | |
9445 place in STRING that corresponds to START-COLUMN (because one | |
9446 character extends across that column), then the padding character | |
9447 PADDING is added one or more times at the beginning of the result | |
9448 string, so that its columns line up as if it really did start at | |
9449 column START-COLUMN. | |
9450 | |
9451 *** When the functions in the list after-change-functions are called, | |
9452 the third argument is the number of bytes in the pre-change text, not | |
9453 necessarily the number of characters. It is, in effect, the | |
9454 difference in buffer position between the beginning and the end of the | |
9455 changed text, before the change. | |
9456 | |
9457 *** The characters Emacs uses are classified in various character | |
9458 sets, each of which has a name which is a symbol. In general there is | |
9459 one character set for each script, not for each language. | |
9460 | |
9461 **** The function charsetp tests whether an object is a character set name. | |
9462 | |
9463 **** The variable charset-list holds a list of character set names. | |
9464 | |
9465 **** char-charset, given a character code, returns the name of the character | |
9466 set that the character belongs to. (The value is a symbol.) | |
9467 | |
9468 **** split-char, given a character code, returns a list containing the | |
9469 name of the character set, followed by one or two byte-values | |
9470 which identify the character within that character set. | |
9471 | |
9472 **** make-char, given a character set name and one or two subsequent | |
9473 byte-values, constructs a character code. This is roughly the | |
9474 opposite of split-char. | |
9475 | |
9476 **** find-charset-region returns a list of the character sets | |
9477 of all the characters between BEG and END. | |
9478 | |
9479 **** find-charset-string returns a list of the character sets | |
9480 of all the characters in a string. | |
9481 | |
9482 *** Here are the Lisp facilities for working with coding systems | |
9483 and specifying coding systems. | |
9484 | |
9485 **** The function coding-system-list returns a list of all coding | |
9486 system names (symbols). With optional argument t, it returns a list | |
9487 of all distinct base coding systems, not including variants. | |
9488 (Variant coding systems are those like latin-1-dos, latin-1-unix | |
9489 and latin-1-mac which specify the end-of-line conversion as well | |
9490 as what to do about code conversion.) | |
9491 | |
9492 **** coding-system-p tests a symbol to see if it is a coding system | |
9493 name. It returns t if so, nil if not. | |
9494 | |
9495 **** file-coding-system-alist specifies which coding systems to use | |
9496 for certain file names. It works like network-coding-system-alist, | |
9497 except that the PATTERN is matched against the file name. | |
9498 | |
9499 Each element has the format (PATTERN . VAL), where PATTERN determines | |
9500 which file names the element applies to. PATTERN should be a regexp | |
9501 to match against a file name. | |
9502 | |
9503 VAL is a coding system, a cons cell containing two coding systems, or | |
9504 a function symbol. If VAL is a coding system, it is used for both | |
9505 decoding what received from the network stream and encoding what sent | |
9506 to the network stream. If VAL is a cons cell containing two coding | |
9507 systems, the car specifies the coding system for decoding, and the cdr | |
9508 specifies the coding system for encoding. | |
9509 | |
9510 If VAL is a function symbol, the function must return a coding system | |
9511 or a cons cell containing two coding systems, which is used as above. | |
9512 | |
9513 **** The variable network-coding-system-alist specifies | |
9514 the coding system to use for network sockets. | |
9515 | |
9516 Each element has the format (PATTERN . VAL), where PATTERN determines | |
9517 which network sockets the element applies to. PATTERN should be | |
9518 either a port number or a regular expression matching some network | |
9519 service names. | |
9520 | |
9521 VAL is a coding system, a cons cell containing two coding systems, or | |
9522 a function symbol. If VAL is a coding system, it is used for both | |
9523 decoding what received from the network stream and encoding what sent | |
9524 to the network stream. If VAL is a cons cell containing two coding | |
9525 systems, the car specifies the coding system for decoding, and the cdr | |
9526 specifies the coding system for encoding. | |
9527 | |
9528 If VAL is a function symbol, the function must return a coding system | |
9529 or a cons cell containing two coding systems, which is used as above. | |
9530 | |
9531 **** process-coding-system-alist specifies which coding systems to use | |
9532 for certain subprocess. It works like network-coding-system-alist, | |
9533 except that the PATTERN is matched against the program name used to | |
9534 start the subprocess. | |
9535 | |
9536 **** The variable default-process-coding-system specifies the coding | |
9537 systems to use for subprocess (and net connection) input and output, | |
9538 when nothing else specifies what to do. The value is a cons cell | |
9539 (OUTPUT-CODING . INPUT-CODING). OUTPUT-CODING applies to output | |
9540 to the subprocess, and INPUT-CODING applies to input from it. | |
9541 | |
9542 **** The variable coding-system-for-write, if non-nil, specifies the | |
9543 coding system to use for writing a file, or for output to a synchronous | |
9544 subprocess. | |
9545 | |
9546 It also applies to any asynchronous subprocess or network connection, | |
9547 but in a different way: the value of coding-system-for-write when you | |
9548 start the subprocess or connection affects that subprocess or | |
9549 connection permanently or until overridden. | |
9550 | |
9551 The variable coding-system-for-write takes precedence over | |
9552 file-coding-system-alist, process-coding-system-alist and | |
9553 network-coding-system-alist, and all other methods of specifying a | |
9554 coding system for output. But most of the time this variable is nil. | |
9555 It exists so that Lisp programs can bind it to a specific coding | |
9556 system for one operation at a time. | |
9557 | |
9558 **** coding-system-for-read applies similarly to input from | |
9559 files, subprocesses or network connections. | |
9560 | |
9561 **** The function process-coding-system tells you what | |
9562 coding systems(s) an existing subprocess is using. | |
9563 The value is a cons cell, | |
9564 (DECODING-CODING-SYSTEM . ENCODING-CODING-SYSTEM) | |
9565 where DECODING-CODING-SYSTEM is used for decoding output from | |
9566 the subprocess, and ENCODING-CODING-SYSTEM is used for encoding | |
9567 input to the subprocess. | |
9568 | |
9569 **** The function set-process-coding-system can be used to | |
9570 change the coding systems in use for an existing subprocess. | |
9571 | |
9572 ** Emacs has a new facility to help users manage the many | |
9573 customization options. To make a Lisp program work with this facility, | |
9574 you need to use the new macros defgroup and defcustom. | |
9575 | |
9576 You use defcustom instead of defvar, for defining a user option | |
9577 variable. The difference is that you specify two additional pieces of | |
9578 information (usually): the "type" which says what values are | |
9579 legitimate, and the "group" which specifies the hierarchy for | |
9580 customization. | |
9581 | |
9582 Thus, instead of writing | |
9583 | |
9584 (defvar foo-blurgoze nil | |
9585 "*Non-nil means that foo will act very blurgozely.") | |
9586 | |
9587 you would now write this: | |
9588 | |
9589 (defcustom foo-blurgoze nil | |
9590 "*Non-nil means that foo will act very blurgozely." | |
9591 :type 'boolean | |
9592 :group foo) | |
9593 | |
9594 The type `boolean' means that this variable has only | |
9595 two meaningful states: nil and non-nil. Other type values | |
9596 describe other possibilities; see the manual for Custom | |
9597 for a description of them. | |
9598 | |
9599 The "group" argument is used to specify a group which the option | |
9600 should belong to. You define a new group like this: | |
9601 | |
9602 (defgroup ispell nil | |
9603 "Spell checking using Ispell." | |
9604 :group 'processes) | |
9605 | |
9606 The "group" argument in defgroup specifies the parent group. The root | |
9607 group is called `emacs'; it should not contain any variables itself, | |
9608 but only other groups. The immediate subgroups of `emacs' correspond | |
9609 to the keywords used by C-h p. Under these subgroups come | |
9610 second-level subgroups that belong to individual packages. | |
9611 | |
9612 Each Emacs package should have its own set of groups. A simple | |
9613 package should have just one group; a more complex package should | |
9614 have a hierarchy of its own groups. The sole or root group of a | |
9615 package should be a subgroup of one or more of the "keyword" | |
9616 first-level subgroups. | |
9617 | |
9618 ** New `widget' library for inserting UI components in buffers. | |
9619 | |
9620 This library, used by the new custom library, is documented in a | |
9621 separate manual that accompanies Emacs. | |
9622 | |
9623 ** easy-mmode | |
9624 | |
9625 The easy-mmode package provides macros and functions that make | |
9626 developing minor modes easier. Roughly, the programmer has to code | |
9627 only the functionality of the minor mode. All the rest--toggles, | |
9628 predicate, and documentation--can be done in one call to the macro | |
9629 `easy-mmode-define-minor-mode' (see the documentation). See also | |
9630 `easy-mmode-define-keymap'. | |
9631 | |
9632 ** Text property changes | |
9633 | |
9634 *** The `intangible' property now works on overlays as well as on a | |
9635 text property. | |
9636 | |
9637 *** The new functions next-char-property-change and | |
9638 previous-char-property-change scan through the buffer looking for a | |
9639 place where either a text property or an overlay might change. The | |
9640 functions take two arguments, POSITION and LIMIT. POSITION is the | |
9641 starting position for the scan. LIMIT says where to stop the scan. | |
9642 | |
9643 If no property change is found before LIMIT, the value is LIMIT. If | |
9644 LIMIT is nil, scan goes to the beginning or end of the accessible part | |
9645 of the buffer. If no property change is found, the value is the | |
9646 position of the beginning or end of the buffer. | |
9647 | |
9648 *** In the `local-map' text property or overlay property, the property | |
9649 value can now be a symbol whose function definition is a keymap. This | |
9650 is an alternative to using the keymap itself. | |
9651 | |
9652 ** Changes in invisibility features | |
9653 | |
9654 *** Isearch can now temporarily show parts of the buffer which are | |
9655 hidden by an overlay with a invisible property, when the search match | |
9656 is inside that portion of the buffer. To enable this the overlay | |
9657 should have a isearch-open-invisible property which is a function that | |
9658 would be called having the overlay as an argument, the function should | |
9659 make the overlay visible. | |
9660 | |
9661 During incremental search the overlays are shown by modifying the | |
9662 invisible and intangible properties, if beside this more actions are | |
9663 needed the overlay should have a isearch-open-invisible-temporary | |
9664 which is a function. The function is called with 2 arguments: one is | |
9665 the overlay and the second is nil when it should show the overlay and | |
9666 t when it should hide it. | |
9667 | |
9668 *** add-to-invisibility-spec, remove-from-invisibility-spec | |
9669 | |
9670 Modes that use overlays to hide portions of a buffer should set the | |
9671 invisible property of the overlay to the mode's name (or another symbol) | |
9672 and modify the `buffer-invisibility-spec' to include that symbol. | |
9673 Use `add-to-invisibility-spec' and `remove-from-invisibility-spec' to | |
9674 manipulate the `buffer-invisibility-spec'. | |
9675 Here is an example of how to do this: | |
9676 | |
9677 ;; If we want to display an ellipsis: | |
9678 (add-to-invisibility-spec '(my-symbol . t)) | |
9679 ;; If you don't want ellipsis: | |
9680 (add-to-invisibility-spec 'my-symbol) | |
9681 | |
9682 ... | |
9683 (overlay-put (make-overlay beginning end) 'invisible 'my-symbol) | |
9684 | |
9685 ... | |
9686 ;; When done with the overlays: | |
9687 (remove-from-invisibility-spec '(my-symbol . t)) | |
9688 ;; Or respectively: | |
9689 (remove-from-invisibility-spec 'my-symbol) | |
9690 | |
9691 ** Changes in syntax parsing. | |
9692 | |
9693 *** The syntax-directed buffer-scan functions (such as | |
9694 `parse-partial-sexp', `forward-word' and similar functions) can now | |
9695 obey syntax information specified by text properties, if the variable | |
9696 `parse-sexp-lookup-properties' is non-nil. | |
9697 | |
9698 If the value of `parse-sexp-lookup-properties' is nil, the behavior | |
9699 is as before: the syntax-table of the current buffer is always | |
9700 used to determine the syntax of the character at the position. | |
9701 | |
9702 When `parse-sexp-lookup-properties' is non-nil, the syntax of a | |
9703 character in the buffer is calculated thus: | |
9704 | |
9705 a) if the `syntax-table' text-property of that character | |
9706 is a cons, this cons becomes the syntax-type; | |
9707 | |
9708 Valid values of `syntax-table' text-property are: nil, a valid | |
9709 syntax-table, and a valid syntax-table element, i.e., | |
9710 a cons cell of the form (SYNTAX-CODE . MATCHING-CHAR). | |
9711 | |
9712 b) if the character's `syntax-table' text-property | |
9713 is a syntax table, this syntax table is used | |
9714 (instead of the syntax-table of the current buffer) to | |
9715 determine the syntax type of the character. | |
9716 | |
9717 c) otherwise the syntax-type is determined by the syntax-table | |
9718 of the current buffer. | |
9719 | |
9720 *** The meaning of \s in regular expressions is also affected by the | |
9721 value of `parse-sexp-lookup-properties'. The details are the same as | |
9722 for the syntax-directed buffer-scan functions. | |
9723 | |
9724 *** There are two new syntax-codes, `!' and `|' (numeric values 14 | |
9725 and 15). A character with a code `!' starts a comment which is ended | |
9726 only by another character with the same code (unless quoted). A | |
9727 character with a code `|' starts a string which is ended only by | |
9728 another character with the same code (unless quoted). | |
9729 | |
9730 These codes are mainly meant for use as values of the `syntax-table' | |
9731 text property. | |
9732 | |
9733 *** The function `parse-partial-sexp' has new semantics for the sixth | |
9734 arg COMMENTSTOP. If it is `syntax-table', parse stops after the start | |
9735 of a comment or a string, or after end of a comment or a string. | |
9736 | |
9737 *** The state-list which the return value from `parse-partial-sexp' | |
9738 (and can also be used as an argument) now has an optional ninth | |
9739 element: the character address of the start of last comment or string; | |
9740 nil if none. The fourth and eighth elements have special values if the | |
9741 string/comment is started by a "!" or "|" syntax-code. | |
9742 | |
9743 *** Since new features of `parse-partial-sexp' allow a complete | |
9744 syntactic parsing, `font-lock' no longer supports | |
9745 `font-lock-comment-start-regexp'. | |
9746 | |
9747 ** Changes in face features | |
9748 | |
9749 *** The face functions are now unconditionally defined in Emacs, even | |
9750 if it does not support displaying on a device that supports faces. | |
9751 | |
9752 *** The function face-documentation returns the documentation string | |
9753 of a face (or nil if it doesn't have one). | |
9754 | |
9755 *** The function face-bold-p returns t if a face should be bold. | |
9756 set-face-bold-p sets that flag. | |
9757 | |
9758 *** The function face-italic-p returns t if a face should be italic. | |
9759 set-face-italic-p sets that flag. | |
9760 | |
9761 *** You can now specify foreground and background colors for text | |
9762 by adding elements of the form (foreground-color . COLOR-NAME) | |
9763 and (background-color . COLOR-NAME) to the list of faces in | |
9764 the `face' property (either the character's text property or an | |
9765 overlay property). | |
9766 | |
9767 This means that you no longer need to create named faces to use | |
9768 arbitrary colors in a Lisp package. | |
9769 | |
9770 ** Changes in file-handling functions | |
9771 | |
9772 *** File-access primitive functions no longer discard an extra redundant | |
9773 directory name from the beginning of the file name. In other words, | |
9774 they no longer do anything special with // or /~. That conversion | |
9775 is now done only in substitute-in-file-name. | |
9776 | |
9777 This makes it possible for a Lisp program to open a file whose name | |
9778 begins with ~. | |
9779 | |
9780 *** If copy-file is unable to set the date of the output file, | |
9781 it now signals an error with the condition file-date-error. | |
9782 | |
9783 *** The inode number returned by file-attributes may be an integer (if | |
9784 the number fits in a Lisp integer) or a list of integers. | |
9785 | |
9786 *** insert-file-contents can now read from a special file, | |
9787 as long as the arguments VISIT and REPLACE are nil. | |
9788 | |
9789 *** The RAWFILE arg to find-file-noselect, if non-nil, now suppresses | |
9790 character code conversion as well as other things. | |
9791 | |
9792 Meanwhile, this feature does work with remote file names | |
9793 (formerly it did not). | |
9794 | |
9795 *** Lisp packages which create temporary files should use the TMPDIR | |
9796 environment variable to decide which directory to put them in. | |
9797 | |
9798 *** interpreter-mode-alist elements now specify regexps | |
9799 instead of constant strings. | |
9800 | |
9801 *** expand-file-name no longer treats `//' or `/~' specially. It used | |
9802 to delete all the text of a file name up through the first slash of | |
9803 any `//' or `/~' sequence. Now it passes them straight through. | |
9804 | |
9805 substitute-in-file-name continues to treat those sequences specially, | |
9806 in the same way as before. | |
9807 | |
9808 *** The variable `format-alist' is more general now. | |
9809 The FROM-FN and TO-FN in a format definition can now be strings | |
9810 which specify shell commands to use as filters to perform conversion. | |
9811 | |
9812 *** The new function access-file tries to open a file, and signals an | |
9813 error if that fails. If the open succeeds, access-file does nothing | |
9814 else, and returns nil. | |
9815 | |
9816 *** The function insert-directory now signals an error if the specified | |
9817 directory cannot be listed. | |
9818 | |
9819 ** Changes in minibuffer input | |
9820 | |
9821 *** The functions read-buffer, read-variable, read-command, read-string | |
9822 read-file-name, read-from-minibuffer and completing-read now take an | |
9823 additional argument which specifies the default value. If this | |
9824 argument is non-nil, it should be a string; that string is used in two | |
9825 ways: | |
9826 | |
9827 It is returned if the user enters empty input. | |
9828 It is available through the history command M-n. | |
9829 | |
9830 *** The functions read-string, read-from-minibuffer, | |
9831 read-no-blanks-input and completing-read now take an additional | |
9832 argument INHERIT-INPUT-METHOD. If this is non-nil, then the | |
9833 minibuffer inherits the current input method and the setting of | |
9834 enable-multibyte-characters from the previously current buffer. | |
9835 | |
9836 In an interactive spec, you can use M instead of s to read an | |
9837 argument in this way. | |
9838 | |
9839 *** All minibuffer input functions discard text properties | |
9840 from the text you enter in the minibuffer, unless the variable | |
9841 minibuffer-allow-text-properties is non-nil. | |
9842 | |
9843 ** Echo area features | |
9844 | |
9845 *** Clearing the echo area now runs the normal hook | |
9846 echo-area-clear-hook. Note that the echo area can be used while the | |
9847 minibuffer is active; in that case, the minibuffer is still active | |
9848 after the echo area is cleared. | |
9849 | |
9850 *** The function current-message returns the message currently displayed | |
9851 in the echo area, or nil if there is none. | |
9852 | |
9853 ** Keyboard input features | |
9854 | |
9855 *** tty-erase-char is a new variable that reports which character was | |
9856 set up as the terminal's erase character when time Emacs was started. | |
9857 | |
9858 *** num-nonmacro-input-events is the total number of input events | |
9859 received so far from the terminal. It does not count those generated | |
9860 by keyboard macros. | |
9861 | |
9862 ** Frame-related changes | |
9863 | |
9864 *** make-frame runs the normal hook before-make-frame-hook just before | |
9865 creating a frame, and just after creating a frame it runs the abnormal | |
9866 hook after-make-frame-functions with the new frame as arg. | |
9867 | |
9868 *** The new hook window-configuration-change-hook is now run every time | |
9869 the window configuration has changed. The frame whose configuration | |
9870 has changed is the selected frame when the hook is run. | |
9871 | |
9872 *** Each frame now independently records the order for recently | |
9873 selected buffers, in its buffer-list frame parameter, so that the | |
9874 value of other-buffer is now based on the buffers recently displayed | |
9875 in the selected frame. | |
9876 | |
9877 *** The value of the frame parameter vertical-scroll-bars | |
9878 is now `left', `right' or nil. A non-nil value specifies | |
9879 which side of the window to put the scroll bars on. | |
9880 | |
9881 ** X Windows features | |
9882 | |
9883 *** You can examine X resources for other applications by binding | |
9884 x-resource-class around a call to x-get-resource. The usual value of | |
9885 x-resource-class is "Emacs", which is the correct value for Emacs. | |
9886 | |
9887 *** In menus, checkboxes and radio buttons now actually work. | |
9888 The menu displays the current status of the box or button. | |
9889 | |
9890 *** The function x-list-fonts now takes an optional fourth argument | |
9891 MAXIMUM which sets a limit on how many matching fonts to return. | |
9892 A smaller value of MAXIMUM makes the function faster. | |
9893 | |
9894 If the only question is whether *any* font matches the pattern, | |
9895 it is good to supply 1 for this argument. | |
9896 | |
9897 ** Subprocess features | |
9898 | |
9899 *** A reminder: it is no longer necessary for subprocess filter | |
9900 functions and sentinels to do save-match-data, because Emacs does this | |
9901 automatically. | |
9902 | |
9903 *** The new function shell-command-to-string executes a shell command | |
9904 and returns the output from the command as a string. | |
9905 | |
9906 *** The new function process-contact returns t for a child process, | |
9907 and (HOSTNAME SERVICE) for a net connection. | |
9908 | |
9909 ** An error in running pre-command-hook or post-command-hook | |
9910 does clear the variable to nil. The documentation was wrong before. | |
9911 | |
9912 ** In define-key-after, if AFTER is t, the new binding now always goes | |
9913 at the end of the keymap. If the keymap is a menu, this means it | |
9914 goes after the other menu items. | |
9915 | |
9916 ** If you have a program that makes several changes in the same area | |
9917 of the buffer, you can use the macro combine-after-change-calls | |
9918 around that Lisp code to make it faster when after-change hooks | |
9919 are in use. | |
9920 | |
9921 The macro arranges to call the after-change functions just once for a | |
9922 series of several changes--if that seems safe. | |
9923 | |
9924 Don't alter the variables after-change-functions and | |
9925 after-change-function within the body of a combine-after-change-calls | |
9926 form. | |
9927 | |
9928 ** If you define an abbrev (with define-abbrev) whose EXPANSION | |
9929 is not a string, then the abbrev does not expand in the usual sense, | |
9930 but its hook is still run. | |
9931 | |
9932 ** Normally, the Lisp debugger is not used (even if you have enabled it) | |
9933 for errors that are handled by condition-case. | |
9934 | |
9935 If you set debug-on-signal to a non-nil value, then the debugger is called | |
9936 regardless of whether there is a handler for the condition. This is | |
9937 useful for debugging problems that happen inside of a condition-case. | |
9938 | |
9939 This mode of operation seems to be unreliable in other ways. Errors that | |
9940 are normal and ought to be handled, perhaps in timers or process | |
9941 filters, will instead invoke the debugger. So don't say you weren't | |
9942 warned. | |
9943 | |
9944 ** The new variable ring-bell-function lets you specify your own | |
9945 way for Emacs to "ring the bell". | |
9946 | |
9947 ** If run-at-time's TIME argument is t, the action is repeated at | |
9948 integral multiples of REPEAT from the epoch; this is useful for | |
9949 functions like display-time. | |
9950 | |
9951 ** You can use the function locate-library to find the precise file | |
9952 name of a Lisp library. This isn't new, but wasn't documented before. | |
9953 | |
9954 ** Commands for entering view mode have new optional arguments that | |
9955 can be used from Lisp. Low-level entrance to and exit from view mode | |
9956 is done by functions view-mode-enter and view-mode-exit. | |
9957 | |
9958 ** batch-byte-compile-file now makes Emacs return a nonzero status code | |
9959 if there is an error in compilation. | |
9960 | |
9961 ** pop-to-buffer, switch-to-buffer-other-window and | |
9962 switch-to-buffer-other-frame now accept an additional optional | |
9963 argument NORECORD, much like switch-to-buffer. If it is non-nil, | |
9964 they don't put the buffer at the front of the buffer list. | |
9965 | |
9966 ** If your .emacs file leaves the *scratch* buffer non-empty, | |
9967 Emacs does not display the startup message, so as to avoid changing | |
9968 the *scratch* buffer. | |
9969 | |
9970 ** The new function regexp-opt returns an efficient regexp to match a string. | |
9971 The arguments are STRINGS and (optionally) PAREN. This function can be used | |
9972 where regexp matching or searching is intensively used and speed is important, | |
9973 e.g., in Font Lock mode. | |
9974 | |
9975 ** The variable buffer-display-count is local to each buffer, | |
9976 and is incremented each time the buffer is displayed in a window. | |
9977 It starts at 0 when the buffer is created. | |
9978 | |
9979 ** The new function compose-mail starts composing a mail message | |
9980 using the user's chosen mail composition agent (specified with the | |
9981 variable mail-user-agent). It has variants compose-mail-other-window | |
9982 and compose-mail-other-frame. | |
9983 | |
9984 ** The `user-full-name' function now takes an optional parameter which | |
9985 can either be a number (the UID) or a string (the login name). The | |
9986 full name of the specified user will be returned. | |
9987 | |
9988 ** Lisp packages that load files of customizations, or any other sort | |
9989 of user profile, should obey the variable init-file-user in deciding | |
9990 where to find it. They should load the profile of the user name found | |
9991 in that variable. If init-file-user is nil, meaning that the -q | |
9992 option was used, then Lisp packages should not load the customization | |
9993 files at all. | |
9994 | |
9995 ** format-time-string now allows you to specify the field width | |
9996 and type of padding. This works as in printf: you write the field | |
9997 width as digits in the middle of a %-construct. If you start | |
9998 the field width with 0, it means to pad with zeros. | |
9999 | |
10000 For example, %S normally specifies the number of seconds since the | |
10001 minute; %03S means to pad this with zeros to 3 positions, %_3S to pad | |
10002 with spaces to 3 positions. Plain %3S pads with zeros, because that | |
10003 is how %S normally pads to two positions. | |
10004 | |
10005 ** thing-at-point now supports a new kind of "thing": url. | |
10006 | |
10007 ** imenu.el changes. | |
10008 | |
10009 You can now specify a function to be run when selecting an | |
10010 item from menu created by imenu. | |
10011 | |
10012 An example of using this feature: if we define imenu items for the | |
10013 #include directives in a C file, we can open the included file when we | |
10014 select one of those items. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
10015 |
30922 | 10016 * For older news, see the file ONEWS |
25853 | 10017 |
10018 ---------------------------------------------------------------------- | |
10019 Copyright information: | |
10020 | |
35326
f30feeecf1c1
backward-delete-char-untabify-method
Dave Love <fx@gnu.org>
parents:
35297
diff
changeset
|
10021 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. |
25853 | 10022 |
10023 Permission is granted to anyone to make or distribute verbatim copies | |
10024 of this document as received, in any medium, provided that the | |
10025 copyright notice and this permission notice are preserved, | |
10026 thus giving the recipient permission to redistribute in turn. | |
10027 | |
10028 Permission is granted to distribute modified versions | |
10029 of this document, or of portions of it, | |
10030 under the above conditions, provided also that they | |
10031 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
|
10032 |
25853 | 10033 Local variables: |
10034 mode: outline | |
10035 paragraph-separate: "[ ]*$" | |
10036 end: |